vendor: 1,562 bytes, lines 1-2
1/*! For license information please see index.bundle.js.LICENSE.txt */ 2(self.webpackChunkdmidk_react_v2=self.webpackChunkdmidk_react_v2||[]).push([[3057],{36289(e,t,r){"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{A:()=>n})},88617(e,t,r){"use strict";r.d(t,{E:()=>me,T:()=>de,c:()=>ge,h:()=>he,w:()=>ue});var n=r(96540);var i=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=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,r),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 r=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{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 5,084 bytes, line 2
2,t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),o=Math.abs,s=String.fromCharCode,a=Object.assign;function l(e){return e.trim()}function c(e,t,r){return e.replace(t,r)}function u(e,t){return e.indexOf(t)}function d(e,t){return 0|e.charCodeAt(t)}function h(e,t,r){return e.slice(t,r)}function f(e){return e.length}function g(e){return e.length}function p(e,t){return t.push(e),e}var m=1,y=1,v=0,x=0,_=0,b="";function S(e,t,r,n,i,o,s){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:m,column:y,length:s,return:""}}function w(e,t){return a(S("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return _=x>0?d(b,--x):0,y--,10===_&&(y=1,m--),_}function A(){return _=x<v?d(b,x++):0,y++,10===_&&(y=1,m++),_}function M(){return d(b,x)}function C(){return x}function E(e,t){return h(b,e,t)}function R(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 T(e){return m=y=1,v=f(b=e),x=0,[]}function I(e){return b="",e}function P(e){return l(E(x-1,L(91===e?e+2:40===e?e+1:e)))}function j(e){for(;(_=M())&&_<33;)A();return R(e)>2||R(_)>3?"":" "}function O(e,t){for(;--t&&A()&&!(_<48||_>102||_>57&&_<65||_>70&&_<97););return E(e,C()+(t<6&&32==M()&&32==A()))}function L(e){for(;A();)switch(_){case e:return x;case 34:case 39:34!==e&&39!==e&&L(_);break;case 40:41===e&&L(e);break;case 92:A()}return x}function D(e,t){for(;A()&&e+_!==57&&(e+_!==84||47!==M()););return"/*"+E(t,x-1)+"*"+s(47===e?e:A())}function F(e){for(;!R(M());)A();return E(e,x)}var N="-ms-",$="-moz-",z="-webkit-",B="comm",G="rule",W="decl",Y="@keyframes";function V(e,t){for(var r="",n=g(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function q(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case W:return e.return=e.return||e.value;case B:return"";case Y:return e.return=e.value+"{"+V(e.children,n)+"}";case G:e.value=e.props.join(",")}return f(r=V(e.children,n))?e.return=e.value+"{"+r+"}":""}function K(e){return I(X("",null,null,null,[""],e=T(e),0,[0],e))}function X(e,t,r,n,i,o,a,l,h){for(var g=0,m=0,y=a,v=0,x=0,_=0,b=1,S=1,w=1,E=0,R="",T=i,I=o,L=n,N=R;S;)switch(_=E,E=A()){case 40:if(108!=_&&58==d(N,y-1)){-1!=u(N+=c(P(E),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:N+=P(E);break;case 9:case 10:case 13:case 32:N+=j(_);break;case 92:N+=O(C()-1,7);continue;case 47:switch(M()){case 42:case 47:p(U(D(A(),C()),t,r),h);break;default:N+="/"}break;case 123*b:l[g++]=f(N)*w;case 125*b:case 59:case 0:switch(E){case 0:case 125:S=0;case 59+m:-1==w&&(N=c(N,/\f/g,"")),x>0&&f(N)-y&&p(x>32?Z(N+";",n,r,y-1):Z(c(N," ","")+";",n,r,y-2),h);break;case 59:N+=";";default:if(p(L=H(N,t,r,g,m,i,l,R,T=[],I=[],y),o),123===E)if(0===m)X(N,t,L,L,T,o,y,l,I);else switch(99===v&&110===d(N,3)?100:v){case 100:case 108:case 109:case 115:X(e,L,L,n&&p(H(e,L,L,0,0,i,l,R,i,T=[],y),I),i,I,y,l,n?T:I);break;default:X(N,L,L,L,[""],I,0,l,I)}}g=m=x=0,b=w=1,R=N="",y=a;break;case 58:y=1+f(N),x=_;default:if(b<1)if(123==E)--b;else if(125==E&&0==b++&&125==k())continue;switch(N+=s(E),E*b){case 38:w=m>0?1:(N+="\f",-1);break;case 44:l[g++]=(f(N)-1)*w,w=1;break;case 64:45===M()&&(N+=P(A())),v=M(),m=y=f(R=N+=F(C())),E++;break;case 45:45===_&&2==f(N)&&(b=0)}}return o}function H(e,t,r,n,i,s,a,u,d,f,p){for(var m=i-1,y=0===i?s:[""],v=g(y),x=0,_=0,b=0;x<n;++x)for(var w=0,k=h(e,m+1,m=o(_=a[x])),A=e;w<v;++w)(A=l(_>0?y[w]+" "+k:c(k,/&\f/g,y[w])))&&(d[b++]=A);return S(e,t,r,0===i?G:u,d,f,p)}function U(e,t,r){return S(e,t,r,B,s(_),h(e,2,-2),0)}function Z(e,t,r,n){return S(e,t,r,W,h(e,0,n),h(e,n+1,-1),n)}var J=function(e,t,r){for(var n=0,i=0;n=i,i=M(),38===n&&12===i&&(t[r]=1),!R(i);)A();return E(e,x)},Q=function(e,t){return I(function(e,t){var r=-1,n=44;do{switch(R(n)){case 0:38===n&&12===M()&&(t[r]=1),e[r]+=J(x-1,t,r);break;case 2:e[r]+=P(n);break;case 4:if(44===n){e[++r]=58===M()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=s(n)}}while(n=A());return e}(T(e),t))},ee=new WeakMap,te=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ee.get(r))&&!n){ee.set(e,!0);for(var i=[],o=Q(t,i),s=r.props,a=0,l=0;a<o.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=i[a]?o[a].replace(/&\f/g,s[c]):s[c]+" "+o[a]}}},re=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^d(e,0)?(((t<<2^d(e,0))<<2^d(e,1))<<2^d(e,2))<<2^d(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;
2case 5349:case 4246:case 4810:case 6968:case 2756:return z+e+$+e+N+e+e;case 6828:case 4268:return z+e+N+e+e;case 6165:return z+e+N+"flex-"+e+e;case 5187:return z+e+c(e,/(\w+).+(:[^]+)/,z+"box-$1$2"+N+"flex-$1$2")+e;case 5443:return z+e+N+"flex-item-"+c(e,/flex-|-self/,"")+e;case 4675:return z+e+N+"flex-line-pack"+c(e,/align-content|flex-|-self/,"")+e;case 5548:return z+e+N+c(e,"shrink","negative")+e;case 5292:return z+e+N+c(e,"basis","preferred-size")+e;case 6060:return z+"box-"+c(e,"-grow","")+z+e+N+c(e,"grow","positive")+e;case 4554:return z+c(e,/([^-])(transform)/g,"$1"+z+"$2")+e;case 6187:return c(c(c(e,/(zoom-|grab)/,z+"$1"),/(image-set)/,z+"$1"),e,"")+e;case 5495:case 3959:return c(e,/(image-set\([^]*)/,z+"$1$`$1");case 4968:return c(c(e,/(.+:)(flex-)?(.*)/,z+"box-pack:$3"+N+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+z+e+e;case 4095:case 3583:case 4068:case 2532:return c(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(f(e)-1-t>6)switch(d(e,t+1)){case 109:if(45!==d(e,t+4))break;case 102:return c(e,/(.+:)(.+)-([^]+)/,"$1"+z+"$2-$3$1"+$+(108==d(e,t+3)?"$3":"$2-$3"))+e;case 115:return~u(e,"stretch")?ne(c(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==d(e,t+1))break;case 6444:switch(d(e,f(e)-3-(~u(e,"!important")&&10))){case 107:return c(e,":",":"+z)+e;case 101:return c(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(45===d(e,14)?"inline-":"")+"box$3$1"+z+"$2$3$1"+N+"$2box$3")+e}break;case 5936:switch(d(e,t+11)){case 114:return z+e+N+c(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return z+e+N+c(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return z+e+N+c(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return z+e+N+e+e}return e}var ie=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case W:e.return=ne(e.value,e.length);break;case Y:return V([w(e,{value:c(e.value,"@","@"+z)})],n);case G: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 V([w(e,{props:[c(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return V([w(e,{props:[c(t,/:(plac\w+)/,":"+z+"input-$1")]}),w(e,{props:[c(t,/:(plac\w+)/,":-moz-$1")]}),w(e,{props:[c(t,/:(plac\w+)/,N+"input-$1")]})],n)}return""})}}],oe=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var n,o,s=e.stylisPlugins||ie,a={},l=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)a[t[r]]=!0;l.push(e)});var c,u,d,h,f=[q,(h=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&h(e)})],p=(u=[te,re].concat(s,f),d=g(u),function(e,t,r,n){for(var i="",o=0;o<d;o++)i+=u[o](e,t,r,n)||"";return i});o=function(e,t,r,n){c=r,V(K(e?e+"{"+t.styles+"}":t.styles),p),n&&(m.inserted[t.name]=!0)};var m={key:t,sheet:new i({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return m.sheet.hydrate(l),m},se=r(30041),ae=r(43174),le=r(71287),ce=n.createContext("undefined"!=typeof HTMLElement?oe({key:"css"}):null),ue=(ce.Provider,function(e){return(0,n.forwardRef)(function(t,r){var i=(0,n.useContext)(ce);return e(t,i,r)})}),de=n.createContext({});var he={}.hasOwnProperty,fe="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ge=function(e,t){var r={};for(var n in t)he.call(t,n)&&(r[n]=t[n]);return r[fe]=e,r},pe=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,se.SF)(t,r,n),(0,le.s)(function(){return(0,se.sk)(t,r,n)}),null},me=ue(function(e,t,r){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var o=e[fe],s=[i],a="";"string"==typeof e.className?a=(0,se.Rk)(t.registered,s,e.className):null!=e.className&&(a=e.className+" ");var l=(0,ae.J)(s,void 0,n.useContext(de));a+=t.key+"-"+l.name;var c={};for(var u in e)he.call(e,u)&&"css"!==u&&u!==fe&&(c[u]=e[u]);return c.className=a,r&&(c.ref=r),n.createElement(n.Fragment,null,n.createElement(pe,{cache:t,serialized:l,isStringTag:"string"==typeof o}),n.createElement(o,c))})},10382(e,t,r){"use strict";r.d(t,{mL:()=>f,AH:()=>g,i7:()=>p});var n=r.cw(function(e,t){var r=i(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return r.isMemo(e)?s:a[e.$$typeof]||n}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=s;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(g){var i=f(r);i&&i!==g&&e(t,i,n)}var s=u(r);d&&(s=s.concat(d(r)));for(var a=l(t),p=l(r),m=0;m<s.length;++m){var y=s[m];if(!(o[y]||n&&n[y]||p&&p[y]||a&&a[y])){var v=h(r,y);try{c(t,y,v)}catch(e){}}}}return t}}),i=()=>r(73404),o=r(88617),s=r(96540),a=r(30041),l=r(71287),c=r(43174);n();var u,d,h=function(e,t){var r=arguments;if(null==t||!o.h.call(t,"css"))return s.createElement.apply(void 0,r);var n=r.length,i=new Array(n);i[0]=o.E,i[1]=(0,o.c)(e,t);for(var a=2;a<n;a++)i[a]=r[a];return s.createElement.apply(null,i)};u=h||(h={}),d||(d=u.JSX||(u.JSX={}));var f=(0,o.w)(function(e,t){var r=e.styles,n=(0,c.J)([r],void 0,s.useContext(o.T)),i=s.useRef();return(0,l.i)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,s=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==s&&(o=!0,s.setAttribute("data-emotion",e),r.hydrate([s])),i.current=[r,o],function(){r.flush()}},[t]),(0,l.i)(function(){var e=i.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&(0,a.sk)(t,n.next,!0),r.tags.length){var o=r.tags[r.tags.length-1].nextElementSibling;r.before=o,r.flush()}t.insert("",n,r,!1)}},[t,n.name]),null});function g(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,c.J)(t)}function p(){var e=g.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_"}}}},43174(e,t,r){"use strict";r.d(t,{J:()=>g});var n={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,msGr
2idRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=r(36289),o=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,a=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},c=(0,i.A)(function(e){return a(e)?e:e.replace(o,"-$&").toLowerCase()}),u=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,function(e,t,r){return h={name:t,styles:r,next:h},t})}return 1===n[e]||a(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var i=r;if(1===i.anim)return h={name:i.name,styles:i.styles,next:h},i.name;var o=r;if(void 0!==o.styles){var s=o.next;if(void 0!==s)for(;void 0!==s;)h={name:s.name,styles:s.styles,next:h},s=s.next;return o.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=d(e,t,r[i])+";";else for(var o in r){var s=r[o];if("object"!=typeof s){var a=s;null!=t&&void 0!==t[a]?n+=o+"{"+t[a]+"}":l(a)&&(n+=c(o)+":"+u(o,a)+";")}else if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var h=d(e,t,s);switch(o){case"animation":case"animationName":n+=c(o)+":"+h+";";break;default:n+=o+"{"+h+"}"}}else for(var f=0;f<s.length;f++)l(s[f])&&(n+=c(o)+":"+u(o,s[f])+";")}return n}(e,t,r);case"function":if(void 0!==e){var a=h,f=r(e);return h=a,d(e,t,f)}}var g=r;if(null==t)return g;var p=t[g];return void 0!==p?p:g}var h,f=/label:\s*([^\s;{]+)\s*(;|$)/g;function g(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,i="";h=void 0;var o=e[0];null==o||void 0===o.raw?(n=!1,i+=d(r,t,o)):i+=o[0];for(var s=1;s<e.length;s++){if(i+=d(r,t,e[s]),n)i+=o[s]}f.lastIndex=0;for(var a,l="";null!==(a=f.exec(i));)l+="-"+a[1];var c=function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:h}}},71287(e,t,r){"use strict";let n;r.d(t,{i:()=>a,s:()=>s});var i=r(96540),o=!!(n||(n=r.t(i,2))).useInsertionEffect&&(n||(n=r.t(i,2))).useInsertionEffect,s=o||function(e){return e()},a=o||i.useLayoutEffect},30041(e,t,r){"use strict";r.d(t,{Rk:()=>n,SF:()=>i,sk:()=>o});function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}var i=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},o=function(e,t,r){i(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}},43242(e,t,r){"use strict";var n=r(96540),i=r(74848);const o=(0,n.createContext)(null);r.d(t,["$",0,()=>(0,n.useContext)(o),"L",0,({children:e})=>
2{const t=window.location.search,r=new URLSearchParams(t).get("query"),[s,a]=(0,n.useState)(r||""),[l,c]=(0,n.useState)(null),[u,d]=(0,n.useState)(null),h={searchQuery:s,setSearchQuery:a,fromDate:l,setFromDate:c,toDate:u,setToDate:d,resetDates:()=>{c(null),d(null)}};return(0,i.jsx)(o.Provider,{value:h,children:e})}])},93672(e,t,r){"use strict";r.d(t,{Sc:()=>O,t9:()=>I,p2:()=>T,Id:()=>P,hI:()=>j});var n=r(96540),i=r(35374),o=r(64917),s=r(15067),a=r(62894),l=r(57291),c=r(34164),u=r(46797),d=r(68374),h=r(9594),f=r(54317),g=r(59763),p=r(16051),m=r(34947);function y(e){return(0,m.Ay)("MuiDialogContentText",e)}(0,p.A)("MuiDialogContentText",["root"]);var v=r(74848);const x=(0,h.A)(g.A,{shouldForwardProp:e=>(0,d.A)(e)||"classes"===e,name:"MuiDialogContentText",slot:"Root"})({}),_=n.forwardRef(function(e,t){const r=(0,f.b)({props:e,name:"MuiDialogContentText"}),{children:n,className:i,...o}=r,s=(e=>{const{classes:t}=e,r=(0,u.A)({root:["root"]},y,t);return{...t,...r}})(o);return(0,v.jsx)(x,{component:"p",variant:"body1",color:"textSecondary",ref:t,ownerState:o,className:(0,c.A)(s.root,i),...r,classes:s})});var b=r(44755),S=r(36746),w=r(87164),k=r(47086),A=r(46662),M=r(57889),C=r(21043);const E=r.p+"7edeaca6711cef1982b4.jpg",R={functional:{cookieName:"cookie_cat_functional",nameString:"funktionelle"},statistic:{cookieName:"cookie_cat_statistic",nameString:"statistiske"},marketing:{cookieName:"cookie_cat_marketing",nameString:"marketing"}},T=(e="functional")=>{if("undefined"!=typeof CookieInformation&&CookieInformation?.getConsentGivenFor)return!!CookieInformation.getConsentGivenFor(R[e].cookieName)},I=({iframe:e})=>{const[t,r]=n.useState(T("marketing"));return(0,v.jsxs)(v.Fragment,{children:[t&&(0,v.jsx)("div",{dangerouslySetInnerHTML:{__html:e}}),!t&&(0,v.jsxs)("div",{className:"notificationContainer",children:[(0,v.jsx)("div",{className:"notificationImageItem",children:(0,v.jsx)("img",{alt:"cookie",src:E})}),(0,v.jsxs)("div",{className:"notificationTextItem",children:[(0,v.jsxs)("div",{style:{display:"flex"},children:[(0,v.jsx)("div",{className:"notificationImageItemInline",children:(0,v.jsx)("img",{alt:"cookie",src:E})}),(0,v.jsx)("p",{children:"Ãv, her ville vi gerne vise dig en spændende youtube-video, men du har ikke givet tilladelse til at sætte marketing-cookies."})]}),(0,v.jsxs)(w.A,{variant:"standard",component:"fieldset",children:[(0,v.jsx)(S.A,{"aria-label":"tillad marketing-cookies",row:!0,children:(0,v.jsx)(A.A,{className:"cookieFormControlLabel",value:"Tillad marketing cookies",control:(0,v.jsx)(M.A,{classes:{switchBase:"switchBase",checked:"checked",track:"track"},checked:t,onChange:()=>(async(e="marketing")=>{"undefined"!=typeof CookieInformation&&CookieInformation?.changeCategoryConsentDecision&&(await CookieInformation.changeCategoryConsentDecision(R[e].cookieName),await CookieInformation.submitConsent(),r(!0))})(),name:"cookieswitch",slotProps:{input:{"aria-label":"primary checkbox"}}}),label:"Tillad marketing-cookies og lad mig se videoen",labelPlacement:"start"})}),(0,v.jsxs)(k.A,{children:["Læs mere om hvordan DMI bruger cookies"," ",(0,v.jsx)("a",{href:"/om-hjemmesiden/privatliv/cookies/",target:"_blank",className:"helperLink",children:"her"})]})]})]})]})]})};let P=()=>{};const j=()=>{"undefined"!=typeof CookieConsent&&CookieConsent?.renew?CookieConsent.renew():console.log("CookieConsent.renew is not defined so cookies can not be renewed")},O=()=>{const[e,t]=n.useState(!1),[r,c]=n.useState("functional"),u=(0,C.A)(),d=(0,b.A)(u.breakpoints.down("sm")),h=()=>{t(!1)};return P=(e="functional")=>{t(!0),c(e)},(0,v.jsxs)(o.A,{fullScreen:d,open:e,onClose:h,"aria-labelledby":"cookie-dialog",children:[(0,v.jsx)(s.A,{id:"cookie-dialog",className:"dialogTitle",children:"Manglende cookietilladelse"}),(0,v.jsx)(l.A,{children:(0,v.jsxs)(_,{children:["Denne funktion kræver din tilladelse til at sætte"," ",R[r].nameString," cookies.",(0,v.jsx)("br",{}),'Klik pÃ¥ "Ã
bn cookietilladelser", tilvælg'," ",R[r].nameString," cookies og prøv derefter igen."]})}),(0,v.jsxs)(a.A,{children:[(0,v.jsx)(i.A,{disableRipple:!0,autoFocus:!0,variant:"outlined",onClick:h,className:"dmi-modal-button",children:"Luk"}),(0,v.jsx)(i.A,{disableRipple:!0,variant:"outlined",onClick:()=>{t(!1),j()},className:"dmi-modal-button",autoFocus:!0,children:"Ã
bn cookietilladelser"})]})]})}},98979(e,t,r){"use strict";
2var n=r(96540),i=r(5338),o=r(40961),s=r(12715),a=r(74848);const l=(0,n.lazy)(()=>Promise.all([r.e(1869),r.e(508),r.e(3579),r.e(5860),r.e(882),r.e(3729),r.e(8349),r.e(9682),r.e(7236)]).then(()=>r(35119))),c=()=>{const[e,t]=(0,n.useState)(null),r=document.querySelector('[data-module="brandfaremap"]');return(0,n.useEffect)(()=>{r&&fetch("/ZoombareKort/map?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities").then(e=>e.text()).then(e=>{const n=(new DOMParser).parseFromString(e,"text/xml").querySelectorAll("Capability > Layer > Layer"),i=[],o=[];n.forEach(e=>{const t=e.querySelector("Name")?.textContent||"",r=e.querySelector("Extent[name='reference_time']")?.textContent||"";i[t]=r;const n=e.querySelector("Extent[name='time']")?.textContent||"";o[t]=n.split(",")});let a=s.dr;"indeks"===r.dataset.version?a=s.L7:"maks"===r.dataset.version&&(a=s.LH),t({layers:a,referenceTimes:i,mapTimes:o})}).catch(e=>{console.error("Error fetching map data:",e)})},[r]),e&&r?(0,o.createPortal)((0,a.jsx)(l,{now:(new Date).valueOf(),layers:e.layers,referenceTimes:e.referenceTimes,mapTimes:e.mapTimes}),r):null};var u=r(93672);const d=()=>{const e=document.querySelectorAll('[data-module="cookie-check-iframe"]');return(0,a.jsx)(a.Fragment,{children:Array.from(e).map((e,t)=>(0,o.createPortal)((0,a.jsx)(u.t9,{iframe:e.dataset.iframe},t),e))})},h=()=>{const e=document.getElementById("cookie-modal");if(window.openRenewCookies=()=>(0,u.hI)(),window.getCookieConsent=e=>(0,u.p2)(e),e)return window.openCookieModal=e=>(0,u.Id)(e),(0,o.createPortal)((0,a.jsx)(u.Sc,{}),e)},f=(0,n.lazy)(()=>Promise.all([r.e(469),r.e(6939),r.e(7390),r.e(9264),r.e(1788)]).then(()=>r(10845))),g=()=>{const e=document.querySelector('[data-module="droughtindex"]');if(e)return(0,o.createPortal)((0,a.jsx)(f,{}),e)},p=(0,n.lazy)(()=>Promise.all([r.e(7317),r.e(8451)]).then(()=>r(12472))),m=()=>{const e=document.getElementById("favourites-list");if(e)return(0,o.createPortal)((0,a.jsx)(p,{}),e)},y=(0,n.lazy)(()=>Promise.all([r.e(1869),r.e(508),r.e(3579),r.e(5860),r.e(882),r.e(3729),r.e(3733),r.e(8349),r.e(9682),r.e(7771)]).then(()=>r(30574))),v=()=>{const e=document.querySelector('[data-module="floodingmap"]');return e?(0,o.createPortal)((0,a.jsx)(y,{now:(new Date).valueOf(),version:e.dataset.version}),e):null},x=(0,n.lazy)(()=>Promise.all([r.e(6939),r.e(9264),r.e(3212)]).then(()=>r(28817))),_=()=>{const e=document.querySelectorAll('[data-module="highcharts-graph"]');return(0,a.jsx)(a.Fragment,{children:Array.from(e).map((e,t)=>(0,o.createPortal)((0,a.jsx)(x,{file:e.dataset.file,section:e.dataset.section},t),e))})},b=(0,n.lazy)(()=>Promise.all([r.e(1607),r.e(3819)]).then(()=>r(40632))),S=()=>{const e=document.querySelectorAll('[data-module="info-dialog"]');return(0,a.jsx)(a.Fragment,{children:Array.from(e).map((e,t)=>(0,o.createPortal)((0,a.jsx)(b,{title:e.dataset.title,text:e.dataset.text,link:e.dataset.link},t),e))})},w=(0,n.lazy)(()=>Promise.all([r.e(1869),r.e(469),r.e(6939),r.e(7390),r.e(508),r.e(9264),r.e(6531),r.e(3579),r.e(5860),r.e(882),r.e(3729),r.e(5357),r.e(6216),r.e(7896)]).then(()=>r(41821))),k=()=>{const e=document.querySelector('[data-module="klimaatlasmap"]');if(e)return(0,o.createPortal)((0,a.jsx)(w,{version:e.dataset.version,kiosk:"true"===e.dataset.kiosk}),e)},A=(0,n.lazy)(()=>Promise.all([r.e(6939),r.e(3579),r.e(5357),r.e(1607),r.e(5722)]).then(()=>r(49739))),M=()=>{const e=document.querySelectorAll('[data-module="locationGraph"]');return(0,a.jsx)(a.Fragment,{children:Array.from(e).map(e=>(0,o.createPortal)((0,a.jsx)(A,{day:e.dataset.day,eps:e.dataset.eps}),e))})},C=(0,n.lazy)(()=>r.e(7333).then(()=>r(49095))),E=()=>{const e=document.querySelector('[data-module="map-radar-button"]');if(e)return(0,o.createPortal)((0,a.jsx)(C,{link:e.dataset.link}),e)};var R=r(83865);async function T(){const e=sessionStorage.getItem("seaObservationStations");return e?JSON.parse(e):await fetch("/dmidk_byvejrWS/rest/vandstand/active").then(e=>e.json()).then(e=>{let t=[],r=[];e.forEach(e=>{var n={};n.key=e.id,n.text=e.name,n.id=e.id,n.longitude=e.longitude,n.latitude=e.latitude,n.year20event=e.year20event,n.year50event=e.year50event,n.year100event=e.year100event,n.mlws=e.mlws,n.lat=e.lowastrotide,"DNK"==e.country&&e.hassealevel&&t.push(n),"DNK"==e.country&&e.hasseatemp&&r.push(n)});const n={seaLevelObsStations:t,seaTempObsStations:r};return sessionStorage.setItem("seaObservationStations",JSON.stringify(n)),n}).catch(e=>{console.error("Error fetching data:",e)})}async function I(){const e=sessionStorage.getItem("obsStations");return e?JSON.parse(e):await fetch(`${R.BY}?cmd=slj`).then(e=>e.json()).then(e=>{const t={DK:[],GL:[],FO:[]};
2return e.forEach(e=>{var r={};r.key=e.id,r.text=e.name,r.key.startsWith("06")&&parseInt(r.key)>6015&&t.DK.push(r),r.key.startsWith("06")&&parseInt(r.key)<6015&&t.FO.push(r),r.key.startsWith("04")&&t.GL.push(r)}),sessionStorage.setItem("obsStations",JSON.stringify(t)),t}).catch(e=>{console.error("Error fetching data:",e)})}async function P(){return await fetch(`/dmidk_byvejrWS/rest/texts/${sessionStorage.getItem("gid")}`).then(e=>e.text()).then(e=>{e&&e.shore_stationid&&sessionStorage.setItem("shoreStationId",e.shore_stationid)}).catch(e=>{console.error("Error fetching data:",e)})}const j=(0,n.lazy)(()=>Promise.all([r.e(1869),r.e(469),r.e(6939),r.e(7390),r.e(508),r.e(9264),r.e(3237),r.e(3579),r.e(1330),r.e(5507),r.e(6403),r.e(9559),r.e(7686),r.e(4539)]).then(()=>r(72940))),O=()=>{const[e,t]=(0,n.useState)(null),r=document.querySelector('[data-module="observation-map"]'),[i,s]=(0,n.useState)(!0);if((0,n.useEffect)(()=>{r&&Promise.all([T(),I(),P()]).then(()=>s(!1)).catch(e=>t(e.message))},[r]),!r)return null;if(e)return(0,o.createPortal)((0,a.jsx)("div",{children:"Kortet kan desværre ikke vises lige nu"}),r);if(i)return null;const{notificationtexts:l,defaultlayer:c,seasonstart:u,graphvisible:d,seasonend:h,countryselectvisible:f,menuvisible:g,country:p}=r.dataset,m=l?JSON.parse(l.replace(/'/g,'"')):[];return(0,o.createPortal)((0,a.jsx)(j,{defaultLayer:c,seasonStart:u,seasonEnd:h,graphVisible:!d||JSON.parse(d),menuVisible:!g||JSON.parse(g),countrySelectVisible:!f||JSON.parse(f),notificationTexts:m,country:p}),r)},L=(0,n.lazy)(()=>Promise.all([r.e(469),r.e(6939),r.e(7390),r.e(508),r.e(9264),r.e(3237),r.e(1330),r.e(882),r.e(5507),r.e(6403),r.e(1940),r.e(7686),r.e(4911)]).then(()=>r(38918))),D=new Date,F=D.valueOf(),N=D.toISOString(),$=`https://opendataapi.dmi.dk/v2/metObs/collections/station/items?status=Active&datetime=${N}`,z=`https://opendataapi.dmi.dk/v2/oceanObs/collections/station/items?status=Active&datetime=${N}`,B=()=>{const[e,t]=(0,n.useState)(null),[r,i]=(0,n.useState)(null),s=(0,n.useRef)(null);return(0,n.useEffect)(()=>{s.current=document.querySelector('[data-module="opendata-map"]'),s.current&&(async()=>{try{const[e,r]=await Promise.all([fetch($).then(e=>e.json()),fetch(z).then(e=>e.json())]),n=[...e.features,...r.features];t(n)}catch(e){i(e.message)}})()},[]),s.current?r?(0,o.createPortal)((0,a.jsx)("div",{children:"Kortet kunne desværre ikke loades lige nu"}),s.current):e?(0,o.createPortal)((0,a.jsx)(L,{now:F,style:{height:"40em"},proj:"EPSG:3575",stationsRawJSon:e,country:"DK"}),s.current):(0,o.createPortal)((0,a.jsx)("div",{children:"Loading data..."}),s.current):null},G=(0,n.lazy)(()=>r.e(5913).then(()=>r(11027))),W=()=>{if("undefined"!=typeof vgtchfKmm&&"undefined"!=typeof remarkPage){const e=document.querySelector('[data-module="remark-banner"]');if(e)return e.style.display="block",(0,o.createPortal)((0,a.jsx)(G,{text:vgtchfKmm,href:remarkPage}),e)}},Y=(0,n.lazy)(()=>Promise.all([r.e(1869),r.e(508),r.e(3579),r.e(3729),r.e(8349),r.e(9682),r.e(5132)]).then(()=>r(56929))),V=()=>{const e=(0,n.useRef)(null),[t,r]=(0,n.useState)(null),[i,l]=(0,n.use
2State)(null),[c,u]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let t=!1;if(e.current=document.querySelector('[data-module="sat-map"]'),e.current){(async()=>{try{const e=await fetch("/ZoombareKort/map?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities"),n=await e.text(),i=new DOMParser,o=i.parseFromString(n,"text/xml").querySelectorAll("Capability > Layer > Layer"),s=[],a=[];o.forEach(e=>{const t=e.querySelector("Name")?.textContent||"",r=e.querySelector("Extent[name='reference_time']")?.textContent||"";s[t]=r;const n=e.querySelector("Extent[name='time']")?.textContent||"";a[t]=n.split(",")}),t||(r(s),l(a))}catch(e){t||u(e.message)}})()}return()=>{t=!0}},[]),e.current?c?(0,o.createPortal)((0,a.jsx)("div",{children:"Kortet kunne desværre ikke loades lige nu"}),e.current):t&&i?(0,o.createPortal)((0,a.jsx)(Y,{now:(new Date).valueOf(),layers:s.A4,proj:"EPSG:3575",country:"SAT-DK",referenceTimes:t,mapTimes:i,activeLinks:!1}),e.current):(0,o.createPortal)((0,a.jsx)("div",{children:"Loading data..."}),e.current):null},q=(0,n.lazy)(()=>Promise.all([r.e(469),r.e(6939),r.e(7390),r.e(9264),r.e(3237),r.e(3579),r.e(1330),r.e(5507),r.e(6403),r.e(4085)]).then(()=>r(99897))),K=()=>{const e=document.querySelector('[data-module="vejrarkiv"]');if(e)return(0,o.createPortal)((0,a.jsx)(q,{}),e)},X=(0,n.lazy)(()=>Promise.all([r.e(6939),r.e(9264),r.e(7201)]).then(()=>r(11582))),H=()=>{const e=document.querySelector('[data-module="vejrarkiv5year"]');if(e)return(0,o.createPortal)((0,a.jsx)(X,{}),e)},U=(0,n.lazy)(()=>Promise.all([r.e(6939),r.e(9264),r.e(3276)]).then(()=>r(9449))),Z=()=>{const e=document.querySelector('[data-module="vejrarkivReference"]');if(e)return(0,o.createPortal)((0,a.jsx)(U,{}),e)},J=["risiko","kategori1","kategori2","kategori3"],Q=(0,n.lazy)(()=>Promise.all([r.e(1869),r.e(1851)]).then(()=>r(74295))),ee=()=>{const[e,t]=(0,n.useState)(null),r=document.querySelector('[data-module="warning-banner"]'),i=window.location.pathname.includes("/gronland")||window.location.pathname.includes("/show/GL/"),s=i?`${R.P5}/json/greenland/DK/WarningOverview`:`${R.P5}/json/Danmark/DK/WarningOverview`;return(0,n.useEffect)(()=>{if(r){(async()=>{try{const e=await fetch(s);let n=await e.json();if(void 0===n||null==n||null==n.maxCategory)return;const{warnings:o=[],maxCategory:a,icons:l=[],text:c}=n,u=o.reduce((e,{text:t,category:r})=>e+(t+(r>0?` - kategori ${r}`:""))+". ","");t({country:i?"GL":"DK",text:!i&&c?u+c:u,href:i?"/varsler-gronland":"/varsler",inverseColor:3===a,warnings:o,fiveDaysIcons:l,maxCategory:a}),r.classList.add(J[a]),r.style.display="flex"}catch(e){console.error("Failed to fetch data:",e)}})()}},[r,i,s]),e&&r?(0,o.createPortal)((0,a.jsx)(Q,{...e}),r):null},te=(0,n.lazy)(()=>Promise.all([r.e(1869),r.e(508),r.e(6531),r.e(882),r.e(6124),r.e(4653)]).then(()=>r(3746))),re=()=>{const[e,t]=(0,n.useState)({}),[r,i]=(0,n.useState)({}),s=(0,n.useRef)([]);return(0,n.useEffect)(()=>{const e=document.querySelectorAll('[data-module="warning-map"]');s.current=Array.from(e),s.current.forEach(({dataset:{country:e="DK",lang:r="da"}={}},n)=>{(async(e,r,n)=>{let o=`${R.P5}/json/Danmark/DK/WarningAreas`,s=`${R.P5}/json/Danmark/DK/WarningOverview`;"en"===r&&(o=`${R.P5}/json/Denmark/GB/WarningAreas`,s=`${R.P5}/json/Denmark/GB/WarningOverview`),"GL"===e&&"da"===r&&(o=`${R.P5}/json/greenland/DK/WarningAreas`,s=`${R.P5}/json/greenland/DK/WarningOverview`),"GL"===e&&"kl"===r&&(o=`${R.P5}/json/kalaallitnunaat/GL/WarningAreas`,s=`${R.P5}/json/kalaallitnunaat/GL/WarningOverview`),"GL"===e&&"en"===r&&(o=`${R.P5}/json/Greenland/GB/WarningAreas`,s=`${R.P5}/json/Greenland/GB/WarningOverview`);try{if("GL"===e){const[i,a]=await Promise.all([fetch(o).then(e=>e.json()),fetch(s).then(e=>e.json())]);t(t=>({...t,[n]:{lang:r,country:e,warning:i,overview:a}}))}else{const i=`${R.P5}/json/Danmark/DK/varsel`,[a,l,c]=await Promise.all([fetch(i).then(e=>e.json()),fetch(o).then(e=>e.json()),fetch(s).then(e=>e.json())]);t(t=>({...t,[n]:{lang:r,country:e,comment:a,warning:l,overview:c}}))}}catch(e){i(t=>({...t,[n]:e.message}))}})(e,r,n)})},[]),s.current.map((t,n)=>{if(!t)return null;const i=e[n],s=r[n];if(s)return console.log(s),(0,o.createPortal)((0,a.jsx)("div",{children:"Kortet kunne desværre ikke loades lige nu"},n),t);if(!i)return(0,o.createPortal)((0,a.jsx)("div",{children:"Loading data..."},n),t);const{lang:l,country:c,comment:u={},warning:d,overview:h}=i;return(0,o.createPortal)((0,a.jsx)(te,{country:c,minZoom:"GL"===c?5:7,maxZoom:"GL"===c?8:10,commentData:u,overviewData:h,warningData:d,lang:l},n),t)})},ne=(0,n.lazy)(()=>Promise.all([r.e(1869),r.e(1607),r.e(6305),r.e(9847)]).then(()=>r(63867))),ie=()=>{const e=document.getElementById("weather-by-hours");if(e)return(0,o.createPortal)((0,a.jsx)(ne,{}),e)},oe=(0,n.lazy)(()=>Promise.all([r.e(1869),r.e(508),r.e(3579),r.e(3729),r.e(8349),r.e(9682),r.e(2025)]).then(()=>r(58026))),se=()=>{const e=document.querySelectorAll('[data-module="weather-map"]');return(0,a.jsx)(a.Fragment,{children:Array.from(e).map(e=>{const{country:t,menuvisible:r,lang:n}=e.dataset;return"GL"==t?(0,o.createPortal)((0,a.jsx)(oe,{now:(new Date).valueOf(),style:{height:"1100px",maxWidth:"800px"},proj:"EPSG:3574",country:"GL",minZoom:5,timezone:"America/Nuuk",layers:s.BG,menuVisible:!("false"===r),lang:n}),e):"FO"==t?(0,o.createPortal)((0,a.jsx)(oe,{now:(new Date).valueOf(),style:{height:"40em"},proj:"EPSG:3575",country:"FO",timezone:"Atlantic/Faroe",layers:s.rx,menuVisible:!("false"===r)}),e):"APP"==t?(0,o.createPortal)((0,a.jsx)(oe,{now:(new Date).valueOf(),style:{height:"100vh",maxHeight:"100vh"},proj:"EPSG:3575",country:"DK",layers:s.xh,activeLinks:!1,menuVisible:!("false"===r)}),e):"MIL"==t?(0,o.createPortal)((0,a.jsx)(oe,{now:(new Date).valueOf(),style:{height:"40em"},proj:"EPSG:3575",country:"DK",layers:s.Az,activeLinks:!1,menuVisible:!("false"===r)}),e):"DK"==t?(0,o.createPortal)((0,a.jsx)(oe,{now:(new Date).valueOf(),style:{height:"40em"},proj:"EPSG:3575",country:"DK",layers:s.xh,selectedLayer:e.dataset.selectedlayer,menuVisible:!("false"===r)}),e):"frontpage"==t?(0,o.createPortal)((0,a.jsx)(oe,{now:(new Date).valueOf(),style:{height:"40em"},proj:"EPSG:3575",country:"DK",layers:s.xh,menuVisible:!("false"===r)}),e):void 0})})},ae=r.p+"0c92ec8ee5df82414cb7.svg",le=(0,n.lazy)(()=>Promise.all([r.e(1869),r.e(508),r.e(3579),r.e(3729),r.e(8349),r.e(9682),r.e(2025)]).then(()=>r(58026))),ce={DK:{country:"DK",proj:"EPSG:3575",layers:s.xh},FO:{country:"FO",proj:"EPSG:3575",layers:s.rx},GL:{country:"GL",proj:"EPSG:3574",layers:s.BG},WORLD:{proj:"EPSG:3857",layers:s.Cf}},ue=()=>
2{const[e,t]=(0,n.useState)(null),[r,i]=(0,n.useState)(window.location.hash.replace("#","")),s=(0,n.useRef)({}),l=(0,n.useRef)(null);(0,n.useEffect)(()=>{l.current=e},[e]);const c=(0,n.useCallback)(async()=>{if("location"===r){const t=3e5,n=(new Date).getTime(),i=`${r}_${sessionStorage.gid}`;if(s.current[i]){const{timestamp:e,data:r}=s.current[i];if(n-e<t)return r}const o=sessionStorage.gid<100?await(async e=>{const t=`/dmidk_byvejrWS/rest/waters/${e}`;try{const e=await fetch(t),{country:r,latitude_ll:n,latitude_ur:i,longitude_ll:o,longitude_ur:s}=await e.json();return{country:r,additionalProps:{extent:[o,n,s,i]}}}catch(e){return console.error("Error fetching data:",e),null}})(sessionStorage.gid):await(async e=>{const t=`${R.BY}?cmd=llj&id=${e}`;try{const e=await fetch(t),{latitude:r,longitude:n,timezone:i,country:o}=await e.json();return{country:o,additionalProps:{latitude:r,longitude:n,timezone:i}}}catch(e){return console.error("Error fetching data:",e),null}})(sessionStorage.gid);if(!o||!o.country||!o.additionalProps)return null;const a={...(e=o.country,ce[e]?ce[e]:{country:e,...ce.WORLD}),selectedLayer:0,...o.additionalProps};return s.current[i]={timestamp:n,data:a},a}var e;switch(r){case"sat":return{...ce.DK,selectedLayer:2};case"precip":return{...ce.DK,selectedLayer:6};case"radar":return{...ce.DK,selectedLayer:0};default:return null}},[r]);(0,n.useEffect)(()=>{const e=()=>{const e=window.location.hash.replace("#","");i(e)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}},[]);const u=e=>{t(null);const r=document.querySelector(`[data-module="weather-map-${e}"]`);r&&(r.style.zIndex=-1,r.style.opacity=0),document.body.style.overflow="visible",window.location.hash=""};return(0,n.useEffect)(()=>{if(!r||!["precip","radar","location","sat"].includes(r))return void(l.current&&u(l.current.mapName));["precip","radar","location","sat"].includes(r)&&(async()=>{const e=document.querySelector(`[data-module="weather-map-${r}"]`);if(!e||e.hasChildNodes())return;const n=await c();n?(t({mapContainer:e,elementProps:n,mapName:r}),e.style.zIndex=99,e.style.opacity=1,document.body.style.overflow="hidden"):console.log("No valid data or element properties found")})()},[r,c]),(0,n.useEffect)(()=>{if(0===document.querySelectorAll(".iamap").length)return;const e=e=>{const t=e.target.closest(".iamap");if(t){e.preventDefault();const r=t.getAttribute("href").replace("#",""),n=window.location.href.split("#")[0];window.history.pushState(null,null,`${n}#${r}`),i(r)}};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}},[]),e?(0,o.createPortal)((0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(le,{now:(new Date).valueOf(),style:{height:"100vh",position:"static"},...e.elementProps,activeLinks:!1,menuVisible:!e.mapContainer.dataset.menuvisible||JSON.parse(e.mapContainer.dataset.menuvisible)}),(0,a.jsx)("div",{className:"lukknap","data-map":e.mapName,onClick:()=>u(e.mapName),children:(0,a.jsx)("img",{alt:"luk-knap",src:ae})})]}),e.mapContainer):null},de=(0,n.lazy)(()=>Promise.all([r.e(882),r.e(6061)]).then(()=>r(49357))),he=()=>{const e=document.getElementById("weather-summary-mobile");if(e)return(0,o.createPortal)((0,a.jsx)(de,{}),e)},fe=(0,n.lazy)(()=>Promise.all([r.e(469),r.e(6939),r.e(7390),r.e(4531),r.e(3890)]).then(()=>r(54531))),ge=()=>{const e=document.querySelector('[data-module="tides"]');let t=null;return e&&"GL"===sessionStorage.country?(R.e3.forEach(e=>{e.gid===sessionStorage.gid&&(t=e.key)}),(0,o.createPortal)((0,a.jsx)(fe,{stationId:t??e.dataset.station}),e)):null},pe=(0,n.lazy)(()=>Promise.all([r.e(469),r.e(6939),r.e(7390),r.e(5247)]).then(()=>r(96920))),me=()=>{const e=document.querySelector('[data-module="sealevel"]');return e?(0,o.createPortal)((0,a.jsx)(pe,{}),e):null},ye=(0,n.lazy)(()=>Promise.all([r.e(6939),r.e(9990)]).then(()=>r(96091))),ve=()=>{const e=document.querySelector('[data-module="uv"]');return e?(0,o.createPortal)((0,a.jsx)(ye,{}),e):null},xe=(0,n.lazy)(()=>r.e(8191).then(()=>r(74504))),_e=()=>{const e=document.querySelector('[data-module="top10"]');return e?(0,o.createPortal)((0,a.jsx)(xe,{}),e):null},be=(0,n.lazy)(()=>Promise.all([r.e(6939),r.e(5357),r.e(7088)]).then(()=>r(63397))),Se=()=>{const e=document.querySelector('[data-module="ozone"]');return e?(0,o.createPortal)((0,a.jsx)(be,{}),e):null},we=(0,n.lazy)(()=>Promise.all([r.e(508),r.e(6531),r.e(8435)]).then(()=>r(1808))),ke=()=>{const e=document.querySelector('[id="regionaludsigter"]');return e?(0,o.createPortal)((0,a.jsx)(we,{}),e):null},Ae=(0,n.lazy)(()=>Promise.all([r.e(508),r.e(6531),r.e(7945)]).then(()=>r(30842))),Me=()=>{const e=document.querySelector('[id="farvandsudsigter"]');return e?(0,o.createPortal)((0,a.jsx)(Ae,{}),e):null},Ce=(0,n.lazy)(()=>Promise.all([r.e(469),r.e(6939),r.e(7390),r.e(9264),r.e(3237),r.e(1330),r.e(5507),r.e(6403),r.e(7686),r.e(3073)]).then(()=>r(47686))),Ee=()=>{const e=document.querySelector('[data-module="opendata-graph"]');return e?(0,o.createPortal)((0,a.jsx)(Ce,{stationId:"06156",stationName:"Holbæk",parameter:"temperature",country:"dk"}),e):null};var Re=r(43242);const Te=(0,n.lazy)(()=>Promise.all([r.e(469),r.e(7390),r.e(3237),r.e(1330),r.e(5173),r.e(4882),r.e(3956),r.e(5664)]).then(()=>r(93727))),Ie=()=>{const e=document.querySelector('[id="top-search"]');if(e){let t=[];try{t=JSON.parse(e.dataset.cards)}catch(e){console.error("Failed to parse data-cards:",e)}return(0,o.createPortal)((0,a.jsx)(Re.L,{children:(0,a.jsx)(Te,{cards:t})}),e)}return null},Pe=(0,n.lazy)(()=>Promise.all([r.e(469),r.e(7390),r.e(3237),r.e(1330),r.e(5173),r.e(4882),r.e(4737)]).then(()=>r(47710))),je=()=>{const e=document.querySelector('[id="front-page-search"]');return e?(0,o.createPortal)((0,a.jsx)(a.Fragment,{children:(0,a.jsx)(Re.L,{children:(0,a.jsx)(Pe,{})})}),e):null},Oe=(0,n.lazy)(()=>Promise.all([r.e(469),r.e(3237),r.e(1330),r.e(5507),r.e(5173),r.e(2163),r.e(2952)]).then(()=>r(21999))),Le=(0,n.lazy)(()=>Promise.all([r.e(469),r.e(7390),r.e(2258)]).then(()=>r(90480))),De=()=>{const e=document.querySelector('[id="search-page"]');return e?(0,o.createPortal)((0,a.jsx)(a.Fragment,{children:(0,a.jsx)(Re.L,{children:(0,a.jsxs)("div",{children:[(0,a.jsx)(Le,{}),(0,a.jsx)(Oe,{})]})})}),e):null},Fe=(0,n.lazy)(()=>Promise.all([r.e(3237),r.e(3411),r.e(9877),r.e(1260)]).then(()=>r(24789))),Ne=()=>{const e=new URLSearchParams(window.location.search).get("memberid"),t=document.querySelector('[data-module="research-portfolio"]');if(t)return(0,o.createPortal)((0,a.jsx)(Fe,{memberId:e}),t)},$e=(0,n.lazy)(()=>Promise.all([r.e(469),r.e(7390),r.e(3411),r.e(9877),r.e(1141)]).then(()=>r(45784))),ze=()=>{const e=document.querySelector('[data-module="research-members"]');if(e)return(0,o.createPortal)((0,a.jsx)($e,{}),e)},Be=(0,n.lazy)(()=>Promise.all([r.e(469),r.e(7390),r.e(3237),r.e(3411),r.e(4434)]).then(()=>r(91175))),Ge=()=>{const e=document.querySelector('[data-module="research-projects"]');if(e)return(0,o.createPortal)((0,a.jsx)(Be,{}),e)},We=(0,n.lazy)(()=>Promise.all([r.e(469),r.e(7390),r.e(3411),r.e(8285)]).then(()=>r(35978))),Ye=()=>{const e=document.querySelector('[data-module="research-publications"]');if(e)return(0,o.createPortal)((0,a.jsx)(We,{}),e)};var Ve=r(74353),qe=r.n(Ve);const Ke=(0,n.lazy)(()=>Promise.all([r.e(155),r.e(274),r.e(7099),r.e(8466)]).then(()=>r(24397))),Xe=(0,n.lazy)(()=>Promise.all([r.e(1869),r.e(508),r.e(6531),r.e(155),r.e(5860),r.e(3733),r.e(274),r.e(7099),r.e(5512)]).then(()=>r(31709))),He=(0,n.lazy)(()=>Promise.all([r.e(469),r.e(7390),r.e(1405)]).then(()=>r(45946))),Ue=(0,n.lazy)(()=>Promise.all([r.e(1607),r.e(3819)]).then(()=>r(40632))),Ze=()=>{const e=document.querySelector('[id="drought-spi"]'),[t,r]=(0,n.use
2State)("1"),[i,s]=(0,n.useState)("Hele landet"),[l,c]=(0,n.useState)(29),[u,d]=(0,n.useState)(qe()().subtract(30,"day"));return e?(0,o.createPortal)((0,a.jsxs)("div",{children:[(0,a.jsxs)("p",{children:["Indekset for nedbørsstatus er et mÃ¥l for tørke â eller meget vÃ¥de forhold â baseret pÃ¥ den samlede mængde nedbør over de sidste 30 dage. Indekset viser, om der er faldet mere eller mindre nedbør end normalt. Der vises en prognose for nedbørsstatus 15 dage frem.",(0,a.jsx)(Ue,{title:"Nedbørsstatus",text:"Nedbørsstatus bruges til at identificere meteorologisk tørke, som er perioder med usædvanligt lidt nedbør sammenlignet med et langsigtet gennemsnit. Det inddeles i kategorier, der angiver, om forholdene er normale, meget vÃ¥de eller meget tørre. Indekset er baseret pÃ¥ den samlede mængde nedbør over de sidste 30 dage."})]}),(0,a.jsx)(He,{komkode:t,onChangeKomkode:(e,t)=>{r(e),s(t)}}),(0,a.jsx)("br",{}),(0,a.jsx)("i",{children:"Du kan vælge at se nedbørsstatus for hele Danmark eller zoome ind pÃ¥ en bestemt kommune. Vælg kommune ved at klikke i menuen eller direkte pÃ¥ kortet."}),(0,a.jsx)("div",{style:{marginTop:"12px",boxShadow:"0px 5px 15px rgba(12, 43, 130, 0.08)"},children:(0,a.jsx)(Xe,{komkode:t,onSelectKomkode:(e,t)=>{r(e),s(t)},setStartDate:d,index:l,setIndex:e=>{c(e)}})}),(0,a.jsx)(Ke,{komkode:t,municipalityName:i,startDate:u,index:l,setIndex:e=>{c(e)}})]}),e):null},Je=(0,n.lazy)(()=>Promise.all([r.e(155),r.e(7847)]).then(()=>r(11812))),Qe=(0,n.lazy)(()=>Promise.all([r.e(1869),r.e(508),r.e(6531),r.e(155),r.e(5860),r.e(3733),r.e(6589)]).then(()=>r(90794))),et=(0,n.lazy)(()=>Promise.all([r.e(469),r.e(7390),r.e(1405)]).then(()=>r(45946))),tt=(0,n.lazy)(()=>Promise.all([r.e(1607),r.e(3819)]).then(()=>r(40632))),rt=()=>{const e=document.querySelector('[id="drought-sma"]'),[t,r]=(0,n.useState)("1"),[i,s]=(0,n.useState)("Hele landet"),[l,c]=(0,n.useState)(29),[u,d]=(0,n.useState)(qe()().subtract(30,"day"));return e?(0,o.createPortal)((0,a.jsxs)("div",{children:[(0,a.jsxs)("p",{children:["Indekset for jordvandsstatus er en indikator for vandindholdet i de øverste lag af jorden og bruges til at opdage og overvÃ¥ge tørke i jorden, ogsÃ¥ kaldet landbrugstørke. Den afspejler balancen mellem nedbør (der tilfører vand til planterne) og fordampning (der fjerner vand), og viser afvigelser fra gennemsnittet.",(0,a.jsx)(tt,{title:"Jordvandsstatus",text:"Jordvandsstatus bruges til at beskrive jordvandstørke, ogsÃ¥ kaldet landbrugstørke. Det sker ved at sammenligne den aktuelle mængde vand i jorden med et langsigtet gennemsnit. Den beregnes ud fra en model, der tager højde for nedbør, fordampning, optag i jorden og nedsivning til dannelse af grundvand."})]}),(0,a.jsx)(et,{komkode:t,onChangeKomkode:(e,t)=>{r(e),s(t)}}),(0,a.jsx)("br",{}),(0,a.jsx)("i",{children:"Du kan vælge at se jordvandsstatus for hele Danmark eller zoome ind pÃ¥ en bestemt kommune. Vælg kommune ved at klikke i menuen eller direkte pÃ¥ kortet."}),(0,a.jsx)("div",{style:{marginTop:"12px",boxShadow:"0px 5px 15px rgba(12, 43, 130, 0.08)"},children:(0,a.jsx)(Qe,{komkode:t,onSelectKomkode:(e,t)=>{r(e),s(t)},setStartDate:d,index:l,setIndex:e=>{c(e)}})}),(0,a.jsx)(Je,{komkode:t,municipalityName:i,startDate:u,index:l,setIndex:e=>{c(e)}})]}),e):null},nt=(0,n.lazy)(()=>Promise.all([r.e(155),r.e(7904)]).then(()=>r(3377))),it=(0,n.lazy)(()=>Promise.all([r.e(1869),r.e(508),r.e(6531),r.e(155),r.e(5860),r.e(3733),r.e(1270)]).then(()=>r(37319))),ot=(0,n.lazy)(()=>Promise.all([r.e(469),r.e(7390),r.e(1405)]).then(()=>r(45946))),st=(0,n.lazy)(()=>Promise.all([r.e(1607),r.e(3819)]).then(()=>r(40632))),at=()=>{const e=document.querySelector('[id="drought-fapar"]'),[t,r]=(0,n.useState)("1"),[i,s]=(0,n.useState)("Hele landet"),[l,c]=(0,n.useState)(29),[u,d]=(0,n.useState)(qe()().subtract(30,"day"));if(!e)return null;return qe()().get("month")>1&&qe()().get("month")<10?(0,o.createPortal)((0,a.jsxs)("div",{children:[(0,a.jsxs)("p",{children:["Planteaktivitetsindekset viser, hvor aktive planterne er i forhold til det normale for den pÃ¥gældende dag pÃ¥ Ã¥ret. Indekset giver en indikation af planternes sundhed og deres evne til at udføre fotosyntese.",(0,a.jsx)(st,{title:"Planteaktivitet",text:"Planteaktivitet mÃ¥les ved hjælp af satellitter og viser, hvor aktive planterne er sammenlignet med et normalniveau, som er beregnet ud fra mÃ¥linger i perioden fra 2004 til det seneste hele Ã¥r. NÃ¥r planterne er mindre aktive end normalt, kan det være et tegn pÃ¥ stress, hvilket ofte skyldes vandmangel i de øverste jordlag. Desuden kan værdierne være lave, hvis der har været for meget eller for lidt vand i jorden, eller hvis der har været koldt eller solfattigt."})]}),(0,a.jsx)(ot,{komkode:t,onChangeKomkode:(e,t)=>{r(e),s(t)}}),(0,a.jsx)("br",{}),(0,a.jsx)("i",{children:"Du kan vælge at se planteaktivitet for hele Danmark eller zoome ind pÃ¥ en bestemt kommune. Vælg kommune ved at klikke i menuen eller direkte pÃ¥ kortet."}),(0,a.jsx)("div",{style:{marginTop:"12px",boxShadow:"0px 5px 15px rgba(12, 43, 130, 0.08)"},children:(0,a.jsx)(it,{komkode:t,onSelectKomkode:(e,t)=>{r(e),s(t)}
2,setStartDate:d,index:l,setIndex:e=>{c(e)}})}),(0,a.jsx)(nt,{komkode:t,municipalityName:i,startDate:u,index:l,setIndex:e=>{c(e)}})]}),e):(0,o.createPortal)((0,a.jsx)("div",{style:{padding:"24px",height:"332px"},children:(0,a.jsx)("b",{children:"Ingen data uden for vækstsæsonen 1. marts til 31. oktober"})}),e)},lt=(0,n.lazy)(()=>Promise.all([r.e(155),r.e(5881)]).then(()=>r(11782))),ct=(0,n.lazy)(()=>Promise.all([r.e(1869),r.e(508),r.e(6531),r.e(155),r.e(5860),r.e(3733),r.e(7367)]).then(()=>r(60356))),ut=(0,n.lazy)(()=>Promise.all([r.e(469),r.e(7390),r.e(1405)]).then(()=>r(45946))),dt=(0,n.lazy)(()=>Promise.all([r.e(1607),r.e(3819)]).then(()=>r(40632))),ht=()=>{const e=document.querySelector('[id="drought-rzcv"]'),[t,r]=(0,n.useState)("1"),[i,s]=(0,n.useState)("Hele landet"),[l,c]=(0,n.useState)(29),[u,d]=(0,n.useState)(qe()().subtract(30,"day"));return e?(0,o.createPortal)((0,a.jsxs)("div",{children:[(0,a.jsxs)("p",{children:["Dette satellitbaserede indeks bruges til at overvÃ¥ge tørkeforhold. Indekset er baseret pÃ¥ en model, der tager højde for nedbør, fordampning og vandindhold i jorden. Denne afspejler, hvorvidt balancen mellem nedbør (der tilfører vand til planterne) og fordampning (der fjerner vand) er tilstrækkelig for planterne.",(0,a.jsx)(dt,{title:"Vand tilgængeligt for planter",text:"Dette satellitbaserede indeks bygger pÃ¥ en model, der dagligt estimerer planternes vandtilgængelighed. Modellen tager højde for, hvordan vand bevæger sig i systemet â herunder afstrømning til vandløb og nedsivning til grundvand. Ved at kombinere satellitbaserede mÃ¥linger af fordampning med information om jordtyper kan den desuden kortlægge lokale variationer i tørkeforhold."})]}),(0,a.jsx)(ut,{komkode:t,onChangeKomkode:(e,t)=>{r(e),s(t)}}),(0,a.jsx)("br",{}),(0,a.jsx)("i",{children:'Du kan vælge at se "Vand tilgængelig for planter" for hele Danmark eller zoome ind pÃ¥ en bestemt kommune. Vælg kommune ved at klikke i menuen eller direkte pÃ¥ kortet.'}),(0,a.jsx)("div",{style:{marginTop:"12px",boxShadow:"0px 5px 15px rgba(12, 43, 130, 0.08)"},children:(0,a.jsx)(ct,{komkode:t,onSelectKomkode:(e,t)=>{r(e),s(t)},setStartDate:d,index:l,setIndex:e=>{c(e)}})}),(0,a.jsx)(lt,{komkode:t,municipalityName:i,startDate:u,index:l,setIndex:e=>{c(e)}})]}),e):null};r(42706);const ft=(0,n.lazy)(()=>Promise.all([r.e(1869),r.e(508),r.e(6531),r.e(155),r.e(5860),r.e(3733),r.e(274),r.e(7099),r.e(5512)]).then(()=>r(31709))),gt=(0,n.lazy)(()=>Promise.all([r.e(1869),r.e(508),r.e(6531),r.e(155),r.e(5860),r.e(3733),r.e(1270)]).then(()=>r(37319))),pt=(0,n.lazy)(()=>Promise.all([r.e(1869),r.e(508),r.e(6531),r.e(155),r.e(5860),r.e(3733),r.e(6589)]).then(()=>r(90794))),mt=(0,n.lazy)(()=>Promise.all([r.e(1869),r.e(508),r.e(6531),r.e(155),r.e(5860),r.e(3733),r.e(7367)]).then(()=>r(60356))),yt=()=>{const e=document.querySelector('[id="drought-frontpage"]'),[t,r]=(0,n.useState)(29),[i,s]=(0,n.useState)(29),[l,c]=(0,n.useState)(29),[u,d]=(0,n.useState)(29);if(!e)return null;const h="1",f=qe()().get("month")>1&&qe()().get("month")<10;return(0,o.createPortal)((0,a.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:"20px"},children:[(0,a.jsx)("div",{style:{width:"590px"},className:"article-block-preview",children:(0,a.jsxs)("a",{href:e.dataset.linkSpi,style:{textDecoration:"none"},children:[(0,a.jsx)(ft,{komkode:h,onSelectKomkode:()=>{},size:"small",setStartDate:()=>null,index:t,setIndex:e=>{r(e)}}),(0,a.jsxs)("div",{style:{backgroundColor:"white"},className:"article-block-wrapper",children:[(0,a.jsx)("h3",{style:{margin:0},children:"Har der manglet regn?"}),(0,a.jsx)("p",{style:{margin:0,fontSize:"13px"},children:"NEDBÃRSSTATUS"}),(0,a.jsx)("p",{children:e.dataset.textSpi}),"Se nedbørsstatus og fremskrivning pÃ¥ kommuneniveau"]})]})}),(0,a.jsx)("div",{style:{width:"590px"},className:"article-block-preview",children:(0,a.jsxs)("a",{href:e.dataset.linkSma,style:{textDecoration:"none"},children:[(0,a.jsx)(pt,{komkode:h,onSelectKomkode:()=>{},size:"small",setStartDate:()=>null,index:l,setIndex:e=>{c(e)}}),(0,a.jsxs)("div",{style:{backgroundColor:"white"},className:"article-block-wrapper",children:[(0,a.jsx)("h3",{style:{margin:0},children:"Mangler planterne vand i de øverste jordlag?"}),(0,a.jsx)("p",{style:{margin:0,fontSize:"13px"},children:"JORDVANDSSTATUS"}),(0,a.jsx)("p",{children:e.dataset.textSma}),"Se jordvandsstatus pÃ¥ kommuneniveau"]})]})}),(0,a.jsx)("div",{style:{width:"590px"},className:"article-block-preview",children:(0,a.jsxs)("a",{href:f?e.dataset.linkFapar:null,style:{textDecoration:"none"},children:[f?(0,a.jsx)(gt,{komkode:h,onSelectKomkode:()=>{},size:"small",setStartDate:()=>
2null,index:i,setIndex:e=>{s(e)}}):(0,a.jsxs)("div",{style:{padding:"24px",height:"332px"},children:["Ingen data uden for vækstsæsonen ",(0,a.jsx)("br",{}),"1. marts til 31. oktober"]}),(0,a.jsxs)("div",{style:{backgroundColor:"white"},className:"article-block-wrapper",children:[(0,a.jsx)("h3",{style:{margin:0},children:"Hvordan har planterne det lige nu?"}),(0,a.jsx)("p",{style:{margin:0,fontSize:"13px"},children:"PLANTEAKTIVITET"}),(0,a.jsx)("p",{children:e.dataset.textFapar}),f?"Se planteaktivitet pÃ¥ kommuneniveau":null]})]})}),(0,a.jsx)("div",{style:{width:"590px"},className:"article-block-preview",children:(0,a.jsxs)("a",{href:e.dataset.linkRzcv,style:{textDecoration:"none"},children:[f?(0,a.jsx)(mt,{komkode:h,onSelectKomkode:()=>{},size:"small",setStartDate:()=>null,index:u,setIndex:e=>{d(e)}}):(0,a.jsxs)("div",{style:{padding:"24px",height:"332px"},children:["Ingen data uden for vækstsæsonen ",(0,a.jsx)("br",{}),"1. marts til 31. oktober"]}),(0,a.jsxs)("div",{style:{backgroundColor:"white"},className:"article-block-wrapper",children:[(0,a.jsx)("h3",{style:{margin:0},children:"Hvor meget vand er tilgængeligt for veludviklede planter?"}),(0,a.jsx)("p",{style:{margin:0,fontSize:"13px"},children:"VAND TILGÃNGELIGT FOR PLANTER"}),(0,a.jsx)("p",{children:e.dataset.textRzcv}),f?"Se vandtilgængeligheden pÃ¥ kommuneniveau":null]})]})})]}),e)},vt=(0,n.lazy)(()=>Promise.all([r.e(6305),r.e(8991)]).then(()=>r(47504))),xt=new WeakMap,_t=e=>{if(xt.has(e))return xt.get(e);const t=e.querySelector('[data-module="dmi-mui-accordion-summary"]'),r=e.querySelector('[data-module="dmi-mui-accordion-details"]');if(!t||!r)return null;const n={summaryText:t.textContent?.trim()||"Accordion",detailNodes:Array.from(r.childNodes),mountRoot:document.createElement("div")};return n.mountRoot.className="accordion-root",e.replaceChildren(n.mountRoot),xt.set(e,n),n},bt=()=>Array.from(document.querySelectorAll('[data-module="dmi-mui-accordion"]')).map(_t).filter(Boolean),St=()=>{const[e]=(0,n.useState)(bt);return(0,a.jsx)(a.Fragment,{children:e.map(({summaryText:e,detailNodes:t,mountRoot:r},i)=>(0,o.createPortal)((0,a.jsx)(n.Suspense,{fallback:null,children:(0,a.jsx)(vt,{summaryText:e,detailNodes:t})},i),r))})},wt=(0,n.lazy)(()=>Promise.all([r.e(1869),r.e(4422)]).then(()=>r(17769))),kt=()=>{const e=document.querySelectorAll('[data-module="expandText"]');return(0,a.jsx)(a.Fragment,{children:Array.from(e).map((e,t)=>{const r=e.firstElementChild;if(!e.textContent.trim())return null;const i=e.dataset.viewMoreLink||"Læs mere",s=e.dataset.viewLessLink||"Læs mindre",l=e.dataset.collapsedHeight||"200px";return(0,o.createPortal)((0,a.jsx)(n.Suspense,{fallback:null,children:(0,a.jsx)(wt,{textElement:r,viewMoreLink:i,viewLessLink:s,collapsedHeight:l},t)}),e)})})},At=(0,n.lazy)(()=>Promise.all([r.e(469),r.e(6939),r.e(7390),r.e(9264),r.e(5357),r.e(2755),r.e(2286)]).then(()=>r(48287))),Mt=()=>{const e=document.querySelectorAll('[data-module="klimasaesonnormaler"]');return(0,a.jsx)(a.Fragment,{children:Array.from(e).map((e,t)=>(0,o.createPortal)((0,a.jsx)(At,{id:e.dataset.id},t),e))})},Ct=(0,n.lazy)(()=>r.e(7651).then(()=>r(68104))),Et=()=>{const e=document.querySelector('[data-module="local-weather-nav"]'),t=sessionStorage.gid??null;return e&&t?(0,o.createPortal)((0,a.jsx)(n.Suspense,{fallback:null,children:(0,a.jsx)(Ct,{gid:t})}),e):null},Rt=(0,n.lazy)(()=>r.e(3257).then(()=>r(28654))),Tt=()=>{const e=document.querySelector('[data-module="local-weather-archive-nav"]'),t=sessionStorage.gid??null;return e&&t?(0,o.createPortal)((0,a.jsx)(n.Suspense,{fallback:null,children:(0,a.jsx)(Rt,{gid:t})}),e):null},It=(0,n.lazy)(()=>r.e(8357).then(()=>r(76338))),Pt=()=>{const e=document.querySelector('[data-module="location-header"]'),t=sessionStorage.gid??null,r=sessionStorage.city??null,i=sessionStorage.country??null,s="DK"===sessionStorage.country?sessionStorage.kommune??null:null;if(!(e&&t&&r&&i))return null;const l=r.replace(/_/g," ");return(0,o.createPortal)((0,a.jsx)(n.Suspense,{fallback:null,children:(0,a.jsx)(It,{gid:t,city:l,country:i,kommune:s})}),e)},jt=(0,n.lazy)(()=>Promise.all([r.e(6939),r.e(1607),r.e(7392)]).then(()=>r(93589))),Ot=()=>{const e=document.querySelector('[data-module="nowcasting"]');return e?(0,o.createPortal)((0,a.jsx)(jt,{onFrontpage:"true"===e.dataset.frontpage}),e):null},Lt=(0,n.lazy)(()=>Promise.all([r.e(469),r.e(6939),r.e(7390),r.e(508),r.e(6531),r.e(4531),r.e(3978)]).then(()=>r(98075))),Dt=()=>{const e=document.querySelector('[data-module="greenland-sea-areas"]');return e?(0,o.createPortal)((0,a.jsx)(Lt,{}),e):null},Ft=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(St,{}),(0,a.jsx)(c,{}),(0,a.jsx)(d,{}),(0,a.jsx)(h,{}),(0,a.jsx)(at,{}),(0,a.jsx)(yt,{}),(0,a.jsx)(g,{}),(0,a.jsx)(rt,{}),(0,a.jsx)(ht,{}),(0,a.jsx)(Ze,{}),(0,a.jsx)(kt,{}),(0,a.jsx)(m,{}),(0,a.jsx)(v,{}),(0,a.jsx)(je,{}),(0,a.jsx)(Dt,{}),(0,a.jsx)(_,{}),(0,a.jsx)(S,{}),(0,a.jsx)(k,{}),(0,a.jsx)(Mt,{}),(0,a.jsx)(Tt,{}),(0,a.jsx)(Et,{}),(0,a.jsx)(M,{}),(0,a.jsx)(Pt,{}),(0,a.jsx)(me,{}),(0,a.jsx)(E,{}),(0,a.jsx)(Ot,{}),(0,a.jsx)(O,{}),(0,a.jsx)(Ee,{}),(0,a.jsx)(B,{}),(0,a.jsx)(Se,{}),(0,a.jsx)(ke,{}),(0,a.jsx)(Me,{}),(0,a.jsx)(W,{}),(0,a.jsx)(ze,{}),(0,a.jsx)(Ne,{}),(0,a.jsx)(Ge,{}),(0,a.jsx)(Ye,{}),(0,a.jsx)(V,{}),(0,a.jsx)(Ie,{}),(0,a.jsx)(De,{}),(0,a.jsx)(ge,{}),(0,a.jsx)(ve,{}),(0,a.jsx)(_e,{}),(0,a.jsx)(H,{}),(0,a.jsx)(K,{}),(0,a.jsx)(Z,{}),(0,a.jsx)(ee,{}),(0,a.jsx)(re,{}),(0,a.jsx)(ie,{}),(0,a.jsx)(se,{}),(0,a.jsx)(ue,{}),(0,a.jsx)(he,{})]});var Nt=r(61429),$t=r(39940);r(38552).K.setLicenseKey("fa2fd38635f9b5c74df419520d1b7f58Tz0xMjk4NTQsRT0xODEyMTUzNTk5MDAwLFM9cHJvLExNPWFubnVhbCxQVj1RMS0yMDI2LFE9MixBVD1zaW5nbGUsS1Y9Mg==");
2const zt=(0,Nt.A)({palette:{primary:{main:"#103DB2"}}});(0,i.createRoot)(document.getElementById("root")).render((0,a.jsx)($t.A,{theme:zt,children:(0,a.jsx)(Ft,{})}))},87297(e,t,r){"use strict";const n={dmiBlue:"#008fe9",dmiBlue25:"#92d0f5",dmiBlueDesat:"#1399ec",dmiDeepBlue:"#0c2d83",dmiDarkTurquoise:"#0097a7",dmiBrighturquoise:"#7CEEE2",dmiBlack:"#161414",dmiDarkGray:"#505050",dmiMediumGray:"#8b8b8b",dmiLightGray:"#e6e6e6",dmiLighterGray:"#f4f4f4",dmiRedBright:"#eb0800",dmiRed:"#CC1F1F",dmiRedHeart:"#ff5353",dmiYellow:"#ffd903",dmiPeach:"#fe8e52",dmiPeachDarker:"#FF9962"};r.d(t,["A",0,n])},83865(e,t,r){"use strict";const n=["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"],i=["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],o=["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],s=["søn","man","tir","ons","tor","fre","lør"],a={palette:{colorScheme:"light"},lang:{decimalPoint:",",numericSymbols:null,months:n,shortMonths:i,weekdays:o,shortWeekdays:s,contextButtonTitle:"Graf menu",downloadJPEG:"Hent som JPEG",downloadPDF:"Hent som PDF",downloadPNG:"Hent som billede (PNG)",downloadSVG:"Hent som SVG",downloadCSV:"Hent som data (CSV)",downloadXLS:"Hent som XLS",printChart:"Udskriv graf"}};r.d(t,["BY",0,"/NinJo2DmiDk/ninjo2dmidk","FS",0,{AF:"Afghanistan",AL:"Albanien",DZ:"Algeriet",AS:"Amerikansk Samoa",VI:"Amerikanske Jomfruøer",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarktis",AG:"Antigua og Barbuda",AR:"Argentina",AM:"Armenien",AW:"Aruba",AZ:"Aserbajdsjan",AU:"Australien",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgien",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BQ:"Bonaire, Skt. Eustatius og Saba",BA:"Bosnien-Hercegovina",BW:"Botswana",BV:"Bouvetøen",BR:"Brasilien",IO:"Britisk territorium i det Indiske Ocean",VG:"Britiske Jomfruøer",BN:"Brunei",BG:"Bulgarien",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodja",CM:"Cameroun",CA:"Canada",KY:"Caymanøerne",CF:"Centralafrikanske Republik",CL:"Chile",CC:"Cocosøerne",CO:"Colombia",KM:"Comorerne",CD:"Congo, Demokratiske Republik",CG:"Congo, Republikken",CK:"Cookøerne",CR:"Costa Rica",CU:"Cuba",CW:"Curacao",CY:"Cypern",DK:"Danmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominikanske Republik",EC:"Ecuador",EG:"Egypten",SV:"El Salvador",CI:"Elfenbenskysten",ER:"Eritrea",EE:"Estland",SZ:"Eswatini",ET:"Etiopien",FK:"Falklandsøerne",FJ:"Fiji",PH:"Filippinerne",FI:"Finland",AE:"Forenede Arabiske Emirater",FR:"Frankrig",GF:"Fransk Guyana",PF:"Fransk Polynesien",TF:"Franske Sydlige og Antarktiske Territorier",FO:"Færøerne",GA:"Gabon",GM:"Gambia",GE:"Georgien",GH:"Ghana",GI:"Gibraltar",GD:"Grenada",GR:"Grækenland",GL:"Grønland",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard- og McDonaldøerne",HN:"Honduras",HK:"Hongkong",IN:"Indien",ID:"Indonesien",IQ:"Irak",IR:"Iran",IE:"Irland",IS:"Island",IM:"Isle of Man",IL:"Israel",IT:"Italien",JM:"Jamaica",JP:"Japan",JE:"Jersey",JO:"Jordan",CX:"Juleøen",CV:"Kap Verde",KZ:"Kasakhstan",KE:"Kenya",CN:"Kina",KG:"Kirgisistan",KI:"Kiribati",HR:"Kroatien",KW:"Kuwait",LA:"Laos",LS:"Lesotho",LV:"Letland",LB:"Libanon",LR:"Liberia",LY:"Libyen",LI:"Liechtenstein",LT:"Litauen",LU:"Luxembourg",MO:"Macao",MG:"Madagaskar",MW:"Malawi",MY:"Malaysia",MV:"Maldiverne",ML:"Mali",MT:"Malta",MA:"Marokko",MH:"Marshalløerne",MQ:"Martinique",MR:"Mauretanien",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Mikronesien",MD:"Moldova",MC:"Monaco",MN:"Mongoliet",ME:"Montenegro",MS:"Montserrat",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NL:"Nederlandene",NP:"Nepal",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",KP:"Nordkorea",MK:"Nordmakedonien",MP:"Nordmarianerne",NF:"Norfolkøen",NO:"Norge",NC:"Ny Kaledonien",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palæstina",PA:"Panama",PG:"Papua Ny Guinea",PY:"Paraguay",PE:"Peru",PN:"Pitcairn",PL:"Polen",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Reunion",RO:"Rumænien",RU:"Rusland",RW:"Rwanda",SB:"Salomonøerne",WS:"Samoa",SM:"San Marino",ST:"Sao Tome og Principe",SA:"Saudi-Arabien",CH:"Schweiz",SN:"Senegal",RS:"Serb
2ien",SC:"Seychellerne",SL:"Sierra Leone",SG:"Singapore",BL:"Skt. Barthelemy",SH:"Skt. Helena",KN:"Skt. Kitts og Nevis",LC:"Skt. Lucia",SX:"Skt. Martin (NL)",PM:"Skt. Pierre og Miquelon",VC:"Skt. Vincent og Grenadinerne",SK:"Slovakiet",SI:"Slovenien",SO:"Somalia",ES:"Spanien",LK:"Sri Lanka",MF:"St. Martin (FR)",GB:"Storbritannien",SD:"Sudan",SR:"Surinam",SJ:"Svalbard og Jan Mayen",SE:"Sverige",ZA:"Sydafrika",GS:"Sydgeorgien og Sydsandwichøerne",KR:"Sydkorea",SS:"Sydsudan",SY:"Syrien",TJ:"Tadsjikistan",TW:"Taiwan",TZ:"Tanzania",TD:"Tchad",TH:"Thailand",CZ:"Tjekkiet",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad og Tobago",TN:"Tunesien",TM:"Turkmenistan",TC:"Turks- og Caicosøerne",TV:"Tuvalu",TR:"Tyrkiet",DE:"Tyskland",UG:"Uganda",UA:"Ukraine",HU:"Ungarn",UY:"Uruguay",US:"USA",UM:"USA's mindre øbesiddelser",UZ:"Usbekistan",VU:"Vanuatu",VA:"Vatikanstaten",VE:"Venezuela",EH:"Vestsahara",VN:"Vietnam",WF:"Wallis og Futuna",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe",GQ:"Ãkvatorialguinea",AT:"Ãstrig",TL:"Ãsttimor",AX:"Ã
landsøerne"},"My",0,{63:"vejr-sky-regn-kraftig",73:"vejr-sky-sne-kraftig",81:"vejr-sol-regn-stark",84:"vejr-sol-slud-stark",86:"vejr-sky-sol-sne-kraftig",60:"vejr-sky-regn-let",68:"vejr-sky-slud-let",69:"vejr-sky-slud-kraftig",70:"vejr-sky-sne-let",80:"vejr-sky-sol-regn-let",83:"vejr-sky-sol-slud-let",85:"vejr-sky-sol-sne-let",45:"vejr-taage",3:"vejr-sky",2:"vejr-sol-sky",1:"vejr-sol",163:"vejr-sky-regn-kraftig",173:"vejr-sky-sne-kraftig",181:"vejr-nat-regn-stark",184:"vejr-nat-slud-stark",186:"vejr-nat-sne-kraftig",160:"vejr-sky-regn-let",168:"vejr-sky-slud-let",169:"vejr-sky-slud-kraftig",170:"vejr-sky-sne-let",180:"vejr-nat-regn-let",183:"vejr-nat-slud-let",185:"vejr-nat-sne-let",145:"vejr-taage",103:"vejr-nat-skyar",102:"vejr-nat-sky",101:"vejr-nat"},"On",0,i,"P5",0,"/dmidk_byvejrWS/rest","US",0,n,"YJ",0,{da:{warningCauseText:["Alle","Vind","Torden/skybrud","Regn","Sne","Isslag","TÃ¥ge","Vandstand","Vandløbsoversvømmelse","Andre"],warning2days:"Aktuelt varsel - næste 48 timer",warning5days:"Forvarsel 2-5 døgn",noWarning:"Intet varsel",noWarning2days:"Intet varsel de næste 48 timer",noWarning5days:"Intet forvarsel de næste 2-5 døgn",category:"kategori",categoryShow:"VIS VARSELSTYPER",categoryHide:"SKJUL VARSELSTYPER",boxHeading2days:"De næste 48 timer",boxHeading5days:"De næste 2-5 døgn",boxText:"Klik pÃ¥ det ønskede omrÃ¥de pÃ¥ kortet for varselstidspunkter og detaljer.",riskMatrix:"Risikomatrice",riskConfidence:"Sandsynlighed",riskImpact:"Konsekvens"},en:{warningCauseText:["All","Wind","Thunderstorm/Cloudburst","Rain","Snow","Black Ice","Fog","Sealevel","River Flooding","Others"],warning2days:"Current Warning - next 48 hours",warning5days:"Next 2-5 days",noWarning:"No Warning",noWarning2days:"No Warning for the next 48 hours",noWarning5days:"No Warning for the next 2-5 days",category:"category",categoryShow:"SHOW WARNING TYPES",categoryHide:"HIDE WARNING TYPES",boxHeading2days:"Next 48 hours",boxHeading5days:"Next 2-5 days",boxText:"Click on map area for warning period and details.",riskMatrix:"Risk Assessment matrix",riskConfidence:"Confidence",riskImpact:"Impact"},kl:{warningCauseText:["Tamarmik","Anori","Kalleq/Sialussuaq","Sialuk","Aput","Nilakkarneq","Pujoq","Ulittarneq / tinittarneq","Assigiinngitsut","Assigiinngitsut"],warning2days:"Massakkut ilimasaarut â akunnerit 48-it iluanni tulliuttuni",warning5days:"Ulluni 2-5 tulliuttuni",noWarning:"Ilimasaaruteqanngilaq",noWarning2days:"Akunnerni 48-it tulliuttuni ilimasaaruteqanngilaq",noWarning5days:"Ulluni 2-5 tulliuttuni ilimasaaruteqanngilaq",category:"Ilimasaaruteqanngilaq",categoryShow:"SUUSSUTSIT TAKUTIKKIT",categoryHide:"SUUSSUTSIT ERSIGUNNAARTIKKIT",boxHeading2days:"Akunnerni 48-ni tulliuttuni",boxHeading5days:"Ulluni 2-5 tulliuttussani",boxText:"Nunap ilaa takorusutat nunap assinga toorlugu takusinnaavat, ilimasaarutit paasissutissallu annertunerusut takusinnaavatit.",riskMatrix:"Risiko matrice",riskConfidence:"Sandsynlighed",riskImpact:"Konsekvens"}},"Ym",0,[{key:"04285",text:"Angissoq"},{key:"04220",text:"Aasiaat"},{key:"04224",text:"Mitt. Aasiaat"},{key:"04351",text:"Aputiteeq"},{key:"04320",text:"Danmarkshavn"},{key:"04330",text:"Daneborg"},{key:"04313",text:"Henrik Krøyer Holme"},{key:"04390",text:"Ikerasassuaq"},{key:"04373",text:"Ikermit"},{key:"04382",text:"Ikermiuarsuk"},{key:"04221",text:"Mitt. Ilulissat"},{key:"04339",text:"Ittoqqortoormiit"},{key:"04231",text:"Mitt. Kangerlussuaq"},{key:"04301",text:"Kap Morris Jesup"},{key:"04208",text:"Kitsissorsuit"},{key:"04203",text:"Kitsissut"},{key:"04228",text:"Kitsissut/Attu"},{key:"04361",text:"Mitt. Kulusuk"},{key:"04241",text:"Mitt. Maniitsoq"},{key:"04270",text:"Mitt. Narsarsuaq"},{key:"04271",text:"Narsarsuaq Radiosonde"},{key:"04341",text:"Mitt. Nerlerit Inaat"},{key:"04266",text:"Nunarsuit"},{key:"04250",text:"Nuuk"},{key:"04254",text:"Mitt. Nuuk"},{key:"04214",text:"Nuussuaq"},{key:"04260",text:"Mitt. Paamiut"},{key:"04205",text:"Mitt. Qaanaaq"},{key:"04213",text:"Mitt. Qaarsut"},{key:"04272",text:"Qaqortoq"},{key:"04273",text:"Qaqortoq Heliport"},{key:"04219",text:"Qeqertarsuaq Heliport"},{key:"04242",text:"Sioralik"},{key:"04234",text:"Mitt. Sisimiut"},{key:"04312",text:"Station Nord"},{key:"04360",text:"Tasiilaq"},{key:"04253",text:"Ukiivik"},{key:"04211",text:"Mitt. Upernavik"}],"Yt",0,["Ataasinngorneq","Marlunngorneq","Pingasunngorneq","Sisamanngorneq","Tallimanngorneq","Arfininngorneq","Sapaat"],"Z0",0,{en:{Vejr:"Weather","Lufttryk og nedbør":"Air Pressure and Precipitation",Vind:"Wind","Vind - høj opløsning":"High Resolution Wind",Vindstød:"Gust",Bølger:"Wave",Iskoncentration:"Ice Concentration"},gl:{Vejr:"Sila","Lufttryk og nedbør":"Silaannaap naqitsinera kiisalu nittaallat sialuillu",Vind:"Anori","Vind - høj opløsning":"Anori - erseqqarissisaq",Vindstød:"Anoraasuaq",Bølger:"Mallit",Iskoncentration:"Sikunik kimittusitsineq"}},"bf",0,[{id:"02001038",name:"Elling Ã
, Elling Kirke",owner:"Miljøstyrelsen",x:589149.0797,y:6370965.2691,p01:.5232499837875366,p99:1.9743999767303433},{id:"03000501",name:"Uggerby Ã
, Astedbro",owner:"Miljøstyrelsen",x:567971.6819,y:6368097.5356,p01:16.58275032043457,p99:18.177932472229003},{id:"06000475",name:"Ry Ã
, Manna",owner:"Miljøstyrelsen",x:550832.6139,y:6347708.744,p01:1.9620000123977661,p99:3.9100000858306885},{id:"07000344",name:"Lindholm Ã
, Elkær Bro",owner:"Miljøstyrelsen",x:555325.0256,y:6335641.0276,p01:1.9217500686645508,p99:3.554333209991455},{id:"10000986",name:"Herreds Ã
, Vegger Bro",owner:"Miljøstyrelsen",x:535004.609,y:6305205.4175,p01:1.6085000038146973,p99:2.4839999675750732},{id:"11000355",name:"Hvidbjerg Ã
, Hvidbjerg MøllegÃ¥rd",owner:"Miljøstyrelsen",x:461965.5073,y:6299733.1397,p01:.5410000085830688,p99:2.1463332176208496},{id:"11000356",name:"Ã
rup Ã¥, Ã
rup",owner:"Miljøstyrelsen",x:468445.0362,y:6305704.0899,p01:2.0889999866485596,p99:3.2579648995399477},{id:"15001095",name:"Korup Ã
, Høgholt Bro",owner:"Miljøstyrelsen",x:572718.0378,y:6289598.0731,p01:1.2126667499542236,p99:2.008697490692139},{id:"18000264",name:"Skals Ã
, Løvel Bro",owner:"Miljøstyrelsen",x:530271.442342552,y:6269968.32043245,p01:1.4079999923706055,p99:2.5082082748413086},{id:"20000910",name:"Karup Ã
, Nørkær Bro",owner:"Miljøstyrelsen",x:498931.522660015,y:6263302.995229,p01:2.9472416758537294,p99:3.805833339691162},{id:"21006845",name:"Gudenå, Tvilumbro",owner:"Miljøstyrelsen",x:541546.941690996,y:6233010.28955175,p01:17.045000076293945,p99:18.145999908447266}
2,{id:"21006847",name:"GudenÃ¥, 500 M Os Vorvadsbro",owner:"Miljøstyrelsen",x:543442.4699,y:6207840.3905,p01:29.841001510620117,p99:30.61845886230469},{id:"21006853",name:"GudenÃ¥, Ulstrup Bro",owner:"Miljøstyrelsen",x:549006.571,y:6250166.8104,p01:1.3889999389648438,p99:3.4725234007835386},{id:"22001654",name:"StorÃ¥, Skærum Bro",owner:"Miljøstyrelsen",x:459513.109275452,y:6243533.38369755,p01:.27539998888969425,p99:1.841433262825012},{id:"22001656",name:"StorÃ¥, Ved Gl. Grydholt",owner:"Miljøstyrelsen",x:484364.09113784,y:6244257.7567882,p01:14.725000381469727,p99:16.53496292114258},{id:"22001667",name:"StorÃ¥, Laksestien",owner:"Miljøstyrelsen",x:476919.33847751,y:6245536.54158577,p01:7.784066963195801,p99:9.341099739074707},{id:"25003913",name:"Omme Ã
, Sønderskov Bro",owner:"Miljøstyrelsen",x:474370.757085009,y:6197738.72899001,p01:2.8261732959747317,p99:4.1568265151977535},{id:"25003914",name:"Skjern Ã
, AlergÃ¥rd",owner:"Miljøstyrelsen",x:481721.530830359,y:6201331.08722378,p01:6.388333320617676,p99:8.10698028564453},{id:"25003918",name:"Skjern Ã
, Gjaldbæk Bro",owner:"Miljøstyrelsen",x:476801.5951,y:6199290.3538,p01:4.182325124740601,p99:5.576508736610412},{id:"25003919",name:"Holtum Ã¥, vejbro Nà for Ã
mejl",owner:"Miljøstyrelsen",x:503557.4022,y:6204338.6412,p01:31.189533748626708,p99:31.943166732788086},{id:"26000766",name:"Ã
rhus Ã
, Ved Skibby",owner:"Miljøstyrelsen",x:564642.7336,y:6221589.7177,p01:1.6777499914169312,p99:2.4867501258850098},{id:"26000768",name:"LyngbygÃ¥rds Ã
, A 15",owner:"Miljøstyrelsen",x:564257.9258,y:6223528.1111,p01:5.840000152587891,p99:7.012499809265137},{id:"27001035",name:"Odder Ã
, Fillerup",owner:"Miljøstyrelsen",x:569784,y:6202598,p01:25.661998748779297,p99:26.024899673461917},{id:"27001109",name:"Stampemølle Bæk, Opstrøms Odder Ã
",owner:"Miljøstyrelsen",x:572254.7118,y:6204795.786,p01:4.989833354949951,p99:5.799666881561279},{id:"28000260",name:"Bygholm Ã
, Kørup Bro",owner:"Miljøstyrelsen",x:547228.238016449,y:6192164.17768001,p01:7.722166538238525,p99:8.778833389282227},{id:"30000681",name:"Hennemølle Ã
, Bro Porsmosevej V. Henne MøllegÃ¥rd",owner:"Miljøstyrelsen",x:450380.0596,y:6175582.5632,p01:.8058333396911621,p99:1.8324999809265137},{id:"31001398",name:"Varde Ã
, V. Vagtborg",owner:"Miljøstyrelsen",x:471080.7735,y:6166438.9146,p01:1.8021665811538696,p99:3.9040649461746213},{id:"32000997",name:"Vejle Ã
, Haraldskær",owner:"Miljøstyrelsen",x:527552.8225,y:6172941.0789,p01:2.5815000534057617,p99:3.569881744384766},{id:"34000514",name:"Kolding Ã
, Ejstrup",owner:"Miljøstyrelsen",x:523885.4904,y:6150637.0055,p01:3.6054999828338623,p99:5.111999988555908},{id:"34000516",name:"Seest MølleÃ¥, Møgelmosehus - Os Kolding Ã
",owner:"Miljøstyrelsen",x:525591.2301,y:6149742.7708,p01:3.045750141143799,p99:3.7338616442680355},{id:"35000725",name:"Bramming-Holsted Ã
, Golfbanebro",owner:"Miljøstyrelsen",x:479969.6109,y:6148687.8821,p01:2.8866665363311768,p99:4.484646797180176},{id:"36000551",name:"Konge Ã
, Ved Konge Bro",owner:"Miljøstyrelsen",x:489566.0459,y:6140704.0404,p01:7.803163061141968,p99:9.212504634857178},{id:"37000857",name:"Taps Ã
, Ved Rensningsanlæg",owner:"Miljøstyrelsen",x:531533.4047,y:6134153.4003,p01:6.985333442687988,p99:8.388766288757326},{id:"38000861",name:"BlÃ¥ Ã
(LilleÃ¥), T.T. Jels Oversø",owner:"Miljøstyrelsen",x:516097.999,y:6137291.0022,p01:36.840667724609375,p99:37.647831420898434},{id:"38000862",name:"Hjortvad Ã
, V. Bremkrog",owner:"Miljøstyrelsen",x:490023.0842,y:6135526.1133,p01:5.95,p99:6.879670133590698},{id:"38000863",name:"Ribe Ã
, V. Stavnager Bro",owner:"Miljøstyrelsen",x:492178.0498,y:6130693.9677,p01:1.8021665811538696,p99:3.9040649461746213},{id:"41000789",name:"Slotsmølle Ã
, Vest For Bro Ved Vestmarksvej I Aabenraa.",owner:"Miljøstyrelsen",x:525377.6514,y:6100159.7738,p01:3.817333459854126,p99:4.410444974899292},{id:"42001216",name:"Grønå, Elhjemvej",owner:"Miljøstyrelsen",x:495536.6974,y:6086563.491,p01:.6050000190734863,p99:2.2702732944488524},{id:"42001220",name:"Vidå, Emmerske",owner:"Miljøstyrelsen",x:495415.1758,
2y:6089611.5391,p01:2.511833429336548,p99:3.6292498111724854},{id:"44000452",name:"Vindinge Ã
â Ullerslev",owner:"Miljøstyrelsen",x:605897.905169151,y:6134749.26634625,p01:4.961999893188477,p99:5.945499897003174},{id:"45001607",name:"Odense Ã
, Kratholm (22.35)",owner:"Miljøstyrelsen",x:584147.5333,y:6132342.8911,p01:11.051919441223145,p99:12.526500701904297},{id:"45001608",name:"Odense Ã
, Nørre Broby (St 35.80)",owner:"Miljøstyrelsen",x:578143.3199,y:6123958.5819,p01:17.132195777893067,p99:18.793970413208008},{id:"45001613",name:"Lindved Ã
, 1.20",owner:"Miljøstyrelsen",x:592361.9763,y:6139228.4853,p01:3.2118332386016846,p99:3.732121770381928},{id:"45001614",name:"Lunde Ã
, 7.25",owner:"Miljøstyrelsen",x:584872.4159,y:6149620.0332,p01:7.021667003631592,p99:7.691140313148498},{id:"46000718",name:"HÃ¥rby Ã
, 3.10",owner:"Miljøstyrelsen",x:570892.711682069,y:6118991.99272754,p01:2.4051666259765625,p99:3.4416899347305296},{id:"46000722",name:"Brende Ã
, Ã
rup",owner:"Miljøstyrelsen",x:566586.3359,y:6137966.1275,p01:43.466331481933594,p99:44.490464477539064},{id:"47000766",name:"Vejstrup Ã
, 1.80",owner:"Miljøstyrelsen",x:610600.415025014,y:6106157.20245999,p01:7.666876792907715,p99:8.201333999633789},{id:"47000854",name:"Stokkebækken, 1.80",owner:"Miljøstyrelsen",x:613743.1273,y:6116060.3475,p01:1.9530000686645508,p99:2.8749183392524724},{id:"48000404",name:"Højbro Ã
, V. HanebjerggÃ¥rd",owner:"Miljøstyrelsen",x:696251.6036,y:6219952.4712,p01:2.072000026702881,p99:2.8253333568573},{id:"50000535",name:"Nive Ã
, Jellebro",owner:"Miljøstyrelsen",x:717684.2005,y:6203882.3179,p01:.6768333315849304,p99:1.756799983978272},{id:"51000679",name:"Svinninge Ã
, Marke Bro",owner:"Miljøstyrelsen",x:655009.0011,y:6175242.9971,p01:1.4850000143051147,p99:2.677999973297119},{id:"52000079",name:"Nybølle Ã
, Nybøllevad Bro",owner:"Miljøstyrelsen",x:705055.363,y:6178008.1769,p01:9.544000625610352,p99:10.136667251586914},{id:"52000151",name:"Havelse Ã
, Strø Bro",owner:"Miljøstyrelsen",x:697023.3147,y:6199414.3539,p01:4.522000312805176,p99:5.562628140449523},{id:"52000247",name:"Værebro Ã
, Veksø Bro",owner:"Miljøstyrelsen",x:702524.9952,y:6181967.5348,p01:1.2707499265670776,p99:2.1991834402084347},{id:"55000489",name:"Ã
mose Ã
, Ugerløse Broe",owner:"Miljøstyrelsen",x:666601.4296,y:6160988.8864,p01:25.193166732788086,p99:26.81384485244751},{id:"55000490",name:"Ã
mose Ã
, Bromølle",owner:"Miljøstyrelsen",x:650245.087,y:6165618.7958,p01:20.08283233642578,p99:21.690065250396728},{id:"56000291",name:"TudeÃ¥, ValbygÃ¥rd",owner:"Miljøstyrelsen",x:645082.126,y:6144604.0702,p01:2.15716814994812,p99:3.8288283419609077},{id:"57001286",name:"SusÃ¥, S.F.Holløse Bro",owner:"Miljøstyrelsen",x:670749.4523,y:6131463.2744,p01:4.2170000076293945,p99:6.200273208618164},{id:"58000208",name:"Køge Ã
, V. Lellinge Dambrug",owner:"Miljøstyrelsen",x:696075.9356,y:6151374.0443,p01:7.797183465957642,p99:8.63431692123413},{id:"59000235",name:"Tryggevælde Ã
, V. Ll. Linde",owner:"Miljøstyrelsen",x:703222.812,y:6136662.2973,p01:6.85099983215332,p99:7.829483509063721},{id:"61000456",name:"Tingsted Ã
, Tingsted",owner:"Miljøstyrelsen",x:686706.95,y:6077773.4812,p01:3.440333366394043,p99:4.437490005493165},{id:"64000249",name:"Nældevads Ã
, Strædeskov (32L)",owner:"Miljøstyrelsen",x:658689.6142,y:6078325.1958,p01:.4570000171661377,p99:1.755650025606157},{id:"66000013",name:"Bagge Ã
, Ved MÃ¥lestation 650 M Os Havet",owner:"Miljøstyrelsen",x:863833.5068,y:6126693.894,p01:1.4863333702087402,p99:2.0167816424369818},{id:"70000778",name:"Grejs Ã¥, Grejsdalens Planteskole",owner:"Vejlr Kommune",x:532824,y:6179209,p01:27.591001510620117,p99:28.21635353088379}],"do",0,a,"e3",0,[{key:"2991540",text:"Aasiaat",lat:"-140.6",gid:"3424901"},{key:"2991490",text:"Attup Uummannaa",lat:"-146.9",gid:""},{key:"2992800",text:"Danmarkshavn",lat:"-92.6",gid:"6295693"},{key:"2992710",text:"Finsch Ãer",lat:"-94.0",gid:""},{key:"2993020",text:"Foulke Havn",lat:"-200.8",gid:"3831430"},{key:"2991550",text:"Ilulissat",lat:"-142.1",gid:"3423146"},{key:"2991310",text:"Kangerluarsoruseq",lat:"-191.5",gid:"3422635"},{key:"2991177",text:"Kangilinnguit",lat:"-167.7",gid:"3423634"},{key:"2991640",text:"Maarmorilik",lat:"-99.5",gid:""},{key:"2992730",text:"Mestersvig",lat:"-90.8",gid:"8354502"},{key:"2991120",text:"Nanortalik",lat:"-156.6",gid:"3421765"},{key:"2991150",text:"Narsaq",lat:"-166.6",gid:"3421719"},{key:"2991320",text:"Nuuk",lat:"-253.3",gid:"3421319"},{key:"2991230",text:"Paamiut",lat:"-166.3",gid:"3421193"}
2,{key:"2993220",text:"Pituffik",lat:"-160.5",gid:"3831224"},{key:"2991140",text:"Qaqortoq",lat:"-162.8",gid:"3420846"},{key:"2993024",text:"Rensselaer Bugt",lat:"-188.2",gid:""},{key:"2991460",text:"Sisimiut",lat:"-215.2",gid:"3419842"},{key:"2993030",text:"Thank God Havn",lat:"-105.8",gid:""},{key:"2992610",text:"Ujuaagajiip Nunaa",lat:"-73.6",gid:""},{key:"2991610",text:"Uummannaq",lat:"-109.2",gid:"3426193"},{key:"2992601",text:"Uunartoq",lat:"-65.2",gid:"3418835"},{key:"2992700",text:"Zackenberg",lat:"-95.0",gid:"3418684"}],"g4",0,[{key:"06011",text:"Tórshavn"},{key:"06010",text:"Vaga Floghavn"}],"kc",0,s,"mx",0,o,"rE",0,"https://wmts.datafordeler.dk/DKskaermkort/topo_skaermkort_graa/1.0.0/wmts?apikey=1QivyV07iELcg2qm0Sa9SLjX0pMbqjyPPLYkoehX7AnwwF3qxR1EO2Crikk8uI2tv19NVHICzYQJ9a08lvCryjagjyTgDepAk","uX",0,[{key:"1",text:"Hele landet"},{key:"0165",text:"Albertslund"},{key:"0201",text:"Allerød"},{key:"0420",text:"Assens"},{key:"0151",text:"Ballerup"},{key:"0530",text:"Billund"},{key:"0400",text:"Bornholm"},{key:"0153",text:"Brøndby"},{key:"0810",text:"Brønderslev"},{key:"0155",text:"Dragør"},{key:"0240",text:"Egedal"},{key:"0561",text:"Esbjerg"},{key:"0563",text:"Fanø"},{key:"0710",text:"Favrskov"},{key:"0320",text:"Faxe"},{key:"0210",text:"Fredensborg"},{key:"0607",text:"Fredericia"},{key:"0147",text:"Frederiksberg"},{key:"0813",text:"Frederikshavn"},{key:"0250",text:"Frederikssund"},{key:"0190",text:"Furesø"},{key:"0430",text:"Faaborg-Midtfyn"},{key:"0157",text:"Gentofte"},{key:"0159",text:"Gladsaxe"},{key:"0161",text:"Glostrup"},{key:"0253",text:"Greve"},{key:"0270",text:"Gribskov"},{key:"0376",text:"Guldborgsund"},{key:"0510",text:"Haderslev"},{key:"0260",text:"Halsnæs"},{key:"0766",text:"Hedensted"},{key:"0217",text:"Helsingør"},{key:"0163",text:"Herlev"},{key:"0657",text:"Herning"},{key:"0219",text:"Hillerød"},{key:"0860",text:"Hjørring"},{key:"0316",text:"Holbæk"},{key:"0661",text:"Holstebro"},{key:"0615",text:"Horsens"},{key:"0167",text:"Hvidovre"},{key:"0169",text:"Høje-Taastrup"},{key:"0223",text:"Hørsholm"},{key:"0756",text:"Ikast-Brande"},{key:"0183",text:"Ishøj"},{key:"0849",text:"Jammerbugt"},{key:"0326",text:"Kalundborg"},{key:"0440",text:"Kerteminde"},{key:"0621",text:"Kolding"},{key:"0101",text:"København"},{key:"0259",text:"Køge"},{key:"0482",text:"Langeland"},{key:"0350",text:"Lejre"},{key:"0665",text:"Lemvig"},{key:"0360",text:"Lolland"},{key:"0173",text:"Lyngby-Taarbæk"},{key:"0825",text:"Læsø"},{key:"0846",text:"Mariagerfjord"},{key:"0410",text:"Middelfart"},{key:"0773",text:"Morsø"},{key:"0707",text:"Norddjurs"},{key:"0480",text:"Nordfyns"},{key:"0450",text:"Nyborg"},{key:"0370",text:"Næstved"},{key:"0727",text:"Odder"},{key:"0461",text:"Odense"},{key:"0306",text:"Odsherred"},{key:"0730",text:"Randers"},{key:"0840",text:"Rebild"},{key:"0760",text:"Ringkøbing-Skjern"},{key:"0329",text:"Ringsted"},{key:"0265",text:"Roskilde"},{key:"0230",text:"Rudersdal"},{key:"0175",text:"Rødovre"},{key:"0741",text:"Samsø"},{key:"0740",text:"Silkeborg"},{key:"0746",text:"Skanderborg"},{key:"0779",text:"Skive"},{key:"0330",text:"Slagelse"},{key:"0269",text:"Solrød"},{key:"0340",text:"Sorø"},{key:"0336",text:"Stevns"},{key:"0671",text:"Struer"},{key:"0479",text:"Svendborg"},{key:"0706",text:"Syddjurs"},{key:"0540",text:"Sønderborg"},{key:"0787",text:"Thisted"},{key:"0550",text:"Tønder"},{key:"0185",text:"TÃ¥rnby"},{key:"0187",text:"Vallensbæk"},{key:"0573",text:"Varde"},{key:"0575",text:"Vejen"},{key:"0630",text:"Vejle"},{key:"0820",text:"Vesthimmerland"},{key:"0791",text:"Viborg"},{key:"0390",text:"Vordingborg"},{key:"0492",text:"Ãrø"},{key:"0580",text:"Aabenraa"},{key:"0851",text:"Aalborg"},{key:"0751",text:"Aarhus"}],"vc",0,["2618425","2624652","3421319","2611396","2615876"]])},12715(e,t,r){"use strict";var n=r(79882),i=r(67466),o=r(34372),s=r(17860),a=r(28164),l=r(6045),c=r(41484),u=r(87297);const{dmiBlue25:d}=u.A,h=(new Date).getMonth()<4||(new Date).getMonth()>8,f=[{value:"20",color:"rgb(128,0,0)"},{value:"18",color:"rgb(204,31,31)"},{value:"15",color:"rgb(230,57,57)"},{value:"12",color:"rgb(255,82,82)"},{value:"10",color:"rgb(255,124,124)"},{value:"8",color:"rgb(255,181,181)"},{value:"6",color:"rgb(255,142,82)"},{value:"5",color:"rgb(255,178,0)"},{value:"4",color:"rgb(255,217,0)"},{value:"3",color:"rgb(0,143,233)"},{value:"2",color:"rgb(61,171,238)"},{value:"1",color:"rgb(109,191,242)"},{value:"0,5",color:"rgb(22,225,204)"},{value:"0,2",color:"rgb(125,238,226)"},{value:"0,1",color:"rgb(158,242,233)"},{value:"",color:"rgb(220,250,247)"}],g=[{value:"Kraftig",color:"rgb(92,0,51)"},{value:"",color:"rgb(128,0,0)"},{value:"",color:"rgb(204,31,31)"},{value:"",color:"rgb(230,57,57)"},{value:"",color:"rgb(255,82,82)"},{value:"",color:"rgb(255,124,124)"},{value:"",color:"rgb(255,181,181)"},{value:"",color:"rgb(255,142,82)"},{value:"Moderat",color:"rgb(255,178,0)"},{value:"",color:"rgb(255,217,0)"},{value:"",color:"rgb(0,143,233)"},{value:"",color:"rgb(61,171,238)"},{value:"",color:"rgb(109,191,242)"},{value:"",color:"rgb(22,225,204)"},{value:"",color:"rgb(125,238,226)"},{value:"Let",color:"rgb(158,242,233)"}],p=[{value:"sne",color:"rgb(155,155,155)"},{value:"",color:"rgb(128,0,0)"},{value:"",color:"rgb(204,31,31)"},{value:"",color:"rgb(255,82,82)"},{value:"slud",color:"rgb(155,155,155)"},{value:"",color:"rgb(205,125,28)"},{value:"",color:"rgb(255,157,36)"},{value:"",color:"rgb(255,217,0)"},{value:"regn",color:"rgb(155,155,155)"},{value:"",color:"rgb(71,96,160)"},{value:"",color:"rgb(0,142,233)"},{value:"",color:"rgb(109,192,242)"}],m=[{value:"50",color:"rgb(92,0,51)"},{value:"32",color:"rgb(128,0,0)"},{value:"28",color:"rgb(204,31,31)"},{value:"26",color:"rgb(230,57,57)"},{value:"24",color:"rgb(255,82,82)"},{value:"22",color:"rgb(255,142,82)"},{value:"20",color:"rgb(255,178,0)"},{value:"18",color:"rgb(255,217,0)"},{value:"16",color:"rgb(255,236,127)"},{value:"14",color:"rgb(255,245,191)"},{value:"12",color:"rgb(0,143,233)"},{value:"10",color:"rgb(61,171,238)"},{value:"8",color:"rgb(109,191,242)"},{value:"6",color:"rgb(22,225,204)"},{value:"4",color:"rgb(125,238,226)"},{value:"2",color:"rgb(158,242,233)"},{value:"",color:"rgb(220,250,247)"}],y=[{value:"5,0",color:"rgb(92,0,51)"},{value:"4,8",color:"rgb(128,0,0)"},{value:"4,0",color:"rgb(204,31,31)"},{value:"3,5",color:"rgb(230,57,57)"},{value:"3,0",color:"rgb(255,82,82)"},{value:"2,5",color:"rgb(255,124,124)"},{value:"2,0",color:"rgb(255,181,181)"},{value:"1,5",color:"rgb(255,142,82)"},{value:"1,2",color:"rgb(255,178,0)"},{value:"1,0",color:"rgb(255,217,0)"},{value:"0,8",color:"rgb(0,143,233)"},{value:"0,6",color:"rgb(61,171,238)"},{value:"0,4",color:"rgb(109,191,242)"},{value:"0,3",color:"rgb(22,225,204)"},{value:"0,2",color:"rgb(125,238,226)"},{value:"0,1",color:"rgb(158,242,233)"},{value:"",color:"rgb(220,250,247)"}],v=[{value:"20",color:"rgb(92,0,51)"},{value:"12",color:"rgb(128,0,0)"},{value:"10",color:"rgb(204,31,31)"},{value:"8",color:"rgb(230,57,57)"},{value:"6",color:"rgb(255,82,82)"},{value:"5",color:"rgb(255,124,124)"},{value:"4,0",color:"rgb(255,181,181)"},{value:"3,5",color:"rgb(255,142,82)"},{value:"3,0",color:"rgb(255,178,0)"},{value:"2,4",color:"rgb(255,217,0)"},{value:"1,9",color:"rgb(0,143,233)"},{value:"1,4",color:"rgb(61,171,238)"},{value:"1,0",color:"rgb(109,191,242)"},{value:"0,7",color:"rgb(22,225,204)"},{value:"0,5",color:"rgb(125,238,226)"},{value:"0,2",color:"rgb(158,242,233)"},{value:"",color:"rgb(220,250,247)"}],x=[{value:"480",color:"rgb(92,0,51)"},{value:"420",color:"rgb(128,0,0)"},{value:"360",color:"rgb(204,31,31)"},{value:"300",color:"rgb(230,57,57)"},{value:"240",color:"rgb(255,82,82)"},{value:"180",color:"rgb(255,124,124)"},{value:"150",color:"rgb(255,157,157)"},{value:"120",color:"rgb(255,181,181)"},{value:"90",color:"rgb(255,142,82)"},{value:"60",color:"rgb(255,178,0)"},{value:"30",color:"rgb(255,217,0)"},{value:"0",color:"rgb(255,236,127)"},{value:"-30",color:"rgb(158,242,233)"},{value:"-60",color:"rgb(125,238,226)"},{value:"-90",color:"rgb(22,225,204)"},{value:"-120",color:"rgb(109,191,242)"},{value:"-180",color:"rgb(61,171,238)"},{value:"-200",color:"rgb(0,143,233)"},{value:"",color:"rgb(71,96,160)"}],_=[{value:"30",color:"rgb(92,0,51)"},{value:"28",color:"rgb(128,0,0)"},{value:"26",color:"rgb(204,31,31)"},{value:"24",color:"rgb(230,57,57)"},{value:"22",color:"rgb(255,82,82)"},{value:"20",color:"rgb(255,124,124)"},{value:"18",color:"rgb(255,181,181)"},{value:"16",color:"rgb(255,142,82)"},{value:"14",color:"rgb(255,178,0)"},{value:"12",color:"rgb(255,217,0)"},{value:"10",color:"rgb(0,143,233)"},{value:"8",color:"rgb(61,171,238)"},{value:"6",color:"rgb(109,191,242)"},{value:"4",color:"rgb(22,225,204)"},{value:"2",color:"rgb(125,238,226)"},{value:"0",color:"rgb(158,242,233)"},{value:"",color:"rgb(225,237,240)"}],b=[{value:"29,5",color:"rgb(141,27,61)"},{value:"18,5",color:"rgb(200,16,46)"},{value:"10,5",color:"rgb(245,130,30)"},{value:"4,5",color:"rgb(249,180,120)"},{value:"0,1",color:"rgb(155,178,150)"},{value:"",color:"rgb(241,241,241)"}];
2var S,w=[-5e6,-75e5,55e5,3e6],k=(0,l.RG)(w)/1024,A=new Array(16);for(S=0;S<16;++S)A[S]=k/Math.pow(2,S);function M(e){return(t,r)=>{const o=(0,c.xE)(t);return new n.A({source:new i.A({url:"/ZoombareKort/map",params:{TIME:o,REFERENCE_TIME:r,LAYERS:e,FORMAT:"image/png",SERVICE:"WMS",VERSION:"1.1.1",TRANSPARENT:!0},transition:0,tileGrid:E})})}}function C(){return()=>new o.A({rendererMode:"vector",source:new s.A({features:[]})})}var E=new a.A({origin:(0,l.Py)(w),resolutions:A,tileSize:512});const R=[{key:"Radar og lyn",id:"radar",extendLayerId:"nowcast_radar",category:"Vejret nu",label:"",legend:g,timeslider:{futureMinutes:90,pastMinutes:100,includeNow:!1,stepSizeMinutes:5},load:M("radar")},{key:"Radar med nedbørtype",id:"prectype",label:"",legend:p,timeslider:{futureMinutes:0,pastMinutes:100,includeNow:!1,stepSizeMinutes:5},load:M("prectype")},{key:"Satellit",id:"sattest",label:"",legend:[],timeslider:{futureMinutes:0,pastMinutes:1440,includeNow:!1,stepSizeMinutes:10},load:M("sattest")},{key:"Satellit nat",id:"cloud_top",label:"",legend:[],timeslider:{futureMinutes:0,pastMinutes:1440,includeNow:!1,stepSizeMinutes:15},load:M("cloud_top")},{key:h?"Glatføre":"",id:"glatfore",label:h?"Risiko for glatte veje":"",legend:[{value:"",color:d}],timeslider:{futureMinutes:1440,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M(h?"glatfore":null)},{key:"Vejr",id:"vejr",separator:" ",category:"Vejret næste 48 timer",label:"",legend:[],timeslider:{futureMinutes:2520,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:C()},{key:"Lufttryk og nedbør",id:"precip_eu",label:"mm/time",legend:f,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("precip_eu")},{key:"Skydække",id:"cloud_eu",label:"",legend:[],timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("cloud_eu")},{key:"Vind",id:"wind_eu",label:"m/s",legend:m,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("wind_eu")},{key:"Vindstød",id:"windgust_eu",label:"m/s",legend:m,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("windgust_eu")},{key:"Temperatur",id:"temp_eu",label:"°C",legend:[{value:"33",color:"rgb(92,0,51)"},{value:"30",color:"rgb(128,0,0)"},{value:"27",color:"rgb(204,31,31)"},{value:"24",color:"rgb(230,57,57)"},{value:"21",color:"rgb(255,82,82)"},{value:"18",color:"rgb(255,124,124)"},{value:"15",color:"rgb(255,157,157)"},{value:"12",color:"rgb(255,181,181)"},{value:"9",color:"rgb(255,142,82)"},{value:"6",color:"rgb(255,178,0)"},{value:"3",color:"rgb(255,217,0)"},{value:"0",color:"rgb(255,236,127)"},{value:"-4",color:"rgb(158,242,233)"},{value:"-8",color:"rgb(125,238,226)"},{value:"-12",color:"rgb(22,225,204)"},{value:"-16",color:"rgb(109,191,242)"},{value:"-20",color:"rgb(61,171,238)"},{value:"-24",color:"rgb(0,143,233)"},{value:"",color:"rgb(71,96,160)"}],timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("temp_eu")},{key:"Vandstand",id:"sealevel_eu",label:"cm",legend:x,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("sealevel_eu")},{key:"Havtemperatur",id:"seatemp_eu",label:"°C",legend:_,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("seatemp_eu")},{key:"Strøm",id:"current_eu",label:"knob",legend:y,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("current_eu")},{key:"Bølger",id:"wave_eu",label:"meter",legend:v,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("wave_eu")}],T=[{key:"Vejr",id:"vejr",label:"",legend:[],timeslider:{futureMinutes:2520,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:C()},{key:"Lufttryk og nedbør",id:"precip_gl",label:"hPa og mm/time",legend:f,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("precip_gl")},{key:"Vind",id:"wind_gl",label:"m/s",legend:m,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("wind_gl")},{key:"Vind - høj opløsning",id:"wind_nuuk_tas_sgl",label:"m/s",legend:m,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("wind_nuuk_tas_sgl")},{key:"Vindstød",id:"windgust_gl",label:"m/s",legend:m,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("windgust_gl")},{key:"Bølger",id:"wave_gl",label:"meter",legend:v,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("wave_gl")},{key:"Iskoncentration",id:"seaice",label:"dele is ift. vand",legend:[{value:"9+/10",color:"#969696"},{value:"8/10",color:"#FF0000"},{value:"6/10",color:"#FF7D07"},{value:"3/10",color:"#FFFF00"},{value:"1/10",color:"#8CFFA0"},{value:"",color:"#96C8FF"}],timeslider:{futureMinutes:60,pastMinutes:2880,includeNow:!1,stepSizeMinutes:60},load:(I="iskort:seaice",(e,t)=>{const r=(0,c.xE)(e);return new n.A({source:new i.A({url:"/geoserver/iskort/wms",params:{TIME:r,REFERENCE_TIME:t,LAYERS:I,FORMAT:"image/png",SERVICE:"WMS",VERSION:"1.1.1",TRANSPARENT:!0},transition:0,tileGrid:E})})})}];var I;const P=[{key:"Vejr",id:"vejr",label:"",legend:[],timeslider:{futureMinutes:2520,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:C()},{key:"Lufttryk og nedbør",id:"precip_eu",label:"hPa og mm/time",legend:f,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("precip_eu")},{key:"Vind",id:"wind_eu",label:"m/s",legend:m,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("wind_eu")}],j=[{key:"Vejr",id:"vejr",label:"",legend:[],timeslider:{futureMinutes:2520,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:C()}],O=[{key:"Vejr",id:"vejr",label:"",legend:[],timeslider:{futureMinutes:2520,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:C()},{key:"Radar og lyn",id:"radar",extendLayerId:"nowcast_radar",label:"",legend:g,timeslider:{futureMinutes:90,pastMinutes:100,includeNow:!1,stepSizeMinutes:5},load:M("radar")},{key:"Radar med nedbørtype",id:"prectype",label:"",legend:p,timeslider:{futureMinutes:0,pastMinutes:100,includeNow:!1,stepSizeMinutes:5},load:M("prectype")},{key:"Lufttryk og nedbør",id:"precip_eu",label:"hPa og mm/time",legend:f,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("precip_eu")},{key:"Vind",id:"wind_eu",label:"m/s",legend:m,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("wind_eu")},{key:"Vandstand",id:"sealevel_eu",label:"cm",legend:x,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("sealevel_eu")},{key:"Havtemperatur",id:"seatemp_eu",label:"°C",legend:_,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("seatemp_eu")},{key:"Strøm",id:"current_eu",label:"knob",legend:y,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("current_eu")},{key:"Bølger",id:"wave_eu",label:"meter",legend:v,timeslider:{futureMinutes:2940,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:M("wave_eu")},{key:"Satellit",id:"sattest",label:"",legend:[],timeslider:{futureMinutes:0,pastMinutes:1440,includeNow:!1,stepSizeMinutes:15},load:M("sattest")}],L=[{key:"MTG",id:"sattest",label:"",legend:[],timeslider:{futureMinutes:0,pastMinutes:1440,includeNow:!1,stepSizeMinutes:10},load:M("sattest")},{key:"MSG Visuel",id:"msg_hrv",label:"",legend:[],timeslider:{futureMinutes:0,pastMinutes:1440,includeNow:!1,stepSizeMinutes:15},load:M("msg_hrv")},{key:"MSG Infrarød",id:"msg_ir",label:"",legend:[],timeslider:{futureMinutes:0,pastMinutes:1440,includeNow:!1,stepSizeMinutes:15},load:M("msg_ir")},{key:"MSG Nat",id:"cloud_top",label:"",legend:[],timeslider:{futureMinutes:0,pastMinutes:1440,includeNow:!1,stepSizeMinutes:15},load:M("cloud_top")}],D=[{key:"Dag for dag",id:"brandfare",extendLayerId:"",label:"",legend:b,timeslider:{futureMinutes:2340,pastMinutes:2880,includeNow:!1,stepSizeMinutes:60},load:M("brandfare")}],F=[{key:"Højeste indeks",id:"brandfare_max",extendLayerId:"",label:"5 dage frem",legend:b,timeslider:{futureMinutes:7200,pastMinutes:2880,includeNow:!1,stepSizeMinutes:60},load:M("brandfare_max")},{key:"Dag for dag",id:"brandfare",extendLayerId:"",label:"",legend:b,timeslider:{futureMinutes:7200,pastMinutes:2880,includeNow:!1,stepSizeMinutes:60},load:M("brandfare")}],N=[{key:"Brandfareindeks (FWI)",id:"brandfare_num",extendLayerId:"",label:"",legend:b,timeslider:{futureMinutes:12960,pastMinutes:2880,includeNow:!1,stepSizeMinutes:60},load:M("brandfare_num")},{key:"Tørhed i vegetation (FFMC)",id:"brandfare_ffmc",extendLayerId:"",label:"",legend:[{value:"92",color:"rgb(141,27,61)"},{value:"89",color:"rgb(200,16,46)"},{value:"85",color:"rgb(245,130,30)"},{value:"77",color:"rgb(249,180,120)"},{value:"0,1",color:"rgb(155,178,150)"},{value:"",color:"rgb(241,241,241)"}],timeslider:{futureMinutes:12960,pastMinutes:2880,includeNow:!1,stepSizeMinutes:60},load:M("brandfare_ffmc")}
2,{key:"Tørhed i øverste jordlag (DMC)",id:"brandfare_dmc",extendLayerId:"",label:"",legend:[{value:"60",color:"rgb(141,27,61)"},{value:"41",color:"rgb(200,16,46)"},{value:"28",color:"rgb(245,130,30)"},{value:"22",color:"rgb(249,180,120)"},{value:"0,1",color:"rgb(155,178,150)"},{value:"",color:"rgb(241,241,241)"}],timeslider:{futureMinutes:12960,pastMinutes:2880,includeNow:!1,stepSizeMinutes:60},load:M("brandfare_dmc")},{key:"Tørhed i dybere jordlag (DC)",id:"brandfare_dc",extendLayerId:"",label:"",legend:[{value:"425",color:"rgb(141,27,61)"},{value:"300",color:"rgb(200,16,46)"},{value:"190",color:"rgb(245,130,30)"},{value:"80",color:"rgb(249,180,120)"},{value:"0,1",color:"rgb(155,178,150)"},{value:"",color:"rgb(241,241,241)"}],timeslider:{futureMinutes:12960,pastMinutes:2880,includeNow:!1,stepSizeMinutes:60},load:M("brandfare_dc")},{key:"Mængde af brændbare materialer (BUI)",id:"brandfare_bui",extendLayerId:"",label:"",legend:[{value:"90",color:"rgb(141,27,61)"},{value:"61",color:"rgb(200,16,46)"},{value:"41",color:"rgb(245,130,30)"},{value:"25",color:"rgb(249,180,120)"},{value:"0,1",color:"rgb(155,178,150)"},{value:"",color:"rgb(241,241,241)"}],timeslider:{futureMinutes:12960,pastMinutes:2880,includeNow:!1,stepSizeMinutes:60},load:M("brandfare_bui")},{key:"Brandspredningsindeks (ISI)",id:"brandfare_isi",extendLayerId:"",label:"",legend:[{value:"16.0",color:"rgb(141,27,61)"},{value:"9.0",color:"rgb(200,16,46)"},{value:"5.0",color:"rgb(245,130,30)"},{value:"2.0",color:"rgb(249,180,120)"},{value:"0,1",color:"rgb(155,178,150)"},{value:"",color:"rgb(241,241,241)"}],timeslider:{futureMinutes:12960,pastMinutes:2880,includeNow:!1,stepSizeMinutes:60},load:M("brandfare_isi")},{key:"Vind (m/s)",id:"brandfare_wind",extendLayerId:"",label:"",legend:[{value:"37",color:"rgb(131,0,96)"},{value:"33",color:"rgb(102,0,51)"},{value:"28",color:"rgb(204,0,51)"},{value:"24",color:"rgb(255,0,0)"},{value:"21",color:"rgb(255,102,0)"},{value:"17",color:"rgb(255,204,0)"},{value:"14",color:"rgb(255,255,51)"},{value:"11",color:"rgb(0,255,0)"},{value:"8",color:"rgb(0,255,255)"},{value:"5",color:"rgb(102,204,255)"},{value:"3",color:"rgb(228,233,242)"},{value:"",color:"rgb(241,241,241)"}],timeslider:{futureMinutes:12960,pastMinutes:2880,includeNow:!1,stepSizeMinutes:60},load:M("brandfare_wind")}],$=[{key:"Temperatur",id:"obs_temp",label:"°C",legend:[],timeslider:{futureMinutes:0,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:C()},{key:"Luftfugtighed",id:"obs_humidity",label:"%",legend:[],timeslider:{futureMinutes:0,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:C()},{key:"Lufttryk",id:"obs_pressure",label:"hPa",legend:[],timeslider:{futureMinutes:0,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:C()},{key:"Vind",id:"obs_wind",label:"m/s",legend:[],timeslider:{futureMinutes:0,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:C()},{key:"Vindstød",id:"obs_gust",label:"m/s",legend:[],timeslider:{futureMinutes:0,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:C()},{key:"Nedbør",id:"obs_precip",label:"mm på 10 minutter",legend:[],timeslider:{futureMinutes:0,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:C()},{key:"Vandløb",id:"obs_hydrologi",label:"cm",legend:[],timeslider:{futureMinutes:0,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:C()},{key:"Vandstand",id:"obs_sealevel",label:"cm",legend:[],timeslider:{futureMinutes:0,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:C()},{key:"Vandtemperatur",id:"obs_seatemp",label:"°C",legend:[],timeslider:{futureMinutes:0,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:C()},{key:"Badevandstemperatur",id:"obs_water_temp",label:"°C",legend:[],timeslider:{futureMinutes:0,pastMinutes:60,includeNow:!1,stepSizeMinutes:60},load:C()}];r.d(t,["A4",0,L,"Az",0,O,"BG",0,T,"Cf",0,j,"L7",0,N,"LH",0,F,"Rt",0,$,"UN",0,[{key:"DK",text:"Danmark"},{key:"GL",text:"Grønland"},{key:"FO",text:"Færøerne"}],"dr",0,D,"rx",0,P,"xh",0,R])},41484(e,t,r){"use strict";r.d(t,{ZH:()=>M,rr:()=>p,cd:()=>m,I6:()=>g,jJ:()=>f,bU:()=>y,WI:()=>S,vU:()=>v,mq:()=>_,cH:()=>b,L5:()=>C,eV:()=>w,vP:()=>h,cN:()=>A,xE:()=>k});var n=r(83865);const i=r.p+"5afbbc0158ff381425b9.svg",o=r.p+"727000f6fdbb33b058c9.svg",s=r.p+"55c3ccc78b6ecafb0052.svg",a=r.p+"9c862685228bd663c716.svg",l=r.p+"acc48961945bfbbf2658.svg",c=r.p+"ec3e08cd50eab5b3af38.svg",u=r.p+"d8ec8fa5e449bc6dd435.svg",d=r.p+"e39b0024bb1e26defff9.svg",h=(e,t)=>Array.prototype.slice.call(e.querySelectorAll(t)),f=(e,t)=>{for(var r=0;r<e.length;r++)t(e[r],r)},g=(e,t)=>{for(var r=0;r<e.length;r++)if(!0===t(e[r],r))return e[r]},p=(e,t)=>{var r=t*t,n=1.8*e+32,i=n*n;let o=2.04901523*n-42.379+10.14333127*t-.22475541*n*t-.00683783*i-.05481717*r+.00122874*i*t+85282e-8*n*r-199e-8*i*r;return o=5/9*(o-32),null==t?-273:t>40?Math.round(o):Math.round(e)},m=(e,t)=>
2{var r,n=Math.pow(3.6*t,.16);return t>=1.3?(r=13.12+.6215*e-11.37*n+.3965*e*n,Math.round(Math.min(r,e))):Math.round(e)},y=e=>{if(!e)return"N/A";var t=new Date(e),r=t.getFullYear(),i=n.On[t.getMonth()];return t.getDate()+" "+i+" "+r},v=e=>{switch(Math.round(8*e/360)%8){case 0:return"direction-north";case 1:return"direction-north-east";case 2:return"direction-east";case 3:return"direction-south-east";case 4:return"direction-south";case 5:return"direction-south-west";case 6:return"direction-west";case 7:return"direction-north-west"}},x={"direction-north":i,"direction-north-east":o,"direction-east":s,"direction-south-east":a,"direction-south":l,"direction-south-west":c,"direction-west":u,"direction-north-west":d},_=e=>x[v(e)],b=e=>{const t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)},S=e=>{if(null===e)return;let t="";t=e<0?"Dagen er aftaget med ":"Dagen er tiltaget med ";let r=t,n=Math.floor(Math.abs(e)/3600),i=Math.round(Math.abs(e)%3600/60);return 0===n&&0===i?`${t} ${Math.abs(e)} sek.`:(i>59.5&&(i=0,n+=1),n>=1&&(r+=`${n} t.`),n>=1&&i>0&&(r+=` og ${i} min.`),n<1&&i>0&&(r+=`${i} min.`),r)};function w(e){return e<10?"0"+e:e}const k=e=>{var t=new Date(e);return t.getUTCFullYear()+"-"+w(t.getUTCMonth()+1)+"-"+w(t.getUTCDate())+"T"+w(t.getUTCHours())+":"+w(t.getUTCMinutes())+":"+w(t.getUTCSeconds())+"Z"},A=e=>new Date(e).valueOf(),M=e=>"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1),C=({id:e,country:t,location:r})=>e>=100?`/lokation/show/${t}/${e}/${r.replaceAll(" ","_")}`:`/farvand/show/${t}/${e}/${r.replaceAll(" ","_")}`},74353(e){e.exports=function(){"use strict";var e=1e3,t=6e4,r=36e5,n="millisecond",i="second",o="minute",s="hour",a="day",l="week",c="month",u="quarter",d="year",h="date",f="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},y=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},v={s:y,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+y(n,2,"0")+":"+y(i,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,c),o=r-i<0,s=t.clone().add(n+(o?-1:1),c);return+(-(n+(r-i)/(o?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:d,w:l,d:a,D:h,h:s,m:o,s:i,ms:n,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},x="en",_={};_[x]=m;var b="$isDayjsObject",S=function(e){return e instanceof M||!(!e||!e[b])},w=function e(t,r,n){var i;if(!t)return x;if("string"==typeof t){var o=t.toLowerCase();_[o]&&(i=o),r&&(_[o]=r,i=o);var s=t.split("-");if(!i&&s.length>1)return e(s[0])}else{var a=t.name;_[a]=t,i=a}return!n&&i&&(x=i),i||!n&&x},k=function(e,t){if(S(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new M(r)},A=v;A.l=w,A.i=S,A.w=function(e,t){return k(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var M=function(){function m(e){this.$L=w(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[b]=!0}var y=m.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(A.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(g);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(t)}(e),this.init()},y.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()},y.$utils=function(){return A},y.isValid=function(){return!(this.$d.toString()===f)},y.isSame=function(e,t){var r=k(e);return this.startOf(t)<=r&&r<=this.endOf(t)},y.isAfter=function(e,t){return k(e)<this.startOf(t)},y.isBefore=function(e,t){return this.endOf(t)<k(e)},y.$g=function(e,t,r){return A.u(e)?this[t]:this.set(r,e)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(e,t){var r=this,n=!!A.u(t)||t,u=A.p(e),f=function(e,t){var i=A.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return n?i:i.endOf(a)},g=function(e,t){return A.w(r.toDate()[e].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},p=this.$W,m=this.$M,y=this.$D,v="set"+(this.$u?"UTC":"");switch(u){case d:return n?f(1,0):f(31,11);case c:return n?f(1,m):f(0,m+1);case l:var x=this.$locale().weekStart||0,_=(p<x?p+7:p)-x;return f(n?y-_:y+(6-_),m);case a:case h:return g(v+"Hours",0);case s:return g(v+"Minutes",1);case o:return g(v+"Seconds",2);case i:return g(v+"Milliseconds",3);default:return this.clone()}},y.endOf=function(e){return this.startOf(e,!1)},y.$set=function(e,t){var r,l=A.p(e),u="set"+(this.$u?"UTC":""),f=(r={},r[a]=u+"Date",r[h]=u+"Date",r[c]=u+"Month",r[d]=u+"FullYear",r[s]=u+"Hours",r[o]=u+"Minutes",r[i]=u+"Seconds",r[n]=u+"Milliseconds",r)[l],g=l===a?this.$D+(t-this.$W):t;if(l===c||l===d){var p=this.clone().set(h,1);p.$d[f](g),p.init(),this.$d=p.set(h,Math.min(this.$D,p.daysInMonth())).$d}else f&&this.$d[f](g);return this.init(),this},y.set=function(e,t){return this.clone().$set(e,t)},y.get=function(e){return this[A.p(e)]()},y.add=function(n,u){var h,f=this;n=Number(n);var g=A.p(u),p=function(e){var t=k(f);return A.w(t.date(t.date()+Math.round(e*n)),f)};if(g===c)return this.set(c,this.$M+n);if(g===d)return this.set(d,this.$y+n);if(g===a)return p(1);if(g===l)return p(7);var m=(h={},h[o]=t,h[s]=r,h[i]=e,h)[g]||1,y=this.$d.getTime()+n*m;return A.w(y,this)},y.subtract=function(e,t){return this.add(-1*e,t)},y.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||f;var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=A.z(this),o=this.$H,s=this.$m,a=this.$M,l=r.weekdays,c=r.months,u=r.meridiem,d=function(e,r,i,o){return e&&(e[r]||e(t,n))||i[r].slice(0,o)}
2,h=function(e){return A.s(o%12||12,e,"0")},g=u||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(p,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return A.s(t.$y,4,"0");case"M":return a+1;case"MM":return A.s(a+1,2,"0");case"MMM":return d(r.monthsShort,a,c,3);case"MMMM":return d(c,a);case"D":return t.$D;case"DD":return A.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(r.weekdaysMin,t.$W,l,2);case"ddd":return d(r.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(o);case"HH":return A.s(o,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return g(o,s,!0);case"A":return g(o,s,!1);case"m":return String(s);case"mm":return A.s(s,2,"0");case"s":return String(t.$s);case"ss":return A.s(t.$s,2,"0");case"SSS":return A.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(n,h,f){var g,p=this,m=A.p(h),y=k(n),v=(y.utcOffset()-this.utcOffset())*t,x=this-y,_=function(){return A.m(p,y)};switch(m){case d:g=_()/12;break;case c:g=_();break;case u:g=_()/3;break;case l:g=(x-v)/6048e5;break;case a:g=(x-v)/864e5;break;case s:g=x/r;break;case o:g=x/t;break;case i:g=x/e;break;default:g=x}return f?g:A.a(g)},y.daysInMonth=function(){return this.endOf(c).$D},y.$locale=function(){return _[this.$L]},y.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=w(e,t,!0);return n&&(r.$L=n),r},y.clone=function(){return A.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},m}(),C=M.prototype;return k.prototype=C,[["$ms",n],["$s",i],["$m",o],["$H",s],["$W",a],["$M",c],["$y",d],["$D",h]].forEach(function(e){C[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),k.extend=function(e,t){return e.$i||(e(t,M,k),e.$i=!0),k},k.locale=w,k.isDayjs=S,k.unix=function(e){return k(1e3*e)},k.en=_[x],k.Ls=_,k.p={},k}()},42706(e,t,r){e.exports=function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=t(e),n={name:"da",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn._man._tirs._ons._tors._fre._lør.".split("_"),weekdaysMin:"sø._ma._ti._on._to._fr._lø.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},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.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"}};return r.default.locale(n,null,!0),n}(r(74353))},3072(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,g=r?Symbol.for("react.suspense_list"):60120,p=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,x=r?Symbol.for("react.responder"):60118,_=r?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case o:case a:case s:case f:return e;default:switch(e=e&&e.$$typeof){case c:case h:case m:case p:case l:return e;default:return t}}case i:return t}}}function S(e){return b(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=h,t.Fragment=o,t.Lazy=m,t.Memo=p,t.Portal=i,t.Profiler=a,t.StrictMode=s,t.Suspense=f,t.isAsyncMode=function(e){return S(e)||b(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return b(e)===c},t.isContextProvider=function(e){return b(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return b(e)===h},t.isFragment=function(e){return b(e)===o},t.isLazy=function(e){return b(e)===m},t.isMemo=function(e){return b(e)===p},t.isPortal=function(e){return b(e)===i},t.isProfiler=function(e){return b(e)===a},t.isStrictMode=function(e){return b(e)===s},t.isSuspense=function(e){return b(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===a||e===s||e===f||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===l||e.$$typeof===c||e.$$typeof===h||e.$$typeof===v||e.$$typeof===x||e.$$typeof===_||e.$$typeof===y)},t.typeOf=b},73404(e,t,r){"use strict";e.exports=r(3072)},17241(e,t,r){"use strict";const n=r(96540).createContext(null);r.d(t,["A",0,n])},4477(e,t){"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,i=e[n];if(!(0<o(i,t)))break e;e[n]=t,e[r]=i,r=n}
vendor: 3,181 bytes, line 2
2}function n(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,i=e.length,s=i>>>1;n<s;){var a=2*(n+1)-1,l=e[a],c=a+1,u=e[c];if(0>o(l,r))c<i&&0>o(u,l)?(e[n]=u,e[c]=r,n=c):(e[n]=l,e[a]=r,n=a);else{if(!(c<i&&0>o(u,r)))break e;e[n]=u,e[c]=r,n=c}}}return t}function o(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var s=performance;t.unstable_now=function(){return s.now()}}else{var a=Date,l=a.now();t.unstable_now=function(){return a.now()-l}}var c=[],u=[],d=1,h=null,f=3,g=!1,p=!1,m=!1,y=!1,v="function"==typeof setTimeout?setTimeout:null,x="function"==typeof clearTimeout?clearTimeout:null,_="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var t=n(u);null!==t;){if(null===t.callback)i(u);else{if(!(t.startTime<=e))break;i(u),t.sortIndex=t.expirationTime,r(c,t)}t=n(u)}}function S(e){if(m=!1,b(e),!p)if(null!==n(c))p=!0,k||(k=!0,w());else{var t=n(u);null!==t&&P(S,t.startTime-e)}}var w,k=!1,A=-1,M=5,C=-1;function E(){return!!y||!(t.unstable_now()-C<M)}function R(){if(y=!1,k){var e=t.unstable_now();C=e;var r=!0;try{e:{p=!1,m&&(m=!1,x(A),A=-1),g=!0;var o=f;try{t:{for(b(e),h=n(c);null!==h&&!(h.expirationTime>e&&E());){var s=h.callback;if("function"==typeof s){h.callback=null,f=h.priorityLevel;var a=s(h.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof a){h.callback=a,b(e),r=!0;break t}h===n(c)&&i(c),b(e)}else i(c);h=n(c)}if(null!==h)r=!0;else{var l=n(u);null!==l&&P(S,l.startTime-e),r=!1}}break e}finally{h=null,f=o,g=!1}r=void 0}}finally{r?w():k=!1}}}if("function"==typeof _)w=function(){_(R)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,I=T.port2;T.port1.onmessage=R,w=function(){I.postMessage(null)}}else w=function(){v(R,0)};function P(e,r){A=v(function(){e(t.unstable_now())},r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var r=f;f=t;try{return e()}finally{f=r}},t.unstable_requestPaint=function(){y=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=f;f=e;try{return t()}finally{f=r}},t.unstable_scheduleCallback=function(e,i,o){var s=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?s+o:s:o=s,e){case 1:var a=-1;break;case 2:a=250;break;case 5:a=1073741823;break;case 4:a=1e4;break;default:a=5e3}return e={id:d++,callback:i,priorityLevel:e,startTime:o,expirationTime:a=o+a,sortIndex:-1},o>s?(e.sortIndex=o,r(u,e),null===n(c)&&e===n(u)&&(m?(x(A),A=-1):m=!0,P(S,o-s))):(e.sortIndex=a,r(c,e),p||g||(p=!0,k||
2(k=!0,w()))),e},t.unstable_shouldYield=E,t.unstable_wrapCallback=function(e){var t=f;return function(){var r=f;f=t;try{return e.apply(this,arguments)}finally{f=r}}}},69982(e,t,r){"use strict";e.exports=r(4477)},58168(e,t,r){"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(null,arguments)}r.d(t,{A:()=>n})},39323(e,t,r){"use strict";r.d(t,{A:()=>p});var n=r(96540),i=r(34164),o=r(46797),s=r(9594),a=r(54317),l=r(49873),c=r(93585),u=r(16051),d=r(34947);function h(e){return(0,d.Ay)("MuiBackdrop",e)}(0,u.A)("MuiBackdrop",["root","invisible"]);var f=r(74848);const g=(0,s.A)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})({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",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),p=n.forwardRef(function(e,t){const r=(0,a.b)({props:e,name:"MuiBackdrop"}),{children:n,className:s,component:u="div",invisible:d=!1,open:p,slotProps:m={},slots:y={},transitionDuration:v,...x}=r,_={...r,component:u,invisible:d},b=(e=>{const{classes:t,invisible:r}=e,n={root:["root",r&&"invisible"]};return(0,o.A)(n,h,t)})(_),S={component:u,slots:y,slotProps:m},[w,k]=(0,l.A)("root",{elementType:g,externalForwardedProps:S,className:(0,i.A)(b.root,s),ownerState:_}),[A,M]=(0,l.A)("transition",{elementType:c.A,externalForwardedProps:S,ownerState:_});return(0,f.jsx)(A,{in:p,timeout:v,...x,...M,children:(0,f.jsx)(w,{...k,ref:t,children:n})})})},35374(e,t,r){"use strict";r.d(t,{A:()=>T});var n=r(96540),i=r(34164),o=r(23249),s=r(46797),a=r(13482),l=r(68374),c=r(9594),u=r(96942),d=r(54317),h=r(78022),f=r(130),g=r(16198),p=r(71676),m=r(16051),y=r(34947);function v(e){return(0,y.Ay)("MuiButton",e)}const x=(0,m.A)("MuiButton",["root","text","outlined","contained","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]);const _=n.createContext({});const b=n.createContext(void 0);var S=r(42788),w=r(74848);const k=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],A=(0,c.A)(h.A,{shouldForwardProp:e=>(0,l.A)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${(0,g.A)(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth,r.loading&&t.loading]}})((0,u.A)(({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],r="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,...(0,S.yP)(e,["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${x.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${x.focusVisible}`]:{...e.focusVisible,boxShadow:e.focusVisible?.boxShadow?`${(e.vars||e).shadows[6]}, ${e.focusVisible.boxShadow}`:(e.vars||e).shadows[6]},[`&.${x.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackgroun
2d}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${x.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter((0,p.A)()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:r,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${x.focusVisible}`]:{boxShadow:e.focusVisible?.boxShadow??"none"},"&:active":{boxShadow:"none"},[`&.${x.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{...(0,S.yP)(e,["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${x.loading}`]:{color:"transparent"}}}]}})),M=(0,c.A)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,r.loading&&t.startIconLoadingStart]}})(({theme:e})=>({display:"inherit",alignItems:"center",marginRight:8,marginLeft:-4,"&::before":{content:'"\\200b"',width:0,overflow:"hidden"},variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{...(0,S.yP)(e,["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...k]})),C=(0,c.A)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,r.loading&&t.endIconLoadingEnd]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{...(0,S.yP)(e,["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...k]})),E=(0,c.A)("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),R=(0,c.A)("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),T=n.forwardRef(function(e,t){const r=n.useContext(_),l=n.useContext(b),c=(0,o.A)(r,e),u=(0,d.b)({props:c,name:"MuiButton"}),{children:h,color:p="primary",component:m="button",className:y,disabled:x=!1,disableElevation:S=!1,disableFocusRipple:k=!1,endIcon:T,focusVisibleClassName:I,fullWidth:P=!1,id:j,loading:O=null,loadingIndicator:L,loadingPosition:D="center",size:F="medium",startIcon:N,type:$,variant:z="text",...B}=u,G=(0,a.A)(j),W=L??(0,w.jsx)(f.A,{"aria-labelledby":G,color:"inherit",size:16}),Y={...u,color:p,component:m,disabled:x,disableElevation:S,disableFocusRipple:k,fullWidth:P,loading:O,loadingIndicator:W,loadingPosition:D,size:F,type:$,variant:z},V=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:i,variant:o,loading:a,loadingPosition:l,classes:c}=e,u={root:["root",a&&"loading",o,`size${(0,g.A)(i)}`,`color${(0,g.A)(t)}`,r&&"disableElevation",n&&"fullWidth",a&&`loadingPosition${(0,g.A)(l)}`],startIcon:["icon","startIcon"],endIcon:["icon","endIcon"],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},d=(0,s.A)(u,v,c);return{...c,...d}})(Y),q=(N||O&&"start"===D)&&(0,w.jsx)(M,{className:V.startIcon,ownerState:Y,children:N||(0,w.jsx)(R,{className:V.loadingIconPlaceholder,ownerState:Y})}),K=(T||O&&"end"===D)&&(0,w.jsx)(C,{className:V.endIcon,ownerState:Y,children:T||(0,w.jsx)(R,{className:V.loadingIconPlaceholder,ownerState:Y})}),X=l||"",H="boolean"==typeof O?(0,w.jsx)("span",{className:V.loadingWrapper,style:{display:"contents"},children:O&&(0,w.jsx)(E,{className:V.loadingIndicator,ownerState:Y,children:W})}):null,{root:U,...Z}=V;return(0,w.jsxs)(A,{ownerState:Y,className:(0,i.A)(r.className,V.root,y,X),component:m,disabled:x||O,focusRipple:!k,focusVisibleClassName:(0,i.A)(V.focusVisible,I),ref:t,internalNativeButton:!0,type:$,id:O?G:j,...B,classes:Z,children:[q,"end"!==D&&H,h,"end"===D&&H,K]})})},78022(e,t,r){"use strict";r.d(t,{A:()=>$});var n=r(96540),i=r(34164),o=r(46797),s=r(46117),a=r(9594),l=r(96942),c=r(54317),u=r(91784),d=r
2(54714);const h={};function f(e){const{nativeButton:t,nativeButtonProp:r,internalNativeButton:i=t,allowInferredHostMismatch:o=!1,disabled:s,type:a,hasFormAction:l=!1,tabIndex:c=0,focusableWhenDisabled:u,stopEventPropagation:d=!1,onBeforeKeyDown:f,onBeforeKeyUp:g}=e,p=n.useRef(null),m=!0===u,y=function(e){const{focusableWhenDisabled:t,disabled:r,composite:i=!1,tabIndex:o=0,isNativeButton:s}=e,a=i&&!1!==t,l=i&&!1===t;return n.useMemo(()=>{const e={onKeyDown(e){r&&t&&"Tab"!==e.key&&e.preventDefault()}};return i||(e.tabIndex=o,!s&&r&&(e.tabIndex=t?o:-1)),(s&&(t||a)||!s&&r)&&(e["aria-disabled"]=r),!s||t&&!l||(e.disabled=r),e},[i,r,t,a,l,s,o])}({focusableWhenDisabled:m,disabled:s,isNativeButton:t,tabIndex:c});const v=n.useCallback(()=>{const e=p.current;return null==e?t:"BUTTON"===e.tagName||Boolean("A"===e.tagName&&e.href)},[t]),x=n.useMemo(()=>{const e=m?{}:{tabIndex:s?-1:c};return t?(e.type=void 0!==a||l?a:"button",m||(e.disabled=s)):(e.role="button",!m&&s&&(e["aria-disabled"]=s)),m?{...e,...y}:e},[s,m,y,l,t,c,a]);return{getButtonProps:n.useCallback((e=h)=>{const{onClick:t,onKeyDown:r,onKeyUp:n,...i}=e;return{...x,...i,onClick:e=>{d&&e.stopPropagation(),s?e.preventDefault():t?.(e)},onKeyDown:e=>{m&&y.onKeyDown(e),s||(f?.(e),r?.(e),e.target!==e.currentTarget||v()||(" "!==e.key?"Enter"===e.key&&(e.preventDefault(),e.currentTarget.click()):e.preventDefault()))},onKeyUp:e=>{s||(g?.(e),n?.(e),e.target!==e.currentTarget||v()||" "!==e.key||e.defaultPrevented||e.currentTarget.click())}}},[x,s,m,y,v,f,g,d]),rootRef:p}}var g=r(4377);class p{static create(){return new p}static use(){const e=(0,g.A)(p.create).current,[t,r]=n.useState(!1);return e.shouldMount=t,e.setShouldMount=r,n.useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;const r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}}var m=r(13299),y=r(96089),v=r(10382),x=r(21043),_=r(74848);const b=function(e){const{className:t,classes:r,pulsate:o=!1,rippleX:s,rippleY:a,rippleSize:l,in:c,onExited:u,timeout:d}=e,[h,f]=n.useState(!1),g=(0,y.A)(),p=n.useRef(!1),m=n.useRef(u);m.current=u;const v=null!=u,x=(0,i.A)(t,r.ripple,r.rippleVisible,o&&r.ripplePulsate),b={width:l,height:l,top:-l/2+a,left
2:-l/2+s},S=(0,i.A)(r.child,h&&r.childLeaving,o&&r.childPulsate);return c||h||f(!0),n.useEffect(()=>{!c&&v?p.current||(p.current=!0,g.start(d,()=>{p.current=!1,m.current?.()})):(p.current=!1,g.clear())},[g,v,c,d]),(0,_.jsx)("span",{className:x,style:b,children:(0,_.jsx)("span",{className:S})})};const S=(0,r(16051).A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);var w=r(70126);const k={},A=[],M=()=>{};function C(e,t){const r=new Set(t),n=new Map;let i=[];for(const t of e)r.has(t)?i.length>0&&(n.set(t,i),i=[]):i.push(t);const o=[];for(const e of t){const t=n.get(e);t&&o.push(...t),o.push(e)}return o.push(...i),o}const E=v.i7` 3 0% { 4 transform: scale(0); 5 opacity: 0.1; 6 } 7 8 100% { 9 transform: scale(1); 10 opacity: 0.3; 11 } 12`,R=v.i7` 13 0% { 14 opacity: 1; 15 } 16 17 100% { 18 opacity: 0; 19 } 20`,T=v.i7` 21 0% { 22 transform: scale(1); 23 } 24 25 50% { 26 transform: scale(0.92); 27 } 28 29 100% { 30 transform: scale(1); 31 } 32`;const I=(0,a.A)("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,a.A)(b,{name:"MuiTouchRipple",slot:"Ripple"})` 33 opacity: 0; 34 position: absolute; 35 36 &.${S.rippleVisible} { 37 opacity: 0.3; 38 transform: scale(1); 39 } 40 41 /* 42 * Order matters: 'child', 'childLeaving' and 'childPulsate' apply to the same 43 * element with equal specificity, so the later rule wins. 'child' must come 44 * before 'childLeaving' so the leaving 'opacity: 0' takes precedence. A focus 45 * (pulsate) ripple keeps 'pulsateKeyframe' (no opacity animation) on exit, so 46 * it relies on this static 'opacity: 0' to disappear on blur instead of 47 * lingering until removal. 48 */ 49 & .${S.child} { 50 opacity: 1; 51 display: block; 52 width: 100%; 53 height: 100%; 54 border-radius: 50%; 55 background-color: currentColor; 56 } 57 58 & .${S.childLeaving} { 59 opacity: 0; 60 } 61 62 & .${S.childPulsate} { 63 position: absolute; 64 /* @noflip */ 65 left: 0px; 66 top: 0; 67 } 68 69 ${({theme:e})=>function(e){if("always"===e.motion.reducedMotion)return null;const t=v.AH` 70 &.${S.rippleVisible} { 71 animation-name: ${E}; 72 animation-duration: ${550}ms; 73 animation-timing-function: ${e.transitions.easing.easeInOut}; 74 } 75 76 &.${S.ripplePulsate} { 77 animation-duration: ${e.transitions.duration.shorter}ms; 78 } 79 80 & .${S.childLeaving} { 81 animation-name: ${R}; 82 animation-duration: ${550}ms; 83 animation-timing-function: ${e.transitions.easing.easeInOut}; 84 } 85 86 & .${S.childPulsate} { 87 animation-name: ${T}; 88 animation-duration: 2500ms; 89 animation-timing-function: ${e.transitions.easing.easeInOut}; 90 animation-iteration-count: infinite; 91 animation-delay: 200ms; 92 } 93 `;return"system"===e.motion.reducedMotion?v.AH` 94 @media (prefers-reduced-motion: no-preference) { 95 ${t} 96 } 97 `:t}(e)} 98`,j=n.forwardRef(function(e,t){const r=(0,c.b)({props:e,name:"MuiTouchRipple"}),o=(0,x.A)(),s=(0,w.A)(o.motion.reducedMotion,!1),{center:a=!1,classes:l=k,className:u,...h}=r,[f,g]=n.useState({items:A,order:A}),p=f.items,v=n.useRef(0),b=n.useRef(null),E=n.useRef(!1);(0,m.A)(()=>(E.current=!0,()=>{E.current=!1})),n.useEffect(()=>{b.current&&(b.current(),b.current=null)},[p]);const R=n.useRef(!1),T=(0,y.A)(),j=n.useRef(null),O=n.useRef(null),L=(0,d.A)(e=>{E.current&&g(t=>{const r=t.items.filter(t=>t.key!==e),n=C(t.order.filter(t=>t!==e),r.filter(e=>!e.exiting).map(e=>e.key));return{items:r,order:n}})}),D=(0,d.A)(e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:i,cb:o}=e,s=v.current;v.current+=1,g(e=>{const o=[...e.items,{key:s,pulsate:t,rippleX:r,rippleY:n,rippleSize:i,exiting:!1}];return{items:o,order:C(e.order,o.filter(e=>!e.exiting).map(e=>e.key))}}),b.current=o}),F=(0,d.A)((e=k,t=k,r=M)=>{const{pulsate:n=!1,center:i=a||t.pulsate,fakeElement:o=!1}=t;if("mousedown"===e?.type&&R.current)return void(R.current=!1);"touchstart"===e?.type&&(R.current=!0);const s=o?null:O.current,{rippleX:l,rippleY:c,rippleSize:u}=function({event:e,element:t,center:r}){const n=t?t.getBoundingClientRect():{width:0,height:0,left:0,top:0};let i,o,s;if(r||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)i=Math.round(n.width/2),o=Math.round(n.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;i=Math.round(t-n.left),o=Math.round(r-n.top)}if(r)s=Math.sqrt((2*n.width**2+n.height**2)/3),s%2==0&&(s+=1);else{const e=2*Math.max(Math.abs((t?t.clientWidth:0)-i),i)+2,r=2*Math.max(Math.abs((t?t.clientHeight:0)-o),o)+2;s=Math.sqrt(e**2+r**2)}return{rippleX:i,rippleY:o,rippleSize:s}}({event:e,element:s,center:i});e?.touches?null===j.current&&(j.current=()=>{D({pulsate:n,rippleX:l,rippleY:c,rippleSize:u,cb:r})},T.start(80,()=>{j.current&&(j.current(),j.current=null)})):D({pulsate:n,rippleX:l,rippleY:c,rippleSize:u,cb:r})}),N=(0,d.A)(()=>{F(k,{pulsate:!0})}),$=(0,d.A)((e,t)=>{if(T.clear(),"touchend"===e?.type&&j.current)return j.current(),j.current=null,void T.start(0,()=>{$(e,t)});j.current=null,g(e=>{const t=e.items.findIndex(e=>!e.exiting);if(-1===t)return e;const r=e.items.slice();return r[t]={...r[t],exiting:!0},{items:r,order:C(e.order,r.filter(e=>!e.exiting).map(e=>e.key))}}),b.current=t});n.useImperativeHandle(t,()=>({pulsate:N,start:F,stop:$}
98),[N,F,$]);const z=new Map(p.map(e=>[e.key,e])),B=f.order.map(e=>z.get(e)).filter(Boolean);return(0,_.jsx)(I,{className:(0,i.A)(S.root,l.root,u),ref:O,...h,children:B.map(e=>(0,_.jsx)(P,{classes:{ripple:(0,i.A)(l.ripple,S.ripple),rippleVisible:(0,i.A)(l.rippleVisible,S.rippleVisible),ripplePulsate:(0,i.A)(l.ripplePulsate,S.ripplePulsate),child:(0,i.A)(l.child,S.child),childLeaving:(0,i.A)(l.childLeaving,S.childLeaving),childPulsate:(0,i.A)(l.childPulsate,S.childPulsate)},timeout:s.shouldReduceMotion?0:550,pulsate:e.pulsate,rippleX:e.rippleX,rippleY:e.rippleY,rippleSize:e.rippleSize,in:!e.exiting,onExited:()=>L(e.key)},e.key))})});var O=r(31113),L=r(97873);const D=(0,a.A)("button",{name:"MuiButtonBase",slot:"Root"})((0,l.A)(({theme:e})=>({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"},[`&.${O.A.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"},variants:[{props:{internalDisabledThemeFocusVisible:!1},style:e.focusVisible&&{...L.Jc,[`&.${O.A.focusVisible}`]:e.focusVisible}}]}))),F=n.forwardRef(function(e,t){const r=(0,c.b)({props:e,name:"MuiButtonBase"}),{action:a,centerRipple:l=!1,children:h,className:g,component:m="button",disabled:y=!1,disableRipple:v=!1,disableTouchRipple:x=!1,focusRipple:b=!1,focusVisibleClassName:S,focusableWhenDisabled:w,suppressFocusVisible:k=!1,internalNativeButton:A,internalDisabledThemeFocusVisible:M=!1,LinkComponent:C="a",nativeButton:E,onBlur:R,onClick:T,onContextMenu:I,onDragLeave:P,onFocus:L,onFocusVisible:F,onKeyDown:$,onKeyUp:z,onMouseDown:B,onMouseLeave:G,onMouseUp:W,onTouchEnd:Y,onTouchMove:V,onTouchStart:q,tabIndex:K=0,TouchRippleProps:X,touchRippleRef:H,type:U,...Z}=r,J=Boolean(Z.href||Z.to),Q=Boolean(Z.formAction);let ee=m;"button"===ee&&J&&(ee=C);const te="string"==typeof ee?"button"===ee:A??!1,re=E??te,ne=p.use(),ie=(0,u.A)(ne.ref,H),[oe,se]=n.useState(!1);(y||k)&&oe&&se(!1);const ae=(0,d.A)(e=>{b&&!e.repeat&&oe&&" "===e.key&&ne.stop(e,()=>{ne.start(e)})}),le=(0,d.A)(e=>{b&&" "===e.key&&oe&&!e.defaultPrevented&&ne.stop(e,()=>{ne.pulsate(e)})}),{getButtonProps:ce,rootRef:ue}=f({nativeButton:re,nativeButtonProp:E,internalNativeButton:te,allowInferredHostMismatch:J||"string"==typeof ee,disabled:y,type:U,hasFormAction:Q,tabIndex:K,onBeforeKeyDown:ae,onBeforeKeyUp:le}),{onClick:de,onKeyDown:he,onKeyUp:fe,...ge}=ce({onClick:T,onKeyDown:$,onKeyUp:z});n.useImperativeHandle(a,()=>({focusVisible:()=>{se(!0),ue.current.focus()}}),[ue]);const pe=ne.shouldMount&&!v&&!y;n.useEffect(()=>{oe&&b&&!v&&ne.pulsate()},[v,b,oe,ne]);const me=N(ne,"start",B,x),ye=N(ne,"stop",I,x),ve=N(ne,"stop",P,x),xe=N(ne,"stop",W,x),_e=N(ne,"stop",e=>{oe&&e.preventDefault(),G&&G(e)},x),be=N(ne,"start",q,x),Se=N(ne,"stop",Y,x),we=N(ne,"stop",V,x),ke=N(ne,"stop",e=>{(0,s.A)(e.target)||se(!1),R&&R(e)},!1),Ae=(0,d.A)(e=>{ue.current||(ue.current=e.currentTarget),!k&&(0,s.A)(e.target)&&(se(!0),F&&F(e)),L&&L(e)}),Me={};J&&(Me.tabIndex=y?-1:K,y&&(Me["aria-disabled"]=y),Me.type=U);const Ce=(0,u.A)(t,ue),Ee={...r,centerRipple:l,component:m,disabled:y,disableRipple:v,disableTouchRipple:x,focusRipple:b,suppressFocusVisible:k,tabIndex:K,focusVisible:oe,internalDisabledThemeFocusVisible:M},Re=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,suppressFocusVisible:i,classes:s}
98=e,a={root:["root",t&&"disabled",r&&!i&&"focusVisible"]},l=(0,o.A)(a,O.W,s);return r&&!i&&n&&(l.root+=` ${n}`),l})(Ee);return(0,_.jsxs)(D,{as:ee,className:(0,i.A)(Re.root,g),ownerState:Ee,onBlur:ke,onClick:de,onContextMenu:ye,onFocus:Ae,onKeyDown:he,onKeyUp:fe,onMouseDown:me,onMouseLeave:_e,onMouseUp:xe,onDragLeave:ve,onTouchEnd:Se,onTouchMove:we,onTouchStart:be,ref:Ce,...J?Me:ge,...Z,children:[h,pe?(0,_.jsx)(j,{ref:ie,center:l,...X}):null]})});function N(e,t,r,n=!1){return(0,d.A)(i=>(r&&r(i),n||e[t](i),!0))}const $=F},31113(e,t,r){"use strict";r.d(t,{W:()=>o});var n=r(16051),i=r(34947);function o(e){return(0,i.Ay)("MuiButtonBase",e)}const s=(0,n.A)("MuiButtonBase",["root","disabled","focusVisible"]);r.d(t,["A",0,s])},130(e,t,r){"use strict";r.d(t,{A:()=>M});var n=r(96540),i=r(34164),o=r(46797),s=r(10382),a=r(9594),l=r(96942),c=r(54317),u=r(16198),d=r(71676),h=r(42788),f=r(16051),g=r(34947);function p(e){return(0,g.Ay)("MuiCircularProgress",e)}(0,f.A)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDisableShrink"]);var m=r(74848);const y=44;const v=s.i7` 99 0% { 100 transform: rotate(0deg); 101 } 102 103 100% { 104 transform: rotate(360deg); 105 } 106`,x=s.i7` 107 0% { 108 stroke-dasharray: 1px, 200px; 109 stroke-dashoffset: 0; 110 } 111 112 50% { 113 stroke-dasharray: 100px, 200px; 114 stroke-dashoffset: -15px; 115 } 116 117 100% { 118 stroke-dasharray: 1px, 200px; 119 stroke-dashoffset: -126px; 120 } 121`,_="string"!=typeof v?s.AH` 122 animation: ${v} 1.4s linear infinite; 123 `:null,b="string"!=typeof x?s.AH` 124 animation: ${x} 1.4s ease-in-out infinite; 125 `:null,S=(0,a.A)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${(0,u.A)(r.color)}`]]}})((0,l.A)(({theme:e})=>{const t=(0,h.z6)(e,{animation:"none"});return{display:"inline-block",variants:[{props:{variant:"determinate"},style:{...(0,h.yP)(e,"transform")}},{props:{variant:"indeterminate"},style:_||{animation:`${v} 1.4s linear infinite`}},...t?[{props:{variant:"indeterminate"},style:t}]:[],...Object.entries(e.palette).filter((0,d.A)()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}})),w=(0,a.A)("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),k=(0,a.A)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,r.disableShrink&&t.circleDisableShrink]}})((0,l.A)(({theme:e})=>{const t=(0,h.z6)(e,{animation:"none"});return{stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{...(0,h.yP)(e,"stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:b||{animation:`${x} 1.4s ease-in-out infinite`}},...t?[{props:({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:t}]:[]]}})),A=(0,a.A)("circle",{name:"MuiCircularProgress",slot:"Track"})((0,l.A)(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),M=n.forwardRef(function(e,t){const r=(0,c.b)({props:e,name:"MuiCircularProgress"}),{className:n,color:s="primary",disableShrink:a=!1,enableTrackSlot:l=!1,min:d,max:h,size:f=40,style:g,thickness:v=3.6,value:x=r.min??0,variant:_="indeterminate",...b}=r;const M=d??0,C=h??100,E={...r,color:s,disableShrink:a,size:f,thickness:v,value:x,variant:_,enableTrackSlot:l},R=(e=>{const{classes:t,variant:r,color:n,disableShrink:i}=e,s={root:["root",r,`color${(0,u.A)(n)}`],svg:["svg"],track:["track"],circle:["circle",i&&"circleDisableShrink"]};return(0,o.A)(s,p,t)})(E),T={},I={},P={};if("determinate"===_){const e=2*Math.PI*((y-v)/2);0;const t=C-M;T.strokeDasharray=e.toFixed(3),T.strokeDashoffset=t>0?`${((C-x)/t*e).toFixed(3)}px`:`${e.toFixed(3)}px`,I.transform="rotate(-90deg)",P["aria-valuenow"]=x,P["aria-valuemin"]=M,P["aria-valuemax"]=C}return(0,m.jsx)(S,{className:(0,i.A)(R.root,n),style:{width:f,height:f,...I,...g},ownerState:E,ref:t,role:"progressbar",...P,...b,children:(0,m.jsxs)(w,{className:R.svg,ownerState:E,viewBox:"22 22 44 44",children:[l?(0,m.jsx)(A,{className:R.track,ownerState:E,cx:y,cy:y,r:(y-v)/2,fill:"none",strokeWidth:v,"aria-hidden":"true"}):null,(0,m.jsx)(k,{className:R.circle,style:T,ownerState:E,cx:y,cy:y,r:(y-v)/2,fill:"none",strokeWidth:v})]})})})},54317(e,t,r){"use strict";r.d(t,{b:()=>i});r(96540);var n=r(45449);r(74848);function i(e){return(0,n.b)(e)}},64917(e,t,r){"use strict";var n=r(96540),i=r(34164),o=r(46797),s=r(93875),a=r(16198),l=r(80299),c=r(93585),u=r(72515),d=r(55583),h=r(79254),f=r(39323),g=r(21043),p=r(9594),m=r(96942),y=r(54317),v=r(49873),x=r(32612),_=r(74848);const b=(0,p.A)(f.A,{name:"MuiDialog",slot:"Backdrop"})({zIndex:-1}),S=(0,p.A)(l.A,{name:"MuiDialog",slot:"Root"})({"@media print":{position:"absolute !important"}}),w=(0,p.A)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.container,t[`scroll${(0,a.A)(r.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',dis
125play:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),k=(0,p.A)(u.A,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`paperWidth${(0,a.A)(String(r.maxWidth))}`],r.fullWidth&&t.paperFullWidth,r.fullScreen&&t.paperFullScreen]}})((0,m.A)(({theme:e})=>({margin:32,position:"relative",overflowY:"auto",outline:0,"@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:e})=>!e.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`}},{props:{maxWidth:"xs",scroll:"body"},style:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},...Object.keys(e.breakpoints.values).filter(e=>"xs"!==e).map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`}})),...Object.keys(e.breakpoints.values).filter(e=>"xs"!==e).map(t=>({props:{maxWidth:t,scroll:"body"},style:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:"calc(100% - 64px)"}}})),{props:({ownerState:e})=>e.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:e})=>e.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0}},{props:({ownerState:e})=>e.fullScreen&&"body"===e.scroll,style:{margin:0,maxWidth:"100%"}}]}))),A=n.forwardRef(function(e,t){const r=(0,y.b)({props:e,name:"MuiDialog"}),l=(0,g.A)(),f={enter:l.transitions.duration.enteringScreen,exit:l.transitions.duration.leavingScreen},{"aria-describedby":p,"aria-labelledby":m,"aria-modal":A=!0,children:M,className:C,fullScreen:E=!1,fullWidth:R=!1,maxWidth:T="sm",onClick:I,onClose:P,open:j,PaperComponent:O=u.A,role:L="dialog",scroll:D="paper",slots:F={},slotProps:N={},transitionDuration:$=f,...z}=r,B={...r,fullScreen:E,fullWidth:R,maxWidth:T,scroll:D},G=(e=>{const{classes:t,scroll:r,maxWidth:n,fullWidth:i,fullScreen:s}=e,l={root:["root"],backdrop:["backdrop"],container:["container",`scroll${(0,a.A)(r)}`],paper:["paper",`paperWidth${(0,a.A)(String(n))}`,i&&"paperFullWidth",s&&"paperFullScreen"]};return(0,o.A)(l,d.f,t)})(B),W=n.useRef(),Y=(0,s.A)(m),V=n.useMemo(()=>({titleId:Y}),[Y]),q={slots:F,slotProps:N},[K,X]=(0,v.A)("root",{elementType:S,shouldForwardComponentProp:!0,externalForwardedProps:q,ownerState:B,className:(0,i.A)(G.root,C),ref:t}),[H,U]=(0,v.A)("backdrop",{elementType:b,shouldForwardComponentProp:!0,externalForwardedProps:q,ownerState:B,className:G.backdrop}),[Z,J]=(0,v.A)("paper",{elementType:k,shouldForwardComponentProp:!0,externalForwardedProps:q,ownerState:B,className:G.paper,additionalProps:{elevation:24,role:L,"aria-describedby":p,"aria-labelledby":Y,"aria-modal":A,tabIndex:-1,[x.E]:""}}),[Q,ee]=(0,v.A)("container",{elementType:w,externalForwardedProps:q,ownerState:B,className:G.container}),[te,re]=(0,v.A)("transition",{elementType:c.A,externalForwardedProps:q,ownerState:B,additionalProps:{appear:!0,in:j,timeout:$,role:"presentation"}});return(0,_.jsx)(K,{closeAfterTransition:!0,slots:{backdrop:H},slotProps:{backdrop:{transitionDuration:$,...U}},onClose:P,open:j,onClick:e=>{I&&I(e),W.current&&(W.current=null,P&&P(e,"backdropClick"))},...X,...z,children:(0,_.jsx)(te,{...re,children:(0,_.jsx)(Q,{onMouseDown:e=>{W.current=e.target===e.currentTarget},...ee,children:(0,_.jsx)(Z,{as:O,...J,children:(0,_.jsx)(h.A.Provider,{value:V,children:M})})})})})});r.d(t,["A",0,A])},79254(e,t,r){"use strict";const n=r(96540).createContext({});r.d(t,["A",0,n])},55583(e,t,r){"use strict";r.d(t,{f:()=>o});var n=r(16051),i=r(34947);function o(e){return(0,i.Ay)("MuiDialog",e)}const s=(0,n.A)("MuiDialog",["root","backdrop","scrollPaper","scrollBody","container","paper","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);r.d(t,["A",0,s])},62894(e,t,r){"use strict";r.d(t,{A:()=>f});var n=r(96540),i=r(34164),o=r(46797),s=r(9594),a=r(54317),l=r(16051),c=r(34947);function u(e){return(0,c.Ay)("MuiDialogActions",e)}(0,l.A)("MuiDialogActions",["root","spacing"]);var d=r(74848);const h=(0,s.A)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),f=n.forwardRef(function(e,t){const r=(0,a.b)({props:e,name:"MuiDialogActions"}),{className:n,disableSpacing:s=!1,...l}=r,c={...r,disableSpacing:s},f=(e=>{const{classes:t,disableSpacing:r}=e,n={root:["root",!r&&"spacing"]};return(0,o.A)(n,u,t)})(c);return(0,d.jsx)(h,{className:(0,i.A)(f.root,n),ownerState:c,ref:t,...l})})},57291(e,t,r){"use strict";r.d(t,{A:()=>p});var n=r(96540),i=r(34164),o=r(46797),s=r(9594),a=r(96942),l=r(54317),c=r(16051),u=r(34947);function d(e){return(0,u.Ay)("MuiDialogContent",e)}(0,c.A)("MuiDialogContent",["root","dividers"]);var h=r(38473),f=r(74848);const g=(0,s.A)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dividers&&t.dividers]}})((0,a.A)(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:e})=>e.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>
125!e.dividers,style:{[`.${h.A.root} + &`]:{paddingTop:0}}}]}))),p=n.forwardRef(function(e,t){const r=(0,l.b)({props:e,name:"MuiDialogContent"}),{className:n,dividers:s=!1,...a}=r,c={...r,dividers:s},u=(e=>{const{classes:t,dividers:r}=e,n={root:["root",r&&"dividers"]};return(0,o.A)(n,d,t)})(c);return(0,f.jsx)(g,{className:(0,i.A)(u.root,n),ownerState:c,ref:t,...a})})},15067(e,t,r){"use strict";var n=r(96540),i=r(34164),o=r(46797),s=r(59763),a=r(9594),l=r(54317),c=r(38473),u=r(79254),d=r(74848);const h=(0,a.A)(s.A,{name:"MuiDialogTitle",slot:"Root"})({padding:"16px 24px",flex:"0 0 auto"}),f=n.forwardRef(function(e,t){const r=(0,l.b)({props:e,name:"MuiDialogTitle"}),{className:s,id:a,...f}=r,g=r,p=(e=>{const{classes:t}=e;return(0,o.A)({root:["root"]},c.t,t)})(g),{titleId:m=a}=n.useContext(u.A);return(0,d.jsx)(h,{component:"h2",className:(0,i.A)(p.root,s),ownerState:g,ref:t,variant:"h6",id:a??m,...f})});r.d(t,["A",0,f])},38473(e,t,r){"use strict";r.d(t,{t:()=>o});var n=r(16051),i=r(34947);function o(e){return(0,i.Ay)("MuiDialogTitle",e)}const s=(0,n.A)("MuiDialogTitle",["root"]);r.d(t,["A",0,s])},93585(e,t,r){"use strict";var n=r(96540),i=r(69753),o=r(55657),s=r(70126),a=r(21043),l=r(42788),c=r(91784),u=r(74848);const d={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},h={opacity:0,visibility:"hidden"},f=n.forwardRef(function(e,t){const r=(0,a.A)(),f={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:g,appear:p=!0,children:m,disablePrefersReducedMotion:y=!1,easing:v,in:x,onEnter:_,onEntered:b,onEntering:S,onExit:w,onExited:k,onExiting:A,style:M,timeout:C=f,...E}=e,R=(0,s.A)(r.motion.reducedMotion,y),T=n.useRef(null),I=(0,c.A)(T,(0,i.A)(m),t),P=(0,l.
125E1)(T,S),j=(0,l.E1)(T,(e,t)=>{R.shouldReduceMotion||(0,l.qm)(e);const n=(0,l.ce)({style:M,timeout:C,easing:v},{mode:"enter"}),i=R.getTransitionTiming({duration:n.duration,delay:n.delay});e.style.transition=r.transitions.create("opacity",{duration:i.duration,easing:n.easing,delay:i.delay}),_&&_(e,t)}),O=(0,l.E1)(T,b),L=(0,l.E1)(T,A),D=(0,l.E1)(T,e=>{const t=(0,l.ce)({style:M,timeout:C,easing:v},{mode:"exit"}),n=R.getTransitionTiming({duration:t.duration,delay:t.delay});e.style.transition=r.transitions.create("opacity",{duration:n.duration,easing:t.easing,delay:n.delay}),w&&w(e)}),F=(0,l.E1)(T,e=>{e.style.transition="",k&&k(e)}),N=g?e=>{g(T.current,e)}:void 0;return(0,u.jsx)(o.A,{appear:p,in:x,nodeRef:T,onEnter:j,onEntered:O,onEntering:P,onExit:D,onExited:F,onExiting:L,addEndListener:N,reduceMotion:R.shouldReduceMotion,timeout:C,...E,children:(e,{ownerState:t,...r})=>{const i=(0,l.zO)(e,x,d,h,M,m.props.style);return n.cloneElement(m,{style:i,ref:I,...r})}})});r.d(t,["A",0,f])},87164(e,t,r){"use strict";r.d(t,{A:()=>y});var n=r(96540),i=r(34164),o=r(46797),s=r(9594),a=r(54317),l=r(37731),c=r(16198);const u=r(6371).A;var d=r(44956),h=r(16051),f=r(34947);function g(e){return(0,f.Ay)("MuiFormControl",e)}(0,h.A)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var p=r(74848);const m=(0,s.A)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`margin${(0,c.A)(r.margin)}`],r.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),y=n.forwardRef(function(e,t){const r=(0,a.b)({props:e,name:"MuiFormControl"}),{children:s,className:h,color:f="primary",component:y="div",disabled:v=!1,error:x=!1,focused:_,fullWidth:b=!1,hiddenLabel:S=!1,margin:w="none",required:k=!1,size:A="medium",variant:M="outlined",...C}=r,E={...r,color:f,component:y,disabled:v,error:x,fullWidth:b,hiddenLabel:S,margin:w,required:k,size:A,variant:M},R=(e=>{const{classes:t,margin:r,fullWidth:n}=e,i={root:["root","none"!==r&&`margin${(0,c.A)(r)}`,n&&"fullWidth"]};return(0,o.A)(i,g,t)})(E),[T,I]=n.useState(()=>{let e=!1;return s&&n.Children.forEach(s,t=>{if(!u(t,["Input","Select"]))return;const r=u(t,["Select"])?t.props.input:t;r&&(0,l.gr)(r.props)&&(e=!0)}),e}),[P,j]=n.useState(()=>{let e=!1;return s&&n.Children.forEach(s,t=>{u(t,["Input","Select"])&&((0,l.lq)(t.props,!0)||(0,l.lq)(t.props.inputProps,!0))&&(e=!0)}),e}),[O,L]=n.useState(!1);v&&O&&L(!1);const D=void 0===_||v?O:_;let F;n.useRef(!1);const N=n.useCallback(()=>{j(!0)},[]),$=n.useCallback(()=>{j(!1)},[]),z=n.useMemo(()=>({adornedStart:T,setAdornedStart:I,color:f,disabled:v,error:x,filled:P,focused:D,fullWidth:b,hiddenLabel:S,size:A,onBlur:()=>{L(!1)},onFocus:()=>{L(!0)},onEmpty:$,onFilled:N,registerEffect:F,required:k,variant:M}),[T,f,v,x,P,D,b,S,F,$,N,k,A,M]);return(0,p.jsx)(d.A.Provider,{value:z,children:(0,p.jsx)(m,{as:y,ownerState:E,className:(0,i.A)(R.root,h),ref:t,...C,children:s})})})},44956(e,t,r){"use strict";const n=r(96540).createContext(void 0);r.d(t,["A",0,n])},9404(e,t,r){"use strict";r.d(t,{A:()=>o,W:()=>s});var n=r(96540),i=r(44956);function o(){return n.useContext(i.A)}function s({props:e,states:t}){const r=n.useContext(i.A),o={};return t.forEach(t=>{const n=e[t];o[t]=void 0===n&&r?r[t]:n}),[o,r]}},46662(e,t,r){"use strict";r.d(t,{A:()=>_});var n=r(96540),i=r(34164),o=r(46797),s=r(9404),a=r(9594),l=r(96942),c=r(54317),u=r(59763),d=r(16198),h=r(16051),f=r(34947);function g(e){return(0,f.Ay)("MuiFormControlLabel",e)}const p=(0,h.A)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementEnd","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);var m=r(49873),y=r(74848);const v=(0,a.A)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${p.label}`]:t.label},t.root,t[`labelPlacement${(0,d.A)(r.labelPlacement)}`]]}})((0,l.A)(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${p.disabled}`]:{cursor:"default"},[`& .${p.label}`]:{[`&.${p.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:e})=>"start"===e||"top"===e||"bottom"===e,style:{marginLeft:16}}]}
125))),x=(0,a.A)("span",{name:"MuiFormControlLabel",slot:"Asterisk"})((0,l.A)(({theme:e})=>({[`&.${p.error}`]:{color:(e.vars||e).palette.error.main}}))),_=n.forwardRef(function(e,t){const r=(0,c.b)({props:e,name:"MuiFormControlLabel"}),{checked:a,className:l,control:h,disabled:f,disableTypography:p,inputRef:_,label:b,labelPlacement:S="end",name:w,onChange:k,required:A,slots:M={},slotProps:C={},value:E,...R}=r,[T,I]=(0,s.W)({props:r,states:["error"]}),P=f??h.props.disabled??I?.disabled,j=A??h.props.required,O={disabled:P,required:j};["checked","name","onChange","value","inputRef"].forEach(e=>{void 0===h.props[e]&&void 0!==r[e]&&(O[e]=r[e])});const L={...r,disabled:P,labelPlacement:S,required:j,error:T.error},D=(e=>{const{classes:t,disabled:r,labelPlacement:n,error:i,required:s}=e,a={root:["root",r&&"disabled",`labelPlacement${(0,d.A)(n)}`,i&&"error",s&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",i&&"error"]};return(0,o.A)(a,g,t)})(L),F={slots:M,slotProps:C},[N,$]=(0,m.A)("typography",{elementType:u.A,externalForwardedProps:F,ownerState:L});let z=b;return null==z||z.type===u.A||p||(z=(0,y.jsx)(N,{component:"span",...$,className:(0,i.A)(D.label,$?.className),children:z})),(0,y.jsxs)(v,{className:(0,i.A)(D.root,l),ownerState:L,ref:t,...R,children:[n.cloneElement(h,O),j?(0,y.jsxs)("div",{children:[z,(0,y.jsxs)(x,{ownerState:L,"aria-hidden":!0,className:D.asterisk,children:["â","*"]})]}):z]})})},36746(e,t,r){"use strict";r.d(t,{A:()=>g});var n=r(96540),i=r(34164),o=r(46797),s=r(9594),a=r(54317),l=r(16051),c=r(34947);function u(e){return(0,c.Ay)("MuiFormGroup",e)}(0,l.A)("MuiFormGroup",["root","row","error"]);var d=r(9404),h=r(74848);const f=(0,s.A)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),g=n.forwardRef(function(e,t){const r=(0,a.b)({props:e,name:"MuiFormGroup"}),{className:n,row:s=!1,...l}=r,[c]=(0,d.W)({props:r,states:["error"]}),g={...r,row:s,error:c.error},p=(e=>{const{classes:t,row:r,error:n}=e,i={root:["root",r&&"row",n&&"error"]};return(0,o.A)(i,u,t)})(g);return(0,h.jsx)(f,{className:(0,i.A)(p.root,n),ownerState:g,ref:t,...l})})},47086(e,t,r){"use strict";r.d(t,{A:()=>v});var n=r(96540),i=r(34164),o=r(46797),s=r(9404),a=r(9594),l=r(96942),c=r(54317),u=r(16198),d=r(16051),h=r(34947);function f(e){return(0,h.Ay)("MuiFormHelperText",e)}const g=(0,d.A)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var p,m=r(74848);const y=(0,a.A)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.size&&t[`size${(0,u.A)(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})((0,l.A)(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${g.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${g.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]}))),v=n.forwardRef(function(e,t){const r=(0,c.b)({props:e,name:"MuiFormHelperText"}),{children:n,className:a,component:l="p",disabled:d,error:h,filled:g,focused:v,margin:x,required:_,variant:b,...S}=r,[w]=(0,s.W)({props:r,states:["variant","size","disabled","error","filled","focused","required"]}),k={...r,component:l,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};delete k.ownerState;const A=(e=>{const{classes:t,contained:r,size:n,disabled:i,error:s,filled:a,focused:l,required:c}=e,d={root:["root",i&&"disabled",s&&"error",n&&`size${(0,u.A)(n)}`,r&&"contained",l&&"focused",a&&"filled",c&&"required"]};return(0,o.A)(d,f,t)})(k);return(0,m.jsx)(y,{as:l,className:(0,i.A)(A.root,a),ref:t,...S,ownerState:k,children:" "===n?p||(p=(0,m.jsx)("span",{className:"notranslate","aria-hidden":!0,
125children:"â"})):n})})},37731(e,t,r){"use strict";function n(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function i(e,t=!1){return e&&(n(e.value)&&""!==e.value||t&&n(e.defaultValue)&&""!==e.defaultValue)}function o(e){return e.startAdornment}r.d(t,{gr:()=>o,lq:()=>i})},80299(e,t,r){"use strict";r.d(t,{A:()=>j});var n=r(96540),i=r(34164),o=r(46797),s=r(35084),a=r(71997),l=r(9594),c=r(96942),u=r(54317),d=r(39323),h=r(98003),f=r(95313),g=r(83873);function p(...e){return e.reduce((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)},()=>{})}var m=r(5677),y=r(39395),v=r(89267);function x(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function _(e){return parseFloat((0,y.A)(e).getComputedStyle(e).paddingRight)||0}function b(e,t,r,n,i){const o=[t,r,...n];[].forEach.call(e.children,e=>{const t=!o.includes(e),r=!function(e){const t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&x(e,i)})}function S(e,t){const r=[],n=e.container;if(!t.disableScrollLock){let e;if(n.parentNode instanceof DocumentFragment)e=(0,h.A)(n).body;else{const t=n.parentElement,r=(0,y.A)(n);e="HTML"===t?.nodeName&&"scroll"===r.getComputedStyle(t).overflowY?t:n}if(function(e){const t=(0,h.A)(e);return e===t.body||e===t.documentElement?(0,y.A)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(e)){const t=(0,v.A)((0,y.A)(e));r.push({value:e.style.paddingRight,property:"padding-right",el:e}),e.style.paddingRight=`${_(e)+t}px`;const i=(0,h.A)(n).querySelectorAll(".mui-fixed");[].forEach.call(i,e=>{r.push({value:e.style.paddingRight,property:"padding-right",el:e}),e.style.paddingRight=`${_(e)+t}px`})}r.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()=>{r.forEach(({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)})}}const w=()=>{},k=new class{constructor(){this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&x(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);b(t,e.mount,e.modalRef,n,!0);const i=this.containers.findIndex(e=>e.container===t);return-1!==i?(this.containers[i].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){const r=this.containers.findIndex(t=>t.modals.includes(e)),n=this.containers[r];n.restore||(n.restore=S(n,t))}remove(e,t=!0){const r=this.modals.indexOf(e);if(-1===r)return r;const n=this.containers.findIndex(t=>t.modals.includes(e)),i=this.containers[n];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(r,1),0===i.modals.length)i.restore&&i.restore(),e.modalRef&&x(e.modalRef,t),b(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=i.modals[i.modals.length-1];e.modalRef&&x(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};const A=function(e){const{container:t,disableScrollLock:r=!1,closeAfterTransition:i=!1,onTransitionEnter:o,onTransitionExited:s,children:a,onClose:l,open:c,rootRef:u}=e,d=n.useRef({}),y=n.useRef(null),v=n.useRef(null),_=n.useRef(null),b=(0,f.A)(_,u),[S,A]=n.useState(!c),M=function(e){return!!e&&e.props.hasOwnProperty("in")}(a);let C=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(C=!1);const E=()=>(d.current.modalRef=_.current,d.current.mount=y.current,d.current),R=()=>{k.mount(E(),{disableScrollLock:r}),_.current&&(_.current.scrollTop=0)},T=(0,g.A)(()=>{const e=function(e){return"function"==typeof e?e():e}(t)||(0,h.A)(y.current).body;k.add(E(),e),_.current&&R()}),I=()=>k.isTopModal(E()),P=(0,g.A)(e=>{y.current=e,e&&(v.current=e,c&&I()?R():_.current&&x(_.current,C))}),j=n.useCallback(()=>{k.remove(E(),C)},[C]);n.useEffect(()=>()=>{j()},[j]),n.useEffect(()=>{c?T():M&&i||j()},[c,j,M,i,T]);const O=e=>t=>{e.onKeyDown?.(t),"Escape"===t.key&&229!==t.which&&I()&&(t.stopPropagation(),l&&l(t,"escapeKeyDown"))},L=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&l&&l(t,"backdropClick")},D=c||!M||S?t:v.current??t;return{getRootProps:(t={})=>{const r=(0,m.A)(e);delete r.onTransitionEnter,delete r.onTransitionExited;const n={...r,...t};return{role:"presentation",...n,onKeyDown:O(n),ref:b}},getBackdropProps:(e={})=>{const t=e;return{"aria-hidden":!0,...t,onClick:L(t),open:c}},getTransitionProps:()=>({onEnter:p(()=>{A(!1),o&&o()},a?.props.onEnter??w),onExited:p(()=>{A(!0),s&&s(),i&&j()},a?.props.onExited??w)}),rootRef:b,portalRef:P,portalContainer:D,isTopModal:I,exited:S,hasTransition:M}};var M=r(16051),C=r(34947);function E(e){return(0,C.Ay)("MuiModal",e)}(0,M.A)("MuiModal",["root","hidden","backdrop"]);var R=r(49873),T=r(74848);const I=(0,l.A)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})((0,c.A)(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]}))),P=(0,l.A)(d.A,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),j=n.forwardRef(function(e,t){const r=(0,u.b)({name:"MuiModal",props:e}),{classes:l,className:c,closeAfterTransition:d=!1,children:h,container:f,component:g,disableAutoFocus:p=!1,disableEnforceFocus:m=!1,disablePortal:y=!1,disableRestoreFocus:v=!1,disableScrollLock:x=!1,hideBackdrop:_=!1,keepMounted:b=!1,onClose:S,onTransitionEnter:w,onTransitionExited:k,open:M,slotProps:C={},slots:j={},theme:O,...L}=r,D={...r,closeAfterTransition:d,disableAutoFocus:p,disableEnforceFocus:m,disablePortal:y,disableRestoreFocus:v,disableScrollLock:x,hideBackdrop:_,keepMounted:b},{getRootProps:F,getBackdropProps:N,getTransitionProps:$,portalRef:z,portalContainer:B,isTopModal:G,exited:W,hasTransition:Y}=A({...D,rootRef:t}),V={...D,exited:W},q=(e=>{const{open:t,exited:r,classes:n}=e,i={root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]};return(0,o.A)(i,E,n)})(V),K={};if(void 0===h.props.tabIndex&&(K.tabIndex="-1"),Y){const{onEnter:e,onExited:t}=$();K.onEnter=e,K.onExited=t}const X={slots:j,slotProps:C},[H,U]=(0,R.A)("root",{ref:t,elementType:I,externalForwardedProps:{...X,...L,c
125omponent:g},getSlotProps:F,ownerState:V,className:(0,i.A)(c,q?.root,!V.open&&V.exited&&q?.hidden)}),[Z,J]=(0,R.A)("backdrop",{elementType:P,externalForwardedProps:X,shouldForwardComponentProp:!0,getSlotProps:e=>N({...e,onClick:t=>{e?.onClick&&e.onClick(t)}}),className:q?.backdrop,ownerState:V});return b||M||Y&&!W?(0,T.jsx)(a.A,{ref:z,container:B,disablePortal:y,children:(0,T.jsxs)(H,{...U,children:[_?null:(0,T.jsx)(Z,{...J}),(0,T.jsx)(s.A,{disableEnforceFocus:m,disableAutoFocus:p,disableRestoreFocus:v,isEnabled:G,open:M,children:n.cloneElement(h,K)})]})}):null})},72515(e,t,r){"use strict";r.d(t,{A:()=>v});var n=r(96540),i=r(34164),o=r(46797),s=r(14799),a=r(9594),l=r(21043),c=r(96942),u=r(54317),d=r(47309),h=r(16051),f=r(34947);function g(e){return(0,f.Ay)("MuiPaper",e)}(0,h.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"]);var p=r(42788),m=r(74848);const y=(0,a.A)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,"elevation"===r.variant&&t[`elevation${r.elevation}`]]}})((0,c.A)(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,...(0,p.yP)(e,"box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),v=n.forwardRef(function(e,t){const r=(0,u.b)({props:e,name:"MuiPaper"}),n=(0,l.A)(),{className:a,component:c="div",elevation:h=1,square:f=!1,variant:p="elevation",...v}=r,x={...r,component:c,elevation:h,square:f,variant:p},_=(e=>{const{square:t,elevation:r,variant:n,classes:i}=e,s={root:["root",n,!t&&"rounded","elevation"===n&&`elevation${r}`]};return(0,o.A)(s,g,i)})(x);return(0,m.jsx)(y,{as:c,ownerState:x,className:(0,i.A)(_.root,a),ref:t,...v,style:{..."elevation"===p&&{"--Paper-shadow":(n.vars||n).shadows[h],...n.vars&&{"--Paper-overlay":n.vars.overlays?.[h]},...!n.vars&&"dark"===n.palette.mode&&{"--Paper-overlay":`linear-gradient(${(0,s.X4)("#fff",(0,d.A)(h))}, ${(0,s.X4)("#fff",(0,d.A)(h))})`}},...v.style}})})},71997(e,t,r){"use strict";var n=r(96540),i=r(40961),o=r(7303),s=r(95313),a=r(7667),l=r(69753);const c=n.forwardRef(function(e,t){const{children:r,container:c,disablePortal:u=!1}=e,[d,h]=n.useState(null),f=(0,s.A)(n.isValidElement(r)?(0,l.A)(r):null,t);if((0,o.A)(()=>{u||h(function(e){return"function"==typeof e?e():e}(c)||document.body)},[c,u]),(0,o.A)(()=>{if(d&&!u)return(0,a.A)(t,d),()=>{(0,a.A)(t,null)}},[t,d,u]),u){if(n.isValidElement(r)){const e={ref:f};return n.cloneElement(r,e)}return r}return d?i.createPortal(r,d):d});r.d(t,["A",0,c])},57889(e,t,r){"use strict";r.d(t,{A:()=>j});var n=r(96540),i=r(34164),o=r(46797),s=r(16198),a=r(71676),l=r(68374),c=r(9594),u=r(90327),d=r(9404),h=r(78022),f=r(16051),g=r(34947);function p(e){return(0,g.Ay)("PrivateSwitchBase",e)}(0,f.A)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var m=r(49873),y=r(74848);const v=(0,c.A)(h.A,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>"start"===e&&"small"!==t.size,style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>"end"===e&&"small"!==t.size,style:{marginRight:-12}}]}),x=(0,c.A)("input",{name:"MuiSwitchBase",shouldForwardProp:l.A})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),_=n.forwardRef(function(e,t){const{autoFocus:r,checked:n,checkedIcon:i,defaultChecked:a,disabled:l,disableFocusRipple:c=!1,edge:h=!1,icon:f,id:g,name:_,onBlur:b,onChange:S,onFocus:w,readOnly:k,required:A=!1,tabIndex:M,type:C,value:E,slots:R={},slotProps:T={},...I}=e,{nativeButton:P,...j}=I,[O,L]=(0,u.A)({controlled:n,default:Boolean(a),name:"SwitchBase",state:"checked"}),D=(0,d.A)();let F=l;D&&void 0===F&&(F=D.disabled);const N="checkbox"===C||"radio"===C,$={...e,checked:O,disabled:F,disableFocusRipple:c,edge:h},z=(e=>{const{classes:t,checked:r,disabled:n,edge:i}=e,a={root:["root",r&&"checked",n&&"disabled",i&&`edge${(0,s.A)(i)}`],input:["input"]};return(0,o.A)(a,p,t)})($),B={slots:R,slotProps:T},[G,W]=(0,m.A)("root",{ref:t,elementType:v,className:z.root,shouldForwardComponentProp:!0,externalForwardedProps:{...B,component:"span",...j},getSlotProps:e=>({...e,onFocus:t=>{e.onFocus?.(t),(e=>{w&&w(e),D&&D.onFocus&&D.onFocus(e)})(t)},onBlur:t=>{e.onBlur?.(t),(e=>{b&&b(e),D&&D.onBlur&&D.onBlur(e)})(t)}}),ownerState:$,additionalProps:{centerRipple:!0,focusRipple:!c,role:void 0,tabIndex:null,internalDisabledThemeFocusVisible:!0}}),[Y,V]=(0,m.A)("input",{elementType:x,className:z.input,externalForwardedProps:B,getSlotProps:e=>({...e,onChange:t=>{e.onChange?.(t),(e=>{if(e.nativeEvent.defaultPrevented||k)return;const t=e.target.checked;L(t),S&&S(e,t)})(t)}}),ownerState:$,additionalProps:{autoFocus:r,checked:n,defaultChecked:a,disabled:F,id:N?g
125:void 0,name:_,readOnly:k,required:A,tabIndex:M,type:C,..."checkbox"===C&&void 0===E?{}:{value:E}}});return(0,y.jsxs)(G,{...W,children:[(0,y.jsx)(Y,{...V}),O?i:f]})});var b=r(96942),S=r(54317);function w(e){return(0,g.Ay)("MuiSwitch",e)}const k=(0,f.A)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);var A=r(31113),M=r(97873),C=r(93574),E=r(42788);const R=(0,c.A)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.edge&&t[`edge${(0,s.A)(r.edge)}`],t[`size${(0,s.A)(r.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,[`& .${k.thumb}`]:{width:16,height:16},[`& .${k.switchBase}`]:{padding:4,[`&.${k.checked}`]:{transform:"translateX(16px)"}}}}]}),T=(0,c.A)(_,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.switchBase,{[`& .${k.input}`]:t.input},"default"!==r.color&&t[`color${(0,s.A)(r.color)}`]]}})((0,b.A)(({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]}`,...(0,E.yP)(e,["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${k.checked}`]:{transform:"translateX(20px)"},[`&.${k.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},...e.focusVisible?{[`&.${A.A.focusVisible} ~ .${k.track}`]:{...M.Jc,...e.focusVisible},[`&.${k.checked} + .${k.track}`]:{backgroundColor:e.alpha(e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,.5)},[`&.${k.disabled} + .${k.track}`]:{backgroundColor:e.alpha(e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2))}}:{[`&.${k.checked} + .${k.track}`]:{opacity:.5},[`&.${k.disabled} + .${k.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)}},[`& .${k.input}`]:{left:"-100%",width:"300%"}})),(0,b.A)(({theme:e})=>({"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter((0,a.A)(["light"])).map(([t])=>({props:{color:t},style:{[`&.${k.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${k.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${"light"===e.palette.mode?e.lighten(e.palette[t].main,.62):e.darken(e.palette[t].main,.55)}`}},[`&.${k.checked} + .${k.track}`]:{backgroundColor:(e.vars||e).palette[t].main},...e.focusVisible&&{[`&.${k.checked} + .${k.track}`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,.5)},[`&.${k.disabled} + .${k.track}`]:{backgroundColor:e.alpha(e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2))},[`&.${k.checked}.${k.disabled} + .${k.track}`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2))}}}}))]}))),I=(0,c.A)("span",{name:"MuiSwitch",slot:"Track"})((0,b.A)(({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,...(0,E.yP)(e,["opacity","background-color"],{duration:e.transitions.duration.shortest}),"@media (forced-colors: active)":{boxSizing:"border-box",border:"1px solid ButtonBorder"},...e.focusVisible?{backgroundColor:e.alpha(e.vars?e.vars.palette.common.onBackgroun
125d:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,e.vars?e.vars.opacity.switchTrack:""+("light"===e.palette.mode?.38:.3))}:{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)}}))),P=(0,c.A)("span",{name:"MuiSwitch",slot:"Thumb"})((0,b.A)(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",boxSizing:"border-box",border:"1px solid transparent",width:20,height:20,borderRadius:"50%"}))),j=n.forwardRef(function(e,t){const r=(0,S.b)({props:e,name:"MuiSwitch"}),{className:n,color:a="primary",edge:l=!1,size:c="medium",sx:u,slots:d={},slotProps:h={},...f}=r,g={...r,color:a,edge:l,size:c},p=(e=>{const{classes:t,edge:r,size:n,color:i,checked:a,disabled:l}=e,c={root:["root",r&&`edge${(0,s.A)(r)}`,`size${(0,s.A)(n)}`],switchBase:["switchBase",`color${(0,s.A)(i)}`,a&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},u=(0,o.A)(c,w,t);return{...t,...u}})(g),v=h.input,x={slots:d,slotProps:h},[_,b]=(0,m.A)("root",{className:(0,i.A)(p.root,n),elementType:R,externalForwardedProps:x,ownerState:g,additionalProps:{sx:u}}),[k,A]=(0,m.A)("thumb",{className:p.thumb,elementType:P,externalForwardedProps:x,ownerState:g}),M=(0,y.jsx)(k,{...A}),[E,j]=(0,m.A)("track",{className:p.track,elementType:I,externalForwardedProps:x,ownerState:g});return(0,y.jsxs)(_,{...b,children:[(0,y.jsx)(T,{type:"checkbox",icon:M,checkedIcon:M,ref:t,ownerState:g,...f,classes:{...p,root:p.switchBase},slots:{...d.switchBase&&{root:d.switchBase},...d.input&&{input:d.input}},slotProps:{...h.switchBase&&{root:"function"==typeof h.switchBase?h.switchBase(g):h.switchBase},input:(0,C.A)("function"==typeof v?v(g):v,{role:"switch"})}}),(0,y.jsx)(E,{...j})]})})},59763(e,t,r){"use strict";var n=r(96540),i=r(34164),o=r(46797),s=r(9594),a=r(96942),l=r(54317),c=r(16198),u=r(71676),d=r(97857),h=r(74848);const f=(0,s.A)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${(0,c.A)(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom]}})((0,a.A)(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([e,t])=>"inherit"!==e&&t&&"object"==typeof t).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter((0,u.A)()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>"string"==typeof e).map(([t])=>({props:{color:`text${(0,c.A)(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>"inherit"!==e.align,style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}}]}))),g={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},p=n.forwardRef(function(e,t){const r=(0,l.b)({props:e,name:"MuiTypography"}),{color:n,align:s="inherit",className:a,component:u,gutterBottom:p=!1,noWrap:m=!1,variant:y="body1",variantMapping:v=g,...x}=r,_={...r,align:s,color:n,className:a,component:u,gutterBottom:p,noWrap:m,variant:y,variantMapping:v},b=u||v[y]||g[y]||"span",S=(e=>{const{align:t,gutterBottom:r,noWrap:n,variant:i,classes:s}=e,a={root:["root",i,"inherit"!==e.align&&`align${(0,c.A)(t)}`,r&&"gutterBottom",n&&"noWrap"]};return(0,o.A)(a,d.y,s)})(_);return(0,h.jsx)(f,{as:b,ref:t,className:(0,i.A)(S.root,a),...x,ownerState:_,style:{..."inherit"!==s&&{"--Typography-textAlign":s},...x.style}})});r.d(t,["A",0,p])},97857(e,t,r){"use strict";r.d(t,{y:()=>o});var n=r(16051),i=r(34947);function o(e){return(0,i.Ay)("MuiTypography",e)}const s=(0,n.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom"]);r.d(t,["A",0,s])},35084(e,t,r){"use strict";var n=r(96540),i=r(95313),o=r(98003),s=r(69753),a=r(71191),l=r(99122),c=r(32612),u=r(74848);const d=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function h(e){const t=parseInt(e.getAttribute("tabindex")||"",10);
125return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}function f(e){const t=[],r=[];return Array.from(e.querySelectorAll(d)).forEach((e,n)=>{const i=h(e);-1!==i&&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 r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e))}(e)&&(0===i?t.push(e):r.push({documentOrder:n,tabIndex:i,node:e}))}),r.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function g(){return!0}const p=function(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:d=!1,disableRestoreFocus:p=!1,getTabbable:m=f,isEnabled:y=g,open:v}=e,x=n.useRef(!1),_=n.useRef(null),b=n.useRef(null),S=n.useRef(null),w=n.useRef(null),k=n.useRef(!1),A=n.useRef(null),M=(0,i.A)((0,s.A)(t),A),C=n.useRef(null);n.useEffect(()=>{v&&A.current&&(k.current=!r)},[r,v]),n.useEffect(()=>{if(x.current=!1,!v||!A.current)return;const e=(0,o.A)(A.current),t=(0,l.A)(e),r=(0,c.U)(A.current)??A.current;return(0,a.A)(A.current,t)||(r.hasAttribute("tabIndex")||r.setAttribute("tabIndex","-1"),k.current&&r.focus()),()=>{!p&&S.current&&(x.current=!0,S.current.focus(),S.current=null)}},[v]),n.useEffect(()=>{if(!v||!A.current)return;const e=(0,o.A)(A.current),t=t=>{if(C.current=t,d||!y()||"Tab"!==t.key)return;const r=A.current,n=(0,l.A)(e);if(null===r)return;const i=(0,c.U)(r);if(n===r||n===i){const e=m(r);if(0===e.length)return;return t.preventDefault(),void(t.shiftKey?e[e.length-1].focus():e[0].focus())}if((0,a.A)(r,n)){const e=m(r),i=e.indexOf(n);if(-1===i)return;if(!e.some(e=>h(e)>0))return;t.preventDefault();let o=0;o=t.shiftKey?i<=0?e.length-1:i-1:i===e.length-1?0:i+1,e[o].focus()}},r=()=>{const t=A.current;if(null===t)return;const r=(0,l.A)(e);if(!e.hasFocus()||!y()||x.current)return void(x.current=!1);if((0,a.A)(t,r))return;if(d&&r!==_.current&&r!==b.current)return;if(r!==w.current)w.current=null;else if(null!==w.current)return;if(!k.current)return;let n=[];if(r!==_.current&&r!==b.current||(n=m(A.current)),n.length>0){const e=Boolean(C.current?.shiftKey&&"Tab"===C.current?.key),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);const n=setInterval(()=>{const t=(0,l.A)(e);t&&"BODY"===t.tagName&&r()},50);return()=>{clearInterval(n),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}},[r,d,p,y,v,m]);const E=e=>{null===S.current&&(S.current=e.relatedTarget),k.current=!0};return(0,u.jsxs)(n.Fragment,{children:[(0,u.jsx)("div",{tabIndex:v?0:-1,onFocus:E,ref:_,"data-testid":"sentinelStart"}),n.cloneElement(t,{ref:M,onFocus:e=>{null===S.current&&(S.current=e.relatedTarget),k.current=!0,w.current=e.target;const r=t.props.onFocus;r&&r(e)}}),(0,u.jsx)("div",{tabIndex:v?0:-1,onFocus:E,ref:b,"data-testid":"sentinelEnd"})]})};r.d(t,["A",0,p])},55657(e,t,r){"use strict";r.d(t,{A:()=>c});var n=r(96540),i=r(7303),o=r(4377);var s=r(17241),a=r(42788),l=r(74848);const c=function(e){const{in:t=!1,appear:r=!1,enter:c=!0,exit:u=!0,mountOnEnter:d=!1,unmountOnExit:h=!1,timeout:f,addEndListener:g,reduceMotion:p=!1,getAutoTimeout:m,nodeRef:y,onEnter:v,onEntering:x,onEntered:_,onExit:b,onExiting:S,onExited:w,children:k,...A}=e,M=n.useContext(s.A),C=M&&!M.isMounting?c:r,[E,R]=n.useState(()=>t?C?"exited":"entered":d||h?"unmounted":"exited"),T=n.useRef(E);T.current=E,t&&"unmounted"===E&&(T.current="exited",R("exited"));const I=n.useRef(t&&C),P=n.useRef(!1),j=n.useRef(null),O=n.useRef(E),L=n.useRef(!1),D=n.useRef(p),F=function(e){const t=(0,o.A)(()=>function(e){const t={current:e,next:e,effect:()=>{t.current=t.next}};return t}(e)).current;return t.next=e,(0,i.A)(t.effect),t}({timeout:f,addEndListener:g,reduceMotion:p,getAutoTimeout:m,onEnter:v,onEntering:x,onEntered:_,onExit:b,onExiting:S,onExited:w,enter:c,exit:u,mountOnEnter:d,unmountOnExit:h,nodeRef:y,parentGroup:M}),N=n.useCallback(()=>{null!==j.current&&(j.current.cancel(),j.current=null)},[]),$=n.useCallback(e=>{let t=!0;const r=()=>{t&&(t=!1,j.current=null,e())};return r.cancel=()=>{t=!1},j.current=r,r},[]),z=n.useCallback((e,t)=>{let r;const n=()=>{void 0!==r&&(clearTimeout(r),r=void 0)},i=$(()=>{n(),T.current=e,R(e)}),o=i.cancel;i.cancel=()=>{n(),o()};const s=F.current.nodeRef.current,a=F.current.addEndListener,l=void 0!==F.current.getAutoTimeout,c=F.current.getAutoTimeout?.(),u=function(e){if(null!=e.autoTimeout)return e.autoTimeout;const t=function(e){if(null==e)return{appear:void 0,enter:void 0,exit:void 0};if("number"==typeof e)return{appear:e,enter:e,exit:e};const t=e.enter,r=e.exit;return{appear:void 0!==e.appear?e.appear:t,enter:t,exit:r}}(e.timeout);return"entering"===e.currentStatus?e.isAppearing?t.appear??t.enter??null:t.enter??null:t.exit??null}({currentStatus:t,isAppearing:L.current,timeout:F.current.timeout,autoTimeout:c}),d=D.current,h=u??(d&&l?0:null),f=e=>{r=setTimeout(i,e)};if(s)return a?(null!=h&&f(d?0:h),void(a.length>=2?a(s,i):a(i))):void f(d?0:u??0);f(0)},[$,F]),B=n.useCallback(e=>{const t=F.current,r=t.parentGroup?t.parentGroup.isMounting:e;if(L.current=r,!e&&!t.enter)return T.current="entered",void R("entered");D.current=t.reduceMotion,t.onEnter?.(r),T.current="entering",R("entering")},[F]),G=n.useCallback(()=>{const e=F.current;if(!e.exit)return T.current="exited",void R("exited");
125D.current=e.reduceMotion,e.onExit?.(),T.current="exiting",R("exiting")},[F]),W=n.useCallback((e,t)=>{if(N(),"entering"===t){const t=F.current;if(t.mountOnEnter||t.unmountOnExit){const e=t.nodeRef.current;e&&(0,a.qm)(e)}B(e)}else G()},[N,B,G,F]);return(0,i.A)(()=>(P.current=!0,I.current&&(I.current=!1,W(!0,"entering")),()=>{P.current=!1,N()}),[N,W]),(0,i.A)(()=>{if(!P.current)return;const e=T.current;t?"entering"!==e&&"entered"!==e&&W(!1,"entering"):"entering"===e||"entered"===e?W(!1,"exiting"):"exited"===e&&h&&(T.current="unmounted",R("unmounted"))},[t,E,h,W]),(0,i.A)(()=>{if("unmounted"===E||"unmounted"===O.current)return void(O.current=E);const e=O.current!==E;e&&(O.current=E);const t=F.current;"entering"===E?(e&&t.onEntering?.(L.current),null===j.current&&T.current===E&&z("entered","entering")):"exiting"===E?(e&&t.onExiting?.(),null===j.current&&T.current===E&&z("exited","exiting")):"entered"===E&&e?t.onEntered?.(L.current):"exited"===E&&e&&t.onExited?.()},[F,z,E]),"unmounted"===E?null:(0,l.jsx)(s.A.Provider,{value:null,children:k(E,A)})}},39940(e,t,r){"use strict";r.d(t,{A:()=>B});var n=r(96540),i=r.t(n,2);const o=n.createContext(null);function s(){return n.useContext(o)}const a="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var l=r(74848);const c=function(e){const{children:t,theme:r}=e,i=s(),c=n.useMemo(()=>{const e=null===i?{...r}:function(e,t){if("function"==typeof t)return t(e);return{...e,...t}}(i,r);return null!=e&&(e[a]=null!==i),e},[r,i]);return(0,l.jsx)(o.Provider,{value:c,children:t})};var u=r(88617),d=r(48211),h=r(76186),f=r(45449),g=r(7303),p=r(93875),m=r(96423);const y={};function v(e,t,r,i=!1){return n.useMemo(()=>{const n=e&&t[e]||t;if("function"==typeof r){const o=r(n),s=e?{...t,[e]:o}:o;return i?()=>s:s}return e?{...t,[e]:r}:{...t,...r}},[e,t,r,i])}const x=function(e){const{children:t,theme:r,themeId:n}=e,i=(0,d.A)(y),o=s()||y,a=v(n,i,r),x=v(n,o,r,!0),_="rtl"===(n?a[n]:a).direction,b=function(e){const t=(0,d.A)(),r=(0,p.A)()||"",{modularCssLayers:n}=e;let i="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return i=n&&null===t?"string"==typeof n?n.replace(/mui(?!\.)/g,i):`@layer ${i};`:"",(0,g.A)(()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(i){if(t&&t.hasAttribute?.("data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===r)return;const n=document.createElement("style");n.setAttribute("data-mui-layer-order",r),n.textContent=i,e.prepend(n)}else e.querySelector(`style[data-mui-layer-order="${r}"]`)?.remove()},[i,r]),i?(0,l.jsx)(m.A,{styles:i}):null}(a);return(0,l.jsx)(c,{theme:x,children:(0,l.jsx)(u.T.Provider,{value:a,children:(0,l.jsx)(h.A,{value:_,children:(0,l.jsxs)(f.A,{value:n?a[n].components:a.components,children:[b,t]})})})})};var _=r(69106);function b({theme:e,...t}){const r=_.A in e?e[_.A]:void 0;return(0,l.jsx)(x,{...t,themeId:r?_.A:void 0,theme:r||e})}var S=r(95427),w=r(94644);const k="mode",A="color-scheme",M="data-color-scheme";({...i}).useSyncExternalStore;function C(e){const{defaultMode:t="system",defaultLightColorScheme:r="light",defaultDarkColorScheme:n="dark",modeStorageKey:i=k,colorSchemeStorageKey:o=A,attribute:s=M,colorSchemeNode:a="document.documentElement",nonce:c}=e||{};let u="",d=s;if("class"===s&&(d=".%s"),"data"===s&&(d="[data-%s]"),d.startsWith(".")){const e=d.substring(1);u+=`${a}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));\n ${a}.classList.add('${e}'.replace('%s', colorScheme));`}const h=d.match(/\[([^[\]]+)\]/);if(h){const[e,t]=h[1].split("=");t||(u+=`${a}.removeAttribute('${e}'.replace('%s', light));\n ${a}.removeAttribute('${e}'.replace('%s', dark));`),u+=`\n ${a}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:'""'});`}else".%s"!==d&&(u+=`${a}.setAttribute('${d}', colorScheme);`);return(0,l.jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?c:"",dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n let colorScheme = '';\n const mode = localStorage.getItem('${i}') || '${t}';\n const dark = localStorage.getItem('${o}-dark') || '${n}';\n const light = localStorage.getItem('${o}-light') || '${r}';\n if (mode === 'system') {\n // handle system mode\n const mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = dark\n } else {\n colorScheme = light\n }\n }\n if (mode === 'light') {\n colorScheme = light;\n }\n if (mode === 'dark') {\n colorScheme = dark;\n }\n if (colorScheme) {\n ${u}\n }\n} catch(e){}})();`}},"mui-color-scheme-init")}function E(){}const R=({key:e,storageWindow:t})=>(t||"undefined"==typeof window||(t=window),{get(r){if("undefined"==typeof window)return;if(!t)return r;let n;try{n=t.localStorage.getItem(e)}catch{}return n||r},set:r=>{if(t)try{t.localStorage.setItem(e,r)}catch{}},subscribe:r=>{if(!t)return E;const n=t=>{const n=t.newValue;t.key===e&&r(n)};
125return t.addEventListener("storage",n),()=>{t.removeEventListener("storage",n)}}});function T(){}function I(e){if("undefined"!=typeof window&&"function"==typeof window.matchMedia&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function P(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 j(e){const{defaultMode:t="light",defaultLightColorScheme:r,defaultDarkColorScheme:i,supportedColorSchemes:o=[],modeStorageKey:s="mode",colorSchemeStorageKey:a=A,storageWindow:l=("undefined"==typeof window?void 0:window),storageManager:c=R,noSsr:u=!1}=e,d=o.join(","),h=o.length>1,f=n.useMemo(()=>c?.({key:s,storageWindow:l}),[c,s,l]),g=n.useMemo(()=>c?.({key:`${a}-light`,storageWindow:l}),[c,a,l]),p=n.useMemo(()=>c?.({key:`${a}-dark`,storageWindow:l}),[c,a,l]),[m,y]=n.useState(()=>{const e=f?.get(t)||t,n=g?.get(r)||r,o=p?.get(i)||i;return{mode:e,systemMode:I(e),lightColorScheme:n,darkColorScheme:o}}),[v,x]=n.useState(u||!h);n.useEffect(()=>{x(!0)},[]);const _=function(e){return P(e,t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0)}(m),b=n.useCallback(e=>{y(r=>{if(e===r.mode)return r;const n=e??t;return f?.set(n),{...r,mode:n,systemMode:I(n)}})},[f,t]),S=n.useCallback(e=>{e?"string"==typeof e?e&&!d.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):y(t=>{const r={...t};return P(t,t=>{"light"===t&&(g?.set(e),r.lightColorScheme=e),"dark"===t&&(p?.set(e),r.darkColorScheme=e)}),r}):y(t=>{const n={...t},o=null===e.light?r:e.light,s=null===e.dark?i:e.dark;return o&&(d.includes(o)?(n.lightColorScheme=o,g?.set(o)):console.error(`\`${o}\` does not exist in \`theme.colorSchemes\`.`)),s&&(d.includes(s)?(n.darkColorScheme=s,p?.set(s)):console.error(`\`${s}\` does not exist in \`theme.colorSchemes\`.`)),n}):y(e=>(g?.set(r),p?.set(i),{...e,lightColorScheme:r,darkColorScheme:i}))},[d,g,p,r,i]),w=n.useCallback(e=>{"system"===m.mode&&y(t=>{const r=e?.matches?"dark":"light";return t.systemMode===r?t:{...t,systemMode:r}})},[m.mode]),k=n.useRef(w);return k.current=w,n.useEffect(()=>{if("function"!=typeof window.matchMedia||!h)return;const e=(...e)=>k.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}},[h]),n.useEffect(()=>{if(h){const e=f?.subscribe(e=>{e&&!["light","dark","system"].includes(e)||b(e||t)})||T,r=g?.subscribe(e=>{e&&!d.match(e)||S({light:e})})||T,n=p?.subscribe(e=>{e&&!d.match(e)||S({dark:e})})||T;return()=>{e(),r(),n()}}},[S,b,d,t,l,h,f,g,p]),{...m,mode:v?m.mode:void 0,systemMode:v?m.systemMode:void 0,colorScheme:v?_:void 0,setMode:b,setColorScheme:S}}var O=r(61429),L=r(51432);const D={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};const{CssVarsProvider:F,useColorScheme:N,getInitColorSchemeScript:$}=function(e){const{themeId:t,theme:r={},modeStorageKey:i="mode",colorSchemeStorageKey:o=A,disableTransitionOnChange:a=!1,defaultColorScheme:c,resolveTheme:u}=e,d={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},h=n.createContext(void 0),f={},p={},m="string"==typeof c?c:c.light,y="string"==typeof c?c:c.dark;return{CssVarsProvider:function(e){const{children:d,theme:m,modeStorageKey:y=i,colorSchemeStorageKey:v=o,disableTransitionOnChange:_=a,storageManager:b,storageWindow:S=("undefined"==typeof window?void 0:window),documentNode:k=("undefined"==typeof document?void 0:document),colorSchemeNode:A=("undefined"==typeof document?void 0:document.documentElement),disableNestedContext:M=!1,disableStyleSheetGeneration:C=!1,defaultMode:E="system",forceThemeRerender:R=!1,noSsr:T}=e,I=n.useRef(!1),P=s(),O=n.useContext(h),L=!!O&&!M,D=n.useMemo(()=>m||("function"==typeof r?r():r),[m]),F=D[t],N=F||D,{colorSchemes:$=f,components:z=p,cssVarPrefix:B}=N,G=Object.keys($).filter(e=>!!$[e]).join(","),W=n.useMemo(()=>G.split(","),[G]),Y="string"==typeof c?c:c.light,V="string"==typeof c?c:c.dark,q=$[Y]&&$[V]?E:$[
125N.defaultColorScheme]?.palette?.mode||N.palette?.mode,{mode:K,setMode:X,systemMode:H,lightColorScheme:U,darkColorScheme:Z,colorScheme:J,setColorScheme:Q}=j({supportedColorSchemes:W,defaultLightColorScheme:Y,defaultDarkColorScheme:V,modeStorageKey:y,colorSchemeStorageKey:v,defaultMode:q,storageManager:b,storageWindow:S,noSsr:T});let ee=K,te=J;L&&(ee=O.mode,te=O.colorScheme);let re=te||N.defaultColorScheme;N.vars&&!R&&(re=N.defaultColorScheme);const ne=n.useMemo(()=>{const e=N.generateThemeVars?.()||N.vars,t={...N,components:z,colorSchemes:$,cssVarPrefix:B,vars:e};if("function"==typeof t.generateSpacing&&(t.spacing=t.generateSpacing()),re){const e=$[re];e&&"object"==typeof e&&Object.keys(e).forEach(r=>{e[r]&&"object"==typeof e[r]?t[r]={...t[r],...e[r]}:t[r]=e[r]})}return u?u(t):t},[N,re,z,$,B]),ie=N.colorSchemeSelector;(0,g.A)(()=>{if(te&&A&&ie&&"media"!==ie){const e=ie;let t=ie;if("class"===e&&(t=".%s"),"data"===e&&(t="[data-%s]"),e?.startsWith("data-")&&!e.includes("%s")&&(t=`[${e}="%s"]`),t.startsWith("."))A.classList.remove(...W.map(e=>t.substring(1).replace("%s",e))),A.classList.add(t.substring(1).replace("%s",te));else{const e=t.replace("%s",te).match(/\[([^\]]+)\]/);if(e){const[t,r]=e[1].split("=");r||W.forEach(e=>{A.removeAttribute(t.replace(te,e))}),A.setAttribute(t,r?r.replace(/"|'/g,""):"")}else A.setAttribute(t,te)}}},[te,ie,A,W]),n.useEffect(()=>{let e;if(_&&I.current&&k){const t=k.createElement("style");t.appendChild(k.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),k.head.appendChild(t),window.getComputedStyle(k.body),e=setTimeout(()=>{k.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[te,_,k]),n.useEffect(()=>(I.current=!0,()=>{I.current=!1}),[]);const oe=n.useMemo(()=>({allColorSchemes:W,colorScheme:te,darkColorScheme:Z,lightColorScheme:U,mode:ee,setColorScheme:Q,setMode:X,systemMode:H}),[W,te,Z,U,ee,Q,X,H,ne.colorSchemeSelector]);let se=!0;(C||!1===N.cssVariables||L&&P?.cssVarPrefix===B)&&(se=!1);const ae=(0,l.jsxs)(n.Fragment,{children:[(0,l.jsx)(x,{themeId:F?t:void 0,theme:ne,children:d}),se&&(0,l.jsx)(w.A,{styles:ne.generateStyleSheets?.()||[]})]});return L?ae:(0,l.jsx)(h.Provider,{value:oe,children:ae})},useColorScheme:()=>n.useContext(h)||d,getInitColorSchemeScript:e=>C({colorSchemeStorageKey:o,defaultLightColorScheme:m,defaultDarkColorScheme:y,modeStorageKey:i,...e})}}({themeId:_.A,theme:()=>(0,O.A)({cssVariables:!0}),colorSchemeStorageKey:D.colorSchemeStorageKey,modeStorageKey:D.modeStorageKey,defaultColorScheme:{light:D.defaultLightColorScheme,dark:D.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:(0,L.A)(e.palette,e.typography)};return t.unstable_sx=function(e){return(0,S.A)({sx:e,theme:this})},t}});const z=F;function B({theme:e,...t}){const r=n.useMemo(()=>{if("function"==typeof e)return e;const t=_.A in e?e[_.A]:e;return"colorSchemes"in t?null:"vars"in t?e:{...e,vars:null}},[e]);return r?(0,l.jsx)(b,{theme:r,...t}):(0,l.jsx)(z,{theme:e,...t})}},61429(e,t,r){"use strict";r.d(t,{A:()=>oe});var n=r(10267),i=r(86240),o=r(14799);const s={black:"#000",white:"#fff"},a={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"},l={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"},c={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"},u={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"},d={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"},h={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"},f={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"};function g(){return{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:s.white,default:s.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)",disabledBackgroun
125d:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const p=g();function m(){return{text:{primary:s.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:s.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}}}const y=m();function v(e,t,r,n){const i=n.light||n,s=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,o.a)(e.main,i):"dark"===t&&(e.dark=(0,o.e$)(e.main,s)))}function x(e,t,r,n,i){const o=i.light||i,s=i.dark||1.5*i;t[r]||(t.hasOwnProperty(n)?t[r]=t[n]:"light"===r?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(100*o).toFixed(0)}%)`:"dark"===r&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(100*s).toFixed(0)}%)`))}function _(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:_=.2,colorSpace:b,...S}=e,w=e.primary||function(e="light"){return"dark"===e?{main:d[200],light:d[50],dark:d[400]}:{main:d[700],light:d[400],dark:d[800]}}(t),k=e.secondary||function(e="light"){return"dark"===e?{main:l[200],light:l[50],dark:l[400]}:{main:l[500],light:l[300],dark:l[700]}}(t),A=e.error||function(e="light"){return"dark"===e?{main:c[500],light:c[300],dark:c[700]}:{main:c[700],light:c[400],dark:c[800]}}(t),M=e.info||function(e="light"){return"dark"===e?{main:h[400],light:h[300],dark:h[700]}:{main:h[700],light:h[500],dark:h[900]}}(t),C=e.success||function(e="light"){return"dark"===e?{main:f[400],light:f[300],dark:f[700]}:{main:f[800],light:f[500],dark:f[900]}}(t),E=e.warning||function(e="light"){return"dark"===e?{main:u[400],light:u[300],dark:u[700]}:{main:"#ed6c02",light:u[500],dark:u[900]}}(t);function R(e){if(b)return function(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}(e);return(0,o.eM)(e,y.text.primary)>=r?y.text.primary:p.text.primary}const T=({color:e,name:t,mainShade:r=500,lightShade:i=300,darkShade:o=700})=>{if(!(e={...e}).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error((0,n.A)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error((0,n.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return b?(x(b,e,"light",i,_),x(b,e,"dark",o,_)):(v(e,"light",i,_),v(e,"dark",o,_)),e.contrastText||(e.contrastText=R(e.main)),e};let I;"light"===t?I=g():"dark"===t&&(I=m());return(0,i.A)({common:{...s},mode:t,primary:T({color:w,name:"primary"}),secondary:T({color:k,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:T({color:A,name:"error"}),warning:T({color:E,name:"warning"}),info:T({color:M,name:"info"}),success:T({color:C,name:"success"}),grey:a,contrastThreshold:r,getContrastText:R,augmentColor:T,tonalOffset:_,...I},S)}var b=r(97873);function S(e=""){function t(...r){if(!r.length)return"";const n=r[0];return"string"!=typeof n||n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${n}`:`, var(--${e?`${e}-`:""}${n}${t(...r.slice(1))})`}return(r,...n)=>`var(--${e?`${e}-`:""}${r}${t(...n)})`}var w=r(29427),k=r(7919);function A(e){const t={};return Object.entries(e).forEach(e=>{const[r,n]=e;"object"==typeof n&&(t[r]=`${n.fontStyle?`${n.fontStyle} `:""}${n.fontVariant?`${n.fontVariant} `:""}${n.fontWeight?`${n.fontWeight} `:""}${n.fontStretch?`${n.fontStretch} `:""}${n.fontSize||""}${n.lineHeight?`/${n.lineHeight} `:""}${n.fontFamily||""}`)}),t}const M=new Set(["__proto__","constructor","prototype"]),C=(e,t,r,n=[])=>{let i=e;for(let e=0;e<t.length;e+=1){const o=t[e];if(M.has(o))break;e===t.length-1?Array.isArray(i)?i[Number(o)]=r:i&&"object"==typeof i&&(i[o]=r):i&&"object"==typeof i&&(i[o]||(i[o]=n.includes(o)?[]:{}),i=i[o])}};function E(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},i={},o={},s={};var a,l;return a=(e,t,a)=>{if(!("string"!=typeof t&&"number"!=typeof t||n&&n(e,t))){const n=`--${r?`${r}-`:""}${e.join("-")}`,l=((e,t)=>
125"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t)(e,t);Object.assign(i,{[n]:l}),C(o,e,`var(${n})`,a),C(s,e,`var(${n}, ${l})`,a)}},l=e=>"vars"===e[0],function e(t,r=[],n=[]){Object.entries(t).forEach(([t,i])=>{(!l||l&&!l([...r,t]))&&null!=i&&("object"==typeof i&&Object.keys(i).length>0?e(i,[...r,t],Array.isArray(i)?[...n,t]:n):a([...r,t],i,n))})}(e),{css:i,vars:o,varsWithDefaults:s}}const R=function(e,t={}){const{getSelector:r=v,disableCssColorScheme:n,colorSchemeSelector:o,enableContrastVars:s}=t,{colorSchemes:a={},components:l,defaultColorScheme:c="light",...u}=e,{vars:d,css:h,varsWithDefaults:f}=E(u,t);let g=f;const p={},{[c]:m,...y}=a;if(Object.entries(y||{}).forEach(([e,r])=>{const{vars:n,css:o,varsWithDefaults:s}=E(r,t);g=(0,i.A)(g,s),p[e]={css:o,vars:n}}),m){const{css:e,vars:r,varsWithDefaults:n}=E(m,t);g=(0,i.A)(g,n),p[c]={css:e,vars:r}}function v(t,r){let n=o;if("class"===o&&(n=".%s"),"data"===o&&(n="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(n=`[${o}="%s"]`),t){if("media"===n){if(e.defaultColorScheme===t)return":root";const n=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${n})`]:{":root":r}}}if(n)return e.defaultColorScheme===t?`:root, ${n.replace("%s",String(t))}`:n.replace("%s",String(t))}return":root"}return{vars:g,generateThemeVars:()=>{let e={...d};return Object.entries(p).forEach(([,{vars:t}])=>{e=(0,i.A)(e,t)}),e},generateStyleSheets:()=>{const t=[],i=e.defaultColorScheme||"light";function o(e,r){Object.keys(r).length&&t.push("string"==typeof e?{[e]:{...r}}:e)}o(r(void 0,{...h}),h);const{[i]:l,...c}=p;if(l){const{css:e}=l,t=a[i]?.palette?.mode,s=!n&&t?{colorScheme:t,...e}:{...e};o(r(i,{...s}),s)}return Object.entries(c).forEach(([e,{css:t}])=>{const i=a[e]?.palette?.mode,s=!n&&i?{colorScheme:i,...t}:{...t};o(r(e,{...s}),s)}),s&&t.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),t}}};
125var T=r(30456),I=r(95427),P=r(33093);var j=r(51432);function O(...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 L=["none",O(0,2,1,-1,0,1,1,0,0,1,3,0),O(0,3,1,-2,0,2,2,0,0,1,5,0),O(0,3,3,-2,0,3,4,0,0,1,8,0),O(0,2,4,-1,0,4,5,0,0,1,10,0),O(0,3,5,-1,0,5,8,0,0,1,14,0),O(0,3,5,-1,0,6,10,0,0,1,18,0),O(0,4,5,-2,0,7,10,1,0,2,16,1),O(0,5,5,-3,0,8,10,1,0,3,14,2),O(0,5,6,-3,0,9,12,1,0,3,16,2),O(0,6,6,-3,0,10,14,1,0,4,18,3),O(0,6,7,-4,0,11,15,1,0,4,20,3),O(0,7,8,-4,0,12,17,2,0,5,22,4),O(0,7,8,-4,0,13,19,2,0,5,24,4),O(0,7,9,-4,0,14,21,2,0,5,26,4),O(0,8,9,-5,0,15,22,2,0,6,28,5),O(0,8,10,-5,0,16,24,2,0,6,30,5),O(0,8,11,-5,0,17,26,2,0,6,32,5),O(0,9,11,-5,0,18,28,2,0,7,34,6),O(0,9,12,-6,0,19,29,2,0,7,36,6),O(0,10,13,-6,0,20,31,3,0,8,38,7),O(0,10,13,-6,0,21,33,3,0,8,40,7),O(0,10,14,-6,0,22,35,3,0,8,42,7),O(0,11,14,-7,0,23,36,3,0,9,44,8),O(0,11,15,-7,0,24,38,3,0,9,46,8)];var D=r(42685);const F={};function N(e=F){return{reducedMotion:"never",...e}}const $={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function z(e){return(0,i.Q)(e)||void 0===e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e||Array.isArray(e)}function B(e={}){const t={...e};return function e(t){const r=Object.entries(t);for(let n=0;n<r.length;n++){const[o,s]=r[n];!z(s)||o.startsWith("unstable_")||o.startsWith("internal_")?delete t[o]:(0,i.Q)(s)&&(t[o]={...s},e(t[o]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.motion = { reducedMotion: 'never', ...theme.motion };\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}function G(e){return"number"==typeof e?`${(100*e).toFixed(0)}%`:`calc((${e}) * 100%)`}function W(e){Object.assign(e,{alpha(t,r){const n=this||e;return n.colorSpace?`oklch(from ${t} l c h / ${"string"==typeof r?`calc(${r})`:r})`:n.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${"string"==typeof r?`calc(${r})`:r})`:(0,o.X4)(t,(e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let r=0;for(let e=0;e<t.length;e+=1)r+=+t[e];return r})(r))},lighten(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #fff ${G(r)})`:(0,o.a)(t,r)},darken(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #000 ${G(r)})`:(0,o.e$)(t,r)}})}const Y=function(e={},...t){const{breakpoints:r,mixins:o={},spacing:s,palette:a={},motion:l={},transitions:c={},typography:u={},shape:d,colorSpace:h,...f}=e;if(e.vars&&void 0===e.generateThemeVars)throw new Error((0,n.A)(22));const g=_({...a,colorSpace:h}),p=(0,P.A)(e);let m=(0,i.A)(p,{mixins:(y=p.breakpoints,v=o,{toolbar:{minHeight:56,[y.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[y.up("sm")]:{minHeight:64}},...v}),palette:g,shadows:L.slice(),typography:(0,j.A)(g,u),motion:N(l),transitions:(0,D.Ay)(c),zIndex:{...$}});var y,v;return m=(0,i.A)(m,f),m=t.reduce((e,t)=>(0,i.A)(e,t),m),delete m.transitions.reducedMotion,null!=m.focusVisible&&!1!==m.focusVisible&&(m.focusVisible=(0,b.TX)(m.focusVisible,m.palette.primary.main)),m.unstable_sxConfig={...T.A,...f?.unstable_sxConfig},m.unstable_sx=function(e){return(0,I.A)({sx:e,theme:this})},m.toRuntimeSource=B,W(m),m};var V=r(47309);const q=[...Array(25)].map((e,t)=>{if(0===t)return"none";const r=(0,V.A)(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function K(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function X(e){return"dark"===e?q:[]}function H(e){return"motion"===e[0]||"focusVisible"===e[0]||!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const U=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Z=e=>(t,r)=>{const n=e.rootSelector||":root",i=e.colorSchemeSelector;let o=i;if("class"===i&&(o=".%s"),"data"===i&&(o="[data-%s]"),i?.startsWith("data-")&&!i.includes("%s")&&(o=`[${i}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const i={};
vendor: 2,234 bytes, line 125
125return U(e.cssVarPrefix).forEach(e=>{i[e]=r[e],delete r[e]}),"media"===o?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:i}}:o?{[o.replace("%s",t)]:i,[`${n}, ${o.replace("%s",t)}`]:r}:{[n]:{...r,...i}}}if(o&&"media"!==o)return`${n}, ${o.replace("%s",String(t))}`}else if(t){if("media"===o)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(o)return o.replace("%s",String(t))}return n};function J(e,t,r){!e[t]&&r&&(e[t]=r)}function Q(e){return"string"==typeof e&&e.startsWith("hsl")?(0,o.YL)(e):e}function ee(e,t){`${t}Channel`in e||(e[`${t}Channel`]=(0,o.Me)(Q(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.`))}r.dn(Z);const te=e=>{try{return e()}catch(e){}};function re(e,t,r,n,i){if(!r)return;r=!0===r?{}:r;const o="dark"===i?"dark":"light";if(!n)return void(t[i]=function(e){const{palette:t={mode:"light"},opacity:r,overlays:n,colorSpace:i,...o}=e,s=_({...t,colorSpace:i});return{palette:s,opacity:{...K(s.mode),...r},overlays:n||X(s.mode),...o}}({...r,palette:{mode:o,...r?.palette},colorSpace:e}));const{palette:s,...a}=Y({...n,palette:{mode:o,...r?.palette},colorSpace:e});return t[i]={...r,palette:s,opacity:{...K(o),...r?.opacity},overlays:r?.overlays||X(o)},a}function ne(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:s,disableCssColorScheme:a=!1,cssVarPrefix:l="mui",nativeColor:c=!1,shouldSkipGeneratingVar:u=H,colorSchemeSelector:d=(r.light&&r.dark?"media":void 0),rootSelector:h=":root",...f}=e,g=Object.keys(r)[0],m=s||(r.light&&"light"!==g?"light":g),v=((e="mui")=>S(e))(l),{[m]:x,light:_,dark:M,...C}=r,E={...C};let P,j=x;if(("dark"===m&&!("dark"in r)||"light"===m&&!("light"in r))&&(j=!0),!j)throw new Error((0,n.A)(21,m));c&&(P="oklch");const O=re(P,E,j,f,m);_&&!E.light&&re(P,E,_,void 0,"light"),M&&!E.dark&&re(P,E,M,void 0,"dark");let L={defaultColorScheme:m,...O,cssVarPrefix:l,colorSchemeSelector:d,rootSelector:h,getCssVar:v,colorSchemes:E,font:{...A(O.typography),...O.font}
125,spacing:(D=f.spacing,"number"==typeof D?`${D}px`:"string"==typeof D||"function"==typeof D||Array.isArray(D)?D:"8px")};var D;Object.keys(L.colorSchemes).forEach(e=>{const t=L.colorSchemes[e].palette,r=e=>{const r=e.split("-"),n=r[1],i=r[2];return v(e,t[n][i])};function n(e,t,r){if(P){let n;return e===o.Cg&&(n=`transparent ${(100*(1-r)).toFixed(0)}%`),e===o.Nd&&(n=`#000 ${(100*r).toFixed(0)}%`),e===o.j4&&(n=`#fff ${(100*r).toFixed(0)}%`),`color-mix(in ${P}, ${t}, ${n})`}return e(t,r)}var i;if("light"===t.mode&&(J(t.common,"background","#fff"),J(t.common,"onBackground","#000")),"dark"===t.mode&&(J(t.common,"background","#000"),J(t.common,"onBackground","#fff")),i=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach(e=>{i[e]||(i[e]={})}),"light"===t.mode){J(t.Alert,"errorColor",n(o.Nd,c?v("palette-error-light"):t.error.light,.6)),J(t.Alert,"infoColor",n(o.Nd,c?v("palette-info-light"):t.info.light,.6)),J(t.Alert,"successColor",n(o.Nd,c?v("palette-success-light"):t.success.light,.6)),J(t.Alert,"warningColor",n(o.Nd,c?v("palette-warning-light"):t.warning.light,.6)),J(t.Alert,"errorFilledBg",r("palette-error-main")),J(t.Alert,"infoFilledBg",r("palette-info-main")),J(t.Alert,"successFilledBg",r("palette-success-main")),J(t.Alert,"warningFilledBg",r("palette-warning-main")),J(t.Alert,"errorFilledColor",te(()=>t.getContrastText(t.error.main))),J(t.Alert,"infoFilledColor",te(()=>t.getContrastText(t.info.main))),J(t.Alert,"successFilledColor",te(()=>t.getContrastText(t.success.main))),J(t.Alert,"warningFilledColor",te(()=>t.getContrastText(t.warning.main))),J(t.Alert,"errorStandardBg",n(o.j4,c?v("palette-error-light"):t.error.light,.9)),J(t.Alert,"infoStandardBg",n(o.j4,c?v("palette-info-light"):t.info.light,.9)),J(t.Alert,"successStandardBg",n(o.j4,c?v("palette-success-light"):t.success.light,.9)),J(t.Alert,"warningStandardBg",n(o.j4,c?v("palette-warning-light"):t.warning.light,.9)),J(t.Alert,"errorIconColor",r("palette-error-main")),J(t.Alert,"infoIconColor",r("palette-info-main")),J(t.Alert,"successIconColor",r("palette-success-main")),J(t.Alert,"warningIconColor",r("palette-warning-main")),J(t.AppBar,"defaultBg",r("palette-grey-100")),J(t.Avatar,"defaultBg",r("palette-grey-400")),J(t.Button,"inheritContainedBg",r("palette-grey-300")),J(t.Button,"inheritContainedHoverBg",r("palette-grey-A100")),J(t.Chip,"defaultBorder",r("palette-grey-400")),J(t.Chip,"defaultAvatarColor",r("palette-grey-700")),J(t.Chip,"defaultIconColor",r("palette-grey-700")),J(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),J(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),J(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),J(t.LinearProgress,"primaryBg",n(o.j4,c?v("palette-primary-main"):t.primary.main,.62)),J(t.LinearProgress,"secondaryBg",n(o.j4,c?v("palette-secondary-main"):t.secondary.main,.62)),J(t.LinearProgress,"errorBg",n(o.j4,c?v("palette-error-main"):t.error.main,.62)),J(t.LinearProgress,"infoBg",n(o.j4,c?v("palette-info-main"):t.info.main,.62)),J(t.LinearProgress,"successBg",n(o.j4,c?v("palette-success-main"):t.success.main,.62)),J(t.LinearProgress,"warningBg",n(o.j4,c?v("palette-warning-light"):t.warning.main,.62)),J(t.Skeleton,"bg",P?n(o.Cg,c?v("palette-text-primary"):t.text.primary,.11):`rgba(${r("palette-text-primaryChannel")} / 0.11)`),J(t.Slider,"primaryTrack",n(o.j4,c?v("palette-primary-main"):t.primary.main,.62)),J(t.Slider,"secondaryTrack",n(o.j4,c?v("palette-secondary-main"):t.secondary.main,.62)),J(t.Slider,"errorTrack",n(o.j4,c?v("palette-error-main"):t.error.main,.62)),J(t.Slider,"infoTrack",n(o.j4,c?v("palette-info-main"):t.info.main,.62)),J(t.Slider,"successTrack",n(o.j4,c?v("palette-success-main"):t.success.main,.62)),J(t.Slider,"warningTrack",n(o.j4,c?v("palette-warning-main"):t.warning.main,.62));const e=P?n(o.Nd,c?v("palette-background-default"):t.background.default,.6825):(0,o.Y9)(t.background.default,.8);J(t.SnackbarContent,"bg",e),J(t.SnackbarContent,"color",te(()=>P?y.text.primary:t.getContrastText(e))),J(t.SpeedDialAction,"fabHoverBg",(0,o.Y9)(t.background.paper,.15)),J(t.StepConnector,"border",r("palette-grey-400")),J(t.StepContent,"border",r("palette-grey-400")),J(t.Switch,"defaultColor",r("palette-common-white")),J(t.Switch,"defaultDisabledColor",r("palette-grey-100")),J(t.Switch,"primaryDisabledColor",n(o.j4,c?v("palette-primary-main"):t.primary.main,.62)),J(t.Switch,"secondary
125DisabledColor",n(o.j4,c?v("palette-secondary-main"):t.secondary.main,.62)),J(t.Switch,"errorDisabledColor",n(o.j4,c?v("palette-error-main"):t.error.main,.62)),J(t.Switch,"infoDisabledColor",n(o.j4,c?v("palette-info-main"):t.info.main,.62)),J(t.Switch,"successDisabledColor",n(o.j4,c?v("palette-success-main"):t.success.main,.62)),J(t.Switch,"warningDisabledColor",n(o.j4,c?v("palette-warning-main"):t.warning.main,.62)),J(t.TableCell,"border",n(o.j4,(0,o.Cg)(c?v("palette-divider"):t.divider,1),.88)),J(t.Tooltip,"bg",n(o.Cg,c?v("palette-grey-700"):t.grey[700],.92))}if("dark"===t.mode){J(t.Alert,"errorColor",n(o.j4,c?v("palette-error-light"):t.error.light,.6)),J(t.Alert,"infoColor",n(o.j4,c?v("palette-info-light"):t.info.light,.6)),J(t.Alert,"successColor",n(o.j4,c?v("palette-success-light"):t.success.light,.6)),J(t.Alert,"warningColor",n(o.j4,c?v("palette-warning-light"):t.warning.light,.6)),J(t.Alert,"errorFilledBg",r("palette-error-dark")),J(t.Alert,"infoFilledBg",r("palette-info-dark")),J(t.Alert,"successFilledBg",r("palette-success-dark")),J(t.Alert,"warningFilledBg",r("palette-warning-dark")),J(t.Alert,"errorFilledColor",te(()=>t.getContrastText(t.error.dark))),J(t.Alert,"infoFilledColor",te(()=>t.getContrastText(t.info.dark))),J(t.Alert,"successFilledColor",te(()=>t.getContrastText(t.success.dark))),J(t.Alert,"warningFilledColor",te(()=>t.getContrastText(t.warning.dark))),J(t.Alert,"errorStandardBg",n(o.Nd,c?v("palette-error-light"):t.error.light,.9)),J(t.Alert,"infoStandardBg",n(o.Nd,c?v("palette-info-light"):t.info.light,.9)),J(t.Alert,"successStandardBg",n(o.Nd,c?v("palette-success-light"):t.success.light,.9)),J(t.Alert,"warningStandardBg",n(o.Nd,c?v("palette-warning-light"):t.warning.light,.9)),J(t.Alert,"errorIconColor",r("palette-error-main")),J(t.Alert,"infoIconColor",r("palette-info-main")),J(t.Alert,"successIconColor",r("palette-success-main")),J(t.Alert,"warningIconColor",r("palette-warning-main")),J(t.AppBar,"defaultBg",r("palette-grey-900")),J(t.AppBar,"darkBg",r("palette-background-paper")),J(t.AppBar,"darkColor",r("palette-text-primary")),J(t.Avatar,"defaultBg",r("palette-grey-600")),J(t.Button,"inheritContainedBg",r("palette-grey-800")),J(t.Button,"inheritContainedHoverBg",r("palette-grey-700")),J(t.Chip,"defaultBorder",r("palette-grey-700")),J(t.Chip,"defaultAvatarColor",r("palette-grey-300")),J(t.Chip,"defaultIconColor",r("palette-grey-300")),J(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),J(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),J(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),J(t.LinearProgress,"primaryBg",n(o.Nd,c?v("palette-primary-main"):t.primary.main,.5)),J(t.LinearProgress,"secondaryBg",n(o.Nd,c?v("palette-secondary-main"):t.secondary.main,.5)),J(t.LinearProgress,"errorBg",n(o.Nd,c?v("palette-error-main"):t.error.main,.5)),J(t.LinearProgress,"infoBg",n(o.Nd,c?v("palette-info-main"):t.info.main,.5)),J(t.LinearProgress,"successBg",n(o.Nd,c?v("palette-success-main"):t.success.main,.5)),J(t.LinearProgress,"warningBg",n(o.Nd,c?v("palette-warning-main"):t.warning.main,.5)),J(t.Skeleton,"bg",P?n(o.Cg,c?v("palette-text-primary"):t.text.primary,.13):`rgba(${r("palette-text-primaryChannel")} / 0.13)`),J(t.Slider,"primaryTrack",n(o.Nd,c?v("palette-primary-main"):t.primary.main,.5)),J(t.Slider,"secondaryTrack",n(o.Nd,c?v("palette-secondary-main"):t.secondary.main,.5)),J(t.Slider,"errorTrack",n(o.Nd,c?v("palette-error-main"):t.error.main,.5)),J(t.Slider,"infoTrack",n(o.Nd,c?v("palette-info-main"):t.info.main,.5)),J(t.Slider,"successTrack",n(o.Nd,c?v("palette-success-main"):t.success.main,.5)),J(t.Slider,"warningTrack",n(o.Nd,c?v("palette-warning-light"):t.warning.main,.5));const e=P?n(o.j4,c?v("palette-background-default"):t.background.default,.985):(0,o.Y9)(t.background.default,.98);J(t.SnackbarContent,"bg",e),J(t.SnackbarContent,"color",te(()=>P?p.text.primary:t.getContrastText(e))),J(t.SpeedDialAction,"fabHoverBg",(0,o.Y9)(t.background.paper,.15)),J(t.StepConnector,"border",r("palette-grey-600")),J(t.StepContent,"border",r("palette-grey-600")),J(t.Switch,"defaultColor",r("palette-grey-300")),J(t.Switch,"defaultDisabledColor",r("palette-grey-600")),J(t.Switch,"primaryDisabledColor",n(o.Nd,c?v("palette-primary-main"):t.primary.main,.55)),J(t.Switch,"secondary
125DisabledColor",n(o.Nd,c?v("palette-secondary-main"):t.secondary.main,.55)),J(t.Switch,"errorDisabledColor",n(o.Nd,c?v("palette-error-main"):t.error.main,.55)),J(t.Switch,"infoDisabledColor",n(o.Nd,c?v("palette-info-main"):t.info.main,.55)),J(t.Switch,"successDisabledColor",n(o.Nd,c?v("palette-success-main"):t.success.main,.55)),J(t.Switch,"warningDisabledColor",n(o.Nd,c?v("palette-warning-light"):t.warning.main,.55)),J(t.TableCell,"border",n(o.Nd,(0,o.Cg)(c?v("palette-divider"):t.divider,1),.68)),J(t.Tooltip,"bg",n(o.Cg,c?v("palette-grey-700"):t.grey[700],.92))}c||(ee(t.background,"default"),ee(t.background,"paper"),ee(t.common,"background"),ee(t.common,"onBackground"),ee(t,"divider")),Object.keys(t).forEach(e=>{const r=t[e];"tonalOffset"!==e&&!c&&r&&"object"==typeof r&&(r.main&&J(t[e],"mainChannel",(0,o.Me)(Q(r.main))),r.light&&J(t[e],"lightChannel",(0,o.Me)(Q(r.light))),r.dark&&J(t[e],"darkChannel",(0,o.Me)(Q(r.dark))),r.contrastText&&J(t[e],"contrastTextChannel",(0,o.Me)(Q(r.contrastText))),"text"===e&&(ee(t[e],"primary"),ee(t[e],"secondary")),"action"===e&&(r.active&&ee(t[e],"active"),r.selected&&ee(t[e],"selected")))})}),L=t.reduce((e,t)=>(0,i.A)(e,t),L);const F=(0,b.lX)(e.focusVisible,t);null!=F&&!1!==F&&(L.focusVisible=(0,b.TX)(F,v("palette-primary-main")));const N={prefix:l,disableCssColorScheme:a,shouldSkipGeneratingVar:u,getSelector:Z(L),enableContrastVars:c},{vars:$,generateThemeVars:z,generateStyleSheets:G}=R(L,N);return L.vars=$,Object.entries(L.colorSchemes[L.defaultColorScheme]).forEach(([e,t])=>{L[e]=t}),L.generateThemeVars=z,L.generateStyleSheets=G,L.generateSpacing=function(){return(0,w.A)(f.spacing,(0,k.LX)(this))},L.getColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(d),L.spacing=L.generateSpacing(),L.shouldSkipGeneratingVar=u,L.unstable_sxConfig={...T.A,...f?.unstable_sxConfig},L.unstable_sx=function(e){return(0,I.A)({sx:e,theme:this})},L.internal_cache={},L.toRuntimeSource=B,L}function ie(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...!0!==r&&r,palette:_({...!0===r?{}:r.palette,mode:t})})}function oe(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:i=(r?void 0:{light:!0}),defaultColorScheme:o=r?.mode,...s}=e,a=o||"light",l=i?.[a],c={...i,...r?{[a]:{..."boolean"!=typeof l&&l,palette:r}}:void 0};if(!1===n){if(!("colorSchemes"in e))return Y(e,...t);let n=r;"palette"in e||c[a]&&(!0!==c[a]?n=c[a].palette:"dark"===a&&(n={mode:"dark"}));const i=Y({...e,palette:n},...t);if(i.defaultColorScheme=a,i.colorSchemes=c,"light"===i.palette.mode&&(i.colorSchemes.light={...!0!==c.light&&c.light,palette:i.palette},ie(i,"dark",c.dark)),"dark"===i.palette.mode&&(i.colorSchemes.dark={...!0!==c.dark&&c.dark,palette:i.palette},ie(i,"light",c.light)),null!=i.focusVisible&&!1!==i.focusVisible){let r=i.focusVisible;const n=(0,b.lX)(e.focusVisible,t),o=n&&"object"==typeof n?n.outlineColor:void 0;if(!o||(0,b.zk)(n)&&o===i.palette.primary.main){const{outlineColor:e,...t}=r;r=t}Object.keys(i.colorSchemes).forEach(e=>{const t=i.colorSchemes?.[e]?.palette;t?.primary&&(i.colorSchemes[e].focusVisible=(0,b.TX)(r,t.primary.main))})}return i}return r||"light"in c||"light"!==a||(c.light=!0),ne({...s,colorSchemes:c,defaultColorScheme:a,..."boolean"!=typeof n&&n},...t)}},42685(e,t,r){"use strict";r.d(t,{Ay:()=>c});const n=["all"],i={},o={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 a(e){return`${Math.round(e)}ms`}function l(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function c(e){const t={...e};delete t.reducedMotion;const r={...o,...t.easing},c={...s,...t.duration};return{getAutoHeightDuration:l,create:t.create??((e=n,t=i)=>{const{duration:o=c.standard,easing:s=r.easeInOut,delay:l=0,...u}=t;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:a(o)} ${s} ${"string"==typeof l?l:a(l)}`).join(",")}),...t,easing:r,duration:c}}r.d(t,["p0",0,s])},51432(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(86240);const i={textTransform:"uppercase"},o='"Roboto", "Helvetica", "Arial", sans-serif';function s(e,t){const{fontFamily:r=o,fontSize:s=14,fontWeightLight:a=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:d=16,allVariants:h,pxToRem:f,...g}="function"==typeof t?t(e):t;const p=s/14,m=f||(e=>e/d*p+"rem"),y=(e,t,n,i,s)=>{return{fontFamily:r,fontWeight:e,fontSize:m(t),lineHeight:n,...r===o?{letterSpacing:(a=i/t,Math.round(1e5*a)/1e5)+"em"}:{},...s,...h};var a},v={h1:y(a,96,1.167,-1.5),h2:y(a,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,i),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,i),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,n.A)({htmlFontSize:d,pxToRem:m,fontFamily:r,fontSize:s,fontWeightLight:a,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u,...v},g,{clone:!1})}},52305(e,t,r){"use strict";const n=(0,r(61429).A)();r.d(t,["A",0,n])},97873(e,t,r){"use strict";r.d(t,{TX:()=>f,eB:()=>u,lX:()=>d,zk:()=>h});var n=r(86240);const i="--_focusVisible-offset",o="--_focusVisible-behavior",s="--_focusVisible-shadow",a=`var(${i}, 1)`,l=`var(${o}, )`,c={[i]:1,[o]:"initial"};function u(e){return{[i]:-e,[o]:"inset"}}function d(e,t){return t.reduce((e,t)=>
125t&&"focusVisible"in t?(0,n.A)(e,{focusVisible:t.focusVisible}):e,{focusVisible:e}).focusVisible}function h(e){return null!=e&&"object"==typeof e&&"string"==typeof e.outlineOffset&&e.outlineOffset.includes(i)}function f(e,t){return function(e){const t=e.outlineOffset??0;if("string"!=typeof t||!t.includes(i)){const r="number"==typeof t?`${t}px`:t;e.outlineOffset=`calc(${a} * ${r})`}const r=new Set(["none","initial","inherit","unset","revert","revert-layer"]);"string"!=typeof e.boxShadow||r.has(e.boxShadow.trim().toLowerCase())||/\binset\b/.test(e.boxShadow)||e.boxShadow.includes(o)||(e.boxShadow=`${l} ${e.boxShadow}`);return e}({outlineStyle:"solid",outlineColor:t,outlineWidth:2,outlineOffset:2,boxShadow:`var(${s}, 0 0)`,...!0===e?null:e})}r.d(t,["Jc",0,c])},47309(e,t,r){"use strict";function n(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}r.d(t,{A:()=>n})},69106(e,t,r){"use strict";r.d(t,["A",0,"$$material"])},68374(e,t,r){"use strict";var n=r(32198);const i=e=>(0,n.A)(e)&&"classes"!==e;r.d(t,["A",0,i])},32198(e,t,r){"use strict";const n=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e};r.d(t,["A",0,n])},9594(e,t,r){"use strict";var n=r(37383),i=r(52305),o=r(69106),s=r(68374);const a=(0,n.Ay)({themeId:o.A,defaultTheme:i.A,rootShouldForwardProp:s.A});r.d(t,["A",0,a])},21043(e,t,r){"use strict";r.d(t,{A:()=>s});r(96540);var n=r(78349),i=r(52305),o=r(69106);function s(){const e=(0,n.A)(i.A);return e[o.A]||e}},70126(e,t,r){"use strict";let n;r.d(t,{A:()=>f});var i=r(96540),o=r(7303);const s="(prefers-reduced-motion: reduce)",a=()=>{},l=()=>!1,c=()=>!0,u=()=>a;const d={...n||(n=r.t(i,2))}.useSyncExternalStore;const h=void 0!==d?function(e){const t=e?c:l,[r,n]=i.useMemo(()=>{if(!e||"undefined"==typeof window||"function"!=typeof window.matchMedia)return[l,u];const t=window.matchMedia(s);return[()=>t.matches,e=>(t.addEventListener("change",e),()=>{t.removeEventListener("change",e)})]},[e]);return d(n,r,t)}:function(e){const[t,r]=i.useState(()=>({enabled:e,matches:!!e&&null}));let n=t.matches;return t.enabled!==e&&(n=null,e||(n=!1)),(0,o.A)(()=>{const n=t=>{r(r=>r.enabled===e&&r.matches===t?r:{enabled:e,matches:t})};if(!e)return void(t.enabled&&n(!1));if("undefined"==typeof window||"function"!=typeof window.matchMedia)return void n(!1);const i=window.matchMedia(s),o=()=>{n(i.matches)};return o(),i.addEventListener("change",o),()=>{i.removeEventListener("change",o)}},[e,t.enabled]),n};function f(e,t){const r=h(!t&&"system"===e),n=!t&&("always"===e||"system"===e&&!1!==r);return i.useMemo(()=>({shouldReduceMotion:n,getTransitionTiming:e=>n?{duration:0,delay:"0ms"}:e}),[n])}},42788(e,t,r){"use strict";r.d(t,{z6:()=>d,zO:()=>c,ce:()=>u,yP:()=>h,E1:()=>l,qm:()=>i});const n={transition:"none"};const i=e=>e.scrollTop,o={},s=["all"],a={};function l(e,t){return r=>{if(t){const n=e.current;void 0===r?t(n):t(n,r)}}}function c(e,t,r,n,i,o){const s="exited"!==e||t?r[e]||r.exited:n;return i||o?{...s,...i,...o}:s}function u(e,t){const{timeout:r,easing:n,style:i=o}=e;return{duration:i.transitionDuration??("number"==typeof r?r:r[t.mode]||0),easing:i.transitionTimingFunction??("object"==typeof n?n[t.mode]:n),delay:i.transitionDelay}}function d(e,t){const r=t??n;return function(e,t){return"always"===e?t:"system"===e?{"@media (prefers-reduced-motion: reduce)":t}:null}(e.motion?.reducedMotion,r)}function h(e,t=s,r=a){const n=e.transitions?.create?.(t,r),i=d(e);if(void 0===n)return i??o;const l={transition:n};return i?{...l,...i}:l}},44755(e,t,r){"use strict";r.d(t,{A:()=>h});var n=r(96540),i=r.t(n,2),o=r(7303),s=r(37558),a=r(48211);function l(e,t,r,i,s){const[a,l]=n.useState(()=>s&&r?r(e).matches:i?i(e).matches:t);return(0,o.A)(()=>{if(!r)return;const t=r(e),n=()=>{l(t.matches)};return n(),t.addEventListener("change",n),()=>{t.removeEventListener("change",n)}},[e,r]),a}const c={...i}.useSyncExternalStore;function u(e,t,r,i,o){const s=n.useCallback(()=>t,[t]),a=n.useMemo(()=>{if(o&&r)return()=>r(e).matches;if(null!==i){const{matches:t}=i(e);return()=>t}return s},[s,e,i,o,r]),[l,u]=n.useMemo(()=>{if(null===r)return[s,()=>()=>{}];const t=r(e);return[()=>t.matches,e=>(t.addEventListener("change",e),()=>{t.removeEventListener("change",e)})]},[s,r,e]);return c(u,l,a)}function d(e={}){const{themeId:t}=e;return function(e,r={}){let i=(0,a.A)();i&&t&&(i=i[t]||i);const o="undefined"!=typeof window&&void 0!==window.matchMedia?window.matchMedia:null,{defaultMatches:d=!1,matchMedia:h,ssrMatchMedia:f=null,noSsr:g=!1}=(0,s.A)({name:"MuiUseMediaQuery",props:r,theme:i}),p=n.useMemo(()=>void 0!==h?h:null===o?null:o.bind(window),[h,o]);let m="function"==typeof e?e(i):e;m=m.replace(/^@media( ?)/m,""),m.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join("\n"));return(void 0!==c?u:l)(m,d,p,f,g)}}d();const h=d({themeId:r(69106).A})},16198(e,t,r){"use strict";const n=r(34681).A;r.d(t,["A",0,n])},71191(e,t,r){"use strict";const n=r(36611).A;r.d(t,["A",0,n])},71676(e,t,r){"use strict";function n(e=[]){return([,t])=>t&&function(e,t=[]){if(!function(e){return"string"==typeof e.main}(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||"string"!=typeof e[r])return!1;return!0}(t,e)}r.d(t,{A:()=>n})},32612(e,t,r){"use strict";r.d(t,{U:()=>i});const n="data-mui-focusable";function i(e){return e?e.hasAttribute(n)?e:e.querySelector(`[${n}]`):null}r.d(t,["E",0,n])},99122(e,t,r){"use strict";const n=r(11917).A;r.d(t,["A",0,n])},96942(e,t,r){"use strict";r.d(t,{A:()=>
125o});var n=r(83858);const i={theme:void 0};const o=function(e){let t,r;return function(o){let s=t;return void 0!==s&&o.theme===r||(i.theme=o.theme,s=(0,n.A)(e(i)),t=s,r=o.theme),s}}},93574(e,t,r){"use strict";r.d(t,{A:()=>o});var n=r(34601),i=r(34164);function o(e,t){if(!e)return t;function r(e,t){const r={};return Object.keys(t).forEach(i=>{(0,n.A)(i,t[i])&&"function"==typeof e[i]&&(r[i]=(...r)=>{e[i](...r),t[i](...r)})}),r}if("function"==typeof e||"function"==typeof t)return n=>{const o="function"==typeof t?t(n):t,s="function"==typeof e?e({...n,...o}):e,a=(0,i.A)(n?.className,o?.className,s?.className),l=r(s,o);return{...o,...s,...l,...!!a&&{className:a},...o?.style&&s?.style&&{style:{...o.style,...s.style}},...o?.sx&&s?.sx&&{sx:[...Array.isArray(o.sx)?o.sx:[o.sx],...Array.isArray(s.sx)?s.sx:[s.sx]]}}};const o=t,s=r(e,o),a=(0,i.A)(o?.className,e?.className);return{...t,...e,...s,...!!a&&{className:a},...o?.style&&e?.style&&{style:{...o.style,...e.style}},...o?.sx&&e?.sx&&{sx:[...Array.isArray(o.sx)?o.sx:[o.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}},90327(e,t,r){"use strict";const n=r(59179).A;r.d(t,["A",0,n])},54714(e,t,r){"use strict";const n=r(83873).A;r.d(t,["A",0,n])},91784(e,t,r){"use strict";const n=r(95313).A;r.d(t,["A",0,n])},13482(e,t,r){"use strict";const n=r(93875).A;r.d(t,["A",0,n])},49873(e,t,r){"use strict";r.d(t,{A:()=>a});var n=r(95313),i=r(51097),o=r(30323),s=r(44068);function a(e,t){const{className:r,elementType:a,ownerState:l,externalForwardedProps:c,internalForwardedProps:u,shouldForwardComponentProp:d=!1,...h}=t,{component:f,slots:g={[e]:void 0},slotProps:p={[e]:void 0},...m}=c,y=g[e]||a,v=(0,o.A)(p[e],l),{props:{component:x,..._},internalRef:b}=(0,s.A)({className:r,...h,externalForwardedProps:"root"===e?m:void 0,externalSlotProps:v}),S=(0,n.A)(b,v?.ref,t.ref),w="root"===e?x||f:x;return[y,(0,i.A)(y,{..."root"===e&&!f&&!g[e]&&u,..."root"!==e&&!g[e]&&u,..._,...w&&!d&&{as:w},...w&&d&&{component:w},ref:S},l)]}},94644(e,t,r){"use strict";r.d(t,{A:()=>o});var n=r(10382),i=r(74848);function o(e){const{styles:t,defaultTheme:r={}}=e,o="function"==typeof t?e=>{return t(null==(n=e)||0===Object.keys(n).length?r:e);var n}:t;return(0,i.jsx)(n.mL,{styles:o})}},29622(e,t,r){"use strict";r.d(t,{Ay:()=>y,HX:()=>v,tT:()=>_});var n=r(58168),i=r(88617),o=r(43174),s=r(71287),a=r(30041),l=r(96540),c=r(36289),u=/^((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|fetchpriority|fetchPriority|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|popover|popoverTarget|popoverTargetAction|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|colorRen
125dering|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)-.*))$/,d=(0,c.A)(function(e){return u.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),h=function(e){return"theme"!==e},f=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?d:h},g=function(e,t,r){var n;if(t){var i=t.shouldForwardProp;n=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},p=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,a.SF)(t,r,n),(0,s.s)(function(){return(0,a.sk)(t,r,n)}),null},m=function e(t,r){var s,c,u=t.__emotion_real===t,d=u&&t.__emotion_base||t;void 0!==r&&(s=r.label,c=r.target);var h=g(t,r,u),m=h||f(d),y=!m("as");return function(){var v=arguments,x=u&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==s&&x.push("label:"+s+";"),null==v[0]||void 0===v[0].raw)x.push.apply(x,v);else{var _=v[0];x.push(_[0]);for(var b=v.length,S=1;S<b;S++)x.push(v[S],_[S])}var w=(0,i.w)(function(e,t,r){var n=y&&e.as||d,s="",u=[],g=e;if(null==e.theme){for(var v in g={},e)g[v]=e[v];g.theme=l.useContext(i.T)}"string"==typeof e.className?s=(0,a.Rk)(t.registered,u,e.className):null!=e.className&&(s=e.className+" ");var _=(0,o.J)(x.concat(u),t.registered,g);s+=t.key+"-"+_.name,void 0!==c&&(s+=" "+c);var b=y&&void 0===h?f(n):m,S={};for(var w in e)y&&"as"===w||b(w)&&(S[w]=e[w]);return S.className=s,r&&(S.ref=r),l.createElement(l.Fragment,null,l.createElement(p,{cache:t,serialized:_,isStringTag:"string"==typeof n}),l.createElement(n,S))});return w.displayName=void 0!==s?s:"Styled("+("string"==typeof d?d:d.displayName||d.name||"Component")+")",w.defaultProps=t.defaultProps,w.__emotion_real=w,w.__emotion_base=d,w.__emotion_styles=x,w.__emotion_forwardProp=h,Object.defineProperty(w,"toString",{value:function(){return"."+c}}),w.withComponent=function(t,i){return e(t,(0,n.A)({},r,i,{shouldForwardProp:g(w,i,!0)})).apply(void 0,x)},w}}.bind(null);["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){m[e]=m(e)});const y=function(e,t){return m(e,t)};function v(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const x=[];function _(e){return x[0]=e,(0,o.J)(x)}},45449(e,t,r){"use strict";r.d(t,{b:()=>a});
125var n=r(96540),i=r(23249),o=r(74848);const s=n.createContext(void 0);function a({props:e,name:t}){return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?(0,i.A)(o.defaultProps,n,t.components.mergeClassNameAndStyle):o.styleOverrides||o.variants?n:(0,i.A)(o,n,t.components.mergeClassNameAndStyle)}({props:e,name:t,theme:{components:n.useContext(s)}})}const l=function({value:e,children:t}){return(0,o.jsx)(s.Provider,{value:e,children:t})};r.d(t,["A",0,l])},96423(e,t,r){"use strict";var n=r(29622),i=r(94644),o=r(78349),s=r(74848);function a(e){const t=(0,n.tT)(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}const l=function({styles:e,themeId:t,defaultTheme:r={}}){const n=(0,o.A)(r),l=t&&n[t]||n;let c="function"==typeof e?e(l):e;return l.modularCssLayers&&(c=Array.isArray(c)?c.map(e=>a("function"==typeof e?e(l):e)):a(c)),(0,s.jsx)(i.A,{styles:c})};r.d(t,["A",0,l])},76186(e,t,r){"use strict";var n=r(96540),i=r(74848);const o=n.createContext();const s=function({value:e,...t}){return(0,i.jsx)(o.Provider,{value:e??!0,...t})};r.d(t,["A",0,s,"I",0,()=>n.useContext(o)??!1])},70659(e,t,r){"use strict";r.d(t,{EF:()=>x,EU:()=>p,NI:()=>h,h9:()=>f,iZ:()=>y,kW:()=>v,vf:()=>m});var n=r(45143),i=r(89423),o=r(86240),s=r(4195),a=r(85463);const l={},c={xs:0,sm:600,md:900,lg:1200,xl:1536},u=(0,a.A)({values:c}),d={containerQueries:e=>({up:t=>{let r="number"==typeof t?t:c[t]||t;return"number"==typeof r&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function h(e,t,r){const n={};return f(n,e.theme,t,(e,t,o)=>{const s=r(t,o);e?n[e]=s:(0,i.A)(n,s)})}function f(e,t,r,n){if(t??=l,Array.isArray(r)){const i=t.breakpoints??u;for(let t=0;t<r.length;t+=1)g(e,i.up(i.keys[t]),r[t],void 0,n);return e}if("object"==typeof r){const i=t.breakpoints??u,o=i.values??c;for(const a in r)if((0,s.ob)(i.keys,a)){const i=(0,s.CT)(t.containerQueries?t:d,a);i&&g(e,i,r[a],a,n)}else if(a in o){g(e,i.up(a),r[a],a,n)}else{const t=a;e[t]=r[t]}return e}return n(void 0,r),e}function g(e,t,r,n,i){e[t]??={},i(t,r,n)}function p(e=u){const{internal_mediaKeys:t}=e,r={};for(let e=0;e<t.length;e+=1)r[t[e]]={};return r}function m(e,t){const r=e.internal_mediaKeys;for(let e=0;e<r.length;e+=1){const i=r[e];(0,n.A)(t[i])&&delete t[i]}return t}function y(e,...t){return m(e,[p(e),...t].reduce((e,t)=>(0,o.A)(e,t),{}))}function v(e){const{values:t,breakpoints:r,base:n}=e,i=n||function(e,t){if("object"!=typeof e)return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((t,n)=>{n<e.length&&(r[t]=!0)}):n.forEach(t=>{null!=e[t]&&(r[t]=!0)}),r}(t,r),o=Object.keys(i);if(0===o.length)return t;let s;return o.reduce((e,r,n)=>{if(Array.isArray(t))e[r]=null!=t[n]?t[n]:t[s],s=n;else if("object"==typeof t&&t){const n=t;e[r]=null!=n[r]?n[r]:n[s],s=r}else e[r]=t;return e},{})}function x(e,t){if(Array.isArray(t))return!0;if("object"==typeof t&&null!==t){for(let r=0;r<e.keys.length;r+=1)if(e.keys[r]in t)return!0;const r=Object.keys(t);for(let t=0;t<r.length;t+=1)if((0,s.ob)(e.keys,r[t]))return!0}return!1}r.d(t,["Jy",0,u,"zu",0,c])},14799(e,t,r){"use strict";r.d(t,{Cg:()=>h,Nd:()=>g,X4:()=>d,Y9:()=>y,YL:()=>l,a:()=>p,e$:()=>f,eM:()=>u,j4:()=>m});var n=r(10267),i=r(40243);function o(e,t=0,r=1){return(0,i.A)(e,t,r)}function s(e){if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error((0,n.A)(9,e));let i,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),i=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(i))throw new Error((0,n.A)(10,i))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:r,values:o,colorSpace:i}}function a(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=t.includes("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function l(e){e=s(e);const{values:t}=e,r=t[0],n=t[1]/100,i=t[2]/100,o=n*Math.min(i,1-i),l=(e,t=(e+r/30)%12)=>i-o*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const u=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),a({type:c,values:u})}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(l(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 u(e,t){const r=c(e),n=c(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function d(e,t){return e=s(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,a(e)}function h(e,t,r){try{return d(e,t)}catch(t){return e}}function f(e,t){if(e=s(e),t=o(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return a(e)}function g(e,t,r){try{return f(e,t)}catch(t){return e}}function p(e,t){if(e=s(e),t=o(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return a(e)}function m(e,t,r){try{return p(e,t)}catch(t){return e}}function y(e,t,r){try{return function(e,t=.15){return c(e)>.5?f(e,t):p(e,t)}(e,t)}catch(t){return e}}r.d(t,["Me",0,(e,t)=>{try{return(e=>{const t=s(e);return t.values.slice(0,3).map((e,r)=>t.type.includes("hsl")&&0!==r?`${e}%`:e).join(" ")})(e)}catch(t){return e}}])},85463(e,t,r){"use strict";r.d(t,{A:()=>n});function n(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...i}=e,o=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}
125))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})})(t),s=Object.keys(o);function a(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function c(e,i){const o=s.indexOf(i);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==o&&"number"==typeof t[s[o]]?t[s[o]]:i)-n/100}${r})`}const u=[];for(let e=0;e<s.length;e+=1)u.push(a(s[e]));return{keys:s,values:o,up:a,down:l,between:c,only:function(e){return s.indexOf(e)+1<s.length?c(e,s[s.indexOf(e)+1]):a(e)},not:function(e){const t=s.indexOf(e);return 0===t?a(s[1]):t===s.length-1?l(s[t]):c(e,s[s.indexOf(e)+1]).replace("@media","@media not all and")},unit:r,internal_mediaKeys:u,...i}}},37383(e,t,r){"use strict";r.d(t,{Ay:()=>p,MC:()=>u});var n=r(29622),i=r(45143),o=r(86240),s=r(33093),a=r(95427),l=r(83858);const c=(0,s.A)();function u(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function d(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function h(e){return e?(t,r)=>r[e]:null}function f(e,t,r){const i="function"==typeof t?t(e):t;if(Array.isArray(i))return i.flatMap(t=>f(e,t,r));if(Array.isArray(i?.variants)){let t;if(i.isProcessed)t=r?d(i.style,r):i.style;else{const{variants:e,...o}=i;t=r?d((0,n.tT)(o),r):o}return g(e,i.variants,[t],r)}return i?.isProcessed?r?d((0,n.tT)(i.style),r):i.style:r?d((0,n.tT)(i),r):i}function g(e,t,r=[],i=void 0){let o;e:for(let s=0;s<t.length;s+=1){const a=t[s];if("function"==typeof a.props){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(o))continue}else for(const t in a.props)if(e[t]!==a.props[t]&&e.ownerState?.[t]!==a.props[t])continue e;"function"==typeof a.style?(o??={...e,...e.ownerState,ownerState:e.ownerState},r.push(i?d((0,n.tT)(a.style(o)),i):a.style(o))):r.push(i?d((0,n.tT)(a.style),i):a.style)}return r}function p(e={}){const{themeId:t,defaultTheme:r=c,rootShouldForwardProp:s=u,slotShouldForwardProp:p=u}=e;function v(e){!function(e,t,r){e.theme=(0,i.A)(e.theme)?r:e.theme[t]||e.theme}(e,t,r)}return(e,t={})=>{(0,n.HX)(e,e=>e.filter(e=>e!==a.A));const{name:r,slot:i,skipVariantsResolver:c,skipSx:x,overridesResolver:_=h(y(i)),...b}=t,S=r&&r.startsWith("Mui")||i?"components":"custom",w=void 0!==c?c:i&&"Root"!==i&&"root"!==i||!1,k=x||!1;let A=u;"Root"===i||"root"===i?A=s:i?A=p:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(A=void 0);const M=(0,n.Ay)(e,{shouldForwardProp:A,label:m(r,i),...b}),C=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return f(t,e,t.theme.modularCssLayers?S:void 0)};if((0,o.Q)(e)){const t=(0,l.A)(e);return function(e){return t.variants?f(e,t,e.theme.modularCssLayers?S:void 0):e.theme.modularCssLayers?d(t.style,S):t.style}}return e},E=(...t)=>{const n=[],i=t.map(C),o=[];if(n.push(v),r&&_&&o.push(function(e){const t=e.theme,n=t.components?.[r]?.styleOverrides;if(!n)return null;const i={};for(const t in n)i[t]=f(e,n[t],e.theme.modularCssLayers?"theme":void 0);return _(e,i)}),r&&!w&&o.push(function(e){const t=e.theme,n=t?.components?.[r]?.variants;return n?g(e,n,[],e.theme.modularCssLayers?"theme":void 0):null}),k||o.push(a.A),Array.isArray(i[0])){const e=i.shift(),t=new Array(n.length).fill(""),r=new Array(o.length).fill("");let s;s=[...t,...e,...r],s.raw=[...t,...e.raw,...r],n.unshift(s)}const s=[...n,...i,...o],l=M(...s);return e.muiName&&(l.muiName=e.muiName),l};return M.withConfig&&(E.withConfig=M.withConfig),E}}function m(e,t){}function y(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}},29427(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(7919);function i(e=8,t=(0,n.LX)({spacing:e})){if(e.mui)return e;const r=(...e)=>{return(0===e.length?[1]:e).map(e=>{const r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ")};return r.mui=!0,r}},33093(e,t,r){"use strict";r.d(t,{A:()=>d});var n=r(86240),i=r(85463),o=r(4195);const s={borderRadius:4};var a=r(29427),l=r(95427),c=r(30456);function u(e,t){const r=this;
125if(r.vars){if(!r.colorSchemes?.[e]||"function"!=typeof r.getColorSchemeSelector)return{};let n=r.getColorSchemeSelector(e);return"&"===n?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}const d=function(e={},...t){const{breakpoints:r={},palette:d={},spacing:h,shape:f={},...g}=e,p=(0,i.A)(r),m=(0,a.A)(h);let y=(0,n.A)({breakpoints:p,direction:"ltr",components:{},palette:{mode:"light",...d},spacing:m,shape:{...s,...f}},g);return y=(0,o.Ay)(y),y.applyStyles=u,y=t.reduce((e,t)=>(0,n.A)(e,t),y),y.unstable_sxConfig={...c.A,...g?.unstable_sxConfig},y.unstable_sx=function(e){return(0,l.A)({sx:e,theme:this})},y.internal_cache={},y}},4195(e,t,r){"use strict";r.d(t,{Ay:()=>a,CT:()=>s,_S:()=>i,ob:()=>o});const n=/min-width:\s*([0-9.]+)/;function i(e,t){if(!e.containerQueries||!function(e){for(const t in e)if(t.startsWith("@container"))return!0;return!1}(t))return t;const r=[];for(const e in t)e.startsWith("@container")&&r.push(e);r.sort((e,t)=>+(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0));const i=t;for(let e=0;e<r.length;e+=1){const t=r[e],n=i[t];delete i[t],i[t]=n}return i}function o(e,t){return"@"===t||t.startsWith("@")&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function s(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,n,i]=r,o=Number.isNaN(+n)?n||0:+n;return e.containerQueries(i).up(o)}function a(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function r(r,n){r.up=(...r)=>t(e.breakpoints.up(...r),n),r.down=(...r)=>t(e.breakpoints.down(...r),n),r.between=(...r)=>t(e.breakpoints.between(...r),n),r.only=(...r)=>t(e.breakpoints.only(...r),n),r.not=(...r)=>{const i=t(e.breakpoints.not(...r),n);return i.includes("not all and")?i.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):i}}const n={},i=e=>(r(n,e),n);return r(i),{...e,containerQueries:i}}},83858(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(29622);function i(e){const{variants:t,...r}=e,i={variants:t,style:(0,n.tT)(r),isProcessed:!0};return i.style===r||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=(0,n.tT)(e.style))}),i}},7919(e,t,r){"use strict";r.d(t,{LX:()=>g,MA:()=>f,_W:()=>p});var n=r(70659),i=r(76019);const o={internal_cache:{}},s={m:"margin",p:"padding"},a={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c={};for(const e in s)c[e]=[s[e]];for(const e in s)for(const t in a){const r=s[e],n=a[t],i=Array.isArray(n)?n.map(e=>r+e):[r+n];c[e+t]=i}for(const e in l)c[e]=c[l[e]];const u=new Set(["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"]),d=new Set(["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"]),h=new Set([...u,...d]);function f(e,t,r,n){const o=(0,i.Yn)(e,t,!0)??r;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:"string"==typeof o?o.startsWith("var(")&&0===e?0:o.startsWith("var(")&&1===e?o:`calc(${e} * ${o})`:o*e:Array.isArray(o)?e=>{if("string"==typeof e)return e;const t=Math.abs(e);const r=o[t];return e>=0?r:"number"==typeof r?-r:"string"==typeof r&&r.startsWith("var(")?`calc(-1 * ${r})`:`-${r}`}:"function"==typeof o?o:()=>{}}function g(e){return f(e,"spacing",8)}function p(e,t){return"string"==typeof t||null==t?t:e(t)}const m=[""];function y(e,t){const r=e.theme??o,i=r?.internal_cache?.unarySpacing??g(r),s={};for(const r in e){if(!t.has(r))continue;const o=c[r]??(m[0]=r,m),a=e[r];(0,n.h9)(s,e.theme,a,(e,t)=>{const r=e?s[e]:s;for(let e=0;e<o.length;e+=1)r[o[e]]=p(i,t)})}return s}function v(e){return y(e,u)}
125v.propTypes={},v.filterProps=u;const x=v;function _(e){return y(e,d)}_.propTypes={},_.filterProps=d;const b=_;function S(e){return y(e,h)}S.propTypes={},S.filterProps=h;r.d(t,["Lc",0,x,"Ms",0,b])},76019(e,t,r){"use strict";r.d(t,{Ay:()=>l,PV:()=>o,Yn:()=>s});var n=r(34681),i=r(70659);function o(e,t,r,n){let i;return i="function"==typeof e?e(r):Array.isArray(e)?e[r]||r:"string"==typeof r&&s(e,r,!0,n)||r,t&&(i=t(i,r,e)),i}function s(e,t,r=!0,n=void 0){if(!e||!t)return null;const i=t.split(".");if(e.vars&&r){const t=a(e.vars,i,n);if(null!=t)return t}return a(e,i,n)}function a(e,t,r=void 0){let i,o=e,s=0;for(;s<t.length;){if(null==o)return o;i=o,o=o[t[s]],s+=1}if(r&&void 0===o){const e=t[t.length-1],o=`${r}${"default"===e?"":(0,n.A)(e)}`;return i?.[o]}return o}function l(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:a}=e,l=e=>{if(null==e[t])return null;const l=e[t],c=s(e.theme,n)||{};return(0,i.NI)(e,l,e=>{const n=o(c,a,e,t);return!1===r?n:{[r]:n}})};return l.propTypes={},l.filterProps=[t],l}},30456(e,t,r){"use strict";r.d(t,{A:()=>L});var n=r(7919),i=r(76019),o=r(89423);const s=function(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>{const r={};for(const n in e)t[n]&&(0,o.A)(r,t[n](e));return r};return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r};var a=r(70659);function l(e){return"number"!=typeof e?e:`${e}px solid`}function c(e,t){return(0,i.Ay)({prop:e,themeKey:"borders",transform:t})}const u=c("border",l),d=c("borderTop",l),h=c("borderRight",l),f=c("borderBottom",l),g=c("borderLeft",l),p=c("borderColor"),m=c("borderTopColor"),y=c("borderRightColor"),v=c("borderBottomColor"),x=c("borderLeftColor"),_=c("outline",l),b=c("outlineColor"),S=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,n.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:(0,n._W)(t,e)});return(0,a.NI)(e,e.borderRadius,r)}return null};S.propTypes={},S.filterProps=["borderRadius"];s(u,d,h,f,g,p,m,y,v,x,S,_,b);const w=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,n.MA)(e.theme,"spacing",8,"gap"),r=e=>({gap:(0,n._W)(t,e)});return(0,a.NI)(e,e.gap,r)}return null};w.propTypes={},w.filterProps=["gap"];const k=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,n.MA)(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:(0,n._W)(t,e)});return(0,a.NI)(e,e.columnGap,r)}return null};k.propTypes={},k.filterProps=["columnGap"];const A=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,n.MA)(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:(0,n._W)(t,e)});return(0,a.NI)(e,e.rowGap,r)}return null};A.propTypes={},A.filterProps=["rowGap"];s(w,k,A,(0,i.Ay)({prop:"gridColumn"}),(0,i.Ay)({prop:"gridRow"}),(0,i.Ay)({prop:"gridAutoFlow"}),(0,i.Ay)({prop:"gridAutoColumns"}),(0,i.Ay)({prop:"gridAutoRows"}),(0,i.Ay)({prop:"gridTemplateColumns"}),(0,i.Ay)({prop:"gridTemplateRows"}),(0,i.Ay)({prop:"gridTemplateAreas"}),(0,i.Ay)({prop:"gridArea"}));function M(e,t){return"grey"===t?t:e}s((0,i.Ay)({prop:"color",themeKey:"palette",transform:M}),(0,i.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:M}),(0,i.Ay)({prop:"backgroundColor",themeKey:"palette",transform:M}));const C=a.zu;function E(e){return e<=1&&0!==e?100*e+"%":e}const R=(0,i.Ay)({prop:"width",transform:E}),T=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const r=e.theme?.breakpoints?.values?.[t]||C[t];return r?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:E(t)}};return(0,a.NI)(e,e.maxWidth,t)}return null};T.filterProps=["maxWidth"];const I=(0,i.Ay)({prop:"minWidth",transform:E}),P=(0,i.Ay)({prop:"height",transform:E}),j=(0,i.Ay)({prop:"maxHeight",transform:E}),O=(0,i.Ay)({prop:"minHeight",transform:E}),L=((0,i.Ay)({prop:"size",cssProperty:"width",transform:E}),(0,i.Ay)({prop:"size",cssProperty:"height",transform:E}),s(R,T,I,P,j,O,(0,i.Ay)({prop:"boxSizing"})),{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:S},color:{themeKey:"palette",transform:M},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:M},backgroundColor:{themeKey:"palette",transform:M},p:{style:n.Ms},pt:{style:n.Ms},pr:{style:n.Ms},pb:{style:n.Ms}
125,pl:{style:n.Ms},px:{style:n.Ms},py:{style:n.Ms},padding:{style:n.Ms},paddingTop:{style:n.Ms},paddingRight:{style:n.Ms},paddingBottom:{style:n.Ms},paddingLeft:{style:n.Ms},paddingX:{style:n.Ms},paddingY:{style:n.Ms},paddingInline:{style:n.Ms},paddingInlineStart:{style:n.Ms},paddingInlineEnd:{style:n.Ms},paddingBlock:{style:n.Ms},paddingBlockStart:{style:n.Ms},paddingBlockEnd:{style:n.Ms},m:{style:n.Lc},mt:{style:n.Lc},mr:{style:n.Lc},mb:{style:n.Lc},ml:{style:n.Lc},mx:{style:n.Lc},my:{style:n.Lc},margin:{style:n.Lc},marginTop:{style:n.Lc},marginRight:{style:n.Lc},marginBottom:{style:n.Lc},marginLeft:{style:n.Lc},marginX:{style:n.Lc},marginY:{style:n.Lc},marginInline:{style:n.Lc},marginInlineStart:{style:n.Lc},marginInlineEnd:{style:n.Lc},marginBlock:{style:n.Lc},marginBlockStart:{style:n.Lc},marginBlockEnd:{style:n.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:w},rowGap:{style:A},columnGap:{style:k},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:E},maxWidth:{style:T},minWidth:{transform:E},height:{transform:E},maxHeight:{transform:E},minHeight:{transform:E},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},95427(e,t,r){"use strict";var n=r(89423),i=r(76019),o=r(70659),s=r(4195),a=r(30456);const l={};const c=function(){function e(t){if(!t.sx)return null;const{sx:r,theme:n=l,nested:i}=t,c=n.unstable_sxConfig??a.A,h={sx:null,theme:n,nested:!0};function f(r){let a=r;if("function"==typeof r)a=r(n);else if("object"!=typeof r)return r;if(!a)return null;const l=n.breakpoints??o.Jy,f=(0,o.EU)(l);for(const r in a){const i=d(a[r],n);null!=i&&("object"==typeof i?c[r]?u(f,r,i,n,c):(0,o.EF)(l,i)?(0,o.h9)(f,t.theme,i,(e,t)=>{f[e][r]=t}):(h.sx=i,f[r]=e(h)):u(f,r,i,n,c))}return!i&&n.modularCssLayers?{"@layer sx":(0,s._S)(n,(0,o.vf)(l,f))}:(0,s._S)(n,(0,o.vf)(l,f))}return Array.isArray(r)?r.map(f):f(r)}return e.filterProps=["sx"],e}();function u(e,t,r,s,a){const l=a[t];if(!l)return void(e[t]=r);if(null==r)return;const{themeKey:c}=l;if("typography"===c&&"inherit"===r)return void(e[t]=r);const{style:u}=l;if(u)return void(0,n.A)(e,u({[t]:r,theme:s}));const{cssProperty:d=t,transform:h}=l,f=(0,i.Yn)(s,c);(0,o.h9)(e,s,r,(r,o)=>{const s=(0,i.PV)(f,h,o,t);!1===d?r?(0,n.A)(e[r],s):(0,n.A)(e,s):r?e[r][d]=s:e[d]=s})}function d(e,t){return"function"==typeof e?e(t):e}r.d(t,["A",0,c])},78349(e,t,r){"use strict";var n=r(33093),i=r(48211);const o=(0,n.A)();const s=function(e=o){return(0,i.A)(e)};r.d(t,["A",0,s])},37558(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(23249);function i(e){const{theme:t,name:r,props:i}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,n.A)(t.components[r].defaultProps,i):i}},48211(e,t,r){"use strict";var n=r(96540),i=r(88617);const o=function(e=null){const t=n.useContext(i.T);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r};r.d(t,["A",0,o])},72933(e,t,r){"use strict";const n=e=>e,i=(()=>{let e=n;return{configure(t){e=t},generate:t=>e(t),reset(){e=n}}})();r.d(t,["A",0,i])},51097(e,t,r){"use strict";var n=r(92291);const i=function(e,t,r){return void 0===e||(0,n.A)(e)?t:{...t,ownerState:{...t.ownerState,...r}}};r.d(t,["A",0,i])},34681(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(10267);function i(e){if("string"!=typeof e)throw new Error((0,n.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},40243(e,t,r){"use strict";const n=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))};r.d(t,["A",0,n])},46797(e,t,r){"use strict";function n(e,t,r=void 0){const n={};for(const i in e){const o=e[i];let s="",a=!0;for(let e=0;e<o.length;e+=1){const n=o[e];n&&(s+=(!0===a?"":" ")+t(n),a=!1,r&&r[n]&&(s+=" "+r[n]))}n[i]=s}return n}r.d(t,{A:()=>n})},36611(e,t,r){"use strict";function n(e,t){if(!e||!t)return!1;if(e.contains(t))return!0;const r=t.getRootNode?.();if(r&&r instanceof ShadowRoot){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode??r.host??null}}return!1}r.d(t,{A:()=>n})},86240(e,t,r){"use strict";r.d(t,{A:()=>a,Q:()=>o});var n=r.cw(function(e,t){var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),g=Symbol.for("react.view_transition"),p=Symbol.for("react.client.reference");function m(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case o:case u:case d:case g:return e;default:switch(e=e&&e.$$typeof){case l:case c:case f:case h:case a:return e;default:return t}}case n:return t}}}t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===s||e===o||e===u||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===h||e.$$typeof===l||e.$$typeof===a||e.$$typeof===c||e.$$typeof===p||void 0!==e.getModuleId)}}),i=r(96540);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 s(e){if(i.isValidElement(e)||(0,n().Hy)(e)||!o(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=s(e[r])}),t}function a(e,t,r={clone:!0}){const l=r.clone?{...e}:e;return o(e)&&o(t)&&Object.keys(t).forEach(c=>{i.isValidElement(t[c])||(0,n().Hy)(t[c])?l[c]=t[c]:o(t[c])&&Object.prototype.hasOwnProperty.call(e,c)&&o(e[c])?l[c]=a(e[c],t[c],r):r.clone?l[c]=o(t[c])?s(t[c]):t[c]:l[c]=t[c]}),l}},5677(e,t,r){"use strict";var n=r(34601);const i=function(e){if(void 0===e)return{};const t={};for(const r of Object.keys(e))(0,n.A)(r,e[r])&&(t[r]=e[r]);return t};r.d(t,["A",0,i])},89423(e,t,r){"use strict";function n(e,t){const r=Array.isArray(t),o=Array.isArray(e);return"object"!=typeof(s=t)||null===s?t:function(e){return"object"!=typeof e||null===e||e instanceof RegExp||e instanceof Date}(e)?i(t):r&&o?function(e,t){const r=e.length;for(let n=0;n<t.length;n+=1)e[r+n]=i(t[n]);return e}(e,t):r!==o?i(t):function(e,t){for(const r in t)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(e[r]=r in e?n(e[r],t[r]):i(t[r]));return e}(e,t);var s}function i(e){return"object"!=typeof(t=e)||null===t||t instanceof RegExp||t instanceof Date?e:Array.isArray(e)?function(e){let t=0;const r=e.length,n=new Array(r);for(t=0;t<r;t+=1)n[t]=i(e[t]);return n}(e):function(e){const t={};for(const r in e)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(t[r]=i(e[r]));return t}(e);var t}r.d(t,{A:()=>n})},10267(e,t,r){"use strict";
125function n(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>r.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${r} for the full message.`}r.d(t,{A:()=>n})},34947(e,t,r){"use strict";r.d(t,{Ay:()=>o});var n=r(72933);const i={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 o(e,t,r="Mui"){const o=i[t];return o?`${r}-${o}`:`${n.A.generate(e)}-${t}`}},16051(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(34947);function i(e,t,r="Mui"){const i={};return t.forEach(t=>{i[t]=(0,n.Ay)(e,t,r)}),i}},11917(e,t,r){"use strict";function n(e){let t=e.activeElement;for(;null!=t?.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t}r.d(t,{A:()=>n})},69753(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(96540);function i(e){return parseInt(n.version,10)>=19?e?.props?.ref||null:e?.ref||null}},89267(e,t,r){"use strict";function n(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}r.d(t,{A:()=>n})},34601(e,t,r){"use strict";function n(e,t){const r=e.charCodeAt(2);return"o"===e[0]&&"n"===e[1]&&r>=65&&r<=90&&"function"==typeof t}r.d(t,{A:()=>n})},46117(e,t,r){"use strict";function n(e){try{return e.matches(":focus-visible")}catch(e){0}return!1}r.d(t,{A:()=>n})},92291(e,t,r){"use strict";const n=function(e){return"string"==typeof e};r.d(t,["A",0,n])},6371(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(96540);function i(e,t){return n.isValidElement(e)&&-1!==t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)}},45143(e,t,r){"use strict";function n(e){if(null==e)return!0;for(const t in e)return!1;return!0}r.d(t,{A:()=>n})},44068(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(34164),i=r(5677);const o=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(r=>{t[r]=e[r]}),t};const s=function(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:s,externalForwardedProps:a,className:l}=e;if(!t){const e=(0,n.A)(r?.className,l,a?.className,s?.className),t={...r?.style,...a?.style,...s?.style},i={...r,...a,...s};return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const c=(0,i.A)({...a,...s}),u=o(s),d=o(a),h=t(c),f=(0,n.A)(h?.className,r?.className,l,a?.className,s?.className),g={...h?.style,...r?.style,...a?.style,...s?.style},p={...h,...r,...d,...u};return f.length>0&&(p.className=f),Object.keys(g).length>0&&(p.style=g),{props:p,internalRef:h.ref}}},98003(e,t,r){"use strict";function n(e){return e&&e.ownerDocument||document}r.d(t,{A:()=>n})},39395(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(98003);function i(e){return(0,n.A)(e).defaultView||window}},30323(e,t,r){"use strict";const n=function(e,t,r){return"function"==typeof e?e(t,r):e};r.d(t,["A",0,n])},23249(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(34164);function i(e,t,r=!1){const o={...t};for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)){const a=s;if("components"===a||"slots"===a)o[a]={...e[a],...o[a]};else if("componentsProps"===a||"slotProps"===a){const n=e[a],s=t[a];if(s)if(n){o[a]={...s};for(const e in n)if(Object.prototype.hasOwnProperty.call(n,e)){const t=e,l=n[t],c=s[t];o[a][t]="function"==typeof l||"function"==typeof c?(...e)=>i(("function"==typeof l?l(...e):l)??{},("function"==typeof c?c(...e):c)??{},r):i(l??{},c??{},r)}}else o[a]=s;else o[a]=n||{}}else"className"===a&&r&&void 0!==t.className?o.className=(0,n.A)(e?.className,t?.className):"style"===a&&r&&t.style?o.style={...e?.style,...t?.style}:void 0===o[a]&&(o[a]=e[a])}return o}},7667(e,t,r){"use strict";function n(e,t){"function"==typeof e?e(t):e&&(e.current=t)}r.d(t,{A:()=>n})},59179(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(96540);function i(e){const{controlled:t,default:r,name:i,state:o="value"}=e,{current:s}=n.useRef(void 0!==t),[a,l]=n.useState(r);return[s?t:a,n.useCallback(e=>{s||l(e)},[])]}},7303(e,t,r){"use strict";var n=r(96540);const i="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;r.d(t,["A",0,i])},83873(e,t,r){"use strict";var n=r(96540),i=r(7303);const o=function(e){const t=n.useRef(e);return(0,i.A)(()=>{t.current=e}),n.useRef((...e)=>(0,t.current)(...e)).current};r.d(t,["A",0,o])},95313(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(96540);function i(...e){const t=n.useRef(void 0),r=n.useCallback(t=>{const r=e.map(e=>{if(null==e)return null;if("function"==typeof e){const r=e,n=r(t);return"function"==typeof n?n:()=>{r(null)}}return e.current=t,()=>{e.current=null}});return()=>
125{r.forEach(e=>e?.())}},e);return n.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=r(e))},e)}},93875(e,t,r){"use strict";let n;r.d(t,{A:()=>a});var i=r(96540);let o=0;const s={...n||(n=r.t(i,2))}.useId;function a(e){if(void 0!==s){const t=s();return e??t}return function(e){const[t,r]=i.useState(e),n=e||t;return i.useEffect(()=>{null==t&&(o+=1,r(`mui-${o}`))},[t]),n}(e)}},4377(e,t,r){"use strict";r.d(t,{A:()=>o});var n=r(96540);const i={};function o(e,t){const r=n.useRef(i);return r.current===i&&(r.current=e(t)),r}},13299(e,t,r){"use strict";r.d(t,{A:()=>o});var n=r(96540);const i=[];function o(e){n.useEffect(e,i)}},96089(e,t,r){"use strict";r.d(t,{A:()=>s,E:()=>o});var n=r(4377),i=r(13299);class o{static create(){return new o}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function s(){const e=(0,n.A)(o.create).current;return(0,i.A)(e.disposeEffect),e}},38552(e,t,r){"use strict";r.d(t,{K:()=>n}),globalThis.__MUI_LICENSE_INFO__=globalThis.__MUI_LICENSE_INFO__||{key:void 0};class n{static getLicenseInfo(){return globalThis.__MUI_LICENSE_INFO__}static getLicenseKey(){return n.getLicenseInfo().key}static setLicenseKey(e){n.getLicenseInfo().key=e}}},34164(e,t,r){"use strict";function n(e){var t,r,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=n(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}const i=function(){for(var e,t,r=0,i="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=n(e))&&(i&&(i+=" "),i+=t);return i};r.d(t,["A",0,i])},19209(e,t,r){"use strict";var n=r(20125),i=r(34150),o=r(44547);const s="length";class a extends o.Ay{constructor(e,t,r){super(e),this.element=t,this.index=r}}class l extends i.A{constructor(e,t){if(super(),this.on,this.once,this.un,t=t||{},this.unique_=!!t.unique,this.array_=e??[],this.unique_)for(let e=1,t=this.array_.length;e<t;++e)this.assertUnique_(this.array_[e],e);this.updateLength_()}clear(){for(;this.getLength()>0;)this.pop()}extend(e){for(let t=0,r=e.length;t<r;++t)this.push(e[t]);return this}forEach(e){const t=this.array_;for(let r=0,n=t.length;r<n;++r)e(t[r],r,t)}getArray(){return this.array_}item(e){return this.array_[e]}getLength(){return this.get(s)}insertAt(e,t){if(e<0||e>this.getLength())throw new Error("Index out of bounds: "+e);this.unique_&&this.assertUnique_(t),this.array_.splice(e,0,t),this.updateLength_(),this.dispatchEvent(new a(n.A.ADD,t,e))}pop(){return this.removeAt(this.getLength()-1)}push(e){const t=this.getLength();return this.insertAt(t,e),this.getLength()}remove(e){const t=this.array_;for(let r=0,n=t.length;r<n;++r)if(t[r]===e)return this.removeAt(r)}removeAt(e){if(e<0||e>=this.getLength())return;const t=this.array_[e];return this.array_.splice(e,1),this.updateLength_(),this.dispatchEvent(new a(n.A.REMOVE,t,e)),t}setAt(e,t){if(e>=this.getLength())return void this.insertAt(e,t);if(e<0)throw new Error("Index out of bounds: "+e);this.unique_&&this.assertUnique_(t,e);const r=this.array_[e];this.array_[e]=t,this.dispatchEvent(new a(n.A.REMOVE,r,e)),this.dispatchEvent(new a(n.A.ADD,t,e))}updateLength_(){this.set(s,this.array_.length)}assertUnique_(e,t){const r=this.array_;for(let n=0,i=r.length;n<i;++n)if(r[n]===e&&n!==t)throw new Error("Duplicate item added to a unique collection")}}const c=l;r.d(t,["A",0,c])},20125(e,t,r){"use strict";r.d(t,["A",0,{ADD:"add",REMOVE:"remove"}])},58959(e,t,r){"use strict";const n=class{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}};r.d(t,["A",0,n])},41640(e,t,r){"use strict";r.d(t,{RA:()=>l,f6:()=>a});r(54987);var n=r(55992),i=r(22075),o=r(64430),s=(r(45248),r(53585));o.A;function a(e,t,r){const o=e;let a=!0,l=!1,c=!1;const u=[(0,n.Jz)(o,i.A.LOAD,function(){c=!0,l||t()})];return o.src&&s.DT?(l=!0,o.decode().then(function(){a&&t()}).catch(function(e){a&&(c?t():r())})):u.push((0,n.Jz)(o,i.A.ERROR,r)),function(){a=!1,u.forEach(n.JH)}}function l(e,t){return t&&(e.src=t),e.src&&s.DT?new Promise((t,r)=>e.decode().then(()=>t(e)).catch(n=>e.complete&&e.width?t(e):r(n))):function(e,t){return new Promise((r,n)=>{function i(){s(),r(e)}function o(){s(),n(new Error("Image load error"))}function s(){e.removeEventListener("load",i),e.removeEventListener("error",o)}e.addEventListener("load",i),e.addEventListener("error",o),t&&(e.src=t)})}(e)}},54987(e,t,r){"use strict";r.d(t,["A",0,{IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}])},99020(e,t,r){"use strict";var n=r(41640),i=r(89029),o=r(68692),s=r(69677),a=r(53585);class l extends i.A{constructor(e,t,r,n,i,o){super(e,t,o),this.crossOrigin_=n?.crossOrigin,this.referrerPolicy_=n?.referrerPolicy,this.src_=r,this.key=r,this.image_,a.Wl?this.image_=new OffscreenCanvas(1,1):(this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_),void 0!==this.referrerPolicy_&&(this.image_.referrerPolicy=this.referrerPolicy_)),this.unlisten_=null,this.tileLoadFunction_=i}getImage(){return this.image_}setImage(e){this.image_=e,this.state=o.A.LOADED,this.unlistenImage_(),this.changed()}getCrossOrigin(){return this.crossOrigin_}getReferrerPolicy(){return this.referrerPolicy_}handleImageError_(){this.state=o.A.ERROR,this.unlistenImage_(),this.image_=function(){const e=(0,s.Y)(1,1);return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),e.canvas}(),this.changed()}handleImageLoad_(){if(a.Wl)this.state=o.A.LOADED;else{const e=this.image_;
125e.naturalWidth&&e.naturalHeight?this.state=o.A.LOADED:this.state=o.A.EMPTY}this.unlistenImage_(),this.changed()}load(){this.state==o.A.ERROR&&(this.state=o.A.IDLE,this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_),void 0!==this.referrerPolicy_&&(this.image_.referrerPolicy=this.referrerPolicy_)),this.state==o.A.IDLE&&(this.state=o.A.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=(0,n.f6)(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}disposeInternal(){this.unlistenImage_(),this.image_=null,super.disposeInternal()}}const c=l;r.d(t,["A",0,c])},34150(e,t,r){"use strict";var n=r(53444),i=r(79268),o=r(44547),s=r(68640),a=r(10917);class l extends o.Ay{constructor(e,t,r){super(e),this.key=t,this.oldValue=r}}class c extends i.A{constructor(e){super(),this.on,this.once,this.un,(0,a.v6)(this),this.values_=null,void 0!==e&&this.setProperties(e)}get(e){let t;return this.values_&&this.values_.hasOwnProperty(e)&&(t=this.values_[e]),t}getKeys(){return this.values_&&Object.keys(this.values_)||[]}getProperties(){return this.values_&&Object.assign({},this.values_)||{}}getPropertiesInternal(){return this.values_}hasProperties(){return!!this.values_}notify(e,t){let r;r=`change:${e}`,this.hasListener(r)&&this.dispatchEvent(new l(r,e,t)),r=n.A.PROPERTYCHANGE,this.hasListener(r)&&this.dispatchEvent(new l(r,e,t))}addChangeListener(e,t){this.addEventListener(`change:${e}`,t)}removeChangeListener(e,t){this.removeEventListener(`change:${e}`,t)}set(e,t,r){const n=this.values_||(this.values_={});if(r)n[e]=t;else{const r=n[e];n[e]=t,r!==t&&this.notify(e,r)}}setProperties(e,t){for(const r in e)this.set(r,e[r],t)}applyProperties(e){e.values_&&Object.assign(this.values_||(this.values_={}),e.values_)}unset(e,t){if(this.values_&&e in this.values_){const r=this.values_[e];delete this.values_[e],(0,s.p)(this.values_)&&(this.values_=null),t||this.notify(e,r)}}}const u=c;r.d(t,["A",0,u])},53444(e,t,r){"use strict";r.d(t,["A",0,{PROPERTYCHANGE:"propertychange"}])},79268(e,t,r){"use strict";var n=r(55992),i=r(22075),o=r(64430);class s extends o.A{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(i.A.CHANGE)}getRevision(){return this.revision_}onInternal(e,t){if(Array.isArray(e)){const r=e.length,i=new Array(r);for(let o=0;o<r;++o)i[o]=(0,n.KT)(this,e[o],t);return i}return(0,n.KT)(this,e,t)}onceInternal(e,t){let r;if(Array.isArray(e)){const i=e.length;r=new Array(i);for(let o=0;o<i;++o)r[o]=(0,n.Jz)(this,e[o],t)}else r=(0,n.Jz)(this,e,t);return t.ol_key=r,r}unInternal(e,t){const r=t.ol_key;if(r)!function(e){if(Array.isArray(e))for(let t=0,r=e.length;t<r;++t)(0,n.JH)(e[t]);else(0,n.JH)(e)}(r);else if(Array.isArray(e))for(let r=0,n=e.length;r<n;++r)this.removeEventListener(e[r],t);else this.removeEventListener(e,t)}}s.prototype.on,s.prototype.once,s.prototype.un;const a=s;r.d(t,["A",0,a])},89029(e,t,r){"use strict";var n=r(68692),i=r(64156),o=r(22075),s=r(64430),a=r(10917);class l extends s.A{constructor(e,t,r){super(),r=r||{},this.tileCoord=e,this.state=t,this.key="",this.transition_=void 0===r.transition?250:r.transition,this.transitionStarts_={},this.interpolate=!!r.interpolate}changed(){this.dispatchEvent(o.A.CHANGE)}release(){this.setState(n.A.EMPTY)}getKey(){return this.key+"/"+this.tileCoord}getTileCoord(){return this.tileCoord}getState(){return this.state}setState(e){if(this.state!==n.A.EMPTY){if(this.state!==n.A.ERROR&&this.state>e)throw new Error("Tile load sequence violation");this.state=e,this.changed()}}load(){(0,a.b0)()}getAlpha(e,t){if(!this.transition_)return 1;let r=this.transitionStarts_[e];if(r){if(-1===r)return 1}else r=t,this.transitionStarts_[e]=r;const n=t-r+1e3/60;return n>=this.transition_?1:(0,i.a6)(n/this.transition_)}inTransition(e){return!!this.transition_&&-1!==this.transitionStarts_[e]}endTransition(e){this.transition_&&(this.transitionStarts_[e]=-1)}disposeInternal(){this.release(),super.disposeInternal()}}const c=l;r.d(t,["A",0,c])},95900(e,t,r){"use strict";r.d(t,{N:()=>i});
125class n{constructor(e,t,r,n){this.minX=e,this.maxX=t,this.minY=r,this.maxY=n}contains(e){return this.containsXY(e[1],e[2])}containsTileRange(e){return this.minX<=e.minX&&e.maxX<=this.maxX&&this.minY<=e.minY&&e.maxY<=this.maxY}containsXY(e,t){return this.minX<=e&&e<=this.maxX&&this.minY<=t&&t<=this.maxY}equals(e){return this.minX==e.minX&&this.minY==e.minY&&this.maxX==e.maxX&&this.maxY==e.maxY}extend(e){e.minX<this.minX&&(this.minX=e.minX),e.maxX>this.maxX&&(this.maxX=e.maxX),e.minY<this.minY&&(this.minY=e.minY),e.maxY>this.maxY&&(this.maxY=e.maxY)}getHeight(){return this.maxY-this.minY+1}getSize(){return[this.getWidth(),this.getHeight()]}getWidth(){return this.maxX-this.minX+1}intersects(e){return this.minX<=e.maxX&&this.maxX>=e.minX&&this.minY<=e.maxY&&this.maxY>=e.minY}}function i(e,t,r,i,o){return void 0!==o?(o.minX=e,o.maxX=t,o.minY=r,o.maxY=i,o):new n(e,t,r,i)}const o=n;r.d(t,["A",0,o])},68692(e,t,r){"use strict";r.d(t,["A",0,{IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}])},76315(e,t,r){"use strict";r.d(t,{Ay:()=>A});var n=r(34150),i=r(50209);const o={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"};var s=r(95052),a=r(5374),l=r(84763);function c(e,t,r){return function(n,i,o,s,a){if(!n)return;if(!i&&!t)return n;const c=t?0:o[0]*i,u=t?0:o[1]*i,d=a?a[0]:0,h=a?a[1]:0;let f=e[0]+c/2+d,g=e[2]-c/2+d,p=e[1]+u/2+h,m=e[3]-u/2+h;f>g&&(f=(g+f)/2,g=f),p>m&&(p=(m+p)/2,m=p);let y=(0,l.qE)(n[0],f,g),v=(0,l.qE)(n[1],p,m);if(s&&r&&i){const e=30*i;y+=-e*Math.log(1+Math.max(0,f-n[0])/e)+e*Math.log(1+Math.max(0,n[0]-g)/e),v+=-e*Math.log(1+Math.max(0,p-n[1])/e)+e*Math.log(1+Math.max(0,n[1]-m)/e)}return[y,v]}}function u(e){return e}var d=r(8255),h=r(64156),f=r(6045),g=r(45248),p=r(75818),m=r(44699);function y(e,t,r,n){const i=(0,f.RG)(t)/r[0],o=(0,f.Oq)(t)/r[1];return n?Math.min(e,Math.max(i,o)):Math.min(e,Math.min(i,o))}function v(e,t,r){let n=Math.min(e,t);return n*=Math.log(1+50*Math.max(0,e/t-1))/50+1,r&&(n=Math.max(n,r),n/=Math.log(1+50*Math.max(0,r/e-1))/50+1),(0,l.qE)(n,r/2,2*t)}function x(e,t,r,n,i){return r=void 0===r||r,function(o,s,a,c){if(void 0!==o){const s=n?y(e,n,a,i):e;return r&&c?v(o,s,t):(0,l.qE)(o,t,s)}}}var _=r(29240);class b extends n.A{constructor(e){super(),this.on,this.once,this.un,e=Object.assign({},e),this.hints_=[0,0],this.animations_=[],this.updateAnimationKey_,this.projection_=(0,m.Av)(e.projection,"EPSG:3857"),this.viewportSize_=[100,100],this.targetCenter_=null,this.targetResolution_,this.targetRotation_,this.nextCenter_=null,this.nextResolution_,this.nextRotation_,this.cancelAnchor_=void 0,e.projection&&(0,m.RJ)(),e.center&&(e.center=(0,m.Ad)(e.center,this.projection_)),e.extent&&(e.extent=(0,m.SD)(e.extent,this.projection_)),this.applyOptions_(e)}applyOptions_(e){const t=Object.assign({},e);for(const e in o)delete t[e];this.setProperties(t,!0);const r=function(e){let t,r,n;const i=28,o=2;let a=void 0!==e.minZoom?e.minZoom:0,c=void 0!==e.maxZoom?e.maxZoom:i;const u=void 0!==e.zoomFactor?e.zoomFactor:o,d=void 0!==e.multiWorld&&e.multiWorld,h=void 0===e.smoothResolutionConstraint||e.smoothResolutionConstraint,g=void 0!==e.showFullExtent&&e.showFullExtent,p=(0,m.Av)(e.projection,"EPSG:3857"),_=p.getExtent();let b=e.constrainOnlyCenter,S=e.extent;d||S||!p.isGlobal()||(b=!1,S=_);if(void 0!==e.resolutions){const i=e.resolutions;r=i[a],n=void 0!==i[c]?i[c]:i[i.length-1],t=e.constrainResolution?function(e,t,r,n){return t=void 0===t||t,function(i,o,a,c){if(void 0!==i){const u=e[0],d=e[e.length-1],h=r?y(u,r,a,n):u;if(c)return t?v(i,h,d):(0,l.qE)(i,d,h);const f=Math.min(h,i),g=Math.floor((0,s.FT)(e,f,o));return e[g]>h&&g<e.length-1?e[g+1]:e[g]}}}(i,h,!b&&S,g):x(r,n,h,!b&&S,g)}else{const s=(_?Math.max((0,f.RG)(_),(0,f.Oq)(_)):360*m.Ig.degrees/p.getMetersPerUnit())/256/Math.pow(o,0),d=s/Math.pow(o,i-0);r=e.maxResolution,void 0!==r?a=0:r=s/Math.pow(u,a),n=e.minResolution,void 0===n&&(n=void 0!==e.maxZoom?void 0!==e.maxResolution?r/Math.pow(u,c):s/Math.pow(u,c):d),c=a+Math.floor(Math.log(r/n)/Math.log(u)),n=r/Math.pow(u,c-a),t=e.constrainResolution?function(e,t,r,n,i,o){return n=void 0===n||n,r=void 0!==r?r:0,function(s,a,c,u){if(void 0!==s){const d=i?y(t,i,c,o):t;if(u)return n?v(s,d,r):(0,l.qE)(s,r,d);const h=1e-9,f=Math.ceil(Math.log(t/d)/Math.log(e)-h),g=-a*(.5-h)+.5,p=Math.min(d,s),m=Math.floor(Math.log(t/p)/Math.log(e)+g),x=Math.max(f,m),_=t/Math.pow(e,x);return(0,l.qE)(_,r,d)}}}(u,r,n,h,!b&&S,g):x(r,n,h,!b&&S,g)}return{constraint:t,maxResolution:r,minResolution:n,minZoom:a,zoomFactor:u}}(e);this.maxResolution_=r.maxResolution,this.minResolution_=r.minResolution,this.zoomFactor_=r.zoomFactor,this.resolutions_=e.resolutions,this.padding_=e.padding,this.minZoom_=r.minZoom;const n=function(e){if(void 0!==e.extent){const t=void 0===e.smoothExtentConstraint||e.smoothExtentConstraint;return c(e.extent,e.constrainOnlyCenter,t)}const t=(0,m.Av)(e.projection,"EPSG:3857");if(!0!==e.multiWorld&&t.isGlobal()){const e=t.getExtent().slice();return e[0]=-1/0,e[2]=1/0,c(e,!1,!1)}return u}(e),i=r.constraint,a=function(e){const t=void 0===e.enableRotation||e.enableRotation;if(t){const t=e.constrainRotation;return void 0===t||!0===t?(0,_.cq)():!1===t?_.dv:"number"==typeof t?(0,_.a$)(t):_.dv}return _.b8}(e);this.constraints_={center:n,resolution:i,rotation:a},this.setRotation(void 0!==e.rotation?e.rotation:0),this.setCenterInternal(void 0!==e.center?e.center:null),void 0!==e.resolution?this.setResolution(e.resolution):void 0!==e.zoom&&this.setZoom(e.zoom)}get padding(){return this.padding_}set padding(e){let t=this.padding_;this.padding_=e;const r=this.getCenterInternal();if(r){const n=e||[0,0,0,0];t=t||[0,0,0,0];const i=this.getResolution(),o=i/2*(n[3]-t[3]+t[1]-n[1]),s=i/2*(n[0]-t[0]+t[2]-n[2]);this.setCenterInternal([r[0]+o,r[1]-s])}}getUpdatedOptions_(e){const t=this.getProperties();return void 0!==t.resolution?t.resolution=this.getResolution():t.zoom=this.getZoom(),t.center=this.getCenterInternal(),t.rotation=this.getRotation(),Object.assign({},t,e)}animate(e){this.isDef()&&!this.getAnimating()&&this.resolveConstraints(0);const t=new Array(arguments.length);for(let e=0;e<t.length;++e){let r=arguments[e];r.center&&(r=Object.assign({},r),r.center=(0,m.Ad)(r.center,this.getProjection())),r.anchor&&(r=Object.assign({},r),r.anchor=(0,m.Ad)(r.anchor,this.getProjection())),t[e]=r}this.animateInternal.apply(this,t)}animateInternal(e){let t,r=arguments.length;r>1&&"function"==typeof arguments[r-1]&&(t=arguments[r-1],--r);let n=0;for(;n<r&&!this.isDef();++n){const e=arguments[n];e.center&&this.setCenterInternal(e.center),void 0!==e.zoom?this.setZoom(e.zoom):e.resolution&&this.setResolution(e.resolution),void 0!==e.rotation&&this.setRotation(e.rotation)}if(n===r)return void(t&&S(t,!0));let o=Date.now(),s=this.targetCenter_.slice(),a=this.targetResolution_,c=this.targetRotation_;const u=[];for(;n<r;++n){const e=arguments[n],r={start:o,complete:!1,anchor:e.anchor,duration:void 0!==e.duration?e.duration:1e3,easing:e.easing||h.T9,callback:t};if(e.center&&(r.sourceCenter=s,r.targetCenter=e.center.slice(),s=r.targetCenter),void 0!==e.zoom?(r.sourceResolution=a,r.targetResolution=this.getResolutionForZoom(e.zoom),a=r.targetResolution):e.resolution&&(r.sourceResolution=a,r.targetResolution=e.resolution,a=r.targetResolution),void 0!==e.rotation){r.sourceRotation=c;const t=(0,l.xP)(e.rotation-c+Math.PI,2*Math.PI)-Math.PI;r.targetRotation=c+t,c=r.targetRotation}w(r)?r.complete=!0:o+=r.duration,u.push(r)}this.animations_.push(u),this.setHint(i.A.ANIMATING,1),this.updateAnimations_()}getAnimating(){return this.hints_[i.A.ANIMATING]>0}getInteracting(){return this.hints_[i.A.INTERACTING]>0}cancelAnimations(){let e;this.setHint(i.A.ANIMATING,-this.hints_[i.A.ANIMATING]);for(let t=0,r=this.animations_.length;t<r;++t){const r=this.animations_[t];if(r[0].callback&&S(r[0].callback,!1),!e)for(let t=0,n=r.length;t<n;++t){const n=r[t];
125if(!n.complete){e=n.anchor;break}}}this.animations_.length=0,this.cancelAnchor_=e,this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN}updateAnimations_(){if(void 0!==this.updateAnimationKey_&&(cancelAnimationFrame(this.updateAnimationKey_),this.updateAnimationKey_=void 0),!this.getAnimating())return;const e=Date.now();let t=!1;for(let r=this.animations_.length-1;r>=0;--r){const n=this.animations_[r];let o=!0;for(let r=0,i=n.length;r<i;++r){const i=n[r];if(i.complete)continue;const s=e-i.start;let a=i.duration>0?s/i.duration:1;a>=1?(i.complete=!0,a=1):o=!1;const c=i.easing(a);if(i.sourceCenter){const e=i.sourceCenter[0],t=i.sourceCenter[1],r=i.targetCenter[0],n=i.targetCenter[1];this.nextCenter_=i.targetCenter;const o=e+c*(r-e),s=t+c*(n-t);this.targetCenter_=[o,s]}if(i.sourceResolution&&i.targetResolution){const e=1===c?i.targetResolution:i.sourceResolution+c*(i.targetResolution-i.sourceResolution);if(i.anchor){const t=this.getViewportSize_(this.getRotation()),r=this.constraints_.resolution(e,0,t,!0);this.targetCenter_=this.calculateCenterZoom(r,i.anchor)}this.nextResolution_=i.targetResolution,this.targetResolution_=e,this.applyTargetState_(!0)}if(void 0!==i.sourceRotation&&void 0!==i.targetRotation){const e=1===c?(0,l.xP)(i.targetRotation+Math.PI,2*Math.PI)-Math.PI:i.sourceRotation+c*(i.targetRotation-i.sourceRotation);if(i.anchor){const t=this.constraints_.rotation(e,!0);this.targetCenter_=this.calculateCenterRotate(t,i.anchor)}this.nextRotation_=i.targetRotation,this.targetRotation_=e}if(this.applyTargetState_(!0),t=!0,!i.complete)break}if(o){this.animations_[r]=null,this.setHint(i.A.ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const e=n[0].callback;e&&S(e,!0)}}this.animations_=this.animations_.filter(Boolean),t&&void 0===this.updateAnimationKey_&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}calculateCenterRotate(e,t){let r;const n=this.getCenterInternal();return void 0!==n&&(r=[n[0]-t[0],n[1]-t[1]],(0,d.e$)(r,e-this.getRotation()),(0,d.WQ)(r,t)),r}calculateCenterZoom(e,t){let r;const n=this.getCenterInternal(),i=this.getResolution();if(void 0!==n&&void 0!==i){r=[t[0]-e*(t[0]-n[0])/i,t[1]-e*(t[1]-n[1])/i]}return r}getViewportSize_(e){const t=this.viewportSize_;if(e){const r=t[0],n=t[1];return[Math.abs(r*Math.cos(e))+Math.abs(n*Math.sin(e)),Math.abs(r*Math.sin(e))+Math.abs(n*Math.cos(e))]}return t}setViewportSize(e){this.viewportSize_=Array.isArray(e)?e.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)}getCenter(){const e=this.getCenterInternal();return e?(0,m.te)(e,this.getProjection()):e}getCenterInternal(){return this.get(o.CENTER)}getConstraints(){return this.constraints_}getConstrainResolution(){return this.get("constrainResolution")}getHints(e){return void 0!==e?(e[0]=this.hints_[0],e[1]=this.hints_[1],e):this.hints_.slice()}calculateExtent(e){const t=this.calculateExtentInternal(e);return(0,m.JR)(t,this.getProjection())}calculateExtentInternal(e){e=e||this.getViewportSizeMinusPadding_();const t=this.getCenterInternal();(0,a.v)(t,"The view center is not defined");const r=this.getResolution();(0,a.v)(void 0!==r,"The view resolution is not defined");const n=this.getRotation();return(0,a.v)(void 0!==n,"The view rotation is not defined"),(0,f.Bg)(t,r,n,e)}getMaxResolution(){return this.maxResolution_}getMinResolution(){return this.minResolution_}getMaxZoom(){return this.getZoomForResolution(this.minResolution_)}setMaxZoom(e){this.applyOptions_(this.getUpdatedOptions_({maxZoom:e}))}getMinZoom(){return this.getZoomForResolution(this.maxResolution_)}setMinZoom(e){this.applyOptions_(this.getUpdatedOptions_({minZoom:e}))}setConstrainResolution(e){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:e}))}getProjection(){return this.projection_}getResolution(){return this.get(o.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(e,t){return this.getResolutionForExtentInternal((0,m.SD)(e,this.getProjection()),t)}getResolutionForExtentInternal(e,t){t=t||this.getViewportSizeMinusPadding_();const r=(0,f.RG)(e)/t[0],n=(0,f.Oq)(e)/t[1];return Math.max(r,n)}getResolutionForValueFunction(e){e=e||2;const t=this.getConstrainedResolution(this.maxResolution_),r=this.minResolution_,n=Math.log(t/r)/Math.log(e);return function(r){return t/Math.pow(e,r*n)}}getRotation(){return this.get(o.ROTATION)}getValueForResolutionFunction(e){const t=Math.log(e||2),r=this.getConstrainedResolution(this.maxResolution_),n=this.minResolution_,i=Math.log(r/n)/t;return function(e){return Math.log(r/e)/t/i}}getViewportSizeMinusPadding_(e){let t=this.getViewportSize_(e);const r=this.padding_;return r&&(t=[t[0]-r[1]-r[3],t[1]-r[0]-r[2]]),t}getState(){const e=this.getProjection(),t=this.getResolution(),r=this.getRotation();let n=this.getCenterInternal();const i=this.padding_;if(i){const e=this.getViewportSizeMinusPadding_();n=k(n,this.getViewportSize_(),[e[0]/2+i[3],e[1]/2+i[0]],t,r)}return{center:n.slice(0),projection:void 0!==e?e:null,resolution:t,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:r,zoom:this.getZoom()}}getViewStateAndExtent(){return{viewState:this.getState(),extent:this.calculateExtent()}}getZoom(){let e;const t=this.getResolution();return void 0!==t&&(e=this.getZoomForResolution(t)),e}getZoomForResolution(e){let t,r,n=this.minZoom_||0;if(this.resolutions_){const i=(0,s.FT)(this.resolutions_,e,1);n=i,t=this.resolutions_[i],r=i==this.resolutions_.length-1?2:t/this.resolutions_[i+1]}else t=this.maxResolution_,r=this.zoomFactor_;return n+Math.log(t/e)/Math.log(r)}getResolutionForZoom(e){if(this.resolutions_?.length){if(1===this.resolutions_.length)return this.resolutions_[0];const t=(0,l.qE)(Math.floor(e),0,this.resolutions_.length-2),r=this.resolutions_[t]/this.resolutions_[t+1];return this.resolutions_[t]/Math.pow(r,(0,l.qE)(e-t,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,e-this.minZoom_)}
125fit(e,t){let r;if((0,a.v)(Array.isArray(e)||"function"==typeof e.getSimplifiedGeometry,"Invalid extent or geometry provided as `geometry`"),Array.isArray(e)){(0,a.v)(!(0,f.Im)(e),"Cannot fit empty extent provided as `geometry`");const t=(0,m.SD)(e,this.getProjection());r=(0,p.VY)(t)}else if("Circle"===e.getType()){const t=(0,m.SD)(e.getExtent(),this.getProjection());r=(0,p.VY)(t),r.rotate(this.getRotation(),(0,f.q1)(t))}else{const t=(0,m.Tf)();r=t?e.clone().transform(t,this.getProjection()):e}this.fitInternal(r,t)}rotatedExtentForGeometry(e){const t=this.getRotation(),r=Math.cos(t),n=Math.sin(-t),i=e.getFlatCoordinates(),o=e.getStride();let s=1/0,a=1/0,l=-1/0,c=-1/0;for(let e=0,t=i.length;e<t;e+=o){const t=i[e]*r-i[e+1]*n,o=i[e]*n+i[e+1]*r;s=Math.min(s,t),a=Math.min(a,o),l=Math.max(l,t),c=Math.max(c,o)}return[s,a,l,c]}fitInternal(e,t){let r=(t=t||{}).size;r||(r=this.getViewportSizeMinusPadding_());const n=void 0!==t.padding?t.padding:[0,0,0,0],i=void 0!==t.nearest&&t.nearest;let o;o=void 0!==t.minResolution?t.minResolution:void 0!==t.maxZoom?this.getResolutionForZoom(t.maxZoom):0;const s=this.rotatedExtentForGeometry(e);let a=this.getResolutionForExtentInternal(s,[r[0]-n[1]-n[3],r[1]-n[0]-n[2]]);a=isNaN(a)?o:Math.max(a,o),a=this.getConstrainedResolution(a,i?0:1);const l=this.getRotation(),c=Math.sin(l),u=Math.cos(l),d=(0,f.q1)(s);d[0]+=(n[1]-n[3])/2*a,d[1]+=(n[0]-n[2])/2*a;const h=d[0]*u-d[1]*c,p=d[1]*u+d[0]*c,m=this.getConstrainedCenter([h,p],a),y=t.callback?t.callback:g.tV;void 0!==t.duration?this.animateInternal({resolution:a,center:m,duration:t.duration,easing:t.easing},y):(this.targetResolution_=a,this.targetCenter_=m,this.applyTargetState_(!1,!0),S(y,!0))}centerOn(e,t,r){this.centerOnInternal((0,m.Ad)(e,this.getProjection()),t,r)}centerOnInternal(e,t,r){this.setCenterInternal(k(e,t,r,this.getResolution(),this.getRotation()))}calculateCenterShift(e,t,r,n){let i;const o=this.padding_;if(o&&e){const s=this.getViewportSizeMinusPadding_(-r),a=k(e,n,[s[0]/2+o[3],s[1]/2+o[0]],t,r);i=[e[0]-a[0],e[1]-a[1]]}return i}isDef(){return!!this.getCenterInternal()&&void 0!==this.getResolution()}adjustCenter(e){const t=(0,m.te)(this.targetCenter_,this.getProjection());this.setCenter([t[0]+e[0],t[1]+e[1]])}adjustCenterInternal(e){const t=this.targetCenter_;this.setCenterInternal([t[0]+e[0],t[1]+e[1]])}adjustResolution(e,t){t=t&&(0,m.Ad)(t,this.getProjection()),this.adjustResolutionInternal(e,t)}adjustResolutionInternal(e,t){const r=this.getAnimating()||this.getInteracting(),n=this.getViewportSize_(this.getRotation()),i=this.constraints_.resolution(this.targetResolution_*e,0,n,r);t&&(this.targetCenter_=this.calculateCenterZoom(i,t)),this.targetResolution_*=e,this.applyTargetState_()}adjustZoom(e,t){this.adjustResolution(Math.pow(this.zoomFactor_,-e),t)}adjustRotation(e,t){t&&(t=(0,m.Ad)(t,this.getProjection())),this.adjustRotationInternal(e,t)}adjustRotationInternal(e,t){const r=this.getAnimating()||this.getInteracting(),n=this.constraints_.rotation(this.targetRotation_+e,r);t&&(this.targetCenter_=this.calculateCenterRotate(n,t)),this.targetRotation_+=e,this.applyTargetState_()}setCenter(e){this.setCenterInternal(e?(0,m.Ad)(e,this.getProjection()):e)}setCenterInternal(e){this.targetCenter_=e,this.applyTargetState_()}setHint(e,t){return this.hints_[e]+=t,this.changed(),this.hints_[e]}setResolution(e){this.targetResolution_=e,this.applyTargetState_()}setRotation(e){this.targetRotation_=e,this.applyTargetState_()}setZoom(e){this.setResolution(this.getResolutionForZoom(e))}applyTargetState_(e,t){const r=this.getAnimating()||this.getInteracting()||t,n=this.constraints_.rotation(this.targetRotation_,r),i=this.getViewportSize_(n),s=this.constraints_.resolution(this.targetResolution_,0,i,r),a=this.constraints_.center(this.targetCenter_,s,i,r,this.calculateCenterShift(this.targetCenter_,s,n,i));this.get(o.ROTATION)!==n&&this.set(o.ROTATION,n),this.get(o.RESOLUTION)!==s&&(this.set(o.RESOLUTION,s),this.set("zoom",this.getZoom(),!0)),a&&this.get(o.CENTER)&&(0,d.aI)(this.get(o.CENTER),a)||this.set(o.CENTER,a),this.getAnimating()&&!e&&this.cancelAnimations(),this.cancelAnchor_=void 0}resolveConstraints(e,t,r){e=void 0!==e?e:200;const n=t||0,i=this.constraints_.rotation(this.targetRotation_),o=this.getViewportSize_(i),s=this.constraints_.resolution(this.targetResolution_,n,o),a=this.constraints_.center(this.targetCenter_,s,o,!1,this.calculateCenterShift(this.targetCenter_,s,i,o));if(0===e&&!this.cancelAnchor_)return this.targetResolution_=s,this.targetRotation_=i,this.targetCenter_=a,void this.applyTargetState_();r=r||(0===e?this.cancelAnchor_:void 0),this.cancelAnchor_=void 0,this.getResolution()===s&&this.getRotation()===i&&this.getCenterInternal()&&(0,d.aI)(this.getCenterInternal(),a)||(this.getAnimating()&&this.cancelAnimations(),this.animateInternal({rotation:i,center:a,resolution:s,duration:e,easing:h.vT,anchor:r}))}beginInteraction(){this.resolveConstraints(0),this.setHint(i.A.INTERACTING,1)}endInteraction(e,t,r){r=r&&(0,m.Ad)(r,this.getProjection()),this.endInteractionInternal(e,t,r)}endInteractionInternal(e,t,r){this.getInteracting()&&(this.setHint(i.A.INTERACTING,-1),this.resolveConstraints(e,t,r))}getConstrainedCenter(e,t){const r=this.getViewportSize_(this.getRotation());return this.constraints_.center(e,t||this.getResolution(),r)}getConstrainedZoom(e,t){const r=this.getResolutionForZoom(e);return this.getZoomForResolution(this.getConstrainedResolution(r,t))}getConstrainedResolution(e,t){t=t||0;const r=this.getViewportSize_(this.getRotation());return this.constraints_.resolution(e,t,r)}}function S(e,t){setTimeout(function(){e(t)},0)}function w(e){return!(e.sourceCenter&&e.targetCenter&&!(0,d.aI)(e.sourceCenter,e.targetCenter))&&(e.sourceResolution===e.targetResolution&&e.sourceRotation===e.targetRotation)}function k(e,t,r,n,i){const o=Math.cos(-i);let s=Math.sin(-i),a=e[0]*o-e[1]*s,l=e[1]*o+e[0]*s;a+=(t[0]/2-r[0])*n,l+=(r[1]-t[1]/2)*n,s=-s;return[a*o-l*s,l*o+a*s]}const A=b},50209(e,t,r){"use strict";
125r.d(t,["A",0,{ANIMATING:0,INTERACTING:1}])},95052(e,t,r){"use strict";function n(e,t,r){let n,o;r=r||i;let s=0,a=e.length,l=!1;for(;s<a;)n=s+(a-s>>1),o=+r(e[n],t),o<0?s=n+1:(a=n,l=!o);return l?s:~s}function i(e,t){return e>t?1:e<t?-1:0}function o(e,t){return e<t?1:e>t?-1:0}function s(e,t,r){if(e[0]<=t)return 0;const n=e.length;if(t<=e[n-1])return n-1;if("function"==typeof r){for(let i=1;i<n;++i){const n=e[i];if(n===t)return i;if(n<t)return r(t,e[i-1],n)>0?i-1:i}return n-1}if(r>0){for(let r=1;r<n;++r)if(e[r]<t)return r-1;return n-1}if(r<0){for(let r=1;r<n;++r)if(e[r]<=t)return r;return n-1}for(let r=1;r<n;++r){if(e[r]==t)return r;if(e[r]<t)return e[r-1]-t<t-e[r]?r-1:r}return n-1}function a(e,t,r){for(;t<r;){const n=e[t];e[t]=e[r],e[r]=n,++t,--r}}function l(e,t){const r=Array.isArray(t)?t:[t],n=r.length;for(let t=0;t<n;t++)e[e.length]=r[t]}function c(e,t){const r=e.length;if(r!==t.length)return!1;for(let n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}function u(e,t,r){const n=t||i;return e.every(function(t,i){if(0===i)return!0;const o=n(e[i-1],t);return!(o>0||r&&0===o)})}r.d(t,{El:()=>n,FT:()=>s,V_:()=>i,WC:()=>u,X$:()=>l,aI:()=>c,gI:()=>a,rG:()=>o})},5374(e,t,r){"use strict";function n(e,t){if(!e)throw new Error(t)}r.d(t,{v:()=>n})},61162(e,t,r){"use strict";r.d(t,{_j:()=>A,cD:()=>w,dI:()=>M,eE:()=>S,fu:()=>y,oJ:()=>g,sH:()=>k});var n=r(69677),i=r(84763);const o=[NaN,NaN,NaN,0];let s;const a=/^rgba?\(\s*(\d+%?)\s+(\d+%?)\s+(\d+%?)(?:\s*\/\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i,l=/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)(?:\s*,\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i,c=/^rgba?\(\s*(\d+%)\s*,\s*(\d+%)\s*,\s*(\d+%)(?:\s*,\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i,u=/^#([\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i;function d(e,t){return e.endsWith("%")?Number(e.substring(0,e.length-1))/t:Number(e)}function h(e){throw new Error('failed to parse "'+e+'" as color')}function f(e){if(e.toLowerCase().startsWith("rgb")){const t=e.match(l)||e.match(a)||e.match(c);if(t){const e=t[4],r=100/255;return[(0,i.qE)(d(t[1],r)+.5|0,0,255),(0,i.qE)(d(t[2],r)+.5|0,0,255),(0,i.qE)(d(t[3],r)+.5|0,0,255),void 0!==e?(0,i.qE)(d(e,100),0,1):1]}h(e)}if(e.startsWith("#")){if(u.test(e)){const t=e.substring(1),r=t.length<=4?1:2,n=[0,0,0,255];for(let e=0,i=t.length;e<i;e+=r){let i=parseInt(t.substring(e,e+r),16);1===r&&(i+=i<<4),n[e/r]=i}return n[3]=n[3]/255,n}h(e)}const t=(s||(s=(0,n.Y)(1,1,void 0,{willReadFrequently:!0,desynchronized:!0})),s);t.fillStyle="#abcdef";let r=t.fillStyle;t.fillStyle=e,t.fillStyle===r&&(t.fillStyle="#fedcba",r=t.fillStyle,t.fillStyle=e,t.fillStyle===r&&h(e));const o=t.fillStyle;if(o.startsWith("#")||o.startsWith("rgba"))return f(o);t.clearRect(0,0,1,1),t.fillRect(0,0,1,1);const g=Array.from(t.getImageData(0,0,1,1).data);return g[3]=(0,i.Mg)(g[3]/255,3),g}function g(e){return"string"==typeof e?e:M(e)}const p={};let m=0;function y(e){if(4===e.length)return e;const t=e.slice();return t[3]=1,t}function v(e){return e>.0031308?269.025*Math.pow(e,1/2.4)-14.025:3294.6*e}function x(e){return e>.2068965?Math.pow(e,3):108/841*(e-4/29)}function _(e){return e>10.314724?Math.pow((e+14.025)/269.025,2.4):e/3294.6}function b(e){return e>.0088564?Math.pow(e,1/3):e/(108/841)+4/29}function S(e){const t=_(e[0]),r=_(e[1]),n=_(e[2]),i=b(.222488403*t+.716873169*r+.06060791*n),o=500*(b(.452247074*t+.399439023*r+.148375274*n)-i),s=200*(i-b(.016863605*t+.117638439*r+.865350722*n)),a=Math.atan2(s,o)*(180/Math.PI);return[116*i-16,Math.sqrt(o*o+s*s),a<0?a+360:a,e[3]]}function w(e){const t=(e[0]+16)/116,r=e[1],n=e[2]*Math.PI/180,o=x(t),s=x(t+r/500*Math.cos(n)),a=x(t-r/200*Math.sin(n)),l=v(3.021973625*s-1.617392459*o-.404875592*a),c=v(-.943766287*s+1.916279586*o+.027607165*a),u=v(.069407491*s-.22898585*o+1.159737864*a);return[(0,i.qE)(l+.5|0,0,255),(0,i.qE)(c+.5|0,0,255),(0,i.qE)(u+.5|0,0,255),e[3]]}function k(e){if("none"===e)return o;if(p.hasOwnProperty(e))return p[e];if(m>=1024){let e=0;for(const t in p)3&e++||(delete p[t],--m)}const t=f(e);4!==t.length&&h(e);for(const r of t)isNaN(r)&&h(e);return p[e]=t,++m,t}function A(e){return Array.isArray(e)?e:k(e)}function M(e){let t=e[0];t!=(0|t)&&(t=t+.5|0);let r=e[1];r!=(0|r)&&(r=r+.5|0);let n=e[2];n!=(0|n)&&(n=n+.5|0);return"rgba("+t+","+r+","+n+","+(void 0===e[3]?1:Math.round(1e3*e[3])/1e3)+")"}r.d(t,["qV",0,o])},14837(e,t,r){"use strict";r.d(t,{F:()=>l});
125var n=r(54987),i=r(61162),o=r(69677),s=r(95325),a=r(91127);function l(e){return e?Array.isArray(e)?(0,i.dI)(e):"object"==typeof e&&"src"in e?function(e){if(!e.offset||!e.size)return a.ue.getPattern(e.src,e.color);const t=e.src+":"+e.offset,r=a.ue.getPattern(t,e.color);if(r)return r;const i=a.ue.get(e.src,null);if(i.getImageState()!==n.A.LOADED)return null;const l=(0,o.Y)(e.size[0],e.size[1]);return l.drawImage(i.getImage(1),e.offset[0],e.offset[1],e.size[0],e.size[1],0,0,e.size[0],e.size[1]),(0,s.J)(l.canvas,t,void 0,n.A.LOADED,e.color,!0),a.ue.getPattern(t,e.color)}(e):e:null}},87220(e,t,r){"use strict";r.d(t,{R8:()=>o});const n={info:1,warn:2,error:3,none:4};let i=n.info;function o(...e){i>n.warn||console.warn(...e)}},8255(e,t,r){"use strict";r.d(t,{Li:()=>h,U$:()=>f,WQ:()=>s,aI:()=>l,aP:()=>a,e$:()=>c,hs:()=>u,s5:()=>g,xi:()=>d});var n=r(6045),i=r(84763),o=r(14756);function s(e,t){return e[0]+=+t[0],e[1]+=+t[1],e}function a(e,t,r){const n=(0,i.xP)(t+180,360)-180,s=Math.abs(3600*n),a=r||0;let l=Math.floor(s/3600),c=Math.floor((s-3600*l)/60),u=(0,i.Mg)(s-3600*l-60*c,a);u>=60&&(u=0,c+=1),c>=60&&(c=0,l+=1);let d=l+"°";return 0===c&&0===u||(d+=" "+(0,o.H)(c,2)+"â²"),0!==u&&(d+=" "+(0,o.H)(u,2,a)+"â³"),0!==n&&(d+=" "+e.charAt(n<0?1:0)),d}function l(e,t){let r=!0;for(let n=e.length-1;n>=0;--n)if(e[n]!=t[n]){r=!1;break}return r}function c(e,t){const r=Math.cos(t),n=Math.sin(t),i=e[0]*r-e[1]*n,o=e[1]*r+e[0]*n;return e[0]=i,e[1]=o,e}function u(e,t){return e[0]*=t,e[1]*=t,e}function d(e,t){return e?a("NS",e[1],t)+" "+a("EW",e[0],t):""}function h(e,t){if(t.canWrapX()){const r=(0,n.RG)(t.getExtent()),i=f(e,t,r);i&&(e[0]-=i*r)}return e}function f(e,t,r){const i=t.getExtent();let o=0;return t.canWrapX()&&(e[0]<i[0]||e[0]>i[2])&&(r=r||(0,n.RG)(i),o=Math.floor((e[0]-i[0])/r)),o}function g(e,t,r){const n=Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])),o=[(t[0]-e[0])/n,(t[1]-e[1])/n],s=[-o[1],o[0]],a=Math.sqrt((r[0]-e[0])*(r[0]-e[0])+(r[1]-e[1])*(r[1]-e[1])),l=[(r[0]-e[0])/a,(r[1]-e[1])/a];let c=0===n||0===a?0:Math.acos((0,i.qE)(l[0]*o[0]+l[1]*o[1],-1,1));c=Math.max(c,1e-5);return l[0]*s[0]+l[1]*s[1]>0?c:2*Math.PI-c}},74630(e,t,r){"use strict";const n=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))","?\\s*([-,\\\"\\'\\sa-z0-9]+?)\\s*$"].join(""),"i"),i=["style","variant","weight","size","lineHeight","family"],o={normal:400,bold:700};r.d(t,["$N",0,"ol-control","K5",0,function(e){const t=e.match(n);if(!t)return null;const r={lineHeight:"normal",size:"1.2em",style:"normal",weight:"400",variant:"normal"};for(let e=0,n=i.length;e<n;++e){const n=t[e+1];void 0!==n&&(r[i[e]]="string"==typeof n?n.trim():n)}return isNaN(Number(r.weight))&&r.weight in o&&(r.weight=o[r.weight]),r.families=r.family.split(/,\s?/).map(e=>e.trim().replace(/^['"]|['"]$/g,"")),r},"NM",0,o,"Q5",0,"ol-selectable","Si",0,"ol-hidden","XI",0,"ol-unselectable","nT",0,"ol-collapsed"])},69677(e,t,r){"use strict";r.d(t,{DK:()=>c,Gq:()=>l,WM:()=>h,Y:()=>i,Yg:()=>a,fo:()=>u,gS:()=>d,lr:()=>s,mH:()=>f,rB:()=>g});var n=r(53585);function i(e,t,r,i){let o;return o=r&&r.length?r.shift():n.Wl?new class extends OffscreenCanvas{style={}}(e??300,t??150):document.createElement("canvas"),e&&(o.width=e),t&&(o.height=t),o.getContext("2d",i)}let o;function s(){return o||(o=i(1,1)),o}function a(e){const t=e.canvas;t.width=1,t.height=1,e.clearRect(0,0,1,1)}function l(e){let t=e.offsetWidth;const r=getComputedStyle(e);return t+=parseInt(r.marginLeft,10)+parseInt(r.marginRight,10),t}function c(e){let t=e.offsetHeight;const r=getComputedStyle(e);return t+=parseInt(r.marginTop,10)+parseInt(r.marginBottom,10),t}function u(e,t){const r=t.parentNode;r&&r.replaceChild(e,t)}function d(e){for(;e.lastChild;)e.lastChild.remove()}function h(e,t){const r=e.childNodes;for(let n=0;;++n){const i=r[n],o=t[n];if(!i&&!o)break;i!==o&&(i?o?e.insertBefore(o,i):(e.removeChild(i),--n):e.appendChild(o))}}function f(){return new Proxy({childNodes:[],appendChild:function(e){return this.childNodes.push(e),e},remove:function(){},removeChild:function(e){const t=this.childNodes.indexOf(e);if(-1===t)throw new Error("Node to remove was not found");return this.childNodes.splice(t,1),e},insertBefore:function(e,t){const r=this.childNodes.indexOf(t);if(-1===r)throw new Error("Reference node not found");return this.childNodes.splice(r,0,e),e},style:{}},{get:(e,t,r)=>"firstElementChild"===t?e.childNodes.length>0?e.childNodes[0]:null:Reflect.get(e,t,r)})}function g(e){return"undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas}},64156(e,t,r){"use strict";function n(e){return Math.pow(e,3)}function i(e){return 1-n(1-e)}function o(e){return 3*e*e-2*e*e*e}function s(e){return e}r.d(t,{T9:()=>o,a6:()=>n,sn:()=>s,vT:()=>i})},55992(e,t,r){"use strict";r.d(t,{JH:()=>s,Jz:()=>o,KT:()=>i});var n=r(68640);function i(e,t,r,n,i){if(i){const i=r;r=function(o){return e.removeEventListener(t,r),i.call(n??this,o)}}else n&&n!==e&&(r=r.bind(n));const o={target:e,type:t,listener:r};return e.addEventListener(t,r),o}function o(e,t,r,n){return i(e,t,r,n,!0)}function s(e){e&&e.target&&(e.target.removeEventListener(e.type,e.listener),(0,n.I)(e))}},44547(e,t,r){"use strict";
125const n=class{constructor(e){this.propagationStopped,this.defaultPrevented,this.type=e,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}};r.d(t,["Ay",0,n])},22075(e,t,r){"use strict";r.d(t,["A",0,{CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"}])},64430(e,t,r){"use strict";var n=r(58959),i=r(45248),o=r(68640),s=r(44547);class a extends n.A{constructor(e){super(),this.eventTarget_=e,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(e,t){if(!e||!t)return;const r=this.listeners_||(this.listeners_={}),n=r[e]||(r[e]=[]);n.includes(t)||n.push(t)}dispatchEvent(e){const t="string"==typeof e,r=t?e:e.type,n=this.listeners_&&this.listeners_[r];if(!n)return;const o=t?new s.Ay(e):e;o.target||(o.target=this.eventTarget_||this);const a=this.dispatching_||(this.dispatching_={}),l=this.pendingRemovals_||(this.pendingRemovals_={});let c;r in a||(a[r]=0,l[r]=0),++a[r];for(let e=0,t=n.length;e<t;++e)if(c="handleEvent"in n[e]?n[e].handleEvent(o):n[e].call(this,o),!1===c||o.propagationStopped){c=!1;break}if(0===--a[r]){let e=l[r];for(delete l[r];e--;)this.removeEventListener(r,i.tV);delete a[r]}return c}disposeInternal(){this.listeners_&&(0,o.I)(this.listeners_)}getListeners(e){return this.listeners_&&this.listeners_[e]||void 0}hasListener(e){return!!this.listeners_&&(e?e in this.listeners_:Object.keys(this.listeners_).length>0)}removeEventListener(e,t){if(!this.listeners_)return;const r=this.listeners_[e];if(!r)return;const n=r.indexOf(t);-1!==n&&(this.pendingRemovals_&&e in this.pendingRemovals_?(r[n]=i.tV,++this.pendingRemovals_[e]):(r.splice(n,1),0===r.length&&delete this.listeners_[e]))}}const l=a;r.d(t,["A",0,l])},6045(e,t,r){"use strict";r.d(t,{$C:()=>_,$u:()=>$,Bg:()=>R,HY:()=>F,Im:()=>N,Ld:()=>a,Li:()=>G,Mx:()=>z,N:()=>f,NW:()=>B,Oq:()=>I,Py:()=>O,QJ:()=>W,R:()=>A,R8:()=>b,RG:()=>D,Rj:()=>u,S5:()=>h,Tr:()=>i,UG:()=>k,Vy:()=>m,WU:()=>L,X$:()=>x,Ym:()=>l,Yw:()=>T,_$:()=>Y,_N:()=>P,aI:()=>y,aZ:()=>g,bE:()=>v,dP:()=>p,k_:()=>M,ms:()=>c,o8:()=>s,q1:()=>C,qF:()=>E,r:()=>o,sB:()=>w,vz:()=>d,wB:()=>j});var n=r(43054);function i(e){const t=h();for(let r=0,n=e.length;r<n;++r)_(t,e[r]);return t}function o(e,t,r){return r?(r[0]=e[0]-t,r[1]=e[1]-t,r[2]=e[2]+t,r[3]=e[3]+t,r):[e[0]-t,e[1]-t,e[2]+t,e[3]+t]}function s(e,t){return t?(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t):e.slice()}function a(e,t,r){let n,i;return n=t<e[0]?e[0]-t:e[2]<t?t-e[2]:0,i=r<e[1]?e[1]-r:e[3]<r?r-e[3]:0,n*n+i*i}function l(e,t){return u(e,t[0],t[1])}function c(e,t){return e[0]<=t[0]&&t[2]<=e[2]&&e[1]<=t[1]&&t[3]<=e[3]}function u(e,t,r){return e[0]<=t&&t<=e[2]&&e[1]<=r&&r<=e[3]}function d(e,t){const r=e[0],i=e[1],o=e[2],s=e[3],a=t[0],l=t[1];let c=n.A.UNKNOWN;return a<r?c|=n.A.LEFT:a>o&&(c|=n.A.RIGHT),l<i?c|=n.A.BELOW:l>s&&(c|=n.A.ABOVE),c===n.A.UNKNOWN&&(c=n.A.INTERSECTING),c}function h(){return[1/0,1/0,-1/0,-1/0]}function f(e,t,r,n,i){return i?(i[0]=e,i[1]=t,i[2]=r,i[3]=n,i):[e,t,r,n]}function g(e){return f(1/0,1/0,-1/0,-1/0,e)}function p(e,t){const r=e[0],n=e[1];return f(r,n,r,n,t)}function m(e,t,r,n,i){return b(g(i),e,t,r,n)}function y(e,t){return e[0]==t[0]&&e[2]==t[2]&&e[1]==t[1]&&e[3]==t[3]}function v(e,t,r){return Math.abs(e[0]-t[0])<r&&Math.abs(e[2]-t[2])<r&&Math.abs(e[1]-t[1])<r&&Math.abs(e[3]-t[3])<r}function x(e,t){return t[0]<e[0]&&(e[0]=t[0]),t[2]>e[2]&&(e[2]=t[2]),t[1]<e[1]&&(e[1]=t[1]),t[3]>e[3]&&(e[3]=t[3]),e}function _(e,t){t[0]<e[0]&&(e[0]=t[0]),t[0]>e[2]&&(e[2]=t[0]),t[1]<e[1]&&(e[1]=t[1]),t[1]>e[3]&&(e[3]=t[1])}function b(e,t,r,n,i){for(;r<n;r+=i)S(e,t[r],t[r+1]);return e}function S(e,t,r){e[0]=Math.min(e[0],t),e[1]=Math.min(e[1],r),e[2]=Math.max(e[2],t),e[3]=Math.max(e[3],r)}function w(e,t){let r;return r=t(A(e)),r||(r=t(M(e)),r||(r=t(L(e)),r||(r=t(O(e)),r||!1)))}function k(e){let t=0;return N(e)||(t=D(e)*I(e)),t}function A(e){return[e[0],e[1]]}function M(e){return[e[2],e[1]]}function C(e){return[(e[0]+e[2])/2,(e[1]+e[3])/2]}function E(e,t){let r;if("bottom-left"===t)r=A(e);else if("bottom-right"===t)r=M(e);else if("top-left"===t)r=O(e);else{if("top-right"!==t)throw new Error("Invalid corner");r=L(e)}return r}function R(e,t,r,n,i){const[o,s,a,l,c,u,d,h]=T(e,t,r,n);
125return f(Math.min(o,a,c,d),Math.min(s,l,u,h),Math.max(o,a,c,d),Math.max(s,l,u,h),i)}function T(e,t,r,n){const i=t*n[0]/2,o=t*n[1]/2,s=Math.cos(r),a=Math.sin(r),l=i*s,c=i*a,u=o*s,d=o*a,h=e[0],f=e[1];return[h-l+d,f-c-u,h-l-d,f-c+u,h+l-d,f+c+u,h+l+d,f+c-u,h-l+d,f-c-u]}function I(e){return e[3]-e[1]}function P(e,t,r){const n=r||[1/0,1/0,-1/0,-1/0];return F(e,t)?(e[0]>t[0]?n[0]=e[0]:n[0]=t[0],e[1]>t[1]?n[1]=e[1]:n[1]=t[1],e[2]<t[2]?n[2]=e[2]:n[2]=t[2],e[3]<t[3]?n[3]=e[3]:n[3]=t[3]):g(n),n}function j(e,t){if(!F(e,t))return[e.slice()];if(c(t,e))return[];const[r,n,i,o]=e,s=Math.max(r,t[0]),a=Math.max(n,t[1]),l=Math.min(i,t[2]),u=Math.min(o,t[3]),d=[];return s>r&&d.push([r,n,s,o]),l<i&&d.push([l,n,i,o]),a>n&&d.push([s,n,l,a]),u<o&&d.push([s,u,l,o]),d}function O(e){return[e[0],e[3]]}function L(e){return[e[2],e[3]]}function D(e){return e[2]-e[0]}function F(e,t){return e[0]<=t[2]&&e[2]>=t[0]&&e[1]<=t[3]&&e[3]>=t[1]}function N(e){return e[2]<e[0]||e[3]<e[1]}function $(e,t){return t?(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t):e}function z(e,t,r){let i=!1;const o=d(e,t),s=d(e,r);if(o===n.A.INTERSECTING||s===n.A.INTERSECTING)i=!0;else{const a=e[0],l=e[1],c=e[2],u=e[3],d=t[0],h=t[1],f=r[0],g=r[1],p=(g-h)/(f-d);let m,y;s&n.A.ABOVE&&!(o&n.A.ABOVE)&&(m=f-(g-u)/p,i=m>=a&&m<=c),i||!(s&n.A.RIGHT)||o&n.A.RIGHT||(y=g-(f-c)*p,i=y>=l&&y<=u),i||!(s&n.A.BELOW)||o&n.A.BELOW||(m=f-(g-l)/p,i=m>=a&&m<=c),i||!(s&n.A.LEFT)||o&n.A.LEFT||(y=g-(f-a)*p,i=y>=l&&y<=u)}return i}function B(e,t,r,n){if(N(e))return g(r);let i=[];if(n>1){const t=e[2]-e[0],r=e[3]-e[1];for(let o=0;o<n;++o)i.push(e[0]+t*o/n,e[1],e[2],e[1]+r*o/n,e[2]-t*o/n,e[3],e[0],e[3]-r*o/n)}else i=[e[0],e[1],e[2],e[1],e[2],e[3],e[0],e[3]];t(i,i,2);const o=[],s=[];for(let e=0,t=i.length;e<t;e+=2)o.push(i[e]),s.push(i[e+1]);
125return function(e,t,r){return f(Math.min.apply(null,e),Math.min.apply(null,t),Math.max.apply(null,e),Math.max.apply(null,t),r)}(o,s,r)}function G(e,t){const r=t.getExtent(),n=C(e);if(t.canWrapX()&&(n[0]<r[0]||n[0]>=r[2])){const t=D(r),i=Math.floor((n[0]-r[0])/t)*t;e[0]-=i,e[2]-=i}return e}function W(e,t,r){if(t.canWrapX()){const n=t.getExtent();if(!isFinite(e[0])||!isFinite(e[2]))return[[n[0],e[1],n[2],e[3]]];G(e,t);const i=D(n);if(D(e)>i&&!r)return[[n[0],e[1],n[2],e[3]]];if(e[0]<n[0])return[[e[0]+i,e[1],n[2],e[3]],[n[0],e[1],e[2],e[3]]];if(e[2]>n[2])return[[e[0],e[1],n[2],e[3]],[n[0],e[1],e[2]-i,e[3]]]}return[e]}function Y(e,t){let r=[e];for(let e=0,n=t.length;e<n&&r.length>0;++e){const n=[];for(let i=0,o=r.length;i<o;++i)n.push(...j(r[i],t[e]));r=n}return r}},43054(e,t,r){"use strict";r.d(t,["A",0,{UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16}])},45248(e,t,r){"use strict";r.d(t,{B4:()=>a,W8:()=>o,hq:()=>l,rT:()=>i,tV:()=>s});var n=r(95052);function i(){return!0}function o(){return!1}function s(){}function a(e){let t,r,i;return function(){const o=Array.prototype.slice.call(arguments);return r&&this===i&&(0,n.aI)(o,r)||(i=this,r=o,t=e.apply(this,arguments)),t}}function l(e){return function(){let t;try{t=e()}catch(e){return Promise.reject(e)}return t instanceof Promise?t:Promise.resolve(t)}()}},69832(e,t,r){"use strict";var n=r(34150),i=r(6045),o=r(45248),s=r(44699),a=r(85185),l=r(10917),c=r(28564);const u=(0,a.vt)(),d=[NaN,NaN];class h extends n.A{constructor(){super(),this.extent_=(0,i.S5)(),this.extentRevision_=-1,this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=0,this.simplifyTransformedInternal=(0,o.B4)((e,t,r)=>{if(!r)return this.getSimplifiedGeometry(t);const n=this.clone();return n.applyTransform(r),n.getSimplifiedGeometry(t)})}simplifyTransformed(e,t){return this.simplifyTransformedInternal(this.getRevision(),e,t)}clone(){return(0,l.b0)()}closestPointXY(e,t,r,n){return(0,l.b0)()}containsXY(e,t){return 0===this.closestPointXY(e,t,d,Number.MIN_VALUE)}getClosestPoint(e,t){return t=t||[NaN,NaN],this.closestPointXY(e[0],e[1],t,1/0),t}intersectsCoordinate(e){return this.containsXY(e[0],e[1])}computeExtent(e){return(0,l.b0)()}getExtent(e){if(this.extentRevision_!=this.getRevision()){const e=this.computeExtent(this.extent_);(isNaN(e[0])||isNaN(e[1]))&&(0,i.aZ)(e),this.extentRevision_=this.getRevision()}return(0,i.$u)(this.extent_,e)}rotate(e,t){(0,l.b0)()}scale(e,t,r){(0,l.b0)()}simplify(e){return this.getSimplifiedGeometry(e*e)}getSimplifiedGeometry(e){return(0,l.b0)()}getType(){return(0,l.b0)()}applyTransform(e){(0,l.b0)()}intersectsExtent(e){return(0,l.b0)()}translate(e,t){(0,l.b0)()}transform(e,t){const r=(0,s.Jt)(e),n="tile-pixels"==r.getUnits()?function(e,n,o){const l=r.getExtent(),d=r.getWorldExtent(),h=(0,i.Oq)(d)/(0,i.Oq)(l);(0,a.Zz)(u,d[0],d[3],h,-h,0,0,0);const f=(0,c.Rc)(e,0,e.length,o,u,n),g=(0,s.RG)(r,t);return g?g(f,f,o):f}:(0,s.RG)(r,t);return this.applyTransform(n),this}}const f=h;r.d(t,["A",0,f])},19416(e,t,r){"use strict";var n=r(6045),i=r(84763),o=r(89678),s=r(39347);class a extends o.Ay{constructor(e,t){super(),this.setCoordinates(e,t)}clone(){const e=new a(this.flatCoordinates.slice(),this.layout);return e.applyProperties(this),e}closestPointXY(e,t,r,n){const o=this.flatCoordinates,s=(0,i.hG)(e,t,o[0],o[1]);if(s<n){const e=this.stride;for(let t=0;t<e;++t)r[t]=o[t];return r.length=e,s}return n}getCoordinates(){return this.flatCoordinates.slice()}computeExtent(e){return(0,n.dP)(this.flatCoordinates,e)}getType(){return"Point"}intersectsExtent(e){return(0,n.Rj)(e,this.flatCoordinates[0],this.flatCoordinates[1])}setCoordinates(e,t){this.setLayout(t,e,0),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=(0,s._n)(this.flatCoordinates,0,e,this.stride),this.changed()}}const l=a;r.d(t,["A",0,l])},75818(e,t,r){"use strict";r.d(t,{Ay:()=>x,VY:()=>_});var n=r(95052),i=r(6045),o=r(89678),s=r(38831),a=r(39015),l=r(39347),c=r(45951),u=r(55824),d=r(12609);class h extends o.Ay{constructor(e,t){super(),this.maxDelta_=-1,this.maxDeltaRevision_=-1,void 0===t||Array.isArray(e[0])?this.setCoordinates(e,t):this.setFlatCoordinates(t,e)}clone(){return new h(this.flatCoordinates.slice(),this.layout)}closestPointXY(e,t,r,n){return n<(0,i.Ld)(this.getExtent(),e,t)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt((0,a.MD)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),(0,a.n)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!0,e,t,r,n))}getArea(){return(0,s.eN)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getCoordinates(){return(0,c.n2)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getSimplifiedGeometryInternal(e){const t=[];return t.length=(0,d.P4)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e,t,0),new h(t,"XY")}getType(){return"LinearRing"}intersectsExtent(e){return(0,u.gp)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e)}setCoordinates(e,t){this.setLayout(t,e,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=(0,l.z2)(this.flatCoordinates,0,e,this.stride),this.changed()}}const f=h;var g=r(19416),p=r(19435),m=r(56646),y=r(29160);class v extends o.Ay{constructor(e,t,r){super(),this.ends_=[],this.flatInteriorPointRevision_=-1,this.flatInteriorPoint_=null,this.maxDelta_=-1,this.maxDeltaRevision_=-1,this.orientedRevision_=-1,this.orientedFlatCoordinates_=null,void 0!==t&&r?(this.setFlatCoordinates(t,e),this.ends_=r):this.setCoordinates(e,t)}appendLinearRing(e){this.flatCoordinates?(0,n.X$)(this.flatCoordinates,e.getFlatCoordinates()):this.flatCoordinates=e.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()}clone(){const e=new v(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return e.applyProperties(this),e}closestPointXY(e,t,r,n){return n<(0,i.Ld)(this.getExtent(),e,t)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt((0,a.HX)(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),(0,a.oW)(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!0,e,t,r,n))}containsXY(e,t){return(0,p.zb)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,e,t)}getArea(){return(0,s.PK)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride)}getCoordinates(e){let t;return void 0!==e?(t=this.getOrientedFlatCoordinates().slice(),(0,y.ug)(t,0,this.ends_,this.stride,e)):t=this.flatCoordinates,(0,c.cD)(t,0,this.ends_,this.stride)}getEnds(){return this.ends_}getFlatInteriorPoint(){if(this.flatInteriorPointRevision_!=this.getRevision()){const e=(0,i.q1)(this.getExtent());this.flatInteriorPoint_=(0,m.J)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,e,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_}getInteriorPoint(){return new g.A(this.getFlatInteriorPoint(),"XYM")}getLinearRingCount(){return this.ends_.length}getLinearRing(e){return e<0||this.ends_.length<=e?null:new f(this.flatCoordinates.slice(0===e?0:this.ends_[e-1],this.ends_[e]),this.layout)}getLinearRings(){const e=this.layout,t=this.flatCoordinates,r=this.ends_,n=[];let i=0;for(let o=0,s=r.length;o<s;++o){const s=r[o],a=new f(t.slice(i,s),e);n.push(a),i=s}return n}getOrientedFlatCoordinates(){if(this.orientedRevision_!=this.getRevision()){const e=this.flatCoordinates;(0,y.PA)(e,0,this.ends_,this.stride)?this.orientedFlatCoordinates_=e:(this.orientedFlatCoordinates_=e.slice(),this.orientedFlatCoordinates_.length=(0,y.ug)(this.orientedFlatCoordinates_,0,this.ends_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_}getSimplifiedGeometryInternal(e){const t=[],r=[];return t.length=(0,d.Hg)(this.flatCoordinates,0,this.ends_,this.stride,Math.sqrt(e),t,0,r),new v(t,"XY",r)}getType(){return"Polygon"}intersectsExtent(e){return(0,u.HT)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,e)}setCoordinates(e,t){this.setLayout(t,e,2),this.flatCoordinates||(this.flatCoordinates=[]);const r=(0,l.KG)(this.flatCoordinates,0,e,this.stride,this.ends_);this.flatCoordinates.length=0===r.length?0:r[r.length-1],this.changed()}}const x=v;function _(e){if((0,i.Im)(e))throw new Error("Cannot create polygon from empty extent");const t=e[0],r=e[1],n=e[2],o=e[3],s=[t,r,t,o,n,o,n,r,t,r];return new v(s,"XY",[s.length])}},89678(e,t,r){"use strict";r.d(t,{p0:()=>l,v7:()=>u});var n=r(6045),i=r(10917),o=r(69832),s=r(28564);class a extends o.A{constructor(){super(),this.layout="XY",this.stride=2,this.flatCoordinates}computeExtent(e){return(0,n.Vy)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e)}getCoordinates(){return(0,i.b0)()}getFirstCoordinate(){return this.flatCoordinates.slice(0,this.stride)}getFlatCoordinates(){return this.flatCoordinates}getLastCoordinate(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)}getLayout(){return this.layout}getSimplifiedGeometry(e){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),e<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&e<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;const t=this.getSimplifiedGeometryInternal(e);return t.getFlatCoordinates().length<this.flatCoordinates.length?t:(this.simplifiedGeometryMaxMinSquaredTolerance=e,this)}getSimplifiedGeometryInternal(e){return this}getStride(){return this.stride}setFlatCoordinates(e,t){this.stride=c(e),this.layout=e,this.flatCoordinates=t}setCoordinates(e,t){(0,i.b0)()}setLayout(e,t,r){let n;if(e)n=c(e);else{for(let e=0;e<r;++e){if(0===t.length)return this.layout="XY",void(this.stride=2);t=t[0]}n=t.length,e=l(n)}this.layout=e,this.stride=n}applyTransform(e){this.flatCoordinates&&(e(this.flatCoordinates,this.flatCoordinates,this.layout.startsWith("XYZ")?3:2,this.stride),this.changed())}rotate(e,t){const r=this.getFlatCoordinates();if(r){const n=this.getStride();(0,s.e$)(r,0,r.length,n,e,t,r),this.changed()}}
125scale(e,t,r){void 0===t&&(t=e),r||(r=(0,n.q1)(this.getExtent()));const i=this.getFlatCoordinates();if(i){const n=this.getStride();(0,s.hs)(i,0,i.length,n,e,t,r,i),this.changed()}}translate(e,t){const r=this.getFlatCoordinates();if(r){const n=this.getStride();(0,s.Tl)(r,0,r.length,n,e,t,r),this.changed()}}}function l(e){let t;return 2==e?t="XY":3==e?t="XYZ":4==e&&(t="XYZM"),t}function c(e){let t;return"XY"==e?t=2:"XYZ"==e||"XYM"==e?t=3:"XYZM"==e&&(t=4),t}function u(e,t,r){const n=e.getFlatCoordinates();if(!n)return null;const i=e.getStride();return(0,s.Rc)(n,0,n.length,i,t,r)}const d=a;r.d(t,["Ay",0,d])},38831(e,t,r){"use strict";function n(e,t,r,n){let i=0;const o=e[r-n],s=e[r-n+1];let a=0,l=0;for(;t<r;t+=n){const r=e[t]-o,n=e[t+1]-s;i+=l*r-a*n,a=r,l=n}return i/2}function i(e,t,r,i){let o=0;for(let s=0,a=r.length;s<a;++s){const a=r[s];o+=n(e,t,a,i),t=a}return o}function o(e,t,r,n){let o=0;for(let s=0,a=r.length;s<a;++s){const a=r[s];o+=i(e,t,a,n),t=a[a.length-1]}return o}r.d(t,{Cs:()=>o,PK:()=>i,eN:()=>n})},74943(e,t,r){"use strict";r.d(t,{C:()=>i});var n=r(6045);function i(e,t,r,i){const o=[];let s=(0,n.S5)();for(let a=0,l=r.length;a<l;++a){const l=r[a];s=(0,n.Vy)(e,t,l[0],i),o.push((s[0]+s[2])/2,(s[1]+s[3])/2),t=l[l.length-1]}return o}},39015(e,t,r){"use strict";r.d(t,{HX:()=>s,MD:()=>o,c:()=>a,n:()=>l,oW:()=>c,te:()=>u});var n=r(84763);function i(e,t,r,i,o,s,a){const l=e[t],c=e[t+1],u=e[r]-l,d=e[r+1]-c;let h;if(0===u&&0===d)h=t;else{const f=((o-l)*u+(s-c)*d)/(u*u+d*d);if(f>1)h=r;else{if(f>0){for(let o=0;o<i;++o)a[o]=(0,n.Cc)(e[t+o],e[r+o],f);return void(a.length=i)}h=t}}for(let t=0;t<i;++t)a[t]=e[h+t];a.length=i}function o(e,t,r,i,o){let s=e[t],a=e[t+1];for(t+=i;t<r;t+=i){const r=e[t],i=e[t+1],l=(0,n.hG)(s,a,r,i);l>o&&(o=l),s=r,a=i}return o}function s(e,t,r,n,i){for(let s=0,a=r.length;s<a;++s){const a=r[s];i=o(e,t,a,n,i),t=a}return i}function a(e,t,r,n,i){for(let o=0,a=r.length;o<a;++o){const a=r[o];i=s(e,t,a,n,i),t=a[a.length-1]}return i}function l(e,t,r,o,s,a,l,c,u,d,h){if(t==r)return d;let f,g;if(0===s){if(g=(0,n.hG)(l,c,e[t],e[t+1]),g<d){for(f=0;f<o;++f)u[f]=e[t+f];return u.length=o,g}return d}h=h||[NaN,NaN];let p=t+o;for(;p<r;)if(i(e,p-o,p,o,l,c,h),g=(0,n.hG)(l,c,h[0],h[1]),g<d){for(d=g,f=0;f<o;++f)u[f]=h[f];u.length=o,p+=o}else p+=o*Math.max((Math.sqrt(g)-Math.sqrt(d))/s|0,1);if(a&&(i(e,r-o,t,o,l,c,h),g=(0,n.hG)(l,c,h[0],h[1]),g<d)){for(d=g,f=0;f<o;++f)u[f]=h[f];u.length=o}return d}function c(e,t,r,n,i,o,s,a,c,u,d){d=d||[NaN,NaN];for(let h=0,f=r.length;h<f;++h){const f=r[h];u=l(e,t,f,n,i,o,s,a,c,u,d),t=f}return u}function u(e,t,r,n,i,o,s,a,l,u,d){d=d||[NaN,NaN];for(let h=0,f=r.length;h<f;++h){const f=r[h];u=c(e,t,f,n,i,o,s,a,l,u,d),t=f[f.length-1]}return u}},19435(e,t,r){"use strict";r.d(t,{Gd:()=>a,a_:()=>o,t7:()=>i,zb:()=>s});var n=r(6045);function i(e,t,r,i,s){return!(0,n.sB)(s,function(n){return!o(e,t,r,i,n[0],n[1])})}function o(e,t,r,n,i,o){let s=0,a=e[r-n],l=e[r-n+1];for(;t<r;t+=n){const r=e[t],n=e[t+1];l<=o?n>o&&(r-a)*(o-l)-(i-a)*(n-l)>0&&s++:n<=o&&(r-a)*(o-l)-(i-a)*(n-l)<0&&s--,a=r,l=n}return 0!==s}function s(e,t,r,n,i,s){if(0===r.length)return!1;if(!o(e,t,r[0],n,i,s))return!1;for(let t=1,a=r.length;t<a;++t)if(o(e,r[t-1],r[t],n,i,s))return!1;return!0}function a(e,t,r,n,i,o){if(0===r.length)return!1;for(let a=0,l=r.length;a<l;++a){const l=r[a];if(s(e,t,l,n,i,o))return!0;t=l[l.length-1]}return!1}},39347(e,t,r){"use strict";function n(e,t,r,n){for(let n=0,i=r.length;n<i;++n)e[t++]=r[n];return t}function i(e,t,r,n){for(let i=0,o=r.length;i<o;++i){const o=r[i];for(let r=0;r<n;++r)e[t++]=o[r]}return t}function o(e,t,r,n,o){o=o||[];let s=0;for(let a=0,l=r.length;a<l;++a){const l=i(e,t,r[a],n);o[s++]=l,t=l}return o.length=s,o}function s(e,t,r,n,i){i=i||[];let s=0;for(let a=0,l=r.length;a<l;++a){const l=o(e,t,r[a],n,i[s]);0===l.length&&(l[0]=t),i[s++]=l,t=l[l.length-1]}return i.length=s,i}r.d(t,{KG:()=>o,_n:()=>n,d6:()=>s,z2:()=>i})},45951(e,t,r){"use strict";function n(e,t,r,n,i){i=void 0!==i?i:[];let o=0;for(let s=t;s<r;s+=n)i[o++]=e.slice(s,s+n);return i.length=o,i}function i(e,t,r,i,o){o=void 0!==o?o:[];let s=0;for(let a=0,l=r.length;a<l;++a){const l=r[a];o[s++]=n(e,t,l,i,o[s]),t=l}return o.length=s,o}function o(e,t,r,n,o){o=void 0!==o?o:[];let s=0;for(let a=0,l=r.length;a<l;++a){const l=r[a];o[s++]=1===l.length&&l[0]===t?[]:i(e,t,l,n,o[s]),t=l[l.length-1]}return o.length=s,o}r.d(t,{Dz:()=>
125o,cD:()=>i,n2:()=>n})},56646(e,t,r){"use strict";r.d(t,{J:()=>o,p:()=>s});var n=r(95052),i=r(19435);function o(e,t,r,o,s,a,l){let c,u,d,h,f,g,p;const m=s[a+1],y=[];for(let n=0,i=r.length;n<i;++n){const i=r[n];for(h=e[i-o],g=e[i-o+1],c=t;c<i;c+=o)f=e[c],p=e[c+1],(m<=g&&p<=m||g<=m&&m<=p)&&(d=(m-g)/(p-g)*(f-h)+h,y.push(d)),h=f,g=p}let v=NaN,x=-1/0;for(y.sort(n.V_),h=y[0],c=1,u=y.length;c<u;++c){f=y[c];const n=Math.abs(f-h);n>x&&(d=(h+f)/2,(0,i.zb)(e,t,r,o,d,m)&&(v=d,x=n)),h=f}return isNaN(v)&&(v=s[a]),l?(l.push(v,m,x),l):[v,m,x]}function s(e,t,r,n,i){let s=[];for(let a=0,l=r.length;a<l;++a){const l=r[a];s=o(e,t,l,n,i,2*a,s),t=l[l.length-1]}return s}},19091(e,t,r){"use strict";r.d(t,{L8:()=>a,SH:()=>o,gr:()=>s});var n=r(95052),i=r(84763);function o(e,t,r,o,s,a,l){let c,u;const d=(r-t)/o;if(1===d)c=t;else if(2===d)c=t,u=s;else if(0!==d){let i=e[t],a=e[t+1],l=0;const d=[0];for(let n=t+o;n<r;n+=o){const t=e[n],r=e[n+1];l+=Math.sqrt((t-i)*(t-i)+(r-a)*(r-a)),d.push(l),i=t,a=r}const h=s*l,f=(0,n.El)(d,h);f<0?(u=(h-d[-f-2])/(d[-f-1]-d[-f-2]),c=t+(-f-2)*o):c=t+f*o}l=l>1?l:2,a=a||new Array(l);for(let t=0;t<l;++t)a[t]=void 0===c?NaN:void 0===u?e[c+t]:(0,i.Cc)(e[c+t],e[c+o+t],u);return a}function s(e,t,r,n,o,s){if(r==t)return null;let a;if(o<e[t+n-1])return s?(a=e.slice(t,t+n),a[n-1]=o,a):null;if(e[r-1]<o)return s?(a=e.slice(r-n,r),a[n-1]=o,a):null;if(o==e[t+n-1])return e.slice(t,t+n);let l=t/n,c=r/n;for(;l<c;){const t=l+c>>1;o<e[(t+1)*n-1]?c=t:l=t+1}const u=e[l*n-1];if(o==u)return e.slice((l-1)*n,(l-1)*n+n);const d=(o-u)/(e[(l+1)*n-1]-u);a=[];for(let t=0;t<n-1;++t)a.push((0,i.Cc)(e[(l-1)*n+t],e[l*n+t],d));return a.push(o),a}function a(e,t,r,n,i,o,a){if(a)return s(e,t,r[r.length-1],n,i,o);let l;if(i<e[n-1])return o?(l=e.slice(0,n),l[n-1]=i,l):null;if(e[e.length-1]<i)return o?(l=e.slice(e.length-n),l[n-1]=i,l):null;for(let o=0,a=r.length;o<a;++o){const a=r[o];if(t!=a){if(i<e[t+n-1])return null;if(i<=e[a-1])return s(e,t,a,n,i,!1);t=a}}return null}},55824(e,t,r){"use strict";r.d(t,{HT:()=>c,Wp:()=>u,fB:()=>a,gp:()=>s,sj:()=>l});var n=r(6045),i=r(19435),o=r(37872);function s(e,t,r,i,s,a){return a=a??(0,n.R8)((0,n.S5)(),e,t,r,i),!!(0,n.HY)(s,a)&&(a[0]>=s[0]&&a[2]<=s[2]||a[1]>=s[1]&&a[3]<=s[3]||(0,o.j)(e,t,r,i,function(e,t){return(0,n.Mx)(s,e,t)}))}function a(e,t,r,n,i){for(let o=0,a=r.length;o<a;++o){if(s(e,t,r[o],n,i))return!0;t=r[o]}return!1}function l(e,t,r,n,o){return!!s(e,t,r,n,o)||(!!(0,i.a_)(e,t,r,n,o[0],o[1])||(!!(0,i.a_)(e,t,r,n,o[0],o[3])||(!!(0,i.a_)(e,t,r,n,o[2],o[1])||!!(0,i.a_)(e,t,r,n,o[2],o[3]))))}function c(e,t,r,n,o){if(!l(e,t,r[0],n,o))return!1;if(1===r.length)return!0;for(let t=1,a=r.length;t<a;++t)if((0,i.t7)(e,r[t-1],r[t],n,o)&&!s(e,r[t-1],r[t],n,o))return!1;return!0}function u(e,t,r,n,i){for(let o=0,s=r.length;o<s;++o){const s=r[o];if(c(e,t,s,n,i))return!0;t=s[s.length-1]}return!1}},20234(e,t,r){"use strict";function n(e,t,r,n){let i=e[t],o=e[t+1],s=0;for(let a=t+n;a<r;a+=n){const t=e[a],r=e[a+1];s+=Math.sqrt((t-i)*(t-i)+(r-o)*(r-o)),i=t,o=r}return s}r.d(t,{k:()=>n})},32295(e,t,r){"use strict";r.d(t,{J:()=>s,P:()=>i});var n=r(8255);function i(e,t,r,n,i,s,a,l){a=a??[],l=l??n;const c=e[t+n],u=e[t+n+1],d=e[r-2*n],h=e[r-2*n+1];let f,g,p,m,y,v,x,_,b=0;for(let S=t;S<r;S+=n){p=f,m=g,y=void 0,v=void 0,S+n<r&&(y=e[S+n],v=e[S+n+1]),s&&S===t&&(p=d,m=h),s&&S===r-n&&(y=c,v=u),f=e[S],g=e[S+1],[x,_]=o(f,g,p,m,y,v,i),a[b++]=x,a[b++]=_;for(let t=2;t<l;t++)a[b++]=e[S+t]}return a.length!=b&&(a.length=b),a}function o(e,t,r,i,o,s,a){let l,c;void 0!==r&&void 0!==i?(l=e-r,c=t-i):void 0!==o&&void 0!==s?(l=o-e,c=s-t):(l=1,c=0);const u=Math.hypot(l,c),d=l/u,h=c/u;if(l=-h,c=d,void 0===r||void 0===i)return[e+l*a,t+c*a];if(void 0===o||void 0===s)return[e+l*a,t+c*a];const f=(0,n.s5)([e,t],[r,i],[o,s]);if(Math.cos(f)>.998)return[e+d*a,t+h*a];const g=Math.cos(f/2),p=Math.sin(f/2);return[e+(p*l+g*c)*(1/p)*a,t+(-g*l+p*c)*(1/p)*a]}function s(e,t,r=!1){for(let n=0,i=e.length-2;n<i;n+=t){for(let i=r&&0===n?e.length-3*t:e.length-2*t;i>n+t;i-=t){const r=e[n],o=e[n+1],s=e[n+t],a=e[n+t+1],l=e[i],c=e[i+1],u=e[i+t],d=e[i+t+1],h=(d-c)*(s-r)-(u-l)*(a-o);if(0===h)continue;const f=((u-l)*(o-c)-(d-c)*(r-l))/h,g=((s-r)*(o-c)-(a-o)*(r-l))/h;if(f>0&&f<1&&g>0&&g<1){const l=r+f*(s-r),c=o+f*(a-o);e[n+t]=l,e[n+t+1]=c,e.splice(n+2*t,i-n-t);break}}}return e}},29160(e,t,r){"use strict";function n(e,t,r,n){for(;t<r-n;){for(let i=0;i<n;++i){const o=e[t+i];e[t+i]=e[r-n+i],e[r-n+i]=o}t+=n,r-=n}}function i(e,t,r,n){let i=0,o=e[r-n],s=e[r-n+1];for(;t<r;t+=n){const r=e[t],n=e[t+1];i+=(r-o)*(n+s),o=r,s=n}return 0===i?void 0:i>0}function o(e,t,r,n,o){o=void 0!==o&&o;for(let s=0,a=r.length;s<a;++s){const a=r[s],l=i(e,t,a,n);
125if(0===s){if(o&&l||!o&&!l)return!1}else if(o&&!l||!o&&l)return!1;t=a}return!0}function s(e,t,r,n,i){for(let s=0,a=r.length;s<a;++s){const a=r[s];if(!o(e,t,a,n,i))return!1;a.length&&(t=a[a.length-1])}return!0}function a(e,t,r,o,s){s=void 0!==s&&s;for(let a=0,l=r.length;a<l;++a){const l=r[a],c=i(e,t,l,o);(0===a?s&&c||!s&&!c:s&&!c||!s&&c)&&n(e,t,l,o),t=l}return t}function l(e,t,r,n,i){for(let o=0,s=r.length;o<s;++o)t=a(e,t,r[o],n,i);return t}function c(e,t){const r=[];let n,o=0,s=0;for(let a=0,l=t.length;a<l;++a){const l=t[a],c=i(e,o,l,2);if(void 0===n&&(n=c),c===n)r.push(t.slice(s,a+1));else{if(0===r.length)continue;r[r.length-1].push(t[s])}s=a+1,o=l}return r}r.d(t,{yJ:()=>c,PA:()=>o,mb:()=>s,ug:()=>a,NK:()=>l})},37872(e,t,r){"use strict";function n(e,t,r,n,i){let o;for(t+=n;t<r;t+=n)if(o=i(e.slice(t-n,t),e.slice(t,t+n)),o)return o;return!1}r.d(t,{j:()=>n})},12609(e,t,r){"use strict";r.d(t,{AL:()=>o,Hg:()=>l,P4:()=>i,n$:()=>s,sx:()=>c});var n=r(84763);function i(e,t,r,i,o,s,a){const l=(r-t)/i;if(l<3){for(;t<r;t+=i)s[a++]=e[t],s[a++]=e[t+1];return a}const c=new Array(l);c[0]=1,c[l-1]=1;const u=[t,r-i];let d=0;for(;u.length>0;){const r=u.pop(),s=u.pop();let a=0;const l=e[s],h=e[s+1],f=e[r],g=e[r+1];for(let t=s+i;t<r;t+=i){const r=e[t],i=e[t+1],o=(0,n.Q1)(r,i,l,h,f,g);o>a&&(d=t,a=o)}a>o&&(c[(d-t)/i]=1,s+i<d&&u.push(s,d),d+i<r&&u.push(d,r))}for(let r=0;r<l;++r)c[r]&&(s[a++]=e[t+r*i],s[a++]=e[t+r*i+1]);return a}function o(e,t,r,n,o,s,a,l){for(let c=0,u=r.length;c<u;++c){const u=r[c];a=i(e,t,u,n,o,s,a),l.push(a),t=u}return a}function s(e,t){return t*Math.round(e/t)}function a(e,t,r,n,i,o,a){if(t==r)return a;let l,c,u=s(e[t],i),d=s(e[t+1],i);t+=n,o[a++]=u,o[a++]=d;do{if(l=s(e[t],i),c=s(e[t+1],i),(t+=n)==r)return o[a++]=l,o[a++]=c,a}while(l==u&&c==d);for(;t<r;){const r=s(e[t],i),h=s(e[t+1],i);if(t+=n,r==l&&h==c)continue;const f=l-u,g=c-d,p=r-u,m=h-d;f*m==g*p&&(f<0&&p<f||f==p||f>0&&p>f)&&(g<0&&m<g||g==m||g>0&&m>g)?(l=r,c=h):(o[a++]=l,o[a++]=c,u=l,d=c,l=r,c=h)}return o[a++]=l,o[a++]=c,a}function l(e,t,r,n,i,o,s,l){for(let c=0,u=r.length;c<u;++c){const u=r[c];s=a(e,t,u,n,i,o,s),l.push(s),t=u}return s}function c(e,t,r,n,i,o,s,a){for(let c=0,u=r.length;c<u;++c){const u=r[c],d=[];s=l(e,t,u,n,i,o,s,d),a.push(d),t=u[u.length-1]}return s}},28564(e,t,r){"use strict";function n(e,t,r,n,i,o,s){o=o||[],s=s||2;let a=0;for(let l=t;l<r;l+=n){const t=e[l],r=e[l+1];o[a++]=i[0]*t+i[2]*r+i[4],o[a++]=i[1]*t+i[3]*r+i[5];for(let t=2;t<s;t++)o[a++]=e[l+t]}return o&&o.length!=a&&(o.length=a),o}function i(e,t,r,n,i,o,s){s=s||[];const a=Math.cos(i),l=Math.sin(i),c=o[0],u=o[1];let d=0;for(let i=t;i<r;i+=n){const t=e[i]-c,r=e[i+1]-u;s[d++]=c+t*a-r*l,s[d++]=u+t*l+r*a;for(let t=i+2;t<i+n;++t)s[d++]=e[t]}return s&&s.length!=d&&(s.length=d),s}function o(e,t,r,n,i,o,s,a){a=a||[];const l=s[0],c=s[1];let u=0;for(let s=t;s<r;s+=n){const t=e[s]-l,r=e[s+1]-c;a[u++]=l+i*t,a[u++]=c+o*r;for(let t=s+2;t<s+n;++t)a[u++]=e[t]}return a&&a.length!=u&&(a.length=u),a}function s(e,t,r,n,i,o,s){s=s||[];let a=0;for(let l=t;l<r;l+=n){s[a++]=e[l]+i,s[a++]=e[l+1]+o;for(let t=l+2;t<l+n;++t)s[a++]=e[t]}return s&&s.length!=a&&(s.length=a),s}r.d(t,{Rc:()=>n,Tl:()=>s,e$:()=>i,hs:()=>o})},53585(e,t,r){"use strict";const n="undefined"!=typeof navigator&&void 0!==navigator.userAgent?navigator.userAgent.toLowerCase():"",i=(n.includes("safari")&&!n.includes("chrom")&&(n.includes("version/15.4")||/cpu (os|iphone os) 15_4 like mac os x/.test(n)),n.includes("webkit")&&!n.includes("edge")),o=n.includes("macintosh"),s="undefined"!=typeof devicePixelRatio?devicePixelRatio:1,a="undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof OffscreenCanvas&&self instanceof WorkerGlobalScope,l="undefined"!=typeof Image&&Image.prototype.decode,c="function"==typeof createImageBitmap,u=function(){let e=!1;try{const t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("_",null,t),window.removeEventListener("_",null,t)}catch{}return e}();r.d(t,["DT",0,l,"FT",0,u,"Wl",0,a,"XM",0,c,"cr",0,s,"ew",0,o,"j",0,i])},92170(e,t,r){"use strict";var n=r(34150),i=r(5374),o=r(84763),s=r(10917),a=r(68198);class l extends n.A{constructor(e){super(),this.on,this.once,this.un,this.background_=e.background;const t=Object.assign({},e);"object"==typeof e.properties&&(delete t.properties,Object.assign(t,e.properties)),t[a.A.OPACITY]=void 0!==e.opacity?e.opacity:1,(0,i.v)("number"==typeof t[a.A.OPACITY],"Layer opacity must be a number"),t[a.A.VISIBLE]=void 0===e.visible||e.visible,t[a.A.Z_INDEX]=e.zIndex,t[a.A.MAX_RESOLUTION]=void 0!==e.maxResolution?e.maxResolution:1/0,t[a.A.MIN_RESOLUTION]=void 0!==e.minResolution?e.minResolution:0,t[a.A.MIN_ZOOM]=void 0!==e.minZoom?e.minZoom:-1/0,t[a.A.MAX_ZOOM]=void 0!==e.maxZoom?e.maxZoom:1/0,this.className_=void 0!==t.className?t.className:"ol-layer",delete t.className,this.setProperties(t),this.state_=null}
125getBackground(){return this.background_}getClassName(){return this.className_}getLayerState(e){const t=this.state_||{layer:this,managed:void 0===e||e},r=this.getZIndex();return t.opacity=(0,o.qE)(Math.round(100*this.getOpacity())/100,0,1),t.visible=this.getVisible(),t.extent=this.getExtent(),t.zIndex=void 0!==r||t.managed?r:1/0,t.maxResolution=this.getMaxResolution(),t.minResolution=Math.max(this.getMinResolution(),0),t.minZoom=this.getMinZoom(),t.maxZoom=this.getMaxZoom(),this.state_=t,t}getLayersArray(e){return(0,s.b0)()}getLayerStatesArray(e){return(0,s.b0)()}getExtent(){return this.get(a.A.EXTENT)}getMaxResolution(){return this.get(a.A.MAX_RESOLUTION)}getMinResolution(){return this.get(a.A.MIN_RESOLUTION)}getMinZoom(){return this.get(a.A.MIN_ZOOM)}getMaxZoom(){return this.get(a.A.MAX_ZOOM)}getOpacity(){return this.get(a.A.OPACITY)}getSourceState(){return(0,s.b0)()}getVisible(){return this.get(a.A.VISIBLE)}getZIndex(){return this.get(a.A.Z_INDEX)}setBackground(e){this.background_=e,this.changed()}setExtent(e){this.set(a.A.EXTENT,e)}setMaxResolution(e){this.set(a.A.MAX_RESOLUTION,e)}setMinResolution(e){this.set(a.A.MIN_RESOLUTION,e)}setMaxZoom(e){this.set(a.A.MAX_ZOOM,e)}setMinZoom(e){this.set(a.A.MIN_ZOOM,e)}setOpacity(e){(0,i.v)("number"==typeof e,"Layer opacity must be a number"),this.set(a.A.OPACITY,e)}setVisible(e){this.set(a.A.VISIBLE,e)}setZIndex(e){this.set(a.A.Z_INDEX,e)}disposeInternal(){this.state_&&(this.state_.layer=null,this.state_=null),super.disposeInternal()}}const c=l;r.d(t,["A",0,c])},42086(e,t,r){"use strict";r.d(t,{A:()=>pt});var n=r(42375),i=r(61162),o=r(95052),s=r(82548);let a=0;const l=1<<a++,c=1<<a++,u=1<<a++,d=1<<a++,h=1<<a++,f=1<<a++,g=Math.pow(2,6)-1,p={[l]:"boolean",[c]:"number",[u]:"string",[d]:"color",[h]:"number[]",[f]:"size"},m=Object.keys(p).map(Number).sort(o.V_);function y(e){const t=[];for(const r of m)v(e,r)&&t.push(p[r]);return 0===t.length?"untyped":t.length<3?t.join(" or "):t.slice(0,-1).join(", ")+", or "+t[t.length-1]}function v(e,t){return(e&t)===t}function x(e,t){return!!(e&t)}function _(e,t){return e===t}class b{constructor(e,t){if(!function(e){return e in p}(e))throw new Error(`literal expressions must have a specific type, got ${y(e)}`);this.type=e,this.value=t}}class S{constructor(e,t,...r){this.type=e,this.operator=t,this.args=r}}function w(e){return{variables:new Map,properties:new Map,featureId:!1,geometryType:!1,mCoordinate:!1,mapState:!1,inputVariables:e}}function k(e,t,r){switch(typeof e){case"boolean":if(_(t,u))return new b(u,e?"true":"false");if(!v(t,l))throw new Error(`got a boolean, but expected ${y(t)}`);return new b(l,e);case"number":if(_(t,f))return new b(f,(0,s.xq)(e));if(_(t,l))return new b(l,!!e);if(_(t,u))return new b(u,e.toString());if(!v(t,c))throw new Error(`got a number, but expected ${y(t)}`);return new b(c,e);case"string":if(_(t,d))return new b(d,(0,i.sH)(e));if(_(t,l))return new b(l,!!e);if(!v(t,u))throw new Error(`got a string, but expected ${y(t)}`);return new b(u,e)}if(!Array.isArray(e))throw new Error("expression must be an array or a primitive value");if(0===e.length)throw new Error("empty expression");if("string"==typeof e[0])return function(e,t,r){const n=e[0],i=ve[n];if(!i)throw new Error(`unknown operator: ${n}`);return i(e,t,r)}(e,t,r);for(const t of e)if("number"!=typeof t)throw new Error("expected an array of numbers");if(_(t,f)){if(2!==e.length)throw new Error(`expected an array of two values for a size, got ${e.length}`);return new b(f,e)}if(_(t,d)){if(3===e.length)return new b(d,[...e,1]);if(4===e.length)return new b(d,e);throw new Error(`expected an array of 3 or 4 values for a color, got ${e.length}`)}if(!v(t,h))throw new Error(`got an array of numbers, but expected ${y(t)}`);return new b(h,e)}const A="get",M="var",C="concat",E="geometry-type",R="line-metric",T="any",I="all",P="!",j="resolution",O="zoom",L="time",D="==",F="!=",N=">",$=">=",z="<",B="<=",G="*",W="/",Y="+",V="-",q="clamp",K="%",X="^",H="abs",U="floor",Z="ceil",J="round",Q="sin",ee="cos",te="atan",re="sqrt",ne="match",ie="between",oe="interpolate",se="coalesce",ae="case",le="in",ce="number",ue="string",de="array",he="color",fe="id",ge="band",pe="palette",me="to-string",ye="has",ve={[A]:Ce(Se(1,1/0),xe),[M]:function(e,t,r){const n=e[1];if("string"!=typeof n)throw new Error("expected a string argument for var operation");let i=t;
vendor: 6,881 bytes, line 125
125const o=r.inputVariables?.[n];if(void 0!==o){const e=k(o,g,r);if(!(e instanceof b))throw new Error(`style variables should only be literal values (no expressions!), variable name: ${n}`);let s=e.type;if("string"==typeof o&&x(i,d)&&!x(i,u)?s=d:Array.isArray(o)&&2===o.length&&x(i,f)&&!x(i,h)&&(s=f),i&=s,0===i)throw new Error(`the type expected from the var operator (${y(t)}) did not have any overlap with the type of the corresponding style variables (${y(s)}), variable name: ${n}`)}if(r.variables.has(n)){const e=r.variables.get(n);if(i&=e,0===i)throw new Error(`a new type expected from the var operator (${y(t)}) did not have any overlap with the previous type expected for it (${y(e)}), variable name: ${n}`)}return r.variables.set(n,i),new S(i,"var",new b(u,n))},[ye]:Ce(Se(1,1/0),xe),[fe]:Ce(function(e,t,r){r.featureId=!0},be),[C]:Ce(Se(2,1/0),ke(u)),[E]:Ce(function(e,t,r){r.geometryType=!0},be),[R]:Ce(function(e,t,r){r.mCoordinate=!0},be),[j]:Ce(_e,be),[O]:Ce(_e,be),[L]:Ce(_e,be),[T]:Ce(Se(2,1/0),ke(l)),[I]:Ce(Se(2,1/0),ke(l)),[P]:Ce(Se(1,1),ke(l)),[D]:Ce(Se(2,2),Ae()),[F]:Ce(Se(2,2),Ae()),[N]:Ce(Se(2,2),ke(c)),[$]:Ce(Se(2,2),ke(c)),[z]:Ce(Se(2,2),ke(c)),[B]:Ce(Se(2,2),ke(c)),[G]:Ce(Se(2,1/0),we),[se]:Ce(Se(2,1/0),we),[W]:Ce(Se(2,2),ke(c)),[Y]:Ce(Se(2,1/0),ke(c)),[V]:Ce(Se(2,2),ke(c)),[q]:Ce(Se(3,3),ke(c)),[K]:Ce(Se(2,2),ke(c)),[X]:Ce(Se(2,2),ke(c)),[H]:Ce(Se(1,1),ke(c)),[U]:Ce(Se(1,1),ke(c)),[Z]:Ce(Se(1,1),ke(c)),[J]:Ce(Se(1,1),ke(c)),[Q]:Ce(Se(1,1),ke(c)),[ee]:Ce(Se(1,1),ke(c)),[te]:Ce(Se(1,2),ke(c)),[re]:Ce(Se(1,1),ke(c)),[ne]:Ce(Se(4,1/0),Me,function(e,t,r){const n=e.length-1,i=k(e[e.length-1],t,r);let o=u|c|l;const s=new Array(n-2);for(let t=0;t<n-2;t+=2){try{o&=k(e[t+2],o,r).type}catch(e){throw new Error(`failed to parse argument ${t+1} of match expression: ${e.message}`)}if(0===o)throw new Error("no common type was found among the arguments of match expression")}for(let t=0;t<n-2;t+=2){try{const n=k(e[t+2],o,r);s[t]=n}catch(e){throw new Error(`failed to parse argument ${t+1} of match expression: ${e.message}`)}try{const n=k(e[t+3],i.type,r);s[t+1]=n}catch(e){throw new Error(`failed to parse argument ${t+2} of match expression: ${e.message}`)}}return[k(e[1],o,r),...s,i]}),[ie]:Ce(Se(3,3),ke(c)),[oe]:Ce(Se(6,1/0),Me,function(e,t,r){const n=e[1];let i;switch(n[0]){case"linear":i=1;break;case"exponential":const e=n[1];if("number"!=typeof e||e<=0)throw new Error(`expected a number base for exponential interpolation, got ${JSON.stringify(e)} instead`);i=e;break;default:throw new Error(`invalid interpolation type: ${JSON.stringify(n)}`)}const o=new b(c,i);let s;try{s=k(e[2],c,r)}catch(e){throw new Error(`failed to parse argument 1 in interpolate expression: ${e.message}`)}const a=new Array(e.length-3);for(let n=0;n<a.length;n+=2){try{const t=k(e[n+3],c,r);a[n]=t}catch(e){throw new Error(`failed to parse argument ${n+2} for interpolate expression: ${e.message}`)}try{const i=k(e[n+4],t,r);a[n+1]=i}catch(e){throw new Error(`failed to parse argument ${n+3} for interpolate expression: ${e.message}`)}}return[o,s,...a]}),[ae]:Ce(Se(3,1/0),function(e,t,r){const n=e[0],i=e.length-1;if(i%2==0)throw new Error(`expected an odd number of arguments for ${n}, got ${i} instead`)},function(e,t,r){const n=k(e[e.length-1],t,r),i=new Array(e.length-1);for(let t=0;t<i.length-1;t+=2){try{const n=k(e[t+1],l,r);i[t]=n}catch(e){throw new Error(`failed to parse argument ${t} of case expression: ${e.message}`)}try{const o=k(e[t+2],n.type,r);i[t+1]=o}catch(e){throw new Error(`failed to parse argument ${t+1} of case expression: ${e.message}`)}}return i[i.length-1]=n,i}),[le]:Ce(Se(2,2),function(e,t,r){let n,i=e[2];if(!Array.isArray(i))throw new Error('the second argument for the "in" operator must be an array');if("literal"===i[0]){if(i=i[1],!Array.isArray(i))throw new Error('failed to parse "in" expression: the literal operator must be followed by an array')}else if("string"==typeof i[0])throw new Error('for the "in" operator, a string array should be wrapped in a "literal" operator to disambiguate from expressions');n="string"==typeof i[0]?u:c;const o=new Array(i.length);for(let e=0;e<o.length;e++)try{const t=k(i[e],n,r);o[e]=t}catch(t){throw new Error(`failed to parse haystack item ${e} for "in" expression: ${t.message}`)}return[k(e[1],n,r),...o]}),[ce]:Ce(Se(1,1/0),ke(g)),[ue]:Ce(Se(1,1/0),ke(g)),[de]:Ce(Se(1,1/0),ke(c)),[he]:Ce(Se(1,4),ke(c)),[ge]:Ce(Se(1,3),ke(c)),[pe]:Ce(Se(2,2),function(e,t,r){let n;try{n=k(e[1],c,r)}catch(e){throw new Error(`failed to parse first argument in palette expression: ${e.message}`)}const i=e[2];if(!Array.isArray(i))throw new Error("the second argument of palette must be an array");const o=new Array(i.length);for(let e=0;e<o.length;e++){let t;try{t=k(i[e],d,r)}catch(t){throw new Error(`failed to parse color at index ${e} in palette expression: ${t.message}`)}if(!(t instanceof b))throw new Error(`the palette color at index ${e} must be a literal value`);o[e]=t}return[n,...o]}),[me]:Ce(Se(1,1),ke(l|c|u|d))};function xe(e,t,r){const n=e.length-1,i=new Array(n);for(let o=0;o<n;++o){const n=e[o+1];switch(typeof n){case"number":i[o]=new b(c,n);break;case"string":i[o]=new b(u,n);break;default:throw new Error(`expected a string key or numeric array index for a get operation, got ${n}`)}0===o&&r.properties.set(String(n),t)}return i}function _e(e,t,r){r.mapState=!0}function be(e,t,r){const n=e[0];if(1!==e.length)throw new Error(`expected no arguments for ${n} operation`);return[]}function Se(e,t){return function(r,n,i){const o=r[0],s=r.length-1;if(e===t){if(s!==e){throw new Error(`expected ${e} argument${1===e?"":"s"} for ${o}, got ${s}`)}}else if(s<e||s>t){throw new Error(`expected ${t===1/0?`${e} or more`:`${e} to ${t}`} arguments for ${o}, got ${s}`)}}}function we(e,t,r){const n=e.length-1,i=new Array(n);for(let o=0;o<n;++o){const n=k(e[o+1],t,r);i[o]=n}return i}function ke(e){return function(t,r,n){const i=t.length-1,o=new Array(i);for(let r=0;r<i;++r){const i=k(t[r+1],e,n);o[r]=i}return o}}function Ae(){return function(e,t,r){const n=e[0],i=e.length-1,o=new Array(i);let s=g;for(let t=0;t<i;++t){s&=k(e[t+1],s,r).type}if(0===s)throw new Error(`no common type was found among the arguments of ${n}`);for(let t=0;t<i;++t){const n=k(e[t+1],s,r);o[t]=n}return o}}function Me(e,t,r){const n=e[0],i=e.length-1;if(i%2==1)throw new Error(`expected an even number of arguments for operation ${n}, got ${i} instead`)}function Ce(...e){return function(t,r,n){const i=t[0];let o;for(let i=0;i<e.length;i++){const s=e[i](t,r,n);if(i==e.length-1){if(!s)throw new Error("expected last argument validator to return the parsed args");o=s}}return new S(r,i,...o)}}function Ee(e){if(!e)return"";const t=e.getType();switch(t){case"Point":case"LineString":case"Polygon":return t;case"MultiPoint":case"MultiLineString":case"MultiPolygon":return t.substring(5);case"Circle":return"Polygon";
125case"GeometryCollection":return Ee(e.getGeometries()[0]);default:return""}}function Re(e,t,r){return Te(k(e,t,r),r)}function Te(e,t){if(e instanceof b){if(e.type===d&&"string"==typeof e.value){const t=(0,i.sH)(e.value);return function(){return t}}return function(){return e.value}}const r=e.operator;switch(r){case ce:case ue:case se:return function(e,t){const r=e.operator,n=e.args.length,i=new Array(n);for(let r=0;r<n;++r)i[r]=Te(e.args[r],t);switch(r){case se:return e=>{for(let t=0;t<n;++t){const r=i[t](e);if(null!=r)return r}throw new Error("Expected one of the values to be non-null")};case ce:case ue:return e=>{for(let t=0;t<n;++t){const n=i[t](e);if(typeof n===r)return n}throw new Error(`Expected one of the values to be a ${r}`)};default:throw new Error(`Unsupported assertion operator ${r}`)}}(e,t);case A:case M:case ye:return function(e){const t=e.args[0],r=t.value;switch(e.operator){case A:return t=>{const n=e.args;let i=t.properties[r];for(let e=1,t=n.length;e<t;++e){i=i[n[e].value]}return i};case M:return e=>e.variables[r];case ye:return t=>{const n=e.args;if(!(r in t.properties))return!1;let i=t.properties[r];for(let e=1,t=n.length;e<t;++e){const t=n[e].value;if(!i||!Object.hasOwn(i,t))return!1;i=i[t]}return!0};default:throw new Error(`Unsupported accessor operator ${e.operator}`)}}(e);case fe:return e=>e.featureId;case E:return e=>e.geometryType;case C:{const r=e.args.map(e=>Te(e,t));return e=>"".concat(...r.map(t=>t(e).toString()))}case j:return e=>e.resolution;case T:case I:case ie:case le:case P:return function(e,t){const r=e.operator,n=e.args.length,i=new Array(n);for(let r=0;r<n;++r)i[r]=Te(e.args[r],t);switch(r){case T:return e=>{for(let t=0;t<n;++t)if(i[t](e))return!0;return!1};case I:return e=>{for(let t=0;t<n;++t)if(!i[t](e))return!1;return!0};case ie:return e=>{const t=i[0](e),r=i[1](e),n=i[2](e);return t>=r&&t<=n};case le:return e=>{const t=i[0](e);for(let r=1;r<n;++r)if(t===i[r](e))return!0;return!1};case P:return e=>!i[0](e);default:throw new Error(`Unsupported logical operator ${r}`)}}(e,t);case D:case F:case z:case B:case N:case $:return function(e,t){const r=e.operator,n=Te(e.args[0],t),i=Te(e.args[1],t);switch(r){case D:return e=>n(e)===i(e);case F:return e=>n(e)!==i(e);case z:return e=>n(e)<i(e);case B:return e=>n(e)<=i(e);case N:return e=>n(e)>i(e);case $:return e=>n(e)>=i(e);default:throw new Error(`Unsupported comparison operator ${r}`)}}(e,t);case G:case W:case Y:case V:case q:case K:case X:case H:case U:case Z:case J:case Q:case ee:case te:case re:return function(e,t){const r=e.operator,n=e.args.length,i=new Array(n);for(let r=0;r<n;++r)i[r]=Te(e.args[r],t);switch(r){case G:return e=>{let t=1;for(let r=0;r<n;++r)t*=i[r](e);return t};case W:return e=>i[0](e)/i[1](e);case Y:return e=>{let t=0;for(let r=0;r<n;++r)t+=i[r](e);return t};case V:return e=>i[0](e)-i[1](e);case q:return e=>{const t=i[0](e),r=i[1](e);if(t<r)return r;const n=i[2](e);return t>n?n:t};case K:return e=>i[0](e)%i[1](e);case X:return e=>Math.pow(i[0](e),i[1](e));case H:return e=>Math.abs(i[0](e));case U:return e=>Math.floor(i[0](e));case Z:return e=>Math.ceil(i[0](e));case J:return e=>Math.round(i[0](e));case Q:return e=>Math.sin(i[0](e));case ee:return e=>Math.cos(i[0](e));case te:return 2===n?e=>Math.atan2(i[0](e),i[1](e)):e=>Math.atan(i[0](e));case re:return e=>Math.sqrt(i[0](e));default:throw new Error(`Unsupported numeric operator ${r}`)}}(e,t);case ae:return function(e,t){const r=e.args.length,n=new Array(r);for(let i=0;i<r;++i)n[i]=Te(e.args[i],t);return e=>{for(let t=0;t<r-1;t+=2){if(n[t](e))return n[t+1](e)}return n[r-1](e)}}(e,t);case ne:return function(e,t){const r=e.args.length,n=new Array(r);for(let i=0;i<r;++i)n[i]=Te(e.args[i],t);return e=>{const t=n[0](e);for(let i=1;i<r-1;i+=2)if(t===n[i](e))return n[i+1](e);return n[r-1](e)}}(e,t);case oe:return function(e,t){const r=e.args.length,n=new Array(r);for(let i=0;i<r;++i)n[i]=Te(e.args[i],t);return e=>{const t=n[0](e),o=n[1](e);let s,a;for(let l=2;l<r;l+=2){const r=n[l](e);let c=n[l+1](e);const u=Array.isArray(c);if(u&&(c=(0,i.fu)(c)),r>=o)return 2===l?c:u?Pe(t,o,s,a,r,c):Ie(t,o,s,a,r,c);s=r,a=c}return a}}(e,t);case me:return function(e,t){const r=e.operator,n=e.args.length,o=new Array(n);for(let r=0;r<n;++r)o[r]=Te(e.args[r],t);if(r===me)return t=>{const r=o[0](t);return e.args[0].type===d?(0,i.dI)(r):r.toString()};throw new Error(`Unsupported convert operator ${r}`)}(e,t);default:throw new Error(`Unsupported operator ${r}`)}}function Ie(e,t,r,n,i,o){const s=i-r;if(0===s)return n;const a=t-r;return n+(1===e?a/s:(Math.pow(e,a)-1)/(Math.pow(e,s)-1))*(o-n)}
vendor: 10,561 bytes, line 125
125function Pe(e,t,r,n,o,s){if(0===o-r)return n;const a=(0,i.eE)(n),l=(0,i.eE)(s);let c=l[2]-a[2];c>180?c-=360:c<-180&&(c+=360);const u=[Ie(e,t,r,a[0],o,l[0]),Ie(e,t,r,a[1],o,l[1]),a[2]+Ie(e,t,r,0,o,c),Ie(e,t,r,n[3],o,s[3])];return(0,i.cD)(u)}var je=r(68640),Oe=r(49383),Le=r(20310),De=r(23894),Fe=r(92758),Ne=r(41119),$e=r(66178),ze=r(84848);function Be(e){return!0}function Ge(e,t){const r=function(e,t){const r=e.length,n=new Array(r);for(let i=0;i<r;++i){const r=e[i],o="filter"in r?Re(r.filter,l,t):Be;let s;if(Array.isArray(r.style)){const e=r.style.length;s=new Array(e);for(let n=0;n<e;++n)s[n]=Ye(r.style[n],t)}else s=[Ye(r.style,t)];n[i]={filter:o,styles:s}}return function(t){const i=[];let o=!1;for(let s=0;s<r;++s){if((0,n[s].filter)(t)&&(!e[s].else||!o)){o=!0;for(const e of n[s].styles){const r=e(t);r&&i.push(r)}}}return i}}(e,t=t??w()),n={variables:{},properties:{},resolution:NaN,featureId:null,geometryType:""};return function(e,i){if(n.properties=e.getPropertiesInternal(),n.resolution=i,t.featureId){const t=e.getId();n.featureId=void 0!==t?t:null}return t.geometryType&&(n.geometryType=Ee(e.getGeometry())),r(n)}}function We(e,t){t=t??w();const r=e.length,n=new Array(r);for(let i=0;i<r;++i)n[i]=Ye(e[i],t);const i={variables:{},properties:{},resolution:NaN,featureId:null,geometryType:""},o=new Array(r);return function(e,s){if(i.properties=e.getPropertiesInternal(),i.resolution=s,t.featureId){const t=e.getId();i.featureId=void 0!==t?t:null}t.geometryType&&(i.geometryType=Ee(e.getGeometry()));let a=0;for(let e=0;e<r;++e){const t=n[e](i);t&&(o[a]=t,a+=1)}return o.length=a,o}}function Ye(e,t){const r=Ve(e,"",t),n=qe(e,"",t),i=function(e,t){const r="text-",n=He(e,r+"value",t);if(!n)return null;const i=Ve(e,r,t),o=Ve(e,r+"background-",t),s=qe(e,r,t),a=qe(e,r+"background-",t),l=He(e,r+"font",t),c=Xe(e,r+"max-angle",t),u=Xe(e,r+"offset-x",t),d=Xe(e,r+"offset-y",t),h=Ue(e,r+"overflow",t),f=He(e,r+"placement",t),g=Xe(e,r+"repeat",t),p=tt(e,r+"scale",t),m=Ue(e,r+"rotate-with-view",t),y=Xe(e,r+"rotation",t),v=He(e,r+"align",t),x=He(e,r+"justify",t),_=He(e,r+"baseline",t),b=Ue(e,r+"keep-upright",t),S=Je(e,r+"padding",t),w=st(e,r+"declutter-mode"),k=new ze.A({declutterMode:w});return function(e){if(k.setText(n(e)),i&&k.setFill(i(e)),o&&k.setBackgroundFill(o(e)),s&&k.setStroke(s(e)),a&&k.setBackgroundStroke(a(e)),l&&k.setFont(l(e)),c&&k.setMaxAngle(c(e)),u&&k.setOffsetX(u(e)),d&&k.setOffsetY(d(e)),h&&k.setOverflow(h(e)),f){const t=f(e);if("point"!==t&&"line"!==t)throw new Error("Expected point or line for text-placement");k.setPlacement(t)}if(g&&k.setRepeat(g(e)),p&&k.setScale(p(e)),m&&k.setRotateWithView(m(e)),y&&k.setRotation(y(e)),v){const t=v(e);if("left"!==t&&"center"!==t&&"right"!==t&&"end"!==t&&"start"!==t)throw new Error("Expected left, right, center, start, or end for text-align");k.setTextAlign(t)}if(x){const t=x(e);if("left"!==t&&"right"!==t&&"center"!==t)throw new Error("Expected left, right, or center for text-justify");k.setJustify(t)}if(_){const t=_(e);if("bottom"!==t&&"top"!==t&&"middle"!==t&&"alphabetic"!==t&&"hanging"!==t)throw new Error("Expected bottom, top, middle, alphabetic, or hanging for text-baseline");k.setTextBaseline(t)}return S&&k.setPadding(S(e)),b&&k.setKeepUpright(b(e)),k}}(e,t),o=function(e,t){if("icon-src"in e)return function(e,t){const r="icon-",n=r+"src",i=lt(e[n],n),o=Qe(e,r+"anchor",t),s=tt(e,r+"scale",t),a=Xe(e,r+"opacity",t),l=Qe(e,r+"displacement",t),c=Xe(e,r+"rotation",t),u=Ue(e,r+"rotate-with-view",t),d=it(e,r+"anchor-origin"),h=ot(e,r+"anchor-x-units"),f=ot(e,r+"anchor-y-units"),g=Ke(e,r+"color");let p,m=null;if(void 0!==g){Array.isArray(g)&&g.length>0&&"string"==typeof g[0]?m=Ze(e,r+"color",t):p=ut(g,r+"color")}const y=function(e,t){const r=e[t];if(void 0===r)return;if("string"!=typeof r)throw new Error(`Expected a string for ${t}`);return r}(e,r+"cross-origin"),v=function(e,t){const r=e[t];if(void 0===r)return;return at(r,t)}(e,r+"offset"),x=it(e,r+"offset-origin"),_=rt(e,r+"width"),b=rt(e,r+"height"),S=nt(e,r+"size"),w=st(e,r+"declutter-mode"),k={src:i,anchorOrigin:d,anchorXUnits:h,anchorYUnits:f,crossOrigin:y,offset:v,offsetOrigin:x,height:b,width:_,size:S,declutterMode:w};let A=null;return function(e){if(A)m&&A.setColor(m(e));else{const t=m?m(e):p;A=new De.A(void 0!==t?Object.assign({},k,{color:t}):Object.assign({},k))}return a&&A.setOpacity(a(e)),l&&A.setDisplacement(l(e)),c&&A.setRotation(c(e)),u&&A.setRotateWithView(u(e)),s&&A.setScale(s(e)),o&&A.setAnchor(o(e)),A}}(e,t);if("shape-points"in e)return function(e,t){const r="shape-",n=r+"points",i=r+"radius",o=ct(e[n],n);if(!(i in e))throw new Error(`Expected a number for ${i}`);const s=Xe(e,i,t),a="number"==typeof e[i]?e[i]:5,l=r+"radius2",c=Xe(e,l,t),u="number"==typeof e[l]?e[l]:void 0,d=Ve(e,r,t),h=qe(e,r,t),f=tt(e,r+"scale",t),g=Qe(e,r+"displacement",t),p=Xe(e,r+"rotation",t),m=Ue(e,r+"rotate-with-view",t),y=rt(e,r+"angle"),v=st(e,r+"declutter-mode"),x=new Fe.A({points:o,radius:a,radius2:u,angle:y,declutterMode:v});return function(e){return s&&x.setRadius(s(e)),c&&x.setRadius2(c(e)),d&&x.setFill(d(e)),h&&x.setStroke(h(e)),g&&x.setDisplacement(g(e)),p&&x.setRotation(p(e)),m&&x.setRotateWithView(m(e)),f&&x.setScale(f(e)),x}}(e,t);if("circle-radius"in e)return function(e,t){const r="circle-",n=Ve(e,r,t),i=qe(e,r,t),o=Xe(e,r+"radius",t),s=tt(e,r+"scale",t),a=Qe(e,r+"displacement",t),l=Xe(e,r+"rotation",t),c=Ue(e,r+"rotate-with-view",t),u=st(e,r+"declutter-mode"),d=new Oe.A({radius:5,declutterMode:u});return function(e){return o&&d.setRadius(o(e)),n&&d.setFill(n(e)),i&&d.setStroke(i(e)),a&&d.setDisplacement(a(e)),l&&d.setRotation(l(e)),c&&d.setRotateWithView(c(e)),s&&d.setScale(s(e)),d}}(e,t);return null}(e,t),s=Xe(e,"z-index",t);if(!(r||n||i||o||(0,je.p)(e)))throw new Error("No fill, stroke, point, or text symbolizer properties in style: "+JSON.stringify(e));const a=new $e.Ay;return function(e){let t=!0;if(r){const n=r(e);n&&(t=!1),a.setFill(n)}if(n){const r=n(e);r&&(t=!1),a.setStroke(r)}if(i){const r=i(e);r&&(t=!1),a.setText(r)}if(o){const r=o(e);r&&(t=!1),a.setImage(r)}return s&&a.setZIndex(s(e)),t?null:a}}function Ve(e,t,r){let n;if(t+"fill-pattern-src"in e)n=function(e,t,r){const n=He(e,t+"pattern-src",r),i=et(e,t+"pattern-offset",r),o=et(e,t+"pattern-size",r),s=Ze(e,t+"color",r);return function(e){return{src:n(e),offset:i&&i(e),size:o&&o(e),color:s&&s(e)}}}(e,t+"fill-",r);else{if("none"===e[t+"fill-color"])return e=>null;n=Ze(e,t+"fill-color",r)}if(!n)return null;const o=new Le.A;return function(e){const t=n(e);return t===i.qV?null:(o.setColor(t),o)}}function qe(e,t,r){const n=Xe(e,t+"stroke-width",r),o=Ze(e,t+"stroke-color",r);if(!n&&!o)return null;const s=He(e,t+"stroke-line-cap",r),a=He(e,t+"stroke-line-join",r),l=Je(e,t+"stroke-line-dash",r),c=Xe(e,t+"stroke-line-dash-offset",r),u=Xe(e,t+"stroke-miter-limit",r),d=Xe(e,t+"stroke-offset",r),h=new Ne.A;return function(e){if(o){const t=o(e);if(t===i.qV)return null;h.setColor(t)}if(n&&h.setWidth(n(e)),s){const t=s(e);if("butt"!==t&&"round"!==t&&"square"!==t)throw new Error("Expected butt, round, or square line cap");h.setLineCap(t)}if(a){const t=a(e);if("bevel"!==t&&"round"!==t&&"miter"!==t)throw new Error("Expected bevel, round, or miter line join");h.setLineJoin(t)}return l&&h.setLineDash(l(e)),c&&h.setLineDashOffset(c(e)),u&&h.setMiterLimit(u(e)),d&&h.setOffset(d(e)),h}}function Ke(e,t){if(!(t in e))return;const r=e[t];return void 0===r?void 0:r}function Xe(e,t,r){const n=Ke(e,t);if(void 0===n)return;const i=Re(n,c,r);return function(e){return ct(i(e),t)}}function He(e,t,r){const n=Ke(e,t);if(void 0===n)return null;const i=Re(n,u,r);return function(e){return lt(i(e),t)}}function Ue(e,t,r){const n=Ke(e,t);if(void 0===n)return null;const i=Re(n,l,r);return function(e){const r=i(e);if("boolean"!=typeof r)throw new Error(`Expected a boolean for ${t}`);return r}}function Ze(e,t,r){const n=Ke(e,t);if(void 0===n)return null;const i=Re(n,d,r);return function(e){return ut(i(e),t)}}function Je(e,t,r){const n=Ke(e,t);if(void 0===n)return null;if(Array.isArray(n)&&(0===n.length||"string"!=typeof n[0])){const e=n.map((e,n)=>{if("number"==typeof e)return()=>e;const i=Re(e,c,r);return function(e){return ct(i(e),`${t}[${n}]`)}});return function(t){const r=new Array(e.length);for(let n=0;n<e.length;++n)r[n]=e[n](t);return r}}const i=Re(n,h,r);return function(e){return at(i(e),t)}}function Qe(e,t,r){const n=Ke(e,t);if(void 0===n)return null;const i=Re(n,h,r);return function(e){const r=at(i(e),t);if(2!==r.length)throw new Error(`Expected two numbers for ${t}`);return r}}function et(e,t,r){const n=Ke(e,t);if(void 0===n)return null;const i=Re(n,h,r);return function(e){return dt(i(e),t)}}function tt(e,t,r){const n=Ke(e,t);if(void 0===n)return null;const i=Re(n,h|c,r);return function(e){return function(e,t){if("number"==typeof e)return e;return dt(e,t)}(i(e),t)}}function rt(e,t){const r=e[t];if(void 0!==r){if("number"!=typeof r)throw new Error(`Expected a number for ${t}`);return r}}function nt(e,t){const r=e[t];if(void 0!==r){if("number"==typeof r)return(0,s.xq)(r);if(!Array.isArray(r))throw new Error(`Expected a number or size array for ${t}`);if(2!==r.length||"number"!=typeof r[0]||"number"!=typeof r[1])throw new Error(`Expected a number or size array for ${t}`);return r}}function it(e,t){const r=e[t];if(void 0!==r){if("bottom-left"!==r&&"bottom-right"!==r&&"top-left"!==r&&"top-right"!==r)throw new Error(`Expected bottom-left, bottom-right, top-left, or top-right for ${t}`);return r}}function ot(e,t){const r=e[t];if(void 0!==r){if("pixels"!==r&&"fraction"!==r)throw new Error(`Expected pixels or fraction for ${t}`);return r}}function st(e,t){const r=e[t];if(void 0!==r){if("string"!=typeof r)throw new Error(`Expected a string for ${t}`);if("declutter"!==r&&"obstacle"!==r&&"none"!==r)throw new Error(`Expected declutter, obstacle, or none for ${t}`);return r}}function at(e,t){if(!Array.isArray(e))throw new Error(`Expected an array for ${t}`);const r=e.length;for(let n=0;n<r;++n)if("number"!=typeof e[n])throw new Error(`Expected an array of numbers for ${t}`);return e}function lt(e,t){if("string"!=typeof e)throw new Error(`Expected a string for ${t}`);return e}function ct(e,t){if("number"!=typeof e)throw new Error(`Expected a number for ${t}`);return e}function ut(e,t){if("string"==typeof e)return e;const r=at(e,t),n=r.length;if(n<3||n>4)throw new Error(`Expected a color with 3 or 4 values for ${t}`);return r}function dt(e,t){const r=at(e,t);if(2!==r.length)throw new Error(`Expected an array of two numbers for ${t}`);return r}var ht=r(77274);
125const ft="renderOrder";class gt extends ht.A{constructor(e){e=e||{};const t=Object.assign({},e);delete t.style,delete t.renderBuffer,delete t.updateWhileAnimating,delete t.updateWhileInteracting,super(t),this.declutter_=e.declutter?String(e.declutter):void 0,this.renderBuffer_=void 0!==e.renderBuffer?e.renderBuffer:100,this.style_=null,this.styleFunction_=void 0,this.setStyle(e.style),this.updateWhileAnimating_=void 0!==e.updateWhileAnimating&&e.updateWhileAnimating,this.updateWhileInteracting_=void 0!==e.updateWhileInteracting&&e.updateWhileInteracting}getDeclutter(){return this.declutter_}getFeatures(e){return super.getFeatures(e)}getRenderBuffer(){return this.renderBuffer_}getRenderOrder(){return this.get(ft)}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}getUpdateWhileAnimating(){return this.updateWhileAnimating_}getUpdateWhileInteracting(){return this.updateWhileInteracting_}renderDeclutter(e,t){const r=this.getDeclutter();r in e.declutter==!1&&(e.declutter[r]=new n.A(9)),this.getRenderer().renderDeclutter(e,t)}setRenderOrder(e){this.set(ft,e)}setStyle(e){this.style_=void 0===e?$e.d1:e;const t=function(e){if(void 0===e)return $e.d1;if(!e)return null;if("function"==typeof e)return e;if(e instanceof $e.Ay)return e;if(Array.isArray(e)&&0===e.length)return[];if(Array.isArray(e)&&e[0]instanceof $e.Ay){const t=e.length,r=new Array(t);for(let n=0;n<t;++n){const t=e[n];if(!(t instanceof $e.Ay))throw new Error("Expected a list of style instances");r[n]=t}return r}const t=e;return function(e,t){if(t=t??w(),!Array.isArray(e))return We([e],t);const r=e.length;if("style"in e[0]){const n=new Array(r);for(let t=0;t<r;++t){const r=e[t];if(!("style"in r))throw new Error("Expected a list of rules with a style property");n[t]=r}return Ge(n,t)}return We(e,t)}(t)}(e);this.styleFunction_=null===e?void 0:(0,$e.mC)(t),this.changed()}setDeclutter(e){this.declutter_=e?String(e):void 0,this.changed()}}const pt=gt},77274(e,t,r){"use strict";r.d(t,{l:()=>h});var n=r(76315),i=r(5374),o=r(55992),s=r(22075),a=r(6045),l=r(43518),c=r(92170),u=r(68198);class d extends c.A{constructor(e){const t=Object.assign({},e);delete t.source,super(t),this.on,this.once,this.un,this.mapPrecomposeKey_=null,this.mapRenderKey_=null,this.sourceChangeKey_=null,this.renderer_=null,this.sourceReady_=!1,this.rendered=!1,e.render&&(this.render=e.render),e.map&&this.setMap(e.map),this.addChangeListener(u.A.SOURCE,this.handleSourcePropertyChange_);const r=e.source?e.source:null;this.setSource(r)}getLayersArray(e){return(e=e||[]).push(this),e}getLayerStatesArray(e){return(e=e||[]).push(this.getLayerState()),e}getSource(){return this.get(u.A.SOURCE)||null}getRenderSource(){return this.getSource()}getSourceState(){const e=this.getSource();return e?e.getState():"undefined"}handleSourceChange_(){this.changed(),this.sourceReady_||"ready"!==this.getSource().getState()||(this.sourceReady_=!0,this.dispatchEvent("sourceready"))}handleSourcePropertyChange_(){this.sourceChangeKey_&&((0,o.JH)(this.sourceChangeKey_),this.sourceChangeKey_=null),this.sourceReady_=!1;const e=this.getSource();e&&(this.sourceChangeKey_=(0,o.KT)(e,s.A.CHANGE,this.handleSourceChange_,this),"ready"===e.getState()&&(this.sourceReady_=!0,setTimeout(()=>{this.dispatchEvent("sourceready")},0))),this.changed()}getFeatures(e){return this.renderer_?this.renderer_.getFeatures(e):Promise.resolve([])}getData(e){return this.renderer_&&this.rendered?this.renderer_.getData(e):null}isVisible(e){let t;const r=this.getMapInternal();let i;if(!e&&r&&(e=r.getView()),t=e instanceof n.Ay?{viewState:e.getState(),extent:e.calculateExtent()}:e,!t.layerStatesArray&&r&&(t.layerStatesArray=r.getLayerGroup().getLayerStatesArray()),t.layerStatesArray){if(i=t.layerStatesArray.find(e=>e.layer===this),!i)return!1}else i=this.getLayerState();const o=this.getExtent();return h(i,t.viewState)&&(!o||(0,a.HY)(o,t.extent))}getAttributions(e){if(!this.isVisible(e))return[];const t=this.getSource()?.getAttributions();if(!t)return[];let r=t(e instanceof n.Ay?e.getViewStateAndExtent():e);return Array.isArray(r)||(r=[r]),r}render(e,t){const r=this.getRenderer();return r.prepareFrame(e)?(this.rendered=!0,r.renderFrame(e,t)):null}unrender(){this.rendered=!1}getDeclutter(){}renderDeclutter(e,t){}renderDeferred(e){const t=this.getRenderer();t&&t.renderDeferred(e)}setMapInternal(e){e||this.unrender(),this.set(u.A.MAP,e)}getMapInternal(){return this.get(u.A.MAP)}setMap(e){this.mapPrecomposeKey_&&((0,o.JH)(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),e||this.changed(),this.mapRenderKey_&&((0,o.JH)(this.mapRenderKey_),this.mapRenderKey_=null),e&&(this.mapPrecomposeKey_=(0,o.KT)(e,l.A.PRECOMPOSE,this.handlePrecompose_,this),this.mapRenderKey_=(0,o.KT)(this,s.A.CHANGE,e.render,e),this.changed())}handlePrecompose_(e){const t=e.frameState.layerStatesArray,r=this.getLayerState(!1);(0,i.v)(!t.some(e=>e.layer===r.layer),"A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both."),t.pu
125sh(r)}setSource(e){this.set(u.A.SOURCE,e)}getRenderer(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_}hasRenderer(){return!!this.renderer_}createRenderer(){return null}clearRenderer(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_)}disposeInternal(){this.clearRenderer(),this.setSource(null),super.disposeInternal()}}function h(e,t){if(!e.visible)return!1;const r=t.resolution;if(r<e.minResolution||r>=e.maxResolution)return!1;const n=t.zoom;return n>e.minZoom&&n<=e.maxZoom}const f=d;r.d(t,["A",0,f])},68198(e,t,r){"use strict";r.d(t,["A",0,{OPACITY:"opacity",VISIBLE:"visible",EXTENT:"extent",Z_INDEX:"zIndex",MAX_RESOLUTION:"maxResolution",MIN_RESOLUTION:"minResolution",MAX_ZOOM:"maxZoom",MIN_ZOOM:"minZoom",SOURCE:"source",MAP:"map"}])},79882(e,t,r){"use strict";r.d(t,{A:()=>O});var n=r(89029),i=r(68692);function o(e){return e instanceof Image||e instanceof HTMLCanvasElement||e instanceof HTMLVideoElement||e instanceof ImageBitmap?e:null}const s=new Error("disposed");const a=[256,256];class l extends n.A{constructor(e){const t=i.A.IDLE;super(e.tileCoord,t,{transition:e.transition,interpolate:e.interpolate}),this.loader_=e.loader,this.data_=null,this.error_=null,this.size_=e.size||null,this.controller_=e.controller||null}getSize(){if(this.size_)return this.size_;const e=o(this.data_);return e?[e.width,e.height]:a}getData(){return this.data_}getError(){return this.error_}load(){if(this.state!==i.A.IDLE&&this.state!==i.A.ERROR)return;this.state=i.A.LOADING,this.changed();const e=this;this.loader_().then(function(t){e.data_=t,e.state=i.A.LOADED,e.changed()}).catch(function(t){e.error_=t,e.state=i.A.ERROR,e.changed()})}disposeInternal(){this.controller_&&(this.controller_.abort(s),this.controller_=null),super.disposeInternal()}}const c=l;var u=r(99020),d=r(95900),h=r(95052),f=r(6045),g=r(44699),p=r(88756),m=r(82548),y=r(58959),v=r(5374);const x=class{constructor(e){this.highWaterMark=void 0!==e?e:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}deleteOldest(){const e=this.pop();e instanceof y.A&&e.dispose()}canExpireCache(){return this.highWaterMark>0&&this.getCount()>this.highWaterMark}expireCache(e){for(;this.canExpireCache();)this.deleteOldest()}clear(){for(;this.oldest_;)this.deleteOldest()}containsKey(e){return this.entries_.hasOwnProperty(e)}forEach(e){let t=this.oldest_;for(;t;)e(t.value_,t.key_,this),t=t.newer}get(e,t){const r=this.entries_[e];return(0,v.v)(void 0!==r,"Tried to get a value for a key that does not exist in the cache"),r===this.newest_||(r===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(r.newer.older=r.older,r.older.newer=r.newer),r.newer=null,r.older=this.newest_,this.newest_.newer=r,this.newest_=r),r.value_}remove(e){const t=this.entries_[e];return(0,v.v)(void 0!==t,"Tried to get a value for a key that does not exist in the cache"),t===this.newest_?(this.newest_=t.older,this.newest_&&(this.newest_.newer=null)):t===this.oldest_?(this.oldest_=t.newer,this.oldest_&&(this.oldest_.older=null)):(t.newer.older=t.older,t.older.newer=t.newer),delete this.entries_[e],--this.count_,t.value_}getCount(){return this.count_}getKeys(){const e=new Array(this.count_);let t,r=0;for(t=this.newest_;t;t=t.older)e[r++]=t.key_;return e}getValues(){const e=new Array(this.count_);let t,r=0;for(t=this.newest_;t;t=t.older)e[r++]=t.value_;return e}peekLast(){return this.oldest_.value_}peekLastKey(){return this.oldest_.key_}peekFirstKey(){return this.newest_.key_}peek(e){return this.entries_[e]?.value_}pop(){const e=this.oldest_;return delete this.entries_[e.key_],e.newer&&(e.newer.older=null),this.oldest_=e.newer,this.oldest_||(this.newest_=null),--this.count_,e.value_}replace(e,t){this.get(e),this.entries_[e].value_=t}set(e,t){(0,v.v)(!(e in this.entries_),"Tried to set a value for a key that is used already");const r={key_:e,newer:null,older:this.newest_,value_:t};this.newest_?this.newest_.newer=r:this.oldest_=r,this.newest_=r,this.entries_[e]=r,++this.count_}setSize(e){this.highWaterMark=e}};var _=r(28804),b=r(85185),S=r(10917),w=r(20029);function k(e,t,r){if(!(r in e))return e[r]=new Set([t]),!0;const n=e[r],i=n.has(t);return i||n.add(t),!i}function A(e,t,r){const n=e[r];return!!n&&n.delete(t)}function M(e,t){const r=e.layerStatesArray[e.layerIndex];r.extent&&(t=(0,f._N)(t,(0,g.SD)(r.extent,e.viewState.projection)));const n=r.layer.getRenderSource();if(!n.getWrapX()){const r=n.getTileGridForProjection(e.viewState.projection).getExtent();r&&(t=(0,f._N)(t,r))}return t}class C extends w.A{constructor(e,t){super(e),t=t||{},this.extentChanged=!0,this.renderComplete=!1,this.renderedExtent_=null,this.renderedPixelRatio,this.renderedProjection=null,this.renderedTiles=[],this.renderedSourceRevision_,this.tempExtent=(0,f.S5)(),this.tempTileRange_=new d.A(0,0,0,0),this.tempTileCoord_=(0,_.N)(0,0,0);
125const r=void 0!==t.cacheSize?t.cacheSize:512;this.tileCache_=new x(r),this.sourceTileCache_=null,this.layerExtent=null,this.maxStaleKeys=.5*r}getTileCache(){return this.tileCache_}getSourceTileCache(){return this.sourceTileCache_||(this.sourceTileCache_=new x(512)),this.sourceTileCache_}getOrCreateTile(e,t,r,n){const i=this.tileCache_,o=this.getLayer().getSource(),s=(0,_.et)(o,o.getKey(),e,t,r);let a;if(i.containsKey(s))a=i.get(s);else{const l=n.viewState.projection,c=o.getProjection();if(a=o.getTile(e,t,r,n.pixelRatio,l,!c||(0,g.tI)(c,l)?void 0:this.getSourceTileCache()),!a)return null;i.set(s,a)}return a}getTile(e,t,r,n){const i=this.getOrCreateTile(e,t,r,n);return i||null}getData(e){const t=this.frameState;if(!t)return null;const r=this.getLayer(),n=(0,b.Bb)(t.pixelToCoordinateTransform,e.slice()),s=r.getExtent();if(s&&!(0,f.Ym)(s,n))return null;const a=t.viewState,l=r.getRenderSource(),d=l.getTileGridForProjection(a.projection),h=l.getTilePixelRatio(t.pixelRatio);for(let e=d.getZForResolution(a.resolution);e>=d.getMinZoom();--e){const r=d.getTileCoordForCoordAndZ(n,e),s=this.getTile(e,r[1],r[2],t);if(!s||s.getState()!==i.A.LOADED)continue;const f=d.getOrigin(e),g=(0,m.xq)(d.getTileSize(e)),y=d.getResolution(e);let v;if(s instanceof u.A||s instanceof p.A)v=s.getImage();else{if(!(s instanceof c))continue;if(v=o(s.getData()),!v)continue}const x=Math.floor(h*((n[0]-f[0])/y-r[1]*g[0])),_=Math.floor(h*((f[1]-n[1])/y-r[2]*g[1])),b=Math.round(h*l.getGutterForProjection(a.projection));return this.getImageData(v,x+b,_+b)}return null}prepareFrame(e){this.renderedProjection?e.viewState.projection!==this.renderedProjection&&(this.tileCache_.clear(),this.renderedProjection=e.viewState.projection):this.renderedProjection=e.viewState.projection;const t=this.getLayer().getSource();if(!t)return!1;const r=t.getRevision();return this.renderedSourceRevision_?this.renderedSourceRevision_!==r&&(this.renderedSourceRevision_=r,this.renderedSourceKey_===t.getKey()&&(this.tileCache_.clear(),this.sourceTileCache_?.clear())):this.renderedSourceRevision_=r,!0}enqueueTilesForNextExtent(){return!0}enqueueTiles(e,t,r,n,o){const s=e.viewState,a=this.getLayer(),l=a.getRenderSource(),c=l.getTileGridForProjection(s.projection),u=(0,S.v6)(l);u in e.wantedTiles||(e.wantedTiles[u]={});const d=e.wantedTiles[u],h=a.getMapInternal(),g=Math.max(r-o,c.getMinZoom(),c.getZForResolution(Math.min(a.getMaxResolution(),h?h.getView().getResolutionForZoom(Math.max(a.getMinZoom(),0)):c.getResolution(0)),l.zDirection)),p=s.rotation,m=p?(0,f.Yw)(s.center,s.resolution,p,e.size):void 0;for(let o=r;o>=g;--o){const r=c.getTileRangeForExtentAndZ(t,o,this.tempTileRange_),s=c.getResolution(o);for(let t=r.minX;t<=r.maxX;++t)for(let a=r.minY;a<=r.maxY;++a){if(p&&!c.tileCoordIntersectsViewport([o,t,a],m))continue;const r=this.getTile(o,t,a,e);if(!r)continue;if(!k(n,r,o))continue;const l=r.getKey();if(d[l]=!0,r.getState()===i.A.IDLE&&!e.tileQueue.isKeyQueued(l)){const n=(0,_.N)(o,t,a,this.tempTileCoord_);e.tileQueue.enqueue([r,u,c.getTileCoordCenter(n),s])}}}}findStaleTile_(e,t){const r=this.tileCache_,n=e[0],o=e[1],s=e[2],a=this.getStaleKeys();for(let e=0;e<a.length;++e){const l=(0,_.et)(this.getLayer().getSource(),a[e],n,o,s);if(r.containsKey(l)){const e=r.peek(l);if(e.getState()===i.A.LOADED)return e.endTransition((0,S.v6)(this)),k(t,e,n),!0}}return!1}findAltTiles_(e,t,r,n){const o=e.getTileRangeForTileCoordAndZ(t,r,this.tempTileRange_);if(!o)return!1;let s=!0;const a=this.tileCache_,l=this.getLayer().getRenderSource(),c=l.getKey();for(let e=o.minX;e<=o.maxX;++e)for(let t=o.minY;t<=o.maxY;++t){const o=(0,_.et)(l,c,r,e,t);let u=!1;if(a.containsKey(o)){const e=a.peek(o);e.getState()===i.A.LOADED&&(k(n,e,r),u=!0)}u||(s=!1)}return s}renderFrame(e,t){this.renderComplete=!0;const r=e.layerStatesArray[e.layerIndex],n=e.viewState,o=n.projection,s=n.resolution,a=n.center,l=e.pixelRatio,c=this.getLayer(),u=c.getSource(),d=u.getTileGridForProjection(o),p=d.getZForResolution(s,u.zDirection),m=d.getResolution(p);this.updateStaleKeys(u.getKey());let y=e.extent;const v=u.getTilePixelRatio(l);this.prepareContainer(e,t);const x=this.context.canvas.width,_=this.context.canvas.height;this.layerExtent=r.extent?(0,g.SD)(r.extent,o):null,this.layerExtent&&(y=(0,f._N)(y,this.layerExtent));const w=m*x/2/v,k=m*_/2/v,C=[a[0]-w,a[1]-k,a[0]+w,a[1]+k],E={};this.renderedTiles.length=0;const R=c.getPreload();
125if(e.nextExtent&&this.enqueueTilesForNextExtent()){const t=d.getZForResolution(n.nextResolution,u.zDirection),r=M(e,e.nextExtent);this.enqueueTiles(e,r,t,E,R)}const T=M(e,y);if(this.enqueueTiles(e,T,p,E,0),R>0&&setTimeout(()=>{this.enqueueTiles(e,T,p-1,E,R-1)},0),!(p in E))return this.container;const I=(0,S.v6)(this),P=e.time;for(const t of E[p]){const r=t.getState();if(r===i.A.EMPTY)continue;const n=t.tileCoord;if(r===i.A.LOADED){if(1===t.getAlpha(I,P)){t.endTransition(I);continue}}r!==i.A.ERROR&&(this.renderComplete=!1);if(this.findStaleTile_(n,E)){A(E,t,p),e.animate=!0;continue}if(this.findAltTiles_(d,n,p+1,E))continue;const o=d.getMinZoom();for(let e=p-1;e>=o;--e){if(this.findAltTiles_(d,n,e,E))break}}const j=m/s*l/v,O=this.getRenderContext(e);(0,b.Zz)(this.tempTransform,x/2,_/2,j,j,0,-x/2,-_/2),this.layerExtent&&this.clipUnrotated(O,e,this.layerExtent),u.getInterpolate()||(O.imageSmoothingEnabled=!1),this.preRender(O,e);const L=Object.keys(E).map(Number);L.sort(h.V_);const D=[],F=[],N=[];for(let t=L.length-1;t>=0;--t){const r=L[t],n=u.getTilePixelSize(r,l,o),s=d.getResolution(r)/m,a=n[0]*s*j,c=n[1]*s*j,h=d.getTileCoordForCoordAndZ((0,f.Py)(C),r),g=d.getTileCoordExtent(h),y=(0,b.Bb)(this.tempTransform,[v*(g[0]-C[0])/m,v*(C[3]-g[3])/m]),x=v*u.getGutterForProjection(o);for(const t of E[r]){if(t.getState()!==i.A.LOADED)continue;const n=t.tileCoord,o=h[1]-n[1],s=Math.round(y[0]-(o-1)*a),l=h[2]-n[2],d=Math.round(y[1]-(l-1)*c),g=Math.round(y[0]-o*a),m=Math.round(y[1]-l*c),v=s-g,_=d-m,b=r===p;if(b&&t.inTransition(I)){N.push({tile:t,x:g,y:m,w:v,h:_,gutter:x}),this.renderedTiles.unshift(t),this.updateUsedTiles(e.usedTiles,u,t);continue}const S=[g,m,g+v,m+_],w=[];for(let e=0,t=D.length;e<t;++e)r<F[e]&&(0,f.HY)(S,D[e])&&w.push(D[e]);let k;w.length>0&&(k=(0,f._$)(S,w)),D.push(S),F.push(r),this.drawTile(t,e,g,m,v,_,x,b,k),this.renderedTiles.unshift(t),this.updateUsedTiles(e.usedTiles,u,t)}}for(let t=0,r=N.length;t<r;++t){const{tile:r,x:n,y:i,w:o,h:s,gutter:a}=N[t];this.drawTile(r,e,n,i,o,s,a,!0,void 0)}if(this.renderedResolution=m,this.extentChanged=!this.renderedExtent_||!(0,f.aI)(this.renderedExtent_,C),this.renderedExtent_=C,this.renderedPixelRatio=l,this.postRender(this.context,e),this.layerExtent&&O.restore(),O.imageSmoothingEnabled=!0,this.renderComplete){const t=(e,t)=>{const r=(0,S.v6)(u),n=t.wantedTiles[r],i=n?Object.keys(n).length:0;this.updateCacheSize(i),this.tileCache_.expireCache(),this.sourceTileCache_?.expireCache()};e.postRenderFunctions.push(t)}return this.container}updateCacheSize(e){this.tileCache_.highWaterMark=Math.max(this.tileCache_.highWaterMark,2*e)}drawTile(e,t,r,n,i,s,a,l,u){let d;if(e instanceof c){if(d=o(e.getData()),!d)throw new Error("Rendering array data is not yet supported")}else d=this.getTileImage(e);if(!d)return;const h=this.getRenderContext(t),f=(0,S.v6)(this),g=t.layerStatesArray[t.layerIndex],p=g.opacity*(l?e.getAlpha(f,t.time):1),m=p!==h.globalAlpha;m&&(h.save(),h.globalAlpha=p);const y=d.width-2*a,v=d.height-2*a;if(u){const e=y/i,t=v/s;for(let i=0,o=u.length;i<o;++i){const o=u[i],s=o[0],l=o[1],c=o[2]-o[0],f=o[3]-o[1];h.drawImage(d,a+(s-r)*e,a+(l-n)*t,c*e,f*t,s,l,c,f)}}else h.drawImage(d,a,a,y,v,r,n,i,s);m&&h.restore(),p!==g.opacity?t.animate=!0:l&&e.endTransition(f)}getImage(){const e=this.context;return e?e.canvas:null}getTileImage(e){return e.getImage()}updateUsedTiles(e,t,r){const n=(0,S.v6)(t);n in e||(e[n]={}),e[n][r.getKey()]=!0}}const E=C;var R=r(77274);const T="preload",I="useInterimTilesOnError";class P extends R.A{constructor(e){e=e||{};const t=Object.assign({},e),r=e.cacheSize;delete e.cacheSize,delete t.preload,delete t.useInterimTilesOnError,super(t),this.on,this.once,this.un,this.cacheSize_=r,this.setPreload(void 0!==e.preload?e.preload:0),this.setUseInterimTilesOnError(void 0===e.useInterimTilesOnError||e.useInterimTilesOnError)}getCacheSize(){return this.cacheSize_}getPreload(){return this.get(T)}setPreload(e){this.set(T,e)}getUseInterimTilesOnError(){return this.get(I)}setUseInterimTilesOnError(e){this.set(I,e)}getData(e){return super.getData(e)}}const j=P;const O=class extends j{constructor(e){super(e)}createRenderer(){return new E(this,{cacheSize:this.getCacheSize()})}}},34372(e,t,r){"use strict";r.d(t,{A:()=>xe});var n=r(50209),i=r(95052),o=r(8255),s=r(69677),a=r(6045),l=r(44699),c=r(43518),u=r(14837),d=r(43054),h=r(45951),f=r(40820),g=r(23672);const p={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},m=[p.FILL],y=[p.STROKE],v=[p.BEGIN_PATH],x=[p.CLOSE_PATH],_=p;class b extends f.A{constructor(e,t,r,n){super(),this.tolerance=e,this.maxExtent=t,this.pixelRatio=n,this.maxLineWidth=0,this.resolution=r,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_=null,this.bufferedMaxExtent_=null,this.instructions=[],this.coordinates=[],this.tmpCoordinate_=[],this.hitDetectionInstructions=[],this.state={}}applyPixelRatio(e){const t=this.pixelRatio;return 1==t?e:e.map(function(e){return e*t})}appendFlatPointCoordinates(e,t){const r=this.getBufferedMaxExtent(),n=this.tmpCoordinate_,i=this.coordinates;let o=i.length;for(let s=0,l=e.length;s<l;s+=t)n[0]=e[s],n[1]=e[s+1],(0,a.Ym)(r,n)&&(i[o++]=n[0],i[o++]=n[1]);return o}appendFlatLineCoordinates(e,t,r,n,i,o){const s=this.coordinates;let l=s.length;const c=this.getBufferedMaxExtent();o&&(t+=n);let u=e[t],h=e[t+1];const f=this.tmpCoordinate_;let g,p,m,y=!0;for(g=t+n;g<r;
125g+=n)f[0]=e[g],f[1]=e[g+1],m=(0,a.vz)(c,f),m!==p?(y&&(s[l++]=u,s[l++]=h,y=!1),s[l++]=f[0],s[l++]=f[1]):m===d.A.INTERSECTING?(s[l++]=f[0],s[l++]=f[1],y=!1):y=!0,u=f[0],h=f[1],p=m;return(i&&y||g===t+n)&&(s[l++]=u,s[l++]=h),l}drawCustomCoordinates_(e,t,r,n,i){for(let o=0,s=r.length;o<s;++o){const s=r[o],a=this.appendFlatLineCoordinates(e,t,s,n,!1,!1);i.push(a),t=s}return t}drawCustom(e,t,r,n,i){this.beginGeometry(e,t,i);const o=e.getType(),s=e.getStride(),a=this.coordinates.length;let l,c,u,d,f;switch(o){case"MultiPolygon":l=e.getOrientedFlatCoordinates(),d=[];const t=e.getEndss();f=0;for(let e=0,r=t.length;e<r;++e){const r=[];f=this.drawCustomCoordinates_(l,f,t[e],s,r),d.push(r)}this.instructions.push([_.CUSTOM,a,d,e,r,h.Dz,i]),this.hitDetectionInstructions.push([_.CUSTOM,a,d,e,n||r,h.Dz,i]);break;case"Polygon":case"MultiLineString":u=[],l="Polygon"==o?e.getOrientedFlatCoordinates():e.getFlatCoordinates(),f=this.drawCustomCoordinates_(l,0,e.getEnds(),s,u),this.instructions.push([_.CUSTOM,a,u,e,r,h.cD,i]),this.hitDetectionInstructions.push([_.CUSTOM,a,u,e,n||r,h.cD,i]);break;case"LineString":case"Circle":l=e.getFlatCoordinates(),c=this.appendFlatLineCoordinates(l,0,l.length,s,!1,!1),this.instructions.push([_.CUSTOM,a,c,e,r,h.n2,i]),this.hitDetectionInstructions.push([_.CUSTOM,a,c,e,n||r,h.n2,i]);break;case"MultiPoint":l=e.getFlatCoordinates(),c=this.appendFlatPointCoordinates(l,s),c>a&&(this.instructions.push([_.CUSTOM,a,c,e,r,h.n2,i]),this.hitDetectionInstructions.push([_.CUSTOM,a,c,e,n||r,h.n2,i]));break;case"Point":l=e.getFlatCoordinates(),this.coordinates.push(l[0],l[1]),c=this.coordinates.length,this.instructions.push([_.CUSTOM,a,c,e,r,void 0,i]),this.hitDetectionInstructions.push([_.CUSTOM,a,c,e,n||r,void 0,i])}this.endGeometry(t)}beginGeometry(e,t,r){this.beginGeometryInstruction1_=[_.BEGIN_GEOMETRY,t,0,e,r],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[_.BEGIN_GEOMETRY,t,0,e,r],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)}finish(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}}reverseHitDetectionInstructions(){const e=this.hitDetectionInstructions;let t;e.reverse();const r=e.length;let n,o,s=-1;for(t=0;t<r;++t)n=e[t],o=n[0],o==_.END_GEOMETRY?s=t:o==_.BEGIN_GEOMETRY&&(n[2]=t,(0,i.gI)(this.hitDetectionInstructions,s,t),s=-1)}fillStyleToState(e,t={}){if(e){const r=e.getColor();t.fillPatternScale=r&&"object"==typeof r&&"src"in r?this.pixelRatio:1,t.fillStyle=(0,u.F)(r||"#000")??void 0}else t.fillStyle=void 0;return t}strokeStyleToState(e,t={}){if(e){const r=e.getColor();t.strokeStyle=(0,u.F)(r||"#000");const n=e.getLineCap();t.lineCap=void 0!==n?n:"round";const i=e.getLineDash();t.lineDash=i?i.slice():g.Oq;const o=e.getLineDashOffset();t.lineDashOffset=o||0;const s=e.getLineJoin();t.lineJoin=void 0!==s?s:"round";const a=e.getWidth();t.lineWidth=void 0!==a?a:1;const l=e.getMiterLimit();t.miterLimit=void 0!==l?l:10;const c=e.getOffset();t.strokeOffset=c??0,t.lineWidth>this.maxLineWidth&&(this.maxLineWidth=t.lineWidth,this.bufferedMaxExtent_=null)}else t.strokeStyle=void 0,t.lineCap=void 0,t.lineDash=null,t.lineDashOffset=void 0,t.lineJoin=void 0,t.lineWidth=void 0,t.miterLimit=void 0,t.strokeOffset=void 0;return t}setFillStrokeStyle(e,t){const r=this.state;this.fillStyleToState(e,r),this.strokeStyleToState(t,r)}createFill(e){const t=e.fillStyle,r=[_.SET_FILL_STYLE,t];return"string"!=typeof t&&r.push(e.fillPatternScale),r}applyStroke(e){this.instructions.push(this.createStroke(e))}createStroke(e){return[_.SET_STROKE_STYLE,e.strokeStyle,e.lineWidth*this.pixelRatio,e.lineCap,e.lineJoin,e.miterLimit,e.lineDash?this.applyPixelRatio(e.lineDash):null,e.lineDashOffset*this.pixelRatio]}updateFillStyle(e,t){const r=e.fillStyle;(void 0!==r&&"string"!=typeof r||e.currentFillStyle!=r)&&(this.instructions.push(t.call(this,e)),e.currentFillStyle=r)}updateStrokeStyle(e,t){const r=e.strokeStyle,n=e.lineCap,o=e.lineDash,s=e.lineDashOffset,a=e.lineJoin,l=e.lineWidth,c=e.miterLimit,u=e.strokeOffset;(e.currentStrokeStyle!=r||e.currentLineCap!=n||o!=e.currentLineDash&&!(0,i.aI)(e.currentLineDash,o)||e.currentLineDashOffset!=s||e.currentLineJoin!=a||e.currentLineWidth!=l||e.currentMiterLimit!=c||e.currentStrokeOffset!=u)&&(t.call(this,e),e.currentStrokeStyle=r,e.currentLineCap=n,e.currentLineDash=o,e.currentLineDashOffset=s,e.currentLineJoin=a,e.currentLineWidth=l,e.currentMiterLimit=c,e.currentStrokeOffset=u)}endGeometry(e){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;const t=[_.END_GEOMETRY,e];this.instructions.push(t),this.hitDetectionInstructions.push(t)}getBufferedMaxExtent(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=(0,a.o8)(this.maxExtent),this.maxLineWidth>0)){const e=this.resolution*(this.maxLineWidth+1)/2;(0,a.r)(this.bufferedMaxExtent_,e,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_}}const S=b;const w=class extends S{constructor(e,t,r,n){super(e,t,r,n),this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.anchorX_=void 0,this.anchorY_=void 0,this.height_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.scale_=void 0,this.width_=void 0,this.declutterMode_=void 0,this.declutterImageWithText_=void 0}drawPoint(e,t,r){if(!this.image_||this.maxExtent&&!(0,a.Ym)(this.maxExtent,e.getFlatCoordinates()))return;this.beginGeometry(e,t,r);const n=e.getFlatCoordinates(),i=e.getStride(),o=this.coordinates.length,s=this.appendFlatPointCoordinates(n,i);this.instructions.push([_.DRAW_IMAGE,o,s,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.
125ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([_.DRAW_IMAGE,o,s,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(t)}drawMultiPoint(e,t,r){if(!this.image_)return;this.beginGeometry(e,t,r);const n=e.getFlatCoordinates(),i=[];for(let t=0,r=n.length;t<r;t+=e.getStride())this.maxExtent&&!(0,a.Ym)(this.maxExtent,n.slice(t,t+2))||i.push(n[t],n[t+1]);const o=this.coordinates.length,s=this.appendFlatPointCoordinates(i,2);this.instructions.push([_.DRAW_IMAGE,o,s,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([_.DRAW_IMAGE,o,s,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(t)}finish(){return this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0,super.finish()}setImageStyle(e,t){const r=e.getAnchor(),n=e.getSize(),i=e.getOrigin();this.imagePixelRatio_=e.getPixelRatio(this.pixelRatio),this.anchorX_=r[0],this.anchorY_=r[1],this.hitDetectionImage_=e.getHitDetectionImage(),this.image_=e.getImage(this.pixelRatio),this.height_=n[1],this.opacity_=e.getOpacity(),this.originX_=i[0],this.originY_=i[1],this.rotateWithView_=e.getRotateWithView(),this.rotation_=e.getRotation(),this.scale_=e.getScaleArray(),this.width_=n[0],this.declutterMode_=e.getDeclutterMode(),this.declutterImageWithText_=t}};const k=class extends S{constructor(e,t,r,n){super(e,t,r,n)}drawFlatCoordinates_(e,t,r,n,i){const o=this.coordinates.length,s=this.appendFlatLineCoordinates(e,t,r,n,!1,!1);return this.instructions.push([_.MOVE_TO_LINE_TO,o,s,i*this.pixelRatio]),this.hitDetectionInstructions.push([_.MOVE_TO_LINE_TO,o,s,i]),r}drawLineString(e,t,r){const n=this.state,i=n.strokeStyle,o=n.lineWidth,s=n.strokeOffset;if(void 0===i||void 0===o)return;this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(e,t,r),this.hitDetectionInstructions.push([_.SET_STROKE_STYLE,"#000",n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,g.Oq,0],v);const a=e.getFlatCoordinates(),l=e.getStride();this.drawFlatCoordinates_(a,0,a.length,l,s),this.hitDetectionInstructions.push(y),this.endGeometry(t)}drawMultiLineString(e,t,r){const n=this.state,i=n.strokeStyle,o=n.lineWidth,s=n.strokeOffset;if(void 0===i||void 0===o)return;this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(e,t,r),this.hitDetectionInstructions.push([_.SET_STROKE_STYLE,"#000",n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,g.Oq,0],v);const a=e.getEnds(),l=e.getFlatCoordinates(),c=e.getStride();let u=0;for(let e=0,t=a.length;e<t;++e)u=this.drawFlatCoordinates_(l,u,a[e],c,s);this.hitDetectionInstructions.push(y),this.endGeometry(t)}finish(){const e=this.state;return null!=e.lastStroke&&e.lastStroke!=this.coordinates.length&&this.instructions.push(y),this.reverseHitDetectionInstructions(),this.state=null,super.finish()}applyStroke(e){null!=e.lastStroke&&e.lastStroke!=this.coordinates.length&&(this.instructions.push(y),e.lastStroke=this.coordinates.length),e.lastStroke=0,super.applyStroke(e),this.instructions.push(v)}};var A=r(12609);const M=class extends S{constructor(e,t,r,n){super(e,t,r,n)}drawFlatCoordinatess_(e,t,r,n,i){const o=this.state,s=void 0!==o.fillStyle,a=void 0!==o.strokeStyle,l=r.length;this.instructions.push(v),this.hitDetectionInstructions.push(v);for(let o=0;o<l;++o){const s=r[o],l=this.coordinates.length,c=this.appendFlatLineCoordinates(e,t,s,n,!0,!a);this.instructions.push([_.MOVE_TO_LINE_TO,l,c,i*this.pixelRatio,!0]),this.hitDetectionInstructions.push([_.MOVE_TO_LINE_TO,l,c,i,!0]),a&&(this.instructions.push(x),this.hitDetectionInstructions.push(x)),t=s}return s&&(this.instructions.push(m),this.hitDetectionInstructions.push(m)),a&&(this.instructions.push(y),this.hitDetectionInstructions.push(y)),t}drawCircle(e,t,r){const n=this.state,i=n.fillStyle,o=n.strokeStyle,s=n.strokeOffset;if(void 0===i&&void 0===o)return;if(this.handleStrokeOffset_(()=>this.drawCircle(e,t,r)))return;this.setFillStrokeStyles_(),this.beginGeometry(e,t,r),void 0!==n.fillStyle&&this.hitDetectionInstructions.push([_.SET_FILL_STYLE,"#000"]),void 0!==n.strokeStyle&&this.hitDetectionInstructions.push([_.SET_STROKE_STYLE,"#000",n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,g.Oq,0]);const a=e.getFlatCoordinates(),l=e.getStride(),c=this.coordinates.length;this.appendFlatLineCoordinates(a,0,a.length,l,!1,!1);const u=[_.CIRCLE,c,s];this.instructions.push(v,u),this.hitDetectionInstructions.push(v,u),void 0!==n.fillStyle&&(this.instructions.push(m),this.hitDetectionInstructions.push(m)),void 0!==n.strokeStyle&&(this.instructions.push(y),this.hitDetectionInstructions.push(y)),this.endGeometry(t)}drawPolygon(e,t,r){const n=this.state,i=n.fillStyle,o=n.strokeStyle,s=n.strokeOffset;if(void 0===i&&void 0===o)return;if(this.handleStrokeOffset_(()=>this.drawPolygon(e,t,r)))return;this.setFillStrokeStyles_(),this.beginGeometry(e,t,r),void 0!==n.fillStyle&&this.hitDetectionInstructions.push([_.SET_FILL_STYLE,"#000"]),void 0!==n.strokeStyle&&this.hitDetectionInstructions.push([_.SET_STROKE_STYLE,"#000",n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,g.Oq,0]);const a=e.getEnds(),l=e.getOrientedFlatCoordinates(),c=e.getStride();this.drawFlatCoordinatess_(l,0,a,c,s),this.endGeometry(t)}drawMultiPolygon(e,t,r){const n=this.state,i=n.fillStyle,o=n.strokeStyle,s=n.strokeOffset;if(void 0===i&&void 0===o)return;if(this.handleStrokeOffset_(()=>this.drawMultiPolygon(e,t,r)))return;this.setFillStrokeStyles_(),this.beginGeometry(e,t,r),void 0!==n.fillStyle&&this.hitDetectionInstructions.push([_.SET_FILL_STYLE,"#000"]),void 0!==n.strokeStyle&&this.hitDetectionInstructions.push([_.SET_STROKE_STYLE,"#000",n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,g.Oq,0]);const a=e.getEndss(),l=e.getOrientedFlatCoordinates(),c=e.getStride();let u=0;for(let e=0,t=a.length;e<t;++e)u=this.drawFlatCoordinatess_(l,u,a[e],c,s);this.endGeometry(t)}finish(){this.reverseHitDetectionInstructions(),this.state=null;const e=this.tolerance;if(0!==e){const t=this.coordinates;for(let r=0,n=t.length;r<n;++r)t[r]=(0,A.n$)(t[r],e)}return super.finish()}setFillStrokeStyles_(){const e=this.state;this.updateFillStyle(e,this.createFill),this.updateStrokeStyle(e,this.applyStroke)}handleStrokeOffset_(e){const t=this.state,r=t.fillStyle,n=t.strokeStyle,i=t.strokeOffset;return Math.abs(i)>0&&void 0!==r&&void 0!==n&&(t.strokeStyle=void 0,t.strokeOffset=0,e(),t.fillStyle=void 0,t.strokeStyle=n,t.strokeOffset=i,e(
125),t.fillStyle=r,!0)}};let C=0,E=1;function R(e,t,r,n,i,o,s,a){const l=s-i,c=a-o;let u=0,d=1;if(0===l){if(i<e||i>r)return!1}else{let t=(e-i)/l,n=(r-i)/l;if(t>n){const e=t;t=n,n=e}if(t>u&&(u=t),n<d&&(d=n),u>d)return!1}if(0===c){if(o<t||o>n)return!1}else{let e=(t-o)/c,r=(n-o)/c;if(e>r){const t=e;e=r,r=t}if(e>u&&(u=e),r<d&&(d=r),u>d)return!1}return C=u,E=d,!0}var T=r(84763);function I(e,t,r,n,i){const o=[];let s=r,a=0,l=t.slice(r,2);for(;a<e&&s+i<n;){const[r,n]=l.slice(-2),c=t[s+i],u=t[s+i+1],d=Math.sqrt((c-r)*(c-r)+(u-n)*(u-n));if(a+=d,a>=e){const t=(e-a+d)/d,h=(0,T.Cc)(r,c,t),f=(0,T.Cc)(n,u,t);l.push(h,f),o.push(l),l=[h,f],a==e&&(s+=i),a=0}else if(a<e)l.push(t[s+i],t[s+i+1]),s+=i;else{const e=d-a,t=(0,T.Cc)(r,c,e/d),h=(0,T.Cc)(n,u,e/d);l.push(t,h),o.push(l),l=[t,h],a=0,s+=i}}return a>0&&o.push(l),o}function P(e,t,r,n,i){let o,s,a,l,c,u,d,h,f,g,p=r,m=r,y=0,v=0,x=r;for(s=r;s<n;s+=i){const r=t[s],n=t[s+1];void 0!==c&&(f=r-c,g=n-u,l=Math.sqrt(f*f+g*g),void 0!==d&&(v+=a,o=Math.acos((d*f+h*g)/(a*l)),o>e&&(v>y&&(y=v,p=x,m=s),v=0,x=s-i)),a=l,d=f,h=g),c=r,u=n}return v+=l,v>y?[x,s]:[p,m]}var j=r(10917);const O={left:0,center:.5,right:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1};const L=class extends S{constructor(e,t,r,n){super(e,t,r,n),this.labels_=null,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=void 0,this.textKeepUpright_=void 0,this.textRotation_=0,this.textFillState_=null,this.fillStates={},this.fillStates["#000"]={fillStyle:"#000"},this.textStrokeState_=null,this.strokeStates={},this.textState_={},this.textStates={},this.textKey_="",this.fillKey_="",this.strokeKey_="",this.declutterMode_=void 0,this.declutterImageWithText_=void 0}finish(){const e=super.finish();return e.textStates=this.textStates,e.fillStates=this.fillStates,e.strokeStates=this.strokeStates,e}drawText(e,t,r){const n=this.textFillState_,i=this.textStrokeState_,o=this.textState_;if(""===this.text_||!o||!n&&!i)return;const s=this.coordinates;let l=s.length;const c=e.getType();let u=null,d=e.getStride();if("line"!==o.placement||"LineString"!=c&&"MultiLineString"!=c&&"Polygon"!=c&&"MultiPolygon"!=c){let n=o.overflow?null:[];switch(c){case"Point":case"MultiPoint":u=e.getFlatCoordinates();break;case"LineString":u=e.getFlatMidpoint();break;case"Circle":u=e.getCenter();break;case"MultiLineString":u=e.getFlatMidpoints(),d=2;break;case"Polygon":u=e.getFlatInteriorPoint(),o.overflow||n.push(u[2]/this.resolution),d=3;break;case"MultiPolygon":const t=e.getFlatInteriorPoints();u=[];for(let e=0,r=t.length;e<r;e+=3)o.overflow||n.push(t[e+2]/this.resolution),u.push(t[e],t[e+1]);if(0===u.length)return;d=2}const i=this.appendFlatPointCoordinates(u,d);if(i===l)return;if(n&&(i-l)/2!==u.length/d){let e=l/2;n=n.filter((t,r)=>{const n=s[2*(e+r)]===u[r*d]&&s[2*(e+r)+1]===u[r*d+1];return n||--e,n})}this.saveTextStates_();const a=o.backgroundFill?this.createFill(this.fillStyleToState(o.backgroundFill)):null,h=o.backgroundStroke?this.createStroke(this.strokeStyleToState(o.backgroundStroke)):null;this.beginGeometry(e,t,r);let f=o.padding;if(f!=g.Tq&&(o.scale[0]<0||o.scale[1]<0)){let e=o.padding[0],t=o.padding[1],r=o.padding[2],n=o.padding[3];o.scale[0]<0&&(t=-t,n=-n),o.scale[1]<0&&(e=-e,r=-r),f=[e,t,r,n]}const p=this.pixelRatio;this.instructions.push([_.DRAW_IMAGE,l,i,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[1,1],NaN,this.declutterMode_,this.declutterImageWithText_,f==g.Tq?g.Tq:f.map(function(e){return e*p}),a,h,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,n]);const m=1/p,y=a?a.slice(0):null;y&&(y[1]="#000"),this.hitDetectionInstructions.push([_.DRAW_IMAGE,l,i,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[m,m],NaN,this.declutterMode_,this.declutterImageWithText_,f,y,h,this.text_,this.textKey_,this.strokeKey_,this.fillKey_?"#000":this.fillKey_,this.textOffsetX_,this.textOffsetY_,n]),this.endGeometry(t)}else{const n=e.getExtent();if(!(0,a.HY)(this.maxExtent,n))return;let i;if(u=e.getFlatCoordinates(),"LineString"==c)i=[u.length];else if("MultiLineString"==c)i=e.getEnds();else if("Polygon"==c)i=e.getEnds().slice(0,1);else if("MultiPolygon"==c){const t=e.getEndss();i=[];for(let e=0,r=t.length;e<r;++e)i.push(t[e][0])}if(("LineString"==c||"MultiLineString"==c)&&!(0,a.ms)(this.getBufferedMaxExtent(),n)){const e=function(e,t,r,n){const i=n[0],o=n[1],s=n[2],a=n[3],l=[],c=[];let u,d,h=!1,f=0;for(let n=0,g=t.length;n<g;
125++n){const g=t[n];let p=e[f],m=e[f+1],y=!1;for(let t=f+r;t<g;t+=r){const r=e[t],n=e[t+1];if(R(i,o,s,a,p,m,r,n)){const e=r-p,t=n-m,i=p+C*e,o=m+C*t,s=p+E*e,a=m+E*t;h&&y&&i===u&&o===d?l.push(s,a):(h&&c.push(l.length),l.push(i,o,s,a),h=!0),u=s,d=a,y=!0}p=r,m=n}f=g}return h&&c.push(l.length),{flatCoordinates:l,ends:c}}(u,i,d,this.getBufferedMaxExtent());if(u=e.flatCoordinates,i=e.ends,d=2,0===i.length)return}this.beginGeometry(e,t,r);const h=o.repeat,f=h?void 0:o.textAlign;let g=0;for(let e=0,t=i.length;e<t;++e){let t;t=h?I(h*this.resolution,u,g,i[e],d):[u.slice(g,i[e])];for(let r=0,n=t.length;r<n;++r){const n=t[r];let a=0,c=n.length;if(null==f){const e=P(o.maxAngle,n,0,n.length,2);a=e[0],c=e[1]}for(let e=a;e<c;e+=d)s.push(n[e],n[e+1]);const u=s.length;g=i[e],this.drawChars_(l,u),l=u}}this.endGeometry(t)}}saveTextStates_(){const e=this.textStrokeState_,t=this.textState_,r=this.textFillState_,n=this.strokeKey_;e&&(n in this.strokeStates||(this.strokeStates[n]={strokeStyle:e.strokeStyle,lineCap:e.lineCap,lineDashOffset:e.lineDashOffset,lineWidth:e.lineWidth,lineJoin:e.lineJoin,miterLimit:e.miterLimit,lineDash:e.lineDash}));const i=this.textKey_;i in this.textStates||(this.textStates[i]={font:t.font,textAlign:t.textAlign||"center",justify:t.justify,textBaseline:t.textBaseline||"middle",scale:t.scale});const o=this.fillKey_;r&&(o in this.fillStates||(this.fillStates[o]={fillStyle:r.fillStyle}))}drawChars_(e,t){const r=this.textStrokeState_,n=this.textState_,i=this.strokeKey_,o=this.textKey_,s=this.fillKey_;this.saveTextStates_();const a=this.pixelRatio,l=O[n.textBaseline],c=this.textOffsetX_*a,u=this.textOffsetY_*a,d=this.text_,h=r?r.lineWidth*Math.abs(n.scale[0])/2:0;this.instructions.push([_.DRAW_CHARS,e,t,l,n.overflow,s,n.maxAngle,a,u,i,h*a,d,o,1,this.declutterMode_,this.textKeepUpright_,c]),this.hitDetectionInstructions.push([_.DRAW_CHARS,e,t,l,n.overflow,s?"#000":s,n.maxAngle,a,u,i,h*a,d,o,1/a,this.declutterMode_,this.textKeepUpright_,c])}setTextStyle(e,t){let r,n,i;if(e){const t=e.getFill();t?(n=this.textFillState_,n||(n={},this.textFillState_=n),n.fillStyle=(0,u.F)(t.getColor()||"#000")):(n=null,this.textFillState_=n);const o=e.getStroke();if(o){i=this.textStrokeState_,i||(i={},this.textStrokeState_=i);const e=o.getLineDash(),t=o.getLineDashOffset(),r=o.getWidth(),n=o.getMiterLimit();i.lineCap=o.getLineCap()||"round",i.lineDash=e?e.slice():g.Oq,i.lineDashOffset=void 0===t?0:t,i.lineJoin=o.getLineJoin()||"round",i.lineWidth=void 0===r?1:r,i.miterLimit=void 0===n?10:n,i.strokeStyle=(0,u.F)(o.getColor()||"#000")}else i=null,this.textStrokeState_=i;r=this.textState_;const s=e.getFont()||g.ZV;(0,g.fZ)(s);const a=e.getScaleArray();r.overflow=e.getOverflow(),r.font=s,r.maxAngle=e.getMaxAngle(),r.placement=e.getPlacement(),r.textAlign=e.getTextAlign(),r.repeat=e.getRepeat(),r.justify=e.getJustify(),r.textBaseline=e.getTextBaseline()||"middle",r.backgroundFill=e.getBackgroundFill(),r.backgroundStroke=e.getBackgroundStroke(),r.padding=e.getPadding()||g.Tq,r.scale=void 0===a?[1,1]:a;const l=e.getOffsetX(),c=e.getOffsetY(),d=e.getRotateWithView(),h=e.getKeepUpright(),f=e.getRotation();this.text_=e.getText()||"",this.textOffsetX_=void 0===l?0:l,this.textOffsetY_=void 0===c?0:c,this.textRotateWithView_=void 0!==d&&d,this.textKeepUpright_=void 0===h||h,this.textRotation_=void 0===f?0:f,this.strokeKey_=i?("string"==typeof i.strokeStyle?i.strokeStyle:(0,j.v6)(i.strokeStyle))+i.lineCap+i.lineDashOffset+"|"+i.lineWidth+i.lineJoin+i.miterLimit+"["+i.lineDash.join()+"]":"",this.textKey_=r.font+r.scale+(r.textAlign||"?")+(r.repeat||"?")+(r.justify||"?")+(r.textBaseline||"?"),this.fillKey_=n&&n.fillStyle?"string"==typeof n.fillStyle?n.fillStyle:"|"+(0,j.v6)(n.fillStyle):""}else this.text_="";this.declutterMode_=e.getDeclutterMode(),this.declutterImageWithText_=t}},D={Circle:M,Default:S,Image:w,LineString:k,Polygon:M,Text:L};const F=class{constructor(e,t,r,n){this.tolerance_=e,this.maxExtent_=t,this.pixelRatio_=n,this.resolution_=r,this.buildersByZIndex_={}}finish(){const e={};for(const t in this.buildersByZIndex_){e[t]=e[t]||{};const r=this.buildersByZIndex_[t];for(const n in r){const i=r[n].finish();e[t][n]=i}}return e}getBuilder(e,t){const r=void 0!==e?e.toString():"0";let n=this.buildersByZIndex_[r];void 0===n&&(n={},this.buildersByZIndex_[r]=n);let i=n[t];if(void 0===i){i=new(0,D[t])(this.tolerance_,this.maxExtent_,this.resolution_,this.pixelRatio_),n[t]=i}return i}};
125var N=r(28564),$=r(68640),z=r(85185),B=r(20234),G=r(32295);let W;function Y(e,t,r,n,i,o,s,a,l,c,u,d,h=!0){let f=e[t],g=e[t+1],p=0,m=0,y=0,v=0;function x(){p=f,m=g,f=e[t+=n],g=e[t+1],v+=y,y=Math.sqrt((f-p)*(f-p)+(g-m)*(g-m))}do{x()}while(t<r-n&&v+y<o);let _=0===y?0:(o-v)/y;const b=(0,T.Cc)(p,f,_),S=(0,T.Cc)(m,g,_),w=t-n,k=v,A=o+a*l(c,i,u);for(;t<r-n&&v+y<A;)x();_=0===y?0:(A-v)/y;const M=(0,T.Cc)(p,f,_),C=(0,T.Cc)(m,g,_);let E=!1;if(h)if(d){const e=[b,S,M,C];(0,N.e$)(e,0,4,2,d,e,e),E=e[0]>e[2]}else E=b>M;const R=Math.PI,I=[],P=w+n===t;let j;if(y=0,v=k,f=e[t=w],g=e[t+1],P){x(),j=Math.atan2(g-m,f-p),E&&(j+=j>0?-R:R);const e=(M+b)/2,t=(C+S)/2;return I[0]=[e,t,(A-o)/2,j,i],I}i=i.replace(/\n/g," ");const O=Array.from((W||(W=new Intl.Segmenter(void 0,{granularity:"grapheme"})),W).segment(i),e=>e.segment);for(let e=0,i=O.length;e<i;){x();let d=Math.atan2(g-m,f-p);if(E&&(d+=d>0?-R:R),void 0!==j){let e=d-j;if(e+=e>R?-2*R:e<-R?2*R:0,Math.abs(e)>s)return null}j=d;const h=e;let b=0;for(;e<i;++e){const s=a*l(c,O[E?i-e-1:e],u);if(t+n<r&&v+y<o+b+s/2)break;b+=s}if(e===h)continue;const S=(E?O.slice(i-e,i-h):O.slice(h,e)).join("");_=0===y?0:(o+b/2-v)/y;const w=(0,T.Cc)(p,f,_),k=(0,T.Cc)(m,g,_);I.push([w,k,b/2,d,S]),o+=b}return I}var V=r(43274);const q=(0,a.S5)(),K=[],X=[],H=[],U=[];function Z(e){return e[3].declutterBox}const J=new RegExp("["+String.fromCharCode(1425)+"-"+String.fromCharCode(2303)+String.fromCharCode(64285)+"-"+String.fromCharCode(65023)+String.fromCharCode(65136)+"-"+String.fromCharCode(65276)+String.fromCharCode(67584)+"-"+String.fromCharCode(69631)+String.fromCharCode(124928)+"-"+String.fromCharCode(126975)+"]");function Q(e,t){return"start"===t?t=J.test(e)?"right":"left":"end"===t&&(t=J.test(e)?"left":"right"),O[t]}function ee(e,t,r){return r>0&&e.push("\n",""),e.push(t,""),e}function te(e,t,r){return r%2==0&&(e+=t),e}const re=class{constructor(e,t,r,n,i){this.overlaps=r,this.pixelRatio=t,this.resolution=e,this.alignAndScaleFill_,this.instructions=n.instructions,this.coordinates=n.coordinates,this.coordinateCache_={},this.renderedTransform_=(0,z.vt)(),this.hitDetectionInstructions=n.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=n.fillStates||{},this.strokeStates=n.strokeStates||{},this.textStates=n.textStates||{},this.widths_={},this.labels_={},this.zIndexContext_=i?new V.A:null}getZIndexContext(){return this.zIndexContext_}createLabel(e,t,r,n){const i=e+t+r+n;if(this.labels_[i])return this.labels_[i];const o=n?this.strokeStates[n]:null,s=r?this.fillStates[r]:null,a=this.textStates[t],l=this.pixelRatio,c=[a.scale[0]*l,a.scale[1]*l],u=a.justify?O[a.justify]:Q(Array.isArray(e)?e[0]:e,a.textAlign||"center"),d=n&&o.lineWidth?o.lineWidth:0,h=Array.isArray(e)?e:String(e).split("\n").reduce(ee,[]),{width:f,height:p,widths:m,heights:y,lineWidths:v}=(0,g.jT)(a,h),x=f+d,_=[],b=(x+2)*c[0],S=(p+d)*c[1],w={width:b<0?Math.floor(b):Math.ceil(b),height:S<0?Math.floor(S):Math.ceil(S),contextInstructions:_};1==c[0]&&1==c[1]||_.push("scale",c),n&&(_.push("strokeStyle",o.strokeStyle),_.push("lineWidth",d),_.push("lineCap",o.lineCap),_.push("lineJoin",o.lineJoin),_.push("miterLimit",o.miterLimit),_.push("setLineDash",[o.lineDash]),_.push("lineDashOffset",o.lineDashOffset)),r&&_.push("fillStyle",s.fillStyle),_.push("textBaseline","middle"),_.push("textAlign","center");const k=.5-u;let A=u*x+k*d;const M=[],C=[];let E,R=0,T=0,I=0,P=0;for(let e=0,t=h.length;e<t;e+=2){const t=h[e];if("\n"===t){T+=R,R=0,A=u*x+k*d,++P;continue}const i=h[e+1]||a.font;i!==E&&(n&&M.push("font",i),r&&C.push("font",i),E=i),R=Math.max(R,y[I]);const o=[t,A+k*m[I]+u*(m[I]-v[P]),.5*(d+R)+T];A+=m[I],n&&M.push("strokeText",o),r&&C.push("fillText",o),++I}return Array.prototype.push.apply(_,M),Array.prototype.push.apply(_,C),this.labels_[i]=w,w}replayTextBackground_(e,t,r,n,i,o,s){e.beginPath(),e.moveTo.apply(e,t),e.lineTo.apply(e,r),e.lineTo.apply(e,n),e.lineTo.apply(e,i),e.lineTo.apply(e,t),o&&(this.alignAndScaleFill_=o[2],e.fillStyle=o[1],this.fill_(e)),s&&(this.setStrokeStyle_(e,s),e.stroke())}calculateImageOrLabelDimensions_(e,t,r,n,i,o,s,l,c,u,d,h,f,g,p,m){let y=r-(s*=h[0]),v=n-(l*=h[1]);const x=i+c>e?e-c:i,_=o+u>t?t-u:o,b=g[3]+x*h[0]+g[1],S=g[0]+_*h[1]+g[2],w=y-g[3],k=v-g[0];let A;return(p||0!==d)&&(K[0]=w,U[0]=w,K[1]=k,X[1]=k,X[0]=w+b,H[0]=X[0],H[1]=k+S,U[1]=H[1]),0!==d?(A=(0,z.Zz)((0,z.vt)(),r,n,1,1,d,-r,-n),(0,z.Bb)(A,K),(0,z.Bb)(A,X),(0,z.Bb)(A,H),(0,z.Bb)(A,U),(0,a.N)(Math.min(K[0],X[0],H[0],U[0]),Math.min(K[1],X[1],H[1],U[1]),Math.max(K[0],X[0],H[0],U[0]),Math.max(K[1],X[1],H[1],U[1]),q)):(0,a.N)(Math.min(w,w+b),Math.min(k,k+S),Math.max(w,w+b),Math.max(k,k+S),q),f&&(y=Math.round(y),v=Math.round(v)),{drawImageX:y,drawImageY:v,drawImageW:x,drawImageH:_,originX:c,originY:u,declutterBox:{minX:q[0],minY:q[1],maxX:q[2],maxY:q[3],value:m},canvasTransform:A,scale:h}}replayImageOrLabel_(e,t,r,n,i,o,s){const a=!(!o&&!s),l=n.declutterBox,c=s?s[2]*n.scale[0]/2:0;return l.minX-c<=t[0]&&l.maxX+c>=0&&l.minY-c<=t[1]&&l.maxY+c>
125=0&&(a&&this.replayTextBackground_(e,K,X,H,U,o,s),(0,g.Jw)(e,n.canvasTransform,i,r,n.originX,n.originY,n.drawImageW,n.drawImageH,n.drawImageX,n.drawImageY,n.scale)),!0}fill_(e){const t=this.alignAndScaleFill_;if(t){const r=(0,z.Bb)(this.renderedTransform_,[0,0]),n=512*this.pixelRatio;e.save(),e.translate(r[0]%n,r[1]%n),1!==t&&e.scale(t,t)}e.fill(),t&&e.restore()}setStrokeStyle_(e,t){e.strokeStyle=t[1],t[1]&&(e.lineWidth=t[2],e.lineCap=t[3],e.lineJoin=t[4],e.miterLimit=t[5],e.lineDashOffset=t[7],e.setLineDash(t[6]))}drawLabelWithPointPlacement_(e,t,r,n){const i=this.textStates[t],o=this.createLabel(e,t,n,r),s=this.strokeStates[r],a=this.pixelRatio,l=Q(Array.isArray(e)?e[0]:e,i.textAlign||"center"),c=O[i.textBaseline||"middle"],u=s&&s.lineWidth?s.lineWidth:0;return{label:o,anchorX:l*(o.width/a-2*i.scale[0])+2*(.5-l)*u,anchorY:c*o.height/a+2*(.5-c)*u}}execute_(e,t,r,n,o,s,l,c){const u=this.zIndexContext_;let d;this.pixelCoordinates_&&(0,i.aI)(r,this.renderedTransform_)?d=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),d=(0,N.Rc)(this.coordinates,0,this.coordinates.length,2,r,this.pixelCoordinates_),(0,z.k3)(this.renderedTransform_,r));let h=0;const f=n.length;let p,m=0;const y=[];let v,x,b,S,w,k,A,M,C,E,R,T,I,P=0,j=0;const O=this.coordinateCache_,L=this.viewRotation_,D=Math.round(1e12*Math.atan2(-r[1],r[0]))/1e12,F={context:e,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:L},$=this.instructions!=n||this.overlaps?0:200;let W,V,q,K;for(;h<f;){const r=n[h];switch(r[0]){case _.BEGIN_GEOMETRY:W=r[1],K=r[3],W.getGeometry()?void 0===l||(0,a.HY)(l,K.getExtent())?++h:h=r[2]+1:h=r[2],u&&(u.zIndex=r[4]);break;case _.BEGIN_PATH:P>$&&(this.fill_(e),P=0),j>$&&(e.stroke(),j=0),P||j||(e.beginPath(),w=NaN,k=NaN),++h;break;case _.CIRCLE:m=r[1],b=r[2]??0;const n=d[m],i=d[m+1],f=d[m+2]-b-n,N=d[m+3]-b-i,z=Math.sqrt(f*f+N*N);e.moveTo(n+z,i),e.arc(n,i,z,0,2*Math.PI,!0),++h;break;case _.CLOSE_PATH:e.closePath(),++h;break;case _.CUSTOM:m=r[1],p=r[2];const X=r[3],H=r[4],U=r[5];F.geometry=X,F.feature=W,h in O||(O[h]=[]);const J=O[h];U?U(d,m,p,2,J):(J[0]=d[m],J[1]=d[m+1],J.length=2),u&&(u.zIndex=r[6]),H(J,F),++h;break;case _.DRAW_IMAGE:m=r[1],p=r[2],C=r[3],v=r[4],x=r[5];let ee=r[6];const re=r[7],ne=r[8],ie=r[9],oe=r[10];let se=r[11];const ae=r[12];let le=r[13];S=r[14]||"declutter";const ce=r[15];if(!C&&r.length>=20){E=r[19],R=r[20],T=r[21],I=r[22];const e=this.drawLabelWithPointPlacement_(E,R,T,I);C=e.label,r[3]=C;const t=r[23];v=(e.anchorX-t)*this.pixelRatio,r[4]=v;const n=r[24];x=(e.anchorY-n)*this.pixelRatio,r[5]=x,ee=C.height,r[6]=ee,le=C.width,r[13]=le}let ue,de,he,fe;r.length>25&&(ue=r[25]),r.length>17?(de=r[16],he=r[17],fe=r[18]):(de=g.Tq,he=null,fe=null),oe&&D?se+=L:oe||D||(se-=L);let ge=0;for(;m<p;m+=2){if(ue&&ue[ge++]<le/this.pixelRatio)continue;const r=this.calculateImageOrLabelDimensions_(C.width,C.height,d[m],d[m+1],le,ee,v,x,ne,ie,se,ae,o,de,!!he||!!fe,W),n=[e,t,C,r,re,he,fe];if(c){let e,t,i,o,s;if(ce){const r=p-m;if(!ce[r]){ce[r]={args:n,declutterMode:S};continue}const o=ce[r];e=o.args,t=o.declutterMode,delete ce[r],i=Z(e)}if(!e||"declutter"===t&&c.collides(i)||(o=!0),"declutter"===S&&c.collides(r.declutterBox)||(s=!0),"declutter"===t&&"declutter"===S){const e=o&&s;o=e,s=e}o&&("none"!==t&&c.insert(i),this.replayImageOrLabel_.apply(this,e)),s&&("none"!==S&&c.insert(r.declutterBox),this.replayImageOrLabel_.apply(this,n))}else this.replayImageOrLabel_.apply(this,n)}++h;break;case _.DRAW_CHARS:const pe=r[1],me=r[2],ye=r[3],ve=r[4];I=r[5];const xe=r[6],_e=r[7],be=r[8];T=r[9];const Se=r[10];E=r[11],Array.isArray(E)&&(E=E.reduce(te,"")),R=r[12];const we=[r[13],r[13]];S=r[14]||"declutter";const ke=r[15],Ae=r[16],Me=this.textStates[R],Ce=Me.font,Ee=[Me.scale[0]*_e,Me.scale[1]*_e];let Re;Ce in this.widths_?Re=this.widths_[Ce]:(Re={},this.widths_[Ce]=Re);const Te=(0,B.k)(d,pe,me,2),Ie=Math.abs(Ee[0])*(0,g.TA)(Ce,E,Re);if(ve||Ie<=Te){const r=Y(d,pe,me,2,E,(Te-Ie)*Q(E,this.textStates[R].textAlign),xe,Math.abs(Ee[0]),g.TA,Ce,Re,D?0:this.viewRotation_,ke);e:if(r){const n=[];let i,o,s,a,l;if(T)for(i=0,o=r.length;i<o;++i){l=r[i],s=l[4],a=this.createLabel(s,R,"",T),v=l[2]+(Ee[0]<0?-Se:Se)-Ae,x=ye*a.height+2*(.5-ye)*Se*Ee[1]/Ee[0]-be;const o=this.calculateImageOrLabelDimensions_(a.width,a.height,l[0],l[1],a.width,a.height,v,x,0,0,l[3],we,!1,g.Tq,!1,W);
125if(c&&"declutter"===S&&c.collides(o.declutterBox))break e;n.push([e,t,a,o,1,null,null])}if(I)for(i=0,o=r.length;i<o;++i){l=r[i],s=l[4],a=this.createLabel(s,R,I,""),v=l[2]-Ae,x=ye*a.height-be;const o=this.calculateImageOrLabelDimensions_(a.width,a.height,l[0],l[1],a.width,a.height,v,x,0,0,l[3],we,!1,g.Tq,!1,W);if(c&&"declutter"===S&&c.collides(o.declutterBox))break e;n.push([e,t,a,o,1,null,null])}c&&"none"!==S&&c.load(n.map(Z));for(let e=0,t=n.length;e<t;++e)this.replayImageOrLabel_.apply(this,n[e])}}++h;break;case _.END_GEOMETRY:if(void 0!==s){W=r[1];const e=s(W,K,S);if(e)return e}++h;break;case _.FILL:$?P++:this.fill_(e),++h;break;case _.MOVE_TO_LINE_TO:let Pe,je,Oe;if(m=r[1],p=r[2],b=r[3],b){const e=(r[4]??!1)||Math.abs(d[m]-d[p-2])<1e-6&&Math.abs(d[m+1]-d[p-1])<1e-6;(0,G.P)(d,m,p,2,b,e,y),(0,G.J)(y,2,e),Pe=y,je=0,Oe=Pe.length}else Pe=d,je=m,Oe=p;V=Pe[je],q=Pe[je+1],e.moveTo(V,q),w=V+.5|0,k=q+.5|0;for(let t=je+2;t<Oe;t+=2)V=Pe[t],q=Pe[t+1],A=V+.5|0,M=q+.5|0,t!=Oe-2&&A===w&&M===k||(e.lineTo(V,q),w=A,k=M);++h;break;case _.SET_FILL_STYLE:this.alignAndScaleFill_=r[2],P?(this.fill_(e),P=0,j&&(e.stroke(),j=0)):j&&r[1]&&(e.stroke(),j=0),e.fillStyle=r[1],++h;break;case _.SET_STROKE_STYLE:P&&r[1]&&(this.fill_(e),P=0),j&&(e.stroke(),j=0),this.setStrokeStyle_(e,r),++h;break;case _.STROKE:$?j++:e.stroke(),++h;break;default:++h}}P&&this.fill_(e),j&&e.stroke()}execute(e,t,r,n,i,o){this.viewRotation_=n,this.execute_(e,t,r,this.instructions,i,void 0,void 0,o)}executeHitDetection(e,t,r,n,i){return this.viewRotation_=r,this.execute_(e,[e.canvas.width,e.canvas.height],t,this.hitDetectionInstructions,!0,n,i)}},ne=["Polygon","Circle","LineString","Image","Text","Default"],ie=["Image","Text"],oe=ne.filter(e=>!ie.includes(e));let se=!1,ae=!1;const le={};const ce=class{constructor(e,t,r,n,i,o,s){this.maxExtent_=e,this.overlaps_=n,this.pixelRatio_=r,this.resolution_=t,this.renderBuffer_=o,this.executorsByZIndex_={},this.hitDetectionContext_=null,this.hitDetectionTransform_=(0,z.vt)(),this.renderedContext_=null,this.deferredZIndexContexts_={},this.createExecutors_(i,s)}clip(e,t){const r=this.getClipCoords(t);e.beginPath(),e.moveTo(r[0],r[1]),e.lineTo(r[2],r[3]),e.lineTo(r[4],r[5]),e.lineTo(r[6],r[7]),e.clip()}createExecutors_(e,t){for(const r in e){let n=this.executorsByZIndex_[r];void 0===n&&(n={},this.executorsByZIndex_[r]=n);const i=e[r];for(const e in i){const r=i[e];n[e]=new re(this.resolution_,this.pixelRatio_,this.overlaps_,r,t)}}}hasExecutors(e){for(const t in this.executorsByZIndex_){const r=this.executorsByZIndex_[t];for(let t=0,n=e.length;t<n;++t)if(e[t]in r)return!0}return!1}forEachFeatureAtCoordinate(e,t,r,n,o,l){!1===ae&&function(){let e=0;const t=t=>{const r=(0,s.Y)(1,1,null,{willReadFrequently:t});let n=0;const i=performance.now();for(;performance.now()-i<50;++n)r.fillStyle=`rgba(255,0,${n%256},1)`,r.fillRect(0,0,1,1),r.getImageData(0,0,1,1);return e=n>e?n:e,n},r={[t(!0)]:!0,[t(!1)]:!1,[t(void 0)]:void 0};se=r[e],ae=!0}();const c=2*(n=Math.round(n))+1,u=(0,z.Zz)(this.hitDetectionTransform_,n+.5,n+.5,1/t,-1/t,-r,-e[0],-e[1]),d=!this.hitDetectionContext_;d&&(this.hitDetectionContext_=(0,s.Y)(c,c,null,{willReadFrequently:se}));const h=this.hitDetectionContext_;let f;h.canvas.width!==c||h.canvas.height!==c?(h.canvas.width=c,h.canvas.height=c):d||h.clearRect(0,0,c,c),void 0!==this.renderBuffer_&&(f=(0,a.S5)(),(0,a.$C)(f,e),(0,a.r)(f,t*(this.renderBuffer_+n),f));const g=function(e){if(void 0!==le[e])return le[e];const t=2*e+1,r=e*e,n=new Array(r+1);for(let i=0;i<=e;++i)for(let o=0;o<=e;++o){const s=i*i+o*o;if(s>r)break;let a=n[s];a||(a=[],n[s]=a),a.push(4*((e+i)*t+(e+o))+3),i>0&&a.push(4*((e-i)*t+(e+o))+3),o>0&&(a.push(4*((e+i)*t+(e-o))+3),i>0&&a.push(4*((e-i)*t+(e-o))+3))}const i=[];for(let e=0,t=n.length;e<t;++e)n[e]&&i.push(...n[e]);return le[e]=i,i}(n);let p;function m(e,t,r){const i=h.getImageData(0,0,c,c).data;for(let s=0,a=g.length;s<a;s++)if(i[g[s]]>0){if(!l||"none"===r||"Image"!==p&&"Text"!==p||l.includes(e)){const r=(g[s]-3)/4,i=n-r%c,a=n-(r/c|0),l=o(e,t,i*i+a*a);if(l)return l}h.clearRect(0,0,c,c);break}}const y=Object.keys(this.executorsByZIndex_).map(Number);let v,x,_,b,S;for(y.sort(i.V_),v=y.length-1;v>=0;--v){const e=y[v].toString();for(_=this.executorsByZIndex_[e],x=ne.length-1;x>=0;--x)if(p=ne[x],b=_[p],void 0!==b&&(S=b.executeHitDetection(h,u,r,m,f),S))return S}}getClipCoords(e){const t=this.maxExtent_;if(!t)return null;const r=t[0],n=t[1],i=t[2],o=t[3],s=[r,n,r,o,i,o,i,n];return(0,N.Rc)(s,0,8,2,e,s),s}isEmpty(){return(0,$.p)(this.executorsByZIndex_)}execute(e,t,r,n,o,s,a){const l=Object.keys(this.executorsByZIndex_).map(Number);l.sort(a?i.rG:i.V_),s=s||ne;const c=ne.length;for(let i=0,u=l.length;i<u;++i){const u=l[i].toString(),d=this.executorsByZIndex_[u];for(let u=0,h=s.length;u<h;++u){const h=s[u],f=d[h];if(void 0!==f){const s=null===a?void 0:f.getZIndexContext(),u=s?s.getContext():e,d=this.maxExtent_&&"Image"!==h&&"Text"!==h;if(d&&(u.save(),this.clip(u,r)),s&&"Text"!==h&&"Image"!==h?s.pushFunction(e=>
125f.execute(e,t,r,n,o,a)):f.execute(u,t,r,n,o,a),d&&u.restore(),s){s.offset();const e=l[i]*c+ne.indexOf(h);this.deferredZIndexContexts_[e]||(this.deferredZIndexContexts_[e]=[]),this.deferredZIndexContexts_[e].push(s)}}}}this.renderedContext_=e}getDeferredZIndexContexts(){return this.deferredZIndexContexts_}getRenderedContext(){return this.renderedContext_}renderDeferred(){const e=this.deferredZIndexContexts_,t=Object.keys(e).map(Number).sort(i.V_);for(let r=0,n=t.length;r<n;++r)e[t[r]].forEach(e=>{e.draw(this.renderedContext_),e.clear()}),e[t[r]].length=0}};var ue=r(23894),de=r(25666);const he=.5;var fe=r(55902),ge=r(20029);class pe extends ge.A{constructor(e){super(e),this.boundHandleStyleImageChange_=this.handleStyleImageChange_.bind(this),this.animatingOrInteracting_,this.hitDetectionImageData_=null,this.clipExtent_=null,this.extendX_=!1,this.renderedFeatures_=null,this.renderedRevision_=-1,this.renderedResolution_=NaN,this.renderedExtent_=(0,a.S5)(),this.wrappedRenderedExtent_=(0,a.S5)(),this.renderedRotation_,this.renderedCenter_=null,this.renderedProjection_=null,this.renderedPixelRatio_=1,this.renderedRenderOrder_=null,this.renderedFrameDeclutter_,this.replayGroup_=null,this.replayGroupChanged=!0,this.clipping=!0,this.targetContext_=null,this.opacity_=1}renderWorlds(e,t,r){const i=t.extent,o=t.viewState,s=o.center,l=o.resolution,c=o.projection,u=o.rotation,d=c.getExtent(),h=this.getLayer().getSource(),f=this.getLayer().getDeclutter(),g=t.pixelRatio,p=t.viewHints,m=!(p[n.A.ANIMATING]||p[n.A.INTERACTING]),y=this.context,v=Math.round((0,a.RG)(i)/l*g),x=Math.round((0,a.Oq)(i)/l*g),_=h.getWrapX()&&c.canWrapX(),b=_?(0,a.RG)(d):null,S=_?Math.ceil((i[2]-d[2])/b)+(this.extendX_?2:1):1;let w=_?Math.floor((i[0]-d[0])/b)-(this.extendX_?1:0):0;do{let n=this.getRenderTransform(s,l,0,g,v,x,w*b);t.declutter&&(n=n.slice(0)),e.execute(y,[y.canvas.width,y.canvas.height],n,u,m,void 0===r?ne:r?ie:oe,r?f&&t.declutter[f]:void 0)}while(++w<S)}setDrawContext_(){1!==this.opacity_&&(this.targetContext_=this.context,this.context=(0,s.Y)(this.context.canvas.width,this.context.canvas.height,ge.B))}resetDrawContext_(){if(1!==this.opacity_&&this.targetContext_){const e=this.targetContext_.globalAlpha;this.targetContext_.globalAlpha=this.opacity_,this.targetContext_.drawImage(this.context.canvas,0,0),this.targetContext_.globalAlpha=e,(0,s.Yg)(this.context),ge.B.push(this.context.canvas),this.context=this.targetContext_,this.targetContext_=null}}renderDeclutter(e){this.replayGroup_&&this.getLayer().getDeclutter()&&this.renderWorlds(this.replayGroup_,e,!0)}renderDeferredInternal(e){this.replayGroup_&&(this.clipExtent_&&this.clipUnrotated(this.context,e,this.clipExtent_),this.replayGroup_.renderDeferred(),this.clipExtent_&&(this.context.restore(),this.clipExtent_=null),this.resetDrawContext_())}renderFrame(e,t){const r=e.layerStatesArray[e.layerIndex];this.opacity_=r.opacity;const n=e.viewState;this.prepareContainer(e,t);const i=this.context,o=this.replayGroup_;let s=o&&!o.isEmpty();if(!s){if(!(this.getLayer().hasListener(c.A.PRERENDER)||this.getLayer().hasListener(c.A.POSTRENDER)))return this.container}this.setDrawContext_(),this.preRender(i,e);const u=n.projection;this.clipExtent_=null;let d=!1;if(s&&r.extent&&this.clipping){const t=(0,l.SD)(r.extent,u);s=(0,a.HY)(t,e.extent);s&&!(0,a.ms)(t,e.extent)&&(e.declutter?this.clipExtent_=t:(this.clipUnrotated(i,e,t),d=!0))}return s&&this.renderWorlds(o,e,!this.getLayer().getDeclutter()&&void 0),d&&i.restore(),this.postRender(i,e),this.renderedRotation_!==n.rotation&&(this.renderedRotation_=n.rotation,this.hitDetectionImageData_=null),e.declutter||this.resetDrawContext_(),this.container}getFeatures(e){return new Promise(t=>{if(this.frameState&&!this.hitDetectionImageData_&&!this.animatingOrInteracting_){const e=this.frameState.size.slice(),t=this.renderedCenter_,r=this.renderedResolution_,n=this.renderedRotation_,o=this.renderedProjection_,c=this.wrappedRenderedExtent_,u=this.getLayer(),d=[],h=.5*e[0],f=.5*e[1];d.push(this.getRenderTransform(t,r,n,.5,h,f,0).slice());const g=u.getSource(),p=o.getExtent();if(g.getWrapX()&&o.canWrapX()&&!(0,a.ms)(p,c)){let e=c[0];const i=(0,a.RG)(p);let o,s=0;for(;e<p[0];)--s,o=i*s,d.push(this.getRenderTransform(t,r,n,.5,h,f,o).slice()),e+=i;for(s=0,e=c[2];e>p[2];)++s,o=i*s,d.push(this.getRenderTransform(t,r,n,.5,h,f,o).slice()),e-=i}const m=(0,l.Tf)();this.hitDetectionImageData_=function(e,t,r,n,o,c,u,d,h){const f=h?(0,l.JR)(o,h):o,g=e[0]*he,p=e[1]*he,m=(0,s.Y)(g,p);m.imageSmoothingEnabled=!1;const y=m.canvas,v=new de.A(m,he,o,null,u,d,h?(0,l.FO)((0,l.Tf)(),h):null),x=r.length,_=Math.floor(16777215/x),b={};for(let e=1;e<=x;++e){const t=r[e-1],i=t.getStyleFunction()||n;if(!i)continue;let o=i(t,c);if(!o)continue;Array.isArray(o)||(o=[o]);const l=(e*_).toString(16).padStart(7,"#00000");for(let e=0,r=o.length;e<r;++e){const r=o[e],n=r.getGeometryFunction()(t);
125if(!n||!(0,a.HY)(f,n.getExtent()))continue;const i=r.clone(),c=i.getFill();c&&c.setColor(l);const u=i.getStroke();u&&(u.setColor(l),u.setLineDash(null)),i.setText(void 0);const d=r.getImage();if(d){const e=d.getImageSize();if(!e)continue;const t=(0,s.Y)(e[0],e[1],void 0,{alpha:!1}),r=t.canvas;t.fillStyle=l,t.fillRect(0,0,r.width,r.height),i.setImage(new ue.A({img:r,anchor:d.getAnchor(),anchorXUnits:"pixels",anchorYUnits:"pixels",offset:d.getOrigin(),opacity:1,size:d.getSize(),scale:d.getScale(),rotation:d.getRotation(),rotateWithView:d.getRotateWithView()}))}const h=i.getZIndex()||0;let g=b[h];g||(g={},b[h]=g,g.Polygon=[],g.Circle=[],g.LineString=[],g.Point=[]);const p=n.getType();if("GeometryCollection"===p){const e=n.getGeometriesArrayRecursive();for(let t=0,r=e.length;t<r;++t){const r=e[t];g[r.getType().replace("Multi","")].push(r,i)}}else g[p.replace("Multi","")].push(n,i)}}const S=Object.keys(b).map(Number).sort(i.V_);for(let e=0,r=S.length;e<r;++e){const r=b[S[e]];for(const e in r){const n=r[e];for(let e=0,r=n.length;e<r;e+=2){v.setStyle(n[e+1]);for(let r=0,i=t.length;r<i;++r)v.setTransform(t[r]),v.drawGeometry(n[e])}}}return m.getImageData(0,0,y.width,y.height)}(e,d,this.renderedFeatures_,u.getStyleFunction(),c,r,n,(0,fe.j)(r,this.renderedPixelRatio_),m?o:null)}t(function(e,t,r){const n=[];if(r){const i=Math.floor(Math.round(e[0])*he),o=Math.floor(Math.round(e[1])*he),s=4*((0,T.qE)(i,0,r.width-1)+(0,T.qE)(o,0,r.height-1)*r.width),a=r.data[s],l=r.data[s+1],c=r.data[s+2]+256*(l+256*a),u=Math.floor(16777215/t.length);c&&c%u===0&&n.push(t[c/u-1])}return n}(e,this.renderedFeatures_,this.hitDetectionImageData_))})}forEachFeatureAtCoordinate(e,t,r,n,i){if(!this.replayGroup_)return;const o=t.viewState.resolution,s=t.viewState.rotation,a=this.getLayer(),l={},c=this.getLayer().getDeclutter();return this.replayGroup_.forEachFeatureAtCoordinate(e,o,s,r,function(e,t,r){const o=(0,j.v6)(e),s=l[o];if(s){if(!0!==s&&r<s.distanceSq){if(0===r)return l[o]=!0,i.splice(i.lastIndexOf(s),1),n(e,a,t);s.geometry=t,s.distanceSq=r}}else{if(0===r)return l[o]=!0,n(e,a,t);i.push(l[o]={feature:e,layer:a,geometry:t,distanceSq:r,callback:n})}},c?t.declutter?.[c]?.all().map(e=>e.value):null)}handleFontsChanged(){const e=this.getLayer();e.getVisible()&&this.replayGroup_&&e.changed()}handleStyleImageChange_(e){this.renderIfReadyAndVisible()}prepareFrame(e){const t=this.getLayer(),r=t.getSource();if(!r)return!1;const s=e.viewHints[n.A.ANIMATING],c=e.viewHints[n.A.INTERACTING],u=t.getUpdateWhileAnimating(),d=t.getUpdateWhileInteracting();if(this.ready&&!u&&s||!d&&c)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;const h=e.extent,f=e.viewState,g=f.projection,p=f.resolution,m=e.pixelRatio,y=t.getRevision(),v=t.getRenderBuffer();let x=t.getRenderOrder();void 0===x&&(x=fe.Eo);const _=f.center.slice(),b=(0,a.r)(h,v*p),S=b.slice(),w=[b.slice()],k=g.getExtent(),A=r.getWrapX()&&g.canWrapX();if(this.extendX_=!1,A){const e=r.getExtent();e&&!(0,a.Im)(e)&&(this.extendX_=e[0]<k[0]||e[2]>k[2])}if(A&&(!(0,a.ms)(k,e.extent)||this.extendX_)){const e=(0,a.RG)(k),t=Math.max((0,a.RG)(b)/2,e);let r=k[0],n=k[2];this.extendX_&&(r-=e,n+=e),b[0]=r-t,b[2]=n+t,(0,o.Li)(_,g);const i=(0,a.Li)(w[0],g);i[0]<k[0]&&i[2]<k[2]?w.push([i[0]+e,i[1],i[2]+e,i[3]]):i[0]>k[0]&&i[2]>k[2]&&w.push([i[0]-e,i[1],i[2]-e,i[3]])}if(this.ready&&this.renderedResolution_==p&&this.renderedPixelRatio_===m&&this.renderedRevision_==y&&this.renderedRenderOrder_==x&&this.renderedFrameDeclutter_===!!e.declutter&&(0,a.ms)(this.wrappedRenderedExtent_,b))return(0,i.aI)(this.renderedExtent_,S)||(this.hitDetectionImageData_=null,this.renderedExtent_=S),this.renderedCenter_=_,this.replayGroupChanged=!1,!0;this.replayGroup_=null;const M=new F((0,fe.gY)(p,m),b,p,m),C=(0,l.Tf)();let E;if(C){for(let e=0,t=w.length;e<t;++e){const t=w[e],n=(0,l.JR)(t,g);r.loadFeatures(n,(0,l.vN)(p,g),C)}E=(0,l.FO)(C,g)}else for(let e=0,t=w.length;e<t;++e)r.loadFeatures(w[e],p,g);const R=(0,fe.j)(p,m);let T=!0;const I=(e,r)=>{let n;const i=e.getStyleFunction()||t.getStyleFunction();if(i&&(n=i(e,p)),n){const t=this.renderFeature(e,R,n,M,E,this.getLayer().getDeclutter(),r);T=T&&!t}},P=(0,l.JR)(b,g),j=r.getFeaturesInExtent(P);x&&j.sort(x);for(let e=0,t=j.length;e<t;++e)I(j[e],e);this.renderedFeatures_=j,this.ready=T;const O=M.finish(),L=new ce(b,p,m,r.getOverlaps(),O,t.getRenderBuffer(),!!e.declutter);return this.renderedResolution_=p,this.renderedRevision_=y,this.renderedRenderOrder_=x,this.renderedFrameDeclutter_=!!e.declutter,this.renderedExtent_=S,this.wrappedRenderedExtent_=b,this.renderedCenter_=_,this.renderedProjection_=g,this.renderedPixelRatio_=m,this.replayGroup_=L,this.hitDetectionImageData_=null,this.replayGroupChanged=!0,!0}
125renderFeature(e,t,r,n,i,o,s){if(!r)return!1;let a=!1;if(Array.isArray(r))for(let l=0,c=r.length;l<c;++l)a=(0,fe.nl)(n,e,r[l],t,this.boundHandleStyleImageChange_,i,o,s)||a;else a=(0,fe.nl)(n,e,r,t,this.boundHandleStyleImageChange_,i,o,s);return a}}const me=pe;var ye=r(42086);class ve extends ye.A{constructor(e){super(e)}createRenderer(){return new me(this)}}const xe=ve},84763(e,t,r){"use strict";function n(e,t,r){return Math.min(Math.max(e,t),r)}function i(e,t,r,n,i,s){const a=i-r,l=s-n;if(0!==a||0!==l){const o=((e-r)*a+(t-n)*l)/(a*a+l*l);o>1?(r=i,n=s):o>0&&(r+=a*o,n+=l*o)}return o(e,t,r,n)}function o(e,t,r,n){const i=r-e,o=n-t;return i*i+o*o}function s(e){const t=e.length;for(let r=0;r<t;r++){let n=r,i=Math.abs(e[r][r]);for(let o=r+1;o<t;o++){const t=Math.abs(e[o][r]);t>i&&(i=t,n=o)}if(0===i)return null;const o=e[n];e[n]=e[r],e[r]=o;for(let n=r+1;n<t;n++){const i=-e[n][r]/e[r][r];for(let o=r;o<t+1;o++)r==o?e[n][o]=0:e[n][o]+=i*e[r][o]}}const r=new Array(t);for(let n=t-1;n>=0;n--){r[n]=e[n][t]/e[n][n];for(let i=n-1;i>=0;i--)e[i][t]-=e[i][n]*r[n]}return r}function a(e){return 180*e/Math.PI}function l(e){return e*Math.PI/180}function c(e,t){const r=e%t;return r*t<0?r+t:r}function u(e,t,r){return e+r*(t-e)}function d(e,t){const r=Math.pow(10,t);return Math.round(e*r)/r}function h(e,t){return Math.round(d(e,t))}function f(e,t){return Math.floor(d(e,t))}function g(e,t){return Math.ceil(d(e,t))}function p(e,t,r){if(e>=t&&e<r)return e;const n=r-t;return((e-t)%n+n)%n+t}r.d(t,{Cc:()=>u,KU:()=>s,LI:()=>h,LV:()=>p,Mg:()=>d,Q1:()=>i,RI:()=>f,eh:()=>l,hG:()=>o,mk:()=>g,qE:()=>n,xP:()=>c,xW:()=>a})},68640(e,t,r){"use strict";function n(e){for(const t in e)delete e[t]}function i(e){let t;for(t in e)return!1;return!t}r.d(t,{I:()=>n,p:()=>i})},44699(e,t,r){"use strict";r.d(t,{Ig:()=>l.I,MF:()=>a.A,hB:()=>ce,O3:()=>se,bF:()=>ne,Av:()=>ae,wU:()=>Ae,HU:()=>le,RJ:()=>ee,tI:()=>he,Rb:()=>ue,Ad:()=>be,SD:()=>we,Jt:()=>ie,hO:()=>oe,RG:()=>pe,FO:()=>fe,Tf:()=>xe,R6:()=>re,WP:()=>de,te:()=>_e,JR:()=>Se,vN:()=>ke,pd:()=>me,DI:()=>ye});var n=r(87220),i=r(8255),o=r(6045),s=r(84763),a=r(35976),l=r(97482);const c=6378137,u=Math.PI*c,d=[-u,-u,u,u],h=[-180,-85,180,85],f=c*Math.log(Math.tan(Math.PI/2));class g extends a.A{constructor(e){super({code:e,units:"m",extent:d,global:!0,worldExtent:h,getPointResolution:function(e,t){return e/Math.cosh(t[1]/c)}})}}const p=[new g("EPSG:3857"),new g("EPSG:102100"),new g("EPSG:102113"),new g("EPSG:900913"),new g("http://www.opengis.net/def/crs/EPSG/0/3857"),new g("http://www.opengis.net/gml/srs/epsg.xml#3857")];function m(e,t,r,n){const i=e.length;r=r>1?r:2,n=n??r,void 0===t&&(t=r>2?e.slice():new Array(i));for(let r=0;r<i;r+=n){t[r]=u*e[r]/180;let n=c*Math.log(Math.tan(Math.PI*(+e[r+1]+90)/360));n>f?n=f:n<-f&&(n=-f),t[r+1]=n}return t}function y(e,t,r,n){const i=e.length;r=r>1?r:2,n=n??r,void 0===t&&(t=r>2?e.slice():new Array(i));for(let r=0;r<i;r+=n)t[r]=180*e[r]/u,t[r+1]=360*Math.atan(Math.exp(e[r+1]/c))/Math.PI-90;return t}const v=[-180,-90,180,90],x=6378137*Math.PI/180;class _ extends a.A{constructor(e,t){super({code:e,units:"degrees",extent:v,axisOrientation:t,global:!0,metersPerUnit:x,worldExtent:v})}}const b=[new _("CRS:84"),new _("EPSG:4326","neu"),new _("urn:ogc:def:crs:OGC:1.3:CRS84"),new _("urn:ogc:def:crs:OGC:2:84"),new _("http://www.opengis.net/def/crs/OGC/1.3/CRS84"),new _("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new _("http://www.opengis.net/def/crs/EPSG/0/4326","neu")];var S=r(89111),w=r(41668);const k=.9996,A=.00669438,M=A*A,C=M*A,E=A/(1-A),R=Math.sqrt(1-A),T=(1-R)/(1+R),I=T*T,P=I*T,j=P*T,O=j*T,L=.9983242984503243,D=15*M/256+45*C/1024,F=35*C/3072,N=1.5*T
125-27/32*P+269/512*O,$=21/16*I-55/32*j,z=151/96*P-417/128*O,B=1097/512*j,G=6378137;function W(e,t,r){const n=e-5e5,i=(r.north?t:t-1e7)/k/(G*L),o=i+N*Math.sin(2*i)+$*Math.sin(4*i)+z*Math.sin(6*i)+B*Math.sin(8*i),a=Math.sin(o),l=a*a,c=Math.cos(o),u=a/c,d=u*u,h=d*d,f=1-A*l,g=Math.sqrt(1-A*l),p=E*c**2,m=p*p,y=n/(G/g*k),v=y*y,x=v*y,_=x*y,b=_*y,S=o-u/((1-A)/f)*(v/2-_/24*(5+3*d+10*p-4*m-9*E))+b*y/720*(61+90*d+298*p+45*h-252*E-3*m);let w=(y-x/6*(1+2*d+p)+b/120*(5-2*p+28*d-3*m+8*E+24*h))/c;return w=(0,s.LV)(w+(0,s.eh)(V(r.number)),-Math.PI,Math.PI),[(0,s.xW)(w),(0,s.xW)(S)]}function Y(e,t,r){e=(0,s.LV)(e,-180,180),t<-80?t=-80:t>84&&(t=84);const n=(0,s.eh)(t),i=Math.sin(n),o=Math.cos(n),a=i/o,l=a*a,c=l*l,u=(0,s.eh)(e),d=V(r.number),h=(0,s.eh)(d),f=G/Math.sqrt(1-A*i**2),g=E*o**2,p=o*(0,s.LV)(u-h,-Math.PI,Math.PI),m=p*p,y=m*p,v=y*p,x=v*p,_=x*p,b=G*(L*n-.002514607064228144*Math.sin(2*n)+D*Math.sin(4*n)-F*Math.sin(6*n)),S=k*f*(p+y/6*(1-l+g)+x/120*(5-18*l+c+72*g-58*E))+5e5;let w=k*(b+f*a*(m/2+v/24*(5-l+9*g+4*g**2)+_/720*(61-58*l+c+600*g-330*E)));return r.north||(w+=1e7),[S,w]}function V(e){return 6*(e-1)-180+3}const q=[/^EPSG:(\d+)$/,/^urn:ogc:def:crs:EPSG::(\d+)$/,/^http:\/\/www\.opengis\.net\/def\/crs\/EPSG\/0\/(\d+)$/];function K(e){let t=0;for(const r of q){const n=e.match(r);if(n){t=parseInt(n[1]);break}}if(!t)return null;let r=0,n=!1;return t>32700&&t<32761?r=t-32700:t>32600&&t<32661&&(n=!0,r=t-32600),r?{number:r,north:n}:null}function X(e,t){return function(r,n,i,o){const s=r.length;i=i>1?i:2,o=o??i,n||(n=i>2?r.slice():new Array(s));for(let i=0;i<s;i+=o){const o=r[i],s=r[i+1],a=e(o,s,t);n[i]=a[0],n[i+1]=a[1]}return n}}const H=6371008.8;function U(e,t,r){r=r||H;const n=(0,s.eh)(e[1]),i=(0,s.eh)(t[1]),o=(i-n)/2,a=(0,s.eh)(t[0]-e[0])/2,l=Math.sin(o)*Math.sin(o)+Math.sin(a)*Math.sin(a)*Math.cos(n)*Math.cos(i);return 2*r*Math.atan2(Math.sqrt(l),Math.sqrt(1-l))}const Z=[function(e){const t=K(e.getCode());return t?{forward:X(Y,t),inverse:X(W,t)}:null}],J=[function(e){return K(e)?new a.A({code:e,units:"m"}):null}];let Q=!0;function ee(e){Q=!(void 0===e||e)}function te(e,t){if(void 0!==t)for(let r=0,n=e.length;r<n;++r)t[r]=e[r];else t=e.slice();return t}function re(e,t){if(void 0!==t&&e!==t){for(let r=0,n=e.length;r<n;++r)t[r]=e[r];e=t}return e}function ne(e){(0,S.WQ)(e.getCode(),e),(0,w.WQ)(e,e,te)}function ie(e){if("string"!=typeof e)return e;const t=(0,S.Jt)(e);if(t)return t;for(const t of J){const r=t(e);if(r)return r}return null}function oe(e,t,r,n){let i;const o=(e=ie(e)).getPointResolutionFunc();if(o){if(i=o(t,r),n&&n!==e.getUnits()){const t=e.getMetersPerUnit();t&&(i=i*t/l.I[n])}}else{const o=e.getUnits();if("degrees"==o&&!n||"degrees"==n)i=t;else{const s=fe(e,ie("EPSG:4326"));if(s||"degrees"===o){let e=[r[0]-t/2,r[1],r[0]+t/2,r[1],r[0],r[1]-t/2,r[0],r[1]+t/2];e=s(e,e,2);i=(U(e.slice(0,2),e.slice(2,4))+U(e.slice(4,6),e.slice(6,8)))/2}else i=t*e.getMetersPerUnit();const a=n?l.I[n]:e.getMetersPerUnit();void 0!==a&&(i/=a)}}return i}function se(e){!function(e){e.forEach(ne)}(e),e.forEach(function(t){e.forEach(function(e){t!==e&&(0,w.WQ)(t,e,te)})})}function ae(e,t){return e?"string"==typeof e?ie(e):e:ie(t)}function le(e){return function(t,r,n,i){const o=t.length;n=void 0!==n?n:2,i=i??n,r=void 0!==r?r:new Array(o);for(let s=0;s<o;s+=i){const o=e(t.slice(s,s+n)),a=o.length;for(let e=0,n=i;e<n;++e)r[s+e]=e>=a?t[s+e]:o[e]}return r}}function ce(e,t,r,n){const i=ie(e),o=ie(t);(0,w.WQ)(i,o,le(r)),(0,w.WQ)(o,i,le(n))}function ue(e,t){return ee(),me(e,"EPSG:4326",void 0!==t?t:"EPSG:3857")}function de(e,t){const r=me(e,void 0!==t?t:"EPSG:3857","EPSG:4326"),n=r[0];return(n<-180||n>180)&&(r[0]=(0,s.xP)(n+180,360)-180),r}function he(e,t){if(e===t)return!0;const r=e.getUnits()===t.getUnits();if(e.getCode()===t.getCode())return r;return fe(e,t)===te&&r}function fe(e,t){const r=e.getCode(),n=t.getCode();let i=(0,w.Jt)(r,n);if(i)return i;let o=null,s=null;for(const r of Z)o||(o=r(e)),s||(s=r(t));if(!o&&!s)return null;const a="EPSG:4326";if(s)if(o)i=ge(o.inverse,s.forward);else{const e=(0,w.Jt)(r,a);e&&(i=ge(e,s.forward))}else{const e=(0,w.Jt)(a,n);e&&(i=ge(o.inverse,e))}return i&&(ne(e),ne(t),(0,w.WQ)(e,t,i)),i}function ge(e,t){return function(r,n,i,o){return n=e(r,n,i,o),t(n,n,i,o)}}function pe(e,t){return fe(ie(e),ie(t))}function me(e,t,r){const n=pe(t,r);
125if(!n){const e=ie(t).getCode(),n=ie(r).getCode();throw new Error(`No transform available between ${e} and ${n}`)}return n(e,void 0,e.length)}function ye(e,t,r,n){const i=pe(t,r);return(0,o.NW)(e,i,void 0,n)}let ve=null;function xe(){return ve}function _e(e,t){return ve?me(e,t,ve):e}function be(e,t){return ve?me(e,ve,t):(Q&&!(0,i.aI)(e,[0,0])&&e[0]>=-180&&e[0]<=180&&e[1]>=-90&&e[1]<=90&&(Q=!1,(0,n.R8)("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),e)}function Se(e,t){return ve?ye(e,t,ve):e}function we(e,t){return ve?ye(e,ve,t):e}function ke(e,t){if(!ve)return e;const r=ie(t).getMetersPerUnit(),n=ve.getMetersPerUnit();return r&&n?e*r/n:e}function Ae(e,t,r){return function(n){let a,l;if(e.canWrapX()){const t=e.getExtent(),c=(0,o.RG)(t);n=n.slice(0),l=(0,i.U$)(n,e,c),l&&(n[0]=n[0]-l*c),n[0]=(0,s.qE)(n[0],t[0],t[2]),n[1]=(0,s.qE)(n[1],t[1],t[3]),a=r(n)}else a=r(n);return l&&t.canWrapX()&&(a[0]+=l*(0,o.RG)(t.getExtent())),a}}var Me,Ce,Ee;se(p),se(b),Me=p,Ce=m,Ee=y,b.forEach(function(e){Me.forEach(function(t){(0,w.WQ)(e,t,Ce),(0,w.WQ)(t,e,Ee)})})},35976(e,t,r){"use strict";var n=r(97482);const i=class{constructor(e){this.code_=e.code,this.units_=e.units,this.extent_=void 0!==e.extent?e.extent:null,this.worldExtent_=void 0!==e.worldExtent?e.worldExtent:null,this.axisOrientation_=void 0!==e.axisOrientation?e.axisOrientation:"enu",this.global_=void 0!==e.global&&e.global,this.canWrapX_=!(!this.global_||!this.extent_),this.getPointResolutionFunc_=e.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=e.metersPerUnit}canWrapX(){return this.canWrapX_}getCode(){return this.code_}getExtent(){return this.extent_}getUnits(){return this.units_}getMetersPerUnit(){return this.metersPerUnit_||n.I[this.units_]}getWorldExtent(){return this.worldExtent_}getAxisOrientation(){return this.axisOrientation_}isGlobal(){return this.global_}setGlobal(e){this.global_=e,this.canWrapX_=!(!e||!this.extent_)}getDefaultTileGrid(){return this.defaultTileGrid_}setDefaultTileGrid(e){this.defaultTileGrid_=e}setExtent(e){this.extent_=e,this.canWrapX_=!(!this.global_||!e)}setWorldExtent(e){this.worldExtent_=e}setGetPointResolution(e){this.getPointResolutionFunc_=e}getPointResolutionFunc(){return this.getPointResolutionFunc_}};r.d(t,["A",0,i])},97482(e,t,r){"use strict";const n={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937};r.d(t,["I",0,n])},89111(e,t,r){"use strict";r.d(t,{Jt:()=>i,WQ:()=>o});let n={};function i(e){return n[e]||n[e.replace(/urn:(x-)?ogc:def:crs:EPSG:(.*:)?(\w+)$/,"EPSG:$3")]||null}function o(e,t){n[e]=t}},41668(e,t,r){"use strict";r.d(t,{Jt:()=>o,WQ:()=>i});let n={};function i(e,t,r){const i=e.getCode(),o=t.getCode();i in n||(n[i]={}),n[i][o]=r}function o(e,t){return e in n&&t in n[e]?n[e][t]:null}},94006(e,t,r){"use strict";var n=r(44547);class i extends n.Ay{constructor(e,t,r,n){super(e),this.inversePixelTransform=t,this.frameState=r,this.context=n}}const o=i;r.d(t,["A",0,o])},43518(e,t,r){"use strict";r.d(t,["A",0,{PRERENDER:"prerender",POSTRENDER:"postrender",PRECOMPOSE:"precompose",POSTCOMPOSE:"postcompose",RENDERCOMPLETE:"rendercomplete"}])},21360(e,t,r){"use strict";var n=r(95052),i=r(6045),o=r(45248),s=r(74943),a=r(56646),l=r(19091),c=r(29160),u=r(12609),d=r(28564),h=r(44699),f=r(85185);const g=(0,f.vt)();class p{constructor(e,t,r,n,i,o){this.styleFunction,this.extent_,this.id_=o,this.type_=e,this.flatCoordinates_=t,this.flatInteriorPoints_=null,this.flatMidpoints_=null,this.ends_=r||null,this.properties_=i,this.squaredTolerance_,this.stride_=n,this.simplifiedGeometry_}get(e){return this.properties_[e]}getExtent(){return this.extent_||(this.extent_="Point"===this.type_?(0,i.dP)(this.flatCoordinates_):(0,i.Vy)(this.flatCoordinates_,0,this.flatCoordinates_.length,this.stride_)),this.extent_}getFlatInteriorPoint(){if(!this.flatInteriorPoints_){const e=(0,i.q1)(this.getExtent());this.flatInteriorPoints_=(0,a.J)(this.flatCoordinates_,0,this.ends_,this.stride_,e,0)}return this.flatInteriorPoints_}getFlatInteriorPoints(){if(!this.flatInteriorPoints_){const e=(0,c.yJ)(this.flatCoordinates_,this.ends_),t=(0,s.C)(this.flatCoordinates_,0,e,this.stride_);this.flatInteriorPoints_=(0,a.p)(this.flatCoordinates_,0,e,this.stride_,t)}return this.flatInteriorPoints_}getFlatMidpoint(){return this.flatMidpoints_||(this.flatMidpoints_=(0,l.SH)(this.flatCoordinates_,0,this.flatCoordinates_.length,this.stride_,.5)),this.flatMidpoints_}getFlatMidpoints(){if(!this.flatMidpoints_){this.flatMidpoints_=[];const e=this.flatCoordinates_;let t=0;const r=this.ends_;for(let i=0,o=r.length;i<o;++i){const o=r[i],s=(0,l.SH)(e,t,o,this.stride_,.5);(0,n.X$)(this.flatMidpoints_,s),t=o}}return this.flatMidpoints_}getId(){return this.id_}getOrientedFlatCoordinates(){return this.flatCoordinates_}getGeometry(){return this}getSimplifiedGeometry(e){return this}simplifyTransformed(e,t){return this}getProperties(){return this.properties_}getPropertiesInternal(){return this.properties_}getStride(){return this.stride_}getStyleFunction(){return this.styleFunction}getType(){return this.type_}transform(e){const t=(e=(0,h.Jt)(e)).getExtent(),r=e.getWorldExtent();if(t&&r){const e=(0,i.Oq)(r)/(0,i.Oq)(t);(0,f.Zz)(g,r[0],r[3],e,-e,0,0,0),(0,d.Rc)(this.flatCoordinates_,0,this.flatCoordinates_.length,this.stride_,g,this.flatCoordinates_)}}applyTransform(e){e(this.flatCoordinates_,this.flatCoordinates_,this.stride_)}clone(){return new p(this.type_,this.flatCoordinates_.slice(),this.ends_?.slice(),this.stride_,Object.assign({},this.properties_),this.id_)}getEnds(){return this.ends_}enableSimplifyTransformed(){return this.simplifyTransformed=(0,o.B4)((e,t)=>{if(e===this.squaredTolerance_)return this.simplifiedGeometry_;this.simplifiedGeometry_=this.clone(),t&&this.simplifiedGeometry_.applyTransform(t);const r=this.simplifiedGeometry_.getFlatCoordinates();let n;switch(this.type_){case"LineString":r.length=(0,u.P4)(r,0,this.simplifiedGeometry_.flatCoordinates_.length,this.simplifiedGeometry_.stride_,e,r,0),n=[r.length];break;case"MultiLineString":n=[],r.length=(0,u.AL)(r,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,e,r,0,n);break;case"Polygon":n=[],r.length=(0,u.Hg)(r,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,Math.sqrt(e),r,0,n)}return n&&(this.simplifiedGeometry_=new p(this.type_,r,n,this.stride_,this.properties_,this.id_)),this.squaredTolerance_=e,this.simplifiedGeometry_}),this}}p.prototype.getFlatCoordinates=p.prototype.getOrientedFlatCoordinates;const m=p;r.d(t,["Ay",0,m])},40820(e,t,r){"use strict";const n=class{drawCustom(e,t,r,n,i){}drawGeometry(e){}setStyle(e){}drawCircle(e,t,r){}drawFeature(e,t,r){}drawGeometryCollection(e,t,r){}drawLineString(e,t,r){}drawMultiLineString(e,t,r){}drawMultiPoint(e,t,r){}drawMultiPolygon(e,t,r){}drawPoint(e,t,r){}drawPolygon(e,t,r){}drawText(e,t,r){}setFillStrokeStyle(e,t){}setImageStyle(e,t){}setTextStyle(e,t){}};r.d(t,["A",0,n])},23672(e,t,r){"use strict";r.d(t,{Jw:()=>_,TA:()=>v,jT:()=>x});var n=r(34150),i=r(74630),o=r(69677),s=r(53585),a=r(68640);const l=new n.A;
125let c,u=null;const d={},h=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","emoji","math","fangsong"]);function f(e,t,r){return`${e} ${t} 16px "${r}"`}const g=function(){const e=100;let t,r;async function n(e){await r.ready;const t=(0,i.K5)(e),n=t.families[0].toLowerCase(),o=t.weight,s=[];if(r.forEach(e=>{const r=e.family.replace(/^['"]|['"]$/g,"").toLowerCase(),a=i.NM[e.weight]||e.weight;r===n&&e.style===t.style&&a==o&&s.push(e)}),0===s.length)return!1;return(await Promise.all(s.map(e=>e.load().then(()=>!0,()=>!1)))).some(e=>e)}async function o(){await r.ready;let i=!0;const s=l.getProperties(),c=Object.keys(s).filter(t=>s[t]<e);for(let t=c.length-1;t>=0;--t){const r=c[t];let o=s[r];o<e&&(await n(r)?((0,a.I)(d),l.set(r,e)):(o+=10,l.set(r,o,!0),o<e&&(i=!1)))}t=void 0,i||(t=setTimeout(o,100))}return async function(e){r||(r=s.Wl?self.fonts:document.fonts);const n=(0,i.K5)(e);if(!n)return;const a=n.families;let c=!1;for(const e of a){if(h.has(e))continue;const t=f(n.style,n.weight,e);void 0===l.get(t)&&(l.set(t,0,!0),c=!0)}c&&(clearTimeout(t),t=setTimeout(o,100))}}(),p=function(){let e;return function(t){let r=d[t];if(null==r){if(s.Wl){const e=(0,i.K5)(t),n=m(t,"Žg");r=(isNaN(Number(e.lineHeight))?1.2:Number(e.lineHeight))*(n.actualBoundingBoxAscent+n.actualBoundingBoxDescent)}else e||(e=document.createElement("div"),e.innerHTML="M",e.style.minHeight="0",e.style.maxHeight="none",e.style.height="auto",e.style.padding="0",e.style.border="none",e.style.position="absolute",e.style.display="block",e.style.left="-99999px"),e.style.font=t,document.body.appendChild(e),r=e.offsetHeight,document.body.removeChild(e);d[t]=r}return r}}();function m(e,t){return u||(u=(0,o.Y)(1,1)),e!=c&&(u.font=e,c=u.font),u.measureText(t)}function y(e,t){return m(e,t).width}function v(e,t,r){if(t in r)return r[t];const n=t.split("\n").reduce((t,r)=>Math.max(t,y(e,r)),0);return r[t]=n,n}function x(e,t){const r=[],n=[],i=[];let o=0,s=0,a=0,l=0;for(let c=0,u=t.length;c<=u;c+=2){const d=t[c];if("\n"===d||c===u){o=Math.max(o,s),i.push(s),s=0,a+=l,l=0;continue}const h=t[c+1]||e.font,f=y(h,d);r.push(f),s+=f;const g=p(h);n.push(g),l=Math.max(l,g)}return{width:o,height:a,widths:r,heights:n,lineWidths:i}}function _(e,t,r,n,i,o,s,a,l,c,u){e.save(),1!==r&&(void 0===e.globalAlpha?e.globalAlpha=e=>e.globalAlpha*=r:e.globalAlpha*=r),t&&e.transform.apply(e,t),n.contextInstructions?(e.translate(l,c),e.scale(u[0],u[1]),function(e,t){const r=e.contextInstructions;for(let e=0,n=r.length;e<n;e+=2)Array.isArray(r[e+1])?t[r[e]].apply(t,r[e+1]):t[r[e]]=r[e+1]}(n,e)):u[0]<0||u[1]<0?(e.translate(l,c),e.scale(u[0],u[1]),e.drawImage(n,i,o,s,a,0,0,s,a)):e.drawImage(n,i,o,s,a,l,c,s*u[0],a*u[1]),e.restore()}r.d(t,["Oq",0,[],"Tq",0,[0,0,0,0],"ZV",0,"10px sans-serif","fZ",0,g,"yY",0,l])},25666(e,t,r){"use strict";var n=r(95052),i=r(14837),o=r(6045),s=r(89678),a=r(32295),l=r(28564),c=r(84763),u=r(85185),d=r(40820),h=r(23672);class f extends d.A{constructor(e,t,r,n,i,o,s){super(),this.context_=e,this.pixelRatio_=t,this.extent_=r,this.transform_=n,this.transformRotation_=n?(0,c.Mg)(Math.atan2(n[1],n[0]),10):0,this.viewRotation_=i,this.squaredTolerance_=o,this.userTransform_=s,this.contextFillState_=null,this.contextStrokeState_=null,this.contextTextState_=null,this.fillState_=null,this.strokeState_=null,this.image_=null,this.imageAnchorX_=0,this.imageAnchorY_=0,this.imageHeight_=0,this.imageOpacity_=0,this.imageOriginX_=0,this.imageOriginY_=0,this.imageRotateWithView_=!1,this.imageRotation_=0,this.imageScale_=[0,0],this.imageWidth_=0,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=!1,this.textRotation_=0,this.textScale_=[0,0],this.textFillState_=null,this.textStrokeState_=null,this.textState_=null,this.pixelCoordinates_=[],this.tmpLocalTransform_=(0,u.vt)()}drawImages_(e,t,r,n){if(!this.image_)return;const i=(0,l.Rc)(e,t,r,n,this.transform_,this.pixelCoordinates_),o=this.context_,s=this.tmpLocalTransform_,a=o.globalAlpha;1!=this.imageOpacity_&&(o.globalAlpha=a*this.imageOpacity_);let c=this.imageRotation_;0===this.transformRotation_&&(c-=this.viewRotation_),this.imageRotateWithView_&&(c+=this.viewRotation_);for(let e=0,t=i.length;e<t;e+=2){const t=i[e]-this.imageAnchorX_,r=i[e+1]-this.imageAnchorY_;if(0!==c||1!=this.imageScale_[0]||1!=this.imageScale_[1]){const e=t+this.imageAnchorX_,n=r+this.imageAnchorY_;(0,u.Zz)(s,e,n,1,1,c,-e,-n),o.save(),o.transform.apply(o,s),o.translate(e,n),o.scale(this.imageScale_[0],this.imageScale_[1]),o.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,-this.imageAnchorX_,-this.imageAnchorY_,this.imageWidth_,this.imageHeight_),o.restore(
vendor: 6,427 bytes, line 125
125)}else o.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,t,r,this.imageWidth_,this.imageHeight_)}1!=this.imageOpacity_&&(o.globalAlpha=a)}drawText_(e,t,r,n){if(!this.textState_||""===this.text_)return;this.textFillState_&&this.setContextFillState_(this.textFillState_),this.textStrokeState_&&this.setContextStrokeState_(this.textStrokeState_),this.setContextTextState_(this.textState_);const i=(0,l.Rc)(e,t,r,n,this.transform_,this.pixelCoordinates_),o=this.context_;let s=this.textRotation_;for(0===this.transformRotation_&&(s-=this.viewRotation_),this.textRotateWithView_&&(s+=this.viewRotation_);t<r;t+=n){const e=i[t]+this.textOffsetX_,r=i[t+1]+this.textOffsetY_;0!==s||1!=this.textScale_[0]||1!=this.textScale_[1]?(o.save(),o.translate(e-this.textOffsetX_,r-this.textOffsetY_),o.rotate(s),o.translate(this.textOffsetX_,this.textOffsetY_),o.scale(this.textScale_[0],this.textScale_[1]),this.textStrokeState_&&o.strokeText(this.text_,0,0),this.textFillState_&&o.fillText(this.text_,0,0),o.restore()):(this.textStrokeState_&&o.strokeText(this.text_,e,r),this.textFillState_&&o.fillText(this.text_,e,r))}}moveToLineTo_(e,t,r,n,i,o){const s=this.context_;let c=(0,l.Rc)(e,t,r,n,this.transform_,this.pixelCoordinates_);if(Math.abs(o)>0){const e=c.length,t=i||Math.abs(c[0]-c[e-2])<1e-6&&Math.abs(c[1]-c[e-1])<1e-6;c=(0,a.P)(c,0,e,2,o,t,c),(0,a.J)(c,2,t)}s.moveTo(c[0],c[1]);let u=c.length;i&&(u-=2);for(let e=2;e<u;e+=2)s.lineTo(c[e],c[e+1]);return i&&s.closePath(),r}drawRings_(e,t,r,n,i){for(let o=0,s=r.length;o<s;++o)t=this.moveToLineTo_(e,t,r[o],n,!0,i);return t}drawCircle(e){if(this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),(0,o.HY)(this.extent_,e.getExtent())){if(this.fillState_||this.strokeState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const t=(0,s.v7)(e,this.transform_,this.pixelCoordinates_),r=t[2]-t[0],n=t[3]-t[1],i=Math.sqrt(r*r+n*n),o=this.context_;o.beginPath(),o.arc(t[0],t[1],i,0,2*Math.PI),this.fillState_&&o.fill(),this.strokeState_&&o.stroke()}""!==this.text_&&this.drawText_(e.getCenter(),0,2,2)}}setStyle(e){this.setFillStrokeStyle(e.getFill(),e.getStroke()),this.setImageStyle(e.getImage()),this.setTextStyle(e.getText())}setTransform(e){this.transform_=e}drawGeometry(e){switch(e.getType()){case"Point":this.drawPoint(e);break;case"LineString":this.drawLineString(e);break;case"Polygon":this.drawPolygon(e);break;case"MultiPoint":this.drawMultiPoint(e);break;case"MultiLineString":this.drawMultiLineString(e);break;case"MultiPolygon":this.drawMultiPolygon(e);break;case"GeometryCollection":this.drawGeometryCollection(e);break;case"Circle":this.drawCircle(e)}}drawFeature(e,t){const r=t.getGeometryFunction()(e);r&&(this.setStyle(t),this.drawGeometry(r))}drawGeometryCollection(e){const t=e.getGeometriesArray();for(let e=0,r=t.length;e<r;++e)this.drawGeometry(t[e])}drawPoint(e){this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const t=e.getFlatCoordinates(),r=e.getStride();this.image_&&this.drawImages_(t,0,t.length,r),""!==this.text_&&this.drawText_(t,0,t.length,r)}drawMultiPoint(e){this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const t=e.getFlatCoordinates(),r=e.getStride();this.image_&&this.drawImages_(t,0,t.length,r),""!==this.text_&&this.drawText_(t,0,t.length,r)}drawLineString(e){if(this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),(0,o.HY)(this.extent_,e.getExtent())){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);const t=this.context_,r=e.getFlatCoordinates();t.beginPath(),this.moveToLineTo_(r,0,r.length,e.getStride(),!1,this.strokeState_.strokeOffset),t.stroke()}if(""!==this.text_){const t=e.getFlatMidpoint();this.drawText_(t,0,2,2)}}}drawMultiLineString(e){this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const t=e.getExtent();if((0,o.HY)(this.extent_,t)){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);const t=this.context_,r=e.getFlatCoordinates();let n=0;const i=e.getEnds(),o=e.getStride();t.beginPath();for(let e=0,t=i.length;e<t;++e)n=this.moveToLineTo_(r,n,i[e],o,!1,this.strokeState_.strokeOffset);t.stroke()}if(""!==this.text_){const t=e.getFlatMidpoints();this.drawText_(t,0,t.length,2)}}}drawPolygon(e){if(this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),(0,o.HY)(this.extent_,e.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const t=this.context_;t.beginPath(),this.drawRings_(e.getOrientedFlatCoordinates(),0,e.getEnds(),e.getStride(),this.strokeState_?.strokeOffset),this.fillState_&&t.fill(),this.strokeState_&&t.stroke()}if(""!==this.text_){const t=e.getFlatInteriorPoint();this.drawText_(t,0,2,2)}}}drawMultiPolygon(e){if(this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),(0,o.HY)(this.extent_,e.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const t=this.context_,r=e.getOrientedFlatCoordinates();let n=0;const i=e.getEndss(),o=e.getStride();t.beginPath();for(let e=0,t=i.length;e<t;++e){const t=i[e];n=this.drawRings_(r,n,t,o,this.strokeState_?.strokeOffset)}this.fillState_&&t.fill(),this.strokeState_&&t.stroke()}if(""!==this.text_){const t=e.getFlatInteriorPoints();this.drawText_(t,0,t.length,2)}}}setContextFillState_(e){const t=this.context_,r=this.contextFillState_;r?r.fillStyle!=e.fillStyle&&(r.fillStyle=e.fillStyle,t.fillStyle=e.fillStyle):(t.fillStyle=e.fillStyle,this.contextFillState_={fillStyle:e.fillStyle})}setContextStrokeState_(e){const t=this.context_,r=this.contextStrokeState_;r?(r.lineCap!=e.lineCap&&(r.lineCap=e.lineCap,t.lineCap=e.lineCap),(0,n.aI)(r.lineDash,e.lineDash)||t.setLineDash(r.lineDash=e.lineDash),r.lineDashOffset!=e.lineDashOffset&&(r.lineDashOffset=e.lineDashOffset,t.lineDashOffset=e.lineDashOffset),r.lineJoin!=e.lineJoin&&(r.lineJoin=e.lineJoin,t.lineJoin=e.lineJoin),r.lineWidth!=e.lineWidth&&(r.lineWidth=e.lineWidth,t.lineWidth=e.lineWidth),r.miter
125Limit!=e.miterLimit&&(r.miterLimit=e.miterLimit,t.miterLimit=e.miterLimit),r.strokeStyle!=e.strokeStyle&&(r.strokeStyle=e.strokeStyle,t.strokeStyle=e.strokeStyle)):(t.lineCap=e.lineCap,t.setLineDash(e.lineDash),t.lineDashOffset=e.lineDashOffset,t.lineJoin=e.lineJoin,t.lineWidth=e.lineWidth,t.miterLimit=e.miterLimit,t.strokeStyle=e.strokeStyle,this.contextStrokeState_={lineCap:e.lineCap,lineDash:e.lineDash,lineDashOffset:e.lineDashOffset,lineJoin:e.lineJoin,lineWidth:e.lineWidth,miterLimit:e.miterLimit,strokeStyle:e.strokeStyle})}setContextTextState_(e){const t=this.context_,r=this.contextTextState_,n=e.textAlign?e.textAlign:"center";r?(r.font!=e.font&&(r.font=e.font,t.font=e.font),r.textAlign!=n&&(r.textAlign=n,t.textAlign=n),r.textBaseline!=e.textBaseline&&(r.textBaseline=e.textBaseline,t.textBaseline=e.textBaseline)):(t.font=e.font,t.textAlign=n,t.textBaseline=e.textBaseline,this.contextTextState_={font:e.font,textAlign:n,textBaseline:e.textBaseline})}setFillStrokeStyle(e,t){if(e){const t=e.getColor();this.fillState_={fillStyle:(0,i.F)(t||"#000")}}else this.fillState_=null;if(t){const e=t.getColor(),r=t.getLineCap(),n=t.getLineDash(),o=t.getLineDashOffset(),s=t.getLineJoin(),a=t.getWidth(),l=t.getMiterLimit(),c=n||h.Oq,u=t.getOffset();this.strokeState_={lineCap:void 0!==r?r:"round",lineDash:1===this.pixelRatio_?c:c.map(e=>e*this.pixelRatio_),lineDashOffset:(o||0)*this.pixelRatio_,lineJoin:void 0!==s?s:"round",lineWidth:(void 0!==a?a:1)*this.pixelRatio_,miter
125Limit:void 0!==l?l:10,strokeStyle:(0,i.F)(e||"#000"),strokeOffset:(u??0)*this.pixelRatio_}}else this.strokeState_=null}setImageStyle(e){let t;if(!e||!(t=e.getSize()))return void(this.image_=null);const r=e.getPixelRatio(this.pixelRatio_),n=e.getAnchor(),i=e.getOrigin();this.image_=e.getImage(this.pixelRatio_),this.imageAnchorX_=n[0]*r,this.imageAnchorY_=n[1]*r,this.imageHeight_=t[1]*r,this.imageOpacity_=e.getOpacity(),this.imageOriginX_=i[0],this.imageOriginY_=i[1],this.imageRotateWithView_=e.getRotateWithView(),this.imageRotation_=e.getRotation();const o=e.getScaleArray();this.imageScale_=[o[0]*this.pixelRatio_/r,o[1]*this.pixelRatio_/r],this.imageWidth_=t[0]*r}setTextStyle(e){if(e){const t=e.getFill();if(t){const e=t.getColor();this.textFillState_={fillStyle:(0,i.F)(e||"#000")}}else this.textFillState_=null;const r=e.getStroke();if(r){const e=r.getColor(),t=r.getLineCap(),n=r.getLineDash(),o=r.getLineDashOffset(),s=r.getLineJoin(),a=r.getWidth(),l=r.getMiterLimit();this.textStrokeState_={lineCap:void 0!==t?t:"round",lineDash:n||h.Oq,lineDashOffset:o||0,lineJoin:void 0!==s?s:"round",lineWidth:void 0!==a?a:1,miterLimit:void 0!==l?l:10,strokeStyle:(0,i.F)(e||"#000")}}else this.textStrokeState_=null;const n=e.getFont(),o=e.getOffsetX(),s=e.getOffsetY(),a=e.getRotateWithView(),l=e.getRotation(),c=e.getScaleArray(),u=e.getText(),d=e.getTextAlign(),f=e.getTextBaseline();this.textState_={font:void 0!==n?n:h.ZV,textAlign:void 0!==d?d:"center",textBaseline:void 0!==f?f:"middle"},this.text_=void 0!==u?Array.isArray(u)?u.reduce((e,t,r)=>e+(r%2?" ":t),""):u:"",this.textOffsetX_=void 0!==o?this.pixelRatio_*o:0,this.textOffsetY_=void 0!==s?this.pixelRatio_*s:0,this.textRotateWithView_=void 0!==a&&a,this.textRotation_=void 0!==l?l:0,this.textScale_=[this.pixelRatio_*c[0],this.pixelRatio_*c[1]]}else this.text_=""}}const g=f;r.d(t,["A",0,g])},43274(e,t,r){"use strict";var n=r(69677);const i=class{constructor(){this.instructions_=[],this.zIndex=0,this.offset_=0,this.pendingMethod_,this.context_=new Proxy((0,n.lr)(),{get:(e,t)=>{if("function"==typeof e[t])return this.pendingMethod_=t,this.pushMethodArgs_},set:(e,t,r)=>(this.push_(t,r),!0)})}push_(...e){const t=this.instructions_,r=this.zIndex+this.offset_;t[r]||(t[r]=[]),t[r].push(...e)}pushMethodArgs_=(...e)=>{this.push_(this.pendingMethod_,e)};pushFunction(e){this.push_(e)}getContext(){return this.context_}draw(e){this.instructions_.forEach(t=>{for(let r=0,n=t.length;r<n;++r){const n=t[r];if("function"==typeof n){n(e);continue}const i=t[++r];"function"==typeof e[n]?e[n](...i):e[n]="function"==typeof i?i(e):i}})}clear(){this.instructions_.length=0,this.zIndex=0,this.offset_=0}offset(){this.offset_=this.instructions_.length,this.zIndex=0}};r.d(t,["A",0,i])},20029(e,t,r){"use strict";r.d(t,{B:()=>v,A:()=>_});var n=r(95052),i=r(61162),o=r(69677),s=r(6045),a=r(53585),l=r(94006),c=r(43518),u=r(43274),d=r(85185),h=r(54987),f=r(79268),g=r(22075),p=r(10917);class m extends f.A{constructor(e){super(),this.ready=!0,this.boundHandleImageChange_=this.handleImageChange_.bind(this),this.layer_=e,this.staleKeys_=new Array,this.maxStaleKeys=5,this.renderedSourceKey_}getStaleKeys(){return this.staleKeys_}prependStaleKey(e){this.staleKeys_.unshift(e),this.staleKeys_.length>this.maxStaleKeys&&(this.staleKeys_.length=this.maxStaleKeys)}updateStaleKeys(e){this.renderedSourceKey_?this.renderedSourceKey_!==e&&(this.prependStaleKey(this.renderedSourceKey_),this.renderedSourceKey_=e):this.renderedSourceKey_=e}getFeatures(e){return(0,p.b0)()}getData(e){return null}prepareFrame(e){return(0,p.b0)()}renderFrame(e,t){return(0,p.b0)()}forEachFeatureAtCoordinate(e,t,r,n,i){}getLayer(){return this.layer_}handleFontsChanged(){}handleImageChange_(e){const t=e.target;t.getState()!==h.A.LOADED&&t.getState()!==h.A.ERROR||this.renderIfReadyAndVisible()}loadImage(e){let t=e.getState();return t!=h.A.LOADED&&t!=h.A.ERROR&&e.addEventListener(g.A.CHANGE,this.boundHandleImageChange_),t==h.A.IDLE&&(e.load(),t=e.getState()),t==h.A.LOADED}renderIfReadyAndVisible(){const e=this.getLayer();e&&e.getVisible()&&"ready"===e.getSourceState()&&e.changed()}renderDeferred(e){}disposeInternal(){delete this.layer_,super.disposeInternal()}}const y=m,v=[];let x=null;const _=class extends y{constructor(e){super(e),this.container=null,this.renderedResolution,this.tempTransform=(0,d.vt)(),this.pixelTransform=(0,d.vt)(),this.inversePixelTransform=(0,d.vt)(),this.context=null,this.deferredContext_=null,this.containerReused=!1,this.frameState=null}getImageData(e,t,r){let n;x||(x=(0,o.Y)(1,1,void 0,{willReadFrequently:!0})),x.clearRect(0,0,1,1);try{x.drawImage(e,t,r,1,1,0,0,1,1),n=x.getImageData(0,0,1,1).data}catch{return x=null,null}return n}
125getBackground(e){let t=this.getLayer().getBackground();return"function"==typeof t&&(t=t(e.viewState.resolution)),t||void 0}useContainer(e,t,r,s,l){if((0,o.rB)(e)&&0===this.pixelTransform[1]&&0===this.pixelTransform[2]&&0===this.pixelTransform[4]&&0===this.pixelTransform[5]&&e.width===s&&e.height===l){const t=e,n=t.getContext("2d");if(n)return this.container=e,this.context=n,this.containerReused=!0,void(r&&(n.fillStyle=r,n.fillRect(0,0,t.width,t.height)))}const c=this.getLayer().getClassName();let u,h;if(e&&e.className===c&&(!r||e&&e.style.backgroundColor&&(0,n.aI)((0,i._j)(e.style.backgroundColor),(0,i._j)(r)))){const t=e.firstElementChild;(0,o.rB)(t)&&(h=t.getContext("2d"))}if(h&&(0,d.tI)(h.canvas.style.transform,t)?(this.container=e,this.context=h,this.containerReused=!0):this.containerReused?(this.container=null,this.context=null,this.containerReused=!1):this.container&&(this.container.style.backgroundColor=null),!this.container){u=a.Wl?(0,o.mH)():document.createElement("div"),u.className=c;let e=u.style;e.position="absolute",e.width="100%",e.height="100%",h=(0,o.Y)();const t=h.canvas;u.appendChild(t),e=t.style,e.position="absolute",e.left="0",e.transformOrigin="top left",this.container=u,this.context=h}this.containerReused||!r||this.container.style.backgroundColor||(this.container.style.backgroundColor=r)}clipUnrotated(e,t,r){const n=(0,s.Py)(r),i=(0,s.WU)(r),o=(0,s.k_)(r),a=(0,s.R)(r);(0,d.Bb)(t.coordinateToPixelTransform,n),(0,d.Bb)(t.coordinateToPixelTransform,i),(0,d.Bb)(t.coordinateToPixelTransform,o),(0,d.Bb)(t.coordinateToPixelTransform,a);const l=this.inversePixelTransform;(0,d.Bb)(l,n),(0,d.Bb)(l,i),(0,d.Bb)(l,o),(0,d.Bb)(l,a),e.save(),e.beginPath(),e.moveTo(Math.round(n[0]),Math.round(n[1])),e.lineTo(Math.round(i[0]),Math.round(i[1])),e.lineTo(Math.round(o[0]),Math.round(o[1])),e.lineTo(Math.round(a[0]),Math.round(a[1])),e.clip()}prepareContainer(e,t){const r=e.extent,n=e.viewState.resolution,i=e.viewState.rotation,o=e.pixelRatio,a=Math.round((0,s.RG)(r)/n*o),l=Math.round((0,s.Oq)(r)/n*o);(0,d.Zz)(this.pixelTransform,e.size[0]/2,e.size[1]/2,1/o,1/o,i,-a/2,-l/2),(0,d.T9)(this.inversePixelTransform,this.pixelTransform);const c=(0,d.dI)(this.pixelTransform),u=this.getBackground(e);if(this.useContainer(t,c,u,a,l),!this.containerReused){const e=this.context.canvas;e.width!=a||e.height!=l?(e.width=a,e.height=l):this.context.clearRect(0,0,a,l),c!==e.style.transform&&(e.style.transform=c)}}dispatchRenderEvent_(e,t,r){const n=this.getLayer();if(n.hasListener(e)){const i=new l.A(e,this.inversePixelTransform,r,t);n.dispatchEvent(i)}}preRender(e,t){this.frameState=t,t.declutter||this.dispatchRenderEvent_(c.A.PRERENDER,e,t)}postRender(e,t){t.declutter||this.dispatchRenderEvent_(c.A.POSTRENDER,e,t)}renderDeferredInternal(e){}getRenderContext(e){return e.declutter&&!this.deferredContext_&&(this.deferredContext_=new u.A),e.declutter?this.deferredContext_.getContext():this.context}renderDeferred(e){e.declutter&&(this.dispatchRenderEvent_(c.A.PRERENDER,this.context,e),e.declutter&&this.deferredContext_&&(this.deferredContext_.draw(this.context),this.deferredContext_.clear()),this.renderDeferredInternal(e),this.dispatchRenderEvent_(c.A.POSTRENDER,this.context,e))}getRenderTransform(e,t,r,n,i,o,s){const a=i/2,l=o/2,c=n/t,u=-c,h=-e[0]+s,f=-e[1];return(0,d.Zz)(this.tempTransform,a,l,c,u,-r,h,f)}disposeInternal(){delete this.frameState,super.disposeInternal()}}},55902(e,t,r){"use strict";r.d(t,{Eo:()=>s,gY:()=>l,j:()=>a,nl:()=>c});var n=r(54987),i=r(10917);const o={Point:function(e,t,r,i,o,s){const a=r.getImage(),l=r.getText(),c=l&&l.getText(),u=s&&a&&c?{}:void 0;if(a){if(a.getImageState()!=n.A.LOADED)return;const s=e.getBuilder(r.getZIndex(),"Image");s.setImageStyle(a,u),s.drawPoint(t,i,o)}if(c){const n=e.getBuilder(r.getZIndex(),"Text");n.setTextStyle(l,u),n.drawText(t,i,o)}},LineString:function(e,t,r,n,i){const o=r.getStroke();if(o){const s=e.getBuilder(r.getZIndex(),"LineString");s.setFillStrokeStyle(null,o),s.drawLineString(t,n,i)}const s=r.getText();if(s&&s.getText()){const o=e.getBuilder(r.getZIndex(),"Text");o.setTextStyle(s),o.drawText(t,n,i)}}
vendor: 1,374 bytes, line 125
125,Polygon:function(e,t,r,n,i){const o=r.getFill(),s=r.getStroke();if(o||s){const a=e.getBuilder(r.getZIndex(),"Polygon");a.setFillStrokeStyle(o,s),a.drawPolygon(t,n,i)}const a=r.getText();if(a&&a.getText()){const o=e.getBuilder(r.getZIndex(),"Text");o.setTextStyle(a),o.drawText(t,n,i)}},MultiPoint:function(e,t,r,i,o,s){const a=r.getImage(),l=a&&0!==a.getOpacity(),c=r.getText(),u=c&&c.getText(),d=s&&l&&u?{}:void 0;if(l){if(a.getImageState()!=n.A.LOADED)return;const s=e.getBuilder(r.getZIndex(),"Image");s.setImageStyle(a,d),s.drawMultiPoint(t,i,o)}if(u){const n=e.getBuilder(r.getZIndex(),"Text");n.setTextStyle(c,d),n.drawText(t,i,o)}},MultiLineString:function(e,t,r,n,i){const o=r.getStroke();if(o){const s=e.getBuilder(r.getZIndex(),"LineString");s.setFillStrokeStyle(null,o),s.drawMultiLineString(t,n,i)}const s=r.getText();if(s&&s.getText()){const o=e.getBuilder(r.getZIndex(),"Text");o.setTextStyle(s),o.drawText(t,n,i)}},MultiPolygon:function(e,t,r,n,i){const o=r.getFill(),s=r.getStroke();if(s||o){const a=e.getBuilder(r.getZIndex(),"Polygon");a.setFillStrokeStyle(o,s),a.drawMultiPolygon(t,n,i)}const a=r.getText();if(a&&a.getText()){const o=e.getBuilder(r.getZIndex(),"Text");o.setTextStyle(a),o.drawText(t,n,i)}},GeometryCollection:function(e,t,r,n,i,s){const a=t.getGeometriesArray();let l,c;for(l=0,c=a.length;l<c;++l){(0,o[a[l].getType()])(e,a[l],r,n,i,s)}}
125,Circle:function(e,t,r,n,i){const o=r.getFill(),s=r.getStroke();if(o||s){const a=e.getBuilder(r.getZIndex(),"Circle");a.setFillStrokeStyle(o,s),a.drawCircle(t,n,i)}const a=r.getText();if(a&&a.getText()){const o=e.getBuilder(r.getZIndex(),"Text");o.setTextStyle(a),o.drawText(t,n,i)}}};function s(e,t){return parseInt((0,i.v6)(e),10)-parseInt((0,i.v6)(t),10)}function a(e,t){const r=l(e,t);return r*r}function l(e,t){return.5*e/t}function c(e,t,r,i,s,a,l,c){const d=[],h=r.getImage();if(h){let e=!0;const t=h.getImageState();t==n.A.LOADED||t==n.A.ERROR?e=!1:t==n.A.IDLE&&h.load(),e&&d.push(h.ready())}const f=r.getFill();f&&f.loading()&&d.push(f.ready());const g=d.length>0;return g&&Promise.all(d).then(()=>s(null)),function(e,t,r,n,i,s,a){const l=r.getGeometryFunction()(t);if(!l)return;const c=l.simplifyTransformed(n,i),d=r.getRenderer();if(d)u(e,c,r,t,a);else{(0,o[c.getType()])(e,c,r,t,a,s)}}(e,t,r,i,a,l,c),g}function u(e,t,r,n,i){if("GeometryCollection"==t.getType()){const o=t.getGeometries();for(let t=0,s=o.length;t<s;++t)u(e,o[t],r,n,i);return}e.getBuilder(r.getZIndex(),"Default").drawCustom(t,n,r.getRenderer(),r.getHitDetectionRenderer(),i)}},63711(e,t,r){"use strict";r.d(t,{KQ:()=>d,XX:()=>f,aY:()=>h});var n=r(69677),i=r(6045),o=r(84763),s=r(44699);let a;const l=[];function c(e,t,r,n,i){e.beginPath(),e.moveTo(0,0),e.lineTo(t,r),e.lineTo(n,i),e.closePath(),e.save(),e.clip(),e.fillRect(0,0,Math.max(t,n)+1,Math.max(r,i)),e.restore()}function u(e,t){return Math.abs(e[4*t]-210)>2||Math.abs(e[4*t+3]-191.25)>2}function d(e,t,r,n){const o=(0,s.pd)(r,t,e);let a=(0,s.hO)(t,n,r);const l=t.getMetersPerUnit();void 0!==l&&(a*=l);const c=e.getMetersPerUnit();void 0!==c&&(a/=c);const u=e.getExtent();if(!u||(0,i.Ym)(u,o)){const t=(0,s.hO)(e,a,o)/a;isFinite(t)&&t>0&&(a/=t)}return a}function h(e,t,r,n){const o=(0,i.q1)(r);let s=d(e,t,o,n);return(!isFinite(s)||s<=0)&&(0,i.sB)(r,function(r){return s=d(e,t,r,n),isFinite(s)&&s>0}),s}function f(e,t,r,s,d,h,f,g,p,m,y,v,x,_){const b=(0,n.Y)(Math.round(r*e),Math.round(r*t),l);if(v||(b.imageSmoothingEnabled=!1),0===p.length)return b.canvas;function S(e){return Math.round(e*r)/r}b.scale(r,r),b.globalCompositeOperation="lighter";const w=(0,i.S5)();let k;p.forEach(function(e,t,r){(0,i.X$)(w,e.extent)});const A=r/s,M=(v?1:1+Math.pow(2,-24))/A;if(!x||1!==p.length||0!==m){if(k=(0,n.Y)(Math.round((0,i.RG)(w)*A),Math.round((0,i.Oq)(w)*A),l),v||(k.imageSmoothingEnabled=!1),d&&_){const e=(d[0]-w[0])*A,t=-(d[3]-w[3])*A,r=(0,i.RG)(d)*A,n=(0,i.Oq)(d)*A;k.rect(e,t,r,n),k.clip()}p.forEach(function(e,t,r){if(e.image.width>0&&e.image.height>0){if(e.clipExtent){k.save();const t=(e.clipExtent[0]-w[0])*A,r=-(e.clipExtent[3]-w[3])*A,n=(0,i.RG)(e.clipExtent)*A,o=(0,i.Oq)(e.clipExtent)*A;k.rect(v?t:Math.round(t),v?r:Math.round(r),v?n:Math.round(t+n)-Math.round(t),v?o:Math.round(r+o)-Math.round(r)),k.clip()}const t=(e.extent[0]-w[0])*A,r=-(e.extent[3]-w[3])*A,n=(0,i.RG)(e.extent)*A,o=(0,i.Oq)(e.extent)*A;k.drawImage(e.image,m,m,e.image.width-2*m,e.image.height-2*m,v?t:Math.round(t),v?r:Math.round(r),v?n:Math.round(t+n)-Math.round(t),v?o:Math.round(r+o)-Math.round(r)),e.clipExtent&&k.restore()}})}const C=(0,i.Py)(f);
125return g.getTriangles().forEach(function(e,t,r){const s=e.source,d=e.target;let f=s[0][0],g=s[0][1],m=s[1][0],y=s[1][1],x=s[2][0],_=s[2][1];const A=S((d[0][0]-C[0])/h),E=S(-(d[0][1]-C[1])/h),R=S((d[1][0]-C[0])/h),T=S(-(d[1][1]-C[1])/h),I=S((d[2][0]-C[0])/h),P=S(-(d[2][1]-C[1])/h),j=f,O=g;f=0,g=0,m-=j,y-=O,x-=j,_-=O;const L=[[m,y,0,0,R-A],[x,_,0,0,I-A],[0,0,m,y,T-E],[0,0,x,_,P-E]],D=(0,o.KU)(L);if(!D)return;if(b.save(),b.beginPath(),function(){if(void 0===a){const e=(0,n.Y)(6,6,l);e.globalCompositeOperation="lighter",e.fillStyle="rgba(210, 0, 0, 0.75)",c(e,4,5,4,0),c(e,4,5,0,5);const t=e.getImageData(0,0,3,3).data;a=u(t,0)||u(t,4)||u(t,8),(0,n.Yg)(e),l.push(e.canvas)}return a}()||!v){b.moveTo(R,T);const e=4,t=A-R,r=E-T;for(let n=0;n<e;n++)b.lineTo(R+S((n+1)*t/e),T+S(n*r/(e-1))),n!=e-1&&b.lineTo(R+S((n+1)*t/e),T+S((n+1)*r/(e-1)));b.lineTo(I,P)}else b.moveTo(R,T),b.lineTo(A,E),b.lineTo(I,P);let F;if(b.clip(),b.transform(D[0],D[2],D[1],D[3],A,E),b.translate(w[0]-j,w[3]-O),k)F=k.canvas,b.scale(M,-M);else{const e=p[0],t=e.extent;F=e.image,b.scale((0,i.RG)(t)/F.width,-(0,i.Oq)(t)/F.height)}b.drawImage(F,0,0),b.restore()}),k&&((0,n.Yg)(k),l.push(k.canvas)),y&&(b.save(),b.globalCompositeOperation="source-over",b.strokeStyle="black",b.lineWidth=1,g.getTriangles().forEac
125h(function(e,t,r){const n=e.target,i=(n[0][0]-C[0])/h,o=-(n[0][1]-C[1])/h,s=(n[1][0]-C[0])/h,a=-(n[1][1]-C[1])/h,l=(n[2][0]-C[0])/h,c=-(n[2][1]-C[1])/h;b.beginPath(),b.moveTo(s,a),b.lineTo(i,o),b.lineTo(l,c),b.closePath(),b.stroke()}),b.restore()),b.canvas}r.d(t,["BV",0,l])},88756(e,t,r){"use strict";r.d(t,{A:()=>p});var n=r(89029),i=r(68692),o=r(69677),s=r(55992),a=r(22075),l=r(6045),c=r(84763),u=r(63711),d=r(44699),h=r(85185);const f=class{constructor(e,t,r,n,i,o,s){this.sourceProj_=e,this.targetProj_=t;let a={};const c=s?(0,d.HU)(e=>(0,h.Bb)(s,(0,d.pd)(e,this.targetProj_,this.sourceProj_))):(0,d.RG)(this.targetProj_,this.sourceProj_);this.transformInv_=function(e){const t=e[0]+"/"+e[1];return a[t]||(a[t]=c(e)),a[t]},this.maxSourceExtent_=n,this.errorThresholdSquared_=i*i,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!n&&!!this.sourceProj_.getExtent()&&(0,l.RG)(n)>=(0,l.RG)(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?(0,l.RG)(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?(0,l.RG)(this.targetProj_.getExtent()):null;const u=(0,l.Py)(r),f=(0,l.WU)(r),g=(0,l.k_)(r),p=(0,l.R)(r),m=this.transformInv_(u),y=this.transformInv_(f),v=this.transformInv_(g),x=this.transformInv_(p),_=10+(o?Math.max(0,Math.ceil(Math.log2((0,l.UG)(r)/(o*o*256*256)))):0);if(this.addQuad_(u,f,g,p,m,y,v,x,_),this.wrapsXInSource_){let e=1/0;this.triangles_.forEach(function(t,r,n){e=Math.min(e,t.source[0][0],t.source[1][0],t.source[2][0])}),this.triangles_.forEach(t=>{if(Math.max(t.source[0][0],t.source[1][0],t.source[2][0])-e>this.sourceWorldWidth_/2){const r=[[t.source[0][0],t.source[0][1]],[t.source[1][0],t.source[1][1]],[t.source[2][0],t.source[2][1]]];r[0][0]-e>this.sourceWorldWidth_/2&&(r[0][0]-=this.sourceWorldWidth_),r[1][0]-e>this.sourceWorldWidth_/2&&(r[1][0]-=this.sourceWorldWidth_),r[2][0]-e>this.sourceWorldWidth_/2&&(r[2][0]-=this.sourceWorldWidth_);const n=Math.min(r[0][0],r[1][0],r[2][0]);Math.max(r[0][0],r[1][0],r[2][0])-n<this.sourceWorldWidth_/2&&(t.source=r)}})}a={}}addTriangle_(e,t,r,n,i,o){this.triangles_.push({source:[n,i,o],target:[e,t,r]})}addQuad_(e,t,r,n,i,o,s,a,u){const d=(0,l.Tr)([i,o,s,a]),h=this.sourceWorldWidth_?(0,l.RG)(d)/this.sourceWorldWidth_:null,f=this.sourceWorldWidth_,g=this.sourceProj_.canWrapX()&&h>.5&&h<1;let p=!1;if(u>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){const i=(0,l.Tr)([e,t,r,n]);p=(0,l.RG)(i)/this.targetWorldWidth_>.25||p}!g&&this.sourceProj_.isGlobal()&&h&&(p=h>.25||p)}if(!p&&this.maxSourceExtent_&&isFinite(d[0])&&isFinite(d[1])&&isFinite(d[2])&&isFinite(d[3])&&!(0,l.HY)(d,this.maxSourceExtent_))return;let m=0;if(!(p||isFinite(i[0])&&isFinite(i[1])&&isFinite(o[0])&&isFinite(o[1])&&isFinite(s[0])&&isFinite(s[1])&&isFinite(a[0])&&isFinite(a[1])))if(u>0)p=!0;else if(m=(isFinite(i[0])&&isFinite(i[1])?0:8)+(isFinite(o[0])&&isFinite(o[1])?0:4)+(isFinite(s[0])&&isFinite(s[1])?0:2)+(isFinite(a[0])&&isFinite(a[1])?0:1),1!=m&&2!=m&&4!=m&&8!=m)return;if(u>0){if(!p){const t=[(e[0]+r[0])/2,(e[1]+r[1])/2],n=this.transformInv_(t);let o;if(g){o=((0,c.xP)(i[0],f)+(0,c.xP)(s[0],f))/2-(0,c.xP)(n[0],f)}else o=(i[0]+s[0])/2-n[0];const a=(i[1]+s[1])/2-n[1];p=o*o+a*a>this.errorThresholdSquared_}if(p){if(Math.abs(e[0]-r[0])<=Math.abs(e[1]-r[1])){const l=[(t[0]+r[0])/2,(t[1]+r[1])/2],c=this.transformInv_(l),d=[(n[0]+e[0])/2,(n[1]+e[1])/2],h=this.transformInv_(d);this.addQuad_(e,t,l,d,i,o,c,h,u-1),this.addQuad_(d,l,r,n,h,c,s,a,u-1)}else{const l=[(e[0]+t[0])/2,(e[1]+t[1])/2],c=this.transformInv_(l),d=[(r[0]+n[0])/2,(r[1]+n[1])/2],h=this.transformInv_(d);this.addQuad_(e,l,d,n,i,c,h,a,u-1),this.addQuad_(l,t,r,d,c,o,s,h,u-1)}return}}if(g){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}11&m||this.addTriangle_(e,r,n,i,s,a),14&m||this.addTriangle_(e,r,t,i,s,o),m&&(13&m||this.addTriangle_(t,n,e,o,a,i),7&m||this.addTriangle_(t,n,r,o,a,s))}calculateSourceExtent(){const e=(0,l.S5)();return this.triangles_.forEach(function(t,r,n){const i=t.source;(0,l.$C)(e,i[0]),(0,l.$C)(e,i[1]),(0,l.$C)(e,i[2])}),e}getTriangles(){return this.triangles_}};class g extends n.A{constructor(e,t,r,n,o,s,a,d,h,g,p,m){super(o,i.A.IDLE,m),this.renderEdges_=void 0!==p&&p,this.pixelRatio_=a,this.gutter_=d,this.canvas_=null,this.sourceTileGrid_=t,this.targetTileGrid_=n,this.wrappedTileCoord_=s||o,this.sourceTiles_=[],this.sourcesListenerKeys_=null,this.sourceZ_=0,this.clipExtent_=e.canWrapX()?e.getExtent():void 0;const y=n.getTileCoordExtent(this.wrappedTileCoord_),v=this.targetTileGrid_.getExtent();let x=this.sourceTileGrid_.getExtent();const _=v?(0,l._N)(y,v):y;
125if(0===(0,l.UG)(_))return void(this.state=i.A.EMPTY);const b=e.getExtent();b&&(x=x?(0,l._N)(x,b):b);const S=n.getResolution(this.wrappedTileCoord_[0]),w=(0,u.aY)(e,r,_,S);if(!isFinite(w)||w<=0)return void(this.state=i.A.EMPTY);const k=void 0!==g?g:.5;if(this.triangulation_=new f(e,r,_,x,w*k,S),0===this.triangulation_.getTriangles().length)return void(this.state=i.A.EMPTY);this.sourceZ_=t.getZForResolution(w);let A=this.triangulation_.calculateSourceExtent();if(x&&(e.canWrapX()?(A[1]=(0,c.qE)(A[1],x[1],x[3]),A[3]=(0,c.qE)(A[3],x[1],x[3])):A=(0,l._N)(A,x)),(0,l.UG)(A)){let r=0,n=0;e.canWrapX()&&(r=(0,l.RG)(b),n=Math.floor((A[0]-b[0])/r));(0,l.QJ)(A.slice(),e,!0).forEach(e=>{const i=t.getTileRangeForExtentAndZ(e,this.sourceZ_);for(let e=i.minX;e<=i.maxX;e++)for(let t=i.minY;t<=i.maxY;t++){const i=n*r;this.sourceTiles_.push({getTile:()=>h(this.sourceZ_,e,t,a),offset:i})}++n}),0===this.sourceTiles_.length&&(this.state=i.A.EMPTY)}else this.state=i.A.EMPTY}getImage(){return this.canvas_}reproject_(){const e=[];if(this.sourceTiles_.forEach(t=>{const r=t.tile;if(r&&r.getState()==i.A.LOADED){const n=this.sourceTileGrid_.getTileCoordExtent(r.tileCoord);n[0]+=t.offset,n[2]+=t.offset;const i=this.clipExtent_?.slice();i&&(i[0]+=t.offset,i[2]+=t.offset),e.push({extent:n,clipExtent:i,image:r.getImage()})}}),this.sourceTiles_.length=0,0===e.length)this.state=i.A.ERROR;else{const t=this.wrappedTileCoord_[0],r=this.targetTileGrid_.getTileSize(t),n="number"==typeof r?r:r[0],o="number"==typeof r?r:r[1],s=this.targetTileGrid_.getResolution(t),a=this.sourceTileGrid_.getResolution(this.sourceZ_),l=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=(0,u.XX)(n,o,this.pixelRatio_,a,this.sourceTileGrid_.getExtent(),s,l,this.triangulation_,e,this.gutter_,this.renderEdges_,this.interpolate),this.state=i.A.LOADED}this.changed()}load(){for(const e of this.sourceTiles_)e.tile=e.getTile();if(this.state==i.A.IDLE){this.state=i.A.LOADING,this.changed();let e=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(({tile:t})=>{const r=t.getState();if(r==i.A.IDLE||r==i.A.LOADING){e++;const r=(0,s.KT)(t,a.A.CHANGE,n=>{const o=t.getState();o!=i.A.LOADED&&o!=i.A.ERROR&&o!=i.A.EMPTY||((0,s.JH)(r),e--,0===e&&(this.unlistenSources_(),this.reproject_()))});this.sourcesListenerKeys_.push(r)}}),0===e?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach(function({tile:e},t,r){e.getState()==i.A.IDLE&&e.load()})}}unlistenSources_(){this.sourcesListenerKeys_.forEach(s.JH),this.sourcesListenerKeys_=null}release(){this.canvas_&&((0,o.Yg)(this.canvas_.getContext("2d")),u.BV.push(this.canvas_),this.canvas_=null),this.sourceTiles_.length=0,super.release()}}const p=g},29240(e,t,r){"use strict";r.d(t,{a$:()=>s,b8:()=>i,cq:()=>a,dv:()=>o});var n=r(84763);function i(e){if(void 0!==e)return 0}function o(e){if(void 0!==e)return e}function s(e){const t=2*Math.PI/e;return function(e,r){return r?e:void 0!==e?e=Math.floor(e/t+.5)*t:void 0}}function a(e){const t=void 0===e?(0,n.eh)(5):e;return function(e,r){return r||void 0===e?e:Math.abs(e)<=t?0:e}}},82548(e,t,r){"use strict";function n(e){return e[0]>0&&e[1]>0}function i(e,t,r){return void 0===r&&(r=[0,0]),r[0]=e[0]*t+.5|0,r[1]=e[1]*t+.5|0,r}function o(e,t){return Array.isArray(e)?e:(void 0===t?t=[e,e]:(t[0]=e,t[1]=e),t)}r.d(t,{Ie:()=>n,hs:()=>i,xq:()=>o})},20970(e,t,r){"use strict";var n=r(34150),i=r(44699);class o extends n.A{constructor(e){super(),this.projection=(0,i.Jt)(e.projection),this.attributions_=s(e.attributions),this.attributionsCollapsible_=e.attributionsCollapsible??!0,this.loading=!1,this.state_=void 0!==e.state?e.state:"ready",this.wrapX_=void 0!==e.wrapX&&e.wrapX,this.interpolate_=!!e.interpolate,this.viewResolver=null,this.viewRejector=null;const t=this;this.viewPromise_=new Promise(function(e,r){t.viewResolver=e,t.viewRejector=r})}getAttributions(){return this.attributions_}getAttributionsCollapsible(){return this.attributionsCollapsible_}getProjection(){return this.projection}getResolutions(e){return null}getView(){return this.viewPromise_}ready(){const e=this.getState();return"ready"===e?Promise.resolve():"error"===e?Promise.reject(new Error("Source failed to load")):new Promise((e,t)=>
125{const r=()=>{const n=this.getState();"ready"===n?(this.un("change",r),e()):"error"===n&&(this.un("change",r),t(new Error("Source failed to load")))};this.on("change",r)})}getState(){return this.state_}getWrapX(){return this.wrapX_}getInterpolate(){return this.interpolate_}refresh(){this.changed()}setAttributions(e){this.attributions_=s(e),this.changed()}setState(e){this.state_=e,this.changed()}}function s(e){return e?"function"==typeof e?e:(Array.isArray(e)||(e=[e]),t=>e):null}const a=o;r.d(t,["A",0,a])},29774(e,t,r){"use strict";r.d(t,{A:()=>T});var n=r(99020),i=r(68692),o=r(22075),s=r(53585),a=r(44699),l=r(88756),c=r(28804),u=r(6045),d=r(82548),h=r(28164);function f(e){let t=e.getDefaultTileGrid();return t||(t=function(e,t,r,n){const i=p(e);return function(e,t,r,n){n=void 0!==n?n:"top-left";const i=g(e,t,r);return new h.A({extent:e,origin:(0,u.qF)(e,n),resolutions:i,tileSize:r})}(i,t,r,n)}(e),e.setDefaultTileGrid(t)),t}function g(e,t,r,n){t=void 0!==t?t:42,r=(0,d.xq)(void 0!==r?r:256);const i=(0,u.Oq)(e),o=(0,u.RG)(e);n=n>0?n:Math.max(o/r[0],i/r[1]);const s=t+1,a=new Array(s);for(let e=0;e<s;++e)a[e]=n/Math.pow(2,e);return a}function p(e){let t=(e=(0,a.Jt)(e)).getExtent();if(!t){const r=180*a.Ig.degrees/e.getMetersPerUnit();t=(0,u.N)(-r,-r,r,r)}return t}var m=r(10917),y=r(25800),v=r(30687),x=r(44547),_=r(20970);class b extends _.A{constructor(e){super({attributions:e.attributions,attributionsCollapsible:e.attributionsCollapsible,projection:e.projection,state:e.state,wrapX:e.wrapX,interpolate:e.interpolate}),this.on,this.once,this.un,this.tilePixelRatio_=void 0!==e.tilePixelRatio?e.tilePixelRatio:1,this.tileGrid=void 0!==e.tileGrid?e.tileGrid:null;const t=[256,256];this.tileGrid&&(0,d.xq)(this.tileGrid.getTileSize(this.tileGrid.getMinZoom()),t),this.tmpSize=[0,0],this.key_=e.key||(0,m.v6)(this),this.tileOptions={transition:e.transition,interpolate:e.interpolate},this.zDirection=e.zDirection?e.zDirection:0}getGutterForProjection(e){return 0}getKey(){return this.key_}setKey(e){this.key_!==e&&(this.key_=e,this.changed())}getResolutions(e){const t=e?this.getTileGridForProjection(e):this.tileGrid;return t?t.getResolutions():null}getTile(e,t,r,n,i,o){return(0,m.b0)()}getTileGrid(){return this.tileGrid}getTileGridForProjection(e){return this.tileGrid?this.tileGrid:f(e)}getTilePixelRatio(e){return this.tilePixelRatio_}getTilePixelSize(e,t,r){const n=this.getTileGridForProjection(r),i=this.getTilePixelRatio(t),o=(0,d.xq)(n.getTileSize(e),this.tmpSize);return 1==i?o:(0,d.hs)(o,i,this.tmpSize)}getTileCoordForTileUrlFunction(e,t){const r=void 0!==t?t:this.getProjection(),n=void 0!==t?this.getTileGridForProjection(r):this.tileGrid||this.getTileGridForProjection(r);return this.getWrapX()&&r.isGlobal()&&(e=function(e,t,r){const n=t[0],i=e.getTileCoordCenter(t),o=p(r);if(!(0,u.Ym)(o,i)){const t=(0,u.RG)(o),r=Math.ceil((o[0]-i[0])/t);return i[0]+=t*r,e.getTileCoordForCoordAndZ(i,n)}return t}(n,e,r)),(0,c.N5)(e,n)?e:null}clear(){}refresh(){this.clear(),super.refresh()}}class S extends x.Ay{constructor(e,t){super(e),this.tile=t}}const w=b,k="tileloadstart",A="tileloadend",M="tileloaderror";class C extends w{constructor(e){super({attributions:e.attributions,cacheSize:e.cacheSize,projection:e.projection,state:e.state,tileGrid:e.tileGrid,tilePixelRatio:e.tilePixelRatio,wrapX:e.wrapX,transition:e.transition,interpolate:e.interpolate,key:e.key,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection}),this.generateTileUrlFunction_=this.tileUrlFunction===C.prototype.tileUrlFunction,this.tileLoadFunction=e.tileLoadFunction,e.tileUrlFunction&&(this.tileUrlFunction=e.tileUrlFunction),this.urls=null,e.urls?this.setUrls(e.urls):e.url&&this.setUrl(e.url),this.tileLoadingKeys_={}}getTileLoadFunction(){return this.tileLoadFunction}getTileUrlFunction(){return Object.getPrototypeOf(this).tileUrlFunction===this.tileUrlFunction?this.tileUrlFunction.bind(this):this.tileUrlFunction}getUrls(){return this.urls}handleTileChange(e){const t=e.target,r=(0,m.v6)(t),n=t.getState();let o;n==i.A.LOADING?(this.tileLoadingKeys_[r]=!0,o=k):r in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[r],o=n==i.A.ERROR?M:n==i.A.LOADED?A:void 0),null!=o&&this.dispatchEvent(new S(o,t))}setTileLoadFunction(e){this.tileLoadFunction=e,this.changed()}setTileUrlFunction(e,t){this.tileUrlFunction=e,void 0!==t?this.setKey(t):this.changed()}setUrl(e){const t=(0,v.Uu)(e);this.urls=t,this.setUrls(t)}setUrls(e){this.urls=e;const t=e.join("\n");this.generateTileUrlFunction_?this.setTileUrlFunction((0,y.Qz)(e,this.tileGrid),t):this.setKey(t)}tileUrlFunction(e,t,r){}}const E=C;function R(e,t){if(s.Wl){const r=e.getCrossOrigin();let n="same-origin",i="same-origin";"anonymous"===r||""===r?(n="cors",i="omit"):"use-credentials"===r&&(n="cors",i="include");const o={mode:n,credentials:i,referrerPolicy:e.getReferrerPolicy()};return void fetch(t,o).then(e=>{if(!e.ok)throw new Error(`HTTP ${e.status}`);return e.blob()}).then(e=>createImageBitmap(e)).then(t=>{const r=e.getImage();r.width=t.width,r.height=t.height;r.getContext("2d").drawImage(t,0,0),t.close?.(),r.dispatchEvent(new Event("load"))}).catch(()=>{e.getImage().dispatchEvent(new Event("error"))})}e.getImage().src=t}
125const T=class extends E{constructor(e){super({attributions:e.attributions,cacheSize:e.cacheSize,projection:e.projection,state:e.state,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction?e.tileLoadFunction:R,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX,transition:e.transition,interpolate:void 0===e.interpolate||e.interpolate,key:e.key,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection}),this.crossOrigin=void 0!==e.crossOrigin?e.crossOrigin:null,this.referrerPolicy=e.referrerPolicy,this.tileClass=void 0!==e.tileClass?e.tileClass:n.A,this.tileGridForProjection={},this.reprojectionErrorThreshold_=e.reprojectionErrorThreshold,this.renderReprojectionEdges_=!1}getGutterForProjection(e){return this.getProjection()&&e&&!(0,a.tI)(this.getProjection(),e)?0:this.getGutter()}getGutter(){return 0}getKey(){let e=super.getKey();return this.getInterpolate()||(e+=":disable-interpolation"),e}getTileGridForProjection(e){const t=this.getProjection();if(this.tileGrid&&(!t||(0,a.tI)(t,e)))return this.tileGrid;const r=(0,m.v6)(e);return r in this.tileGridForProjection||(this.tileGridForProjection[r]=f(e)),this.tileGridForProjection[r]}createTile_(e,t,r,n,s,a){const l=[e,t,r],c=this.getTileCoordForTileUrlFunction(l,s),u=c?this.tileUrlFunction(c,n,s):void 0,d=new this.tileClass(l,void 0!==u?i.A.IDLE:i.A.EMPTY,void 0!==u?u:"",{crossOrigin:this.crossOrigin,referrerPolicy:this.referrerPolicy},this.tileLoadFunction,this.tileOptions);return d.key=a,d.addEventListener(o.A.CHANGE,this.handleTileChange.bind(this)),d}getTile(e,t,r,n,i,o){const s=this.getProjection();if(!s||!i||(0,a.tI)(s,i))return this.getTileInternal(e,t,r,n,s||i);const c=[e,t,r],u=this.getKey(),d=this.getTileGridForProjection(s),h=this.getTileGridForProjection(i),f=this.getTileCoordForTileUrlFunction(c,i),g=new l.A(s,d,i,h,c,f,this.getTilePixelRatio(n),this.getGutter(),(e,t,r,n)=>this.getTileInternal(e,t,r,n,s,o),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.tileOptions);return g.key=u,g}getTileInternal(e,t,r,n,i,o){const s=this.getKey(),a=(0,c.et)(this,s,e,t,r);if(o&&o.containsKey(a)){return o.get(a)}const l=this.createTile_(e,t,r,n,i,s);return o?.set(a,l),l}
125setRenderReprojectionEdges(e){this.renderReprojectionEdges_!=e&&(this.renderReprojectionEdges_=e,this.changed())}setTileGridForProjection(e,t){const r=(0,a.Jt)(e);if(r){const e=(0,m.v6)(r);e in this.tileGridForProjection||(this.tileGridForProjection[e]=t)}}}},67466(e,t,r){"use strict";r.d(t,{A:()=>m});var n=r(6045),i=r(84763),o=r(44699),s=r(63711),a=r(14756),l=r(28804),c=r(30687),u=r(29774);const d="1.3.0";function h(e,t,r,n,i){i.WIDTH=r[0],i.HEIGHT=r[1];const o=n.getAxisOrientation(),s=(0,a.Z)(i.VERSION,"1.3")>=0;i[s?"CRS":"SRS"]=n.getCode();const l=s&&o.startsWith("ne")?[t[1],t[0],t[3],t[2]]:t;return i.BBOX=l.join(","),(0,c.LW)(e,i)}function f(e,t,r,o,s,a,l){a=Object.assign({REQUEST:"GetMap"},a);const c=t/r,u=[(0,i.LI)((0,n.RG)(e)/c,4),(0,i.LI)((0,n.Oq)(e)/c,4)];if(1!=r)switch(l){case"geoserver":const e=90*r+.5|0;"FORMAT_OPTIONS"in a?a.FORMAT_OPTIONS+=";dpi:"+e:a.FORMAT_OPTIONS="dpi:"+e;break;case"mapserver":a.MAP_RESOLUTION=90*r;break;case"carmentaserver":case"qgis":a.DPI=90*r;break;default:throw new Error("Unknown `serverType` configured")}return h(s,e,u,o,a)}function g(e,t){return Object.assign({REQUEST:t,SERVICE:"WMS",VERSION:d,FORMAT:"image/png",STYLES:"",TRANSPARENT:"TRUE"},e)}class p extends u.A{constructor(e){e=e||{};const t=Object.assign({},e.params);super({attributions:e.attributions,attributionsCollapsible:e.attributionsCollapsible,cacheSize:e.cacheSize,crossOrigin:e.crossOrigin,interpolate:e.interpolate,projection:e.projection,reprojectionErrorThreshold:e.reprojectionErrorThreshold,tileClass:e.tileClass,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction,url:e.url,urls:e.urls,wrapX:void 0===e.wrapX||e.wrapX,transition:e.transition,zDirection:e.zDirection}),this.gutter_=void 0!==e.gutter?e.gutter:0,this.params_=t,this.v13_=!0,this.serverType_=e.serverType,this.hidpi_=void 0===e.hidpi||e.hidpi,this.tmpExtent_=(0,n.S5)(),this.updateV13_(),this.setKey(this.getKeyForParams_())}getFeatureInfoUrl(e,t,r,i){const a=(0,o.Jt)(r),l=this.getProjection()||a;let c=this.getTileGrid();c||(c=this.getTileGridForProjection(l));const u=(0,o.pd)(e,a,l),d=(0,s.KQ)(l,a,e,t),h=c.getZForResolution(d,this.zDirection),f=c.getResolution(h),p=c.getTileCoordForCoordAndZ(u,h);if(c.getResolutions().length<=p[0])return;let m=c.getTileCoordExtent(p,this.tmpExtent_);const y=this.gutter_;0!==y&&(m=(0,n.r)(m,f*y,m));const v={QUERY_LAYERS:this.params_.LAYERS};Object.assign(v,g(this.params_,"GetFeatureInfo"),i);const x=Math.floor((u[0]-m[0])/f),_=Math.floor((m[3]-u[1])/f);return v[this.v13_?"I":"X"]=x,v[this.v13_?"J":"Y"]=_,this.getRequestUrl_(p,m,1,l||a,v)}getLegendUrl(e,t){if(void 0===this.urls[0])return;const r={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetLegendGraphic",FORMAT:"image/png"};if(void 0===t||void 0===t.LAYER){const e=this.params_.LAYERS;if(!(!Array.isArray(e)||1===e.length))return;r.LAYER=e}if(void 0!==e){const t=this.getProjection()?this.getProjection().getMetersPerUnit():1,n=28e-5;r.SCALE=e*t/n}return Object.assign(r,t),(0,c.LW)(this.urls[0],r)}getGutter(){return this.gutter_}getParams(){return this.params_}getRequestUrl_(e,t,r,n,o){const s=this.urls;if(!s)return;let a;if(1==s.length)a=s[0];else{a=s[(0,i.xP)((0,l.tW)(e),s.length)]}return f(t,(this.tileGrid||this.getTileGridForProjection(n)).getResolution(e[0]),r,n,a,o,this.serverType_)}getTilePixelRatio(e){return this.hidpi_&&void 0!==this.serverType_?e:1}getKeyForParams_(){let e=0;const t=[];for(const r in this.params_)t[e++]=r+"-"+this.params_[r];return t.join("/")}setParams_(e){this.params_=e,this.updateV13_(),this.setKey(this.getKeyForParams_())}setParams(e){this.setParams_(Object.assign({},e))}updateParams(e){this.setParams_(Object.assign(this.params_,e))}updateV13_(){const e=this.params_.VERSION||"1.3.0";this.v13_=(0,a.Z)(e,"1.3")>=0}tileUrlFunction(e,t,r){let i=this.getTileGrid();if(i||(i=this.getTileGridForProjection(r)),i.getResolutions().length<=e[0])return;1==t||this.hidpi_&&void 0!==this.serverType_||(t=1);const o=i.getResolution(e[0]);let s=i.getTileCoordExtent(e,this.tmpExtent_);const a=this.gutter_;0!==a&&(s=(0,n.r)(s,o*a,s));const l=Object.assign({},g(this.params_,"GetMap"));return this.getRequestUrl_(e,s,t,r,l)}}const m=p},17860(e,t,r){"use strict";r.d(t,{A:()=>I});
125var n=r(19209),i=r(20125),o=r(53444),s=r(95052),a=r(5374),l=r(55992),c=r(44547),u=r(22075),d=r(6045);let h=!1;function f(e,t){return function(r,n,i,o,s){!function(e,t,r,n,i,o,s){const a=new XMLHttpRequest;a.open("GET","function"==typeof e?e(r,n,i):e,!0),"arraybuffer"==t.getType()&&(a.responseType="arraybuffer"),a.withCredentials=h,a.onload=function(e){if(!a.status||a.status>=200&&a.status<300){const e=t.getType();try{let n;"text"==e||"json"==e?n=a.responseText:"xml"==e?n=a.responseXML||a.responseText:"arraybuffer"==e&&(n=a.response),n?o(t.readFeatures(n,{extent:r,featureProjection:i}),t.readProjection(n)):s()}catch{s()}}else s()},a.onerror=s,a.send()}(e,t,r,n,i,(e,t)=>{this.addFeatures(e),void 0!==o&&o(e)},()=>{this.changed(),void 0!==s&&s()})}}var g=r(45248);r(44699);function p(e,t){return[[-1/0,-1/0,1/0,1/0]]}var m=r(68640),y=r(21360),v=r(42375),x=r(10917);const _=class{constructor(e){this.rbush_=new v.A(e),this.items_={}}insert(e,t){const r={minX:e[0],minY:e[1],maxX:e[2],maxY:e[3],value:t};this.rbush_.insert(r),this.items_[(0,x.v6)(t)]=r}load(e,t){const r=new Array(t.length);for(let n=0,i=t.length;n<i;n++){const i=e[n],o=t[n],s={minX:i[0],minY:i[1],maxX:i[2],maxY:i[3],value:o};r[n]=s,this.items_[(0,x.v6)(o)]=s}this.rbush_.load(r)}remove(e){const t=(0,x.v6)(e),r=this.items_[t];return delete this.items_[t],null!==this.rbush_.remove(r)}update(e,t){const r=this.items_[(0,x.v6)(t)],n=[r.minX,r.minY,r.maxX,r.maxY];(0,d.aI)(n,e)||(this.remove(t),this.insert(e,t))}getAll(){return this.rbush_.all().map(function(e){return e.value})}getInExtent(e){const t={minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]};return this.rbush_.search(t).map(function(e){return e.value})}forEach(e){return this.forEach_(this.getAll(),e)}forEachInExtent(e,t){return this.forEach_(this.getInExtent(e),t)}forEach_(e,t){let r;for(let n=0,i=e.length;n<i;n++)if(r=t(e[n]),r)return r;return r}isEmpty(){return(0,m.p)(this.items_)}clear(){this.rbush_.clear(),this.items_={}}getExtent(e){const t=this.rbush_.toJSON();return(0,d.N)(t.minX,t.minY,t.maxX,t.maxY,e)}concat(e){this.rbush_.load(e.rbush_.all());for(const t in e.items_)this.items_[t]=e.items_[t]}};var b=r(20970);const S="addfeature",w="changefeature",k="clear",A="removefeature",M="featuresloadstart",C="featuresloadend",E="featuresloaderror";class R extends c.Ay{constructor(e,t,r){super(e),this.feature=t,this.features=r}}class T extends b.A{constructor(e){super({attributions:(e=e||{}).attributions,interpolate:!0,projection:void 0,state:"ready",wrapX:void 0===e.wrapX||e.wrapX}),this.on,this.once,this.un,this.loader_=g.tV,this.format_=e.format||null,this.overlaps_=void 0===e.overlaps||e.overlaps,this.url_=e.url,void 0!==e.loader?this.loader_=e.loader:void 0!==this.url_&&((0,a.v)(this.format_,"`format` must be set when `url` is set"),this.loader_=f(this.url_,this.format_)),this.strategy_=void 0!==e.strategy?e.strategy:p;const t=void 0===e.useSpatialIndex||e.useSpatialIndex;let r,i;this.featuresRtree_=t?new _:null,this.loadedExtentsRtree_=new _,this.nullGeometryFeatures_={},this.idIndex_={},this.uidIndex_={},this.featureChangeKeys_={},this.featuresCollection_=null,Array.isArray(e.features)?i=e.features:e.features&&(r=e.features,i=r.getArray()),t||void 0!==r||(r=new n.A(i)),void 0!==i&&this.addFeaturesInternal(i),void 0!==r&&this.bindFeaturesCollection_(r)}addFeature(e){this.addFeatureInternal(e),this.changed()}addFeatureInternal(e){const t=(0,x.v6)(e);if(!this.addToIndex_(t,e))return void(this.featuresCollection_&&this.featuresCollection_.remove(e));this.setupChangeEvents_(t,e);const r=e.getGeometry();if(r){const t=r.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(t,e)}else this.nullGeometryFeatures_[t]=e;this.dispatchEvent(new R(S,e))}setupChangeEvents_(e,t){t instanceof y.Ay||(this.featureChangeKeys_[e]=[(0,l.KT)(t,u.A.CHANGE,this.handleFeatureChange_,this),(0,l.KT)(t,o.A.PROPERTYCHANGE,this.handleFeatureChange_,this)])}addToIndex_(e,t){let r=!0;if(void 0!==t.getId()){const e=String(t.getId());if(e in this.idIndex_)if(t instanceof y.Ay){const n=this.idIndex_[e];n instanceof y.Ay?Array.isArray(n)?n.push(t):this.idIndex_[e]=[n,t]:r=!1}else r=!1;else this.idIndex_[e]=t}return r&&((0,a.v)(!(e in this.uidIndex_),"The passed `feature` was already added to the source"),this.uidIndex_[e]=t),r}addFeatures(e){this.addFeaturesInternal(e),this.changed()}addFeaturesInternal(e){const t=[],r=[],n=[];for(let t=0,n=e.length;t<n;
125t++){const n=e[t],i=(0,x.v6)(n);this.addToIndex_(i,n)&&r.push(n)}for(let e=0,i=r.length;e<i;e++){const i=r[e],o=(0,x.v6)(i);this.setupChangeEvents_(o,i);const s=i.getGeometry();if(s){const e=s.getExtent();t.push(e),n.push(i)}else this.nullGeometryFeatures_[o]=i}if(this.featuresRtree_&&this.featuresRtree_.load(t,n),this.hasListener(S))for(let e=0,t=r.length;e<t;e++)this.dispatchEvent(new R(S,r[e]))}bindFeaturesCollection_(e){let t=!1;this.addEventListener(S,function(r){t||(t=!0,e.push(r.feature),t=!1)}),this.addEventListener(A,function(r){t||(t=!0,e.remove(r.feature),t=!1)}),e.addEventListener(i.A.ADD,e=>{t||(t=!0,this.addFeature(e.element),t=!1)}),e.addEventListener(i.A.REMOVE,e=>{t||(t=!0,this.removeFeature(e.element),t=!1)}),this.featuresCollection_=e}clear(e){if(e){for(const e in this.featureChangeKeys_){this.featureChangeKeys_[e].forEach(l.JH)}this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_){this.featuresRtree_.forEach(e=>{this.removeFeatureInternal(e)});for(const e in this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[e])}this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};const t=new R(k);this.dispatchEvent(t),this.changed()}forEachFeature(e){if(this.featuresRtree_)return this.featuresRtree_.forEach(e);this.featuresCollection_&&this.featuresCollection_.forEach(e)}forEachFeatureAtCoordinateDirect(e,t){const r=[e[0],e[1],e[0],e[1]];return this.forEachFeatureInExtent(r,function(r){const n=r.getGeometry();if(n instanceof y.Ay||n.intersectsCoordinate(e))return t(r)})}forEachFeatureInExtent(e,t){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(e,t);this.featuresCollection_&&this.featuresCollection_.forEach(t)}forEachFeatureIntersectingExtent(e,t){return this.forEachFeatureInExtent(e,function(r){const n=r.getGeometry();if(n instanceof y.Ay||n.intersectsExtent(e)){const e=t(r);if(e)return e}})}getFeaturesCollection(){return this.featuresCollection_}getFeatures(){let e;return this.featuresCollection_?e=this.featuresCollection_.getArray().slice(0):this.featuresRtree_&&(e=this.featuresRtree_.getAll(),(0,m.p)(this.nullGeometryFeatures_)||(0,s.X$)(e,Object.values(this.nullGeometryFeatures_))),e}getFeaturesAtCoordinate(e){const t=[];return this.forEachFeatureAtCoordinateDirect(e,function(e){t.push(e)}),t}getFeaturesInExtent(e,t){if(this.featuresRtree_){if(!(t&&t.canWrapX()&&this.getWrapX()))return this.featuresRtree_.getInExtent(e);const r=(0,d.QJ)(e,t);return[].concat(...r.map(e=>this.featuresRtree_.getInExtent(e)))}return this.featuresCollection_?this.featuresCollection_.getArray().slice(0):[]}getClosestFeatureToCoordinate(e,t){const r=e[0],n=e[1];let i=null;const o=[NaN,NaN];let s=1/0;const a=[-1/0,-1/0,1/0,1/0];return t=t||g.rT,this.featuresRtree_.forEachInExtent(a,function(e){if(t(e)){const t=e.getGeometry(),l=s;if(s=t instanceof y.Ay?0:t.closestPointXY(r,n,o,s),s<l){i=e;const t=Math.sqrt(s);a[0]=r-t,a[1]=n-t,a[2]=r+t,a[3]=n+t}}}),i}getExtent(e){return this.featuresRtree_?.getExtent(e)??null}getFeatureById(e){const t=this.idIndex_[e.toString()];return void 0!==t?t:null}getFeatureByUid(e){const t=this.uidIndex_[e];return void 0!==t?t:null}getFormat(){return this.format_}getOverlaps(){return this.overlaps_}getUrl(){return this.url_}handleFeatureChange_(e){const t=e.target,r=(0,x.v6)(t),n=t.getGeometry();if(n){const e=n.getExtent();r in this.nullGeometryFeatures_?(delete this.nullGeometryFeatures_[r],this.featuresRtree_&&this.featuresRtree_.insert(e,t)):this.featuresRtree_&&this.featuresRtree_.update(e,t)}else r in this.nullGeometryFeatures_||(this.featuresRtree_&&this.featuresRtree_.remove(t),this.nullGeometryFeatures_[r]=t);const i=t.getId();if(void 0!==i){const e=i.toString();this.idIndex_[e]!==t&&(this.removeFromIdIndex_(t),this.idIndex_[e]=t)}else this.removeFromIdIndex_(t),this.uidIndex_[r]=t;this.changed(),this.dispatchEvent(new R(w,t))}hasFeature(e){const t=e.getId();if(void 0!==t){const r=this.idIndex_[String(t)];return Array.isArray(r)?r.includes(e):r===e}return(0,x.v6)(e)in this.uidIndex_}isEmpty(){return this.featuresRtree_?this.featuresRtree_.isEmpty()&&(0,m.p)(this.nullGeometryFeatures_):!this.featuresCollection_||0===this.featuresCollection_.getLength()}loadFeatures(e,t,r){const n=this.loadedExtentsRtree_,i=this.strategy_(e,t,r);for(let e=0,o=i.length;e<o;++e){const o=i[e];if(!n.forEachInExtent(o,function(e){return(0,d.ms)(e.extent,o)})){this.loading=Number(this.loading)+1,this.dispatchEvent(new R(M));const e=e=>{this.loading=Number(this.loading)-1,this.dispatchEvent(new R(C,void 0,e))},i=()=>{this.changed(),this.loading=Number(this.loading)-1,this.dispatchEvent(new R(E))};let s=!1;const a=this.loader_.call(this,o,t,r,t=>s||e(t),()=>s||i());a instanceof Promise?(s=!0,a.then(t=>{this.addFeatures(t),e(t)}).catch(i)):this.loader_.length<4&&(this.loading=!1),n.insert(o,{extent:o.slice()})}}}refresh(){this.clear(!0),this.loadedExtentsRtree_.clear(),super.refresh()}removeLoadedExtent(e){const t=this.loadedExtentsRtree_,r=[];t.forEachInExtent(e,function(e){r.push(e)}),r.forEach(r=>{t.remove(r);const n=(0,d.wB)(r.extent,e);for(const e of n)t.insert(e,{extent:e})})}removeFeatures(e){let t=!1;for(let r=0,n=e.length;r<n;++r)t=this.removeFeatureInternal(e[r])||t;t&&this.changed()}
125removeFeature(e){if(!e)return;this.removeFeatureInternal(e)&&this.changed()}removeFeatureInternal(e){const t=(0,x.v6)(e);if(!(t in this.uidIndex_))return!1;t in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[t]:this.featuresRtree_&&this.featuresRtree_.remove(e);const r=this.featureChangeKeys_[t];r?.forEach(l.JH),delete this.featureChangeKeys_[t];const n=e.getId();if(void 0!==n){const t=n.toString(),r=this.idIndex_[t];r===e?delete this.idIndex_[t]:Array.isArray(r)&&(r.splice(r.indexOf(e),1),1===r.length&&(this.idIndex_[t]=r[0]))}return delete this.uidIndex_[t],this.hasListener(A)&&this.dispatchEvent(new R(A,e)),!0}removeFromIdIndex_(e){for(const t in this.idIndex_)if(this.idIndex_[t]===e){delete this.idIndex_[t];break}}setLoader(e){this.loader_=e}setUrl(e){(0,a.v)(this.format_,"`format` must be set when `url` is set"),this.url_=e,this.setLoader(f(e,this.format_))}setOverlaps(e){this.overlaps_=e,this.changed()}}const I=T},14756(e,t,r){"use strict";function n(e,t,r){const n=void 0!==r?e.toFixed(r):""+e;let i=n.indexOf(".");return i=-1===i?n.length:i,i>t?n:new Array(1+t-i).join("0")+n}function i(e,t){const r=(""+e).split("."),n=(""+t).split(".");for(let e=0;e<Math.max(r.length,n.length);e++){const t=parseInt(r[e]||"0",10),i=parseInt(n[e]||"0",10);if(t>i)return 1;if(i>t)return-1}return 0}r.d(t,{H:()=>n,Z:()=>i})},49383(e,t,r){"use strict";var n=r(92758);class i extends n.A{constructor(e){super({points:1/0,fill:(e=e||{radius:5}).fill,radius:e.radius,stroke:e.stroke,scale:void 0!==e.scale?e.scale:1,rotation:void 0!==e.rotation?e.rotation:0,rotateWithView:void 0!==e.rotateWithView&&e.rotateWithView,displacement:void 0!==e.displacement?e.displacement:[0,0],declutterMode:e.declutterMode})}clone(){const e=this.getScale(),t=new i({fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,radius:this.getRadius(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return t.setOpacity(this.getOpacity()),t}}const o=i;r.d(t,["A",0,o])},20310(e,t,r){"use strict";var n=r(54987),i=r(61162),o=r(10917),s=r(95325);class a{constructor(e){e=e||{},this.patternImage_=null,this.color_=null,void 0!==e.color&&this.setColor(e.color)}clone(){const e=this.getColor();return new a({color:Array.isArray(e)?e.slice():e||void 0})}getColor(){return this.color_}setColor(e){if(null!==e&&"object"==typeof e&&"src"in e){const t=(0,s.J)(null,e.src,{crossOrigin:"anonymous"},void 0,e.offset?null:e.color?e.color:null,!(e.offset&&e.size));t.ready().then(()=>{this.patternImage_=null}),t.getImageState()===n.A.IDLE&&t.load(),t.getImageState()===n.A.LOADING&&(this.patternImage_=t)}this.color_=e}getKey(){const e=this.getColor();return e?e instanceof CanvasPattern||e instanceof CanvasGradient?(0,o.v6)(e):"object"==typeof e&&"src"in e?e.src+":"+e.offset:(0,i._j)(e).toString():""}loading(){return!!this.patternImage_}ready(){return this.patternImage_?this.patternImage_.ready():Promise.resolve()}}const l=a;r.d(t,["A",0,l])},23894(e,t,r){"use strict";var n=r(54987),i=r(5374),o=r(61162),s=r(22075),a=r(10917),l=r(95325),c=r(55034);function u(e,t,r,n){return void 0!==r&&void 0!==n?[r/e,n/t]:void 0!==r?r/e:void 0!==n?n/t:1}class d extends c.A{constructor(e){const t=void 0!==(e=e||{}).opacity?e.opacity:1,r=void 0!==e.rotation?e.rotation:0,s=void 0!==e.scale?e.scale:1,c=void 0!==e.rotateWithView&&e.rotateWithView;super({opacity:t,rotation:r,scale:s,displacement:void 0!==e.displacement?e.displacement:[0,0],rotateWithView:c,declutterMode:e.declutterMode}),this.anchor_=void 0!==e.anchor?e.anchor:[.5,.5],this.normalizedAnchor_=null,this.anchorOrigin_=void 0!==e.anchorOrigin?e.anchorOrigin:"top-left",this.anchorXUnits_=void 0!==e.anchorXUnits?e.anchorXUnits:"fraction",this.anchorYUnits_=void 0!==e.anchorYUnits?e.anchorYUnits:"fraction",this.crossOrigin_=void 0!==e.crossOrigin?e.crossOrigin:null,this.referrerPolicy_=e.referrerPolicy;const d=void 0!==e.img?e.img:null;let h,f=e.src;if((0,i.v)(!(void 0!==f&&d),"`image` and `src` cannot be provided at the same time"),void 0!==f&&0!==f.length||!d||(f=d.src||(0,a.v6)(d)),(0,i.v)(void 0!==f&&f.length>0,"A defined and non-empty `src` or `image` must be provided"),(0,i.v)(!((void 0!==e.width||void 0!==e.height)&&void 0!==e.scale),"`width` or `height` cannot be provided together with `scale`"),void 0!==e.src?h=n.A.IDLE:void 0!==d&&(h="complete"in d?d.complete?d.src?n.A.LOADED:n.A.IDLE:n.A.LOADING:n.A.LOADED),this.color_=void 0!==e.color?(0,o._j)(e.color):null,this.iconImage_=(0,l.J)(d,f,{crossOrigin:this.crossOrigin_,referrerPolicy:this.referrerPolicy_},h,this.color_),this.offset_=void 0!==e.offset?e.offset:[0,0],this.offsetOrigin_=void 0!==e.offsetOrigin?e.offsetOrigin:"top-left",this.origin_=null,this.size_=void 0!==e.size?e.size:null,this.initialOptions_,void 0!==e.width||void 0!==e.height){let t,r;if(e.size)[t,r]=e.size;else{const n=this.getImage(1);if(n.width&&n.height)t=n.width,r=n.height;else if(n instanceof HTMLImageElement){this.initialOptions_=e;
125const t=()=>{if(this.unlistenImageChange(t),!this.initialOptions_)return;const r=this.iconImage_.getSize();this.setScale(u(r[0],r[1],e.width,e.height))};return void this.listenImageChange(t)}}void 0!==t&&this.setScale(u(t,r,e.width,e.height))}}clone(){let e,t,r;return this.initialOptions_?(t=this.initialOptions_.width,r=this.initialOptions_.height):(e=this.getScale(),e=Array.isArray(e)?e.slice():e),new d({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,crossOrigin:this.crossOrigin_,referrerPolicy:this.referrerPolicy_,offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,opacity:this.getOpacity(),rotateWithView:this.getRotateWithView(),rotation:this.getRotation(),scale:e,width:t,height:r,size:null!==this.size_?this.size_.slice():void 0,src:this.getSrc(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getAnchor(){let e=this.normalizedAnchor_;if(!e){e=this.anchor_;const t=this.getSize();if("fraction"==this.anchorXUnits_||"fraction"==this.anchorYUnits_){if(!t)return null;e=this.anchor_.slice(),"fraction"==this.anchorXUnits_&&(e[0]*=t[0]),"fraction"==this.anchorYUnits_&&(e[1]*=t[1])}if("top-left"!=this.anchorOrigin_){if(!t)return null;e===this.anchor_&&(e=this.anchor_.slice()),"top-right"!=this.anchorOrigin_&&"bottom-right"!=this.anchorOrigin_||(e[0]=-e[0]+t[0]),"bottom-left"!=this.anchorOrigin_&&"bottom-right"!=this.anchorOrigin_||(e[1]=-e[1]+t[1])}this.normalizedAnchor_=e}const t=this.getDisplacement(),r=this.getScaleArray();return[e[0]-t[0]/r[0],e[1]+t[1]/r[1]]}setAnchor(e){this.anchor_=e,this.normalizedAnchor_=null}getColor(){return this.color_}setColor(e){const t=e?(0,o._j)(e):null;if(this.color_===t||this.color_&&t&&this.color_.length===t.length&&this.color_.every((e,r)=>e===t[r]))return;this.color_=t;const r=this.getSrc(),i=void 0!==r?null:this.getHitDetectionImage(),s=void 0!==r?n.A.IDLE:this.iconImage_.getImageState();this.iconImage_=(0,l.J)(i,r,{crossOrigin:this.crossOrigin_,referrerPolicy:this.referrerPolicy_},s,this.color_)}getImage(e){return this.iconImage_.getImage(e)}getPixelRatio(e){return this.iconImage_.getPixelRatio(e)}getImageSize(){return this.iconImage_.getSize()}getImageState(){return this.iconImage_.getImageState()}getHitDetectionImage(){return this.iconImage_.getHitDetectionImage()}getOrigin(){if(this.origin_)return this.origin_;let e=this.offset_;if("top-left"!=this.offsetOrigin_){const t=this.getSize(),r=this.iconImage_.getSize();if(!t||!r)return null;e=e.slice(),"top-right"!=this.offsetOrigin_&&"bottom-right"!=this.offsetOrigin_||(e[0]=r[0]-t[0]-e[0]),"bottom-left"!=this.offsetOrigin_&&"bottom-right"!=this.offsetOrigin_||(e[1]=r[1]-t[1]-e[1])}return this.origin_=e,this.origin_}getSrc(){return this.iconImage_.getSrc()}setSrc(e){this.iconImage_=(0,l.J)(null,e,{crossOrigin:this.crossOrigin_,referrerPolicy:this.referrerPolicy_},n.A.IDLE,this.color_)}getSize(){return this.size_?this.size_:this.iconImage_.getSize()}getWidth(){const e=this.getScaleArray();return this.size_?this.size_[0]*e[0]:this.iconImage_.getImageState()==n.A.LOADED?this.iconImage_.getSize()[0]*e[0]:void 0}getHeight(){const e=this.getScaleArray();return this.size_?this.size_[1]*e[1]:this.iconImage_.getImageState()==n.A.LOADED?this.iconImage_.getSize()[1]*e[1]:void 0}setScale(e){delete this.initialOptions_,super.setScale(e)}listenImageChange(e){this.iconImage_.addEventListener(s.A.CHANGE,e)}load(){this.iconImage_.load()}unlistenImageChange(e){this.iconImage_.removeEventListener(s.A.CHANGE,e)}ready(){return this.iconImage_.ready()}}const h=d;r.d(t,["A",0,h])},95325(e,t,r){"use strict";r.d(t,{J:()=>h});var n=r(41640),i=r(54987),o=r(61162),s=r(69677),a=r(22075),l=r(64430),c=r(91127);let u=null;class d extends l.A{constructor(e,t,r,n,o){super(),this.hitDetectionImage_=null,this.image_=e,this.crossOrigin_=r?.crossOrigin,this.referrerPolicy_=r?.referrerPolicy,this.canvas_={},this.color_=o,this.imageState_=void 0===n?i.A.IDLE:n,this.size_=e&&e.width&&e.height?[e.width,e.height]:null,this.src_=t,this.tainted_,this.ready_=null}initializeImage_(){this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_),void 0!==this.referrerPolicy_&&(this.image_.referrerPolicy=this.referrerPolicy_)}isTainted_(){if(void 0===this.tainted_&&this.imageState_===i.A.LOADED){u||(u=(0,s.Y)(1,1,void 0,{willReadFrequently:!0}
125)),u.drawImage(this.image_,0,0);try{u.getImageData(0,0,1,1),this.tainted_=!1}catch{u=null,this.tainted_=!0}}return!0===this.tainted_}dispatchChangeEvent_(){this.dispatchEvent(a.A.CHANGE)}handleImageError_(){this.imageState_=i.A.ERROR,this.dispatchChangeEvent_()}handleImageLoad_(){this.imageState_=i.A.LOADED,this.size_=[this.image_.width,this.image_.height],this.dispatchChangeEvent_()}getImage(e){return this.image_||this.initializeImage_(),this.replaceColor_(e),this.canvas_[e]?this.canvas_[e]:this.image_}setImage(e){this.image_=e}getPixelRatio(e){return this.replaceColor_(e),this.canvas_[e]?e:1}getImageState(){return this.imageState_}getHitDetectionImage(){if(this.image_||this.initializeImage_(),!this.hitDetectionImage_)if(this.isTainted_()){const e=this.size_[0],t=this.size_[1],r=(0,s.Y)(e,t);r.fillRect(0,0,e,t),this.hitDetectionImage_=r.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_}getSize(){return this.size_}getSrc(){return this.src_}load(){if(this.imageState_===i.A.IDLE){this.image_||this.initializeImage_(),this.imageState_=i.A.LOADING;try{void 0!==this.src_&&(this.image_.src=this.src_)}catch{this.handleImageError_()}this.image_ instanceof HTMLImageElement&&(0,n.RA)(this.image_,this.src_).then(e=>{this.image_=e,this.handleImageLoad_()}).catch(this.handleImageError_.bind(this))}}replaceColor_(e){if(!this.color_||this.canvas_[e]||this.imageState_!==i.A.LOADED)return;const t=this.image_,r=(0,s.Y)(Math.ceil(t.width*e),Math.ceil(t.height*e)),n=r.canvas;r.scale(e,e),r.drawImage(t,0,0),r.globalCompositeOperation="multiply",r.fillStyle=(0,o.oJ)(this.color_),r.fillRect(0,0,n.width/e,n.height/e),r.globalCompositeOperation="destination-in",r.drawImage(t,0,0),this.canvas_[e]=n}ready(){return this.ready_||(this.ready_=new Promise(e=>{if(this.imageState_===i.A.LOADED||this.imageState_===i.A.ERROR)e();else{const t=()=>{this.imageState_!==i.A.LOADED&&this.imageState_!==i.A.ERROR||(this.removeEventListener(a.A.CHANGE,t),e())};this.addEventListener(a.A.CHANGE,t)}})),this.ready_}}function h(e,t,r,n,i,o){let s=void 0===t?void 0:c.ue.get(t,i);return s||(s=new d(e,e&&"src"in e?e.src||void 0:t,r,n,i),c.ue.set(t,i,s,o)),o&&s&&!c.ue.getPattern(t,i)&&c.ue.set(t,i,s,o),s}const f=d;r.d(t,["A",0,f])},91127(e,t,r){"use strict";var n=r(54987),i=r(61162),o=r(69677);class s{constructor(){this.cache_={},this.patternCache_={},this.cacheSize_=0,this.maxCacheSize_=1024}clear(){this.cache_={},this.patternCache_={},this.cacheSize_=0}canExpireCache(){return this.cacheSize_>this.maxCacheSize_}expire(){if(this.canExpireCache()){let e=0;for(const t in this.cache_){const r=this.cache_[t];3&e++||r.hasListener()||(delete this.cache_[t],delete this.patternCache_[t],--this.cacheSize_)}}}get(e,t){const r=a(e,t);return r in this.cache_?this.cache_[r]:null}getPattern(e,t){const r=a(e,t);return r in this.patternCache_?this.patternCache_[r]:null}set(e,t,r,i){const s=a(e,t),l=s in this.cache_;this.cache_[s]=r,i&&(r.getImageState()===n.A.IDLE&&r.load(),r.getImageState()===n.A.LOADING?r.ready().then(()=>{this.patternCache_[s]=(0,o.lr)().createPattern(r.getImage(1),"repeat")}):this.patternCache_[s]=(0,o.lr)().createPattern(r.getImage(1),"repeat")),l||++this.cacheSize_}setSize(e){this.maxCacheSize_=e,this.expire()}}function a(e,t){return e+":"+(t?(0,i._j)(t):"null")}const l=new s;r.d(t,["ue",0,l])},55034(e,t,r){"use strict";var n=r(82548),i=r(10917);class o{constructor(e){this.opacity_=e.opacity,this.rotateWithView_=e.rotateWithView,this.rotation_=e.rotation,this.scale_=e.scale,this.scaleArray_=(0,n.xq)(e.scale),this.displacement_=e.displacement,this.declutterMode_=e.declutterMode}clone(){const e=this.getScale();return new o({opacity:this.getOpacity(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getOpacity(){return this.opacity_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getDisplacement(){return this.displacement_}getDeclutterMode(){return this.declutterMode_}getAnchor(){return(0,i.b0)()}getImage(e){return(0,i.b0)()}getHitDetectionImage(){return(0,i.b0)()}getPixelRatio(e){return 1}getImageState(){return(0,i.b0)()}getImageSize(){return(0,i.b0)()}getOrigin(){return(0,i.b0)()}getSize(){return(0,i.b0)()}setDisplacement(e){this.displacement_=e}setOpacity(e){this.opacity_=e}setRotateWithView(e){this.rotateWithView_=e}setRotation(e){this.rotation_=e}setScale(e){this.scale_=e,this.scaleArray_=(0,n.xq)(e)}listenImageChange(e){(0,i.b0)()}load(){(0,i.b0)()}unlistenImageChange(e){(0,i.b0)()}ready(){return Promise.resolve()}}const s=o;r.d(t,["A",0,s])},92758(e,t,r){"use strict";
125var n=r(54987),i=r(61162),o=r(14837),s=r(69677),a=r(95325),l=r(91127),c=r(55034);class u extends c.A{constructor(e){super({opacity:1,rotateWithView:void 0!==e.rotateWithView&&e.rotateWithView,rotation:void 0!==e.rotation?e.rotation:0,scale:void 0!==e.scale?e.scale:1,displacement:void 0!==e.displacement?e.displacement:[0,0],declutterMode:e.declutterMode}),this.hitDetectionCanvas_=null,this.fill_=void 0!==e.fill?e.fill:null,this.origin_=[0,0],this.points_=e.points,this.radius=e.radius,this.radius2_=e.radius2,this.angle_=void 0!==e.angle?e.angle:0,this.stroke_=void 0!==e.stroke?e.stroke:null,this.size_,this.renderOptions_,this.imageState_=this.fill_&&this.fill_.loading()?n.A.LOADING:n.A.LOADED,this.imageState_===n.A.LOADING&&this.ready().then(()=>this.imageState_=n.A.LOADED),this.render()}clone(){const e=this.getScale(),t=new u({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(e)?e.slice():e,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return t.setOpacity(this.getOpacity()),t}getAnchor(){const e=this.size_,t=this.getDisplacement(),r=this.getScaleArray();return[e[0]/2-t[0]/r[0],e[1]/2+t[1]/r[1]]}getAngle(){return this.angle_}getFill(){return this.fill_}setFill(e){this.fill_=e,this.render()}getHitDetectionImage(){return this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.createHitDetectionCanvas_(this.renderOptions_)),this.hitDetectionCanvas_}getImage(e){const t=this.fill_?.getKey(),r=`${e},${this.angle_},${this.radius},${this.radius2_},${this.points_},${t}`+Object.values(this.renderOptions_).join(",");let i=l.ue.get(r,null)?.getImage(1);if(!i){const t=this.renderOptions_,o=Math.ceil(t.size*e),c=(0,s.Y)(o,o);this.draw_(t,c,e),i=c.canvas;const u=new a.A(i,void 0,null,n.A.LOADED,null);l.ue.set(r,null,u),createImageBitmap(i).then(e=>{u.setImage(e)})}return i}getPixelRatio(e){return e}getImageSize(){return this.size_}getImageState(){return this.imageState_}getOrigin(){return this.origin_}getPoints(){return this.points_}getRadius(){return this.radius}setRadius(e){this.radius!==e&&(this.radius=e,this.render())}getRadius2(){return this.radius2_}setRadius2(e){this.radius2_!==e&&(this.radius2_=e,this.render())}getSize(){return this.size_}getStroke(){return this.stroke_}setStroke(e){this.stroke_=e,this.render()}listenImageChange(e){}load(){}unlistenImageChange(e){}calculateLineJoinSize_(e,t,r){if(0===t||this.points_===1/0||"bevel"!==e&&"miter"!==e)return t;let n=this.radius,i=void 0===this.radius2_?n:this.radius2_;if(n<i){const e=n;n=i,i=e}const o=void 0===this.radius2_?this.points_:2*this.points_,s=2*Math.PI/o,a=i*Math.sin(s),l=n-Math.sqrt(i*i-a*a),c=Math.sqrt(a*a+l*l),u=c/a;if("miter"===e&&u<=r)return u*t;const d=t/2/u,h=t/2*(l/c),f=Math.sqrt((n+d)*(n+d)+h*h)-n;if(void 0===this.radius2_||"bevel"===e)return 2*f;const g=n*Math.sin(s),p=i-Math.sqrt(n*n-g*g),m=Math.sqrt(g*g+p*p)/g;if(m<=r){const e=m*t/2-i-n;return 2*Math.max(f,e)}return 2*f}createRenderOptions(){let e,t="round",r="round",n=0,i=null,s=0,a=0;this.stroke_&&(e=(0,o.F)(this.stroke_.getColor()??"#000"),a=this.stroke_.getWidth()??1,i=this.stroke_.getLineDash(),s=this.stroke_.getLineDashOffset()??0,r=this.stroke_.getLineJoin()??"round",t=this.stroke_.getLineCap()??"round",n=this.stroke_.getMiterLimit()??10);const l=this.calculateLineJoinSize_(r,a,n),c=Math.max(this.radius,this.radius2_||0);return{strokeStyle:e,strokeWidth:a,size:Math.ceil(2*c+l),lineCap:t,lineDash:i,lineDashOffset:s,lineJoin:r,miterLimit:n}}render(){this.renderOptions_=this.createRenderOptions();const e=this.renderOptions_.size;this.hitDetectionCanvas_=null,this.size_=[e,e]}draw_(e,t,r){if(t.scale(r,r),t.translate(e.size/2,e.size/2),this.createPath_(t),this.fill_){let e=this.fill_.getColor();null===e&&(e="#000"),t.fillStyle=(0,o.F)(e),t.fill()}e.strokeStyle&&(t.strokeStyle=e.strokeStyle,t.lineWidth=e.strokeWidth,e.lineDash&&(t.setLineDash(e.lineDash),t.lineDashOffset=e.lineDashOffset),t.lineCap=e.lineCap,t.lineJoin=e.lineJoin,t.miterLimit=e.miterLimit,t.stroke())}createHitDetectionCanvas_(e){let t;if(this.fill_){let r=this.fill_.getColor(),n=0;"string"==typeof r&&(r=(0,i._j)(r)),null===r?n=1:Array.isArray(r)&&(n=4===r.length?r[3]:1),0===n&&(t=(0,s.Y)(e.size,e.size),this.drawHitDetectionCanvas_(e,t))}return t?t.canvas:this.getImage(1)}createPath_(e){let t=this.points_;const r=this.radius;if(t===1/0)e.arc(0,0,r,0,2*Math.PI);else{const n=void 0===this.radius2_?r:this.radius2_;void 0!==this.radius2_&&(t*=2);const i=this.angle_-Math.PI/2,o=2*Math.PI/t;for(let s=0;s<t;s++){const t=i+s*o,a=s%2==0?r:n;e.lineTo(a*Math.cos(t),a*Math.sin(t))}e.closePath()}}drawHitDetectionCanvas_(e,t){t.translate(e.size/2,e.size/2),this.createPath_(t),t.fillStyle="#000",t.fill(),e.strokeStyle&&(t.strokeStyle=e.strokeStyle,t.lineWidth=e.strokeWidth,e.lineDash&&(t.setLineDash(e.lineDash),t.lineDashOffset=e.lineDashOffset),t.lineJoin=e.lineJoin,t.miterLimit=e.miterLimit,t.stroke())}ready(){return this.fill_?this.fill_.ready():Promise.resolve()}}const d=u;r.d(t,["A",0,d])},41119(e,t,r){"use strict";class n{constructor(e){e=e||{},this.color_=void 0!==e.color?e.color:null,this.lineCap_=e.lineCap,this.lineDash_=void 0!==e.lineDash?e.lineDash:null,this.lineDashOffset_=e.lineDashOffset,this.lineJoin_=e.lineJoin,this.miterLimit_=e.miterLimit,this.offset_=e.offset,this.width_=e.width}clone(){const e=this.getColor();return new n({color:Array.isArray(e)?e.slice():e||void 0,lineCap:this.getLineCap(),lineDash:this.getLineDash()?this.getLineDash().slice():void 0,lineDashOffset:this.getLineDashOffset(),lineJoin:this.getLineJoin(),miterLimit:this.getMiterLimit(),offset:this.getOffset(),width:this.getWidth()})}getColor(){return this.color_}getLineCap(){return this.lineCap_}getLineDash(){return this.lineDash_}getLineDashOffset(){return this.lineDashOffset_}getLineJoin(){return this.lineJoin_}getMiterLimit(){return this.miterLimit_}getOffset(){return this.offset_}getWidth(){return this.width_}setColor(e){this.color_=e}setLineCap(e){this.lineCap_=e}setLineDash(e){this.lineDash_=e}setLineDashOffset(e){this.lineDashOffset_=e}setLineJoin(e){this.lineJoin_=e}setMiterLimit(e){this.miterLimit_=e}setOffset(e){this.offset_=e}setWidth(e){this.width_=e}}const i=n;r.d(t,["A",0,i])},66178(e,t,r){"use strict";r.d(t,{d1:()=>u,mC:()=>l});
125var n=r(5374),i=r(49383),o=r(20310),s=r(41119);class a{constructor(e){e=e||{},this.geometry_=null,this.geometryFunction_=d,void 0!==e.geometry&&this.setGeometry(e.geometry),this.fill_=void 0!==e.fill?e.fill:null,this.image_=void 0!==e.image?e.image:null,this.renderer_=void 0!==e.renderer?e.renderer:null,this.hitDetectionRenderer_=void 0!==e.hitDetectionRenderer?e.hitDetectionRenderer:null,this.stroke_=void 0!==e.stroke?e.stroke:null,this.text_=void 0!==e.text?e.text:null,this.zIndex_=e.zIndex}clone(){let e=this.getGeometry();return e&&"object"==typeof e&&(e=e.clone()),new a({geometry:e??void 0,fill:this.getFill()?this.getFill().clone():void 0,image:this.getImage()?this.getImage().clone():void 0,renderer:this.getRenderer()??void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,text:this.getText()?this.getText().clone():void 0,zIndex:this.getZIndex()})}getRenderer(){return this.renderer_}setRenderer(e){this.renderer_=e}setHitDetectionRenderer(e){this.hitDetectionRenderer_=e}getHitDetectionRenderer(){return this.hitDetectionRenderer_}getGeometry(){return this.geometry_}getGeometryFunction(){return this.geometryFunction_}getFill(){return this.fill_}setFill(e){this.fill_=e}getImage(){return this.image_}setImage(e){this.image_=e}getStroke(){return this.stroke_}setStroke(e){this.stroke_=e}getText(){return this.text_}setText(e){this.text_=e}getZIndex(){return this.zIndex_}setGeometry(e){"function"==typeof e?this.geometryFunction_=e:"string"==typeof e?this.geometryFunction_=function(t){return t.get(e)}:e?void 0!==e&&(this.geometryFunction_=function(){return e}):this.geometryFunction_=d,this.geometry_=e}setZIndex(e){this.zIndex_=e}}function l(e){let t;if("function"==typeof e)t=e;else{let r;if(Array.isArray(e))r=e;else{(0,n.v)("function"==typeof e.getZIndex,"Expected an `Style` or an array of `Style`");r=[e]}t=function(){return r}}return t}let c=null;function u(e,t){if(!c){const e=new o.A({color:"rgba(255,255,255,0.4)"}),t=new s.A({color:"#3399CC",width:1.25});c=[new a({image:new i.A({fill:e,stroke:t,radius:5}),fill:e,stroke:t})]}return c}function d(e){return e.getGeometry()}const h=a;r.d(t,["Ay",0,h])},84848(e,t,r){"use strict";var n=r(82548),i=r(20310);class o{constructor(e){e=e||{},this.font_=e.font,this.rotation_=e.rotation,this.rotateWithView_=e.rotateWithView,this.keepUpright_=e.keepUpright,this.scale_=e.scale,this.scaleArray_=(0,n.xq)(void 0!==e.scale?e.scale:1),this.text_=e.text,this.textAlign_=e.textAlign,this.justify_=e.justify,this.repeat_=e.repeat,this.textBaseline_=e.textBaseline,this.fill_=void 0!==e.fill?e.fill:new i.A({color:"#333"}),this.maxAngle_=void 0!==e.maxAngle?e.maxAngle:Math.PI/4,this.placement_=void 0!==e.placement?e.placement:"point",this.overflow_=!!e.overflow,this.stroke_=void 0!==e.stroke?e.stroke:null,this.offsetX_=void 0!==e.offsetX?e.offsetX:0,this.offsetY_=void 0!==e.offsetY?e.offsetY:0,this.backgroundFill_=e.backgroundFill?e.backgroundFill:null,this.backgroundStroke_=e.backgroundStroke?e.backgroundStroke:null,this.padding_=void 0===e.padding?null:e.padding,this.declutterMode_=e.declutterMode}clone(){const e=this.getScale();return new o({font:this.getFont(),placement:this.getPlacement(),repeat:this.getRepeat(),maxAngle:this.getMaxAngle(),overflow:this.getOverflow(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),keepUpright:this.getKeepUpright(),scale:Array.isArray(e)?e.slice():e,text:this.getText(),textAlign:this.getTextAlign(),justify:this.getJustify(),textBaseline:this.getTextBaseline(),fill:this.getFill()instanceof i.A?this.getFill().clone():this.getFill(),stroke:this.getStroke()?this.getStroke().clone():void 0,offsetX:this.getOffsetX(),offsetY:this.getOffsetY(),backgroundFill:this.getBackgroundFill()?this.getBackgroundFill().clone():void 0,backgroundStroke:this.getBackgroundStroke()?this.getBackgroundStroke().clone():void 0,padding:this.getPadding()||void 0,declutterMode:this.getDeclutterMode()})}getOverflow(){return this.overflow_}getFont(){return this.font_}getMaxAngle(){return this.maxAngle_}getPlacement(){return this.placement_}getRepeat(){return this.repeat_}getOffsetX(){return this.offsetX_}getOffsetY(){return this.offsetY_}getFill(){return this.fill_}getRotateWithView(){return this.rotateWithView_}getKeepUpright(){return this.keepUpright_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getStroke(){return this.stroke_}getText(){return this.text_}getTextAlign(){return this.textAlign_}getJustify(){return this.justify_}getTextBaseline(){return this.textBaseline_}
125getBackgroundFill(){return this.backgroundFill_}getBackgroundStroke(){return this.backgroundStroke_}getPadding(){return this.padding_}getDeclutterMode(){return this.declutterMode_}setOverflow(e){this.overflow_=e}setFont(e){this.font_=e}setMaxAngle(e){this.maxAngle_=e}setOffsetX(e){this.offsetX_=e}setOffsetY(e){this.offsetY_=e}setPlacement(e){this.placement_=e}setRepeat(e){this.repeat_=e}setRotateWithView(e){this.rotateWithView_=e}setKeepUpright(e){this.keepUpright_=e}setFill(e){this.fill_=e}setRotation(e){this.rotation_=e}setScale(e){this.scale_=e,this.scaleArray_=(0,n.xq)(void 0!==e?e:1)}setStroke(e){this.stroke_=e}setText(e){this.text_=e}setTextAlign(e){this.textAlign_=e}setJustify(e){this.justify_=e}setTextBaseline(e){this.textBaseline_=e}setBackgroundFill(e){this.backgroundFill_=e}setBackgroundStroke(e){this.backgroundStroke_=e}setPadding(e){this.padding_=e}}const s=o;r.d(t,["A",0,s])},28804(e,t,r){"use strict";r.d(t,{N:()=>i,N5:()=>l,et:()=>s,tW:()=>a});var n=r(10917);function i(e,t,r,n){return void 0!==n?(n[0]=e,n[1]=t,n[2]=r,n):[e,t,r]}function o(e,t,r){return e+"/"+t+"/"+r}function s(e,t,r,i,s){return`${(0,n.v6)(e)},${t},${o(r,i,s)}`}function a(e){return t=e[0],r=e[1],n=e[2],(r<<t)+n;var t,r,n}function l(e,t){const r=e[0],n=e[1],i=e[2];if(t.getMinZoom()>r||r>t.getMaxZoom())return!1;const o=t.getFullTileRange(r);return!o||o.containsXY(n,i)}},28164(e,t,r){"use strict";var n=r(95900),i=r(95052),o=r(5374),s=r(6045),a=r(55824),l=r(84763),c=r(82548),u=r(28804);const d=[0,0,0];const h=class{constructor(e){let t=e.minZoom;const r=e.resolutions;let a;if(void 0===t&&r&&(t=r.findIndex(e=>void 0!==e)),this.minZoom=void 0!==t?t:0,this.resolutions_=r,(0,o.v)((0,i.WC)(this.resolutions_,(e,t)=>t-e,!0),"`resolutions` must be sorted in descending order"),!e.origins)for(let e=0,t=this.resolutions_.length-1;e<t;++e)if(a){if(this.resolutions_[e]/this.resolutions_[e+1]!==a){a=void 0;break}}else a=this.resolutions_[e]/this.resolutions_[e+1];this.zoomFactor_=a,this.maxZoom=this.resolutions_.length-1,this.origin_=void 0!==e.origin?e.origin:null,this.origins_=null,void 0!==e.origins&&(this.origins_=e.origins,(0,o.v)(this.origins_.length==this.resolutions_.length,"Number of `origins` and `resolutions` must be equal"));const l=e.extent;void 0===l||this.origin_||this.origins_||(this.origin_=(0,s.Py)(l)),(0,o.v)(!this.origin_&&this.origins_||this.origin_&&!this.origins_,"Either `origin` or `origins` must be configured, never both"),this.tileSizes_=null,void 0!==e.tileSizes&&(this.tileSizes_=e.tileSizes,(0,o.v)(this.tileSizes_.length==this.resolutions_.length,"Number of `tileSizes` and `resolutions` must be equal")),this.tileSize_=void 0!==e.tileSize?e.tileSize:this.tileSizes_?null:256,(0,o.v)(!this.tileSize_&&this.tileSizes_||this.tileSize_&&!this.tileSizes_,"Either `tileSize` or `tileSizes` must be configured, never both"),this.extent_=void 0!==l?l:null,this.fullTileRanges_=null,this.tmpSize_=[0,0],this.tmpExtent_=[0,0,0,0],void 0!==e.tileRanges?this.fullTileRanges_=e.tileRanges:void 0!==e.sizes?this.fullTileRanges_=e.sizes.map((e,t)=>{const r=new n.A(Math.min(0,e[0]),Math.max(e[0]-1,-1),Math.min(0,e[1]),Math.max(e[1]-1,-1));if(l){const e=this.getTileRangeForExtentAndZ(l,t);r.minX=Math.max(e.minX,r.minX),r.maxX=Math.min(e.maxX,r.maxX),r.minY=Math.max(e.minY,r.minY),r.maxY=Math.min(e.maxY,r.maxY)}return r}):l&&this.calculateTileRanges_(l)}forEachTileCoord(e,t,r){const n=this.getTileRangeForExtentAndZ(e,t);for(let e=n.minX,i=n.maxX;e<=i;++e)for(let i=n.minY,o=n.maxY;i<=o;++i)r([t,e,i])}forEachTileCoordParentTileRange(e,t,r,i){let o,s,a,l=null,c=e[0]-1;for(2===this.zoomFactor_?(s=e[1],a=e[2]):l=this.getTileCoordExtent(e,i);c>=this.minZoom;){if(void 0!==s&&void 0!==a?(s=Math.floor(s/2),a=Math.floor(a/2),o=(0,n.N)(s,s,a,a,r)):o=this.getTileRangeForExtentAndZ(l,c,r),t(c,o))return!0;--c}return!1}getExtent(){return this.extent_}getMaxZoom(){return this.maxZoom}getMinZoom(){return this.minZoom}getOrigin(e){return this.origin_?this.origin_:this.origins_[e]}getOrigins(){return this.origins_}getResolution(e){return this.resolutions_[e]}getResolutions(){return this.resolutions_}getTileCoordChildTileRange(e,t,r){if(e[0]<this.maxZoom){if(2===this.zoomFactor_){const r=2*e[1],i=2*e[2];return(0,n.N)(r,r+1,i,i+1,t)}const i=this.getTileCoordExtent(e,r||this.tmpExtent_);return this.getTileRangeForExtentAndZ(i,e[0]+1,t)}return null}getTileRangeForTileCoordAndZ(e,t,r){if(t>this.maxZoom||t<this.minZoom)return null;const i=e[0],o=e[1],s=e[2];if(t===i)return(0,n.N)(o,s,o,s,r);if(this.zoomFactor_){const e=Math.pow(this.zoomFactor_,t-i),a=Math.floor(o*e),l=Math.floor(s*e);if(t<i)return(0,n.N)(a,a,l,l,r);const c=Math.floor(e*(o+1))-1,u=Math.floor(e*(s+1))-1;return(0,n.N)(a,c,l,u,r)}const a=this.getTileCoordExtent(e,this.tmpExtent_);return this.getTileRangeForExtentAndZ(a,t,r)}getTileRangeForExtentAndZ(e,t,r){this.getTileCoordForXYAndZ_(e[0],e[3],t,!1,d);const i=d[1],o=d[2];this.getTileCoordForXYAndZ_(e[2],e[1],t,!0,d);const s=d[1],a=d[2];return(0,n.N)(i,s,o,a,r)}getTileCoordCenter(e){const t=this.getOrigin(e[0]),r=this.getResolution(e[0]),n=(0,c.xq)(this.getTileSize(e[0]),this.tmpSize_);return[t[0]+(e[1]+.5)*n[0]*r,t[1]-(e[2]+.5)*n[1]*r]}getTileCoordExtent(e,t){const r=this.getOrigin(e[0]),n=this.getResolution(e[0]),i=(0,c.xq)(this.getTileSize(e[0]),this.tmpSize_),o=r[0]+e[1]*i[0]*n,a=r[1]-(e[2]+1)*i[1]*n,l=o+i[0]*n,u=a+i[1]*n;return(0,s.N)(o,a,l,u,t)}getTileCoordForCoordAndResolution(e,t,r){return this.getTileCoordForXYAndResolution_(e[0],e[1],t,!1,r)}getTileCoordForXYAndResolution_(e,t,r,n,i){const o=this.getZForResolution(r),s=r/this.getResolution(o),a=this.getOrigin(o),d=(0,c.xq)(this.getTileSize(o),this.tmpSize_);let h=s*(e-a[0])/r/d[0],f=s*(a[1]-t)/r/d[1];return n?(h=(0,l.mk)(h,5)-1,f=(0,l.mk)(f,5)-1):(h=(0,l.RI)(h,5),f=(0,l.RI)(f,5)),(0,u.N)(o,h,f,i)}getTileCoordForXYAndZ_(e,t,r,n,i){const o=this.getOrigin(r),s=this.getResolution(r),a=(0,c.xq)(this.getTileSize(r),this.tmpSize_);let d=(e-o[0])/s/a[0],h=(o[1]-t)/s/a[1];return n?(d=(0,l.mk)(d,5)-1,h=(0,l.mk)(h,5)-1):(d=(0,l.RI)(d,5),h=(0,l.RI)(h,5)),(0,u.N)(r,d,h,i)}getTileCoordForCoordAndZ(e,t,r){return this.getTileCoordForXYAndZ_(e[0],e[1],t,!1,r)}getTileCoordResolution(e){return this.resolutions_[e[0]]}getTileSize(e){return this.tileSize_?this.tileSize_:this.tileSizes_[e]}getFullTileRange(e){return this.fullTileRanges_?this.fullTileRanges_[e]:this.extent_?this.getTileRangeForExtentAndZ(this.extent_,e):null}getZForResolution(e,t){const r=(0,i.FT)(this.resolutions_,e,t||0);return(0,l.qE)(r,this.minZoom,this.maxZoom)}tileCoordIntersectsViewport(e,t){return(0,a.sj)(t,0,t.length,2,this.getTileCoordExtent(e))}calculateTileRanges_(e){const t=this.resolutions_.length,r=new Array(t);for(let n=this.minZoom;n<t;++n)r[n]=this.getTileRangeForExtentAndZ(e,n);this.fullTileRanges_=r}};r.d(t,["A",0,h])},25800(e,t,r){"use strict";r.d(t,{FD:()=>l,Qz:()=>a});
125var n=r(84763),i=r(28804),o=r(30687);function s(e,t){return function(r,n,i){if(!r)return;let s;const a=r[0];if(t){const e=t.getFullTileRange(a);e&&(s=e.getHeight()-1)}return(0,o.M)(e,a,r[1],r[2],s)}}function a(e,t){const r=e.length,n=new Array(r);for(let i=0;i<r;++i)n[i]=s(e[i],t);return l(n)}function l(e){return 1===e.length?e[0]:function(t,r,o){if(!t)return;const s=(0,i.tW)(t),a=(0,n.xP)(s,e.length);return e[a](t,r,o)}}},85185(e,t,r){"use strict";r.d(t,{Bb:()=>l,T9:()=>u,Zz:()=>c,dI:()=>h,k3:()=>a,lw:()=>s,sH:()=>f,tI:()=>g,vt:()=>o});var n=r(5374);const i=[1,0,0,1,0,0];new Array(6);function o(){return i.slice(0)}function s(e,t){const r=e[0],n=e[1],i=e[2],o=e[3],s=e[4],a=e[5],l=t[0],c=t[1],u=t[2],d=t[3],h=t[4],f=t[5];return e[0]=r*l+i*c,e[1]=n*l+o*c,e[2]=r*u+i*d,e[3]=n*u+o*d,e[4]=r*h+i*f+s,e[5]=n*h+o*f+a,e}function a(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function l(e,t){const r=t[0],n=t[1];return t[0]=e[0]*r+e[2]*n+e[4],t[1]=e[1]*r+e[3]*n+e[5],t}function c(e,t,r,n,i,o,s,a){const l=Math.sin(o),c=Math.cos(o);return e[0]=n*c,e[1]=i*l,e[2]=-n*l,e[3]=i*c,e[4]=s*n*c-a*n*l+t,e[5]=s*i*l+a*i*c+r,e}function u(e,t){const r=(i=t)[0]*i[3]-i[1]*i[2];var i;(0,n.v)(0!==r,"Transformation matrix cannot be inverted");const o=t[0],s=t[1],a=t[2],l=t[3],c=t[4],u=t[5];return e[0]=l/r,e[1]=-s/r,e[2]=-a/r,e[3]=o/r,e[4]=(a*u-l*c)/r,e[5]=-(o*u-s*c)/r,e}const d=[1e5,1e5,1e5,1e5,2,2];function h(e){return"matrix("+e.join(", ")+")"}function f(e){return e.substring(7,e.length-1).split(",").map(parseFloat)}function g(e,t){const r=f(e),n=f(t);for(let e=0;e<6;++e)if(0!==Math.round((r[e]-n[e])*d[e]))return!1;return!0}},30687(e,t,r){"use strict";function n(e,t){const r=[];Object.keys(t).forEach(function(e){null!==t[e]&&void 0!==t[e]&&r.push(e+"="+encodeURIComponent(t[e]))});const n=r.join("&");return e=e.replace(/[?&]$/,""),(e+=e.includes("?")?"&":"?")+n}r.d(t,{LW:()=>n,M:()=>l,Uu:()=>c});const i=/\{z\}/g,o=/\{x\}/g,s=/\{y\}/g,a=/\{-y\}/g;function l(e,t,r,n,l){return e.replace(i,t.toString()).replace(o,r.toString()).replace(s,n.toString()).replace(a,function(){if(void 0===l)throw new Error("If the URL template has a {-y} placeholder, the grid extent must be known");return(l-n).toString()})}function c(e){const t=[];let r=/\{([a-z])-([a-z])\}/.exec(e);if(r){const n=r[1].charCodeAt(0),i=r[2].charCodeAt(0);let o;for(o=n;o<=i;++o)t.push(e.replace(r[0],String.fromCharCode(o)));return t}if(r=/\{(\d+)-(\d+)\}/.exec(e),r){const n=parseInt(r[2],10);for(let i=parseInt(r[1],10);i<=n;i++)t.push(e.replace(r[0],i.toString()));return t}return t.push(e),t}},10917(e,t,r){"use strict";function n(){throw new Error("Unimplemented abstract method.")}r.d(t,{b0:()=>n,v6:()=>o});let i=0;function o(e){return e.ol_uid||(e.ol_uid=String(++i))}},42375(e,t,r){"use strict";function n(e,t,r=0,s=e.length-1,a=o){for(;s>r;){if(s-r>600){const i=s-r+1,o=t-r+1,l=Math.log(i),c=.5*Math.exp(2*l/3),u=.5*Math.sqrt(l*c*(i-c)/i)*(o-i/2<0?-1:1);n(e,t,Math.max(r,Math.floor(t-o*c/i+u)),Math.min(s,Math.floor(t+(i-o)*c/i+u)),a)}const o=e[t];let l=r,c=s;for(i(e,r,t),a(e[s],o)>0&&i(e,r,s);l<c;){for(i(e,l,c),l++,c--;a(e[l],o)<0;)l++;for(;a(e[c],o)>0;)c--}0===a(e[r],o)?i(e,r,c):(c++,i(e,c,s)),c<=t&&(r=c+1),t<=c&&(s=c-1)}}function i(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function o(e,t){return e<t?-1:e>t?1:0}r.d(t,{A:()=>s});class s{constructor(e=9){this._maxEntries=Math.max(4,e),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()}all(){return this._all(this.data,[])}search(e){let t=this.data;const r=[];if(!v(e,t))return r;const n=this.toBBox,i=[];for(;t;){for(let o=0;o<t.children.length;o++){const s=t.children[o],a=t.leaf?n(s):s;v(e,a)&&(t.leaf?r.push(s):y(e,a)?this._all(s,r):i.push(s))}t=i.pop()}return r}collides(e){let t=this.data;if(!v(e,t))return!1;const r=[];for(;t;){for(let n=0;n<t.children.length;n++){const i=t.children[n],o=t.leaf?this.toBBox(i):i;if(v(e,o)){if(t.leaf||y(e,o))return!0;r.push(i)}}t=r.pop()}return!1}load(e){if(!e||!e.length)return this;if(e.length<this._minEntries){for(let t=0;t<e.length;t++)this.insert(e[t]);return this}let t=this._build(e.slice(),0,e.length-1,0);if(this.data.children.length)if(this.data.height===t.height)this._splitRoot(this.data,t);else{if(this.data.height<t.height){const e=this.data;this.data=t,t=e}this._insert(t,this.data.height-t.height-1,!0)}else this.data=t;return this}insert(e){return e&&this._insert(e,this.data.height-1),this}clear(){return this.data=x([]),this}remove(e,t){if(!e)return this;let r=this.data;const n=this.toBBox(e),i=[],o=[];let s,l,c;for(;r||i.length;){if(r||(r=i.pop(),l=i[i.length-1],s=o.pop(),c=!0),r.leaf){const n=a(e,r.children,t);
vendor: 4,027 bytes, lines 125-126
125if(-1!==n)return r.children.splice(n,1),i.push(r),this._condense(i),this}c||r.leaf||!y(r,n)?l?(s++,r=l.children[s],c=!1):r=null:(i.push(r),o.push(s),s=0,l=r,r=r.children[0])}return this}toBBox(e){return e}compareMinX(e,t){return e.minX-t.minX}compareMinY(e,t){return e.minY-t.minY}toJSON(){return this.data}fromJSON(e){return this.data=e,this}_all(e,t){const r=[];for(;e;)e.leaf?t.push(...e.children):r.push(...e.children),e=r.pop();return t}_build(e,t,r,n){const i=r-t+1;let o,s=this._maxEntries;if(i<=s)return o=x(e.slice(t,r+1)),l(o,this.toBBox),o;n||(n=Math.ceil(Math.log(i)/Math.log(s)),s=Math.ceil(i/Math.pow(s,n-1))),o=x([]),o.leaf=!1,o.height=n;const a=Math.ceil(i/s),c=a*Math.ceil(Math.sqrt(s));_(e,t,r,c,this.compareMinX);for(let i=t;i<=r;i+=c){const t=Math.min(i+c-1,r);_(e,i,t,a,this.compareMinY);for(let r=i;r<=t;r+=a){const i=Math.min(r+a-1,t);o.children.push(this._build(e,r,i,n-1))}}return l(o,this.toBBox),o}_chooseSubtree(e,t,r,n){for(;n.push(t),!t.leaf&&n.length-1!==r;){let r,n=1/0,i=1/0;for(let o=0;o<t.children.length;o++){const s=t.children[o],a=f(s),l=p(e,s)-a;l<i?(i=l,n=a<n?a:n,r=s):l===i&&a<n&&(n=a,r=s)}t=r||t.children[0]}return t}_insert(e,t,r){const n=r?e:this.toBBox(e),i=[],o=this._chooseSubtree(n,this.data,t,i);for(o.children.push(e),u(o,n);t>=0&&i[t].children.length>this._maxEntries;)this._split(i,t),t--;this._adjustParentBBoxes(n,i,t)}_split(e,t){const r=e[t],n=r.children.length,i=this._minEntries;this._chooseSplitAxis(r,i,n);const o=this._chooseSplitIndex(r,i,n),s=x(r.children.splice(o,r.children.length-o));s.height=r.height,s.leaf=r.leaf,l(r,this.toBBox),l(s,this.toBBox),t?e[t-1].children.push(s):this._splitRoot(r,s)}_splitRoot(e,t){this.data=x([e,t]),this.data.height=e.height+1,this.data.leaf=!1,l(this.data,this.toBBox)}_chooseSplitIndex(e,t,r){let n,i=1/0,o=1/0;for(let s=t;s<=r-t;s++){const t=c(e,0,s,this.toBBox),a=c(e,s,r,this.toBBox),l=m(t,a),u=f(t)+f(a);l<i?(i=l,n=s,o=u<o?u:o):l===i&&u<o&&(o=u,n=s)}return n||r-t}_chooseSplitAxis(e,t,r){const n=e.leaf?this.compareMinX:d,i=e.leaf?this.compareMinY:h;this._allDistMargin(e,t,r,n)<this._allDistMargin(e,t,r,i)&&e.children.sort(n)}_allDistMargin(e,t,r,n){e.children.sort(n);const i=this.toBBox,o=c(e,0,t,i),s=c(e,r-t,r,i);let a=g(o)+g(s);for(let n=t;n<r-t;n++){const t=e.children[n];u(o,e.leaf?i(t):t),a+=g(o)}for(let n=r-t-1;n>=t;n--){const t=e.children[n];u(s,e.leaf?i(t):t),a+=g(s)}return a}_adjustParentBBoxes(e,t,r){for(let n=r;n>=0;n--)u(t[n],e)}_condense(e){for(let t,r=e.length-1;r>=0;r--)0===e[r].children.length?r>0?(t=e[r-1].children,t.splice(t.indexOf(e[r]),1)):this.clear():l(e[r],this.toBBox)}}function a(e,t,r){if(!r)return t.indexOf(e);for(let n=0;n<t.length;n++)if(r(e,t[n]))return n;return-1}function l(e,t){c(e,0,e.children.length,t,e)}function c(e,t,r,n,i){i||(i=x(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(let o=t;o<r;o++){const t=e.children[o];u(i,e.leaf?n(t):t)}return i}function u(e,t){return e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY),e}function d(e,t){return e.minX-t.minX}function h(e,t){return e.minY-t.minY}function f(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function g(e){return e.maxX-e.minX+(e.maxY-e.minY)}function p(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function m(e,t){const r=Math.max(e.minX,t.minX),n=Math.max(e.minY,t.minY),i=Math.min(e.maxX,t.maxX),o=Math.min(e.maxY,t.maxY);return Math.max(0,i-r)*Math.max(0,o-n)}function y(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function v(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function x(e){return{children:e,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function _(e,t,r,i,o){const s=[t,r];for(;s.length;){if((r=s.pop())-(t=s.pop())<=i)continue;const a=t+Math.ceil((r-t)/i/2)*i;n(e,a,t,r,o),s.push(t,a,a,r)}}}},e=>{e.O(0,[1869,4121],()=>e(98979));e.O()}]); 126//# sourceMappingURL=index.bundle.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.