Files
Express_console_build/build/static/js/7065.8f14569e.chunk.js

1 line
14 KiB
JavaScript

(self.webpackChunkmantis_material_react=self.webpackChunkmantis_material_react||[]).push([[7065],{4159:function(t){t.exports=function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",s="second",i="minute",u="hour",a="day",o="week",c="month",h="quarter",l="year",f="date",d="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,$={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(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},g=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},m={s:g,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),s=n%60;return(e<=0?"+":"-")+g(r,2,"0")+":"+g(s,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),s=e.clone().add(r,c),i=n-s<0,u=e.clone().add(r+(i?-1:1),c);return+(-(r+(n-s)/(i?s-u:u-s))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:l,w:o,d:a,D:f,h:u,m:i,s:s,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",w={};w[y]=$;var A="$isDayjsObject",b=function(t){return t instanceof D||!(!t||!t[A])},M=function t(e,n,r){var s;if(!e)return y;if("string"==typeof e){var i=e.toLowerCase();w[i]&&(s=i),n&&(w[i]=n,s=i);var u=e.split("-");if(!s&&u.length>1)return t(u[0])}else{var a=e.name;w[a]=e,s=a}return!r&&s&&(y=s),s||!r&&y},O=function(t,e){if(b(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new D(n)},S=m;S.l=M,S.i=b,S.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var D=function(){function $(t){this.$L=M(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[A]=!0}var g=$.prototype;return g.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(S.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(p);if(r){var s=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],s,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],s,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(e)}(t),this.init()},g.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},g.$utils=function(){return S},g.isValid=function(){return!(this.$d.toString()===d)},g.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},g.isAfter=function(t,e){return O(t)<this.startOf(e)},g.isBefore=function(t,e){return this.endOf(e)<O(t)},g.$g=function(t,e,n){return S.u(t)?this[e]:this.set(n,t)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(t,e){var n=this,r=!!S.u(e)||e,h=S.p(t),d=function(t,e){var s=S.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?s:s.endOf(a)},p=function(t,e){return S.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},v=this.$W,$=this.$M,g=this.$D,m="set"+(this.$u?"UTC":"");switch(h){case l:return r?d(1,0):d(31,11);case c:return r?d(1,$):d(0,$+1);case o:var y=this.$locale().weekStart||0,w=(v<y?v+7:v)-y;return d(r?g-w:g+(6-w),$);case a:case f:return p(m+"Hours",0);case u:return p(m+"Minutes",1);case i:return p(m+"Seconds",2);case s:return p(m+"Milliseconds",3);default:return this.clone()}},g.endOf=function(t){return this.startOf(t,!1)},g.$set=function(t,e){var n,o=S.p(t),h="set"+(this.$u?"UTC":""),d=(n={},n[a]=h+"Date",n[f]=h+"Date",n[c]=h+"Month",n[l]=h+"FullYear",n[u]=h+"Hours",n[i]=h+"Minutes",n[s]=h+"Seconds",n[r]=h+"Milliseconds",n)[o],p=o===a?this.$D+(e-this.$W):e;if(o===c||o===l){var v=this.clone().set(f,1);v.$d[d](p),v.init(),this.$d=v.set(f,Math.min(this.$D,v.daysInMonth())).$d}else d&&this.$d[d](p);return this.init(),this},g.set=function(t,e){return this.clone().$set(t,e)},g.get=function(t){return this[S.p(t)]()},g.add=function(r,h){var f,d=this;r=Number(r);var p=S.p(h),v=function(t){var e=O(d);return S.w(e.date(e.date()+Math.round(t*r)),d)};if(p===c)return this.set(c,this.$M+r);if(p===l)return this.set(l,this.$y+r);if(p===a)return v(1);if(p===o)return v(7);var $=(f={},f[i]=e,f[u]=n,f[s]=t,f)[p]||1,g=this.$d.getTime()+r*$;return S.w(g,this)},g.subtract=function(t,e){return this.add(-1*t,e)},g.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||d;var r=t||"YYYY-MM-DDTHH:mm:ssZ",s=S.z(this),i=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,h=n.meridiem,l=function(t,n,s,i){return t&&(t[n]||t(e,r))||s[n].slice(0,i)},f=function(t){return S.s(i%12||12,t,"0")},p=h||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(v,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return S.s(e.$y,4,"0");case"M":return a+1;case"MM":return S.s(a+1,2,"0");case"MMM":return l(n.monthsShort,a,c,3);case"MMMM":return l(c,a);case"D":return e.$D;case"DD":return S.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return l(n.weekdaysMin,e.$W,o,2);case"ddd":return l(n.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(i);case"HH":return S.s(i,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return p(i,u,!0);case"A":return p(i,u,!1);case"m":return String(u);case"mm":return S.s(u,2,"0");case"s":return String(e.$s);case"ss":return S.s(e.$s,2,"0");case"SSS":return S.s(e.$ms,3,"0");case"Z":return s}return null}(t)||s.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(r,f,d){var p,v=this,$=S.p(f),g=O(r),m=(g.utcOffset()-this.utcOffset())*e,y=this-g,w=function(){return S.m(v,g)};switch($){case l:p=w()/12;break;case c:p=w();break;case h:p=w()/3;break;case o:p=(y-m)/6048e5;break;case a:p=(y-m)/864e5;break;case u:p=y/n;break;case i:p=y/e;break;case s:p=y/t;break;default:p=y}return d?p:S.a(p)},g.daysInMonth=function(){return this.endOf(c).$D},g.$locale=function(){return w[this.$L]},g.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=M(t,e,!0);return r&&(n.$L=r),n},g.clone=function(){return S.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},$}(),k=D.prototype;return O.prototype=k,[["$ms",r],["$s",s],["$m",i],["$H",u],["$W",a],["$M",c],["$y",l],["$D",f]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),O.extend=function(t,e){return t.$i||(t(e,D,O),t.$i=!0),O},O.locale=M,O.isDayjs=b,O.unix=function(t){return O(1e3*t)},O.en=w[y],O.Ls=w,O.p={},O}()},33516:(t,e,n)=>{"use strict";n.d(e,{m:()=>a});var r=n(464),s=n(69995),i=n(2527),u=n(9950);const a=(0,r.wk)((function(t,e){const n=new i.Tooltip(t,e.overlayContainer);return(0,s.Q)(n,e)}),(function(t,e,n,r){let{position:s}=n;(0,u.useEffect)((function(){const n=e.overlayContainer;if(null==n)return;const{instance:i}=t,u=t=>{t.tooltip===i&&(null!=s&&i.setLatLng(s),i.update(),r(!0))},a=t=>{t.tooltip===i&&r(!1)};return n.on({tooltipopen:u,tooltipclose:a}),n.bindTooltip(i),function(){n.off({tooltipopen:u,tooltipclose:a}),null!=n._map&&n.unbindTooltip()}}),[t,e,r,s])}))},36687:(t,e,n)=>{"use strict";n.d(e,{E:()=>T});var r,s,i,u,a,o,c,h,l,f,d,p=n(80045),v=n(9950),$=n(39790),g=n(55149),m=n(64137),y=n(83568),w=n(53167),A=n(15941),b=n(69347),M=n(95732),O=n(61664);function S(t,e){return t.filter((t=>!e.includes(t)))}var D=(r=new WeakMap,s=new WeakMap,i=new WeakMap,u=new WeakMap,a=new WeakMap,o=new WeakMap,c=new WeakSet,h=new WeakSet,l=new WeakSet,f=new WeakSet,d=new WeakSet,class extends M.Q{constructor(t,e,n){super(),(0,$.A)(this,d),(0,$.A)(this,f),(0,$.A)(this,l),(0,$.A)(this,h),(0,$.A)(this,c),(0,g.A)(this,r,{writable:!0,value:void 0}),(0,g.A)(this,s,{writable:!0,value:void 0}),(0,g.A)(this,i,{writable:!0,value:void 0}),(0,g.A)(this,u,{writable:!0,value:void 0}),(0,g.A)(this,a,{writable:!0,value:void 0}),(0,g.A)(this,o,{writable:!0,value:void 0}),(0,w.A)(this,r,t),(0,w.A)(this,i,[]),(0,w.A)(this,u,[]),(0,y.A)(this,c,k).call(this,[]),this.setQueries(e,n)}onSubscribe(){1===this.listeners.size&&(0,m.A)(this,u).forEach((t=>{t.subscribe((e=>{(0,y.A)(this,f,_).call(this,t,e)}))}))}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,(0,m.A)(this,u).forEach((t=>{t.destroy()}))}setQueries(t,e,n){(0,w.A)(this,i,t),(0,w.A)(this,a,e),A.j.batch((()=>{const t=(0,m.A)(this,u),e=(0,y.A)(this,l,C).call(this,(0,m.A)(this,i));e.forEach((t=>t.observer.setOptions(t.defaultedQueryOptions,n)));const r=e.map((t=>t.observer)),s=r.map((t=>t.getCurrentResult())),a=r.some(((e,n)=>e!==t[n]));(t.length!==r.length||a)&&((0,w.A)(this,u,r),(0,y.A)(this,c,k).call(this,s),this.hasListeners()&&(S(t,r).forEach((t=>{t.destroy()})),S(r,t).forEach((t=>{t.subscribe((e=>{(0,y.A)(this,f,_).call(this,t,e)}))})),(0,y.A)(this,d,x).call(this)))}))}getCurrentResult(){return(0,m.A)(this,o)}getQueries(){return(0,m.A)(this,u).map((t=>t.getCurrentQuery()))}getObservers(){return(0,m.A)(this,u)}getOptimisticResult(t,e){const n=(0,y.A)(this,l,C).call(this,t),r=n.map((t=>t.observer.getOptimisticResult(t.defaultedQueryOptions)));return[r,t=>(0,y.A)(this,h,P).call(this,null!==t&&void 0!==t?t:r,e),()=>n.map(((t,e)=>{const n=r[e];return t.defaultedQueryOptions.notifyOnChangeProps?n:t.observer.trackResult(n)}))]}});function k(t){var e;(0,w.A)(this,s,t),(0,w.A)(this,o,(0,y.A)(this,h,P).call(this,t,null===(e=(0,m.A)(this,a))||void 0===e?void 0:e.combine))}function P(t,e){return e?(0,O.BH)((0,m.A)(this,o),e(t)):t}function C(t){const e=(0,m.A)(this,u),n=new Map(e.map((t=>[t.options.queryHash,t]))),s=t.map((t=>(0,m.A)(this,r).defaultQueryOptions(t))),i=s.flatMap((t=>{const e=n.get(t.queryHash);return null!=e?[{defaultedQueryOptions:t,observer:e}]:[]})),a=new Set(i.map((t=>t.defaultedQueryOptions.queryHash))),o=s.filter((t=>!a.has(t.queryHash))),c=t=>{const e=(0,m.A)(this,r).defaultQueryOptions(t),n=(0,m.A)(this,u).find((t=>t.options.queryHash===e.queryHash));return null!==n&&void 0!==n?n:new b.$((0,m.A)(this,r),e)},h=o.map((t=>({defaultedQueryOptions:t,observer:c(t)})));return i.concat(h).sort(((t,e)=>s.indexOf(t.defaultedQueryOptions)-s.indexOf(e.defaultedQueryOptions)))}function _(t,e){const n=(0,m.A)(this,u).indexOf(t);-1!==n&&((0,y.A)(this,c,k).call(this,function(t,e,n){const r=t.slice(0);return r[e]=n,r}((0,m.A)(this,s),n,e)),(0,y.A)(this,d,x).call(this))}function x(){A.j.batch((()=>{this.listeners.forEach((t=>{t((0,m.A)(this,s))}))}))}var Q=n(15441),H=n(30618),L=n(45904),W=n(80958),E=n(73895);const R=["queries"];function T(t,e){let{queries:n}=t,r=(0,p.A)(t,R);const s=(0,Q.jE)(e),i=(0,H.w)(),u=(0,L.h)(),a=v.useMemo((()=>n.map((t=>{const e=s.defaultQueryOptions(t);return e._optimisticResults=i?"isRestoring":"optimistic",e}))),[n,s,i]);a.forEach((t=>{(0,E.tu)(t),(0,W.LJ)(t,u)})),(0,W.wZ)(u);const[o]=v.useState((()=>new D(s,a,r))),[c,h,l]=o.getOptimisticResult(a,r.combine);v.useSyncExternalStore(v.useCallback((t=>i?()=>{}:o.subscribe(A.j.batchCalls(t))),[o,i]),(()=>o.getCurrentResult()),(()=>o.getCurrentResult())),v.useEffect((()=>{o.setQueries(a,r,{listeners:!1})}),[a,r,o]);const f=c.some(((t,e)=>(0,E.EU)(a[e],t)))?c.flatMap(((t,e)=>{const n=a[e];if(n){const e=new b.$(s,n);if((0,E.EU)(n,t))return(0,E.iL)(n,e,u);(0,E.nE)(t,i)&&(0,E.iL)(n,e,u)}return[]})):[];if(f.length>0)throw Promise.all(f);const d=c.find(((t,e)=>{const n=a[e];return n&&(0,W.$1)({result:t,errorResetBoundary:u,throwOnError:n.throwOnError,query:s.getQueryCache().get(n.queryHash)})}));if(null!==d&&void 0!==d&&d.error)throw d.error;return h(l())}},37119:(t,e,n)=>{"use strict";n.d(e,{p:()=>i});var r=n(464),s=n(2527);const i=(0,r.T7)((function(t){return new s.Control.Zoom(t)}))},48513:(t,e,n)=>{"use strict";n.d(e,{z:()=>a});var r=n(464),s=n(69995),i=n(2527),u=n(9950);const a=(0,r.wk)((function(t,e){const n=new i.Popup(t,e.overlayContainer);return(0,s.Q)(n,e)}),(function(t,e,n,r){let{position:s}=n;(0,u.useEffect)((function(){const{instance:n}=t;function i(t){t.popup===n&&(n.update(),r(!0))}function u(t){t.popup===n&&r(!1)}return e.map.on({popupopen:i,popupclose:u}),null==e.overlayContainer?(null!=s&&n.setLatLng(s),n.openOn(e.map)):e.overlayContainer.bindPopup(n),function(){var t;e.map.off({popupopen:i,popupclose:u}),null===(t=e.overlayContainer)||void 0===t||t.unbindPopup(),e.map.removeLayer(n)}}),[t,e,r,s])}))},60010:(t,e,n)=>{"use strict";n.d(e,{q:()=>o});var r=n(89379),s=n(69347),i=n(45247),u=class extends s.${constructor(t,e){super(t,e)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(t,e){super.setOptions((0,r.A)((0,r.A)({},t),{},{behavior:(0,i.PL)()}),e)}getOptimisticResult(t){return t.behavior=(0,i.PL)(),super.getOptimisticResult(t)}fetchNextPage(t){return this.fetch((0,r.A)((0,r.A)({},t),{},{meta:{fetchMore:{direction:"forward"}}}))}fetchPreviousPage(t){return this.fetch((0,r.A)((0,r.A)({},t),{},{meta:{fetchMore:{direction:"backward"}}}))}createResult(t,e){var n,s;const{state:u}=t,a=super.createResult(t,e),{isFetching:o,isRefetching:c}=a,h=o&&"forward"===(null===(n=u.fetchMeta)||void 0===n||null===(n=n.fetchMore)||void 0===n?void 0:n.direction),l=o&&"backward"===(null===(s=u.fetchMeta)||void 0===s||null===(s=s.fetchMore)||void 0===s?void 0:s.direction);return(0,r.A)((0,r.A)({},a),{},{fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,i.rB)(e,u.data),hasPreviousPage:(0,i.RQ)(e,u.data),isFetchingNextPage:h,isFetchingPreviousPage:l,isRefetching:c&&!h&&!l})}},a=n(1729);function o(t,e){return(0,a.t)(t,u,e)}},98007:(t,e,n)=>{"use strict";n.d(e,{ko:()=>s});var r=n(3388);n(9950);function s(){return(0,r.U$)().map}}}]);