@ukpc-lib/react 0.2.21 → 0.2.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.cjs +3 -3
- package/dist/components/index.js +1074 -1080
- package/dist/{index.module-1315f6d2.js → index.module-a18bd948.js} +1732 -1709
- package/dist/{index.module-d1158281.cjs → index.module-eaf7a821.cjs} +89 -89
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +14 -14
- package/package.json +1 -1
- package/web-components-bundle/global-topbar/index.cjs +1 -1
- package/web-components-bundle/global-topbar/index.js +1 -1
- package/web-components-bundle/has-permission/index.cjs +1 -1
- package/web-components-bundle/has-permission/index.js +1 -1
- package/web-components-bundle/{index-014314bd.cjs → index-2c1ba689.cjs} +70 -70
- package/web-components-bundle/{index-0b4cb1fd.js → index-8d8b181c.js} +6413 -6388
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
"use strict";const D=require("./index-661a7bdb.cjs");function
|
|
1
|
+
"use strict";const D=require("./index-661a7bdb.cjs");function dm(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=dm(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function Zn(){for(var e,t,n=0,i="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=dm(e))&&(i&&(i+=" "),i+=t);return i}function Y_({primaryColor:e="#009d4f"}){return D.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:[D.jsxRuntimeExports.jsx("path",{d:"M8.5 19.5H8C4 19.5 2 18.5 2 13.5V8.5C2 4.5 4 2.5 8 2.5H16C20 2.5 22 4.5 22 8.5V13.5C22 17.5 20 19.5 16 19.5H15.5C15.19 19.5 14.89 19.65 14.7 19.9L13.2 21.9C12.54 22.78 11.46 22.78 10.8 21.9L9.3 19.9C9.14 19.68 8.77 19.5 8.5 19.5Z",stroke:e,"stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}),D.jsxRuntimeExports.jsx("path",{d:"M15.9965 11.5H16.0054",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),D.jsxRuntimeExports.jsx("path",{d:"M11.9955 11.5H12.0045",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),D.jsxRuntimeExports.jsx("path",{d:"M7.99451 11.5H8.00349",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})]})}const W_=e=>{const{tabs:t}=e,n=i=>{e.setCurrentTab(i.target.id)};return D.jsxRuntimeExports.jsxs("div",{className:"tab-container",children:[D.jsxRuntimeExports.jsx("div",{style:{display:"flex",width:"100%",height:"50px",borderBottom:`1px solid ${D.color.grey200}`},className:"tab-container__title",children:t.map((i,a)=>D.jsxRuntimeExports.jsx("button",{id:i.id,disabled:e.currentTab===`${i.id}`,onClick:n,className:`tab-title ${e.currentTab===`${i.id}`?"is-active":""}`,children:i.tabTitle},a))}),D.jsxRuntimeExports.jsx("div",{className:"tab-content",children:t.map((i,a)=>D.jsxRuntimeExports.jsx("div",{children:e.currentTab===`${i.id}`&&D.jsxRuntimeExports.jsx("div",{children:i.children})},a))})]})};//! moment.js
|
|
2
2
|
//! version : 2.30.1
|
|
3
3
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
4
|
//! license : MIT
|
|
5
5
|
//! momentjs.com
|
|
6
|
-
var
|
|
7
|
-
[`+u+"] ";for(f in arguments[0])Ke(arguments[0],f)&&(a+=f+": "+arguments[0][f]+", ");a=a.slice(0,-2)}else a=arguments[u];i.push(a)}
|
|
6
|
+
var hm;function ue(){return hm.apply(null,arguments)}function H_(e){hm=e}function mr(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function ls(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function Ke(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function od(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(Ke(e,t))return!1;return!0}function wn(e){return e===void 0}function gi(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function ho(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function pm(e,t){var n=[],i,a=e.length;for(i=0;i<a;++i)n.push(t(e[i],i));return n}function $i(e,t){for(var n in t)Ke(t,n)&&(e[n]=t[n]);return Ke(t,"toString")&&(e.toString=t.toString),Ke(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Br(e,t,n,i){return Fm(e,t,n,i,!0).utc()}function U_(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function Oe(e){return e._pf==null&&(e._pf=U_()),e._pf}var jf;Array.prototype.some?jf=Array.prototype.some:jf=function(e){var t=Object(this),n=t.length>>>0,i;for(i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1};function ud(e){var t=null,n=!1,i=e._d&&!isNaN(e._d.getTime());if(i&&(t=Oe(e),n=jf.call(t.parsedDateParts,function(a){return a!=null}),i=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(i=i&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=i;else return i;return e._isValid}function sl(e){var t=Br(NaN);return e!=null?$i(Oe(t),e):Oe(t).userInvalidated=!0,t}var Xp=ue.momentProperties=[],xf=!1;function ld(e,t){var n,i,a,u=Xp.length;if(wn(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),wn(t._i)||(e._i=t._i),wn(t._f)||(e._f=t._f),wn(t._l)||(e._l=t._l),wn(t._strict)||(e._strict=t._strict),wn(t._tzm)||(e._tzm=t._tzm),wn(t._isUTC)||(e._isUTC=t._isUTC),wn(t._offset)||(e._offset=t._offset),wn(t._pf)||(e._pf=Oe(t)),wn(t._locale)||(e._locale=t._locale),u>0)for(n=0;n<u;n++)i=Xp[n],a=t[i],wn(a)||(e[i]=a);return e}function po(e){ld(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),xf===!1&&(xf=!0,ue.updateOffset(this),xf=!1)}function yr(e){return e instanceof po||e!=null&&e._isAMomentObject!=null}function gm(e){ue.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function tr(e,t){var n=!0;return $i(function(){if(ue.deprecationHandler!=null&&ue.deprecationHandler(null,e),n){var i=[],a,u,f,m=arguments.length;for(u=0;u<m;u++){if(a="",typeof arguments[u]=="object"){a+=`
|
|
7
|
+
[`+u+"] ";for(f in arguments[0])Ke(arguments[0],f)&&(a+=f+": "+arguments[0][f]+", ");a=a.slice(0,-2)}else a=arguments[u];i.push(a)}gm(e+`
|
|
8
8
|
Arguments: `+Array.prototype.slice.call(i).join("")+`
|
|
9
|
-
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var Xp={};function pm(e,t){ue.deprecationHandler!=null&&ue.deprecationHandler(e,t),Xp[e]||(hm(t),Xp[e]=!0)}ue.suppressDeprecationWarnings=!1;ue.deprecationHandler=null;function Yr(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function U_(e){var t,n;for(n in e)Ke(e,n)&&(t=e[n],Yr(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function jf(e,t){var n=$i({},e),i;for(i in t)Ke(t,i)&&(ls(e[i])&&ls(t[i])?(n[i]={},$i(n[i],e[i]),$i(n[i],t[i])):t[i]!=null?n[i]=t[i]:delete n[i]);for(i in e)Ke(e,i)&&!Ke(t,i)&&ls(e[i])&&(n[i]=$i({},n[i]));return n}function ld(e){e!=null&&this.set(e)}var Bf;Object.keys?Bf=Object.keys:Bf=function(e){var t,n=[];for(t in e)Ke(e,t)&&n.push(t);return n};var z_={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function V_(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return Yr(i)?i.call(t,n):i}function jr(e,t,n){var i=""+Math.abs(e),a=t-i.length,u=e>=0;return(u?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+i}var cd=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Au=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,wf={},Vs={};function ve(e,t,n,i){var a=i;typeof i=="string"&&(a=function(){return this[i]()}),e&&(Vs[e]=a),t&&(Vs[t[0]]=function(){return jr(a.apply(this,arguments),t[1],t[2])}),n&&(Vs[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function q_(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function G_(e){var t=e.match(cd),n,i;for(n=0,i=t.length;n<i;n++)Vs[t[n]]?t[n]=Vs[t[n]]:t[n]=q_(t[n]);return function(a){var u="",f;for(f=0;f<i;f++)u+=Yr(t[f])?t[f].call(a,e):t[f];return u}}function Fu(e,t){return e.isValid()?(t=gm(t,e.localeData()),wf[t]=wf[t]||G_(t),wf[t](e)):e.localeData().invalidDate()}function gm(e,t){var n=5;function i(a){return t.longDateFormat(a)||a}for(Au.lastIndex=0;n>=0&&Au.test(e);)e=e.replace(Au,i),Au.lastIndex=0,n-=1;return e}var K_={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Z_(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(cd).map(function(i){return i==="MMMM"||i==="MM"||i==="DD"||i==="dddd"?i.slice(1):i}).join(""),this._longDateFormat[e])}var X_="Invalid date";function J_(){return this._invalidDate}var Q_="%d",eS=/\d{1,2}/;function tS(e){return this._ordinal.replace("%d",e)}var nS={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function rS(e,t,n,i){var a=this._relativeTime[n];return Yr(a)?a(e,t,n,i):a.replace(/%d/i,e)}function iS(e,t){var n=this._relativeTime[e>0?"future":"past"];return Yr(n)?n(t):n.replace(/%s/i,t)}var Jp={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function nr(e){return typeof e=="string"?Jp[e]||Jp[e.toLowerCase()]:void 0}function fd(e){var t={},n,i;for(i in e)Ke(e,i)&&(n=nr(i),n&&(t[n]=e[i]));return t}var sS={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function aS(e){var t=[],n;for(n in e)Ke(e,n)&&t.push({unit:n,priority:sS[n]});return t.sort(function(i,a){return i.priority-a.priority}),t}var mm=/\d/,Nn=/\d\d/,ym=/\d{3}/,dd=/\d{4}/,al=/[+-]?\d{6}/,dt=/\d\d?/,vm=/\d\d\d\d?/,bm=/\d\d\d\d\d\d?/,ol=/\d{1,3}/,hd=/\d{1,4}/,ul=/[+-]?\d{1,6}/,Js=/\d+/,ll=/[+-]?\d+/,oS=/Z|[+-]\d\d:?\d\d/gi,cl=/Z|[+-]\d\d(?::?\d\d)?/gi,uS=/[+-]?\d+(\.\d{1,3})?/,po=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Qs=/^[1-9]\d?/,pd=/^([1-9]\d|\d)/,zu;zu={};function me(e,t,n){zu[e]=Yr(t)?t:function(i,a){return i&&n?n:t}}function lS(e,t){return Ke(zu,e)?zu[e](t._strict,t._locale):new RegExp(cS(e))}function cS(e){return di(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,i,a,u){return n||i||a||u}))}function di(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Jn(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function We(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=Jn(t)),n}var Yf={};function ot(e,t){var n,i=t,a;for(typeof e=="string"&&(e=[e]),gi(t)&&(i=function(u,f){f[t]=We(u)}),a=e.length,n=0;n<a;n++)Yf[e[n]]=i}function go(e,t){ot(e,function(n,i,a,u){a._w=a._w||{},t(n,a._w,a,u)})}function fS(e,t,n){t!=null&&Ke(Yf,e)&&Yf[e](t,n._a,n,e)}function fl(e){return e%4===0&&e%100!==0||e%400===0}var tn=0,ci=1,Pr=2,Pt=3,gr=4,fi=5,as=6,dS=7,hS=8;ve("Y",0,0,function(){var e=this.year();return e<=9999?jr(e,4):"+"+e});ve(0,["YY",2],0,function(){return this.year()%100});ve(0,["YYYY",4],0,"year");ve(0,["YYYYY",5],0,"year");ve(0,["YYYYYY",6,!0],0,"year");me("Y",ll);me("YY",dt,Nn);me("YYYY",hd,dd);me("YYYYY",ul,al);me("YYYYYY",ul,al);ot(["YYYYY","YYYYYY"],tn);ot("YYYY",function(e,t){t[tn]=e.length===2?ue.parseTwoDigitYear(e):We(e)});ot("YY",function(e,t){t[tn]=ue.parseTwoDigitYear(e)});ot("Y",function(e,t){t[tn]=parseInt(e,10)});function Ka(e){return fl(e)?366:365}ue.parseTwoDigitYear=function(e){return We(e)+(We(e)>68?1900:2e3)};var xm=ea("FullYear",!0);function pS(){return fl(this.year())}function ea(e,t){return function(n){return n!=null?(wm(this,e,n),ue.updateOffset(this,t),this):Ja(this,e)}}function Ja(e,t){if(!e.isValid())return NaN;var n=e._d,i=e._isUTC;switch(t){case"Milliseconds":return i?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return i?n.getUTCSeconds():n.getSeconds();case"Minutes":return i?n.getUTCMinutes():n.getMinutes();case"Hours":return i?n.getUTCHours():n.getHours();case"Date":return i?n.getUTCDate():n.getDate();case"Day":return i?n.getUTCDay():n.getDay();case"Month":return i?n.getUTCMonth():n.getMonth();case"FullYear":return i?n.getUTCFullYear():n.getFullYear();default:return NaN}}function wm(e,t,n){var i,a,u,f,m;if(!(!e.isValid()||isNaN(n))){switch(i=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?i.setUTCMilliseconds(n):i.setMilliseconds(n));case"Seconds":return void(a?i.setUTCSeconds(n):i.setSeconds(n));case"Minutes":return void(a?i.setUTCMinutes(n):i.setMinutes(n));case"Hours":return void(a?i.setUTCHours(n):i.setHours(n));case"Date":return void(a?i.setUTCDate(n):i.setDate(n));case"FullYear":break;default:return}u=n,f=e.month(),m=e.date(),m=m===29&&f===1&&!fl(u)?28:m,a?i.setUTCFullYear(u,f,m):i.setFullYear(u,f,m)}}function gS(e){return e=nr(e),Yr(this[e])?this[e]():this}function mS(e,t){if(typeof e=="object"){e=fd(e);var n=aS(e),i,a=n.length;for(i=0;i<a;i++)this[n[i].unit](e[n[i].unit])}else if(e=nr(e),Yr(this[e]))return this[e](t);return this}function yS(e,t){return(e%t+t)%t}var Dt;Array.prototype.indexOf?Dt=Array.prototype.indexOf:Dt=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function gd(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=yS(t,12);return e+=(t-n)/12,n===1?fl(e)?29:28:31-n%7%2}ve("M",["MM",2],"Mo",function(){return this.month()+1});ve("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});ve("MMMM",0,0,function(e){return this.localeData().months(this,e)});me("M",dt,Qs);me("MM",dt,Nn);me("MMM",function(e,t){return t.monthsShortRegex(e)});me("MMMM",function(e,t){return t.monthsRegex(e)});ot(["M","MM"],function(e,t){t[ci]=We(e)-1});ot(["MMM","MMMM"],function(e,t,n,i){var a=n._locale.monthsParse(e,i,n._strict);a!=null?t[ci]=a:Oe(n).invalidMonth=e});var vS="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),_m="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Sm=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,bS=po,xS=po;function wS(e,t){return e?mr(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Sm).test(t)?"format":"standalone"][e.month()]:mr(this._months)?this._months:this._months.standalone}function _S(e,t){return e?mr(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Sm.test(t)?"format":"standalone"][e.month()]:mr(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function SS(e,t,n){var i,a,u,f=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)u=Br([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(u,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(u,"").toLocaleLowerCase();return n?t==="MMM"?(a=Dt.call(this._shortMonthsParse,f),a!==-1?a:null):(a=Dt.call(this._longMonthsParse,f),a!==-1?a:null):t==="MMM"?(a=Dt.call(this._shortMonthsParse,f),a!==-1?a:(a=Dt.call(this._longMonthsParse,f),a!==-1?a:null)):(a=Dt.call(this._longMonthsParse,f),a!==-1?a:(a=Dt.call(this._shortMonthsParse,f),a!==-1?a:null))}function kS(e,t,n){var i,a,u;if(this._monthsParseExact)return SS.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(a=Br([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!n&&!this._monthsParse[i]&&(u="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[i]=new RegExp(u.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[i].test(e))return i;if(n&&t==="MMM"&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}}function km(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=We(t);else if(t=e.localeData().monthsParse(t),!gi(t))return e}var n=t,i=e.date();return i=i<29?i:Math.min(i,gd(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,i):e._d.setMonth(n,i),e}function Cm(e){return e!=null?(km(this,e),ue.updateOffset(this,!0),this):Ja(this,"Month")}function CS(){return gd(this.year(),this.month())}function DS(e){return this._monthsParseExact?(Ke(this,"_monthsRegex")||Dm.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(Ke(this,"_monthsShortRegex")||(this._monthsShortRegex=bS),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ES(e){return this._monthsParseExact?(Ke(this,"_monthsRegex")||Dm.call(this),e?this._monthsStrictRegex:this._monthsRegex):(Ke(this,"_monthsRegex")||(this._monthsRegex=xS),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Dm(){function e(b,_){return _.length-b.length}var t=[],n=[],i=[],a,u,f,m;for(a=0;a<12;a++)u=Br([2e3,a]),f=di(this.monthsShort(u,"")),m=di(this.months(u,"")),t.push(f),n.push(m),i.push(m),i.push(f);t.sort(e),n.sort(e),i.sort(e),this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function TS(e,t,n,i,a,u,f){var m;return e<100&&e>=0?(m=new Date(e+400,t,n,i,a,u,f),isFinite(m.getFullYear())&&m.setFullYear(e)):m=new Date(e,t,n,i,a,u,f),m}function Qa(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Vu(e,t,n){var i=7+t-n,a=(7+Qa(e,0,i).getUTCDay()-t)%7;return-a+i-1}function Em(e,t,n,i,a){var u=(7+n-i)%7,f=Vu(e,i,a),m=1+7*(t-1)+u+f,b,_;return m<=0?(b=e-1,_=Ka(b)+m):m>Ka(e)?(b=e+1,_=m-Ka(e)):(b=e,_=m),{year:b,dayOfYear:_}}function eo(e,t,n){var i=Vu(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1,u,f;return a<1?(f=e.year()-1,u=a+hi(f,t,n)):a>hi(e.year(),t,n)?(u=a-hi(e.year(),t,n),f=e.year()+1):(f=e.year(),u=a),{week:u,year:f}}function hi(e,t,n){var i=Vu(e,t,n),a=Vu(e+1,t,n);return(Ka(e)-i+a)/7}ve("w",["ww",2],"wo","week");ve("W",["WW",2],"Wo","isoWeek");me("w",dt,Qs);me("ww",dt,Nn);me("W",dt,Qs);me("WW",dt,Nn);go(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=We(e)});function MS(e){return eo(e,this._week.dow,this._week.doy).week}var IS={dow:0,doy:6};function AS(){return this._week.dow}function RS(){return this._week.doy}function OS(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function PS(e){var t=eo(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}ve("d",0,"do","day");ve("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});ve("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});ve("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});ve("e",0,0,"weekday");ve("E",0,0,"isoWeekday");me("d",dt);me("e",dt);me("E",dt);me("dd",function(e,t){return t.weekdaysMinRegex(e)});me("ddd",function(e,t){return t.weekdaysShortRegex(e)});me("dddd",function(e,t){return t.weekdaysRegex(e)});go(["dd","ddd","dddd"],function(e,t,n,i){var a=n._locale.weekdaysParse(e,i,n._strict);a!=null?t.d=a:Oe(n).invalidWeekday=e});go(["d","e","E"],function(e,t,n,i){t[i]=We(e)});function NS(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function LS(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function md(e,t){return e.slice(t,7).concat(e.slice(0,t))}var FS="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Tm="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$S="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),jS=po,BS=po,YS=po;function WS(e,t){var n=mr(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?md(n,this._week.dow):e?n[e.day()]:n}function HS(e){return e===!0?md(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function US(e){return e===!0?md(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function zS(e,t,n){var i,a,u,f=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)u=Br([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(u,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(u,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(u,"").toLocaleLowerCase();return n?t==="dddd"?(a=Dt.call(this._weekdaysParse,f),a!==-1?a:null):t==="ddd"?(a=Dt.call(this._shortWeekdaysParse,f),a!==-1?a:null):(a=Dt.call(this._minWeekdaysParse,f),a!==-1?a:null):t==="dddd"?(a=Dt.call(this._weekdaysParse,f),a!==-1||(a=Dt.call(this._shortWeekdaysParse,f),a!==-1)?a:(a=Dt.call(this._minWeekdaysParse,f),a!==-1?a:null)):t==="ddd"?(a=Dt.call(this._shortWeekdaysParse,f),a!==-1||(a=Dt.call(this._weekdaysParse,f),a!==-1)?a:(a=Dt.call(this._minWeekdaysParse,f),a!==-1?a:null)):(a=Dt.call(this._minWeekdaysParse,f),a!==-1||(a=Dt.call(this._weekdaysParse,f),a!==-1)?a:(a=Dt.call(this._shortWeekdaysParse,f),a!==-1?a:null))}function VS(e,t,n){var i,a,u;if(this._weekdaysParseExact)return zS.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(a=Br([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(u="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[i]=new RegExp(u.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[i].test(e))return i;if(n&&t==="ddd"&&this._shortWeekdaysParse[i].test(e))return i;if(n&&t==="dd"&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}}function qS(e){if(!this.isValid())return e!=null?this:NaN;var t=Ja(this,"Day");return e!=null?(e=NS(e,this.localeData()),this.add(e-t,"d")):t}function GS(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function KS(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=LS(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function ZS(e){return this._weekdaysParseExact?(Ke(this,"_weekdaysRegex")||yd.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Ke(this,"_weekdaysRegex")||(this._weekdaysRegex=jS),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function XS(e){return this._weekdaysParseExact?(Ke(this,"_weekdaysRegex")||yd.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ke(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=BS),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function JS(e){return this._weekdaysParseExact?(Ke(this,"_weekdaysRegex")||yd.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ke(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=YS),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function yd(){function e(E,O){return O.length-E.length}var t=[],n=[],i=[],a=[],u,f,m,b,_;for(u=0;u<7;u++)f=Br([2e3,1]).day(u),m=di(this.weekdaysMin(f,"")),b=di(this.weekdaysShort(f,"")),_=di(this.weekdays(f,"")),t.push(m),n.push(b),i.push(_),a.push(m),a.push(b),a.push(_);t.sort(e),n.sort(e),i.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function vd(){return this.hours()%12||12}function QS(){return this.hours()||24}ve("H",["HH",2],0,"hour");ve("h",["hh",2],0,vd);ve("k",["kk",2],0,QS);ve("hmm",0,0,function(){return""+vd.apply(this)+jr(this.minutes(),2)});ve("hmmss",0,0,function(){return""+vd.apply(this)+jr(this.minutes(),2)+jr(this.seconds(),2)});ve("Hmm",0,0,function(){return""+this.hours()+jr(this.minutes(),2)});ve("Hmmss",0,0,function(){return""+this.hours()+jr(this.minutes(),2)+jr(this.seconds(),2)});function Mm(e,t){ve(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Mm("a",!0);Mm("A",!1);function Im(e,t){return t._meridiemParse}me("a",Im);me("A",Im);me("H",dt,pd);me("h",dt,Qs);me("k",dt,Qs);me("HH",dt,Nn);me("hh",dt,Nn);me("kk",dt,Nn);me("hmm",vm);me("hmmss",bm);me("Hmm",vm);me("Hmmss",bm);ot(["H","HH"],Pt);ot(["k","kk"],function(e,t,n){var i=We(e);t[Pt]=i===24?0:i});ot(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});ot(["h","hh"],function(e,t,n){t[Pt]=We(e),Oe(n).bigHour=!0});ot("hmm",function(e,t,n){var i=e.length-2;t[Pt]=We(e.substr(0,i)),t[gr]=We(e.substr(i)),Oe(n).bigHour=!0});ot("hmmss",function(e,t,n){var i=e.length-4,a=e.length-2;t[Pt]=We(e.substr(0,i)),t[gr]=We(e.substr(i,2)),t[fi]=We(e.substr(a)),Oe(n).bigHour=!0});ot("Hmm",function(e,t,n){var i=e.length-2;t[Pt]=We(e.substr(0,i)),t[gr]=We(e.substr(i))});ot("Hmmss",function(e,t,n){var i=e.length-4,a=e.length-2;t[Pt]=We(e.substr(0,i)),t[gr]=We(e.substr(i,2)),t[fi]=We(e.substr(a))});function ek(e){return(e+"").toLowerCase().charAt(0)==="p"}var tk=/[ap]\.?m?\.?/i,nk=ea("Hours",!0);function rk(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var Am={calendar:z_,longDateFormat:K_,invalidDate:X_,ordinal:Q_,dayOfMonthOrdinalParse:eS,relativeTime:nS,months:vS,monthsShort:_m,week:IS,weekdays:FS,weekdaysMin:$S,weekdaysShort:Tm,meridiemParse:tk},gt={},Wa={},to;function ik(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function Qp(e){return e&&e.toLowerCase().replace("_","-")}function sk(e){for(var t=0,n,i,a,u;t<e.length;){for(u=Qp(e[t]).split("-"),n=u.length,i=Qp(e[t+1]),i=i?i.split("-"):null;n>0;){if(a=dl(u.slice(0,n).join("-")),a)return a;if(i&&i.length>=n&&ik(u,i)>=n-1)break;n--}t++}return to}function ak(e){return!!(e&&e.match("^[^/\\\\]*$"))}function dl(e){var t=null,n;if(gt[e]===void 0&&typeof module<"u"&&module&&module.exports&&ak(e))try{t=to._abbr,n=require,n("./locale/"+e),Bi(t)}catch{gt[e]=null}return gt[e]}function Bi(e,t){var n;return e&&(wn(t)?n=yi(e):n=bd(e,t),n?to=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),to._abbr}function bd(e,t){if(t!==null){var n,i=Am;if(t.abbr=e,gt[e]!=null)pm("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=gt[e]._config;else if(t.parentLocale!=null)if(gt[t.parentLocale]!=null)i=gt[t.parentLocale]._config;else if(n=dl(t.parentLocale),n!=null)i=n._config;else return Wa[t.parentLocale]||(Wa[t.parentLocale]=[]),Wa[t.parentLocale].push({name:e,config:t}),null;return gt[e]=new ld(jf(i,t)),Wa[e]&&Wa[e].forEach(function(a){bd(a.name,a.config)}),Bi(e),gt[e]}else return delete gt[e],null}function ok(e,t){if(t!=null){var n,i,a=Am;gt[e]!=null&>[e].parentLocale!=null?gt[e].set(jf(gt[e]._config,t)):(i=dl(e),i!=null&&(a=i._config),t=jf(a,t),i==null&&(t.abbr=e),n=new ld(t),n.parentLocale=gt[e],gt[e]=n),Bi(e)}else gt[e]!=null&&(gt[e].parentLocale!=null?(gt[e]=gt[e].parentLocale,e===Bi()&&Bi(e)):gt[e]!=null&&delete gt[e]);return gt[e]}function yi(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return to;if(!mr(e)){if(t=dl(e),t)return t;e=[e]}return sk(e)}function uk(){return Bf(gt)}function xd(e){var t,n=e._a;return n&&Oe(e).overflow===-2&&(t=n[ci]<0||n[ci]>11?ci:n[Pr]<1||n[Pr]>gd(n[tn],n[ci])?Pr:n[Pt]<0||n[Pt]>24||n[Pt]===24&&(n[gr]!==0||n[fi]!==0||n[as]!==0)?Pt:n[gr]<0||n[gr]>59?gr:n[fi]<0||n[fi]>59?fi:n[as]<0||n[as]>999?as:-1,Oe(e)._overflowDayOfYear&&(t<tn||t>Pr)&&(t=Pr),Oe(e)._overflowWeeks&&t===-1&&(t=dS),Oe(e)._overflowWeekday&&t===-1&&(t=hS),Oe(e).overflow=t),e}var lk=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ck=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,fk=/Z|[+-]\d\d(?::?\d\d)?/,Ru=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],_f=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],dk=/^\/?Date\((-?\d+)/i,hk=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,pk={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Rm(e){var t,n,i=e._i,a=lk.exec(i)||ck.exec(i),u,f,m,b,_=Ru.length,E=_f.length;if(a){for(Oe(e).iso=!0,t=0,n=_;t<n;t++)if(Ru[t][1].exec(a[1])){f=Ru[t][0],u=Ru[t][2]!==!1;break}if(f==null){e._isValid=!1;return}if(a[3]){for(t=0,n=E;t<n;t++)if(_f[t][1].exec(a[3])){m=(a[2]||" ")+_f[t][0];break}if(m==null){e._isValid=!1;return}}if(!u&&m!=null){e._isValid=!1;return}if(a[4])if(fk.exec(a[4]))b="Z";else{e._isValid=!1;return}e._f=f+(m||"")+(b||""),_d(e)}else e._isValid=!1}function gk(e,t,n,i,a,u){var f=[mk(e),_m.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(a,10)];return u&&f.push(parseInt(u,10)),f}function mk(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function yk(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function vk(e,t,n){if(e){var i=Tm.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(i!==a)return Oe(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function bk(e,t,n){if(e)return pk[e];if(t)return 0;var i=parseInt(n,10),a=i%100,u=(i-a)/100;return u*60+a}function Om(e){var t=hk.exec(yk(e._i)),n;if(t){if(n=gk(t[4],t[3],t[2],t[5],t[6],t[7]),!vk(t[1],n,e))return;e._a=n,e._tzm=bk(t[8],t[9],t[10]),e._d=Qa.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),Oe(e).rfc2822=!0}else e._isValid=!1}function xk(e){var t=dk.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Rm(e),e._isValid===!1)delete e._isValid;else return;if(Om(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:ue.createFromInputFallback(e)}ue.createFromInputFallback=tr("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Us(e,t,n){return e??t??n}function wk(e){var t=new Date(ue.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function wd(e){var t,n,i=[],a,u,f;if(!e._d){for(a=wk(e),e._w&&e._a[Pr]==null&&e._a[ci]==null&&_k(e),e._dayOfYear!=null&&(f=Us(e._a[tn],a[tn]),(e._dayOfYear>Ka(f)||e._dayOfYear===0)&&(Oe(e)._overflowDayOfYear=!0),n=Qa(f,0,e._dayOfYear),e._a[ci]=n.getUTCMonth(),e._a[Pr]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=i[t]=a[t];for(;t<7;t++)e._a[t]=i[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Pt]===24&&e._a[gr]===0&&e._a[fi]===0&&e._a[as]===0&&(e._nextDay=!0,e._a[Pt]=0),e._d=(e._useUTC?Qa:TS).apply(null,i),u=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Pt]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==u&&(Oe(e).weekdayMismatch=!0)}}function _k(e){var t,n,i,a,u,f,m,b,_;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(u=1,f=4,n=Us(t.GG,e._a[tn],eo(ft(),1,4).year),i=Us(t.W,1),a=Us(t.E,1),(a<1||a>7)&&(b=!0)):(u=e._locale._week.dow,f=e._locale._week.doy,_=eo(ft(),u,f),n=Us(t.gg,e._a[tn],_.year),i=Us(t.w,_.week),t.d!=null?(a=t.d,(a<0||a>6)&&(b=!0)):t.e!=null?(a=t.e+u,(t.e<0||t.e>6)&&(b=!0)):a=u),i<1||i>hi(n,u,f)?Oe(e)._overflowWeeks=!0:b!=null?Oe(e)._overflowWeekday=!0:(m=Em(n,i,a,u,f),e._a[tn]=m.year,e._dayOfYear=m.dayOfYear)}ue.ISO_8601=function(){};ue.RFC_2822=function(){};function _d(e){if(e._f===ue.ISO_8601){Rm(e);return}if(e._f===ue.RFC_2822){Om(e);return}e._a=[],Oe(e).empty=!0;var t=""+e._i,n,i,a,u,f,m=t.length,b=0,_,E;for(a=gm(e._f,e._locale).match(cd)||[],E=a.length,n=0;n<E;n++)u=a[n],i=(t.match(lS(u,e))||[])[0],i&&(f=t.substr(0,t.indexOf(i)),f.length>0&&Oe(e).unusedInput.push(f),t=t.slice(t.indexOf(i)+i.length),b+=i.length),Vs[u]?(i?Oe(e).empty=!1:Oe(e).unusedTokens.push(u),fS(u,i,e)):e._strict&&!i&&Oe(e).unusedTokens.push(u);Oe(e).charsLeftOver=m-b,t.length>0&&Oe(e).unusedInput.push(t),e._a[Pt]<=12&&Oe(e).bigHour===!0&&e._a[Pt]>0&&(Oe(e).bigHour=void 0),Oe(e).parsedDateParts=e._a.slice(0),Oe(e).meridiem=e._meridiem,e._a[Pt]=Sk(e._locale,e._a[Pt],e._meridiem),_=Oe(e).era,_!==null&&(e._a[tn]=e._locale.erasConvertYear(_,e._a[tn])),wd(e),xd(e)}function Sk(e,t,n){var i;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(i=e.isPM(n),i&&t<12&&(t+=12),!i&&t===12&&(t=0)),t)}function kk(e){var t,n,i,a,u,f,m=!1,b=e._f.length;if(b===0){Oe(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<b;a++)u=0,f=!1,t=ud({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],_d(t),od(t)&&(f=!0),u+=Oe(t).charsLeftOver,u+=Oe(t).unusedTokens.length*10,Oe(t).score=u,m?u<i&&(i=u,n=t):(i==null||u<i||f)&&(i=u,n=t,f&&(m=!0));$i(e,n||t)}function Ck(e){if(!e._d){var t=fd(e._i),n=t.day===void 0?t.date:t.day;e._a=dm([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(i){return i&&parseInt(i,10)}),wd(e)}}function Dk(e){var t=new ho(xd(Pm(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Pm(e){var t=e._i,n=e._f;return e._locale=e._locale||yi(e._l),t===null||n===void 0&&t===""?sl({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),yr(t)?new ho(xd(t)):(fo(t)?e._d=t:mr(n)?kk(e):n?_d(e):Ek(e),od(e)||(e._d=null),e))}function Ek(e){var t=e._i;wn(t)?e._d=new Date(ue.now()):fo(t)?e._d=new Date(t.valueOf()):typeof t=="string"?xk(e):mr(t)?(e._a=dm(t.slice(0),function(n){return parseInt(n,10)}),wd(e)):ls(t)?Ck(e):gi(t)?e._d=new Date(t):ue.createFromInputFallback(e)}function Nm(e,t,n,i,a){var u={};return(t===!0||t===!1)&&(i=t,t=void 0),(n===!0||n===!1)&&(i=n,n=void 0),(ls(e)&&ad(e)||mr(e)&&e.length===0)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=a,u._l=n,u._i=e,u._f=t,u._strict=i,Dk(u)}function ft(e,t,n,i){return Nm(e,t,n,i,!1)}var Tk=tr("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=ft.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:sl()}),Mk=tr("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=ft.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:sl()});function Lm(e,t){var n,i;if(t.length===1&&mr(t[0])&&(t=t[0]),!t.length)return ft();for(n=t[0],i=1;i<t.length;++i)(!t[i].isValid()||t[i][e](n))&&(n=t[i]);return n}function Ik(){var e=[].slice.call(arguments,0);return Lm("isBefore",e)}function Ak(){var e=[].slice.call(arguments,0);return Lm("isAfter",e)}var Rk=function(){return Date.now?Date.now():+new Date},Ha=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ok(e){var t,n=!1,i,a=Ha.length;for(t in e)if(Ke(e,t)&&!(Dt.call(Ha,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(i=0;i<a;++i)if(e[Ha[i]]){if(n)return!1;parseFloat(e[Ha[i]])!==We(e[Ha[i]])&&(n=!0)}return!0}function Pk(){return this._isValid}function Nk(){return vr(NaN)}function hl(e){var t=fd(e),n=t.year||0,i=t.quarter||0,a=t.month||0,u=t.week||t.isoWeek||0,f=t.day||0,m=t.hour||0,b=t.minute||0,_=t.second||0,E=t.millisecond||0;this._isValid=Ok(t),this._milliseconds=+E+_*1e3+b*6e4+m*1e3*60*60,this._days=+f+u*7,this._months=+a+i*3+n*12,this._data={},this._locale=yi(),this._bubble()}function $u(e){return e instanceof hl}function Wf(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Lk(e,t,n){var i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),u=0,f;for(f=0;f<i;f++)(n&&e[f]!==t[f]||!n&&We(e[f])!==We(t[f]))&&u++;return u+a}function Fm(e,t){ve(e,0,0,function(){var n=this.utcOffset(),i="+";return n<0&&(n=-n,i="-"),i+jr(~~(n/60),2)+t+jr(~~n%60,2)})}Fm("Z",":");Fm("ZZ","");me("Z",cl);me("ZZ",cl);ot(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Sd(cl,e)});var Fk=/([\+\-]|\d\d)/gi;function Sd(e,t){var n=(t||"").match(e),i,a,u;return n===null?null:(i=n[n.length-1]||[],a=(i+"").match(Fk)||["-",0,0],u=+(a[1]*60)+We(a[2]),u===0?0:a[0]==="+"?u:-u)}function kd(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(yr(e)||fo(e)?e.valueOf():ft(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),ue.updateOffset(n,!1),n):ft(e).local()}function Hf(e){return-Math.round(e._d.getTimezoneOffset())}ue.updateOffset=function(){};function $k(e,t,n){var i=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Sd(cl,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(a=Hf(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),i!==e&&(!t||this._changeInProgress?Bm(this,vr(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,ue.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?i:Hf(this)}function jk(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Bk(e){return this.utcOffset(0,e)}function Yk(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Hf(this),"m")),this}function Wk(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Sd(oS,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Hk(e){return this.isValid()?(e=e?ft(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Uk(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function zk(){if(!wn(this._isDSTShifted))return this._isDSTShifted;var e={},t;return ud(e,this),e=Pm(e),e._a?(t=e._isUTC?Br(e._a):ft(e._a),this._isDSTShifted=this.isValid()&&Lk(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Vk(){return this.isValid()?!this._isUTC:!1}function qk(){return this.isValid()?this._isUTC:!1}function $m(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Gk=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Kk=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function vr(e,t){var n=e,i=null,a,u,f;return $u(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:gi(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(i=Gk.exec(e))?(a=i[1]==="-"?-1:1,n={y:0,d:We(i[Pr])*a,h:We(i[Pt])*a,m:We(i[gr])*a,s:We(i[fi])*a,ms:We(Wf(i[as]*1e3))*a}):(i=Kk.exec(e))?(a=i[1]==="-"?-1:1,n={y:ss(i[2],a),M:ss(i[3],a),w:ss(i[4],a),d:ss(i[5],a),h:ss(i[6],a),m:ss(i[7],a),s:ss(i[8],a)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(f=Zk(ft(n.from),ft(n.to)),n={},n.ms=f.milliseconds,n.M=f.months),u=new hl(n),$u(e)&&Ke(e,"_locale")&&(u._locale=e._locale),$u(e)&&Ke(e,"_isValid")&&(u._isValid=e._isValid),u}vr.fn=hl.prototype;vr.invalid=Nk;function ss(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function eg(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Zk(e,t){var n;return e.isValid()&&t.isValid()?(t=kd(t,e),e.isBefore(t)?n=eg(e,t):(n=eg(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function jm(e,t){return function(n,i){var a,u;return i!==null&&!isNaN(+i)&&(pm(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),u=n,n=i,i=u),a=vr(n,i),Bm(this,a,e),this}}function Bm(e,t,n,i){var a=t._milliseconds,u=Wf(t._days),f=Wf(t._months);e.isValid()&&(i=i??!0,f&&km(e,Ja(e,"Month")+f*n),u&&wm(e,"Date",Ja(e,"Date")+u*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&ue.updateOffset(e,u||f))}var Xk=jm(1,"add"),Jk=jm(-1,"subtract");function Ym(e){return typeof e=="string"||e instanceof String}function Qk(e){return yr(e)||fo(e)||Ym(e)||gi(e)||tC(e)||eC(e)||e===null||e===void 0}function eC(e){var t=ls(e)&&!ad(e),n=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,u,f=i.length;for(a=0;a<f;a+=1)u=i[a],n=n||Ke(e,u);return t&&n}function tC(e){var t=mr(e),n=!1;return t&&(n=e.filter(function(i){return!gi(i)&&Ym(e)}).length===0),t&&n}function nC(e){var t=ls(e)&&!ad(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,u;for(a=0;a<i.length;a+=1)u=i[a],n=n||Ke(e,u);return t&&n}function rC(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function iC(e,t){arguments.length===1&&(arguments[0]?Qk(arguments[0])?(e=arguments[0],t=void 0):nC(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||ft(),i=kd(n,this).startOf("day"),a=ue.calendarFormat(this,i)||"sameElse",u=t&&(Yr(t[a])?t[a].call(this,n):t[a]);return this.format(u||this.localeData().calendar(a,this,ft(n)))}function sC(){return new ho(this)}function aC(e,t){var n=yr(e)?e:ft(e);return this.isValid()&&n.isValid()?(t=nr(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function oC(e,t){var n=yr(e)?e:ft(e);return this.isValid()&&n.isValid()?(t=nr(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function uC(e,t,n,i){var a=yr(e)?e:ft(e),u=yr(t)?t:ft(t);return this.isValid()&&a.isValid()&&u.isValid()?(i=i||"()",(i[0]==="("?this.isAfter(a,n):!this.isBefore(a,n))&&(i[1]===")"?this.isBefore(u,n):!this.isAfter(u,n))):!1}function lC(e,t){var n=yr(e)?e:ft(e),i;return this.isValid()&&n.isValid()?(t=nr(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(t).valueOf()<=i&&i<=this.clone().endOf(t).valueOf())):!1}function cC(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function fC(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function dC(e,t,n){var i,a,u;if(!this.isValid())return NaN;if(i=kd(e,this),!i.isValid())return NaN;switch(a=(i.utcOffset()-this.utcOffset())*6e4,t=nr(t),t){case"year":u=ju(this,i)/12;break;case"month":u=ju(this,i);break;case"quarter":u=ju(this,i)/3;break;case"second":u=(this-i)/1e3;break;case"minute":u=(this-i)/6e4;break;case"hour":u=(this-i)/36e5;break;case"day":u=(this-i-a)/864e5;break;case"week":u=(this-i-a)/6048e5;break;default:u=this-i}return n?u:Jn(u)}function ju(e,t){if(e.date()<t.date())return-ju(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),i=e.clone().add(n,"months"),a,u;return t-i<0?(a=e.clone().add(n-1,"months"),u=(t-i)/(i-a)):(a=e.clone().add(n+1,"months"),u=(t-i)/(a-i)),-(n+u)||0}ue.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";ue.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function hC(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function pC(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?Fu(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Yr(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Fu(n,"Z")):Fu(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function gC(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,i,a,u;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",u=t+'[")]',this.format(n+i+a+u)}function mC(e){e||(e=this.isUtc()?ue.defaultFormatUtc:ue.defaultFormat);var t=Fu(this,e);return this.localeData().postformat(t)}function yC(e,t){return this.isValid()&&(yr(e)&&e.isValid()||ft(e).isValid())?vr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function vC(e){return this.from(ft(),e)}function bC(e,t){return this.isValid()&&(yr(e)&&e.isValid()||ft(e).isValid())?vr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function xC(e){return this.to(ft(),e)}function Wm(e){var t;return e===void 0?this._locale._abbr:(t=yi(e),t!=null&&(this._locale=t),this)}var Hm=tr("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Um(){return this._locale}var qu=1e3,qs=60*qu,Gu=60*qs,zm=(365*400+97)*24*Gu;function Gs(e,t){return(e%t+t)%t}function Vm(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-zm:new Date(e,t,n).valueOf()}function qm(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-zm:Date.UTC(e,t,n)}function wC(e){var t,n;if(e=nr(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?qm:Vm,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Gs(t+(this._isUTC?0:this.utcOffset()*qs),Gu);break;case"minute":t=this._d.valueOf(),t-=Gs(t,qs);break;case"second":t=this._d.valueOf(),t-=Gs(t,qu);break}return this._d.setTime(t),ue.updateOffset(this,!0),this}function _C(e){var t,n;if(e=nr(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?qm:Vm,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Gu-Gs(t+(this._isUTC?0:this.utcOffset()*qs),Gu)-1;break;case"minute":t=this._d.valueOf(),t+=qs-Gs(t,qs)-1;break;case"second":t=this._d.valueOf(),t+=qu-Gs(t,qu)-1;break}return this._d.setTime(t),ue.updateOffset(this,!0),this}function SC(){return this._d.valueOf()-(this._offset||0)*6e4}function kC(){return Math.floor(this.valueOf()/1e3)}function CC(){return new Date(this.valueOf())}function DC(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function EC(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function TC(){return this.isValid()?this.toISOString():null}function MC(){return od(this)}function IC(){return $i({},Oe(this))}function AC(){return Oe(this).overflow}function RC(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}ve("N",0,0,"eraAbbr");ve("NN",0,0,"eraAbbr");ve("NNN",0,0,"eraAbbr");ve("NNNN",0,0,"eraName");ve("NNNNN",0,0,"eraNarrow");ve("y",["y",1],"yo","eraYear");ve("y",["yy",2],0,"eraYear");ve("y",["yyy",3],0,"eraYear");ve("y",["yyyy",4],0,"eraYear");me("N",Cd);me("NN",Cd);me("NNN",Cd);me("NNNN",HC);me("NNNNN",UC);ot(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){var a=n._locale.erasParse(e,i,n._strict);a?Oe(n).era=a:Oe(n).invalidEra=e});me("y",Js);me("yy",Js);me("yyy",Js);me("yyyy",Js);me("yo",zC);ot(["y","yy","yyy","yyyy"],tn);ot(["yo"],function(e,t,n,i){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[tn]=n._locale.eraYearOrdinalParse(e,a):t[tn]=parseInt(e,10)});function OC(e,t){var n,i,a,u=this._eras||yi("en")._eras;for(n=0,i=u.length;n<i;++n){switch(typeof u[n].since){case"string":a=ue(u[n].since).startOf("day"),u[n].since=a.valueOf();break}switch(typeof u[n].until){case"undefined":u[n].until=1/0;break;case"string":a=ue(u[n].until).startOf("day").valueOf(),u[n].until=a.valueOf();break}}return u}function PC(e,t,n){var i,a,u=this.eras(),f,m,b;for(e=e.toUpperCase(),i=0,a=u.length;i<a;++i)if(f=u[i].name.toUpperCase(),m=u[i].abbr.toUpperCase(),b=u[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(m===e)return u[i];break;case"NNNN":if(f===e)return u[i];break;case"NNNNN":if(b===e)return u[i];break}else if([f,m,b].indexOf(e)>=0)return u[i]}function NC(e,t){var n=e.since<=e.until?1:-1;return t===void 0?ue(e.since).year():ue(e.since).year()+(t-e.offset)*n}function LC(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return i[e].name;return""}function FC(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return i[e].narrow;return""}function $C(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return i[e].abbr;return""}function jC(){var e,t,n,i,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,i=this.clone().startOf("day").valueOf(),a[e].since<=i&&i<=a[e].until||a[e].until<=i&&i<=a[e].since)return(this.year()-ue(a[e].since).year())*n+a[e].offset;return this.year()}function BC(e){return Ke(this,"_erasNameRegex")||Dd.call(this),e?this._erasNameRegex:this._erasRegex}function YC(e){return Ke(this,"_erasAbbrRegex")||Dd.call(this),e?this._erasAbbrRegex:this._erasRegex}function WC(e){return Ke(this,"_erasNarrowRegex")||Dd.call(this),e?this._erasNarrowRegex:this._erasRegex}function Cd(e,t){return t.erasAbbrRegex(e)}function HC(e,t){return t.erasNameRegex(e)}function UC(e,t){return t.erasNarrowRegex(e)}function zC(e,t){return t._eraYearOrdinalRegex||Js}function Dd(){var e=[],t=[],n=[],i=[],a,u,f,m,b,_=this.eras();for(a=0,u=_.length;a<u;++a)f=di(_[a].name),m=di(_[a].abbr),b=di(_[a].narrow),t.push(f),e.push(m),n.push(b),i.push(f),i.push(m),i.push(b);this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}ve(0,["gg",2],0,function(){return this.weekYear()%100});ve(0,["GG",2],0,function(){return this.isoWeekYear()%100});function pl(e,t){ve(0,[e,e.length],0,t)}pl("gggg","weekYear");pl("ggggg","weekYear");pl("GGGG","isoWeekYear");pl("GGGGG","isoWeekYear");me("G",ll);me("g",ll);me("GG",dt,Nn);me("gg",dt,Nn);me("GGGG",hd,dd);me("gggg",hd,dd);me("GGGGG",ul,al);me("ggggg",ul,al);go(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=We(e)});go(["gg","GG"],function(e,t,n,i){t[i]=ue.parseTwoDigitYear(e)});function VC(e){return Gm.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function qC(e){return Gm.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function GC(){return hi(this.year(),1,4)}function KC(){return hi(this.isoWeekYear(),1,4)}function ZC(){var e=this.localeData()._week;return hi(this.year(),e.dow,e.doy)}function XC(){var e=this.localeData()._week;return hi(this.weekYear(),e.dow,e.doy)}function Gm(e,t,n,i,a){var u;return e==null?eo(this,i,a).year:(u=hi(e,i,a),t>u&&(t=u),JC.call(this,e,t,n,i,a))}function JC(e,t,n,i,a){var u=Em(e,t,n,i,a),f=Qa(u.year,0,u.dayOfYear);return this.year(f.getUTCFullYear()),this.month(f.getUTCMonth()),this.date(f.getUTCDate()),this}ve("Q",0,"Qo","quarter");me("Q",mm);ot("Q",function(e,t){t[ci]=(We(e)-1)*3});function QC(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}ve("D",["DD",2],"Do","date");me("D",dt,Qs);me("DD",dt,Nn);me("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});ot(["D","DD"],Pr);ot("Do",function(e,t){t[Pr]=We(e.match(dt)[0])});var Km=ea("Date",!0);ve("DDD",["DDDD",3],"DDDo","dayOfYear");me("DDD",ol);me("DDDD",ym);ot(["DDD","DDDD"],function(e,t,n){n._dayOfYear=We(e)});function eD(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}ve("m",["mm",2],0,"minute");me("m",dt,pd);me("mm",dt,Nn);ot(["m","mm"],gr);var tD=ea("Minutes",!1);ve("s",["ss",2],0,"second");me("s",dt,pd);me("ss",dt,Nn);ot(["s","ss"],fi);var nD=ea("Seconds",!1);ve("S",0,0,function(){return~~(this.millisecond()/100)});ve(0,["SS",2],0,function(){return~~(this.millisecond()/10)});ve(0,["SSS",3],0,"millisecond");ve(0,["SSSS",4],0,function(){return this.millisecond()*10});ve(0,["SSSSS",5],0,function(){return this.millisecond()*100});ve(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});ve(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});ve(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});ve(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});me("S",ol,mm);me("SS",ol,Nn);me("SSS",ol,ym);var ji,Zm;for(ji="SSSS";ji.length<=9;ji+="S")me(ji,Js);function rD(e,t){t[as]=We(("0."+e)*1e3)}for(ji="S";ji.length<=9;ji+="S")ot(ji,rD);Zm=ea("Milliseconds",!1);ve("z",0,0,"zoneAbbr");ve("zz",0,0,"zoneName");function iD(){return this._isUTC?"UTC":""}function sD(){return this._isUTC?"Coordinated Universal Time":""}var re=ho.prototype;re.add=Xk;re.calendar=iC;re.clone=sC;re.diff=dC;re.endOf=_C;re.format=mC;re.from=yC;re.fromNow=vC;re.to=bC;re.toNow=xC;re.get=gS;re.invalidAt=AC;re.isAfter=aC;re.isBefore=oC;re.isBetween=uC;re.isSame=lC;re.isSameOrAfter=cC;re.isSameOrBefore=fC;re.isValid=MC;re.lang=Hm;re.locale=Wm;re.localeData=Um;re.max=Mk;re.min=Tk;re.parsingFlags=IC;re.set=mS;re.startOf=wC;re.subtract=Jk;re.toArray=DC;re.toObject=EC;re.toDate=CC;re.toISOString=pC;re.inspect=gC;typeof Symbol<"u"&&Symbol.for!=null&&(re[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});re.toJSON=TC;re.toString=hC;re.unix=kC;re.valueOf=SC;re.creationData=RC;re.eraName=LC;re.eraNarrow=FC;re.eraAbbr=$C;re.eraYear=jC;re.year=xm;re.isLeapYear=pS;re.weekYear=VC;re.isoWeekYear=qC;re.quarter=re.quarters=QC;re.month=Cm;re.daysInMonth=CS;re.week=re.weeks=OS;re.isoWeek=re.isoWeeks=PS;re.weeksInYear=ZC;re.weeksInWeekYear=XC;re.isoWeeksInYear=GC;re.isoWeeksInISOWeekYear=KC;re.date=Km;re.day=re.days=qS;re.weekday=GS;re.isoWeekday=KS;re.dayOfYear=eD;re.hour=re.hours=nk;re.minute=re.minutes=tD;re.second=re.seconds=nD;re.millisecond=re.milliseconds=Zm;re.utcOffset=$k;re.utc=Bk;re.local=Yk;re.parseZone=Wk;re.hasAlignedHourOffset=Hk;re.isDST=Uk;re.isLocal=Vk;re.isUtcOffset=qk;re.isUtc=$m;re.isUTC=$m;re.zoneAbbr=iD;re.zoneName=sD;re.dates=tr("dates accessor is deprecated. Use date instead.",Km);re.months=tr("months accessor is deprecated. Use month instead",Cm);re.years=tr("years accessor is deprecated. Use year instead",xm);re.zone=tr("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",jk);re.isDSTShifted=tr("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",zk);function aD(e){return ft(e*1e3)}function oD(){return ft.apply(null,arguments).parseZone()}function Xm(e){return e}var Ze=ld.prototype;Ze.calendar=V_;Ze.longDateFormat=Z_;Ze.invalidDate=J_;Ze.ordinal=tS;Ze.preparse=Xm;Ze.postformat=Xm;Ze.relativeTime=rS;Ze.pastFuture=iS;Ze.set=U_;Ze.eras=OC;Ze.erasParse=PC;Ze.erasConvertYear=NC;Ze.erasAbbrRegex=YC;Ze.erasNameRegex=BC;Ze.erasNarrowRegex=WC;Ze.months=wS;Ze.monthsShort=_S;Ze.monthsParse=kS;Ze.monthsRegex=ES;Ze.monthsShortRegex=DS;Ze.week=MS;Ze.firstDayOfYear=RS;Ze.firstDayOfWeek=AS;Ze.weekdays=WS;Ze.weekdaysMin=US;Ze.weekdaysShort=HS;Ze.weekdaysParse=VS;Ze.weekdaysRegex=ZS;Ze.weekdaysShortRegex=XS;Ze.weekdaysMinRegex=JS;Ze.isPM=ek;Ze.meridiem=rk;function Ku(e,t,n,i){var a=yi(),u=Br().set(i,t);return a[n](u,e)}function Jm(e,t,n){if(gi(e)&&(t=e,e=void 0),e=e||"",t!=null)return Ku(e,t,n,"month");var i,a=[];for(i=0;i<12;i++)a[i]=Ku(e,i,n,"month");return a}function Ed(e,t,n,i){typeof e=="boolean"?(gi(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,gi(t)&&(n=t,t=void 0),t=t||"");var a=yi(),u=e?a._week.dow:0,f,m=[];if(n!=null)return Ku(t,(n+u)%7,i,"day");for(f=0;f<7;f++)m[f]=Ku(t,(f+u)%7,i,"day");return m}function uD(e,t){return Jm(e,t,"months")}function lD(e,t){return Jm(e,t,"monthsShort")}function cD(e,t,n){return Ed(e,t,n,"weekdays")}function fD(e,t,n){return Ed(e,t,n,"weekdaysShort")}function dD(e,t,n){return Ed(e,t,n,"weekdaysMin")}Bi("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=We(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});ue.lang=tr("moment.lang is deprecated. Use moment.locale instead.",Bi);ue.langData=tr("moment.langData is deprecated. Use moment.localeData instead.",yi);var oi=Math.abs;function hD(){var e=this._data;return this._milliseconds=oi(this._milliseconds),this._days=oi(this._days),this._months=oi(this._months),e.milliseconds=oi(e.milliseconds),e.seconds=oi(e.seconds),e.minutes=oi(e.minutes),e.hours=oi(e.hours),e.months=oi(e.months),e.years=oi(e.years),this}function Qm(e,t,n,i){var a=vr(t,n);return e._milliseconds+=i*a._milliseconds,e._days+=i*a._days,e._months+=i*a._months,e._bubble()}function pD(e,t){return Qm(this,e,t,1)}function gD(e,t){return Qm(this,e,t,-1)}function tg(e){return e<0?Math.floor(e):Math.ceil(e)}function mD(){var e=this._milliseconds,t=this._days,n=this._months,i=this._data,a,u,f,m,b;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=tg(Uf(n)+t)*864e5,t=0,n=0),i.milliseconds=e%1e3,a=Jn(e/1e3),i.seconds=a%60,u=Jn(a/60),i.minutes=u%60,f=Jn(u/60),i.hours=f%24,t+=Jn(f/24),b=Jn(e0(t)),n+=b,t-=tg(Uf(b)),m=Jn(n/12),n%=12,i.days=t,i.months=n,i.years=m,this}function e0(e){return e*4800/146097}function Uf(e){return e*146097/4800}function yD(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if(e=nr(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+i/864e5,n=this._months+e0(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Uf(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return t*24+i/36e5;case"minute":return t*1440+i/6e4;case"second":return t*86400+i/1e3;case"millisecond":return Math.floor(t*864e5)+i;default:throw new Error("Unknown unit "+e)}}function vi(e){return function(){return this.as(e)}}var t0=vi("ms"),vD=vi("s"),bD=vi("m"),xD=vi("h"),wD=vi("d"),_D=vi("w"),SD=vi("M"),kD=vi("Q"),CD=vi("y"),DD=t0;function ED(){return vr(this)}function TD(e){return e=nr(e),this.isValid()?this[e+"s"]():NaN}function ms(e){return function(){return this.isValid()?this._data[e]:NaN}}var MD=ms("milliseconds"),ID=ms("seconds"),AD=ms("minutes"),RD=ms("hours"),OD=ms("days"),PD=ms("months"),ND=ms("years");function LD(){return Jn(this.days()/7)}var ui=Math.round,zs={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function FD(e,t,n,i,a){return a.relativeTime(t||1,!!n,e,i)}function $D(e,t,n,i){var a=vr(e).abs(),u=ui(a.as("s")),f=ui(a.as("m")),m=ui(a.as("h")),b=ui(a.as("d")),_=ui(a.as("M")),E=ui(a.as("w")),O=ui(a.as("y")),M=u<=n.ss&&["s",u]||u<n.s&&["ss",u]||f<=1&&["m"]||f<n.m&&["mm",f]||m<=1&&["h"]||m<n.h&&["hh",m]||b<=1&&["d"]||b<n.d&&["dd",b];return n.w!=null&&(M=M||E<=1&&["w"]||E<n.w&&["ww",E]),M=M||_<=1&&["M"]||_<n.M&&["MM",_]||O<=1&&["y"]||["yy",O],M[2]=t,M[3]=+e>0,M[4]=i,FD.apply(null,M)}function jD(e){return e===void 0?ui:typeof e=="function"?(ui=e,!0):!1}function BD(e,t){return zs[e]===void 0?!1:t===void 0?zs[e]:(zs[e]=t,e==="s"&&(zs.ss=t-1),!0)}function YD(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=zs,a,u;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(i=Object.assign({},zs,t),t.s!=null&&t.ss==null&&(i.ss=t.s-1)),a=this.localeData(),u=$D(this,!n,i,a),n&&(u=a.pastFuture(+this,u)),a.postformat(u)}var Sf=Math.abs;function Ls(e){return(e>0)-(e<0)||+e}function gl(){if(!this.isValid())return this.localeData().invalidDate();var e=Sf(this._milliseconds)/1e3,t=Sf(this._days),n=Sf(this._months),i,a,u,f,m=this.asSeconds(),b,_,E,O;return m?(i=Jn(e/60),a=Jn(i/60),e%=60,i%=60,u=Jn(n/12),n%=12,f=e?e.toFixed(3).replace(/\.?0+$/,""):"",b=m<0?"-":"",_=Ls(this._months)!==Ls(m)?"-":"",E=Ls(this._days)!==Ls(m)?"-":"",O=Ls(this._milliseconds)!==Ls(m)?"-":"",b+"P"+(u?_+u+"Y":"")+(n?_+n+"M":"")+(t?E+t+"D":"")+(a||i||e?"T":"")+(a?O+a+"H":"")+(i?O+i+"M":"")+(e?O+f+"S":"")):"P0D"}var ze=hl.prototype;ze.isValid=Pk;ze.abs=hD;ze.add=pD;ze.subtract=gD;ze.as=yD;ze.asMilliseconds=t0;ze.asSeconds=vD;ze.asMinutes=bD;ze.asHours=xD;ze.asDays=wD;ze.asWeeks=_D;ze.asMonths=SD;ze.asQuarters=kD;ze.asYears=CD;ze.valueOf=DD;ze._bubble=mD;ze.clone=ED;ze.get=TD;ze.milliseconds=MD;ze.seconds=ID;ze.minutes=AD;ze.hours=RD;ze.days=OD;ze.weeks=LD;ze.months=PD;ze.years=ND;ze.humanize=YD;ze.toISOString=gl;ze.toString=gl;ze.toJSON=gl;ze.locale=Wm;ze.localeData=Um;ze.toIsoString=tr("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",gl);ze.lang=Hm;ve("X",0,0,"unix");ve("x",0,0,"valueOf");me("x",ll);me("X",uS);ot("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});ot("x",function(e,t,n){n._d=new Date(We(e))});//! moment.js
|
|
10
|
-
ue.version="2.30.1";W_(ft);ue.fn=re;ue.min=Ik;ue.max=Ak;ue.now=Rk;ue.utc=Br;ue.unix=aD;ue.months=uD;ue.isDate=fo;ue.locale=Bi;ue.invalid=sl;ue.duration=vr;ue.isMoment=yr;ue.weekdays=cD;ue.parseZone=oD;ue.localeData=yi;ue.isDuration=$u;ue.monthsShort=lD;ue.weekdaysMin=dD;ue.defineLocale=bd;ue.updateLocale=ok;ue.locales=uk;ue.weekdaysShort=fD;ue.normalizeUnits=nr;ue.relativeTimeRounding=jD;ue.relativeTimeThreshold=BD;ue.calendarFormat=rC;ue.prototype=re;ue.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const WD=Object.freeze(Object.defineProperty({__proto__:null,default:ue},Symbol.toStringTag,{value:"Module"})),HD=({notification:e,handleUpdateRead:t})=>{const n=i=>{const a=ue(),u=ue(i),f=a.diff(u,"days");return f===0?"Today":f===1?"Yesterday":f>=2&&f<=7?`Last ${f} days`:f===8||f===9||f===10?"1 week ago":f>=11&&f<=14?"2 weeks ago":u.format("MMMM DD, YYYY")};return D.jsxRuntimeExports.jsxs("div",{className:"notitification-item__container",onClick:()=>t(e.id,!e.isRead),children:[D.jsxRuntimeExports.jsx("div",{className:"notification-item__image-container",children:D.jsxRuntimeExports.jsx("img",{src:(e==null?void 0:e.userAvatarUrl)===void 0?"https://ukpcsaprod.blob.core.windows.net/account/logo.png":e==null?void 0:e.userAvatarUrl,alt:e.userName})}),D.jsxRuntimeExports.jsxs("div",{className:"notification-item__content",children:[D.jsxRuntimeExports.jsx("p",{className:"notification-item__user-name",children:e.userName}),D.jsxRuntimeExports.jsxs("p",{children:[`${e.message} `,D.jsxRuntimeExports.jsx("span",{children:e==null?void 0:e.context})]})]}),D.jsxRuntimeExports.jsx("div",{className:"notification-item__time",children:D.jsxRuntimeExports.jsx("p",{children:n(e.createdAt)})}),D.jsxRuntimeExports.jsx("button",{className:`${(e==null?void 0:e.isRead)===!1?"unread":"read"} notification-item__read-at`,onClick:()=>t(e.id,!e.isRead),"aria-label":"Mark as read"})]})},ng=({notidata:e,handleUpdateRead:t,handleUpdateReadAll:n})=>D.jsxRuntimeExports.jsxs("div",{children:[D.jsxRuntimeExports.jsx("div",{className:"mark-all-read",children:D.jsxRuntimeExports.jsx("button",{onClick:n,children:"Mark all as read"})}),D.jsxRuntimeExports.jsx("div",{className:"notification-items__wrapper",children:D.jsxRuntimeExports.jsx("div",{className:"notification-items__content",children:Object.values(e).map((i,a)=>D.jsxRuntimeExports.jsx(HD,{notification:i,handleUpdateRead:t},a))})})]}),Zu=D.reactExports.createContext({});const UD={black:"#000",white:"#fff"},no=UD,zD={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"},Fs=zD,VD={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"},$s=VD,qD={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"},js=qD,GD={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"},Bs=GD,KD={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"},Ys=KD,ZD={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"},Ua=ZD,XD={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"},JD=XD;function ro(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const QD=Object.freeze(Object.defineProperty({__proto__:null,default:ro},Symbol.toStringTag,{value:"Module"})),n0="$$material";function r0(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var eE=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,tE=r0(function(e){return eE.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function nE(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function rE(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var iE=function(){function e(n){var i=this;this._insertTag=function(a){var u;i.tags.length===0?i.insertionPoint?u=i.insertionPoint.nextSibling:i.prepend?u=i.container.firstChild:u=i.before:u=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(a,u),i.tags.push(a)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(i){i.forEach(this._insertTag)},t.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(rE(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var u=nE(a);try{u.insertRule(i,u.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(i));this.ctr++},t.flush=function(){this.tags.forEach(function(i){return i.parentNode&&i.parentNode.removeChild(i)}),this.tags=[],this.ctr=0},e}(),en="-ms-",Xu="-moz-",Je="-webkit-",i0="comm",Td="rule",Md="decl",sE="@import",s0="@keyframes",aE="@layer",oE=Math.abs,ml=String.fromCharCode,uE=Object.assign;function lE(e,t){return Ut(e,0)^45?(((t<<2^Ut(e,0))<<2^Ut(e,1))<<2^Ut(e,2))<<2^Ut(e,3):0}function a0(e){return e.trim()}function cE(e,t){return(e=t.exec(e))?e[0]:e}function Qe(e,t,n){return e.replace(t,n)}function zf(e,t){return e.indexOf(t)}function Ut(e,t){return e.charCodeAt(t)|0}function io(e,t,n){return e.slice(t,n)}function Rr(e){return e.length}function Id(e){return e.length}function Ou(e,t){return t.push(e),e}function fE(e,t){return e.map(t).join("")}var yl=1,Xs=1,o0=0,_n=0,Mt=0,ta="";function vl(e,t,n,i,a,u,f){return{value:e,root:t,parent:n,type:i,props:a,children:u,line:yl,column:Xs,length:f,return:""}}function za(e,t){return uE(vl("",null,null,"",null,null,0),e,{length:-e.length},t)}function dE(){return Mt}function hE(){return Mt=_n>0?Ut(ta,--_n):0,Xs--,Mt===10&&(Xs=1,yl--),Mt}function On(){return Mt=_n<o0?Ut(ta,_n++):0,Xs++,Mt===10&&(Xs=1,yl++),Mt}function Lr(){return Ut(ta,_n)}function Bu(){return _n}function mo(e,t){return io(ta,e,t)}function so(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 u0(e){return yl=Xs=1,o0=Rr(ta=e),_n=0,[]}function l0(e){return ta="",e}function Yu(e){return a0(mo(_n-1,Vf(e===91?e+2:e===40?e+1:e)))}function pE(e){for(;(Mt=Lr())&&Mt<33;)On();return so(e)>2||so(Mt)>3?"":" "}function gE(e,t){for(;--t&&On()&&!(Mt<48||Mt>102||Mt>57&&Mt<65||Mt>70&&Mt<97););return mo(e,Bu()+(t<6&&Lr()==32&&On()==32))}function Vf(e){for(;On();)switch(Mt){case e:return _n;case 34:case 39:e!==34&&e!==39&&Vf(Mt);break;case 40:e===41&&Vf(e);break;case 92:On();break}return _n}function mE(e,t){for(;On()&&e+Mt!==47+10;)if(e+Mt===42+42&&Lr()===47)break;return"/*"+mo(t,_n-1)+"*"+ml(e===47?e:On())}function yE(e){for(;!so(Lr());)On();return mo(e,_n)}function vE(e){return l0(Wu("",null,null,null,[""],e=u0(e),0,[0],e))}function Wu(e,t,n,i,a,u,f,m,b){for(var _=0,E=0,O=f,M=0,z=0,B=0,$=1,Z=1,W=1,se=0,pe="",ae=a,ne=u,ie=i,h=pe;Z;)switch(B=se,se=On()){case 40:if(B!=108&&Ut(h,O-1)==58){zf(h+=Qe(Yu(se),"&","&\f"),"&\f")!=-1&&(W=-1);break}case 34:case 39:case 91:h+=Yu(se);break;case 9:case 10:case 13:case 32:h+=pE(B);break;case 92:h+=gE(Bu()-1,7);continue;case 47:switch(Lr()){case 42:case 47:Ou(bE(mE(On(),Bu()),t,n),b);break;default:h+="/"}break;case 123*$:m[_++]=Rr(h)*W;case 125*$:case 59:case 0:switch(se){case 0:case 125:Z=0;case 59+E:W==-1&&(h=Qe(h,/\f/g,"")),z>0&&Rr(h)-O&&Ou(z>32?ig(h+";",i,n,O-1):ig(Qe(h," ","")+";",i,n,O-2),b);break;case 59:h+=";";default:if(Ou(ie=rg(h,t,n,_,E,a,m,pe,ae=[],ne=[],O),u),se===123)if(E===0)Wu(h,t,ie,ie,ae,u,O,m,ne);else switch(M===99&&Ut(h,3)===110?100:M){case 100:case 108:case 109:case 115:Wu(e,ie,ie,i&&Ou(rg(e,ie,ie,0,0,a,m,pe,a,ae=[],O),ne),a,ne,O,m,i?ae:ne);break;default:Wu(h,ie,ie,ie,[""],ne,0,m,ne)}}_=E=z=0,$=W=1,pe=h="",O=f;break;case 58:O=1+Rr(h),z=B;default:if($<1){if(se==123)--$;else if(se==125&&$++==0&&hE()==125)continue}switch(h+=ml(se),se*$){case 38:W=E>0?1:(h+="\f",-1);break;case 44:m[_++]=(Rr(h)-1)*W,W=1;break;case 64:Lr()===45&&(h+=Yu(On())),M=Lr(),E=O=Rr(pe=h+=yE(Bu())),se++;break;case 45:B===45&&Rr(h)==2&&($=0)}}return u}function rg(e,t,n,i,a,u,f,m,b,_,E){for(var O=a-1,M=a===0?u:[""],z=Id(M),B=0,$=0,Z=0;B<i;++B)for(var W=0,se=io(e,O+1,O=oE($=f[B])),pe=e;W<z;++W)(pe=a0($>0?M[W]+" "+se:Qe(se,/&\f/g,M[W])))&&(b[Z++]=pe);return vl(e,t,n,a===0?Td:m,b,_,E)}function bE(e,t,n){return vl(e,t,n,i0,ml(dE()),io(e,2,-2),0)}function ig(e,t,n,i){return vl(e,t,n,Md,io(e,0,i),io(e,i+1,-1),i)}function Ks(e,t){for(var n="",i=Id(e),a=0;a<i;a++)n+=t(e[a],a,e,t)||"";return n}function xE(e,t,n,i){switch(e.type){case aE:if(e.children.length)break;case sE:case Md:return e.return=e.return||e.value;case i0:return"";case s0:return e.return=e.value+"{"+Ks(e.children,i)+"}";case Td:e.value=e.props.join(",")}return Rr(n=Ks(e.children,i))?e.return=e.value+"{"+n+"}":""}function wE(e){var t=Id(e);return function(n,i,a,u){for(var f="",m=0;m<t;m++)f+=e[m](n,i,a,u)||"";return f}}function _E(e){return function(t){t.root||(t=t.return)&&e(t)}}var SE=function(t,n,i){for(var a=0,u=0;a=u,u=Lr(),a===38&&u===12&&(n[i]=1),!so(u);)On();return mo(t,_n)},kE=function(t,n){var i=-1,a=44;do switch(so(a)){case 0:a===38&&Lr()===12&&(n[i]=1),t[i]+=SE(_n-1,n,i);break;case 2:t[i]+=Yu(a);break;case 4:if(a===44){t[++i]=Lr()===58?"&\f":"",n[i]=t[i].length;break}default:t[i]+=ml(a)}while(a=On());return t},CE=function(t,n){return l0(kE(u0(t),n))},sg=new WeakMap,DE=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,i=t.parent,a=t.column===i.column&&t.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!sg.get(i))&&!a){sg.set(t,!0);for(var u=[],f=CE(n,u),m=i.props,b=0,_=0;b<f.length;b++)for(var E=0;E<m.length;E++,_++)t.props[_]=u[b]?f[b].replace(/&\f/g,m[E]):m[E]+" "+f[b]}}},EE=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function c0(e,t){switch(lE(e,t)){case 5103:return Je+"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 Je+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Je+e+Xu+e+en+e+e;case 6828:case 4268:return Je+e+en+e+e;case 6165:return Je+e+en+"flex-"+e+e;case 5187:return Je+e+Qe(e,/(\w+).+(:[^]+)/,Je+"box-$1$2"+en+"flex-$1$2")+e;case 5443:return Je+e+en+"flex-item-"+Qe(e,/flex-|-self/,"")+e;case 4675:return Je+e+en+"flex-line-pack"+Qe(e,/align-content|flex-|-self/,"")+e;case 5548:return Je+e+en+Qe(e,"shrink","negative")+e;case 5292:return Je+e+en+Qe(e,"basis","preferred-size")+e;case 6060:return Je+"box-"+Qe(e,"-grow","")+Je+e+en+Qe(e,"grow","positive")+e;case 4554:return Je+Qe(e,/([^-])(transform)/g,"$1"+Je+"$2")+e;case 6187:return Qe(Qe(Qe(e,/(zoom-|grab)/,Je+"$1"),/(image-set)/,Je+"$1"),e,"")+e;case 5495:case 3959:return Qe(e,/(image-set\([^]*)/,Je+"$1$`$1");case 4968:return Qe(Qe(e,/(.+:)(flex-)?(.*)/,Je+"box-pack:$3"+en+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Je+e+e;case 4095:case 3583:case 4068:case 2532:return Qe(e,/(.+)-inline(.+)/,Je+"$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(Rr(e)-1-t>6)switch(Ut(e,t+1)){case 109:if(Ut(e,t+4)!==45)break;case 102:return Qe(e,/(.+:)(.+)-([^]+)/,"$1"+Je+"$2-$3$1"+Xu+(Ut(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~zf(e,"stretch")?c0(Qe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ut(e,t+1)!==115)break;case 6444:switch(Ut(e,Rr(e)-3-(~zf(e,"!important")&&10))){case 107:return Qe(e,":",":"+Je)+e;case 101:return Qe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Je+(Ut(e,14)===45?"inline-":"")+"box$3$1"+Je+"$2$3$1"+en+"$2box$3")+e}break;case 5936:switch(Ut(e,t+11)){case 114:return Je+e+en+Qe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Je+e+en+Qe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Je+e+en+Qe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Je+e+en+e+e}return e}var TE=function(t,n,i,a){if(t.length>-1&&!t.return)switch(t.type){case Md:t.return=c0(t.value,t.length);break;case s0:return Ks([za(t,{value:Qe(t.value,"@","@"+Je)})],a);case Td:if(t.length)return fE(t.props,function(u){switch(cE(u,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ks([za(t,{props:[Qe(u,/:(read-\w+)/,":"+Xu+"$1")]})],a);case"::placeholder":return Ks([za(t,{props:[Qe(u,/:(plac\w+)/,":"+Je+"input-$1")]}),za(t,{props:[Qe(u,/:(plac\w+)/,":"+Xu+"$1")]}),za(t,{props:[Qe(u,/:(plac\w+)/,en+"input-$1")]})],a)}return""})}},ME=[TE],f0=function(t){var n=t.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function($){var Z=$.getAttribute("data-emotion");Z.indexOf(" ")!==-1&&(document.head.appendChild($),$.setAttribute("data-s",""))})}var a=t.stylisPlugins||ME,u={},f,m=[];f=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function($){for(var Z=$.getAttribute("data-emotion").split(" "),W=1;W<Z.length;W++)u[Z[W]]=!0;m.push($)});var b,_=[DE,EE];{var E,O=[xE,_E(function($){E.insert($)})],M=wE(_.concat(a,O)),z=function(Z){return Ks(vE(Z),M)};b=function(Z,W,se,pe){E=se,z(Z?Z+"{"+W.styles+"}":W.styles),pe&&(B.inserted[W.name]=!0)}}var B={key:n,sheet:new iE({key:n,container:f,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:u,registered:{},insert:b};return B.sheet.hydrate(m),B},d0={exports:{}},it={};/** @license React v16.13.1
|
|
9
|
+
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var Jp={};function mm(e,t){ue.deprecationHandler!=null&&ue.deprecationHandler(e,t),Jp[e]||(gm(t),Jp[e]=!0)}ue.suppressDeprecationWarnings=!1;ue.deprecationHandler=null;function Yr(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function z_(e){var t,n;for(n in e)Ke(e,n)&&(t=e[n],Yr(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Bf(e,t){var n=$i({},e),i;for(i in t)Ke(t,i)&&(ls(e[i])&&ls(t[i])?(n[i]={},$i(n[i],e[i]),$i(n[i],t[i])):t[i]!=null?n[i]=t[i]:delete n[i]);for(i in e)Ke(e,i)&&!Ke(t,i)&&ls(e[i])&&(n[i]=$i({},n[i]));return n}function cd(e){e!=null&&this.set(e)}var Yf;Object.keys?Yf=Object.keys:Yf=function(e){var t,n=[];for(t in e)Ke(e,t)&&n.push(t);return n};var q_={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function V_(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return Yr(i)?i.call(t,n):i}function jr(e,t,n){var i=""+Math.abs(e),a=t-i.length,u=e>=0;return(u?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+i}var fd=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Ru=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,wf={},qs={};function ve(e,t,n,i){var a=i;typeof i=="string"&&(a=function(){return this[i]()}),e&&(qs[e]=a),t&&(qs[t[0]]=function(){return jr(a.apply(this,arguments),t[1],t[2])}),n&&(qs[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function G_(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function K_(e){var t=e.match(fd),n,i;for(n=0,i=t.length;n<i;n++)qs[t[n]]?t[n]=qs[t[n]]:t[n]=G_(t[n]);return function(a){var u="",f;for(f=0;f<i;f++)u+=Yr(t[f])?t[f].call(a,e):t[f];return u}}function $u(e,t){return e.isValid()?(t=ym(t,e.localeData()),wf[t]=wf[t]||K_(t),wf[t](e)):e.localeData().invalidDate()}function ym(e,t){var n=5;function i(a){return t.longDateFormat(a)||a}for(Ru.lastIndex=0;n>=0&&Ru.test(e);)e=e.replace(Ru,i),Ru.lastIndex=0,n-=1;return e}var Z_={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function X_(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(fd).map(function(i){return i==="MMMM"||i==="MM"||i==="DD"||i==="dddd"?i.slice(1):i}).join(""),this._longDateFormat[e])}var J_="Invalid date";function Q_(){return this._invalidDate}var eS="%d",tS=/\d{1,2}/;function nS(e){return this._ordinal.replace("%d",e)}var rS={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function iS(e,t,n,i){var a=this._relativeTime[n];return Yr(a)?a(e,t,n,i):a.replace(/%d/i,e)}function sS(e,t){var n=this._relativeTime[e>0?"future":"past"];return Yr(n)?n(t):n.replace(/%s/i,t)}var Qp={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function nr(e){return typeof e=="string"?Qp[e]||Qp[e.toLowerCase()]:void 0}function dd(e){var t={},n,i;for(i in e)Ke(e,i)&&(n=nr(i),n&&(t[n]=e[i]));return t}var aS={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function oS(e){var t=[],n;for(n in e)Ke(e,n)&&t.push({unit:n,priority:aS[n]});return t.sort(function(i,a){return i.priority-a.priority}),t}var vm=/\d/,Nn=/\d\d/,bm=/\d{3}/,hd=/\d{4}/,al=/[+-]?\d{6}/,dt=/\d\d?/,xm=/\d\d\d\d?/,wm=/\d\d\d\d\d\d?/,ol=/\d{1,3}/,pd=/\d{1,4}/,ul=/[+-]?\d{1,6}/,Js=/\d+/,ll=/[+-]?\d+/,uS=/Z|[+-]\d\d:?\d\d/gi,cl=/Z|[+-]\d\d(?::?\d\d)?/gi,lS=/[+-]?\d+(\.\d{1,3})?/,go=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Qs=/^[1-9]\d?/,gd=/^([1-9]\d|\d)/,qu;qu={};function me(e,t,n){qu[e]=Yr(t)?t:function(i,a){return i&&n?n:t}}function cS(e,t){return Ke(qu,e)?qu[e](t._strict,t._locale):new RegExp(fS(e))}function fS(e){return di(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,i,a,u){return n||i||a||u}))}function di(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Jn(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function We(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=Jn(t)),n}var Wf={};function ot(e,t){var n,i=t,a;for(typeof e=="string"&&(e=[e]),gi(t)&&(i=function(u,f){f[t]=We(u)}),a=e.length,n=0;n<a;n++)Wf[e[n]]=i}function mo(e,t){ot(e,function(n,i,a,u){a._w=a._w||{},t(n,a._w,a,u)})}function dS(e,t,n){t!=null&&Ke(Wf,e)&&Wf[e](t,n._a,n,e)}function fl(e){return e%4===0&&e%100!==0||e%400===0}var tn=0,ci=1,Pr=2,Pt=3,gr=4,fi=5,as=6,hS=7,pS=8;ve("Y",0,0,function(){var e=this.year();return e<=9999?jr(e,4):"+"+e});ve(0,["YY",2],0,function(){return this.year()%100});ve(0,["YYYY",4],0,"year");ve(0,["YYYYY",5],0,"year");ve(0,["YYYYYY",6,!0],0,"year");me("Y",ll);me("YY",dt,Nn);me("YYYY",pd,hd);me("YYYYY",ul,al);me("YYYYYY",ul,al);ot(["YYYYY","YYYYYY"],tn);ot("YYYY",function(e,t){t[tn]=e.length===2?ue.parseTwoDigitYear(e):We(e)});ot("YY",function(e,t){t[tn]=ue.parseTwoDigitYear(e)});ot("Y",function(e,t){t[tn]=parseInt(e,10)});function Ka(e){return fl(e)?366:365}ue.parseTwoDigitYear=function(e){return We(e)+(We(e)>68?1900:2e3)};var _m=ea("FullYear",!0);function gS(){return fl(this.year())}function ea(e,t){return function(n){return n!=null?(Sm(this,e,n),ue.updateOffset(this,t),this):Ja(this,e)}}function Ja(e,t){if(!e.isValid())return NaN;var n=e._d,i=e._isUTC;switch(t){case"Milliseconds":return i?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return i?n.getUTCSeconds():n.getSeconds();case"Minutes":return i?n.getUTCMinutes():n.getMinutes();case"Hours":return i?n.getUTCHours():n.getHours();case"Date":return i?n.getUTCDate():n.getDate();case"Day":return i?n.getUTCDay():n.getDay();case"Month":return i?n.getUTCMonth():n.getMonth();case"FullYear":return i?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Sm(e,t,n){var i,a,u,f,m;if(!(!e.isValid()||isNaN(n))){switch(i=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?i.setUTCMilliseconds(n):i.setMilliseconds(n));case"Seconds":return void(a?i.setUTCSeconds(n):i.setSeconds(n));case"Minutes":return void(a?i.setUTCMinutes(n):i.setMinutes(n));case"Hours":return void(a?i.setUTCHours(n):i.setHours(n));case"Date":return void(a?i.setUTCDate(n):i.setDate(n));case"FullYear":break;default:return}u=n,f=e.month(),m=e.date(),m=m===29&&f===1&&!fl(u)?28:m,a?i.setUTCFullYear(u,f,m):i.setFullYear(u,f,m)}}function mS(e){return e=nr(e),Yr(this[e])?this[e]():this}function yS(e,t){if(typeof e=="object"){e=dd(e);var n=oS(e),i,a=n.length;for(i=0;i<a;i++)this[n[i].unit](e[n[i].unit])}else if(e=nr(e),Yr(this[e]))return this[e](t);return this}function vS(e,t){return(e%t+t)%t}var Dt;Array.prototype.indexOf?Dt=Array.prototype.indexOf:Dt=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function md(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=vS(t,12);return e+=(t-n)/12,n===1?fl(e)?29:28:31-n%7%2}ve("M",["MM",2],"Mo",function(){return this.month()+1});ve("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});ve("MMMM",0,0,function(e){return this.localeData().months(this,e)});me("M",dt,Qs);me("MM",dt,Nn);me("MMM",function(e,t){return t.monthsShortRegex(e)});me("MMMM",function(e,t){return t.monthsRegex(e)});ot(["M","MM"],function(e,t){t[ci]=We(e)-1});ot(["MMM","MMMM"],function(e,t,n,i){var a=n._locale.monthsParse(e,i,n._strict);a!=null?t[ci]=a:Oe(n).invalidMonth=e});var bS="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),km="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Cm=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,xS=go,wS=go;function _S(e,t){return e?mr(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Cm).test(t)?"format":"standalone"][e.month()]:mr(this._months)?this._months:this._months.standalone}function SS(e,t){return e?mr(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Cm.test(t)?"format":"standalone"][e.month()]:mr(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function kS(e,t,n){var i,a,u,f=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)u=Br([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(u,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(u,"").toLocaleLowerCase();return n?t==="MMM"?(a=Dt.call(this._shortMonthsParse,f),a!==-1?a:null):(a=Dt.call(this._longMonthsParse,f),a!==-1?a:null):t==="MMM"?(a=Dt.call(this._shortMonthsParse,f),a!==-1?a:(a=Dt.call(this._longMonthsParse,f),a!==-1?a:null)):(a=Dt.call(this._longMonthsParse,f),a!==-1?a:(a=Dt.call(this._shortMonthsParse,f),a!==-1?a:null))}function CS(e,t,n){var i,a,u;if(this._monthsParseExact)return kS.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(a=Br([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!n&&!this._monthsParse[i]&&(u="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[i]=new RegExp(u.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[i].test(e))return i;if(n&&t==="MMM"&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}}function Dm(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=We(t);else if(t=e.localeData().monthsParse(t),!gi(t))return e}var n=t,i=e.date();return i=i<29?i:Math.min(i,md(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,i):e._d.setMonth(n,i),e}function Em(e){return e!=null?(Dm(this,e),ue.updateOffset(this,!0),this):Ja(this,"Month")}function DS(){return md(this.year(),this.month())}function ES(e){return this._monthsParseExact?(Ke(this,"_monthsRegex")||Tm.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(Ke(this,"_monthsShortRegex")||(this._monthsShortRegex=xS),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function TS(e){return this._monthsParseExact?(Ke(this,"_monthsRegex")||Tm.call(this),e?this._monthsStrictRegex:this._monthsRegex):(Ke(this,"_monthsRegex")||(this._monthsRegex=wS),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Tm(){function e(b,_){return _.length-b.length}var t=[],n=[],i=[],a,u,f,m;for(a=0;a<12;a++)u=Br([2e3,a]),f=di(this.monthsShort(u,"")),m=di(this.months(u,"")),t.push(f),n.push(m),i.push(m),i.push(f);t.sort(e),n.sort(e),i.sort(e),this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function MS(e,t,n,i,a,u,f){var m;return e<100&&e>=0?(m=new Date(e+400,t,n,i,a,u,f),isFinite(m.getFullYear())&&m.setFullYear(e)):m=new Date(e,t,n,i,a,u,f),m}function Qa(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Vu(e,t,n){var i=7+t-n,a=(7+Qa(e,0,i).getUTCDay()-t)%7;return-a+i-1}function Mm(e,t,n,i,a){var u=(7+n-i)%7,f=Vu(e,i,a),m=1+7*(t-1)+u+f,b,_;return m<=0?(b=e-1,_=Ka(b)+m):m>Ka(e)?(b=e+1,_=m-Ka(e)):(b=e,_=m),{year:b,dayOfYear:_}}function eo(e,t,n){var i=Vu(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1,u,f;return a<1?(f=e.year()-1,u=a+hi(f,t,n)):a>hi(e.year(),t,n)?(u=a-hi(e.year(),t,n),f=e.year()+1):(f=e.year(),u=a),{week:u,year:f}}function hi(e,t,n){var i=Vu(e,t,n),a=Vu(e+1,t,n);return(Ka(e)-i+a)/7}ve("w",["ww",2],"wo","week");ve("W",["WW",2],"Wo","isoWeek");me("w",dt,Qs);me("ww",dt,Nn);me("W",dt,Qs);me("WW",dt,Nn);mo(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=We(e)});function IS(e){return eo(e,this._week.dow,this._week.doy).week}var AS={dow:0,doy:6};function RS(){return this._week.dow}function OS(){return this._week.doy}function PS(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function NS(e){var t=eo(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}ve("d",0,"do","day");ve("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});ve("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});ve("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});ve("e",0,0,"weekday");ve("E",0,0,"isoWeekday");me("d",dt);me("e",dt);me("E",dt);me("dd",function(e,t){return t.weekdaysMinRegex(e)});me("ddd",function(e,t){return t.weekdaysShortRegex(e)});me("dddd",function(e,t){return t.weekdaysRegex(e)});mo(["dd","ddd","dddd"],function(e,t,n,i){var a=n._locale.weekdaysParse(e,i,n._strict);a!=null?t.d=a:Oe(n).invalidWeekday=e});mo(["d","e","E"],function(e,t,n,i){t[i]=We(e)});function LS(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function FS(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function yd(e,t){return e.slice(t,7).concat(e.slice(0,t))}var $S="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Im="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),jS="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),BS=go,YS=go,WS=go;function HS(e,t){var n=mr(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?yd(n,this._week.dow):e?n[e.day()]:n}function US(e){return e===!0?yd(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function zS(e){return e===!0?yd(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function qS(e,t,n){var i,a,u,f=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)u=Br([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(u,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(u,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(u,"").toLocaleLowerCase();return n?t==="dddd"?(a=Dt.call(this._weekdaysParse,f),a!==-1?a:null):t==="ddd"?(a=Dt.call(this._shortWeekdaysParse,f),a!==-1?a:null):(a=Dt.call(this._minWeekdaysParse,f),a!==-1?a:null):t==="dddd"?(a=Dt.call(this._weekdaysParse,f),a!==-1||(a=Dt.call(this._shortWeekdaysParse,f),a!==-1)?a:(a=Dt.call(this._minWeekdaysParse,f),a!==-1?a:null)):t==="ddd"?(a=Dt.call(this._shortWeekdaysParse,f),a!==-1||(a=Dt.call(this._weekdaysParse,f),a!==-1)?a:(a=Dt.call(this._minWeekdaysParse,f),a!==-1?a:null)):(a=Dt.call(this._minWeekdaysParse,f),a!==-1||(a=Dt.call(this._weekdaysParse,f),a!==-1)?a:(a=Dt.call(this._shortWeekdaysParse,f),a!==-1?a:null))}function VS(e,t,n){var i,a,u;if(this._weekdaysParseExact)return qS.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(a=Br([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(u="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[i]=new RegExp(u.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[i].test(e))return i;if(n&&t==="ddd"&&this._shortWeekdaysParse[i].test(e))return i;if(n&&t==="dd"&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}}function GS(e){if(!this.isValid())return e!=null?this:NaN;var t=Ja(this,"Day");return e!=null?(e=LS(e,this.localeData()),this.add(e-t,"d")):t}function KS(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function ZS(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=FS(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function XS(e){return this._weekdaysParseExact?(Ke(this,"_weekdaysRegex")||vd.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Ke(this,"_weekdaysRegex")||(this._weekdaysRegex=BS),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function JS(e){return this._weekdaysParseExact?(Ke(this,"_weekdaysRegex")||vd.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ke(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=YS),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function QS(e){return this._weekdaysParseExact?(Ke(this,"_weekdaysRegex")||vd.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ke(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=WS),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function vd(){function e(E,O){return O.length-E.length}var t=[],n=[],i=[],a=[],u,f,m,b,_;for(u=0;u<7;u++)f=Br([2e3,1]).day(u),m=di(this.weekdaysMin(f,"")),b=di(this.weekdaysShort(f,"")),_=di(this.weekdays(f,"")),t.push(m),n.push(b),i.push(_),a.push(m),a.push(b),a.push(_);t.sort(e),n.sort(e),i.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function bd(){return this.hours()%12||12}function ek(){return this.hours()||24}ve("H",["HH",2],0,"hour");ve("h",["hh",2],0,bd);ve("k",["kk",2],0,ek);ve("hmm",0,0,function(){return""+bd.apply(this)+jr(this.minutes(),2)});ve("hmmss",0,0,function(){return""+bd.apply(this)+jr(this.minutes(),2)+jr(this.seconds(),2)});ve("Hmm",0,0,function(){return""+this.hours()+jr(this.minutes(),2)});ve("Hmmss",0,0,function(){return""+this.hours()+jr(this.minutes(),2)+jr(this.seconds(),2)});function Am(e,t){ve(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Am("a",!0);Am("A",!1);function Rm(e,t){return t._meridiemParse}me("a",Rm);me("A",Rm);me("H",dt,gd);me("h",dt,Qs);me("k",dt,Qs);me("HH",dt,Nn);me("hh",dt,Nn);me("kk",dt,Nn);me("hmm",xm);me("hmmss",wm);me("Hmm",xm);me("Hmmss",wm);ot(["H","HH"],Pt);ot(["k","kk"],function(e,t,n){var i=We(e);t[Pt]=i===24?0:i});ot(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});ot(["h","hh"],function(e,t,n){t[Pt]=We(e),Oe(n).bigHour=!0});ot("hmm",function(e,t,n){var i=e.length-2;t[Pt]=We(e.substr(0,i)),t[gr]=We(e.substr(i)),Oe(n).bigHour=!0});ot("hmmss",function(e,t,n){var i=e.length-4,a=e.length-2;t[Pt]=We(e.substr(0,i)),t[gr]=We(e.substr(i,2)),t[fi]=We(e.substr(a)),Oe(n).bigHour=!0});ot("Hmm",function(e,t,n){var i=e.length-2;t[Pt]=We(e.substr(0,i)),t[gr]=We(e.substr(i))});ot("Hmmss",function(e,t,n){var i=e.length-4,a=e.length-2;t[Pt]=We(e.substr(0,i)),t[gr]=We(e.substr(i,2)),t[fi]=We(e.substr(a))});function tk(e){return(e+"").toLowerCase().charAt(0)==="p"}var nk=/[ap]\.?m?\.?/i,rk=ea("Hours",!0);function ik(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var Om={calendar:q_,longDateFormat:Z_,invalidDate:J_,ordinal:eS,dayOfMonthOrdinalParse:tS,relativeTime:rS,months:bS,monthsShort:km,week:AS,weekdays:$S,weekdaysMin:jS,weekdaysShort:Im,meridiemParse:nk},gt={},Wa={},to;function sk(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function eg(e){return e&&e.toLowerCase().replace("_","-")}function ak(e){for(var t=0,n,i,a,u;t<e.length;){for(u=eg(e[t]).split("-"),n=u.length,i=eg(e[t+1]),i=i?i.split("-"):null;n>0;){if(a=dl(u.slice(0,n).join("-")),a)return a;if(i&&i.length>=n&&sk(u,i)>=n-1)break;n--}t++}return to}function ok(e){return!!(e&&e.match("^[^/\\\\]*$"))}function dl(e){var t=null,n;if(gt[e]===void 0&&typeof module<"u"&&module&&module.exports&&ok(e))try{t=to._abbr,n=require,n("./locale/"+e),Bi(t)}catch{gt[e]=null}return gt[e]}function Bi(e,t){var n;return e&&(wn(t)?n=yi(e):n=xd(e,t),n?to=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),to._abbr}function xd(e,t){if(t!==null){var n,i=Om;if(t.abbr=e,gt[e]!=null)mm("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=gt[e]._config;else if(t.parentLocale!=null)if(gt[t.parentLocale]!=null)i=gt[t.parentLocale]._config;else if(n=dl(t.parentLocale),n!=null)i=n._config;else return Wa[t.parentLocale]||(Wa[t.parentLocale]=[]),Wa[t.parentLocale].push({name:e,config:t}),null;return gt[e]=new cd(Bf(i,t)),Wa[e]&&Wa[e].forEach(function(a){xd(a.name,a.config)}),Bi(e),gt[e]}else return delete gt[e],null}function uk(e,t){if(t!=null){var n,i,a=Om;gt[e]!=null&>[e].parentLocale!=null?gt[e].set(Bf(gt[e]._config,t)):(i=dl(e),i!=null&&(a=i._config),t=Bf(a,t),i==null&&(t.abbr=e),n=new cd(t),n.parentLocale=gt[e],gt[e]=n),Bi(e)}else gt[e]!=null&&(gt[e].parentLocale!=null?(gt[e]=gt[e].parentLocale,e===Bi()&&Bi(e)):gt[e]!=null&&delete gt[e]);return gt[e]}function yi(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return to;if(!mr(e)){if(t=dl(e),t)return t;e=[e]}return ak(e)}function lk(){return Yf(gt)}function wd(e){var t,n=e._a;return n&&Oe(e).overflow===-2&&(t=n[ci]<0||n[ci]>11?ci:n[Pr]<1||n[Pr]>md(n[tn],n[ci])?Pr:n[Pt]<0||n[Pt]>24||n[Pt]===24&&(n[gr]!==0||n[fi]!==0||n[as]!==0)?Pt:n[gr]<0||n[gr]>59?gr:n[fi]<0||n[fi]>59?fi:n[as]<0||n[as]>999?as:-1,Oe(e)._overflowDayOfYear&&(t<tn||t>Pr)&&(t=Pr),Oe(e)._overflowWeeks&&t===-1&&(t=hS),Oe(e)._overflowWeekday&&t===-1&&(t=pS),Oe(e).overflow=t),e}var ck=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,fk=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dk=/Z|[+-]\d\d(?::?\d\d)?/,Ou=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],_f=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],hk=/^\/?Date\((-?\d+)/i,pk=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,gk={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Pm(e){var t,n,i=e._i,a=ck.exec(i)||fk.exec(i),u,f,m,b,_=Ou.length,E=_f.length;if(a){for(Oe(e).iso=!0,t=0,n=_;t<n;t++)if(Ou[t][1].exec(a[1])){f=Ou[t][0],u=Ou[t][2]!==!1;break}if(f==null){e._isValid=!1;return}if(a[3]){for(t=0,n=E;t<n;t++)if(_f[t][1].exec(a[3])){m=(a[2]||" ")+_f[t][0];break}if(m==null){e._isValid=!1;return}}if(!u&&m!=null){e._isValid=!1;return}if(a[4])if(dk.exec(a[4]))b="Z";else{e._isValid=!1;return}e._f=f+(m||"")+(b||""),Sd(e)}else e._isValid=!1}function mk(e,t,n,i,a,u){var f=[yk(e),km.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(a,10)];return u&&f.push(parseInt(u,10)),f}function yk(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function vk(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function bk(e,t,n){if(e){var i=Im.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(i!==a)return Oe(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function xk(e,t,n){if(e)return gk[e];if(t)return 0;var i=parseInt(n,10),a=i%100,u=(i-a)/100;return u*60+a}function Nm(e){var t=pk.exec(vk(e._i)),n;if(t){if(n=mk(t[4],t[3],t[2],t[5],t[6],t[7]),!bk(t[1],n,e))return;e._a=n,e._tzm=xk(t[8],t[9],t[10]),e._d=Qa.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),Oe(e).rfc2822=!0}else e._isValid=!1}function wk(e){var t=hk.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Pm(e),e._isValid===!1)delete e._isValid;else return;if(Nm(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:ue.createFromInputFallback(e)}ue.createFromInputFallback=tr("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Us(e,t,n){return e??t??n}function _k(e){var t=new Date(ue.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function _d(e){var t,n,i=[],a,u,f;if(!e._d){for(a=_k(e),e._w&&e._a[Pr]==null&&e._a[ci]==null&&Sk(e),e._dayOfYear!=null&&(f=Us(e._a[tn],a[tn]),(e._dayOfYear>Ka(f)||e._dayOfYear===0)&&(Oe(e)._overflowDayOfYear=!0),n=Qa(f,0,e._dayOfYear),e._a[ci]=n.getUTCMonth(),e._a[Pr]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=i[t]=a[t];for(;t<7;t++)e._a[t]=i[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Pt]===24&&e._a[gr]===0&&e._a[fi]===0&&e._a[as]===0&&(e._nextDay=!0,e._a[Pt]=0),e._d=(e._useUTC?Qa:MS).apply(null,i),u=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Pt]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==u&&(Oe(e).weekdayMismatch=!0)}}function Sk(e){var t,n,i,a,u,f,m,b,_;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(u=1,f=4,n=Us(t.GG,e._a[tn],eo(ft(),1,4).year),i=Us(t.W,1),a=Us(t.E,1),(a<1||a>7)&&(b=!0)):(u=e._locale._week.dow,f=e._locale._week.doy,_=eo(ft(),u,f),n=Us(t.gg,e._a[tn],_.year),i=Us(t.w,_.week),t.d!=null?(a=t.d,(a<0||a>6)&&(b=!0)):t.e!=null?(a=t.e+u,(t.e<0||t.e>6)&&(b=!0)):a=u),i<1||i>hi(n,u,f)?Oe(e)._overflowWeeks=!0:b!=null?Oe(e)._overflowWeekday=!0:(m=Mm(n,i,a,u,f),e._a[tn]=m.year,e._dayOfYear=m.dayOfYear)}ue.ISO_8601=function(){};ue.RFC_2822=function(){};function Sd(e){if(e._f===ue.ISO_8601){Pm(e);return}if(e._f===ue.RFC_2822){Nm(e);return}e._a=[],Oe(e).empty=!0;var t=""+e._i,n,i,a,u,f,m=t.length,b=0,_,E;for(a=ym(e._f,e._locale).match(fd)||[],E=a.length,n=0;n<E;n++)u=a[n],i=(t.match(cS(u,e))||[])[0],i&&(f=t.substr(0,t.indexOf(i)),f.length>0&&Oe(e).unusedInput.push(f),t=t.slice(t.indexOf(i)+i.length),b+=i.length),qs[u]?(i?Oe(e).empty=!1:Oe(e).unusedTokens.push(u),dS(u,i,e)):e._strict&&!i&&Oe(e).unusedTokens.push(u);Oe(e).charsLeftOver=m-b,t.length>0&&Oe(e).unusedInput.push(t),e._a[Pt]<=12&&Oe(e).bigHour===!0&&e._a[Pt]>0&&(Oe(e).bigHour=void 0),Oe(e).parsedDateParts=e._a.slice(0),Oe(e).meridiem=e._meridiem,e._a[Pt]=kk(e._locale,e._a[Pt],e._meridiem),_=Oe(e).era,_!==null&&(e._a[tn]=e._locale.erasConvertYear(_,e._a[tn])),_d(e),wd(e)}function kk(e,t,n){var i;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(i=e.isPM(n),i&&t<12&&(t+=12),!i&&t===12&&(t=0)),t)}function Ck(e){var t,n,i,a,u,f,m=!1,b=e._f.length;if(b===0){Oe(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<b;a++)u=0,f=!1,t=ld({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],Sd(t),ud(t)&&(f=!0),u+=Oe(t).charsLeftOver,u+=Oe(t).unusedTokens.length*10,Oe(t).score=u,m?u<i&&(i=u,n=t):(i==null||u<i||f)&&(i=u,n=t,f&&(m=!0));$i(e,n||t)}function Dk(e){if(!e._d){var t=dd(e._i),n=t.day===void 0?t.date:t.day;e._a=pm([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(i){return i&&parseInt(i,10)}),_d(e)}}function Ek(e){var t=new po(wd(Lm(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Lm(e){var t=e._i,n=e._f;return e._locale=e._locale||yi(e._l),t===null||n===void 0&&t===""?sl({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),yr(t)?new po(wd(t)):(ho(t)?e._d=t:mr(n)?Ck(e):n?Sd(e):Tk(e),ud(e)||(e._d=null),e))}function Tk(e){var t=e._i;wn(t)?e._d=new Date(ue.now()):ho(t)?e._d=new Date(t.valueOf()):typeof t=="string"?wk(e):mr(t)?(e._a=pm(t.slice(0),function(n){return parseInt(n,10)}),_d(e)):ls(t)?Dk(e):gi(t)?e._d=new Date(t):ue.createFromInputFallback(e)}function Fm(e,t,n,i,a){var u={};return(t===!0||t===!1)&&(i=t,t=void 0),(n===!0||n===!1)&&(i=n,n=void 0),(ls(e)&&od(e)||mr(e)&&e.length===0)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=a,u._l=n,u._i=e,u._f=t,u._strict=i,Ek(u)}function ft(e,t,n,i){return Fm(e,t,n,i,!1)}var Mk=tr("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=ft.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:sl()}),Ik=tr("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=ft.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:sl()});function $m(e,t){var n,i;if(t.length===1&&mr(t[0])&&(t=t[0]),!t.length)return ft();for(n=t[0],i=1;i<t.length;++i)(!t[i].isValid()||t[i][e](n))&&(n=t[i]);return n}function Ak(){var e=[].slice.call(arguments,0);return $m("isBefore",e)}function Rk(){var e=[].slice.call(arguments,0);return $m("isAfter",e)}var Ok=function(){return Date.now?Date.now():+new Date},Ha=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pk(e){var t,n=!1,i,a=Ha.length;for(t in e)if(Ke(e,t)&&!(Dt.call(Ha,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(i=0;i<a;++i)if(e[Ha[i]]){if(n)return!1;parseFloat(e[Ha[i]])!==We(e[Ha[i]])&&(n=!0)}return!0}function Nk(){return this._isValid}function Lk(){return vr(NaN)}function hl(e){var t=dd(e),n=t.year||0,i=t.quarter||0,a=t.month||0,u=t.week||t.isoWeek||0,f=t.day||0,m=t.hour||0,b=t.minute||0,_=t.second||0,E=t.millisecond||0;this._isValid=Pk(t),this._milliseconds=+E+_*1e3+b*6e4+m*1e3*60*60,this._days=+f+u*7,this._months=+a+i*3+n*12,this._data={},this._locale=yi(),this._bubble()}function ju(e){return e instanceof hl}function Hf(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Fk(e,t,n){var i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),u=0,f;for(f=0;f<i;f++)(n&&e[f]!==t[f]||!n&&We(e[f])!==We(t[f]))&&u++;return u+a}function jm(e,t){ve(e,0,0,function(){var n=this.utcOffset(),i="+";return n<0&&(n=-n,i="-"),i+jr(~~(n/60),2)+t+jr(~~n%60,2)})}jm("Z",":");jm("ZZ","");me("Z",cl);me("ZZ",cl);ot(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=kd(cl,e)});var $k=/([\+\-]|\d\d)/gi;function kd(e,t){var n=(t||"").match(e),i,a,u;return n===null?null:(i=n[n.length-1]||[],a=(i+"").match($k)||["-",0,0],u=+(a[1]*60)+We(a[2]),u===0?0:a[0]==="+"?u:-u)}function Cd(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(yr(e)||ho(e)?e.valueOf():ft(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),ue.updateOffset(n,!1),n):ft(e).local()}function Uf(e){return-Math.round(e._d.getTimezoneOffset())}ue.updateOffset=function(){};function jk(e,t,n){var i=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=kd(cl,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(a=Uf(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),i!==e&&(!t||this._changeInProgress?Wm(this,vr(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,ue.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?i:Uf(this)}function Bk(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Yk(e){return this.utcOffset(0,e)}function Wk(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Uf(this),"m")),this}function Hk(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=kd(uS,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Uk(e){return this.isValid()?(e=e?ft(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function zk(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function qk(){if(!wn(this._isDSTShifted))return this._isDSTShifted;var e={},t;return ld(e,this),e=Lm(e),e._a?(t=e._isUTC?Br(e._a):ft(e._a),this._isDSTShifted=this.isValid()&&Fk(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Vk(){return this.isValid()?!this._isUTC:!1}function Gk(){return this.isValid()?this._isUTC:!1}function Bm(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Kk=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Zk=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function vr(e,t){var n=e,i=null,a,u,f;return ju(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:gi(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(i=Kk.exec(e))?(a=i[1]==="-"?-1:1,n={y:0,d:We(i[Pr])*a,h:We(i[Pt])*a,m:We(i[gr])*a,s:We(i[fi])*a,ms:We(Hf(i[as]*1e3))*a}):(i=Zk.exec(e))?(a=i[1]==="-"?-1:1,n={y:ss(i[2],a),M:ss(i[3],a),w:ss(i[4],a),d:ss(i[5],a),h:ss(i[6],a),m:ss(i[7],a),s:ss(i[8],a)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(f=Xk(ft(n.from),ft(n.to)),n={},n.ms=f.milliseconds,n.M=f.months),u=new hl(n),ju(e)&&Ke(e,"_locale")&&(u._locale=e._locale),ju(e)&&Ke(e,"_isValid")&&(u._isValid=e._isValid),u}vr.fn=hl.prototype;vr.invalid=Lk;function ss(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function tg(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Xk(e,t){var n;return e.isValid()&&t.isValid()?(t=Cd(t,e),e.isBefore(t)?n=tg(e,t):(n=tg(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ym(e,t){return function(n,i){var a,u;return i!==null&&!isNaN(+i)&&(mm(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),u=n,n=i,i=u),a=vr(n,i),Wm(this,a,e),this}}function Wm(e,t,n,i){var a=t._milliseconds,u=Hf(t._days),f=Hf(t._months);e.isValid()&&(i=i??!0,f&&Dm(e,Ja(e,"Month")+f*n),u&&Sm(e,"Date",Ja(e,"Date")+u*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&ue.updateOffset(e,u||f))}var Jk=Ym(1,"add"),Qk=Ym(-1,"subtract");function Hm(e){return typeof e=="string"||e instanceof String}function eC(e){return yr(e)||ho(e)||Hm(e)||gi(e)||nC(e)||tC(e)||e===null||e===void 0}function tC(e){var t=ls(e)&&!od(e),n=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,u,f=i.length;for(a=0;a<f;a+=1)u=i[a],n=n||Ke(e,u);return t&&n}function nC(e){var t=mr(e),n=!1;return t&&(n=e.filter(function(i){return!gi(i)&&Hm(e)}).length===0),t&&n}function rC(e){var t=ls(e)&&!od(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,u;for(a=0;a<i.length;a+=1)u=i[a],n=n||Ke(e,u);return t&&n}function iC(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function sC(e,t){arguments.length===1&&(arguments[0]?eC(arguments[0])?(e=arguments[0],t=void 0):rC(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||ft(),i=Cd(n,this).startOf("day"),a=ue.calendarFormat(this,i)||"sameElse",u=t&&(Yr(t[a])?t[a].call(this,n):t[a]);return this.format(u||this.localeData().calendar(a,this,ft(n)))}function aC(){return new po(this)}function oC(e,t){var n=yr(e)?e:ft(e);return this.isValid()&&n.isValid()?(t=nr(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function uC(e,t){var n=yr(e)?e:ft(e);return this.isValid()&&n.isValid()?(t=nr(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function lC(e,t,n,i){var a=yr(e)?e:ft(e),u=yr(t)?t:ft(t);return this.isValid()&&a.isValid()&&u.isValid()?(i=i||"()",(i[0]==="("?this.isAfter(a,n):!this.isBefore(a,n))&&(i[1]===")"?this.isBefore(u,n):!this.isAfter(u,n))):!1}function cC(e,t){var n=yr(e)?e:ft(e),i;return this.isValid()&&n.isValid()?(t=nr(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(t).valueOf()<=i&&i<=this.clone().endOf(t).valueOf())):!1}function fC(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function dC(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function hC(e,t,n){var i,a,u;if(!this.isValid())return NaN;if(i=Cd(e,this),!i.isValid())return NaN;switch(a=(i.utcOffset()-this.utcOffset())*6e4,t=nr(t),t){case"year":u=Bu(this,i)/12;break;case"month":u=Bu(this,i);break;case"quarter":u=Bu(this,i)/3;break;case"second":u=(this-i)/1e3;break;case"minute":u=(this-i)/6e4;break;case"hour":u=(this-i)/36e5;break;case"day":u=(this-i-a)/864e5;break;case"week":u=(this-i-a)/6048e5;break;default:u=this-i}return n?u:Jn(u)}function Bu(e,t){if(e.date()<t.date())return-Bu(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),i=e.clone().add(n,"months"),a,u;return t-i<0?(a=e.clone().add(n-1,"months"),u=(t-i)/(i-a)):(a=e.clone().add(n+1,"months"),u=(t-i)/(a-i)),-(n+u)||0}ue.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";ue.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function pC(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function gC(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?$u(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Yr(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",$u(n,"Z")):$u(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function mC(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,i,a,u;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",u=t+'[")]',this.format(n+i+a+u)}function yC(e){e||(e=this.isUtc()?ue.defaultFormatUtc:ue.defaultFormat);var t=$u(this,e);return this.localeData().postformat(t)}function vC(e,t){return this.isValid()&&(yr(e)&&e.isValid()||ft(e).isValid())?vr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function bC(e){return this.from(ft(),e)}function xC(e,t){return this.isValid()&&(yr(e)&&e.isValid()||ft(e).isValid())?vr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function wC(e){return this.to(ft(),e)}function Um(e){var t;return e===void 0?this._locale._abbr:(t=yi(e),t!=null&&(this._locale=t),this)}var zm=tr("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function qm(){return this._locale}var Gu=1e3,Vs=60*Gu,Ku=60*Vs,Vm=(365*400+97)*24*Ku;function Gs(e,t){return(e%t+t)%t}function Gm(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-Vm:new Date(e,t,n).valueOf()}function Km(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-Vm:Date.UTC(e,t,n)}function _C(e){var t,n;if(e=nr(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Km:Gm,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Gs(t+(this._isUTC?0:this.utcOffset()*Vs),Ku);break;case"minute":t=this._d.valueOf(),t-=Gs(t,Vs);break;case"second":t=this._d.valueOf(),t-=Gs(t,Gu);break}return this._d.setTime(t),ue.updateOffset(this,!0),this}function SC(e){var t,n;if(e=nr(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Km:Gm,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Ku-Gs(t+(this._isUTC?0:this.utcOffset()*Vs),Ku)-1;break;case"minute":t=this._d.valueOf(),t+=Vs-Gs(t,Vs)-1;break;case"second":t=this._d.valueOf(),t+=Gu-Gs(t,Gu)-1;break}return this._d.setTime(t),ue.updateOffset(this,!0),this}function kC(){return this._d.valueOf()-(this._offset||0)*6e4}function CC(){return Math.floor(this.valueOf()/1e3)}function DC(){return new Date(this.valueOf())}function EC(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function TC(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function MC(){return this.isValid()?this.toISOString():null}function IC(){return ud(this)}function AC(){return $i({},Oe(this))}function RC(){return Oe(this).overflow}function OC(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}ve("N",0,0,"eraAbbr");ve("NN",0,0,"eraAbbr");ve("NNN",0,0,"eraAbbr");ve("NNNN",0,0,"eraName");ve("NNNNN",0,0,"eraNarrow");ve("y",["y",1],"yo","eraYear");ve("y",["yy",2],0,"eraYear");ve("y",["yyy",3],0,"eraYear");ve("y",["yyyy",4],0,"eraYear");me("N",Dd);me("NN",Dd);me("NNN",Dd);me("NNNN",UC);me("NNNNN",zC);ot(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){var a=n._locale.erasParse(e,i,n._strict);a?Oe(n).era=a:Oe(n).invalidEra=e});me("y",Js);me("yy",Js);me("yyy",Js);me("yyyy",Js);me("yo",qC);ot(["y","yy","yyy","yyyy"],tn);ot(["yo"],function(e,t,n,i){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[tn]=n._locale.eraYearOrdinalParse(e,a):t[tn]=parseInt(e,10)});function PC(e,t){var n,i,a,u=this._eras||yi("en")._eras;for(n=0,i=u.length;n<i;++n){switch(typeof u[n].since){case"string":a=ue(u[n].since).startOf("day"),u[n].since=a.valueOf();break}switch(typeof u[n].until){case"undefined":u[n].until=1/0;break;case"string":a=ue(u[n].until).startOf("day").valueOf(),u[n].until=a.valueOf();break}}return u}function NC(e,t,n){var i,a,u=this.eras(),f,m,b;for(e=e.toUpperCase(),i=0,a=u.length;i<a;++i)if(f=u[i].name.toUpperCase(),m=u[i].abbr.toUpperCase(),b=u[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(m===e)return u[i];break;case"NNNN":if(f===e)return u[i];break;case"NNNNN":if(b===e)return u[i];break}else if([f,m,b].indexOf(e)>=0)return u[i]}function LC(e,t){var n=e.since<=e.until?1:-1;return t===void 0?ue(e.since).year():ue(e.since).year()+(t-e.offset)*n}function FC(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return i[e].name;return""}function $C(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return i[e].narrow;return""}function jC(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return i[e].abbr;return""}function BC(){var e,t,n,i,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,i=this.clone().startOf("day").valueOf(),a[e].since<=i&&i<=a[e].until||a[e].until<=i&&i<=a[e].since)return(this.year()-ue(a[e].since).year())*n+a[e].offset;return this.year()}function YC(e){return Ke(this,"_erasNameRegex")||Ed.call(this),e?this._erasNameRegex:this._erasRegex}function WC(e){return Ke(this,"_erasAbbrRegex")||Ed.call(this),e?this._erasAbbrRegex:this._erasRegex}function HC(e){return Ke(this,"_erasNarrowRegex")||Ed.call(this),e?this._erasNarrowRegex:this._erasRegex}function Dd(e,t){return t.erasAbbrRegex(e)}function UC(e,t){return t.erasNameRegex(e)}function zC(e,t){return t.erasNarrowRegex(e)}function qC(e,t){return t._eraYearOrdinalRegex||Js}function Ed(){var e=[],t=[],n=[],i=[],a,u,f,m,b,_=this.eras();for(a=0,u=_.length;a<u;++a)f=di(_[a].name),m=di(_[a].abbr),b=di(_[a].narrow),t.push(f),e.push(m),n.push(b),i.push(f),i.push(m),i.push(b);this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}ve(0,["gg",2],0,function(){return this.weekYear()%100});ve(0,["GG",2],0,function(){return this.isoWeekYear()%100});function pl(e,t){ve(0,[e,e.length],0,t)}pl("gggg","weekYear");pl("ggggg","weekYear");pl("GGGG","isoWeekYear");pl("GGGGG","isoWeekYear");me("G",ll);me("g",ll);me("GG",dt,Nn);me("gg",dt,Nn);me("GGGG",pd,hd);me("gggg",pd,hd);me("GGGGG",ul,al);me("ggggg",ul,al);mo(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=We(e)});mo(["gg","GG"],function(e,t,n,i){t[i]=ue.parseTwoDigitYear(e)});function VC(e){return Zm.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function GC(e){return Zm.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function KC(){return hi(this.year(),1,4)}function ZC(){return hi(this.isoWeekYear(),1,4)}function XC(){var e=this.localeData()._week;return hi(this.year(),e.dow,e.doy)}function JC(){var e=this.localeData()._week;return hi(this.weekYear(),e.dow,e.doy)}function Zm(e,t,n,i,a){var u;return e==null?eo(this,i,a).year:(u=hi(e,i,a),t>u&&(t=u),QC.call(this,e,t,n,i,a))}function QC(e,t,n,i,a){var u=Mm(e,t,n,i,a),f=Qa(u.year,0,u.dayOfYear);return this.year(f.getUTCFullYear()),this.month(f.getUTCMonth()),this.date(f.getUTCDate()),this}ve("Q",0,"Qo","quarter");me("Q",vm);ot("Q",function(e,t){t[ci]=(We(e)-1)*3});function eD(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}ve("D",["DD",2],"Do","date");me("D",dt,Qs);me("DD",dt,Nn);me("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});ot(["D","DD"],Pr);ot("Do",function(e,t){t[Pr]=We(e.match(dt)[0])});var Xm=ea("Date",!0);ve("DDD",["DDDD",3],"DDDo","dayOfYear");me("DDD",ol);me("DDDD",bm);ot(["DDD","DDDD"],function(e,t,n){n._dayOfYear=We(e)});function tD(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}ve("m",["mm",2],0,"minute");me("m",dt,gd);me("mm",dt,Nn);ot(["m","mm"],gr);var nD=ea("Minutes",!1);ve("s",["ss",2],0,"second");me("s",dt,gd);me("ss",dt,Nn);ot(["s","ss"],fi);var rD=ea("Seconds",!1);ve("S",0,0,function(){return~~(this.millisecond()/100)});ve(0,["SS",2],0,function(){return~~(this.millisecond()/10)});ve(0,["SSS",3],0,"millisecond");ve(0,["SSSS",4],0,function(){return this.millisecond()*10});ve(0,["SSSSS",5],0,function(){return this.millisecond()*100});ve(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});ve(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});ve(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});ve(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});me("S",ol,vm);me("SS",ol,Nn);me("SSS",ol,bm);var ji,Jm;for(ji="SSSS";ji.length<=9;ji+="S")me(ji,Js);function iD(e,t){t[as]=We(("0."+e)*1e3)}for(ji="S";ji.length<=9;ji+="S")ot(ji,iD);Jm=ea("Milliseconds",!1);ve("z",0,0,"zoneAbbr");ve("zz",0,0,"zoneName");function sD(){return this._isUTC?"UTC":""}function aD(){return this._isUTC?"Coordinated Universal Time":""}var re=po.prototype;re.add=Jk;re.calendar=sC;re.clone=aC;re.diff=hC;re.endOf=SC;re.format=yC;re.from=vC;re.fromNow=bC;re.to=xC;re.toNow=wC;re.get=mS;re.invalidAt=RC;re.isAfter=oC;re.isBefore=uC;re.isBetween=lC;re.isSame=cC;re.isSameOrAfter=fC;re.isSameOrBefore=dC;re.isValid=IC;re.lang=zm;re.locale=Um;re.localeData=qm;re.max=Ik;re.min=Mk;re.parsingFlags=AC;re.set=yS;re.startOf=_C;re.subtract=Qk;re.toArray=EC;re.toObject=TC;re.toDate=DC;re.toISOString=gC;re.inspect=mC;typeof Symbol<"u"&&Symbol.for!=null&&(re[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});re.toJSON=MC;re.toString=pC;re.unix=CC;re.valueOf=kC;re.creationData=OC;re.eraName=FC;re.eraNarrow=$C;re.eraAbbr=jC;re.eraYear=BC;re.year=_m;re.isLeapYear=gS;re.weekYear=VC;re.isoWeekYear=GC;re.quarter=re.quarters=eD;re.month=Em;re.daysInMonth=DS;re.week=re.weeks=PS;re.isoWeek=re.isoWeeks=NS;re.weeksInYear=XC;re.weeksInWeekYear=JC;re.isoWeeksInYear=KC;re.isoWeeksInISOWeekYear=ZC;re.date=Xm;re.day=re.days=GS;re.weekday=KS;re.isoWeekday=ZS;re.dayOfYear=tD;re.hour=re.hours=rk;re.minute=re.minutes=nD;re.second=re.seconds=rD;re.millisecond=re.milliseconds=Jm;re.utcOffset=jk;re.utc=Yk;re.local=Wk;re.parseZone=Hk;re.hasAlignedHourOffset=Uk;re.isDST=zk;re.isLocal=Vk;re.isUtcOffset=Gk;re.isUtc=Bm;re.isUTC=Bm;re.zoneAbbr=sD;re.zoneName=aD;re.dates=tr("dates accessor is deprecated. Use date instead.",Xm);re.months=tr("months accessor is deprecated. Use month instead",Em);re.years=tr("years accessor is deprecated. Use year instead",_m);re.zone=tr("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Bk);re.isDSTShifted=tr("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",qk);function oD(e){return ft(e*1e3)}function uD(){return ft.apply(null,arguments).parseZone()}function Qm(e){return e}var Ze=cd.prototype;Ze.calendar=V_;Ze.longDateFormat=X_;Ze.invalidDate=Q_;Ze.ordinal=nS;Ze.preparse=Qm;Ze.postformat=Qm;Ze.relativeTime=iS;Ze.pastFuture=sS;Ze.set=z_;Ze.eras=PC;Ze.erasParse=NC;Ze.erasConvertYear=LC;Ze.erasAbbrRegex=WC;Ze.erasNameRegex=YC;Ze.erasNarrowRegex=HC;Ze.months=_S;Ze.monthsShort=SS;Ze.monthsParse=CS;Ze.monthsRegex=TS;Ze.monthsShortRegex=ES;Ze.week=IS;Ze.firstDayOfYear=OS;Ze.firstDayOfWeek=RS;Ze.weekdays=HS;Ze.weekdaysMin=zS;Ze.weekdaysShort=US;Ze.weekdaysParse=VS;Ze.weekdaysRegex=XS;Ze.weekdaysShortRegex=JS;Ze.weekdaysMinRegex=QS;Ze.isPM=tk;Ze.meridiem=ik;function Zu(e,t,n,i){var a=yi(),u=Br().set(i,t);return a[n](u,e)}function e0(e,t,n){if(gi(e)&&(t=e,e=void 0),e=e||"",t!=null)return Zu(e,t,n,"month");var i,a=[];for(i=0;i<12;i++)a[i]=Zu(e,i,n,"month");return a}function Td(e,t,n,i){typeof e=="boolean"?(gi(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,gi(t)&&(n=t,t=void 0),t=t||"");var a=yi(),u=e?a._week.dow:0,f,m=[];if(n!=null)return Zu(t,(n+u)%7,i,"day");for(f=0;f<7;f++)m[f]=Zu(t,(f+u)%7,i,"day");return m}function lD(e,t){return e0(e,t,"months")}function cD(e,t){return e0(e,t,"monthsShort")}function fD(e,t,n){return Td(e,t,n,"weekdays")}function dD(e,t,n){return Td(e,t,n,"weekdaysShort")}function hD(e,t,n){return Td(e,t,n,"weekdaysMin")}Bi("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=We(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});ue.lang=tr("moment.lang is deprecated. Use moment.locale instead.",Bi);ue.langData=tr("moment.langData is deprecated. Use moment.localeData instead.",yi);var oi=Math.abs;function pD(){var e=this._data;return this._milliseconds=oi(this._milliseconds),this._days=oi(this._days),this._months=oi(this._months),e.milliseconds=oi(e.milliseconds),e.seconds=oi(e.seconds),e.minutes=oi(e.minutes),e.hours=oi(e.hours),e.months=oi(e.months),e.years=oi(e.years),this}function t0(e,t,n,i){var a=vr(t,n);return e._milliseconds+=i*a._milliseconds,e._days+=i*a._days,e._months+=i*a._months,e._bubble()}function gD(e,t){return t0(this,e,t,1)}function mD(e,t){return t0(this,e,t,-1)}function ng(e){return e<0?Math.floor(e):Math.ceil(e)}function yD(){var e=this._milliseconds,t=this._days,n=this._months,i=this._data,a,u,f,m,b;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=ng(zf(n)+t)*864e5,t=0,n=0),i.milliseconds=e%1e3,a=Jn(e/1e3),i.seconds=a%60,u=Jn(a/60),i.minutes=u%60,f=Jn(u/60),i.hours=f%24,t+=Jn(f/24),b=Jn(n0(t)),n+=b,t-=ng(zf(b)),m=Jn(n/12),n%=12,i.days=t,i.months=n,i.years=m,this}function n0(e){return e*4800/146097}function zf(e){return e*146097/4800}function vD(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if(e=nr(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+i/864e5,n=this._months+n0(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(zf(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return t*24+i/36e5;case"minute":return t*1440+i/6e4;case"second":return t*86400+i/1e3;case"millisecond":return Math.floor(t*864e5)+i;default:throw new Error("Unknown unit "+e)}}function vi(e){return function(){return this.as(e)}}var r0=vi("ms"),bD=vi("s"),xD=vi("m"),wD=vi("h"),_D=vi("d"),SD=vi("w"),kD=vi("M"),CD=vi("Q"),DD=vi("y"),ED=r0;function TD(){return vr(this)}function MD(e){return e=nr(e),this.isValid()?this[e+"s"]():NaN}function ms(e){return function(){return this.isValid()?this._data[e]:NaN}}var ID=ms("milliseconds"),AD=ms("seconds"),RD=ms("minutes"),OD=ms("hours"),PD=ms("days"),ND=ms("months"),LD=ms("years");function FD(){return Jn(this.days()/7)}var ui=Math.round,zs={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function $D(e,t,n,i,a){return a.relativeTime(t||1,!!n,e,i)}function jD(e,t,n,i){var a=vr(e).abs(),u=ui(a.as("s")),f=ui(a.as("m")),m=ui(a.as("h")),b=ui(a.as("d")),_=ui(a.as("M")),E=ui(a.as("w")),O=ui(a.as("y")),M=u<=n.ss&&["s",u]||u<n.s&&["ss",u]||f<=1&&["m"]||f<n.m&&["mm",f]||m<=1&&["h"]||m<n.h&&["hh",m]||b<=1&&["d"]||b<n.d&&["dd",b];return n.w!=null&&(M=M||E<=1&&["w"]||E<n.w&&["ww",E]),M=M||_<=1&&["M"]||_<n.M&&["MM",_]||O<=1&&["y"]||["yy",O],M[2]=t,M[3]=+e>0,M[4]=i,$D.apply(null,M)}function BD(e){return e===void 0?ui:typeof e=="function"?(ui=e,!0):!1}function YD(e,t){return zs[e]===void 0?!1:t===void 0?zs[e]:(zs[e]=t,e==="s"&&(zs.ss=t-1),!0)}function WD(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=zs,a,u;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(i=Object.assign({},zs,t),t.s!=null&&t.ss==null&&(i.ss=t.s-1)),a=this.localeData(),u=jD(this,!n,i,a),n&&(u=a.pastFuture(+this,u)),a.postformat(u)}var Sf=Math.abs;function Ls(e){return(e>0)-(e<0)||+e}function gl(){if(!this.isValid())return this.localeData().invalidDate();var e=Sf(this._milliseconds)/1e3,t=Sf(this._days),n=Sf(this._months),i,a,u,f,m=this.asSeconds(),b,_,E,O;return m?(i=Jn(e/60),a=Jn(i/60),e%=60,i%=60,u=Jn(n/12),n%=12,f=e?e.toFixed(3).replace(/\.?0+$/,""):"",b=m<0?"-":"",_=Ls(this._months)!==Ls(m)?"-":"",E=Ls(this._days)!==Ls(m)?"-":"",O=Ls(this._milliseconds)!==Ls(m)?"-":"",b+"P"+(u?_+u+"Y":"")+(n?_+n+"M":"")+(t?E+t+"D":"")+(a||i||e?"T":"")+(a?O+a+"H":"")+(i?O+i+"M":"")+(e?O+f+"S":"")):"P0D"}var ze=hl.prototype;ze.isValid=Nk;ze.abs=pD;ze.add=gD;ze.subtract=mD;ze.as=vD;ze.asMilliseconds=r0;ze.asSeconds=bD;ze.asMinutes=xD;ze.asHours=wD;ze.asDays=_D;ze.asWeeks=SD;ze.asMonths=kD;ze.asQuarters=CD;ze.asYears=DD;ze.valueOf=ED;ze._bubble=yD;ze.clone=TD;ze.get=MD;ze.milliseconds=ID;ze.seconds=AD;ze.minutes=RD;ze.hours=OD;ze.days=PD;ze.weeks=FD;ze.months=ND;ze.years=LD;ze.humanize=WD;ze.toISOString=gl;ze.toString=gl;ze.toJSON=gl;ze.locale=Um;ze.localeData=qm;ze.toIsoString=tr("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",gl);ze.lang=zm;ve("X",0,0,"unix");ve("x",0,0,"valueOf");me("x",ll);me("X",lS);ot("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});ot("x",function(e,t,n){n._d=new Date(We(e))});//! moment.js
|
|
10
|
+
ue.version="2.30.1";H_(ft);ue.fn=re;ue.min=Ak;ue.max=Rk;ue.now=Ok;ue.utc=Br;ue.unix=oD;ue.months=lD;ue.isDate=ho;ue.locale=Bi;ue.invalid=sl;ue.duration=vr;ue.isMoment=yr;ue.weekdays=fD;ue.parseZone=uD;ue.localeData=yi;ue.isDuration=ju;ue.monthsShort=cD;ue.weekdaysMin=hD;ue.defineLocale=xd;ue.updateLocale=uk;ue.locales=lk;ue.weekdaysShort=dD;ue.normalizeUnits=nr;ue.relativeTimeRounding=BD;ue.relativeTimeThreshold=YD;ue.calendarFormat=iC;ue.prototype=re;ue.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const HD=Object.freeze(Object.defineProperty({__proto__:null,default:ue},Symbol.toStringTag,{value:"Module"})),UD=({notification:e,handleUpdateRead:t})=>{const n=i=>{const a=ue(),u=ue(i),f=a.diff(u,"days");return f===0?"Today":f===1?"Yesterday":f>=2&&f<=7?`Last ${f} days`:f===8||f===9||f===10?"1 week ago":f>=11&&f<=14?"2 weeks ago":u.format("MMMM DD, YYYY")};return D.jsxRuntimeExports.jsxs("div",{className:"notitification-item__container",onClick:()=>t(e.id,!e.isRead),children:[D.jsxRuntimeExports.jsx("div",{className:"notification-item__image-container",children:D.jsxRuntimeExports.jsx("img",{src:(e==null?void 0:e.userAvatarUrl)===void 0?"https://ukpcsaprod.blob.core.windows.net/account/logo.png":e==null?void 0:e.userAvatarUrl,alt:e.userName})}),D.jsxRuntimeExports.jsxs("div",{className:"notification-item__content",children:[D.jsxRuntimeExports.jsx("p",{className:"notification-item__user-name",children:e.userName}),D.jsxRuntimeExports.jsxs("p",{children:[`${e.message} `,D.jsxRuntimeExports.jsx("span",{children:e==null?void 0:e.context})]})]}),D.jsxRuntimeExports.jsx("div",{className:"notification-item__time",children:D.jsxRuntimeExports.jsx("p",{children:n(e.createdAt)})}),D.jsxRuntimeExports.jsx("button",{className:`${(e==null?void 0:e.isRead)===!1?"unread":"read"} notification-item__read-at`,onClick:()=>t(e.id,!e.isRead),"aria-label":"Mark as read"})]})},rg=({notidata:e,handleUpdateRead:t,handleUpdateReadAll:n})=>D.jsxRuntimeExports.jsxs("div",{children:[D.jsxRuntimeExports.jsx("div",{className:"mark-all-read",children:D.jsxRuntimeExports.jsx("button",{onClick:n,children:"Mark all as read"})}),D.jsxRuntimeExports.jsx("div",{className:"notification-items__wrapper",children:D.jsxRuntimeExports.jsx("div",{className:"notification-items__content",children:Object.values(e).map((i,a)=>D.jsxRuntimeExports.jsx(UD,{notification:i,handleUpdateRead:t},a))})})]}),no=D.reactExports.createContext({}),zD=({children:e})=>{const[t,n]=D.reactExports.useState(!0),[i,a]=D.reactExports.useState({all:{rows:[],total:0},unread:{rows:[],total:0}}),u=()=>{n(!t)},f=()=>{n(!0)};return D.jsxRuntimeExports.jsx(no.Provider,{value:{isOpen:t,toggleOpen:u,setShowModalFalse:f,notidata:i,setNotiData:a},children:e})};const qD={black:"#000",white:"#fff"},ro=qD,VD={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"},Fs=VD,GD={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"},$s=GD,KD={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"},js=KD,ZD={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"},Bs=ZD,XD={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"},Ys=XD,JD={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"},Ua=JD,QD={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"},eE=QD;function io(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const tE=Object.freeze(Object.defineProperty({__proto__:null,default:io},Symbol.toStringTag,{value:"Module"})),i0="$$material";function s0(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var nE=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,rE=s0(function(e){return nE.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function iE(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function sE(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var aE=function(){function e(n){var i=this;this._insertTag=function(a){var u;i.tags.length===0?i.insertionPoint?u=i.insertionPoint.nextSibling:i.prepend?u=i.container.firstChild:u=i.before:u=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(a,u),i.tags.push(a)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(i){i.forEach(this._insertTag)},t.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(sE(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var u=iE(a);try{u.insertRule(i,u.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(i));this.ctr++},t.flush=function(){this.tags.forEach(function(i){return i.parentNode&&i.parentNode.removeChild(i)}),this.tags=[],this.ctr=0},e}(),en="-ms-",Xu="-moz-",Je="-webkit-",a0="comm",Md="rule",Id="decl",oE="@import",o0="@keyframes",uE="@layer",lE=Math.abs,ml=String.fromCharCode,cE=Object.assign;function fE(e,t){return Ut(e,0)^45?(((t<<2^Ut(e,0))<<2^Ut(e,1))<<2^Ut(e,2))<<2^Ut(e,3):0}function u0(e){return e.trim()}function dE(e,t){return(e=t.exec(e))?e[0]:e}function Qe(e,t,n){return e.replace(t,n)}function qf(e,t){return e.indexOf(t)}function Ut(e,t){return e.charCodeAt(t)|0}function so(e,t,n){return e.slice(t,n)}function Rr(e){return e.length}function Ad(e){return e.length}function Pu(e,t){return t.push(e),e}function hE(e,t){return e.map(t).join("")}var yl=1,Xs=1,l0=0,_n=0,Mt=0,ta="";function vl(e,t,n,i,a,u,f){return{value:e,root:t,parent:n,type:i,props:a,children:u,line:yl,column:Xs,length:f,return:""}}function za(e,t){return cE(vl("",null,null,"",null,null,0),e,{length:-e.length},t)}function pE(){return Mt}function gE(){return Mt=_n>0?Ut(ta,--_n):0,Xs--,Mt===10&&(Xs=1,yl--),Mt}function On(){return Mt=_n<l0?Ut(ta,_n++):0,Xs++,Mt===10&&(Xs=1,yl++),Mt}function Lr(){return Ut(ta,_n)}function Yu(){return _n}function yo(e,t){return so(ta,e,t)}function ao(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 c0(e){return yl=Xs=1,l0=Rr(ta=e),_n=0,[]}function f0(e){return ta="",e}function Wu(e){return u0(yo(_n-1,Vf(e===91?e+2:e===40?e+1:e)))}function mE(e){for(;(Mt=Lr())&&Mt<33;)On();return ao(e)>2||ao(Mt)>3?"":" "}function yE(e,t){for(;--t&&On()&&!(Mt<48||Mt>102||Mt>57&&Mt<65||Mt>70&&Mt<97););return yo(e,Yu()+(t<6&&Lr()==32&&On()==32))}function Vf(e){for(;On();)switch(Mt){case e:return _n;case 34:case 39:e!==34&&e!==39&&Vf(Mt);break;case 40:e===41&&Vf(e);break;case 92:On();break}return _n}function vE(e,t){for(;On()&&e+Mt!==47+10;)if(e+Mt===42+42&&Lr()===47)break;return"/*"+yo(t,_n-1)+"*"+ml(e===47?e:On())}function bE(e){for(;!ao(Lr());)On();return yo(e,_n)}function xE(e){return f0(Hu("",null,null,null,[""],e=c0(e),0,[0],e))}function Hu(e,t,n,i,a,u,f,m,b){for(var _=0,E=0,O=f,M=0,z=0,B=0,$=1,Z=1,W=1,se=0,pe="",ae=a,ne=u,ie=i,h=pe;Z;)switch(B=se,se=On()){case 40:if(B!=108&&Ut(h,O-1)==58){qf(h+=Qe(Wu(se),"&","&\f"),"&\f")!=-1&&(W=-1);break}case 34:case 39:case 91:h+=Wu(se);break;case 9:case 10:case 13:case 32:h+=mE(B);break;case 92:h+=yE(Yu()-1,7);continue;case 47:switch(Lr()){case 42:case 47:Pu(wE(vE(On(),Yu()),t,n),b);break;default:h+="/"}break;case 123*$:m[_++]=Rr(h)*W;case 125*$:case 59:case 0:switch(se){case 0:case 125:Z=0;case 59+E:W==-1&&(h=Qe(h,/\f/g,"")),z>0&&Rr(h)-O&&Pu(z>32?sg(h+";",i,n,O-1):sg(Qe(h," ","")+";",i,n,O-2),b);break;case 59:h+=";";default:if(Pu(ie=ig(h,t,n,_,E,a,m,pe,ae=[],ne=[],O),u),se===123)if(E===0)Hu(h,t,ie,ie,ae,u,O,m,ne);else switch(M===99&&Ut(h,3)===110?100:M){case 100:case 108:case 109:case 115:Hu(e,ie,ie,i&&Pu(ig(e,ie,ie,0,0,a,m,pe,a,ae=[],O),ne),a,ne,O,m,i?ae:ne);break;default:Hu(h,ie,ie,ie,[""],ne,0,m,ne)}}_=E=z=0,$=W=1,pe=h="",O=f;break;case 58:O=1+Rr(h),z=B;default:if($<1){if(se==123)--$;else if(se==125&&$++==0&&gE()==125)continue}switch(h+=ml(se),se*$){case 38:W=E>0?1:(h+="\f",-1);break;case 44:m[_++]=(Rr(h)-1)*W,W=1;break;case 64:Lr()===45&&(h+=Wu(On())),M=Lr(),E=O=Rr(pe=h+=bE(Yu())),se++;break;case 45:B===45&&Rr(h)==2&&($=0)}}return u}function ig(e,t,n,i,a,u,f,m,b,_,E){for(var O=a-1,M=a===0?u:[""],z=Ad(M),B=0,$=0,Z=0;B<i;++B)for(var W=0,se=so(e,O+1,O=lE($=f[B])),pe=e;W<z;++W)(pe=u0($>0?M[W]+" "+se:Qe(se,/&\f/g,M[W])))&&(b[Z++]=pe);return vl(e,t,n,a===0?Md:m,b,_,E)}function wE(e,t,n){return vl(e,t,n,a0,ml(pE()),so(e,2,-2),0)}function sg(e,t,n,i){return vl(e,t,n,Id,so(e,0,i),so(e,i+1,-1),i)}function Ks(e,t){for(var n="",i=Ad(e),a=0;a<i;a++)n+=t(e[a],a,e,t)||"";return n}function _E(e,t,n,i){switch(e.type){case uE:if(e.children.length)break;case oE:case Id:return e.return=e.return||e.value;case a0:return"";case o0:return e.return=e.value+"{"+Ks(e.children,i)+"}";case Md:e.value=e.props.join(",")}return Rr(n=Ks(e.children,i))?e.return=e.value+"{"+n+"}":""}function SE(e){var t=Ad(e);return function(n,i,a,u){for(var f="",m=0;m<t;m++)f+=e[m](n,i,a,u)||"";return f}}function kE(e){return function(t){t.root||(t=t.return)&&e(t)}}var CE=function(t,n,i){for(var a=0,u=0;a=u,u=Lr(),a===38&&u===12&&(n[i]=1),!ao(u);)On();return yo(t,_n)},DE=function(t,n){var i=-1,a=44;do switch(ao(a)){case 0:a===38&&Lr()===12&&(n[i]=1),t[i]+=CE(_n-1,n,i);break;case 2:t[i]+=Wu(a);break;case 4:if(a===44){t[++i]=Lr()===58?"&\f":"",n[i]=t[i].length;break}default:t[i]+=ml(a)}while(a=On());return t},EE=function(t,n){return f0(DE(c0(t),n))},ag=new WeakMap,TE=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,i=t.parent,a=t.column===i.column&&t.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!ag.get(i))&&!a){ag.set(t,!0);for(var u=[],f=EE(n,u),m=i.props,b=0,_=0;b<f.length;b++)for(var E=0;E<m.length;E++,_++)t.props[_]=u[b]?f[b].replace(/&\f/g,m[E]):m[E]+" "+f[b]}}},ME=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function d0(e,t){switch(fE(e,t)){case 5103:return Je+"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 Je+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Je+e+Xu+e+en+e+e;case 6828:case 4268:return Je+e+en+e+e;case 6165:return Je+e+en+"flex-"+e+e;case 5187:return Je+e+Qe(e,/(\w+).+(:[^]+)/,Je+"box-$1$2"+en+"flex-$1$2")+e;case 5443:return Je+e+en+"flex-item-"+Qe(e,/flex-|-self/,"")+e;case 4675:return Je+e+en+"flex-line-pack"+Qe(e,/align-content|flex-|-self/,"")+e;case 5548:return Je+e+en+Qe(e,"shrink","negative")+e;case 5292:return Je+e+en+Qe(e,"basis","preferred-size")+e;case 6060:return Je+"box-"+Qe(e,"-grow","")+Je+e+en+Qe(e,"grow","positive")+e;case 4554:return Je+Qe(e,/([^-])(transform)/g,"$1"+Je+"$2")+e;case 6187:return Qe(Qe(Qe(e,/(zoom-|grab)/,Je+"$1"),/(image-set)/,Je+"$1"),e,"")+e;case 5495:case 3959:return Qe(e,/(image-set\([^]*)/,Je+"$1$`$1");case 4968:return Qe(Qe(e,/(.+:)(flex-)?(.*)/,Je+"box-pack:$3"+en+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Je+e+e;case 4095:case 3583:case 4068:case 2532:return Qe(e,/(.+)-inline(.+)/,Je+"$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(Rr(e)-1-t>6)switch(Ut(e,t+1)){case 109:if(Ut(e,t+4)!==45)break;case 102:return Qe(e,/(.+:)(.+)-([^]+)/,"$1"+Je+"$2-$3$1"+Xu+(Ut(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~qf(e,"stretch")?d0(Qe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ut(e,t+1)!==115)break;case 6444:switch(Ut(e,Rr(e)-3-(~qf(e,"!important")&&10))){case 107:return Qe(e,":",":"+Je)+e;case 101:return Qe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Je+(Ut(e,14)===45?"inline-":"")+"box$3$1"+Je+"$2$3$1"+en+"$2box$3")+e}break;case 5936:switch(Ut(e,t+11)){case 114:return Je+e+en+Qe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Je+e+en+Qe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Je+e+en+Qe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Je+e+en+e+e}return e}var IE=function(t,n,i,a){if(t.length>-1&&!t.return)switch(t.type){case Id:t.return=d0(t.value,t.length);break;case o0:return Ks([za(t,{value:Qe(t.value,"@","@"+Je)})],a);case Md:if(t.length)return hE(t.props,function(u){switch(dE(u,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ks([za(t,{props:[Qe(u,/:(read-\w+)/,":"+Xu+"$1")]})],a);case"::placeholder":return Ks([za(t,{props:[Qe(u,/:(plac\w+)/,":"+Je+"input-$1")]}),za(t,{props:[Qe(u,/:(plac\w+)/,":"+Xu+"$1")]}),za(t,{props:[Qe(u,/:(plac\w+)/,en+"input-$1")]})],a)}return""})}},AE=[IE],h0=function(t){var n=t.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function($){var Z=$.getAttribute("data-emotion");Z.indexOf(" ")!==-1&&(document.head.appendChild($),$.setAttribute("data-s",""))})}var a=t.stylisPlugins||AE,u={},f,m=[];f=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function($){for(var Z=$.getAttribute("data-emotion").split(" "),W=1;W<Z.length;W++)u[Z[W]]=!0;m.push($)});var b,_=[TE,ME];{var E,O=[_E,kE(function($){E.insert($)})],M=SE(_.concat(a,O)),z=function(Z){return Ks(xE(Z),M)};b=function(Z,W,se,pe){E=se,z(Z?Z+"{"+W.styles+"}":W.styles),pe&&(B.inserted[W.name]=!0)}}var B={key:n,sheet:new aE({key:n,container:f,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:u,registered:{},insert:b};return B.sheet.hydrate(m),B},p0={exports:{}},it={};/** @license React v16.13.1
|
|
11
11
|
* react-is.production.min.js
|
|
12
12
|
*
|
|
13
13
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var Bt=typeof Symbol=="function"&&Symbol.for,Ad=Bt?Symbol.for("react.element"):60103,Rd=Bt?Symbol.for("react.portal"):60106,bl=Bt?Symbol.for("react.fragment"):60107,xl=Bt?Symbol.for("react.strict_mode"):60108,wl=Bt?Symbol.for("react.profiler"):60114,_l=Bt?Symbol.for("react.provider"):60109,Sl=Bt?Symbol.for("react.context"):60110,Od=Bt?Symbol.for("react.async_mode"):60111,kl=Bt?Symbol.for("react.concurrent_mode"):60111,Cl=Bt?Symbol.for("react.forward_ref"):60112,Dl=Bt?Symbol.for("react.suspense"):60113,IE=Bt?Symbol.for("react.suspense_list"):60120,El=Bt?Symbol.for("react.memo"):60115,Tl=Bt?Symbol.for("react.lazy"):60116,AE=Bt?Symbol.for("react.block"):60121,RE=Bt?Symbol.for("react.fundamental"):60117,OE=Bt?Symbol.for("react.responder"):60118,PE=Bt?Symbol.for("react.scope"):60119;function Ln(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Ad:switch(e=e.type,e){case Od:case kl:case bl:case wl:case xl:case Dl:return e;default:switch(e=e&&e.$$typeof,e){case Sl:case Cl:case Tl:case El:case _l:return e;default:return t}}case Rd:return t}}}function h0(e){return Ln(e)===kl}it.AsyncMode=Od;it.ConcurrentMode=kl;it.ContextConsumer=Sl;it.ContextProvider=_l;it.Element=Ad;it.ForwardRef=Cl;it.Fragment=bl;it.Lazy=Tl;it.Memo=El;it.Portal=Rd;it.Profiler=wl;it.StrictMode=xl;it.Suspense=Dl;it.isAsyncMode=function(e){return h0(e)||Ln(e)===Od};it.isConcurrentMode=h0;it.isContextConsumer=function(e){return Ln(e)===Sl};it.isContextProvider=function(e){return Ln(e)===_l};it.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ad};it.isForwardRef=function(e){return Ln(e)===Cl};it.isFragment=function(e){return Ln(e)===bl};it.isLazy=function(e){return Ln(e)===Tl};it.isMemo=function(e){return Ln(e)===El};it.isPortal=function(e){return Ln(e)===Rd};it.isProfiler=function(e){return Ln(e)===wl};it.isStrictMode=function(e){return Ln(e)===xl};it.isSuspense=function(e){return Ln(e)===Dl};it.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===bl||e===kl||e===wl||e===xl||e===Dl||e===IE||typeof e=="object"&&e!==null&&(e.$$typeof===Tl||e.$$typeof===El||e.$$typeof===_l||e.$$typeof===Sl||e.$$typeof===Cl||e.$$typeof===RE||e.$$typeof===OE||e.$$typeof===PE||e.$$typeof===AE)};it.typeOf=Ln;d0.exports=it;var NE=d0.exports,p0=NE,LE={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},FE={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},g0={};g0[p0.ForwardRef]=LE;g0[p0.Memo]=FE;var $E=!0;function jE(e,t,n){var i="";return n.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):i+=a+" "}),i}var m0=function(t,n,i){var a=t.key+"-"+n.name;(i===!1||$E===!1)&&t.registered[a]===void 0&&(t.registered[a]=n.styles)},y0=function(t,n,i){m0(t,n,i);var a=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var u=n;do t.insert(n===u?"."+a:"",u,t.sheet,!0),u=u.next;while(u!==void 0)}};function BE(e){for(var t=0,n,i=0,a=e.length;a>=4;++i,a-=4)n=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var YE={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},WE=/[A-Z]|^ms/g,HE=/_EMO_([^_]+?)_([^]*?)_EMO_/g,v0=function(t){return t.charCodeAt(1)===45},ag=function(t){return t!=null&&typeof t!="boolean"},kf=r0(function(e){return v0(e)?e:e.replace(WE,"-$&").toLowerCase()}),og=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(HE,function(i,a,u){return Or={name:a,styles:u,next:Or},a})}return YE[t]!==1&&!v0(t)&&typeof n=="number"&&n!==0?n+"px":n};function ao(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Or={name:n.name,styles:n.styles,next:Or},n.name;if(n.styles!==void 0){var i=n.next;if(i!==void 0)for(;i!==void 0;)Or={name:i.name,styles:i.styles,next:Or},i=i.next;var a=n.styles+";";return a}return UE(e,t,n)}case"function":{if(e!==void 0){var u=Or,f=n(e);return Or=u,ao(e,t,f)}break}}if(t==null)return n;var m=t[n];return m!==void 0?m:n}function UE(e,t,n){var i="";if(Array.isArray(n))for(var a=0;a<n.length;a++)i+=ao(e,t,n[a])+";";else for(var u in n){var f=n[u];if(typeof f!="object")t!=null&&t[f]!==void 0?i+=u+"{"+t[f]+"}":ag(f)&&(i+=kf(u)+":"+og(u,f)+";");else if(Array.isArray(f)&&typeof f[0]=="string"&&(t==null||t[f[0]]===void 0))for(var m=0;m<f.length;m++)ag(f[m])&&(i+=kf(u)+":"+og(u,f[m])+";");else{var b=ao(e,t,f);switch(u){case"animation":case"animationName":{i+=kf(u)+":"+b+";";break}default:i+=u+"{"+b+"}"}}}return i}var ug=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Or,Pd=function(t,n,i){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var a=!0,u="";Or=void 0;var f=t[0];f==null||f.raw===void 0?(a=!1,u+=ao(i,n,f)):u+=f[0];for(var m=1;m<t.length;m++)u+=ao(i,n,t[m]),a&&(u+=f[m]);ug.lastIndex=0;for(var b="",_;(_=ug.exec(u))!==null;)b+="-"+_[1];var E=BE(u)+b;return{name:E,styles:u,next:Or}},zE=function(t){return t()},b0=D.React["useInsertionEffect"]?D.React["useInsertionEffect"]:!1,VE=b0||zE,lg=b0||D.reactExports.useLayoutEffect,x0=D.reactExports.createContext(typeof HTMLElement<"u"?f0({key:"css"}):null),qE=x0.Provider,w0=function(t){return D.reactExports.forwardRef(function(n,i){var a=D.reactExports.useContext(x0);return t(n,a,i)})},Ml=D.reactExports.createContext({}),GE=w0(function(e,t){var n=e.styles,i=Pd([n],void 0,D.reactExports.useContext(Ml)),a=D.reactExports.useRef();return lg(function(){var u=t.key+"-global",f=new t.sheet.constructor({key:u,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),m=!1,b=document.querySelector('style[data-emotion="'+u+" "+i.name+'"]');return t.sheet.tags.length&&(f.before=t.sheet.tags[0]),b!==null&&(m=!0,b.setAttribute("data-emotion",u),f.hydrate([b])),a.current=[f,m],function(){f.flush()}},[t]),lg(function(){var u=a.current,f=u[0],m=u[1];if(m){u[1]=!1;return}if(i.next!==void 0&&y0(t,i.next,!0),f.tags.length){var b=f.tags[f.tags.length-1].nextElementSibling;f.before=b,f.flush()}t.insert("",i,f,!1)},[t,i.name]),null});function _0(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Pd(t)}var Il=function(){var t=_0.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},KE=tE,ZE=function(t){return t!=="theme"},cg=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?KE:ZE},fg=function(t,n,i){var a;if(n){var u=n.shouldForwardProp;a=t.__emotion_forwardProp&&u?function(f){return t.__emotion_forwardProp(f)&&u(f)}:u}return typeof a!="function"&&i&&(a=t.__emotion_forwardProp),a},XE=function(t){var n=t.cache,i=t.serialized,a=t.isStringTag;return m0(n,i,a),VE(function(){return y0(n,i,a)}),null},JE=function e(t,n){var i=t.__emotion_real===t,a=i&&t.__emotion_base||t,u,f;n!==void 0&&(u=n.label,f=n.target);var m=fg(t,n,i),b=m||cg(a),_=!b("as");return function(){var E=arguments,O=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(u!==void 0&&O.push("label:"+u+";"),E[0]==null||E[0].raw===void 0)O.push.apply(O,E);else{O.push(E[0][0]);for(var M=E.length,z=1;z<M;z++)O.push(E[z],E[0][z])}var B=w0(function($,Z,W){var se=_&&$.as||a,pe="",ae=[],ne=$;if($.theme==null){ne={};for(var ie in $)ne[ie]=$[ie];ne.theme=D.reactExports.useContext(Ml)}typeof $.className=="string"?pe=jE(Z.registered,ae,$.className):$.className!=null&&(pe=$.className+" ");var h=Pd(O.concat(ae),Z.registered,ne);pe+=Z.key+"-"+h.name,f!==void 0&&(pe+=" "+f);var Te=_&&m===void 0?cg(se):b,ce={};for(var et in $)_&&et==="as"||Te(et)&&(ce[et]=$[et]);return ce.className=pe,ce.ref=W,D.reactExports.createElement(D.reactExports.Fragment,null,D.reactExports.createElement(XE,{cache:Z,serialized:h,isStringTag:typeof se=="string"}),D.reactExports.createElement(se,ce))});return B.displayName=u!==void 0?u:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",B.defaultProps=t.defaultProps,B.__emotion_real=B,B.__emotion_base=a,B.__emotion_styles=O,B.__emotion_forwardProp=m,Object.defineProperty(B,"toString",{value:function(){return"."+f}}),B.withComponent=function($,Z){return e($,D._extends({},n,Z,{shouldForwardProp:fg(B,Z,!0)})).apply(void 0,O)},B}},QE=["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"],qf=JE.bind();QE.forEach(function(e){qf[e]=qf(e)});let Gf;typeof document=="object"&&(Gf=f0({key:"css",prepend:!0}));function eT(e){const{injectFirst:t,children:n}=e;return t&&Gf?D.jsxRuntimeExports.jsx(qE,{value:Gf,children:n}):n}function tT(e){return e==null||Object.keys(e).length===0}function nT(e){const{styles:t,defaultTheme:n={}}=e,i=typeof t=="function"?a=>t(tT(a)?n:a):t;return D.jsxRuntimeExports.jsx(GE,{styles:i})}/**
|
|
17
|
+
*/var Bt=typeof Symbol=="function"&&Symbol.for,Rd=Bt?Symbol.for("react.element"):60103,Od=Bt?Symbol.for("react.portal"):60106,bl=Bt?Symbol.for("react.fragment"):60107,xl=Bt?Symbol.for("react.strict_mode"):60108,wl=Bt?Symbol.for("react.profiler"):60114,_l=Bt?Symbol.for("react.provider"):60109,Sl=Bt?Symbol.for("react.context"):60110,Pd=Bt?Symbol.for("react.async_mode"):60111,kl=Bt?Symbol.for("react.concurrent_mode"):60111,Cl=Bt?Symbol.for("react.forward_ref"):60112,Dl=Bt?Symbol.for("react.suspense"):60113,RE=Bt?Symbol.for("react.suspense_list"):60120,El=Bt?Symbol.for("react.memo"):60115,Tl=Bt?Symbol.for("react.lazy"):60116,OE=Bt?Symbol.for("react.block"):60121,PE=Bt?Symbol.for("react.fundamental"):60117,NE=Bt?Symbol.for("react.responder"):60118,LE=Bt?Symbol.for("react.scope"):60119;function Ln(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Rd:switch(e=e.type,e){case Pd:case kl:case bl:case wl:case xl:case Dl:return e;default:switch(e=e&&e.$$typeof,e){case Sl:case Cl:case Tl:case El:case _l:return e;default:return t}}case Od:return t}}}function g0(e){return Ln(e)===kl}it.AsyncMode=Pd;it.ConcurrentMode=kl;it.ContextConsumer=Sl;it.ContextProvider=_l;it.Element=Rd;it.ForwardRef=Cl;it.Fragment=bl;it.Lazy=Tl;it.Memo=El;it.Portal=Od;it.Profiler=wl;it.StrictMode=xl;it.Suspense=Dl;it.isAsyncMode=function(e){return g0(e)||Ln(e)===Pd};it.isConcurrentMode=g0;it.isContextConsumer=function(e){return Ln(e)===Sl};it.isContextProvider=function(e){return Ln(e)===_l};it.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Rd};it.isForwardRef=function(e){return Ln(e)===Cl};it.isFragment=function(e){return Ln(e)===bl};it.isLazy=function(e){return Ln(e)===Tl};it.isMemo=function(e){return Ln(e)===El};it.isPortal=function(e){return Ln(e)===Od};it.isProfiler=function(e){return Ln(e)===wl};it.isStrictMode=function(e){return Ln(e)===xl};it.isSuspense=function(e){return Ln(e)===Dl};it.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===bl||e===kl||e===wl||e===xl||e===Dl||e===RE||typeof e=="object"&&e!==null&&(e.$$typeof===Tl||e.$$typeof===El||e.$$typeof===_l||e.$$typeof===Sl||e.$$typeof===Cl||e.$$typeof===PE||e.$$typeof===NE||e.$$typeof===LE||e.$$typeof===OE)};it.typeOf=Ln;p0.exports=it;var FE=p0.exports,m0=FE,$E={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},jE={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},y0={};y0[m0.ForwardRef]=$E;y0[m0.Memo]=jE;var BE=!0;function YE(e,t,n){var i="";return n.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):i+=a+" "}),i}var v0=function(t,n,i){var a=t.key+"-"+n.name;(i===!1||BE===!1)&&t.registered[a]===void 0&&(t.registered[a]=n.styles)},b0=function(t,n,i){v0(t,n,i);var a=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var u=n;do t.insert(n===u?"."+a:"",u,t.sheet,!0),u=u.next;while(u!==void 0)}};function WE(e){for(var t=0,n,i=0,a=e.length;a>=4;++i,a-=4)n=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var HE={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},UE=/[A-Z]|^ms/g,zE=/_EMO_([^_]+?)_([^]*?)_EMO_/g,x0=function(t){return t.charCodeAt(1)===45},og=function(t){return t!=null&&typeof t!="boolean"},kf=s0(function(e){return x0(e)?e:e.replace(UE,"-$&").toLowerCase()}),ug=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(zE,function(i,a,u){return Or={name:a,styles:u,next:Or},a})}return HE[t]!==1&&!x0(t)&&typeof n=="number"&&n!==0?n+"px":n};function oo(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Or={name:n.name,styles:n.styles,next:Or},n.name;if(n.styles!==void 0){var i=n.next;if(i!==void 0)for(;i!==void 0;)Or={name:i.name,styles:i.styles,next:Or},i=i.next;var a=n.styles+";";return a}return qE(e,t,n)}case"function":{if(e!==void 0){var u=Or,f=n(e);return Or=u,oo(e,t,f)}break}}if(t==null)return n;var m=t[n];return m!==void 0?m:n}function qE(e,t,n){var i="";if(Array.isArray(n))for(var a=0;a<n.length;a++)i+=oo(e,t,n[a])+";";else for(var u in n){var f=n[u];if(typeof f!="object")t!=null&&t[f]!==void 0?i+=u+"{"+t[f]+"}":og(f)&&(i+=kf(u)+":"+ug(u,f)+";");else if(Array.isArray(f)&&typeof f[0]=="string"&&(t==null||t[f[0]]===void 0))for(var m=0;m<f.length;m++)og(f[m])&&(i+=kf(u)+":"+ug(u,f[m])+";");else{var b=oo(e,t,f);switch(u){case"animation":case"animationName":{i+=kf(u)+":"+b+";";break}default:i+=u+"{"+b+"}"}}}return i}var lg=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Or,Nd=function(t,n,i){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var a=!0,u="";Or=void 0;var f=t[0];f==null||f.raw===void 0?(a=!1,u+=oo(i,n,f)):u+=f[0];for(var m=1;m<t.length;m++)u+=oo(i,n,t[m]),a&&(u+=f[m]);lg.lastIndex=0;for(var b="",_;(_=lg.exec(u))!==null;)b+="-"+_[1];var E=WE(u)+b;return{name:E,styles:u,next:Or}},VE=function(t){return t()},w0=D.React["useInsertionEffect"]?D.React["useInsertionEffect"]:!1,GE=w0||VE,cg=w0||D.reactExports.useLayoutEffect,_0=D.reactExports.createContext(typeof HTMLElement<"u"?h0({key:"css"}):null),KE=_0.Provider,S0=function(t){return D.reactExports.forwardRef(function(n,i){var a=D.reactExports.useContext(_0);return t(n,a,i)})},Ml=D.reactExports.createContext({}),ZE=S0(function(e,t){var n=e.styles,i=Nd([n],void 0,D.reactExports.useContext(Ml)),a=D.reactExports.useRef();return cg(function(){var u=t.key+"-global",f=new t.sheet.constructor({key:u,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),m=!1,b=document.querySelector('style[data-emotion="'+u+" "+i.name+'"]');return t.sheet.tags.length&&(f.before=t.sheet.tags[0]),b!==null&&(m=!0,b.setAttribute("data-emotion",u),f.hydrate([b])),a.current=[f,m],function(){f.flush()}},[t]),cg(function(){var u=a.current,f=u[0],m=u[1];if(m){u[1]=!1;return}if(i.next!==void 0&&b0(t,i.next,!0),f.tags.length){var b=f.tags[f.tags.length-1].nextElementSibling;f.before=b,f.flush()}t.insert("",i,f,!1)},[t,i.name]),null});function k0(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Nd(t)}var Il=function(){var t=k0.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},XE=rE,JE=function(t){return t!=="theme"},fg=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?XE:JE},dg=function(t,n,i){var a;if(n){var u=n.shouldForwardProp;a=t.__emotion_forwardProp&&u?function(f){return t.__emotion_forwardProp(f)&&u(f)}:u}return typeof a!="function"&&i&&(a=t.__emotion_forwardProp),a},QE=function(t){var n=t.cache,i=t.serialized,a=t.isStringTag;return v0(n,i,a),GE(function(){return b0(n,i,a)}),null},eT=function e(t,n){var i=t.__emotion_real===t,a=i&&t.__emotion_base||t,u,f;n!==void 0&&(u=n.label,f=n.target);var m=dg(t,n,i),b=m||fg(a),_=!b("as");return function(){var E=arguments,O=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(u!==void 0&&O.push("label:"+u+";"),E[0]==null||E[0].raw===void 0)O.push.apply(O,E);else{O.push(E[0][0]);for(var M=E.length,z=1;z<M;z++)O.push(E[z],E[0][z])}var B=S0(function($,Z,W){var se=_&&$.as||a,pe="",ae=[],ne=$;if($.theme==null){ne={};for(var ie in $)ne[ie]=$[ie];ne.theme=D.reactExports.useContext(Ml)}typeof $.className=="string"?pe=YE(Z.registered,ae,$.className):$.className!=null&&(pe=$.className+" ");var h=Nd(O.concat(ae),Z.registered,ne);pe+=Z.key+"-"+h.name,f!==void 0&&(pe+=" "+f);var Te=_&&m===void 0?fg(se):b,ce={};for(var et in $)_&&et==="as"||Te(et)&&(ce[et]=$[et]);return ce.className=pe,ce.ref=W,D.reactExports.createElement(D.reactExports.Fragment,null,D.reactExports.createElement(QE,{cache:Z,serialized:h,isStringTag:typeof se=="string"}),D.reactExports.createElement(se,ce))});return B.displayName=u!==void 0?u:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",B.defaultProps=t.defaultProps,B.__emotion_real=B,B.__emotion_base=a,B.__emotion_styles=O,B.__emotion_forwardProp=m,Object.defineProperty(B,"toString",{value:function(){return"."+f}}),B.withComponent=function($,Z){return e($,D._extends({},n,Z,{shouldForwardProp:dg(B,Z,!0)})).apply(void 0,O)},B}},tT=["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"],Gf=eT.bind();tT.forEach(function(e){Gf[e]=Gf(e)});let Kf;typeof document=="object"&&(Kf=h0({key:"css",prepend:!0}));function nT(e){const{injectFirst:t,children:n}=e;return t&&Kf?D.jsxRuntimeExports.jsx(KE,{value:Kf,children:n}):n}function rT(e){return e==null||Object.keys(e).length===0}function iT(e){const{styles:t,defaultTheme:n={}}=e,i=typeof t=="function"?a=>t(rT(a)?n:a):t;return D.jsxRuntimeExports.jsx(ZE,{styles:i})}/**
|
|
18
18
|
* @mui/styled-engine v5.15.11
|
|
19
19
|
*
|
|
20
20
|
* @license MIT
|
|
21
21
|
* This source code is licensed under the MIT license found in the
|
|
22
22
|
* LICENSE file in the root directory of this source tree.
|
|
23
|
-
*/function rT(e,t){return qf(e,t)}const iT=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},sT=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:nT,StyledEngineProvider:eT,ThemeContext:Ml,css:_0,default:rT,internal_processStyles:iT,keyframes:Il},Symbol.toStringTag,{value:"Module"}));function Fi(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function S0(e){if(!Fi(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=S0(e[n])}),t}function Fr(e,t,n={clone:!0}){const i=n.clone?D._extends({},e):e;return Fi(e)&&Fi(t)&&Object.keys(t).forEach(a=>{a!=="__proto__"&&(Fi(t[a])&&a in e&&Fi(e[a])?i[a]=Fr(e[a],t[a],n):n.clone?i[a]=Fi(t[a])?S0(t[a]):t[a]:i[a]=t[a])}),i}const aT=Object.freeze(Object.defineProperty({__proto__:null,default:Fr,isPlainObject:Fi},Symbol.toStringTag,{value:"Module"})),oT=["values","unit","step"],uT=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,i)=>n.val-i.val),t.reduce((n,i)=>D._extends({},n,{[i.key]:i.val}),{})};function k0(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5}=e,a=D._objectWithoutPropertiesLoose(e,oT),u=uT(t),f=Object.keys(u);function m(M){return`@media (min-width:${typeof t[M]=="number"?t[M]:M}${n})`}function b(M){return`@media (max-width:${(typeof t[M]=="number"?t[M]:M)-i/100}${n})`}function _(M,z){const B=f.indexOf(z);return`@media (min-width:${typeof t[M]=="number"?t[M]:M}${n}) and (max-width:${(B!==-1&&typeof t[f[B]]=="number"?t[f[B]]:z)-i/100}${n})`}function E(M){return f.indexOf(M)+1<f.length?_(M,f[f.indexOf(M)+1]):m(M)}function O(M){const z=f.indexOf(M);return z===0?m(f[1]):z===f.length-1?b(f[z]):_(M,f[f.indexOf(M)+1]).replace("@media","@media not all and")}return D._extends({keys:f,values:u,up:m,down:b,between:_,only:E,not:O,unit:n},a)}const lT={borderRadius:4},cT=lT;function Za(e,t){return t?Fr(e,t,{clone:!1}):e}const Nd={xs:0,sm:600,md:900,lg:1200,xl:1536},dg={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Nd[e]}px)`};function mi(e,t,n){const i=e.theme||{};if(Array.isArray(t)){const u=i.breakpoints||dg;return t.reduce((f,m,b)=>(f[u.up(u.keys[b])]=n(t[b]),f),{})}if(typeof t=="object"){const u=i.breakpoints||dg;return Object.keys(t).reduce((f,m)=>{if(Object.keys(u.values||Nd).indexOf(m)!==-1){const b=u.up(m);f[b]=n(t[m],m)}else{const b=m;f[b]=t[b]}return f},{})}return n(t)}function fT(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((i,a)=>{const u=e.up(a);return i[u]={},i},{}))||{}}function dT(e,t){return e.reduce((n,i)=>{const a=n[i];return(!a||Object.keys(a).length===0)&&delete n[i],n},t)}function $r(e){if(typeof e!="string")throw new Error(ro(7));return e.charAt(0).toUpperCase()+e.slice(1)}const hT=Object.freeze(Object.defineProperty({__proto__:null,default:$r},Symbol.toStringTag,{value:"Module"}));function Al(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const i=`vars.${t}`.split(".").reduce((a,u)=>a&&a[u]?a[u]:null,e);if(i!=null)return i}return t.split(".").reduce((i,a)=>i&&i[a]!=null?i[a]:null,e)}function Ju(e,t,n,i=n){let a;return typeof e=="function"?a=e(n):Array.isArray(e)?a=e[n]||i:a=Al(e,n)||i,t&&(a=t(a,i,e)),a}function Et(e){const{prop:t,cssProperty:n=e.prop,themeKey:i,transform:a}=e,u=f=>{if(f[t]==null)return null;const m=f[t],b=f.theme,_=Al(b,i)||{};return mi(f,m,O=>{let M=Ju(_,a,O);return O===M&&typeof O=="string"&&(M=Ju(_,a,`${t}${O==="default"?"":$r(O)}`,O)),n===!1?M:{[n]:M}})};return u.propTypes={},u.filterProps=[t],u}function pT(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const gT={m:"margin",p:"padding"},mT={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},hg={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},yT=pT(e=>{if(e.length>2)if(hg[e])e=hg[e];else return[e];const[t,n]=e.split(""),i=gT[t],a=mT[n]||"";return Array.isArray(a)?a.map(u=>i+u):[i+a]}),Ld=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Fd=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Ld,...Fd];function yo(e,t,n,i){var a;const u=(a=Al(e,t,!1))!=null?a:n;return typeof u=="number"?f=>typeof f=="string"?f:u*f:Array.isArray(u)?f=>typeof f=="string"?f:u[f]:typeof u=="function"?u:()=>{}}function C0(e){return yo(e,"spacing",8)}function vo(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),i=e(n);return t>=0?i:typeof i=="number"?-i:`-${i}`}function vT(e,t){return n=>e.reduce((i,a)=>(i[a]=vo(t,n),i),{})}function bT(e,t,n,i){if(t.indexOf(n)===-1)return null;const a=yT(n),u=vT(a,i),f=e[n];return mi(e,f,u)}function D0(e,t){const n=C0(e.theme);return Object.keys(e).map(i=>bT(e,t,i,n)).reduce(Za,{})}function xt(e){return D0(e,Ld)}xt.propTypes={};xt.filterProps=Ld;function wt(e){return D0(e,Fd)}wt.propTypes={};wt.filterProps=Fd;function xT(e=8){if(e.mui)return e;const t=C0({spacing:e}),n=(...i)=>(i.length===0?[1]:i).map(u=>{const f=t(u);return typeof f=="number"?`${f}px`:f}).join(" ");return n.mui=!0,n}function Rl(...e){const t=e.reduce((i,a)=>(a.filterProps.forEach(u=>{i[u]=a}),i),{}),n=i=>Object.keys(i).reduce((a,u)=>t[u]?Za(a,t[u](i)):a,{});return n.propTypes={},n.filterProps=e.reduce((i,a)=>i.concat(a.filterProps),[]),n}function Qn(e){return typeof e!="number"?e:`${e}px solid`}function rr(e,t){return Et({prop:e,themeKey:"borders",transform:t})}const wT=rr("border",Qn),_T=rr("borderTop",Qn),ST=rr("borderRight",Qn),kT=rr("borderBottom",Qn),CT=rr("borderLeft",Qn),DT=rr("borderColor"),ET=rr("borderTopColor"),TT=rr("borderRightColor"),MT=rr("borderBottomColor"),IT=rr("borderLeftColor"),AT=rr("outline",Qn),RT=rr("outlineColor"),Ol=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=yo(e.theme,"shape.borderRadius",4),n=i=>({borderRadius:vo(t,i)});return mi(e,e.borderRadius,n)}return null};Ol.propTypes={};Ol.filterProps=["borderRadius"];Rl(wT,_T,ST,kT,CT,DT,ET,TT,MT,IT,Ol,AT,RT);const Pl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=yo(e.theme,"spacing",8),n=i=>({gap:vo(t,i)});return mi(e,e.gap,n)}return null};Pl.propTypes={};Pl.filterProps=["gap"];const Nl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=yo(e.theme,"spacing",8),n=i=>({columnGap:vo(t,i)});return mi(e,e.columnGap,n)}return null};Nl.propTypes={};Nl.filterProps=["columnGap"];const Ll=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=yo(e.theme,"spacing",8),n=i=>({rowGap:vo(t,i)});return mi(e,e.rowGap,n)}return null};Ll.propTypes={};Ll.filterProps=["rowGap"];const OT=Et({prop:"gridColumn"}),PT=Et({prop:"gridRow"}),NT=Et({prop:"gridAutoFlow"}),LT=Et({prop:"gridAutoColumns"}),FT=Et({prop:"gridAutoRows"}),$T=Et({prop:"gridTemplateColumns"}),jT=Et({prop:"gridTemplateRows"}),BT=Et({prop:"gridTemplateAreas"}),YT=Et({prop:"gridArea"});Rl(Pl,Nl,Ll,OT,PT,NT,LT,FT,$T,jT,BT,YT);function Zs(e,t){return t==="grey"?t:e}const WT=Et({prop:"color",themeKey:"palette",transform:Zs}),HT=Et({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Zs}),UT=Et({prop:"backgroundColor",themeKey:"palette",transform:Zs});Rl(WT,HT,UT);function Rn(e){return e<=1&&e!==0?`${e*100}%`:e}const zT=Et({prop:"width",transform:Rn}),$d=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var i,a;const u=((i=e.theme)==null||(i=i.breakpoints)==null||(i=i.values)==null?void 0:i[n])||Nd[n];return u?((a=e.theme)==null||(a=a.breakpoints)==null?void 0:a.unit)!=="px"?{maxWidth:`${u}${e.theme.breakpoints.unit}`}:{maxWidth:u}:{maxWidth:Rn(n)}};return mi(e,e.maxWidth,t)}return null};$d.filterProps=["maxWidth"];const VT=Et({prop:"minWidth",transform:Rn}),qT=Et({prop:"height",transform:Rn}),GT=Et({prop:"maxHeight",transform:Rn}),KT=Et({prop:"minHeight",transform:Rn});Et({prop:"size",cssProperty:"width",transform:Rn});Et({prop:"size",cssProperty:"height",transform:Rn});const ZT=Et({prop:"boxSizing"});Rl(zT,$d,VT,qT,GT,KT,ZT);const XT={border:{themeKey:"borders",transform:Qn},borderTop:{themeKey:"borders",transform:Qn},borderRight:{themeKey:"borders",transform:Qn},borderBottom:{themeKey:"borders",transform:Qn},borderLeft:{themeKey:"borders",transform:Qn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Qn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ol},color:{themeKey:"palette",transform:Zs},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Zs},backgroundColor:{themeKey:"palette",transform:Zs},p:{style:wt},pt:{style:wt},pr:{style:wt},pb:{style:wt},pl:{style:wt},px:{style:wt},py:{style:wt},padding:{style:wt},paddingTop:{style:wt},paddingRight:{style:wt},paddingBottom:{style:wt},paddingLeft:{style:wt},paddingX:{style:wt},paddingY:{style:wt},paddingInline:{style:wt},paddingInlineStart:{style:wt},paddingInlineEnd:{style:wt},paddingBlock:{style:wt},paddingBlockStart:{style:wt},paddingBlockEnd:{style:wt},m:{style:xt},mt:{style:xt},mr:{style:xt},mb:{style:xt},ml:{style:xt},mx:{style:xt},my:{style:xt},margin:{style:xt},marginTop:{style:xt},marginRight:{style:xt},marginBottom:{style:xt},marginLeft:{style:xt},marginX:{style:xt},marginY:{style:xt},marginInline:{style:xt},marginInlineStart:{style:xt},marginInlineEnd:{style:xt},marginBlock:{style:xt},marginBlockStart:{style:xt},marginBlockEnd:{style:xt},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:Pl},rowGap:{style:Ll},columnGap:{style:Nl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Rn},maxWidth:{style:$d},minWidth:{transform:Rn},height:{transform:Rn},maxHeight:{transform:Rn},minHeight:{transform:Rn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},bo=XT;function JT(...e){const t=e.reduce((i,a)=>i.concat(Object.keys(a)),[]),n=new Set(t);return e.every(i=>n.size===Object.keys(i).length)}function QT(e,t){return typeof e=="function"?e(t):e}function E0(){function e(n,i,a,u){const f={[n]:i,theme:a},m=u[n];if(!m)return{[n]:i};const{cssProperty:b=n,themeKey:_,transform:E,style:O}=m;if(i==null)return null;if(_==="typography"&&i==="inherit")return{[n]:i};const M=Al(a,_)||{};return O?O(f):mi(f,i,B=>{let $=Ju(M,E,B);return B===$&&typeof B=="string"&&($=Ju(M,E,`${n}${B==="default"?"":$r(B)}`,B)),b===!1?$:{[b]:$}})}function t(n){var i;const{sx:a,theme:u={}}=n||{};if(!a)return null;const f=(i=u.unstable_sxConfig)!=null?i:bo;function m(b){let _=b;if(typeof b=="function")_=b(u);else if(typeof b!="object")return b;if(!_)return null;const E=fT(u.breakpoints),O=Object.keys(E);let M=E;return Object.keys(_).forEach(z=>{const B=QT(_[z],u);if(B!=null)if(typeof B=="object")if(f[z])M=Za(M,e(z,B,u,f));else{const $=mi({theme:u},B,Z=>({[z]:Z}));JT($,B)?M[z]=t({sx:B,theme:u}):M=Za(M,$)}else M=Za(M,e(z,B,u,f))}),dT(O,M)}return Array.isArray(a)?a.map(m):m(a)}return t}const T0=E0();T0.filterProps=["sx"];const jd=T0;function M0(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const e2=["breakpoints","palette","spacing","shape"];function Bd(e={},...t){const{breakpoints:n={},palette:i={},spacing:a,shape:u={}}=e,f=D._objectWithoutPropertiesLoose(e,e2),m=k0(n),b=xT(a);let _=Fr({breakpoints:m,direction:"ltr",components:{},palette:D._extends({mode:"light"},i),spacing:b,shape:D._extends({},cT,u)},f);return _.applyStyles=M0,_=t.reduce((E,O)=>Fr(E,O),_),_.unstable_sxConfig=D._extends({},bo,f==null?void 0:f.unstable_sxConfig),_.unstable_sx=function(O){return jd({sx:O,theme:this})},_}const t2=Object.freeze(Object.defineProperty({__proto__:null,default:Bd,private_createBreakpoints:k0,unstable_applyStyles:M0},Symbol.toStringTag,{value:"Module"}));function n2(e){return Object.keys(e).length===0}function r2(e=null){const t=D.reactExports.useContext(Ml);return!t||n2(t)?e:t}const i2=Bd();function s2(e=i2){return r2(e)}const a2=["sx"],o2=e=>{var t,n;const i={systemProps:{},otherProps:{}},a=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:bo;return Object.keys(e).forEach(u=>{a[u]?i.systemProps[u]=e[u]:i.otherProps[u]=e[u]}),i};function u2(e){const{sx:t}=e,n=D._objectWithoutPropertiesLoose(e,a2),{systemProps:i,otherProps:a}=o2(n);let u;return Array.isArray(t)?u=[i,...t]:typeof t=="function"?u=(...f)=>{const m=t(...f);return Fi(m)?D._extends({},i,m):i}:u=D._extends({},i,t),D._extends({},a,{sx:u})}const l2=Object.freeze(Object.defineProperty({__proto__:null,default:jd,extendSxProp:u2,unstable_createStyleFunctionSx:E0,unstable_defaultSxConfig:bo},Symbol.toStringTag,{value:"Module"})),pg=e=>e,c2=()=>{let e=pg;return{configure(t){e=t},generate(t){return e(t)},reset(){e=pg}}},f2=c2(),d2=f2,h2={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 Fl(e,t,n="Mui"){const i=h2[t];return i?`${n}-${i}`:`${d2.generate(e)}-${t}`}function $l(e,t,n="Mui"){const i={};return t.forEach(a=>{i[a]=Fl(e,a,n)}),i}var I0={exports:{}},st={};/**
|
|
23
|
+
*/function sT(e,t){return Gf(e,t)}const aT=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},oT=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:iT,StyledEngineProvider:nT,ThemeContext:Ml,css:k0,default:sT,internal_processStyles:aT,keyframes:Il},Symbol.toStringTag,{value:"Module"}));function Fi(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function C0(e){if(!Fi(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=C0(e[n])}),t}function Fr(e,t,n={clone:!0}){const i=n.clone?D._extends({},e):e;return Fi(e)&&Fi(t)&&Object.keys(t).forEach(a=>{a!=="__proto__"&&(Fi(t[a])&&a in e&&Fi(e[a])?i[a]=Fr(e[a],t[a],n):n.clone?i[a]=Fi(t[a])?C0(t[a]):t[a]:i[a]=t[a])}),i}const uT=Object.freeze(Object.defineProperty({__proto__:null,default:Fr,isPlainObject:Fi},Symbol.toStringTag,{value:"Module"})),lT=["values","unit","step"],cT=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,i)=>n.val-i.val),t.reduce((n,i)=>D._extends({},n,{[i.key]:i.val}),{})};function D0(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5}=e,a=D._objectWithoutPropertiesLoose(e,lT),u=cT(t),f=Object.keys(u);function m(M){return`@media (min-width:${typeof t[M]=="number"?t[M]:M}${n})`}function b(M){return`@media (max-width:${(typeof t[M]=="number"?t[M]:M)-i/100}${n})`}function _(M,z){const B=f.indexOf(z);return`@media (min-width:${typeof t[M]=="number"?t[M]:M}${n}) and (max-width:${(B!==-1&&typeof t[f[B]]=="number"?t[f[B]]:z)-i/100}${n})`}function E(M){return f.indexOf(M)+1<f.length?_(M,f[f.indexOf(M)+1]):m(M)}function O(M){const z=f.indexOf(M);return z===0?m(f[1]):z===f.length-1?b(f[z]):_(M,f[f.indexOf(M)+1]).replace("@media","@media not all and")}return D._extends({keys:f,values:u,up:m,down:b,between:_,only:E,not:O,unit:n},a)}const fT={borderRadius:4},dT=fT;function Za(e,t){return t?Fr(e,t,{clone:!1}):e}const Ld={xs:0,sm:600,md:900,lg:1200,xl:1536},hg={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ld[e]}px)`};function mi(e,t,n){const i=e.theme||{};if(Array.isArray(t)){const u=i.breakpoints||hg;return t.reduce((f,m,b)=>(f[u.up(u.keys[b])]=n(t[b]),f),{})}if(typeof t=="object"){const u=i.breakpoints||hg;return Object.keys(t).reduce((f,m)=>{if(Object.keys(u.values||Ld).indexOf(m)!==-1){const b=u.up(m);f[b]=n(t[m],m)}else{const b=m;f[b]=t[b]}return f},{})}return n(t)}function hT(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((i,a)=>{const u=e.up(a);return i[u]={},i},{}))||{}}function pT(e,t){return e.reduce((n,i)=>{const a=n[i];return(!a||Object.keys(a).length===0)&&delete n[i],n},t)}function $r(e){if(typeof e!="string")throw new Error(io(7));return e.charAt(0).toUpperCase()+e.slice(1)}const gT=Object.freeze(Object.defineProperty({__proto__:null,default:$r},Symbol.toStringTag,{value:"Module"}));function Al(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const i=`vars.${t}`.split(".").reduce((a,u)=>a&&a[u]?a[u]:null,e);if(i!=null)return i}return t.split(".").reduce((i,a)=>i&&i[a]!=null?i[a]:null,e)}function Ju(e,t,n,i=n){let a;return typeof e=="function"?a=e(n):Array.isArray(e)?a=e[n]||i:a=Al(e,n)||i,t&&(a=t(a,i,e)),a}function Et(e){const{prop:t,cssProperty:n=e.prop,themeKey:i,transform:a}=e,u=f=>{if(f[t]==null)return null;const m=f[t],b=f.theme,_=Al(b,i)||{};return mi(f,m,O=>{let M=Ju(_,a,O);return O===M&&typeof O=="string"&&(M=Ju(_,a,`${t}${O==="default"?"":$r(O)}`,O)),n===!1?M:{[n]:M}})};return u.propTypes={},u.filterProps=[t],u}function mT(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const yT={m:"margin",p:"padding"},vT={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},pg={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},bT=mT(e=>{if(e.length>2)if(pg[e])e=pg[e];else return[e];const[t,n]=e.split(""),i=yT[t],a=vT[n]||"";return Array.isArray(a)?a.map(u=>i+u):[i+a]}),Fd=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],$d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Fd,...$d];function vo(e,t,n,i){var a;const u=(a=Al(e,t,!1))!=null?a:n;return typeof u=="number"?f=>typeof f=="string"?f:u*f:Array.isArray(u)?f=>typeof f=="string"?f:u[f]:typeof u=="function"?u:()=>{}}function E0(e){return vo(e,"spacing",8)}function bo(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),i=e(n);return t>=0?i:typeof i=="number"?-i:`-${i}`}function xT(e,t){return n=>e.reduce((i,a)=>(i[a]=bo(t,n),i),{})}function wT(e,t,n,i){if(t.indexOf(n)===-1)return null;const a=bT(n),u=xT(a,i),f=e[n];return mi(e,f,u)}function T0(e,t){const n=E0(e.theme);return Object.keys(e).map(i=>wT(e,t,i,n)).reduce(Za,{})}function xt(e){return T0(e,Fd)}xt.propTypes={};xt.filterProps=Fd;function wt(e){return T0(e,$d)}wt.propTypes={};wt.filterProps=$d;function _T(e=8){if(e.mui)return e;const t=E0({spacing:e}),n=(...i)=>(i.length===0?[1]:i).map(u=>{const f=t(u);return typeof f=="number"?`${f}px`:f}).join(" ");return n.mui=!0,n}function Rl(...e){const t=e.reduce((i,a)=>(a.filterProps.forEach(u=>{i[u]=a}),i),{}),n=i=>Object.keys(i).reduce((a,u)=>t[u]?Za(a,t[u](i)):a,{});return n.propTypes={},n.filterProps=e.reduce((i,a)=>i.concat(a.filterProps),[]),n}function Qn(e){return typeof e!="number"?e:`${e}px solid`}function rr(e,t){return Et({prop:e,themeKey:"borders",transform:t})}const ST=rr("border",Qn),kT=rr("borderTop",Qn),CT=rr("borderRight",Qn),DT=rr("borderBottom",Qn),ET=rr("borderLeft",Qn),TT=rr("borderColor"),MT=rr("borderTopColor"),IT=rr("borderRightColor"),AT=rr("borderBottomColor"),RT=rr("borderLeftColor"),OT=rr("outline",Qn),PT=rr("outlineColor"),Ol=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=vo(e.theme,"shape.borderRadius",4),n=i=>({borderRadius:bo(t,i)});return mi(e,e.borderRadius,n)}return null};Ol.propTypes={};Ol.filterProps=["borderRadius"];Rl(ST,kT,CT,DT,ET,TT,MT,IT,AT,RT,Ol,OT,PT);const Pl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=vo(e.theme,"spacing",8),n=i=>({gap:bo(t,i)});return mi(e,e.gap,n)}return null};Pl.propTypes={};Pl.filterProps=["gap"];const Nl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=vo(e.theme,"spacing",8),n=i=>({columnGap:bo(t,i)});return mi(e,e.columnGap,n)}return null};Nl.propTypes={};Nl.filterProps=["columnGap"];const Ll=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=vo(e.theme,"spacing",8),n=i=>({rowGap:bo(t,i)});return mi(e,e.rowGap,n)}return null};Ll.propTypes={};Ll.filterProps=["rowGap"];const NT=Et({prop:"gridColumn"}),LT=Et({prop:"gridRow"}),FT=Et({prop:"gridAutoFlow"}),$T=Et({prop:"gridAutoColumns"}),jT=Et({prop:"gridAutoRows"}),BT=Et({prop:"gridTemplateColumns"}),YT=Et({prop:"gridTemplateRows"}),WT=Et({prop:"gridTemplateAreas"}),HT=Et({prop:"gridArea"});Rl(Pl,Nl,Ll,NT,LT,FT,$T,jT,BT,YT,WT,HT);function Zs(e,t){return t==="grey"?t:e}const UT=Et({prop:"color",themeKey:"palette",transform:Zs}),zT=Et({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Zs}),qT=Et({prop:"backgroundColor",themeKey:"palette",transform:Zs});Rl(UT,zT,qT);function Rn(e){return e<=1&&e!==0?`${e*100}%`:e}const VT=Et({prop:"width",transform:Rn}),jd=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var i,a;const u=((i=e.theme)==null||(i=i.breakpoints)==null||(i=i.values)==null?void 0:i[n])||Ld[n];return u?((a=e.theme)==null||(a=a.breakpoints)==null?void 0:a.unit)!=="px"?{maxWidth:`${u}${e.theme.breakpoints.unit}`}:{maxWidth:u}:{maxWidth:Rn(n)}};return mi(e,e.maxWidth,t)}return null};jd.filterProps=["maxWidth"];const GT=Et({prop:"minWidth",transform:Rn}),KT=Et({prop:"height",transform:Rn}),ZT=Et({prop:"maxHeight",transform:Rn}),XT=Et({prop:"minHeight",transform:Rn});Et({prop:"size",cssProperty:"width",transform:Rn});Et({prop:"size",cssProperty:"height",transform:Rn});const JT=Et({prop:"boxSizing"});Rl(VT,jd,GT,KT,ZT,XT,JT);const QT={border:{themeKey:"borders",transform:Qn},borderTop:{themeKey:"borders",transform:Qn},borderRight:{themeKey:"borders",transform:Qn},borderBottom:{themeKey:"borders",transform:Qn},borderLeft:{themeKey:"borders",transform:Qn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Qn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ol},color:{themeKey:"palette",transform:Zs},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Zs},backgroundColor:{themeKey:"palette",transform:Zs},p:{style:wt},pt:{style:wt},pr:{style:wt},pb:{style:wt},pl:{style:wt},px:{style:wt},py:{style:wt},padding:{style:wt},paddingTop:{style:wt},paddingRight:{style:wt},paddingBottom:{style:wt},paddingLeft:{style:wt},paddingX:{style:wt},paddingY:{style:wt},paddingInline:{style:wt},paddingInlineStart:{style:wt},paddingInlineEnd:{style:wt},paddingBlock:{style:wt},paddingBlockStart:{style:wt},paddingBlockEnd:{style:wt},m:{style:xt},mt:{style:xt},mr:{style:xt},mb:{style:xt},ml:{style:xt},mx:{style:xt},my:{style:xt},margin:{style:xt},marginTop:{style:xt},marginRight:{style:xt},marginBottom:{style:xt},marginLeft:{style:xt},marginX:{style:xt},marginY:{style:xt},marginInline:{style:xt},marginInlineStart:{style:xt},marginInlineEnd:{style:xt},marginBlock:{style:xt},marginBlockStart:{style:xt},marginBlockEnd:{style:xt},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:Pl},rowGap:{style:Ll},columnGap:{style:Nl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Rn},maxWidth:{style:jd},minWidth:{transform:Rn},height:{transform:Rn},maxHeight:{transform:Rn},minHeight:{transform:Rn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},xo=QT;function e2(...e){const t=e.reduce((i,a)=>i.concat(Object.keys(a)),[]),n=new Set(t);return e.every(i=>n.size===Object.keys(i).length)}function t2(e,t){return typeof e=="function"?e(t):e}function M0(){function e(n,i,a,u){const f={[n]:i,theme:a},m=u[n];if(!m)return{[n]:i};const{cssProperty:b=n,themeKey:_,transform:E,style:O}=m;if(i==null)return null;if(_==="typography"&&i==="inherit")return{[n]:i};const M=Al(a,_)||{};return O?O(f):mi(f,i,B=>{let $=Ju(M,E,B);return B===$&&typeof B=="string"&&($=Ju(M,E,`${n}${B==="default"?"":$r(B)}`,B)),b===!1?$:{[b]:$}})}function t(n){var i;const{sx:a,theme:u={}}=n||{};if(!a)return null;const f=(i=u.unstable_sxConfig)!=null?i:xo;function m(b){let _=b;if(typeof b=="function")_=b(u);else if(typeof b!="object")return b;if(!_)return null;const E=hT(u.breakpoints),O=Object.keys(E);let M=E;return Object.keys(_).forEach(z=>{const B=t2(_[z],u);if(B!=null)if(typeof B=="object")if(f[z])M=Za(M,e(z,B,u,f));else{const $=mi({theme:u},B,Z=>({[z]:Z}));e2($,B)?M[z]=t({sx:B,theme:u}):M=Za(M,$)}else M=Za(M,e(z,B,u,f))}),pT(O,M)}return Array.isArray(a)?a.map(m):m(a)}return t}const I0=M0();I0.filterProps=["sx"];const Bd=I0;function A0(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const n2=["breakpoints","palette","spacing","shape"];function Yd(e={},...t){const{breakpoints:n={},palette:i={},spacing:a,shape:u={}}=e,f=D._objectWithoutPropertiesLoose(e,n2),m=D0(n),b=_T(a);let _=Fr({breakpoints:m,direction:"ltr",components:{},palette:D._extends({mode:"light"},i),spacing:b,shape:D._extends({},dT,u)},f);return _.applyStyles=A0,_=t.reduce((E,O)=>Fr(E,O),_),_.unstable_sxConfig=D._extends({},xo,f==null?void 0:f.unstable_sxConfig),_.unstable_sx=function(O){return Bd({sx:O,theme:this})},_}const r2=Object.freeze(Object.defineProperty({__proto__:null,default:Yd,private_createBreakpoints:D0,unstable_applyStyles:A0},Symbol.toStringTag,{value:"Module"}));function i2(e){return Object.keys(e).length===0}function s2(e=null){const t=D.reactExports.useContext(Ml);return!t||i2(t)?e:t}const a2=Yd();function o2(e=a2){return s2(e)}const u2=["sx"],l2=e=>{var t,n;const i={systemProps:{},otherProps:{}},a=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:xo;return Object.keys(e).forEach(u=>{a[u]?i.systemProps[u]=e[u]:i.otherProps[u]=e[u]}),i};function c2(e){const{sx:t}=e,n=D._objectWithoutPropertiesLoose(e,u2),{systemProps:i,otherProps:a}=l2(n);let u;return Array.isArray(t)?u=[i,...t]:typeof t=="function"?u=(...f)=>{const m=t(...f);return Fi(m)?D._extends({},i,m):i}:u=D._extends({},i,t),D._extends({},a,{sx:u})}const f2=Object.freeze(Object.defineProperty({__proto__:null,default:Bd,extendSxProp:c2,unstable_createStyleFunctionSx:M0,unstable_defaultSxConfig:xo},Symbol.toStringTag,{value:"Module"})),gg=e=>e,d2=()=>{let e=gg;return{configure(t){e=t},generate(t){return e(t)},reset(){e=gg}}},h2=d2(),p2=h2,g2={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 Fl(e,t,n="Mui"){const i=g2[t];return i?`${n}-${i}`:`${p2.generate(e)}-${t}`}function $l(e,t,n="Mui"){const i={};return t.forEach(a=>{i[a]=Fl(e,a,n)}),i}var R0={exports:{}},st={};/**
|
|
24
24
|
* @license React
|
|
25
25
|
* react-is.production.min.js
|
|
26
26
|
*
|
|
@@ -28,7 +28,7 @@ ue.version="2.30.1";W_(ft);ue.fn=re;ue.min=Ik;ue.max=Ak;ue.now=Rk;ue.utc=Br;ue.u
|
|
|
28
28
|
*
|
|
29
29
|
* This source code is licensed under the MIT license found in the
|
|
30
30
|
* LICENSE file in the root directory of this source tree.
|
|
31
|
-
*/var Yd=Symbol.for("react.element"),Wd=Symbol.for("react.portal"),jl=Symbol.for("react.fragment"),Bl=Symbol.for("react.strict_mode"),Yl=Symbol.for("react.profiler"),Wl=Symbol.for("react.provider"),Hl=Symbol.for("react.context"),p2=Symbol.for("react.server_context"),Ul=Symbol.for("react.forward_ref"),zl=Symbol.for("react.suspense"),Vl=Symbol.for("react.suspense_list"),ql=Symbol.for("react.memo"),Gl=Symbol.for("react.lazy"),g2=Symbol.for("react.offscreen"),A0;A0=Symbol.for("react.module.reference");function ir(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Yd:switch(e=e.type,e){case jl:case Yl:case Bl:case zl:case Vl:return e;default:switch(e=e&&e.$$typeof,e){case p2:case Hl:case Ul:case Gl:case ql:case Wl:return e;default:return t}}case Wd:return t}}}st.ContextConsumer=Hl;st.ContextProvider=Wl;st.Element=Yd;st.ForwardRef=Ul;st.Fragment=jl;st.Lazy=Gl;st.Memo=ql;st.Portal=Wd;st.Profiler=Yl;st.StrictMode=Bl;st.Suspense=zl;st.SuspenseList=Vl;st.isAsyncMode=function(){return!1};st.isConcurrentMode=function(){return!1};st.isContextConsumer=function(e){return ir(e)===Hl};st.isContextProvider=function(e){return ir(e)===Wl};st.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Yd};st.isForwardRef=function(e){return ir(e)===Ul};st.isFragment=function(e){return ir(e)===jl};st.isLazy=function(e){return ir(e)===Gl};st.isMemo=function(e){return ir(e)===ql};st.isPortal=function(e){return ir(e)===Wd};st.isProfiler=function(e){return ir(e)===Yl};st.isStrictMode=function(e){return ir(e)===Bl};st.isSuspense=function(e){return ir(e)===zl};st.isSuspenseList=function(e){return ir(e)===Vl};st.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===jl||e===Yl||e===Bl||e===zl||e===Vl||e===g2||typeof e=="object"&&e!==null&&(e.$$typeof===Gl||e.$$typeof===ql||e.$$typeof===Wl||e.$$typeof===Hl||e.$$typeof===Ul||e.$$typeof===A0||e.getModuleId!==void 0)};st.typeOf=ir;I0.exports=st;var gg=I0.exports;const m2=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function R0(e){const t=`${e}`.match(m2);return t&&t[1]||""}function O0(e,t=""){return e.displayName||e.name||R0(e)||t}function mg(e,t,n){const i=O0(t);return e.displayName||(i!==""?`${n}(${i})`:n)}function y2(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return O0(e,"Component");if(typeof e=="object")switch(e.$$typeof){case gg.ForwardRef:return mg(e,e.render,"ForwardRef");case gg.Memo:return mg(e,e.type,"memo");default:return}}}const v2=Object.freeze(Object.defineProperty({__proto__:null,default:y2,getFunctionName:R0},Symbol.toStringTag,{value:"Module"}));function P0(e,t){const n=D._extends({},t);return Object.keys(e).forEach(i=>{if(i.toString().match(/^(components|slots)$/))n[i]=D._extends({},e[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const a=e[i]||{},u=t[i];n[i]={},!u||!Object.keys(u)?n[i]=a:!a||!Object.keys(a)?n[i]=u:(n[i]=D._extends({},u),Object.keys(a).forEach(f=>{n[i][f]=P0(a[f],u[f])}))}else n[i]===void 0&&(n[i]=e[i])}),n}function b2(e){const{theme:t,name:n,props:i}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?i:P0(t.components[n].defaultProps,i)}function x2({props:e,name:t,defaultTheme:n,themeId:i}){let a=s2(n);return i&&(a=a[i]||a),b2({theme:a,name:t,props:e})}const w2=typeof window<"u"?D.reactExports.useLayoutEffect:D.reactExports.useEffect,_2=w2;function S2(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const k2=Object.freeze(Object.defineProperty({__proto__:null,default:S2},Symbol.toStringTag,{value:"Module"}));function C2(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function D2({controlled:e,default:t,name:n,state:i="value"}){const{current:a}=D.reactExports.useRef(e!==void 0),[u,f]=D.reactExports.useState(t),m=a?e:u,b=D.reactExports.useCallback(_=>{a||f(_)},[]);return[m,b]}function Pu(e){const t=D.reactExports.useRef(e);return _2(()=>{t.current=e}),D.reactExports.useRef((...n)=>(0,t.current)(...n)).current}function yg(...e){return D.reactExports.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{C2(n,t)})},e)}const vg={};function E2(e,t){const n=D.reactExports.useRef(vg);return n.current===vg&&(n.current=e(t)),n}const T2=[];function M2(e){D.reactExports.useEffect(e,T2)}class Kl{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Kl}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function I2(){const e=E2(Kl.create).current;return M2(e.disposeEffect),e}let Zl=!0,Kf=!1;const A2=new Kl,R2={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function O2(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&R2[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function P2(e){e.metaKey||e.altKey||e.ctrlKey||(Zl=!0)}function Cf(){Zl=!1}function N2(){this.visibilityState==="hidden"&&Kf&&(Zl=!0)}function L2(e){e.addEventListener("keydown",P2,!0),e.addEventListener("mousedown",Cf,!0),e.addEventListener("pointerdown",Cf,!0),e.addEventListener("touchstart",Cf,!0),e.addEventListener("visibilitychange",N2,!0)}function F2(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Zl||O2(t)}function $2(){const e=D.reactExports.useCallback(a=>{a!=null&&L2(a.ownerDocument)},[]),t=D.reactExports.useRef(!1);function n(){return t.current?(Kf=!0,A2.start(100,()=>{Kf=!1}),t.current=!1,!0):!1}function i(a){return F2(a)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:i,onBlur:n,ref:e}}function Hd(e,t,n=void 0){const i={};return Object.keys(e).forEach(a=>{i[a]=e[a].reduce((u,f)=>{if(f){const m=t(f);m!==""&&u.push(m),n&&n[f]&&u.push(n[f])}return u},[]).join(" ")}),i}function oo(e){"@babel/helpers - typeof";return oo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oo(e)}function j2(e,t){if(oo(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(oo(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function B2(e){var t=j2(e,"string");return oo(t)=="symbol"?t:String(t)}function Y2(e,t){return D._extends({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Tt={},N0={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(N0);var L0=N0.exports;const W2=D.getAugmentedNamespace(QD),H2=D.getAugmentedNamespace(k2);var F0=L0;Object.defineProperty(Tt,"__esModule",{value:!0});var bg=Tt.alpha=H0;Tt.blend=eM;Tt.colorChannel=void 0;var $0=Tt.darken=zd;Tt.decomposeColor=er;Tt.emphasize=Q2;var U2=Tt.getContrastRatio=K2;Tt.getLuminance=Qu;Tt.hexToRgb=B0;Tt.hslToRgb=W0;var j0=Tt.lighten=Vd;Tt.private_safeAlpha=Z2;Tt.private_safeColorChannel=void 0;Tt.private_safeDarken=X2;Tt.private_safeEmphasize=U0;Tt.private_safeLighten=J2;Tt.recomposeColor=na;Tt.rgbToHex=G2;var xg=F0(W2),z2=F0(H2);function Ud(e,t=0,n=1){return(0,z2.default)(e,t,n)}function B0(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(i=>i+i)),n?`rgb${n.length===4?"a":""}(${n.map((i,a)=>a<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function V2(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function er(e){if(e.type)return e;if(e.charAt(0)==="#")return er(B0(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,xg.default)(9,e));let i=e.substring(t+1,e.length-1),a;if(n==="color"){if(i=i.split(" "),a=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(a)===-1)throw new Error((0,xg.default)(10,a))}else i=i.split(",");return i=i.map(u=>parseFloat(u)),{type:n,values:i,colorSpace:a}}const Y0=e=>{const t=er(e);return t.values.slice(0,3).map((n,i)=>t.type.indexOf("hsl")!==-1&&i!==0?`${n}%`:n).join(" ")};Tt.colorChannel=Y0;const q2=(e,t)=>{try{return Y0(e)}catch{return e}};Tt.private_safeColorChannel=q2;function na(e){const{type:t,colorSpace:n}=e;let{values:i}=e;return t.indexOf("rgb")!==-1?i=i.map((a,u)=>u<3?parseInt(a,10):a):t.indexOf("hsl")!==-1&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),t.indexOf("color")!==-1?i=`${n} ${i.join(" ")}`:i=`${i.join(", ")}`,`${t}(${i})`}function G2(e){if(e.indexOf("#")===0)return e;const{values:t}=er(e);return`#${t.map((n,i)=>V2(i===3?Math.round(255*n):n)).join("")}`}function W0(e){e=er(e);const{values:t}=e,n=t[0],i=t[1]/100,a=t[2]/100,u=i*Math.min(a,1-a),f=(_,E=(_+n/30)%12)=>a-u*Math.max(Math.min(E-3,9-E,1),-1);let m="rgb";const b=[Math.round(f(0)*255),Math.round(f(8)*255),Math.round(f(4)*255)];return e.type==="hsla"&&(m+="a",b.push(t[3])),na({type:m,values:b})}function Qu(e){e=er(e);let t=e.type==="hsl"||e.type==="hsla"?er(W0(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function K2(e,t){const n=Qu(e),i=Qu(t);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)}function H0(e,t){return e=er(e),t=Ud(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,na(e)}function Z2(e,t,n){try{return H0(e,t)}catch{return e}}function zd(e,t){if(e=er(e),t=Ud(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return na(e)}function X2(e,t,n){try{return zd(e,t)}catch{return e}}function Vd(e,t){if(e=er(e),t=Ud(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return na(e)}function J2(e,t,n){try{return Vd(e,t)}catch{return e}}function Q2(e,t=.15){return Qu(e)>.5?zd(e,t):Vd(e,t)}function U0(e,t,n){try{return U0(e,t)}catch{return e}}function eM(e,t,n,i=1){const a=(b,_)=>Math.round((b**(1/i)*(1-n)+_**(1/i)*n)**i),u=er(e),f=er(t),m=[a(u.values[0],f.values[0]),a(u.values[1],f.values[1]),a(u.values[2],f.values[2])];return na({type:"rgb",values:m})}const tM=["mode","contrastThreshold","tonalOffset"],wg={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:no.white,default:no.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Df={text:{primary:no.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:no.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function _g(e,t,n,i){const a=i.light||i,u=i.dark||i*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=j0(e.main,a):t==="dark"&&(e.dark=$0(e.main,u)))}function nM(e="light"){return e==="dark"?{main:js[200],light:js[50],dark:js[400]}:{main:js[700],light:js[400],dark:js[800]}}function rM(e="light"){return e==="dark"?{main:$s[200],light:$s[50],dark:$s[400]}:{main:$s[500],light:$s[300],dark:$s[700]}}function iM(e="light"){return e==="dark"?{main:Fs[500],light:Fs[300],dark:Fs[700]}:{main:Fs[700],light:Fs[400],dark:Fs[800]}}function sM(e="light"){return e==="dark"?{main:Bs[400],light:Bs[300],dark:Bs[700]}:{main:Bs[700],light:Bs[500],dark:Bs[900]}}function aM(e="light"){return e==="dark"?{main:Ys[400],light:Ys[300],dark:Ys[700]}:{main:Ys[800],light:Ys[500],dark:Ys[900]}}function oM(e="light"){return e==="dark"?{main:Ua[400],light:Ua[300],dark:Ua[700]}:{main:"#ed6c02",light:Ua[500],dark:Ua[900]}}function uM(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:i=.2}=e,a=D._objectWithoutPropertiesLoose(e,tM),u=e.primary||nM(t),f=e.secondary||rM(t),m=e.error||iM(t),b=e.info||sM(t),_=e.success||aM(t),E=e.warning||oM(t);function O($){return U2($,Df.text.primary)>=n?Df.text.primary:wg.text.primary}const M=({color:$,name:Z,mainShade:W=500,lightShade:se=300,darkShade:pe=700})=>{if($=D._extends({},$),!$.main&&$[W]&&($.main=$[W]),!$.hasOwnProperty("main"))throw new Error(ro(11,Z?` (${Z})`:"",W));if(typeof $.main!="string")throw new Error(ro(12,Z?` (${Z})`:"",JSON.stringify($.main)));return _g($,"light",se,i),_g($,"dark",pe,i),$.contrastText||($.contrastText=O($.main)),$},z={dark:Df,light:wg};return Fr(D._extends({common:D._extends({},no),mode:t,primary:M({color:u,name:"primary"}),secondary:M({color:f,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:M({color:m,name:"error"}),warning:M({color:E,name:"warning"}),info:M({color:b,name:"info"}),success:M({color:_,name:"success"}),grey:JD,contrastThreshold:n,getContrastText:O,augmentColor:M,tonalOffset:i},z[t]),a)}const lM=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function cM(e){return Math.round(e*1e5)/1e5}const Sg={textTransform:"uppercase"},kg='"Roboto", "Helvetica", "Arial", sans-serif';function fM(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:i=kg,fontSize:a=14,fontWeightLight:u=300,fontWeightRegular:f=400,fontWeightMedium:m=500,fontWeightBold:b=700,htmlFontSize:_=16,allVariants:E,pxToRem:O}=n,M=D._objectWithoutPropertiesLoose(n,lM),z=a/14,B=O||(W=>`${W/_*z}rem`),$=(W,se,pe,ae,ne)=>D._extends({fontFamily:i,fontWeight:W,fontSize:B(se),lineHeight:pe},i===kg?{letterSpacing:`${cM(ae/se)}em`}:{},ne,E),Z={h1:$(u,96,1.167,-1.5),h2:$(u,60,1.2,-.5),h3:$(f,48,1.167,0),h4:$(f,34,1.235,.25),h5:$(f,24,1.334,0),h6:$(m,20,1.6,.15),subtitle1:$(f,16,1.75,.15),subtitle2:$(m,14,1.57,.1),body1:$(f,16,1.5,.15),body2:$(f,14,1.43,.15),button:$(m,14,1.75,.4,Sg),caption:$(f,12,1.66,.4),overline:$(f,12,2.66,1,Sg),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Fr(D._extends({htmlFontSize:_,pxToRem:B,fontFamily:i,fontSize:a,fontWeightLight:u,fontWeightRegular:f,fontWeightMedium:m,fontWeightBold:b},Z),M,{clone:!1})}const dM=.2,hM=.14,pM=.12;function pt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${dM})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${hM})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${pM})`].join(",")}const gM=["none",pt(0,2,1,-1,0,1,1,0,0,1,3,0),pt(0,3,1,-2,0,2,2,0,0,1,5,0),pt(0,3,3,-2,0,3,4,0,0,1,8,0),pt(0,2,4,-1,0,4,5,0,0,1,10,0),pt(0,3,5,-1,0,5,8,0,0,1,14,0),pt(0,3,5,-1,0,6,10,0,0,1,18,0),pt(0,4,5,-2,0,7,10,1,0,2,16,1),pt(0,5,5,-3,0,8,10,1,0,3,14,2),pt(0,5,6,-3,0,9,12,1,0,3,16,2),pt(0,6,6,-3,0,10,14,1,0,4,18,3),pt(0,6,7,-4,0,11,15,1,0,4,20,3),pt(0,7,8,-4,0,12,17,2,0,5,22,4),pt(0,7,8,-4,0,13,19,2,0,5,24,4),pt(0,7,9,-4,0,14,21,2,0,5,26,4),pt(0,8,9,-5,0,15,22,2,0,6,28,5),pt(0,8,10,-5,0,16,24,2,0,6,30,5),pt(0,8,11,-5,0,17,26,2,0,6,32,5),pt(0,9,11,-5,0,18,28,2,0,7,34,6),pt(0,9,12,-6,0,19,29,2,0,7,36,6),pt(0,10,13,-6,0,20,31,3,0,8,38,7),pt(0,10,13,-6,0,21,33,3,0,8,40,7),pt(0,10,14,-6,0,22,35,3,0,8,42,7),pt(0,11,14,-7,0,23,36,3,0,9,44,8),pt(0,11,15,-7,0,24,38,3,0,9,46,8)],mM=gM,yM=["duration","easing","delay"],vM={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)"},bM={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Cg(e){return`${Math.round(e)}ms`}function xM(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function wM(e){const t=D._extends({},vM,e.easing),n=D._extends({},bM,e.duration),i=(a=["all"],u={})=>{const{duration:f=n.standard,easing:m=t.easeInOut,delay:b=0}=u;return D._objectWithoutPropertiesLoose(u,yM),(Array.isArray(a)?a:[a]).map(_=>`${_} ${typeof f=="string"?f:Cg(f)} ${m} ${typeof b=="string"?b:Cg(b)}`).join(",")};return D._extends({getAutoHeightDuration:xM,create:i},e,{easing:t,duration:n})}const _M={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},SM=_M,kM=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function CM(e={},...t){const{mixins:n={},palette:i={},transitions:a={},typography:u={}}=e,f=D._objectWithoutPropertiesLoose(e,kM);if(e.vars)throw new Error(ro(18));const m=uM(i),b=Bd(e);let _=Fr(b,{mixins:Y2(b.breakpoints,n),palette:m,shadows:mM.slice(),typography:fM(m,u),transitions:wM(a),zIndex:D._extends({},SM)});return _=Fr(_,f),_=t.reduce((E,O)=>Fr(E,O),_),_.unstable_sxConfig=D._extends({},bo,f==null?void 0:f.unstable_sxConfig),_.unstable_sx=function(O){return jd({sx:O,theme:this})},_}const DM=CM(),z0=DM;function qd({props:e,name:t}){return x2({props:e,name:t,defaultTheme:z0,themeId:n0})}var xo={};const EM=D.getAugmentedNamespace(D._extends$1),TM=D.getAugmentedNamespace(D.objectWithoutPropertiesLoose),MM=D.getAugmentedNamespace(sT),IM=D.getAugmentedNamespace(aT),AM=D.getAugmentedNamespace(hT),RM=D.getAugmentedNamespace(v2),OM=D.getAugmentedNamespace(t2),PM=D.getAugmentedNamespace(l2);var ra=L0;Object.defineProperty(xo,"__esModule",{value:!0});var NM=xo.default=KM,LM=xo.shouldForwardProp=Hu;xo.systemDefaultTheme=void 0;var Kn=ra(EM),Zf=ra(TM),Dg=HM(MM),FM=IM;ra(AM);ra(RM);var $M=ra(OM),jM=ra(PM);const BM=["ownerState"],YM=["variants"],WM=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function V0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(V0=function(i){return i?n:t})(e)}function HM(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=V0(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)){var f=a?Object.getOwnPropertyDescriptor(e,u):null;f&&(f.get||f.set)?Object.defineProperty(i,u,f):i[u]=e[u]}return i.default=e,n&&n.set(e,i),i}function UM(e){return Object.keys(e).length===0}function zM(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Hu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const VM=xo.systemDefaultTheme=(0,$M.default)(),qM=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Nu({defaultTheme:e,theme:t,themeId:n}){return UM(t)?e:t[n]||t}function GM(e){return e?(t,n)=>n[e]:null}function Uu(e,t){let{ownerState:n}=t,i=(0,Zf.default)(t,BM);const a=typeof e=="function"?e((0,Kn.default)({ownerState:n},i)):e;if(Array.isArray(a))return a.flatMap(u=>Uu(u,(0,Kn.default)({ownerState:n},i)));if(a&&typeof a=="object"&&Array.isArray(a.variants)){const{variants:u=[]}=a;let m=(0,Zf.default)(a,YM);return u.forEach(b=>{let _=!0;typeof b.props=="function"?_=b.props((0,Kn.default)({ownerState:n},i,n)):Object.keys(b.props).forEach(E=>{(n==null?void 0:n[E])!==b.props[E]&&i[E]!==b.props[E]&&(_=!1)}),_&&(Array.isArray(m)||(m=[m]),m.push(typeof b.style=="function"?b.style((0,Kn.default)({ownerState:n},i,n)):b.style))}),m}return a}function KM(e={}){const{themeId:t,defaultTheme:n=VM,rootShouldForwardProp:i=Hu,slotShouldForwardProp:a=Hu}=e,u=f=>(0,jM.default)((0,Kn.default)({},f,{theme:Nu((0,Kn.default)({},f,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(f,m={})=>{(0,Dg.internal_processStyles)(f,ne=>ne.filter(ie=>!(ie!=null&&ie.__mui_systemSx)));const{name:b,slot:_,skipVariantsResolver:E,skipSx:O,overridesResolver:M=GM(qM(_))}=m,z=(0,Zf.default)(m,WM),B=E!==void 0?E:_&&_!=="Root"&&_!=="root"||!1,$=O||!1;let Z,W=Hu;_==="Root"||_==="root"?W=i:_?W=a:zM(f)&&(W=void 0);const se=(0,Dg.default)(f,(0,Kn.default)({shouldForwardProp:W,label:Z},z)),pe=ne=>typeof ne=="function"&&ne.__emotion_real!==ne||(0,FM.isPlainObject)(ne)?ie=>Uu(ne,(0,Kn.default)({},ie,{theme:Nu({theme:ie.theme,defaultTheme:n,themeId:t})})):ne,ae=(ne,...ie)=>{let h=pe(ne);const Te=ie?ie.map(pe):[];b&&M&&Te.push(Pe=>{const Xe=Nu((0,Kn.default)({},Pe,{defaultTheme:n,themeId:t}));if(!Xe.components||!Xe.components[b]||!Xe.components[b].styleOverrides)return null;const xe=Xe.components[b].styleOverrides,Ve={};return Object.entries(xe).forEach(([ut,ht])=>{Ve[ut]=Uu(ht,(0,Kn.default)({},Pe,{theme:Xe}))}),M(Pe,Ve)}),b&&!B&&Te.push(Pe=>{var Xe;const xe=Nu((0,Kn.default)({},Pe,{defaultTheme:n,themeId:t})),Ve=xe==null||(Xe=xe.components)==null||(Xe=Xe[b])==null?void 0:Xe.variants;return Uu({variants:Ve},(0,Kn.default)({},Pe,{theme:xe}))}),$||Te.push(u);const ce=Te.length-ie.length;if(Array.isArray(ne)&&ce>0){const Pe=new Array(ce).fill("");h=[...ne,...Pe],h.raw=[...ne.raw,...Pe]}const et=se(h,...Te);return f.muiName&&(et.muiName=f.muiName),et};return se.withConfig&&(ae.withConfig=se.withConfig),ae}}const q0=e=>LM(e)&&e!=="classes",ZM=NM({themeId:n0,defaultTheme:z0,rootShouldForwardProp:q0}),Wr=ZM,Eg=D.React$1.createContext(null);function XM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gd(e,t){var n=function(u){return t&&D.reactExports.isValidElement(u)?t(u):u},i=Object.create(null);return e&&D.reactExports.Children.map(e,function(a){return a}).forEach(function(a){i[a.key]=n(a)}),i}function JM(e,t){e=e||{},t=t||{};function n(E){return E in t?t[E]:e[E]}var i=Object.create(null),a=[];for(var u in e)u in t?a.length&&(i[u]=a,a=[]):a.push(u);var f,m={};for(var b in t){if(i[b])for(f=0;f<i[b].length;f++){var _=i[b][f];m[i[b][f]]=n(_)}m[b]=n(b)}for(f=0;f<a.length;f++)m[a[f]]=n(a[f]);return m}function os(e,t,n){return n[t]!=null?n[t]:e.props[t]}function QM(e,t){return Gd(e.children,function(n){return D.reactExports.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:os(n,"appear",e),enter:os(n,"enter",e),exit:os(n,"exit",e)})})}function eI(e,t,n){var i=Gd(e.children),a=JM(t,i);return Object.keys(a).forEach(function(u){var f=a[u];if(D.reactExports.isValidElement(f)){var m=u in t,b=u in i,_=t[u],E=D.reactExports.isValidElement(_)&&!_.props.in;b&&(!m||E)?a[u]=D.reactExports.cloneElement(f,{onExited:n.bind(null,f),in:!0,exit:os(f,"exit",e),enter:os(f,"enter",e)}):!b&&m&&!E?a[u]=D.reactExports.cloneElement(f,{in:!1}):b&&m&&D.reactExports.isValidElement(_)&&(a[u]=D.reactExports.cloneElement(f,{onExited:n.bind(null,f),in:_.props.in,exit:os(f,"exit",e),enter:os(f,"enter",e)}))}}),a}var tI=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},nI={component:"div",childFactory:function(t){return t}},Kd=function(e){D._inheritsLoose(t,e);function t(i,a){var u;u=e.call(this,i,a)||this;var f=u.handleExited.bind(XM(u));return u.state={contextValue:{isMounting:!0},handleExited:f,firstRender:!0},u}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(a,u){var f=u.children,m=u.handleExited,b=u.firstRender;return{children:b?QM(a,m):eI(a,f,m),firstRender:!1}},n.handleExited=function(a,u){var f=Gd(this.props.children);a.key in f||(a.props.onExited&&a.props.onExited(u),this.mounted&&this.setState(function(m){var b=D._extends({},m.children);return delete b[a.key],{children:b}}))},n.render=function(){var a=this.props,u=a.component,f=a.childFactory,m=D._objectWithoutPropertiesLoose(a,["component","childFactory"]),b=this.state.contextValue,_=tI(this.state.children).map(f);return delete m.appear,delete m.enter,delete m.exit,u===null?D.React$1.createElement(Eg.Provider,{value:b},_):D.React$1.createElement(Eg.Provider,{value:b},D.React$1.createElement(u,m,_))},t}(D.React$1.Component);Kd.propTypes={};Kd.defaultProps=nI;const rI=Kd;function iI(e){const{className:t,classes:n,pulsate:i=!1,rippleX:a,rippleY:u,rippleSize:f,in:m,onExited:b,timeout:_}=e,[E,O]=D.reactExports.useState(!1),M=Zn(t,n.ripple,n.rippleVisible,i&&n.ripplePulsate),z={width:f,height:f,top:-(f/2)+u,left:-(f/2)+a},B=Zn(n.child,E&&n.childLeaving,i&&n.childPulsate);return!m&&!E&&O(!0),D.reactExports.useEffect(()=>{if(!m&&b!=null){const $=setTimeout(b,_);return()=>{clearTimeout($)}}},[b,m,_]),D.jsxRuntimeExports.jsx("span",{className:M,style:z,children:D.jsxRuntimeExports.jsx("span",{className:B})})}const sI=$l("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Xn=sI,aI=["center","classes","className"];let Xl=e=>e,Tg,Mg,Ig,Ag;const Xf=550,oI=80,uI=Il(Tg||(Tg=Xl`
|
|
31
|
+
*/var Wd=Symbol.for("react.element"),Hd=Symbol.for("react.portal"),jl=Symbol.for("react.fragment"),Bl=Symbol.for("react.strict_mode"),Yl=Symbol.for("react.profiler"),Wl=Symbol.for("react.provider"),Hl=Symbol.for("react.context"),m2=Symbol.for("react.server_context"),Ul=Symbol.for("react.forward_ref"),zl=Symbol.for("react.suspense"),ql=Symbol.for("react.suspense_list"),Vl=Symbol.for("react.memo"),Gl=Symbol.for("react.lazy"),y2=Symbol.for("react.offscreen"),O0;O0=Symbol.for("react.module.reference");function ir(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Wd:switch(e=e.type,e){case jl:case Yl:case Bl:case zl:case ql:return e;default:switch(e=e&&e.$$typeof,e){case m2:case Hl:case Ul:case Gl:case Vl:case Wl:return e;default:return t}}case Hd:return t}}}st.ContextConsumer=Hl;st.ContextProvider=Wl;st.Element=Wd;st.ForwardRef=Ul;st.Fragment=jl;st.Lazy=Gl;st.Memo=Vl;st.Portal=Hd;st.Profiler=Yl;st.StrictMode=Bl;st.Suspense=zl;st.SuspenseList=ql;st.isAsyncMode=function(){return!1};st.isConcurrentMode=function(){return!1};st.isContextConsumer=function(e){return ir(e)===Hl};st.isContextProvider=function(e){return ir(e)===Wl};st.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Wd};st.isForwardRef=function(e){return ir(e)===Ul};st.isFragment=function(e){return ir(e)===jl};st.isLazy=function(e){return ir(e)===Gl};st.isMemo=function(e){return ir(e)===Vl};st.isPortal=function(e){return ir(e)===Hd};st.isProfiler=function(e){return ir(e)===Yl};st.isStrictMode=function(e){return ir(e)===Bl};st.isSuspense=function(e){return ir(e)===zl};st.isSuspenseList=function(e){return ir(e)===ql};st.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===jl||e===Yl||e===Bl||e===zl||e===ql||e===y2||typeof e=="object"&&e!==null&&(e.$$typeof===Gl||e.$$typeof===Vl||e.$$typeof===Wl||e.$$typeof===Hl||e.$$typeof===Ul||e.$$typeof===O0||e.getModuleId!==void 0)};st.typeOf=ir;R0.exports=st;var mg=R0.exports;const v2=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function P0(e){const t=`${e}`.match(v2);return t&&t[1]||""}function N0(e,t=""){return e.displayName||e.name||P0(e)||t}function yg(e,t,n){const i=N0(t);return e.displayName||(i!==""?`${n}(${i})`:n)}function b2(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return N0(e,"Component");if(typeof e=="object")switch(e.$$typeof){case mg.ForwardRef:return yg(e,e.render,"ForwardRef");case mg.Memo:return yg(e,e.type,"memo");default:return}}}const x2=Object.freeze(Object.defineProperty({__proto__:null,default:b2,getFunctionName:P0},Symbol.toStringTag,{value:"Module"}));function L0(e,t){const n=D._extends({},t);return Object.keys(e).forEach(i=>{if(i.toString().match(/^(components|slots)$/))n[i]=D._extends({},e[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const a=e[i]||{},u=t[i];n[i]={},!u||!Object.keys(u)?n[i]=a:!a||!Object.keys(a)?n[i]=u:(n[i]=D._extends({},u),Object.keys(a).forEach(f=>{n[i][f]=L0(a[f],u[f])}))}else n[i]===void 0&&(n[i]=e[i])}),n}function w2(e){const{theme:t,name:n,props:i}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?i:L0(t.components[n].defaultProps,i)}function _2({props:e,name:t,defaultTheme:n,themeId:i}){let a=o2(n);return i&&(a=a[i]||a),w2({theme:a,name:t,props:e})}const S2=typeof window<"u"?D.reactExports.useLayoutEffect:D.reactExports.useEffect,k2=S2;function C2(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const D2=Object.freeze(Object.defineProperty({__proto__:null,default:C2},Symbol.toStringTag,{value:"Module"}));function E2(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function T2({controlled:e,default:t,name:n,state:i="value"}){const{current:a}=D.reactExports.useRef(e!==void 0),[u,f]=D.reactExports.useState(t),m=a?e:u,b=D.reactExports.useCallback(_=>{a||f(_)},[]);return[m,b]}function Nu(e){const t=D.reactExports.useRef(e);return k2(()=>{t.current=e}),D.reactExports.useRef((...n)=>(0,t.current)(...n)).current}function vg(...e){return D.reactExports.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{E2(n,t)})},e)}const bg={};function M2(e,t){const n=D.reactExports.useRef(bg);return n.current===bg&&(n.current=e(t)),n}const I2=[];function A2(e){D.reactExports.useEffect(e,I2)}class Kl{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Kl}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function R2(){const e=M2(Kl.create).current;return A2(e.disposeEffect),e}let Zl=!0,Zf=!1;const O2=new Kl,P2={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function N2(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&P2[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function L2(e){e.metaKey||e.altKey||e.ctrlKey||(Zl=!0)}function Cf(){Zl=!1}function F2(){this.visibilityState==="hidden"&&Zf&&(Zl=!0)}function $2(e){e.addEventListener("keydown",L2,!0),e.addEventListener("mousedown",Cf,!0),e.addEventListener("pointerdown",Cf,!0),e.addEventListener("touchstart",Cf,!0),e.addEventListener("visibilitychange",F2,!0)}function j2(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Zl||N2(t)}function B2(){const e=D.reactExports.useCallback(a=>{a!=null&&$2(a.ownerDocument)},[]),t=D.reactExports.useRef(!1);function n(){return t.current?(Zf=!0,O2.start(100,()=>{Zf=!1}),t.current=!1,!0):!1}function i(a){return j2(a)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:i,onBlur:n,ref:e}}function Ud(e,t,n=void 0){const i={};return Object.keys(e).forEach(a=>{i[a]=e[a].reduce((u,f)=>{if(f){const m=t(f);m!==""&&u.push(m),n&&n[f]&&u.push(n[f])}return u},[]).join(" ")}),i}function uo(e){"@babel/helpers - typeof";return uo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},uo(e)}function Y2(e,t){if(uo(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(uo(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function W2(e){var t=Y2(e,"string");return uo(t)=="symbol"?t:String(t)}function H2(e,t){return D._extends({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Tt={},F0={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(F0);var $0=F0.exports;const U2=D.getAugmentedNamespace(tE),z2=D.getAugmentedNamespace(D2);var j0=$0;Object.defineProperty(Tt,"__esModule",{value:!0});var xg=Tt.alpha=z0;Tt.blend=nM;Tt.colorChannel=void 0;var B0=Tt.darken=qd;Tt.decomposeColor=er;Tt.emphasize=tM;var q2=Tt.getContrastRatio=X2;Tt.getLuminance=Qu;Tt.hexToRgb=W0;Tt.hslToRgb=U0;var Y0=Tt.lighten=Vd;Tt.private_safeAlpha=J2;Tt.private_safeColorChannel=void 0;Tt.private_safeDarken=Q2;Tt.private_safeEmphasize=q0;Tt.private_safeLighten=eM;Tt.recomposeColor=na;Tt.rgbToHex=Z2;var wg=j0(U2),V2=j0(z2);function zd(e,t=0,n=1){return(0,V2.default)(e,t,n)}function W0(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(i=>i+i)),n?`rgb${n.length===4?"a":""}(${n.map((i,a)=>a<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function G2(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function er(e){if(e.type)return e;if(e.charAt(0)==="#")return er(W0(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,wg.default)(9,e));let i=e.substring(t+1,e.length-1),a;if(n==="color"){if(i=i.split(" "),a=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(a)===-1)throw new Error((0,wg.default)(10,a))}else i=i.split(",");return i=i.map(u=>parseFloat(u)),{type:n,values:i,colorSpace:a}}const H0=e=>{const t=er(e);return t.values.slice(0,3).map((n,i)=>t.type.indexOf("hsl")!==-1&&i!==0?`${n}%`:n).join(" ")};Tt.colorChannel=H0;const K2=(e,t)=>{try{return H0(e)}catch{return e}};Tt.private_safeColorChannel=K2;function na(e){const{type:t,colorSpace:n}=e;let{values:i}=e;return t.indexOf("rgb")!==-1?i=i.map((a,u)=>u<3?parseInt(a,10):a):t.indexOf("hsl")!==-1&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),t.indexOf("color")!==-1?i=`${n} ${i.join(" ")}`:i=`${i.join(", ")}`,`${t}(${i})`}function Z2(e){if(e.indexOf("#")===0)return e;const{values:t}=er(e);return`#${t.map((n,i)=>G2(i===3?Math.round(255*n):n)).join("")}`}function U0(e){e=er(e);const{values:t}=e,n=t[0],i=t[1]/100,a=t[2]/100,u=i*Math.min(a,1-a),f=(_,E=(_+n/30)%12)=>a-u*Math.max(Math.min(E-3,9-E,1),-1);let m="rgb";const b=[Math.round(f(0)*255),Math.round(f(8)*255),Math.round(f(4)*255)];return e.type==="hsla"&&(m+="a",b.push(t[3])),na({type:m,values:b})}function Qu(e){e=er(e);let t=e.type==="hsl"||e.type==="hsla"?er(U0(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function X2(e,t){const n=Qu(e),i=Qu(t);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)}function z0(e,t){return e=er(e),t=zd(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,na(e)}function J2(e,t,n){try{return z0(e,t)}catch{return e}}function qd(e,t){if(e=er(e),t=zd(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return na(e)}function Q2(e,t,n){try{return qd(e,t)}catch{return e}}function Vd(e,t){if(e=er(e),t=zd(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return na(e)}function eM(e,t,n){try{return Vd(e,t)}catch{return e}}function tM(e,t=.15){return Qu(e)>.5?qd(e,t):Vd(e,t)}function q0(e,t,n){try{return q0(e,t)}catch{return e}}function nM(e,t,n,i=1){const a=(b,_)=>Math.round((b**(1/i)*(1-n)+_**(1/i)*n)**i),u=er(e),f=er(t),m=[a(u.values[0],f.values[0]),a(u.values[1],f.values[1]),a(u.values[2],f.values[2])];return na({type:"rgb",values:m})}const rM=["mode","contrastThreshold","tonalOffset"],_g={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:ro.white,default:ro.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Df={text:{primary:ro.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:ro.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Sg(e,t,n,i){const a=i.light||i,u=i.dark||i*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Y0(e.main,a):t==="dark"&&(e.dark=B0(e.main,u)))}function iM(e="light"){return e==="dark"?{main:js[200],light:js[50],dark:js[400]}:{main:js[700],light:js[400],dark:js[800]}}function sM(e="light"){return e==="dark"?{main:$s[200],light:$s[50],dark:$s[400]}:{main:$s[500],light:$s[300],dark:$s[700]}}function aM(e="light"){return e==="dark"?{main:Fs[500],light:Fs[300],dark:Fs[700]}:{main:Fs[700],light:Fs[400],dark:Fs[800]}}function oM(e="light"){return e==="dark"?{main:Bs[400],light:Bs[300],dark:Bs[700]}:{main:Bs[700],light:Bs[500],dark:Bs[900]}}function uM(e="light"){return e==="dark"?{main:Ys[400],light:Ys[300],dark:Ys[700]}:{main:Ys[800],light:Ys[500],dark:Ys[900]}}function lM(e="light"){return e==="dark"?{main:Ua[400],light:Ua[300],dark:Ua[700]}:{main:"#ed6c02",light:Ua[500],dark:Ua[900]}}function cM(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:i=.2}=e,a=D._objectWithoutPropertiesLoose(e,rM),u=e.primary||iM(t),f=e.secondary||sM(t),m=e.error||aM(t),b=e.info||oM(t),_=e.success||uM(t),E=e.warning||lM(t);function O($){return q2($,Df.text.primary)>=n?Df.text.primary:_g.text.primary}const M=({color:$,name:Z,mainShade:W=500,lightShade:se=300,darkShade:pe=700})=>{if($=D._extends({},$),!$.main&&$[W]&&($.main=$[W]),!$.hasOwnProperty("main"))throw new Error(io(11,Z?` (${Z})`:"",W));if(typeof $.main!="string")throw new Error(io(12,Z?` (${Z})`:"",JSON.stringify($.main)));return Sg($,"light",se,i),Sg($,"dark",pe,i),$.contrastText||($.contrastText=O($.main)),$},z={dark:Df,light:_g};return Fr(D._extends({common:D._extends({},ro),mode:t,primary:M({color:u,name:"primary"}),secondary:M({color:f,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:M({color:m,name:"error"}),warning:M({color:E,name:"warning"}),info:M({color:b,name:"info"}),success:M({color:_,name:"success"}),grey:eE,contrastThreshold:n,getContrastText:O,augmentColor:M,tonalOffset:i},z[t]),a)}const fM=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function dM(e){return Math.round(e*1e5)/1e5}const kg={textTransform:"uppercase"},Cg='"Roboto", "Helvetica", "Arial", sans-serif';function hM(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:i=Cg,fontSize:a=14,fontWeightLight:u=300,fontWeightRegular:f=400,fontWeightMedium:m=500,fontWeightBold:b=700,htmlFontSize:_=16,allVariants:E,pxToRem:O}=n,M=D._objectWithoutPropertiesLoose(n,fM),z=a/14,B=O||(W=>`${W/_*z}rem`),$=(W,se,pe,ae,ne)=>D._extends({fontFamily:i,fontWeight:W,fontSize:B(se),lineHeight:pe},i===Cg?{letterSpacing:`${dM(ae/se)}em`}:{},ne,E),Z={h1:$(u,96,1.167,-1.5),h2:$(u,60,1.2,-.5),h3:$(f,48,1.167,0),h4:$(f,34,1.235,.25),h5:$(f,24,1.334,0),h6:$(m,20,1.6,.15),subtitle1:$(f,16,1.75,.15),subtitle2:$(m,14,1.57,.1),body1:$(f,16,1.5,.15),body2:$(f,14,1.43,.15),button:$(m,14,1.75,.4,kg),caption:$(f,12,1.66,.4),overline:$(f,12,2.66,1,kg),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Fr(D._extends({htmlFontSize:_,pxToRem:B,fontFamily:i,fontSize:a,fontWeightLight:u,fontWeightRegular:f,fontWeightMedium:m,fontWeightBold:b},Z),M,{clone:!1})}const pM=.2,gM=.14,mM=.12;function pt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${pM})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${gM})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${mM})`].join(",")}const yM=["none",pt(0,2,1,-1,0,1,1,0,0,1,3,0),pt(0,3,1,-2,0,2,2,0,0,1,5,0),pt(0,3,3,-2,0,3,4,0,0,1,8,0),pt(0,2,4,-1,0,4,5,0,0,1,10,0),pt(0,3,5,-1,0,5,8,0,0,1,14,0),pt(0,3,5,-1,0,6,10,0,0,1,18,0),pt(0,4,5,-2,0,7,10,1,0,2,16,1),pt(0,5,5,-3,0,8,10,1,0,3,14,2),pt(0,5,6,-3,0,9,12,1,0,3,16,2),pt(0,6,6,-3,0,10,14,1,0,4,18,3),pt(0,6,7,-4,0,11,15,1,0,4,20,3),pt(0,7,8,-4,0,12,17,2,0,5,22,4),pt(0,7,8,-4,0,13,19,2,0,5,24,4),pt(0,7,9,-4,0,14,21,2,0,5,26,4),pt(0,8,9,-5,0,15,22,2,0,6,28,5),pt(0,8,10,-5,0,16,24,2,0,6,30,5),pt(0,8,11,-5,0,17,26,2,0,6,32,5),pt(0,9,11,-5,0,18,28,2,0,7,34,6),pt(0,9,12,-6,0,19,29,2,0,7,36,6),pt(0,10,13,-6,0,20,31,3,0,8,38,7),pt(0,10,13,-6,0,21,33,3,0,8,40,7),pt(0,10,14,-6,0,22,35,3,0,8,42,7),pt(0,11,14,-7,0,23,36,3,0,9,44,8),pt(0,11,15,-7,0,24,38,3,0,9,46,8)],vM=yM,bM=["duration","easing","delay"],xM={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)"},wM={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Dg(e){return`${Math.round(e)}ms`}function _M(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function SM(e){const t=D._extends({},xM,e.easing),n=D._extends({},wM,e.duration),i=(a=["all"],u={})=>{const{duration:f=n.standard,easing:m=t.easeInOut,delay:b=0}=u;return D._objectWithoutPropertiesLoose(u,bM),(Array.isArray(a)?a:[a]).map(_=>`${_} ${typeof f=="string"?f:Dg(f)} ${m} ${typeof b=="string"?b:Dg(b)}`).join(",")};return D._extends({getAutoHeightDuration:_M,create:i},e,{easing:t,duration:n})}const kM={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},CM=kM,DM=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function EM(e={},...t){const{mixins:n={},palette:i={},transitions:a={},typography:u={}}=e,f=D._objectWithoutPropertiesLoose(e,DM);if(e.vars)throw new Error(io(18));const m=cM(i),b=Yd(e);let _=Fr(b,{mixins:H2(b.breakpoints,n),palette:m,shadows:vM.slice(),typography:hM(m,u),transitions:SM(a),zIndex:D._extends({},CM)});return _=Fr(_,f),_=t.reduce((E,O)=>Fr(E,O),_),_.unstable_sxConfig=D._extends({},xo,f==null?void 0:f.unstable_sxConfig),_.unstable_sx=function(O){return Bd({sx:O,theme:this})},_}const TM=EM(),V0=TM;function Gd({props:e,name:t}){return _2({props:e,name:t,defaultTheme:V0,themeId:i0})}var wo={};const MM=D.getAugmentedNamespace(D._extends$1),IM=D.getAugmentedNamespace(D.objectWithoutPropertiesLoose),AM=D.getAugmentedNamespace(oT),RM=D.getAugmentedNamespace(uT),OM=D.getAugmentedNamespace(gT),PM=D.getAugmentedNamespace(x2),NM=D.getAugmentedNamespace(r2),LM=D.getAugmentedNamespace(f2);var ra=$0;Object.defineProperty(wo,"__esModule",{value:!0});var FM=wo.default=XM,$M=wo.shouldForwardProp=Uu;wo.systemDefaultTheme=void 0;var Kn=ra(MM),Xf=ra(IM),Eg=zM(AM),jM=RM;ra(OM);ra(PM);var BM=ra(NM),YM=ra(LM);const WM=["ownerState"],HM=["variants"],UM=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function G0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(G0=function(i){return i?n:t})(e)}function zM(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=G0(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)){var f=a?Object.getOwnPropertyDescriptor(e,u):null;f&&(f.get||f.set)?Object.defineProperty(i,u,f):i[u]=e[u]}return i.default=e,n&&n.set(e,i),i}function qM(e){return Object.keys(e).length===0}function VM(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Uu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const GM=wo.systemDefaultTheme=(0,BM.default)(),KM=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Lu({defaultTheme:e,theme:t,themeId:n}){return qM(t)?e:t[n]||t}function ZM(e){return e?(t,n)=>n[e]:null}function zu(e,t){let{ownerState:n}=t,i=(0,Xf.default)(t,WM);const a=typeof e=="function"?e((0,Kn.default)({ownerState:n},i)):e;if(Array.isArray(a))return a.flatMap(u=>zu(u,(0,Kn.default)({ownerState:n},i)));if(a&&typeof a=="object"&&Array.isArray(a.variants)){const{variants:u=[]}=a;let m=(0,Xf.default)(a,HM);return u.forEach(b=>{let _=!0;typeof b.props=="function"?_=b.props((0,Kn.default)({ownerState:n},i,n)):Object.keys(b.props).forEach(E=>{(n==null?void 0:n[E])!==b.props[E]&&i[E]!==b.props[E]&&(_=!1)}),_&&(Array.isArray(m)||(m=[m]),m.push(typeof b.style=="function"?b.style((0,Kn.default)({ownerState:n},i,n)):b.style))}),m}return a}function XM(e={}){const{themeId:t,defaultTheme:n=GM,rootShouldForwardProp:i=Uu,slotShouldForwardProp:a=Uu}=e,u=f=>(0,YM.default)((0,Kn.default)({},f,{theme:Lu((0,Kn.default)({},f,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(f,m={})=>{(0,Eg.internal_processStyles)(f,ne=>ne.filter(ie=>!(ie!=null&&ie.__mui_systemSx)));const{name:b,slot:_,skipVariantsResolver:E,skipSx:O,overridesResolver:M=ZM(KM(_))}=m,z=(0,Xf.default)(m,UM),B=E!==void 0?E:_&&_!=="Root"&&_!=="root"||!1,$=O||!1;let Z,W=Uu;_==="Root"||_==="root"?W=i:_?W=a:VM(f)&&(W=void 0);const se=(0,Eg.default)(f,(0,Kn.default)({shouldForwardProp:W,label:Z},z)),pe=ne=>typeof ne=="function"&&ne.__emotion_real!==ne||(0,jM.isPlainObject)(ne)?ie=>zu(ne,(0,Kn.default)({},ie,{theme:Lu({theme:ie.theme,defaultTheme:n,themeId:t})})):ne,ae=(ne,...ie)=>{let h=pe(ne);const Te=ie?ie.map(pe):[];b&&M&&Te.push(Pe=>{const Xe=Lu((0,Kn.default)({},Pe,{defaultTheme:n,themeId:t}));if(!Xe.components||!Xe.components[b]||!Xe.components[b].styleOverrides)return null;const xe=Xe.components[b].styleOverrides,qe={};return Object.entries(xe).forEach(([ut,ht])=>{qe[ut]=zu(ht,(0,Kn.default)({},Pe,{theme:Xe}))}),M(Pe,qe)}),b&&!B&&Te.push(Pe=>{var Xe;const xe=Lu((0,Kn.default)({},Pe,{defaultTheme:n,themeId:t})),qe=xe==null||(Xe=xe.components)==null||(Xe=Xe[b])==null?void 0:Xe.variants;return zu({variants:qe},(0,Kn.default)({},Pe,{theme:xe}))}),$||Te.push(u);const ce=Te.length-ie.length;if(Array.isArray(ne)&&ce>0){const Pe=new Array(ce).fill("");h=[...ne,...Pe],h.raw=[...ne.raw,...Pe]}const et=se(h,...Te);return f.muiName&&(et.muiName=f.muiName),et};return se.withConfig&&(ae.withConfig=se.withConfig),ae}}const K0=e=>$M(e)&&e!=="classes",JM=FM({themeId:i0,defaultTheme:V0,rootShouldForwardProp:K0}),Wr=JM,Tg=D.React$1.createContext(null);function QM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kd(e,t){var n=function(u){return t&&D.reactExports.isValidElement(u)?t(u):u},i=Object.create(null);return e&&D.reactExports.Children.map(e,function(a){return a}).forEach(function(a){i[a.key]=n(a)}),i}function eI(e,t){e=e||{},t=t||{};function n(E){return E in t?t[E]:e[E]}var i=Object.create(null),a=[];for(var u in e)u in t?a.length&&(i[u]=a,a=[]):a.push(u);var f,m={};for(var b in t){if(i[b])for(f=0;f<i[b].length;f++){var _=i[b][f];m[i[b][f]]=n(_)}m[b]=n(b)}for(f=0;f<a.length;f++)m[a[f]]=n(a[f]);return m}function os(e,t,n){return n[t]!=null?n[t]:e.props[t]}function tI(e,t){return Kd(e.children,function(n){return D.reactExports.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:os(n,"appear",e),enter:os(n,"enter",e),exit:os(n,"exit",e)})})}function nI(e,t,n){var i=Kd(e.children),a=eI(t,i);return Object.keys(a).forEach(function(u){var f=a[u];if(D.reactExports.isValidElement(f)){var m=u in t,b=u in i,_=t[u],E=D.reactExports.isValidElement(_)&&!_.props.in;b&&(!m||E)?a[u]=D.reactExports.cloneElement(f,{onExited:n.bind(null,f),in:!0,exit:os(f,"exit",e),enter:os(f,"enter",e)}):!b&&m&&!E?a[u]=D.reactExports.cloneElement(f,{in:!1}):b&&m&&D.reactExports.isValidElement(_)&&(a[u]=D.reactExports.cloneElement(f,{onExited:n.bind(null,f),in:_.props.in,exit:os(f,"exit",e),enter:os(f,"enter",e)}))}}),a}var rI=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},iI={component:"div",childFactory:function(t){return t}},Zd=function(e){D._inheritsLoose(t,e);function t(i,a){var u;u=e.call(this,i,a)||this;var f=u.handleExited.bind(QM(u));return u.state={contextValue:{isMounting:!0},handleExited:f,firstRender:!0},u}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(a,u){var f=u.children,m=u.handleExited,b=u.firstRender;return{children:b?tI(a,m):nI(a,f,m),firstRender:!1}},n.handleExited=function(a,u){var f=Kd(this.props.children);a.key in f||(a.props.onExited&&a.props.onExited(u),this.mounted&&this.setState(function(m){var b=D._extends({},m.children);return delete b[a.key],{children:b}}))},n.render=function(){var a=this.props,u=a.component,f=a.childFactory,m=D._objectWithoutPropertiesLoose(a,["component","childFactory"]),b=this.state.contextValue,_=rI(this.state.children).map(f);return delete m.appear,delete m.enter,delete m.exit,u===null?D.React$1.createElement(Tg.Provider,{value:b},_):D.React$1.createElement(Tg.Provider,{value:b},D.React$1.createElement(u,m,_))},t}(D.React$1.Component);Zd.propTypes={};Zd.defaultProps=iI;const sI=Zd;function aI(e){const{className:t,classes:n,pulsate:i=!1,rippleX:a,rippleY:u,rippleSize:f,in:m,onExited:b,timeout:_}=e,[E,O]=D.reactExports.useState(!1),M=Zn(t,n.ripple,n.rippleVisible,i&&n.ripplePulsate),z={width:f,height:f,top:-(f/2)+u,left:-(f/2)+a},B=Zn(n.child,E&&n.childLeaving,i&&n.childPulsate);return!m&&!E&&O(!0),D.reactExports.useEffect(()=>{if(!m&&b!=null){const $=setTimeout(b,_);return()=>{clearTimeout($)}}},[b,m,_]),D.jsxRuntimeExports.jsx("span",{className:M,style:z,children:D.jsxRuntimeExports.jsx("span",{className:B})})}const oI=$l("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Xn=oI,uI=["center","classes","className"];let Xl=e=>e,Mg,Ig,Ag,Rg;const Jf=550,lI=80,cI=Il(Mg||(Mg=Xl`
|
|
32
32
|
0% {
|
|
33
33
|
transform: scale(0);
|
|
34
34
|
opacity: 0.1;
|
|
@@ -38,7 +38,7 @@ ue.version="2.30.1";W_(ft);ue.fn=re;ue.min=Ik;ue.max=Ak;ue.now=Rk;ue.utc=Br;ue.u
|
|
|
38
38
|
transform: scale(1);
|
|
39
39
|
opacity: 0.3;
|
|
40
40
|
}
|
|
41
|
-
`)),
|
|
41
|
+
`)),fI=Il(Ig||(Ig=Xl`
|
|
42
42
|
0% {
|
|
43
43
|
opacity: 1;
|
|
44
44
|
}
|
|
@@ -46,7 +46,7 @@ ue.version="2.30.1";W_(ft);ue.fn=re;ue.min=Ik;ue.max=Ak;ue.now=Rk;ue.utc=Br;ue.u
|
|
|
46
46
|
100% {
|
|
47
47
|
opacity: 0;
|
|
48
48
|
}
|
|
49
|
-
`)),
|
|
49
|
+
`)),dI=Il(Ag||(Ag=Xl`
|
|
50
50
|
0% {
|
|
51
51
|
transform: scale(1);
|
|
52
52
|
}
|
|
@@ -58,7 +58,7 @@ ue.version="2.30.1";W_(ft);ue.fn=re;ue.min=Ik;ue.max=Ak;ue.now=Rk;ue.utc=Br;ue.u
|
|
|
58
58
|
100% {
|
|
59
59
|
transform: scale(1);
|
|
60
60
|
}
|
|
61
|
-
`)),
|
|
61
|
+
`)),hI=Wr("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),pI=Wr(aI,{name:"MuiTouchRipple",slot:"Ripple"})(Rg||(Rg=Xl`
|
|
62
62
|
opacity: 0;
|
|
63
63
|
position: absolute;
|
|
64
64
|
|
|
@@ -101,16 +101,16 @@ ue.version="2.30.1";W_(ft);ue.fn=re;ue.min=Ik;ue.max=Ak;ue.now=Rk;ue.utc=Br;ue.u
|
|
|
101
101
|
animation-iteration-count: infinite;
|
|
102
102
|
animation-delay: 200ms;
|
|
103
103
|
}
|
|
104
|
-
`),Xn.rippleVisible,uI,Xf,({theme:e})=>e.transitions.easing.easeInOut,Xn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Xn.child,Xn.childLeaving,lI,Xf,({theme:e})=>e.transitions.easing.easeInOut,Xn.childPulsate,cI,({theme:e})=>e.transitions.easing.easeInOut),hI=D.reactExports.forwardRef(function(t,n){const i=qd({props:t,name:"MuiTouchRipple"}),{center:a=!1,classes:u={},className:f}=i,m=D._objectWithoutPropertiesLoose(i,aI),[b,_]=D.reactExports.useState([]),E=D.reactExports.useRef(0),O=D.reactExports.useRef(null);D.reactExports.useEffect(()=>{O.current&&(O.current(),O.current=null)},[b]);const M=D.reactExports.useRef(!1),z=I2(),B=D.reactExports.useRef(null),$=D.reactExports.useRef(null),Z=D.reactExports.useCallback(ae=>{const{pulsate:ne,rippleX:ie,rippleY:h,rippleSize:Te,cb:ce}=ae;_(et=>[...et,D.jsxRuntimeExports.jsx(dI,{classes:{ripple:Zn(u.ripple,Xn.ripple),rippleVisible:Zn(u.rippleVisible,Xn.rippleVisible),ripplePulsate:Zn(u.ripplePulsate,Xn.ripplePulsate),child:Zn(u.child,Xn.child),childLeaving:Zn(u.childLeaving,Xn.childLeaving),childPulsate:Zn(u.childPulsate,Xn.childPulsate)},timeout:Xf,pulsate:ne,rippleX:ie,rippleY:h,rippleSize:Te},E.current)]),E.current+=1,O.current=ce},[u]),W=D.reactExports.useCallback((ae={},ne={},ie=()=>{})=>{const{pulsate:h=!1,center:Te=a||ne.pulsate,fakeElement:ce=!1}=ne;if((ae==null?void 0:ae.type)==="mousedown"&&M.current){M.current=!1;return}(ae==null?void 0:ae.type)==="touchstart"&&(M.current=!0);const et=ce?null:$.current,Pe=et?et.getBoundingClientRect():{width:0,height:0,left:0,top:0};let Xe,xe,Ve;if(Te||ae===void 0||ae.clientX===0&&ae.clientY===0||!ae.clientX&&!ae.touches)Xe=Math.round(Pe.width/2),xe=Math.round(Pe.height/2);else{const{clientX:ut,clientY:ht}=ae.touches&&ae.touches.length>0?ae.touches[0]:ae;Xe=Math.round(ut-Pe.left),xe=Math.round(ht-Pe.top)}if(Te)Ve=Math.sqrt((2*Pe.width**2+Pe.height**2)/3),Ve%2===0&&(Ve+=1);else{const ut=Math.max(Math.abs((et?et.clientWidth:0)-Xe),Xe)*2+2,ht=Math.max(Math.abs((et?et.clientHeight:0)-xe),xe)*2+2;Ve=Math.sqrt(ut**2+ht**2)}ae!=null&&ae.touches?B.current===null&&(B.current=()=>{Z({pulsate:h,rippleX:Xe,rippleY:xe,rippleSize:Ve,cb:ie})},z.start(oI,()=>{B.current&&(B.current(),B.current=null)})):Z({pulsate:h,rippleX:Xe,rippleY:xe,rippleSize:Ve,cb:ie})},[a,Z,z]),se=D.reactExports.useCallback(()=>{W({},{pulsate:!0})},[W]),pe=D.reactExports.useCallback((ae,ne)=>{if(z.clear(),(ae==null?void 0:ae.type)==="touchend"&&B.current){B.current(),B.current=null,z.start(0,()=>{pe(ae,ne)});return}B.current=null,_(ie=>ie.length>0?ie.slice(1):ie),O.current=ne},[z]);return D.reactExports.useImperativeHandle(n,()=>({pulsate:se,start:W,stop:pe}),[se,W,pe]),D.jsxRuntimeExports.jsx(fI,D._extends({className:Zn(Xn.root,u.root,f),ref:$},m,{children:D.jsxRuntimeExports.jsx(rI,{component:null,exit:!0,children:b})}))}),pI=hI;function gI(e){return Fl("MuiButtonBase",e)}const mI=$l("MuiButtonBase",["root","disabled","focusVisible"]),yI=mI,vI=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],bI=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:i,classes:a}=e,f=Hd({root:["root",t&&"disabled",n&&"focusVisible"]},gI,a);return n&&i&&(f.root+=` ${i}`),f},xI=Wr("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${yI.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),wI=D.reactExports.forwardRef(function(t,n){const i=qd({props:t,name:"MuiButtonBase"}),{action:a,centerRipple:u=!1,children:f,className:m,component:b="button",disabled:_=!1,disableRipple:E=!1,disableTouchRipple:O=!1,focusRipple:M=!1,LinkComponent:z="a",onBlur:B,onClick:$,onContextMenu:Z,onDragLeave:W,onFocus:se,onFocusVisible:pe,onKeyDown:ae,onKeyUp:ne,onMouseDown:ie,onMouseLeave:h,onMouseUp:Te,onTouchEnd:ce,onTouchMove:et,onTouchStart:Pe,tabIndex:Xe=0,TouchRippleProps:xe,touchRippleRef:Ve,type:ut}=i,ht=D._objectWithoutPropertiesLoose(i,vI),He=D.reactExports.useRef(null),we=D.reactExports.useRef(null),qe=yg(we,Ve),{isFocusVisibleRef:lt,onFocus:_t,onBlur:St,ref:Fn}=$2(),[Vt,qt]=D.reactExports.useState(!1);_&&Vt&&qt(!1),D.reactExports.useImperativeHandle(a,()=>({focusVisible:()=>{qt(!0),He.current.focus()}}),[]);const[sr,Wi]=D.reactExports.useState(!1);D.reactExports.useEffect(()=>{Wi(!0)},[]);const Hr=sr&&!E&&!_;D.reactExports.useEffect(()=>{Vt&&M&&!E&&sr&&we.current.pulsate()},[E,M,Vt,sr]);function Nt(Ce,Vr,xi=O){return Pu(Bn=>(Vr&&Vr(Bn),!xi&&we.current&&we.current[Ce](Bn),!0))}const cn=Nt("start",ie),bi=Nt("stop",Z),Sn=Nt("stop",W),Ur=Nt("stop",Te),Gt=Nt("stop",Ce=>{Vt&&Ce.preventDefault(),h&&h(Ce)}),zr=Nt("start",Pe),Hi=Nt("stop",ce),Kt=Nt("stop",et),fn=Nt("stop",Ce=>{St(Ce),lt.current===!1&&qt(!1),B&&B(Ce)},!1),sa=Pu(Ce=>{He.current||(He.current=Ce.currentTarget),_t(Ce),lt.current===!0&&(qt(!0),pe&&pe(Ce)),se&&se(Ce)}),ar=()=>{const Ce=He.current;return b&&b!=="button"&&!(Ce.tagName==="A"&&Ce.href)},Yt=D.reactExports.useRef(!1),Lt=Pu(Ce=>{M&&!Yt.current&&Vt&&we.current&&Ce.key===" "&&(Yt.current=!0,we.current.stop(Ce,()=>{we.current.start(Ce)})),Ce.target===Ce.currentTarget&&ar()&&Ce.key===" "&&Ce.preventDefault(),ae&&ae(Ce),Ce.target===Ce.currentTarget&&ar()&&Ce.key==="Enter"&&!_&&(Ce.preventDefault(),$&&$(Ce))}),$n=Pu(Ce=>{M&&Ce.key===" "&&we.current&&Vt&&!Ce.defaultPrevented&&(Yt.current=!1,we.current.stop(Ce,()=>{we.current.pulsate(Ce)})),ne&&ne(Ce),$&&Ce.target===Ce.currentTarget&&ar()&&Ce.key===" "&&!Ce.defaultPrevented&&$(Ce)});let jn=b;jn==="button"&&(ht.href||ht.to)&&(jn=z);const de={};jn==="button"?(de.type=ut===void 0?"button":ut,de.disabled=_):(!ht.href&&!ht.to&&(de.role="button"),_&&(de["aria-disabled"]=_));const Ft=yg(n,Fn,He),br=D._extends({},i,{centerRipple:u,component:b,disabled:_,disableRipple:E,disableTouchRipple:O,focusRipple:M,tabIndex:Xe,focusVisible:Vt}),xr=bI(br);return D.jsxRuntimeExports.jsxs(xI,D._extends({as:jn,className:Zn(xr.root,m),ownerState:br,onBlur:fn,onClick:$,onContextMenu:bi,onFocus:sa,onKeyDown:Lt,onKeyUp:$n,onMouseDown:cn,onMouseLeave:Gt,onMouseUp:Ur,onDragLeave:Sn,onTouchEnd:Hi,onTouchMove:Kt,onTouchStart:zr,ref:Ft,tabIndex:_?-1:Xe,type:ut},de,ht,{children:[f,Hr?D.jsxRuntimeExports.jsx(pI,D._extends({ref:qe,center:u},xe)):null]}))}),_I=wI,SI=D.reactExports.createContext(void 0),kI=SI;function CI(){return D.reactExports.useContext(kI)}function DI(e){return Fl("PrivateSwitchBase",e)}$l("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const EI=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],TI=e=>{const{classes:t,checked:n,disabled:i,edge:a}=e,u={root:["root",n&&"checked",i&&"disabled",a&&`edge${$r(a)}`],input:["input"]};return Hd(u,DI,t)},MI=Wr(_I)(({ownerState:e})=>D._extends({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),II=Wr("input",{shouldForwardProp:q0})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),AI=D.reactExports.forwardRef(function(t,n){const{autoFocus:i,checked:a,checkedIcon:u,className:f,defaultChecked:m,disabled:b,disableFocusRipple:_=!1,edge:E=!1,icon:O,id:M,inputProps:z,inputRef:B,name:$,onBlur:Z,onChange:W,onFocus:se,readOnly:pe,required:ae=!1,tabIndex:ne,type:ie,value:h}=t,Te=D._objectWithoutPropertiesLoose(t,EI),[ce,et]=D2({controlled:a,default:!!m,name:"SwitchBase",state:"checked"}),Pe=CI(),Xe=qe=>{se&&se(qe),Pe&&Pe.onFocus&&Pe.onFocus(qe)},xe=qe=>{Z&&Z(qe),Pe&&Pe.onBlur&&Pe.onBlur(qe)},Ve=qe=>{if(qe.nativeEvent.defaultPrevented)return;const lt=qe.target.checked;et(lt),W&&W(qe,lt)};let ut=b;Pe&&typeof ut>"u"&&(ut=Pe.disabled);const ht=ie==="checkbox"||ie==="radio",He=D._extends({},t,{checked:ce,disabled:ut,disableFocusRipple:_,edge:E}),we=TI(He);return D.jsxRuntimeExports.jsxs(MI,D._extends({component:"span",className:Zn(we.root,f),centerRipple:!0,focusRipple:!_,disabled:ut,tabIndex:null,role:void 0,onFocus:Xe,onBlur:xe,ownerState:He,ref:n},Te,{children:[D.jsxRuntimeExports.jsx(II,D._extends({autoFocus:i,checked:a,defaultChecked:m,className:we.input,disabled:ut,id:ht?M:void 0,name:$,onChange:Ve,readOnly:pe,ref:B,required:ae,ownerState:He,tabIndex:ne,type:ie},ie==="checkbox"&&h===void 0?{}:{value:h},z)),ce?u:O]}))}),RI=AI;function OI(e){return Fl("MuiSwitch",e)}const PI=$l("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),ln=PI,NI=["className","color","edge","size","sx"],LI=e=>{const{classes:t,edge:n,size:i,color:a,checked:u,disabled:f}=e,m={root:["root",n&&`edge${$r(n)}`,`size${$r(i)}`],switchBase:["switchBase",`color${$r(a)}`,u&&"checked",f&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},b=Hd(m,OI,t);return D._extends({},t,b)},FI=Wr("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${$r(n.edge)}`],t[`size${$r(n.size)}`]]}})(({ownerState:e})=>D._extends({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},e.edge==="start"&&{marginLeft:-8},e.edge==="end"&&{marginRight:-8},e.size==="small"&&{width:40,height:24,padding:7,[`& .${ln.thumb}`]:{width:16,height:16},[`& .${ln.switchBase}`]:{padding:4,[`&.${ln.checked}`]:{transform:"translateX(16px)"}}})),$I=Wr(RI,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${ln.input}`]:t.input},n.color!=="default"&&t[`color${$r(n.color)}`]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${ln.checked}`]:{transform:"translateX(20px)"},[`&.${ln.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${ln.checked} + .${ln.track}`]:{opacity:.5},[`&.${ln.disabled} + .${ln.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${ln.input}`]:{left:"-100%",width:"300%"}}),({theme:e,ownerState:t})=>D._extends({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:bg(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${ln.checked}`]:{color:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:bg(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ln.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t.color}DisabledColor`]:`${e.palette.mode==="light"?j0(e.palette[t.color].main,.62):$0(e.palette[t.color].main,.55)}`}},[`&.${ln.checked} + .${ln.track}`]:{backgroundColor:(e.vars||e).palette[t.color].main}})),jI=Wr("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`})),BI=Wr("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),YI=D.reactExports.forwardRef(function(t,n){const i=qd({props:t,name:"MuiSwitch"}),{className:a,color:u="primary",edge:f=!1,size:m="medium",sx:b}=i,_=D._objectWithoutPropertiesLoose(i,NI),E=D._extends({},i,{color:u,edge:f,size:m}),O=LI(E),M=D.jsxRuntimeExports.jsx(BI,{className:O.thumb,ownerState:E});return D.jsxRuntimeExports.jsxs(FI,{className:Zn(O.root,a),sx:b,ownerState:E,children:[D.jsxRuntimeExports.jsx($I,D._extends({type:"checkbox",icon:M,checkedIcon:M,ref:n,ownerState:E},_,{classes:D._extends({},O,{root:O.switchBase})})),D.jsxRuntimeExports.jsx(jI,{className:O.track,ownerState:E})]})}),WI=YI;const HI={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};let UI=class Jf{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||HI,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return this.forward(n,"log","",!0)}warn(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return this.forward(n,"warn","",!0)}error(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return this.forward(n,"error","")}deprecate(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,i,a){return a&&!this.debug?null:(typeof t[0]=="string"&&(t[0]=`${i}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new Jf(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new Jf(this.logger,t)}};var Nr=new UI;class Jl{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(i=>{this.observers[i]||(this.observers[i]=new Map);const a=this.observers[i].get(n)||0;this.observers[i].set(n,a+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(f=>{let[m,b]=f;for(let _=0;_<b;_++)m(...i)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(f=>{let[m,b]=f;for(let _=0;_<b;_++)m.apply(m,[t,...i])})}}function Va(){let e,t;const n=new Promise((i,a)=>{e=i,t=a});return n.resolve=e,n.reject=t,n}function Rg(e){return e==null?"":""+e}function zI(e,t,n){e.forEach(i=>{t[i]&&(n[i]=t[i])})}const VI=/###/g;function Xa(e,t,n){function i(m){return m&&m.indexOf("###")>-1?m.replace(VI,"."):m}function a(){return!e||typeof e=="string"}const u=typeof t!="string"?t:t.split(".");let f=0;for(;f<u.length-1;){if(a())return{};const m=i(u[f]);!e[m]&&n&&(e[m]=new n),Object.prototype.hasOwnProperty.call(e,m)?e=e[m]:e={},++f}return a()?{}:{obj:e,k:i(u[f])}}function Og(e,t,n){const{obj:i,k:a}=Xa(e,t,Object);if(i!==void 0||t.length===1){i[a]=n;return}let u=t[t.length-1],f=t.slice(0,t.length-1),m=Xa(e,f,Object);for(;m.obj===void 0&&f.length;)u=`${f[f.length-1]}.${u}`,f=f.slice(0,f.length-1),m=Xa(e,f,Object),m&&m.obj&&typeof m.obj[`${m.k}.${u}`]<"u"&&(m.obj=void 0);m.obj[`${m.k}.${u}`]=n}function qI(e,t,n,i){const{obj:a,k:u}=Xa(e,t,Object);a[u]=a[u]||[],i&&(a[u]=a[u].concat(n)),i||a[u].push(n)}function el(e,t){const{obj:n,k:i}=Xa(e,t);if(n)return n[i]}function GI(e,t,n){const i=el(e,n);return i!==void 0?i:el(t,n)}function G0(e,t,n){for(const i in t)i!=="__proto__"&&i!=="constructor"&&(i in e?typeof e[i]=="string"||e[i]instanceof String||typeof t[i]=="string"||t[i]instanceof String?n&&(e[i]=t[i]):G0(e[i],t[i],n):e[i]=t[i]);return e}function Ws(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var KI={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function ZI(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>KI[t]):e}class XI{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const i=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,i),this.regExpQueue.push(t),i}}const JI=[" ",",","?","!",";"],QI=new XI(20);function eA(e,t,n){t=t||"",n=n||"";const i=JI.filter(f=>t.indexOf(f)<0&&n.indexOf(f)<0);if(i.length===0)return!0;const a=QI.getRegExp(`(${i.map(f=>f==="?"?"\\?":f).join("|")})`);let u=!a.test(e);if(!u){const f=e.indexOf(n);f>0&&!a.test(e.substring(0,f))&&(u=!0)}return u}function Qf(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const i=t.split(n);let a=e;for(let u=0;u<i.length;){if(!a||typeof a!="object")return;let f,m="";for(let b=u;b<i.length;++b)if(b!==u&&(m+=n),m+=i[b],f=a[m],f!==void 0){if(["string","number","boolean"].indexOf(typeof f)>-1&&b<i.length-1)continue;u+=b-u+1;break}a=f}return a}function tl(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class Pg extends Jl{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,i){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const u=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,f=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let m;t.indexOf(".")>-1?m=t.split("."):(m=[t,n],i&&(Array.isArray(i)?m.push(...i):typeof i=="string"&&u?m.push(...i.split(u)):m.push(i)));const b=el(this.data,m);return!b&&!n&&!i&&t.indexOf(".")>-1&&(t=m[0],n=m[1],i=m.slice(2).join(".")),b||!f||typeof i!="string"?b:Qf(this.data&&this.data[t]&&this.data[t][n],i,u)}addResource(t,n,i,a){let u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const f=u.keySeparator!==void 0?u.keySeparator:this.options.keySeparator;let m=[t,n];i&&(m=m.concat(f?i.split(f):i)),t.indexOf(".")>-1&&(m=t.split("."),a=n,n=m[1]),this.addNamespaces(n),Og(this.data,m,a),u.silent||this.emit("added",t,n,i,a)}addResources(t,n,i){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const u in i)(typeof i[u]=="string"||Object.prototype.toString.apply(i[u])==="[object Array]")&&this.addResource(t,n,u,i[u],{silent:!0});a.silent||this.emit("added",t,n,i)}addResourceBundle(t,n,i,a,u){let f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},m=[t,n];t.indexOf(".")>-1&&(m=t.split("."),a=i,i=n,n=m[1]),this.addNamespaces(n);let b=el(this.data,m)||{};f.skipCopy||(i=JSON.parse(JSON.stringify(i))),a?G0(b,i,u):b={...b,...i},Og(this.data,m,b),f.silent||this.emit("added",t,n,i)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(a=>n[a]&&Object.keys(n[a]).length>0)}toJSON(){return this.data}}var K0={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,i,a){return e.forEach(u=>{this.processors[u]&&(t=this.processors[u].process(t,n,i,a))}),t}};const Ng={};class nl extends Jl{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),zI(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Nr.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const i=this.resolve(t,n);return i&&i.res!==void 0}extractFromKey(t,n){let i=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let u=n.ns||this.options.defaultNS||[];const f=i&&t.indexOf(i)>-1,m=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!eA(t,i,a);if(f&&!m){const b=t.match(this.interpolator.nestingRegexp);if(b&&b.length>0)return{key:t,namespaces:u};const _=t.split(i);(i!==a||i===a&&this.options.ns.indexOf(_[0])>-1)&&(u=_.shift()),t=_.join(a)}return typeof u=="string"&&(u=[u]),{key:t,namespaces:u}}translate(t,n,i){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,u=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:f,namespaces:m}=this.extractFromKey(t[t.length-1],n),b=m[m.length-1],_=n.lng||this.language,E=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(_&&_.toLowerCase()==="cimode"){if(E){const ae=n.nsSeparator||this.options.nsSeparator;return a?{res:`${b}${ae}${f}`,usedKey:f,exactUsedKey:f,usedLng:_,usedNS:b,usedParams:this.getUsedParamsDetails(n)}:`${b}${ae}${f}`}return a?{res:f,usedKey:f,exactUsedKey:f,usedLng:_,usedNS:b,usedParams:this.getUsedParamsDetails(n)}:f}const O=this.resolve(t,n);let M=O&&O.res;const z=O&&O.usedKey||f,B=O&&O.exactUsedKey||f,$=Object.prototype.toString.apply(M),Z=["[object Number]","[object Function]","[object RegExp]"],W=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,se=!this.i18nFormat||this.i18nFormat.handleAsObject;if(se&&M&&(typeof M!="string"&&typeof M!="boolean"&&typeof M!="number")&&Z.indexOf($)<0&&!(typeof W=="string"&&$==="[object Array]")){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const ae=this.options.returnedObjectHandler?this.options.returnedObjectHandler(z,M,{...n,ns:m}):`key '${f} (${this.language})' returned an object instead of string.`;return a?(O.res=ae,O.usedParams=this.getUsedParamsDetails(n),O):ae}if(u){const ae=$==="[object Array]",ne=ae?[]:{},ie=ae?B:z;for(const h in M)if(Object.prototype.hasOwnProperty.call(M,h)){const Te=`${ie}${u}${h}`;ne[h]=this.translate(Te,{...n,joinArrays:!1,ns:m}),ne[h]===Te&&(ne[h]=M[h])}M=ne}}else if(se&&typeof W=="string"&&$==="[object Array]")M=M.join(W),M&&(M=this.extendTranslation(M,t,n,i));else{let ae=!1,ne=!1;const ie=n.count!==void 0&&typeof n.count!="string",h=nl.hasDefaultValue(n),Te=ie?this.pluralResolver.getSuffix(_,n.count,n):"",ce=n.ordinal&&ie?this.pluralResolver.getSuffix(_,n.count,{ordinal:!1}):"",et=ie&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),Pe=et&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${Te}`]||n[`defaultValue${ce}`]||n.defaultValue;!this.isValidLookup(M)&&h&&(ae=!0,M=Pe),this.isValidLookup(M)||(ne=!0,M=f);const xe=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&ne?void 0:M,Ve=h&&Pe!==M&&this.options.updateMissing;if(ne||ae||Ve){if(this.logger.log(Ve?"updateKey":"missingKey",_,b,f,Ve?Pe:M),u){const we=this.resolve(f,{...n,keySeparator:!1});we&&we.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let ut=[];const ht=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ht&&ht[0])for(let we=0;we<ht.length;we++)ut.push(ht[we]);else this.options.saveMissingTo==="all"?ut=this.languageUtils.toResolveHierarchy(n.lng||this.language):ut.push(n.lng||this.language);const He=(we,qe,lt)=>{const _t=h&<!==M?lt:xe;this.options.missingKeyHandler?this.options.missingKeyHandler(we,b,qe,_t,Ve,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(we,b,qe,_t,Ve,n),this.emit("missingKey",we,b,qe,M)};this.options.saveMissing&&(this.options.saveMissingPlurals&&ie?ut.forEach(we=>{const qe=this.pluralResolver.getSuffixes(we,n);et&&n[`defaultValue${this.options.pluralSeparator}zero`]&&qe.indexOf(`${this.options.pluralSeparator}zero`)<0&&qe.push(`${this.options.pluralSeparator}zero`),qe.forEach(lt=>{He([we],f+lt,n[`defaultValue${lt}`]||Pe)})}):He(ut,f,Pe))}M=this.extendTranslation(M,t,n,O,i),ne&&M===f&&this.options.appendNamespaceToMissingKey&&(M=`${b}:${f}`),(ne||ae)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?M=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${b}:${f}`:f,ae?M:void 0):M=this.options.parseMissingKeyHandler(M))}return a?(O.res=M,O.usedParams=this.getUsedParamsDetails(n),O):M}extendTranslation(t,n,i,a,u){var f=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});const _=typeof t=="string"&&(i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let E;if(_){const M=t.match(this.interpolator.nestingRegexp);E=M&&M.length}let O=i.replace&&typeof i.replace!="string"?i.replace:i;if(this.options.interpolation.defaultVariables&&(O={...this.options.interpolation.defaultVariables,...O}),t=this.interpolator.interpolate(t,O,i.lng||this.language,i),_){const M=t.match(this.interpolator.nestingRegexp),z=M&&M.length;E<z&&(i.nest=!1)}!i.lng&&this.options.compatibilityAPI!=="v1"&&a&&a.res&&(i.lng=a.usedLng),i.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var M=arguments.length,z=new Array(M),B=0;B<M;B++)z[B]=arguments[B];return u&&u[0]===z[0]&&!i.context?(f.logger.warn(`It seems you are nesting recursively key: ${z[0]} in key: ${n[0]}`),null):f.translate(...z,n)},i)),i.interpolation&&this.interpolator.reset()}const m=i.postProcess||this.options.postProcess,b=typeof m=="string"?[m]:m;return t!=null&&b&&b.length&&i.applyPostProcessor!==!1&&(t=K0.handle(b,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(i)},...i}:i,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i,a,u,f,m;return typeof t=="string"&&(t=[t]),t.forEach(b=>{if(this.isValidLookup(i))return;const _=this.extractFromKey(b,n),E=_.key;a=E;let O=_.namespaces;this.options.fallbackNS&&(O=O.concat(this.options.fallbackNS));const M=n.count!==void 0&&typeof n.count!="string",z=M&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),B=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",$=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);O.forEach(Z=>{this.isValidLookup(i)||(m=Z,!Ng[`${$[0]}-${Z}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(m)&&(Ng[`${$[0]}-${Z}`]=!0,this.logger.warn(`key "${a}" for languages "${$.join(", ")}" won't get resolved as namespace "${m}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),$.forEach(W=>{if(this.isValidLookup(i))return;f=W;const se=[E];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(se,E,W,Z,n);else{let ae;M&&(ae=this.pluralResolver.getSuffix(W,n.count,n));const ne=`${this.options.pluralSeparator}zero`,ie=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(M&&(se.push(E+ae),n.ordinal&&ae.indexOf(ie)===0&&se.push(E+ae.replace(ie,this.options.pluralSeparator)),z&&se.push(E+ne)),B){const h=`${E}${this.options.contextSeparator}${n.context}`;se.push(h),M&&(se.push(h+ae),n.ordinal&&ae.indexOf(ie)===0&&se.push(h+ae.replace(ie,this.options.pluralSeparator)),z&&se.push(h+ne))}}let pe;for(;pe=se.pop();)this.isValidLookup(i)||(u=pe,i=this.getResource(W,Z,pe,n))}))})}),{res:i,usedKey:a,exactUsedKey:u,usedLng:f,usedNS:m}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,i){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,i,a):this.resourceStore.getResource(t,n,i,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=t.replace&&typeof t.replace!="string";let a=i?t.replace:t;if(i&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!i){a={...a};for(const u of n)delete a[u]}return a}static hasDefaultValue(t){const n="defaultValue";for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&n===i.substring(0,n.length)&&t[i]!==void 0)return!0;return!1}}function Ef(e){return e.charAt(0).toUpperCase()+e.slice(1)}class Lg{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Nr.create("languageUtils")}getScriptPartFromCode(t){if(t=tl(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=tl(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let i=t.split("-");return this.options.lowerCaseLng?i=i.map(a=>a.toLowerCase()):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),n.indexOf(i[1].toLowerCase())>-1&&(i[1]=Ef(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),n.indexOf(i[1].toLowerCase())>-1&&(i[1]=Ef(i[1].toLowerCase())),n.indexOf(i[2].toLowerCase())>-1&&(i[2]=Ef(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(i=>{if(n)return;const a=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(a))&&(n=a)}),!n&&this.options.supportedLngs&&t.forEach(i=>{if(n)return;const a=this.getLanguagePartFromCode(i);if(this.isSupportedCode(a))return n=a;n=this.options.supportedLngs.find(u=>{if(u===a)return u;if(!(u.indexOf("-")<0&&a.indexOf("-")<0)&&(u.indexOf("-")>0&&a.indexOf("-")<0&&u.substring(0,u.indexOf("-"))===a||u.indexOf(a)===0&&a.length>1))return u})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Object.prototype.toString.apply(t)==="[object Array]")return t;if(!n)return t.default||[];let i=t[n];return i||(i=t[this.getScriptPartFromCode(n)]),i||(i=t[this.formatLanguageCode(n)]),i||(i=t[this.getLanguagePartFromCode(n)]),i||(i=t.default),i||[]}toResolveHierarchy(t,n){const i=this.getFallbackCodes(n||this.options.fallbackLng||[],t),a=[],u=f=>{f&&(this.isSupportedCode(f)?a.push(f):this.logger.warn(`rejecting language code not found in supportedLngs: ${f}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&u(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&u(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&u(this.getLanguagePartFromCode(t))):typeof t=="string"&&u(this.formatLanguageCode(t)),i.forEach(f=>{a.indexOf(f)<0&&u(this.formatLanguageCode(f))}),a}}let tA=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],nA={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const rA=["v1","v2","v3"],iA=["v4"],Fg={zero:0,one:1,two:2,few:3,many:4,other:5};function sA(){const e={};return tA.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:nA[t.fc]}})}),e}class aA{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=Nr.create("pluralResolver"),(!this.options.compatibilityJSON||iA.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=sA()}addRule(t,n){this.rules[t]=n}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(tl(t==="dev"?"en":t),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,n);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}getPluralFormsOfKey(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,i).map(a=>`${n}${a}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,n);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort((a,u)=>Fg[a]-Fg[u]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):i.numbers.map(a=>this.getSuffix(t,a,n)):[]}getSuffix(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,i);return a?this.shouldUseIntlApi()?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:this.getSuffixRetroCompatible(a,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const i=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let a=t.numbers[i];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));const u=()=>this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString();return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?`_plural_${a.toString()}`:u():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?u():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}shouldUseIntlApi(){return!rA.includes(this.options.compatibilityJSON)}}function $g(e,t,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,u=GI(e,t,n);return!u&&a&&typeof n=="string"&&(u=Qf(e,n,i),u===void 0&&(u=Qf(t,n,i))),u}class oA{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Nr.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const n=t.interpolation;this.escape=n.escape!==void 0?n.escape:ZI,this.escapeValue=n.escapeValue!==void 0?n.escapeValue:!0,this.useRawValueToEscape=n.useRawValueToEscape!==void 0?n.useRawValueToEscape:!1,this.prefix=n.prefix?Ws(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?Ws(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?Ws(n.nestingPrefix):n.nestingPrefixEscaped||Ws("$t("),this.nestingSuffix=n.nestingSuffix?Ws(n.nestingSuffix):n.nestingSuffixEscaped||Ws(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0?n.alwaysFormat:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,i)=>n&&n.source===i?(n.lastIndex=0,n):new RegExp(i,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,i,a){let u,f,m;const b=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function _(B){return B.replace(/\$/g,"$$$$")}const E=B=>{if(B.indexOf(this.formatSeparator)<0){const se=$g(n,b,B,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(se,void 0,i,{...a,...n,interpolationkey:B}):se}const $=B.split(this.formatSeparator),Z=$.shift().trim(),W=$.join(this.formatSeparator).trim();return this.format($g(n,b,Z,this.options.keySeparator,this.options.ignoreJSONStructure),W,i,{...a,...n,interpolationkey:Z})};this.resetRegExp();const O=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,M=a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:B=>_(B)},{regex:this.regexp,safeValue:B=>this.escapeValue?_(this.escape(B)):_(B)}].forEach(B=>{for(m=0;u=B.regex.exec(t);){const $=u[1].trim();if(f=E($),f===void 0)if(typeof O=="function"){const W=O(t,u,a);f=typeof W=="string"?W:""}else if(a&&Object.prototype.hasOwnProperty.call(a,$))f="";else if(M){f=u[0];continue}else this.logger.warn(`missed to pass in variable ${$} for interpolating ${t}`),f="";else typeof f!="string"&&!this.useRawValueToEscape&&(f=Rg(f));const Z=B.safeValue(f);if(t=t.replace(u[0],Z),M?(B.regex.lastIndex+=f.length,B.regex.lastIndex-=u[0].length):B.regex.lastIndex=0,m++,m>=this.maxReplaces)break}}),t}nest(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,u,f;function m(b,_){const E=this.nestingOptionsSeparator;if(b.indexOf(E)<0)return b;const O=b.split(new RegExp(`${E}[ ]*{`));let M=`{${O[1]}`;b=O[0],M=this.interpolate(M,f);const z=M.match(/'/g),B=M.match(/"/g);(z&&z.length%2===0&&!B||B.length%2!==0)&&(M=M.replace(/'/g,'"'));try{f=JSON.parse(M),_&&(f={..._,...f})}catch($){return this.logger.warn(`failed parsing options string in nesting for key ${b}`,$),`${b}${E}${M}`}return delete f.defaultValue,b}for(;a=this.nestingRegexp.exec(t);){let b=[];f={...i},f=f.replace&&typeof f.replace!="string"?f.replace:f,f.applyPostProcessor=!1,delete f.defaultValue;let _=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const E=a[1].split(this.formatSeparator).map(O=>O.trim());a[1]=E.shift(),b=E,_=!0}if(u=n(m.call(this,a[1].trim(),f),f),u&&a[0]===t&&typeof u!="string")return u;typeof u!="string"&&(u=Rg(u)),u||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),u=""),_&&(u=b.reduce((E,O)=>this.format(E,O,i.lng,{...i,interpolationkey:a[1].trim()}),u.trim())),t=t.replace(a[0],u),this.regexp.lastIndex=0}return t}}function uA(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const i=e.split("(");t=i[0].toLowerCase().trim();const a=i[1].substring(0,i[1].length-1);t==="currency"&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(f=>{if(!f)return;const[m,...b]=f.split(":"),_=b.join(":").trim().replace(/^'+|'+$/g,"");n[m.trim()]||(n[m.trim()]=_),_==="false"&&(n[m.trim()]=!1),_==="true"&&(n[m.trim()]=!0),isNaN(_)||(n[m.trim()]=parseInt(_,10))})}return{formatName:t,formatOptions:n}}function Hs(e){const t={};return function(i,a,u){const f=a+JSON.stringify(u);let m=t[f];return m||(m=e(tl(a),u),t[f]=m),m(i)}}class lA{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Nr.create("formatter"),this.options=t,this.formats={number:Hs((n,i)=>{const a=new Intl.NumberFormat(n,{...i});return u=>a.format(u)}),currency:Hs((n,i)=>{const a=new Intl.NumberFormat(n,{...i,style:"currency"});return u=>a.format(u)}),datetime:Hs((n,i)=>{const a=new Intl.DateTimeFormat(n,{...i});return u=>a.format(u)}),relativetime:Hs((n,i)=>{const a=new Intl.RelativeTimeFormat(n,{...i});return u=>a.format(u,i.range||"day")}),list:Hs((n,i)=>{const a=new Intl.ListFormat(n,{...i});return u=>a.format(u)})},this.init(t)}init(t){const i=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=Hs(n)}format(t,n,i){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((m,b)=>{const{formatName:_,formatOptions:E}=uA(b);if(this.formats[_]){let O=m;try{const M=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},z=M.locale||M.lng||a.locale||a.lng||i;O=this.formats[_](m,z,{...E,...a,...M})}catch(M){this.logger.warn(M)}return O}else this.logger.warn(`there was no format function for ${_}`);return m},t)}}function cA(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class fA extends Jl{constructor(t,n,i){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=i,this.languageUtils=i.languageUtils,this.options=a,this.logger=Nr.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(i,a.backend,a)}queueLoad(t,n,i,a){const u={},f={},m={},b={};return t.forEach(_=>{let E=!0;n.forEach(O=>{const M=`${_}|${O}`;!i.reload&&this.store.hasResourceBundle(_,O)?this.state[M]=2:this.state[M]<0||(this.state[M]===1?f[M]===void 0&&(f[M]=!0):(this.state[M]=1,E=!1,f[M]===void 0&&(f[M]=!0),u[M]===void 0&&(u[M]=!0),b[O]===void 0&&(b[O]=!0)))}),E||(m[_]=!0)}),(Object.keys(u).length||Object.keys(f).length)&&this.queue.push({pending:f,pendingCount:Object.keys(f).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(u),pending:Object.keys(f),toLoadLanguages:Object.keys(m),toLoadNamespaces:Object.keys(b)}}loaded(t,n,i){const a=t.split("|"),u=a[0],f=a[1];n&&this.emit("failedLoading",u,f,n),i&&this.store.addResourceBundle(u,f,i,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2;const m={};this.queue.forEach(b=>{qI(b.loaded,[u],f),cA(b,t),n&&b.errors.push(n),b.pendingCount===0&&!b.done&&(Object.keys(b.loaded).forEach(_=>{m[_]||(m[_]={});const E=b.loaded[_];E.length&&E.forEach(O=>{m[_][O]===void 0&&(m[_][O]=!0)})}),b.done=!0,b.errors.length?b.callback(b.errors):b.callback())}),this.emit("loaded",m),this.queue=this.queue.filter(b=>!b.done)}read(t,n,i){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,f=arguments.length>5?arguments[5]:void 0;if(!t.length)return f(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:i,tried:a,wait:u,callback:f});return}this.readingCalls++;const m=(_,E)=>{if(this.readingCalls--,this.waitingReads.length>0){const O=this.waitingReads.shift();this.read(O.lng,O.ns,O.fcName,O.tried,O.wait,O.callback)}if(_&&E&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,i,a+1,u*2,f)},u);return}f(_,E)},b=this.backend[i].bind(this.backend);if(b.length===2){try{const _=b(t,n);_&&typeof _.then=="function"?_.then(E=>m(null,E)).catch(m):m(null,_)}catch(_){m(_)}return}return b(t,n,m)}prepareLoading(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const u=this.queueLoad(t,n,i,a);if(!u.toLoad.length)return u.pending.length||a(),null;u.toLoad.forEach(f=>{this.loadOne(f)})}load(t,n,i){this.prepareLoading(t,n,{},i)}reload(t,n,i){this.prepareLoading(t,n,{reload:!0},i)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const i=t.split("|"),a=i[0],u=i[1];this.read(a,u,"read",void 0,void 0,(f,m)=>{f&&this.logger.warn(`${n}loading namespace ${u} for language ${a} failed`,f),!f&&m&&this.logger.log(`${n}loaded namespace ${u} for language ${a}`,m),this.loaded(t,f,m)})}saveMissing(t,n,i,a,u){let f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},m=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${i}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(i==null||i==="")){if(this.backend&&this.backend.create){const b={...f,isUpdate:u},_=this.backend.create.bind(this.backend);if(_.length<6)try{let E;_.length===5?E=_(t,n,i,a,b):E=_(t,n,i,a),E&&typeof E.then=="function"?E.then(O=>m(null,O)).catch(m):m(null,E)}catch(E){m(E)}else _(t,n,i,a,m,b)}!t||!t[0]||this.store.addResource(t[0],n,i,a)}}}function jg(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){let n={};if(typeof t[1]=="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const i=t[3]||t[2];Object.keys(i).forEach(a=>{n[a]=i[a]})}return n},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Bg(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Lu(){}function dA(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}class uo extends Jl{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Bg(t),this.services={},this.logger=Nr,this.modules={external:[]},dA(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(i=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const a=jg();this.options={...a,...this.options,...Bg(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...a.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);function u(E){return E?typeof E=="function"?new E:E:null}if(!this.options.isClone){this.modules.logger?Nr.init(u(this.modules.logger),this.options):Nr.init(null,this.options);let E;this.modules.formatter?E=this.modules.formatter:typeof Intl<"u"&&(E=lA);const O=new Lg(this.options);this.store=new Pg(this.options.resources,this.options);const M=this.services;M.logger=Nr,M.resourceStore=this.store,M.languageUtils=O,M.pluralResolver=new aA(O,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),E&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(M.formatter=u(E),M.formatter.init(M,this.options),this.options.interpolation.format=M.formatter.format.bind(M.formatter)),M.interpolator=new oA(this.options),M.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},M.backendConnector=new fA(u(this.modules.backend),M.resourceStore,M,this.options),M.backendConnector.on("*",function(z){for(var B=arguments.length,$=new Array(B>1?B-1:0),Z=1;Z<B;Z++)$[Z-1]=arguments[Z];t.emit(z,...$)}),this.modules.languageDetector&&(M.languageDetector=u(this.modules.languageDetector),M.languageDetector.init&&M.languageDetector.init(M,this.options.detection,this.options)),this.modules.i18nFormat&&(M.i18nFormat=u(this.modules.i18nFormat),M.i18nFormat.init&&M.i18nFormat.init(this)),this.translator=new nl(this.services,this.options),this.translator.on("*",function(z){for(var B=arguments.length,$=new Array(B>1?B-1:0),Z=1;Z<B;Z++)$[Z-1]=arguments[Z];t.emit(z,...$)}),this.modules.external.forEach(z=>{z.init&&z.init(this)})}if(this.format=this.options.interpolation.format,i||(i=Lu),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const E=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);E.length>0&&E[0]!=="dev"&&(this.options.lng=E[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(E=>{this[E]=function(){return t.store[E](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(E=>{this[E]=function(){return t.store[E](...arguments),t}});const b=Va(),_=()=>{const E=(O,M)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),b.resolve(M),i(O,M)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return E(null,this.t.bind(this));this.changeLanguage(this.options.lng,E)};return this.options.resources||!this.options.initImmediate?_():setTimeout(_,0),b}loadResources(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Lu;const a=typeof t=="string"?t:this.language;if(typeof t=="function"&&(i=t),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return i();const u=[],f=m=>{if(!m||m==="cimode")return;this.services.languageUtils.toResolveHierarchy(m).forEach(_=>{_!=="cimode"&&u.indexOf(_)<0&&u.push(_)})};a?f(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(b=>f(b)),this.options.preload&&this.options.preload.forEach(m=>f(m)),this.services.backendConnector.load(u,this.options.ns,m=>{!m&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),i(m)})}else i(null)}reloadResources(t,n,i){const a=Va();return t||(t=this.languages),n||(n=this.options.ns),i||(i=Lu),this.services.backendConnector.reload(t,n,u=>{a.resolve(),i(u)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&K0.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n<this.languages.length;n++){const i=this.languages[n];if(!(["cimode","dev"].indexOf(i)>-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;break}}}changeLanguage(t,n){var i=this;this.isLanguageChangingTo=t;const a=Va();this.emit("languageChanging",t);const u=b=>{this.language=b,this.languages=this.services.languageUtils.toResolveHierarchy(b),this.resolvedLanguage=void 0,this.setResolvedLanguage(b)},f=(b,_)=>{_?(u(_),this.translator.changeLanguage(_),this.isLanguageChangingTo=void 0,this.emit("languageChanged",_),this.logger.log("languageChanged",_)):this.isLanguageChangingTo=void 0,a.resolve(function(){return i.t(...arguments)}),n&&n(b,function(){return i.t(...arguments)})},m=b=>{!t&&!b&&this.services.languageDetector&&(b=[]);const _=typeof b=="string"?b:this.services.languageUtils.getBestMatchFromCodes(b);_&&(this.language||u(_),this.translator.language||this.translator.changeLanguage(_),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(_)),this.loadResources(_,E=>{f(E,_)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?m(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(m):this.services.languageDetector.detect(m):m(t),a}getFixedT(t,n,i){var a=this;const u=function(f,m){let b;if(typeof m!="object"){for(var _=arguments.length,E=new Array(_>2?_-2:0),O=2;O<_;O++)E[O-2]=arguments[O];b=a.options.overloadTranslationOptionHandler([f,m].concat(E))}else b={...m};b.lng=b.lng||u.lng,b.lngs=b.lngs||u.lngs,b.ns=b.ns||u.ns,b.keyPrefix=b.keyPrefix||i||u.keyPrefix;const M=a.options.keySeparator||".";let z;return b.keyPrefix&&Array.isArray(f)?z=f.map(B=>`${b.keyPrefix}${M}${B}`):z=b.keyPrefix?`${b.keyPrefix}${M}${f}`:f,a.t(z,b)};return typeof t=="string"?u.lng=t:u.lngs=t,u.ns=n,u.keyPrefix=i,u}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=n.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;const f=(m,b)=>{const _=this.services.backendConnector.state[`${m}|${b}`];return _===-1||_===2};if(n.precheck){const m=n.precheck(this,f);if(m!==void 0)return m}return!!(this.hasResourceBundle(i,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||f(i,t)&&(!a||f(u,t)))}loadNamespaces(t,n){const i=Va();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{i.resolve(),n&&n(a)}),i):(n&&n(),Promise.resolve())}loadLanguages(t,n){const i=Va();typeof t=="string"&&(t=[t]);const a=this.options.preload||[],u=t.filter(f=>a.indexOf(f)<0);return u.length?(this.options.preload=a.concat(u),this.loadResources(f=>{i.resolve(),n&&n(f)}),i):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],i=this.services&&this.services.languageUtils||new Lg(jg());return n.indexOf(i.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new uo(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Lu;const i=t.forkResourceStore;i&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},u=new uo(a);return(t.debug!==void 0||t.prefix!==void 0)&&(u.logger=u.logger.clone(t)),["store","services","language"].forEach(m=>{u[m]=this[m]}),u.services={...this.services},u.services.utils={hasLoadedNamespace:u.hasLoadedNamespace.bind(u)},i&&(u.store=new Pg(this.store.data,a),u.services.resourceStore=u.store),u.translator=new nl(u.services,a),u.translator.on("*",function(m){for(var b=arguments.length,_=new Array(b>1?b-1:0),E=1;E<b;E++)_[E-1]=arguments[E];u.emit(m,..._)}),u.init(a,n),u.translator.options=a,u.translator.backendConnector.services.utils={hasLoadedNamespace:u.hasLoadedNamespace.bind(u)},u}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const zt=uo.createInstance();zt.createInstance=uo.createInstance;zt.createInstance;zt.dir;zt.init;zt.loadResources;zt.reloadResources;zt.use;zt.changeLanguage;zt.getFixedT;zt.t;zt.exists;zt.setDefaultNamespace;zt.hasLoadedNamespace;zt.loadNamespaces;zt.loadLanguages;var rl={exports:{}};/**
|
|
104
|
+
`),Xn.rippleVisible,cI,Jf,({theme:e})=>e.transitions.easing.easeInOut,Xn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Xn.child,Xn.childLeaving,fI,Jf,({theme:e})=>e.transitions.easing.easeInOut,Xn.childPulsate,dI,({theme:e})=>e.transitions.easing.easeInOut),gI=D.reactExports.forwardRef(function(t,n){const i=Gd({props:t,name:"MuiTouchRipple"}),{center:a=!1,classes:u={},className:f}=i,m=D._objectWithoutPropertiesLoose(i,uI),[b,_]=D.reactExports.useState([]),E=D.reactExports.useRef(0),O=D.reactExports.useRef(null);D.reactExports.useEffect(()=>{O.current&&(O.current(),O.current=null)},[b]);const M=D.reactExports.useRef(!1),z=R2(),B=D.reactExports.useRef(null),$=D.reactExports.useRef(null),Z=D.reactExports.useCallback(ae=>{const{pulsate:ne,rippleX:ie,rippleY:h,rippleSize:Te,cb:ce}=ae;_(et=>[...et,D.jsxRuntimeExports.jsx(pI,{classes:{ripple:Zn(u.ripple,Xn.ripple),rippleVisible:Zn(u.rippleVisible,Xn.rippleVisible),ripplePulsate:Zn(u.ripplePulsate,Xn.ripplePulsate),child:Zn(u.child,Xn.child),childLeaving:Zn(u.childLeaving,Xn.childLeaving),childPulsate:Zn(u.childPulsate,Xn.childPulsate)},timeout:Jf,pulsate:ne,rippleX:ie,rippleY:h,rippleSize:Te},E.current)]),E.current+=1,O.current=ce},[u]),W=D.reactExports.useCallback((ae={},ne={},ie=()=>{})=>{const{pulsate:h=!1,center:Te=a||ne.pulsate,fakeElement:ce=!1}=ne;if((ae==null?void 0:ae.type)==="mousedown"&&M.current){M.current=!1;return}(ae==null?void 0:ae.type)==="touchstart"&&(M.current=!0);const et=ce?null:$.current,Pe=et?et.getBoundingClientRect():{width:0,height:0,left:0,top:0};let Xe,xe,qe;if(Te||ae===void 0||ae.clientX===0&&ae.clientY===0||!ae.clientX&&!ae.touches)Xe=Math.round(Pe.width/2),xe=Math.round(Pe.height/2);else{const{clientX:ut,clientY:ht}=ae.touches&&ae.touches.length>0?ae.touches[0]:ae;Xe=Math.round(ut-Pe.left),xe=Math.round(ht-Pe.top)}if(Te)qe=Math.sqrt((2*Pe.width**2+Pe.height**2)/3),qe%2===0&&(qe+=1);else{const ut=Math.max(Math.abs((et?et.clientWidth:0)-Xe),Xe)*2+2,ht=Math.max(Math.abs((et?et.clientHeight:0)-xe),xe)*2+2;qe=Math.sqrt(ut**2+ht**2)}ae!=null&&ae.touches?B.current===null&&(B.current=()=>{Z({pulsate:h,rippleX:Xe,rippleY:xe,rippleSize:qe,cb:ie})},z.start(lI,()=>{B.current&&(B.current(),B.current=null)})):Z({pulsate:h,rippleX:Xe,rippleY:xe,rippleSize:qe,cb:ie})},[a,Z,z]),se=D.reactExports.useCallback(()=>{W({},{pulsate:!0})},[W]),pe=D.reactExports.useCallback((ae,ne)=>{if(z.clear(),(ae==null?void 0:ae.type)==="touchend"&&B.current){B.current(),B.current=null,z.start(0,()=>{pe(ae,ne)});return}B.current=null,_(ie=>ie.length>0?ie.slice(1):ie),O.current=ne},[z]);return D.reactExports.useImperativeHandle(n,()=>({pulsate:se,start:W,stop:pe}),[se,W,pe]),D.jsxRuntimeExports.jsx(hI,D._extends({className:Zn(Xn.root,u.root,f),ref:$},m,{children:D.jsxRuntimeExports.jsx(sI,{component:null,exit:!0,children:b})}))}),mI=gI;function yI(e){return Fl("MuiButtonBase",e)}const vI=$l("MuiButtonBase",["root","disabled","focusVisible"]),bI=vI,xI=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],wI=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:i,classes:a}=e,f=Ud({root:["root",t&&"disabled",n&&"focusVisible"]},yI,a);return n&&i&&(f.root+=` ${i}`),f},_I=Wr("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${bI.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),SI=D.reactExports.forwardRef(function(t,n){const i=Gd({props:t,name:"MuiButtonBase"}),{action:a,centerRipple:u=!1,children:f,className:m,component:b="button",disabled:_=!1,disableRipple:E=!1,disableTouchRipple:O=!1,focusRipple:M=!1,LinkComponent:z="a",onBlur:B,onClick:$,onContextMenu:Z,onDragLeave:W,onFocus:se,onFocusVisible:pe,onKeyDown:ae,onKeyUp:ne,onMouseDown:ie,onMouseLeave:h,onMouseUp:Te,onTouchEnd:ce,onTouchMove:et,onTouchStart:Pe,tabIndex:Xe=0,TouchRippleProps:xe,touchRippleRef:qe,type:ut}=i,ht=D._objectWithoutPropertiesLoose(i,xI),He=D.reactExports.useRef(null),we=D.reactExports.useRef(null),Ve=vg(we,qe),{isFocusVisibleRef:lt,onFocus:_t,onBlur:St,ref:Fn}=B2(),[qt,Vt]=D.reactExports.useState(!1);_&&qt&&Vt(!1),D.reactExports.useImperativeHandle(a,()=>({focusVisible:()=>{Vt(!0),He.current.focus()}}),[]);const[sr,Wi]=D.reactExports.useState(!1);D.reactExports.useEffect(()=>{Wi(!0)},[]);const Hr=sr&&!E&&!_;D.reactExports.useEffect(()=>{qt&&M&&!E&&sr&&we.current.pulsate()},[E,M,qt,sr]);function Nt(Ce,qr,xi=O){return Nu(Bn=>(qr&&qr(Bn),!xi&&we.current&&we.current[Ce](Bn),!0))}const cn=Nt("start",ie),bi=Nt("stop",Z),Sn=Nt("stop",W),Ur=Nt("stop",Te),Gt=Nt("stop",Ce=>{qt&&Ce.preventDefault(),h&&h(Ce)}),zr=Nt("start",Pe),Hi=Nt("stop",ce),Kt=Nt("stop",et),fn=Nt("stop",Ce=>{St(Ce),lt.current===!1&&Vt(!1),B&&B(Ce)},!1),sa=Nu(Ce=>{He.current||(He.current=Ce.currentTarget),_t(Ce),lt.current===!0&&(Vt(!0),pe&&pe(Ce)),se&&se(Ce)}),ar=()=>{const Ce=He.current;return b&&b!=="button"&&!(Ce.tagName==="A"&&Ce.href)},Yt=D.reactExports.useRef(!1),Lt=Nu(Ce=>{M&&!Yt.current&&qt&&we.current&&Ce.key===" "&&(Yt.current=!0,we.current.stop(Ce,()=>{we.current.start(Ce)})),Ce.target===Ce.currentTarget&&ar()&&Ce.key===" "&&Ce.preventDefault(),ae&&ae(Ce),Ce.target===Ce.currentTarget&&ar()&&Ce.key==="Enter"&&!_&&(Ce.preventDefault(),$&&$(Ce))}),$n=Nu(Ce=>{M&&Ce.key===" "&&we.current&&qt&&!Ce.defaultPrevented&&(Yt.current=!1,we.current.stop(Ce,()=>{we.current.pulsate(Ce)})),ne&&ne(Ce),$&&Ce.target===Ce.currentTarget&&ar()&&Ce.key===" "&&!Ce.defaultPrevented&&$(Ce)});let jn=b;jn==="button"&&(ht.href||ht.to)&&(jn=z);const de={};jn==="button"?(de.type=ut===void 0?"button":ut,de.disabled=_):(!ht.href&&!ht.to&&(de.role="button"),_&&(de["aria-disabled"]=_));const Ft=vg(n,Fn,He),br=D._extends({},i,{centerRipple:u,component:b,disabled:_,disableRipple:E,disableTouchRipple:O,focusRipple:M,tabIndex:Xe,focusVisible:qt}),xr=wI(br);return D.jsxRuntimeExports.jsxs(_I,D._extends({as:jn,className:Zn(xr.root,m),ownerState:br,onBlur:fn,onClick:$,onContextMenu:bi,onFocus:sa,onKeyDown:Lt,onKeyUp:$n,onMouseDown:cn,onMouseLeave:Gt,onMouseUp:Ur,onDragLeave:Sn,onTouchEnd:Hi,onTouchMove:Kt,onTouchStart:zr,ref:Ft,tabIndex:_?-1:Xe,type:ut},de,ht,{children:[f,Hr?D.jsxRuntimeExports.jsx(mI,D._extends({ref:Ve,center:u},xe)):null]}))}),kI=SI,CI=D.reactExports.createContext(void 0),DI=CI;function EI(){return D.reactExports.useContext(DI)}function TI(e){return Fl("PrivateSwitchBase",e)}$l("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const MI=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],II=e=>{const{classes:t,checked:n,disabled:i,edge:a}=e,u={root:["root",n&&"checked",i&&"disabled",a&&`edge${$r(a)}`],input:["input"]};return Ud(u,TI,t)},AI=Wr(kI)(({ownerState:e})=>D._extends({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),RI=Wr("input",{shouldForwardProp:K0})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),OI=D.reactExports.forwardRef(function(t,n){const{autoFocus:i,checked:a,checkedIcon:u,className:f,defaultChecked:m,disabled:b,disableFocusRipple:_=!1,edge:E=!1,icon:O,id:M,inputProps:z,inputRef:B,name:$,onBlur:Z,onChange:W,onFocus:se,readOnly:pe,required:ae=!1,tabIndex:ne,type:ie,value:h}=t,Te=D._objectWithoutPropertiesLoose(t,MI),[ce,et]=T2({controlled:a,default:!!m,name:"SwitchBase",state:"checked"}),Pe=EI(),Xe=Ve=>{se&&se(Ve),Pe&&Pe.onFocus&&Pe.onFocus(Ve)},xe=Ve=>{Z&&Z(Ve),Pe&&Pe.onBlur&&Pe.onBlur(Ve)},qe=Ve=>{if(Ve.nativeEvent.defaultPrevented)return;const lt=Ve.target.checked;et(lt),W&&W(Ve,lt)};let ut=b;Pe&&typeof ut>"u"&&(ut=Pe.disabled);const ht=ie==="checkbox"||ie==="radio",He=D._extends({},t,{checked:ce,disabled:ut,disableFocusRipple:_,edge:E}),we=II(He);return D.jsxRuntimeExports.jsxs(AI,D._extends({component:"span",className:Zn(we.root,f),centerRipple:!0,focusRipple:!_,disabled:ut,tabIndex:null,role:void 0,onFocus:Xe,onBlur:xe,ownerState:He,ref:n},Te,{children:[D.jsxRuntimeExports.jsx(RI,D._extends({autoFocus:i,checked:a,defaultChecked:m,className:we.input,disabled:ut,id:ht?M:void 0,name:$,onChange:qe,readOnly:pe,ref:B,required:ae,ownerState:He,tabIndex:ne,type:ie},ie==="checkbox"&&h===void 0?{}:{value:h},z)),ce?u:O]}))}),PI=OI;function NI(e){return Fl("MuiSwitch",e)}const LI=$l("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),ln=LI,FI=["className","color","edge","size","sx"],$I=e=>{const{classes:t,edge:n,size:i,color:a,checked:u,disabled:f}=e,m={root:["root",n&&`edge${$r(n)}`,`size${$r(i)}`],switchBase:["switchBase",`color${$r(a)}`,u&&"checked",f&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},b=Ud(m,NI,t);return D._extends({},t,b)},jI=Wr("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${$r(n.edge)}`],t[`size${$r(n.size)}`]]}})(({ownerState:e})=>D._extends({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},e.edge==="start"&&{marginLeft:-8},e.edge==="end"&&{marginRight:-8},e.size==="small"&&{width:40,height:24,padding:7,[`& .${ln.thumb}`]:{width:16,height:16},[`& .${ln.switchBase}`]:{padding:4,[`&.${ln.checked}`]:{transform:"translateX(16px)"}}})),BI=Wr(PI,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${ln.input}`]:t.input},n.color!=="default"&&t[`color${$r(n.color)}`]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${ln.checked}`]:{transform:"translateX(20px)"},[`&.${ln.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${ln.checked} + .${ln.track}`]:{opacity:.5},[`&.${ln.disabled} + .${ln.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${ln.input}`]:{left:"-100%",width:"300%"}}),({theme:e,ownerState:t})=>D._extends({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:xg(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${ln.checked}`]:{color:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xg(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ln.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t.color}DisabledColor`]:`${e.palette.mode==="light"?Y0(e.palette[t.color].main,.62):B0(e.palette[t.color].main,.55)}`}},[`&.${ln.checked} + .${ln.track}`]:{backgroundColor:(e.vars||e).palette[t.color].main}})),YI=Wr("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`})),WI=Wr("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),HI=D.reactExports.forwardRef(function(t,n){const i=Gd({props:t,name:"MuiSwitch"}),{className:a,color:u="primary",edge:f=!1,size:m="medium",sx:b}=i,_=D._objectWithoutPropertiesLoose(i,FI),E=D._extends({},i,{color:u,edge:f,size:m}),O=$I(E),M=D.jsxRuntimeExports.jsx(WI,{className:O.thumb,ownerState:E});return D.jsxRuntimeExports.jsxs(jI,{className:Zn(O.root,a),sx:b,ownerState:E,children:[D.jsxRuntimeExports.jsx(BI,D._extends({type:"checkbox",icon:M,checkedIcon:M,ref:n,ownerState:E},_,{classes:D._extends({},O,{root:O.switchBase})})),D.jsxRuntimeExports.jsx(YI,{className:O.track,ownerState:E})]})}),UI=HI;const zI={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};let qI=class Qf{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||zI,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return this.forward(n,"log","",!0)}warn(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return this.forward(n,"warn","",!0)}error(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return this.forward(n,"error","")}deprecate(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,i,a){return a&&!this.debug?null:(typeof t[0]=="string"&&(t[0]=`${i}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new Qf(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new Qf(this.logger,t)}};var Nr=new qI;class Jl{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(i=>{this.observers[i]||(this.observers[i]=new Map);const a=this.observers[i].get(n)||0;this.observers[i].set(n,a+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(f=>{let[m,b]=f;for(let _=0;_<b;_++)m(...i)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(f=>{let[m,b]=f;for(let _=0;_<b;_++)m.apply(m,[t,...i])})}}function qa(){let e,t;const n=new Promise((i,a)=>{e=i,t=a});return n.resolve=e,n.reject=t,n}function Og(e){return e==null?"":""+e}function VI(e,t,n){e.forEach(i=>{t[i]&&(n[i]=t[i])})}const GI=/###/g;function Xa(e,t,n){function i(m){return m&&m.indexOf("###")>-1?m.replace(GI,"."):m}function a(){return!e||typeof e=="string"}const u=typeof t!="string"?t:t.split(".");let f=0;for(;f<u.length-1;){if(a())return{};const m=i(u[f]);!e[m]&&n&&(e[m]=new n),Object.prototype.hasOwnProperty.call(e,m)?e=e[m]:e={},++f}return a()?{}:{obj:e,k:i(u[f])}}function Pg(e,t,n){const{obj:i,k:a}=Xa(e,t,Object);if(i!==void 0||t.length===1){i[a]=n;return}let u=t[t.length-1],f=t.slice(0,t.length-1),m=Xa(e,f,Object);for(;m.obj===void 0&&f.length;)u=`${f[f.length-1]}.${u}`,f=f.slice(0,f.length-1),m=Xa(e,f,Object),m&&m.obj&&typeof m.obj[`${m.k}.${u}`]<"u"&&(m.obj=void 0);m.obj[`${m.k}.${u}`]=n}function KI(e,t,n,i){const{obj:a,k:u}=Xa(e,t,Object);a[u]=a[u]||[],i&&(a[u]=a[u].concat(n)),i||a[u].push(n)}function el(e,t){const{obj:n,k:i}=Xa(e,t);if(n)return n[i]}function ZI(e,t,n){const i=el(e,n);return i!==void 0?i:el(t,n)}function Z0(e,t,n){for(const i in t)i!=="__proto__"&&i!=="constructor"&&(i in e?typeof e[i]=="string"||e[i]instanceof String||typeof t[i]=="string"||t[i]instanceof String?n&&(e[i]=t[i]):Z0(e[i],t[i],n):e[i]=t[i]);return e}function Ws(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var XI={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function JI(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>XI[t]):e}class QI{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const i=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,i),this.regExpQueue.push(t),i}}const eA=[" ",",","?","!",";"],tA=new QI(20);function nA(e,t,n){t=t||"",n=n||"";const i=eA.filter(f=>t.indexOf(f)<0&&n.indexOf(f)<0);if(i.length===0)return!0;const a=tA.getRegExp(`(${i.map(f=>f==="?"?"\\?":f).join("|")})`);let u=!a.test(e);if(!u){const f=e.indexOf(n);f>0&&!a.test(e.substring(0,f))&&(u=!0)}return u}function ed(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const i=t.split(n);let a=e;for(let u=0;u<i.length;){if(!a||typeof a!="object")return;let f,m="";for(let b=u;b<i.length;++b)if(b!==u&&(m+=n),m+=i[b],f=a[m],f!==void 0){if(["string","number","boolean"].indexOf(typeof f)>-1&&b<i.length-1)continue;u+=b-u+1;break}a=f}return a}function tl(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class Ng extends Jl{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,i){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const u=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,f=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let m;t.indexOf(".")>-1?m=t.split("."):(m=[t,n],i&&(Array.isArray(i)?m.push(...i):typeof i=="string"&&u?m.push(...i.split(u)):m.push(i)));const b=el(this.data,m);return!b&&!n&&!i&&t.indexOf(".")>-1&&(t=m[0],n=m[1],i=m.slice(2).join(".")),b||!f||typeof i!="string"?b:ed(this.data&&this.data[t]&&this.data[t][n],i,u)}addResource(t,n,i,a){let u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const f=u.keySeparator!==void 0?u.keySeparator:this.options.keySeparator;let m=[t,n];i&&(m=m.concat(f?i.split(f):i)),t.indexOf(".")>-1&&(m=t.split("."),a=n,n=m[1]),this.addNamespaces(n),Pg(this.data,m,a),u.silent||this.emit("added",t,n,i,a)}addResources(t,n,i){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const u in i)(typeof i[u]=="string"||Object.prototype.toString.apply(i[u])==="[object Array]")&&this.addResource(t,n,u,i[u],{silent:!0});a.silent||this.emit("added",t,n,i)}addResourceBundle(t,n,i,a,u){let f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},m=[t,n];t.indexOf(".")>-1&&(m=t.split("."),a=i,i=n,n=m[1]),this.addNamespaces(n);let b=el(this.data,m)||{};f.skipCopy||(i=JSON.parse(JSON.stringify(i))),a?Z0(b,i,u):b={...b,...i},Pg(this.data,m,b),f.silent||this.emit("added",t,n,i)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(a=>n[a]&&Object.keys(n[a]).length>0)}toJSON(){return this.data}}var X0={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,i,a){return e.forEach(u=>{this.processors[u]&&(t=this.processors[u].process(t,n,i,a))}),t}};const Lg={};class nl extends Jl{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),VI(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Nr.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const i=this.resolve(t,n);return i&&i.res!==void 0}extractFromKey(t,n){let i=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let u=n.ns||this.options.defaultNS||[];const f=i&&t.indexOf(i)>-1,m=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!nA(t,i,a);if(f&&!m){const b=t.match(this.interpolator.nestingRegexp);if(b&&b.length>0)return{key:t,namespaces:u};const _=t.split(i);(i!==a||i===a&&this.options.ns.indexOf(_[0])>-1)&&(u=_.shift()),t=_.join(a)}return typeof u=="string"&&(u=[u]),{key:t,namespaces:u}}translate(t,n,i){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,u=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:f,namespaces:m}=this.extractFromKey(t[t.length-1],n),b=m[m.length-1],_=n.lng||this.language,E=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(_&&_.toLowerCase()==="cimode"){if(E){const ae=n.nsSeparator||this.options.nsSeparator;return a?{res:`${b}${ae}${f}`,usedKey:f,exactUsedKey:f,usedLng:_,usedNS:b,usedParams:this.getUsedParamsDetails(n)}:`${b}${ae}${f}`}return a?{res:f,usedKey:f,exactUsedKey:f,usedLng:_,usedNS:b,usedParams:this.getUsedParamsDetails(n)}:f}const O=this.resolve(t,n);let M=O&&O.res;const z=O&&O.usedKey||f,B=O&&O.exactUsedKey||f,$=Object.prototype.toString.apply(M),Z=["[object Number]","[object Function]","[object RegExp]"],W=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,se=!this.i18nFormat||this.i18nFormat.handleAsObject;if(se&&M&&(typeof M!="string"&&typeof M!="boolean"&&typeof M!="number")&&Z.indexOf($)<0&&!(typeof W=="string"&&$==="[object Array]")){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const ae=this.options.returnedObjectHandler?this.options.returnedObjectHandler(z,M,{...n,ns:m}):`key '${f} (${this.language})' returned an object instead of string.`;return a?(O.res=ae,O.usedParams=this.getUsedParamsDetails(n),O):ae}if(u){const ae=$==="[object Array]",ne=ae?[]:{},ie=ae?B:z;for(const h in M)if(Object.prototype.hasOwnProperty.call(M,h)){const Te=`${ie}${u}${h}`;ne[h]=this.translate(Te,{...n,joinArrays:!1,ns:m}),ne[h]===Te&&(ne[h]=M[h])}M=ne}}else if(se&&typeof W=="string"&&$==="[object Array]")M=M.join(W),M&&(M=this.extendTranslation(M,t,n,i));else{let ae=!1,ne=!1;const ie=n.count!==void 0&&typeof n.count!="string",h=nl.hasDefaultValue(n),Te=ie?this.pluralResolver.getSuffix(_,n.count,n):"",ce=n.ordinal&&ie?this.pluralResolver.getSuffix(_,n.count,{ordinal:!1}):"",et=ie&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),Pe=et&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${Te}`]||n[`defaultValue${ce}`]||n.defaultValue;!this.isValidLookup(M)&&h&&(ae=!0,M=Pe),this.isValidLookup(M)||(ne=!0,M=f);const xe=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&ne?void 0:M,qe=h&&Pe!==M&&this.options.updateMissing;if(ne||ae||qe){if(this.logger.log(qe?"updateKey":"missingKey",_,b,f,qe?Pe:M),u){const we=this.resolve(f,{...n,keySeparator:!1});we&&we.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let ut=[];const ht=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ht&&ht[0])for(let we=0;we<ht.length;we++)ut.push(ht[we]);else this.options.saveMissingTo==="all"?ut=this.languageUtils.toResolveHierarchy(n.lng||this.language):ut.push(n.lng||this.language);const He=(we,Ve,lt)=>{const _t=h&<!==M?lt:xe;this.options.missingKeyHandler?this.options.missingKeyHandler(we,b,Ve,_t,qe,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(we,b,Ve,_t,qe,n),this.emit("missingKey",we,b,Ve,M)};this.options.saveMissing&&(this.options.saveMissingPlurals&&ie?ut.forEach(we=>{const Ve=this.pluralResolver.getSuffixes(we,n);et&&n[`defaultValue${this.options.pluralSeparator}zero`]&&Ve.indexOf(`${this.options.pluralSeparator}zero`)<0&&Ve.push(`${this.options.pluralSeparator}zero`),Ve.forEach(lt=>{He([we],f+lt,n[`defaultValue${lt}`]||Pe)})}):He(ut,f,Pe))}M=this.extendTranslation(M,t,n,O,i),ne&&M===f&&this.options.appendNamespaceToMissingKey&&(M=`${b}:${f}`),(ne||ae)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?M=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${b}:${f}`:f,ae?M:void 0):M=this.options.parseMissingKeyHandler(M))}return a?(O.res=M,O.usedParams=this.getUsedParamsDetails(n),O):M}extendTranslation(t,n,i,a,u){var f=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});const _=typeof t=="string"&&(i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let E;if(_){const M=t.match(this.interpolator.nestingRegexp);E=M&&M.length}let O=i.replace&&typeof i.replace!="string"?i.replace:i;if(this.options.interpolation.defaultVariables&&(O={...this.options.interpolation.defaultVariables,...O}),t=this.interpolator.interpolate(t,O,i.lng||this.language,i),_){const M=t.match(this.interpolator.nestingRegexp),z=M&&M.length;E<z&&(i.nest=!1)}!i.lng&&this.options.compatibilityAPI!=="v1"&&a&&a.res&&(i.lng=a.usedLng),i.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var M=arguments.length,z=new Array(M),B=0;B<M;B++)z[B]=arguments[B];return u&&u[0]===z[0]&&!i.context?(f.logger.warn(`It seems you are nesting recursively key: ${z[0]} in key: ${n[0]}`),null):f.translate(...z,n)},i)),i.interpolation&&this.interpolator.reset()}const m=i.postProcess||this.options.postProcess,b=typeof m=="string"?[m]:m;return t!=null&&b&&b.length&&i.applyPostProcessor!==!1&&(t=X0.handle(b,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(i)},...i}:i,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i,a,u,f,m;return typeof t=="string"&&(t=[t]),t.forEach(b=>{if(this.isValidLookup(i))return;const _=this.extractFromKey(b,n),E=_.key;a=E;let O=_.namespaces;this.options.fallbackNS&&(O=O.concat(this.options.fallbackNS));const M=n.count!==void 0&&typeof n.count!="string",z=M&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),B=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",$=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);O.forEach(Z=>{this.isValidLookup(i)||(m=Z,!Lg[`${$[0]}-${Z}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(m)&&(Lg[`${$[0]}-${Z}`]=!0,this.logger.warn(`key "${a}" for languages "${$.join(", ")}" won't get resolved as namespace "${m}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),$.forEach(W=>{if(this.isValidLookup(i))return;f=W;const se=[E];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(se,E,W,Z,n);else{let ae;M&&(ae=this.pluralResolver.getSuffix(W,n.count,n));const ne=`${this.options.pluralSeparator}zero`,ie=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(M&&(se.push(E+ae),n.ordinal&&ae.indexOf(ie)===0&&se.push(E+ae.replace(ie,this.options.pluralSeparator)),z&&se.push(E+ne)),B){const h=`${E}${this.options.contextSeparator}${n.context}`;se.push(h),M&&(se.push(h+ae),n.ordinal&&ae.indexOf(ie)===0&&se.push(h+ae.replace(ie,this.options.pluralSeparator)),z&&se.push(h+ne))}}let pe;for(;pe=se.pop();)this.isValidLookup(i)||(u=pe,i=this.getResource(W,Z,pe,n))}))})}),{res:i,usedKey:a,exactUsedKey:u,usedLng:f,usedNS:m}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,i){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,i,a):this.resourceStore.getResource(t,n,i,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=t.replace&&typeof t.replace!="string";let a=i?t.replace:t;if(i&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!i){a={...a};for(const u of n)delete a[u]}return a}static hasDefaultValue(t){const n="defaultValue";for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&n===i.substring(0,n.length)&&t[i]!==void 0)return!0;return!1}}function Ef(e){return e.charAt(0).toUpperCase()+e.slice(1)}class Fg{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Nr.create("languageUtils")}getScriptPartFromCode(t){if(t=tl(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=tl(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let i=t.split("-");return this.options.lowerCaseLng?i=i.map(a=>a.toLowerCase()):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),n.indexOf(i[1].toLowerCase())>-1&&(i[1]=Ef(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),n.indexOf(i[1].toLowerCase())>-1&&(i[1]=Ef(i[1].toLowerCase())),n.indexOf(i[2].toLowerCase())>-1&&(i[2]=Ef(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(i=>{if(n)return;const a=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(a))&&(n=a)}),!n&&this.options.supportedLngs&&t.forEach(i=>{if(n)return;const a=this.getLanguagePartFromCode(i);if(this.isSupportedCode(a))return n=a;n=this.options.supportedLngs.find(u=>{if(u===a)return u;if(!(u.indexOf("-")<0&&a.indexOf("-")<0)&&(u.indexOf("-")>0&&a.indexOf("-")<0&&u.substring(0,u.indexOf("-"))===a||u.indexOf(a)===0&&a.length>1))return u})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Object.prototype.toString.apply(t)==="[object Array]")return t;if(!n)return t.default||[];let i=t[n];return i||(i=t[this.getScriptPartFromCode(n)]),i||(i=t[this.formatLanguageCode(n)]),i||(i=t[this.getLanguagePartFromCode(n)]),i||(i=t.default),i||[]}toResolveHierarchy(t,n){const i=this.getFallbackCodes(n||this.options.fallbackLng||[],t),a=[],u=f=>{f&&(this.isSupportedCode(f)?a.push(f):this.logger.warn(`rejecting language code not found in supportedLngs: ${f}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&u(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&u(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&u(this.getLanguagePartFromCode(t))):typeof t=="string"&&u(this.formatLanguageCode(t)),i.forEach(f=>{a.indexOf(f)<0&&u(this.formatLanguageCode(f))}),a}}let rA=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],iA={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const sA=["v1","v2","v3"],aA=["v4"],$g={zero:0,one:1,two:2,few:3,many:4,other:5};function oA(){const e={};return rA.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:iA[t.fc]}})}),e}class uA{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=Nr.create("pluralResolver"),(!this.options.compatibilityJSON||aA.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=oA()}addRule(t,n){this.rules[t]=n}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(tl(t==="dev"?"en":t),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,n);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}getPluralFormsOfKey(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,i).map(a=>`${n}${a}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,n);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort((a,u)=>$g[a]-$g[u]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):i.numbers.map(a=>this.getSuffix(t,a,n)):[]}getSuffix(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,i);return a?this.shouldUseIntlApi()?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:this.getSuffixRetroCompatible(a,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const i=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let a=t.numbers[i];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));const u=()=>this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString();return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?`_plural_${a.toString()}`:u():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?u():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}shouldUseIntlApi(){return!sA.includes(this.options.compatibilityJSON)}}function jg(e,t,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,u=ZI(e,t,n);return!u&&a&&typeof n=="string"&&(u=ed(e,n,i),u===void 0&&(u=ed(t,n,i))),u}class lA{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Nr.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const n=t.interpolation;this.escape=n.escape!==void 0?n.escape:JI,this.escapeValue=n.escapeValue!==void 0?n.escapeValue:!0,this.useRawValueToEscape=n.useRawValueToEscape!==void 0?n.useRawValueToEscape:!1,this.prefix=n.prefix?Ws(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?Ws(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?Ws(n.nestingPrefix):n.nestingPrefixEscaped||Ws("$t("),this.nestingSuffix=n.nestingSuffix?Ws(n.nestingSuffix):n.nestingSuffixEscaped||Ws(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0?n.alwaysFormat:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,i)=>n&&n.source===i?(n.lastIndex=0,n):new RegExp(i,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,i,a){let u,f,m;const b=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function _(B){return B.replace(/\$/g,"$$$$")}const E=B=>{if(B.indexOf(this.formatSeparator)<0){const se=jg(n,b,B,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(se,void 0,i,{...a,...n,interpolationkey:B}):se}const $=B.split(this.formatSeparator),Z=$.shift().trim(),W=$.join(this.formatSeparator).trim();return this.format(jg(n,b,Z,this.options.keySeparator,this.options.ignoreJSONStructure),W,i,{...a,...n,interpolationkey:Z})};this.resetRegExp();const O=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,M=a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:B=>_(B)},{regex:this.regexp,safeValue:B=>this.escapeValue?_(this.escape(B)):_(B)}].forEach(B=>{for(m=0;u=B.regex.exec(t);){const $=u[1].trim();if(f=E($),f===void 0)if(typeof O=="function"){const W=O(t,u,a);f=typeof W=="string"?W:""}else if(a&&Object.prototype.hasOwnProperty.call(a,$))f="";else if(M){f=u[0];continue}else this.logger.warn(`missed to pass in variable ${$} for interpolating ${t}`),f="";else typeof f!="string"&&!this.useRawValueToEscape&&(f=Og(f));const Z=B.safeValue(f);if(t=t.replace(u[0],Z),M?(B.regex.lastIndex+=f.length,B.regex.lastIndex-=u[0].length):B.regex.lastIndex=0,m++,m>=this.maxReplaces)break}}),t}nest(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,u,f;function m(b,_){const E=this.nestingOptionsSeparator;if(b.indexOf(E)<0)return b;const O=b.split(new RegExp(`${E}[ ]*{`));let M=`{${O[1]}`;b=O[0],M=this.interpolate(M,f);const z=M.match(/'/g),B=M.match(/"/g);(z&&z.length%2===0&&!B||B.length%2!==0)&&(M=M.replace(/'/g,'"'));try{f=JSON.parse(M),_&&(f={..._,...f})}catch($){return this.logger.warn(`failed parsing options string in nesting for key ${b}`,$),`${b}${E}${M}`}return delete f.defaultValue,b}for(;a=this.nestingRegexp.exec(t);){let b=[];f={...i},f=f.replace&&typeof f.replace!="string"?f.replace:f,f.applyPostProcessor=!1,delete f.defaultValue;let _=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const E=a[1].split(this.formatSeparator).map(O=>O.trim());a[1]=E.shift(),b=E,_=!0}if(u=n(m.call(this,a[1].trim(),f),f),u&&a[0]===t&&typeof u!="string")return u;typeof u!="string"&&(u=Og(u)),u||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),u=""),_&&(u=b.reduce((E,O)=>this.format(E,O,i.lng,{...i,interpolationkey:a[1].trim()}),u.trim())),t=t.replace(a[0],u),this.regexp.lastIndex=0}return t}}function cA(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const i=e.split("(");t=i[0].toLowerCase().trim();const a=i[1].substring(0,i[1].length-1);t==="currency"&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(f=>{if(!f)return;const[m,...b]=f.split(":"),_=b.join(":").trim().replace(/^'+|'+$/g,"");n[m.trim()]||(n[m.trim()]=_),_==="false"&&(n[m.trim()]=!1),_==="true"&&(n[m.trim()]=!0),isNaN(_)||(n[m.trim()]=parseInt(_,10))})}return{formatName:t,formatOptions:n}}function Hs(e){const t={};return function(i,a,u){const f=a+JSON.stringify(u);let m=t[f];return m||(m=e(tl(a),u),t[f]=m),m(i)}}class fA{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Nr.create("formatter"),this.options=t,this.formats={number:Hs((n,i)=>{const a=new Intl.NumberFormat(n,{...i});return u=>a.format(u)}),currency:Hs((n,i)=>{const a=new Intl.NumberFormat(n,{...i,style:"currency"});return u=>a.format(u)}),datetime:Hs((n,i)=>{const a=new Intl.DateTimeFormat(n,{...i});return u=>a.format(u)}),relativetime:Hs((n,i)=>{const a=new Intl.RelativeTimeFormat(n,{...i});return u=>a.format(u,i.range||"day")}),list:Hs((n,i)=>{const a=new Intl.ListFormat(n,{...i});return u=>a.format(u)})},this.init(t)}init(t){const i=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=Hs(n)}format(t,n,i){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((m,b)=>{const{formatName:_,formatOptions:E}=cA(b);if(this.formats[_]){let O=m;try{const M=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},z=M.locale||M.lng||a.locale||a.lng||i;O=this.formats[_](m,z,{...E,...a,...M})}catch(M){this.logger.warn(M)}return O}else this.logger.warn(`there was no format function for ${_}`);return m},t)}}function dA(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class hA extends Jl{constructor(t,n,i){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=i,this.languageUtils=i.languageUtils,this.options=a,this.logger=Nr.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(i,a.backend,a)}queueLoad(t,n,i,a){const u={},f={},m={},b={};return t.forEach(_=>{let E=!0;n.forEach(O=>{const M=`${_}|${O}`;!i.reload&&this.store.hasResourceBundle(_,O)?this.state[M]=2:this.state[M]<0||(this.state[M]===1?f[M]===void 0&&(f[M]=!0):(this.state[M]=1,E=!1,f[M]===void 0&&(f[M]=!0),u[M]===void 0&&(u[M]=!0),b[O]===void 0&&(b[O]=!0)))}),E||(m[_]=!0)}),(Object.keys(u).length||Object.keys(f).length)&&this.queue.push({pending:f,pendingCount:Object.keys(f).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(u),pending:Object.keys(f),toLoadLanguages:Object.keys(m),toLoadNamespaces:Object.keys(b)}}loaded(t,n,i){const a=t.split("|"),u=a[0],f=a[1];n&&this.emit("failedLoading",u,f,n),i&&this.store.addResourceBundle(u,f,i,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2;const m={};this.queue.forEach(b=>{KI(b.loaded,[u],f),dA(b,t),n&&b.errors.push(n),b.pendingCount===0&&!b.done&&(Object.keys(b.loaded).forEach(_=>{m[_]||(m[_]={});const E=b.loaded[_];E.length&&E.forEach(O=>{m[_][O]===void 0&&(m[_][O]=!0)})}),b.done=!0,b.errors.length?b.callback(b.errors):b.callback())}),this.emit("loaded",m),this.queue=this.queue.filter(b=>!b.done)}read(t,n,i){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,f=arguments.length>5?arguments[5]:void 0;if(!t.length)return f(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:i,tried:a,wait:u,callback:f});return}this.readingCalls++;const m=(_,E)=>{if(this.readingCalls--,this.waitingReads.length>0){const O=this.waitingReads.shift();this.read(O.lng,O.ns,O.fcName,O.tried,O.wait,O.callback)}if(_&&E&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,i,a+1,u*2,f)},u);return}f(_,E)},b=this.backend[i].bind(this.backend);if(b.length===2){try{const _=b(t,n);_&&typeof _.then=="function"?_.then(E=>m(null,E)).catch(m):m(null,_)}catch(_){m(_)}return}return b(t,n,m)}prepareLoading(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const u=this.queueLoad(t,n,i,a);if(!u.toLoad.length)return u.pending.length||a(),null;u.toLoad.forEach(f=>{this.loadOne(f)})}load(t,n,i){this.prepareLoading(t,n,{},i)}reload(t,n,i){this.prepareLoading(t,n,{reload:!0},i)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const i=t.split("|"),a=i[0],u=i[1];this.read(a,u,"read",void 0,void 0,(f,m)=>{f&&this.logger.warn(`${n}loading namespace ${u} for language ${a} failed`,f),!f&&m&&this.logger.log(`${n}loaded namespace ${u} for language ${a}`,m),this.loaded(t,f,m)})}saveMissing(t,n,i,a,u){let f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},m=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${i}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(i==null||i==="")){if(this.backend&&this.backend.create){const b={...f,isUpdate:u},_=this.backend.create.bind(this.backend);if(_.length<6)try{let E;_.length===5?E=_(t,n,i,a,b):E=_(t,n,i,a),E&&typeof E.then=="function"?E.then(O=>m(null,O)).catch(m):m(null,E)}catch(E){m(E)}else _(t,n,i,a,m,b)}!t||!t[0]||this.store.addResource(t[0],n,i,a)}}}function Bg(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){let n={};if(typeof t[1]=="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const i=t[3]||t[2];Object.keys(i).forEach(a=>{n[a]=i[a]})}return n},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Yg(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Fu(){}function pA(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}class lo extends Jl{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Yg(t),this.services={},this.logger=Nr,this.modules={external:[]},pA(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(i=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const a=Bg();this.options={...a,...this.options,...Yg(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...a.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);function u(E){return E?typeof E=="function"?new E:E:null}if(!this.options.isClone){this.modules.logger?Nr.init(u(this.modules.logger),this.options):Nr.init(null,this.options);let E;this.modules.formatter?E=this.modules.formatter:typeof Intl<"u"&&(E=fA);const O=new Fg(this.options);this.store=new Ng(this.options.resources,this.options);const M=this.services;M.logger=Nr,M.resourceStore=this.store,M.languageUtils=O,M.pluralResolver=new uA(O,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),E&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(M.formatter=u(E),M.formatter.init(M,this.options),this.options.interpolation.format=M.formatter.format.bind(M.formatter)),M.interpolator=new lA(this.options),M.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},M.backendConnector=new hA(u(this.modules.backend),M.resourceStore,M,this.options),M.backendConnector.on("*",function(z){for(var B=arguments.length,$=new Array(B>1?B-1:0),Z=1;Z<B;Z++)$[Z-1]=arguments[Z];t.emit(z,...$)}),this.modules.languageDetector&&(M.languageDetector=u(this.modules.languageDetector),M.languageDetector.init&&M.languageDetector.init(M,this.options.detection,this.options)),this.modules.i18nFormat&&(M.i18nFormat=u(this.modules.i18nFormat),M.i18nFormat.init&&M.i18nFormat.init(this)),this.translator=new nl(this.services,this.options),this.translator.on("*",function(z){for(var B=arguments.length,$=new Array(B>1?B-1:0),Z=1;Z<B;Z++)$[Z-1]=arguments[Z];t.emit(z,...$)}),this.modules.external.forEach(z=>{z.init&&z.init(this)})}if(this.format=this.options.interpolation.format,i||(i=Fu),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const E=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);E.length>0&&E[0]!=="dev"&&(this.options.lng=E[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(E=>{this[E]=function(){return t.store[E](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(E=>{this[E]=function(){return t.store[E](...arguments),t}});const b=qa(),_=()=>{const E=(O,M)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),b.resolve(M),i(O,M)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return E(null,this.t.bind(this));this.changeLanguage(this.options.lng,E)};return this.options.resources||!this.options.initImmediate?_():setTimeout(_,0),b}loadResources(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Fu;const a=typeof t=="string"?t:this.language;if(typeof t=="function"&&(i=t),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return i();const u=[],f=m=>{if(!m||m==="cimode")return;this.services.languageUtils.toResolveHierarchy(m).forEach(_=>{_!=="cimode"&&u.indexOf(_)<0&&u.push(_)})};a?f(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(b=>f(b)),this.options.preload&&this.options.preload.forEach(m=>f(m)),this.services.backendConnector.load(u,this.options.ns,m=>{!m&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),i(m)})}else i(null)}reloadResources(t,n,i){const a=qa();return t||(t=this.languages),n||(n=this.options.ns),i||(i=Fu),this.services.backendConnector.reload(t,n,u=>{a.resolve(),i(u)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&X0.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n<this.languages.length;n++){const i=this.languages[n];if(!(["cimode","dev"].indexOf(i)>-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;break}}}changeLanguage(t,n){var i=this;this.isLanguageChangingTo=t;const a=qa();this.emit("languageChanging",t);const u=b=>{this.language=b,this.languages=this.services.languageUtils.toResolveHierarchy(b),this.resolvedLanguage=void 0,this.setResolvedLanguage(b)},f=(b,_)=>{_?(u(_),this.translator.changeLanguage(_),this.isLanguageChangingTo=void 0,this.emit("languageChanged",_),this.logger.log("languageChanged",_)):this.isLanguageChangingTo=void 0,a.resolve(function(){return i.t(...arguments)}),n&&n(b,function(){return i.t(...arguments)})},m=b=>{!t&&!b&&this.services.languageDetector&&(b=[]);const _=typeof b=="string"?b:this.services.languageUtils.getBestMatchFromCodes(b);_&&(this.language||u(_),this.translator.language||this.translator.changeLanguage(_),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(_)),this.loadResources(_,E=>{f(E,_)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?m(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(m):this.services.languageDetector.detect(m):m(t),a}getFixedT(t,n,i){var a=this;const u=function(f,m){let b;if(typeof m!="object"){for(var _=arguments.length,E=new Array(_>2?_-2:0),O=2;O<_;O++)E[O-2]=arguments[O];b=a.options.overloadTranslationOptionHandler([f,m].concat(E))}else b={...m};b.lng=b.lng||u.lng,b.lngs=b.lngs||u.lngs,b.ns=b.ns||u.ns,b.keyPrefix=b.keyPrefix||i||u.keyPrefix;const M=a.options.keySeparator||".";let z;return b.keyPrefix&&Array.isArray(f)?z=f.map(B=>`${b.keyPrefix}${M}${B}`):z=b.keyPrefix?`${b.keyPrefix}${M}${f}`:f,a.t(z,b)};return typeof t=="string"?u.lng=t:u.lngs=t,u.ns=n,u.keyPrefix=i,u}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=n.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;const f=(m,b)=>{const _=this.services.backendConnector.state[`${m}|${b}`];return _===-1||_===2};if(n.precheck){const m=n.precheck(this,f);if(m!==void 0)return m}return!!(this.hasResourceBundle(i,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||f(i,t)&&(!a||f(u,t)))}loadNamespaces(t,n){const i=qa();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{i.resolve(),n&&n(a)}),i):(n&&n(),Promise.resolve())}loadLanguages(t,n){const i=qa();typeof t=="string"&&(t=[t]);const a=this.options.preload||[],u=t.filter(f=>a.indexOf(f)<0);return u.length?(this.options.preload=a.concat(u),this.loadResources(f=>{i.resolve(),n&&n(f)}),i):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],i=this.services&&this.services.languageUtils||new Fg(Bg());return n.indexOf(i.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new lo(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Fu;const i=t.forkResourceStore;i&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},u=new lo(a);return(t.debug!==void 0||t.prefix!==void 0)&&(u.logger=u.logger.clone(t)),["store","services","language"].forEach(m=>{u[m]=this[m]}),u.services={...this.services},u.services.utils={hasLoadedNamespace:u.hasLoadedNamespace.bind(u)},i&&(u.store=new Ng(this.store.data,a),u.services.resourceStore=u.store),u.translator=new nl(u.services,a),u.translator.on("*",function(m){for(var b=arguments.length,_=new Array(b>1?b-1:0),E=1;E<b;E++)_[E-1]=arguments[E];u.emit(m,..._)}),u.init(a,n),u.translator.options=a,u.translator.backendConnector.services.utils={hasLoadedNamespace:u.hasLoadedNamespace.bind(u)},u}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const zt=lo.createInstance();zt.createInstance=lo.createInstance;zt.createInstance;zt.dir;zt.init;zt.loadResources;zt.reloadResources;zt.use;zt.changeLanguage;zt.getFixedT;zt.t;zt.exists;zt.setDefaultNamespace;zt.hasLoadedNamespace;zt.loadNamespaces;zt.loadLanguages;var rl={exports:{}};/**
|
|
105
105
|
* @license
|
|
106
106
|
* Lodash <https://lodash.com/>
|
|
107
107
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
108
108
|
* Released under MIT license <https://lodash.com/license>
|
|
109
109
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
110
110
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
111
|
-
*/rl.exports;(function(e,t){(function(){var n,i="4.17.21",a=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",f="Expected a function",m="Invalid `variable` option passed into `_.template`",b="__lodash_hash_undefined__",_=500,E="__lodash_placeholder__",O=1,M=2,z=4,B=1,$=2,Z=1,W=2,se=4,pe=8,ae=16,ne=32,ie=64,h=128,Te=256,ce=512,et=30,Pe="...",Xe=800,xe=16,Ve=1,ut=2,ht=3,He=1/0,we=9007199254740991,qe=17976931348623157e292,lt=0/0,_t=4294967295,St=_t-1,Fn=_t>>>1,Vt=[["ary",h],["bind",Z],["bindKey",W],["curry",pe],["curryRight",ae],["flip",ce],["partial",ne],["partialRight",ie],["rearg",Te]],qt="[object Arguments]",sr="[object Array]",Wi="[object AsyncFunction]",Hr="[object Boolean]",Nt="[object Date]",cn="[object DOMException]",bi="[object Error]",Sn="[object Function]",Ur="[object GeneratorFunction]",Gt="[object Map]",zr="[object Number]",Hi="[object Null]",Kt="[object Object]",fn="[object Promise]",sa="[object Proxy]",ar="[object RegExp]",Yt="[object Set]",Lt="[object String]",$n="[object Symbol]",jn="[object Undefined]",de="[object WeakMap]",Ft="[object WeakSet]",br="[object ArrayBuffer]",xr="[object DataView]",Ce="[object Float32Array]",Vr="[object Float64Array]",xi="[object Int8Array]",Bn="[object Int16Array]",dn="[object Int32Array]",or="[object Uint8Array]",wr="[object Uint8ClampedArray]",aa="[object Uint16Array]",wi="[object Uint32Array]",wo=/\b__p \+= '';/g,_o=/\b(__p \+=) '' \+/g,rc=/(__e\(.*?\)|\b__t\)) \+\n'';/g,qr=/&(?:amp|lt|gt|quot|#39);/g,_i=/[&<>"']/g,So=RegExp(qr.source),ko=RegExp(_i.source),hn=/<%-([\s\S]+?)%>/g,Zt=/<%([\s\S]+?)%>/g,ys=/<%=([\s\S]+?)%>/g,ic=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Co=/^\w*$/,Do=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,_r=/[\\^$.*+?()[\]{}|]/g,Si=RegExp(_r.source),Ui=/^\s+/,vs=/\s/,sc=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ac=/\{\n\/\* \[wrapped with (.+)\] \*/,oc=/,? & /,Eo=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,uc=/[()=,{}\[\]\/\s]/,lc=/\\(\\)?/g,To=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Mo=/\w*$/,ki=/^[-+]0x[0-9a-f]+$/i,Io=/^0b[01]+$/i,oa=/^\[object .+?Constructor\]$/,ua=/^0o[0-7]+$/i,bs=/^(?:0|[1-9]\d*)$/,Ao=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xs=/($^)/,zi=/['\n\r\u2028\u2029\\]/g,Vi="\\ud800-\\udfff",Ro="\\u0300-\\u036f",Oo="\\ufe20-\\ufe2f",Po="\\u20d0-\\u20ff",No=Ro+Oo+Po,ws="\\u2700-\\u27bf",Lo="a-z\\xdf-\\xf6\\xf8-\\xff",cc="\\xac\\xb1\\xd7\\xf7",Fo="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",$o="\\u2000-\\u206f",la=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ca="A-Z\\xc0-\\xd6\\xd8-\\xde",Wt="\\ufe0e\\ufe0f",Gr=cc+Fo+$o+la,Ci="['’]",fc="["+Vi+"]",jo="["+Gr+"]",Di="["+No+"]",fa="\\d+",_s="["+ws+"]",da="["+Lo+"]",Bo="[^"+Vi+Gr+fa+ws+Lo+ca+"]",ha="\\ud83c[\\udffb-\\udfff]",kn="(?:"+Di+"|"+ha+")",pa="[^"+Vi+"]",Kr="(?:\\ud83c[\\udde6-\\uddff]){2}",ga="[\\ud800-\\udbff][\\udc00-\\udfff]",Ei="["+ca+"]",Sr="\\u200d",kr="(?:"+da+"|"+Bo+")",ma="(?:"+Ei+"|"+Bo+")",Yo="(?:"+Ci+"(?:d|ll|m|re|s|t|ve))?",Ti="(?:"+Ci+"(?:D|LL|M|RE|S|T|VE))?",ya=kn+"?",Ss="["+Wt+"]?",Wo="(?:"+Sr+"(?:"+[pa,Kr,ga].join("|")+")"+Ss+ya+")*",Ho="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",dc="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",va=Ss+ya+Wo,hc="(?:"+[_s,Kr,ga].join("|")+")"+va,pc="(?:"+[pa+Di+"?",Di,Kr,ga,fc].join("|")+")",ba=RegExp(Ci,"g"),gc=RegExp(Di,"g"),xa=RegExp(ha+"(?="+ha+")|"+pc+va,"g"),mc=RegExp([Ei+"?"+da+"+"+Yo+"(?="+[jo,Ei,"$"].join("|")+")",ma+"+"+Ti+"(?="+[jo,Ei+kr,"$"].join("|")+")",Ei+"?"+kr+"+"+Yo,Ei+"+"+Ti,dc,Ho,fa,hc].join("|"),"g"),yc=RegExp("["+Sr+Vi+No+Wt+"]"),vc=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,bc=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],xc=-1,at={};at[Ce]=at[Vr]=at[xi]=at[Bn]=at[dn]=at[or]=at[wr]=at[aa]=at[wi]=!0,at[qt]=at[sr]=at[br]=at[Hr]=at[xr]=at[Nt]=at[bi]=at[Sn]=at[Gt]=at[zr]=at[Kt]=at[ar]=at[Yt]=at[Lt]=at[de]=!1;var tt={};tt[qt]=tt[sr]=tt[br]=tt[xr]=tt[Hr]=tt[Nt]=tt[Ce]=tt[Vr]=tt[xi]=tt[Bn]=tt[dn]=tt[Gt]=tt[zr]=tt[Kt]=tt[ar]=tt[Yt]=tt[Lt]=tt[$n]=tt[or]=tt[wr]=tt[aa]=tt[wi]=!0,tt[bi]=tt[Sn]=tt[de]=!1;var Uo={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},wa={"&":"&","<":"<",">":">",'"':""","'":"'"},zo={"&":"&","<":"<",">":">",""":'"',"'":"'"},Vo={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},_a=parseFloat,wc=parseInt,qo=typeof D.commonjsGlobal=="object"&&D.commonjsGlobal&&D.commonjsGlobal.Object===Object&&D.commonjsGlobal,_c=typeof self=="object"&&self&&self.Object===Object&&self,mt=qo||_c||Function("return this")(),ks=t&&!t.nodeType&&t,ur=ks&&!0&&e&&!e.nodeType&&e,Go=ur&&ur.exports===ks,Sa=Go&&qo.process,pn=function(){try{var C=ur&&ur.require&&ur.require("util").types;return C||Sa&&Sa.binding&&Sa.binding("util")}catch{}}(),o=pn&&pn.isArrayBuffer,c=pn&&pn.isDate,d=pn&&pn.isMap,g=pn&&pn.isRegExp,y=pn&&pn.isSet,v=pn&&pn.isTypedArray;function w(C,N,P){switch(P.length){case 0:return C.call(N);case 1:return C.call(N,P[0]);case 2:return C.call(N,P[0],P[1]);case 3:return C.call(N,P[0],P[1],P[2])}return C.apply(N,P)}function R(C,N,P,K){for(var X=-1,he=C==null?0:C.length;++X<he;){var ge=C[X];N(K,ge,P(ge),C)}return K}function I(C,N){for(var P=-1,K=C==null?0:C.length;++P<K&&N(C[P],P,C)!==!1;);return C}function j(C,N){for(var P=C==null?0:C.length;P--&&N(C[P],P,C)!==!1;);return C}function q(C,N){for(var P=-1,K=C==null?0:C.length;++P<K;)if(!N(C[P],P,C))return!1;return!0}function G(C,N){for(var P=-1,K=C==null?0:C.length,X=0,he=[];++P<K;){var ge=C[P];N(ge,P,C)&&(he[X++]=ge)}return he}function U(C,N){var P=C==null?0:C.length;return!!P&&rt(C,N,0)>-1}function te(C,N,P){for(var K=-1,X=C==null?0:C.length;++K<X;)if(P(N,C[K]))return!0;return!1}function fe(C,N){for(var P=-1,K=C==null?0:C.length,X=Array(K);++P<K;)X[P]=N(C[P],P,C);return X}function Me(C,N){for(var P=-1,K=N.length,X=C.length;++P<K;)C[X+P]=N[P];return C}function Ee(C,N,P,K){var X=-1,he=C==null?0:C.length;for(K&&he&&(P=C[++X]);++X<he;)P=N(P,C[X],X,C);return P}function It(C,N,P,K){var X=C==null?0:C.length;for(K&&X&&(P=C[--X]);X--;)P=N(P,C[X],X,C);return P}function yt(C,N){for(var P=-1,K=C==null?0:C.length;++P<K;)if(N(C[P],P,C))return!0;return!1}var Yn=Zr("length");function Wn(C){return C.split("")}function $e(C){return C.match(Eo)||[]}function Cr(C,N,P){var K;return P(C,function(X,he,ge){if(N(X,he,ge))return K=he,!1}),K}function je(C,N,P,K){for(var X=C.length,he=P+(K?1:-1);K?he--:++he<X;)if(N(C[he],he,C))return he;return-1}function rt(C,N,P){return N===N?Cc(C,N,P):je(C,Cs,P)}function qi(C,N,P,K){for(var X=P-1,he=C.length;++X<he;)if(K(C[X],N))return X;return-1}function Cs(C){return C!==C}function Cn(C,N){var P=C==null?0:C.length;return P?Xt(C,N)/P:lt}function Zr(C){return function(N){return N==null?n:N[C]}}function gn(C){return function(N){return C==null?n:C[N]}}function lr(C,N,P,K,X){return X(C,function(he,ge,le){P=K?(K=!1,he):N(P,he,ge,le)}),P}function Dr(C,N){var P=C.length;for(C.sort(N);P--;)C[P]=C[P].value;return C}function Xt(C,N){for(var P,K=-1,X=C.length;++K<X;){var he=N(C[K]);he!==n&&(P=P===n?he:P+he)}return P}function Gi(C,N){for(var P=-1,K=Array(C);++P<C;)K[P]=N(P);return K}function cr(C,N){return fe(N,function(P){return[P,C[P]]})}function Hn(C){return C&&C.slice(0,Zo(C)+1).replace(Ui,"")}function nn(C){return function(N){return C(N)}}function ka(C,N){return fe(N,function(P){return C[P]})}function Ki(C,N){return C.has(N)}function Ge(C,N){for(var P=-1,K=C.length;++P<K&&rt(N,C[P],0)>-1;);return P}function Zi(C,N){for(var P=C.length;P--&&rt(N,C[P],0)>-1;);return P}function Dn(C,N){for(var P=C.length,K=0;P--;)C[P]===N&&++K;return K}var Mi=gn(Uo),Sc=gn(wa);function kc(C){return"\\"+Vo[C]}function Ko(C,N){return C==null?n:C[N]}function mn(C){return yc.test(C)}function Ca(C){return vc.test(C)}function Er(C){for(var N,P=[];!(N=C.next()).done;)P.push(N.value);return P}function Ds(C){var N=-1,P=Array(C.size);return C.forEach(function(K,X){P[++N]=[X,K]}),P}function Ii(C,N){return function(P){return C(N(P))}}function En(C,N){for(var P=-1,K=C.length,X=0,he=[];++P<K;){var ge=C[P];(ge===N||ge===E)&&(C[P]=E,he[X++]=P)}return he}function Xr(C){var N=-1,P=Array(C.size);return C.forEach(function(K){P[++N]=K}),P}function Da(C){var N=-1,P=Array(C.size);return C.forEach(function(K){P[++N]=[K,K]}),P}function Cc(C,N,P){for(var K=P-1,X=C.length;++K<X;)if(C[K]===N)return K;return-1}function Es(C,N,P){for(var K=P+1;K--;)if(C[K]===N)return K;return K}function Tr(C){return mn(C)?Xo(C):Yn(C)}function rn(C){return mn(C)?T(C):Wn(C)}function Zo(C){for(var N=C.length;N--&&vs.test(C.charAt(N)););return N}var Ea=gn(zo);function Xo(C){for(var N=xa.lastIndex=0;xa.test(C);)++N;return N}function T(C){return C.match(xa)||[]}function F(C){return C.match(mc)||[]}var H=function C(N){N=N==null?mt:V.defaults(mt.Object(),N,V.pick(mt,bc));var P=N.Array,K=N.Date,X=N.Error,he=N.Function,ge=N.Math,le=N.Object,Ae=N.RegExp,be=N.String,Le=N.TypeError,At=P.prototype,$t=he.prototype,Rt=le.prototype,sn=N["__core-js_shared__"],fr=$t.toString,De=Rt.hasOwnProperty,Ny=0,oh=function(){var r=/[^.]+$/.exec(sn&&sn.keys&&sn.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}(),Jo=Rt.toString,Ly=fr.call(le),Fy=mt._,$y=Ae("^"+fr.call(De).replace(_r,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Qo=Go?N.Buffer:n,Ai=N.Symbol,eu=N.Uint8Array,uh=Qo?Qo.allocUnsafe:n,tu=Ii(le.getPrototypeOf,le),lh=le.create,ch=Rt.propertyIsEnumerable,nu=At.splice,fh=Ai?Ai.isConcatSpreadable:n,Ta=Ai?Ai.iterator:n,Xi=Ai?Ai.toStringTag:n,ru=function(){try{var r=ns(le,"defineProperty");return r({},"",{}),r}catch{}}(),jy=N.clearTimeout!==mt.clearTimeout&&N.clearTimeout,By=K&&K.now!==mt.Date.now&&K.now,Yy=N.setTimeout!==mt.setTimeout&&N.setTimeout,iu=ge.ceil,su=ge.floor,Dc=le.getOwnPropertySymbols,Wy=Qo?Qo.isBuffer:n,dh=N.isFinite,Hy=At.join,Uy=Ii(le.keys,le),Ot=ge.max,Jt=ge.min,zy=K.now,Vy=N.parseInt,hh=ge.random,qy=At.reverse,Ec=ns(N,"DataView"),Ma=ns(N,"Map"),Tc=ns(N,"Promise"),Ts=ns(N,"Set"),Ia=ns(N,"WeakMap"),Aa=ns(le,"create"),au=Ia&&new Ia,Ms={},Gy=rs(Ec),Ky=rs(Ma),Zy=rs(Tc),Xy=rs(Ts),Jy=rs(Ia),ou=Ai?Ai.prototype:n,Ra=ou?ou.valueOf:n,ph=ou?ou.toString:n;function S(r){if(bt(r)&&!Ie(r)&&!(r instanceof Ye)){if(r instanceof Un)return r;if(De.call(r,"__wrapped__"))return gp(r)}return new Un(r)}var Is=function(){function r(){}return function(s){if(!vt(s))return{};if(lh)return lh(s);r.prototype=s;var l=new r;return r.prototype=n,l}}();function uu(){}function Un(r,s){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=n}S.templateSettings={escape:hn,evaluate:Zt,interpolate:ys,variable:"",imports:{_:S}},S.prototype=uu.prototype,S.prototype.constructor=S,Un.prototype=Is(uu.prototype),Un.prototype.constructor=Un;function Ye(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=_t,this.__views__=[]}function Qy(){var r=new Ye(this.__wrapped__);return r.__actions__=yn(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=yn(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=yn(this.__views__),r}function ev(){if(this.__filtered__){var r=new Ye(this);r.__dir__=-1,r.__filtered__=!0}else r=this.clone(),r.__dir__*=-1;return r}function tv(){var r=this.__wrapped__.value(),s=this.__dir__,l=Ie(r),p=s<0,x=l?r.length:0,k=hb(0,x,this.__views__),A=k.start,L=k.end,Y=L-A,J=p?L:A-1,Q=this.__iteratees__,ee=Q.length,oe=0,ye=Jt(Y,this.__takeCount__);if(!l||!p&&x==Y&&ye==Y)return $h(r,this.__actions__);var Se=[];e:for(;Y--&&oe<ye;){J+=s;for(var Ne=-1,ke=r[J];++Ne<ee;){var Be=Q[Ne],Ue=Be.iteratee,In=Be.type,un=Ue(ke);if(In==ut)ke=un;else if(!un){if(In==Ve)continue e;break e}}Se[oe++]=ke}return Se}Ye.prototype=Is(uu.prototype),Ye.prototype.constructor=Ye;function Ji(r){var s=-1,l=r==null?0:r.length;for(this.clear();++s<l;){var p=r[s];this.set(p[0],p[1])}}function nv(){this.__data__=Aa?Aa(null):{},this.size=0}function rv(r){var s=this.has(r)&&delete this.__data__[r];return this.size-=s?1:0,s}function iv(r){var s=this.__data__;if(Aa){var l=s[r];return l===b?n:l}return De.call(s,r)?s[r]:n}function sv(r){var s=this.__data__;return Aa?s[r]!==n:De.call(s,r)}function av(r,s){var l=this.__data__;return this.size+=this.has(r)?0:1,l[r]=Aa&&s===n?b:s,this}Ji.prototype.clear=nv,Ji.prototype.delete=rv,Ji.prototype.get=iv,Ji.prototype.has=sv,Ji.prototype.set=av;function Jr(r){var s=-1,l=r==null?0:r.length;for(this.clear();++s<l;){var p=r[s];this.set(p[0],p[1])}}function ov(){this.__data__=[],this.size=0}function uv(r){var s=this.__data__,l=lu(s,r);if(l<0)return!1;var p=s.length-1;return l==p?s.pop():nu.call(s,l,1),--this.size,!0}function lv(r){var s=this.__data__,l=lu(s,r);return l<0?n:s[l][1]}function cv(r){return lu(this.__data__,r)>-1}function fv(r,s){var l=this.__data__,p=lu(l,r);return p<0?(++this.size,l.push([r,s])):l[p][1]=s,this}Jr.prototype.clear=ov,Jr.prototype.delete=uv,Jr.prototype.get=lv,Jr.prototype.has=cv,Jr.prototype.set=fv;function Qr(r){var s=-1,l=r==null?0:r.length;for(this.clear();++s<l;){var p=r[s];this.set(p[0],p[1])}}function dv(){this.size=0,this.__data__={hash:new Ji,map:new(Ma||Jr),string:new Ji}}function hv(r){var s=wu(this,r).delete(r);return this.size-=s?1:0,s}function pv(r){return wu(this,r).get(r)}function gv(r){return wu(this,r).has(r)}function mv(r,s){var l=wu(this,r),p=l.size;return l.set(r,s),this.size+=l.size==p?0:1,this}Qr.prototype.clear=dv,Qr.prototype.delete=hv,Qr.prototype.get=pv,Qr.prototype.has=gv,Qr.prototype.set=mv;function Qi(r){var s=-1,l=r==null?0:r.length;for(this.__data__=new Qr;++s<l;)this.add(r[s])}function yv(r){return this.__data__.set(r,b),this}function vv(r){return this.__data__.has(r)}Qi.prototype.add=Qi.prototype.push=yv,Qi.prototype.has=vv;function dr(r){var s=this.__data__=new Jr(r);this.size=s.size}function bv(){this.__data__=new Jr,this.size=0}function xv(r){var s=this.__data__,l=s.delete(r);return this.size=s.size,l}function wv(r){return this.__data__.get(r)}function _v(r){return this.__data__.has(r)}function Sv(r,s){var l=this.__data__;if(l instanceof Jr){var p=l.__data__;if(!Ma||p.length<a-1)return p.push([r,s]),this.size=++l.size,this;l=this.__data__=new Qr(p)}return l.set(r,s),this.size=l.size,this}dr.prototype.clear=bv,dr.prototype.delete=xv,dr.prototype.get=wv,dr.prototype.has=_v,dr.prototype.set=Sv;function gh(r,s){var l=Ie(r),p=!l&&is(r),x=!l&&!p&&Li(r),k=!l&&!p&&!x&&Ps(r),A=l||p||x||k,L=A?Gi(r.length,be):[],Y=L.length;for(var J in r)(s||De.call(r,J))&&!(A&&(J=="length"||x&&(J=="offset"||J=="parent")||k&&(J=="buffer"||J=="byteLength"||J=="byteOffset")||ri(J,Y)))&&L.push(J);return L}function mh(r){var s=r.length;return s?r[jc(0,s-1)]:n}function kv(r,s){return _u(yn(r),es(s,0,r.length))}function Cv(r){return _u(yn(r))}function Mc(r,s,l){(l!==n&&!hr(r[s],l)||l===n&&!(s in r))&&ei(r,s,l)}function Oa(r,s,l){var p=r[s];(!(De.call(r,s)&&hr(p,l))||l===n&&!(s in r))&&ei(r,s,l)}function lu(r,s){for(var l=r.length;l--;)if(hr(r[l][0],s))return l;return-1}function Dv(r,s,l,p){return Ri(r,function(x,k,A){s(p,x,l(x),A)}),p}function yh(r,s){return r&&Ir(s,jt(s),r)}function Ev(r,s){return r&&Ir(s,bn(s),r)}function ei(r,s,l){s=="__proto__"&&ru?ru(r,s,{configurable:!0,enumerable:!0,value:l,writable:!0}):r[s]=l}function Ic(r,s){for(var l=-1,p=s.length,x=P(p),k=r==null;++l<p;)x[l]=k?n:ff(r,s[l]);return x}function es(r,s,l){return r===r&&(l!==n&&(r=r<=l?r:l),s!==n&&(r=r>=s?r:s)),r}function zn(r,s,l,p,x,k){var A,L=s&O,Y=s&M,J=s&z;if(l&&(A=x?l(r,p,x,k):l(r)),A!==n)return A;if(!vt(r))return r;var Q=Ie(r);if(Q){if(A=gb(r),!L)return yn(r,A)}else{var ee=Qt(r),oe=ee==Sn||ee==Ur;if(Li(r))return Yh(r,L);if(ee==Kt||ee==qt||oe&&!x){if(A=Y||oe?{}:ap(r),!L)return Y?ib(r,Ev(A,r)):rb(r,yh(A,r))}else{if(!tt[ee])return x?r:{};A=mb(r,ee,L)}}k||(k=new dr);var ye=k.get(r);if(ye)return ye;k.set(r,A),Np(r)?r.forEach(function(ke){A.add(zn(ke,s,l,ke,r,k))}):Op(r)&&r.forEach(function(ke,Be){A.set(Be,zn(ke,s,l,Be,r,k))});var Se=J?Y?Zc:Kc:Y?bn:jt,Ne=Q?n:Se(r);return I(Ne||r,function(ke,Be){Ne&&(Be=ke,ke=r[Be]),Oa(A,Be,zn(ke,s,l,Be,r,k))}),A}function Tv(r){var s=jt(r);return function(l){return vh(l,r,s)}}function vh(r,s,l){var p=l.length;if(r==null)return!p;for(r=le(r);p--;){var x=l[p],k=s[x],A=r[x];if(A===n&&!(x in r)||!k(A))return!1}return!0}function bh(r,s,l){if(typeof r!="function")throw new Le(f);return Ba(function(){r.apply(n,l)},s)}function Pa(r,s,l,p){var x=-1,k=U,A=!0,L=r.length,Y=[],J=s.length;if(!L)return Y;l&&(s=fe(s,nn(l))),p?(k=te,A=!1):s.length>=a&&(k=Ki,A=!1,s=new Qi(s));e:for(;++x<L;){var Q=r[x],ee=l==null?Q:l(Q);if(Q=p||Q!==0?Q:0,A&&ee===ee){for(var oe=J;oe--;)if(s[oe]===ee)continue e;Y.push(Q)}else k(s,ee,p)||Y.push(Q)}return Y}var Ri=Vh(Mr),xh=Vh(Rc,!0);function Mv(r,s){var l=!0;return Ri(r,function(p,x,k){return l=!!s(p,x,k),l}),l}function cu(r,s,l){for(var p=-1,x=r.length;++p<x;){var k=r[p],A=s(k);if(A!=null&&(L===n?A===A&&!Mn(A):l(A,L)))var L=A,Y=k}return Y}function Iv(r,s,l,p){var x=r.length;for(l=Re(l),l<0&&(l=-l>x?0:x+l),p=p===n||p>x?x:Re(p),p<0&&(p+=x),p=l>p?0:Fp(p);l<p;)r[l++]=s;return r}function wh(r,s){var l=[];return Ri(r,function(p,x,k){s(p,x,k)&&l.push(p)}),l}function Ht(r,s,l,p,x){var k=-1,A=r.length;for(l||(l=vb),x||(x=[]);++k<A;){var L=r[k];s>0&&l(L)?s>1?Ht(L,s-1,l,p,x):Me(x,L):p||(x[x.length]=L)}return x}var Ac=qh(),_h=qh(!0);function Mr(r,s){return r&&Ac(r,s,jt)}function Rc(r,s){return r&&_h(r,s,jt)}function fu(r,s){return G(s,function(l){return ii(r[l])})}function ts(r,s){s=Pi(s,r);for(var l=0,p=s.length;r!=null&&l<p;)r=r[Ar(s[l++])];return l&&l==p?r:n}function Sh(r,s,l){var p=s(r);return Ie(r)?p:Me(p,l(r))}function an(r){return r==null?r===n?jn:Hi:Xi&&Xi in le(r)?db(r):Cb(r)}function Oc(r,s){return r>s}function Av(r,s){return r!=null&&De.call(r,s)}function Rv(r,s){return r!=null&&s in le(r)}function Ov(r,s,l){return r>=Jt(s,l)&&r<Ot(s,l)}function Pc(r,s,l){for(var p=l?te:U,x=r[0].length,k=r.length,A=k,L=P(k),Y=1/0,J=[];A--;){var Q=r[A];A&&s&&(Q=fe(Q,nn(s))),Y=Jt(Q.length,Y),L[A]=!l&&(s||x>=120&&Q.length>=120)?new Qi(A&&Q):n}Q=r[0];var ee=-1,oe=L[0];e:for(;++ee<x&&J.length<Y;){var ye=Q[ee],Se=s?s(ye):ye;if(ye=l||ye!==0?ye:0,!(oe?Ki(oe,Se):p(J,Se,l))){for(A=k;--A;){var Ne=L[A];if(!(Ne?Ki(Ne,Se):p(r[A],Se,l)))continue e}oe&&oe.push(Se),J.push(ye)}}return J}function Pv(r,s,l,p){return Mr(r,function(x,k,A){s(p,l(x),k,A)}),p}function Na(r,s,l){s=Pi(s,r),r=cp(r,s);var p=r==null?r:r[Ar(qn(s))];return p==null?n:w(p,r,l)}function kh(r){return bt(r)&&an(r)==qt}function Nv(r){return bt(r)&&an(r)==br}function Lv(r){return bt(r)&&an(r)==Nt}function La(r,s,l,p,x){return r===s?!0:r==null||s==null||!bt(r)&&!bt(s)?r!==r&&s!==s:Fv(r,s,l,p,La,x)}function Fv(r,s,l,p,x,k){var A=Ie(r),L=Ie(s),Y=A?sr:Qt(r),J=L?sr:Qt(s);Y=Y==qt?Kt:Y,J=J==qt?Kt:J;var Q=Y==Kt,ee=J==Kt,oe=Y==J;if(oe&&Li(r)){if(!Li(s))return!1;A=!0,Q=!1}if(oe&&!Q)return k||(k=new dr),A||Ps(r)?rp(r,s,l,p,x,k):cb(r,s,Y,l,p,x,k);if(!(l&B)){var ye=Q&&De.call(r,"__wrapped__"),Se=ee&&De.call(s,"__wrapped__");if(ye||Se){var Ne=ye?r.value():r,ke=Se?s.value():s;return k||(k=new dr),x(Ne,ke,l,p,k)}}return oe?(k||(k=new dr),fb(r,s,l,p,x,k)):!1}function $v(r){return bt(r)&&Qt(r)==Gt}function Nc(r,s,l,p){var x=l.length,k=x,A=!p;if(r==null)return!k;for(r=le(r);x--;){var L=l[x];if(A&&L[2]?L[1]!==r[L[0]]:!(L[0]in r))return!1}for(;++x<k;){L=l[x];var Y=L[0],J=r[Y],Q=L[1];if(A&&L[2]){if(J===n&&!(Y in r))return!1}else{var ee=new dr;if(p)var oe=p(J,Q,Y,r,s,ee);if(!(oe===n?La(Q,J,B|$,p,ee):oe))return!1}}return!0}function Ch(r){if(!vt(r)||xb(r))return!1;var s=ii(r)?$y:oa;return s.test(rs(r))}function jv(r){return bt(r)&&an(r)==ar}function Bv(r){return bt(r)&&Qt(r)==Yt}function Yv(r){return bt(r)&&Tu(r.length)&&!!at[an(r)]}function Dh(r){return typeof r=="function"?r:r==null?xn:typeof r=="object"?Ie(r)?Mh(r[0],r[1]):Th(r):Gp(r)}function Lc(r){if(!ja(r))return Uy(r);var s=[];for(var l in le(r))De.call(r,l)&&l!="constructor"&&s.push(l);return s}function Wv(r){if(!vt(r))return kb(r);var s=ja(r),l=[];for(var p in r)p=="constructor"&&(s||!De.call(r,p))||l.push(p);return l}function Fc(r,s){return r<s}function Eh(r,s){var l=-1,p=vn(r)?P(r.length):[];return Ri(r,function(x,k,A){p[++l]=s(x,k,A)}),p}function Th(r){var s=Jc(r);return s.length==1&&s[0][2]?up(s[0][0],s[0][1]):function(l){return l===r||Nc(l,r,s)}}function Mh(r,s){return ef(r)&&op(s)?up(Ar(r),s):function(l){var p=ff(l,r);return p===n&&p===s?df(l,r):La(s,p,B|$)}}function du(r,s,l,p,x){r!==s&&Ac(s,function(k,A){if(x||(x=new dr),vt(k))Hv(r,s,A,l,du,p,x);else{var L=p?p(nf(r,A),k,A+"",r,s,x):n;L===n&&(L=k),Mc(r,A,L)}},bn)}function Hv(r,s,l,p,x,k,A){var L=nf(r,l),Y=nf(s,l),J=A.get(Y);if(J){Mc(r,l,J);return}var Q=k?k(L,Y,l+"",r,s,A):n,ee=Q===n;if(ee){var oe=Ie(Y),ye=!oe&&Li(Y),Se=!oe&&!ye&&Ps(Y);Q=Y,oe||ye||Se?Ie(L)?Q=L:kt(L)?Q=yn(L):ye?(ee=!1,Q=Yh(Y,!0)):Se?(ee=!1,Q=Wh(Y,!0)):Q=[]:Ya(Y)||is(Y)?(Q=L,is(L)?Q=$p(L):(!vt(L)||ii(L))&&(Q=ap(Y))):ee=!1}ee&&(A.set(Y,Q),x(Q,Y,p,k,A),A.delete(Y)),Mc(r,l,Q)}function Ih(r,s){var l=r.length;if(l)return s+=s<0?l:0,ri(s,l)?r[s]:n}function Ah(r,s,l){s.length?s=fe(s,function(k){return Ie(k)?function(A){return ts(A,k.length===1?k[0]:k)}:k}):s=[xn];var p=-1;s=fe(s,nn(_e()));var x=Eh(r,function(k,A,L){var Y=fe(s,function(J){return J(k)});return{criteria:Y,index:++p,value:k}});return Dr(x,function(k,A){return nb(k,A,l)})}function Uv(r,s){return Rh(r,s,function(l,p){return df(r,p)})}function Rh(r,s,l){for(var p=-1,x=s.length,k={};++p<x;){var A=s[p],L=ts(r,A);l(L,A)&&Fa(k,Pi(A,r),L)}return k}function zv(r){return function(s){return ts(s,r)}}function $c(r,s,l,p){var x=p?qi:rt,k=-1,A=s.length,L=r;for(r===s&&(s=yn(s)),l&&(L=fe(r,nn(l)));++k<A;)for(var Y=0,J=s[k],Q=l?l(J):J;(Y=x(L,Q,Y,p))>-1;)L!==r&&nu.call(L,Y,1),nu.call(r,Y,1);return r}function Oh(r,s){for(var l=r?s.length:0,p=l-1;l--;){var x=s[l];if(l==p||x!==k){var k=x;ri(x)?nu.call(r,x,1):Wc(r,x)}}return r}function jc(r,s){return r+su(hh()*(s-r+1))}function Vv(r,s,l,p){for(var x=-1,k=Ot(iu((s-r)/(l||1)),0),A=P(k);k--;)A[p?k:++x]=r,r+=l;return A}function Bc(r,s){var l="";if(!r||s<1||s>we)return l;do s%2&&(l+=r),s=su(s/2),s&&(r+=r);while(s);return l}function Fe(r,s){return rf(lp(r,s,xn),r+"")}function qv(r){return mh(Ns(r))}function Gv(r,s){var l=Ns(r);return _u(l,es(s,0,l.length))}function Fa(r,s,l,p){if(!vt(r))return r;s=Pi(s,r);for(var x=-1,k=s.length,A=k-1,L=r;L!=null&&++x<k;){var Y=Ar(s[x]),J=l;if(Y==="__proto__"||Y==="constructor"||Y==="prototype")return r;if(x!=A){var Q=L[Y];J=p?p(Q,Y,L):n,J===n&&(J=vt(Q)?Q:ri(s[x+1])?[]:{})}Oa(L,Y,J),L=L[Y]}return r}var Ph=au?function(r,s){return au.set(r,s),r}:xn,Kv=ru?function(r,s){return ru(r,"toString",{configurable:!0,enumerable:!1,value:pf(s),writable:!0})}:xn;function Zv(r){return _u(Ns(r))}function Vn(r,s,l){var p=-1,x=r.length;s<0&&(s=-s>x?0:x+s),l=l>x?x:l,l<0&&(l+=x),x=s>l?0:l-s>>>0,s>>>=0;for(var k=P(x);++p<x;)k[p]=r[p+s];return k}function Xv(r,s){var l;return Ri(r,function(p,x,k){return l=s(p,x,k),!l}),!!l}function hu(r,s,l){var p=0,x=r==null?p:r.length;if(typeof s=="number"&&s===s&&x<=Fn){for(;p<x;){var k=p+x>>>1,A=r[k];A!==null&&!Mn(A)&&(l?A<=s:A<s)?p=k+1:x=k}return x}return Yc(r,s,xn,l)}function Yc(r,s,l,p){var x=0,k=r==null?0:r.length;if(k===0)return 0;s=l(s);for(var A=s!==s,L=s===null,Y=Mn(s),J=s===n;x<k;){var Q=su((x+k)/2),ee=l(r[Q]),oe=ee!==n,ye=ee===null,Se=ee===ee,Ne=Mn(ee);if(A)var ke=p||Se;else J?ke=Se&&(p||oe):L?ke=Se&&oe&&(p||!ye):Y?ke=Se&&oe&&!ye&&(p||!Ne):ye||Ne?ke=!1:ke=p?ee<=s:ee<s;ke?x=Q+1:k=Q}return Jt(k,St)}function Nh(r,s){for(var l=-1,p=r.length,x=0,k=[];++l<p;){var A=r[l],L=s?s(A):A;if(!l||!hr(L,Y)){var Y=L;k[x++]=A===0?0:A}}return k}function Lh(r){return typeof r=="number"?r:Mn(r)?lt:+r}function Tn(r){if(typeof r=="string")return r;if(Ie(r))return fe(r,Tn)+"";if(Mn(r))return ph?ph.call(r):"";var s=r+"";return s=="0"&&1/r==-He?"-0":s}function Oi(r,s,l){var p=-1,x=U,k=r.length,A=!0,L=[],Y=L;if(l)A=!1,x=te;else if(k>=a){var J=s?null:ub(r);if(J)return Xr(J);A=!1,x=Ki,Y=new Qi}else Y=s?[]:L;e:for(;++p<k;){var Q=r[p],ee=s?s(Q):Q;if(Q=l||Q!==0?Q:0,A&&ee===ee){for(var oe=Y.length;oe--;)if(Y[oe]===ee)continue e;s&&Y.push(ee),L.push(Q)}else x(Y,ee,l)||(Y!==L&&Y.push(ee),L.push(Q))}return L}function Wc(r,s){return s=Pi(s,r),r=cp(r,s),r==null||delete r[Ar(qn(s))]}function Fh(r,s,l,p){return Fa(r,s,l(ts(r,s)),p)}function pu(r,s,l,p){for(var x=r.length,k=p?x:-1;(p?k--:++k<x)&&s(r[k],k,r););return l?Vn(r,p?0:k,p?k+1:x):Vn(r,p?k+1:0,p?x:k)}function $h(r,s){var l=r;return l instanceof Ye&&(l=l.value()),Ee(s,function(p,x){return x.func.apply(x.thisArg,Me([p],x.args))},l)}function Hc(r,s,l){var p=r.length;if(p<2)return p?Oi(r[0]):[];for(var x=-1,k=P(p);++x<p;)for(var A=r[x],L=-1;++L<p;)L!=x&&(k[x]=Pa(k[x]||A,r[L],s,l));return Oi(Ht(k,1),s,l)}function jh(r,s,l){for(var p=-1,x=r.length,k=s.length,A={};++p<x;){var L=p<k?s[p]:n;l(A,r[p],L)}return A}function Uc(r){return kt(r)?r:[]}function zc(r){return typeof r=="function"?r:xn}function Pi(r,s){return Ie(r)?r:ef(r,s)?[r]:pp(nt(r))}var Jv=Fe;function Ni(r,s,l){var p=r.length;return l=l===n?p:l,!s&&l>=p?r:Vn(r,s,l)}var Bh=jy||function(r){return mt.clearTimeout(r)};function Yh(r,s){if(s)return r.slice();var l=r.length,p=uh?uh(l):new r.constructor(l);return r.copy(p),p}function Vc(r){var s=new r.constructor(r.byteLength);return new eu(s).set(new eu(r)),s}function Qv(r,s){var l=s?Vc(r.buffer):r.buffer;return new r.constructor(l,r.byteOffset,r.byteLength)}function eb(r){var s=new r.constructor(r.source,Mo.exec(r));return s.lastIndex=r.lastIndex,s}function tb(r){return Ra?le(Ra.call(r)):{}}function Wh(r,s){var l=s?Vc(r.buffer):r.buffer;return new r.constructor(l,r.byteOffset,r.length)}function Hh(r,s){if(r!==s){var l=r!==n,p=r===null,x=r===r,k=Mn(r),A=s!==n,L=s===null,Y=s===s,J=Mn(s);if(!L&&!J&&!k&&r>s||k&&A&&Y&&!L&&!J||p&&A&&Y||!l&&Y||!x)return 1;if(!p&&!k&&!J&&r<s||J&&l&&x&&!p&&!k||L&&l&&x||!A&&x||!Y)return-1}return 0}function nb(r,s,l){for(var p=-1,x=r.criteria,k=s.criteria,A=x.length,L=l.length;++p<A;){var Y=Hh(x[p],k[p]);if(Y){if(p>=L)return Y;var J=l[p];return Y*(J=="desc"?-1:1)}}return r.index-s.index}function Uh(r,s,l,p){for(var x=-1,k=r.length,A=l.length,L=-1,Y=s.length,J=Ot(k-A,0),Q=P(Y+J),ee=!p;++L<Y;)Q[L]=s[L];for(;++x<A;)(ee||x<k)&&(Q[l[x]]=r[x]);for(;J--;)Q[L++]=r[x++];return Q}function zh(r,s,l,p){for(var x=-1,k=r.length,A=-1,L=l.length,Y=-1,J=s.length,Q=Ot(k-L,0),ee=P(Q+J),oe=!p;++x<Q;)ee[x]=r[x];for(var ye=x;++Y<J;)ee[ye+Y]=s[Y];for(;++A<L;)(oe||x<k)&&(ee[ye+l[A]]=r[x++]);return ee}function yn(r,s){var l=-1,p=r.length;for(s||(s=P(p));++l<p;)s[l]=r[l];return s}function Ir(r,s,l,p){var x=!l;l||(l={});for(var k=-1,A=s.length;++k<A;){var L=s[k],Y=p?p(l[L],r[L],L,l,r):n;Y===n&&(Y=r[L]),x?ei(l,L,Y):Oa(l,L,Y)}return l}function rb(r,s){return Ir(r,Qc(r),s)}function ib(r,s){return Ir(r,ip(r),s)}function gu(r,s){return function(l,p){var x=Ie(l)?R:Dv,k=s?s():{};return x(l,r,_e(p,2),k)}}function As(r){return Fe(function(s,l){var p=-1,x=l.length,k=x>1?l[x-1]:n,A=x>2?l[2]:n;for(k=r.length>3&&typeof k=="function"?(x--,k):n,A&&on(l[0],l[1],A)&&(k=x<3?n:k,x=1),s=le(s);++p<x;){var L=l[p];L&&r(s,L,p,k)}return s})}function Vh(r,s){return function(l,p){if(l==null)return l;if(!vn(l))return r(l,p);for(var x=l.length,k=s?x:-1,A=le(l);(s?k--:++k<x)&&p(A[k],k,A)!==!1;);return l}}function qh(r){return function(s,l,p){for(var x=-1,k=le(s),A=p(s),L=A.length;L--;){var Y=A[r?L:++x];if(l(k[Y],Y,k)===!1)break}return s}}function sb(r,s,l){var p=s&Z,x=$a(r);function k(){var A=this&&this!==mt&&this instanceof k?x:r;return A.apply(p?l:this,arguments)}return k}function Gh(r){return function(s){s=nt(s);var l=mn(s)?rn(s):n,p=l?l[0]:s.charAt(0),x=l?Ni(l,1).join(""):s.slice(1);return p[r]()+x}}function Rs(r){return function(s){return Ee(Vp(zp(s).replace(ba,"")),r,"")}}function $a(r){return function(){var s=arguments;switch(s.length){case 0:return new r;case 1:return new r(s[0]);case 2:return new r(s[0],s[1]);case 3:return new r(s[0],s[1],s[2]);case 4:return new r(s[0],s[1],s[2],s[3]);case 5:return new r(s[0],s[1],s[2],s[3],s[4]);case 6:return new r(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new r(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var l=Is(r.prototype),p=r.apply(l,s);return vt(p)?p:l}}function ab(r,s,l){var p=$a(r);function x(){for(var k=arguments.length,A=P(k),L=k,Y=Os(x);L--;)A[L]=arguments[L];var J=k<3&&A[0]!==Y&&A[k-1]!==Y?[]:En(A,Y);if(k-=J.length,k<l)return Qh(r,s,mu,x.placeholder,n,A,J,n,n,l-k);var Q=this&&this!==mt&&this instanceof x?p:r;return w(Q,this,A)}return x}function Kh(r){return function(s,l,p){var x=le(s);if(!vn(s)){var k=_e(l,3);s=jt(s),l=function(L){return k(x[L],L,x)}}var A=r(s,l,p);return A>-1?x[k?s[A]:A]:n}}function Zh(r){return ni(function(s){var l=s.length,p=l,x=Un.prototype.thru;for(r&&s.reverse();p--;){var k=s[p];if(typeof k!="function")throw new Le(f);if(x&&!A&&xu(k)=="wrapper")var A=new Un([],!0)}for(p=A?p:l;++p<l;){k=s[p];var L=xu(k),Y=L=="wrapper"?Xc(k):n;Y&&tf(Y[0])&&Y[1]==(h|pe|ne|Te)&&!Y[4].length&&Y[9]==1?A=A[xu(Y[0])].apply(A,Y[3]):A=k.length==1&&tf(k)?A[L]():A.thru(k)}return function(){var J=arguments,Q=J[0];if(A&&J.length==1&&Ie(Q))return A.plant(Q).value();for(var ee=0,oe=l?s[ee].apply(this,J):Q;++ee<l;)oe=s[ee].call(this,oe);return oe}})}function mu(r,s,l,p,x,k,A,L,Y,J){var Q=s&h,ee=s&Z,oe=s&W,ye=s&(pe|ae),Se=s&ce,Ne=oe?n:$a(r);function ke(){for(var Be=arguments.length,Ue=P(Be),In=Be;In--;)Ue[In]=arguments[In];if(ye)var un=Os(ke),An=Dn(Ue,un);if(p&&(Ue=Uh(Ue,p,x,ye)),k&&(Ue=zh(Ue,k,A,ye)),Be-=An,ye&&Be<J){var Ct=En(Ue,un);return Qh(r,s,mu,ke.placeholder,l,Ue,Ct,L,Y,J-Be)}var pr=ee?l:this,ai=oe?pr[r]:r;return Be=Ue.length,L?Ue=Db(Ue,L):Se&&Be>1&&Ue.reverse(),Q&&Y<Be&&(Ue.length=Y),this&&this!==mt&&this instanceof ke&&(ai=Ne||$a(ai)),ai.apply(pr,Ue)}return ke}function Xh(r,s){return function(l,p){return Pv(l,r,s(p),{})}}function yu(r,s){return function(l,p){var x;if(l===n&&p===n)return s;if(l!==n&&(x=l),p!==n){if(x===n)return p;typeof l=="string"||typeof p=="string"?(l=Tn(l),p=Tn(p)):(l=Lh(l),p=Lh(p)),x=r(l,p)}return x}}function qc(r){return ni(function(s){return s=fe(s,nn(_e())),Fe(function(l){var p=this;return r(s,function(x){return w(x,p,l)})})})}function vu(r,s){s=s===n?" ":Tn(s);var l=s.length;if(l<2)return l?Bc(s,r):s;var p=Bc(s,iu(r/Tr(s)));return mn(s)?Ni(rn(p),0,r).join(""):p.slice(0,r)}function ob(r,s,l,p){var x=s&Z,k=$a(r);function A(){for(var L=-1,Y=arguments.length,J=-1,Q=p.length,ee=P(Q+Y),oe=this&&this!==mt&&this instanceof A?k:r;++J<Q;)ee[J]=p[J];for(;Y--;)ee[J++]=arguments[++L];return w(oe,x?l:this,ee)}return A}function Jh(r){return function(s,l,p){return p&&typeof p!="number"&&on(s,l,p)&&(l=p=n),s=si(s),l===n?(l=s,s=0):l=si(l),p=p===n?s<l?1:-1:si(p),Vv(s,l,p,r)}}function bu(r){return function(s,l){return typeof s=="string"&&typeof l=="string"||(s=Gn(s),l=Gn(l)),r(s,l)}}function Qh(r,s,l,p,x,k,A,L,Y,J){var Q=s&pe,ee=Q?A:n,oe=Q?n:A,ye=Q?k:n,Se=Q?n:k;s|=Q?ne:ie,s&=~(Q?ie:ne),s&se||(s&=~(Z|W));var Ne=[r,s,x,ye,ee,Se,oe,L,Y,J],ke=l.apply(n,Ne);return tf(r)&&fp(ke,Ne),ke.placeholder=p,dp(ke,r,s)}function Gc(r){var s=ge[r];return function(l,p){if(l=Gn(l),p=p==null?0:Jt(Re(p),292),p&&dh(l)){var x=(nt(l)+"e").split("e"),k=s(x[0]+"e"+(+x[1]+p));return x=(nt(k)+"e").split("e"),+(x[0]+"e"+(+x[1]-p))}return s(l)}}var ub=Ts&&1/Xr(new Ts([,-0]))[1]==He?function(r){return new Ts(r)}:yf;function ep(r){return function(s){var l=Qt(s);return l==Gt?Ds(s):l==Yt?Da(s):cr(s,r(s))}}function ti(r,s,l,p,x,k,A,L){var Y=s&W;if(!Y&&typeof r!="function")throw new Le(f);var J=p?p.length:0;if(J||(s&=~(ne|ie),p=x=n),A=A===n?A:Ot(Re(A),0),L=L===n?L:Re(L),J-=x?x.length:0,s&ie){var Q=p,ee=x;p=x=n}var oe=Y?n:Xc(r),ye=[r,s,l,p,x,Q,ee,k,A,L];if(oe&&Sb(ye,oe),r=ye[0],s=ye[1],l=ye[2],p=ye[3],x=ye[4],L=ye[9]=ye[9]===n?Y?0:r.length:Ot(ye[9]-J,0),!L&&s&(pe|ae)&&(s&=~(pe|ae)),!s||s==Z)var Se=sb(r,s,l);else s==pe||s==ae?Se=ab(r,s,L):(s==ne||s==(Z|ne))&&!x.length?Se=ob(r,s,l,p):Se=mu.apply(n,ye);var Ne=oe?Ph:fp;return dp(Ne(Se,ye),r,s)}function tp(r,s,l,p){return r===n||hr(r,Rt[l])&&!De.call(p,l)?s:r}function np(r,s,l,p,x,k){return vt(r)&&vt(s)&&(k.set(s,r),du(r,s,n,np,k),k.delete(s)),r}function lb(r){return Ya(r)?n:r}function rp(r,s,l,p,x,k){var A=l&B,L=r.length,Y=s.length;if(L!=Y&&!(A&&Y>L))return!1;var J=k.get(r),Q=k.get(s);if(J&&Q)return J==s&&Q==r;var ee=-1,oe=!0,ye=l&$?new Qi:n;for(k.set(r,s),k.set(s,r);++ee<L;){var Se=r[ee],Ne=s[ee];if(p)var ke=A?p(Ne,Se,ee,s,r,k):p(Se,Ne,ee,r,s,k);if(ke!==n){if(ke)continue;oe=!1;break}if(ye){if(!yt(s,function(Be,Ue){if(!Ki(ye,Ue)&&(Se===Be||x(Se,Be,l,p,k)))return ye.push(Ue)})){oe=!1;break}}else if(!(Se===Ne||x(Se,Ne,l,p,k))){oe=!1;break}}return k.delete(r),k.delete(s),oe}function cb(r,s,l,p,x,k,A){switch(l){case xr:if(r.byteLength!=s.byteLength||r.byteOffset!=s.byteOffset)return!1;r=r.buffer,s=s.buffer;case br:return!(r.byteLength!=s.byteLength||!k(new eu(r),new eu(s)));case Hr:case Nt:case zr:return hr(+r,+s);case bi:return r.name==s.name&&r.message==s.message;case ar:case Lt:return r==s+"";case Gt:var L=Ds;case Yt:var Y=p&B;if(L||(L=Xr),r.size!=s.size&&!Y)return!1;var J=A.get(r);if(J)return J==s;p|=$,A.set(r,s);var Q=rp(L(r),L(s),p,x,k,A);return A.delete(r),Q;case $n:if(Ra)return Ra.call(r)==Ra.call(s)}return!1}function fb(r,s,l,p,x,k){var A=l&B,L=Kc(r),Y=L.length,J=Kc(s),Q=J.length;if(Y!=Q&&!A)return!1;for(var ee=Y;ee--;){var oe=L[ee];if(!(A?oe in s:De.call(s,oe)))return!1}var ye=k.get(r),Se=k.get(s);if(ye&&Se)return ye==s&&Se==r;var Ne=!0;k.set(r,s),k.set(s,r);for(var ke=A;++ee<Y;){oe=L[ee];var Be=r[oe],Ue=s[oe];if(p)var In=A?p(Ue,Be,oe,s,r,k):p(Be,Ue,oe,r,s,k);if(!(In===n?Be===Ue||x(Be,Ue,l,p,k):In)){Ne=!1;break}ke||(ke=oe=="constructor")}if(Ne&&!ke){var un=r.constructor,An=s.constructor;un!=An&&"constructor"in r&&"constructor"in s&&!(typeof un=="function"&&un instanceof un&&typeof An=="function"&&An instanceof An)&&(Ne=!1)}return k.delete(r),k.delete(s),Ne}function ni(r){return rf(lp(r,n,vp),r+"")}function Kc(r){return Sh(r,jt,Qc)}function Zc(r){return Sh(r,bn,ip)}var Xc=au?function(r){return au.get(r)}:yf;function xu(r){for(var s=r.name+"",l=Ms[s],p=De.call(Ms,s)?l.length:0;p--;){var x=l[p],k=x.func;if(k==null||k==r)return x.name}return s}function Os(r){var s=De.call(S,"placeholder")?S:r;return s.placeholder}function _e(){var r=S.iteratee||gf;return r=r===gf?Dh:r,arguments.length?r(arguments[0],arguments[1]):r}function wu(r,s){var l=r.__data__;return bb(s)?l[typeof s=="string"?"string":"hash"]:l.map}function Jc(r){for(var s=jt(r),l=s.length;l--;){var p=s[l],x=r[p];s[l]=[p,x,op(x)]}return s}function ns(r,s){var l=Ko(r,s);return Ch(l)?l:n}function db(r){var s=De.call(r,Xi),l=r[Xi];try{r[Xi]=n;var p=!0}catch{}var x=Jo.call(r);return p&&(s?r[Xi]=l:delete r[Xi]),x}var Qc=Dc?function(r){return r==null?[]:(r=le(r),G(Dc(r),function(s){return ch.call(r,s)}))}:vf,ip=Dc?function(r){for(var s=[];r;)Me(s,Qc(r)),r=tu(r);return s}:vf,Qt=an;(Ec&&Qt(new Ec(new ArrayBuffer(1)))!=xr||Ma&&Qt(new Ma)!=Gt||Tc&&Qt(Tc.resolve())!=fn||Ts&&Qt(new Ts)!=Yt||Ia&&Qt(new Ia)!=de)&&(Qt=function(r){var s=an(r),l=s==Kt?r.constructor:n,p=l?rs(l):"";if(p)switch(p){case Gy:return xr;case Ky:return Gt;case Zy:return fn;case Xy:return Yt;case Jy:return de}return s});function hb(r,s,l){for(var p=-1,x=l.length;++p<x;){var k=l[p],A=k.size;switch(k.type){case"drop":r+=A;break;case"dropRight":s-=A;break;case"take":s=Jt(s,r+A);break;case"takeRight":r=Ot(r,s-A);break}}return{start:r,end:s}}function pb(r){var s=r.match(ac);return s?s[1].split(oc):[]}function sp(r,s,l){s=Pi(s,r);for(var p=-1,x=s.length,k=!1;++p<x;){var A=Ar(s[p]);if(!(k=r!=null&&l(r,A)))break;r=r[A]}return k||++p!=x?k:(x=r==null?0:r.length,!!x&&Tu(x)&&ri(A,x)&&(Ie(r)||is(r)))}function gb(r){var s=r.length,l=new r.constructor(s);return s&&typeof r[0]=="string"&&De.call(r,"index")&&(l.index=r.index,l.input=r.input),l}function ap(r){return typeof r.constructor=="function"&&!ja(r)?Is(tu(r)):{}}function mb(r,s,l){var p=r.constructor;switch(s){case br:return Vc(r);case Hr:case Nt:return new p(+r);case xr:return Qv(r,l);case Ce:case Vr:case xi:case Bn:case dn:case or:case wr:case aa:case wi:return Wh(r,l);case Gt:return new p;case zr:case Lt:return new p(r);case ar:return eb(r);case Yt:return new p;case $n:return tb(r)}}function yb(r,s){var l=s.length;if(!l)return r;var p=l-1;return s[p]=(l>1?"& ":"")+s[p],s=s.join(l>2?", ":" "),r.replace(sc,`{
|
|
111
|
+
*/rl.exports;(function(e,t){(function(){var n,i="4.17.21",a=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",f="Expected a function",m="Invalid `variable` option passed into `_.template`",b="__lodash_hash_undefined__",_=500,E="__lodash_placeholder__",O=1,M=2,z=4,B=1,$=2,Z=1,W=2,se=4,pe=8,ae=16,ne=32,ie=64,h=128,Te=256,ce=512,et=30,Pe="...",Xe=800,xe=16,qe=1,ut=2,ht=3,He=1/0,we=9007199254740991,Ve=17976931348623157e292,lt=0/0,_t=4294967295,St=_t-1,Fn=_t>>>1,qt=[["ary",h],["bind",Z],["bindKey",W],["curry",pe],["curryRight",ae],["flip",ce],["partial",ne],["partialRight",ie],["rearg",Te]],Vt="[object Arguments]",sr="[object Array]",Wi="[object AsyncFunction]",Hr="[object Boolean]",Nt="[object Date]",cn="[object DOMException]",bi="[object Error]",Sn="[object Function]",Ur="[object GeneratorFunction]",Gt="[object Map]",zr="[object Number]",Hi="[object Null]",Kt="[object Object]",fn="[object Promise]",sa="[object Proxy]",ar="[object RegExp]",Yt="[object Set]",Lt="[object String]",$n="[object Symbol]",jn="[object Undefined]",de="[object WeakMap]",Ft="[object WeakSet]",br="[object ArrayBuffer]",xr="[object DataView]",Ce="[object Float32Array]",qr="[object Float64Array]",xi="[object Int8Array]",Bn="[object Int16Array]",dn="[object Int32Array]",or="[object Uint8Array]",wr="[object Uint8ClampedArray]",aa="[object Uint16Array]",wi="[object Uint32Array]",_o=/\b__p \+= '';/g,So=/\b(__p \+=) '' \+/g,rc=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Vr=/&(?:amp|lt|gt|quot|#39);/g,_i=/[&<>"']/g,ko=RegExp(Vr.source),Co=RegExp(_i.source),hn=/<%-([\s\S]+?)%>/g,Zt=/<%([\s\S]+?)%>/g,ys=/<%=([\s\S]+?)%>/g,ic=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Do=/^\w*$/,Eo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,_r=/[\\^$.*+?()[\]{}|]/g,Si=RegExp(_r.source),Ui=/^\s+/,vs=/\s/,sc=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ac=/\{\n\/\* \[wrapped with (.+)\] \*/,oc=/,? & /,To=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,uc=/[()=,{}\[\]\/\s]/,lc=/\\(\\)?/g,Mo=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Io=/\w*$/,ki=/^[-+]0x[0-9a-f]+$/i,Ao=/^0b[01]+$/i,oa=/^\[object .+?Constructor\]$/,ua=/^0o[0-7]+$/i,bs=/^(?:0|[1-9]\d*)$/,Ro=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xs=/($^)/,zi=/['\n\r\u2028\u2029\\]/g,qi="\\ud800-\\udfff",Oo="\\u0300-\\u036f",Po="\\ufe20-\\ufe2f",No="\\u20d0-\\u20ff",Lo=Oo+Po+No,ws="\\u2700-\\u27bf",Fo="a-z\\xdf-\\xf6\\xf8-\\xff",cc="\\xac\\xb1\\xd7\\xf7",$o="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",jo="\\u2000-\\u206f",la=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ca="A-Z\\xc0-\\xd6\\xd8-\\xde",Wt="\\ufe0e\\ufe0f",Gr=cc+$o+jo+la,Ci="['’]",fc="["+qi+"]",Bo="["+Gr+"]",Di="["+Lo+"]",fa="\\d+",_s="["+ws+"]",da="["+Fo+"]",Yo="[^"+qi+Gr+fa+ws+Fo+ca+"]",ha="\\ud83c[\\udffb-\\udfff]",kn="(?:"+Di+"|"+ha+")",pa="[^"+qi+"]",Kr="(?:\\ud83c[\\udde6-\\uddff]){2}",ga="[\\ud800-\\udbff][\\udc00-\\udfff]",Ei="["+ca+"]",Sr="\\u200d",kr="(?:"+da+"|"+Yo+")",ma="(?:"+Ei+"|"+Yo+")",Wo="(?:"+Ci+"(?:d|ll|m|re|s|t|ve))?",Ti="(?:"+Ci+"(?:D|LL|M|RE|S|T|VE))?",ya=kn+"?",Ss="["+Wt+"]?",Ho="(?:"+Sr+"(?:"+[pa,Kr,ga].join("|")+")"+Ss+ya+")*",Uo="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",dc="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",va=Ss+ya+Ho,hc="(?:"+[_s,Kr,ga].join("|")+")"+va,pc="(?:"+[pa+Di+"?",Di,Kr,ga,fc].join("|")+")",ba=RegExp(Ci,"g"),gc=RegExp(Di,"g"),xa=RegExp(ha+"(?="+ha+")|"+pc+va,"g"),mc=RegExp([Ei+"?"+da+"+"+Wo+"(?="+[Bo,Ei,"$"].join("|")+")",ma+"+"+Ti+"(?="+[Bo,Ei+kr,"$"].join("|")+")",Ei+"?"+kr+"+"+Wo,Ei+"+"+Ti,dc,Uo,fa,hc].join("|"),"g"),yc=RegExp("["+Sr+qi+Lo+Wt+"]"),vc=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,bc=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],xc=-1,at={};at[Ce]=at[qr]=at[xi]=at[Bn]=at[dn]=at[or]=at[wr]=at[aa]=at[wi]=!0,at[Vt]=at[sr]=at[br]=at[Hr]=at[xr]=at[Nt]=at[bi]=at[Sn]=at[Gt]=at[zr]=at[Kt]=at[ar]=at[Yt]=at[Lt]=at[de]=!1;var tt={};tt[Vt]=tt[sr]=tt[br]=tt[xr]=tt[Hr]=tt[Nt]=tt[Ce]=tt[qr]=tt[xi]=tt[Bn]=tt[dn]=tt[Gt]=tt[zr]=tt[Kt]=tt[ar]=tt[Yt]=tt[Lt]=tt[$n]=tt[or]=tt[wr]=tt[aa]=tt[wi]=!0,tt[bi]=tt[Sn]=tt[de]=!1;var zo={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},wa={"&":"&","<":"<",">":">",'"':""","'":"'"},qo={"&":"&","<":"<",">":">",""":'"',"'":"'"},Vo={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},_a=parseFloat,wc=parseInt,Go=typeof D.commonjsGlobal=="object"&&D.commonjsGlobal&&D.commonjsGlobal.Object===Object&&D.commonjsGlobal,_c=typeof self=="object"&&self&&self.Object===Object&&self,mt=Go||_c||Function("return this")(),ks=t&&!t.nodeType&&t,ur=ks&&!0&&e&&!e.nodeType&&e,Ko=ur&&ur.exports===ks,Sa=Ko&&Go.process,pn=function(){try{var C=ur&&ur.require&&ur.require("util").types;return C||Sa&&Sa.binding&&Sa.binding("util")}catch{}}(),o=pn&&pn.isArrayBuffer,c=pn&&pn.isDate,d=pn&&pn.isMap,g=pn&&pn.isRegExp,y=pn&&pn.isSet,v=pn&&pn.isTypedArray;function w(C,N,P){switch(P.length){case 0:return C.call(N);case 1:return C.call(N,P[0]);case 2:return C.call(N,P[0],P[1]);case 3:return C.call(N,P[0],P[1],P[2])}return C.apply(N,P)}function R(C,N,P,K){for(var X=-1,he=C==null?0:C.length;++X<he;){var ge=C[X];N(K,ge,P(ge),C)}return K}function I(C,N){for(var P=-1,K=C==null?0:C.length;++P<K&&N(C[P],P,C)!==!1;);return C}function j(C,N){for(var P=C==null?0:C.length;P--&&N(C[P],P,C)!==!1;);return C}function V(C,N){for(var P=-1,K=C==null?0:C.length;++P<K;)if(!N(C[P],P,C))return!1;return!0}function G(C,N){for(var P=-1,K=C==null?0:C.length,X=0,he=[];++P<K;){var ge=C[P];N(ge,P,C)&&(he[X++]=ge)}return he}function U(C,N){var P=C==null?0:C.length;return!!P&&rt(C,N,0)>-1}function te(C,N,P){for(var K=-1,X=C==null?0:C.length;++K<X;)if(P(N,C[K]))return!0;return!1}function fe(C,N){for(var P=-1,K=C==null?0:C.length,X=Array(K);++P<K;)X[P]=N(C[P],P,C);return X}function Me(C,N){for(var P=-1,K=N.length,X=C.length;++P<K;)C[X+P]=N[P];return C}function Ee(C,N,P,K){var X=-1,he=C==null?0:C.length;for(K&&he&&(P=C[++X]);++X<he;)P=N(P,C[X],X,C);return P}function It(C,N,P,K){var X=C==null?0:C.length;for(K&&X&&(P=C[--X]);X--;)P=N(P,C[X],X,C);return P}function yt(C,N){for(var P=-1,K=C==null?0:C.length;++P<K;)if(N(C[P],P,C))return!0;return!1}var Yn=Zr("length");function Wn(C){return C.split("")}function $e(C){return C.match(To)||[]}function Cr(C,N,P){var K;return P(C,function(X,he,ge){if(N(X,he,ge))return K=he,!1}),K}function je(C,N,P,K){for(var X=C.length,he=P+(K?1:-1);K?he--:++he<X;)if(N(C[he],he,C))return he;return-1}function rt(C,N,P){return N===N?Cc(C,N,P):je(C,Cs,P)}function Vi(C,N,P,K){for(var X=P-1,he=C.length;++X<he;)if(K(C[X],N))return X;return-1}function Cs(C){return C!==C}function Cn(C,N){var P=C==null?0:C.length;return P?Xt(C,N)/P:lt}function Zr(C){return function(N){return N==null?n:N[C]}}function gn(C){return function(N){return C==null?n:C[N]}}function lr(C,N,P,K,X){return X(C,function(he,ge,le){P=K?(K=!1,he):N(P,he,ge,le)}),P}function Dr(C,N){var P=C.length;for(C.sort(N);P--;)C[P]=C[P].value;return C}function Xt(C,N){for(var P,K=-1,X=C.length;++K<X;){var he=N(C[K]);he!==n&&(P=P===n?he:P+he)}return P}function Gi(C,N){for(var P=-1,K=Array(C);++P<C;)K[P]=N(P);return K}function cr(C,N){return fe(N,function(P){return[P,C[P]]})}function Hn(C){return C&&C.slice(0,Xo(C)+1).replace(Ui,"")}function nn(C){return function(N){return C(N)}}function ka(C,N){return fe(N,function(P){return C[P]})}function Ki(C,N){return C.has(N)}function Ge(C,N){for(var P=-1,K=C.length;++P<K&&rt(N,C[P],0)>-1;);return P}function Zi(C,N){for(var P=C.length;P--&&rt(N,C[P],0)>-1;);return P}function Dn(C,N){for(var P=C.length,K=0;P--;)C[P]===N&&++K;return K}var Mi=gn(zo),Sc=gn(wa);function kc(C){return"\\"+Vo[C]}function Zo(C,N){return C==null?n:C[N]}function mn(C){return yc.test(C)}function Ca(C){return vc.test(C)}function Er(C){for(var N,P=[];!(N=C.next()).done;)P.push(N.value);return P}function Ds(C){var N=-1,P=Array(C.size);return C.forEach(function(K,X){P[++N]=[X,K]}),P}function Ii(C,N){return function(P){return C(N(P))}}function En(C,N){for(var P=-1,K=C.length,X=0,he=[];++P<K;){var ge=C[P];(ge===N||ge===E)&&(C[P]=E,he[X++]=P)}return he}function Xr(C){var N=-1,P=Array(C.size);return C.forEach(function(K){P[++N]=K}),P}function Da(C){var N=-1,P=Array(C.size);return C.forEach(function(K){P[++N]=[K,K]}),P}function Cc(C,N,P){for(var K=P-1,X=C.length;++K<X;)if(C[K]===N)return K;return-1}function Es(C,N,P){for(var K=P+1;K--;)if(C[K]===N)return K;return K}function Tr(C){return mn(C)?Jo(C):Yn(C)}function rn(C){return mn(C)?T(C):Wn(C)}function Xo(C){for(var N=C.length;N--&&vs.test(C.charAt(N)););return N}var Ea=gn(qo);function Jo(C){for(var N=xa.lastIndex=0;xa.test(C);)++N;return N}function T(C){return C.match(xa)||[]}function F(C){return C.match(mc)||[]}var H=function C(N){N=N==null?mt:q.defaults(mt.Object(),N,q.pick(mt,bc));var P=N.Array,K=N.Date,X=N.Error,he=N.Function,ge=N.Math,le=N.Object,Ae=N.RegExp,be=N.String,Le=N.TypeError,At=P.prototype,$t=he.prototype,Rt=le.prototype,sn=N["__core-js_shared__"],fr=$t.toString,De=Rt.hasOwnProperty,Ly=0,uh=function(){var r=/[^.]+$/.exec(sn&&sn.keys&&sn.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}(),Qo=Rt.toString,Fy=fr.call(le),$y=mt._,jy=Ae("^"+fr.call(De).replace(_r,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),eu=Ko?N.Buffer:n,Ai=N.Symbol,tu=N.Uint8Array,lh=eu?eu.allocUnsafe:n,nu=Ii(le.getPrototypeOf,le),ch=le.create,fh=Rt.propertyIsEnumerable,ru=At.splice,dh=Ai?Ai.isConcatSpreadable:n,Ta=Ai?Ai.iterator:n,Xi=Ai?Ai.toStringTag:n,iu=function(){try{var r=ns(le,"defineProperty");return r({},"",{}),r}catch{}}(),By=N.clearTimeout!==mt.clearTimeout&&N.clearTimeout,Yy=K&&K.now!==mt.Date.now&&K.now,Wy=N.setTimeout!==mt.setTimeout&&N.setTimeout,su=ge.ceil,au=ge.floor,Dc=le.getOwnPropertySymbols,Hy=eu?eu.isBuffer:n,hh=N.isFinite,Uy=At.join,zy=Ii(le.keys,le),Ot=ge.max,Jt=ge.min,qy=K.now,Vy=N.parseInt,ph=ge.random,Gy=At.reverse,Ec=ns(N,"DataView"),Ma=ns(N,"Map"),Tc=ns(N,"Promise"),Ts=ns(N,"Set"),Ia=ns(N,"WeakMap"),Aa=ns(le,"create"),ou=Ia&&new Ia,Ms={},Ky=rs(Ec),Zy=rs(Ma),Xy=rs(Tc),Jy=rs(Ts),Qy=rs(Ia),uu=Ai?Ai.prototype:n,Ra=uu?uu.valueOf:n,gh=uu?uu.toString:n;function S(r){if(bt(r)&&!Ie(r)&&!(r instanceof Ye)){if(r instanceof Un)return r;if(De.call(r,"__wrapped__"))return mp(r)}return new Un(r)}var Is=function(){function r(){}return function(s){if(!vt(s))return{};if(ch)return ch(s);r.prototype=s;var l=new r;return r.prototype=n,l}}();function lu(){}function Un(r,s){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=n}S.templateSettings={escape:hn,evaluate:Zt,interpolate:ys,variable:"",imports:{_:S}},S.prototype=lu.prototype,S.prototype.constructor=S,Un.prototype=Is(lu.prototype),Un.prototype.constructor=Un;function Ye(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=_t,this.__views__=[]}function ev(){var r=new Ye(this.__wrapped__);return r.__actions__=yn(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=yn(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=yn(this.__views__),r}function tv(){if(this.__filtered__){var r=new Ye(this);r.__dir__=-1,r.__filtered__=!0}else r=this.clone(),r.__dir__*=-1;return r}function nv(){var r=this.__wrapped__.value(),s=this.__dir__,l=Ie(r),p=s<0,x=l?r.length:0,k=pb(0,x,this.__views__),A=k.start,L=k.end,Y=L-A,J=p?L:A-1,Q=this.__iteratees__,ee=Q.length,oe=0,ye=Jt(Y,this.__takeCount__);if(!l||!p&&x==Y&&ye==Y)return jh(r,this.__actions__);var Se=[];e:for(;Y--&&oe<ye;){J+=s;for(var Ne=-1,ke=r[J];++Ne<ee;){var Be=Q[Ne],Ue=Be.iteratee,In=Be.type,un=Ue(ke);if(In==ut)ke=un;else if(!un){if(In==qe)continue e;break e}}Se[oe++]=ke}return Se}Ye.prototype=Is(lu.prototype),Ye.prototype.constructor=Ye;function Ji(r){var s=-1,l=r==null?0:r.length;for(this.clear();++s<l;){var p=r[s];this.set(p[0],p[1])}}function rv(){this.__data__=Aa?Aa(null):{},this.size=0}function iv(r){var s=this.has(r)&&delete this.__data__[r];return this.size-=s?1:0,s}function sv(r){var s=this.__data__;if(Aa){var l=s[r];return l===b?n:l}return De.call(s,r)?s[r]:n}function av(r){var s=this.__data__;return Aa?s[r]!==n:De.call(s,r)}function ov(r,s){var l=this.__data__;return this.size+=this.has(r)?0:1,l[r]=Aa&&s===n?b:s,this}Ji.prototype.clear=rv,Ji.prototype.delete=iv,Ji.prototype.get=sv,Ji.prototype.has=av,Ji.prototype.set=ov;function Jr(r){var s=-1,l=r==null?0:r.length;for(this.clear();++s<l;){var p=r[s];this.set(p[0],p[1])}}function uv(){this.__data__=[],this.size=0}function lv(r){var s=this.__data__,l=cu(s,r);if(l<0)return!1;var p=s.length-1;return l==p?s.pop():ru.call(s,l,1),--this.size,!0}function cv(r){var s=this.__data__,l=cu(s,r);return l<0?n:s[l][1]}function fv(r){return cu(this.__data__,r)>-1}function dv(r,s){var l=this.__data__,p=cu(l,r);return p<0?(++this.size,l.push([r,s])):l[p][1]=s,this}Jr.prototype.clear=uv,Jr.prototype.delete=lv,Jr.prototype.get=cv,Jr.prototype.has=fv,Jr.prototype.set=dv;function Qr(r){var s=-1,l=r==null?0:r.length;for(this.clear();++s<l;){var p=r[s];this.set(p[0],p[1])}}function hv(){this.size=0,this.__data__={hash:new Ji,map:new(Ma||Jr),string:new Ji}}function pv(r){var s=_u(this,r).delete(r);return this.size-=s?1:0,s}function gv(r){return _u(this,r).get(r)}function mv(r){return _u(this,r).has(r)}function yv(r,s){var l=_u(this,r),p=l.size;return l.set(r,s),this.size+=l.size==p?0:1,this}Qr.prototype.clear=hv,Qr.prototype.delete=pv,Qr.prototype.get=gv,Qr.prototype.has=mv,Qr.prototype.set=yv;function Qi(r){var s=-1,l=r==null?0:r.length;for(this.__data__=new Qr;++s<l;)this.add(r[s])}function vv(r){return this.__data__.set(r,b),this}function bv(r){return this.__data__.has(r)}Qi.prototype.add=Qi.prototype.push=vv,Qi.prototype.has=bv;function dr(r){var s=this.__data__=new Jr(r);this.size=s.size}function xv(){this.__data__=new Jr,this.size=0}function wv(r){var s=this.__data__,l=s.delete(r);return this.size=s.size,l}function _v(r){return this.__data__.get(r)}function Sv(r){return this.__data__.has(r)}function kv(r,s){var l=this.__data__;if(l instanceof Jr){var p=l.__data__;if(!Ma||p.length<a-1)return p.push([r,s]),this.size=++l.size,this;l=this.__data__=new Qr(p)}return l.set(r,s),this.size=l.size,this}dr.prototype.clear=xv,dr.prototype.delete=wv,dr.prototype.get=_v,dr.prototype.has=Sv,dr.prototype.set=kv;function mh(r,s){var l=Ie(r),p=!l&&is(r),x=!l&&!p&&Li(r),k=!l&&!p&&!x&&Ps(r),A=l||p||x||k,L=A?Gi(r.length,be):[],Y=L.length;for(var J in r)(s||De.call(r,J))&&!(A&&(J=="length"||x&&(J=="offset"||J=="parent")||k&&(J=="buffer"||J=="byteLength"||J=="byteOffset")||ri(J,Y)))&&L.push(J);return L}function yh(r){var s=r.length;return s?r[jc(0,s-1)]:n}function Cv(r,s){return Su(yn(r),es(s,0,r.length))}function Dv(r){return Su(yn(r))}function Mc(r,s,l){(l!==n&&!hr(r[s],l)||l===n&&!(s in r))&&ei(r,s,l)}function Oa(r,s,l){var p=r[s];(!(De.call(r,s)&&hr(p,l))||l===n&&!(s in r))&&ei(r,s,l)}function cu(r,s){for(var l=r.length;l--;)if(hr(r[l][0],s))return l;return-1}function Ev(r,s,l,p){return Ri(r,function(x,k,A){s(p,x,l(x),A)}),p}function vh(r,s){return r&&Ir(s,jt(s),r)}function Tv(r,s){return r&&Ir(s,bn(s),r)}function ei(r,s,l){s=="__proto__"&&iu?iu(r,s,{configurable:!0,enumerable:!0,value:l,writable:!0}):r[s]=l}function Ic(r,s){for(var l=-1,p=s.length,x=P(p),k=r==null;++l<p;)x[l]=k?n:ff(r,s[l]);return x}function es(r,s,l){return r===r&&(l!==n&&(r=r<=l?r:l),s!==n&&(r=r>=s?r:s)),r}function zn(r,s,l,p,x,k){var A,L=s&O,Y=s&M,J=s&z;if(l&&(A=x?l(r,p,x,k):l(r)),A!==n)return A;if(!vt(r))return r;var Q=Ie(r);if(Q){if(A=mb(r),!L)return yn(r,A)}else{var ee=Qt(r),oe=ee==Sn||ee==Ur;if(Li(r))return Wh(r,L);if(ee==Kt||ee==Vt||oe&&!x){if(A=Y||oe?{}:op(r),!L)return Y?sb(r,Tv(A,r)):ib(r,vh(A,r))}else{if(!tt[ee])return x?r:{};A=yb(r,ee,L)}}k||(k=new dr);var ye=k.get(r);if(ye)return ye;k.set(r,A),Lp(r)?r.forEach(function(ke){A.add(zn(ke,s,l,ke,r,k))}):Pp(r)&&r.forEach(function(ke,Be){A.set(Be,zn(ke,s,l,Be,r,k))});var Se=J?Y?Zc:Kc:Y?bn:jt,Ne=Q?n:Se(r);return I(Ne||r,function(ke,Be){Ne&&(Be=ke,ke=r[Be]),Oa(A,Be,zn(ke,s,l,Be,r,k))}),A}function Mv(r){var s=jt(r);return function(l){return bh(l,r,s)}}function bh(r,s,l){var p=l.length;if(r==null)return!p;for(r=le(r);p--;){var x=l[p],k=s[x],A=r[x];if(A===n&&!(x in r)||!k(A))return!1}return!0}function xh(r,s,l){if(typeof r!="function")throw new Le(f);return Ba(function(){r.apply(n,l)},s)}function Pa(r,s,l,p){var x=-1,k=U,A=!0,L=r.length,Y=[],J=s.length;if(!L)return Y;l&&(s=fe(s,nn(l))),p?(k=te,A=!1):s.length>=a&&(k=Ki,A=!1,s=new Qi(s));e:for(;++x<L;){var Q=r[x],ee=l==null?Q:l(Q);if(Q=p||Q!==0?Q:0,A&&ee===ee){for(var oe=J;oe--;)if(s[oe]===ee)continue e;Y.push(Q)}else k(s,ee,p)||Y.push(Q)}return Y}var Ri=Vh(Mr),wh=Vh(Rc,!0);function Iv(r,s){var l=!0;return Ri(r,function(p,x,k){return l=!!s(p,x,k),l}),l}function fu(r,s,l){for(var p=-1,x=r.length;++p<x;){var k=r[p],A=s(k);if(A!=null&&(L===n?A===A&&!Mn(A):l(A,L)))var L=A,Y=k}return Y}function Av(r,s,l,p){var x=r.length;for(l=Re(l),l<0&&(l=-l>x?0:x+l),p=p===n||p>x?x:Re(p),p<0&&(p+=x),p=l>p?0:$p(p);l<p;)r[l++]=s;return r}function _h(r,s){var l=[];return Ri(r,function(p,x,k){s(p,x,k)&&l.push(p)}),l}function Ht(r,s,l,p,x){var k=-1,A=r.length;for(l||(l=bb),x||(x=[]);++k<A;){var L=r[k];s>0&&l(L)?s>1?Ht(L,s-1,l,p,x):Me(x,L):p||(x[x.length]=L)}return x}var Ac=Gh(),Sh=Gh(!0);function Mr(r,s){return r&&Ac(r,s,jt)}function Rc(r,s){return r&&Sh(r,s,jt)}function du(r,s){return G(s,function(l){return ii(r[l])})}function ts(r,s){s=Pi(s,r);for(var l=0,p=s.length;r!=null&&l<p;)r=r[Ar(s[l++])];return l&&l==p?r:n}function kh(r,s,l){var p=s(r);return Ie(r)?p:Me(p,l(r))}function an(r){return r==null?r===n?jn:Hi:Xi&&Xi in le(r)?hb(r):Db(r)}function Oc(r,s){return r>s}function Rv(r,s){return r!=null&&De.call(r,s)}function Ov(r,s){return r!=null&&s in le(r)}function Pv(r,s,l){return r>=Jt(s,l)&&r<Ot(s,l)}function Pc(r,s,l){for(var p=l?te:U,x=r[0].length,k=r.length,A=k,L=P(k),Y=1/0,J=[];A--;){var Q=r[A];A&&s&&(Q=fe(Q,nn(s))),Y=Jt(Q.length,Y),L[A]=!l&&(s||x>=120&&Q.length>=120)?new Qi(A&&Q):n}Q=r[0];var ee=-1,oe=L[0];e:for(;++ee<x&&J.length<Y;){var ye=Q[ee],Se=s?s(ye):ye;if(ye=l||ye!==0?ye:0,!(oe?Ki(oe,Se):p(J,Se,l))){for(A=k;--A;){var Ne=L[A];if(!(Ne?Ki(Ne,Se):p(r[A],Se,l)))continue e}oe&&oe.push(Se),J.push(ye)}}return J}function Nv(r,s,l,p){return Mr(r,function(x,k,A){s(p,l(x),k,A)}),p}function Na(r,s,l){s=Pi(s,r),r=fp(r,s);var p=r==null?r:r[Ar(Vn(s))];return p==null?n:w(p,r,l)}function Ch(r){return bt(r)&&an(r)==Vt}function Lv(r){return bt(r)&&an(r)==br}function Fv(r){return bt(r)&&an(r)==Nt}function La(r,s,l,p,x){return r===s?!0:r==null||s==null||!bt(r)&&!bt(s)?r!==r&&s!==s:$v(r,s,l,p,La,x)}function $v(r,s,l,p,x,k){var A=Ie(r),L=Ie(s),Y=A?sr:Qt(r),J=L?sr:Qt(s);Y=Y==Vt?Kt:Y,J=J==Vt?Kt:J;var Q=Y==Kt,ee=J==Kt,oe=Y==J;if(oe&&Li(r)){if(!Li(s))return!1;A=!0,Q=!1}if(oe&&!Q)return k||(k=new dr),A||Ps(r)?ip(r,s,l,p,x,k):fb(r,s,Y,l,p,x,k);if(!(l&B)){var ye=Q&&De.call(r,"__wrapped__"),Se=ee&&De.call(s,"__wrapped__");if(ye||Se){var Ne=ye?r.value():r,ke=Se?s.value():s;return k||(k=new dr),x(Ne,ke,l,p,k)}}return oe?(k||(k=new dr),db(r,s,l,p,x,k)):!1}function jv(r){return bt(r)&&Qt(r)==Gt}function Nc(r,s,l,p){var x=l.length,k=x,A=!p;if(r==null)return!k;for(r=le(r);x--;){var L=l[x];if(A&&L[2]?L[1]!==r[L[0]]:!(L[0]in r))return!1}for(;++x<k;){L=l[x];var Y=L[0],J=r[Y],Q=L[1];if(A&&L[2]){if(J===n&&!(Y in r))return!1}else{var ee=new dr;if(p)var oe=p(J,Q,Y,r,s,ee);if(!(oe===n?La(Q,J,B|$,p,ee):oe))return!1}}return!0}function Dh(r){if(!vt(r)||wb(r))return!1;var s=ii(r)?jy:oa;return s.test(rs(r))}function Bv(r){return bt(r)&&an(r)==ar}function Yv(r){return bt(r)&&Qt(r)==Yt}function Wv(r){return bt(r)&&Mu(r.length)&&!!at[an(r)]}function Eh(r){return typeof r=="function"?r:r==null?xn:typeof r=="object"?Ie(r)?Ih(r[0],r[1]):Mh(r):Kp(r)}function Lc(r){if(!ja(r))return zy(r);var s=[];for(var l in le(r))De.call(r,l)&&l!="constructor"&&s.push(l);return s}function Hv(r){if(!vt(r))return Cb(r);var s=ja(r),l=[];for(var p in r)p=="constructor"&&(s||!De.call(r,p))||l.push(p);return l}function Fc(r,s){return r<s}function Th(r,s){var l=-1,p=vn(r)?P(r.length):[];return Ri(r,function(x,k,A){p[++l]=s(x,k,A)}),p}function Mh(r){var s=Jc(r);return s.length==1&&s[0][2]?lp(s[0][0],s[0][1]):function(l){return l===r||Nc(l,r,s)}}function Ih(r,s){return ef(r)&&up(s)?lp(Ar(r),s):function(l){var p=ff(l,r);return p===n&&p===s?df(l,r):La(s,p,B|$)}}function hu(r,s,l,p,x){r!==s&&Ac(s,function(k,A){if(x||(x=new dr),vt(k))Uv(r,s,A,l,hu,p,x);else{var L=p?p(nf(r,A),k,A+"",r,s,x):n;L===n&&(L=k),Mc(r,A,L)}},bn)}function Uv(r,s,l,p,x,k,A){var L=nf(r,l),Y=nf(s,l),J=A.get(Y);if(J){Mc(r,l,J);return}var Q=k?k(L,Y,l+"",r,s,A):n,ee=Q===n;if(ee){var oe=Ie(Y),ye=!oe&&Li(Y),Se=!oe&&!ye&&Ps(Y);Q=Y,oe||ye||Se?Ie(L)?Q=L:kt(L)?Q=yn(L):ye?(ee=!1,Q=Wh(Y,!0)):Se?(ee=!1,Q=Hh(Y,!0)):Q=[]:Ya(Y)||is(Y)?(Q=L,is(L)?Q=jp(L):(!vt(L)||ii(L))&&(Q=op(Y))):ee=!1}ee&&(A.set(Y,Q),x(Q,Y,p,k,A),A.delete(Y)),Mc(r,l,Q)}function Ah(r,s){var l=r.length;if(l)return s+=s<0?l:0,ri(s,l)?r[s]:n}function Rh(r,s,l){s.length?s=fe(s,function(k){return Ie(k)?function(A){return ts(A,k.length===1?k[0]:k)}:k}):s=[xn];var p=-1;s=fe(s,nn(_e()));var x=Th(r,function(k,A,L){var Y=fe(s,function(J){return J(k)});return{criteria:Y,index:++p,value:k}});return Dr(x,function(k,A){return rb(k,A,l)})}function zv(r,s){return Oh(r,s,function(l,p){return df(r,p)})}function Oh(r,s,l){for(var p=-1,x=s.length,k={};++p<x;){var A=s[p],L=ts(r,A);l(L,A)&&Fa(k,Pi(A,r),L)}return k}function qv(r){return function(s){return ts(s,r)}}function $c(r,s,l,p){var x=p?Vi:rt,k=-1,A=s.length,L=r;for(r===s&&(s=yn(s)),l&&(L=fe(r,nn(l)));++k<A;)for(var Y=0,J=s[k],Q=l?l(J):J;(Y=x(L,Q,Y,p))>-1;)L!==r&&ru.call(L,Y,1),ru.call(r,Y,1);return r}function Ph(r,s){for(var l=r?s.length:0,p=l-1;l--;){var x=s[l];if(l==p||x!==k){var k=x;ri(x)?ru.call(r,x,1):Wc(r,x)}}return r}function jc(r,s){return r+au(ph()*(s-r+1))}function Vv(r,s,l,p){for(var x=-1,k=Ot(su((s-r)/(l||1)),0),A=P(k);k--;)A[p?k:++x]=r,r+=l;return A}function Bc(r,s){var l="";if(!r||s<1||s>we)return l;do s%2&&(l+=r),s=au(s/2),s&&(r+=r);while(s);return l}function Fe(r,s){return rf(cp(r,s,xn),r+"")}function Gv(r){return yh(Ns(r))}function Kv(r,s){var l=Ns(r);return Su(l,es(s,0,l.length))}function Fa(r,s,l,p){if(!vt(r))return r;s=Pi(s,r);for(var x=-1,k=s.length,A=k-1,L=r;L!=null&&++x<k;){var Y=Ar(s[x]),J=l;if(Y==="__proto__"||Y==="constructor"||Y==="prototype")return r;if(x!=A){var Q=L[Y];J=p?p(Q,Y,L):n,J===n&&(J=vt(Q)?Q:ri(s[x+1])?[]:{})}Oa(L,Y,J),L=L[Y]}return r}var Nh=ou?function(r,s){return ou.set(r,s),r}:xn,Zv=iu?function(r,s){return iu(r,"toString",{configurable:!0,enumerable:!1,value:pf(s),writable:!0})}:xn;function Xv(r){return Su(Ns(r))}function qn(r,s,l){var p=-1,x=r.length;s<0&&(s=-s>x?0:x+s),l=l>x?x:l,l<0&&(l+=x),x=s>l?0:l-s>>>0,s>>>=0;for(var k=P(x);++p<x;)k[p]=r[p+s];return k}function Jv(r,s){var l;return Ri(r,function(p,x,k){return l=s(p,x,k),!l}),!!l}function pu(r,s,l){var p=0,x=r==null?p:r.length;if(typeof s=="number"&&s===s&&x<=Fn){for(;p<x;){var k=p+x>>>1,A=r[k];A!==null&&!Mn(A)&&(l?A<=s:A<s)?p=k+1:x=k}return x}return Yc(r,s,xn,l)}function Yc(r,s,l,p){var x=0,k=r==null?0:r.length;if(k===0)return 0;s=l(s);for(var A=s!==s,L=s===null,Y=Mn(s),J=s===n;x<k;){var Q=au((x+k)/2),ee=l(r[Q]),oe=ee!==n,ye=ee===null,Se=ee===ee,Ne=Mn(ee);if(A)var ke=p||Se;else J?ke=Se&&(p||oe):L?ke=Se&&oe&&(p||!ye):Y?ke=Se&&oe&&!ye&&(p||!Ne):ye||Ne?ke=!1:ke=p?ee<=s:ee<s;ke?x=Q+1:k=Q}return Jt(k,St)}function Lh(r,s){for(var l=-1,p=r.length,x=0,k=[];++l<p;){var A=r[l],L=s?s(A):A;if(!l||!hr(L,Y)){var Y=L;k[x++]=A===0?0:A}}return k}function Fh(r){return typeof r=="number"?r:Mn(r)?lt:+r}function Tn(r){if(typeof r=="string")return r;if(Ie(r))return fe(r,Tn)+"";if(Mn(r))return gh?gh.call(r):"";var s=r+"";return s=="0"&&1/r==-He?"-0":s}function Oi(r,s,l){var p=-1,x=U,k=r.length,A=!0,L=[],Y=L;if(l)A=!1,x=te;else if(k>=a){var J=s?null:lb(r);if(J)return Xr(J);A=!1,x=Ki,Y=new Qi}else Y=s?[]:L;e:for(;++p<k;){var Q=r[p],ee=s?s(Q):Q;if(Q=l||Q!==0?Q:0,A&&ee===ee){for(var oe=Y.length;oe--;)if(Y[oe]===ee)continue e;s&&Y.push(ee),L.push(Q)}else x(Y,ee,l)||(Y!==L&&Y.push(ee),L.push(Q))}return L}function Wc(r,s){return s=Pi(s,r),r=fp(r,s),r==null||delete r[Ar(Vn(s))]}function $h(r,s,l,p){return Fa(r,s,l(ts(r,s)),p)}function gu(r,s,l,p){for(var x=r.length,k=p?x:-1;(p?k--:++k<x)&&s(r[k],k,r););return l?qn(r,p?0:k,p?k+1:x):qn(r,p?k+1:0,p?x:k)}function jh(r,s){var l=r;return l instanceof Ye&&(l=l.value()),Ee(s,function(p,x){return x.func.apply(x.thisArg,Me([p],x.args))},l)}function Hc(r,s,l){var p=r.length;if(p<2)return p?Oi(r[0]):[];for(var x=-1,k=P(p);++x<p;)for(var A=r[x],L=-1;++L<p;)L!=x&&(k[x]=Pa(k[x]||A,r[L],s,l));return Oi(Ht(k,1),s,l)}function Bh(r,s,l){for(var p=-1,x=r.length,k=s.length,A={};++p<x;){var L=p<k?s[p]:n;l(A,r[p],L)}return A}function Uc(r){return kt(r)?r:[]}function zc(r){return typeof r=="function"?r:xn}function Pi(r,s){return Ie(r)?r:ef(r,s)?[r]:gp(nt(r))}var Qv=Fe;function Ni(r,s,l){var p=r.length;return l=l===n?p:l,!s&&l>=p?r:qn(r,s,l)}var Yh=By||function(r){return mt.clearTimeout(r)};function Wh(r,s){if(s)return r.slice();var l=r.length,p=lh?lh(l):new r.constructor(l);return r.copy(p),p}function qc(r){var s=new r.constructor(r.byteLength);return new tu(s).set(new tu(r)),s}function eb(r,s){var l=s?qc(r.buffer):r.buffer;return new r.constructor(l,r.byteOffset,r.byteLength)}function tb(r){var s=new r.constructor(r.source,Io.exec(r));return s.lastIndex=r.lastIndex,s}function nb(r){return Ra?le(Ra.call(r)):{}}function Hh(r,s){var l=s?qc(r.buffer):r.buffer;return new r.constructor(l,r.byteOffset,r.length)}function Uh(r,s){if(r!==s){var l=r!==n,p=r===null,x=r===r,k=Mn(r),A=s!==n,L=s===null,Y=s===s,J=Mn(s);if(!L&&!J&&!k&&r>s||k&&A&&Y&&!L&&!J||p&&A&&Y||!l&&Y||!x)return 1;if(!p&&!k&&!J&&r<s||J&&l&&x&&!p&&!k||L&&l&&x||!A&&x||!Y)return-1}return 0}function rb(r,s,l){for(var p=-1,x=r.criteria,k=s.criteria,A=x.length,L=l.length;++p<A;){var Y=Uh(x[p],k[p]);if(Y){if(p>=L)return Y;var J=l[p];return Y*(J=="desc"?-1:1)}}return r.index-s.index}function zh(r,s,l,p){for(var x=-1,k=r.length,A=l.length,L=-1,Y=s.length,J=Ot(k-A,0),Q=P(Y+J),ee=!p;++L<Y;)Q[L]=s[L];for(;++x<A;)(ee||x<k)&&(Q[l[x]]=r[x]);for(;J--;)Q[L++]=r[x++];return Q}function qh(r,s,l,p){for(var x=-1,k=r.length,A=-1,L=l.length,Y=-1,J=s.length,Q=Ot(k-L,0),ee=P(Q+J),oe=!p;++x<Q;)ee[x]=r[x];for(var ye=x;++Y<J;)ee[ye+Y]=s[Y];for(;++A<L;)(oe||x<k)&&(ee[ye+l[A]]=r[x++]);return ee}function yn(r,s){var l=-1,p=r.length;for(s||(s=P(p));++l<p;)s[l]=r[l];return s}function Ir(r,s,l,p){var x=!l;l||(l={});for(var k=-1,A=s.length;++k<A;){var L=s[k],Y=p?p(l[L],r[L],L,l,r):n;Y===n&&(Y=r[L]),x?ei(l,L,Y):Oa(l,L,Y)}return l}function ib(r,s){return Ir(r,Qc(r),s)}function sb(r,s){return Ir(r,sp(r),s)}function mu(r,s){return function(l,p){var x=Ie(l)?R:Ev,k=s?s():{};return x(l,r,_e(p,2),k)}}function As(r){return Fe(function(s,l){var p=-1,x=l.length,k=x>1?l[x-1]:n,A=x>2?l[2]:n;for(k=r.length>3&&typeof k=="function"?(x--,k):n,A&&on(l[0],l[1],A)&&(k=x<3?n:k,x=1),s=le(s);++p<x;){var L=l[p];L&&r(s,L,p,k)}return s})}function Vh(r,s){return function(l,p){if(l==null)return l;if(!vn(l))return r(l,p);for(var x=l.length,k=s?x:-1,A=le(l);(s?k--:++k<x)&&p(A[k],k,A)!==!1;);return l}}function Gh(r){return function(s,l,p){for(var x=-1,k=le(s),A=p(s),L=A.length;L--;){var Y=A[r?L:++x];if(l(k[Y],Y,k)===!1)break}return s}}function ab(r,s,l){var p=s&Z,x=$a(r);function k(){var A=this&&this!==mt&&this instanceof k?x:r;return A.apply(p?l:this,arguments)}return k}function Kh(r){return function(s){s=nt(s);var l=mn(s)?rn(s):n,p=l?l[0]:s.charAt(0),x=l?Ni(l,1).join(""):s.slice(1);return p[r]()+x}}function Rs(r){return function(s){return Ee(Vp(qp(s).replace(ba,"")),r,"")}}function $a(r){return function(){var s=arguments;switch(s.length){case 0:return new r;case 1:return new r(s[0]);case 2:return new r(s[0],s[1]);case 3:return new r(s[0],s[1],s[2]);case 4:return new r(s[0],s[1],s[2],s[3]);case 5:return new r(s[0],s[1],s[2],s[3],s[4]);case 6:return new r(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new r(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var l=Is(r.prototype),p=r.apply(l,s);return vt(p)?p:l}}function ob(r,s,l){var p=$a(r);function x(){for(var k=arguments.length,A=P(k),L=k,Y=Os(x);L--;)A[L]=arguments[L];var J=k<3&&A[0]!==Y&&A[k-1]!==Y?[]:En(A,Y);if(k-=J.length,k<l)return ep(r,s,yu,x.placeholder,n,A,J,n,n,l-k);var Q=this&&this!==mt&&this instanceof x?p:r;return w(Q,this,A)}return x}function Zh(r){return function(s,l,p){var x=le(s);if(!vn(s)){var k=_e(l,3);s=jt(s),l=function(L){return k(x[L],L,x)}}var A=r(s,l,p);return A>-1?x[k?s[A]:A]:n}}function Xh(r){return ni(function(s){var l=s.length,p=l,x=Un.prototype.thru;for(r&&s.reverse();p--;){var k=s[p];if(typeof k!="function")throw new Le(f);if(x&&!A&&wu(k)=="wrapper")var A=new Un([],!0)}for(p=A?p:l;++p<l;){k=s[p];var L=wu(k),Y=L=="wrapper"?Xc(k):n;Y&&tf(Y[0])&&Y[1]==(h|pe|ne|Te)&&!Y[4].length&&Y[9]==1?A=A[wu(Y[0])].apply(A,Y[3]):A=k.length==1&&tf(k)?A[L]():A.thru(k)}return function(){var J=arguments,Q=J[0];if(A&&J.length==1&&Ie(Q))return A.plant(Q).value();for(var ee=0,oe=l?s[ee].apply(this,J):Q;++ee<l;)oe=s[ee].call(this,oe);return oe}})}function yu(r,s,l,p,x,k,A,L,Y,J){var Q=s&h,ee=s&Z,oe=s&W,ye=s&(pe|ae),Se=s&ce,Ne=oe?n:$a(r);function ke(){for(var Be=arguments.length,Ue=P(Be),In=Be;In--;)Ue[In]=arguments[In];if(ye)var un=Os(ke),An=Dn(Ue,un);if(p&&(Ue=zh(Ue,p,x,ye)),k&&(Ue=qh(Ue,k,A,ye)),Be-=An,ye&&Be<J){var Ct=En(Ue,un);return ep(r,s,yu,ke.placeholder,l,Ue,Ct,L,Y,J-Be)}var pr=ee?l:this,ai=oe?pr[r]:r;return Be=Ue.length,L?Ue=Eb(Ue,L):Se&&Be>1&&Ue.reverse(),Q&&Y<Be&&(Ue.length=Y),this&&this!==mt&&this instanceof ke&&(ai=Ne||$a(ai)),ai.apply(pr,Ue)}return ke}function Jh(r,s){return function(l,p){return Nv(l,r,s(p),{})}}function vu(r,s){return function(l,p){var x;if(l===n&&p===n)return s;if(l!==n&&(x=l),p!==n){if(x===n)return p;typeof l=="string"||typeof p=="string"?(l=Tn(l),p=Tn(p)):(l=Fh(l),p=Fh(p)),x=r(l,p)}return x}}function Vc(r){return ni(function(s){return s=fe(s,nn(_e())),Fe(function(l){var p=this;return r(s,function(x){return w(x,p,l)})})})}function bu(r,s){s=s===n?" ":Tn(s);var l=s.length;if(l<2)return l?Bc(s,r):s;var p=Bc(s,su(r/Tr(s)));return mn(s)?Ni(rn(p),0,r).join(""):p.slice(0,r)}function ub(r,s,l,p){var x=s&Z,k=$a(r);function A(){for(var L=-1,Y=arguments.length,J=-1,Q=p.length,ee=P(Q+Y),oe=this&&this!==mt&&this instanceof A?k:r;++J<Q;)ee[J]=p[J];for(;Y--;)ee[J++]=arguments[++L];return w(oe,x?l:this,ee)}return A}function Qh(r){return function(s,l,p){return p&&typeof p!="number"&&on(s,l,p)&&(l=p=n),s=si(s),l===n?(l=s,s=0):l=si(l),p=p===n?s<l?1:-1:si(p),Vv(s,l,p,r)}}function xu(r){return function(s,l){return typeof s=="string"&&typeof l=="string"||(s=Gn(s),l=Gn(l)),r(s,l)}}function ep(r,s,l,p,x,k,A,L,Y,J){var Q=s&pe,ee=Q?A:n,oe=Q?n:A,ye=Q?k:n,Se=Q?n:k;s|=Q?ne:ie,s&=~(Q?ie:ne),s&se||(s&=~(Z|W));var Ne=[r,s,x,ye,ee,Se,oe,L,Y,J],ke=l.apply(n,Ne);return tf(r)&&dp(ke,Ne),ke.placeholder=p,hp(ke,r,s)}function Gc(r){var s=ge[r];return function(l,p){if(l=Gn(l),p=p==null?0:Jt(Re(p),292),p&&hh(l)){var x=(nt(l)+"e").split("e"),k=s(x[0]+"e"+(+x[1]+p));return x=(nt(k)+"e").split("e"),+(x[0]+"e"+(+x[1]-p))}return s(l)}}var lb=Ts&&1/Xr(new Ts([,-0]))[1]==He?function(r){return new Ts(r)}:yf;function tp(r){return function(s){var l=Qt(s);return l==Gt?Ds(s):l==Yt?Da(s):cr(s,r(s))}}function ti(r,s,l,p,x,k,A,L){var Y=s&W;if(!Y&&typeof r!="function")throw new Le(f);var J=p?p.length:0;if(J||(s&=~(ne|ie),p=x=n),A=A===n?A:Ot(Re(A),0),L=L===n?L:Re(L),J-=x?x.length:0,s&ie){var Q=p,ee=x;p=x=n}var oe=Y?n:Xc(r),ye=[r,s,l,p,x,Q,ee,k,A,L];if(oe&&kb(ye,oe),r=ye[0],s=ye[1],l=ye[2],p=ye[3],x=ye[4],L=ye[9]=ye[9]===n?Y?0:r.length:Ot(ye[9]-J,0),!L&&s&(pe|ae)&&(s&=~(pe|ae)),!s||s==Z)var Se=ab(r,s,l);else s==pe||s==ae?Se=ob(r,s,L):(s==ne||s==(Z|ne))&&!x.length?Se=ub(r,s,l,p):Se=yu.apply(n,ye);var Ne=oe?Nh:dp;return hp(Ne(Se,ye),r,s)}function np(r,s,l,p){return r===n||hr(r,Rt[l])&&!De.call(p,l)?s:r}function rp(r,s,l,p,x,k){return vt(r)&&vt(s)&&(k.set(s,r),hu(r,s,n,rp,k),k.delete(s)),r}function cb(r){return Ya(r)?n:r}function ip(r,s,l,p,x,k){var A=l&B,L=r.length,Y=s.length;if(L!=Y&&!(A&&Y>L))return!1;var J=k.get(r),Q=k.get(s);if(J&&Q)return J==s&&Q==r;var ee=-1,oe=!0,ye=l&$?new Qi:n;for(k.set(r,s),k.set(s,r);++ee<L;){var Se=r[ee],Ne=s[ee];if(p)var ke=A?p(Ne,Se,ee,s,r,k):p(Se,Ne,ee,r,s,k);if(ke!==n){if(ke)continue;oe=!1;break}if(ye){if(!yt(s,function(Be,Ue){if(!Ki(ye,Ue)&&(Se===Be||x(Se,Be,l,p,k)))return ye.push(Ue)})){oe=!1;break}}else if(!(Se===Ne||x(Se,Ne,l,p,k))){oe=!1;break}}return k.delete(r),k.delete(s),oe}function fb(r,s,l,p,x,k,A){switch(l){case xr:if(r.byteLength!=s.byteLength||r.byteOffset!=s.byteOffset)return!1;r=r.buffer,s=s.buffer;case br:return!(r.byteLength!=s.byteLength||!k(new tu(r),new tu(s)));case Hr:case Nt:case zr:return hr(+r,+s);case bi:return r.name==s.name&&r.message==s.message;case ar:case Lt:return r==s+"";case Gt:var L=Ds;case Yt:var Y=p&B;if(L||(L=Xr),r.size!=s.size&&!Y)return!1;var J=A.get(r);if(J)return J==s;p|=$,A.set(r,s);var Q=ip(L(r),L(s),p,x,k,A);return A.delete(r),Q;case $n:if(Ra)return Ra.call(r)==Ra.call(s)}return!1}function db(r,s,l,p,x,k){var A=l&B,L=Kc(r),Y=L.length,J=Kc(s),Q=J.length;if(Y!=Q&&!A)return!1;for(var ee=Y;ee--;){var oe=L[ee];if(!(A?oe in s:De.call(s,oe)))return!1}var ye=k.get(r),Se=k.get(s);if(ye&&Se)return ye==s&&Se==r;var Ne=!0;k.set(r,s),k.set(s,r);for(var ke=A;++ee<Y;){oe=L[ee];var Be=r[oe],Ue=s[oe];if(p)var In=A?p(Ue,Be,oe,s,r,k):p(Be,Ue,oe,r,s,k);if(!(In===n?Be===Ue||x(Be,Ue,l,p,k):In)){Ne=!1;break}ke||(ke=oe=="constructor")}if(Ne&&!ke){var un=r.constructor,An=s.constructor;un!=An&&"constructor"in r&&"constructor"in s&&!(typeof un=="function"&&un instanceof un&&typeof An=="function"&&An instanceof An)&&(Ne=!1)}return k.delete(r),k.delete(s),Ne}function ni(r){return rf(cp(r,n,bp),r+"")}function Kc(r){return kh(r,jt,Qc)}function Zc(r){return kh(r,bn,sp)}var Xc=ou?function(r){return ou.get(r)}:yf;function wu(r){for(var s=r.name+"",l=Ms[s],p=De.call(Ms,s)?l.length:0;p--;){var x=l[p],k=x.func;if(k==null||k==r)return x.name}return s}function Os(r){var s=De.call(S,"placeholder")?S:r;return s.placeholder}function _e(){var r=S.iteratee||gf;return r=r===gf?Eh:r,arguments.length?r(arguments[0],arguments[1]):r}function _u(r,s){var l=r.__data__;return xb(s)?l[typeof s=="string"?"string":"hash"]:l.map}function Jc(r){for(var s=jt(r),l=s.length;l--;){var p=s[l],x=r[p];s[l]=[p,x,up(x)]}return s}function ns(r,s){var l=Zo(r,s);return Dh(l)?l:n}function hb(r){var s=De.call(r,Xi),l=r[Xi];try{r[Xi]=n;var p=!0}catch{}var x=Qo.call(r);return p&&(s?r[Xi]=l:delete r[Xi]),x}var Qc=Dc?function(r){return r==null?[]:(r=le(r),G(Dc(r),function(s){return fh.call(r,s)}))}:vf,sp=Dc?function(r){for(var s=[];r;)Me(s,Qc(r)),r=nu(r);return s}:vf,Qt=an;(Ec&&Qt(new Ec(new ArrayBuffer(1)))!=xr||Ma&&Qt(new Ma)!=Gt||Tc&&Qt(Tc.resolve())!=fn||Ts&&Qt(new Ts)!=Yt||Ia&&Qt(new Ia)!=de)&&(Qt=function(r){var s=an(r),l=s==Kt?r.constructor:n,p=l?rs(l):"";if(p)switch(p){case Ky:return xr;case Zy:return Gt;case Xy:return fn;case Jy:return Yt;case Qy:return de}return s});function pb(r,s,l){for(var p=-1,x=l.length;++p<x;){var k=l[p],A=k.size;switch(k.type){case"drop":r+=A;break;case"dropRight":s-=A;break;case"take":s=Jt(s,r+A);break;case"takeRight":r=Ot(r,s-A);break}}return{start:r,end:s}}function gb(r){var s=r.match(ac);return s?s[1].split(oc):[]}function ap(r,s,l){s=Pi(s,r);for(var p=-1,x=s.length,k=!1;++p<x;){var A=Ar(s[p]);if(!(k=r!=null&&l(r,A)))break;r=r[A]}return k||++p!=x?k:(x=r==null?0:r.length,!!x&&Mu(x)&&ri(A,x)&&(Ie(r)||is(r)))}function mb(r){var s=r.length,l=new r.constructor(s);return s&&typeof r[0]=="string"&&De.call(r,"index")&&(l.index=r.index,l.input=r.input),l}function op(r){return typeof r.constructor=="function"&&!ja(r)?Is(nu(r)):{}}function yb(r,s,l){var p=r.constructor;switch(s){case br:return qc(r);case Hr:case Nt:return new p(+r);case xr:return eb(r,l);case Ce:case qr:case xi:case Bn:case dn:case or:case wr:case aa:case wi:return Hh(r,l);case Gt:return new p;case zr:case Lt:return new p(r);case ar:return tb(r);case Yt:return new p;case $n:return nb(r)}}function vb(r,s){var l=s.length;if(!l)return r;var p=l-1;return s[p]=(l>1?"& ":"")+s[p],s=s.join(l>2?", ":" "),r.replace(sc,`{
|
|
112
112
|
/* [wrapped with `+s+`] */
|
|
113
|
-
`)}function vb(r){return Ie(r)||is(r)||!!(fh&&r&&r[fh])}function ri(r,s){var l=typeof r;return s=s??we,!!s&&(l=="number"||l!="symbol"&&bs.test(r))&&r>-1&&r%1==0&&r<s}function on(r,s,l){if(!vt(l))return!1;var p=typeof s;return(p=="number"?vn(l)&&ri(s,l.length):p=="string"&&s in l)?hr(l[s],r):!1}function ef(r,s){if(Ie(r))return!1;var l=typeof r;return l=="number"||l=="symbol"||l=="boolean"||r==null||Mn(r)?!0:Co.test(r)||!ic.test(r)||s!=null&&r in le(s)}function bb(r){var s=typeof r;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?r!=="__proto__":r===null}function tf(r){var s=xu(r),l=S[s];if(typeof l!="function"||!(s in Ye.prototype))return!1;if(r===l)return!0;var p=Xc(l);return!!p&&r===p[0]}function xb(r){return!!oh&&oh in r}var wb=sn?ii:bf;function ja(r){var s=r&&r.constructor,l=typeof s=="function"&&s.prototype||Rt;return r===l}function op(r){return r===r&&!vt(r)}function up(r,s){return function(l){return l==null?!1:l[r]===s&&(s!==n||r in le(l))}}function _b(r){var s=Du(r,function(p){return l.size===_&&l.clear(),p}),l=s.cache;return s}function Sb(r,s){var l=r[1],p=s[1],x=l|p,k=x<(Z|W|h),A=p==h&&l==pe||p==h&&l==Te&&r[7].length<=s[8]||p==(h|Te)&&s[7].length<=s[8]&&l==pe;if(!(k||A))return r;p&Z&&(r[2]=s[2],x|=l&Z?0:se);var L=s[3];if(L){var Y=r[3];r[3]=Y?Uh(Y,L,s[4]):L,r[4]=Y?En(r[3],E):s[4]}return L=s[5],L&&(Y=r[5],r[5]=Y?zh(Y,L,s[6]):L,r[6]=Y?En(r[5],E):s[6]),L=s[7],L&&(r[7]=L),p&h&&(r[8]=r[8]==null?s[8]:Jt(r[8],s[8])),r[9]==null&&(r[9]=s[9]),r[0]=s[0],r[1]=x,r}function kb(r){var s=[];if(r!=null)for(var l in le(r))s.push(l);return s}function Cb(r){return Jo.call(r)}function lp(r,s,l){return s=Ot(s===n?r.length-1:s,0),function(){for(var p=arguments,x=-1,k=Ot(p.length-s,0),A=P(k);++x<k;)A[x]=p[s+x];x=-1;for(var L=P(s+1);++x<s;)L[x]=p[x];return L[s]=l(A),w(r,this,L)}}function cp(r,s){return s.length<2?r:ts(r,Vn(s,0,-1))}function Db(r,s){for(var l=r.length,p=Jt(s.length,l),x=yn(r);p--;){var k=s[p];r[p]=ri(k,l)?x[k]:n}return r}function nf(r,s){if(!(s==="constructor"&&typeof r[s]=="function")&&s!="__proto__")return r[s]}var fp=hp(Ph),Ba=Yy||function(r,s){return mt.setTimeout(r,s)},rf=hp(Kv);function dp(r,s,l){var p=s+"";return rf(r,yb(p,Eb(pb(p),l)))}function hp(r){var s=0,l=0;return function(){var p=zy(),x=xe-(p-l);if(l=p,x>0){if(++s>=Xe)return arguments[0]}else s=0;return r.apply(n,arguments)}}function _u(r,s){var l=-1,p=r.length,x=p-1;for(s=s===n?p:s;++l<s;){var k=jc(l,x),A=r[k];r[k]=r[l],r[l]=A}return r.length=s,r}var pp=_b(function(r){var s=[];return r.charCodeAt(0)===46&&s.push(""),r.replace(Do,function(l,p,x,k){s.push(x?k.replace(lc,"$1"):p||l)}),s});function Ar(r){if(typeof r=="string"||Mn(r))return r;var s=r+"";return s=="0"&&1/r==-He?"-0":s}function rs(r){if(r!=null){try{return fr.call(r)}catch{}try{return r+""}catch{}}return""}function Eb(r,s){return I(Vt,function(l){var p="_."+l[0];s&l[1]&&!U(r,p)&&r.push(p)}),r.sort()}function gp(r){if(r instanceof Ye)return r.clone();var s=new Un(r.__wrapped__,r.__chain__);return s.__actions__=yn(r.__actions__),s.__index__=r.__index__,s.__values__=r.__values__,s}function Tb(r,s,l){(l?on(r,s,l):s===n)?s=1:s=Ot(Re(s),0);var p=r==null?0:r.length;if(!p||s<1)return[];for(var x=0,k=0,A=P(iu(p/s));x<p;)A[k++]=Vn(r,x,x+=s);return A}function Mb(r){for(var s=-1,l=r==null?0:r.length,p=0,x=[];++s<l;){var k=r[s];k&&(x[p++]=k)}return x}function Ib(){var r=arguments.length;if(!r)return[];for(var s=P(r-1),l=arguments[0],p=r;p--;)s[p-1]=arguments[p];return Me(Ie(l)?yn(l):[l],Ht(s,1))}var Ab=Fe(function(r,s){return kt(r)?Pa(r,Ht(s,1,kt,!0)):[]}),Rb=Fe(function(r,s){var l=qn(s);return kt(l)&&(l=n),kt(r)?Pa(r,Ht(s,1,kt,!0),_e(l,2)):[]}),Ob=Fe(function(r,s){var l=qn(s);return kt(l)&&(l=n),kt(r)?Pa(r,Ht(s,1,kt,!0),n,l):[]});function Pb(r,s,l){var p=r==null?0:r.length;return p?(s=l||s===n?1:Re(s),Vn(r,s<0?0:s,p)):[]}function Nb(r,s,l){var p=r==null?0:r.length;return p?(s=l||s===n?1:Re(s),s=p-s,Vn(r,0,s<0?0:s)):[]}function Lb(r,s){return r&&r.length?pu(r,_e(s,3),!0,!0):[]}function Fb(r,s){return r&&r.length?pu(r,_e(s,3),!0):[]}function $b(r,s,l,p){var x=r==null?0:r.length;return x?(l&&typeof l!="number"&&on(r,s,l)&&(l=0,p=x),Iv(r,s,l,p)):[]}function mp(r,s,l){var p=r==null?0:r.length;if(!p)return-1;var x=l==null?0:Re(l);return x<0&&(x=Ot(p+x,0)),je(r,_e(s,3),x)}function yp(r,s,l){var p=r==null?0:r.length;if(!p)return-1;var x=p-1;return l!==n&&(x=Re(l),x=l<0?Ot(p+x,0):Jt(x,p-1)),je(r,_e(s,3),x,!0)}function vp(r){var s=r==null?0:r.length;return s?Ht(r,1):[]}function jb(r){var s=r==null?0:r.length;return s?Ht(r,He):[]}function Bb(r,s){var l=r==null?0:r.length;return l?(s=s===n?1:Re(s),Ht(r,s)):[]}function Yb(r){for(var s=-1,l=r==null?0:r.length,p={};++s<l;){var x=r[s];p[x[0]]=x[1]}return p}function bp(r){return r&&r.length?r[0]:n}function Wb(r,s,l){var p=r==null?0:r.length;if(!p)return-1;var x=l==null?0:Re(l);return x<0&&(x=Ot(p+x,0)),rt(r,s,x)}function Hb(r){var s=r==null?0:r.length;return s?Vn(r,0,-1):[]}var Ub=Fe(function(r){var s=fe(r,Uc);return s.length&&s[0]===r[0]?Pc(s):[]}),zb=Fe(function(r){var s=qn(r),l=fe(r,Uc);return s===qn(l)?s=n:l.pop(),l.length&&l[0]===r[0]?Pc(l,_e(s,2)):[]}),Vb=Fe(function(r){var s=qn(r),l=fe(r,Uc);return s=typeof s=="function"?s:n,s&&l.pop(),l.length&&l[0]===r[0]?Pc(l,n,s):[]});function qb(r,s){return r==null?"":Hy.call(r,s)}function qn(r){var s=r==null?0:r.length;return s?r[s-1]:n}function Gb(r,s,l){var p=r==null?0:r.length;if(!p)return-1;var x=p;return l!==n&&(x=Re(l),x=x<0?Ot(p+x,0):Jt(x,p-1)),s===s?Es(r,s,x):je(r,Cs,x,!0)}function Kb(r,s){return r&&r.length?Ih(r,Re(s)):n}var Zb=Fe(xp);function xp(r,s){return r&&r.length&&s&&s.length?$c(r,s):r}function Xb(r,s,l){return r&&r.length&&s&&s.length?$c(r,s,_e(l,2)):r}function Jb(r,s,l){return r&&r.length&&s&&s.length?$c(r,s,n,l):r}var Qb=ni(function(r,s){var l=r==null?0:r.length,p=Ic(r,s);return Oh(r,fe(s,function(x){return ri(x,l)?+x:x}).sort(Hh)),p});function e1(r,s){var l=[];if(!(r&&r.length))return l;var p=-1,x=[],k=r.length;for(s=_e(s,3);++p<k;){var A=r[p];s(A,p,r)&&(l.push(A),x.push(p))}return Oh(r,x),l}function sf(r){return r==null?r:qy.call(r)}function t1(r,s,l){var p=r==null?0:r.length;return p?(l&&typeof l!="number"&&on(r,s,l)?(s=0,l=p):(s=s==null?0:Re(s),l=l===n?p:Re(l)),Vn(r,s,l)):[]}function n1(r,s){return hu(r,s)}function r1(r,s,l){return Yc(r,s,_e(l,2))}function i1(r,s){var l=r==null?0:r.length;if(l){var p=hu(r,s);if(p<l&&hr(r[p],s))return p}return-1}function s1(r,s){return hu(r,s,!0)}function a1(r,s,l){return Yc(r,s,_e(l,2),!0)}function o1(r,s){var l=r==null?0:r.length;if(l){var p=hu(r,s,!0)-1;if(hr(r[p],s))return p}return-1}function u1(r){return r&&r.length?Nh(r):[]}function l1(r,s){return r&&r.length?Nh(r,_e(s,2)):[]}function c1(r){var s=r==null?0:r.length;return s?Vn(r,1,s):[]}function f1(r,s,l){return r&&r.length?(s=l||s===n?1:Re(s),Vn(r,0,s<0?0:s)):[]}function d1(r,s,l){var p=r==null?0:r.length;return p?(s=l||s===n?1:Re(s),s=p-s,Vn(r,s<0?0:s,p)):[]}function h1(r,s){return r&&r.length?pu(r,_e(s,3),!1,!0):[]}function p1(r,s){return r&&r.length?pu(r,_e(s,3)):[]}var g1=Fe(function(r){return Oi(Ht(r,1,kt,!0))}),m1=Fe(function(r){var s=qn(r);return kt(s)&&(s=n),Oi(Ht(r,1,kt,!0),_e(s,2))}),y1=Fe(function(r){var s=qn(r);return s=typeof s=="function"?s:n,Oi(Ht(r,1,kt,!0),n,s)});function v1(r){return r&&r.length?Oi(r):[]}function b1(r,s){return r&&r.length?Oi(r,_e(s,2)):[]}function x1(r,s){return s=typeof s=="function"?s:n,r&&r.length?Oi(r,n,s):[]}function af(r){if(!(r&&r.length))return[];var s=0;return r=G(r,function(l){if(kt(l))return s=Ot(l.length,s),!0}),Gi(s,function(l){return fe(r,Zr(l))})}function wp(r,s){if(!(r&&r.length))return[];var l=af(r);return s==null?l:fe(l,function(p){return w(s,n,p)})}var w1=Fe(function(r,s){return kt(r)?Pa(r,s):[]}),_1=Fe(function(r){return Hc(G(r,kt))}),S1=Fe(function(r){var s=qn(r);return kt(s)&&(s=n),Hc(G(r,kt),_e(s,2))}),k1=Fe(function(r){var s=qn(r);return s=typeof s=="function"?s:n,Hc(G(r,kt),n,s)}),C1=Fe(af);function D1(r,s){return jh(r||[],s||[],Oa)}function E1(r,s){return jh(r||[],s||[],Fa)}var T1=Fe(function(r){var s=r.length,l=s>1?r[s-1]:n;return l=typeof l=="function"?(r.pop(),l):n,wp(r,l)});function _p(r){var s=S(r);return s.__chain__=!0,s}function M1(r,s){return s(r),r}function Su(r,s){return s(r)}var I1=ni(function(r){var s=r.length,l=s?r[0]:0,p=this.__wrapped__,x=function(k){return Ic(k,r)};return s>1||this.__actions__.length||!(p instanceof Ye)||!ri(l)?this.thru(x):(p=p.slice(l,+l+(s?1:0)),p.__actions__.push({func:Su,args:[x],thisArg:n}),new Un(p,this.__chain__).thru(function(k){return s&&!k.length&&k.push(n),k}))});function A1(){return _p(this)}function R1(){return new Un(this.value(),this.__chain__)}function O1(){this.__values__===n&&(this.__values__=Lp(this.value()));var r=this.__index__>=this.__values__.length,s=r?n:this.__values__[this.__index__++];return{done:r,value:s}}function P1(){return this}function N1(r){for(var s,l=this;l instanceof uu;){var p=gp(l);p.__index__=0,p.__values__=n,s?x.__wrapped__=p:s=p;var x=p;l=l.__wrapped__}return x.__wrapped__=r,s}function L1(){var r=this.__wrapped__;if(r instanceof Ye){var s=r;return this.__actions__.length&&(s=new Ye(this)),s=s.reverse(),s.__actions__.push({func:Su,args:[sf],thisArg:n}),new Un(s,this.__chain__)}return this.thru(sf)}function F1(){return $h(this.__wrapped__,this.__actions__)}var $1=gu(function(r,s,l){De.call(r,l)?++r[l]:ei(r,l,1)});function j1(r,s,l){var p=Ie(r)?q:Mv;return l&&on(r,s,l)&&(s=n),p(r,_e(s,3))}function B1(r,s){var l=Ie(r)?G:wh;return l(r,_e(s,3))}var Y1=Kh(mp),W1=Kh(yp);function H1(r,s){return Ht(ku(r,s),1)}function U1(r,s){return Ht(ku(r,s),He)}function z1(r,s,l){return l=l===n?1:Re(l),Ht(ku(r,s),l)}function Sp(r,s){var l=Ie(r)?I:Ri;return l(r,_e(s,3))}function kp(r,s){var l=Ie(r)?j:xh;return l(r,_e(s,3))}var V1=gu(function(r,s,l){De.call(r,l)?r[l].push(s):ei(r,l,[s])});function q1(r,s,l,p){r=vn(r)?r:Ns(r),l=l&&!p?Re(l):0;var x=r.length;return l<0&&(l=Ot(x+l,0)),Mu(r)?l<=x&&r.indexOf(s,l)>-1:!!x&&rt(r,s,l)>-1}var G1=Fe(function(r,s,l){var p=-1,x=typeof s=="function",k=vn(r)?P(r.length):[];return Ri(r,function(A){k[++p]=x?w(s,A,l):Na(A,s,l)}),k}),K1=gu(function(r,s,l){ei(r,l,s)});function ku(r,s){var l=Ie(r)?fe:Eh;return l(r,_e(s,3))}function Z1(r,s,l,p){return r==null?[]:(Ie(s)||(s=s==null?[]:[s]),l=p?n:l,Ie(l)||(l=l==null?[]:[l]),Ah(r,s,l))}var X1=gu(function(r,s,l){r[l?0:1].push(s)},function(){return[[],[]]});function J1(r,s,l){var p=Ie(r)?Ee:lr,x=arguments.length<3;return p(r,_e(s,4),l,x,Ri)}function Q1(r,s,l){var p=Ie(r)?It:lr,x=arguments.length<3;return p(r,_e(s,4),l,x,xh)}function ex(r,s){var l=Ie(r)?G:wh;return l(r,Eu(_e(s,3)))}function tx(r){var s=Ie(r)?mh:qv;return s(r)}function nx(r,s,l){(l?on(r,s,l):s===n)?s=1:s=Re(s);var p=Ie(r)?kv:Gv;return p(r,s)}function rx(r){var s=Ie(r)?Cv:Zv;return s(r)}function ix(r){if(r==null)return 0;if(vn(r))return Mu(r)?Tr(r):r.length;var s=Qt(r);return s==Gt||s==Yt?r.size:Lc(r).length}function sx(r,s,l){var p=Ie(r)?yt:Xv;return l&&on(r,s,l)&&(s=n),p(r,_e(s,3))}var ax=Fe(function(r,s){if(r==null)return[];var l=s.length;return l>1&&on(r,s[0],s[1])?s=[]:l>2&&on(s[0],s[1],s[2])&&(s=[s[0]]),Ah(r,Ht(s,1),[])}),Cu=By||function(){return mt.Date.now()};function ox(r,s){if(typeof s!="function")throw new Le(f);return r=Re(r),function(){if(--r<1)return s.apply(this,arguments)}}function Cp(r,s,l){return s=l?n:s,s=r&&s==null?r.length:s,ti(r,h,n,n,n,n,s)}function Dp(r,s){var l;if(typeof s!="function")throw new Le(f);return r=Re(r),function(){return--r>0&&(l=s.apply(this,arguments)),r<=1&&(s=n),l}}var of=Fe(function(r,s,l){var p=Z;if(l.length){var x=En(l,Os(of));p|=ne}return ti(r,p,s,l,x)}),Ep=Fe(function(r,s,l){var p=Z|W;if(l.length){var x=En(l,Os(Ep));p|=ne}return ti(s,p,r,l,x)});function Tp(r,s,l){s=l?n:s;var p=ti(r,pe,n,n,n,n,n,s);return p.placeholder=Tp.placeholder,p}function Mp(r,s,l){s=l?n:s;var p=ti(r,ae,n,n,n,n,n,s);return p.placeholder=Mp.placeholder,p}function Ip(r,s,l){var p,x,k,A,L,Y,J=0,Q=!1,ee=!1,oe=!0;if(typeof r!="function")throw new Le(f);s=Gn(s)||0,vt(l)&&(Q=!!l.leading,ee="maxWait"in l,k=ee?Ot(Gn(l.maxWait)||0,s):k,oe="trailing"in l?!!l.trailing:oe);function ye(Ct){var pr=p,ai=x;return p=x=n,J=Ct,A=r.apply(ai,pr),A}function Se(Ct){return J=Ct,L=Ba(Be,s),Q?ye(Ct):A}function Ne(Ct){var pr=Ct-Y,ai=Ct-J,Kp=s-pr;return ee?Jt(Kp,k-ai):Kp}function ke(Ct){var pr=Ct-Y,ai=Ct-J;return Y===n||pr>=s||pr<0||ee&&ai>=k}function Be(){var Ct=Cu();if(ke(Ct))return Ue(Ct);L=Ba(Be,Ne(Ct))}function Ue(Ct){return L=n,oe&&p?ye(Ct):(p=x=n,A)}function In(){L!==n&&Bh(L),J=0,p=Y=x=L=n}function un(){return L===n?A:Ue(Cu())}function An(){var Ct=Cu(),pr=ke(Ct);if(p=arguments,x=this,Y=Ct,pr){if(L===n)return Se(Y);if(ee)return Bh(L),L=Ba(Be,s),ye(Y)}return L===n&&(L=Ba(Be,s)),A}return An.cancel=In,An.flush=un,An}var ux=Fe(function(r,s){return bh(r,1,s)}),lx=Fe(function(r,s,l){return bh(r,Gn(s)||0,l)});function cx(r){return ti(r,ce)}function Du(r,s){if(typeof r!="function"||s!=null&&typeof s!="function")throw new Le(f);var l=function(){var p=arguments,x=s?s.apply(this,p):p[0],k=l.cache;if(k.has(x))return k.get(x);var A=r.apply(this,p);return l.cache=k.set(x,A)||k,A};return l.cache=new(Du.Cache||Qr),l}Du.Cache=Qr;function Eu(r){if(typeof r!="function")throw new Le(f);return function(){var s=arguments;switch(s.length){case 0:return!r.call(this);case 1:return!r.call(this,s[0]);case 2:return!r.call(this,s[0],s[1]);case 3:return!r.call(this,s[0],s[1],s[2])}return!r.apply(this,s)}}function fx(r){return Dp(2,r)}var dx=Jv(function(r,s){s=s.length==1&&Ie(s[0])?fe(s[0],nn(_e())):fe(Ht(s,1),nn(_e()));var l=s.length;return Fe(function(p){for(var x=-1,k=Jt(p.length,l);++x<k;)p[x]=s[x].call(this,p[x]);return w(r,this,p)})}),uf=Fe(function(r,s){var l=En(s,Os(uf));return ti(r,ne,n,s,l)}),Ap=Fe(function(r,s){var l=En(s,Os(Ap));return ti(r,ie,n,s,l)}),hx=ni(function(r,s){return ti(r,Te,n,n,n,s)});function px(r,s){if(typeof r!="function")throw new Le(f);return s=s===n?s:Re(s),Fe(r,s)}function gx(r,s){if(typeof r!="function")throw new Le(f);return s=s==null?0:Ot(Re(s),0),Fe(function(l){var p=l[s],x=Ni(l,0,s);return p&&Me(x,p),w(r,this,x)})}function mx(r,s,l){var p=!0,x=!0;if(typeof r!="function")throw new Le(f);return vt(l)&&(p="leading"in l?!!l.leading:p,x="trailing"in l?!!l.trailing:x),Ip(r,s,{leading:p,maxWait:s,trailing:x})}function yx(r){return Cp(r,1)}function vx(r,s){return uf(zc(s),r)}function bx(){if(!arguments.length)return[];var r=arguments[0];return Ie(r)?r:[r]}function xx(r){return zn(r,z)}function wx(r,s){return s=typeof s=="function"?s:n,zn(r,z,s)}function _x(r){return zn(r,O|z)}function Sx(r,s){return s=typeof s=="function"?s:n,zn(r,O|z,s)}function kx(r,s){return s==null||vh(r,s,jt(s))}function hr(r,s){return r===s||r!==r&&s!==s}var Cx=bu(Oc),Dx=bu(function(r,s){return r>=s}),is=kh(function(){return arguments}())?kh:function(r){return bt(r)&&De.call(r,"callee")&&!ch.call(r,"callee")},Ie=P.isArray,Ex=o?nn(o):Nv;function vn(r){return r!=null&&Tu(r.length)&&!ii(r)}function kt(r){return bt(r)&&vn(r)}function Tx(r){return r===!0||r===!1||bt(r)&&an(r)==Hr}var Li=Wy||bf,Mx=c?nn(c):Lv;function Ix(r){return bt(r)&&r.nodeType===1&&!Ya(r)}function Ax(r){if(r==null)return!0;if(vn(r)&&(Ie(r)||typeof r=="string"||typeof r.splice=="function"||Li(r)||Ps(r)||is(r)))return!r.length;var s=Qt(r);if(s==Gt||s==Yt)return!r.size;if(ja(r))return!Lc(r).length;for(var l in r)if(De.call(r,l))return!1;return!0}function Rx(r,s){return La(r,s)}function Ox(r,s,l){l=typeof l=="function"?l:n;var p=l?l(r,s):n;return p===n?La(r,s,n,l):!!p}function lf(r){if(!bt(r))return!1;var s=an(r);return s==bi||s==cn||typeof r.message=="string"&&typeof r.name=="string"&&!Ya(r)}function Px(r){return typeof r=="number"&&dh(r)}function ii(r){if(!vt(r))return!1;var s=an(r);return s==Sn||s==Ur||s==Wi||s==sa}function Rp(r){return typeof r=="number"&&r==Re(r)}function Tu(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=we}function vt(r){var s=typeof r;return r!=null&&(s=="object"||s=="function")}function bt(r){return r!=null&&typeof r=="object"}var Op=d?nn(d):$v;function Nx(r,s){return r===s||Nc(r,s,Jc(s))}function Lx(r,s,l){return l=typeof l=="function"?l:n,Nc(r,s,Jc(s),l)}function Fx(r){return Pp(r)&&r!=+r}function $x(r){if(wb(r))throw new X(u);return Ch(r)}function jx(r){return r===null}function Bx(r){return r==null}function Pp(r){return typeof r=="number"||bt(r)&&an(r)==zr}function Ya(r){if(!bt(r)||an(r)!=Kt)return!1;var s=tu(r);if(s===null)return!0;var l=De.call(s,"constructor")&&s.constructor;return typeof l=="function"&&l instanceof l&&fr.call(l)==Ly}var cf=g?nn(g):jv;function Yx(r){return Rp(r)&&r>=-we&&r<=we}var Np=y?nn(y):Bv;function Mu(r){return typeof r=="string"||!Ie(r)&&bt(r)&&an(r)==Lt}function Mn(r){return typeof r=="symbol"||bt(r)&&an(r)==$n}var Ps=v?nn(v):Yv;function Wx(r){return r===n}function Hx(r){return bt(r)&&Qt(r)==de}function Ux(r){return bt(r)&&an(r)==Ft}var zx=bu(Fc),Vx=bu(function(r,s){return r<=s});function Lp(r){if(!r)return[];if(vn(r))return Mu(r)?rn(r):yn(r);if(Ta&&r[Ta])return Er(r[Ta]());var s=Qt(r),l=s==Gt?Ds:s==Yt?Xr:Ns;return l(r)}function si(r){if(!r)return r===0?r:0;if(r=Gn(r),r===He||r===-He){var s=r<0?-1:1;return s*qe}return r===r?r:0}function Re(r){var s=si(r),l=s%1;return s===s?l?s-l:s:0}function Fp(r){return r?es(Re(r),0,_t):0}function Gn(r){if(typeof r=="number")return r;if(Mn(r))return lt;if(vt(r)){var s=typeof r.valueOf=="function"?r.valueOf():r;r=vt(s)?s+"":s}if(typeof r!="string")return r===0?r:+r;r=Hn(r);var l=Io.test(r);return l||ua.test(r)?wc(r.slice(2),l?2:8):ki.test(r)?lt:+r}function $p(r){return Ir(r,bn(r))}function qx(r){return r?es(Re(r),-we,we):r===0?r:0}function nt(r){return r==null?"":Tn(r)}var Gx=As(function(r,s){if(ja(s)||vn(s)){Ir(s,jt(s),r);return}for(var l in s)De.call(s,l)&&Oa(r,l,s[l])}),jp=As(function(r,s){Ir(s,bn(s),r)}),Iu=As(function(r,s,l,p){Ir(s,bn(s),r,p)}),Kx=As(function(r,s,l,p){Ir(s,jt(s),r,p)}),Zx=ni(Ic);function Xx(r,s){var l=Is(r);return s==null?l:yh(l,s)}var Jx=Fe(function(r,s){r=le(r);var l=-1,p=s.length,x=p>2?s[2]:n;for(x&&on(s[0],s[1],x)&&(p=1);++l<p;)for(var k=s[l],A=bn(k),L=-1,Y=A.length;++L<Y;){var J=A[L],Q=r[J];(Q===n||hr(Q,Rt[J])&&!De.call(r,J))&&(r[J]=k[J])}return r}),Qx=Fe(function(r){return r.push(n,np),w(Bp,n,r)});function ew(r,s){return Cr(r,_e(s,3),Mr)}function tw(r,s){return Cr(r,_e(s,3),Rc)}function nw(r,s){return r==null?r:Ac(r,_e(s,3),bn)}function rw(r,s){return r==null?r:_h(r,_e(s,3),bn)}function iw(r,s){return r&&Mr(r,_e(s,3))}function sw(r,s){return r&&Rc(r,_e(s,3))}function aw(r){return r==null?[]:fu(r,jt(r))}function ow(r){return r==null?[]:fu(r,bn(r))}function ff(r,s,l){var p=r==null?n:ts(r,s);return p===n?l:p}function uw(r,s){return r!=null&&sp(r,s,Av)}function df(r,s){return r!=null&&sp(r,s,Rv)}var lw=Xh(function(r,s,l){s!=null&&typeof s.toString!="function"&&(s=Jo.call(s)),r[s]=l},pf(xn)),cw=Xh(function(r,s,l){s!=null&&typeof s.toString!="function"&&(s=Jo.call(s)),De.call(r,s)?r[s].push(l):r[s]=[l]},_e),fw=Fe(Na);function jt(r){return vn(r)?gh(r):Lc(r)}function bn(r){return vn(r)?gh(r,!0):Wv(r)}function dw(r,s){var l={};return s=_e(s,3),Mr(r,function(p,x,k){ei(l,s(p,x,k),p)}),l}function hw(r,s){var l={};return s=_e(s,3),Mr(r,function(p,x,k){ei(l,x,s(p,x,k))}),l}var pw=As(function(r,s,l){du(r,s,l)}),Bp=As(function(r,s,l,p){du(r,s,l,p)}),gw=ni(function(r,s){var l={};if(r==null)return l;var p=!1;s=fe(s,function(k){return k=Pi(k,r),p||(p=k.length>1),k}),Ir(r,Zc(r),l),p&&(l=zn(l,O|M|z,lb));for(var x=s.length;x--;)Wc(l,s[x]);return l});function mw(r,s){return Yp(r,Eu(_e(s)))}var yw=ni(function(r,s){return r==null?{}:Uv(r,s)});function Yp(r,s){if(r==null)return{};var l=fe(Zc(r),function(p){return[p]});return s=_e(s),Rh(r,l,function(p,x){return s(p,x[0])})}function vw(r,s,l){s=Pi(s,r);var p=-1,x=s.length;for(x||(x=1,r=n);++p<x;){var k=r==null?n:r[Ar(s[p])];k===n&&(p=x,k=l),r=ii(k)?k.call(r):k}return r}function bw(r,s,l){return r==null?r:Fa(r,s,l)}function xw(r,s,l,p){return p=typeof p=="function"?p:n,r==null?r:Fa(r,s,l,p)}var Wp=ep(jt),Hp=ep(bn);function ww(r,s,l){var p=Ie(r),x=p||Li(r)||Ps(r);if(s=_e(s,4),l==null){var k=r&&r.constructor;x?l=p?new k:[]:vt(r)?l=ii(k)?Is(tu(r)):{}:l={}}return(x?I:Mr)(r,function(A,L,Y){return s(l,A,L,Y)}),l}function _w(r,s){return r==null?!0:Wc(r,s)}function Sw(r,s,l){return r==null?r:Fh(r,s,zc(l))}function kw(r,s,l,p){return p=typeof p=="function"?p:n,r==null?r:Fh(r,s,zc(l),p)}function Ns(r){return r==null?[]:ka(r,jt(r))}function Cw(r){return r==null?[]:ka(r,bn(r))}function Dw(r,s,l){return l===n&&(l=s,s=n),l!==n&&(l=Gn(l),l=l===l?l:0),s!==n&&(s=Gn(s),s=s===s?s:0),es(Gn(r),s,l)}function Ew(r,s,l){return s=si(s),l===n?(l=s,s=0):l=si(l),r=Gn(r),Ov(r,s,l)}function Tw(r,s,l){if(l&&typeof l!="boolean"&&on(r,s,l)&&(s=l=n),l===n&&(typeof s=="boolean"?(l=s,s=n):typeof r=="boolean"&&(l=r,r=n)),r===n&&s===n?(r=0,s=1):(r=si(r),s===n?(s=r,r=0):s=si(s)),r>s){var p=r;r=s,s=p}if(l||r%1||s%1){var x=hh();return Jt(r+x*(s-r+_a("1e-"+((x+"").length-1))),s)}return jc(r,s)}var Mw=Rs(function(r,s,l){return s=s.toLowerCase(),r+(l?Up(s):s)});function Up(r){return hf(nt(r).toLowerCase())}function zp(r){return r=nt(r),r&&r.replace(Ao,Mi).replace(gc,"")}function Iw(r,s,l){r=nt(r),s=Tn(s);var p=r.length;l=l===n?p:es(Re(l),0,p);var x=l;return l-=s.length,l>=0&&r.slice(l,x)==s}function Aw(r){return r=nt(r),r&&ko.test(r)?r.replace(_i,Sc):r}function Rw(r){return r=nt(r),r&&Si.test(r)?r.replace(_r,"\\$&"):r}var Ow=Rs(function(r,s,l){return r+(l?"-":"")+s.toLowerCase()}),Pw=Rs(function(r,s,l){return r+(l?" ":"")+s.toLowerCase()}),Nw=Gh("toLowerCase");function Lw(r,s,l){r=nt(r),s=Re(s);var p=s?Tr(r):0;if(!s||p>=s)return r;var x=(s-p)/2;return vu(su(x),l)+r+vu(iu(x),l)}function Fw(r,s,l){r=nt(r),s=Re(s);var p=s?Tr(r):0;return s&&p<s?r+vu(s-p,l):r}function $w(r,s,l){r=nt(r),s=Re(s);var p=s?Tr(r):0;return s&&p<s?vu(s-p,l)+r:r}function jw(r,s,l){return l||s==null?s=0:s&&(s=+s),Vy(nt(r).replace(Ui,""),s||0)}function Bw(r,s,l){return(l?on(r,s,l):s===n)?s=1:s=Re(s),Bc(nt(r),s)}function Yw(){var r=arguments,s=nt(r[0]);return r.length<3?s:s.replace(r[1],r[2])}var Ww=Rs(function(r,s,l){return r+(l?"_":"")+s.toLowerCase()});function Hw(r,s,l){return l&&typeof l!="number"&&on(r,s,l)&&(s=l=n),l=l===n?_t:l>>>0,l?(r=nt(r),r&&(typeof s=="string"||s!=null&&!cf(s))&&(s=Tn(s),!s&&mn(r))?Ni(rn(r),0,l):r.split(s,l)):[]}var Uw=Rs(function(r,s,l){return r+(l?" ":"")+hf(s)});function zw(r,s,l){return r=nt(r),l=l==null?0:es(Re(l),0,r.length),s=Tn(s),r.slice(l,l+s.length)==s}function Vw(r,s,l){var p=S.templateSettings;l&&on(r,s,l)&&(s=n),r=nt(r),s=Iu({},s,p,tp);var x=Iu({},s.imports,p.imports,tp),k=jt(x),A=ka(x,k),L,Y,J=0,Q=s.interpolate||xs,ee="__p += '",oe=Ae((s.escape||xs).source+"|"+Q.source+"|"+(Q===ys?To:xs).source+"|"+(s.evaluate||xs).source+"|$","g"),ye="//# sourceURL="+(De.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++xc+"]")+`
|
|
113
|
+
`)}function bb(r){return Ie(r)||is(r)||!!(dh&&r&&r[dh])}function ri(r,s){var l=typeof r;return s=s??we,!!s&&(l=="number"||l!="symbol"&&bs.test(r))&&r>-1&&r%1==0&&r<s}function on(r,s,l){if(!vt(l))return!1;var p=typeof s;return(p=="number"?vn(l)&&ri(s,l.length):p=="string"&&s in l)?hr(l[s],r):!1}function ef(r,s){if(Ie(r))return!1;var l=typeof r;return l=="number"||l=="symbol"||l=="boolean"||r==null||Mn(r)?!0:Do.test(r)||!ic.test(r)||s!=null&&r in le(s)}function xb(r){var s=typeof r;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?r!=="__proto__":r===null}function tf(r){var s=wu(r),l=S[s];if(typeof l!="function"||!(s in Ye.prototype))return!1;if(r===l)return!0;var p=Xc(l);return!!p&&r===p[0]}function wb(r){return!!uh&&uh in r}var _b=sn?ii:bf;function ja(r){var s=r&&r.constructor,l=typeof s=="function"&&s.prototype||Rt;return r===l}function up(r){return r===r&&!vt(r)}function lp(r,s){return function(l){return l==null?!1:l[r]===s&&(s!==n||r in le(l))}}function Sb(r){var s=Eu(r,function(p){return l.size===_&&l.clear(),p}),l=s.cache;return s}function kb(r,s){var l=r[1],p=s[1],x=l|p,k=x<(Z|W|h),A=p==h&&l==pe||p==h&&l==Te&&r[7].length<=s[8]||p==(h|Te)&&s[7].length<=s[8]&&l==pe;if(!(k||A))return r;p&Z&&(r[2]=s[2],x|=l&Z?0:se);var L=s[3];if(L){var Y=r[3];r[3]=Y?zh(Y,L,s[4]):L,r[4]=Y?En(r[3],E):s[4]}return L=s[5],L&&(Y=r[5],r[5]=Y?qh(Y,L,s[6]):L,r[6]=Y?En(r[5],E):s[6]),L=s[7],L&&(r[7]=L),p&h&&(r[8]=r[8]==null?s[8]:Jt(r[8],s[8])),r[9]==null&&(r[9]=s[9]),r[0]=s[0],r[1]=x,r}function Cb(r){var s=[];if(r!=null)for(var l in le(r))s.push(l);return s}function Db(r){return Qo.call(r)}function cp(r,s,l){return s=Ot(s===n?r.length-1:s,0),function(){for(var p=arguments,x=-1,k=Ot(p.length-s,0),A=P(k);++x<k;)A[x]=p[s+x];x=-1;for(var L=P(s+1);++x<s;)L[x]=p[x];return L[s]=l(A),w(r,this,L)}}function fp(r,s){return s.length<2?r:ts(r,qn(s,0,-1))}function Eb(r,s){for(var l=r.length,p=Jt(s.length,l),x=yn(r);p--;){var k=s[p];r[p]=ri(k,l)?x[k]:n}return r}function nf(r,s){if(!(s==="constructor"&&typeof r[s]=="function")&&s!="__proto__")return r[s]}var dp=pp(Nh),Ba=Wy||function(r,s){return mt.setTimeout(r,s)},rf=pp(Zv);function hp(r,s,l){var p=s+"";return rf(r,vb(p,Tb(gb(p),l)))}function pp(r){var s=0,l=0;return function(){var p=qy(),x=xe-(p-l);if(l=p,x>0){if(++s>=Xe)return arguments[0]}else s=0;return r.apply(n,arguments)}}function Su(r,s){var l=-1,p=r.length,x=p-1;for(s=s===n?p:s;++l<s;){var k=jc(l,x),A=r[k];r[k]=r[l],r[l]=A}return r.length=s,r}var gp=Sb(function(r){var s=[];return r.charCodeAt(0)===46&&s.push(""),r.replace(Eo,function(l,p,x,k){s.push(x?k.replace(lc,"$1"):p||l)}),s});function Ar(r){if(typeof r=="string"||Mn(r))return r;var s=r+"";return s=="0"&&1/r==-He?"-0":s}function rs(r){if(r!=null){try{return fr.call(r)}catch{}try{return r+""}catch{}}return""}function Tb(r,s){return I(qt,function(l){var p="_."+l[0];s&l[1]&&!U(r,p)&&r.push(p)}),r.sort()}function mp(r){if(r instanceof Ye)return r.clone();var s=new Un(r.__wrapped__,r.__chain__);return s.__actions__=yn(r.__actions__),s.__index__=r.__index__,s.__values__=r.__values__,s}function Mb(r,s,l){(l?on(r,s,l):s===n)?s=1:s=Ot(Re(s),0);var p=r==null?0:r.length;if(!p||s<1)return[];for(var x=0,k=0,A=P(su(p/s));x<p;)A[k++]=qn(r,x,x+=s);return A}function Ib(r){for(var s=-1,l=r==null?0:r.length,p=0,x=[];++s<l;){var k=r[s];k&&(x[p++]=k)}return x}function Ab(){var r=arguments.length;if(!r)return[];for(var s=P(r-1),l=arguments[0],p=r;p--;)s[p-1]=arguments[p];return Me(Ie(l)?yn(l):[l],Ht(s,1))}var Rb=Fe(function(r,s){return kt(r)?Pa(r,Ht(s,1,kt,!0)):[]}),Ob=Fe(function(r,s){var l=Vn(s);return kt(l)&&(l=n),kt(r)?Pa(r,Ht(s,1,kt,!0),_e(l,2)):[]}),Pb=Fe(function(r,s){var l=Vn(s);return kt(l)&&(l=n),kt(r)?Pa(r,Ht(s,1,kt,!0),n,l):[]});function Nb(r,s,l){var p=r==null?0:r.length;return p?(s=l||s===n?1:Re(s),qn(r,s<0?0:s,p)):[]}function Lb(r,s,l){var p=r==null?0:r.length;return p?(s=l||s===n?1:Re(s),s=p-s,qn(r,0,s<0?0:s)):[]}function Fb(r,s){return r&&r.length?gu(r,_e(s,3),!0,!0):[]}function $b(r,s){return r&&r.length?gu(r,_e(s,3),!0):[]}function jb(r,s,l,p){var x=r==null?0:r.length;return x?(l&&typeof l!="number"&&on(r,s,l)&&(l=0,p=x),Av(r,s,l,p)):[]}function yp(r,s,l){var p=r==null?0:r.length;if(!p)return-1;var x=l==null?0:Re(l);return x<0&&(x=Ot(p+x,0)),je(r,_e(s,3),x)}function vp(r,s,l){var p=r==null?0:r.length;if(!p)return-1;var x=p-1;return l!==n&&(x=Re(l),x=l<0?Ot(p+x,0):Jt(x,p-1)),je(r,_e(s,3),x,!0)}function bp(r){var s=r==null?0:r.length;return s?Ht(r,1):[]}function Bb(r){var s=r==null?0:r.length;return s?Ht(r,He):[]}function Yb(r,s){var l=r==null?0:r.length;return l?(s=s===n?1:Re(s),Ht(r,s)):[]}function Wb(r){for(var s=-1,l=r==null?0:r.length,p={};++s<l;){var x=r[s];p[x[0]]=x[1]}return p}function xp(r){return r&&r.length?r[0]:n}function Hb(r,s,l){var p=r==null?0:r.length;if(!p)return-1;var x=l==null?0:Re(l);return x<0&&(x=Ot(p+x,0)),rt(r,s,x)}function Ub(r){var s=r==null?0:r.length;return s?qn(r,0,-1):[]}var zb=Fe(function(r){var s=fe(r,Uc);return s.length&&s[0]===r[0]?Pc(s):[]}),qb=Fe(function(r){var s=Vn(r),l=fe(r,Uc);return s===Vn(l)?s=n:l.pop(),l.length&&l[0]===r[0]?Pc(l,_e(s,2)):[]}),Vb=Fe(function(r){var s=Vn(r),l=fe(r,Uc);return s=typeof s=="function"?s:n,s&&l.pop(),l.length&&l[0]===r[0]?Pc(l,n,s):[]});function Gb(r,s){return r==null?"":Uy.call(r,s)}function Vn(r){var s=r==null?0:r.length;return s?r[s-1]:n}function Kb(r,s,l){var p=r==null?0:r.length;if(!p)return-1;var x=p;return l!==n&&(x=Re(l),x=x<0?Ot(p+x,0):Jt(x,p-1)),s===s?Es(r,s,x):je(r,Cs,x,!0)}function Zb(r,s){return r&&r.length?Ah(r,Re(s)):n}var Xb=Fe(wp);function wp(r,s){return r&&r.length&&s&&s.length?$c(r,s):r}function Jb(r,s,l){return r&&r.length&&s&&s.length?$c(r,s,_e(l,2)):r}function Qb(r,s,l){return r&&r.length&&s&&s.length?$c(r,s,n,l):r}var e1=ni(function(r,s){var l=r==null?0:r.length,p=Ic(r,s);return Ph(r,fe(s,function(x){return ri(x,l)?+x:x}).sort(Uh)),p});function t1(r,s){var l=[];if(!(r&&r.length))return l;var p=-1,x=[],k=r.length;for(s=_e(s,3);++p<k;){var A=r[p];s(A,p,r)&&(l.push(A),x.push(p))}return Ph(r,x),l}function sf(r){return r==null?r:Gy.call(r)}function n1(r,s,l){var p=r==null?0:r.length;return p?(l&&typeof l!="number"&&on(r,s,l)?(s=0,l=p):(s=s==null?0:Re(s),l=l===n?p:Re(l)),qn(r,s,l)):[]}function r1(r,s){return pu(r,s)}function i1(r,s,l){return Yc(r,s,_e(l,2))}function s1(r,s){var l=r==null?0:r.length;if(l){var p=pu(r,s);if(p<l&&hr(r[p],s))return p}return-1}function a1(r,s){return pu(r,s,!0)}function o1(r,s,l){return Yc(r,s,_e(l,2),!0)}function u1(r,s){var l=r==null?0:r.length;if(l){var p=pu(r,s,!0)-1;if(hr(r[p],s))return p}return-1}function l1(r){return r&&r.length?Lh(r):[]}function c1(r,s){return r&&r.length?Lh(r,_e(s,2)):[]}function f1(r){var s=r==null?0:r.length;return s?qn(r,1,s):[]}function d1(r,s,l){return r&&r.length?(s=l||s===n?1:Re(s),qn(r,0,s<0?0:s)):[]}function h1(r,s,l){var p=r==null?0:r.length;return p?(s=l||s===n?1:Re(s),s=p-s,qn(r,s<0?0:s,p)):[]}function p1(r,s){return r&&r.length?gu(r,_e(s,3),!1,!0):[]}function g1(r,s){return r&&r.length?gu(r,_e(s,3)):[]}var m1=Fe(function(r){return Oi(Ht(r,1,kt,!0))}),y1=Fe(function(r){var s=Vn(r);return kt(s)&&(s=n),Oi(Ht(r,1,kt,!0),_e(s,2))}),v1=Fe(function(r){var s=Vn(r);return s=typeof s=="function"?s:n,Oi(Ht(r,1,kt,!0),n,s)});function b1(r){return r&&r.length?Oi(r):[]}function x1(r,s){return r&&r.length?Oi(r,_e(s,2)):[]}function w1(r,s){return s=typeof s=="function"?s:n,r&&r.length?Oi(r,n,s):[]}function af(r){if(!(r&&r.length))return[];var s=0;return r=G(r,function(l){if(kt(l))return s=Ot(l.length,s),!0}),Gi(s,function(l){return fe(r,Zr(l))})}function _p(r,s){if(!(r&&r.length))return[];var l=af(r);return s==null?l:fe(l,function(p){return w(s,n,p)})}var _1=Fe(function(r,s){return kt(r)?Pa(r,s):[]}),S1=Fe(function(r){return Hc(G(r,kt))}),k1=Fe(function(r){var s=Vn(r);return kt(s)&&(s=n),Hc(G(r,kt),_e(s,2))}),C1=Fe(function(r){var s=Vn(r);return s=typeof s=="function"?s:n,Hc(G(r,kt),n,s)}),D1=Fe(af);function E1(r,s){return Bh(r||[],s||[],Oa)}function T1(r,s){return Bh(r||[],s||[],Fa)}var M1=Fe(function(r){var s=r.length,l=s>1?r[s-1]:n;return l=typeof l=="function"?(r.pop(),l):n,_p(r,l)});function Sp(r){var s=S(r);return s.__chain__=!0,s}function I1(r,s){return s(r),r}function ku(r,s){return s(r)}var A1=ni(function(r){var s=r.length,l=s?r[0]:0,p=this.__wrapped__,x=function(k){return Ic(k,r)};return s>1||this.__actions__.length||!(p instanceof Ye)||!ri(l)?this.thru(x):(p=p.slice(l,+l+(s?1:0)),p.__actions__.push({func:ku,args:[x],thisArg:n}),new Un(p,this.__chain__).thru(function(k){return s&&!k.length&&k.push(n),k}))});function R1(){return Sp(this)}function O1(){return new Un(this.value(),this.__chain__)}function P1(){this.__values__===n&&(this.__values__=Fp(this.value()));var r=this.__index__>=this.__values__.length,s=r?n:this.__values__[this.__index__++];return{done:r,value:s}}function N1(){return this}function L1(r){for(var s,l=this;l instanceof lu;){var p=mp(l);p.__index__=0,p.__values__=n,s?x.__wrapped__=p:s=p;var x=p;l=l.__wrapped__}return x.__wrapped__=r,s}function F1(){var r=this.__wrapped__;if(r instanceof Ye){var s=r;return this.__actions__.length&&(s=new Ye(this)),s=s.reverse(),s.__actions__.push({func:ku,args:[sf],thisArg:n}),new Un(s,this.__chain__)}return this.thru(sf)}function $1(){return jh(this.__wrapped__,this.__actions__)}var j1=mu(function(r,s,l){De.call(r,l)?++r[l]:ei(r,l,1)});function B1(r,s,l){var p=Ie(r)?V:Iv;return l&&on(r,s,l)&&(s=n),p(r,_e(s,3))}function Y1(r,s){var l=Ie(r)?G:_h;return l(r,_e(s,3))}var W1=Zh(yp),H1=Zh(vp);function U1(r,s){return Ht(Cu(r,s),1)}function z1(r,s){return Ht(Cu(r,s),He)}function q1(r,s,l){return l=l===n?1:Re(l),Ht(Cu(r,s),l)}function kp(r,s){var l=Ie(r)?I:Ri;return l(r,_e(s,3))}function Cp(r,s){var l=Ie(r)?j:wh;return l(r,_e(s,3))}var V1=mu(function(r,s,l){De.call(r,l)?r[l].push(s):ei(r,l,[s])});function G1(r,s,l,p){r=vn(r)?r:Ns(r),l=l&&!p?Re(l):0;var x=r.length;return l<0&&(l=Ot(x+l,0)),Iu(r)?l<=x&&r.indexOf(s,l)>-1:!!x&&rt(r,s,l)>-1}var K1=Fe(function(r,s,l){var p=-1,x=typeof s=="function",k=vn(r)?P(r.length):[];return Ri(r,function(A){k[++p]=x?w(s,A,l):Na(A,s,l)}),k}),Z1=mu(function(r,s,l){ei(r,l,s)});function Cu(r,s){var l=Ie(r)?fe:Th;return l(r,_e(s,3))}function X1(r,s,l,p){return r==null?[]:(Ie(s)||(s=s==null?[]:[s]),l=p?n:l,Ie(l)||(l=l==null?[]:[l]),Rh(r,s,l))}var J1=mu(function(r,s,l){r[l?0:1].push(s)},function(){return[[],[]]});function Q1(r,s,l){var p=Ie(r)?Ee:lr,x=arguments.length<3;return p(r,_e(s,4),l,x,Ri)}function ex(r,s,l){var p=Ie(r)?It:lr,x=arguments.length<3;return p(r,_e(s,4),l,x,wh)}function tx(r,s){var l=Ie(r)?G:_h;return l(r,Tu(_e(s,3)))}function nx(r){var s=Ie(r)?yh:Gv;return s(r)}function rx(r,s,l){(l?on(r,s,l):s===n)?s=1:s=Re(s);var p=Ie(r)?Cv:Kv;return p(r,s)}function ix(r){var s=Ie(r)?Dv:Xv;return s(r)}function sx(r){if(r==null)return 0;if(vn(r))return Iu(r)?Tr(r):r.length;var s=Qt(r);return s==Gt||s==Yt?r.size:Lc(r).length}function ax(r,s,l){var p=Ie(r)?yt:Jv;return l&&on(r,s,l)&&(s=n),p(r,_e(s,3))}var ox=Fe(function(r,s){if(r==null)return[];var l=s.length;return l>1&&on(r,s[0],s[1])?s=[]:l>2&&on(s[0],s[1],s[2])&&(s=[s[0]]),Rh(r,Ht(s,1),[])}),Du=Yy||function(){return mt.Date.now()};function ux(r,s){if(typeof s!="function")throw new Le(f);return r=Re(r),function(){if(--r<1)return s.apply(this,arguments)}}function Dp(r,s,l){return s=l?n:s,s=r&&s==null?r.length:s,ti(r,h,n,n,n,n,s)}function Ep(r,s){var l;if(typeof s!="function")throw new Le(f);return r=Re(r),function(){return--r>0&&(l=s.apply(this,arguments)),r<=1&&(s=n),l}}var of=Fe(function(r,s,l){var p=Z;if(l.length){var x=En(l,Os(of));p|=ne}return ti(r,p,s,l,x)}),Tp=Fe(function(r,s,l){var p=Z|W;if(l.length){var x=En(l,Os(Tp));p|=ne}return ti(s,p,r,l,x)});function Mp(r,s,l){s=l?n:s;var p=ti(r,pe,n,n,n,n,n,s);return p.placeholder=Mp.placeholder,p}function Ip(r,s,l){s=l?n:s;var p=ti(r,ae,n,n,n,n,n,s);return p.placeholder=Ip.placeholder,p}function Ap(r,s,l){var p,x,k,A,L,Y,J=0,Q=!1,ee=!1,oe=!0;if(typeof r!="function")throw new Le(f);s=Gn(s)||0,vt(l)&&(Q=!!l.leading,ee="maxWait"in l,k=ee?Ot(Gn(l.maxWait)||0,s):k,oe="trailing"in l?!!l.trailing:oe);function ye(Ct){var pr=p,ai=x;return p=x=n,J=Ct,A=r.apply(ai,pr),A}function Se(Ct){return J=Ct,L=Ba(Be,s),Q?ye(Ct):A}function Ne(Ct){var pr=Ct-Y,ai=Ct-J,Zp=s-pr;return ee?Jt(Zp,k-ai):Zp}function ke(Ct){var pr=Ct-Y,ai=Ct-J;return Y===n||pr>=s||pr<0||ee&&ai>=k}function Be(){var Ct=Du();if(ke(Ct))return Ue(Ct);L=Ba(Be,Ne(Ct))}function Ue(Ct){return L=n,oe&&p?ye(Ct):(p=x=n,A)}function In(){L!==n&&Yh(L),J=0,p=Y=x=L=n}function un(){return L===n?A:Ue(Du())}function An(){var Ct=Du(),pr=ke(Ct);if(p=arguments,x=this,Y=Ct,pr){if(L===n)return Se(Y);if(ee)return Yh(L),L=Ba(Be,s),ye(Y)}return L===n&&(L=Ba(Be,s)),A}return An.cancel=In,An.flush=un,An}var lx=Fe(function(r,s){return xh(r,1,s)}),cx=Fe(function(r,s,l){return xh(r,Gn(s)||0,l)});function fx(r){return ti(r,ce)}function Eu(r,s){if(typeof r!="function"||s!=null&&typeof s!="function")throw new Le(f);var l=function(){var p=arguments,x=s?s.apply(this,p):p[0],k=l.cache;if(k.has(x))return k.get(x);var A=r.apply(this,p);return l.cache=k.set(x,A)||k,A};return l.cache=new(Eu.Cache||Qr),l}Eu.Cache=Qr;function Tu(r){if(typeof r!="function")throw new Le(f);return function(){var s=arguments;switch(s.length){case 0:return!r.call(this);case 1:return!r.call(this,s[0]);case 2:return!r.call(this,s[0],s[1]);case 3:return!r.call(this,s[0],s[1],s[2])}return!r.apply(this,s)}}function dx(r){return Ep(2,r)}var hx=Qv(function(r,s){s=s.length==1&&Ie(s[0])?fe(s[0],nn(_e())):fe(Ht(s,1),nn(_e()));var l=s.length;return Fe(function(p){for(var x=-1,k=Jt(p.length,l);++x<k;)p[x]=s[x].call(this,p[x]);return w(r,this,p)})}),uf=Fe(function(r,s){var l=En(s,Os(uf));return ti(r,ne,n,s,l)}),Rp=Fe(function(r,s){var l=En(s,Os(Rp));return ti(r,ie,n,s,l)}),px=ni(function(r,s){return ti(r,Te,n,n,n,s)});function gx(r,s){if(typeof r!="function")throw new Le(f);return s=s===n?s:Re(s),Fe(r,s)}function mx(r,s){if(typeof r!="function")throw new Le(f);return s=s==null?0:Ot(Re(s),0),Fe(function(l){var p=l[s],x=Ni(l,0,s);return p&&Me(x,p),w(r,this,x)})}function yx(r,s,l){var p=!0,x=!0;if(typeof r!="function")throw new Le(f);return vt(l)&&(p="leading"in l?!!l.leading:p,x="trailing"in l?!!l.trailing:x),Ap(r,s,{leading:p,maxWait:s,trailing:x})}function vx(r){return Dp(r,1)}function bx(r,s){return uf(zc(s),r)}function xx(){if(!arguments.length)return[];var r=arguments[0];return Ie(r)?r:[r]}function wx(r){return zn(r,z)}function _x(r,s){return s=typeof s=="function"?s:n,zn(r,z,s)}function Sx(r){return zn(r,O|z)}function kx(r,s){return s=typeof s=="function"?s:n,zn(r,O|z,s)}function Cx(r,s){return s==null||bh(r,s,jt(s))}function hr(r,s){return r===s||r!==r&&s!==s}var Dx=xu(Oc),Ex=xu(function(r,s){return r>=s}),is=Ch(function(){return arguments}())?Ch:function(r){return bt(r)&&De.call(r,"callee")&&!fh.call(r,"callee")},Ie=P.isArray,Tx=o?nn(o):Lv;function vn(r){return r!=null&&Mu(r.length)&&!ii(r)}function kt(r){return bt(r)&&vn(r)}function Mx(r){return r===!0||r===!1||bt(r)&&an(r)==Hr}var Li=Hy||bf,Ix=c?nn(c):Fv;function Ax(r){return bt(r)&&r.nodeType===1&&!Ya(r)}function Rx(r){if(r==null)return!0;if(vn(r)&&(Ie(r)||typeof r=="string"||typeof r.splice=="function"||Li(r)||Ps(r)||is(r)))return!r.length;var s=Qt(r);if(s==Gt||s==Yt)return!r.size;if(ja(r))return!Lc(r).length;for(var l in r)if(De.call(r,l))return!1;return!0}function Ox(r,s){return La(r,s)}function Px(r,s,l){l=typeof l=="function"?l:n;var p=l?l(r,s):n;return p===n?La(r,s,n,l):!!p}function lf(r){if(!bt(r))return!1;var s=an(r);return s==bi||s==cn||typeof r.message=="string"&&typeof r.name=="string"&&!Ya(r)}function Nx(r){return typeof r=="number"&&hh(r)}function ii(r){if(!vt(r))return!1;var s=an(r);return s==Sn||s==Ur||s==Wi||s==sa}function Op(r){return typeof r=="number"&&r==Re(r)}function Mu(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=we}function vt(r){var s=typeof r;return r!=null&&(s=="object"||s=="function")}function bt(r){return r!=null&&typeof r=="object"}var Pp=d?nn(d):jv;function Lx(r,s){return r===s||Nc(r,s,Jc(s))}function Fx(r,s,l){return l=typeof l=="function"?l:n,Nc(r,s,Jc(s),l)}function $x(r){return Np(r)&&r!=+r}function jx(r){if(_b(r))throw new X(u);return Dh(r)}function Bx(r){return r===null}function Yx(r){return r==null}function Np(r){return typeof r=="number"||bt(r)&&an(r)==zr}function Ya(r){if(!bt(r)||an(r)!=Kt)return!1;var s=nu(r);if(s===null)return!0;var l=De.call(s,"constructor")&&s.constructor;return typeof l=="function"&&l instanceof l&&fr.call(l)==Fy}var cf=g?nn(g):Bv;function Wx(r){return Op(r)&&r>=-we&&r<=we}var Lp=y?nn(y):Yv;function Iu(r){return typeof r=="string"||!Ie(r)&&bt(r)&&an(r)==Lt}function Mn(r){return typeof r=="symbol"||bt(r)&&an(r)==$n}var Ps=v?nn(v):Wv;function Hx(r){return r===n}function Ux(r){return bt(r)&&Qt(r)==de}function zx(r){return bt(r)&&an(r)==Ft}var qx=xu(Fc),Vx=xu(function(r,s){return r<=s});function Fp(r){if(!r)return[];if(vn(r))return Iu(r)?rn(r):yn(r);if(Ta&&r[Ta])return Er(r[Ta]());var s=Qt(r),l=s==Gt?Ds:s==Yt?Xr:Ns;return l(r)}function si(r){if(!r)return r===0?r:0;if(r=Gn(r),r===He||r===-He){var s=r<0?-1:1;return s*Ve}return r===r?r:0}function Re(r){var s=si(r),l=s%1;return s===s?l?s-l:s:0}function $p(r){return r?es(Re(r),0,_t):0}function Gn(r){if(typeof r=="number")return r;if(Mn(r))return lt;if(vt(r)){var s=typeof r.valueOf=="function"?r.valueOf():r;r=vt(s)?s+"":s}if(typeof r!="string")return r===0?r:+r;r=Hn(r);var l=Ao.test(r);return l||ua.test(r)?wc(r.slice(2),l?2:8):ki.test(r)?lt:+r}function jp(r){return Ir(r,bn(r))}function Gx(r){return r?es(Re(r),-we,we):r===0?r:0}function nt(r){return r==null?"":Tn(r)}var Kx=As(function(r,s){if(ja(s)||vn(s)){Ir(s,jt(s),r);return}for(var l in s)De.call(s,l)&&Oa(r,l,s[l])}),Bp=As(function(r,s){Ir(s,bn(s),r)}),Au=As(function(r,s,l,p){Ir(s,bn(s),r,p)}),Zx=As(function(r,s,l,p){Ir(s,jt(s),r,p)}),Xx=ni(Ic);function Jx(r,s){var l=Is(r);return s==null?l:vh(l,s)}var Qx=Fe(function(r,s){r=le(r);var l=-1,p=s.length,x=p>2?s[2]:n;for(x&&on(s[0],s[1],x)&&(p=1);++l<p;)for(var k=s[l],A=bn(k),L=-1,Y=A.length;++L<Y;){var J=A[L],Q=r[J];(Q===n||hr(Q,Rt[J])&&!De.call(r,J))&&(r[J]=k[J])}return r}),ew=Fe(function(r){return r.push(n,rp),w(Yp,n,r)});function tw(r,s){return Cr(r,_e(s,3),Mr)}function nw(r,s){return Cr(r,_e(s,3),Rc)}function rw(r,s){return r==null?r:Ac(r,_e(s,3),bn)}function iw(r,s){return r==null?r:Sh(r,_e(s,3),bn)}function sw(r,s){return r&&Mr(r,_e(s,3))}function aw(r,s){return r&&Rc(r,_e(s,3))}function ow(r){return r==null?[]:du(r,jt(r))}function uw(r){return r==null?[]:du(r,bn(r))}function ff(r,s,l){var p=r==null?n:ts(r,s);return p===n?l:p}function lw(r,s){return r!=null&&ap(r,s,Rv)}function df(r,s){return r!=null&&ap(r,s,Ov)}var cw=Jh(function(r,s,l){s!=null&&typeof s.toString!="function"&&(s=Qo.call(s)),r[s]=l},pf(xn)),fw=Jh(function(r,s,l){s!=null&&typeof s.toString!="function"&&(s=Qo.call(s)),De.call(r,s)?r[s].push(l):r[s]=[l]},_e),dw=Fe(Na);function jt(r){return vn(r)?mh(r):Lc(r)}function bn(r){return vn(r)?mh(r,!0):Hv(r)}function hw(r,s){var l={};return s=_e(s,3),Mr(r,function(p,x,k){ei(l,s(p,x,k),p)}),l}function pw(r,s){var l={};return s=_e(s,3),Mr(r,function(p,x,k){ei(l,x,s(p,x,k))}),l}var gw=As(function(r,s,l){hu(r,s,l)}),Yp=As(function(r,s,l,p){hu(r,s,l,p)}),mw=ni(function(r,s){var l={};if(r==null)return l;var p=!1;s=fe(s,function(k){return k=Pi(k,r),p||(p=k.length>1),k}),Ir(r,Zc(r),l),p&&(l=zn(l,O|M|z,cb));for(var x=s.length;x--;)Wc(l,s[x]);return l});function yw(r,s){return Wp(r,Tu(_e(s)))}var vw=ni(function(r,s){return r==null?{}:zv(r,s)});function Wp(r,s){if(r==null)return{};var l=fe(Zc(r),function(p){return[p]});return s=_e(s),Oh(r,l,function(p,x){return s(p,x[0])})}function bw(r,s,l){s=Pi(s,r);var p=-1,x=s.length;for(x||(x=1,r=n);++p<x;){var k=r==null?n:r[Ar(s[p])];k===n&&(p=x,k=l),r=ii(k)?k.call(r):k}return r}function xw(r,s,l){return r==null?r:Fa(r,s,l)}function ww(r,s,l,p){return p=typeof p=="function"?p:n,r==null?r:Fa(r,s,l,p)}var Hp=tp(jt),Up=tp(bn);function _w(r,s,l){var p=Ie(r),x=p||Li(r)||Ps(r);if(s=_e(s,4),l==null){var k=r&&r.constructor;x?l=p?new k:[]:vt(r)?l=ii(k)?Is(nu(r)):{}:l={}}return(x?I:Mr)(r,function(A,L,Y){return s(l,A,L,Y)}),l}function Sw(r,s){return r==null?!0:Wc(r,s)}function kw(r,s,l){return r==null?r:$h(r,s,zc(l))}function Cw(r,s,l,p){return p=typeof p=="function"?p:n,r==null?r:$h(r,s,zc(l),p)}function Ns(r){return r==null?[]:ka(r,jt(r))}function Dw(r){return r==null?[]:ka(r,bn(r))}function Ew(r,s,l){return l===n&&(l=s,s=n),l!==n&&(l=Gn(l),l=l===l?l:0),s!==n&&(s=Gn(s),s=s===s?s:0),es(Gn(r),s,l)}function Tw(r,s,l){return s=si(s),l===n?(l=s,s=0):l=si(l),r=Gn(r),Pv(r,s,l)}function Mw(r,s,l){if(l&&typeof l!="boolean"&&on(r,s,l)&&(s=l=n),l===n&&(typeof s=="boolean"?(l=s,s=n):typeof r=="boolean"&&(l=r,r=n)),r===n&&s===n?(r=0,s=1):(r=si(r),s===n?(s=r,r=0):s=si(s)),r>s){var p=r;r=s,s=p}if(l||r%1||s%1){var x=ph();return Jt(r+x*(s-r+_a("1e-"+((x+"").length-1))),s)}return jc(r,s)}var Iw=Rs(function(r,s,l){return s=s.toLowerCase(),r+(l?zp(s):s)});function zp(r){return hf(nt(r).toLowerCase())}function qp(r){return r=nt(r),r&&r.replace(Ro,Mi).replace(gc,"")}function Aw(r,s,l){r=nt(r),s=Tn(s);var p=r.length;l=l===n?p:es(Re(l),0,p);var x=l;return l-=s.length,l>=0&&r.slice(l,x)==s}function Rw(r){return r=nt(r),r&&Co.test(r)?r.replace(_i,Sc):r}function Ow(r){return r=nt(r),r&&Si.test(r)?r.replace(_r,"\\$&"):r}var Pw=Rs(function(r,s,l){return r+(l?"-":"")+s.toLowerCase()}),Nw=Rs(function(r,s,l){return r+(l?" ":"")+s.toLowerCase()}),Lw=Kh("toLowerCase");function Fw(r,s,l){r=nt(r),s=Re(s);var p=s?Tr(r):0;if(!s||p>=s)return r;var x=(s-p)/2;return bu(au(x),l)+r+bu(su(x),l)}function $w(r,s,l){r=nt(r),s=Re(s);var p=s?Tr(r):0;return s&&p<s?r+bu(s-p,l):r}function jw(r,s,l){r=nt(r),s=Re(s);var p=s?Tr(r):0;return s&&p<s?bu(s-p,l)+r:r}function Bw(r,s,l){return l||s==null?s=0:s&&(s=+s),Vy(nt(r).replace(Ui,""),s||0)}function Yw(r,s,l){return(l?on(r,s,l):s===n)?s=1:s=Re(s),Bc(nt(r),s)}function Ww(){var r=arguments,s=nt(r[0]);return r.length<3?s:s.replace(r[1],r[2])}var Hw=Rs(function(r,s,l){return r+(l?"_":"")+s.toLowerCase()});function Uw(r,s,l){return l&&typeof l!="number"&&on(r,s,l)&&(s=l=n),l=l===n?_t:l>>>0,l?(r=nt(r),r&&(typeof s=="string"||s!=null&&!cf(s))&&(s=Tn(s),!s&&mn(r))?Ni(rn(r),0,l):r.split(s,l)):[]}var zw=Rs(function(r,s,l){return r+(l?" ":"")+hf(s)});function qw(r,s,l){return r=nt(r),l=l==null?0:es(Re(l),0,r.length),s=Tn(s),r.slice(l,l+s.length)==s}function Vw(r,s,l){var p=S.templateSettings;l&&on(r,s,l)&&(s=n),r=nt(r),s=Au({},s,p,np);var x=Au({},s.imports,p.imports,np),k=jt(x),A=ka(x,k),L,Y,J=0,Q=s.interpolate||xs,ee="__p += '",oe=Ae((s.escape||xs).source+"|"+Q.source+"|"+(Q===ys?Mo:xs).source+"|"+(s.evaluate||xs).source+"|$","g"),ye="//# sourceURL="+(De.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++xc+"]")+`
|
|
114
114
|
`;r.replace(oe,function(ke,Be,Ue,In,un,An){return Ue||(Ue=In),ee+=r.slice(J,An).replace(zi,kc),Be&&(L=!0,ee+=`' +
|
|
115
115
|
__e(`+Be+`) +
|
|
116
116
|
'`),un&&(Y=!0,ee+=`';
|
|
@@ -121,13 +121,13 @@ __p += '`),Ue&&(ee+=`' +
|
|
|
121
121
|
`;var Se=De.call(s,"variable")&&s.variable;if(!Se)ee=`with (obj) {
|
|
122
122
|
`+ee+`
|
|
123
123
|
}
|
|
124
|
-
`;else if(uc.test(Se))throw new X(m);ee=(Y?ee.replace(
|
|
124
|
+
`;else if(uc.test(Se))throw new X(m);ee=(Y?ee.replace(_o,""):ee).replace(So,"$1").replace(rc,"$1;"),ee="function("+(Se||"obj")+`) {
|
|
125
125
|
`+(Se?"":`obj || (obj = {});
|
|
126
126
|
`)+"var __t, __p = ''"+(L?", __e = _.escape":"")+(Y?`, __j = Array.prototype.join;
|
|
127
127
|
function print() { __p += __j.call(arguments, '') }
|
|
128
128
|
`:`;
|
|
129
129
|
`)+ee+`return __p
|
|
130
|
-
}`;var Ne=qp(function(){return he(k,ye+"return "+ee).apply(n,A)});if(Ne.source=ee,lf(Ne))throw Ne;return Ne}function qw(r){return nt(r).toLowerCase()}function Gw(r){return nt(r).toUpperCase()}function Kw(r,s,l){if(r=nt(r),r&&(l||s===n))return Hn(r);if(!r||!(s=Tn(s)))return r;var p=rn(r),x=rn(s),k=Ge(p,x),A=Zi(p,x)+1;return Ni(p,k,A).join("")}function Zw(r,s,l){if(r=nt(r),r&&(l||s===n))return r.slice(0,Zo(r)+1);if(!r||!(s=Tn(s)))return r;var p=rn(r),x=Zi(p,rn(s))+1;return Ni(p,0,x).join("")}function Xw(r,s,l){if(r=nt(r),r&&(l||s===n))return r.replace(Ui,"");if(!r||!(s=Tn(s)))return r;var p=rn(r),x=Ge(p,rn(s));return Ni(p,x).join("")}function Jw(r,s){var l=et,p=Pe;if(vt(s)){var x="separator"in s?s.separator:x;l="length"in s?Re(s.length):l,p="omission"in s?Tn(s.omission):p}r=nt(r);var k=r.length;if(mn(r)){var A=rn(r);k=A.length}if(l>=k)return r;var L=l-Tr(p);if(L<1)return p;var Y=A?Ni(A,0,L).join(""):r.slice(0,L);if(x===n)return Y+p;if(A&&(L+=Y.length-L),cf(x)){if(r.slice(L).search(x)){var J,Q=Y;for(x.global||(x=Ae(x.source,nt(Mo.exec(x))+"g")),x.lastIndex=0;J=x.exec(Q);)var ee=J.index;Y=Y.slice(0,ee===n?L:ee)}}else if(r.indexOf(Tn(x),L)!=L){var oe=Y.lastIndexOf(x);oe>-1&&(Y=Y.slice(0,oe))}return Y+p}function Qw(r){return r=nt(r),r&&So.test(r)?r.replace(qr,Ea):r}var e_=Rs(function(r,s,l){return r+(l?" ":"")+s.toUpperCase()}),hf=Gh("toUpperCase");function Vp(r,s,l){return r=nt(r),s=l?n:s,s===n?Ca(r)?F(r):$e(r):r.match(s)||[]}var qp=Fe(function(r,s){try{return w(r,n,s)}catch(l){return lf(l)?l:new X(l)}}),t_=ni(function(r,s){return I(s,function(l){l=Ar(l),ei(r,l,of(r[l],r))}),r});function n_(r){var s=r==null?0:r.length,l=_e();return r=s?fe(r,function(p){if(typeof p[1]!="function")throw new Le(f);return[l(p[0]),p[1]]}):[],Fe(function(p){for(var x=-1;++x<s;){var k=r[x];if(w(k[0],this,p))return w(k[1],this,p)}})}function r_(r){return Tv(zn(r,O))}function pf(r){return function(){return r}}function i_(r,s){return r==null||r!==r?s:r}var s_=Zh(),a_=Zh(!0);function xn(r){return r}function gf(r){return Dh(typeof r=="function"?r:zn(r,O))}function o_(r){return Th(zn(r,O))}function u_(r,s){return Mh(r,zn(s,O))}var l_=Fe(function(r,s){return function(l){return Na(l,r,s)}}),c_=Fe(function(r,s){return function(l){return Na(r,l,s)}});function mf(r,s,l){var p=jt(s),x=fu(s,p);l==null&&!(vt(s)&&(x.length||!p.length))&&(l=s,s=r,r=this,x=fu(s,jt(s)));var k=!(vt(l)&&"chain"in l)||!!l.chain,A=ii(r);return I(x,function(L){var Y=s[L];r[L]=Y,A&&(r.prototype[L]=function(){var J=this.__chain__;if(k||J){var Q=r(this.__wrapped__),ee=Q.__actions__=yn(this.__actions__);return ee.push({func:Y,args:arguments,thisArg:r}),Q.__chain__=J,Q}return Y.apply(r,Me([this.value()],arguments))})}),r}function f_(){return mt._===this&&(mt._=Fy),this}function yf(){}function d_(r){return r=Re(r),Fe(function(s){return Ih(s,r)})}var h_=qc(fe),p_=qc(q),g_=qc(yt);function Gp(r){return ef(r)?Zr(Ar(r)):zv(r)}function m_(r){return function(s){return r==null?n:ts(r,s)}}var y_=Jh(),v_=Jh(!0);function vf(){return[]}function bf(){return!1}function b_(){return{}}function x_(){return""}function w_(){return!0}function __(r,s){if(r=Re(r),r<1||r>we)return[];var l=_t,p=Jt(r,_t);s=_e(s),r-=_t;for(var x=Gi(p,s);++l<r;)s(l);return x}function S_(r){return Ie(r)?fe(r,Ar):Mn(r)?[r]:yn(pp(nt(r)))}function k_(r){var s=++Ny;return nt(r)+s}var C_=yu(function(r,s){return r+s},0),D_=Gc("ceil"),E_=yu(function(r,s){return r/s},1),T_=Gc("floor");function M_(r){return r&&r.length?cu(r,xn,Oc):n}function I_(r,s){return r&&r.length?cu(r,_e(s,2),Oc):n}function A_(r){return Cn(r,xn)}function R_(r,s){return Cn(r,_e(s,2))}function O_(r){return r&&r.length?cu(r,xn,Fc):n}function P_(r,s){return r&&r.length?cu(r,_e(s,2),Fc):n}var N_=yu(function(r,s){return r*s},1),L_=Gc("round"),F_=yu(function(r,s){return r-s},0);function $_(r){return r&&r.length?Xt(r,xn):0}function j_(r,s){return r&&r.length?Xt(r,_e(s,2)):0}return S.after=ox,S.ary=Cp,S.assign=Gx,S.assignIn=jp,S.assignInWith=Iu,S.assignWith=Kx,S.at=Zx,S.before=Dp,S.bind=of,S.bindAll=t_,S.bindKey=Ep,S.castArray=bx,S.chain=_p,S.chunk=Tb,S.compact=Mb,S.concat=Ib,S.cond=n_,S.conforms=r_,S.constant=pf,S.countBy=$1,S.create=Xx,S.curry=Tp,S.curryRight=Mp,S.debounce=Ip,S.defaults=Jx,S.defaultsDeep=Qx,S.defer=ux,S.delay=lx,S.difference=Ab,S.differenceBy=Rb,S.differenceWith=Ob,S.drop=Pb,S.dropRight=Nb,S.dropRightWhile=Lb,S.dropWhile=Fb,S.fill=$b,S.filter=B1,S.flatMap=H1,S.flatMapDeep=U1,S.flatMapDepth=z1,S.flatten=vp,S.flattenDeep=jb,S.flattenDepth=Bb,S.flip=cx,S.flow=s_,S.flowRight=a_,S.fromPairs=Yb,S.functions=aw,S.functionsIn=ow,S.groupBy=V1,S.initial=Hb,S.intersection=Ub,S.intersectionBy=zb,S.intersectionWith=Vb,S.invert=lw,S.invertBy=cw,S.invokeMap=G1,S.iteratee=gf,S.keyBy=K1,S.keys=jt,S.keysIn=bn,S.map=ku,S.mapKeys=dw,S.mapValues=hw,S.matches=o_,S.matchesProperty=u_,S.memoize=Du,S.merge=pw,S.mergeWith=Bp,S.method=l_,S.methodOf=c_,S.mixin=mf,S.negate=Eu,S.nthArg=d_,S.omit=gw,S.omitBy=mw,S.once=fx,S.orderBy=Z1,S.over=h_,S.overArgs=dx,S.overEvery=p_,S.overSome=g_,S.partial=uf,S.partialRight=Ap,S.partition=X1,S.pick=yw,S.pickBy=Yp,S.property=Gp,S.propertyOf=m_,S.pull=Zb,S.pullAll=xp,S.pullAllBy=Xb,S.pullAllWith=Jb,S.pullAt=Qb,S.range=y_,S.rangeRight=v_,S.rearg=hx,S.reject=ex,S.remove=e1,S.rest=px,S.reverse=sf,S.sampleSize=nx,S.set=bw,S.setWith=xw,S.shuffle=rx,S.slice=t1,S.sortBy=ax,S.sortedUniq=u1,S.sortedUniqBy=l1,S.split=Hw,S.spread=gx,S.tail=c1,S.take=f1,S.takeRight=d1,S.takeRightWhile=h1,S.takeWhile=p1,S.tap=M1,S.throttle=mx,S.thru=Su,S.toArray=Lp,S.toPairs=Wp,S.toPairsIn=Hp,S.toPath=S_,S.toPlainObject=$p,S.transform=ww,S.unary=yx,S.union=g1,S.unionBy=m1,S.unionWith=y1,S.uniq=v1,S.uniqBy=b1,S.uniqWith=x1,S.unset=_w,S.unzip=af,S.unzipWith=wp,S.update=Sw,S.updateWith=kw,S.values=Ns,S.valuesIn=Cw,S.without=w1,S.words=Vp,S.wrap=vx,S.xor=_1,S.xorBy=S1,S.xorWith=k1,S.zip=C1,S.zipObject=D1,S.zipObjectDeep=E1,S.zipWith=T1,S.entries=Wp,S.entriesIn=Hp,S.extend=jp,S.extendWith=Iu,mf(S,S),S.add=C_,S.attempt=qp,S.camelCase=Mw,S.capitalize=Up,S.ceil=D_,S.clamp=Dw,S.clone=xx,S.cloneDeep=_x,S.cloneDeepWith=Sx,S.cloneWith=wx,S.conformsTo=kx,S.deburr=zp,S.defaultTo=i_,S.divide=E_,S.endsWith=Iw,S.eq=hr,S.escape=Aw,S.escapeRegExp=Rw,S.every=j1,S.find=Y1,S.findIndex=mp,S.findKey=ew,S.findLast=W1,S.findLastIndex=yp,S.findLastKey=tw,S.floor=T_,S.forEach=Sp,S.forEachRight=kp,S.forIn=nw,S.forInRight=rw,S.forOwn=iw,S.forOwnRight=sw,S.get=ff,S.gt=Cx,S.gte=Dx,S.has=uw,S.hasIn=df,S.head=bp,S.identity=xn,S.includes=q1,S.indexOf=Wb,S.inRange=Ew,S.invoke=fw,S.isArguments=is,S.isArray=Ie,S.isArrayBuffer=Ex,S.isArrayLike=vn,S.isArrayLikeObject=kt,S.isBoolean=Tx,S.isBuffer=Li,S.isDate=Mx,S.isElement=Ix,S.isEmpty=Ax,S.isEqual=Rx,S.isEqualWith=Ox,S.isError=lf,S.isFinite=Px,S.isFunction=ii,S.isInteger=Rp,S.isLength=Tu,S.isMap=Op,S.isMatch=Nx,S.isMatchWith=Lx,S.isNaN=Fx,S.isNative=$x,S.isNil=Bx,S.isNull=jx,S.isNumber=Pp,S.isObject=vt,S.isObjectLike=bt,S.isPlainObject=Ya,S.isRegExp=cf,S.isSafeInteger=Yx,S.isSet=Np,S.isString=Mu,S.isSymbol=Mn,S.isTypedArray=Ps,S.isUndefined=Wx,S.isWeakMap=Hx,S.isWeakSet=Ux,S.join=qb,S.kebabCase=Ow,S.last=qn,S.lastIndexOf=Gb,S.lowerCase=Pw,S.lowerFirst=Nw,S.lt=zx,S.lte=Vx,S.max=M_,S.maxBy=I_,S.mean=A_,S.meanBy=R_,S.min=O_,S.minBy=P_,S.stubArray=vf,S.stubFalse=bf,S.stubObject=b_,S.stubString=x_,S.stubTrue=w_,S.multiply=N_,S.nth=Kb,S.noConflict=f_,S.noop=yf,S.now=Cu,S.pad=Lw,S.padEnd=Fw,S.padStart=$w,S.parseInt=jw,S.random=Tw,S.reduce=J1,S.reduceRight=Q1,S.repeat=Bw,S.replace=Yw,S.result=vw,S.round=L_,S.runInContext=C,S.sample=tx,S.size=ix,S.snakeCase=Ww,S.some=sx,S.sortedIndex=n1,S.sortedIndexBy=r1,S.sortedIndexOf=i1,S.sortedLastIndex=s1,S.sortedLastIndexBy=a1,S.sortedLastIndexOf=o1,S.startCase=Uw,S.startsWith=zw,S.subtract=F_,S.sum=$_,S.sumBy=j_,S.template=Vw,S.times=__,S.toFinite=si,S.toInteger=Re,S.toLength=Fp,S.toLower=qw,S.toNumber=Gn,S.toSafeInteger=qx,S.toString=nt,S.toUpper=Gw,S.trim=Kw,S.trimEnd=Zw,S.trimStart=Xw,S.truncate=Jw,S.unescape=Qw,S.uniqueId=k_,S.upperCase=e_,S.upperFirst=hf,S.each=Sp,S.eachRight=kp,S.first=bp,mf(S,function(){var r={};return Mr(S,function(s,l){De.call(S.prototype,l)||(r[l]=s)}),r}(),{chain:!1}),S.VERSION=i,I(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){S[r].placeholder=S}),I(["drop","take"],function(r,s){Ye.prototype[r]=function(l){l=l===n?1:Ot(Re(l),0);var p=this.__filtered__&&!s?new Ye(this):this.clone();return p.__filtered__?p.__takeCount__=Jt(l,p.__takeCount__):p.__views__.push({size:Jt(l,_t),type:r+(p.__dir__<0?"Right":"")}),p},Ye.prototype[r+"Right"]=function(l){return this.reverse()[r](l).reverse()}}),I(["filter","map","takeWhile"],function(r,s){var l=s+1,p=l==Ve||l==ht;Ye.prototype[r]=function(x){var k=this.clone();return k.__iteratees__.push({iteratee:_e(x,3),type:l}),k.__filtered__=k.__filtered__||p,k}}),I(["head","last"],function(r,s){var l="take"+(s?"Right":"");Ye.prototype[r]=function(){return this[l](1).value()[0]}}),I(["initial","tail"],function(r,s){var l="drop"+(s?"":"Right");Ye.prototype[r]=function(){return this.__filtered__?new Ye(this):this[l](1)}}),Ye.prototype.compact=function(){return this.filter(xn)},Ye.prototype.find=function(r){return this.filter(r).head()},Ye.prototype.findLast=function(r){return this.reverse().find(r)},Ye.prototype.invokeMap=Fe(function(r,s){return typeof r=="function"?new Ye(this):this.map(function(l){return Na(l,r,s)})}),Ye.prototype.reject=function(r){return this.filter(Eu(_e(r)))},Ye.prototype.slice=function(r,s){r=Re(r);var l=this;return l.__filtered__&&(r>0||s<0)?new Ye(l):(r<0?l=l.takeRight(-r):r&&(l=l.drop(r)),s!==n&&(s=Re(s),l=s<0?l.dropRight(-s):l.take(s-r)),l)},Ye.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},Ye.prototype.toArray=function(){return this.take(_t)},Mr(Ye.prototype,function(r,s){var l=/^(?:filter|find|map|reject)|While$/.test(s),p=/^(?:head|last)$/.test(s),x=S[p?"take"+(s=="last"?"Right":""):s],k=p||/^find/.test(s);x&&(S.prototype[s]=function(){var A=this.__wrapped__,L=p?[1]:arguments,Y=A instanceof Ye,J=L[0],Q=Y||Ie(A),ee=function(Be){var Ue=x.apply(S,Me([Be],L));return p&&oe?Ue[0]:Ue};Q&&l&&typeof J=="function"&&J.length!=1&&(Y=Q=!1);var oe=this.__chain__,ye=!!this.__actions__.length,Se=k&&!oe,Ne=Y&&!ye;if(!k&&Q){A=Ne?A:new Ye(this);var ke=r.apply(A,L);return ke.__actions__.push({func:Su,args:[ee],thisArg:n}),new Un(ke,oe)}return Se&&Ne?r.apply(this,L):(ke=this.thru(ee),Se?p?ke.value()[0]:ke.value():ke)})}),I(["pop","push","shift","sort","splice","unshift"],function(r){var s=At[r],l=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",p=/^(?:pop|shift)$/.test(r);S.prototype[r]=function(){var x=arguments;if(p&&!this.__chain__){var k=this.value();return s.apply(Ie(k)?k:[],x)}return this[l](function(A){return s.apply(Ie(A)?A:[],x)})}}),Mr(Ye.prototype,function(r,s){var l=S[s];if(l){var p=l.name+"";De.call(Ms,p)||(Ms[p]=[]),Ms[p].push({name:s,func:l})}}),Ms[mu(n,W).name]=[{name:"wrapper",func:n}],Ye.prototype.clone=Qy,Ye.prototype.reverse=ev,Ye.prototype.value=tv,S.prototype.at=I1,S.prototype.chain=A1,S.prototype.commit=R1,S.prototype.next=O1,S.prototype.plant=N1,S.prototype.reverse=L1,S.prototype.toJSON=S.prototype.valueOf=S.prototype.value=F1,S.prototype.first=S.prototype.head,Ta&&(S.prototype[Ta]=P1),S},V=H();ur?((ur.exports=V)._=V,ks._=V):mt._=V}).call(D.commonjsGlobal)})(rl,rl.exports);rl.exports;function hA(e){var t=e.lastRenderedStartIndex,n=e.lastRenderedStopIndex,i=e.startIndex,a=e.stopIndex;return!(i>n||a<t)}function pA(e){for(var t=e.isItemLoaded,n=e.itemCount,i=e.minimumBatchSize,a=e.startIndex,u=e.stopIndex,f=[],m=null,b=null,_=a;_<=u;_++){var E=t(_);E?b!==null&&(f.push(m,b),m=b=null):(b=_,m===null&&(m=_))}if(b!==null){for(var O=Math.min(Math.max(b,m+i-1),n-1),M=b+1;M<=O&&!t(M);M++)b=M;f.push(m,b)}if(f.length)for(;f[1]-f[0]+1<i&&f[0]>0;){var z=f[0]-1;if(!t(z))f[0]=z;else break}return f}var gA=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},mA=function(){function e(t,n){for(var i=0;i<n.length;i++){var a=n[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),yA=function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},Yg=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e};(function(e){yA(t,e);function t(){var n,i,a,u;gA(this,t);for(var f=arguments.length,m=Array(f),b=0;b<f;b++)m[b]=arguments[b];return u=(i=(a=Yg(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(m))),a),a._lastRenderedStartIndex=-1,a._lastRenderedStopIndex=-1,a._memoizedUnloadedRanges=[],a._onItemsRendered=function(_){var E=_.visibleStartIndex,O=_.visibleStopIndex;a._lastRenderedStartIndex=E,a._lastRenderedStopIndex=O,a._ensureRowsLoaded(E,O)},a._setRef=function(_){a._listRef=_},i),Yg(a,u)}return mA(t,[{key:"resetloadMoreItemsCache",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this._memoizedUnloadedRanges=[],i&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var i=this.props.children;return i({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(i,a){var u=this.props,f=u.isItemLoaded,m=u.itemCount,b=u.minimumBatchSize,_=b===void 0?10:b,E=u.threshold,O=E===void 0?15:E,M=pA({isItemLoaded:f,itemCount:m,minimumBatchSize:_,startIndex:Math.max(0,i-O),stopIndex:Math.min(m-1,a+O)});(this._memoizedUnloadedRanges.length!==M.length||this._memoizedUnloadedRanges.some(function(z,B){return M[B]!==z}))&&(this._memoizedUnloadedRanges=M,this._loadUnloadedRanges(M))}},{key:"_loadUnloadedRanges",value:function(i){for(var a=this,u=this.props.loadMoreItems||this.props.loadMoreRows,f=function(_){var E=i[_],O=i[_+1],M=u(E,O);M!=null&&M.then(function(){if(hA({lastRenderedStartIndex:a._lastRenderedStartIndex,lastRenderedStopIndex:a._lastRenderedStopIndex,startIndex:E,stopIndex:O})){if(a._listRef==null)return;typeof a._listRef.resetAfterIndex=="function"?a._listRef.resetAfterIndex(E,!0):(typeof a._listRef._getItemStyleCache=="function"&&a._listRef._getItemStyleCache(-1),a._listRef.forceUpdate())}})},m=0;m<i.length;m+=2)f(m)}}]),t})(D.reactExports.PureComponent);D.reactExports.createContext({});const vA=e=>{const[t,n]=D.reactExports.useState([]);return D.reactExports.useEffect(()=>{D.axios.get(`${e}/user-management/api/v1/users/my-account/permissions`,{withCredentials:!0}).then(i=>n(i.data)).catch(i=>{console.error("Getting user permission error:",i)})},[e]),t},Z0=e=>(t,n)=>{const i=vA(e);return n?t.every(a=>i==null?void 0:i.includes(a)):t.some(a=>i==null?void 0:i.includes(a))},X0=({baseUrl:e,accessWith:t,requireAll:n,children:i})=>Z0(e)(t,n)?D.jsxRuntimeExports.jsx(D.jsxRuntimeExports.Fragment,{children:i}):null;{const e=D.s(X0,{props:{baseUrl:"string",accessWith:"json",requireAll:"boolean",children:"json"},shadow:"open"});customElements.define("has-permission",e)}function bA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wg(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,B2(i.key),i)}}function xA(e,t,n){return t&&Wg(e.prototype,t),n&&Wg(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var J0=[],wA=J0.forEach,_A=J0.slice;function SA(e){return wA.call(_A.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}var Hg=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,kA=function(t,n,i){var a=i||{};a.path=a.path||"/";var u=encodeURIComponent(n),f="".concat(t,"=").concat(u);if(a.maxAge>0){var m=a.maxAge-0;if(Number.isNaN(m))throw new Error("maxAge should be a Number");f+="; Max-Age=".concat(Math.floor(m))}if(a.domain){if(!Hg.test(a.domain))throw new TypeError("option domain is invalid");f+="; Domain=".concat(a.domain)}if(a.path){if(!Hg.test(a.path))throw new TypeError("option path is invalid");f+="; Path=".concat(a.path)}if(a.expires){if(typeof a.expires.toUTCString!="function")throw new TypeError("option expires is invalid");f+="; Expires=".concat(a.expires.toUTCString())}if(a.httpOnly&&(f+="; HttpOnly"),a.secure&&(f+="; Secure"),a.sameSite){var b=typeof a.sameSite=="string"?a.sameSite.toLowerCase():a.sameSite;switch(b){case!0:f+="; SameSite=Strict";break;case"lax":f+="; SameSite=Lax";break;case"strict":f+="; SameSite=Strict";break;case"none":f+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return f},Ug={create:function(t,n,i,a){var u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};i&&(u.expires=new Date,u.expires.setTime(u.expires.getTime()+i*60*1e3)),a&&(u.domain=a),document.cookie=kA(t,encodeURIComponent(n),u)},read:function(t){for(var n="".concat(t,"="),i=document.cookie.split(";"),a=0;a<i.length;a++){for(var u=i[a];u.charAt(0)===" ";)u=u.substring(1,u.length);if(u.indexOf(n)===0)return u.substring(n.length,u.length)}return null},remove:function(t){this.create(t,"",-1)}},CA={name:"cookie",lookup:function(t){var n;if(t.lookupCookie&&typeof document<"u"){var i=Ug.read(t.lookupCookie);i&&(n=i)}return n},cacheUserLanguage:function(t,n){n.lookupCookie&&typeof document<"u"&&Ug.create(n.lookupCookie,t,n.cookieMinutes,n.cookieDomain,n.cookieOptions)}},DA={name:"querystring",lookup:function(t){var n;if(typeof window<"u"){var i=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(i=window.location.hash.substring(window.location.hash.indexOf("?")));for(var a=i.substring(1),u=a.split("&"),f=0;f<u.length;f++){var m=u[f].indexOf("=");if(m>0){var b=u[f].substring(0,m);b===t.lookupQuerystring&&(n=u[f].substring(m+1))}}}return n}},qa=null,zg=function(){if(qa!==null)return qa;try{qa=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{qa=!1}return qa},EA={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&zg()){var i=window.localStorage.getItem(t.lookupLocalStorage);i&&(n=i)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&zg()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},Ga=null,Vg=function(){if(Ga!==null)return Ga;try{Ga=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{Ga=!1}return Ga},TA={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&Vg()){var i=window.sessionStorage.getItem(t.lookupSessionStorage);i&&(n=i)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&Vg()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},MA={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var i=0;i<navigator.languages.length;i++)n.push(navigator.languages[i]);navigator.userLanguage&&n.push(navigator.userLanguage),navigator.language&&n.push(navigator.language)}return n.length>0?n:void 0}},IA={name:"htmlTag",lookup:function(t){var n,i=t.htmlTag||(typeof document<"u"?document.documentElement:null);return i&&typeof i.getAttribute=="function"&&(n=i.getAttribute("lang")),n}},AA={name:"path",lookup:function(t){var n;if(typeof window<"u"){var i=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(i instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof i[t.lookupFromPathIndex]!="string")return;n=i[t.lookupFromPathIndex].replace("/","")}else n=i[0].replace("/","")}return n}},RA={name:"subdomain",lookup:function(t){var n=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,i=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(i)return i[n]}};function OA(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(t){return t}}}var Q0=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};bA(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return xA(e,[{key:"init",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n||{languageUtils:{}},this.options=SA(i,this.options||{},OA()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(u){return u.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=a,this.addDetector(CA),this.addDetector(DA),this.addDetector(EA),this.addDetector(TA),this.addDetector(MA),this.addDetector(IA),this.addDetector(AA),this.addDetector(RA)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var i=this;n||(n=this.options.order);var a=[];return n.forEach(function(u){if(i.detectors[u]){var f=i.detectors[u].lookup(i.options);f&&typeof f=="string"&&(f=[f]),f&&(a=a.concat(f))}}),a=a.map(function(u){return i.options.convertDetectedLanguage(u)}),this.services.languageUtils.getBestMatchFromCodes?a:a.length>0?a[0]:null}},{key:"cacheUserLanguage",value:function(n,i){var a=this;i||(i=this.options.caches),i&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||i.forEach(function(u){a.detectors[u]&&a.detectors[u].cacheUserLanguage(n,a.options)}))}}]),e}();Q0.type="languageDetector";const PA=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,NA={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},LA=e=>NA[e],FA=e=>e.replace(PA,LA);let qg={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:FA};function $A(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};qg={...qg,...e}}const jA={type:"3rdParty",init(e){$A(e.options.react)}},BA={400:"Bad Request - The request cannot be fulfilled due to bad syntax.",401:"The request requires user authentication.",403:"The user does not have permission.",404:"Item Not Found",500:"Server got a error, please contact for assistance",502:"Server got a bad gateway, please contact for assistance",503:"Server is unavailable, please contact for assistance",504:"Server is timeout, please contact for assistance"},YA={unauthorizedPage:{title:"Access Denied: No Access Permission",description1:"We regret to inform you that you do not have the necessary permissions to access this page.",description2:"Please contact our administrator for assistance. Thank you for your understanding."}},WA={saasAdmin:{servicePackage:{errorMessage:{packageNotFound:"Package not found.",languageInvalid:"Field language is invalid.",packageNameExists:"The package name already exists.",serviceNotFound:"Service not found.",serviceNotBelongToPackage:"Service not found or does not belong to the correct package",serviceNotBelongToServiceParent:"Service not found or does not belong to the correct service parent",canNotGetServiceListPleaseTryAgain:"Can not get service list now, please try again"}},tenantManagement:{errorMessage:{tenantNotFound:"Tenant not found.",countryInvalid:"Field country is invalid.",createTenantFailed:"Create tenant failed. Please try again",isTenantMailExist:"The email is already exist."}},brandManagement:{errorMessage:{firstNameInvalid:"Field first name is invalid. Must be of length 3 to 40 and no special characters.",createdAtInvalid:"Field createdAt is invalid.",brandNotFound:"Brand not found.",lastNameInvalid:"Field last name is invalid. Must be of length 3 to 40 and no special characters.",idInvalid:"Field id is invalid. Must be uuid v4 format.",updatedAtInvalid:"Field createdAt is invalid. Must be date format.",countryInvalid:"Field Country is invalid. Please select a Country that we support.",termTypeInvalid:"Field TermType invalid. Please select a TermType that we support.",baseCostTypeInvalid:"Field BaseCostType invalid. Please select a BaseCostType that we support.",brandStatusesInvalid:"BrandStatuses is invalid. Please select a BrandStatuses that we support.",informationPlanIsRequired:"Information Plan is required.",settingStatusesInvalid:"SettingStatuses is invalid. Please select a BaseCostType that we support.",languagesInvalid:"Langagues is invalid. Please select a Langagues that we support.",currencyInvalid:"Currency is invalid. Please select a Currency that we support.",distanceMetricInvalid:"DistanceMetric is invalid. Please select a DistanceMetric that we support.",settingNotFound:"Setting not found.",subscriptionNotFound:"Subscription not found.",subscriptionNameExists:"The subscription name already exists.",subscriptionServiceNotFound:"subscriptionService not found.",subscriptionServiceNotBelongToPackage:"subscriptionService not found or does not belong to the correct package",subscriptionServiceNotBelongTosubscriptionServiceParent:"subscriptionService not found or does not belong to the correct subscriptionService parent",canNotGetsubscriptionServiceListPleaseTryAgain:"Can not get subscriptionService list now, please try again"}}},tenantAdmin:{brandManagement:{errorMessage:{firstNameInvalid:"Field first name is invalid. Must be of length 3 to 40 and no special characters.",createdAtInvalid:"Field createdAt is invalid.",brandNotFound:"Brand not found.",lastNameInvalid:"Field last name is invalid. Must be of length 3 to 40 and no special characters.",idInvalid:"Field id is invalid. Must be uuid v4 format.",updatedAtInvalid:"Field createdAt is invalid. Must be date format.",countryInvalid:"Field Country is invalid. Please select a Country that we support.",termTypeInvalid:"Field TermType invalid. Please select a TermType that we support.",baseCostTypeInvalid:"Field BaseCostType invalid. Please select a BaseCostType that we support.",brandStatusesInvalid:"BrandStatuses is invalid. Please select a BrandStatuses that we support.",informationPlanIsRequired:"Information Plan is required.",settingStatusesInvalid:"SettingStatuses is invalid. Please select a BaseCostType that we support.",languagesInvalid:"Langagues is invalid. Please select a Langagues that we support.",currencyInvalid:"Currency is invalid. Please select a Currency that we support.",distanceMetricInvalid:"DistanceMetric is invalid. Please select a DistanceMetric that we support.",settingNotFound:"Setting not found.",subscriptionNotFound:"Subscription not found.",subscriptionNameExists:"The subscription name already exists.",subscriptionServiceNotFound:"subscriptionService not found.",subscriptionServiceNotBelongToPackage:"subscriptionService not found or does not belong to the correct package",subscriptionServiceNotBelongTosubscriptionServiceParent:"subscriptionService not found or does not belong to the correct subscriptionService parent",canNotGetsubscriptionServiceListPleaseTryAgain:"Can not get subscriptionService list now, please try again"}}},brandAdmin:{errorMessage:{firstNameInvalid:"Field first name is invalid. Must be of length 3 to 40 and no special characters.",createdAtInvalid:"Field createdAt is invalid.",brandNotFound:"Brand not found.",lastNameInvalid:"Field last name is invalid. Must be of length 3 to 40 and no special characters.",idInvalid:"Field id is invalid. Must be uuid v4 format.",updatedAtInvalid:"Field createdAt is invalid. Must be date format.",countryInvalid:"Field Country is invalid. Please select a Country that we support.",termTypeInvalid:"Field TermType invalid. Please select a TermType that we support.",baseCostTypeInvalid:"Field BaseCostType invalid. Please select a BaseCostType that we support.",brandStatusesInvalid:"BrandStatuses is invalid. Please select a BrandStatuses that we support.",informationPlanIsRequired:"Information Plan is required.",settingStatusesInvalid:"SettingStatuses is invalid. Please select a BaseCostType that we support.",languagesInvalid:"Langagues is invalid. Please select a Langagues that we support.",currencyInvalid:"Currency is invalid. Please select a Currency that we support.",distanceMetricInvalid:"DistanceMetric is invalid. Please select a DistanceMetric that we support.",settingNotFound:"Setting not found.",subscriptionNotFound:"Subscription not found.",subscriptionNameExists:"The subscription name already exists.",subscriptionServiceNotFound:"subscriptionService not found.",subscriptionServiceNotBelongToPackage:"subscriptionService not found or does not belong to the correct package",subscriptionServiceNotBelongTosubscriptionServiceParent:"subscriptionService not found or does not belong to the correct subscriptionService parent",canNotGetsubscriptionServiceListPleaseTryAgain:"Can not get subscriptionService list now, please try again"}},iam:{usersManagement:{errorMessage:{firstNameInvalid:"Field first name is invalid. Must be of length 1 to 40 and no special characters.",createdAtInvalid:"Field createdAt is invalid.",notFound:"User not found.",lastNameInvalid:"Field last name is invalid. Must be of length 1 to 40 and no special characters.",updatedAtInvalid:"Field createdAt is invalid. Must be date format.",emailInvalid:"Field email is invalid. Must be email format.",passwordInvalid:"Field password is invalid. Must be 8 characters long, 1 uppercase & 1 lowercase character, 1 number and 1 special character.",countryCodeInvalid:"Field countryCode is invalid.",languageCodeInvalid:"Field languageCode is invalid.",deletedAtInvalid:"Field deletedAt is invalid. Must be date format.",isActiveInvalid:"Field isActive is invalid.",isSuspendInvalid:"Field isSuspend is invalid.",userExist:"The user already exists.",authProviderInvalid:"Field authProvider is invalid.",isEnableInvalid:"Field isEnable is invalid.",sendEmailFailed:"Send email failed.",emailRequired:"Field email is required",firstNameRequired:"Field first name is required",lastNameRequired:"Field last name is required",countryCodeRequired:"Field country code is required",userStatusInvalid:"Field status invalid. Please select a status that we support.",loginAtInvalid:"Field last login is invalid.",avatarFileInvalid:"Avatar file format not supported. Must be png, jpeg, jpg and size less than 1mb.",permissionGroupNotFound:"Permission group not Found.",organizeInvalid:"Field organize is required. Must be a object.",relatedIdInvalid:"Field organize's relatedId. Must be a number.",userOrganizeNotFound:"User's organize not Found.",isSystemInvalid:"Field isSystem is invalid.",organizeUserInvalid:"Field users is invalid. Must be a array.",organizeUserDuplicate:"Field users contains duplicated email."}},permissionGroup:{errorMessage:{actionNotFound:"Action not found.",permissionGroupNotFound:"Permission group not Found.",permissionGroupIsExisted:"Permission group name is existed",permissionGroupOrganizeNotFound:"Permission group's organize not Found.",relatedIdInvalid:"Field organize's relatedId. Must be a number.",cannotRemoveFullPermissionGroup:"You cannot remove this permission group.",cannotEditFullPermissionGroup:"You cannot update this permission group."}},organize:{errorMessage:{relatedIdInvalid:"Field relatedId is invalid. Must be number.",nameInvalid:"Field data's name is invalid. Must be of length 1 to 40 and no special characters.",dataInvalid:"Field data is invalid. Must be object.",organizeExist:"The organize already exists.",callbackUrlInvalid:"Field data's callbackPath is invalid. Must be a string."}}},notificationAdmin:{notification:{errorMessage:{notificationFilterType:"Field notificationFilterType is invalid. Must be one of read, unread and all.",userIdInvalid:"Field userId is invalid. Must be a number.",filterInvalid:"Field filter is invalid. Must be a object.",isReadInvalid:"Field isRead is invalid. Must be a boolean.",notificationIdInvalid:"Field id is invalid. Must be a number.",userDeviceTokenInvalid:"Field deviceToken is invalid. Must be a string."}},notificationConfig:{errorMessage:{notificationNotFound:"Notification config not found.",notificationIsExisted:"Notification rule is existed.",actionNotFound:"Action not found.",userNotFound:"User not found.",firstNameInvalid:"Field first name is invalid. Must be of length 1 to 40 and no special characters.",createdAtInvalid:"Field createdAt is invalid.",lastNameInvalid:"Field last name is invalid. Must be of length 1 to 40 and no special characters.",updatedAtInvalid:"Field createdAt is invalid. Must be date format.",emailInvalid:"Field email is invalid. Must be email format.",passwordInvalid:"Field password is invalid. Must be 8 characters long, 1 uppercase & 1 lowercase character, 1 number and 1 special character.",countryCodeInvalid:"Field countryCode is invalid.",languageCodeInvalid:"Field languageCode is invalid.",deletedAtInvalid:"Field deletedAt is invalid. Must be date format.",isActiveInvalid:"Field isActive is invalid.",isSuspendInvalid:"Field isSuspend is invalid.",userExist:"The user already exists.",authProviderInvalid:"Field authProvider is invalid.",isEnableInvalid:"Field isEnable is invalid.",sendEmailFailed:"Send email failed.",emailRequired:"Field email is required",firstNameRequired:"Field first name is required",lastNameRequired:"Field last name is required",countryCodeRequired:"Field country code is required",userStatusInvalid:"Field status invalid. Please select a status that we support.",loginAtInvalid:"Field last login is invalid.",avatarFileInvalid:"Avatar file format not supported. Must be png, jpeg, jpg and size less than 1mb.",permissionGroupNotFound:"Permission group not Found.",organizeInvalid:"Field organize is required. Must be a object.",relatedIdInvalid:"Field organize's relatedId. Must be a number.",userOrganizeNotFound:"User's organize not Found.",isSystemInvalid:"Field isSystem is invalid.",organizeUserInvalid:"Field users is invalid. Must be a array.",organizeUserDuplicate:"Field users contains duplicated email."}}}},HA={errorMessage:BA,components:YA,configurations:WA},UA={400:"Schlechte Anfrage - Die Anfrage kann aufgrund einer schlechten Syntax nicht erfüllt werden.",401:"Die Anfrage erfordert eine Benutzerauthentifizierung.",403:"Der Benutzer hat keine Berechtigung.",404:"Element nicht gefunden",500:"Server hat einen Fehler erhalten, bitte um Hilfe kontaktieren",502:"Server hat ein ungültiges Gateway erhalten, bitte um Hilfe kontaktieren",503:"Server ist nicht verfügbar, bitte um Hilfe kontaktieren",504:"Server-Zeitüberschreitung, bitte um Hilfe kontaktieren"},zA={unauthorizedPage:{title:"Zugriff verweigert: Keine Zugriffsberechtigung",description1:"Wir bedauern Ihnen mitteilen zu müssen, dass Sie nicht über die erforderlichen Berechtigungen verfügen, um auf diese Seite zuzugreifen.",description2:"Bitte kontaktieren Sie unseren Administrator für Unterstützung. Vielen Dank für Ihr Verständnis."}},VA={saasAdmin:{servicePackage:{errorMessage:{packageNotFound:"Paket nicht gefunden.",languageInvalid:"Das Feld Sprache ist ungültig.",packageNameExists:"Der Paketname existiert bereits.",serviceNotFound:"Dienst nicht gefunden.",serviceNotBelongToPackage:"Dienst nicht gefunden oder gehört nicht zum richtigen Paket",serviceNotBelongToServiceParent:"Dienst nicht gefunden oder gehört nicht zum richtigen Dienst-Elternteil",canNotGetServiceListPleaseTryAgain:"Dienstliste kann derzeit nicht abgerufen werden, bitte versuchen Sie es erneut"}},tenantManagement:{errorMessage:{tenantNotFound:"Mieter nicht gefunden.",countryInvalid:"Das Feld Land ist ungültig.",createTenantFailed:"Mietererstellung fehlgeschlagen. Bitte versuchen Sie es erneut.",isTenantMailExist:"Die E-Mail existiert bereits."}},brandManagement:{errorMessage:{firstNameInvalid:"Das Feld Vorname ist ungültig. Muss eine Länge von 3 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",createdAtInvalid:"Das Feld Erstellt am ist ungültig.",brandNotFound:"Marke nicht gefunden.",lastNameInvalid:"Das Feld Nachname ist ungültig. Muss eine Länge von 3 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",idInvalid:"Das Feld ID ist ungültig. Muss im UUID-v4-Format sein.",updatedAtInvalid:"Das Feld Erstellt am ist ungültig. Muss im Datumsformat sein.",countryInvalid:"Das Feld Land ist ungültig. Bitte wählen Sie ein von uns unterstütztes Land aus.",termTypeInvalid:"Das Feld TermType ist ungültig. Bitte wählen Sie einen von uns unterstützten TermType aus.",baseCostTypeInvalid:"Das Feld BaseCostType ist ungültig. Bitte wählen Sie einen von uns unterstützten BaseCostType aus.",brandStatusesInvalid:"BrandStatuses ist ungültig. Bitte wählen Sie einen von uns unterstützten BrandStatuses aus.",informationPlanIsRequired:"Informationsplan ist erforderlich.",settingStatusesInvalid:"SettingStatuses ist ungültig. Bitte wählen Sie einen von uns unterstützten BaseCostType aus.",languagesInvalid:"Sprachen ist ungültig. Bitte wählen Sie eine von uns unterstützte Sprache aus.",currencyInvalid:"Währung ist ungültig. Bitte wählen Sie eine von uns unterstützte Währung aus.",distanceMetricInvalid:"Entfernungsmetrik ist ungültig. Bitte wählen Sie eine von uns unterstützte Entfernungsmetrik aus.",settingNotFound:"Einstellung nicht gefunden.",subscriptionNotFound:"Abonnement nicht gefunden.",subscriptionNameExists:"Der Abonnementname existiert bereits.",subscriptionServiceNotFound:"Abonnementdienst nicht gefunden.",subscriptionServiceNotBelongToPackage:"Abonnementdienst nicht gefunden oder gehört nicht zum richtigen Paket",subscriptionServiceNotBelongTosubscriptionServiceParent:"Abonnementdienst nicht gefunden oder gehört nicht zum richtigen Abonnementdienst-Elternteil",canNotGetsubscriptionServiceListPleaseTryAgain:"Abonnementdienstliste kann derzeit nicht abgerufen werden, bitte versuchen Sie es erneut"}}},tenantAdmin:{brandManagement:{errorMessage:{firstNameInvalid:"Das Feld Vorname ist ungültig. Muss eine Länge von 3 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",createdAtInvalid:"Das Feld Erstellt am ist ungültig.",brandNotFound:"Marke nicht gefunden.",lastNameInvalid:"Das Feld Nachname ist ungültig. Muss eine Länge von 3 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",idInvalid:"Das Feld ID ist ungültig. Muss im UUID-v4-Format sein.",updatedAtInvalid:"Das Feld Erstellt am ist ungültig. Muss im Datumsformat sein.",countryInvalid:"Das Feld Land ist ungültig. Bitte wählen Sie ein von uns unterstütztes Land aus.",termTypeInvalid:"Das Feld TermType ist ungültig. Bitte wählen Sie einen von uns unterstützten TermType aus.",baseCostTypeInvalid:"Das Feld BaseCostType ist ungültig. Bitte wählen Sie einen von uns unterstützten BaseCostType aus.",brandStatusesInvalid:"BrandStatuses ist ungültig. Bitte wählen Sie einen von uns unterstützten BrandStatuses aus.",informationPlanIsRequired:"Informationsplan ist erforderlich.",settingStatusesInvalid:"SettingStatuses ist ungültig. Bitte wählen Sie einen von uns unterstützten BaseCostType aus.",languagesInvalid:"Sprachen ist ungültig. Bitte wählen Sie eine von uns unterstützte Sprache aus.",currencyInvalid:"Währung ist ungültig. Bitte wählen Sie eine von uns unterstützte Währung aus.",distanceMetricInvalid:"Entfernungsmetrik ist ungültig. Bitte wählen Sie eine von uns unterstützte Entfernungsmetrik aus.",settingNotFound:"Einstellung nicht gefunden.",subscriptionNotFound:"Abonnement nicht gefunden.",subscriptionNameExists:"Der Abonnementname existiert bereits.",subscriptionServiceNotFound:"Abonnementdienst nicht gefunden.",subscriptionServiceNotBelongToPackage:"Abonnementdienst nicht gefunden oder gehört nicht zum richtigen Paket",subscriptionServiceNotBelongTosubscriptionServiceParent:"Abonnementdienst nicht gefunden oder gehört nicht zum richtigen Abonnementdienst-Elternteil",canNotGetsubscriptionServiceListPleaseTryAgain:"Abonnementdienstliste kann derzeit nicht abgerufen werden, bitte versuchen Sie es erneut"}}},brandAdmin:{errorMessage:{firstNameInvalid:"Das Feld Vorname ist ungültig. Muss eine Länge von 3 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",createdAtInvalid:"Das Feld Erstellt am ist ungültig.",brandNotFound:"Marke nicht gefunden.",lastNameInvalid:"Das Feld Nachname ist ungültig. Muss eine Länge von 3 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",idInvalid:"Das Feld ID ist ungültig. Muss im UUID-v4-Format sein.",updatedAtInvalid:"Das Feld Erstellt am ist ungültig. Muss im Datumsformat sein.",countryInvalid:"Das Feld Land ist ungültig. Bitte wählen Sie ein von uns unterstütztes Land aus.",termTypeInvalid:"Das Feld TermType ist ungültig. Bitte wählen Sie einen von uns unterstützten TermType aus.",baseCostTypeInvalid:"Das Feld BaseCostType ist ungültig. Bitte wählen Sie einen von uns unterstützten BaseCostType aus.",brandStatusesInvalid:"BrandStatuses ist ungültig. Bitte wählen Sie einen von uns unterstützten BrandStatuses aus.",informationPlanIsRequired:"Informationsplan ist erforderlich.",settingStatusesInvalid:"SettingStatuses ist ungültig. Bitte wählen Sie einen von uns unterstützten BaseCostType aus.",languagesInvalid:"Sprachen ist ungültig. Bitte wählen Sie eine von uns unterstützte Sprache aus.",currencyInvalid:"Währung ist ungültig. Bitte wählen Sie eine von uns unterstützte Währung aus.",distanceMetricInvalid:"Entfernungsmetrik ist ungültig. Bitte wählen Sie eine von uns unterstützte Entfernungsmetrik aus.",settingNotFound:"Einstellung nicht gefunden.",subscriptionNotFound:"Abonnement nicht gefunden.",subscriptionNameExists:"Der Abonnementname existiert bereits.",subscriptionServiceNotFound:"Abonnementdienst nicht gefunden.",subscriptionServiceNotBelongToPackage:"Abonnementdienst nicht gefunden oder gehört nicht zum richtigen Paket",subscriptionServiceNotBelongTosubscriptionServiceParent:"Abonnementdienst nicht gefunden oder gehört nicht zum richtigen Abonnementdienst-Elternteil",canNotGetsubscriptionServiceListPleaseTryAgain:"Abonnementdienstliste kann derzeit nicht abgerufen werden, bitte versuchen Sie es erneut"}},iam:{usersManagement:{errorMessage:{firstNameInvalid:"Feld Vorname ist ungültig. Muss eine Länge von 1 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",createdAtInvalid:"Feld Erstellt am ist ungültig.",notFound:"Benutzer nicht gefunden.",lastNameInvalid:"Feld Nachname ist ungültig. Muss eine Länge von 1 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",updatedAtInvalid:"Feld Erstellt am ist ungültig. Muss im Datumsformat sein.",emailInvalid:"Feld E-Mail ist ungültig. Muss im E-Mail-Format sein.",passwordInvalid:"Feld Passwort ist ungültig. Muss 8 Zeichen lang sein, 1 Großbuchstaben & 1 Kleinbuchstaben enthalten, 1 Zahl und 1 Sonderzeichen.",countryCodeInvalid:"Feld Ländercode ist ungültig.",languageCodeInvalid:"Feld Sprachcode ist ungültig.",deletedAtInvalid:"Feld Gelöscht am ist ungültig. Muss im Datumsformat sein.",isActiveInvalid:"Feld IstAktiv ist ungültig.",isSuspendInvalid:"Feld IstGesperrt ist ungültig.",userExist:"Der Benutzer existiert bereits.",authProviderInvalid:"Feld Authentifizierungsanbieter ist ungültig.",isEnableInvalid:"Feld IstAktiviert ist ungültig.",sendEmailFailed:"E-Mail senden fehlgeschlagen.",emailRequired:"Feld E-Mail ist erforderlich",firstNameRequired:"Feld Vorname ist erforderlich",lastNameRequired:"Feld Nachname ist erforderlich",countryCodeRequired:"Feld Ländercode ist erforderlich",userStatusInvalid:"Feld Status ungültig. Bitte wählen Sie einen von uns unterstützten Status.",loginAtInvalid:"Feld Letzte Anmeldung ist ungültig.",avatarFileInvalid:"Avatar-Dateiformat wird nicht unterstützt. Muss png, jpeg, jpg sein und kleiner als 1 MB.",permissionGroupNotFound:"Berechtigungsgruppe nicht gefunden.",organizeInvalid:"Feld Organisation ist erforderlich. Muss ein Objekt sein.",relatedIdInvalid:"Feld Bezug-ID der Organisation ist ungültig. Muss eine Zahl sein.",userOrganizeNotFound:"Benutzerorganisation nicht gefunden.",isSystemInvalid:"Feld IstSystem ist ungültig.",organizeUserInvalid:"Feld Benutzer ist ungültig. Muss ein Array sein.",organizeUserDuplicate:"Feld Benutzer enthält duplizierte E-Mail-Adressen."}},permissionGroup:{errorMessage:{actionNotFound:"Aktion nicht gefunden.",permissionGroupNotFound:"Berechtigungsgruppe nicht gefunden.",permissionGroupIsExisted:"Berechtigungsgruppenname existiert bereits",permissionGroupOrganizeNotFound:"Organisation der Berechtigungsgruppe nicht gefunden.",relatedIdInvalid:"Feld Bezug-ID der Organisation ist ungültig. Muss eine Zahl sein.",cannotRemoveFullPermissionGroup:"Sie können diese Berechtigungsgruppe nicht entfernen.",cannotEditFullPermissionGroup:"Sie können diese Berechtigungsgruppe nicht aktualisieren."}},organize:{errorMessage:{relatedIdInvalid:"Feld Bezug-ID ist ungültig. Muss eine Zahl sein.",nameInvalid:"Feld Name der Daten ist ungültig. Muss eine Länge von 1 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",dataInvalid:"Feld Daten ist ungültig. Muss ein Objekt sein.",organizeExist:"Die Organisation existiert bereits.",callbackUrlInvalid:"Feld Callback-URL der Daten ist ungültig. Muss eine Zeichenkette sein."}}},notificationAdmin:{notification:{errorMessage:{notificationFilterType:"Feld notificationFilterType ist ungültig. Muss einer der Werte 'gelesen', 'ungelesen' oder 'alle' sein.",userIdInvalid:"Feld userId ist ungültig. Muss eine Zahl sein.",filterInvalid:"Feld filter ist ungültig. Muss ein Objekt sein.",isReadInvalid:"Feld isRead ist ungültig. Muss ein boolescher Wert sein.",notificationIdInvalid:"Feld id ist ungültig. Muss eine Zahl sein.",userDeviceTokenInvalid:"Feld deviceToken ist ungültig. Muss eine Zeichenfolge sein."}},notificationConfig:{errorMessage:{notificationNotFound:"Benachrichtigungskonfiguration nicht gefunden.",notificationIsExisted:"Benachrichtigungsregel existiert bereits.",actionNotFound:"Aktion nicht gefunden.",userNotFound:"Benutzer nicht gefunden.",firstNameInvalid:"Feld Vorname ist ungültig. Muss eine Länge von 1 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",createdAtInvalid:"Feld createdAt ist ungültig.",lastNameInvalid:"Feld Nachname ist ungültig. Muss eine Länge von 1 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",updatedAtInvalid:"Feld createdAt ist ungültig. Muss im Datumsformat sein.",emailInvalid:"Feld E-Mail ist ungültig. Muss im E-Mail-Format sein.",passwordInvalid:"Feld Passwort ist ungültig. Muss 8 Zeichen lang sein, einen Großbuchstaben, einen Kleinbuchstaben, eine Zahl und ein Sonderzeichen enthalten.",countryCodeInvalid:"Feld Ländercode ist ungültig.",languageCodeInvalid:"Feld Sprachcode ist ungültig.",deletedAtInvalid:"Feld deletedAt ist ungültig. Muss im Datumsformat sein.",isActiveInvalid:"Feld isActive ist ungültig.",isSuspendInvalid:"Feld isSuspend ist ungültig.",userExist:"Der Benutzer existiert bereits.",authProviderInvalid:"Feld authProvider ist ungültig.",isEnableInvalid:"Feld isEnable ist ungültig.",sendEmailFailed:"E-Mail-Versand fehlgeschlagen.",emailRequired:"Feld E-Mail ist erforderlich",firstNameRequired:"Feld Vorname ist erforderlich",lastNameRequired:"Feld Nachname ist erforderlich",countryCodeRequired:"Feld Ländercode ist erforderlich",userStatusInvalid:"Feld Status ist ungültig. Bitte wählen Sie einen unterstützten Status aus.",loginAtInvalid:"Feld letzter Login ist ungültig.",avatarFileInvalid:"Avatar-Dateiformat wird nicht unterstützt. Muss png, jpeg, jpg sein und kleiner als 1 MB sein.",permissionGroupNotFound:"Berechtigungsgruppe nicht gefunden.",organizeInvalid:"Feld Organisieren ist erforderlich. Muss ein Objekt sein.",relatedIdInvalid:"Feld relatedId von Organisieren. Muss eine Zahl sein.",userOrganizeNotFound:"Benutzerorganisation nicht gefunden.",isSystemInvalid:"Feld isSystem ist ungültig.",organizeUserInvalid:"Feld Benutzer ist ungültig. Muss ein Array sein.",organizeUserDuplicate:"Feld Benutzer enthält doppelte E-Mails."}}}},qA={errorMessage:UA,components:zA,configurations:VA};var ed=(e=>(e.en="en",e.de="de",e))(ed||{});const GA={de:{translation:qA},en:{translation:HA}};zt.use(jA).use(Q0).init({resources:GA,fallbackLng:"en"});const KA=D.reactExports.createContext({}),ZA=()=>D.reactExports.useContext(KA);var ey={exports:{}};/*!
|
|
130
|
+
}`;var Ne=Gp(function(){return he(k,ye+"return "+ee).apply(n,A)});if(Ne.source=ee,lf(Ne))throw Ne;return Ne}function Gw(r){return nt(r).toLowerCase()}function Kw(r){return nt(r).toUpperCase()}function Zw(r,s,l){if(r=nt(r),r&&(l||s===n))return Hn(r);if(!r||!(s=Tn(s)))return r;var p=rn(r),x=rn(s),k=Ge(p,x),A=Zi(p,x)+1;return Ni(p,k,A).join("")}function Xw(r,s,l){if(r=nt(r),r&&(l||s===n))return r.slice(0,Xo(r)+1);if(!r||!(s=Tn(s)))return r;var p=rn(r),x=Zi(p,rn(s))+1;return Ni(p,0,x).join("")}function Jw(r,s,l){if(r=nt(r),r&&(l||s===n))return r.replace(Ui,"");if(!r||!(s=Tn(s)))return r;var p=rn(r),x=Ge(p,rn(s));return Ni(p,x).join("")}function Qw(r,s){var l=et,p=Pe;if(vt(s)){var x="separator"in s?s.separator:x;l="length"in s?Re(s.length):l,p="omission"in s?Tn(s.omission):p}r=nt(r);var k=r.length;if(mn(r)){var A=rn(r);k=A.length}if(l>=k)return r;var L=l-Tr(p);if(L<1)return p;var Y=A?Ni(A,0,L).join(""):r.slice(0,L);if(x===n)return Y+p;if(A&&(L+=Y.length-L),cf(x)){if(r.slice(L).search(x)){var J,Q=Y;for(x.global||(x=Ae(x.source,nt(Io.exec(x))+"g")),x.lastIndex=0;J=x.exec(Q);)var ee=J.index;Y=Y.slice(0,ee===n?L:ee)}}else if(r.indexOf(Tn(x),L)!=L){var oe=Y.lastIndexOf(x);oe>-1&&(Y=Y.slice(0,oe))}return Y+p}function e_(r){return r=nt(r),r&&ko.test(r)?r.replace(Vr,Ea):r}var t_=Rs(function(r,s,l){return r+(l?" ":"")+s.toUpperCase()}),hf=Kh("toUpperCase");function Vp(r,s,l){return r=nt(r),s=l?n:s,s===n?Ca(r)?F(r):$e(r):r.match(s)||[]}var Gp=Fe(function(r,s){try{return w(r,n,s)}catch(l){return lf(l)?l:new X(l)}}),n_=ni(function(r,s){return I(s,function(l){l=Ar(l),ei(r,l,of(r[l],r))}),r});function r_(r){var s=r==null?0:r.length,l=_e();return r=s?fe(r,function(p){if(typeof p[1]!="function")throw new Le(f);return[l(p[0]),p[1]]}):[],Fe(function(p){for(var x=-1;++x<s;){var k=r[x];if(w(k[0],this,p))return w(k[1],this,p)}})}function i_(r){return Mv(zn(r,O))}function pf(r){return function(){return r}}function s_(r,s){return r==null||r!==r?s:r}var a_=Xh(),o_=Xh(!0);function xn(r){return r}function gf(r){return Eh(typeof r=="function"?r:zn(r,O))}function u_(r){return Mh(zn(r,O))}function l_(r,s){return Ih(r,zn(s,O))}var c_=Fe(function(r,s){return function(l){return Na(l,r,s)}}),f_=Fe(function(r,s){return function(l){return Na(r,l,s)}});function mf(r,s,l){var p=jt(s),x=du(s,p);l==null&&!(vt(s)&&(x.length||!p.length))&&(l=s,s=r,r=this,x=du(s,jt(s)));var k=!(vt(l)&&"chain"in l)||!!l.chain,A=ii(r);return I(x,function(L){var Y=s[L];r[L]=Y,A&&(r.prototype[L]=function(){var J=this.__chain__;if(k||J){var Q=r(this.__wrapped__),ee=Q.__actions__=yn(this.__actions__);return ee.push({func:Y,args:arguments,thisArg:r}),Q.__chain__=J,Q}return Y.apply(r,Me([this.value()],arguments))})}),r}function d_(){return mt._===this&&(mt._=$y),this}function yf(){}function h_(r){return r=Re(r),Fe(function(s){return Ah(s,r)})}var p_=Vc(fe),g_=Vc(V),m_=Vc(yt);function Kp(r){return ef(r)?Zr(Ar(r)):qv(r)}function y_(r){return function(s){return r==null?n:ts(r,s)}}var v_=Qh(),b_=Qh(!0);function vf(){return[]}function bf(){return!1}function x_(){return{}}function w_(){return""}function __(){return!0}function S_(r,s){if(r=Re(r),r<1||r>we)return[];var l=_t,p=Jt(r,_t);s=_e(s),r-=_t;for(var x=Gi(p,s);++l<r;)s(l);return x}function k_(r){return Ie(r)?fe(r,Ar):Mn(r)?[r]:yn(gp(nt(r)))}function C_(r){var s=++Ly;return nt(r)+s}var D_=vu(function(r,s){return r+s},0),E_=Gc("ceil"),T_=vu(function(r,s){return r/s},1),M_=Gc("floor");function I_(r){return r&&r.length?fu(r,xn,Oc):n}function A_(r,s){return r&&r.length?fu(r,_e(s,2),Oc):n}function R_(r){return Cn(r,xn)}function O_(r,s){return Cn(r,_e(s,2))}function P_(r){return r&&r.length?fu(r,xn,Fc):n}function N_(r,s){return r&&r.length?fu(r,_e(s,2),Fc):n}var L_=vu(function(r,s){return r*s},1),F_=Gc("round"),$_=vu(function(r,s){return r-s},0);function j_(r){return r&&r.length?Xt(r,xn):0}function B_(r,s){return r&&r.length?Xt(r,_e(s,2)):0}return S.after=ux,S.ary=Dp,S.assign=Kx,S.assignIn=Bp,S.assignInWith=Au,S.assignWith=Zx,S.at=Xx,S.before=Ep,S.bind=of,S.bindAll=n_,S.bindKey=Tp,S.castArray=xx,S.chain=Sp,S.chunk=Mb,S.compact=Ib,S.concat=Ab,S.cond=r_,S.conforms=i_,S.constant=pf,S.countBy=j1,S.create=Jx,S.curry=Mp,S.curryRight=Ip,S.debounce=Ap,S.defaults=Qx,S.defaultsDeep=ew,S.defer=lx,S.delay=cx,S.difference=Rb,S.differenceBy=Ob,S.differenceWith=Pb,S.drop=Nb,S.dropRight=Lb,S.dropRightWhile=Fb,S.dropWhile=$b,S.fill=jb,S.filter=Y1,S.flatMap=U1,S.flatMapDeep=z1,S.flatMapDepth=q1,S.flatten=bp,S.flattenDeep=Bb,S.flattenDepth=Yb,S.flip=fx,S.flow=a_,S.flowRight=o_,S.fromPairs=Wb,S.functions=ow,S.functionsIn=uw,S.groupBy=V1,S.initial=Ub,S.intersection=zb,S.intersectionBy=qb,S.intersectionWith=Vb,S.invert=cw,S.invertBy=fw,S.invokeMap=K1,S.iteratee=gf,S.keyBy=Z1,S.keys=jt,S.keysIn=bn,S.map=Cu,S.mapKeys=hw,S.mapValues=pw,S.matches=u_,S.matchesProperty=l_,S.memoize=Eu,S.merge=gw,S.mergeWith=Yp,S.method=c_,S.methodOf=f_,S.mixin=mf,S.negate=Tu,S.nthArg=h_,S.omit=mw,S.omitBy=yw,S.once=dx,S.orderBy=X1,S.over=p_,S.overArgs=hx,S.overEvery=g_,S.overSome=m_,S.partial=uf,S.partialRight=Rp,S.partition=J1,S.pick=vw,S.pickBy=Wp,S.property=Kp,S.propertyOf=y_,S.pull=Xb,S.pullAll=wp,S.pullAllBy=Jb,S.pullAllWith=Qb,S.pullAt=e1,S.range=v_,S.rangeRight=b_,S.rearg=px,S.reject=tx,S.remove=t1,S.rest=gx,S.reverse=sf,S.sampleSize=rx,S.set=xw,S.setWith=ww,S.shuffle=ix,S.slice=n1,S.sortBy=ox,S.sortedUniq=l1,S.sortedUniqBy=c1,S.split=Uw,S.spread=mx,S.tail=f1,S.take=d1,S.takeRight=h1,S.takeRightWhile=p1,S.takeWhile=g1,S.tap=I1,S.throttle=yx,S.thru=ku,S.toArray=Fp,S.toPairs=Hp,S.toPairsIn=Up,S.toPath=k_,S.toPlainObject=jp,S.transform=_w,S.unary=vx,S.union=m1,S.unionBy=y1,S.unionWith=v1,S.uniq=b1,S.uniqBy=x1,S.uniqWith=w1,S.unset=Sw,S.unzip=af,S.unzipWith=_p,S.update=kw,S.updateWith=Cw,S.values=Ns,S.valuesIn=Dw,S.without=_1,S.words=Vp,S.wrap=bx,S.xor=S1,S.xorBy=k1,S.xorWith=C1,S.zip=D1,S.zipObject=E1,S.zipObjectDeep=T1,S.zipWith=M1,S.entries=Hp,S.entriesIn=Up,S.extend=Bp,S.extendWith=Au,mf(S,S),S.add=D_,S.attempt=Gp,S.camelCase=Iw,S.capitalize=zp,S.ceil=E_,S.clamp=Ew,S.clone=wx,S.cloneDeep=Sx,S.cloneDeepWith=kx,S.cloneWith=_x,S.conformsTo=Cx,S.deburr=qp,S.defaultTo=s_,S.divide=T_,S.endsWith=Aw,S.eq=hr,S.escape=Rw,S.escapeRegExp=Ow,S.every=B1,S.find=W1,S.findIndex=yp,S.findKey=tw,S.findLast=H1,S.findLastIndex=vp,S.findLastKey=nw,S.floor=M_,S.forEach=kp,S.forEachRight=Cp,S.forIn=rw,S.forInRight=iw,S.forOwn=sw,S.forOwnRight=aw,S.get=ff,S.gt=Dx,S.gte=Ex,S.has=lw,S.hasIn=df,S.head=xp,S.identity=xn,S.includes=G1,S.indexOf=Hb,S.inRange=Tw,S.invoke=dw,S.isArguments=is,S.isArray=Ie,S.isArrayBuffer=Tx,S.isArrayLike=vn,S.isArrayLikeObject=kt,S.isBoolean=Mx,S.isBuffer=Li,S.isDate=Ix,S.isElement=Ax,S.isEmpty=Rx,S.isEqual=Ox,S.isEqualWith=Px,S.isError=lf,S.isFinite=Nx,S.isFunction=ii,S.isInteger=Op,S.isLength=Mu,S.isMap=Pp,S.isMatch=Lx,S.isMatchWith=Fx,S.isNaN=$x,S.isNative=jx,S.isNil=Yx,S.isNull=Bx,S.isNumber=Np,S.isObject=vt,S.isObjectLike=bt,S.isPlainObject=Ya,S.isRegExp=cf,S.isSafeInteger=Wx,S.isSet=Lp,S.isString=Iu,S.isSymbol=Mn,S.isTypedArray=Ps,S.isUndefined=Hx,S.isWeakMap=Ux,S.isWeakSet=zx,S.join=Gb,S.kebabCase=Pw,S.last=Vn,S.lastIndexOf=Kb,S.lowerCase=Nw,S.lowerFirst=Lw,S.lt=qx,S.lte=Vx,S.max=I_,S.maxBy=A_,S.mean=R_,S.meanBy=O_,S.min=P_,S.minBy=N_,S.stubArray=vf,S.stubFalse=bf,S.stubObject=x_,S.stubString=w_,S.stubTrue=__,S.multiply=L_,S.nth=Zb,S.noConflict=d_,S.noop=yf,S.now=Du,S.pad=Fw,S.padEnd=$w,S.padStart=jw,S.parseInt=Bw,S.random=Mw,S.reduce=Q1,S.reduceRight=ex,S.repeat=Yw,S.replace=Ww,S.result=bw,S.round=F_,S.runInContext=C,S.sample=nx,S.size=sx,S.snakeCase=Hw,S.some=ax,S.sortedIndex=r1,S.sortedIndexBy=i1,S.sortedIndexOf=s1,S.sortedLastIndex=a1,S.sortedLastIndexBy=o1,S.sortedLastIndexOf=u1,S.startCase=zw,S.startsWith=qw,S.subtract=$_,S.sum=j_,S.sumBy=B_,S.template=Vw,S.times=S_,S.toFinite=si,S.toInteger=Re,S.toLength=$p,S.toLower=Gw,S.toNumber=Gn,S.toSafeInteger=Gx,S.toString=nt,S.toUpper=Kw,S.trim=Zw,S.trimEnd=Xw,S.trimStart=Jw,S.truncate=Qw,S.unescape=e_,S.uniqueId=C_,S.upperCase=t_,S.upperFirst=hf,S.each=kp,S.eachRight=Cp,S.first=xp,mf(S,function(){var r={};return Mr(S,function(s,l){De.call(S.prototype,l)||(r[l]=s)}),r}(),{chain:!1}),S.VERSION=i,I(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){S[r].placeholder=S}),I(["drop","take"],function(r,s){Ye.prototype[r]=function(l){l=l===n?1:Ot(Re(l),0);var p=this.__filtered__&&!s?new Ye(this):this.clone();return p.__filtered__?p.__takeCount__=Jt(l,p.__takeCount__):p.__views__.push({size:Jt(l,_t),type:r+(p.__dir__<0?"Right":"")}),p},Ye.prototype[r+"Right"]=function(l){return this.reverse()[r](l).reverse()}}),I(["filter","map","takeWhile"],function(r,s){var l=s+1,p=l==qe||l==ht;Ye.prototype[r]=function(x){var k=this.clone();return k.__iteratees__.push({iteratee:_e(x,3),type:l}),k.__filtered__=k.__filtered__||p,k}}),I(["head","last"],function(r,s){var l="take"+(s?"Right":"");Ye.prototype[r]=function(){return this[l](1).value()[0]}}),I(["initial","tail"],function(r,s){var l="drop"+(s?"":"Right");Ye.prototype[r]=function(){return this.__filtered__?new Ye(this):this[l](1)}}),Ye.prototype.compact=function(){return this.filter(xn)},Ye.prototype.find=function(r){return this.filter(r).head()},Ye.prototype.findLast=function(r){return this.reverse().find(r)},Ye.prototype.invokeMap=Fe(function(r,s){return typeof r=="function"?new Ye(this):this.map(function(l){return Na(l,r,s)})}),Ye.prototype.reject=function(r){return this.filter(Tu(_e(r)))},Ye.prototype.slice=function(r,s){r=Re(r);var l=this;return l.__filtered__&&(r>0||s<0)?new Ye(l):(r<0?l=l.takeRight(-r):r&&(l=l.drop(r)),s!==n&&(s=Re(s),l=s<0?l.dropRight(-s):l.take(s-r)),l)},Ye.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},Ye.prototype.toArray=function(){return this.take(_t)},Mr(Ye.prototype,function(r,s){var l=/^(?:filter|find|map|reject)|While$/.test(s),p=/^(?:head|last)$/.test(s),x=S[p?"take"+(s=="last"?"Right":""):s],k=p||/^find/.test(s);x&&(S.prototype[s]=function(){var A=this.__wrapped__,L=p?[1]:arguments,Y=A instanceof Ye,J=L[0],Q=Y||Ie(A),ee=function(Be){var Ue=x.apply(S,Me([Be],L));return p&&oe?Ue[0]:Ue};Q&&l&&typeof J=="function"&&J.length!=1&&(Y=Q=!1);var oe=this.__chain__,ye=!!this.__actions__.length,Se=k&&!oe,Ne=Y&&!ye;if(!k&&Q){A=Ne?A:new Ye(this);var ke=r.apply(A,L);return ke.__actions__.push({func:ku,args:[ee],thisArg:n}),new Un(ke,oe)}return Se&&Ne?r.apply(this,L):(ke=this.thru(ee),Se?p?ke.value()[0]:ke.value():ke)})}),I(["pop","push","shift","sort","splice","unshift"],function(r){var s=At[r],l=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",p=/^(?:pop|shift)$/.test(r);S.prototype[r]=function(){var x=arguments;if(p&&!this.__chain__){var k=this.value();return s.apply(Ie(k)?k:[],x)}return this[l](function(A){return s.apply(Ie(A)?A:[],x)})}}),Mr(Ye.prototype,function(r,s){var l=S[s];if(l){var p=l.name+"";De.call(Ms,p)||(Ms[p]=[]),Ms[p].push({name:s,func:l})}}),Ms[yu(n,W).name]=[{name:"wrapper",func:n}],Ye.prototype.clone=ev,Ye.prototype.reverse=tv,Ye.prototype.value=nv,S.prototype.at=A1,S.prototype.chain=R1,S.prototype.commit=O1,S.prototype.next=P1,S.prototype.plant=L1,S.prototype.reverse=F1,S.prototype.toJSON=S.prototype.valueOf=S.prototype.value=$1,S.prototype.first=S.prototype.head,Ta&&(S.prototype[Ta]=N1),S},q=H();ur?((ur.exports=q)._=q,ks._=q):mt._=q}).call(D.commonjsGlobal)})(rl,rl.exports);rl.exports;function gA(e){var t=e.lastRenderedStartIndex,n=e.lastRenderedStopIndex,i=e.startIndex,a=e.stopIndex;return!(i>n||a<t)}function mA(e){for(var t=e.isItemLoaded,n=e.itemCount,i=e.minimumBatchSize,a=e.startIndex,u=e.stopIndex,f=[],m=null,b=null,_=a;_<=u;_++){var E=t(_);E?b!==null&&(f.push(m,b),m=b=null):(b=_,m===null&&(m=_))}if(b!==null){for(var O=Math.min(Math.max(b,m+i-1),n-1),M=b+1;M<=O&&!t(M);M++)b=M;f.push(m,b)}if(f.length)for(;f[1]-f[0]+1<i&&f[0]>0;){var z=f[0]-1;if(!t(z))f[0]=z;else break}return f}var yA=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},vA=function(){function e(t,n){for(var i=0;i<n.length;i++){var a=n[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),bA=function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},Wg=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e};(function(e){bA(t,e);function t(){var n,i,a,u;yA(this,t);for(var f=arguments.length,m=Array(f),b=0;b<f;b++)m[b]=arguments[b];return u=(i=(a=Wg(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(m))),a),a._lastRenderedStartIndex=-1,a._lastRenderedStopIndex=-1,a._memoizedUnloadedRanges=[],a._onItemsRendered=function(_){var E=_.visibleStartIndex,O=_.visibleStopIndex;a._lastRenderedStartIndex=E,a._lastRenderedStopIndex=O,a._ensureRowsLoaded(E,O)},a._setRef=function(_){a._listRef=_},i),Wg(a,u)}return vA(t,[{key:"resetloadMoreItemsCache",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this._memoizedUnloadedRanges=[],i&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var i=this.props.children;return i({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(i,a){var u=this.props,f=u.isItemLoaded,m=u.itemCount,b=u.minimumBatchSize,_=b===void 0?10:b,E=u.threshold,O=E===void 0?15:E,M=mA({isItemLoaded:f,itemCount:m,minimumBatchSize:_,startIndex:Math.max(0,i-O),stopIndex:Math.min(m-1,a+O)});(this._memoizedUnloadedRanges.length!==M.length||this._memoizedUnloadedRanges.some(function(z,B){return M[B]!==z}))&&(this._memoizedUnloadedRanges=M,this._loadUnloadedRanges(M))}},{key:"_loadUnloadedRanges",value:function(i){for(var a=this,u=this.props.loadMoreItems||this.props.loadMoreRows,f=function(_){var E=i[_],O=i[_+1],M=u(E,O);M!=null&&M.then(function(){if(gA({lastRenderedStartIndex:a._lastRenderedStartIndex,lastRenderedStopIndex:a._lastRenderedStopIndex,startIndex:E,stopIndex:O})){if(a._listRef==null)return;typeof a._listRef.resetAfterIndex=="function"?a._listRef.resetAfterIndex(E,!0):(typeof a._listRef._getItemStyleCache=="function"&&a._listRef._getItemStyleCache(-1),a._listRef.forceUpdate())}})},m=0;m<i.length;m+=2)f(m)}}]),t})(D.reactExports.PureComponent);D.reactExports.createContext({});const xA=e=>{const[t,n]=D.reactExports.useState([]);return D.reactExports.useEffect(()=>{D.axios.get(`${e}/user-management/api/v1/users/my-account/permissions`,{withCredentials:!0}).then(i=>n(i.data)).catch(i=>{console.error("Getting user permission error:",i)})},[e]),t},J0=e=>(t,n)=>{const i=xA(e);return n?t.every(a=>i==null?void 0:i.includes(a)):t.some(a=>i==null?void 0:i.includes(a))},Q0=({baseUrl:e,accessWith:t,requireAll:n,children:i})=>J0(e)(t,n)?D.jsxRuntimeExports.jsx(D.jsxRuntimeExports.Fragment,{children:i}):null;{const e=D.s(Q0,{props:{baseUrl:"string",accessWith:"json",requireAll:"boolean",children:"json"},shadow:"open"});customElements.define("has-permission",e)}function wA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hg(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,W2(i.key),i)}}function _A(e,t,n){return t&&Hg(e.prototype,t),n&&Hg(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var ey=[],SA=ey.forEach,kA=ey.slice;function CA(e){return SA.call(kA.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}var Ug=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,DA=function(t,n,i){var a=i||{};a.path=a.path||"/";var u=encodeURIComponent(n),f="".concat(t,"=").concat(u);if(a.maxAge>0){var m=a.maxAge-0;if(Number.isNaN(m))throw new Error("maxAge should be a Number");f+="; Max-Age=".concat(Math.floor(m))}if(a.domain){if(!Ug.test(a.domain))throw new TypeError("option domain is invalid");f+="; Domain=".concat(a.domain)}if(a.path){if(!Ug.test(a.path))throw new TypeError("option path is invalid");f+="; Path=".concat(a.path)}if(a.expires){if(typeof a.expires.toUTCString!="function")throw new TypeError("option expires is invalid");f+="; Expires=".concat(a.expires.toUTCString())}if(a.httpOnly&&(f+="; HttpOnly"),a.secure&&(f+="; Secure"),a.sameSite){var b=typeof a.sameSite=="string"?a.sameSite.toLowerCase():a.sameSite;switch(b){case!0:f+="; SameSite=Strict";break;case"lax":f+="; SameSite=Lax";break;case"strict":f+="; SameSite=Strict";break;case"none":f+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return f},zg={create:function(t,n,i,a){var u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};i&&(u.expires=new Date,u.expires.setTime(u.expires.getTime()+i*60*1e3)),a&&(u.domain=a),document.cookie=DA(t,encodeURIComponent(n),u)},read:function(t){for(var n="".concat(t,"="),i=document.cookie.split(";"),a=0;a<i.length;a++){for(var u=i[a];u.charAt(0)===" ";)u=u.substring(1,u.length);if(u.indexOf(n)===0)return u.substring(n.length,u.length)}return null},remove:function(t){this.create(t,"",-1)}},EA={name:"cookie",lookup:function(t){var n;if(t.lookupCookie&&typeof document<"u"){var i=zg.read(t.lookupCookie);i&&(n=i)}return n},cacheUserLanguage:function(t,n){n.lookupCookie&&typeof document<"u"&&zg.create(n.lookupCookie,t,n.cookieMinutes,n.cookieDomain,n.cookieOptions)}},TA={name:"querystring",lookup:function(t){var n;if(typeof window<"u"){var i=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(i=window.location.hash.substring(window.location.hash.indexOf("?")));for(var a=i.substring(1),u=a.split("&"),f=0;f<u.length;f++){var m=u[f].indexOf("=");if(m>0){var b=u[f].substring(0,m);b===t.lookupQuerystring&&(n=u[f].substring(m+1))}}}return n}},Va=null,qg=function(){if(Va!==null)return Va;try{Va=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{Va=!1}return Va},MA={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&qg()){var i=window.localStorage.getItem(t.lookupLocalStorage);i&&(n=i)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&qg()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},Ga=null,Vg=function(){if(Ga!==null)return Ga;try{Ga=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{Ga=!1}return Ga},IA={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&Vg()){var i=window.sessionStorage.getItem(t.lookupSessionStorage);i&&(n=i)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&Vg()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},AA={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var i=0;i<navigator.languages.length;i++)n.push(navigator.languages[i]);navigator.userLanguage&&n.push(navigator.userLanguage),navigator.language&&n.push(navigator.language)}return n.length>0?n:void 0}},RA={name:"htmlTag",lookup:function(t){var n,i=t.htmlTag||(typeof document<"u"?document.documentElement:null);return i&&typeof i.getAttribute=="function"&&(n=i.getAttribute("lang")),n}},OA={name:"path",lookup:function(t){var n;if(typeof window<"u"){var i=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(i instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof i[t.lookupFromPathIndex]!="string")return;n=i[t.lookupFromPathIndex].replace("/","")}else n=i[0].replace("/","")}return n}},PA={name:"subdomain",lookup:function(t){var n=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,i=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(i)return i[n]}};function NA(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(t){return t}}}var ty=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};wA(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return _A(e,[{key:"init",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n||{languageUtils:{}},this.options=CA(i,this.options||{},NA()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(u){return u.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=a,this.addDetector(EA),this.addDetector(TA),this.addDetector(MA),this.addDetector(IA),this.addDetector(AA),this.addDetector(RA),this.addDetector(OA),this.addDetector(PA)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var i=this;n||(n=this.options.order);var a=[];return n.forEach(function(u){if(i.detectors[u]){var f=i.detectors[u].lookup(i.options);f&&typeof f=="string"&&(f=[f]),f&&(a=a.concat(f))}}),a=a.map(function(u){return i.options.convertDetectedLanguage(u)}),this.services.languageUtils.getBestMatchFromCodes?a:a.length>0?a[0]:null}},{key:"cacheUserLanguage",value:function(n,i){var a=this;i||(i=this.options.caches),i&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||i.forEach(function(u){a.detectors[u]&&a.detectors[u].cacheUserLanguage(n,a.options)}))}}]),e}();ty.type="languageDetector";const LA=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,FA={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},$A=e=>FA[e],jA=e=>e.replace(LA,$A);let Gg={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:jA};function BA(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Gg={...Gg,...e}}const YA={type:"3rdParty",init(e){BA(e.options.react)}},WA={400:"Bad Request - The request cannot be fulfilled due to bad syntax.",401:"The request requires user authentication.",403:"The user does not have permission.",404:"Item Not Found",500:"Server got a error, please contact for assistance",502:"Server got a bad gateway, please contact for assistance",503:"Server is unavailable, please contact for assistance",504:"Server is timeout, please contact for assistance"},HA={unauthorizedPage:{title:"Access Denied: No Access Permission",description1:"We regret to inform you that you do not have the necessary permissions to access this page.",description2:"Please contact our administrator for assistance. Thank you for your understanding."}},UA={saasAdmin:{servicePackage:{errorMessage:{packageNotFound:"Package not found.",languageInvalid:"Field language is invalid.",packageNameExists:"The package name already exists.",serviceNotFound:"Service not found.",serviceNotBelongToPackage:"Service not found or does not belong to the correct package",serviceNotBelongToServiceParent:"Service not found or does not belong to the correct service parent",canNotGetServiceListPleaseTryAgain:"Can not get service list now, please try again"}},tenantManagement:{errorMessage:{tenantNotFound:"Tenant not found.",countryInvalid:"Field country is invalid.",createTenantFailed:"Create tenant failed. Please try again",isTenantMailExist:"The email is already exist."}},brandManagement:{errorMessage:{firstNameInvalid:"Field first name is invalid. Must be of length 3 to 40 and no special characters.",createdAtInvalid:"Field createdAt is invalid.",brandNotFound:"Brand not found.",lastNameInvalid:"Field last name is invalid. Must be of length 3 to 40 and no special characters.",idInvalid:"Field id is invalid. Must be uuid v4 format.",updatedAtInvalid:"Field createdAt is invalid. Must be date format.",countryInvalid:"Field Country is invalid. Please select a Country that we support.",termTypeInvalid:"Field TermType invalid. Please select a TermType that we support.",baseCostTypeInvalid:"Field BaseCostType invalid. Please select a BaseCostType that we support.",brandStatusesInvalid:"BrandStatuses is invalid. Please select a BrandStatuses that we support.",informationPlanIsRequired:"Information Plan is required.",settingStatusesInvalid:"SettingStatuses is invalid. Please select a BaseCostType that we support.",languagesInvalid:"Langagues is invalid. Please select a Langagues that we support.",currencyInvalid:"Currency is invalid. Please select a Currency that we support.",distanceMetricInvalid:"DistanceMetric is invalid. Please select a DistanceMetric that we support.",settingNotFound:"Setting not found.",subscriptionNotFound:"Subscription not found.",subscriptionNameExists:"The subscription name already exists.",subscriptionServiceNotFound:"subscriptionService not found.",subscriptionServiceNotBelongToPackage:"subscriptionService not found or does not belong to the correct package",subscriptionServiceNotBelongTosubscriptionServiceParent:"subscriptionService not found or does not belong to the correct subscriptionService parent",canNotGetsubscriptionServiceListPleaseTryAgain:"Can not get subscriptionService list now, please try again"}}},tenantAdmin:{brandManagement:{errorMessage:{firstNameInvalid:"Field first name is invalid. Must be of length 3 to 40 and no special characters.",createdAtInvalid:"Field createdAt is invalid.",brandNotFound:"Brand not found.",lastNameInvalid:"Field last name is invalid. Must be of length 3 to 40 and no special characters.",idInvalid:"Field id is invalid. Must be uuid v4 format.",updatedAtInvalid:"Field createdAt is invalid. Must be date format.",countryInvalid:"Field Country is invalid. Please select a Country that we support.",termTypeInvalid:"Field TermType invalid. Please select a TermType that we support.",baseCostTypeInvalid:"Field BaseCostType invalid. Please select a BaseCostType that we support.",brandStatusesInvalid:"BrandStatuses is invalid. Please select a BrandStatuses that we support.",informationPlanIsRequired:"Information Plan is required.",settingStatusesInvalid:"SettingStatuses is invalid. Please select a BaseCostType that we support.",languagesInvalid:"Langagues is invalid. Please select a Langagues that we support.",currencyInvalid:"Currency is invalid. Please select a Currency that we support.",distanceMetricInvalid:"DistanceMetric is invalid. Please select a DistanceMetric that we support.",settingNotFound:"Setting not found.",subscriptionNotFound:"Subscription not found.",subscriptionNameExists:"The subscription name already exists.",subscriptionServiceNotFound:"subscriptionService not found.",subscriptionServiceNotBelongToPackage:"subscriptionService not found or does not belong to the correct package",subscriptionServiceNotBelongTosubscriptionServiceParent:"subscriptionService not found or does not belong to the correct subscriptionService parent",canNotGetsubscriptionServiceListPleaseTryAgain:"Can not get subscriptionService list now, please try again"}}},brandAdmin:{errorMessage:{firstNameInvalid:"Field first name is invalid. Must be of length 3 to 40 and no special characters.",createdAtInvalid:"Field createdAt is invalid.",brandNotFound:"Brand not found.",lastNameInvalid:"Field last name is invalid. Must be of length 3 to 40 and no special characters.",idInvalid:"Field id is invalid. Must be uuid v4 format.",updatedAtInvalid:"Field createdAt is invalid. Must be date format.",countryInvalid:"Field Country is invalid. Please select a Country that we support.",termTypeInvalid:"Field TermType invalid. Please select a TermType that we support.",baseCostTypeInvalid:"Field BaseCostType invalid. Please select a BaseCostType that we support.",brandStatusesInvalid:"BrandStatuses is invalid. Please select a BrandStatuses that we support.",informationPlanIsRequired:"Information Plan is required.",settingStatusesInvalid:"SettingStatuses is invalid. Please select a BaseCostType that we support.",languagesInvalid:"Langagues is invalid. Please select a Langagues that we support.",currencyInvalid:"Currency is invalid. Please select a Currency that we support.",distanceMetricInvalid:"DistanceMetric is invalid. Please select a DistanceMetric that we support.",settingNotFound:"Setting not found.",subscriptionNotFound:"Subscription not found.",subscriptionNameExists:"The subscription name already exists.",subscriptionServiceNotFound:"subscriptionService not found.",subscriptionServiceNotBelongToPackage:"subscriptionService not found or does not belong to the correct package",subscriptionServiceNotBelongTosubscriptionServiceParent:"subscriptionService not found or does not belong to the correct subscriptionService parent",canNotGetsubscriptionServiceListPleaseTryAgain:"Can not get subscriptionService list now, please try again"}},iam:{usersManagement:{errorMessage:{firstNameInvalid:"Field first name is invalid. Must be of length 1 to 40 and no special characters.",createdAtInvalid:"Field createdAt is invalid.",notFound:"User not found.",lastNameInvalid:"Field last name is invalid. Must be of length 1 to 40 and no special characters.",updatedAtInvalid:"Field createdAt is invalid. Must be date format.",emailInvalid:"Field email is invalid. Must be email format.",passwordInvalid:"Field password is invalid. Must be 8 characters long, 1 uppercase & 1 lowercase character, 1 number and 1 special character.",countryCodeInvalid:"Field countryCode is invalid.",languageCodeInvalid:"Field languageCode is invalid.",deletedAtInvalid:"Field deletedAt is invalid. Must be date format.",isActiveInvalid:"Field isActive is invalid.",isSuspendInvalid:"Field isSuspend is invalid.",userExist:"The user already exists.",authProviderInvalid:"Field authProvider is invalid.",isEnableInvalid:"Field isEnable is invalid.",sendEmailFailed:"Send email failed.",emailRequired:"Field email is required",firstNameRequired:"Field first name is required",lastNameRequired:"Field last name is required",countryCodeRequired:"Field country code is required",userStatusInvalid:"Field status invalid. Please select a status that we support.",loginAtInvalid:"Field last login is invalid.",avatarFileInvalid:"Avatar file format not supported. Must be png, jpeg, jpg and size less than 1mb.",permissionGroupNotFound:"Permission group not Found.",organizeInvalid:"Field organize is required. Must be a object.",relatedIdInvalid:"Field organize's relatedId. Must be a number.",userOrganizeNotFound:"User's organize not Found.",isSystemInvalid:"Field isSystem is invalid.",organizeUserInvalid:"Field users is invalid. Must be a array.",organizeUserDuplicate:"Field users contains duplicated email."}},permissionGroup:{errorMessage:{actionNotFound:"Action not found.",permissionGroupNotFound:"Permission group not Found.",permissionGroupIsExisted:"Permission group name is existed",permissionGroupOrganizeNotFound:"Permission group's organize not Found.",relatedIdInvalid:"Field organize's relatedId. Must be a number.",cannotRemoveFullPermissionGroup:"You cannot remove this permission group.",cannotEditFullPermissionGroup:"You cannot update this permission group."}},organize:{errorMessage:{relatedIdInvalid:"Field relatedId is invalid. Must be number.",nameInvalid:"Field data's name is invalid. Must be of length 1 to 40 and no special characters.",dataInvalid:"Field data is invalid. Must be object.",organizeExist:"The organize already exists.",callbackUrlInvalid:"Field data's callbackPath is invalid. Must be a string."}}},notificationAdmin:{notification:{errorMessage:{notificationFilterType:"Field notificationFilterType is invalid. Must be one of read, unread and all.",userIdInvalid:"Field userId is invalid. Must be a number.",filterInvalid:"Field filter is invalid. Must be a object.",isReadInvalid:"Field isRead is invalid. Must be a boolean.",notificationIdInvalid:"Field id is invalid. Must be a number.",userDeviceTokenInvalid:"Field deviceToken is invalid. Must be a string."}},notificationConfig:{errorMessage:{notificationNotFound:"Notification config not found.",notificationIsExisted:"Notification rule is existed.",actionNotFound:"Action not found.",userNotFound:"User not found.",firstNameInvalid:"Field first name is invalid. Must be of length 1 to 40 and no special characters.",createdAtInvalid:"Field createdAt is invalid.",lastNameInvalid:"Field last name is invalid. Must be of length 1 to 40 and no special characters.",updatedAtInvalid:"Field createdAt is invalid. Must be date format.",emailInvalid:"Field email is invalid. Must be email format.",passwordInvalid:"Field password is invalid. Must be 8 characters long, 1 uppercase & 1 lowercase character, 1 number and 1 special character.",countryCodeInvalid:"Field countryCode is invalid.",languageCodeInvalid:"Field languageCode is invalid.",deletedAtInvalid:"Field deletedAt is invalid. Must be date format.",isActiveInvalid:"Field isActive is invalid.",isSuspendInvalid:"Field isSuspend is invalid.",userExist:"The user already exists.",authProviderInvalid:"Field authProvider is invalid.",isEnableInvalid:"Field isEnable is invalid.",sendEmailFailed:"Send email failed.",emailRequired:"Field email is required",firstNameRequired:"Field first name is required",lastNameRequired:"Field last name is required",countryCodeRequired:"Field country code is required",userStatusInvalid:"Field status invalid. Please select a status that we support.",loginAtInvalid:"Field last login is invalid.",avatarFileInvalid:"Avatar file format not supported. Must be png, jpeg, jpg and size less than 1mb.",permissionGroupNotFound:"Permission group not Found.",organizeInvalid:"Field organize is required. Must be a object.",relatedIdInvalid:"Field organize's relatedId. Must be a number.",userOrganizeNotFound:"User's organize not Found.",isSystemInvalid:"Field isSystem is invalid.",organizeUserInvalid:"Field users is invalid. Must be a array.",organizeUserDuplicate:"Field users contains duplicated email."}}}},zA={errorMessage:WA,components:HA,configurations:UA},qA={400:"Schlechte Anfrage - Die Anfrage kann aufgrund einer schlechten Syntax nicht erfüllt werden.",401:"Die Anfrage erfordert eine Benutzerauthentifizierung.",403:"Der Benutzer hat keine Berechtigung.",404:"Element nicht gefunden",500:"Server hat einen Fehler erhalten, bitte um Hilfe kontaktieren",502:"Server hat ein ungültiges Gateway erhalten, bitte um Hilfe kontaktieren",503:"Server ist nicht verfügbar, bitte um Hilfe kontaktieren",504:"Server-Zeitüberschreitung, bitte um Hilfe kontaktieren"},VA={unauthorizedPage:{title:"Zugriff verweigert: Keine Zugriffsberechtigung",description1:"Wir bedauern Ihnen mitteilen zu müssen, dass Sie nicht über die erforderlichen Berechtigungen verfügen, um auf diese Seite zuzugreifen.",description2:"Bitte kontaktieren Sie unseren Administrator für Unterstützung. Vielen Dank für Ihr Verständnis."}},GA={saasAdmin:{servicePackage:{errorMessage:{packageNotFound:"Paket nicht gefunden.",languageInvalid:"Das Feld Sprache ist ungültig.",packageNameExists:"Der Paketname existiert bereits.",serviceNotFound:"Dienst nicht gefunden.",serviceNotBelongToPackage:"Dienst nicht gefunden oder gehört nicht zum richtigen Paket",serviceNotBelongToServiceParent:"Dienst nicht gefunden oder gehört nicht zum richtigen Dienst-Elternteil",canNotGetServiceListPleaseTryAgain:"Dienstliste kann derzeit nicht abgerufen werden, bitte versuchen Sie es erneut"}},tenantManagement:{errorMessage:{tenantNotFound:"Mieter nicht gefunden.",countryInvalid:"Das Feld Land ist ungültig.",createTenantFailed:"Mietererstellung fehlgeschlagen. Bitte versuchen Sie es erneut.",isTenantMailExist:"Die E-Mail existiert bereits."}},brandManagement:{errorMessage:{firstNameInvalid:"Das Feld Vorname ist ungültig. Muss eine Länge von 3 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",createdAtInvalid:"Das Feld Erstellt am ist ungültig.",brandNotFound:"Marke nicht gefunden.",lastNameInvalid:"Das Feld Nachname ist ungültig. Muss eine Länge von 3 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",idInvalid:"Das Feld ID ist ungültig. Muss im UUID-v4-Format sein.",updatedAtInvalid:"Das Feld Erstellt am ist ungültig. Muss im Datumsformat sein.",countryInvalid:"Das Feld Land ist ungültig. Bitte wählen Sie ein von uns unterstütztes Land aus.",termTypeInvalid:"Das Feld TermType ist ungültig. Bitte wählen Sie einen von uns unterstützten TermType aus.",baseCostTypeInvalid:"Das Feld BaseCostType ist ungültig. Bitte wählen Sie einen von uns unterstützten BaseCostType aus.",brandStatusesInvalid:"BrandStatuses ist ungültig. Bitte wählen Sie einen von uns unterstützten BrandStatuses aus.",informationPlanIsRequired:"Informationsplan ist erforderlich.",settingStatusesInvalid:"SettingStatuses ist ungültig. Bitte wählen Sie einen von uns unterstützten BaseCostType aus.",languagesInvalid:"Sprachen ist ungültig. Bitte wählen Sie eine von uns unterstützte Sprache aus.",currencyInvalid:"Währung ist ungültig. Bitte wählen Sie eine von uns unterstützte Währung aus.",distanceMetricInvalid:"Entfernungsmetrik ist ungültig. Bitte wählen Sie eine von uns unterstützte Entfernungsmetrik aus.",settingNotFound:"Einstellung nicht gefunden.",subscriptionNotFound:"Abonnement nicht gefunden.",subscriptionNameExists:"Der Abonnementname existiert bereits.",subscriptionServiceNotFound:"Abonnementdienst nicht gefunden.",subscriptionServiceNotBelongToPackage:"Abonnementdienst nicht gefunden oder gehört nicht zum richtigen Paket",subscriptionServiceNotBelongTosubscriptionServiceParent:"Abonnementdienst nicht gefunden oder gehört nicht zum richtigen Abonnementdienst-Elternteil",canNotGetsubscriptionServiceListPleaseTryAgain:"Abonnementdienstliste kann derzeit nicht abgerufen werden, bitte versuchen Sie es erneut"}}},tenantAdmin:{brandManagement:{errorMessage:{firstNameInvalid:"Das Feld Vorname ist ungültig. Muss eine Länge von 3 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",createdAtInvalid:"Das Feld Erstellt am ist ungültig.",brandNotFound:"Marke nicht gefunden.",lastNameInvalid:"Das Feld Nachname ist ungültig. Muss eine Länge von 3 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",idInvalid:"Das Feld ID ist ungültig. Muss im UUID-v4-Format sein.",updatedAtInvalid:"Das Feld Erstellt am ist ungültig. Muss im Datumsformat sein.",countryInvalid:"Das Feld Land ist ungültig. Bitte wählen Sie ein von uns unterstütztes Land aus.",termTypeInvalid:"Das Feld TermType ist ungültig. Bitte wählen Sie einen von uns unterstützten TermType aus.",baseCostTypeInvalid:"Das Feld BaseCostType ist ungültig. Bitte wählen Sie einen von uns unterstützten BaseCostType aus.",brandStatusesInvalid:"BrandStatuses ist ungültig. Bitte wählen Sie einen von uns unterstützten BrandStatuses aus.",informationPlanIsRequired:"Informationsplan ist erforderlich.",settingStatusesInvalid:"SettingStatuses ist ungültig. Bitte wählen Sie einen von uns unterstützten BaseCostType aus.",languagesInvalid:"Sprachen ist ungültig. Bitte wählen Sie eine von uns unterstützte Sprache aus.",currencyInvalid:"Währung ist ungültig. Bitte wählen Sie eine von uns unterstützte Währung aus.",distanceMetricInvalid:"Entfernungsmetrik ist ungültig. Bitte wählen Sie eine von uns unterstützte Entfernungsmetrik aus.",settingNotFound:"Einstellung nicht gefunden.",subscriptionNotFound:"Abonnement nicht gefunden.",subscriptionNameExists:"Der Abonnementname existiert bereits.",subscriptionServiceNotFound:"Abonnementdienst nicht gefunden.",subscriptionServiceNotBelongToPackage:"Abonnementdienst nicht gefunden oder gehört nicht zum richtigen Paket",subscriptionServiceNotBelongTosubscriptionServiceParent:"Abonnementdienst nicht gefunden oder gehört nicht zum richtigen Abonnementdienst-Elternteil",canNotGetsubscriptionServiceListPleaseTryAgain:"Abonnementdienstliste kann derzeit nicht abgerufen werden, bitte versuchen Sie es erneut"}}},brandAdmin:{errorMessage:{firstNameInvalid:"Das Feld Vorname ist ungültig. Muss eine Länge von 3 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",createdAtInvalid:"Das Feld Erstellt am ist ungültig.",brandNotFound:"Marke nicht gefunden.",lastNameInvalid:"Das Feld Nachname ist ungültig. Muss eine Länge von 3 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",idInvalid:"Das Feld ID ist ungültig. Muss im UUID-v4-Format sein.",updatedAtInvalid:"Das Feld Erstellt am ist ungültig. Muss im Datumsformat sein.",countryInvalid:"Das Feld Land ist ungültig. Bitte wählen Sie ein von uns unterstütztes Land aus.",termTypeInvalid:"Das Feld TermType ist ungültig. Bitte wählen Sie einen von uns unterstützten TermType aus.",baseCostTypeInvalid:"Das Feld BaseCostType ist ungültig. Bitte wählen Sie einen von uns unterstützten BaseCostType aus.",brandStatusesInvalid:"BrandStatuses ist ungültig. Bitte wählen Sie einen von uns unterstützten BrandStatuses aus.",informationPlanIsRequired:"Informationsplan ist erforderlich.",settingStatusesInvalid:"SettingStatuses ist ungültig. Bitte wählen Sie einen von uns unterstützten BaseCostType aus.",languagesInvalid:"Sprachen ist ungültig. Bitte wählen Sie eine von uns unterstützte Sprache aus.",currencyInvalid:"Währung ist ungültig. Bitte wählen Sie eine von uns unterstützte Währung aus.",distanceMetricInvalid:"Entfernungsmetrik ist ungültig. Bitte wählen Sie eine von uns unterstützte Entfernungsmetrik aus.",settingNotFound:"Einstellung nicht gefunden.",subscriptionNotFound:"Abonnement nicht gefunden.",subscriptionNameExists:"Der Abonnementname existiert bereits.",subscriptionServiceNotFound:"Abonnementdienst nicht gefunden.",subscriptionServiceNotBelongToPackage:"Abonnementdienst nicht gefunden oder gehört nicht zum richtigen Paket",subscriptionServiceNotBelongTosubscriptionServiceParent:"Abonnementdienst nicht gefunden oder gehört nicht zum richtigen Abonnementdienst-Elternteil",canNotGetsubscriptionServiceListPleaseTryAgain:"Abonnementdienstliste kann derzeit nicht abgerufen werden, bitte versuchen Sie es erneut"}},iam:{usersManagement:{errorMessage:{firstNameInvalid:"Feld Vorname ist ungültig. Muss eine Länge von 1 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",createdAtInvalid:"Feld Erstellt am ist ungültig.",notFound:"Benutzer nicht gefunden.",lastNameInvalid:"Feld Nachname ist ungültig. Muss eine Länge von 1 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",updatedAtInvalid:"Feld Erstellt am ist ungültig. Muss im Datumsformat sein.",emailInvalid:"Feld E-Mail ist ungültig. Muss im E-Mail-Format sein.",passwordInvalid:"Feld Passwort ist ungültig. Muss 8 Zeichen lang sein, 1 Großbuchstaben & 1 Kleinbuchstaben enthalten, 1 Zahl und 1 Sonderzeichen.",countryCodeInvalid:"Feld Ländercode ist ungültig.",languageCodeInvalid:"Feld Sprachcode ist ungültig.",deletedAtInvalid:"Feld Gelöscht am ist ungültig. Muss im Datumsformat sein.",isActiveInvalid:"Feld IstAktiv ist ungültig.",isSuspendInvalid:"Feld IstGesperrt ist ungültig.",userExist:"Der Benutzer existiert bereits.",authProviderInvalid:"Feld Authentifizierungsanbieter ist ungültig.",isEnableInvalid:"Feld IstAktiviert ist ungültig.",sendEmailFailed:"E-Mail senden fehlgeschlagen.",emailRequired:"Feld E-Mail ist erforderlich",firstNameRequired:"Feld Vorname ist erforderlich",lastNameRequired:"Feld Nachname ist erforderlich",countryCodeRequired:"Feld Ländercode ist erforderlich",userStatusInvalid:"Feld Status ungültig. Bitte wählen Sie einen von uns unterstützten Status.",loginAtInvalid:"Feld Letzte Anmeldung ist ungültig.",avatarFileInvalid:"Avatar-Dateiformat wird nicht unterstützt. Muss png, jpeg, jpg sein und kleiner als 1 MB.",permissionGroupNotFound:"Berechtigungsgruppe nicht gefunden.",organizeInvalid:"Feld Organisation ist erforderlich. Muss ein Objekt sein.",relatedIdInvalid:"Feld Bezug-ID der Organisation ist ungültig. Muss eine Zahl sein.",userOrganizeNotFound:"Benutzerorganisation nicht gefunden.",isSystemInvalid:"Feld IstSystem ist ungültig.",organizeUserInvalid:"Feld Benutzer ist ungültig. Muss ein Array sein.",organizeUserDuplicate:"Feld Benutzer enthält duplizierte E-Mail-Adressen."}},permissionGroup:{errorMessage:{actionNotFound:"Aktion nicht gefunden.",permissionGroupNotFound:"Berechtigungsgruppe nicht gefunden.",permissionGroupIsExisted:"Berechtigungsgruppenname existiert bereits",permissionGroupOrganizeNotFound:"Organisation der Berechtigungsgruppe nicht gefunden.",relatedIdInvalid:"Feld Bezug-ID der Organisation ist ungültig. Muss eine Zahl sein.",cannotRemoveFullPermissionGroup:"Sie können diese Berechtigungsgruppe nicht entfernen.",cannotEditFullPermissionGroup:"Sie können diese Berechtigungsgruppe nicht aktualisieren."}},organize:{errorMessage:{relatedIdInvalid:"Feld Bezug-ID ist ungültig. Muss eine Zahl sein.",nameInvalid:"Feld Name der Daten ist ungültig. Muss eine Länge von 1 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",dataInvalid:"Feld Daten ist ungültig. Muss ein Objekt sein.",organizeExist:"Die Organisation existiert bereits.",callbackUrlInvalid:"Feld Callback-URL der Daten ist ungültig. Muss eine Zeichenkette sein."}}},notificationAdmin:{notification:{errorMessage:{notificationFilterType:"Feld notificationFilterType ist ungültig. Muss einer der Werte 'gelesen', 'ungelesen' oder 'alle' sein.",userIdInvalid:"Feld userId ist ungültig. Muss eine Zahl sein.",filterInvalid:"Feld filter ist ungültig. Muss ein Objekt sein.",isReadInvalid:"Feld isRead ist ungültig. Muss ein boolescher Wert sein.",notificationIdInvalid:"Feld id ist ungültig. Muss eine Zahl sein.",userDeviceTokenInvalid:"Feld deviceToken ist ungültig. Muss eine Zeichenfolge sein."}},notificationConfig:{errorMessage:{notificationNotFound:"Benachrichtigungskonfiguration nicht gefunden.",notificationIsExisted:"Benachrichtigungsregel existiert bereits.",actionNotFound:"Aktion nicht gefunden.",userNotFound:"Benutzer nicht gefunden.",firstNameInvalid:"Feld Vorname ist ungültig. Muss eine Länge von 1 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",createdAtInvalid:"Feld createdAt ist ungültig.",lastNameInvalid:"Feld Nachname ist ungültig. Muss eine Länge von 1 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",updatedAtInvalid:"Feld createdAt ist ungültig. Muss im Datumsformat sein.",emailInvalid:"Feld E-Mail ist ungültig. Muss im E-Mail-Format sein.",passwordInvalid:"Feld Passwort ist ungültig. Muss 8 Zeichen lang sein, einen Großbuchstaben, einen Kleinbuchstaben, eine Zahl und ein Sonderzeichen enthalten.",countryCodeInvalid:"Feld Ländercode ist ungültig.",languageCodeInvalid:"Feld Sprachcode ist ungültig.",deletedAtInvalid:"Feld deletedAt ist ungültig. Muss im Datumsformat sein.",isActiveInvalid:"Feld isActive ist ungültig.",isSuspendInvalid:"Feld isSuspend ist ungültig.",userExist:"Der Benutzer existiert bereits.",authProviderInvalid:"Feld authProvider ist ungültig.",isEnableInvalid:"Feld isEnable ist ungültig.",sendEmailFailed:"E-Mail-Versand fehlgeschlagen.",emailRequired:"Feld E-Mail ist erforderlich",firstNameRequired:"Feld Vorname ist erforderlich",lastNameRequired:"Feld Nachname ist erforderlich",countryCodeRequired:"Feld Ländercode ist erforderlich",userStatusInvalid:"Feld Status ist ungültig. Bitte wählen Sie einen unterstützten Status aus.",loginAtInvalid:"Feld letzter Login ist ungültig.",avatarFileInvalid:"Avatar-Dateiformat wird nicht unterstützt. Muss png, jpeg, jpg sein und kleiner als 1 MB sein.",permissionGroupNotFound:"Berechtigungsgruppe nicht gefunden.",organizeInvalid:"Feld Organisieren ist erforderlich. Muss ein Objekt sein.",relatedIdInvalid:"Feld relatedId von Organisieren. Muss eine Zahl sein.",userOrganizeNotFound:"Benutzerorganisation nicht gefunden.",isSystemInvalid:"Feld isSystem ist ungültig.",organizeUserInvalid:"Feld Benutzer ist ungültig. Muss ein Array sein.",organizeUserDuplicate:"Feld Benutzer enthält doppelte E-Mails."}}}},KA={errorMessage:qA,components:VA,configurations:GA};var td=(e=>(e.en="en",e.de="de",e))(td||{});const ZA={de:{translation:KA},en:{translation:zA}};zt.use(YA).use(ty).init({resources:ZA,fallbackLng:"en"});const XA=D.reactExports.createContext({}),JA=()=>D.reactExports.useContext(XA);var Tf={exports:{}};/*!
|
|
131
131
|
* jQuery JavaScript Library v3.7.1
|
|
132
132
|
* https://jquery.com/
|
|
133
133
|
*
|
|
@@ -136,16 +136,16 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
136
136
|
* https://jquery.org/license
|
|
137
137
|
*
|
|
138
138
|
* Date: 2023-08-28T13:37Z
|
|
139
|
-
*/(function(e){(function(t,n){e.exports=t.document?n(t,!0):function(i){if(!i.document)throw new Error("jQuery requires a window with a document");return n(i)}})(typeof window<"u"?window:D.commonjsGlobal,function(t,n){var i=[],a=Object.getPrototypeOf,u=i.slice,f=i.flat?function(o){return i.flat.call(o)}:function(o){return i.concat.apply([],o)},m=i.push,b=i.indexOf,_={},E=_.toString,O=_.hasOwnProperty,M=O.toString,z=M.call(Object),B={},$=function(c){return typeof c=="function"&&typeof c.nodeType!="number"&&typeof c.item!="function"},Z=function(c){return c!=null&&c===c.window},W=t.document,se={type:!0,src:!0,nonce:!0,noModule:!0};function pe(o,c,d){d=d||W;var g,y,v=d.createElement("script");if(v.text=o,c)for(g in se)y=c[g]||c.getAttribute&&c.getAttribute(g),y&&v.setAttribute(g,y);d.head.appendChild(v).parentNode.removeChild(v)}function ae(o){return o==null?o+"":typeof o=="object"||typeof o=="function"?_[E.call(o)]||"object":typeof o}var ne="3.7.1",ie=/HTML$/i,h=function(o,c){return new h.fn.init(o,c)};h.fn=h.prototype={jquery:ne,constructor:h,length:0,toArray:function(){return u.call(this)},get:function(o){return o==null?u.call(this):o<0?this[o+this.length]:this[o]},pushStack:function(o){var c=h.merge(this.constructor(),o);return c.prevObject=this,c},each:function(o){return h.each(this,o)},map:function(o){return this.pushStack(h.map(this,function(c,d){return o.call(c,d,c)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(h.grep(this,function(o,c){return(c+1)%2}))},odd:function(){return this.pushStack(h.grep(this,function(o,c){return c%2}))},eq:function(o){var c=this.length,d=+o+(o<0?c:0);return this.pushStack(d>=0&&d<c?[this[d]]:[])},end:function(){return this.prevObject||this.constructor()},push:m,sort:i.sort,splice:i.splice},h.extend=h.fn.extend=function(){var o,c,d,g,y,v,w=arguments[0]||{},R=1,I=arguments.length,j=!1;for(typeof w=="boolean"&&(j=w,w=arguments[R]||{},R++),typeof w!="object"&&!$(w)&&(w={}),R===I&&(w=this,R--);R<I;R++)if((o=arguments[R])!=null)for(c in o)g=o[c],!(c==="__proto__"||w===g)&&(j&&g&&(h.isPlainObject(g)||(y=Array.isArray(g)))?(d=w[c],y&&!Array.isArray(d)?v=[]:!y&&!h.isPlainObject(d)?v={}:v=d,y=!1,w[c]=h.extend(j,v,g)):g!==void 0&&(w[c]=g));return w},h.extend({expando:"jQuery"+(ne+Math.random()).replace(/\D/g,""),isReady:!0,error:function(o){throw new Error(o)},noop:function(){},isPlainObject:function(o){var c,d;return!o||E.call(o)!=="[object Object]"?!1:(c=a(o),c?(d=O.call(c,"constructor")&&c.constructor,typeof d=="function"&&M.call(d)===z):!0)},isEmptyObject:function(o){var c;for(c in o)return!1;return!0},globalEval:function(o,c,d){pe(o,{nonce:c&&c.nonce},d)},each:function(o,c){var d,g=0;if(Te(o))for(d=o.length;g<d&&c.call(o[g],g,o[g])!==!1;g++);else for(g in o)if(c.call(o[g],g,o[g])===!1)break;return o},text:function(o){var c,d="",g=0,y=o.nodeType;if(!y)for(;c=o[g++];)d+=h.text(c);return y===1||y===11?o.textContent:y===9?o.documentElement.textContent:y===3||y===4?o.nodeValue:d},makeArray:function(o,c){var d=c||[];return o!=null&&(Te(Object(o))?h.merge(d,typeof o=="string"?[o]:o):m.call(d,o)),d},inArray:function(o,c,d){return c==null?-1:b.call(c,o,d)},isXMLDoc:function(o){var c=o&&o.namespaceURI,d=o&&(o.ownerDocument||o).documentElement;return!ie.test(c||d&&d.nodeName||"HTML")},merge:function(o,c){for(var d=+c.length,g=0,y=o.length;g<d;g++)o[y++]=c[g];return o.length=y,o},grep:function(o,c,d){for(var g,y=[],v=0,w=o.length,R=!d;v<w;v++)g=!c(o[v],v),g!==R&&y.push(o[v]);return y},map:function(o,c,d){var g,y,v=0,w=[];if(Te(o))for(g=o.length;v<g;v++)y=c(o[v],v,d),y!=null&&w.push(y);else for(v in o)y=c(o[v],v,d),y!=null&&w.push(y);return f(w)},guid:1,support:B}),typeof Symbol=="function"&&(h.fn[Symbol.iterator]=i[Symbol.iterator]),h.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(o,c){_["[object "+c+"]"]=c.toLowerCase()});function Te(o){var c=!!o&&"length"in o&&o.length,d=ae(o);return $(o)||Z(o)?!1:d==="array"||c===0||typeof c=="number"&&c>0&&c-1 in o}function ce(o,c){return o.nodeName&&o.nodeName.toLowerCase()===c.toLowerCase()}var et=i.pop,Pe=i.sort,Xe=i.splice,xe="[\\x20\\t\\r\\n\\f]",Ve=new RegExp("^"+xe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+xe+"+$","g");h.contains=function(o,c){var d=c&&c.parentNode;return o===d||!!(d&&d.nodeType===1&&(o.contains?o.contains(d):o.compareDocumentPosition&&o.compareDocumentPosition(d)&16))};var ut=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function ht(o,c){return c?o==="\0"?"�":o.slice(0,-1)+"\\"+o.charCodeAt(o.length-1).toString(16)+" ":"\\"+o}h.escapeSelector=function(o){return(o+"").replace(ut,ht)};var He=W,we=m;(function(){var o,c,d,g,y,v=we,w,R,I,j,q,G=h.expando,U=0,te=0,fe=Zi(),Me=Zi(),Ee=Zi(),It=Zi(),yt=function(T,F){return T===F&&(y=!0),0},Yn="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Wn="(?:\\\\[\\da-fA-F]{1,6}"+xe+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",$e="\\["+xe+"*("+Wn+")(?:"+xe+"*([*^$|!~]?=)"+xe+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Wn+"))|)"+xe+"*\\]",Cr=":("+Wn+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+$e+")*)|.*)\\)|)",je=new RegExp(xe+"+","g"),rt=new RegExp("^"+xe+"*,"+xe+"*"),qi=new RegExp("^"+xe+"*([>+~]|"+xe+")"+xe+"*"),Cs=new RegExp(xe+"|>"),Cn=new RegExp(Cr),Zr=new RegExp("^"+Wn+"$"),gn={ID:new RegExp("^#("+Wn+")"),CLASS:new RegExp("^\\.("+Wn+")"),TAG:new RegExp("^("+Wn+"|[*])"),ATTR:new RegExp("^"+$e),PSEUDO:new RegExp("^"+Cr),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+xe+"*(even|odd|(([+-]|)(\\d*)n|)"+xe+"*(?:([+-]|)"+xe+"*(\\d+)|))"+xe+"*\\)|)","i"),bool:new RegExp("^(?:"+Yn+")$","i"),needsContext:new RegExp("^"+xe+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+xe+"*((?:-\\d)?\\d*)"+xe+"*\\)|)(?=[^-]|$)","i")},lr=/^(?:input|select|textarea|button)$/i,Dr=/^h\d$/i,Xt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Gi=/[+~]/,cr=new RegExp("\\\\[\\da-fA-F]{1,6}"+xe+"?|\\\\([^\\r\\n\\f])","g"),Hn=function(T,F){var H="0x"+T.slice(1)-65536;return F||(H<0?String.fromCharCode(H+65536):String.fromCharCode(H>>10|55296,H&1023|56320))},nn=function(){Er()},ka=Xr(function(T){return T.disabled===!0&&ce(T,"fieldset")},{dir:"parentNode",next:"legend"});function Ki(){try{return w.activeElement}catch{}}try{v.apply(i=u.call(He.childNodes),He.childNodes),i[He.childNodes.length].nodeType}catch{v={apply:function(F,H){we.apply(F,u.call(H))},call:function(F){we.apply(F,u.call(arguments,1))}}}function Ge(T,F,H,V){var C,N,P,K,X,he,ge,le=F&&F.ownerDocument,Ae=F?F.nodeType:9;if(H=H||[],typeof T!="string"||!T||Ae!==1&&Ae!==9&&Ae!==11)return H;if(!V&&(Er(F),F=F||w,I)){if(Ae!==11&&(X=Xt.exec(T)))if(C=X[1]){if(Ae===9)if(P=F.getElementById(C)){if(P.id===C)return v.call(H,P),H}else return H;else if(le&&(P=le.getElementById(C))&&Ge.contains(F,P)&&P.id===C)return v.call(H,P),H}else{if(X[2])return v.apply(H,F.getElementsByTagName(T)),H;if((C=X[3])&&F.getElementsByClassName)return v.apply(H,F.getElementsByClassName(C)),H}if(!It[T+" "]&&(!j||!j.test(T))){if(ge=T,le=F,Ae===1&&(Cs.test(T)||qi.test(T))){for(le=Gi.test(T)&&Ca(F.parentNode)||F,(le!=F||!B.scope)&&((K=F.getAttribute("id"))?K=h.escapeSelector(K):F.setAttribute("id",K=G)),he=Ii(T),N=he.length;N--;)he[N]=(K?"#"+K:":scope")+" "+En(he[N]);ge=he.join(",")}try{return v.apply(H,le.querySelectorAll(ge)),H}catch{It(T,!0)}finally{K===G&&F.removeAttribute("id")}}}return Xo(T.replace(Ve,"$1"),F,H,V)}function Zi(){var T=[];function F(H,V){return T.push(H+" ")>c.cacheLength&&delete F[T.shift()],F[H+" "]=V}return F}function Dn(T){return T[G]=!0,T}function Mi(T){var F=w.createElement("fieldset");try{return!!T(F)}catch{return!1}finally{F.parentNode&&F.parentNode.removeChild(F),F=null}}function Sc(T){return function(F){return ce(F,"input")&&F.type===T}}function kc(T){return function(F){return(ce(F,"input")||ce(F,"button"))&&F.type===T}}function Ko(T){return function(F){return"form"in F?F.parentNode&&F.disabled===!1?"label"in F?"label"in F.parentNode?F.parentNode.disabled===T:F.disabled===T:F.isDisabled===T||F.isDisabled!==!T&&ka(F)===T:F.disabled===T:"label"in F?F.disabled===T:!1}}function mn(T){return Dn(function(F){return F=+F,Dn(function(H,V){for(var C,N=T([],H.length,F),P=N.length;P--;)H[C=N[P]]&&(H[C]=!(V[C]=H[C]))})})}function Ca(T){return T&&typeof T.getElementsByTagName<"u"&&T}function Er(T){var F,H=T?T.ownerDocument||T:He;return H==w||H.nodeType!==9||!H.documentElement||(w=H,R=w.documentElement,I=!h.isXMLDoc(w),q=R.matches||R.webkitMatchesSelector||R.msMatchesSelector,R.msMatchesSelector&&He!=w&&(F=w.defaultView)&&F.top!==F&&F.addEventListener("unload",nn),B.getById=Mi(function(V){return R.appendChild(V).id=h.expando,!w.getElementsByName||!w.getElementsByName(h.expando).length}),B.disconnectedMatch=Mi(function(V){return q.call(V,"*")}),B.scope=Mi(function(){return w.querySelectorAll(":scope")}),B.cssHas=Mi(function(){try{return w.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),B.getById?(c.filter.ID=function(V){var C=V.replace(cr,Hn);return function(N){return N.getAttribute("id")===C}},c.find.ID=function(V,C){if(typeof C.getElementById<"u"&&I){var N=C.getElementById(V);return N?[N]:[]}}):(c.filter.ID=function(V){var C=V.replace(cr,Hn);return function(N){var P=typeof N.getAttributeNode<"u"&&N.getAttributeNode("id");return P&&P.value===C}},c.find.ID=function(V,C){if(typeof C.getElementById<"u"&&I){var N,P,K,X=C.getElementById(V);if(X){if(N=X.getAttributeNode("id"),N&&N.value===V)return[X];for(K=C.getElementsByName(V),P=0;X=K[P++];)if(N=X.getAttributeNode("id"),N&&N.value===V)return[X]}return[]}}),c.find.TAG=function(V,C){return typeof C.getElementsByTagName<"u"?C.getElementsByTagName(V):C.querySelectorAll(V)},c.find.CLASS=function(V,C){if(typeof C.getElementsByClassName<"u"&&I)return C.getElementsByClassName(V)},j=[],Mi(function(V){var C;R.appendChild(V).innerHTML="<a id='"+G+"' href='' disabled='disabled'></a><select id='"+G+"-\r\\' disabled='disabled'><option selected=''></option></select>",V.querySelectorAll("[selected]").length||j.push("\\["+xe+"*(?:value|"+Yn+")"),V.querySelectorAll("[id~="+G+"-]").length||j.push("~="),V.querySelectorAll("a#"+G+"+*").length||j.push(".#.+[+~]"),V.querySelectorAll(":checked").length||j.push(":checked"),C=w.createElement("input"),C.setAttribute("type","hidden"),V.appendChild(C).setAttribute("name","D"),R.appendChild(V).disabled=!0,V.querySelectorAll(":disabled").length!==2&&j.push(":enabled",":disabled"),C=w.createElement("input"),C.setAttribute("name",""),V.appendChild(C),V.querySelectorAll("[name='']").length||j.push("\\["+xe+"*name"+xe+"*="+xe+`*(?:''|"")`)}),B.cssHas||j.push(":has"),j=j.length&&new RegExp(j.join("|")),yt=function(V,C){if(V===C)return y=!0,0;var N=!V.compareDocumentPosition-!C.compareDocumentPosition;return N||(N=(V.ownerDocument||V)==(C.ownerDocument||C)?V.compareDocumentPosition(C):1,N&1||!B.sortDetached&&C.compareDocumentPosition(V)===N?V===w||V.ownerDocument==He&&Ge.contains(He,V)?-1:C===w||C.ownerDocument==He&&Ge.contains(He,C)?1:g?b.call(g,V)-b.call(g,C):0:N&4?-1:1)}),w}Ge.matches=function(T,F){return Ge(T,null,null,F)},Ge.matchesSelector=function(T,F){if(Er(T),I&&!It[F+" "]&&(!j||!j.test(F)))try{var H=q.call(T,F);if(H||B.disconnectedMatch||T.document&&T.document.nodeType!==11)return H}catch{It(F,!0)}return Ge(F,w,null,[T]).length>0},Ge.contains=function(T,F){return(T.ownerDocument||T)!=w&&Er(T),h.contains(T,F)},Ge.attr=function(T,F){(T.ownerDocument||T)!=w&&Er(T);var H=c.attrHandle[F.toLowerCase()],V=H&&O.call(c.attrHandle,F.toLowerCase())?H(T,F,!I):void 0;return V!==void 0?V:T.getAttribute(F)},Ge.error=function(T){throw new Error("Syntax error, unrecognized expression: "+T)},h.uniqueSort=function(T){var F,H=[],V=0,C=0;if(y=!B.sortStable,g=!B.sortStable&&u.call(T,0),Pe.call(T,yt),y){for(;F=T[C++];)F===T[C]&&(V=H.push(C));for(;V--;)Xe.call(T,H[V],1)}return g=null,T},h.fn.uniqueSort=function(){return this.pushStack(h.uniqueSort(u.apply(this)))},c=h.expr={cacheLength:50,createPseudo:Dn,match:gn,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(T){return T[1]=T[1].replace(cr,Hn),T[3]=(T[3]||T[4]||T[5]||"").replace(cr,Hn),T[2]==="~="&&(T[3]=" "+T[3]+" "),T.slice(0,4)},CHILD:function(T){return T[1]=T[1].toLowerCase(),T[1].slice(0,3)==="nth"?(T[3]||Ge.error(T[0]),T[4]=+(T[4]?T[5]+(T[6]||1):2*(T[3]==="even"||T[3]==="odd")),T[5]=+(T[7]+T[8]||T[3]==="odd")):T[3]&&Ge.error(T[0]),T},PSEUDO:function(T){var F,H=!T[6]&&T[2];return gn.CHILD.test(T[0])?null:(T[3]?T[2]=T[4]||T[5]||"":H&&Cn.test(H)&&(F=Ii(H,!0))&&(F=H.indexOf(")",H.length-F)-H.length)&&(T[0]=T[0].slice(0,F),T[2]=H.slice(0,F)),T.slice(0,3))}},filter:{TAG:function(T){var F=T.replace(cr,Hn).toLowerCase();return T==="*"?function(){return!0}:function(H){return ce(H,F)}},CLASS:function(T){var F=fe[T+" "];return F||(F=new RegExp("(^|"+xe+")"+T+"("+xe+"|$)"))&&fe(T,function(H){return F.test(typeof H.className=="string"&&H.className||typeof H.getAttribute<"u"&&H.getAttribute("class")||"")})},ATTR:function(T,F,H){return function(V){var C=Ge.attr(V,T);return C==null?F==="!=":F?(C+="",F==="="?C===H:F==="!="?C!==H:F==="^="?H&&C.indexOf(H)===0:F==="*="?H&&C.indexOf(H)>-1:F==="$="?H&&C.slice(-H.length)===H:F==="~="?(" "+C.replace(je," ")+" ").indexOf(H)>-1:F==="|="?C===H||C.slice(0,H.length+1)===H+"-":!1):!0}},CHILD:function(T,F,H,V,C){var N=T.slice(0,3)!=="nth",P=T.slice(-4)!=="last",K=F==="of-type";return V===1&&C===0?function(X){return!!X.parentNode}:function(X,he,ge){var le,Ae,be,Le,At,$t=N!==P?"nextSibling":"previousSibling",Rt=X.parentNode,sn=K&&X.nodeName.toLowerCase(),fr=!ge&&!K,De=!1;if(Rt){if(N){for(;$t;){for(be=X;be=be[$t];)if(K?ce(be,sn):be.nodeType===1)return!1;At=$t=T==="only"&&!At&&"nextSibling"}return!0}if(At=[P?Rt.firstChild:Rt.lastChild],P&&fr){for(Ae=Rt[G]||(Rt[G]={}),le=Ae[T]||[],Le=le[0]===U&&le[1],De=Le&&le[2],be=Le&&Rt.childNodes[Le];be=++Le&&be&&be[$t]||(De=Le=0)||At.pop();)if(be.nodeType===1&&++De&&be===X){Ae[T]=[U,Le,De];break}}else if(fr&&(Ae=X[G]||(X[G]={}),le=Ae[T]||[],Le=le[0]===U&&le[1],De=Le),De===!1)for(;(be=++Le&&be&&be[$t]||(De=Le=0)||At.pop())&&!((K?ce(be,sn):be.nodeType===1)&&++De&&(fr&&(Ae=be[G]||(be[G]={}),Ae[T]=[U,De]),be===X)););return De-=C,De===V||De%V===0&&De/V>=0}}},PSEUDO:function(T,F){var H,V=c.pseudos[T]||c.setFilters[T.toLowerCase()]||Ge.error("unsupported pseudo: "+T);return V[G]?V(F):V.length>1?(H=[T,T,"",F],c.setFilters.hasOwnProperty(T.toLowerCase())?Dn(function(C,N){for(var P,K=V(C,F),X=K.length;X--;)P=b.call(C,K[X]),C[P]=!(N[P]=K[X])}):function(C){return V(C,0,H)}):V}},pseudos:{not:Dn(function(T){var F=[],H=[],V=Ea(T.replace(Ve,"$1"));return V[G]?Dn(function(C,N,P,K){for(var X,he=V(C,null,K,[]),ge=C.length;ge--;)(X=he[ge])&&(C[ge]=!(N[ge]=X))}):function(C,N,P){return F[0]=C,V(F,null,P,H),F[0]=null,!H.pop()}}),has:Dn(function(T){return function(F){return Ge(T,F).length>0}}),contains:Dn(function(T){return T=T.replace(cr,Hn),function(F){return(F.textContent||h.text(F)).indexOf(T)>-1}}),lang:Dn(function(T){return Zr.test(T||"")||Ge.error("unsupported lang: "+T),T=T.replace(cr,Hn).toLowerCase(),function(F){var H;do if(H=I?F.lang:F.getAttribute("xml:lang")||F.getAttribute("lang"))return H=H.toLowerCase(),H===T||H.indexOf(T+"-")===0;while((F=F.parentNode)&&F.nodeType===1);return!1}}),target:function(T){var F=t.location&&t.location.hash;return F&&F.slice(1)===T.id},root:function(T){return T===R},focus:function(T){return T===Ki()&&w.hasFocus()&&!!(T.type||T.href||~T.tabIndex)},enabled:Ko(!1),disabled:Ko(!0),checked:function(T){return ce(T,"input")&&!!T.checked||ce(T,"option")&&!!T.selected},selected:function(T){return T.parentNode&&T.parentNode.selectedIndex,T.selected===!0},empty:function(T){for(T=T.firstChild;T;T=T.nextSibling)if(T.nodeType<6)return!1;return!0},parent:function(T){return!c.pseudos.empty(T)},header:function(T){return Dr.test(T.nodeName)},input:function(T){return lr.test(T.nodeName)},button:function(T){return ce(T,"input")&&T.type==="button"||ce(T,"button")},text:function(T){var F;return ce(T,"input")&&T.type==="text"&&((F=T.getAttribute("type"))==null||F.toLowerCase()==="text")},first:mn(function(){return[0]}),last:mn(function(T,F){return[F-1]}),eq:mn(function(T,F,H){return[H<0?H+F:H]}),even:mn(function(T,F){for(var H=0;H<F;H+=2)T.push(H);return T}),odd:mn(function(T,F){for(var H=1;H<F;H+=2)T.push(H);return T}),lt:mn(function(T,F,H){var V;for(H<0?V=H+F:H>F?V=F:V=H;--V>=0;)T.push(V);return T}),gt:mn(function(T,F,H){for(var V=H<0?H+F:H;++V<F;)T.push(V);return T})}},c.pseudos.nth=c.pseudos.eq;for(o in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})c.pseudos[o]=Sc(o);for(o in{submit:!0,reset:!0})c.pseudos[o]=kc(o);function Ds(){}Ds.prototype=c.filters=c.pseudos,c.setFilters=new Ds;function Ii(T,F){var H,V,C,N,P,K,X,he=Me[T+" "];if(he)return F?0:he.slice(0);for(P=T,K=[],X=c.preFilter;P;){(!H||(V=rt.exec(P)))&&(V&&(P=P.slice(V[0].length)||P),K.push(C=[])),H=!1,(V=qi.exec(P))&&(H=V.shift(),C.push({value:H,type:V[0].replace(Ve," ")}),P=P.slice(H.length));for(N in c.filter)(V=gn[N].exec(P))&&(!X[N]||(V=X[N](V)))&&(H=V.shift(),C.push({value:H,type:N,matches:V}),P=P.slice(H.length));if(!H)break}return F?P.length:P?Ge.error(T):Me(T,K).slice(0)}function En(T){for(var F=0,H=T.length,V="";F<H;F++)V+=T[F].value;return V}function Xr(T,F,H){var V=F.dir,C=F.next,N=C||V,P=H&&N==="parentNode",K=te++;return F.first?function(X,he,ge){for(;X=X[V];)if(X.nodeType===1||P)return T(X,he,ge);return!1}:function(X,he,ge){var le,Ae,be=[U,K];if(ge){for(;X=X[V];)if((X.nodeType===1||P)&&T(X,he,ge))return!0}else for(;X=X[V];)if(X.nodeType===1||P)if(Ae=X[G]||(X[G]={}),C&&ce(X,C))X=X[V]||X;else{if((le=Ae[N])&&le[0]===U&&le[1]===K)return be[2]=le[2];if(Ae[N]=be,be[2]=T(X,he,ge))return!0}return!1}}function Da(T){return T.length>1?function(F,H,V){for(var C=T.length;C--;)if(!T[C](F,H,V))return!1;return!0}:T[0]}function Cc(T,F,H){for(var V=0,C=F.length;V<C;V++)Ge(T,F[V],H);return H}function Es(T,F,H,V,C){for(var N,P=[],K=0,X=T.length,he=F!=null;K<X;K++)(N=T[K])&&(!H||H(N,V,C))&&(P.push(N),he&&F.push(K));return P}function Tr(T,F,H,V,C,N){return V&&!V[G]&&(V=Tr(V)),C&&!C[G]&&(C=Tr(C,N)),Dn(function(P,K,X,he){var ge,le,Ae,be,Le=[],At=[],$t=K.length,Rt=P||Cc(F||"*",X.nodeType?[X]:X,[]),sn=T&&(P||!F)?Es(Rt,Le,T,X,he):Rt;if(H?(be=C||(P?T:$t||V)?[]:K,H(sn,be,X,he)):be=sn,V)for(ge=Es(be,At),V(ge,[],X,he),le=ge.length;le--;)(Ae=ge[le])&&(be[At[le]]=!(sn[At[le]]=Ae));if(P){if(C||T){if(C){for(ge=[],le=be.length;le--;)(Ae=be[le])&&ge.push(sn[le]=Ae);C(null,be=[],ge,he)}for(le=be.length;le--;)(Ae=be[le])&&(ge=C?b.call(P,Ae):Le[le])>-1&&(P[ge]=!(K[ge]=Ae))}}else be=Es(be===K?be.splice($t,be.length):be),C?C(null,K,be,he):v.apply(K,be)})}function rn(T){for(var F,H,V,C=T.length,N=c.relative[T[0].type],P=N||c.relative[" "],K=N?1:0,X=Xr(function(le){return le===F},P,!0),he=Xr(function(le){return b.call(F,le)>-1},P,!0),ge=[function(le,Ae,be){var Le=!N&&(be||Ae!=d)||((F=Ae).nodeType?X(le,Ae,be):he(le,Ae,be));return F=null,Le}];K<C;K++)if(H=c.relative[T[K].type])ge=[Xr(Da(ge),H)];else{if(H=c.filter[T[K].type].apply(null,T[K].matches),H[G]){for(V=++K;V<C&&!c.relative[T[V].type];V++);return Tr(K>1&&Da(ge),K>1&&En(T.slice(0,K-1).concat({value:T[K-2].type===" "?"*":""})).replace(Ve,"$1"),H,K<V&&rn(T.slice(K,V)),V<C&&rn(T=T.slice(V)),V<C&&En(T))}ge.push(H)}return Da(ge)}function Zo(T,F){var H=F.length>0,V=T.length>0,C=function(N,P,K,X,he){var ge,le,Ae,be=0,Le="0",At=N&&[],$t=[],Rt=d,sn=N||V&&c.find.TAG("*",he),fr=U+=Rt==null?1:Math.random()||.1,De=sn.length;for(he&&(d=P==w||P||he);Le!==De&&(ge=sn[Le])!=null;Le++){if(V&&ge){for(le=0,!P&&ge.ownerDocument!=w&&(Er(ge),K=!I);Ae=T[le++];)if(Ae(ge,P||w,K)){v.call(X,ge);break}he&&(U=fr)}H&&((ge=!Ae&&ge)&&be--,N&&At.push(ge))}if(be+=Le,H&&Le!==be){for(le=0;Ae=F[le++];)Ae(At,$t,P,K);if(N){if(be>0)for(;Le--;)At[Le]||$t[Le]||($t[Le]=et.call(X));$t=Es($t)}v.apply(X,$t),he&&!N&&$t.length>0&&be+F.length>1&&h.uniqueSort(X)}return he&&(U=fr,d=Rt),At};return H?Dn(C):C}function Ea(T,F){var H,V=[],C=[],N=Ee[T+" "];if(!N){for(F||(F=Ii(T)),H=F.length;H--;)N=rn(F[H]),N[G]?V.push(N):C.push(N);N=Ee(T,Zo(C,V)),N.selector=T}return N}function Xo(T,F,H,V){var C,N,P,K,X,he=typeof T=="function"&&T,ge=!V&&Ii(T=he.selector||T);if(H=H||[],ge.length===1){if(N=ge[0]=ge[0].slice(0),N.length>2&&(P=N[0]).type==="ID"&&F.nodeType===9&&I&&c.relative[N[1].type]){if(F=(c.find.ID(P.matches[0].replace(cr,Hn),F)||[])[0],F)he&&(F=F.parentNode);else return H;T=T.slice(N.shift().value.length)}for(C=gn.needsContext.test(T)?0:N.length;C--&&(P=N[C],!c.relative[K=P.type]);)if((X=c.find[K])&&(V=X(P.matches[0].replace(cr,Hn),Gi.test(N[0].type)&&Ca(F.parentNode)||F))){if(N.splice(C,1),T=V.length&&En(N),!T)return v.apply(H,V),H;break}}return(he||Ea(T,ge))(V,F,!I,H,!F||Gi.test(T)&&Ca(F.parentNode)||F),H}B.sortStable=G.split("").sort(yt).join("")===G,Er(),B.sortDetached=Mi(function(T){return T.compareDocumentPosition(w.createElement("fieldset"))&1}),h.find=Ge,h.expr[":"]=h.expr.pseudos,h.unique=h.uniqueSort,Ge.compile=Ea,Ge.select=Xo,Ge.setDocument=Er,Ge.tokenize=Ii,Ge.escape=h.escapeSelector,Ge.getText=h.text,Ge.isXML=h.isXMLDoc,Ge.selectors=h.expr,Ge.support=h.support,Ge.uniqueSort=h.uniqueSort})();var qe=function(o,c,d){for(var g=[],y=d!==void 0;(o=o[c])&&o.nodeType!==9;)if(o.nodeType===1){if(y&&h(o).is(d))break;g.push(o)}return g},lt=function(o,c){for(var d=[];o;o=o.nextSibling)o.nodeType===1&&o!==c&&d.push(o);return d},_t=h.expr.match.needsContext,St=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Fn(o,c,d){return $(c)?h.grep(o,function(g,y){return!!c.call(g,y,g)!==d}):c.nodeType?h.grep(o,function(g){return g===c!==d}):typeof c!="string"?h.grep(o,function(g){return b.call(c,g)>-1!==d}):h.filter(c,o,d)}h.filter=function(o,c,d){var g=c[0];return d&&(o=":not("+o+")"),c.length===1&&g.nodeType===1?h.find.matchesSelector(g,o)?[g]:[]:h.find.matches(o,h.grep(c,function(y){return y.nodeType===1}))},h.fn.extend({find:function(o){var c,d,g=this.length,y=this;if(typeof o!="string")return this.pushStack(h(o).filter(function(){for(c=0;c<g;c++)if(h.contains(y[c],this))return!0}));for(d=this.pushStack([]),c=0;c<g;c++)h.find(o,y[c],d);return g>1?h.uniqueSort(d):d},filter:function(o){return this.pushStack(Fn(this,o||[],!1))},not:function(o){return this.pushStack(Fn(this,o||[],!0))},is:function(o){return!!Fn(this,typeof o=="string"&&_t.test(o)?h(o):o||[],!1).length}});var Vt,qt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,sr=h.fn.init=function(o,c,d){var g,y;if(!o)return this;if(d=d||Vt,typeof o=="string")if(o[0]==="<"&&o[o.length-1]===">"&&o.length>=3?g=[null,o,null]:g=qt.exec(o),g&&(g[1]||!c))if(g[1]){if(c=c instanceof h?c[0]:c,h.merge(this,h.parseHTML(g[1],c&&c.nodeType?c.ownerDocument||c:W,!0)),St.test(g[1])&&h.isPlainObject(c))for(g in c)$(this[g])?this[g](c[g]):this.attr(g,c[g]);return this}else return y=W.getElementById(g[2]),y&&(this[0]=y,this.length=1),this;else return!c||c.jquery?(c||d).find(o):this.constructor(c).find(o);else{if(o.nodeType)return this[0]=o,this.length=1,this;if($(o))return d.ready!==void 0?d.ready(o):o(h)}return h.makeArray(o,this)};sr.prototype=h.fn,Vt=h(W);var Wi=/^(?:parents|prev(?:Until|All))/,Hr={children:!0,contents:!0,next:!0,prev:!0};h.fn.extend({has:function(o){var c=h(o,this),d=c.length;return this.filter(function(){for(var g=0;g<d;g++)if(h.contains(this,c[g]))return!0})},closest:function(o,c){var d,g=0,y=this.length,v=[],w=typeof o!="string"&&h(o);if(!_t.test(o)){for(;g<y;g++)for(d=this[g];d&&d!==c;d=d.parentNode)if(d.nodeType<11&&(w?w.index(d)>-1:d.nodeType===1&&h.find.matchesSelector(d,o))){v.push(d);break}}return this.pushStack(v.length>1?h.uniqueSort(v):v)},index:function(o){return o?typeof o=="string"?b.call(h(o),this[0]):b.call(this,o.jquery?o[0]:o):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(o,c){return this.pushStack(h.uniqueSort(h.merge(this.get(),h(o,c))))},addBack:function(o){return this.add(o==null?this.prevObject:this.prevObject.filter(o))}});function Nt(o,c){for(;(o=o[c])&&o.nodeType!==1;);return o}h.each({parent:function(o){var c=o.parentNode;return c&&c.nodeType!==11?c:null},parents:function(o){return qe(o,"parentNode")},parentsUntil:function(o,c,d){return qe(o,"parentNode",d)},next:function(o){return Nt(o,"nextSibling")},prev:function(o){return Nt(o,"previousSibling")},nextAll:function(o){return qe(o,"nextSibling")},prevAll:function(o){return qe(o,"previousSibling")},nextUntil:function(o,c,d){return qe(o,"nextSibling",d)},prevUntil:function(o,c,d){return qe(o,"previousSibling",d)},siblings:function(o){return lt((o.parentNode||{}).firstChild,o)},children:function(o){return lt(o.firstChild)},contents:function(o){return o.contentDocument!=null&&a(o.contentDocument)?o.contentDocument:(ce(o,"template")&&(o=o.content||o),h.merge([],o.childNodes))}},function(o,c){h.fn[o]=function(d,g){var y=h.map(this,c,d);return o.slice(-5)!=="Until"&&(g=d),g&&typeof g=="string"&&(y=h.filter(g,y)),this.length>1&&(Hr[o]||h.uniqueSort(y),Wi.test(o)&&y.reverse()),this.pushStack(y)}});var cn=/[^\x20\t\r\n\f]+/g;function bi(o){var c={};return h.each(o.match(cn)||[],function(d,g){c[g]=!0}),c}h.Callbacks=function(o){o=typeof o=="string"?bi(o):h.extend({},o);var c,d,g,y,v=[],w=[],R=-1,I=function(){for(y=y||o.once,g=c=!0;w.length;R=-1)for(d=w.shift();++R<v.length;)v[R].apply(d[0],d[1])===!1&&o.stopOnFalse&&(R=v.length,d=!1);o.memory||(d=!1),c=!1,y&&(d?v=[]:v="")},j={add:function(){return v&&(d&&!c&&(R=v.length-1,w.push(d)),function q(G){h.each(G,function(U,te){$(te)?(!o.unique||!j.has(te))&&v.push(te):te&&te.length&&ae(te)!=="string"&&q(te)})}(arguments),d&&!c&&I()),this},remove:function(){return h.each(arguments,function(q,G){for(var U;(U=h.inArray(G,v,U))>-1;)v.splice(U,1),U<=R&&R--}),this},has:function(q){return q?h.inArray(q,v)>-1:v.length>0},empty:function(){return v&&(v=[]),this},disable:function(){return y=w=[],v=d="",this},disabled:function(){return!v},lock:function(){return y=w=[],!d&&!c&&(v=d=""),this},locked:function(){return!!y},fireWith:function(q,G){return y||(G=G||[],G=[q,G.slice?G.slice():G],w.push(G),c||I()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!g}};return j};function Sn(o){return o}function Ur(o){throw o}function Gt(o,c,d,g){var y;try{o&&$(y=o.promise)?y.call(o).done(c).fail(d):o&&$(y=o.then)?y.call(o,c,d):c.apply(void 0,[o].slice(g))}catch(v){d.apply(void 0,[v])}}h.extend({Deferred:function(o){var c=[["notify","progress",h.Callbacks("memory"),h.Callbacks("memory"),2],["resolve","done",h.Callbacks("once memory"),h.Callbacks("once memory"),0,"resolved"],["reject","fail",h.Callbacks("once memory"),h.Callbacks("once memory"),1,"rejected"]],d="pending",g={state:function(){return d},always:function(){return y.done(arguments).fail(arguments),this},catch:function(v){return g.then(null,v)},pipe:function(){var v=arguments;return h.Deferred(function(w){h.each(c,function(R,I){var j=$(v[I[4]])&&v[I[4]];y[I[1]](function(){var q=j&&j.apply(this,arguments);q&&$(q.promise)?q.promise().progress(w.notify).done(w.resolve).fail(w.reject):w[I[0]+"With"](this,j?[q]:arguments)})}),v=null}).promise()},then:function(v,w,R){var I=0;function j(q,G,U,te){return function(){var fe=this,Me=arguments,Ee=function(){var yt,Yn;if(!(q<I)){if(yt=U.apply(fe,Me),yt===G.promise())throw new TypeError("Thenable self-resolution");Yn=yt&&(typeof yt=="object"||typeof yt=="function")&&yt.then,$(Yn)?te?Yn.call(yt,j(I,G,Sn,te),j(I,G,Ur,te)):(I++,Yn.call(yt,j(I,G,Sn,te),j(I,G,Ur,te),j(I,G,Sn,G.notifyWith))):(U!==Sn&&(fe=void 0,Me=[yt]),(te||G.resolveWith)(fe,Me))}},It=te?Ee:function(){try{Ee()}catch(yt){h.Deferred.exceptionHook&&h.Deferred.exceptionHook(yt,It.error),q+1>=I&&(U!==Ur&&(fe=void 0,Me=[yt]),G.rejectWith(fe,Me))}};q?It():(h.Deferred.getErrorHook?It.error=h.Deferred.getErrorHook():h.Deferred.getStackHook&&(It.error=h.Deferred.getStackHook()),t.setTimeout(It))}}return h.Deferred(function(q){c[0][3].add(j(0,q,$(R)?R:Sn,q.notifyWith)),c[1][3].add(j(0,q,$(v)?v:Sn)),c[2][3].add(j(0,q,$(w)?w:Ur))}).promise()},promise:function(v){return v!=null?h.extend(v,g):g}},y={};return h.each(c,function(v,w){var R=w[2],I=w[5];g[w[1]]=R.add,I&&R.add(function(){d=I},c[3-v][2].disable,c[3-v][3].disable,c[0][2].lock,c[0][3].lock),R.add(w[3].fire),y[w[0]]=function(){return y[w[0]+"With"](this===y?void 0:this,arguments),this},y[w[0]+"With"]=R.fireWith}),g.promise(y),o&&o.call(y,y),y},when:function(o){var c=arguments.length,d=c,g=Array(d),y=u.call(arguments),v=h.Deferred(),w=function(R){return function(I){g[R]=this,y[R]=arguments.length>1?u.call(arguments):I,--c||v.resolveWith(g,y)}};if(c<=1&&(Gt(o,v.done(w(d)).resolve,v.reject,!c),v.state()==="pending"||$(y[d]&&y[d].then)))return v.then();for(;d--;)Gt(y[d],w(d),v.reject);return v.promise()}});var zr=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;h.Deferred.exceptionHook=function(o,c){t.console&&t.console.warn&&o&&zr.test(o.name)&&t.console.warn("jQuery.Deferred exception: "+o.message,o.stack,c)},h.readyException=function(o){t.setTimeout(function(){throw o})};var Hi=h.Deferred();h.fn.ready=function(o){return Hi.then(o).catch(function(c){h.readyException(c)}),this},h.extend({isReady:!1,readyWait:1,ready:function(o){(o===!0?--h.readyWait:h.isReady)||(h.isReady=!0,!(o!==!0&&--h.readyWait>0)&&Hi.resolveWith(W,[h]))}}),h.ready.then=Hi.then;function Kt(){W.removeEventListener("DOMContentLoaded",Kt),t.removeEventListener("load",Kt),h.ready()}W.readyState==="complete"||W.readyState!=="loading"&&!W.documentElement.doScroll?t.setTimeout(h.ready):(W.addEventListener("DOMContentLoaded",Kt),t.addEventListener("load",Kt));var fn=function(o,c,d,g,y,v,w){var R=0,I=o.length,j=d==null;if(ae(d)==="object"){y=!0;for(R in d)fn(o,c,R,d[R],!0,v,w)}else if(g!==void 0&&(y=!0,$(g)||(w=!0),j&&(w?(c.call(o,g),c=null):(j=c,c=function(q,G,U){return j.call(h(q),U)})),c))for(;R<I;R++)c(o[R],d,w?g:g.call(o[R],R,c(o[R],d)));return y?o:j?c.call(o):I?c(o[0],d):v},sa=/^-ms-/,ar=/-([a-z])/g;function Yt(o,c){return c.toUpperCase()}function Lt(o){return o.replace(sa,"ms-").replace(ar,Yt)}var $n=function(o){return o.nodeType===1||o.nodeType===9||!+o.nodeType};function jn(){this.expando=h.expando+jn.uid++}jn.uid=1,jn.prototype={cache:function(o){var c=o[this.expando];return c||(c={},$n(o)&&(o.nodeType?o[this.expando]=c:Object.defineProperty(o,this.expando,{value:c,configurable:!0}))),c},set:function(o,c,d){var g,y=this.cache(o);if(typeof c=="string")y[Lt(c)]=d;else for(g in c)y[Lt(g)]=c[g];return y},get:function(o,c){return c===void 0?this.cache(o):o[this.expando]&&o[this.expando][Lt(c)]},access:function(o,c,d){return c===void 0||c&&typeof c=="string"&&d===void 0?this.get(o,c):(this.set(o,c,d),d!==void 0?d:c)},remove:function(o,c){var d,g=o[this.expando];if(g!==void 0){if(c!==void 0)for(Array.isArray(c)?c=c.map(Lt):(c=Lt(c),c=c in g?[c]:c.match(cn)||[]),d=c.length;d--;)delete g[c[d]];(c===void 0||h.isEmptyObject(g))&&(o.nodeType?o[this.expando]=void 0:delete o[this.expando])}},hasData:function(o){var c=o[this.expando];return c!==void 0&&!h.isEmptyObject(c)}};var de=new jn,Ft=new jn,br=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,xr=/[A-Z]/g;function Ce(o){return o==="true"?!0:o==="false"?!1:o==="null"?null:o===+o+""?+o:br.test(o)?JSON.parse(o):o}function Vr(o,c,d){var g;if(d===void 0&&o.nodeType===1)if(g="data-"+c.replace(xr,"-$&").toLowerCase(),d=o.getAttribute(g),typeof d=="string"){try{d=Ce(d)}catch{}Ft.set(o,c,d)}else d=void 0;return d}h.extend({hasData:function(o){return Ft.hasData(o)||de.hasData(o)},data:function(o,c,d){return Ft.access(o,c,d)},removeData:function(o,c){Ft.remove(o,c)},_data:function(o,c,d){return de.access(o,c,d)},_removeData:function(o,c){de.remove(o,c)}}),h.fn.extend({data:function(o,c){var d,g,y,v=this[0],w=v&&v.attributes;if(o===void 0){if(this.length&&(y=Ft.get(v),v.nodeType===1&&!de.get(v,"hasDataAttrs"))){for(d=w.length;d--;)w[d]&&(g=w[d].name,g.indexOf("data-")===0&&(g=Lt(g.slice(5)),Vr(v,g,y[g])));de.set(v,"hasDataAttrs",!0)}return y}return typeof o=="object"?this.each(function(){Ft.set(this,o)}):fn(this,function(R){var I;if(v&&R===void 0)return I=Ft.get(v,o),I!==void 0||(I=Vr(v,o),I!==void 0)?I:void 0;this.each(function(){Ft.set(this,o,R)})},null,c,arguments.length>1,null,!0)},removeData:function(o){return this.each(function(){Ft.remove(this,o)})}}),h.extend({queue:function(o,c,d){var g;if(o)return c=(c||"fx")+"queue",g=de.get(o,c),d&&(!g||Array.isArray(d)?g=de.access(o,c,h.makeArray(d)):g.push(d)),g||[]},dequeue:function(o,c){c=c||"fx";var d=h.queue(o,c),g=d.length,y=d.shift(),v=h._queueHooks(o,c),w=function(){h.dequeue(o,c)};y==="inprogress"&&(y=d.shift(),g--),y&&(c==="fx"&&d.unshift("inprogress"),delete v.stop,y.call(o,w,v)),!g&&v&&v.empty.fire()},_queueHooks:function(o,c){var d=c+"queueHooks";return de.get(o,d)||de.access(o,d,{empty:h.Callbacks("once memory").add(function(){de.remove(o,[c+"queue",d])})})}}),h.fn.extend({queue:function(o,c){var d=2;return typeof o!="string"&&(c=o,o="fx",d--),arguments.length<d?h.queue(this[0],o):c===void 0?this:this.each(function(){var g=h.queue(this,o,c);h._queueHooks(this,o),o==="fx"&&g[0]!=="inprogress"&&h.dequeue(this,o)})},dequeue:function(o){return this.each(function(){h.dequeue(this,o)})},clearQueue:function(o){return this.queue(o||"fx",[])},promise:function(o,c){var d,g=1,y=h.Deferred(),v=this,w=this.length,R=function(){--g||y.resolveWith(v,[v])};for(typeof o!="string"&&(c=o,o=void 0),o=o||"fx";w--;)d=de.get(v[w],o+"queueHooks"),d&&d.empty&&(g++,d.empty.add(R));return R(),y.promise(c)}});var xi=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Bn=new RegExp("^(?:([+-])=|)("+xi+")([a-z%]*)$","i"),dn=["Top","Right","Bottom","Left"],or=W.documentElement,wr=function(o){return h.contains(o.ownerDocument,o)},aa={composed:!0};or.getRootNode&&(wr=function(o){return h.contains(o.ownerDocument,o)||o.getRootNode(aa)===o.ownerDocument});var wi=function(o,c){return o=c||o,o.style.display==="none"||o.style.display===""&&wr(o)&&h.css(o,"display")==="none"};function wo(o,c,d,g){var y,v,w=20,R=g?function(){return g.cur()}:function(){return h.css(o,c,"")},I=R(),j=d&&d[3]||(h.cssNumber[c]?"":"px"),q=o.nodeType&&(h.cssNumber[c]||j!=="px"&&+I)&&Bn.exec(h.css(o,c));if(q&&q[3]!==j){for(I=I/2,j=j||q[3],q=+I||1;w--;)h.style(o,c,q+j),(1-v)*(1-(v=R()/I||.5))<=0&&(w=0),q=q/v;q=q*2,h.style(o,c,q+j),d=d||[]}return d&&(q=+q||+I||0,y=d[1]?q+(d[1]+1)*d[2]:+d[2],g&&(g.unit=j,g.start=q,g.end=y)),y}var _o={};function rc(o){var c,d=o.ownerDocument,g=o.nodeName,y=_o[g];return y||(c=d.body.appendChild(d.createElement(g)),y=h.css(c,"display"),c.parentNode.removeChild(c),y==="none"&&(y="block"),_o[g]=y,y)}function qr(o,c){for(var d,g,y=[],v=0,w=o.length;v<w;v++)g=o[v],g.style&&(d=g.style.display,c?(d==="none"&&(y[v]=de.get(g,"display")||null,y[v]||(g.style.display="")),g.style.display===""&&wi(g)&&(y[v]=rc(g))):d!=="none"&&(y[v]="none",de.set(g,"display",d)));for(v=0;v<w;v++)y[v]!=null&&(o[v].style.display=y[v]);return o}h.fn.extend({show:function(){return qr(this,!0)},hide:function(){return qr(this)},toggle:function(o){return typeof o=="boolean"?o?this.show():this.hide():this.each(function(){wi(this)?h(this).show():h(this).hide()})}});var _i=/^(?:checkbox|radio)$/i,So=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ko=/^$|^module$|\/(?:java|ecma)script/i;(function(){var o=W.createDocumentFragment(),c=o.appendChild(W.createElement("div")),d=W.createElement("input");d.setAttribute("type","radio"),d.setAttribute("checked","checked"),d.setAttribute("name","t"),c.appendChild(d),B.checkClone=c.cloneNode(!0).cloneNode(!0).lastChild.checked,c.innerHTML="<textarea>x</textarea>",B.noCloneChecked=!!c.cloneNode(!0).lastChild.defaultValue,c.innerHTML="<option></option>",B.option=!!c.lastChild})();var hn={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};hn.tbody=hn.tfoot=hn.colgroup=hn.caption=hn.thead,hn.th=hn.td,B.option||(hn.optgroup=hn.option=[1,"<select multiple='multiple'>","</select>"]);function Zt(o,c){var d;return typeof o.getElementsByTagName<"u"?d=o.getElementsByTagName(c||"*"):typeof o.querySelectorAll<"u"?d=o.querySelectorAll(c||"*"):d=[],c===void 0||c&&ce(o,c)?h.merge([o],d):d}function ys(o,c){for(var d=0,g=o.length;d<g;d++)de.set(o[d],"globalEval",!c||de.get(c[d],"globalEval"))}var ic=/<|&#?\w+;/;function Co(o,c,d,g,y){for(var v,w,R,I,j,q,G=c.createDocumentFragment(),U=[],te=0,fe=o.length;te<fe;te++)if(v=o[te],v||v===0)if(ae(v)==="object")h.merge(U,v.nodeType?[v]:v);else if(!ic.test(v))U.push(c.createTextNode(v));else{for(w=w||G.appendChild(c.createElement("div")),R=(So.exec(v)||["",""])[1].toLowerCase(),I=hn[R]||hn._default,w.innerHTML=I[1]+h.htmlPrefilter(v)+I[2],q=I[0];q--;)w=w.lastChild;h.merge(U,w.childNodes),w=G.firstChild,w.textContent=""}for(G.textContent="",te=0;v=U[te++];){if(g&&h.inArray(v,g)>-1){y&&y.push(v);continue}if(j=wr(v),w=Zt(G.appendChild(v),"script"),j&&ys(w),d)for(q=0;v=w[q++];)ko.test(v.type||"")&&d.push(v)}return G}var Do=/^([^.]*)(?:\.(.+)|)/;function _r(){return!0}function Si(){return!1}function Ui(o,c,d,g,y,v){var w,R;if(typeof c=="object"){typeof d!="string"&&(g=g||d,d=void 0);for(R in c)Ui(o,R,d,g,c[R],v);return o}if(g==null&&y==null?(y=d,g=d=void 0):y==null&&(typeof d=="string"?(y=g,g=void 0):(y=g,g=d,d=void 0)),y===!1)y=Si;else if(!y)return o;return v===1&&(w=y,y=function(I){return h().off(I),w.apply(this,arguments)},y.guid=w.guid||(w.guid=h.guid++)),o.each(function(){h.event.add(this,c,y,g,d)})}h.event={global:{},add:function(o,c,d,g,y){var v,w,R,I,j,q,G,U,te,fe,Me,Ee=de.get(o);if($n(o))for(d.handler&&(v=d,d=v.handler,y=v.selector),y&&h.find.matchesSelector(or,y),d.guid||(d.guid=h.guid++),(I=Ee.events)||(I=Ee.events=Object.create(null)),(w=Ee.handle)||(w=Ee.handle=function(It){return typeof h<"u"&&h.event.triggered!==It.type?h.event.dispatch.apply(o,arguments):void 0}),c=(c||"").match(cn)||[""],j=c.length;j--;)R=Do.exec(c[j])||[],te=Me=R[1],fe=(R[2]||"").split(".").sort(),te&&(G=h.event.special[te]||{},te=(y?G.delegateType:G.bindType)||te,G=h.event.special[te]||{},q=h.extend({type:te,origType:Me,data:g,handler:d,guid:d.guid,selector:y,needsContext:y&&h.expr.match.needsContext.test(y),namespace:fe.join(".")},v),(U=I[te])||(U=I[te]=[],U.delegateCount=0,(!G.setup||G.setup.call(o,g,fe,w)===!1)&&o.addEventListener&&o.addEventListener(te,w)),G.add&&(G.add.call(o,q),q.handler.guid||(q.handler.guid=d.guid)),y?U.splice(U.delegateCount++,0,q):U.push(q),h.event.global[te]=!0)},remove:function(o,c,d,g,y){var v,w,R,I,j,q,G,U,te,fe,Me,Ee=de.hasData(o)&&de.get(o);if(!(!Ee||!(I=Ee.events))){for(c=(c||"").match(cn)||[""],j=c.length;j--;){if(R=Do.exec(c[j])||[],te=Me=R[1],fe=(R[2]||"").split(".").sort(),!te){for(te in I)h.event.remove(o,te+c[j],d,g,!0);continue}for(G=h.event.special[te]||{},te=(g?G.delegateType:G.bindType)||te,U=I[te]||[],R=R[2]&&new RegExp("(^|\\.)"+fe.join("\\.(?:.*\\.|)")+"(\\.|$)"),w=v=U.length;v--;)q=U[v],(y||Me===q.origType)&&(!d||d.guid===q.guid)&&(!R||R.test(q.namespace))&&(!g||g===q.selector||g==="**"&&q.selector)&&(U.splice(v,1),q.selector&&U.delegateCount--,G.remove&&G.remove.call(o,q));w&&!U.length&&((!G.teardown||G.teardown.call(o,fe,Ee.handle)===!1)&&h.removeEvent(o,te,Ee.handle),delete I[te])}h.isEmptyObject(I)&&de.remove(o,"handle events")}},dispatch:function(o){var c,d,g,y,v,w,R=new Array(arguments.length),I=h.event.fix(o),j=(de.get(this,"events")||Object.create(null))[I.type]||[],q=h.event.special[I.type]||{};for(R[0]=I,c=1;c<arguments.length;c++)R[c]=arguments[c];if(I.delegateTarget=this,!(q.preDispatch&&q.preDispatch.call(this,I)===!1)){for(w=h.event.handlers.call(this,I,j),c=0;(y=w[c++])&&!I.isPropagationStopped();)for(I.currentTarget=y.elem,d=0;(v=y.handlers[d++])&&!I.isImmediatePropagationStopped();)(!I.rnamespace||v.namespace===!1||I.rnamespace.test(v.namespace))&&(I.handleObj=v,I.data=v.data,g=((h.event.special[v.origType]||{}).handle||v.handler).apply(y.elem,R),g!==void 0&&(I.result=g)===!1&&(I.preventDefault(),I.stopPropagation()));return q.postDispatch&&q.postDispatch.call(this,I),I.result}},handlers:function(o,c){var d,g,y,v,w,R=[],I=c.delegateCount,j=o.target;if(I&&j.nodeType&&!(o.type==="click"&&o.button>=1)){for(;j!==this;j=j.parentNode||this)if(j.nodeType===1&&!(o.type==="click"&&j.disabled===!0)){for(v=[],w={},d=0;d<I;d++)g=c[d],y=g.selector+" ",w[y]===void 0&&(w[y]=g.needsContext?h(y,this).index(j)>-1:h.find(y,this,null,[j]).length),w[y]&&v.push(g);v.length&&R.push({elem:j,handlers:v})}}return j=this,I<c.length&&R.push({elem:j,handlers:c.slice(I)}),R},addProp:function(o,c){Object.defineProperty(h.Event.prototype,o,{enumerable:!0,configurable:!0,get:$(c)?function(){if(this.originalEvent)return c(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[o]},set:function(d){Object.defineProperty(this,o,{enumerable:!0,configurable:!0,writable:!0,value:d})}})},fix:function(o){return o[h.expando]?o:new h.Event(o)},special:{load:{noBubble:!0},click:{setup:function(o){var c=this||o;return _i.test(c.type)&&c.click&&ce(c,"input")&&vs(c,"click",!0),!1},trigger:function(o){var c=this||o;return _i.test(c.type)&&c.click&&ce(c,"input")&&vs(c,"click"),!0},_default:function(o){var c=o.target;return _i.test(c.type)&&c.click&&ce(c,"input")&&de.get(c,"click")||ce(c,"a")}},beforeunload:{postDispatch:function(o){o.result!==void 0&&o.originalEvent&&(o.originalEvent.returnValue=o.result)}}}};function vs(o,c,d){if(!d){de.get(o,c)===void 0&&h.event.add(o,c,_r);return}de.set(o,c,!1),h.event.add(o,c,{namespace:!1,handler:function(g){var y,v=de.get(this,c);if(g.isTrigger&1&&this[c]){if(v)(h.event.special[c]||{}).delegateType&&g.stopPropagation();else if(v=u.call(arguments),de.set(this,c,v),this[c](),y=de.get(this,c),de.set(this,c,!1),v!==y)return g.stopImmediatePropagation(),g.preventDefault(),y}else v&&(de.set(this,c,h.event.trigger(v[0],v.slice(1),this)),g.stopPropagation(),g.isImmediatePropagationStopped=_r)}})}h.removeEvent=function(o,c,d){o.removeEventListener&&o.removeEventListener(c,d)},h.Event=function(o,c){if(!(this instanceof h.Event))return new h.Event(o,c);o&&o.type?(this.originalEvent=o,this.type=o.type,this.isDefaultPrevented=o.defaultPrevented||o.defaultPrevented===void 0&&o.returnValue===!1?_r:Si,this.target=o.target&&o.target.nodeType===3?o.target.parentNode:o.target,this.currentTarget=o.currentTarget,this.relatedTarget=o.relatedTarget):this.type=o,c&&h.extend(this,c),this.timeStamp=o&&o.timeStamp||Date.now(),this[h.expando]=!0},h.Event.prototype={constructor:h.Event,isDefaultPrevented:Si,isPropagationStopped:Si,isImmediatePropagationStopped:Si,isSimulated:!1,preventDefault:function(){var o=this.originalEvent;this.isDefaultPrevented=_r,o&&!this.isSimulated&&o.preventDefault()},stopPropagation:function(){var o=this.originalEvent;this.isPropagationStopped=_r,o&&!this.isSimulated&&o.stopPropagation()},stopImmediatePropagation:function(){var o=this.originalEvent;this.isImmediatePropagationStopped=_r,o&&!this.isSimulated&&o.stopImmediatePropagation(),this.stopPropagation()}},h.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},h.event.addProp),h.each({focus:"focusin",blur:"focusout"},function(o,c){function d(g){if(W.documentMode){var y=de.get(this,"handle"),v=h.event.fix(g);v.type=g.type==="focusin"?"focus":"blur",v.isSimulated=!0,y(g),v.target===v.currentTarget&&y(v)}else h.event.simulate(c,g.target,h.event.fix(g))}h.event.special[o]={setup:function(){var g;if(vs(this,o,!0),W.documentMode)g=de.get(this,c),g||this.addEventListener(c,d),de.set(this,c,(g||0)+1);else return!1},trigger:function(){return vs(this,o),!0},teardown:function(){var g;if(W.documentMode)g=de.get(this,c)-1,g?de.set(this,c,g):(this.removeEventListener(c,d),de.remove(this,c));else return!1},_default:function(g){return de.get(g.target,o)},delegateType:c},h.event.special[c]={setup:function(){var g=this.ownerDocument||this.document||this,y=W.documentMode?this:g,v=de.get(y,c);v||(W.documentMode?this.addEventListener(c,d):g.addEventListener(o,d,!0)),de.set(y,c,(v||0)+1)},teardown:function(){var g=this.ownerDocument||this.document||this,y=W.documentMode?this:g,v=de.get(y,c)-1;v?de.set(y,c,v):(W.documentMode?this.removeEventListener(c,d):g.removeEventListener(o,d,!0),de.remove(y,c))}}}),h.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(o,c){h.event.special[o]={delegateType:c,bindType:c,handle:function(d){var g,y=this,v=d.relatedTarget,w=d.handleObj;return(!v||v!==y&&!h.contains(y,v))&&(d.type=w.origType,g=w.handler.apply(this,arguments),d.type=c),g}}}),h.fn.extend({on:function(o,c,d,g){return Ui(this,o,c,d,g)},one:function(o,c,d,g){return Ui(this,o,c,d,g,1)},off:function(o,c,d){var g,y;if(o&&o.preventDefault&&o.handleObj)return g=o.handleObj,h(o.delegateTarget).off(g.namespace?g.origType+"."+g.namespace:g.origType,g.selector,g.handler),this;if(typeof o=="object"){for(y in o)this.off(y,c,o[y]);return this}return(c===!1||typeof c=="function")&&(d=c,c=void 0),d===!1&&(d=Si),this.each(function(){h.event.remove(this,o,d,c)})}});var sc=/<script|<style|<link/i,ac=/checked\s*(?:[^=]|=\s*.checked.)/i,oc=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Eo(o,c){return ce(o,"table")&&ce(c.nodeType!==11?c:c.firstChild,"tr")&&h(o).children("tbody")[0]||o}function uc(o){return o.type=(o.getAttribute("type")!==null)+"/"+o.type,o}function lc(o){return(o.type||"").slice(0,5)==="true/"?o.type=o.type.slice(5):o.removeAttribute("type"),o}function To(o,c){var d,g,y,v,w,R,I;if(c.nodeType===1){if(de.hasData(o)&&(v=de.get(o),I=v.events,I)){de.remove(c,"handle events");for(y in I)for(d=0,g=I[y].length;d<g;d++)h.event.add(c,y,I[y][d])}Ft.hasData(o)&&(w=Ft.access(o),R=h.extend({},w),Ft.set(c,R))}}function Mo(o,c){var d=c.nodeName.toLowerCase();d==="input"&&_i.test(o.type)?c.checked=o.checked:(d==="input"||d==="textarea")&&(c.defaultValue=o.defaultValue)}function ki(o,c,d,g){c=f(c);var y,v,w,R,I,j,q=0,G=o.length,U=G-1,te=c[0],fe=$(te);if(fe||G>1&&typeof te=="string"&&!B.checkClone&&ac.test(te))return o.each(function(Me){var Ee=o.eq(Me);fe&&(c[0]=te.call(this,Me,Ee.html())),ki(Ee,c,d,g)});if(G&&(y=Co(c,o[0].ownerDocument,!1,o,g),v=y.firstChild,y.childNodes.length===1&&(y=v),v||g)){for(w=h.map(Zt(y,"script"),uc),R=w.length;q<G;q++)I=y,q!==U&&(I=h.clone(I,!0,!0),R&&h.merge(w,Zt(I,"script"))),d.call(o[q],I,q);if(R)for(j=w[w.length-1].ownerDocument,h.map(w,lc),q=0;q<R;q++)I=w[q],ko.test(I.type||"")&&!de.access(I,"globalEval")&&h.contains(j,I)&&(I.src&&(I.type||"").toLowerCase()!=="module"?h._evalUrl&&!I.noModule&&h._evalUrl(I.src,{nonce:I.nonce||I.getAttribute("nonce")},j):pe(I.textContent.replace(oc,""),I,j))}return o}function Io(o,c,d){for(var g,y=c?h.filter(c,o):o,v=0;(g=y[v])!=null;v++)!d&&g.nodeType===1&&h.cleanData(Zt(g)),g.parentNode&&(d&&wr(g)&&ys(Zt(g,"script")),g.parentNode.removeChild(g));return o}h.extend({htmlPrefilter:function(o){return o},clone:function(o,c,d){var g,y,v,w,R=o.cloneNode(!0),I=wr(o);if(!B.noCloneChecked&&(o.nodeType===1||o.nodeType===11)&&!h.isXMLDoc(o))for(w=Zt(R),v=Zt(o),g=0,y=v.length;g<y;g++)Mo(v[g],w[g]);if(c)if(d)for(v=v||Zt(o),w=w||Zt(R),g=0,y=v.length;g<y;g++)To(v[g],w[g]);else To(o,R);return w=Zt(R,"script"),w.length>0&&ys(w,!I&&Zt(o,"script")),R},cleanData:function(o){for(var c,d,g,y=h.event.special,v=0;(d=o[v])!==void 0;v++)if($n(d)){if(c=d[de.expando]){if(c.events)for(g in c.events)y[g]?h.event.remove(d,g):h.removeEvent(d,g,c.handle);d[de.expando]=void 0}d[Ft.expando]&&(d[Ft.expando]=void 0)}}}),h.fn.extend({detach:function(o){return Io(this,o,!0)},remove:function(o){return Io(this,o)},text:function(o){return fn(this,function(c){return c===void 0?h.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=c)})},null,o,arguments.length)},append:function(){return ki(this,arguments,function(o){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var c=Eo(this,o);c.appendChild(o)}})},prepend:function(){return ki(this,arguments,function(o){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var c=Eo(this,o);c.insertBefore(o,c.firstChild)}})},before:function(){return ki(this,arguments,function(o){this.parentNode&&this.parentNode.insertBefore(o,this)})},after:function(){return ki(this,arguments,function(o){this.parentNode&&this.parentNode.insertBefore(o,this.nextSibling)})},empty:function(){for(var o,c=0;(o=this[c])!=null;c++)o.nodeType===1&&(h.cleanData(Zt(o,!1)),o.textContent="");return this},clone:function(o,c){return o=o??!1,c=c??o,this.map(function(){return h.clone(this,o,c)})},html:function(o){return fn(this,function(c){var d=this[0]||{},g=0,y=this.length;if(c===void 0&&d.nodeType===1)return d.innerHTML;if(typeof c=="string"&&!sc.test(c)&&!hn[(So.exec(c)||["",""])[1].toLowerCase()]){c=h.htmlPrefilter(c);try{for(;g<y;g++)d=this[g]||{},d.nodeType===1&&(h.cleanData(Zt(d,!1)),d.innerHTML=c);d=0}catch{}}d&&this.empty().append(c)},null,o,arguments.length)},replaceWith:function(){var o=[];return ki(this,arguments,function(c){var d=this.parentNode;h.inArray(this,o)<0&&(h.cleanData(Zt(this)),d&&d.replaceChild(c,this))},o)}}),h.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(o,c){h.fn[o]=function(d){for(var g,y=[],v=h(d),w=v.length-1,R=0;R<=w;R++)g=R===w?this:this.clone(!0),h(v[R])[c](g),m.apply(y,g.get());return this.pushStack(y)}});var oa=new RegExp("^("+xi+")(?!px)[a-z%]+$","i"),ua=/^--/,bs=function(o){var c=o.ownerDocument.defaultView;return(!c||!c.opener)&&(c=t),c.getComputedStyle(o)},Ao=function(o,c,d){var g,y,v={};for(y in c)v[y]=o.style[y],o.style[y]=c[y];g=d.call(o);for(y in c)o.style[y]=v[y];return g},xs=new RegExp(dn.join("|"),"i");(function(){function o(){if(j){I.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",j.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",or.appendChild(I).appendChild(j);var q=t.getComputedStyle(j);d=q.top!=="1%",R=c(q.marginLeft)===12,j.style.right="60%",v=c(q.right)===36,g=c(q.width)===36,j.style.position="absolute",y=c(j.offsetWidth/3)===12,or.removeChild(I),j=null}}function c(q){return Math.round(parseFloat(q))}var d,g,y,v,w,R,I=W.createElement("div"),j=W.createElement("div");j.style&&(j.style.backgroundClip="content-box",j.cloneNode(!0).style.backgroundClip="",B.clearCloneStyle=j.style.backgroundClip==="content-box",h.extend(B,{boxSizingReliable:function(){return o(),g},pixelBoxStyles:function(){return o(),v},pixelPosition:function(){return o(),d},reliableMarginLeft:function(){return o(),R},scrollboxSize:function(){return o(),y},reliableTrDimensions:function(){var q,G,U,te;return w==null&&(q=W.createElement("table"),G=W.createElement("tr"),U=W.createElement("div"),q.style.cssText="position:absolute;left:-11111px;border-collapse:separate",G.style.cssText="box-sizing:content-box;border:1px solid",G.style.height="1px",U.style.height="9px",U.style.display="block",or.appendChild(q).appendChild(G).appendChild(U),te=t.getComputedStyle(G),w=parseInt(te.height,10)+parseInt(te.borderTopWidth,10)+parseInt(te.borderBottomWidth,10)===G.offsetHeight,or.removeChild(q)),w}}))})();function zi(o,c,d){var g,y,v,w,R=ua.test(c),I=o.style;return d=d||bs(o),d&&(w=d.getPropertyValue(c)||d[c],R&&w&&(w=w.replace(Ve,"$1")||void 0),w===""&&!wr(o)&&(w=h.style(o,c)),!B.pixelBoxStyles()&&oa.test(w)&&xs.test(c)&&(g=I.width,y=I.minWidth,v=I.maxWidth,I.minWidth=I.maxWidth=I.width=w,w=d.width,I.width=g,I.minWidth=y,I.maxWidth=v)),w!==void 0?w+"":w}function Vi(o,c){return{get:function(){if(o()){delete this.get;return}return(this.get=c).apply(this,arguments)}}}var Ro=["Webkit","Moz","ms"],Oo=W.createElement("div").style,Po={};function No(o){for(var c=o[0].toUpperCase()+o.slice(1),d=Ro.length;d--;)if(o=Ro[d]+c,o in Oo)return o}function ws(o){var c=h.cssProps[o]||Po[o];return c||(o in Oo?o:Po[o]=No(o)||o)}var Lo=/^(none|table(?!-c[ea]).+)/,cc={position:"absolute",visibility:"hidden",display:"block"},Fo={letterSpacing:"0",fontWeight:"400"};function $o(o,c,d){var g=Bn.exec(c);return g?Math.max(0,g[2]-(d||0))+(g[3]||"px"):c}function la(o,c,d,g,y,v){var w=c==="width"?1:0,R=0,I=0,j=0;if(d===(g?"border":"content"))return 0;for(;w<4;w+=2)d==="margin"&&(j+=h.css(o,d+dn[w],!0,y)),g?(d==="content"&&(I-=h.css(o,"padding"+dn[w],!0,y)),d!=="margin"&&(I-=h.css(o,"border"+dn[w]+"Width",!0,y))):(I+=h.css(o,"padding"+dn[w],!0,y),d!=="padding"?I+=h.css(o,"border"+dn[w]+"Width",!0,y):R+=h.css(o,"border"+dn[w]+"Width",!0,y));return!g&&v>=0&&(I+=Math.max(0,Math.ceil(o["offset"+c[0].toUpperCase()+c.slice(1)]-v-I-R-.5))||0),I+j}function ca(o,c,d){var g=bs(o),y=!B.boxSizingReliable()||d,v=y&&h.css(o,"boxSizing",!1,g)==="border-box",w=v,R=zi(o,c,g),I="offset"+c[0].toUpperCase()+c.slice(1);if(oa.test(R)){if(!d)return R;R="auto"}return(!B.boxSizingReliable()&&v||!B.reliableTrDimensions()&&ce(o,"tr")||R==="auto"||!parseFloat(R)&&h.css(o,"display",!1,g)==="inline")&&o.getClientRects().length&&(v=h.css(o,"boxSizing",!1,g)==="border-box",w=I in o,w&&(R=o[I])),R=parseFloat(R)||0,R+la(o,c,d||(v?"border":"content"),w,g,R)+"px"}h.extend({cssHooks:{opacity:{get:function(o,c){if(c){var d=zi(o,"opacity");return d===""?"1":d}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(o,c,d,g){if(!(!o||o.nodeType===3||o.nodeType===8||!o.style)){var y,v,w,R=Lt(c),I=ua.test(c),j=o.style;if(I||(c=ws(R)),w=h.cssHooks[c]||h.cssHooks[R],d!==void 0){if(v=typeof d,v==="string"&&(y=Bn.exec(d))&&y[1]&&(d=wo(o,c,y),v="number"),d==null||d!==d)return;v==="number"&&!I&&(d+=y&&y[3]||(h.cssNumber[R]?"":"px")),!B.clearCloneStyle&&d===""&&c.indexOf("background")===0&&(j[c]="inherit"),(!w||!("set"in w)||(d=w.set(o,d,g))!==void 0)&&(I?j.setProperty(c,d):j[c]=d)}else return w&&"get"in w&&(y=w.get(o,!1,g))!==void 0?y:j[c]}},css:function(o,c,d,g){var y,v,w,R=Lt(c),I=ua.test(c);return I||(c=ws(R)),w=h.cssHooks[c]||h.cssHooks[R],w&&"get"in w&&(y=w.get(o,!0,d)),y===void 0&&(y=zi(o,c,g)),y==="normal"&&c in Fo&&(y=Fo[c]),d===""||d?(v=parseFloat(y),d===!0||isFinite(v)?v||0:y):y}}),h.each(["height","width"],function(o,c){h.cssHooks[c]={get:function(d,g,y){if(g)return Lo.test(h.css(d,"display"))&&(!d.getClientRects().length||!d.getBoundingClientRect().width)?Ao(d,cc,function(){return ca(d,c,y)}):ca(d,c,y)},set:function(d,g,y){var v,w=bs(d),R=!B.scrollboxSize()&&w.position==="absolute",I=R||y,j=I&&h.css(d,"boxSizing",!1,w)==="border-box",q=y?la(d,c,y,j,w):0;return j&&R&&(q-=Math.ceil(d["offset"+c[0].toUpperCase()+c.slice(1)]-parseFloat(w[c])-la(d,c,"border",!1,w)-.5)),q&&(v=Bn.exec(g))&&(v[3]||"px")!=="px"&&(d.style[c]=g,g=h.css(d,c)),$o(d,g,q)}}}),h.cssHooks.marginLeft=Vi(B.reliableMarginLeft,function(o,c){if(c)return(parseFloat(zi(o,"marginLeft"))||o.getBoundingClientRect().left-Ao(o,{marginLeft:0},function(){return o.getBoundingClientRect().left}))+"px"}),h.each({margin:"",padding:"",border:"Width"},function(o,c){h.cssHooks[o+c]={expand:function(d){for(var g=0,y={},v=typeof d=="string"?d.split(" "):[d];g<4;g++)y[o+dn[g]+c]=v[g]||v[g-2]||v[0];return y}},o!=="margin"&&(h.cssHooks[o+c].set=$o)}),h.fn.extend({css:function(o,c){return fn(this,function(d,g,y){var v,w,R={},I=0;if(Array.isArray(g)){for(v=bs(d),w=g.length;I<w;I++)R[g[I]]=h.css(d,g[I],!1,v);return R}return y!==void 0?h.style(d,g,y):h.css(d,g)},o,c,arguments.length>1)}});function Wt(o,c,d,g,y){return new Wt.prototype.init(o,c,d,g,y)}h.Tween=Wt,Wt.prototype={constructor:Wt,init:function(o,c,d,g,y,v){this.elem=o,this.prop=d,this.easing=y||h.easing._default,this.options=c,this.start=this.now=this.cur(),this.end=g,this.unit=v||(h.cssNumber[d]?"":"px")},cur:function(){var o=Wt.propHooks[this.prop];return o&&o.get?o.get(this):Wt.propHooks._default.get(this)},run:function(o){var c,d=Wt.propHooks[this.prop];return this.options.duration?this.pos=c=h.easing[this.easing](o,this.options.duration*o,0,1,this.options.duration):this.pos=c=o,this.now=(this.end-this.start)*c+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),d&&d.set?d.set(this):Wt.propHooks._default.set(this),this}},Wt.prototype.init.prototype=Wt.prototype,Wt.propHooks={_default:{get:function(o){var c;return o.elem.nodeType!==1||o.elem[o.prop]!=null&&o.elem.style[o.prop]==null?o.elem[o.prop]:(c=h.css(o.elem,o.prop,""),!c||c==="auto"?0:c)},set:function(o){h.fx.step[o.prop]?h.fx.step[o.prop](o):o.elem.nodeType===1&&(h.cssHooks[o.prop]||o.elem.style[ws(o.prop)]!=null)?h.style(o.elem,o.prop,o.now+o.unit):o.elem[o.prop]=o.now}}},Wt.propHooks.scrollTop=Wt.propHooks.scrollLeft={set:function(o){o.elem.nodeType&&o.elem.parentNode&&(o.elem[o.prop]=o.now)}},h.easing={linear:function(o){return o},swing:function(o){return .5-Math.cos(o*Math.PI)/2},_default:"swing"},h.fx=Wt.prototype.init,h.fx.step={};var Gr,Ci,fc=/^(?:toggle|show|hide)$/,jo=/queueHooks$/;function Di(){Ci&&(W.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(Di):t.setTimeout(Di,h.fx.interval),h.fx.tick())}function fa(){return t.setTimeout(function(){Gr=void 0}),Gr=Date.now()}function _s(o,c){var d,g=0,y={height:o};for(c=c?1:0;g<4;g+=2-c)d=dn[g],y["margin"+d]=y["padding"+d]=o;return c&&(y.opacity=y.width=o),y}function da(o,c,d){for(var g,y=(kn.tweeners[c]||[]).concat(kn.tweeners["*"]),v=0,w=y.length;v<w;v++)if(g=y[v].call(d,c,o))return g}function Bo(o,c,d){var g,y,v,w,R,I,j,q,G="width"in c||"height"in c,U=this,te={},fe=o.style,Me=o.nodeType&&wi(o),Ee=de.get(o,"fxshow");d.queue||(w=h._queueHooks(o,"fx"),w.unqueued==null&&(w.unqueued=0,R=w.empty.fire,w.empty.fire=function(){w.unqueued||R()}),w.unqueued++,U.always(function(){U.always(function(){w.unqueued--,h.queue(o,"fx").length||w.empty.fire()})}));for(g in c)if(y=c[g],fc.test(y)){if(delete c[g],v=v||y==="toggle",y===(Me?"hide":"show"))if(y==="show"&&Ee&&Ee[g]!==void 0)Me=!0;else continue;te[g]=Ee&&Ee[g]||h.style(o,g)}if(I=!h.isEmptyObject(c),!(!I&&h.isEmptyObject(te))){G&&o.nodeType===1&&(d.overflow=[fe.overflow,fe.overflowX,fe.overflowY],j=Ee&&Ee.display,j==null&&(j=de.get(o,"display")),q=h.css(o,"display"),q==="none"&&(j?q=j:(qr([o],!0),j=o.style.display||j,q=h.css(o,"display"),qr([o]))),(q==="inline"||q==="inline-block"&&j!=null)&&h.css(o,"float")==="none"&&(I||(U.done(function(){fe.display=j}),j==null&&(q=fe.display,j=q==="none"?"":q)),fe.display="inline-block")),d.overflow&&(fe.overflow="hidden",U.always(function(){fe.overflow=d.overflow[0],fe.overflowX=d.overflow[1],fe.overflowY=d.overflow[2]})),I=!1;for(g in te)I||(Ee?"hidden"in Ee&&(Me=Ee.hidden):Ee=de.access(o,"fxshow",{display:j}),v&&(Ee.hidden=!Me),Me&&qr([o],!0),U.done(function(){Me||qr([o]),de.remove(o,"fxshow");for(g in te)h.style(o,g,te[g])})),I=da(Me?Ee[g]:0,g,U),g in Ee||(Ee[g]=I.start,Me&&(I.end=I.start,I.start=0))}}function ha(o,c){var d,g,y,v,w;for(d in o)if(g=Lt(d),y=c[g],v=o[d],Array.isArray(v)&&(y=v[1],v=o[d]=v[0]),d!==g&&(o[g]=v,delete o[d]),w=h.cssHooks[g],w&&"expand"in w){v=w.expand(v),delete o[g];for(d in v)d in o||(o[d]=v[d],c[d]=y)}else c[g]=y}function kn(o,c,d){var g,y,v=0,w=kn.prefilters.length,R=h.Deferred().always(function(){delete I.elem}),I=function(){if(y)return!1;for(var G=Gr||fa(),U=Math.max(0,j.startTime+j.duration-G),te=U/j.duration||0,fe=1-te,Me=0,Ee=j.tweens.length;Me<Ee;Me++)j.tweens[Me].run(fe);return R.notifyWith(o,[j,fe,U]),fe<1&&Ee?U:(Ee||R.notifyWith(o,[j,1,0]),R.resolveWith(o,[j]),!1)},j=R.promise({elem:o,props:h.extend({},c),opts:h.extend(!0,{specialEasing:{},easing:h.easing._default},d),originalProperties:c,originalOptions:d,startTime:Gr||fa(),duration:d.duration,tweens:[],createTween:function(G,U){var te=h.Tween(o,j.opts,G,U,j.opts.specialEasing[G]||j.opts.easing);return j.tweens.push(te),te},stop:function(G){var U=0,te=G?j.tweens.length:0;if(y)return this;for(y=!0;U<te;U++)j.tweens[U].run(1);return G?(R.notifyWith(o,[j,1,0]),R.resolveWith(o,[j,G])):R.rejectWith(o,[j,G]),this}}),q=j.props;for(ha(q,j.opts.specialEasing);v<w;v++)if(g=kn.prefilters[v].call(j,o,q,j.opts),g)return $(g.stop)&&(h._queueHooks(j.elem,j.opts.queue).stop=g.stop.bind(g)),g;return h.map(q,da,j),$(j.opts.start)&&j.opts.start.call(o,j),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always),h.fx.timer(h.extend(I,{elem:o,anim:j,queue:j.opts.queue})),j}h.Animation=h.extend(kn,{tweeners:{"*":[function(o,c){var d=this.createTween(o,c);return wo(d.elem,o,Bn.exec(c),d),d}]},tweener:function(o,c){$(o)?(c=o,o=["*"]):o=o.match(cn);for(var d,g=0,y=o.length;g<y;g++)d=o[g],kn.tweeners[d]=kn.tweeners[d]||[],kn.tweeners[d].unshift(c)},prefilters:[Bo],prefilter:function(o,c){c?kn.prefilters.unshift(o):kn.prefilters.push(o)}}),h.speed=function(o,c,d){var g=o&&typeof o=="object"?h.extend({},o):{complete:d||!d&&c||$(o)&&o,duration:o,easing:d&&c||c&&!$(c)&&c};return h.fx.off?g.duration=0:typeof g.duration!="number"&&(g.duration in h.fx.speeds?g.duration=h.fx.speeds[g.duration]:g.duration=h.fx.speeds._default),(g.queue==null||g.queue===!0)&&(g.queue="fx"),g.old=g.complete,g.complete=function(){$(g.old)&&g.old.call(this),g.queue&&h.dequeue(this,g.queue)},g},h.fn.extend({fadeTo:function(o,c,d,g){return this.filter(wi).css("opacity",0).show().end().animate({opacity:c},o,d,g)},animate:function(o,c,d,g){var y=h.isEmptyObject(o),v=h.speed(c,d,g),w=function(){var R=kn(this,h.extend({},o),v);(y||de.get(this,"finish"))&&R.stop(!0)};return w.finish=w,y||v.queue===!1?this.each(w):this.queue(v.queue,w)},stop:function(o,c,d){var g=function(y){var v=y.stop;delete y.stop,v(d)};return typeof o!="string"&&(d=c,c=o,o=void 0),c&&this.queue(o||"fx",[]),this.each(function(){var y=!0,v=o!=null&&o+"queueHooks",w=h.timers,R=de.get(this);if(v)R[v]&&R[v].stop&&g(R[v]);else for(v in R)R[v]&&R[v].stop&&jo.test(v)&&g(R[v]);for(v=w.length;v--;)w[v].elem===this&&(o==null||w[v].queue===o)&&(w[v].anim.stop(d),y=!1,w.splice(v,1));(y||!d)&&h.dequeue(this,o)})},finish:function(o){return o!==!1&&(o=o||"fx"),this.each(function(){var c,d=de.get(this),g=d[o+"queue"],y=d[o+"queueHooks"],v=h.timers,w=g?g.length:0;for(d.finish=!0,h.queue(this,o,[]),y&&y.stop&&y.stop.call(this,!0),c=v.length;c--;)v[c].elem===this&&v[c].queue===o&&(v[c].anim.stop(!0),v.splice(c,1));for(c=0;c<w;c++)g[c]&&g[c].finish&&g[c].finish.call(this);delete d.finish})}}),h.each(["toggle","show","hide"],function(o,c){var d=h.fn[c];h.fn[c]=function(g,y,v){return g==null||typeof g=="boolean"?d.apply(this,arguments):this.animate(_s(c,!0),g,y,v)}}),h.each({slideDown:_s("show"),slideUp:_s("hide"),slideToggle:_s("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(o,c){h.fn[o]=function(d,g,y){return this.animate(c,d,g,y)}}),h.timers=[],h.fx.tick=function(){var o,c=0,d=h.timers;for(Gr=Date.now();c<d.length;c++)o=d[c],!o()&&d[c]===o&&d.splice(c--,1);d.length||h.fx.stop(),Gr=void 0},h.fx.timer=function(o){h.timers.push(o),h.fx.start()},h.fx.interval=13,h.fx.start=function(){Ci||(Ci=!0,Di())},h.fx.stop=function(){Ci=null},h.fx.speeds={slow:600,fast:200,_default:400},h.fn.delay=function(o,c){return o=h.fx&&h.fx.speeds[o]||o,c=c||"fx",this.queue(c,function(d,g){var y=t.setTimeout(d,o);g.stop=function(){t.clearTimeout(y)}})},function(){var o=W.createElement("input"),c=W.createElement("select"),d=c.appendChild(W.createElement("option"));o.type="checkbox",B.checkOn=o.value!=="",B.optSelected=d.selected,o=W.createElement("input"),o.value="t",o.type="radio",B.radioValue=o.value==="t"}();var pa,Kr=h.expr.attrHandle;h.fn.extend({attr:function(o,c){return fn(this,h.attr,o,c,arguments.length>1)},removeAttr:function(o){return this.each(function(){h.removeAttr(this,o)})}}),h.extend({attr:function(o,c,d){var g,y,v=o.nodeType;if(!(v===3||v===8||v===2)){if(typeof o.getAttribute>"u")return h.prop(o,c,d);if((v!==1||!h.isXMLDoc(o))&&(y=h.attrHooks[c.toLowerCase()]||(h.expr.match.bool.test(c)?pa:void 0)),d!==void 0){if(d===null){h.removeAttr(o,c);return}return y&&"set"in y&&(g=y.set(o,d,c))!==void 0?g:(o.setAttribute(c,d+""),d)}return y&&"get"in y&&(g=y.get(o,c))!==null?g:(g=h.find.attr(o,c),g??void 0)}},attrHooks:{type:{set:function(o,c){if(!B.radioValue&&c==="radio"&&ce(o,"input")){var d=o.value;return o.setAttribute("type",c),d&&(o.value=d),c}}}},removeAttr:function(o,c){var d,g=0,y=c&&c.match(cn);if(y&&o.nodeType===1)for(;d=y[g++];)o.removeAttribute(d)}}),pa={set:function(o,c,d){return c===!1?h.removeAttr(o,d):o.setAttribute(d,d),d}},h.each(h.expr.match.bool.source.match(/\w+/g),function(o,c){var d=Kr[c]||h.find.attr;Kr[c]=function(g,y,v){var w,R,I=y.toLowerCase();return v||(R=Kr[I],Kr[I]=w,w=d(g,y,v)!=null?I:null,Kr[I]=R),w}});var ga=/^(?:input|select|textarea|button)$/i,Ei=/^(?:a|area)$/i;h.fn.extend({prop:function(o,c){return fn(this,h.prop,o,c,arguments.length>1)},removeProp:function(o){return this.each(function(){delete this[h.propFix[o]||o]})}}),h.extend({prop:function(o,c,d){var g,y,v=o.nodeType;if(!(v===3||v===8||v===2))return(v!==1||!h.isXMLDoc(o))&&(c=h.propFix[c]||c,y=h.propHooks[c]),d!==void 0?y&&"set"in y&&(g=y.set(o,d,c))!==void 0?g:o[c]=d:y&&"get"in y&&(g=y.get(o,c))!==null?g:o[c]},propHooks:{tabIndex:{get:function(o){var c=h.find.attr(o,"tabindex");return c?parseInt(c,10):ga.test(o.nodeName)||Ei.test(o.nodeName)&&o.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),B.optSelected||(h.propHooks.selected={get:function(o){var c=o.parentNode;return c&&c.parentNode&&c.parentNode.selectedIndex,null},set:function(o){var c=o.parentNode;c&&(c.selectedIndex,c.parentNode&&c.parentNode.selectedIndex)}}),h.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){h.propFix[this.toLowerCase()]=this});function Sr(o){var c=o.match(cn)||[];return c.join(" ")}function kr(o){return o.getAttribute&&o.getAttribute("class")||""}function ma(o){return Array.isArray(o)?o:typeof o=="string"?o.match(cn)||[]:[]}h.fn.extend({addClass:function(o){var c,d,g,y,v,w;return $(o)?this.each(function(R){h(this).addClass(o.call(this,R,kr(this)))}):(c=ma(o),c.length?this.each(function(){if(g=kr(this),d=this.nodeType===1&&" "+Sr(g)+" ",d){for(v=0;v<c.length;v++)y=c[v],d.indexOf(" "+y+" ")<0&&(d+=y+" ");w=Sr(d),g!==w&&this.setAttribute("class",w)}}):this)},removeClass:function(o){var c,d,g,y,v,w;return $(o)?this.each(function(R){h(this).removeClass(o.call(this,R,kr(this)))}):arguments.length?(c=ma(o),c.length?this.each(function(){if(g=kr(this),d=this.nodeType===1&&" "+Sr(g)+" ",d){for(v=0;v<c.length;v++)for(y=c[v];d.indexOf(" "+y+" ")>-1;)d=d.replace(" "+y+" "," ");w=Sr(d),g!==w&&this.setAttribute("class",w)}}):this):this.attr("class","")},toggleClass:function(o,c){var d,g,y,v,w=typeof o,R=w==="string"||Array.isArray(o);return $(o)?this.each(function(I){h(this).toggleClass(o.call(this,I,kr(this),c),c)}):typeof c=="boolean"&&R?c?this.addClass(o):this.removeClass(o):(d=ma(o),this.each(function(){if(R)for(v=h(this),y=0;y<d.length;y++)g=d[y],v.hasClass(g)?v.removeClass(g):v.addClass(g);else(o===void 0||w==="boolean")&&(g=kr(this),g&&de.set(this,"__className__",g),this.setAttribute&&this.setAttribute("class",g||o===!1?"":de.get(this,"__className__")||""))}))},hasClass:function(o){var c,d,g=0;for(c=" "+o+" ";d=this[g++];)if(d.nodeType===1&&(" "+Sr(kr(d))+" ").indexOf(c)>-1)return!0;return!1}});var Yo=/\r/g;h.fn.extend({val:function(o){var c,d,g,y=this[0];return arguments.length?(g=$(o),this.each(function(v){var w;this.nodeType===1&&(g?w=o.call(this,v,h(this).val()):w=o,w==null?w="":typeof w=="number"?w+="":Array.isArray(w)&&(w=h.map(w,function(R){return R==null?"":R+""})),c=h.valHooks[this.type]||h.valHooks[this.nodeName.toLowerCase()],(!c||!("set"in c)||c.set(this,w,"value")===void 0)&&(this.value=w))})):y?(c=h.valHooks[y.type]||h.valHooks[y.nodeName.toLowerCase()],c&&"get"in c&&(d=c.get(y,"value"))!==void 0?d:(d=y.value,typeof d=="string"?d.replace(Yo,""):d??"")):void 0}}),h.extend({valHooks:{option:{get:function(o){var c=h.find.attr(o,"value");return c??Sr(h.text(o))}},select:{get:function(o){var c,d,g,y=o.options,v=o.selectedIndex,w=o.type==="select-one",R=w?null:[],I=w?v+1:y.length;for(v<0?g=I:g=w?v:0;g<I;g++)if(d=y[g],(d.selected||g===v)&&!d.disabled&&(!d.parentNode.disabled||!ce(d.parentNode,"optgroup"))){if(c=h(d).val(),w)return c;R.push(c)}return R},set:function(o,c){for(var d,g,y=o.options,v=h.makeArray(c),w=y.length;w--;)g=y[w],(g.selected=h.inArray(h.valHooks.option.get(g),v)>-1)&&(d=!0);return d||(o.selectedIndex=-1),v}}}}),h.each(["radio","checkbox"],function(){h.valHooks[this]={set:function(o,c){if(Array.isArray(c))return o.checked=h.inArray(h(o).val(),c)>-1}},B.checkOn||(h.valHooks[this].get=function(o){return o.getAttribute("value")===null?"on":o.value})});var Ti=t.location,ya={guid:Date.now()},Ss=/\?/;h.parseXML=function(o){var c,d;if(!o||typeof o!="string")return null;try{c=new t.DOMParser().parseFromString(o,"text/xml")}catch{}return d=c&&c.getElementsByTagName("parsererror")[0],(!c||d)&&h.error("Invalid XML: "+(d?h.map(d.childNodes,function(g){return g.textContent}).join(`
|
|
140
|
-
`):o)),c};var
|
|
139
|
+
*/var Kg;function ny(){return Kg||(Kg=1,function(e){(function(t,n){e.exports=t.document?n(t,!0):function(i){if(!i.document)throw new Error("jQuery requires a window with a document");return n(i)}})(typeof window<"u"?window:D.commonjsGlobal,function(t,n){var i=[],a=Object.getPrototypeOf,u=i.slice,f=i.flat?function(o){return i.flat.call(o)}:function(o){return i.concat.apply([],o)},m=i.push,b=i.indexOf,_={},E=_.toString,O=_.hasOwnProperty,M=O.toString,z=M.call(Object),B={},$=function(c){return typeof c=="function"&&typeof c.nodeType!="number"&&typeof c.item!="function"},Z=function(c){return c!=null&&c===c.window},W=t.document,se={type:!0,src:!0,nonce:!0,noModule:!0};function pe(o,c,d){d=d||W;var g,y,v=d.createElement("script");if(v.text=o,c)for(g in se)y=c[g]||c.getAttribute&&c.getAttribute(g),y&&v.setAttribute(g,y);d.head.appendChild(v).parentNode.removeChild(v)}function ae(o){return o==null?o+"":typeof o=="object"||typeof o=="function"?_[E.call(o)]||"object":typeof o}var ne="3.7.1",ie=/HTML$/i,h=function(o,c){return new h.fn.init(o,c)};h.fn=h.prototype={jquery:ne,constructor:h,length:0,toArray:function(){return u.call(this)},get:function(o){return o==null?u.call(this):o<0?this[o+this.length]:this[o]},pushStack:function(o){var c=h.merge(this.constructor(),o);return c.prevObject=this,c},each:function(o){return h.each(this,o)},map:function(o){return this.pushStack(h.map(this,function(c,d){return o.call(c,d,c)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(h.grep(this,function(o,c){return(c+1)%2}))},odd:function(){return this.pushStack(h.grep(this,function(o,c){return c%2}))},eq:function(o){var c=this.length,d=+o+(o<0?c:0);return this.pushStack(d>=0&&d<c?[this[d]]:[])},end:function(){return this.prevObject||this.constructor()},push:m,sort:i.sort,splice:i.splice},h.extend=h.fn.extend=function(){var o,c,d,g,y,v,w=arguments[0]||{},R=1,I=arguments.length,j=!1;for(typeof w=="boolean"&&(j=w,w=arguments[R]||{},R++),typeof w!="object"&&!$(w)&&(w={}),R===I&&(w=this,R--);R<I;R++)if((o=arguments[R])!=null)for(c in o)g=o[c],!(c==="__proto__"||w===g)&&(j&&g&&(h.isPlainObject(g)||(y=Array.isArray(g)))?(d=w[c],y&&!Array.isArray(d)?v=[]:!y&&!h.isPlainObject(d)?v={}:v=d,y=!1,w[c]=h.extend(j,v,g)):g!==void 0&&(w[c]=g));return w},h.extend({expando:"jQuery"+(ne+Math.random()).replace(/\D/g,""),isReady:!0,error:function(o){throw new Error(o)},noop:function(){},isPlainObject:function(o){var c,d;return!o||E.call(o)!=="[object Object]"?!1:(c=a(o),c?(d=O.call(c,"constructor")&&c.constructor,typeof d=="function"&&M.call(d)===z):!0)},isEmptyObject:function(o){var c;for(c in o)return!1;return!0},globalEval:function(o,c,d){pe(o,{nonce:c&&c.nonce},d)},each:function(o,c){var d,g=0;if(Te(o))for(d=o.length;g<d&&c.call(o[g],g,o[g])!==!1;g++);else for(g in o)if(c.call(o[g],g,o[g])===!1)break;return o},text:function(o){var c,d="",g=0,y=o.nodeType;if(!y)for(;c=o[g++];)d+=h.text(c);return y===1||y===11?o.textContent:y===9?o.documentElement.textContent:y===3||y===4?o.nodeValue:d},makeArray:function(o,c){var d=c||[];return o!=null&&(Te(Object(o))?h.merge(d,typeof o=="string"?[o]:o):m.call(d,o)),d},inArray:function(o,c,d){return c==null?-1:b.call(c,o,d)},isXMLDoc:function(o){var c=o&&o.namespaceURI,d=o&&(o.ownerDocument||o).documentElement;return!ie.test(c||d&&d.nodeName||"HTML")},merge:function(o,c){for(var d=+c.length,g=0,y=o.length;g<d;g++)o[y++]=c[g];return o.length=y,o},grep:function(o,c,d){for(var g,y=[],v=0,w=o.length,R=!d;v<w;v++)g=!c(o[v],v),g!==R&&y.push(o[v]);return y},map:function(o,c,d){var g,y,v=0,w=[];if(Te(o))for(g=o.length;v<g;v++)y=c(o[v],v,d),y!=null&&w.push(y);else for(v in o)y=c(o[v],v,d),y!=null&&w.push(y);return f(w)},guid:1,support:B}),typeof Symbol=="function"&&(h.fn[Symbol.iterator]=i[Symbol.iterator]),h.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(o,c){_["[object "+c+"]"]=c.toLowerCase()});function Te(o){var c=!!o&&"length"in o&&o.length,d=ae(o);return $(o)||Z(o)?!1:d==="array"||c===0||typeof c=="number"&&c>0&&c-1 in o}function ce(o,c){return o.nodeName&&o.nodeName.toLowerCase()===c.toLowerCase()}var et=i.pop,Pe=i.sort,Xe=i.splice,xe="[\\x20\\t\\r\\n\\f]",qe=new RegExp("^"+xe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+xe+"+$","g");h.contains=function(o,c){var d=c&&c.parentNode;return o===d||!!(d&&d.nodeType===1&&(o.contains?o.contains(d):o.compareDocumentPosition&&o.compareDocumentPosition(d)&16))};var ut=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function ht(o,c){return c?o==="\0"?"�":o.slice(0,-1)+"\\"+o.charCodeAt(o.length-1).toString(16)+" ":"\\"+o}h.escapeSelector=function(o){return(o+"").replace(ut,ht)};var He=W,we=m;(function(){var o,c,d,g,y,v=we,w,R,I,j,V,G=h.expando,U=0,te=0,fe=Zi(),Me=Zi(),Ee=Zi(),It=Zi(),yt=function(T,F){return T===F&&(y=!0),0},Yn="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Wn="(?:\\\\[\\da-fA-F]{1,6}"+xe+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",$e="\\["+xe+"*("+Wn+")(?:"+xe+"*([*^$|!~]?=)"+xe+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Wn+"))|)"+xe+"*\\]",Cr=":("+Wn+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+$e+")*)|.*)\\)|)",je=new RegExp(xe+"+","g"),rt=new RegExp("^"+xe+"*,"+xe+"*"),Vi=new RegExp("^"+xe+"*([>+~]|"+xe+")"+xe+"*"),Cs=new RegExp(xe+"|>"),Cn=new RegExp(Cr),Zr=new RegExp("^"+Wn+"$"),gn={ID:new RegExp("^#("+Wn+")"),CLASS:new RegExp("^\\.("+Wn+")"),TAG:new RegExp("^("+Wn+"|[*])"),ATTR:new RegExp("^"+$e),PSEUDO:new RegExp("^"+Cr),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+xe+"*(even|odd|(([+-]|)(\\d*)n|)"+xe+"*(?:([+-]|)"+xe+"*(\\d+)|))"+xe+"*\\)|)","i"),bool:new RegExp("^(?:"+Yn+")$","i"),needsContext:new RegExp("^"+xe+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+xe+"*((?:-\\d)?\\d*)"+xe+"*\\)|)(?=[^-]|$)","i")},lr=/^(?:input|select|textarea|button)$/i,Dr=/^h\d$/i,Xt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Gi=/[+~]/,cr=new RegExp("\\\\[\\da-fA-F]{1,6}"+xe+"?|\\\\([^\\r\\n\\f])","g"),Hn=function(T,F){var H="0x"+T.slice(1)-65536;return F||(H<0?String.fromCharCode(H+65536):String.fromCharCode(H>>10|55296,H&1023|56320))},nn=function(){Er()},ka=Xr(function(T){return T.disabled===!0&&ce(T,"fieldset")},{dir:"parentNode",next:"legend"});function Ki(){try{return w.activeElement}catch{}}try{v.apply(i=u.call(He.childNodes),He.childNodes),i[He.childNodes.length].nodeType}catch{v={apply:function(F,H){we.apply(F,u.call(H))},call:function(F){we.apply(F,u.call(arguments,1))}}}function Ge(T,F,H,q){var C,N,P,K,X,he,ge,le=F&&F.ownerDocument,Ae=F?F.nodeType:9;if(H=H||[],typeof T!="string"||!T||Ae!==1&&Ae!==9&&Ae!==11)return H;if(!q&&(Er(F),F=F||w,I)){if(Ae!==11&&(X=Xt.exec(T)))if(C=X[1]){if(Ae===9)if(P=F.getElementById(C)){if(P.id===C)return v.call(H,P),H}else return H;else if(le&&(P=le.getElementById(C))&&Ge.contains(F,P)&&P.id===C)return v.call(H,P),H}else{if(X[2])return v.apply(H,F.getElementsByTagName(T)),H;if((C=X[3])&&F.getElementsByClassName)return v.apply(H,F.getElementsByClassName(C)),H}if(!It[T+" "]&&(!j||!j.test(T))){if(ge=T,le=F,Ae===1&&(Cs.test(T)||Vi.test(T))){for(le=Gi.test(T)&&Ca(F.parentNode)||F,(le!=F||!B.scope)&&((K=F.getAttribute("id"))?K=h.escapeSelector(K):F.setAttribute("id",K=G)),he=Ii(T),N=he.length;N--;)he[N]=(K?"#"+K:":scope")+" "+En(he[N]);ge=he.join(",")}try{return v.apply(H,le.querySelectorAll(ge)),H}catch{It(T,!0)}finally{K===G&&F.removeAttribute("id")}}}return Jo(T.replace(qe,"$1"),F,H,q)}function Zi(){var T=[];function F(H,q){return T.push(H+" ")>c.cacheLength&&delete F[T.shift()],F[H+" "]=q}return F}function Dn(T){return T[G]=!0,T}function Mi(T){var F=w.createElement("fieldset");try{return!!T(F)}catch{return!1}finally{F.parentNode&&F.parentNode.removeChild(F),F=null}}function Sc(T){return function(F){return ce(F,"input")&&F.type===T}}function kc(T){return function(F){return(ce(F,"input")||ce(F,"button"))&&F.type===T}}function Zo(T){return function(F){return"form"in F?F.parentNode&&F.disabled===!1?"label"in F?"label"in F.parentNode?F.parentNode.disabled===T:F.disabled===T:F.isDisabled===T||F.isDisabled!==!T&&ka(F)===T:F.disabled===T:"label"in F?F.disabled===T:!1}}function mn(T){return Dn(function(F){return F=+F,Dn(function(H,q){for(var C,N=T([],H.length,F),P=N.length;P--;)H[C=N[P]]&&(H[C]=!(q[C]=H[C]))})})}function Ca(T){return T&&typeof T.getElementsByTagName<"u"&&T}function Er(T){var F,H=T?T.ownerDocument||T:He;return H==w||H.nodeType!==9||!H.documentElement||(w=H,R=w.documentElement,I=!h.isXMLDoc(w),V=R.matches||R.webkitMatchesSelector||R.msMatchesSelector,R.msMatchesSelector&&He!=w&&(F=w.defaultView)&&F.top!==F&&F.addEventListener("unload",nn),B.getById=Mi(function(q){return R.appendChild(q).id=h.expando,!w.getElementsByName||!w.getElementsByName(h.expando).length}),B.disconnectedMatch=Mi(function(q){return V.call(q,"*")}),B.scope=Mi(function(){return w.querySelectorAll(":scope")}),B.cssHas=Mi(function(){try{return w.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),B.getById?(c.filter.ID=function(q){var C=q.replace(cr,Hn);return function(N){return N.getAttribute("id")===C}},c.find.ID=function(q,C){if(typeof C.getElementById<"u"&&I){var N=C.getElementById(q);return N?[N]:[]}}):(c.filter.ID=function(q){var C=q.replace(cr,Hn);return function(N){var P=typeof N.getAttributeNode<"u"&&N.getAttributeNode("id");return P&&P.value===C}},c.find.ID=function(q,C){if(typeof C.getElementById<"u"&&I){var N,P,K,X=C.getElementById(q);if(X){if(N=X.getAttributeNode("id"),N&&N.value===q)return[X];for(K=C.getElementsByName(q),P=0;X=K[P++];)if(N=X.getAttributeNode("id"),N&&N.value===q)return[X]}return[]}}),c.find.TAG=function(q,C){return typeof C.getElementsByTagName<"u"?C.getElementsByTagName(q):C.querySelectorAll(q)},c.find.CLASS=function(q,C){if(typeof C.getElementsByClassName<"u"&&I)return C.getElementsByClassName(q)},j=[],Mi(function(q){var C;R.appendChild(q).innerHTML="<a id='"+G+"' href='' disabled='disabled'></a><select id='"+G+"-\r\\' disabled='disabled'><option selected=''></option></select>",q.querySelectorAll("[selected]").length||j.push("\\["+xe+"*(?:value|"+Yn+")"),q.querySelectorAll("[id~="+G+"-]").length||j.push("~="),q.querySelectorAll("a#"+G+"+*").length||j.push(".#.+[+~]"),q.querySelectorAll(":checked").length||j.push(":checked"),C=w.createElement("input"),C.setAttribute("type","hidden"),q.appendChild(C).setAttribute("name","D"),R.appendChild(q).disabled=!0,q.querySelectorAll(":disabled").length!==2&&j.push(":enabled",":disabled"),C=w.createElement("input"),C.setAttribute("name",""),q.appendChild(C),q.querySelectorAll("[name='']").length||j.push("\\["+xe+"*name"+xe+"*="+xe+`*(?:''|"")`)}),B.cssHas||j.push(":has"),j=j.length&&new RegExp(j.join("|")),yt=function(q,C){if(q===C)return y=!0,0;var N=!q.compareDocumentPosition-!C.compareDocumentPosition;return N||(N=(q.ownerDocument||q)==(C.ownerDocument||C)?q.compareDocumentPosition(C):1,N&1||!B.sortDetached&&C.compareDocumentPosition(q)===N?q===w||q.ownerDocument==He&&Ge.contains(He,q)?-1:C===w||C.ownerDocument==He&&Ge.contains(He,C)?1:g?b.call(g,q)-b.call(g,C):0:N&4?-1:1)}),w}Ge.matches=function(T,F){return Ge(T,null,null,F)},Ge.matchesSelector=function(T,F){if(Er(T),I&&!It[F+" "]&&(!j||!j.test(F)))try{var H=V.call(T,F);if(H||B.disconnectedMatch||T.document&&T.document.nodeType!==11)return H}catch{It(F,!0)}return Ge(F,w,null,[T]).length>0},Ge.contains=function(T,F){return(T.ownerDocument||T)!=w&&Er(T),h.contains(T,F)},Ge.attr=function(T,F){(T.ownerDocument||T)!=w&&Er(T);var H=c.attrHandle[F.toLowerCase()],q=H&&O.call(c.attrHandle,F.toLowerCase())?H(T,F,!I):void 0;return q!==void 0?q:T.getAttribute(F)},Ge.error=function(T){throw new Error("Syntax error, unrecognized expression: "+T)},h.uniqueSort=function(T){var F,H=[],q=0,C=0;if(y=!B.sortStable,g=!B.sortStable&&u.call(T,0),Pe.call(T,yt),y){for(;F=T[C++];)F===T[C]&&(q=H.push(C));for(;q--;)Xe.call(T,H[q],1)}return g=null,T},h.fn.uniqueSort=function(){return this.pushStack(h.uniqueSort(u.apply(this)))},c=h.expr={cacheLength:50,createPseudo:Dn,match:gn,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(T){return T[1]=T[1].replace(cr,Hn),T[3]=(T[3]||T[4]||T[5]||"").replace(cr,Hn),T[2]==="~="&&(T[3]=" "+T[3]+" "),T.slice(0,4)},CHILD:function(T){return T[1]=T[1].toLowerCase(),T[1].slice(0,3)==="nth"?(T[3]||Ge.error(T[0]),T[4]=+(T[4]?T[5]+(T[6]||1):2*(T[3]==="even"||T[3]==="odd")),T[5]=+(T[7]+T[8]||T[3]==="odd")):T[3]&&Ge.error(T[0]),T},PSEUDO:function(T){var F,H=!T[6]&&T[2];return gn.CHILD.test(T[0])?null:(T[3]?T[2]=T[4]||T[5]||"":H&&Cn.test(H)&&(F=Ii(H,!0))&&(F=H.indexOf(")",H.length-F)-H.length)&&(T[0]=T[0].slice(0,F),T[2]=H.slice(0,F)),T.slice(0,3))}},filter:{TAG:function(T){var F=T.replace(cr,Hn).toLowerCase();return T==="*"?function(){return!0}:function(H){return ce(H,F)}},CLASS:function(T){var F=fe[T+" "];return F||(F=new RegExp("(^|"+xe+")"+T+"("+xe+"|$)"))&&fe(T,function(H){return F.test(typeof H.className=="string"&&H.className||typeof H.getAttribute<"u"&&H.getAttribute("class")||"")})},ATTR:function(T,F,H){return function(q){var C=Ge.attr(q,T);return C==null?F==="!=":F?(C+="",F==="="?C===H:F==="!="?C!==H:F==="^="?H&&C.indexOf(H)===0:F==="*="?H&&C.indexOf(H)>-1:F==="$="?H&&C.slice(-H.length)===H:F==="~="?(" "+C.replace(je," ")+" ").indexOf(H)>-1:F==="|="?C===H||C.slice(0,H.length+1)===H+"-":!1):!0}},CHILD:function(T,F,H,q,C){var N=T.slice(0,3)!=="nth",P=T.slice(-4)!=="last",K=F==="of-type";return q===1&&C===0?function(X){return!!X.parentNode}:function(X,he,ge){var le,Ae,be,Le,At,$t=N!==P?"nextSibling":"previousSibling",Rt=X.parentNode,sn=K&&X.nodeName.toLowerCase(),fr=!ge&&!K,De=!1;if(Rt){if(N){for(;$t;){for(be=X;be=be[$t];)if(K?ce(be,sn):be.nodeType===1)return!1;At=$t=T==="only"&&!At&&"nextSibling"}return!0}if(At=[P?Rt.firstChild:Rt.lastChild],P&&fr){for(Ae=Rt[G]||(Rt[G]={}),le=Ae[T]||[],Le=le[0]===U&&le[1],De=Le&&le[2],be=Le&&Rt.childNodes[Le];be=++Le&&be&&be[$t]||(De=Le=0)||At.pop();)if(be.nodeType===1&&++De&&be===X){Ae[T]=[U,Le,De];break}}else if(fr&&(Ae=X[G]||(X[G]={}),le=Ae[T]||[],Le=le[0]===U&&le[1],De=Le),De===!1)for(;(be=++Le&&be&&be[$t]||(De=Le=0)||At.pop())&&!((K?ce(be,sn):be.nodeType===1)&&++De&&(fr&&(Ae=be[G]||(be[G]={}),Ae[T]=[U,De]),be===X)););return De-=C,De===q||De%q===0&&De/q>=0}}},PSEUDO:function(T,F){var H,q=c.pseudos[T]||c.setFilters[T.toLowerCase()]||Ge.error("unsupported pseudo: "+T);return q[G]?q(F):q.length>1?(H=[T,T,"",F],c.setFilters.hasOwnProperty(T.toLowerCase())?Dn(function(C,N){for(var P,K=q(C,F),X=K.length;X--;)P=b.call(C,K[X]),C[P]=!(N[P]=K[X])}):function(C){return q(C,0,H)}):q}},pseudos:{not:Dn(function(T){var F=[],H=[],q=Ea(T.replace(qe,"$1"));return q[G]?Dn(function(C,N,P,K){for(var X,he=q(C,null,K,[]),ge=C.length;ge--;)(X=he[ge])&&(C[ge]=!(N[ge]=X))}):function(C,N,P){return F[0]=C,q(F,null,P,H),F[0]=null,!H.pop()}}),has:Dn(function(T){return function(F){return Ge(T,F).length>0}}),contains:Dn(function(T){return T=T.replace(cr,Hn),function(F){return(F.textContent||h.text(F)).indexOf(T)>-1}}),lang:Dn(function(T){return Zr.test(T||"")||Ge.error("unsupported lang: "+T),T=T.replace(cr,Hn).toLowerCase(),function(F){var H;do if(H=I?F.lang:F.getAttribute("xml:lang")||F.getAttribute("lang"))return H=H.toLowerCase(),H===T||H.indexOf(T+"-")===0;while((F=F.parentNode)&&F.nodeType===1);return!1}}),target:function(T){var F=t.location&&t.location.hash;return F&&F.slice(1)===T.id},root:function(T){return T===R},focus:function(T){return T===Ki()&&w.hasFocus()&&!!(T.type||T.href||~T.tabIndex)},enabled:Zo(!1),disabled:Zo(!0),checked:function(T){return ce(T,"input")&&!!T.checked||ce(T,"option")&&!!T.selected},selected:function(T){return T.parentNode&&T.parentNode.selectedIndex,T.selected===!0},empty:function(T){for(T=T.firstChild;T;T=T.nextSibling)if(T.nodeType<6)return!1;return!0},parent:function(T){return!c.pseudos.empty(T)},header:function(T){return Dr.test(T.nodeName)},input:function(T){return lr.test(T.nodeName)},button:function(T){return ce(T,"input")&&T.type==="button"||ce(T,"button")},text:function(T){var F;return ce(T,"input")&&T.type==="text"&&((F=T.getAttribute("type"))==null||F.toLowerCase()==="text")},first:mn(function(){return[0]}),last:mn(function(T,F){return[F-1]}),eq:mn(function(T,F,H){return[H<0?H+F:H]}),even:mn(function(T,F){for(var H=0;H<F;H+=2)T.push(H);return T}),odd:mn(function(T,F){for(var H=1;H<F;H+=2)T.push(H);return T}),lt:mn(function(T,F,H){var q;for(H<0?q=H+F:H>F?q=F:q=H;--q>=0;)T.push(q);return T}),gt:mn(function(T,F,H){for(var q=H<0?H+F:H;++q<F;)T.push(q);return T})}},c.pseudos.nth=c.pseudos.eq;for(o in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})c.pseudos[o]=Sc(o);for(o in{submit:!0,reset:!0})c.pseudos[o]=kc(o);function Ds(){}Ds.prototype=c.filters=c.pseudos,c.setFilters=new Ds;function Ii(T,F){var H,q,C,N,P,K,X,he=Me[T+" "];if(he)return F?0:he.slice(0);for(P=T,K=[],X=c.preFilter;P;){(!H||(q=rt.exec(P)))&&(q&&(P=P.slice(q[0].length)||P),K.push(C=[])),H=!1,(q=Vi.exec(P))&&(H=q.shift(),C.push({value:H,type:q[0].replace(qe," ")}),P=P.slice(H.length));for(N in c.filter)(q=gn[N].exec(P))&&(!X[N]||(q=X[N](q)))&&(H=q.shift(),C.push({value:H,type:N,matches:q}),P=P.slice(H.length));if(!H)break}return F?P.length:P?Ge.error(T):Me(T,K).slice(0)}function En(T){for(var F=0,H=T.length,q="";F<H;F++)q+=T[F].value;return q}function Xr(T,F,H){var q=F.dir,C=F.next,N=C||q,P=H&&N==="parentNode",K=te++;return F.first?function(X,he,ge){for(;X=X[q];)if(X.nodeType===1||P)return T(X,he,ge);return!1}:function(X,he,ge){var le,Ae,be=[U,K];if(ge){for(;X=X[q];)if((X.nodeType===1||P)&&T(X,he,ge))return!0}else for(;X=X[q];)if(X.nodeType===1||P)if(Ae=X[G]||(X[G]={}),C&&ce(X,C))X=X[q]||X;else{if((le=Ae[N])&&le[0]===U&&le[1]===K)return be[2]=le[2];if(Ae[N]=be,be[2]=T(X,he,ge))return!0}return!1}}function Da(T){return T.length>1?function(F,H,q){for(var C=T.length;C--;)if(!T[C](F,H,q))return!1;return!0}:T[0]}function Cc(T,F,H){for(var q=0,C=F.length;q<C;q++)Ge(T,F[q],H);return H}function Es(T,F,H,q,C){for(var N,P=[],K=0,X=T.length,he=F!=null;K<X;K++)(N=T[K])&&(!H||H(N,q,C))&&(P.push(N),he&&F.push(K));return P}function Tr(T,F,H,q,C,N){return q&&!q[G]&&(q=Tr(q)),C&&!C[G]&&(C=Tr(C,N)),Dn(function(P,K,X,he){var ge,le,Ae,be,Le=[],At=[],$t=K.length,Rt=P||Cc(F||"*",X.nodeType?[X]:X,[]),sn=T&&(P||!F)?Es(Rt,Le,T,X,he):Rt;if(H?(be=C||(P?T:$t||q)?[]:K,H(sn,be,X,he)):be=sn,q)for(ge=Es(be,At),q(ge,[],X,he),le=ge.length;le--;)(Ae=ge[le])&&(be[At[le]]=!(sn[At[le]]=Ae));if(P){if(C||T){if(C){for(ge=[],le=be.length;le--;)(Ae=be[le])&&ge.push(sn[le]=Ae);C(null,be=[],ge,he)}for(le=be.length;le--;)(Ae=be[le])&&(ge=C?b.call(P,Ae):Le[le])>-1&&(P[ge]=!(K[ge]=Ae))}}else be=Es(be===K?be.splice($t,be.length):be),C?C(null,K,be,he):v.apply(K,be)})}function rn(T){for(var F,H,q,C=T.length,N=c.relative[T[0].type],P=N||c.relative[" "],K=N?1:0,X=Xr(function(le){return le===F},P,!0),he=Xr(function(le){return b.call(F,le)>-1},P,!0),ge=[function(le,Ae,be){var Le=!N&&(be||Ae!=d)||((F=Ae).nodeType?X(le,Ae,be):he(le,Ae,be));return F=null,Le}];K<C;K++)if(H=c.relative[T[K].type])ge=[Xr(Da(ge),H)];else{if(H=c.filter[T[K].type].apply(null,T[K].matches),H[G]){for(q=++K;q<C&&!c.relative[T[q].type];q++);return Tr(K>1&&Da(ge),K>1&&En(T.slice(0,K-1).concat({value:T[K-2].type===" "?"*":""})).replace(qe,"$1"),H,K<q&&rn(T.slice(K,q)),q<C&&rn(T=T.slice(q)),q<C&&En(T))}ge.push(H)}return Da(ge)}function Xo(T,F){var H=F.length>0,q=T.length>0,C=function(N,P,K,X,he){var ge,le,Ae,be=0,Le="0",At=N&&[],$t=[],Rt=d,sn=N||q&&c.find.TAG("*",he),fr=U+=Rt==null?1:Math.random()||.1,De=sn.length;for(he&&(d=P==w||P||he);Le!==De&&(ge=sn[Le])!=null;Le++){if(q&&ge){for(le=0,!P&&ge.ownerDocument!=w&&(Er(ge),K=!I);Ae=T[le++];)if(Ae(ge,P||w,K)){v.call(X,ge);break}he&&(U=fr)}H&&((ge=!Ae&&ge)&&be--,N&&At.push(ge))}if(be+=Le,H&&Le!==be){for(le=0;Ae=F[le++];)Ae(At,$t,P,K);if(N){if(be>0)for(;Le--;)At[Le]||$t[Le]||($t[Le]=et.call(X));$t=Es($t)}v.apply(X,$t),he&&!N&&$t.length>0&&be+F.length>1&&h.uniqueSort(X)}return he&&(U=fr,d=Rt),At};return H?Dn(C):C}function Ea(T,F){var H,q=[],C=[],N=Ee[T+" "];if(!N){for(F||(F=Ii(T)),H=F.length;H--;)N=rn(F[H]),N[G]?q.push(N):C.push(N);N=Ee(T,Xo(C,q)),N.selector=T}return N}function Jo(T,F,H,q){var C,N,P,K,X,he=typeof T=="function"&&T,ge=!q&&Ii(T=he.selector||T);if(H=H||[],ge.length===1){if(N=ge[0]=ge[0].slice(0),N.length>2&&(P=N[0]).type==="ID"&&F.nodeType===9&&I&&c.relative[N[1].type]){if(F=(c.find.ID(P.matches[0].replace(cr,Hn),F)||[])[0],F)he&&(F=F.parentNode);else return H;T=T.slice(N.shift().value.length)}for(C=gn.needsContext.test(T)?0:N.length;C--&&(P=N[C],!c.relative[K=P.type]);)if((X=c.find[K])&&(q=X(P.matches[0].replace(cr,Hn),Gi.test(N[0].type)&&Ca(F.parentNode)||F))){if(N.splice(C,1),T=q.length&&En(N),!T)return v.apply(H,q),H;break}}return(he||Ea(T,ge))(q,F,!I,H,!F||Gi.test(T)&&Ca(F.parentNode)||F),H}B.sortStable=G.split("").sort(yt).join("")===G,Er(),B.sortDetached=Mi(function(T){return T.compareDocumentPosition(w.createElement("fieldset"))&1}),h.find=Ge,h.expr[":"]=h.expr.pseudos,h.unique=h.uniqueSort,Ge.compile=Ea,Ge.select=Jo,Ge.setDocument=Er,Ge.tokenize=Ii,Ge.escape=h.escapeSelector,Ge.getText=h.text,Ge.isXML=h.isXMLDoc,Ge.selectors=h.expr,Ge.support=h.support,Ge.uniqueSort=h.uniqueSort})();var Ve=function(o,c,d){for(var g=[],y=d!==void 0;(o=o[c])&&o.nodeType!==9;)if(o.nodeType===1){if(y&&h(o).is(d))break;g.push(o)}return g},lt=function(o,c){for(var d=[];o;o=o.nextSibling)o.nodeType===1&&o!==c&&d.push(o);return d},_t=h.expr.match.needsContext,St=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Fn(o,c,d){return $(c)?h.grep(o,function(g,y){return!!c.call(g,y,g)!==d}):c.nodeType?h.grep(o,function(g){return g===c!==d}):typeof c!="string"?h.grep(o,function(g){return b.call(c,g)>-1!==d}):h.filter(c,o,d)}h.filter=function(o,c,d){var g=c[0];return d&&(o=":not("+o+")"),c.length===1&&g.nodeType===1?h.find.matchesSelector(g,o)?[g]:[]:h.find.matches(o,h.grep(c,function(y){return y.nodeType===1}))},h.fn.extend({find:function(o){var c,d,g=this.length,y=this;if(typeof o!="string")return this.pushStack(h(o).filter(function(){for(c=0;c<g;c++)if(h.contains(y[c],this))return!0}));for(d=this.pushStack([]),c=0;c<g;c++)h.find(o,y[c],d);return g>1?h.uniqueSort(d):d},filter:function(o){return this.pushStack(Fn(this,o||[],!1))},not:function(o){return this.pushStack(Fn(this,o||[],!0))},is:function(o){return!!Fn(this,typeof o=="string"&&_t.test(o)?h(o):o||[],!1).length}});var qt,Vt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,sr=h.fn.init=function(o,c,d){var g,y;if(!o)return this;if(d=d||qt,typeof o=="string")if(o[0]==="<"&&o[o.length-1]===">"&&o.length>=3?g=[null,o,null]:g=Vt.exec(o),g&&(g[1]||!c))if(g[1]){if(c=c instanceof h?c[0]:c,h.merge(this,h.parseHTML(g[1],c&&c.nodeType?c.ownerDocument||c:W,!0)),St.test(g[1])&&h.isPlainObject(c))for(g in c)$(this[g])?this[g](c[g]):this.attr(g,c[g]);return this}else return y=W.getElementById(g[2]),y&&(this[0]=y,this.length=1),this;else return!c||c.jquery?(c||d).find(o):this.constructor(c).find(o);else{if(o.nodeType)return this[0]=o,this.length=1,this;if($(o))return d.ready!==void 0?d.ready(o):o(h)}return h.makeArray(o,this)};sr.prototype=h.fn,qt=h(W);var Wi=/^(?:parents|prev(?:Until|All))/,Hr={children:!0,contents:!0,next:!0,prev:!0};h.fn.extend({has:function(o){var c=h(o,this),d=c.length;return this.filter(function(){for(var g=0;g<d;g++)if(h.contains(this,c[g]))return!0})},closest:function(o,c){var d,g=0,y=this.length,v=[],w=typeof o!="string"&&h(o);if(!_t.test(o)){for(;g<y;g++)for(d=this[g];d&&d!==c;d=d.parentNode)if(d.nodeType<11&&(w?w.index(d)>-1:d.nodeType===1&&h.find.matchesSelector(d,o))){v.push(d);break}}return this.pushStack(v.length>1?h.uniqueSort(v):v)},index:function(o){return o?typeof o=="string"?b.call(h(o),this[0]):b.call(this,o.jquery?o[0]:o):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(o,c){return this.pushStack(h.uniqueSort(h.merge(this.get(),h(o,c))))},addBack:function(o){return this.add(o==null?this.prevObject:this.prevObject.filter(o))}});function Nt(o,c){for(;(o=o[c])&&o.nodeType!==1;);return o}h.each({parent:function(o){var c=o.parentNode;return c&&c.nodeType!==11?c:null},parents:function(o){return Ve(o,"parentNode")},parentsUntil:function(o,c,d){return Ve(o,"parentNode",d)},next:function(o){return Nt(o,"nextSibling")},prev:function(o){return Nt(o,"previousSibling")},nextAll:function(o){return Ve(o,"nextSibling")},prevAll:function(o){return Ve(o,"previousSibling")},nextUntil:function(o,c,d){return Ve(o,"nextSibling",d)},prevUntil:function(o,c,d){return Ve(o,"previousSibling",d)},siblings:function(o){return lt((o.parentNode||{}).firstChild,o)},children:function(o){return lt(o.firstChild)},contents:function(o){return o.contentDocument!=null&&a(o.contentDocument)?o.contentDocument:(ce(o,"template")&&(o=o.content||o),h.merge([],o.childNodes))}},function(o,c){h.fn[o]=function(d,g){var y=h.map(this,c,d);return o.slice(-5)!=="Until"&&(g=d),g&&typeof g=="string"&&(y=h.filter(g,y)),this.length>1&&(Hr[o]||h.uniqueSort(y),Wi.test(o)&&y.reverse()),this.pushStack(y)}});var cn=/[^\x20\t\r\n\f]+/g;function bi(o){var c={};return h.each(o.match(cn)||[],function(d,g){c[g]=!0}),c}h.Callbacks=function(o){o=typeof o=="string"?bi(o):h.extend({},o);var c,d,g,y,v=[],w=[],R=-1,I=function(){for(y=y||o.once,g=c=!0;w.length;R=-1)for(d=w.shift();++R<v.length;)v[R].apply(d[0],d[1])===!1&&o.stopOnFalse&&(R=v.length,d=!1);o.memory||(d=!1),c=!1,y&&(d?v=[]:v="")},j={add:function(){return v&&(d&&!c&&(R=v.length-1,w.push(d)),function V(G){h.each(G,function(U,te){$(te)?(!o.unique||!j.has(te))&&v.push(te):te&&te.length&&ae(te)!=="string"&&V(te)})}(arguments),d&&!c&&I()),this},remove:function(){return h.each(arguments,function(V,G){for(var U;(U=h.inArray(G,v,U))>-1;)v.splice(U,1),U<=R&&R--}),this},has:function(V){return V?h.inArray(V,v)>-1:v.length>0},empty:function(){return v&&(v=[]),this},disable:function(){return y=w=[],v=d="",this},disabled:function(){return!v},lock:function(){return y=w=[],!d&&!c&&(v=d=""),this},locked:function(){return!!y},fireWith:function(V,G){return y||(G=G||[],G=[V,G.slice?G.slice():G],w.push(G),c||I()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!g}};return j};function Sn(o){return o}function Ur(o){throw o}function Gt(o,c,d,g){var y;try{o&&$(y=o.promise)?y.call(o).done(c).fail(d):o&&$(y=o.then)?y.call(o,c,d):c.apply(void 0,[o].slice(g))}catch(v){d.apply(void 0,[v])}}h.extend({Deferred:function(o){var c=[["notify","progress",h.Callbacks("memory"),h.Callbacks("memory"),2],["resolve","done",h.Callbacks("once memory"),h.Callbacks("once memory"),0,"resolved"],["reject","fail",h.Callbacks("once memory"),h.Callbacks("once memory"),1,"rejected"]],d="pending",g={state:function(){return d},always:function(){return y.done(arguments).fail(arguments),this},catch:function(v){return g.then(null,v)},pipe:function(){var v=arguments;return h.Deferred(function(w){h.each(c,function(R,I){var j=$(v[I[4]])&&v[I[4]];y[I[1]](function(){var V=j&&j.apply(this,arguments);V&&$(V.promise)?V.promise().progress(w.notify).done(w.resolve).fail(w.reject):w[I[0]+"With"](this,j?[V]:arguments)})}),v=null}).promise()},then:function(v,w,R){var I=0;function j(V,G,U,te){return function(){var fe=this,Me=arguments,Ee=function(){var yt,Yn;if(!(V<I)){if(yt=U.apply(fe,Me),yt===G.promise())throw new TypeError("Thenable self-resolution");Yn=yt&&(typeof yt=="object"||typeof yt=="function")&&yt.then,$(Yn)?te?Yn.call(yt,j(I,G,Sn,te),j(I,G,Ur,te)):(I++,Yn.call(yt,j(I,G,Sn,te),j(I,G,Ur,te),j(I,G,Sn,G.notifyWith))):(U!==Sn&&(fe=void 0,Me=[yt]),(te||G.resolveWith)(fe,Me))}},It=te?Ee:function(){try{Ee()}catch(yt){h.Deferred.exceptionHook&&h.Deferred.exceptionHook(yt,It.error),V+1>=I&&(U!==Ur&&(fe=void 0,Me=[yt]),G.rejectWith(fe,Me))}};V?It():(h.Deferred.getErrorHook?It.error=h.Deferred.getErrorHook():h.Deferred.getStackHook&&(It.error=h.Deferred.getStackHook()),t.setTimeout(It))}}return h.Deferred(function(V){c[0][3].add(j(0,V,$(R)?R:Sn,V.notifyWith)),c[1][3].add(j(0,V,$(v)?v:Sn)),c[2][3].add(j(0,V,$(w)?w:Ur))}).promise()},promise:function(v){return v!=null?h.extend(v,g):g}},y={};return h.each(c,function(v,w){var R=w[2],I=w[5];g[w[1]]=R.add,I&&R.add(function(){d=I},c[3-v][2].disable,c[3-v][3].disable,c[0][2].lock,c[0][3].lock),R.add(w[3].fire),y[w[0]]=function(){return y[w[0]+"With"](this===y?void 0:this,arguments),this},y[w[0]+"With"]=R.fireWith}),g.promise(y),o&&o.call(y,y),y},when:function(o){var c=arguments.length,d=c,g=Array(d),y=u.call(arguments),v=h.Deferred(),w=function(R){return function(I){g[R]=this,y[R]=arguments.length>1?u.call(arguments):I,--c||v.resolveWith(g,y)}};if(c<=1&&(Gt(o,v.done(w(d)).resolve,v.reject,!c),v.state()==="pending"||$(y[d]&&y[d].then)))return v.then();for(;d--;)Gt(y[d],w(d),v.reject);return v.promise()}});var zr=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;h.Deferred.exceptionHook=function(o,c){t.console&&t.console.warn&&o&&zr.test(o.name)&&t.console.warn("jQuery.Deferred exception: "+o.message,o.stack,c)},h.readyException=function(o){t.setTimeout(function(){throw o})};var Hi=h.Deferred();h.fn.ready=function(o){return Hi.then(o).catch(function(c){h.readyException(c)}),this},h.extend({isReady:!1,readyWait:1,ready:function(o){(o===!0?--h.readyWait:h.isReady)||(h.isReady=!0,!(o!==!0&&--h.readyWait>0)&&Hi.resolveWith(W,[h]))}}),h.ready.then=Hi.then;function Kt(){W.removeEventListener("DOMContentLoaded",Kt),t.removeEventListener("load",Kt),h.ready()}W.readyState==="complete"||W.readyState!=="loading"&&!W.documentElement.doScroll?t.setTimeout(h.ready):(W.addEventListener("DOMContentLoaded",Kt),t.addEventListener("load",Kt));var fn=function(o,c,d,g,y,v,w){var R=0,I=o.length,j=d==null;if(ae(d)==="object"){y=!0;for(R in d)fn(o,c,R,d[R],!0,v,w)}else if(g!==void 0&&(y=!0,$(g)||(w=!0),j&&(w?(c.call(o,g),c=null):(j=c,c=function(V,G,U){return j.call(h(V),U)})),c))for(;R<I;R++)c(o[R],d,w?g:g.call(o[R],R,c(o[R],d)));return y?o:j?c.call(o):I?c(o[0],d):v},sa=/^-ms-/,ar=/-([a-z])/g;function Yt(o,c){return c.toUpperCase()}function Lt(o){return o.replace(sa,"ms-").replace(ar,Yt)}var $n=function(o){return o.nodeType===1||o.nodeType===9||!+o.nodeType};function jn(){this.expando=h.expando+jn.uid++}jn.uid=1,jn.prototype={cache:function(o){var c=o[this.expando];return c||(c={},$n(o)&&(o.nodeType?o[this.expando]=c:Object.defineProperty(o,this.expando,{value:c,configurable:!0}))),c},set:function(o,c,d){var g,y=this.cache(o);if(typeof c=="string")y[Lt(c)]=d;else for(g in c)y[Lt(g)]=c[g];return y},get:function(o,c){return c===void 0?this.cache(o):o[this.expando]&&o[this.expando][Lt(c)]},access:function(o,c,d){return c===void 0||c&&typeof c=="string"&&d===void 0?this.get(o,c):(this.set(o,c,d),d!==void 0?d:c)},remove:function(o,c){var d,g=o[this.expando];if(g!==void 0){if(c!==void 0)for(Array.isArray(c)?c=c.map(Lt):(c=Lt(c),c=c in g?[c]:c.match(cn)||[]),d=c.length;d--;)delete g[c[d]];(c===void 0||h.isEmptyObject(g))&&(o.nodeType?o[this.expando]=void 0:delete o[this.expando])}},hasData:function(o){var c=o[this.expando];return c!==void 0&&!h.isEmptyObject(c)}};var de=new jn,Ft=new jn,br=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,xr=/[A-Z]/g;function Ce(o){return o==="true"?!0:o==="false"?!1:o==="null"?null:o===+o+""?+o:br.test(o)?JSON.parse(o):o}function qr(o,c,d){var g;if(d===void 0&&o.nodeType===1)if(g="data-"+c.replace(xr,"-$&").toLowerCase(),d=o.getAttribute(g),typeof d=="string"){try{d=Ce(d)}catch{}Ft.set(o,c,d)}else d=void 0;return d}h.extend({hasData:function(o){return Ft.hasData(o)||de.hasData(o)},data:function(o,c,d){return Ft.access(o,c,d)},removeData:function(o,c){Ft.remove(o,c)},_data:function(o,c,d){return de.access(o,c,d)},_removeData:function(o,c){de.remove(o,c)}}),h.fn.extend({data:function(o,c){var d,g,y,v=this[0],w=v&&v.attributes;if(o===void 0){if(this.length&&(y=Ft.get(v),v.nodeType===1&&!de.get(v,"hasDataAttrs"))){for(d=w.length;d--;)w[d]&&(g=w[d].name,g.indexOf("data-")===0&&(g=Lt(g.slice(5)),qr(v,g,y[g])));de.set(v,"hasDataAttrs",!0)}return y}return typeof o=="object"?this.each(function(){Ft.set(this,o)}):fn(this,function(R){var I;if(v&&R===void 0)return I=Ft.get(v,o),I!==void 0||(I=qr(v,o),I!==void 0)?I:void 0;this.each(function(){Ft.set(this,o,R)})},null,c,arguments.length>1,null,!0)},removeData:function(o){return this.each(function(){Ft.remove(this,o)})}}),h.extend({queue:function(o,c,d){var g;if(o)return c=(c||"fx")+"queue",g=de.get(o,c),d&&(!g||Array.isArray(d)?g=de.access(o,c,h.makeArray(d)):g.push(d)),g||[]},dequeue:function(o,c){c=c||"fx";var d=h.queue(o,c),g=d.length,y=d.shift(),v=h._queueHooks(o,c),w=function(){h.dequeue(o,c)};y==="inprogress"&&(y=d.shift(),g--),y&&(c==="fx"&&d.unshift("inprogress"),delete v.stop,y.call(o,w,v)),!g&&v&&v.empty.fire()},_queueHooks:function(o,c){var d=c+"queueHooks";return de.get(o,d)||de.access(o,d,{empty:h.Callbacks("once memory").add(function(){de.remove(o,[c+"queue",d])})})}}),h.fn.extend({queue:function(o,c){var d=2;return typeof o!="string"&&(c=o,o="fx",d--),arguments.length<d?h.queue(this[0],o):c===void 0?this:this.each(function(){var g=h.queue(this,o,c);h._queueHooks(this,o),o==="fx"&&g[0]!=="inprogress"&&h.dequeue(this,o)})},dequeue:function(o){return this.each(function(){h.dequeue(this,o)})},clearQueue:function(o){return this.queue(o||"fx",[])},promise:function(o,c){var d,g=1,y=h.Deferred(),v=this,w=this.length,R=function(){--g||y.resolveWith(v,[v])};for(typeof o!="string"&&(c=o,o=void 0),o=o||"fx";w--;)d=de.get(v[w],o+"queueHooks"),d&&d.empty&&(g++,d.empty.add(R));return R(),y.promise(c)}});var xi=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Bn=new RegExp("^(?:([+-])=|)("+xi+")([a-z%]*)$","i"),dn=["Top","Right","Bottom","Left"],or=W.documentElement,wr=function(o){return h.contains(o.ownerDocument,o)},aa={composed:!0};or.getRootNode&&(wr=function(o){return h.contains(o.ownerDocument,o)||o.getRootNode(aa)===o.ownerDocument});var wi=function(o,c){return o=c||o,o.style.display==="none"||o.style.display===""&&wr(o)&&h.css(o,"display")==="none"};function _o(o,c,d,g){var y,v,w=20,R=g?function(){return g.cur()}:function(){return h.css(o,c,"")},I=R(),j=d&&d[3]||(h.cssNumber[c]?"":"px"),V=o.nodeType&&(h.cssNumber[c]||j!=="px"&&+I)&&Bn.exec(h.css(o,c));if(V&&V[3]!==j){for(I=I/2,j=j||V[3],V=+I||1;w--;)h.style(o,c,V+j),(1-v)*(1-(v=R()/I||.5))<=0&&(w=0),V=V/v;V=V*2,h.style(o,c,V+j),d=d||[]}return d&&(V=+V||+I||0,y=d[1]?V+(d[1]+1)*d[2]:+d[2],g&&(g.unit=j,g.start=V,g.end=y)),y}var So={};function rc(o){var c,d=o.ownerDocument,g=o.nodeName,y=So[g];return y||(c=d.body.appendChild(d.createElement(g)),y=h.css(c,"display"),c.parentNode.removeChild(c),y==="none"&&(y="block"),So[g]=y,y)}function Vr(o,c){for(var d,g,y=[],v=0,w=o.length;v<w;v++)g=o[v],g.style&&(d=g.style.display,c?(d==="none"&&(y[v]=de.get(g,"display")||null,y[v]||(g.style.display="")),g.style.display===""&&wi(g)&&(y[v]=rc(g))):d!=="none"&&(y[v]="none",de.set(g,"display",d)));for(v=0;v<w;v++)y[v]!=null&&(o[v].style.display=y[v]);return o}h.fn.extend({show:function(){return Vr(this,!0)},hide:function(){return Vr(this)},toggle:function(o){return typeof o=="boolean"?o?this.show():this.hide():this.each(function(){wi(this)?h(this).show():h(this).hide()})}});var _i=/^(?:checkbox|radio)$/i,ko=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Co=/^$|^module$|\/(?:java|ecma)script/i;(function(){var o=W.createDocumentFragment(),c=o.appendChild(W.createElement("div")),d=W.createElement("input");d.setAttribute("type","radio"),d.setAttribute("checked","checked"),d.setAttribute("name","t"),c.appendChild(d),B.checkClone=c.cloneNode(!0).cloneNode(!0).lastChild.checked,c.innerHTML="<textarea>x</textarea>",B.noCloneChecked=!!c.cloneNode(!0).lastChild.defaultValue,c.innerHTML="<option></option>",B.option=!!c.lastChild})();var hn={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};hn.tbody=hn.tfoot=hn.colgroup=hn.caption=hn.thead,hn.th=hn.td,B.option||(hn.optgroup=hn.option=[1,"<select multiple='multiple'>","</select>"]);function Zt(o,c){var d;return typeof o.getElementsByTagName<"u"?d=o.getElementsByTagName(c||"*"):typeof o.querySelectorAll<"u"?d=o.querySelectorAll(c||"*"):d=[],c===void 0||c&&ce(o,c)?h.merge([o],d):d}function ys(o,c){for(var d=0,g=o.length;d<g;d++)de.set(o[d],"globalEval",!c||de.get(c[d],"globalEval"))}var ic=/<|&#?\w+;/;function Do(o,c,d,g,y){for(var v,w,R,I,j,V,G=c.createDocumentFragment(),U=[],te=0,fe=o.length;te<fe;te++)if(v=o[te],v||v===0)if(ae(v)==="object")h.merge(U,v.nodeType?[v]:v);else if(!ic.test(v))U.push(c.createTextNode(v));else{for(w=w||G.appendChild(c.createElement("div")),R=(ko.exec(v)||["",""])[1].toLowerCase(),I=hn[R]||hn._default,w.innerHTML=I[1]+h.htmlPrefilter(v)+I[2],V=I[0];V--;)w=w.lastChild;h.merge(U,w.childNodes),w=G.firstChild,w.textContent=""}for(G.textContent="",te=0;v=U[te++];){if(g&&h.inArray(v,g)>-1){y&&y.push(v);continue}if(j=wr(v),w=Zt(G.appendChild(v),"script"),j&&ys(w),d)for(V=0;v=w[V++];)Co.test(v.type||"")&&d.push(v)}return G}var Eo=/^([^.]*)(?:\.(.+)|)/;function _r(){return!0}function Si(){return!1}function Ui(o,c,d,g,y,v){var w,R;if(typeof c=="object"){typeof d!="string"&&(g=g||d,d=void 0);for(R in c)Ui(o,R,d,g,c[R],v);return o}if(g==null&&y==null?(y=d,g=d=void 0):y==null&&(typeof d=="string"?(y=g,g=void 0):(y=g,g=d,d=void 0)),y===!1)y=Si;else if(!y)return o;return v===1&&(w=y,y=function(I){return h().off(I),w.apply(this,arguments)},y.guid=w.guid||(w.guid=h.guid++)),o.each(function(){h.event.add(this,c,y,g,d)})}h.event={global:{},add:function(o,c,d,g,y){var v,w,R,I,j,V,G,U,te,fe,Me,Ee=de.get(o);if($n(o))for(d.handler&&(v=d,d=v.handler,y=v.selector),y&&h.find.matchesSelector(or,y),d.guid||(d.guid=h.guid++),(I=Ee.events)||(I=Ee.events=Object.create(null)),(w=Ee.handle)||(w=Ee.handle=function(It){return typeof h<"u"&&h.event.triggered!==It.type?h.event.dispatch.apply(o,arguments):void 0}),c=(c||"").match(cn)||[""],j=c.length;j--;)R=Eo.exec(c[j])||[],te=Me=R[1],fe=(R[2]||"").split(".").sort(),te&&(G=h.event.special[te]||{},te=(y?G.delegateType:G.bindType)||te,G=h.event.special[te]||{},V=h.extend({type:te,origType:Me,data:g,handler:d,guid:d.guid,selector:y,needsContext:y&&h.expr.match.needsContext.test(y),namespace:fe.join(".")},v),(U=I[te])||(U=I[te]=[],U.delegateCount=0,(!G.setup||G.setup.call(o,g,fe,w)===!1)&&o.addEventListener&&o.addEventListener(te,w)),G.add&&(G.add.call(o,V),V.handler.guid||(V.handler.guid=d.guid)),y?U.splice(U.delegateCount++,0,V):U.push(V),h.event.global[te]=!0)},remove:function(o,c,d,g,y){var v,w,R,I,j,V,G,U,te,fe,Me,Ee=de.hasData(o)&&de.get(o);if(!(!Ee||!(I=Ee.events))){for(c=(c||"").match(cn)||[""],j=c.length;j--;){if(R=Eo.exec(c[j])||[],te=Me=R[1],fe=(R[2]||"").split(".").sort(),!te){for(te in I)h.event.remove(o,te+c[j],d,g,!0);continue}for(G=h.event.special[te]||{},te=(g?G.delegateType:G.bindType)||te,U=I[te]||[],R=R[2]&&new RegExp("(^|\\.)"+fe.join("\\.(?:.*\\.|)")+"(\\.|$)"),w=v=U.length;v--;)V=U[v],(y||Me===V.origType)&&(!d||d.guid===V.guid)&&(!R||R.test(V.namespace))&&(!g||g===V.selector||g==="**"&&V.selector)&&(U.splice(v,1),V.selector&&U.delegateCount--,G.remove&&G.remove.call(o,V));w&&!U.length&&((!G.teardown||G.teardown.call(o,fe,Ee.handle)===!1)&&h.removeEvent(o,te,Ee.handle),delete I[te])}h.isEmptyObject(I)&&de.remove(o,"handle events")}},dispatch:function(o){var c,d,g,y,v,w,R=new Array(arguments.length),I=h.event.fix(o),j=(de.get(this,"events")||Object.create(null))[I.type]||[],V=h.event.special[I.type]||{};for(R[0]=I,c=1;c<arguments.length;c++)R[c]=arguments[c];if(I.delegateTarget=this,!(V.preDispatch&&V.preDispatch.call(this,I)===!1)){for(w=h.event.handlers.call(this,I,j),c=0;(y=w[c++])&&!I.isPropagationStopped();)for(I.currentTarget=y.elem,d=0;(v=y.handlers[d++])&&!I.isImmediatePropagationStopped();)(!I.rnamespace||v.namespace===!1||I.rnamespace.test(v.namespace))&&(I.handleObj=v,I.data=v.data,g=((h.event.special[v.origType]||{}).handle||v.handler).apply(y.elem,R),g!==void 0&&(I.result=g)===!1&&(I.preventDefault(),I.stopPropagation()));return V.postDispatch&&V.postDispatch.call(this,I),I.result}},handlers:function(o,c){var d,g,y,v,w,R=[],I=c.delegateCount,j=o.target;if(I&&j.nodeType&&!(o.type==="click"&&o.button>=1)){for(;j!==this;j=j.parentNode||this)if(j.nodeType===1&&!(o.type==="click"&&j.disabled===!0)){for(v=[],w={},d=0;d<I;d++)g=c[d],y=g.selector+" ",w[y]===void 0&&(w[y]=g.needsContext?h(y,this).index(j)>-1:h.find(y,this,null,[j]).length),w[y]&&v.push(g);v.length&&R.push({elem:j,handlers:v})}}return j=this,I<c.length&&R.push({elem:j,handlers:c.slice(I)}),R},addProp:function(o,c){Object.defineProperty(h.Event.prototype,o,{enumerable:!0,configurable:!0,get:$(c)?function(){if(this.originalEvent)return c(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[o]},set:function(d){Object.defineProperty(this,o,{enumerable:!0,configurable:!0,writable:!0,value:d})}})},fix:function(o){return o[h.expando]?o:new h.Event(o)},special:{load:{noBubble:!0},click:{setup:function(o){var c=this||o;return _i.test(c.type)&&c.click&&ce(c,"input")&&vs(c,"click",!0),!1},trigger:function(o){var c=this||o;return _i.test(c.type)&&c.click&&ce(c,"input")&&vs(c,"click"),!0},_default:function(o){var c=o.target;return _i.test(c.type)&&c.click&&ce(c,"input")&&de.get(c,"click")||ce(c,"a")}},beforeunload:{postDispatch:function(o){o.result!==void 0&&o.originalEvent&&(o.originalEvent.returnValue=o.result)}}}};function vs(o,c,d){if(!d){de.get(o,c)===void 0&&h.event.add(o,c,_r);return}de.set(o,c,!1),h.event.add(o,c,{namespace:!1,handler:function(g){var y,v=de.get(this,c);if(g.isTrigger&1&&this[c]){if(v)(h.event.special[c]||{}).delegateType&&g.stopPropagation();else if(v=u.call(arguments),de.set(this,c,v),this[c](),y=de.get(this,c),de.set(this,c,!1),v!==y)return g.stopImmediatePropagation(),g.preventDefault(),y}else v&&(de.set(this,c,h.event.trigger(v[0],v.slice(1),this)),g.stopPropagation(),g.isImmediatePropagationStopped=_r)}})}h.removeEvent=function(o,c,d){o.removeEventListener&&o.removeEventListener(c,d)},h.Event=function(o,c){if(!(this instanceof h.Event))return new h.Event(o,c);o&&o.type?(this.originalEvent=o,this.type=o.type,this.isDefaultPrevented=o.defaultPrevented||o.defaultPrevented===void 0&&o.returnValue===!1?_r:Si,this.target=o.target&&o.target.nodeType===3?o.target.parentNode:o.target,this.currentTarget=o.currentTarget,this.relatedTarget=o.relatedTarget):this.type=o,c&&h.extend(this,c),this.timeStamp=o&&o.timeStamp||Date.now(),this[h.expando]=!0},h.Event.prototype={constructor:h.Event,isDefaultPrevented:Si,isPropagationStopped:Si,isImmediatePropagationStopped:Si,isSimulated:!1,preventDefault:function(){var o=this.originalEvent;this.isDefaultPrevented=_r,o&&!this.isSimulated&&o.preventDefault()},stopPropagation:function(){var o=this.originalEvent;this.isPropagationStopped=_r,o&&!this.isSimulated&&o.stopPropagation()},stopImmediatePropagation:function(){var o=this.originalEvent;this.isImmediatePropagationStopped=_r,o&&!this.isSimulated&&o.stopImmediatePropagation(),this.stopPropagation()}},h.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},h.event.addProp),h.each({focus:"focusin",blur:"focusout"},function(o,c){function d(g){if(W.documentMode){var y=de.get(this,"handle"),v=h.event.fix(g);v.type=g.type==="focusin"?"focus":"blur",v.isSimulated=!0,y(g),v.target===v.currentTarget&&y(v)}else h.event.simulate(c,g.target,h.event.fix(g))}h.event.special[o]={setup:function(){var g;if(vs(this,o,!0),W.documentMode)g=de.get(this,c),g||this.addEventListener(c,d),de.set(this,c,(g||0)+1);else return!1},trigger:function(){return vs(this,o),!0},teardown:function(){var g;if(W.documentMode)g=de.get(this,c)-1,g?de.set(this,c,g):(this.removeEventListener(c,d),de.remove(this,c));else return!1},_default:function(g){return de.get(g.target,o)},delegateType:c},h.event.special[c]={setup:function(){var g=this.ownerDocument||this.document||this,y=W.documentMode?this:g,v=de.get(y,c);v||(W.documentMode?this.addEventListener(c,d):g.addEventListener(o,d,!0)),de.set(y,c,(v||0)+1)},teardown:function(){var g=this.ownerDocument||this.document||this,y=W.documentMode?this:g,v=de.get(y,c)-1;v?de.set(y,c,v):(W.documentMode?this.removeEventListener(c,d):g.removeEventListener(o,d,!0),de.remove(y,c))}}}),h.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(o,c){h.event.special[o]={delegateType:c,bindType:c,handle:function(d){var g,y=this,v=d.relatedTarget,w=d.handleObj;return(!v||v!==y&&!h.contains(y,v))&&(d.type=w.origType,g=w.handler.apply(this,arguments),d.type=c),g}}}),h.fn.extend({on:function(o,c,d,g){return Ui(this,o,c,d,g)},one:function(o,c,d,g){return Ui(this,o,c,d,g,1)},off:function(o,c,d){var g,y;if(o&&o.preventDefault&&o.handleObj)return g=o.handleObj,h(o.delegateTarget).off(g.namespace?g.origType+"."+g.namespace:g.origType,g.selector,g.handler),this;if(typeof o=="object"){for(y in o)this.off(y,c,o[y]);return this}return(c===!1||typeof c=="function")&&(d=c,c=void 0),d===!1&&(d=Si),this.each(function(){h.event.remove(this,o,d,c)})}});var sc=/<script|<style|<link/i,ac=/checked\s*(?:[^=]|=\s*.checked.)/i,oc=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function To(o,c){return ce(o,"table")&&ce(c.nodeType!==11?c:c.firstChild,"tr")&&h(o).children("tbody")[0]||o}function uc(o){return o.type=(o.getAttribute("type")!==null)+"/"+o.type,o}function lc(o){return(o.type||"").slice(0,5)==="true/"?o.type=o.type.slice(5):o.removeAttribute("type"),o}function Mo(o,c){var d,g,y,v,w,R,I;if(c.nodeType===1){if(de.hasData(o)&&(v=de.get(o),I=v.events,I)){de.remove(c,"handle events");for(y in I)for(d=0,g=I[y].length;d<g;d++)h.event.add(c,y,I[y][d])}Ft.hasData(o)&&(w=Ft.access(o),R=h.extend({},w),Ft.set(c,R))}}function Io(o,c){var d=c.nodeName.toLowerCase();d==="input"&&_i.test(o.type)?c.checked=o.checked:(d==="input"||d==="textarea")&&(c.defaultValue=o.defaultValue)}function ki(o,c,d,g){c=f(c);var y,v,w,R,I,j,V=0,G=o.length,U=G-1,te=c[0],fe=$(te);if(fe||G>1&&typeof te=="string"&&!B.checkClone&&ac.test(te))return o.each(function(Me){var Ee=o.eq(Me);fe&&(c[0]=te.call(this,Me,Ee.html())),ki(Ee,c,d,g)});if(G&&(y=Do(c,o[0].ownerDocument,!1,o,g),v=y.firstChild,y.childNodes.length===1&&(y=v),v||g)){for(w=h.map(Zt(y,"script"),uc),R=w.length;V<G;V++)I=y,V!==U&&(I=h.clone(I,!0,!0),R&&h.merge(w,Zt(I,"script"))),d.call(o[V],I,V);if(R)for(j=w[w.length-1].ownerDocument,h.map(w,lc),V=0;V<R;V++)I=w[V],Co.test(I.type||"")&&!de.access(I,"globalEval")&&h.contains(j,I)&&(I.src&&(I.type||"").toLowerCase()!=="module"?h._evalUrl&&!I.noModule&&h._evalUrl(I.src,{nonce:I.nonce||I.getAttribute("nonce")},j):pe(I.textContent.replace(oc,""),I,j))}return o}function Ao(o,c,d){for(var g,y=c?h.filter(c,o):o,v=0;(g=y[v])!=null;v++)!d&&g.nodeType===1&&h.cleanData(Zt(g)),g.parentNode&&(d&&wr(g)&&ys(Zt(g,"script")),g.parentNode.removeChild(g));return o}h.extend({htmlPrefilter:function(o){return o},clone:function(o,c,d){var g,y,v,w,R=o.cloneNode(!0),I=wr(o);if(!B.noCloneChecked&&(o.nodeType===1||o.nodeType===11)&&!h.isXMLDoc(o))for(w=Zt(R),v=Zt(o),g=0,y=v.length;g<y;g++)Io(v[g],w[g]);if(c)if(d)for(v=v||Zt(o),w=w||Zt(R),g=0,y=v.length;g<y;g++)Mo(v[g],w[g]);else Mo(o,R);return w=Zt(R,"script"),w.length>0&&ys(w,!I&&Zt(o,"script")),R},cleanData:function(o){for(var c,d,g,y=h.event.special,v=0;(d=o[v])!==void 0;v++)if($n(d)){if(c=d[de.expando]){if(c.events)for(g in c.events)y[g]?h.event.remove(d,g):h.removeEvent(d,g,c.handle);d[de.expando]=void 0}d[Ft.expando]&&(d[Ft.expando]=void 0)}}}),h.fn.extend({detach:function(o){return Ao(this,o,!0)},remove:function(o){return Ao(this,o)},text:function(o){return fn(this,function(c){return c===void 0?h.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=c)})},null,o,arguments.length)},append:function(){return ki(this,arguments,function(o){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var c=To(this,o);c.appendChild(o)}})},prepend:function(){return ki(this,arguments,function(o){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var c=To(this,o);c.insertBefore(o,c.firstChild)}})},before:function(){return ki(this,arguments,function(o){this.parentNode&&this.parentNode.insertBefore(o,this)})},after:function(){return ki(this,arguments,function(o){this.parentNode&&this.parentNode.insertBefore(o,this.nextSibling)})},empty:function(){for(var o,c=0;(o=this[c])!=null;c++)o.nodeType===1&&(h.cleanData(Zt(o,!1)),o.textContent="");return this},clone:function(o,c){return o=o??!1,c=c??o,this.map(function(){return h.clone(this,o,c)})},html:function(o){return fn(this,function(c){var d=this[0]||{},g=0,y=this.length;if(c===void 0&&d.nodeType===1)return d.innerHTML;if(typeof c=="string"&&!sc.test(c)&&!hn[(ko.exec(c)||["",""])[1].toLowerCase()]){c=h.htmlPrefilter(c);try{for(;g<y;g++)d=this[g]||{},d.nodeType===1&&(h.cleanData(Zt(d,!1)),d.innerHTML=c);d=0}catch{}}d&&this.empty().append(c)},null,o,arguments.length)},replaceWith:function(){var o=[];return ki(this,arguments,function(c){var d=this.parentNode;h.inArray(this,o)<0&&(h.cleanData(Zt(this)),d&&d.replaceChild(c,this))},o)}}),h.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(o,c){h.fn[o]=function(d){for(var g,y=[],v=h(d),w=v.length-1,R=0;R<=w;R++)g=R===w?this:this.clone(!0),h(v[R])[c](g),m.apply(y,g.get());return this.pushStack(y)}});var oa=new RegExp("^("+xi+")(?!px)[a-z%]+$","i"),ua=/^--/,bs=function(o){var c=o.ownerDocument.defaultView;return(!c||!c.opener)&&(c=t),c.getComputedStyle(o)},Ro=function(o,c,d){var g,y,v={};for(y in c)v[y]=o.style[y],o.style[y]=c[y];g=d.call(o);for(y in c)o.style[y]=v[y];return g},xs=new RegExp(dn.join("|"),"i");(function(){function o(){if(j){I.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",j.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",or.appendChild(I).appendChild(j);var V=t.getComputedStyle(j);d=V.top!=="1%",R=c(V.marginLeft)===12,j.style.right="60%",v=c(V.right)===36,g=c(V.width)===36,j.style.position="absolute",y=c(j.offsetWidth/3)===12,or.removeChild(I),j=null}}function c(V){return Math.round(parseFloat(V))}var d,g,y,v,w,R,I=W.createElement("div"),j=W.createElement("div");j.style&&(j.style.backgroundClip="content-box",j.cloneNode(!0).style.backgroundClip="",B.clearCloneStyle=j.style.backgroundClip==="content-box",h.extend(B,{boxSizingReliable:function(){return o(),g},pixelBoxStyles:function(){return o(),v},pixelPosition:function(){return o(),d},reliableMarginLeft:function(){return o(),R},scrollboxSize:function(){return o(),y},reliableTrDimensions:function(){var V,G,U,te;return w==null&&(V=W.createElement("table"),G=W.createElement("tr"),U=W.createElement("div"),V.style.cssText="position:absolute;left:-11111px;border-collapse:separate",G.style.cssText="box-sizing:content-box;border:1px solid",G.style.height="1px",U.style.height="9px",U.style.display="block",or.appendChild(V).appendChild(G).appendChild(U),te=t.getComputedStyle(G),w=parseInt(te.height,10)+parseInt(te.borderTopWidth,10)+parseInt(te.borderBottomWidth,10)===G.offsetHeight,or.removeChild(V)),w}}))})();function zi(o,c,d){var g,y,v,w,R=ua.test(c),I=o.style;return d=d||bs(o),d&&(w=d.getPropertyValue(c)||d[c],R&&w&&(w=w.replace(qe,"$1")||void 0),w===""&&!wr(o)&&(w=h.style(o,c)),!B.pixelBoxStyles()&&oa.test(w)&&xs.test(c)&&(g=I.width,y=I.minWidth,v=I.maxWidth,I.minWidth=I.maxWidth=I.width=w,w=d.width,I.width=g,I.minWidth=y,I.maxWidth=v)),w!==void 0?w+"":w}function qi(o,c){return{get:function(){if(o()){delete this.get;return}return(this.get=c).apply(this,arguments)}}}var Oo=["Webkit","Moz","ms"],Po=W.createElement("div").style,No={};function Lo(o){for(var c=o[0].toUpperCase()+o.slice(1),d=Oo.length;d--;)if(o=Oo[d]+c,o in Po)return o}function ws(o){var c=h.cssProps[o]||No[o];return c||(o in Po?o:No[o]=Lo(o)||o)}var Fo=/^(none|table(?!-c[ea]).+)/,cc={position:"absolute",visibility:"hidden",display:"block"},$o={letterSpacing:"0",fontWeight:"400"};function jo(o,c,d){var g=Bn.exec(c);return g?Math.max(0,g[2]-(d||0))+(g[3]||"px"):c}function la(o,c,d,g,y,v){var w=c==="width"?1:0,R=0,I=0,j=0;if(d===(g?"border":"content"))return 0;for(;w<4;w+=2)d==="margin"&&(j+=h.css(o,d+dn[w],!0,y)),g?(d==="content"&&(I-=h.css(o,"padding"+dn[w],!0,y)),d!=="margin"&&(I-=h.css(o,"border"+dn[w]+"Width",!0,y))):(I+=h.css(o,"padding"+dn[w],!0,y),d!=="padding"?I+=h.css(o,"border"+dn[w]+"Width",!0,y):R+=h.css(o,"border"+dn[w]+"Width",!0,y));return!g&&v>=0&&(I+=Math.max(0,Math.ceil(o["offset"+c[0].toUpperCase()+c.slice(1)]-v-I-R-.5))||0),I+j}function ca(o,c,d){var g=bs(o),y=!B.boxSizingReliable()||d,v=y&&h.css(o,"boxSizing",!1,g)==="border-box",w=v,R=zi(o,c,g),I="offset"+c[0].toUpperCase()+c.slice(1);if(oa.test(R)){if(!d)return R;R="auto"}return(!B.boxSizingReliable()&&v||!B.reliableTrDimensions()&&ce(o,"tr")||R==="auto"||!parseFloat(R)&&h.css(o,"display",!1,g)==="inline")&&o.getClientRects().length&&(v=h.css(o,"boxSizing",!1,g)==="border-box",w=I in o,w&&(R=o[I])),R=parseFloat(R)||0,R+la(o,c,d||(v?"border":"content"),w,g,R)+"px"}h.extend({cssHooks:{opacity:{get:function(o,c){if(c){var d=zi(o,"opacity");return d===""?"1":d}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(o,c,d,g){if(!(!o||o.nodeType===3||o.nodeType===8||!o.style)){var y,v,w,R=Lt(c),I=ua.test(c),j=o.style;if(I||(c=ws(R)),w=h.cssHooks[c]||h.cssHooks[R],d!==void 0){if(v=typeof d,v==="string"&&(y=Bn.exec(d))&&y[1]&&(d=_o(o,c,y),v="number"),d==null||d!==d)return;v==="number"&&!I&&(d+=y&&y[3]||(h.cssNumber[R]?"":"px")),!B.clearCloneStyle&&d===""&&c.indexOf("background")===0&&(j[c]="inherit"),(!w||!("set"in w)||(d=w.set(o,d,g))!==void 0)&&(I?j.setProperty(c,d):j[c]=d)}else return w&&"get"in w&&(y=w.get(o,!1,g))!==void 0?y:j[c]}},css:function(o,c,d,g){var y,v,w,R=Lt(c),I=ua.test(c);return I||(c=ws(R)),w=h.cssHooks[c]||h.cssHooks[R],w&&"get"in w&&(y=w.get(o,!0,d)),y===void 0&&(y=zi(o,c,g)),y==="normal"&&c in $o&&(y=$o[c]),d===""||d?(v=parseFloat(y),d===!0||isFinite(v)?v||0:y):y}}),h.each(["height","width"],function(o,c){h.cssHooks[c]={get:function(d,g,y){if(g)return Fo.test(h.css(d,"display"))&&(!d.getClientRects().length||!d.getBoundingClientRect().width)?Ro(d,cc,function(){return ca(d,c,y)}):ca(d,c,y)},set:function(d,g,y){var v,w=bs(d),R=!B.scrollboxSize()&&w.position==="absolute",I=R||y,j=I&&h.css(d,"boxSizing",!1,w)==="border-box",V=y?la(d,c,y,j,w):0;return j&&R&&(V-=Math.ceil(d["offset"+c[0].toUpperCase()+c.slice(1)]-parseFloat(w[c])-la(d,c,"border",!1,w)-.5)),V&&(v=Bn.exec(g))&&(v[3]||"px")!=="px"&&(d.style[c]=g,g=h.css(d,c)),jo(d,g,V)}}}),h.cssHooks.marginLeft=qi(B.reliableMarginLeft,function(o,c){if(c)return(parseFloat(zi(o,"marginLeft"))||o.getBoundingClientRect().left-Ro(o,{marginLeft:0},function(){return o.getBoundingClientRect().left}))+"px"}),h.each({margin:"",padding:"",border:"Width"},function(o,c){h.cssHooks[o+c]={expand:function(d){for(var g=0,y={},v=typeof d=="string"?d.split(" "):[d];g<4;g++)y[o+dn[g]+c]=v[g]||v[g-2]||v[0];return y}},o!=="margin"&&(h.cssHooks[o+c].set=jo)}),h.fn.extend({css:function(o,c){return fn(this,function(d,g,y){var v,w,R={},I=0;if(Array.isArray(g)){for(v=bs(d),w=g.length;I<w;I++)R[g[I]]=h.css(d,g[I],!1,v);return R}return y!==void 0?h.style(d,g,y):h.css(d,g)},o,c,arguments.length>1)}});function Wt(o,c,d,g,y){return new Wt.prototype.init(o,c,d,g,y)}h.Tween=Wt,Wt.prototype={constructor:Wt,init:function(o,c,d,g,y,v){this.elem=o,this.prop=d,this.easing=y||h.easing._default,this.options=c,this.start=this.now=this.cur(),this.end=g,this.unit=v||(h.cssNumber[d]?"":"px")},cur:function(){var o=Wt.propHooks[this.prop];return o&&o.get?o.get(this):Wt.propHooks._default.get(this)},run:function(o){var c,d=Wt.propHooks[this.prop];return this.options.duration?this.pos=c=h.easing[this.easing](o,this.options.duration*o,0,1,this.options.duration):this.pos=c=o,this.now=(this.end-this.start)*c+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),d&&d.set?d.set(this):Wt.propHooks._default.set(this),this}},Wt.prototype.init.prototype=Wt.prototype,Wt.propHooks={_default:{get:function(o){var c;return o.elem.nodeType!==1||o.elem[o.prop]!=null&&o.elem.style[o.prop]==null?o.elem[o.prop]:(c=h.css(o.elem,o.prop,""),!c||c==="auto"?0:c)},set:function(o){h.fx.step[o.prop]?h.fx.step[o.prop](o):o.elem.nodeType===1&&(h.cssHooks[o.prop]||o.elem.style[ws(o.prop)]!=null)?h.style(o.elem,o.prop,o.now+o.unit):o.elem[o.prop]=o.now}}},Wt.propHooks.scrollTop=Wt.propHooks.scrollLeft={set:function(o){o.elem.nodeType&&o.elem.parentNode&&(o.elem[o.prop]=o.now)}},h.easing={linear:function(o){return o},swing:function(o){return .5-Math.cos(o*Math.PI)/2},_default:"swing"},h.fx=Wt.prototype.init,h.fx.step={};var Gr,Ci,fc=/^(?:toggle|show|hide)$/,Bo=/queueHooks$/;function Di(){Ci&&(W.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(Di):t.setTimeout(Di,h.fx.interval),h.fx.tick())}function fa(){return t.setTimeout(function(){Gr=void 0}),Gr=Date.now()}function _s(o,c){var d,g=0,y={height:o};for(c=c?1:0;g<4;g+=2-c)d=dn[g],y["margin"+d]=y["padding"+d]=o;return c&&(y.opacity=y.width=o),y}function da(o,c,d){for(var g,y=(kn.tweeners[c]||[]).concat(kn.tweeners["*"]),v=0,w=y.length;v<w;v++)if(g=y[v].call(d,c,o))return g}function Yo(o,c,d){var g,y,v,w,R,I,j,V,G="width"in c||"height"in c,U=this,te={},fe=o.style,Me=o.nodeType&&wi(o),Ee=de.get(o,"fxshow");d.queue||(w=h._queueHooks(o,"fx"),w.unqueued==null&&(w.unqueued=0,R=w.empty.fire,w.empty.fire=function(){w.unqueued||R()}),w.unqueued++,U.always(function(){U.always(function(){w.unqueued--,h.queue(o,"fx").length||w.empty.fire()})}));for(g in c)if(y=c[g],fc.test(y)){if(delete c[g],v=v||y==="toggle",y===(Me?"hide":"show"))if(y==="show"&&Ee&&Ee[g]!==void 0)Me=!0;else continue;te[g]=Ee&&Ee[g]||h.style(o,g)}if(I=!h.isEmptyObject(c),!(!I&&h.isEmptyObject(te))){G&&o.nodeType===1&&(d.overflow=[fe.overflow,fe.overflowX,fe.overflowY],j=Ee&&Ee.display,j==null&&(j=de.get(o,"display")),V=h.css(o,"display"),V==="none"&&(j?V=j:(Vr([o],!0),j=o.style.display||j,V=h.css(o,"display"),Vr([o]))),(V==="inline"||V==="inline-block"&&j!=null)&&h.css(o,"float")==="none"&&(I||(U.done(function(){fe.display=j}),j==null&&(V=fe.display,j=V==="none"?"":V)),fe.display="inline-block")),d.overflow&&(fe.overflow="hidden",U.always(function(){fe.overflow=d.overflow[0],fe.overflowX=d.overflow[1],fe.overflowY=d.overflow[2]})),I=!1;for(g in te)I||(Ee?"hidden"in Ee&&(Me=Ee.hidden):Ee=de.access(o,"fxshow",{display:j}),v&&(Ee.hidden=!Me),Me&&Vr([o],!0),U.done(function(){Me||Vr([o]),de.remove(o,"fxshow");for(g in te)h.style(o,g,te[g])})),I=da(Me?Ee[g]:0,g,U),g in Ee||(Ee[g]=I.start,Me&&(I.end=I.start,I.start=0))}}function ha(o,c){var d,g,y,v,w;for(d in o)if(g=Lt(d),y=c[g],v=o[d],Array.isArray(v)&&(y=v[1],v=o[d]=v[0]),d!==g&&(o[g]=v,delete o[d]),w=h.cssHooks[g],w&&"expand"in w){v=w.expand(v),delete o[g];for(d in v)d in o||(o[d]=v[d],c[d]=y)}else c[g]=y}function kn(o,c,d){var g,y,v=0,w=kn.prefilters.length,R=h.Deferred().always(function(){delete I.elem}),I=function(){if(y)return!1;for(var G=Gr||fa(),U=Math.max(0,j.startTime+j.duration-G),te=U/j.duration||0,fe=1-te,Me=0,Ee=j.tweens.length;Me<Ee;Me++)j.tweens[Me].run(fe);return R.notifyWith(o,[j,fe,U]),fe<1&&Ee?U:(Ee||R.notifyWith(o,[j,1,0]),R.resolveWith(o,[j]),!1)},j=R.promise({elem:o,props:h.extend({},c),opts:h.extend(!0,{specialEasing:{},easing:h.easing._default},d),originalProperties:c,originalOptions:d,startTime:Gr||fa(),duration:d.duration,tweens:[],createTween:function(G,U){var te=h.Tween(o,j.opts,G,U,j.opts.specialEasing[G]||j.opts.easing);return j.tweens.push(te),te},stop:function(G){var U=0,te=G?j.tweens.length:0;if(y)return this;for(y=!0;U<te;U++)j.tweens[U].run(1);return G?(R.notifyWith(o,[j,1,0]),R.resolveWith(o,[j,G])):R.rejectWith(o,[j,G]),this}}),V=j.props;for(ha(V,j.opts.specialEasing);v<w;v++)if(g=kn.prefilters[v].call(j,o,V,j.opts),g)return $(g.stop)&&(h._queueHooks(j.elem,j.opts.queue).stop=g.stop.bind(g)),g;return h.map(V,da,j),$(j.opts.start)&&j.opts.start.call(o,j),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always),h.fx.timer(h.extend(I,{elem:o,anim:j,queue:j.opts.queue})),j}h.Animation=h.extend(kn,{tweeners:{"*":[function(o,c){var d=this.createTween(o,c);return _o(d.elem,o,Bn.exec(c),d),d}]},tweener:function(o,c){$(o)?(c=o,o=["*"]):o=o.match(cn);for(var d,g=0,y=o.length;g<y;g++)d=o[g],kn.tweeners[d]=kn.tweeners[d]||[],kn.tweeners[d].unshift(c)},prefilters:[Yo],prefilter:function(o,c){c?kn.prefilters.unshift(o):kn.prefilters.push(o)}}),h.speed=function(o,c,d){var g=o&&typeof o=="object"?h.extend({},o):{complete:d||!d&&c||$(o)&&o,duration:o,easing:d&&c||c&&!$(c)&&c};return h.fx.off?g.duration=0:typeof g.duration!="number"&&(g.duration in h.fx.speeds?g.duration=h.fx.speeds[g.duration]:g.duration=h.fx.speeds._default),(g.queue==null||g.queue===!0)&&(g.queue="fx"),g.old=g.complete,g.complete=function(){$(g.old)&&g.old.call(this),g.queue&&h.dequeue(this,g.queue)},g},h.fn.extend({fadeTo:function(o,c,d,g){return this.filter(wi).css("opacity",0).show().end().animate({opacity:c},o,d,g)},animate:function(o,c,d,g){var y=h.isEmptyObject(o),v=h.speed(c,d,g),w=function(){var R=kn(this,h.extend({},o),v);(y||de.get(this,"finish"))&&R.stop(!0)};return w.finish=w,y||v.queue===!1?this.each(w):this.queue(v.queue,w)},stop:function(o,c,d){var g=function(y){var v=y.stop;delete y.stop,v(d)};return typeof o!="string"&&(d=c,c=o,o=void 0),c&&this.queue(o||"fx",[]),this.each(function(){var y=!0,v=o!=null&&o+"queueHooks",w=h.timers,R=de.get(this);if(v)R[v]&&R[v].stop&&g(R[v]);else for(v in R)R[v]&&R[v].stop&&Bo.test(v)&&g(R[v]);for(v=w.length;v--;)w[v].elem===this&&(o==null||w[v].queue===o)&&(w[v].anim.stop(d),y=!1,w.splice(v,1));(y||!d)&&h.dequeue(this,o)})},finish:function(o){return o!==!1&&(o=o||"fx"),this.each(function(){var c,d=de.get(this),g=d[o+"queue"],y=d[o+"queueHooks"],v=h.timers,w=g?g.length:0;for(d.finish=!0,h.queue(this,o,[]),y&&y.stop&&y.stop.call(this,!0),c=v.length;c--;)v[c].elem===this&&v[c].queue===o&&(v[c].anim.stop(!0),v.splice(c,1));for(c=0;c<w;c++)g[c]&&g[c].finish&&g[c].finish.call(this);delete d.finish})}}),h.each(["toggle","show","hide"],function(o,c){var d=h.fn[c];h.fn[c]=function(g,y,v){return g==null||typeof g=="boolean"?d.apply(this,arguments):this.animate(_s(c,!0),g,y,v)}}),h.each({slideDown:_s("show"),slideUp:_s("hide"),slideToggle:_s("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(o,c){h.fn[o]=function(d,g,y){return this.animate(c,d,g,y)}}),h.timers=[],h.fx.tick=function(){var o,c=0,d=h.timers;for(Gr=Date.now();c<d.length;c++)o=d[c],!o()&&d[c]===o&&d.splice(c--,1);d.length||h.fx.stop(),Gr=void 0},h.fx.timer=function(o){h.timers.push(o),h.fx.start()},h.fx.interval=13,h.fx.start=function(){Ci||(Ci=!0,Di())},h.fx.stop=function(){Ci=null},h.fx.speeds={slow:600,fast:200,_default:400},h.fn.delay=function(o,c){return o=h.fx&&h.fx.speeds[o]||o,c=c||"fx",this.queue(c,function(d,g){var y=t.setTimeout(d,o);g.stop=function(){t.clearTimeout(y)}})},function(){var o=W.createElement("input"),c=W.createElement("select"),d=c.appendChild(W.createElement("option"));o.type="checkbox",B.checkOn=o.value!=="",B.optSelected=d.selected,o=W.createElement("input"),o.value="t",o.type="radio",B.radioValue=o.value==="t"}();var pa,Kr=h.expr.attrHandle;h.fn.extend({attr:function(o,c){return fn(this,h.attr,o,c,arguments.length>1)},removeAttr:function(o){return this.each(function(){h.removeAttr(this,o)})}}),h.extend({attr:function(o,c,d){var g,y,v=o.nodeType;if(!(v===3||v===8||v===2)){if(typeof o.getAttribute>"u")return h.prop(o,c,d);if((v!==1||!h.isXMLDoc(o))&&(y=h.attrHooks[c.toLowerCase()]||(h.expr.match.bool.test(c)?pa:void 0)),d!==void 0){if(d===null){h.removeAttr(o,c);return}return y&&"set"in y&&(g=y.set(o,d,c))!==void 0?g:(o.setAttribute(c,d+""),d)}return y&&"get"in y&&(g=y.get(o,c))!==null?g:(g=h.find.attr(o,c),g??void 0)}},attrHooks:{type:{set:function(o,c){if(!B.radioValue&&c==="radio"&&ce(o,"input")){var d=o.value;return o.setAttribute("type",c),d&&(o.value=d),c}}}},removeAttr:function(o,c){var d,g=0,y=c&&c.match(cn);if(y&&o.nodeType===1)for(;d=y[g++];)o.removeAttribute(d)}}),pa={set:function(o,c,d){return c===!1?h.removeAttr(o,d):o.setAttribute(d,d),d}},h.each(h.expr.match.bool.source.match(/\w+/g),function(o,c){var d=Kr[c]||h.find.attr;Kr[c]=function(g,y,v){var w,R,I=y.toLowerCase();return v||(R=Kr[I],Kr[I]=w,w=d(g,y,v)!=null?I:null,Kr[I]=R),w}});var ga=/^(?:input|select|textarea|button)$/i,Ei=/^(?:a|area)$/i;h.fn.extend({prop:function(o,c){return fn(this,h.prop,o,c,arguments.length>1)},removeProp:function(o){return this.each(function(){delete this[h.propFix[o]||o]})}}),h.extend({prop:function(o,c,d){var g,y,v=o.nodeType;if(!(v===3||v===8||v===2))return(v!==1||!h.isXMLDoc(o))&&(c=h.propFix[c]||c,y=h.propHooks[c]),d!==void 0?y&&"set"in y&&(g=y.set(o,d,c))!==void 0?g:o[c]=d:y&&"get"in y&&(g=y.get(o,c))!==null?g:o[c]},propHooks:{tabIndex:{get:function(o){var c=h.find.attr(o,"tabindex");return c?parseInt(c,10):ga.test(o.nodeName)||Ei.test(o.nodeName)&&o.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),B.optSelected||(h.propHooks.selected={get:function(o){var c=o.parentNode;return c&&c.parentNode&&c.parentNode.selectedIndex,null},set:function(o){var c=o.parentNode;c&&(c.selectedIndex,c.parentNode&&c.parentNode.selectedIndex)}}),h.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){h.propFix[this.toLowerCase()]=this});function Sr(o){var c=o.match(cn)||[];return c.join(" ")}function kr(o){return o.getAttribute&&o.getAttribute("class")||""}function ma(o){return Array.isArray(o)?o:typeof o=="string"?o.match(cn)||[]:[]}h.fn.extend({addClass:function(o){var c,d,g,y,v,w;return $(o)?this.each(function(R){h(this).addClass(o.call(this,R,kr(this)))}):(c=ma(o),c.length?this.each(function(){if(g=kr(this),d=this.nodeType===1&&" "+Sr(g)+" ",d){for(v=0;v<c.length;v++)y=c[v],d.indexOf(" "+y+" ")<0&&(d+=y+" ");w=Sr(d),g!==w&&this.setAttribute("class",w)}}):this)},removeClass:function(o){var c,d,g,y,v,w;return $(o)?this.each(function(R){h(this).removeClass(o.call(this,R,kr(this)))}):arguments.length?(c=ma(o),c.length?this.each(function(){if(g=kr(this),d=this.nodeType===1&&" "+Sr(g)+" ",d){for(v=0;v<c.length;v++)for(y=c[v];d.indexOf(" "+y+" ")>-1;)d=d.replace(" "+y+" "," ");w=Sr(d),g!==w&&this.setAttribute("class",w)}}):this):this.attr("class","")},toggleClass:function(o,c){var d,g,y,v,w=typeof o,R=w==="string"||Array.isArray(o);return $(o)?this.each(function(I){h(this).toggleClass(o.call(this,I,kr(this),c),c)}):typeof c=="boolean"&&R?c?this.addClass(o):this.removeClass(o):(d=ma(o),this.each(function(){if(R)for(v=h(this),y=0;y<d.length;y++)g=d[y],v.hasClass(g)?v.removeClass(g):v.addClass(g);else(o===void 0||w==="boolean")&&(g=kr(this),g&&de.set(this,"__className__",g),this.setAttribute&&this.setAttribute("class",g||o===!1?"":de.get(this,"__className__")||""))}))},hasClass:function(o){var c,d,g=0;for(c=" "+o+" ";d=this[g++];)if(d.nodeType===1&&(" "+Sr(kr(d))+" ").indexOf(c)>-1)return!0;return!1}});var Wo=/\r/g;h.fn.extend({val:function(o){var c,d,g,y=this[0];return arguments.length?(g=$(o),this.each(function(v){var w;this.nodeType===1&&(g?w=o.call(this,v,h(this).val()):w=o,w==null?w="":typeof w=="number"?w+="":Array.isArray(w)&&(w=h.map(w,function(R){return R==null?"":R+""})),c=h.valHooks[this.type]||h.valHooks[this.nodeName.toLowerCase()],(!c||!("set"in c)||c.set(this,w,"value")===void 0)&&(this.value=w))})):y?(c=h.valHooks[y.type]||h.valHooks[y.nodeName.toLowerCase()],c&&"get"in c&&(d=c.get(y,"value"))!==void 0?d:(d=y.value,typeof d=="string"?d.replace(Wo,""):d??"")):void 0}}),h.extend({valHooks:{option:{get:function(o){var c=h.find.attr(o,"value");return c??Sr(h.text(o))}},select:{get:function(o){var c,d,g,y=o.options,v=o.selectedIndex,w=o.type==="select-one",R=w?null:[],I=w?v+1:y.length;for(v<0?g=I:g=w?v:0;g<I;g++)if(d=y[g],(d.selected||g===v)&&!d.disabled&&(!d.parentNode.disabled||!ce(d.parentNode,"optgroup"))){if(c=h(d).val(),w)return c;R.push(c)}return R},set:function(o,c){for(var d,g,y=o.options,v=h.makeArray(c),w=y.length;w--;)g=y[w],(g.selected=h.inArray(h.valHooks.option.get(g),v)>-1)&&(d=!0);return d||(o.selectedIndex=-1),v}}}}),h.each(["radio","checkbox"],function(){h.valHooks[this]={set:function(o,c){if(Array.isArray(c))return o.checked=h.inArray(h(o).val(),c)>-1}},B.checkOn||(h.valHooks[this].get=function(o){return o.getAttribute("value")===null?"on":o.value})});var Ti=t.location,ya={guid:Date.now()},Ss=/\?/;h.parseXML=function(o){var c,d;if(!o||typeof o!="string")return null;try{c=new t.DOMParser().parseFromString(o,"text/xml")}catch{}return d=c&&c.getElementsByTagName("parsererror")[0],(!c||d)&&h.error("Invalid XML: "+(d?h.map(d.childNodes,function(g){return g.textContent}).join(`
|
|
140
|
+
`):o)),c};var Ho=/^(?:focusinfocus|focusoutblur)$/,Uo=function(o){o.stopPropagation()};h.extend(h.event,{trigger:function(o,c,d,g){var y,v,w,R,I,j,V,G,U=[d||W],te=O.call(o,"type")?o.type:o,fe=O.call(o,"namespace")?o.namespace.split("."):[];if(v=G=w=d=d||W,!(d.nodeType===3||d.nodeType===8)&&!Ho.test(te+h.event.triggered)&&(te.indexOf(".")>-1&&(fe=te.split("."),te=fe.shift(),fe.sort()),I=te.indexOf(":")<0&&"on"+te,o=o[h.expando]?o:new h.Event(te,typeof o=="object"&&o),o.isTrigger=g?2:3,o.namespace=fe.join("."),o.rnamespace=o.namespace?new RegExp("(^|\\.)"+fe.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,o.result=void 0,o.target||(o.target=d),c=c==null?[o]:h.makeArray(c,[o]),V=h.event.special[te]||{},!(!g&&V.trigger&&V.trigger.apply(d,c)===!1))){if(!g&&!V.noBubble&&!Z(d)){for(R=V.delegateType||te,Ho.test(R+te)||(v=v.parentNode);v;v=v.parentNode)U.push(v),w=v;w===(d.ownerDocument||W)&&U.push(w.defaultView||w.parentWindow||t)}for(y=0;(v=U[y++])&&!o.isPropagationStopped();)G=v,o.type=y>1?R:V.bindType||te,j=(de.get(v,"events")||Object.create(null))[o.type]&&de.get(v,"handle"),j&&j.apply(v,c),j=I&&v[I],j&&j.apply&&$n(v)&&(o.result=j.apply(v,c),o.result===!1&&o.preventDefault());return o.type=te,!g&&!o.isDefaultPrevented()&&(!V._default||V._default.apply(U.pop(),c)===!1)&&$n(d)&&I&&$(d[te])&&!Z(d)&&(w=d[I],w&&(d[I]=null),h.event.triggered=te,o.isPropagationStopped()&&G.addEventListener(te,Uo),d[te](),o.isPropagationStopped()&&G.removeEventListener(te,Uo),h.event.triggered=void 0,w&&(d[I]=w)),o.result}},simulate:function(o,c,d){var g=h.extend(new h.Event,d,{type:o,isSimulated:!0});h.event.trigger(g,null,c)}}),h.fn.extend({trigger:function(o,c){return this.each(function(){h.event.trigger(o,c,this)})},triggerHandler:function(o,c){var d=this[0];if(d)return h.event.trigger(o,c,d,!0)}});var dc=/\[\]$/,va=/\r?\n/g,hc=/^(?:submit|button|image|reset|file)$/i,pc=/^(?:input|select|textarea|keygen)/i;function ba(o,c,d,g){var y;if(Array.isArray(c))h.each(c,function(v,w){d||dc.test(o)?g(o,w):ba(o+"["+(typeof w=="object"&&w!=null?v:"")+"]",w,d,g)});else if(!d&&ae(c)==="object")for(y in c)ba(o+"["+y+"]",c[y],d,g);else g(o,c)}h.param=function(o,c){var d,g=[],y=function(v,w){var R=$(w)?w():w;g[g.length]=encodeURIComponent(v)+"="+encodeURIComponent(R??"")};if(o==null)return"";if(Array.isArray(o)||o.jquery&&!h.isPlainObject(o))h.each(o,function(){y(this.name,this.value)});else for(d in o)ba(d,o[d],c,y);return g.join("&")},h.fn.extend({serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var o=h.prop(this,"elements");return o?h.makeArray(o):this}).filter(function(){var o=this.type;return this.name&&!h(this).is(":disabled")&&pc.test(this.nodeName)&&!hc.test(o)&&(this.checked||!_i.test(o))}).map(function(o,c){var d=h(this).val();return d==null?null:Array.isArray(d)?h.map(d,function(g){return{name:c.name,value:g.replace(va,`\r
|
|
141
141
|
`)}}):{name:c.name,value:d.replace(va,`\r
|
|
142
|
-
`)}}).get()}});var gc=/%20/g,xa=/#.*$/,mc=/([?&])_=[^&]*/,yc=/^(.*?):[ \t]*([^\r\n]*)$/mg,vc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,bc=/^(?:GET|HEAD)$/,xc=/^\/\//,at={},tt={},Uo="*/".concat("*"),wa=W.createElement("a");wa.href=Ti.href;function zo(o){return function(c,d){typeof c!="string"&&(d=c,c="*");var g,y=0,v=c.toLowerCase().match(cn)||[];if($(d))for(;g=v[y++];)g[0]==="+"?(g=g.slice(1)||"*",(o[g]=o[g]||[]).unshift(d)):(o[g]=o[g]||[]).push(d)}}function Vo(o,c,d,g){var y={},v=o===tt;function w(R){var I;return y[R]=!0,h.each(o[R]||[],function(j,q){var G=q(c,d,g);if(typeof G=="string"&&!v&&!y[G])return c.dataTypes.unshift(G),w(G),!1;if(v)return!(I=G)}),I}return w(c.dataTypes[0])||!y["*"]&&w("*")}function _a(o,c){var d,g,y=h.ajaxSettings.flatOptions||{};for(d in c)c[d]!==void 0&&((y[d]?o:g||(g={}))[d]=c[d]);return g&&h.extend(!0,o,g),o}function wc(o,c,d){for(var g,y,v,w,R=o.contents,I=o.dataTypes;I[0]==="*";)I.shift(),g===void 0&&(g=o.mimeType||c.getResponseHeader("Content-Type"));if(g){for(y in R)if(R[y]&&R[y].test(g)){I.unshift(y);break}}if(I[0]in d)v=I[0];else{for(y in d){if(!I[0]||o.converters[y+" "+I[0]]){v=y;break}w||(w=y)}v=v||w}if(v)return v!==I[0]&&I.unshift(v),d[v]}function qo(o,c,d,g){var y,v,w,R,I,j={},q=o.dataTypes.slice();if(q[1])for(w in o.converters)j[w.toLowerCase()]=o.converters[w];for(v=q.shift();v;)if(o.responseFields[v]&&(d[o.responseFields[v]]=c),!I&&g&&o.dataFilter&&(c=o.dataFilter(c,o.dataType)),I=v,v=q.shift(),v){if(v==="*")v=I;else if(I!=="*"&&I!==v){if(w=j[I+" "+v]||j["* "+v],!w){for(y in j)if(R=y.split(" "),R[1]===v&&(w=j[I+" "+R[0]]||j["* "+R[0]],w)){w===!0?w=j[y]:j[y]!==!0&&(v=R[0],q.unshift(R[1]));break}}if(w!==!0)if(w&&o.throws)c=w(c);else try{c=w(c)}catch(G){return{state:"parsererror",error:w?G:"No conversion from "+I+" to "+v}}}}return{state:"success",data:c}}h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ti.href,type:"GET",isLocal:vc.test(Ti.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Uo,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":h.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(o,c){return c?_a(_a(o,h.ajaxSettings),c):_a(h.ajaxSettings,o)},ajaxPrefilter:zo(at),ajaxTransport:zo(tt),ajax:function(o,c){typeof o=="object"&&(c=o,o=void 0),c=c||{};var d,g,y,v,w,R,I,j,q,G,U=h.ajaxSetup({},c),te=U.context||U,fe=U.context&&(te.nodeType||te.jquery)?h(te):h.event,Me=h.Deferred(),Ee=h.Callbacks("once memory"),It=U.statusCode||{},yt={},Yn={},Wn="canceled",$e={readyState:0,getResponseHeader:function(je){var rt;if(I){if(!v)for(v={};rt=yc.exec(y);)v[rt[1].toLowerCase()+" "]=(v[rt[1].toLowerCase()+" "]||[]).concat(rt[2]);rt=v[je.toLowerCase()+" "]}return rt==null?null:rt.join(", ")},getAllResponseHeaders:function(){return I?y:null},setRequestHeader:function(je,rt){return I==null&&(je=Yn[je.toLowerCase()]=Yn[je.toLowerCase()]||je,yt[je]=rt),this},overrideMimeType:function(je){return I==null&&(U.mimeType=je),this},statusCode:function(je){var rt;if(je)if(I)$e.always(je[$e.status]);else for(rt in je)It[rt]=[It[rt],je[rt]];return this},abort:function(je){var rt=je||Wn;return d&&d.abort(rt),Cr(0,rt),this}};if(Me.promise($e),U.url=((o||U.url||Ti.href)+"").replace(xc,Ti.protocol+"//"),U.type=c.method||c.type||U.method||U.type,U.dataTypes=(U.dataType||"*").toLowerCase().match(cn)||[""],U.crossDomain==null){R=W.createElement("a");try{R.href=U.url,R.href=R.href,U.crossDomain=wa.protocol+"//"+wa.host!=R.protocol+"//"+R.host}catch{U.crossDomain=!0}}if(U.data&&U.processData&&typeof U.data!="string"&&(U.data=h.param(U.data,U.traditional)),Vo(at,U,c,$e),I)return $e;j=h.event&&U.global,j&&h.active++===0&&h.event.trigger("ajaxStart"),U.type=U.type.toUpperCase(),U.hasContent=!bc.test(U.type),g=U.url.replace(xa,""),U.hasContent?U.data&&U.processData&&(U.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(U.data=U.data.replace(gc,"+")):(G=U.url.slice(g.length),U.data&&(U.processData||typeof U.data=="string")&&(g+=(Ss.test(g)?"&":"?")+U.data,delete U.data),U.cache===!1&&(g=g.replace(mc,"$1"),G=(Ss.test(g)?"&":"?")+"_="+ya.guid+++G),U.url=g+G),U.ifModified&&(h.lastModified[g]&&$e.setRequestHeader("If-Modified-Since",h.lastModified[g]),h.etag[g]&&$e.setRequestHeader("If-None-Match",h.etag[g])),(U.data&&U.hasContent&&U.contentType!==!1||c.contentType)&&$e.setRequestHeader("Content-Type",U.contentType),$e.setRequestHeader("Accept",U.dataTypes[0]&&U.accepts[U.dataTypes[0]]?U.accepts[U.dataTypes[0]]+(U.dataTypes[0]!=="*"?", "+Uo+"; q=0.01":""):U.accepts["*"]);for(q in U.headers)$e.setRequestHeader(q,U.headers[q]);if(U.beforeSend&&(U.beforeSend.call(te,$e,U)===!1||I))return $e.abort();if(Wn="abort",Ee.add(U.complete),$e.done(U.success),$e.fail(U.error),d=Vo(tt,U,c,$e),!d)Cr(-1,"No Transport");else{if($e.readyState=1,j&&fe.trigger("ajaxSend",[$e,U]),I)return $e;U.async&&U.timeout>0&&(w=t.setTimeout(function(){$e.abort("timeout")},U.timeout));try{I=!1,d.send(yt,Cr)}catch(je){if(I)throw je;Cr(-1,je)}}function Cr(je,rt,qi,Cs){var Cn,Zr,gn,lr,Dr,Xt=rt;I||(I=!0,w&&t.clearTimeout(w),d=void 0,y=Cs||"",$e.readyState=je>0?4:0,Cn=je>=200&&je<300||je===304,qi&&(lr=wc(U,$e,qi)),!Cn&&h.inArray("script",U.dataTypes)>-1&&h.inArray("json",U.dataTypes)<0&&(U.converters["text script"]=function(){}),lr=qo(U,lr,$e,Cn),Cn?(U.ifModified&&(Dr=$e.getResponseHeader("Last-Modified"),Dr&&(h.lastModified[g]=Dr),Dr=$e.getResponseHeader("etag"),Dr&&(h.etag[g]=Dr)),je===204||U.type==="HEAD"?Xt="nocontent":je===304?Xt="notmodified":(Xt=lr.state,Zr=lr.data,gn=lr.error,Cn=!gn)):(gn=Xt,(je||!Xt)&&(Xt="error",je<0&&(je=0))),$e.status=je,$e.statusText=(rt||Xt)+"",Cn?Me.resolveWith(te,[Zr,Xt,$e]):Me.rejectWith(te,[$e,Xt,gn]),$e.statusCode(It),It=void 0,j&&fe.trigger(Cn?"ajaxSuccess":"ajaxError",[$e,U,Cn?Zr:gn]),Ee.fireWith(te,[$e,Xt]),j&&(fe.trigger("ajaxComplete",[$e,U]),--h.active||h.event.trigger("ajaxStop")))}return $e},getJSON:function(o,c,d){return h.get(o,c,d,"json")},getScript:function(o,c){return h.get(o,void 0,c,"script")}}),h.each(["get","post"],function(o,c){h[c]=function(d,g,y,v){return $(g)&&(v=v||y,y=g,g=void 0),h.ajax(h.extend({url:d,type:c,dataType:v,data:g,success:y},h.isPlainObject(d)&&d))}}),h.ajaxPrefilter(function(o){var c;for(c in o.headers)c.toLowerCase()==="content-type"&&(o.contentType=o.headers[c]||"")}),h._evalUrl=function(o,c,d){return h.ajax({url:o,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(g){h.globalEval(g,c,d)}})},h.fn.extend({wrapAll:function(o){var c;return this[0]&&($(o)&&(o=o.call(this[0])),c=h(o,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&c.insertBefore(this[0]),c.map(function(){for(var d=this;d.firstElementChild;)d=d.firstElementChild;return d}).append(this)),this},wrapInner:function(o){return $(o)?this.each(function(c){h(this).wrapInner(o.call(this,c))}):this.each(function(){var c=h(this),d=c.contents();d.length?d.wrapAll(o):c.append(o)})},wrap:function(o){var c=$(o);return this.each(function(d){h(this).wrapAll(c?o.call(this,d):o)})},unwrap:function(o){return this.parent(o).not("body").each(function(){h(this).replaceWith(this.childNodes)}),this}}),h.expr.pseudos.hidden=function(o){return!h.expr.pseudos.visible(o)},h.expr.pseudos.visible=function(o){return!!(o.offsetWidth||o.offsetHeight||o.getClientRects().length)},h.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var _c={0:200,1223:204},mt=h.ajaxSettings.xhr();B.cors=!!mt&&"withCredentials"in mt,B.ajax=mt=!!mt,h.ajaxTransport(function(o){var c,d;if(B.cors||mt&&!o.crossDomain)return{send:function(g,y){var v,w=o.xhr();if(w.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(v in o.xhrFields)w[v]=o.xhrFields[v];o.mimeType&&w.overrideMimeType&&w.overrideMimeType(o.mimeType),!o.crossDomain&&!g["X-Requested-With"]&&(g["X-Requested-With"]="XMLHttpRequest");for(v in g)w.setRequestHeader(v,g[v]);c=function(R){return function(){c&&(c=d=w.onload=w.onerror=w.onabort=w.ontimeout=w.onreadystatechange=null,R==="abort"?w.abort():R==="error"?typeof w.status!="number"?y(0,"error"):y(w.status,w.statusText):y(_c[w.status]||w.status,w.statusText,(w.responseType||"text")!=="text"||typeof w.responseText!="string"?{binary:w.response}:{text:w.responseText},w.getAllResponseHeaders()))}},w.onload=c(),d=w.onerror=w.ontimeout=c("error"),w.onabort!==void 0?w.onabort=d:w.onreadystatechange=function(){w.readyState===4&&t.setTimeout(function(){c&&d()})},c=c("abort");try{w.send(o.hasContent&&o.data||null)}catch(R){if(c)throw R}},abort:function(){c&&c()}}}),h.ajaxPrefilter(function(o){o.crossDomain&&(o.contents.script=!1)}),h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(o){return h.globalEval(o),o}}}),h.ajaxPrefilter("script",function(o){o.cache===void 0&&(o.cache=!1),o.crossDomain&&(o.type="GET")}),h.ajaxTransport("script",function(o){if(o.crossDomain||o.scriptAttrs){var c,d;return{send:function(g,y){c=h("<script>").attr(o.scriptAttrs||{}).prop({charset:o.scriptCharset,src:o.url}).on("load error",d=function(v){c.remove(),d=null,v&&y(v.type==="error"?404:200,v.type)}),W.head.appendChild(c[0])},abort:function(){d&&d()}}}});var ks=[],ur=/(=)\?(?=&|$)|\?\?/;h.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var o=ks.pop()||h.expando+"_"+ya.guid++;return this[o]=!0,o}}),h.ajaxPrefilter("json jsonp",function(o,c,d){var g,y,v,w=o.jsonp!==!1&&(ur.test(o.url)?"url":typeof o.data=="string"&&(o.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&ur.test(o.data)&&"data");if(w||o.dataTypes[0]==="jsonp")return g=o.jsonpCallback=$(o.jsonpCallback)?o.jsonpCallback():o.jsonpCallback,w?o[w]=o[w].replace(ur,"$1"+g):o.jsonp!==!1&&(o.url+=(Ss.test(o.url)?"&":"?")+o.jsonp+"="+g),o.converters["script json"]=function(){return v||h.error(g+" was not called"),v[0]},o.dataTypes[0]="json",y=t[g],t[g]=function(){v=arguments},d.always(function(){y===void 0?h(t).removeProp(g):t[g]=y,o[g]&&(o.jsonpCallback=c.jsonpCallback,ks.push(g)),v&&$(y)&&y(v[0]),v=y=void 0}),"script"}),B.createHTMLDocument=function(){var o=W.implementation.createHTMLDocument("").body;return o.innerHTML="<form></form><form></form>",o.childNodes.length===2}(),h.parseHTML=function(o,c,d){if(typeof o!="string")return[];typeof c=="boolean"&&(d=c,c=!1);var g,y,v;return c||(B.createHTMLDocument?(c=W.implementation.createHTMLDocument(""),g=c.createElement("base"),g.href=W.location.href,c.head.appendChild(g)):c=W),y=St.exec(o),v=!d&&[],y?[c.createElement(y[1])]:(y=Co([o],c,v),v&&v.length&&h(v).remove(),h.merge([],y.childNodes))},h.fn.load=function(o,c,d){var g,y,v,w=this,R=o.indexOf(" ");return R>-1&&(g=Sr(o.slice(R)),o=o.slice(0,R)),$(c)?(d=c,c=void 0):c&&typeof c=="object"&&(y="POST"),w.length>0&&h.ajax({url:o,type:y||"GET",dataType:"html",data:c}).done(function(I){v=arguments,w.html(g?h("<div>").append(h.parseHTML(I)).find(g):I)}).always(d&&function(I,j){w.each(function(){d.apply(this,v||[I.responseText,j,I])})}),this},h.expr.pseudos.animated=function(o){return h.grep(h.timers,function(c){return o===c.elem}).length},h.offset={setOffset:function(o,c,d){var g,y,v,w,R,I,j,q=h.css(o,"position"),G=h(o),U={};q==="static"&&(o.style.position="relative"),R=G.offset(),v=h.css(o,"top"),I=h.css(o,"left"),j=(q==="absolute"||q==="fixed")&&(v+I).indexOf("auto")>-1,j?(g=G.position(),w=g.top,y=g.left):(w=parseFloat(v)||0,y=parseFloat(I)||0),$(c)&&(c=c.call(o,d,h.extend({},R))),c.top!=null&&(U.top=c.top-R.top+w),c.left!=null&&(U.left=c.left-R.left+y),"using"in c?c.using.call(o,U):G.css(U)}},h.fn.extend({offset:function(o){if(arguments.length)return o===void 0?this:this.each(function(y){h.offset.setOffset(this,o,y)});var c,d,g=this[0];if(g)return g.getClientRects().length?(c=g.getBoundingClientRect(),d=g.ownerDocument.defaultView,{top:c.top+d.pageYOffset,left:c.left+d.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var o,c,d,g=this[0],y={top:0,left:0};if(h.css(g,"position")==="fixed")c=g.getBoundingClientRect();else{for(c=this.offset(),d=g.ownerDocument,o=g.offsetParent||d.documentElement;o&&(o===d.body||o===d.documentElement)&&h.css(o,"position")==="static";)o=o.parentNode;o&&o!==g&&o.nodeType===1&&(y=h(o).offset(),y.top+=h.css(o,"borderTopWidth",!0),y.left+=h.css(o,"borderLeftWidth",!0))}return{top:c.top-y.top-h.css(g,"marginTop",!0),left:c.left-y.left-h.css(g,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var o=this.offsetParent;o&&h.css(o,"position")==="static";)o=o.offsetParent;return o||or})}}),h.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(o,c){var d=c==="pageYOffset";h.fn[o]=function(g){return fn(this,function(y,v,w){var R;if(Z(y)?R=y:y.nodeType===9&&(R=y.defaultView),w===void 0)return R?R[c]:y[v];R?R.scrollTo(d?R.pageXOffset:w,d?w:R.pageYOffset):y[v]=w},o,g,arguments.length)}}),h.each(["top","left"],function(o,c){h.cssHooks[c]=Vi(B.pixelPosition,function(d,g){if(g)return g=zi(d,c),oa.test(g)?h(d).position()[c]+"px":g})}),h.each({Height:"height",Width:"width"},function(o,c){h.each({padding:"inner"+o,content:c,"":"outer"+o},function(d,g){h.fn[g]=function(y,v){var w=arguments.length&&(d||typeof y!="boolean"),R=d||(y===!0||v===!0?"margin":"border");return fn(this,function(I,j,q){var G;return Z(I)?g.indexOf("outer")===0?I["inner"+o]:I.document.documentElement["client"+o]:I.nodeType===9?(G=I.documentElement,Math.max(I.body["scroll"+o],G["scroll"+o],I.body["offset"+o],G["offset"+o],G["client"+o])):q===void 0?h.css(I,j,R):h.style(I,j,q,R)},c,w?y:void 0,w)}})}),h.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(o,c){h.fn[c]=function(d){return this.on(c,d)}}),h.fn.extend({bind:function(o,c,d){return this.on(o,null,c,d)},unbind:function(o,c){return this.off(o,null,c)},delegate:function(o,c,d,g){return this.on(c,o,d,g)},undelegate:function(o,c,d){return arguments.length===1?this.off(o,"**"):this.off(c,o||"**",d)},hover:function(o,c){return this.on("mouseenter",o).on("mouseleave",c||o)}}),h.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(o,c){h.fn[c]=function(d,g){return arguments.length>0?this.on(c,null,d,g):this.trigger(c)}});var Go=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;h.proxy=function(o,c){var d,g,y;if(typeof c=="string"&&(d=o[c],c=o,o=d),!!$(o))return g=u.call(arguments,2),y=function(){return o.apply(c||this,g.concat(u.call(arguments)))},y.guid=o.guid=o.guid||h.guid++,y},h.holdReady=function(o){o?h.readyWait++:h.ready(!0)},h.isArray=Array.isArray,h.parseJSON=JSON.parse,h.nodeName=ce,h.isFunction=$,h.isWindow=Z,h.camelCase=Lt,h.type=ae,h.now=Date.now,h.isNumeric=function(o){var c=h.type(o);return(c==="number"||c==="string")&&!isNaN(o-parseFloat(o))},h.trim=function(o){return o==null?"":(o+"").replace(Go,"$1")};var Sa=t.jQuery,pn=t.$;return h.noConflict=function(o){return t.$===h&&(t.$=pn),o&&t.jQuery===h&&(t.jQuery=Sa),h},typeof n>"u"&&(t.jQuery=t.$=h),h})})(ey);var ty=ey.exports;const XA=D.getDefaultExportFromCjs(ty);var JA={exports:{}};const QA=D.getAugmentedNamespace(WD);/**
|
|
142
|
+
`)}}).get()}});var gc=/%20/g,xa=/#.*$/,mc=/([?&])_=[^&]*/,yc=/^(.*?):[ \t]*([^\r\n]*)$/mg,vc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,bc=/^(?:GET|HEAD)$/,xc=/^\/\//,at={},tt={},zo="*/".concat("*"),wa=W.createElement("a");wa.href=Ti.href;function qo(o){return function(c,d){typeof c!="string"&&(d=c,c="*");var g,y=0,v=c.toLowerCase().match(cn)||[];if($(d))for(;g=v[y++];)g[0]==="+"?(g=g.slice(1)||"*",(o[g]=o[g]||[]).unshift(d)):(o[g]=o[g]||[]).push(d)}}function Vo(o,c,d,g){var y={},v=o===tt;function w(R){var I;return y[R]=!0,h.each(o[R]||[],function(j,V){var G=V(c,d,g);if(typeof G=="string"&&!v&&!y[G])return c.dataTypes.unshift(G),w(G),!1;if(v)return!(I=G)}),I}return w(c.dataTypes[0])||!y["*"]&&w("*")}function _a(o,c){var d,g,y=h.ajaxSettings.flatOptions||{};for(d in c)c[d]!==void 0&&((y[d]?o:g||(g={}))[d]=c[d]);return g&&h.extend(!0,o,g),o}function wc(o,c,d){for(var g,y,v,w,R=o.contents,I=o.dataTypes;I[0]==="*";)I.shift(),g===void 0&&(g=o.mimeType||c.getResponseHeader("Content-Type"));if(g){for(y in R)if(R[y]&&R[y].test(g)){I.unshift(y);break}}if(I[0]in d)v=I[0];else{for(y in d){if(!I[0]||o.converters[y+" "+I[0]]){v=y;break}w||(w=y)}v=v||w}if(v)return v!==I[0]&&I.unshift(v),d[v]}function Go(o,c,d,g){var y,v,w,R,I,j={},V=o.dataTypes.slice();if(V[1])for(w in o.converters)j[w.toLowerCase()]=o.converters[w];for(v=V.shift();v;)if(o.responseFields[v]&&(d[o.responseFields[v]]=c),!I&&g&&o.dataFilter&&(c=o.dataFilter(c,o.dataType)),I=v,v=V.shift(),v){if(v==="*")v=I;else if(I!=="*"&&I!==v){if(w=j[I+" "+v]||j["* "+v],!w){for(y in j)if(R=y.split(" "),R[1]===v&&(w=j[I+" "+R[0]]||j["* "+R[0]],w)){w===!0?w=j[y]:j[y]!==!0&&(v=R[0],V.unshift(R[1]));break}}if(w!==!0)if(w&&o.throws)c=w(c);else try{c=w(c)}catch(G){return{state:"parsererror",error:w?G:"No conversion from "+I+" to "+v}}}}return{state:"success",data:c}}h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ti.href,type:"GET",isLocal:vc.test(Ti.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zo,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":h.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(o,c){return c?_a(_a(o,h.ajaxSettings),c):_a(h.ajaxSettings,o)},ajaxPrefilter:qo(at),ajaxTransport:qo(tt),ajax:function(o,c){typeof o=="object"&&(c=o,o=void 0),c=c||{};var d,g,y,v,w,R,I,j,V,G,U=h.ajaxSetup({},c),te=U.context||U,fe=U.context&&(te.nodeType||te.jquery)?h(te):h.event,Me=h.Deferred(),Ee=h.Callbacks("once memory"),It=U.statusCode||{},yt={},Yn={},Wn="canceled",$e={readyState:0,getResponseHeader:function(je){var rt;if(I){if(!v)for(v={};rt=yc.exec(y);)v[rt[1].toLowerCase()+" "]=(v[rt[1].toLowerCase()+" "]||[]).concat(rt[2]);rt=v[je.toLowerCase()+" "]}return rt==null?null:rt.join(", ")},getAllResponseHeaders:function(){return I?y:null},setRequestHeader:function(je,rt){return I==null&&(je=Yn[je.toLowerCase()]=Yn[je.toLowerCase()]||je,yt[je]=rt),this},overrideMimeType:function(je){return I==null&&(U.mimeType=je),this},statusCode:function(je){var rt;if(je)if(I)$e.always(je[$e.status]);else for(rt in je)It[rt]=[It[rt],je[rt]];return this},abort:function(je){var rt=je||Wn;return d&&d.abort(rt),Cr(0,rt),this}};if(Me.promise($e),U.url=((o||U.url||Ti.href)+"").replace(xc,Ti.protocol+"//"),U.type=c.method||c.type||U.method||U.type,U.dataTypes=(U.dataType||"*").toLowerCase().match(cn)||[""],U.crossDomain==null){R=W.createElement("a");try{R.href=U.url,R.href=R.href,U.crossDomain=wa.protocol+"//"+wa.host!=R.protocol+"//"+R.host}catch{U.crossDomain=!0}}if(U.data&&U.processData&&typeof U.data!="string"&&(U.data=h.param(U.data,U.traditional)),Vo(at,U,c,$e),I)return $e;j=h.event&&U.global,j&&h.active++===0&&h.event.trigger("ajaxStart"),U.type=U.type.toUpperCase(),U.hasContent=!bc.test(U.type),g=U.url.replace(xa,""),U.hasContent?U.data&&U.processData&&(U.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(U.data=U.data.replace(gc,"+")):(G=U.url.slice(g.length),U.data&&(U.processData||typeof U.data=="string")&&(g+=(Ss.test(g)?"&":"?")+U.data,delete U.data),U.cache===!1&&(g=g.replace(mc,"$1"),G=(Ss.test(g)?"&":"?")+"_="+ya.guid+++G),U.url=g+G),U.ifModified&&(h.lastModified[g]&&$e.setRequestHeader("If-Modified-Since",h.lastModified[g]),h.etag[g]&&$e.setRequestHeader("If-None-Match",h.etag[g])),(U.data&&U.hasContent&&U.contentType!==!1||c.contentType)&&$e.setRequestHeader("Content-Type",U.contentType),$e.setRequestHeader("Accept",U.dataTypes[0]&&U.accepts[U.dataTypes[0]]?U.accepts[U.dataTypes[0]]+(U.dataTypes[0]!=="*"?", "+zo+"; q=0.01":""):U.accepts["*"]);for(V in U.headers)$e.setRequestHeader(V,U.headers[V]);if(U.beforeSend&&(U.beforeSend.call(te,$e,U)===!1||I))return $e.abort();if(Wn="abort",Ee.add(U.complete),$e.done(U.success),$e.fail(U.error),d=Vo(tt,U,c,$e),!d)Cr(-1,"No Transport");else{if($e.readyState=1,j&&fe.trigger("ajaxSend",[$e,U]),I)return $e;U.async&&U.timeout>0&&(w=t.setTimeout(function(){$e.abort("timeout")},U.timeout));try{I=!1,d.send(yt,Cr)}catch(je){if(I)throw je;Cr(-1,je)}}function Cr(je,rt,Vi,Cs){var Cn,Zr,gn,lr,Dr,Xt=rt;I||(I=!0,w&&t.clearTimeout(w),d=void 0,y=Cs||"",$e.readyState=je>0?4:0,Cn=je>=200&&je<300||je===304,Vi&&(lr=wc(U,$e,Vi)),!Cn&&h.inArray("script",U.dataTypes)>-1&&h.inArray("json",U.dataTypes)<0&&(U.converters["text script"]=function(){}),lr=Go(U,lr,$e,Cn),Cn?(U.ifModified&&(Dr=$e.getResponseHeader("Last-Modified"),Dr&&(h.lastModified[g]=Dr),Dr=$e.getResponseHeader("etag"),Dr&&(h.etag[g]=Dr)),je===204||U.type==="HEAD"?Xt="nocontent":je===304?Xt="notmodified":(Xt=lr.state,Zr=lr.data,gn=lr.error,Cn=!gn)):(gn=Xt,(je||!Xt)&&(Xt="error",je<0&&(je=0))),$e.status=je,$e.statusText=(rt||Xt)+"",Cn?Me.resolveWith(te,[Zr,Xt,$e]):Me.rejectWith(te,[$e,Xt,gn]),$e.statusCode(It),It=void 0,j&&fe.trigger(Cn?"ajaxSuccess":"ajaxError",[$e,U,Cn?Zr:gn]),Ee.fireWith(te,[$e,Xt]),j&&(fe.trigger("ajaxComplete",[$e,U]),--h.active||h.event.trigger("ajaxStop")))}return $e},getJSON:function(o,c,d){return h.get(o,c,d,"json")},getScript:function(o,c){return h.get(o,void 0,c,"script")}}),h.each(["get","post"],function(o,c){h[c]=function(d,g,y,v){return $(g)&&(v=v||y,y=g,g=void 0),h.ajax(h.extend({url:d,type:c,dataType:v,data:g,success:y},h.isPlainObject(d)&&d))}}),h.ajaxPrefilter(function(o){var c;for(c in o.headers)c.toLowerCase()==="content-type"&&(o.contentType=o.headers[c]||"")}),h._evalUrl=function(o,c,d){return h.ajax({url:o,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(g){h.globalEval(g,c,d)}})},h.fn.extend({wrapAll:function(o){var c;return this[0]&&($(o)&&(o=o.call(this[0])),c=h(o,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&c.insertBefore(this[0]),c.map(function(){for(var d=this;d.firstElementChild;)d=d.firstElementChild;return d}).append(this)),this},wrapInner:function(o){return $(o)?this.each(function(c){h(this).wrapInner(o.call(this,c))}):this.each(function(){var c=h(this),d=c.contents();d.length?d.wrapAll(o):c.append(o)})},wrap:function(o){var c=$(o);return this.each(function(d){h(this).wrapAll(c?o.call(this,d):o)})},unwrap:function(o){return this.parent(o).not("body").each(function(){h(this).replaceWith(this.childNodes)}),this}}),h.expr.pseudos.hidden=function(o){return!h.expr.pseudos.visible(o)},h.expr.pseudos.visible=function(o){return!!(o.offsetWidth||o.offsetHeight||o.getClientRects().length)},h.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var _c={0:200,1223:204},mt=h.ajaxSettings.xhr();B.cors=!!mt&&"withCredentials"in mt,B.ajax=mt=!!mt,h.ajaxTransport(function(o){var c,d;if(B.cors||mt&&!o.crossDomain)return{send:function(g,y){var v,w=o.xhr();if(w.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(v in o.xhrFields)w[v]=o.xhrFields[v];o.mimeType&&w.overrideMimeType&&w.overrideMimeType(o.mimeType),!o.crossDomain&&!g["X-Requested-With"]&&(g["X-Requested-With"]="XMLHttpRequest");for(v in g)w.setRequestHeader(v,g[v]);c=function(R){return function(){c&&(c=d=w.onload=w.onerror=w.onabort=w.ontimeout=w.onreadystatechange=null,R==="abort"?w.abort():R==="error"?typeof w.status!="number"?y(0,"error"):y(w.status,w.statusText):y(_c[w.status]||w.status,w.statusText,(w.responseType||"text")!=="text"||typeof w.responseText!="string"?{binary:w.response}:{text:w.responseText},w.getAllResponseHeaders()))}},w.onload=c(),d=w.onerror=w.ontimeout=c("error"),w.onabort!==void 0?w.onabort=d:w.onreadystatechange=function(){w.readyState===4&&t.setTimeout(function(){c&&d()})},c=c("abort");try{w.send(o.hasContent&&o.data||null)}catch(R){if(c)throw R}},abort:function(){c&&c()}}}),h.ajaxPrefilter(function(o){o.crossDomain&&(o.contents.script=!1)}),h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(o){return h.globalEval(o),o}}}),h.ajaxPrefilter("script",function(o){o.cache===void 0&&(o.cache=!1),o.crossDomain&&(o.type="GET")}),h.ajaxTransport("script",function(o){if(o.crossDomain||o.scriptAttrs){var c,d;return{send:function(g,y){c=h("<script>").attr(o.scriptAttrs||{}).prop({charset:o.scriptCharset,src:o.url}).on("load error",d=function(v){c.remove(),d=null,v&&y(v.type==="error"?404:200,v.type)}),W.head.appendChild(c[0])},abort:function(){d&&d()}}}});var ks=[],ur=/(=)\?(?=&|$)|\?\?/;h.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var o=ks.pop()||h.expando+"_"+ya.guid++;return this[o]=!0,o}}),h.ajaxPrefilter("json jsonp",function(o,c,d){var g,y,v,w=o.jsonp!==!1&&(ur.test(o.url)?"url":typeof o.data=="string"&&(o.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&ur.test(o.data)&&"data");if(w||o.dataTypes[0]==="jsonp")return g=o.jsonpCallback=$(o.jsonpCallback)?o.jsonpCallback():o.jsonpCallback,w?o[w]=o[w].replace(ur,"$1"+g):o.jsonp!==!1&&(o.url+=(Ss.test(o.url)?"&":"?")+o.jsonp+"="+g),o.converters["script json"]=function(){return v||h.error(g+" was not called"),v[0]},o.dataTypes[0]="json",y=t[g],t[g]=function(){v=arguments},d.always(function(){y===void 0?h(t).removeProp(g):t[g]=y,o[g]&&(o.jsonpCallback=c.jsonpCallback,ks.push(g)),v&&$(y)&&y(v[0]),v=y=void 0}),"script"}),B.createHTMLDocument=function(){var o=W.implementation.createHTMLDocument("").body;return o.innerHTML="<form></form><form></form>",o.childNodes.length===2}(),h.parseHTML=function(o,c,d){if(typeof o!="string")return[];typeof c=="boolean"&&(d=c,c=!1);var g,y,v;return c||(B.createHTMLDocument?(c=W.implementation.createHTMLDocument(""),g=c.createElement("base"),g.href=W.location.href,c.head.appendChild(g)):c=W),y=St.exec(o),v=!d&&[],y?[c.createElement(y[1])]:(y=Do([o],c,v),v&&v.length&&h(v).remove(),h.merge([],y.childNodes))},h.fn.load=function(o,c,d){var g,y,v,w=this,R=o.indexOf(" ");return R>-1&&(g=Sr(o.slice(R)),o=o.slice(0,R)),$(c)?(d=c,c=void 0):c&&typeof c=="object"&&(y="POST"),w.length>0&&h.ajax({url:o,type:y||"GET",dataType:"html",data:c}).done(function(I){v=arguments,w.html(g?h("<div>").append(h.parseHTML(I)).find(g):I)}).always(d&&function(I,j){w.each(function(){d.apply(this,v||[I.responseText,j,I])})}),this},h.expr.pseudos.animated=function(o){return h.grep(h.timers,function(c){return o===c.elem}).length},h.offset={setOffset:function(o,c,d){var g,y,v,w,R,I,j,V=h.css(o,"position"),G=h(o),U={};V==="static"&&(o.style.position="relative"),R=G.offset(),v=h.css(o,"top"),I=h.css(o,"left"),j=(V==="absolute"||V==="fixed")&&(v+I).indexOf("auto")>-1,j?(g=G.position(),w=g.top,y=g.left):(w=parseFloat(v)||0,y=parseFloat(I)||0),$(c)&&(c=c.call(o,d,h.extend({},R))),c.top!=null&&(U.top=c.top-R.top+w),c.left!=null&&(U.left=c.left-R.left+y),"using"in c?c.using.call(o,U):G.css(U)}},h.fn.extend({offset:function(o){if(arguments.length)return o===void 0?this:this.each(function(y){h.offset.setOffset(this,o,y)});var c,d,g=this[0];if(g)return g.getClientRects().length?(c=g.getBoundingClientRect(),d=g.ownerDocument.defaultView,{top:c.top+d.pageYOffset,left:c.left+d.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var o,c,d,g=this[0],y={top:0,left:0};if(h.css(g,"position")==="fixed")c=g.getBoundingClientRect();else{for(c=this.offset(),d=g.ownerDocument,o=g.offsetParent||d.documentElement;o&&(o===d.body||o===d.documentElement)&&h.css(o,"position")==="static";)o=o.parentNode;o&&o!==g&&o.nodeType===1&&(y=h(o).offset(),y.top+=h.css(o,"borderTopWidth",!0),y.left+=h.css(o,"borderLeftWidth",!0))}return{top:c.top-y.top-h.css(g,"marginTop",!0),left:c.left-y.left-h.css(g,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var o=this.offsetParent;o&&h.css(o,"position")==="static";)o=o.offsetParent;return o||or})}}),h.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(o,c){var d=c==="pageYOffset";h.fn[o]=function(g){return fn(this,function(y,v,w){var R;if(Z(y)?R=y:y.nodeType===9&&(R=y.defaultView),w===void 0)return R?R[c]:y[v];R?R.scrollTo(d?R.pageXOffset:w,d?w:R.pageYOffset):y[v]=w},o,g,arguments.length)}}),h.each(["top","left"],function(o,c){h.cssHooks[c]=qi(B.pixelPosition,function(d,g){if(g)return g=zi(d,c),oa.test(g)?h(d).position()[c]+"px":g})}),h.each({Height:"height",Width:"width"},function(o,c){h.each({padding:"inner"+o,content:c,"":"outer"+o},function(d,g){h.fn[g]=function(y,v){var w=arguments.length&&(d||typeof y!="boolean"),R=d||(y===!0||v===!0?"margin":"border");return fn(this,function(I,j,V){var G;return Z(I)?g.indexOf("outer")===0?I["inner"+o]:I.document.documentElement["client"+o]:I.nodeType===9?(G=I.documentElement,Math.max(I.body["scroll"+o],G["scroll"+o],I.body["offset"+o],G["offset"+o],G["client"+o])):V===void 0?h.css(I,j,R):h.style(I,j,V,R)},c,w?y:void 0,w)}})}),h.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(o,c){h.fn[c]=function(d){return this.on(c,d)}}),h.fn.extend({bind:function(o,c,d){return this.on(o,null,c,d)},unbind:function(o,c){return this.off(o,null,c)},delegate:function(o,c,d,g){return this.on(c,o,d,g)},undelegate:function(o,c,d){return arguments.length===1?this.off(o,"**"):this.off(c,o||"**",d)},hover:function(o,c){return this.on("mouseenter",o).on("mouseleave",c||o)}}),h.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(o,c){h.fn[c]=function(d,g){return arguments.length>0?this.on(c,null,d,g):this.trigger(c)}});var Ko=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;h.proxy=function(o,c){var d,g,y;if(typeof c=="string"&&(d=o[c],c=o,o=d),!!$(o))return g=u.call(arguments,2),y=function(){return o.apply(c||this,g.concat(u.call(arguments)))},y.guid=o.guid=o.guid||h.guid++,y},h.holdReady=function(o){o?h.readyWait++:h.ready(!0)},h.isArray=Array.isArray,h.parseJSON=JSON.parse,h.nodeName=ce,h.isFunction=$,h.isWindow=Z,h.camelCase=Lt,h.type=ae,h.now=Date.now,h.isNumeric=function(o){var c=h.type(o);return(c==="number"||c==="string")&&!isNaN(o-parseFloat(o))},h.trim=function(o){return o==null?"":(o+"").replace(Ko,"$1")};var Sa=t.jQuery,pn=t.$;return h.noConflict=function(o){return t.$===h&&(t.$=pn),o&&t.jQuery===h&&(t.jQuery=Sa),h},typeof n>"u"&&(t.jQuery=t.$=h),h})}(Tf)),Tf.exports}var QA=ny();const eR=D.getDefaultExportFromCjs(QA);var tR={exports:{}};const nR=D.getAugmentedNamespace(HD);/**
|
|
143
143
|
* @version: 3.1
|
|
144
144
|
* @author: Dan Grossman http://www.dangrossman.info/
|
|
145
145
|
* @copyright: Copyright (c) 2012-2019 Dan Grossman. All rights reserved.
|
|
146
146
|
* @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
|
|
147
147
|
* @website: http://www.daterangepicker.com/
|
|
148
|
-
*/(function(e){(function(t,n){if(e.exports){var i=typeof window<"u"?window.jQuery:void 0;i||(i=ty,i.fn||(i.fn={}));var a=typeof window<"u"&&typeof window.moment<"u"?window.moment:QA;e.exports=n(a,i)}else t.daterangepicker=n(t.moment,t.jQuery)})(D.commonjsGlobal,function(t,n){var i=function(a,u,f){if(this.parentEl="body",this.element=n(a),this.startDate=t().startOf("day"),this.endDate=t().endOf("day"),this.minDate=!1,this.maxDate=!1,this.maxSpan=!1,this.autoApply=!1,this.singleDatePicker=!1,this.showDropdowns=!1,this.minYear=t().subtract(100,"year").format("YYYY"),this.maxYear=t().add(100,"year").format("YYYY"),this.showWeekNumbers=!1,this.showISOWeekNumbers=!1,this.showCustomRangeLabel=!0,this.timePicker=!1,this.timePicker24Hour=!1,this.timePickerIncrement=1,this.timePickerSeconds=!1,this.linkedCalendars=!0,this.autoUpdateInput=!0,this.alwaysShowCalendars=!1,this.ranges={},this.opens="right",this.element.hasClass("pull-right")&&(this.opens="left"),this.drops="down",this.element.hasClass("dropup")&&(this.drops="up"),this.buttonClasses="btn btn-sm",this.applyButtonClasses="btn-primary",this.cancelButtonClasses="btn-default",this.locale={direction:"ltr",format:t.localeData().longDateFormat("L"),separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:t.weekdaysMin(),monthNames:t.monthsShort(),firstDay:t.localeData().firstDayOfWeek()},this.callback=function(){},this.isShowing=!1,this.leftCalendar={},this.rightCalendar={},(typeof u!="object"||u===null)&&(u={}),u=n.extend(this.element.data(),u),typeof u.template!="string"&&!(u.template instanceof n)&&(u.template='<div class="daterangepicker"><div class="ranges"></div><div class="drp-calendar left"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-calendar right"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-buttons"><span class="drp-selected"></span><button class="cancelBtn" type="button"></button><button class="applyBtn" disabled="disabled" type="button"></button> </div></div>'),this.parentEl=u.parentEl&&n(u.parentEl).length?n(u.parentEl):n(this.parentEl),this.container=n(u.template).appendTo(this.parentEl),typeof u.locale=="object"&&(typeof u.locale.direction=="string"&&(this.locale.direction=u.locale.direction),typeof u.locale.format=="string"&&(this.locale.format=u.locale.format),typeof u.locale.separator=="string"&&(this.locale.separator=u.locale.separator),typeof u.locale.daysOfWeek=="object"&&(this.locale.daysOfWeek=u.locale.daysOfWeek.slice()),typeof u.locale.monthNames=="object"&&(this.locale.monthNames=u.locale.monthNames.slice()),typeof u.locale.firstDay=="number"&&(this.locale.firstDay=u.locale.firstDay),typeof u.locale.applyLabel=="string"&&(this.locale.applyLabel=u.locale.applyLabel),typeof u.locale.cancelLabel=="string"&&(this.locale.cancelLabel=u.locale.cancelLabel),typeof u.locale.weekLabel=="string"&&(this.locale.weekLabel=u.locale.weekLabel),typeof u.locale.customRangeLabel=="string")){var m=document.createElement("textarea");m.innerHTML=u.locale.customRangeLabel;var b=m.value;this.locale.customRangeLabel=b}if(this.container.addClass(this.locale.direction),typeof u.startDate=="string"&&(this.startDate=t(u.startDate,this.locale.format)),typeof u.endDate=="string"&&(this.endDate=t(u.endDate,this.locale.format)),typeof u.minDate=="string"&&(this.minDate=t(u.minDate,this.locale.format)),typeof u.maxDate=="string"&&(this.maxDate=t(u.maxDate,this.locale.format)),typeof u.startDate=="object"&&(this.startDate=t(u.startDate)),typeof u.endDate=="object"&&(this.endDate=t(u.endDate)),typeof u.minDate=="object"&&(this.minDate=t(u.minDate)),typeof u.maxDate=="object"&&(this.maxDate=t(u.maxDate)),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),typeof u.applyButtonClasses=="string"&&(this.applyButtonClasses=u.applyButtonClasses),typeof u.applyClass=="string"&&(this.applyButtonClasses=u.applyClass),typeof u.cancelButtonClasses=="string"&&(this.cancelButtonClasses=u.cancelButtonClasses),typeof u.cancelClass=="string"&&(this.cancelButtonClasses=u.cancelClass),typeof u.maxSpan=="object"&&(this.maxSpan=u.maxSpan),typeof u.dateLimit=="object"&&(this.maxSpan=u.dateLimit),typeof u.opens=="string"&&(this.opens=u.opens),typeof u.drops=="string"&&(this.drops=u.drops),typeof u.showWeekNumbers=="boolean"&&(this.showWeekNumbers=u.showWeekNumbers),typeof u.showISOWeekNumbers=="boolean"&&(this.showISOWeekNumbers=u.showISOWeekNumbers),typeof u.buttonClasses=="string"&&(this.buttonClasses=u.buttonClasses),typeof u.buttonClasses=="object"&&(this.buttonClasses=u.buttonClasses.join(" ")),typeof u.showDropdowns=="boolean"&&(this.showDropdowns=u.showDropdowns),typeof u.minYear=="number"&&(this.minYear=u.minYear),typeof u.maxYear=="number"&&(this.maxYear=u.maxYear),typeof u.showCustomRangeLabel=="boolean"&&(this.showCustomRangeLabel=u.showCustomRangeLabel),typeof u.singleDatePicker=="boolean"&&(this.singleDatePicker=u.singleDatePicker,this.singleDatePicker&&(this.endDate=this.startDate.clone())),typeof u.timePicker=="boolean"&&(this.timePicker=u.timePicker),typeof u.timePickerSeconds=="boolean"&&(this.timePickerSeconds=u.timePickerSeconds),typeof u.timePickerIncrement=="number"&&(this.timePickerIncrement=u.timePickerIncrement),typeof u.timePicker24Hour=="boolean"&&(this.timePicker24Hour=u.timePicker24Hour),typeof u.autoApply=="boolean"&&(this.autoApply=u.autoApply),typeof u.autoUpdateInput=="boolean"&&(this.autoUpdateInput=u.autoUpdateInput),typeof u.linkedCalendars=="boolean"&&(this.linkedCalendars=u.linkedCalendars),typeof u.isInvalidDate=="function"&&(this.isInvalidDate=u.isInvalidDate),typeof u.isCustomDate=="function"&&(this.isCustomDate=u.isCustomDate),typeof u.alwaysShowCalendars=="boolean"&&(this.alwaysShowCalendars=u.alwaysShowCalendars),this.locale.firstDay!=0)for(var _=this.locale.firstDay;_>0;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),_--;var E,O,M;if(typeof u.startDate>"u"&&typeof u.endDate>"u"&&n(this.element).is(":text")){var z=n(this.element).val(),B=z.split(this.locale.separator);E=O=null,B.length==2?(E=t(B[0],this.locale.format),O=t(B[1],this.locale.format)):this.singleDatePicker&&z!==""&&(E=t(z,this.locale.format),O=t(z,this.locale.format)),E!==null&&O!==null&&(this.setStartDate(E),this.setEndDate(O))}if(typeof u.ranges=="object"){for(M in u.ranges){typeof u.ranges[M][0]=="string"?E=t(u.ranges[M][0],this.locale.format):E=t(u.ranges[M][0]),typeof u.ranges[M][1]=="string"?O=t(u.ranges[M][1],this.locale.format):O=t(u.ranges[M][1]),this.minDate&&E.isBefore(this.minDate)&&(E=this.minDate.clone());var $=this.maxDate;if(this.maxSpan&&$&&E.clone().add(this.maxSpan).isAfter($)&&($=E.clone().add(this.maxSpan)),$&&O.isAfter($)&&(O=$.clone()),!(this.minDate&&O.isBefore(this.minDate,this.timepicker?"minute":"day")||$&&E.isAfter($,this.timepicker?"minute":"day"))){var m=document.createElement("textarea");m.innerHTML=M;var b=m.value;this.ranges[b]=[E,O]}}var Z="<ul>";for(M in this.ranges)Z+='<li data-range-key="'+M+'">'+M+"</li>";this.showCustomRangeLabel&&(Z+='<li data-range-key="'+this.locale.customRangeLabel+'">'+this.locale.customRangeLabel+"</li>"),Z+="</ul>",this.container.find(".ranges").prepend(Z)}typeof f=="function"&&(this.callback=f),this.timePicker||(this.startDate=this.startDate.startOf("day"),this.endDate=this.endDate.endOf("day"),this.container.find(".calendar-time").hide()),this.timePicker&&this.autoApply&&(this.autoApply=!1),this.autoApply&&this.container.addClass("auto-apply"),typeof u.ranges=="object"&&this.container.addClass("show-ranges"),this.singleDatePicker&&(this.container.addClass("single"),this.container.find(".drp-calendar.left").addClass("single"),this.container.find(".drp-calendar.left").show(),this.container.find(".drp-calendar.right").hide(),!this.timePicker&&this.autoApply&&this.container.addClass("auto-apply")),(typeof u.ranges>"u"&&!this.singleDatePicker||this.alwaysShowCalendars)&&this.container.addClass("show-calendar"),this.container.addClass("opens"+this.opens),this.container.find(".applyBtn, .cancelBtn").addClass(this.buttonClasses),this.applyButtonClasses.length&&this.container.find(".applyBtn").addClass(this.applyButtonClasses),this.cancelButtonClasses.length&&this.container.find(".cancelBtn").addClass(this.cancelButtonClasses),this.container.find(".applyBtn").html(this.locale.applyLabel),this.container.find(".cancelBtn").html(this.locale.cancelLabel),this.container.find(".drp-calendar").on("click.daterangepicker",".prev",n.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",n.proxy(this.clickNext,this)).on("mousedown.daterangepicker","td.available",n.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",n.proxy(this.hoverDate,this)).on("change.daterangepicker","select.yearselect",n.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.monthselect",n.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",n.proxy(this.timeChanged,this)),this.container.find(".ranges").on("click.daterangepicker","li",n.proxy(this.clickRange,this)),this.container.find(".drp-buttons").on("click.daterangepicker","button.applyBtn",n.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",n.proxy(this.clickCancel,this)),this.element.is("input")||this.element.is("button")?this.element.on({"click.daterangepicker":n.proxy(this.show,this),"focus.daterangepicker":n.proxy(this.show,this),"keyup.daterangepicker":n.proxy(this.elementChanged,this),"keydown.daterangepicker":n.proxy(this.keydown,this)}):(this.element.on("click.daterangepicker",n.proxy(this.toggle,this)),this.element.on("keydown.daterangepicker",n.proxy(this.toggle,this))),this.updateElement()};return i.prototype={constructor:i,setStartDate:function(a){typeof a=="string"&&(this.startDate=t(a,this.locale.format)),typeof a=="object"&&(this.startDate=t(a)),this.timePicker||(this.startDate=this.startDate.startOf("day")),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.maxDate&&this.startDate.isAfter(this.maxDate)&&(this.startDate=this.maxDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.floor(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.isShowing||this.updateElement(),this.updateMonthsInView()},setEndDate:function(a){typeof a=="string"&&(this.endDate=t(a,this.locale.format)),typeof a=="object"&&(this.endDate=t(a)),this.timePicker||(this.endDate=this.endDate.endOf("day")),this.timePicker&&this.timePickerIncrement&&this.endDate.minute(Math.round(this.endDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.endDate.isBefore(this.startDate)&&(this.endDate=this.startDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),this.maxSpan&&this.startDate.clone().add(this.maxSpan).isBefore(this.endDate)&&(this.endDate=this.startDate.clone().add(this.maxSpan)),this.previousRightTime=this.endDate.clone(),this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.isShowing||this.updateElement(),this.updateMonthsInView()},isInvalidDate:function(){return!1},isCustomDate:function(){return!1},updateView:function(){this.timePicker&&(this.renderTimePicker("left"),this.renderTimePicker("right"),this.endDate?this.container.find(".right .calendar-time select").prop("disabled",!1).removeClass("disabled"):this.container.find(".right .calendar-time select").prop("disabled",!0).addClass("disabled")),this.endDate&&this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.updateMonthsInView(),this.updateCalendars(),this.updateFormInputs()},updateMonthsInView:function(){if(this.endDate){if(!this.singleDatePicker&&this.leftCalendar.month&&this.rightCalendar.month&&(this.startDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.startDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM"))&&(this.endDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.endDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM")))return;this.leftCalendar.month=this.startDate.clone().date(2),!this.linkedCalendars&&(this.endDate.month()!=this.startDate.month()||this.endDate.year()!=this.startDate.year())?this.rightCalendar.month=this.endDate.clone().date(2):this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month")}else this.leftCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&this.rightCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&(this.leftCalendar.month=this.startDate.clone().date(2),this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"));this.maxDate&&this.linkedCalendars&&!this.singleDatePicker&&this.rightCalendar.month>this.maxDate&&(this.rightCalendar.month=this.maxDate.clone().date(2),this.leftCalendar.month=this.maxDate.clone().date(2).subtract(1,"month"))},updateCalendars:function(){if(this.timePicker){var a,u,f;if(this.endDate){if(a=parseInt(this.container.find(".left .hourselect").val(),10),u=parseInt(this.container.find(".left .minuteselect").val(),10),isNaN(u)&&(u=parseInt(this.container.find(".left .minuteselect option:last").val(),10)),f=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,!this.timePicker24Hour){var m=this.container.find(".left .ampmselect").val();m==="PM"&&a<12&&(a+=12),m==="AM"&&a===12&&(a=0)}}else if(a=parseInt(this.container.find(".right .hourselect").val(),10),u=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(u)&&(u=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),f=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,!this.timePicker24Hour){var m=this.container.find(".right .ampmselect").val();m==="PM"&&a<12&&(a+=12),m==="AM"&&a===12&&(a=0)}this.leftCalendar.month.hour(a).minute(u).second(f),this.rightCalendar.month.hour(a).minute(u).second(f)}this.renderCalendar("left"),this.renderCalendar("right"),this.container.find(".ranges li").removeClass("active"),this.endDate!=null&&this.calculateChosenLabel()},renderCalendar:function(a){var W=a=="left"?this.leftCalendar:this.rightCalendar,u=W.month.month(),f=W.month.year(),m=W.month.hour(),b=W.month.minute(),_=W.month.second(),E=t([f,u]).daysInMonth(),O=t([f,u,1]),M=t([f,u,E]),z=t(O).subtract(1,"month").month(),B=t(O).subtract(1,"month").year(),$=t([B,z]).daysInMonth(),Z=O.day(),W=[];W.firstDay=O,W.lastDay=M;for(var se=0;se<6;se++)W[se]=[];var pe=$-Z+this.locale.firstDay+1;pe>$&&(pe-=7),Z==this.locale.firstDay&&(pe=$-6);for(var ae=t([B,z,pe,12,b,_]),ne,ie,se=0,ne=0,ie=0;se<42;se++,ne++,ae=t(ae).add(24,"hour"))se>0&&ne%7===0&&(ne=0,ie++),W[ie][ne]=ae.clone().hour(m).minute(b).second(_),ae.hour(12),this.minDate&&W[ie][ne].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&W[ie][ne].isBefore(this.minDate)&&a=="left"&&(W[ie][ne]=this.minDate.clone()),this.maxDate&&W[ie][ne].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&W[ie][ne].isAfter(this.maxDate)&&a=="right"&&(W[ie][ne]=this.maxDate.clone());a=="left"?this.leftCalendar.calendar=W:this.rightCalendar.calendar=W;var h=a=="left"?this.minDate:this.startDate,Te=this.maxDate;a=="left"?this.startDate:this.endDate,this.locale.direction=="ltr";var ce='<table class="table-condensed">';ce+="<thead>",ce+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(ce+="<th></th>"),(!h||h.isBefore(W.firstDay))&&(!this.linkedCalendars||a=="left")?ce+='<th class="prev available"><span></span></th>':ce+="<th></th>";var et=this.locale.monthNames[W[1][1].month()]+W[1][1].format(" YYYY");if(this.showDropdowns){for(var Pe=W[1][1].month(),Xe=W[1][1].year(),xe=Te&&Te.year()||this.maxYear,Ve=h&&h.year()||this.minYear,ut=Xe==Ve,ht=Xe==xe,He='<select class="monthselect">',we=0;we<12;we++)(!ut||h&&we>=h.month())&&(!ht||Te&&we<=Te.month())?He+="<option value='"+we+"'"+(we===Pe?" selected='selected'":"")+">"+this.locale.monthNames[we]+"</option>":He+="<option value='"+we+"'"+(we===Pe?" selected='selected'":"")+" disabled='disabled'>"+this.locale.monthNames[we]+"</option>";He+="</select>";for(var qe='<select class="yearselect">',lt=Ve;lt<=xe;lt++)qe+='<option value="'+lt+'"'+(lt===Xe?' selected="selected"':"")+">"+lt+"</option>";qe+="</select>",et=He+qe}if(ce+='<th colspan="5" class="month">'+et+"</th>",(!Te||Te.isAfter(W.lastDay))&&(!this.linkedCalendars||a=="right"||this.singleDatePicker)?ce+='<th class="next available"><span></span></th>':ce+="<th></th>",ce+="</tr>",ce+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(ce+='<th class="week">'+this.locale.weekLabel+"</th>"),n.each(this.locale.daysOfWeek,function(sr,Wi){ce+="<th>"+Wi+"</th>"}),ce+="</tr>",ce+="</thead>",ce+="<tbody>",this.endDate==null&&this.maxSpan){var _t=this.startDate.clone().add(this.maxSpan).endOf("day");(!Te||_t.isBefore(Te))&&(Te=_t)}for(var ie=0;ie<6;ie++){ce+="<tr>",this.showWeekNumbers?ce+='<td class="week">'+W[ie][0].week()+"</td>":this.showISOWeekNumbers&&(ce+='<td class="week">'+W[ie][0].isoWeek()+"</td>");for(var ne=0;ne<7;ne++){var St=[];W[ie][ne].isSame(new Date,"day")&&St.push("today"),W[ie][ne].isoWeekday()>5&&St.push("weekend"),W[ie][ne].month()!=W[1][1].month()&&St.push("off","ends"),this.minDate&&W[ie][ne].isBefore(this.minDate,"day")&&St.push("off","disabled"),Te&&W[ie][ne].isAfter(Te,"day")&&St.push("off","disabled"),this.isInvalidDate(W[ie][ne])&&St.push("off","disabled"),W[ie][ne].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&St.push("active","start-date"),this.endDate!=null&&W[ie][ne].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&St.push("active","end-date"),this.endDate!=null&&W[ie][ne]>this.startDate&&W[ie][ne]<this.endDate&&St.push("in-range");var Fn=this.isCustomDate(W[ie][ne]);Fn!==!1&&(typeof Fn=="string"?St.push(Fn):Array.prototype.push.apply(St,Fn));for(var Vt="",qt=!1,se=0;se<St.length;se++)Vt+=St[se]+" ",St[se]=="disabled"&&(qt=!0);qt||(Vt+="available"),ce+='<td class="'+Vt.replace(/^\s+|\s+$/g,"")+'" data-title="r'+ie+"c"+ne+'">'+W[ie][ne].date()+"</td>"}ce+="</tr>"}ce+="</tbody>",ce+="</table>",this.container.find(".drp-calendar."+a+" .calendar-table").html(ce)},renderTimePicker:function(a){if(!(a=="right"&&!this.endDate)){var u,f,m,b=this.maxDate;if(this.maxSpan&&(!this.maxDate||this.startDate.clone().add(this.maxSpan).isBefore(this.maxDate))&&(b=this.startDate.clone().add(this.maxSpan)),a=="left")f=this.startDate.clone(),m=this.minDate;else if(a=="right"){f=this.endDate.clone(),m=this.startDate;var _=this.container.find(".drp-calendar.right .calendar-time");if(_.html()!=""&&(f.hour(isNaN(f.hour())?_.find(".hourselect option:selected").val():f.hour()),f.minute(isNaN(f.minute())?_.find(".minuteselect option:selected").val():f.minute()),f.second(isNaN(f.second())?_.find(".secondselect option:selected").val():f.second()),!this.timePicker24Hour)){var E=_.find(".ampmselect option:selected").val();E==="PM"&&f.hour()<12&&f.hour(f.hour()+12),E==="AM"&&f.hour()===12&&f.hour(0)}f.isBefore(this.startDate)&&(f=this.startDate.clone()),b&&f.isAfter(b)&&(f=b.clone())}u='<select class="hourselect">';for(var O=this.timePicker24Hour?0:1,M=this.timePicker24Hour?23:12,z=O;z<=M;z++){var B=z;this.timePicker24Hour||(B=f.hour()>=12?z==12?12:z+12:z==12?0:z);var $=f.clone().hour(B),Z=!1;m&&$.minute(59).isBefore(m)&&(Z=!0),b&&$.minute(0).isAfter(b)&&(Z=!0),B==f.hour()&&!Z?u+='<option value="'+z+'" selected="selected">'+z+"</option>":Z?u+='<option value="'+z+'" disabled="disabled" class="disabled">'+z+"</option>":u+='<option value="'+z+'">'+z+"</option>"}u+="</select> ",u+=': <select class="minuteselect">';for(var z=0;z<60;z+=this.timePickerIncrement){var W=z<10?"0"+z:z,$=f.clone().minute(z),Z=!1;m&&$.second(59).isBefore(m)&&(Z=!0),b&&$.second(0).isAfter(b)&&(Z=!0),f.minute()==z&&!Z?u+='<option value="'+z+'" selected="selected">'+W+"</option>":Z?u+='<option value="'+z+'" disabled="disabled" class="disabled">'+W+"</option>":u+='<option value="'+z+'">'+W+"</option>"}if(u+="</select> ",this.timePickerSeconds){u+=': <select class="secondselect">';for(var z=0;z<60;z++){var W=z<10?"0"+z:z,$=f.clone().second(z),Z=!1;m&&$.isBefore(m)&&(Z=!0),b&&$.isAfter(b)&&(Z=!0),f.second()==z&&!Z?u+='<option value="'+z+'" selected="selected">'+W+"</option>":Z?u+='<option value="'+z+'" disabled="disabled" class="disabled">'+W+"</option>":u+='<option value="'+z+'">'+W+"</option>"}u+="</select> "}if(!this.timePicker24Hour){u+='<select class="ampmselect">';var se="",pe="";m&&f.clone().hour(12).minute(0).second(0).isBefore(m)&&(se=' disabled="disabled" class="disabled"'),b&&f.clone().hour(0).minute(0).second(0).isAfter(b)&&(pe=' disabled="disabled" class="disabled"'),f.hour()>=12?u+='<option value="AM"'+se+'>AM</option><option value="PM" selected="selected"'+pe+">PM</option>":u+='<option value="AM" selected="selected"'+se+'>AM</option><option value="PM"'+pe+">PM</option>",u+="</select>"}this.container.find(".drp-calendar."+a+" .calendar-time").html(u)}},updateFormInputs:function(){this.singleDatePicker||this.endDate&&(this.startDate.isBefore(this.endDate)||this.startDate.isSame(this.endDate))?this.container.find("button.applyBtn").prop("disabled",!1):this.container.find("button.applyBtn").prop("disabled",!0)},move:function(){var a={top:0,left:0},u,f=this.drops,m=n(window).width();switch(this.parentEl.is("body")||(a={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},m=this.parentEl[0].clientWidth+this.parentEl.offset().left),f){case"auto":u=this.element.offset().top+this.element.outerHeight()-a.top,u+this.container.outerHeight()>=this.parentEl[0].scrollHeight&&(u=this.element.offset().top-this.container.outerHeight()-a.top,f="up");break;case"up":u=this.element.offset().top-this.container.outerHeight()-a.top;break;default:u=this.element.offset().top+this.element.outerHeight()-a.top;break}this.container.css({top:0,left:0,right:"auto"});var b=this.container.outerWidth();if(this.container.toggleClass("drop-up",f=="up"),this.opens=="left"){var _=m-this.element.offset().left-this.element.outerWidth();b+_>n(window).width()?this.container.css({top:u,right:"auto",left:9}):this.container.css({top:u,right:_,left:"auto"})}else if(this.opens=="center"){var E=this.element.offset().left-a.left+this.element.outerWidth()/2-b/2;E<0?this.container.css({top:u,right:"auto",left:9}):E+b>n(window).width()?this.container.css({top:u,left:"auto",right:0}):this.container.css({top:u,left:E,right:"auto"})}else{var E=this.element.offset().left-a.left;E+b>n(window).width()?this.container.css({top:u,left:"auto",right:0}):this.container.css({top:u,left:E,right:"auto"})}},show:function(a){this.isShowing||(this._outsideClickProxy=n.proxy(function(u){this.outsideClick(u)},this),n(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),n(window).on("resize.daterangepicker",n.proxy(function(u){this.move(u)},this)),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.previousRightTime=this.endDate.clone(),this.updateView(),this.container.show(),this.move(),this.element.trigger("show.daterangepicker",this),this.isShowing=!0)},hide:function(a){this.isShowing&&(this.endDate||(this.startDate=this.oldStartDate.clone(),this.endDate=this.oldEndDate.clone()),(!this.startDate.isSame(this.oldStartDate)||!this.endDate.isSame(this.oldEndDate))&&this.callback(this.startDate.clone(),this.endDate.clone(),this.chosenLabel),this.updateElement(),n(document).off(".daterangepicker"),n(window).off(".daterangepicker"),this.container.hide(),this.element.trigger("hide.daterangepicker",this),this.isShowing=!1)},toggle:function(a){this.isShowing?this.hide():this.show()},outsideClick:function(a){var u=n(a.target);a.type=="focusin"||u.closest(this.element).length||u.closest(this.container).length||u.closest(".calendar-table").length||(this.hide(),this.element.trigger("outsideClick.daterangepicker",this))},showCalendars:function(){this.container.addClass("show-calendar"),this.move(),this.element.trigger("showCalendar.daterangepicker",this)},hideCalendars:function(){this.container.removeClass("show-calendar"),this.element.trigger("hideCalendar.daterangepicker",this)},clickRange:function(a){var u=a.target.getAttribute("data-range-key");if(this.chosenLabel=u,u==this.locale.customRangeLabel)this.showCalendars();else{var f=this.ranges[u];this.startDate=f[0],this.endDate=f[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.alwaysShowCalendars||this.hideCalendars(),this.clickApply()}},clickPrev:function(a){var u=n(a.target).parents(".drp-calendar");u.hasClass("left")?(this.leftCalendar.month.subtract(1,"month"),this.linkedCalendars&&this.rightCalendar.month.subtract(1,"month")):this.rightCalendar.month.subtract(1,"month"),this.updateCalendars()},clickNext:function(a){var u=n(a.target).parents(".drp-calendar");u.hasClass("left")?this.leftCalendar.month.add(1,"month"):(this.rightCalendar.month.add(1,"month"),this.linkedCalendars&&this.leftCalendar.month.add(1,"month")),this.updateCalendars()},hoverDate:function(a){if(n(a.target).hasClass("available")){var u=n(a.target).attr("data-title"),f=u.substr(1,1),m=u.substr(3,1),b=n(a.target).parents(".drp-calendar"),_=b.hasClass("left")?this.leftCalendar.calendar[f][m]:this.rightCalendar.calendar[f][m],E=this.leftCalendar,O=this.rightCalendar,M=this.startDate;this.endDate||this.container.find(".drp-calendar tbody td").each(function(z,B){if(!n(B).hasClass("week")){var $=n(B).attr("data-title"),Z=$.substr(1,1),W=$.substr(3,1),se=n(B).parents(".drp-calendar"),pe=se.hasClass("left")?E.calendar[Z][W]:O.calendar[Z][W];pe.isAfter(M)&&pe.isBefore(_)||pe.isSame(_,"day")?n(B).addClass("in-range"):n(B).removeClass("in-range")}})}},clickDate:function(a){if(n(a.target).hasClass("available")){var u=n(a.target).attr("data-title"),f=u.substr(1,1),m=u.substr(3,1),b=n(a.target).parents(".drp-calendar"),_=b.hasClass("left")?this.leftCalendar.calendar[f][m]:this.rightCalendar.calendar[f][m];if(this.endDate||_.isBefore(this.startDate,"day")){if(this.timePicker){var E=parseInt(this.container.find(".left .hourselect").val(),10);if(!this.timePicker24Hour){var O=this.container.find(".left .ampmselect").val();O==="PM"&&E<12&&(E+=12),O==="AM"&&E===12&&(E=0)}var M=parseInt(this.container.find(".left .minuteselect").val(),10);isNaN(M)&&(M=parseInt(this.container.find(".left .minuteselect option:last").val(),10));var z=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0;_=_.clone().hour(E).minute(M).second(z)}this.endDate=null,this.setStartDate(_.clone())}else if(!this.endDate&&_.isBefore(this.startDate))this.setEndDate(this.startDate.clone());else{if(this.timePicker){var E=parseInt(this.container.find(".right .hourselect").val(),10);if(!this.timePicker24Hour){var O=this.container.find(".right .ampmselect").val();O==="PM"&&E<12&&(E+=12),O==="AM"&&E===12&&(E=0)}var M=parseInt(this.container.find(".right .minuteselect").val(),10);isNaN(M)&&(M=parseInt(this.container.find(".right .minuteselect option:last").val(),10));var z=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0;_=_.clone().hour(E).minute(M).second(z)}this.setEndDate(_.clone()),this.autoApply&&(this.calculateChosenLabel(),this.clickApply())}this.singleDatePicker&&(this.setEndDate(this.startDate),!this.timePicker&&this.autoApply&&this.clickApply()),this.updateView(),a.stopPropagation()}},calculateChosenLabel:function(){var a=!0,u=0;for(var f in this.ranges){if(this.timePicker){var m=this.timePickerSeconds?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD HH:mm";if(this.startDate.format(m)==this.ranges[f][0].format(m)&&this.endDate.format(m)==this.ranges[f][1].format(m)){a=!1,this.chosenLabel=this.container.find(".ranges li:eq("+u+")").addClass("active").attr("data-range-key");break}}else if(this.startDate.format("YYYY-MM-DD")==this.ranges[f][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[f][1].format("YYYY-MM-DD")){a=!1,this.chosenLabel=this.container.find(".ranges li:eq("+u+")").addClass("active").attr("data-range-key");break}u++}a&&(this.showCustomRangeLabel?this.chosenLabel=this.container.find(".ranges li:last").addClass("active").attr("data-range-key"):this.chosenLabel=null,this.showCalendars())},clickApply:function(a){this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(a){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.hide(),this.element.trigger("cancel.daterangepicker",this)},monthOrYearChanged:function(a){var u=n(a.target).closest(".drp-calendar").hasClass("left"),f=u?"left":"right",m=this.container.find(".drp-calendar."+f),b=parseInt(m.find(".monthselect").val(),10),_=m.find(".yearselect").val();u||(_<this.startDate.year()||_==this.startDate.year()&&b<this.startDate.month())&&(b=this.startDate.month(),_=this.startDate.year()),this.minDate&&(_<this.minDate.year()||_==this.minDate.year()&&b<this.minDate.month())&&(b=this.minDate.month(),_=this.minDate.year()),this.maxDate&&(_>this.maxDate.year()||_==this.maxDate.year()&&b>this.maxDate.month())&&(b=this.maxDate.month(),_=this.maxDate.year()),u?(this.leftCalendar.month.month(b).year(_),this.linkedCalendars&&(this.rightCalendar.month=this.leftCalendar.month.clone().add(1,"month"))):(this.rightCalendar.month.month(b).year(_),this.linkedCalendars&&(this.leftCalendar.month=this.rightCalendar.month.clone().subtract(1,"month"))),this.updateCalendars()},timeChanged:function(a){var u=n(a.target).closest(".drp-calendar"),f=u.hasClass("left"),m=parseInt(u.find(".hourselect").val(),10),b=parseInt(u.find(".minuteselect").val(),10);isNaN(b)&&(b=parseInt(u.find(".minuteselect option:last").val(),10));var _=this.timePickerSeconds?parseInt(u.find(".secondselect").val(),10):0;if(!this.timePicker24Hour){var E=u.find(".ampmselect").val();E==="PM"&&m<12&&(m+=12),E==="AM"&&m===12&&(m=0)}if(f){var O=this.startDate.clone();O.hour(m),O.minute(b),O.second(_),this.setStartDate(O),this.singleDatePicker?this.endDate=this.startDate.clone():this.endDate&&this.endDate.format("YYYY-MM-DD")==O.format("YYYY-MM-DD")&&this.endDate.isBefore(O)&&this.setEndDate(O.clone())}else if(this.endDate){var M=this.endDate.clone();M.hour(m),M.minute(b),M.second(_),this.setEndDate(M)}this.updateCalendars(),this.updateFormInputs(),this.renderTimePicker("left"),this.renderTimePicker("right")},elementChanged:function(){if(this.element.is("input")&&this.element.val().length){var a=this.element.val().split(this.locale.separator),u=null,f=null;a.length===2&&(u=t(a[0],this.locale.format),f=t(a[1],this.locale.format)),(this.singleDatePicker||u===null||f===null)&&(u=t(this.element.val(),this.locale.format),f=u),!(!u.isValid()||!f.isValid())&&(this.setStartDate(u),this.setEndDate(f),this.updateView())}},keydown:function(a){(a.keyCode===9||a.keyCode===13)&&this.hide(),a.keyCode===27&&(a.preventDefault(),a.stopPropagation(),this.hide())},updateElement:function(){if(this.element.is("input")&&this.autoUpdateInput){var a=this.startDate.format(this.locale.format);this.singleDatePicker||(a+=this.locale.separator+this.endDate.format(this.locale.format)),a!==this.element.val()&&this.element.val(a).trigger("change")}},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData()}},n.fn.daterangepicker=function(a,u){var f=n.extend(!0,{},n.fn.daterangepicker.defaultOptions,a);return this.each(function(){var m=n(this);m.data("daterangepicker")&&m.data("daterangepicker").remove(),m.data("daterangepicker",new i(m,f,u))}),this},i})})(JA);var td=function(e,t){return td=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},td(e,t)};function eR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");td(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}(function(e){eR(t,e);function t(n){var i=e.call(this,n)||this;return i.ref=null,i.$picker=null,i}return t.prototype.componentDidMount=function(){var n=this;this.$picker=XA(this.ref),this.$picker.daterangepicker(this.props.initialSettings,this.handleCallback.bind(this)),["Show","Hide","ShowCalendar","HideCalendar","Apply","Cancel"].forEach(function(i){var a,u=i.charAt(0).toLowerCase()+i.slice(1);(a=n.$picker)===null||a===void 0||a.on(u+".daterangepicker",n.makeEventHandler("on"+i))})},t.prototype.componentWillUnmount=function(){var n,i;(i=(n=this.$picker)===null||n===void 0?void 0:n.data("daterangepicker"))===null||i===void 0||i.remove()},t.prototype.handleCallback=function(){for(var n,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];typeof this.props.onCallback=="function"&&(n=this.props).onCallback.apply(n,i)},t.prototype.makeEventHandler=function(n){var i=this,a=this.props.onEvent;return function(u,f){typeof a=="function"&&a(u,f),typeof i.props[n]=="function"&&i.props[n](u,f)}},t.prototype.setStartDate=function(n){var i,a;(a=(i=this.$picker)===null||i===void 0?void 0:i.data("daterangepicker"))===null||a===void 0||a.setStartDate(n)},t.prototype.setEndDate=function(n){var i,a;(a=(i=this.$picker)===null||i===void 0?void 0:i.data("daterangepicker"))===null||a===void 0||a.setEndDate(n)},t.prototype.render=function(){var n=this,i=D.reactExports.Children.only(this.props.children);return D.reactExports.cloneElement(i,{ref:function(a){return n.ref=a}})},t})(D.reactExports.Component);Wr(e=>D.jsxRuntimeExports.jsx(WI,{focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,...e}))(({theme:e})=>({width:42,height:26,padding:0,"&.MuiSwitch-root":{margin:0,marginRight:8},"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(16px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:D.color.primary300,opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid #fff"},"&.Mui-disabled .MuiSwitch-thumb":{color:e.palette.grey[100]},"&.Mui-disabled + .MuiSwitch-track":{opacity:.7}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:22,height:22},"& .MuiSwitch-track":{borderRadius:26/2,backgroundColor:"#E9E9EA",opacity:1}}));/**
|
|
148
|
+
*/(function(e){(function(t,n){if(e.exports){var i=typeof window<"u"?window.jQuery:void 0;i||(i=ny(),i.fn||(i.fn={}));var a=typeof window<"u"&&typeof window.moment<"u"?window.moment:nR;e.exports=n(a,i)}else t.daterangepicker=n(t.moment,t.jQuery)})(D.commonjsGlobal,function(t,n){var i=function(a,u,f){if(this.parentEl="body",this.element=n(a),this.startDate=t().startOf("day"),this.endDate=t().endOf("day"),this.minDate=!1,this.maxDate=!1,this.maxSpan=!1,this.autoApply=!1,this.singleDatePicker=!1,this.showDropdowns=!1,this.minYear=t().subtract(100,"year").format("YYYY"),this.maxYear=t().add(100,"year").format("YYYY"),this.showWeekNumbers=!1,this.showISOWeekNumbers=!1,this.showCustomRangeLabel=!0,this.timePicker=!1,this.timePicker24Hour=!1,this.timePickerIncrement=1,this.timePickerSeconds=!1,this.linkedCalendars=!0,this.autoUpdateInput=!0,this.alwaysShowCalendars=!1,this.ranges={},this.opens="right",this.element.hasClass("pull-right")&&(this.opens="left"),this.drops="down",this.element.hasClass("dropup")&&(this.drops="up"),this.buttonClasses="btn btn-sm",this.applyButtonClasses="btn-primary",this.cancelButtonClasses="btn-default",this.locale={direction:"ltr",format:t.localeData().longDateFormat("L"),separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:t.weekdaysMin(),monthNames:t.monthsShort(),firstDay:t.localeData().firstDayOfWeek()},this.callback=function(){},this.isShowing=!1,this.leftCalendar={},this.rightCalendar={},(typeof u!="object"||u===null)&&(u={}),u=n.extend(this.element.data(),u),typeof u.template!="string"&&!(u.template instanceof n)&&(u.template='<div class="daterangepicker"><div class="ranges"></div><div class="drp-calendar left"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-calendar right"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-buttons"><span class="drp-selected"></span><button class="cancelBtn" type="button"></button><button class="applyBtn" disabled="disabled" type="button"></button> </div></div>'),this.parentEl=u.parentEl&&n(u.parentEl).length?n(u.parentEl):n(this.parentEl),this.container=n(u.template).appendTo(this.parentEl),typeof u.locale=="object"&&(typeof u.locale.direction=="string"&&(this.locale.direction=u.locale.direction),typeof u.locale.format=="string"&&(this.locale.format=u.locale.format),typeof u.locale.separator=="string"&&(this.locale.separator=u.locale.separator),typeof u.locale.daysOfWeek=="object"&&(this.locale.daysOfWeek=u.locale.daysOfWeek.slice()),typeof u.locale.monthNames=="object"&&(this.locale.monthNames=u.locale.monthNames.slice()),typeof u.locale.firstDay=="number"&&(this.locale.firstDay=u.locale.firstDay),typeof u.locale.applyLabel=="string"&&(this.locale.applyLabel=u.locale.applyLabel),typeof u.locale.cancelLabel=="string"&&(this.locale.cancelLabel=u.locale.cancelLabel),typeof u.locale.weekLabel=="string"&&(this.locale.weekLabel=u.locale.weekLabel),typeof u.locale.customRangeLabel=="string")){var m=document.createElement("textarea");m.innerHTML=u.locale.customRangeLabel;var b=m.value;this.locale.customRangeLabel=b}if(this.container.addClass(this.locale.direction),typeof u.startDate=="string"&&(this.startDate=t(u.startDate,this.locale.format)),typeof u.endDate=="string"&&(this.endDate=t(u.endDate,this.locale.format)),typeof u.minDate=="string"&&(this.minDate=t(u.minDate,this.locale.format)),typeof u.maxDate=="string"&&(this.maxDate=t(u.maxDate,this.locale.format)),typeof u.startDate=="object"&&(this.startDate=t(u.startDate)),typeof u.endDate=="object"&&(this.endDate=t(u.endDate)),typeof u.minDate=="object"&&(this.minDate=t(u.minDate)),typeof u.maxDate=="object"&&(this.maxDate=t(u.maxDate)),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),typeof u.applyButtonClasses=="string"&&(this.applyButtonClasses=u.applyButtonClasses),typeof u.applyClass=="string"&&(this.applyButtonClasses=u.applyClass),typeof u.cancelButtonClasses=="string"&&(this.cancelButtonClasses=u.cancelButtonClasses),typeof u.cancelClass=="string"&&(this.cancelButtonClasses=u.cancelClass),typeof u.maxSpan=="object"&&(this.maxSpan=u.maxSpan),typeof u.dateLimit=="object"&&(this.maxSpan=u.dateLimit),typeof u.opens=="string"&&(this.opens=u.opens),typeof u.drops=="string"&&(this.drops=u.drops),typeof u.showWeekNumbers=="boolean"&&(this.showWeekNumbers=u.showWeekNumbers),typeof u.showISOWeekNumbers=="boolean"&&(this.showISOWeekNumbers=u.showISOWeekNumbers),typeof u.buttonClasses=="string"&&(this.buttonClasses=u.buttonClasses),typeof u.buttonClasses=="object"&&(this.buttonClasses=u.buttonClasses.join(" ")),typeof u.showDropdowns=="boolean"&&(this.showDropdowns=u.showDropdowns),typeof u.minYear=="number"&&(this.minYear=u.minYear),typeof u.maxYear=="number"&&(this.maxYear=u.maxYear),typeof u.showCustomRangeLabel=="boolean"&&(this.showCustomRangeLabel=u.showCustomRangeLabel),typeof u.singleDatePicker=="boolean"&&(this.singleDatePicker=u.singleDatePicker,this.singleDatePicker&&(this.endDate=this.startDate.clone())),typeof u.timePicker=="boolean"&&(this.timePicker=u.timePicker),typeof u.timePickerSeconds=="boolean"&&(this.timePickerSeconds=u.timePickerSeconds),typeof u.timePickerIncrement=="number"&&(this.timePickerIncrement=u.timePickerIncrement),typeof u.timePicker24Hour=="boolean"&&(this.timePicker24Hour=u.timePicker24Hour),typeof u.autoApply=="boolean"&&(this.autoApply=u.autoApply),typeof u.autoUpdateInput=="boolean"&&(this.autoUpdateInput=u.autoUpdateInput),typeof u.linkedCalendars=="boolean"&&(this.linkedCalendars=u.linkedCalendars),typeof u.isInvalidDate=="function"&&(this.isInvalidDate=u.isInvalidDate),typeof u.isCustomDate=="function"&&(this.isCustomDate=u.isCustomDate),typeof u.alwaysShowCalendars=="boolean"&&(this.alwaysShowCalendars=u.alwaysShowCalendars),this.locale.firstDay!=0)for(var _=this.locale.firstDay;_>0;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),_--;var E,O,M;if(typeof u.startDate>"u"&&typeof u.endDate>"u"&&n(this.element).is(":text")){var z=n(this.element).val(),B=z.split(this.locale.separator);E=O=null,B.length==2?(E=t(B[0],this.locale.format),O=t(B[1],this.locale.format)):this.singleDatePicker&&z!==""&&(E=t(z,this.locale.format),O=t(z,this.locale.format)),E!==null&&O!==null&&(this.setStartDate(E),this.setEndDate(O))}if(typeof u.ranges=="object"){for(M in u.ranges){typeof u.ranges[M][0]=="string"?E=t(u.ranges[M][0],this.locale.format):E=t(u.ranges[M][0]),typeof u.ranges[M][1]=="string"?O=t(u.ranges[M][1],this.locale.format):O=t(u.ranges[M][1]),this.minDate&&E.isBefore(this.minDate)&&(E=this.minDate.clone());var $=this.maxDate;if(this.maxSpan&&$&&E.clone().add(this.maxSpan).isAfter($)&&($=E.clone().add(this.maxSpan)),$&&O.isAfter($)&&(O=$.clone()),!(this.minDate&&O.isBefore(this.minDate,this.timepicker?"minute":"day")||$&&E.isAfter($,this.timepicker?"minute":"day"))){var m=document.createElement("textarea");m.innerHTML=M;var b=m.value;this.ranges[b]=[E,O]}}var Z="<ul>";for(M in this.ranges)Z+='<li data-range-key="'+M+'">'+M+"</li>";this.showCustomRangeLabel&&(Z+='<li data-range-key="'+this.locale.customRangeLabel+'">'+this.locale.customRangeLabel+"</li>"),Z+="</ul>",this.container.find(".ranges").prepend(Z)}typeof f=="function"&&(this.callback=f),this.timePicker||(this.startDate=this.startDate.startOf("day"),this.endDate=this.endDate.endOf("day"),this.container.find(".calendar-time").hide()),this.timePicker&&this.autoApply&&(this.autoApply=!1),this.autoApply&&this.container.addClass("auto-apply"),typeof u.ranges=="object"&&this.container.addClass("show-ranges"),this.singleDatePicker&&(this.container.addClass("single"),this.container.find(".drp-calendar.left").addClass("single"),this.container.find(".drp-calendar.left").show(),this.container.find(".drp-calendar.right").hide(),!this.timePicker&&this.autoApply&&this.container.addClass("auto-apply")),(typeof u.ranges>"u"&&!this.singleDatePicker||this.alwaysShowCalendars)&&this.container.addClass("show-calendar"),this.container.addClass("opens"+this.opens),this.container.find(".applyBtn, .cancelBtn").addClass(this.buttonClasses),this.applyButtonClasses.length&&this.container.find(".applyBtn").addClass(this.applyButtonClasses),this.cancelButtonClasses.length&&this.container.find(".cancelBtn").addClass(this.cancelButtonClasses),this.container.find(".applyBtn").html(this.locale.applyLabel),this.container.find(".cancelBtn").html(this.locale.cancelLabel),this.container.find(".drp-calendar").on("click.daterangepicker",".prev",n.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",n.proxy(this.clickNext,this)).on("mousedown.daterangepicker","td.available",n.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",n.proxy(this.hoverDate,this)).on("change.daterangepicker","select.yearselect",n.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.monthselect",n.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",n.proxy(this.timeChanged,this)),this.container.find(".ranges").on("click.daterangepicker","li",n.proxy(this.clickRange,this)),this.container.find(".drp-buttons").on("click.daterangepicker","button.applyBtn",n.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",n.proxy(this.clickCancel,this)),this.element.is("input")||this.element.is("button")?this.element.on({"click.daterangepicker":n.proxy(this.show,this),"focus.daterangepicker":n.proxy(this.show,this),"keyup.daterangepicker":n.proxy(this.elementChanged,this),"keydown.daterangepicker":n.proxy(this.keydown,this)}):(this.element.on("click.daterangepicker",n.proxy(this.toggle,this)),this.element.on("keydown.daterangepicker",n.proxy(this.toggle,this))),this.updateElement()};return i.prototype={constructor:i,setStartDate:function(a){typeof a=="string"&&(this.startDate=t(a,this.locale.format)),typeof a=="object"&&(this.startDate=t(a)),this.timePicker||(this.startDate=this.startDate.startOf("day")),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.maxDate&&this.startDate.isAfter(this.maxDate)&&(this.startDate=this.maxDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.floor(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.isShowing||this.updateElement(),this.updateMonthsInView()},setEndDate:function(a){typeof a=="string"&&(this.endDate=t(a,this.locale.format)),typeof a=="object"&&(this.endDate=t(a)),this.timePicker||(this.endDate=this.endDate.endOf("day")),this.timePicker&&this.timePickerIncrement&&this.endDate.minute(Math.round(this.endDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.endDate.isBefore(this.startDate)&&(this.endDate=this.startDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),this.maxSpan&&this.startDate.clone().add(this.maxSpan).isBefore(this.endDate)&&(this.endDate=this.startDate.clone().add(this.maxSpan)),this.previousRightTime=this.endDate.clone(),this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.isShowing||this.updateElement(),this.updateMonthsInView()},isInvalidDate:function(){return!1},isCustomDate:function(){return!1},updateView:function(){this.timePicker&&(this.renderTimePicker("left"),this.renderTimePicker("right"),this.endDate?this.container.find(".right .calendar-time select").prop("disabled",!1).removeClass("disabled"):this.container.find(".right .calendar-time select").prop("disabled",!0).addClass("disabled")),this.endDate&&this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.updateMonthsInView(),this.updateCalendars(),this.updateFormInputs()},updateMonthsInView:function(){if(this.endDate){if(!this.singleDatePicker&&this.leftCalendar.month&&this.rightCalendar.month&&(this.startDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.startDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM"))&&(this.endDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.endDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM")))return;this.leftCalendar.month=this.startDate.clone().date(2),!this.linkedCalendars&&(this.endDate.month()!=this.startDate.month()||this.endDate.year()!=this.startDate.year())?this.rightCalendar.month=this.endDate.clone().date(2):this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month")}else this.leftCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&this.rightCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&(this.leftCalendar.month=this.startDate.clone().date(2),this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"));this.maxDate&&this.linkedCalendars&&!this.singleDatePicker&&this.rightCalendar.month>this.maxDate&&(this.rightCalendar.month=this.maxDate.clone().date(2),this.leftCalendar.month=this.maxDate.clone().date(2).subtract(1,"month"))},updateCalendars:function(){if(this.timePicker){var a,u,f;if(this.endDate){if(a=parseInt(this.container.find(".left .hourselect").val(),10),u=parseInt(this.container.find(".left .minuteselect").val(),10),isNaN(u)&&(u=parseInt(this.container.find(".left .minuteselect option:last").val(),10)),f=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,!this.timePicker24Hour){var m=this.container.find(".left .ampmselect").val();m==="PM"&&a<12&&(a+=12),m==="AM"&&a===12&&(a=0)}}else if(a=parseInt(this.container.find(".right .hourselect").val(),10),u=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(u)&&(u=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),f=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,!this.timePicker24Hour){var m=this.container.find(".right .ampmselect").val();m==="PM"&&a<12&&(a+=12),m==="AM"&&a===12&&(a=0)}this.leftCalendar.month.hour(a).minute(u).second(f),this.rightCalendar.month.hour(a).minute(u).second(f)}this.renderCalendar("left"),this.renderCalendar("right"),this.container.find(".ranges li").removeClass("active"),this.endDate!=null&&this.calculateChosenLabel()},renderCalendar:function(a){var W=a=="left"?this.leftCalendar:this.rightCalendar,u=W.month.month(),f=W.month.year(),m=W.month.hour(),b=W.month.minute(),_=W.month.second(),E=t([f,u]).daysInMonth(),O=t([f,u,1]),M=t([f,u,E]),z=t(O).subtract(1,"month").month(),B=t(O).subtract(1,"month").year(),$=t([B,z]).daysInMonth(),Z=O.day(),W=[];W.firstDay=O,W.lastDay=M;for(var se=0;se<6;se++)W[se]=[];var pe=$-Z+this.locale.firstDay+1;pe>$&&(pe-=7),Z==this.locale.firstDay&&(pe=$-6);for(var ae=t([B,z,pe,12,b,_]),ne,ie,se=0,ne=0,ie=0;se<42;se++,ne++,ae=t(ae).add(24,"hour"))se>0&&ne%7===0&&(ne=0,ie++),W[ie][ne]=ae.clone().hour(m).minute(b).second(_),ae.hour(12),this.minDate&&W[ie][ne].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&W[ie][ne].isBefore(this.minDate)&&a=="left"&&(W[ie][ne]=this.minDate.clone()),this.maxDate&&W[ie][ne].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&W[ie][ne].isAfter(this.maxDate)&&a=="right"&&(W[ie][ne]=this.maxDate.clone());a=="left"?this.leftCalendar.calendar=W:this.rightCalendar.calendar=W;var h=a=="left"?this.minDate:this.startDate,Te=this.maxDate;a=="left"?this.startDate:this.endDate,this.locale.direction=="ltr";var ce='<table class="table-condensed">';ce+="<thead>",ce+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(ce+="<th></th>"),(!h||h.isBefore(W.firstDay))&&(!this.linkedCalendars||a=="left")?ce+='<th class="prev available"><span></span></th>':ce+="<th></th>";var et=this.locale.monthNames[W[1][1].month()]+W[1][1].format(" YYYY");if(this.showDropdowns){for(var Pe=W[1][1].month(),Xe=W[1][1].year(),xe=Te&&Te.year()||this.maxYear,qe=h&&h.year()||this.minYear,ut=Xe==qe,ht=Xe==xe,He='<select class="monthselect">',we=0;we<12;we++)(!ut||h&&we>=h.month())&&(!ht||Te&&we<=Te.month())?He+="<option value='"+we+"'"+(we===Pe?" selected='selected'":"")+">"+this.locale.monthNames[we]+"</option>":He+="<option value='"+we+"'"+(we===Pe?" selected='selected'":"")+" disabled='disabled'>"+this.locale.monthNames[we]+"</option>";He+="</select>";for(var Ve='<select class="yearselect">',lt=qe;lt<=xe;lt++)Ve+='<option value="'+lt+'"'+(lt===Xe?' selected="selected"':"")+">"+lt+"</option>";Ve+="</select>",et=He+Ve}if(ce+='<th colspan="5" class="month">'+et+"</th>",(!Te||Te.isAfter(W.lastDay))&&(!this.linkedCalendars||a=="right"||this.singleDatePicker)?ce+='<th class="next available"><span></span></th>':ce+="<th></th>",ce+="</tr>",ce+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(ce+='<th class="week">'+this.locale.weekLabel+"</th>"),n.each(this.locale.daysOfWeek,function(sr,Wi){ce+="<th>"+Wi+"</th>"}),ce+="</tr>",ce+="</thead>",ce+="<tbody>",this.endDate==null&&this.maxSpan){var _t=this.startDate.clone().add(this.maxSpan).endOf("day");(!Te||_t.isBefore(Te))&&(Te=_t)}for(var ie=0;ie<6;ie++){ce+="<tr>",this.showWeekNumbers?ce+='<td class="week">'+W[ie][0].week()+"</td>":this.showISOWeekNumbers&&(ce+='<td class="week">'+W[ie][0].isoWeek()+"</td>");for(var ne=0;ne<7;ne++){var St=[];W[ie][ne].isSame(new Date,"day")&&St.push("today"),W[ie][ne].isoWeekday()>5&&St.push("weekend"),W[ie][ne].month()!=W[1][1].month()&&St.push("off","ends"),this.minDate&&W[ie][ne].isBefore(this.minDate,"day")&&St.push("off","disabled"),Te&&W[ie][ne].isAfter(Te,"day")&&St.push("off","disabled"),this.isInvalidDate(W[ie][ne])&&St.push("off","disabled"),W[ie][ne].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&St.push("active","start-date"),this.endDate!=null&&W[ie][ne].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&St.push("active","end-date"),this.endDate!=null&&W[ie][ne]>this.startDate&&W[ie][ne]<this.endDate&&St.push("in-range");var Fn=this.isCustomDate(W[ie][ne]);Fn!==!1&&(typeof Fn=="string"?St.push(Fn):Array.prototype.push.apply(St,Fn));for(var qt="",Vt=!1,se=0;se<St.length;se++)qt+=St[se]+" ",St[se]=="disabled"&&(Vt=!0);Vt||(qt+="available"),ce+='<td class="'+qt.replace(/^\s+|\s+$/g,"")+'" data-title="r'+ie+"c"+ne+'">'+W[ie][ne].date()+"</td>"}ce+="</tr>"}ce+="</tbody>",ce+="</table>",this.container.find(".drp-calendar."+a+" .calendar-table").html(ce)},renderTimePicker:function(a){if(!(a=="right"&&!this.endDate)){var u,f,m,b=this.maxDate;if(this.maxSpan&&(!this.maxDate||this.startDate.clone().add(this.maxSpan).isBefore(this.maxDate))&&(b=this.startDate.clone().add(this.maxSpan)),a=="left")f=this.startDate.clone(),m=this.minDate;else if(a=="right"){f=this.endDate.clone(),m=this.startDate;var _=this.container.find(".drp-calendar.right .calendar-time");if(_.html()!=""&&(f.hour(isNaN(f.hour())?_.find(".hourselect option:selected").val():f.hour()),f.minute(isNaN(f.minute())?_.find(".minuteselect option:selected").val():f.minute()),f.second(isNaN(f.second())?_.find(".secondselect option:selected").val():f.second()),!this.timePicker24Hour)){var E=_.find(".ampmselect option:selected").val();E==="PM"&&f.hour()<12&&f.hour(f.hour()+12),E==="AM"&&f.hour()===12&&f.hour(0)}f.isBefore(this.startDate)&&(f=this.startDate.clone()),b&&f.isAfter(b)&&(f=b.clone())}u='<select class="hourselect">';for(var O=this.timePicker24Hour?0:1,M=this.timePicker24Hour?23:12,z=O;z<=M;z++){var B=z;this.timePicker24Hour||(B=f.hour()>=12?z==12?12:z+12:z==12?0:z);var $=f.clone().hour(B),Z=!1;m&&$.minute(59).isBefore(m)&&(Z=!0),b&&$.minute(0).isAfter(b)&&(Z=!0),B==f.hour()&&!Z?u+='<option value="'+z+'" selected="selected">'+z+"</option>":Z?u+='<option value="'+z+'" disabled="disabled" class="disabled">'+z+"</option>":u+='<option value="'+z+'">'+z+"</option>"}u+="</select> ",u+=': <select class="minuteselect">';for(var z=0;z<60;z+=this.timePickerIncrement){var W=z<10?"0"+z:z,$=f.clone().minute(z),Z=!1;m&&$.second(59).isBefore(m)&&(Z=!0),b&&$.second(0).isAfter(b)&&(Z=!0),f.minute()==z&&!Z?u+='<option value="'+z+'" selected="selected">'+W+"</option>":Z?u+='<option value="'+z+'" disabled="disabled" class="disabled">'+W+"</option>":u+='<option value="'+z+'">'+W+"</option>"}if(u+="</select> ",this.timePickerSeconds){u+=': <select class="secondselect">';for(var z=0;z<60;z++){var W=z<10?"0"+z:z,$=f.clone().second(z),Z=!1;m&&$.isBefore(m)&&(Z=!0),b&&$.isAfter(b)&&(Z=!0),f.second()==z&&!Z?u+='<option value="'+z+'" selected="selected">'+W+"</option>":Z?u+='<option value="'+z+'" disabled="disabled" class="disabled">'+W+"</option>":u+='<option value="'+z+'">'+W+"</option>"}u+="</select> "}if(!this.timePicker24Hour){u+='<select class="ampmselect">';var se="",pe="";m&&f.clone().hour(12).minute(0).second(0).isBefore(m)&&(se=' disabled="disabled" class="disabled"'),b&&f.clone().hour(0).minute(0).second(0).isAfter(b)&&(pe=' disabled="disabled" class="disabled"'),f.hour()>=12?u+='<option value="AM"'+se+'>AM</option><option value="PM" selected="selected"'+pe+">PM</option>":u+='<option value="AM" selected="selected"'+se+'>AM</option><option value="PM"'+pe+">PM</option>",u+="</select>"}this.container.find(".drp-calendar."+a+" .calendar-time").html(u)}},updateFormInputs:function(){this.singleDatePicker||this.endDate&&(this.startDate.isBefore(this.endDate)||this.startDate.isSame(this.endDate))?this.container.find("button.applyBtn").prop("disabled",!1):this.container.find("button.applyBtn").prop("disabled",!0)},move:function(){var a={top:0,left:0},u,f=this.drops,m=n(window).width();switch(this.parentEl.is("body")||(a={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},m=this.parentEl[0].clientWidth+this.parentEl.offset().left),f){case"auto":u=this.element.offset().top+this.element.outerHeight()-a.top,u+this.container.outerHeight()>=this.parentEl[0].scrollHeight&&(u=this.element.offset().top-this.container.outerHeight()-a.top,f="up");break;case"up":u=this.element.offset().top-this.container.outerHeight()-a.top;break;default:u=this.element.offset().top+this.element.outerHeight()-a.top;break}this.container.css({top:0,left:0,right:"auto"});var b=this.container.outerWidth();if(this.container.toggleClass("drop-up",f=="up"),this.opens=="left"){var _=m-this.element.offset().left-this.element.outerWidth();b+_>n(window).width()?this.container.css({top:u,right:"auto",left:9}):this.container.css({top:u,right:_,left:"auto"})}else if(this.opens=="center"){var E=this.element.offset().left-a.left+this.element.outerWidth()/2-b/2;E<0?this.container.css({top:u,right:"auto",left:9}):E+b>n(window).width()?this.container.css({top:u,left:"auto",right:0}):this.container.css({top:u,left:E,right:"auto"})}else{var E=this.element.offset().left-a.left;E+b>n(window).width()?this.container.css({top:u,left:"auto",right:0}):this.container.css({top:u,left:E,right:"auto"})}},show:function(a){this.isShowing||(this._outsideClickProxy=n.proxy(function(u){this.outsideClick(u)},this),n(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),n(window).on("resize.daterangepicker",n.proxy(function(u){this.move(u)},this)),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.previousRightTime=this.endDate.clone(),this.updateView(),this.container.show(),this.move(),this.element.trigger("show.daterangepicker",this),this.isShowing=!0)},hide:function(a){this.isShowing&&(this.endDate||(this.startDate=this.oldStartDate.clone(),this.endDate=this.oldEndDate.clone()),(!this.startDate.isSame(this.oldStartDate)||!this.endDate.isSame(this.oldEndDate))&&this.callback(this.startDate.clone(),this.endDate.clone(),this.chosenLabel),this.updateElement(),n(document).off(".daterangepicker"),n(window).off(".daterangepicker"),this.container.hide(),this.element.trigger("hide.daterangepicker",this),this.isShowing=!1)},toggle:function(a){this.isShowing?this.hide():this.show()},outsideClick:function(a){var u=n(a.target);a.type=="focusin"||u.closest(this.element).length||u.closest(this.container).length||u.closest(".calendar-table").length||(this.hide(),this.element.trigger("outsideClick.daterangepicker",this))},showCalendars:function(){this.container.addClass("show-calendar"),this.move(),this.element.trigger("showCalendar.daterangepicker",this)},hideCalendars:function(){this.container.removeClass("show-calendar"),this.element.trigger("hideCalendar.daterangepicker",this)},clickRange:function(a){var u=a.target.getAttribute("data-range-key");if(this.chosenLabel=u,u==this.locale.customRangeLabel)this.showCalendars();else{var f=this.ranges[u];this.startDate=f[0],this.endDate=f[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.alwaysShowCalendars||this.hideCalendars(),this.clickApply()}},clickPrev:function(a){var u=n(a.target).parents(".drp-calendar");u.hasClass("left")?(this.leftCalendar.month.subtract(1,"month"),this.linkedCalendars&&this.rightCalendar.month.subtract(1,"month")):this.rightCalendar.month.subtract(1,"month"),this.updateCalendars()},clickNext:function(a){var u=n(a.target).parents(".drp-calendar");u.hasClass("left")?this.leftCalendar.month.add(1,"month"):(this.rightCalendar.month.add(1,"month"),this.linkedCalendars&&this.leftCalendar.month.add(1,"month")),this.updateCalendars()},hoverDate:function(a){if(n(a.target).hasClass("available")){var u=n(a.target).attr("data-title"),f=u.substr(1,1),m=u.substr(3,1),b=n(a.target).parents(".drp-calendar"),_=b.hasClass("left")?this.leftCalendar.calendar[f][m]:this.rightCalendar.calendar[f][m],E=this.leftCalendar,O=this.rightCalendar,M=this.startDate;this.endDate||this.container.find(".drp-calendar tbody td").each(function(z,B){if(!n(B).hasClass("week")){var $=n(B).attr("data-title"),Z=$.substr(1,1),W=$.substr(3,1),se=n(B).parents(".drp-calendar"),pe=se.hasClass("left")?E.calendar[Z][W]:O.calendar[Z][W];pe.isAfter(M)&&pe.isBefore(_)||pe.isSame(_,"day")?n(B).addClass("in-range"):n(B).removeClass("in-range")}})}},clickDate:function(a){if(n(a.target).hasClass("available")){var u=n(a.target).attr("data-title"),f=u.substr(1,1),m=u.substr(3,1),b=n(a.target).parents(".drp-calendar"),_=b.hasClass("left")?this.leftCalendar.calendar[f][m]:this.rightCalendar.calendar[f][m];if(this.endDate||_.isBefore(this.startDate,"day")){if(this.timePicker){var E=parseInt(this.container.find(".left .hourselect").val(),10);if(!this.timePicker24Hour){var O=this.container.find(".left .ampmselect").val();O==="PM"&&E<12&&(E+=12),O==="AM"&&E===12&&(E=0)}var M=parseInt(this.container.find(".left .minuteselect").val(),10);isNaN(M)&&(M=parseInt(this.container.find(".left .minuteselect option:last").val(),10));var z=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0;_=_.clone().hour(E).minute(M).second(z)}this.endDate=null,this.setStartDate(_.clone())}else if(!this.endDate&&_.isBefore(this.startDate))this.setEndDate(this.startDate.clone());else{if(this.timePicker){var E=parseInt(this.container.find(".right .hourselect").val(),10);if(!this.timePicker24Hour){var O=this.container.find(".right .ampmselect").val();O==="PM"&&E<12&&(E+=12),O==="AM"&&E===12&&(E=0)}var M=parseInt(this.container.find(".right .minuteselect").val(),10);isNaN(M)&&(M=parseInt(this.container.find(".right .minuteselect option:last").val(),10));var z=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0;_=_.clone().hour(E).minute(M).second(z)}this.setEndDate(_.clone()),this.autoApply&&(this.calculateChosenLabel(),this.clickApply())}this.singleDatePicker&&(this.setEndDate(this.startDate),!this.timePicker&&this.autoApply&&this.clickApply()),this.updateView(),a.stopPropagation()}},calculateChosenLabel:function(){var a=!0,u=0;for(var f in this.ranges){if(this.timePicker){var m=this.timePickerSeconds?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD HH:mm";if(this.startDate.format(m)==this.ranges[f][0].format(m)&&this.endDate.format(m)==this.ranges[f][1].format(m)){a=!1,this.chosenLabel=this.container.find(".ranges li:eq("+u+")").addClass("active").attr("data-range-key");break}}else if(this.startDate.format("YYYY-MM-DD")==this.ranges[f][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[f][1].format("YYYY-MM-DD")){a=!1,this.chosenLabel=this.container.find(".ranges li:eq("+u+")").addClass("active").attr("data-range-key");break}u++}a&&(this.showCustomRangeLabel?this.chosenLabel=this.container.find(".ranges li:last").addClass("active").attr("data-range-key"):this.chosenLabel=null,this.showCalendars())},clickApply:function(a){this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(a){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.hide(),this.element.trigger("cancel.daterangepicker",this)},monthOrYearChanged:function(a){var u=n(a.target).closest(".drp-calendar").hasClass("left"),f=u?"left":"right",m=this.container.find(".drp-calendar."+f),b=parseInt(m.find(".monthselect").val(),10),_=m.find(".yearselect").val();u||(_<this.startDate.year()||_==this.startDate.year()&&b<this.startDate.month())&&(b=this.startDate.month(),_=this.startDate.year()),this.minDate&&(_<this.minDate.year()||_==this.minDate.year()&&b<this.minDate.month())&&(b=this.minDate.month(),_=this.minDate.year()),this.maxDate&&(_>this.maxDate.year()||_==this.maxDate.year()&&b>this.maxDate.month())&&(b=this.maxDate.month(),_=this.maxDate.year()),u?(this.leftCalendar.month.month(b).year(_),this.linkedCalendars&&(this.rightCalendar.month=this.leftCalendar.month.clone().add(1,"month"))):(this.rightCalendar.month.month(b).year(_),this.linkedCalendars&&(this.leftCalendar.month=this.rightCalendar.month.clone().subtract(1,"month"))),this.updateCalendars()},timeChanged:function(a){var u=n(a.target).closest(".drp-calendar"),f=u.hasClass("left"),m=parseInt(u.find(".hourselect").val(),10),b=parseInt(u.find(".minuteselect").val(),10);isNaN(b)&&(b=parseInt(u.find(".minuteselect option:last").val(),10));var _=this.timePickerSeconds?parseInt(u.find(".secondselect").val(),10):0;if(!this.timePicker24Hour){var E=u.find(".ampmselect").val();E==="PM"&&m<12&&(m+=12),E==="AM"&&m===12&&(m=0)}if(f){var O=this.startDate.clone();O.hour(m),O.minute(b),O.second(_),this.setStartDate(O),this.singleDatePicker?this.endDate=this.startDate.clone():this.endDate&&this.endDate.format("YYYY-MM-DD")==O.format("YYYY-MM-DD")&&this.endDate.isBefore(O)&&this.setEndDate(O.clone())}else if(this.endDate){var M=this.endDate.clone();M.hour(m),M.minute(b),M.second(_),this.setEndDate(M)}this.updateCalendars(),this.updateFormInputs(),this.renderTimePicker("left"),this.renderTimePicker("right")},elementChanged:function(){if(this.element.is("input")&&this.element.val().length){var a=this.element.val().split(this.locale.separator),u=null,f=null;a.length===2&&(u=t(a[0],this.locale.format),f=t(a[1],this.locale.format)),(this.singleDatePicker||u===null||f===null)&&(u=t(this.element.val(),this.locale.format),f=u),!(!u.isValid()||!f.isValid())&&(this.setStartDate(u),this.setEndDate(f),this.updateView())}},keydown:function(a){(a.keyCode===9||a.keyCode===13)&&this.hide(),a.keyCode===27&&(a.preventDefault(),a.stopPropagation(),this.hide())},updateElement:function(){if(this.element.is("input")&&this.autoUpdateInput){var a=this.startDate.format(this.locale.format);this.singleDatePicker||(a+=this.locale.separator+this.endDate.format(this.locale.format)),a!==this.element.val()&&this.element.val(a).trigger("change")}},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData()}},n.fn.daterangepicker=function(a,u){var f=n.extend(!0,{},n.fn.daterangepicker.defaultOptions,a);return this.each(function(){var m=n(this);m.data("daterangepicker")&&m.data("daterangepicker").remove(),m.data("daterangepicker",new i(m,f,u))}),this},i})})(tR);var nd=function(e,t){return nd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},nd(e,t)};function rR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");nd(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}(function(e){rR(t,e);function t(n){var i=e.call(this,n)||this;return i.ref=null,i.$picker=null,i}return t.prototype.componentDidMount=function(){var n=this;this.$picker=eR(this.ref),this.$picker.daterangepicker(this.props.initialSettings,this.handleCallback.bind(this)),["Show","Hide","ShowCalendar","HideCalendar","Apply","Cancel"].forEach(function(i){var a,u=i.charAt(0).toLowerCase()+i.slice(1);(a=n.$picker)===null||a===void 0||a.on(u+".daterangepicker",n.makeEventHandler("on"+i))})},t.prototype.componentWillUnmount=function(){var n,i;(i=(n=this.$picker)===null||n===void 0?void 0:n.data("daterangepicker"))===null||i===void 0||i.remove()},t.prototype.handleCallback=function(){for(var n,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];typeof this.props.onCallback=="function"&&(n=this.props).onCallback.apply(n,i)},t.prototype.makeEventHandler=function(n){var i=this,a=this.props.onEvent;return function(u,f){typeof a=="function"&&a(u,f),typeof i.props[n]=="function"&&i.props[n](u,f)}},t.prototype.setStartDate=function(n){var i,a;(a=(i=this.$picker)===null||i===void 0?void 0:i.data("daterangepicker"))===null||a===void 0||a.setStartDate(n)},t.prototype.setEndDate=function(n){var i,a;(a=(i=this.$picker)===null||i===void 0?void 0:i.data("daterangepicker"))===null||a===void 0||a.setEndDate(n)},t.prototype.render=function(){var n=this,i=D.reactExports.Children.only(this.props.children);return D.reactExports.cloneElement(i,{ref:function(a){return n.ref=a}})},t})(D.reactExports.Component);Wr(e=>D.jsxRuntimeExports.jsx(UI,{focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,...e}))(({theme:e})=>({width:42,height:26,padding:0,"&.MuiSwitch-root":{margin:0,marginRight:8},"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(16px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:D.color.primary300,opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid #fff"},"&.Mui-disabled .MuiSwitch-thumb":{color:e.palette.grey[100]},"&.Mui-disabled + .MuiSwitch-track":{opacity:.7}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:22,height:22},"& .MuiSwitch-track":{borderRadius:26/2,backgroundColor:"#E9E9EA",opacity:1}}));/**
|
|
149
149
|
* @license
|
|
150
150
|
* Copyright 2017 Google LLC
|
|
151
151
|
*
|
|
@@ -175,7 +175,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
175
175
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
176
176
|
* See the License for the specific language governing permissions and
|
|
177
177
|
* limitations under the License.
|
|
178
|
-
*/const
|
|
178
|
+
*/const ry=function(e){const t=[];let n=0;for(let i=0;i<e.length;i++){let a=e.charCodeAt(i);a<128?t[n++]=a:a<2048?(t[n++]=a>>6|192,t[n++]=a&63|128):(a&64512)===55296&&i+1<e.length&&(e.charCodeAt(i+1)&64512)===56320?(a=65536+((a&1023)<<10)+(e.charCodeAt(++i)&1023),t[n++]=a>>18|240,t[n++]=a>>12&63|128,t[n++]=a>>6&63|128,t[n++]=a&63|128):(t[n++]=a>>12|224,t[n++]=a>>6&63|128,t[n++]=a&63|128)}return t},iR=function(e){const t=[];let n=0,i=0;for(;n<e.length;){const a=e[n++];if(a<128)t[i++]=String.fromCharCode(a);else if(a>191&&a<224){const u=e[n++];t[i++]=String.fromCharCode((a&31)<<6|u&63)}else if(a>239&&a<365){const u=e[n++],f=e[n++],m=e[n++],b=((a&7)<<18|(u&63)<<12|(f&63)<<6|m&63)-65536;t[i++]=String.fromCharCode(55296+(b>>10)),t[i++]=String.fromCharCode(56320+(b&1023))}else{const u=e[n++],f=e[n++];t[i++]=String.fromCharCode((a&15)<<12|(u&63)<<6|f&63)}}return t.join("")},sR={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:typeof atob=="function",encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();const n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,i=[];for(let a=0;a<e.length;a+=3){const u=e[a],f=a+1<e.length,m=f?e[a+1]:0,b=a+2<e.length,_=b?e[a+2]:0,E=u>>2,O=(u&3)<<4|m>>4;let M=(m&15)<<2|_>>6,z=_&63;b||(z=64,f||(M=64)),i.push(n[E],n[O],n[M],n[z])}return i.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(ry(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):iR(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();const n=t?this.charToByteMapWebSafe_:this.charToByteMap_,i=[];for(let a=0;a<e.length;){const u=n[e.charAt(a++)],m=a<e.length?n[e.charAt(a)]:0;++a;const _=a<e.length?n[e.charAt(a)]:64;++a;const O=a<e.length?n[e.charAt(a)]:64;if(++a,u==null||m==null||_==null||O==null)throw new aR;const M=u<<2|m>>4;if(i.push(M),_!==64){const z=m<<4&240|_>>2;if(i.push(z),O!==64){const B=_<<6&192|O;i.push(B)}}}return i},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}};class aR extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const oR=function(e){const t=ry(e);return sR.encodeByteArray(t,!0)},iy=function(e){return oR(e).replace(/\./g,"")};function uR(){try{return typeof indexedDB=="object"}catch{return!1}}function lR(){return new Promise((e,t)=>{try{let n=!0;const i="validate-browser-context-for-indexeddb-analytics-module",a=self.indexedDB.open(i);a.onsuccess=()=>{a.result.close(),n||self.indexedDB.deleteDatabase(i),e(!0)},a.onupgradeneeded=()=>{n=!1},a.onerror=()=>{var u;t(((u=a.error)===null||u===void 0?void 0:u.message)||"")}}catch(n){t(n)}})}/**
|
|
179
179
|
* @license
|
|
180
180
|
* Copyright 2017 Google LLC
|
|
181
181
|
*
|
|
@@ -190,7 +190,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
190
190
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
191
191
|
* See the License for the specific language governing permissions and
|
|
192
192
|
* limitations under the License.
|
|
193
|
-
*/const
|
|
193
|
+
*/const cR="FirebaseError";class ia extends Error{constructor(t,n,i){super(n),this.code=t,this.customData=i,this.name=cR,Object.setPrototypeOf(this,ia.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,Ql.prototype.create)}}class Ql{constructor(t,n,i){this.service=t,this.serviceName=n,this.errors=i}create(t,...n){const i=n[0]||{},a=`${this.service}/${t}`,u=this.errors[t],f=u?fR(u,i):"Error",m=`${this.serviceName}: ${f} (${a}).`;return new ia(a,m,i)}}function fR(e,t){return e.replace(dR,(n,i)=>{const a=t[i];return a!=null?String(a):`<${i}?>`})}const dR=/\{\$([^}]+)}/g;class cs{constructor(t,n,i){this.name=t,this.instanceFactory=n,this.type=i,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(t){return this.instantiationMode=t,this}setMultipleInstances(t){return this.multipleInstances=t,this}setServiceProps(t){return this.serviceProps=t,this}setInstanceCreatedCallback(t){return this.onInstanceCreated=t,this}}/**
|
|
194
194
|
* @license
|
|
195
195
|
* Copyright 2017 Google LLC
|
|
196
196
|
*
|
|
@@ -205,7 +205,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
205
205
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
206
206
|
* See the License for the specific language governing permissions and
|
|
207
207
|
* limitations under the License.
|
|
208
|
-
*/var ct;(function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"})(ct||(ct={}));const
|
|
208
|
+
*/var ct;(function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"})(ct||(ct={}));const hR={debug:ct.DEBUG,verbose:ct.VERBOSE,info:ct.INFO,warn:ct.WARN,error:ct.ERROR,silent:ct.SILENT},pR=ct.INFO,gR={[ct.DEBUG]:"log",[ct.VERBOSE]:"log",[ct.INFO]:"info",[ct.WARN]:"warn",[ct.ERROR]:"error"},mR=(e,t,...n)=>{if(t<e.logLevel)return;const i=new Date().toISOString(),a=gR[t];if(a)console[a](`[${i}] ${e.name}:`,...n);else throw new Error(`Attempted to log a message with an invalid logType (value: ${t})`)};class yR{constructor(t){this.name=t,this._logLevel=pR,this._logHandler=mR,this._userLogHandler=null}get logLevel(){return this._logLevel}set logLevel(t){if(!(t in ct))throw new TypeError(`Invalid value "${t}" assigned to \`logLevel\``);this._logLevel=t}setLogLevel(t){this._logLevel=typeof t=="string"?hR[t]:t}get logHandler(){return this._logHandler}set logHandler(t){if(typeof t!="function")throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=t}get userLogHandler(){return this._userLogHandler}set userLogHandler(t){this._userLogHandler=t}debug(...t){this._userLogHandler&&this._userLogHandler(this,ct.DEBUG,...t),this._logHandler(this,ct.DEBUG,...t)}log(...t){this._userLogHandler&&this._userLogHandler(this,ct.VERBOSE,...t),this._logHandler(this,ct.VERBOSE,...t)}info(...t){this._userLogHandler&&this._userLogHandler(this,ct.INFO,...t),this._logHandler(this,ct.INFO,...t)}warn(...t){this._userLogHandler&&this._userLogHandler(this,ct.WARN,...t),this._logHandler(this,ct.WARN,...t)}error(...t){this._userLogHandler&&this._userLogHandler(this,ct.ERROR,...t),this._logHandler(this,ct.ERROR,...t)}}const vR=(e,t)=>t.some(n=>e instanceof n);let Zg,Xg;function bR(){return Zg||(Zg=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function xR(){return Xg||(Xg=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const sy=new WeakMap,rd=new WeakMap,ay=new WeakMap,Mf=new WeakMap,Xd=new WeakMap;function wR(e){const t=new Promise((n,i)=>{const a=()=>{e.removeEventListener("success",u),e.removeEventListener("error",f)},u=()=>{n(pi(e.result)),a()},f=()=>{i(e.error),a()};e.addEventListener("success",u),e.addEventListener("error",f)});return t.then(n=>{n instanceof IDBCursor&&sy.set(n,e)}).catch(()=>{}),Xd.set(t,e),t}function _R(e){if(rd.has(e))return;const t=new Promise((n,i)=>{const a=()=>{e.removeEventListener("complete",u),e.removeEventListener("error",f),e.removeEventListener("abort",f)},u=()=>{n(),a()},f=()=>{i(e.error||new DOMException("AbortError","AbortError")),a()};e.addEventListener("complete",u),e.addEventListener("error",f),e.addEventListener("abort",f)});rd.set(e,t)}let id={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return rd.get(e);if(t==="objectStoreNames")return e.objectStoreNames||ay.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return pi(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function SR(e){id=e(id)}function kR(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...n){const i=e.call(If(this),t,...n);return ay.set(i,t.sort?t.sort():[t]),pi(i)}:xR().includes(e)?function(...t){return e.apply(If(this),t),pi(sy.get(this))}:function(...t){return pi(e.apply(If(this),t))}}function CR(e){return typeof e=="function"?kR(e):(e instanceof IDBTransaction&&_R(e),vR(e,bR())?new Proxy(e,id):e)}function pi(e){if(e instanceof IDBRequest)return wR(e);if(Mf.has(e))return Mf.get(e);const t=CR(e);return t!==e&&(Mf.set(e,t),Xd.set(t,e)),t}const If=e=>Xd.get(e);function ec(e,t,{blocked:n,upgrade:i,blocking:a,terminated:u}={}){const f=indexedDB.open(e,t),m=pi(f);return i&&f.addEventListener("upgradeneeded",b=>{i(pi(f.result),b.oldVersion,b.newVersion,pi(f.transaction),b)}),n&&f.addEventListener("blocked",b=>n(b.oldVersion,b.newVersion,b)),m.then(b=>{u&&b.addEventListener("close",()=>u()),a&&b.addEventListener("versionchange",_=>a(_.oldVersion,_.newVersion,_))}).catch(()=>{}),m}function Af(e,{blocked:t}={}){const n=indexedDB.deleteDatabase(e);return t&&n.addEventListener("blocked",i=>t(i.oldVersion,i)),pi(n).then(()=>{})}const DR=["get","getKey","getAll","getAllKeys","count"],ER=["put","add","delete","clear"],Rf=new Map;function Jg(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(Rf.get(t))return Rf.get(t);const n=t.replace(/FromIndex$/,""),i=t!==n,a=ER.includes(n);if(!(n in(i?IDBIndex:IDBObjectStore).prototype)||!(a||DR.includes(n)))return;const u=async function(f,...m){const b=this.transaction(f,a?"readwrite":"readonly");let _=b.store;return i&&(_=_.index(m.shift())),(await Promise.all([_[n](...m),a&&b.done]))[0]};return Rf.set(t,u),u}SR(e=>({...e,get:(t,n,i)=>Jg(t,n)||e.get(t,n,i),has:(t,n)=>!!Jg(t,n)||e.has(t,n)}));/**
|
|
209
209
|
* @license
|
|
210
210
|
* Copyright 2019 Google LLC
|
|
211
211
|
*
|
|
@@ -220,7 +220,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
220
220
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
221
221
|
* See the License for the specific language governing permissions and
|
|
222
222
|
* limitations under the License.
|
|
223
|
-
*/class
|
|
223
|
+
*/class TR{constructor(t){this.container=t}getPlatformInfoString(){return this.container.getProviders().map(n=>{if(MR(n)){const i=n.getImmediate();return`${i.library}/${i.version}`}else return null}).filter(n=>n).join(" ")}}function MR(e){const t=e.getComponent();return(t==null?void 0:t.type)==="VERSION"}const sd="@firebase/app",Qg="0.9.28";/**
|
|
224
224
|
* @license
|
|
225
225
|
* Copyright 2019 Google LLC
|
|
226
226
|
*
|
|
@@ -235,7 +235,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
235
235
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
236
236
|
* See the License for the specific language governing permissions and
|
|
237
237
|
* limitations under the License.
|
|
238
|
-
*/const fs=new
|
|
238
|
+
*/const fs=new yR("@firebase/app"),IR="@firebase/app-compat",AR="@firebase/analytics-compat",RR="@firebase/analytics",OR="@firebase/app-check-compat",PR="@firebase/app-check",NR="@firebase/auth",LR="@firebase/auth-compat",FR="@firebase/database",$R="@firebase/database-compat",jR="@firebase/functions",BR="@firebase/functions-compat",YR="@firebase/installations",WR="@firebase/installations-compat",HR="@firebase/messaging",UR="@firebase/messaging-compat",zR="@firebase/performance",qR="@firebase/performance-compat",VR="@firebase/remote-config",GR="@firebase/remote-config-compat",KR="@firebase/storage",ZR="@firebase/storage-compat",XR="@firebase/firestore",JR="@firebase/firestore-compat",QR="firebase",eO={[sd]:"fire-core",[IR]:"fire-core-compat",[RR]:"fire-analytics",[AR]:"fire-analytics-compat",[PR]:"fire-app-check",[OR]:"fire-app-check-compat",[NR]:"fire-auth",[LR]:"fire-auth-compat",[FR]:"fire-rtdb",[$R]:"fire-rtdb-compat",[jR]:"fire-fn",[BR]:"fire-fn-compat",[YR]:"fire-iid",[WR]:"fire-iid-compat",[HR]:"fire-fcm",[UR]:"fire-fcm-compat",[zR]:"fire-perf",[qR]:"fire-perf-compat",[VR]:"fire-rc",[GR]:"fire-rc-compat",[KR]:"fire-gcs",[ZR]:"fire-gcs-compat",[XR]:"fire-fst",[JR]:"fire-fst-compat","fire-js":"fire-js",[QR]:"fire-js-all"};/**
|
|
239
239
|
* @license
|
|
240
240
|
* Copyright 2019 Google LLC
|
|
241
241
|
*
|
|
@@ -250,7 +250,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
250
250
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
251
251
|
* See the License for the specific language governing permissions and
|
|
252
252
|
* limitations under the License.
|
|
253
|
-
*/const
|
|
253
|
+
*/const tO=new Map,em=new Map;function nO(e,t){try{e.container.addComponent(t)}catch(n){fs.debug(`Component ${t.name} failed to register with FirebaseApp ${e.name}`,n)}}function ds(e){const t=e.name;if(em.has(t))return fs.debug(`There were multiple attempts to register component ${t}.`),!1;em.set(t,e);for(const n of tO.values())nO(n,e);return!0}function oy(e,t){const n=e.container.getProvider("heartbeat").getImmediate({optional:!0});return n&&n.triggerHeartbeat(),e.container.getProvider(t)}/**
|
|
254
254
|
* @license
|
|
255
255
|
* Copyright 2019 Google LLC
|
|
256
256
|
*
|
|
@@ -265,7 +265,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
265
265
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
266
266
|
* See the License for the specific language governing permissions and
|
|
267
267
|
* limitations under the License.
|
|
268
|
-
*/const
|
|
268
|
+
*/const rO={"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."},Jd=new Ql("app","Firebase",rO);function Yi(e,t,n){var i;let a=(i=eO[e])!==null&&i!==void 0?i:e;n&&(a+=`-${n}`);const u=a.match(/\s|\//),f=t.match(/\s|\//);if(u||f){const m=[`Unable to register library "${a}" with version "${t}":`];u&&m.push(`library name "${a}" contains illegal characters (whitespace or "/")`),u&&f&&m.push("and"),f&&m.push(`version name "${t}" contains illegal characters (whitespace or "/")`),fs.warn(m.join(" "));return}ds(new cs(`${a}-version`,()=>({library:a,version:t}),"VERSION"))}/**
|
|
269
269
|
* @license
|
|
270
270
|
* Copyright 2021 Google LLC
|
|
271
271
|
*
|
|
@@ -280,7 +280,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
280
280
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
281
281
|
* See the License for the specific language governing permissions and
|
|
282
282
|
* limitations under the License.
|
|
283
|
-
*/const
|
|
283
|
+
*/const iO="firebase-heartbeat-database",sO=1,co="firebase-heartbeat-store";let Of=null;function uy(){return Of||(Of=ec(iO,sO,{upgrade:(e,t)=>{switch(t){case 0:try{e.createObjectStore(co)}catch(n){console.warn(n)}}}}).catch(e=>{throw Jd.create("idb-open",{originalErrorMessage:e.message})})),Of}async function aO(e){try{const n=(await uy()).transaction(co),i=await n.objectStore(co).get(ly(e));return await n.done,i}catch(t){if(t instanceof ia)fs.warn(t.message);else{const n=Jd.create("idb-get",{originalErrorMessage:t==null?void 0:t.message});fs.warn(n.message)}}}async function tm(e,t){try{const i=(await uy()).transaction(co,"readwrite");await i.objectStore(co).put(t,ly(e)),await i.done}catch(n){if(n instanceof ia)fs.warn(n.message);else{const i=Jd.create("idb-set",{originalErrorMessage:n==null?void 0:n.message});fs.warn(i.message)}}}function ly(e){return`${e.name}!${e.options.appId}`}/**
|
|
284
284
|
* @license
|
|
285
285
|
* Copyright 2021 Google LLC
|
|
286
286
|
*
|
|
@@ -295,7 +295,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
295
295
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
296
296
|
* See the License for the specific language governing permissions and
|
|
297
297
|
* limitations under the License.
|
|
298
|
-
*/const
|
|
298
|
+
*/const oO=1024,uO=30*24*60*60*1e3;class lO{constructor(t){this.container=t,this._heartbeatsCache=null;const n=this.container.getProvider("app").getImmediate();this._storage=new fO(n),this._heartbeatsCachePromise=this._storage.read().then(i=>(this._heartbeatsCache=i,i))}async triggerHeartbeat(){var t,n;const a=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),u=nm();if(!(((t=this._heartbeatsCache)===null||t===void 0?void 0:t.heartbeats)==null&&(this._heartbeatsCache=await this._heartbeatsCachePromise,((n=this._heartbeatsCache)===null||n===void 0?void 0:n.heartbeats)==null))&&!(this._heartbeatsCache.lastSentHeartbeatDate===u||this._heartbeatsCache.heartbeats.some(f=>f.date===u)))return this._heartbeatsCache.heartbeats.push({date:u,agent:a}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter(f=>{const m=new Date(f.date).valueOf();return Date.now()-m<=uO}),this._storage.overwrite(this._heartbeatsCache)}async getHeartbeatsHeader(){var t;if(this._heartbeatsCache===null&&await this._heartbeatsCachePromise,((t=this._heartbeatsCache)===null||t===void 0?void 0:t.heartbeats)==null||this._heartbeatsCache.heartbeats.length===0)return"";const n=nm(),{heartbeatsToSend:i,unsentEntries:a}=cO(this._heartbeatsCache.heartbeats),u=iy(JSON.stringify({version:2,heartbeats:i}));return this._heartbeatsCache.lastSentHeartbeatDate=n,a.length>0?(this._heartbeatsCache.heartbeats=a,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),u}}function nm(){return new Date().toISOString().substring(0,10)}function cO(e,t=oO){const n=[];let i=e.slice();for(const a of e){const u=n.find(f=>f.agent===a.agent);if(u){if(u.dates.push(a.date),rm(n)>t){u.dates.pop();break}}else if(n.push({agent:a.agent,dates:[a.date]}),rm(n)>t){n.pop();break}i=i.slice(1)}return{heartbeatsToSend:n,unsentEntries:i}}class fO{constructor(t){this.app=t,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return uR()?lR().then(()=>!0).catch(()=>!1):!1}async read(){if(await this._canUseIndexedDBPromise){const n=await aO(this.app);return n!=null&&n.heartbeats?n:{heartbeats:[]}}else return{heartbeats:[]}}async overwrite(t){var n;if(await this._canUseIndexedDBPromise){const a=await this.read();return tm(this.app,{lastSentHeartbeatDate:(n=t.lastSentHeartbeatDate)!==null&&n!==void 0?n:a.lastSentHeartbeatDate,heartbeats:t.heartbeats})}else return}async add(t){var n;if(await this._canUseIndexedDBPromise){const a=await this.read();return tm(this.app,{lastSentHeartbeatDate:(n=t.lastSentHeartbeatDate)!==null&&n!==void 0?n:a.lastSentHeartbeatDate,heartbeats:[...a.heartbeats,...t.heartbeats]})}else return}}function rm(e){return iy(JSON.stringify({version:2,heartbeats:e})).length}/**
|
|
299
299
|
* @license
|
|
300
300
|
* Copyright 2019 Google LLC
|
|
301
301
|
*
|
|
@@ -310,7 +310,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
310
310
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
311
311
|
* See the License for the specific language governing permissions and
|
|
312
312
|
* limitations under the License.
|
|
313
|
-
*/function
|
|
313
|
+
*/function dO(e){ds(new cs("platform-logger",t=>new TR(t),"PRIVATE")),ds(new cs("heartbeat",t=>new lO(t),"PRIVATE")),Yi(sd,Qg,e),Yi(sd,Qg,"esm2017"),Yi("fire-js","")}dO("");var hO="firebase",pO="10.8.1";/**
|
|
314
314
|
* @license
|
|
315
315
|
* Copyright 2020 Google LLC
|
|
316
316
|
*
|
|
@@ -325,7 +325,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
325
325
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
326
326
|
* See the License for the specific language governing permissions and
|
|
327
327
|
* limitations under the License.
|
|
328
|
-
*/Yi(
|
|
328
|
+
*/Yi(hO,pO,"app");const cy="@firebase/installations",Qd="0.6.5";/**
|
|
329
329
|
* @license
|
|
330
330
|
* Copyright 2019 Google LLC
|
|
331
331
|
*
|
|
@@ -340,7 +340,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
340
340
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
341
341
|
* See the License for the specific language governing permissions and
|
|
342
342
|
* limitations under the License.
|
|
343
|
-
*/const
|
|
343
|
+
*/const fy=1e4,dy=`w:${Qd}`,hy="FIS_v2",gO="https://firebaseinstallations.googleapis.com/v1",mO=60*60*1e3,yO="installations",vO="Installations";/**
|
|
344
344
|
* @license
|
|
345
345
|
* Copyright 2019 Google LLC
|
|
346
346
|
*
|
|
@@ -355,7 +355,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
355
355
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
356
356
|
* See the License for the specific language governing permissions and
|
|
357
357
|
* limitations under the License.
|
|
358
|
-
*/const
|
|
358
|
+
*/const bO={"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."},hs=new Ql(yO,vO,bO);function py(e){return e instanceof ia&&e.code.includes("request-failed")}/**
|
|
359
359
|
* @license
|
|
360
360
|
* Copyright 2019 Google LLC
|
|
361
361
|
*
|
|
@@ -370,7 +370,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
370
370
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
371
371
|
* See the License for the specific language governing permissions and
|
|
372
372
|
* limitations under the License.
|
|
373
|
-
*/function
|
|
373
|
+
*/function gy({projectId:e}){return`${gO}/projects/${e}/installations`}function my(e){return{token:e.token,requestStatus:2,expiresIn:wO(e.expiresIn),creationTime:Date.now()}}async function yy(e,t){const i=(await t.json()).error;return hs.create("request-failed",{requestName:e,serverCode:i.code,serverMessage:i.message,serverStatus:i.status})}function vy({apiKey:e}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e})}function xO(e,{refreshToken:t}){const n=vy(e);return n.append("Authorization",_O(t)),n}async function by(e){const t=await e();return t.status>=500&&t.status<600?e():t}function wO(e){return Number(e.replace("s","000"))}function _O(e){return`${hy} ${e}`}/**
|
|
374
374
|
* @license
|
|
375
375
|
* Copyright 2019 Google LLC
|
|
376
376
|
*
|
|
@@ -385,7 +385,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
385
385
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
386
386
|
* See the License for the specific language governing permissions and
|
|
387
387
|
* limitations under the License.
|
|
388
|
-
*/async function
|
|
388
|
+
*/async function SO({appConfig:e,heartbeatServiceProvider:t},{fid:n}){const i=gy(e),a=vy(e),u=t.getImmediate({optional:!0});if(u){const _=await u.getHeartbeatsHeader();_&&a.append("x-firebase-client",_)}const f={fid:n,authVersion:hy,appId:e.appId,sdkVersion:dy},m={method:"POST",headers:a,body:JSON.stringify(f)},b=await by(()=>fetch(i,m));if(b.ok){const _=await b.json();return{fid:_.fid||n,registrationStatus:2,refreshToken:_.refreshToken,authToken:my(_.authToken)}}else throw await yy("Create Installation",b)}/**
|
|
389
389
|
* @license
|
|
390
390
|
* Copyright 2019 Google LLC
|
|
391
391
|
*
|
|
@@ -400,7 +400,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
400
400
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
401
401
|
* See the License for the specific language governing permissions and
|
|
402
402
|
* limitations under the License.
|
|
403
|
-
*/function
|
|
403
|
+
*/function xy(e){return new Promise(t=>{setTimeout(t,e)})}/**
|
|
404
404
|
* @license
|
|
405
405
|
* Copyright 2019 Google LLC
|
|
406
406
|
*
|
|
@@ -415,7 +415,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
415
415
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
416
416
|
* See the License for the specific language governing permissions and
|
|
417
417
|
* limitations under the License.
|
|
418
|
-
*/function
|
|
418
|
+
*/function kO(e){return btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_")}/**
|
|
419
419
|
* @license
|
|
420
420
|
* Copyright 2019 Google LLC
|
|
421
421
|
*
|
|
@@ -430,7 +430,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
430
430
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
431
431
|
* See the License for the specific language governing permissions and
|
|
432
432
|
* limitations under the License.
|
|
433
|
-
*/const
|
|
433
|
+
*/const CO=/^[cdef][\w-]{21}$/,ad="";function DO(){try{const e=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(e),e[0]=112+e[0]%16;const n=EO(e);return CO.test(n)?n:ad}catch{return ad}}function EO(e){return kO(e).substr(0,22)}/**
|
|
434
434
|
* @license
|
|
435
435
|
* Copyright 2019 Google LLC
|
|
436
436
|
*
|
|
@@ -460,7 +460,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
460
460
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
461
461
|
* See the License for the specific language governing permissions and
|
|
462
462
|
* limitations under the License.
|
|
463
|
-
*/const
|
|
463
|
+
*/const wy=new Map;function _y(e,t){const n=tc(e);Sy(n,t),TO(n,t)}function Sy(e,t){const n=wy.get(e);if(n)for(const i of n)i(t)}function TO(e,t){const n=MO();n&&n.postMessage({key:e,fid:t}),IO()}let us=null;function MO(){return!us&&"BroadcastChannel"in self&&(us=new BroadcastChannel("[Firebase] FID Change"),us.onmessage=e=>{Sy(e.data.key,e.data.fid)}),us}function IO(){wy.size===0&&us&&(us.close(),us=null)}/**
|
|
464
464
|
* @license
|
|
465
465
|
* Copyright 2019 Google LLC
|
|
466
466
|
*
|
|
@@ -475,7 +475,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
475
475
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
476
476
|
* See the License for the specific language governing permissions and
|
|
477
477
|
* limitations under the License.
|
|
478
|
-
*/const
|
|
478
|
+
*/const AO="firebase-installations-database",RO=1,ps="firebase-installations-store";let Pf=null;function eh(){return Pf||(Pf=ec(AO,RO,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore(ps)}}})),Pf}async function il(e,t){const n=tc(e),a=(await eh()).transaction(ps,"readwrite"),u=a.objectStore(ps),f=await u.get(n);return await u.put(t,n),await a.done,(!f||f.fid!==t.fid)&&_y(e,t.fid),t}async function ky(e){const t=tc(e),i=(await eh()).transaction(ps,"readwrite");await i.objectStore(ps).delete(t),await i.done}async function nc(e,t){const n=tc(e),a=(await eh()).transaction(ps,"readwrite"),u=a.objectStore(ps),f=await u.get(n),m=t(f);return m===void 0?await u.delete(n):await u.put(m,n),await a.done,m&&(!f||f.fid!==m.fid)&&_y(e,m.fid),m}/**
|
|
479
479
|
* @license
|
|
480
480
|
* Copyright 2019 Google LLC
|
|
481
481
|
*
|
|
@@ -490,7 +490,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
490
490
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
491
491
|
* See the License for the specific language governing permissions and
|
|
492
492
|
* limitations under the License.
|
|
493
|
-
*/async function
|
|
493
|
+
*/async function th(e){let t;const n=await nc(e.appConfig,i=>{const a=OO(i),u=PO(e,a);return t=u.registrationPromise,u.installationEntry});return n.fid===ad?{installationEntry:await t}:{installationEntry:n,registrationPromise:t}}function OO(e){const t=e||{fid:DO(),registrationStatus:0};return Cy(t)}function PO(e,t){if(t.registrationStatus===0){if(!navigator.onLine){const a=Promise.reject(hs.create("app-offline"));return{installationEntry:t,registrationPromise:a}}const n={fid:t.fid,registrationStatus:1,registrationTime:Date.now()},i=NO(e,n);return{installationEntry:n,registrationPromise:i}}else return t.registrationStatus===1?{installationEntry:t,registrationPromise:LO(e)}:{installationEntry:t}}async function NO(e,t){try{const n=await SO(e,t);return il(e.appConfig,n)}catch(n){throw py(n)&&n.customData.serverCode===409?await ky(e.appConfig):await il(e.appConfig,{fid:t.fid,registrationStatus:0}),n}}async function LO(e){let t=await im(e.appConfig);for(;t.registrationStatus===1;)await xy(100),t=await im(e.appConfig);if(t.registrationStatus===0){const{installationEntry:n,registrationPromise:i}=await th(e);return i||n}return t}function im(e){return nc(e,t=>{if(!t)throw hs.create("installation-not-found");return Cy(t)})}function Cy(e){return FO(e)?{fid:e.fid,registrationStatus:0}:e}function FO(e){return e.registrationStatus===1&&e.registrationTime+fy<Date.now()}/**
|
|
494
494
|
* @license
|
|
495
495
|
* Copyright 2019 Google LLC
|
|
496
496
|
*
|
|
@@ -505,7 +505,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
505
505
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
506
506
|
* See the License for the specific language governing permissions and
|
|
507
507
|
* limitations under the License.
|
|
508
|
-
*/async function
|
|
508
|
+
*/async function $O({appConfig:e,heartbeatServiceProvider:t},n){const i=jO(e,n),a=xO(e,n),u=t.getImmediate({optional:!0});if(u){const _=await u.getHeartbeatsHeader();_&&a.append("x-firebase-client",_)}const f={installation:{sdkVersion:dy,appId:e.appId}},m={method:"POST",headers:a,body:JSON.stringify(f)},b=await by(()=>fetch(i,m));if(b.ok){const _=await b.json();return my(_)}else throw await yy("Generate Auth Token",b)}function jO(e,{fid:t}){return`${gy(e)}/${t}/authTokens:generate`}/**
|
|
509
509
|
* @license
|
|
510
510
|
* Copyright 2019 Google LLC
|
|
511
511
|
*
|
|
@@ -520,7 +520,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
520
520
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
521
521
|
* See the License for the specific language governing permissions and
|
|
522
522
|
* limitations under the License.
|
|
523
|
-
*/async function
|
|
523
|
+
*/async function nh(e,t=!1){let n;const i=await nc(e.appConfig,u=>{if(!Dy(u))throw hs.create("not-registered");const f=u.authToken;if(!t&&WO(f))return u;if(f.requestStatus===1)return n=BO(e,t),u;{if(!navigator.onLine)throw hs.create("app-offline");const m=UO(u);return n=YO(e,m),m}});return n?await n:i.authToken}async function BO(e,t){let n=await sm(e.appConfig);for(;n.authToken.requestStatus===1;)await xy(100),n=await sm(e.appConfig);const i=n.authToken;return i.requestStatus===0?nh(e,t):i}function sm(e){return nc(e,t=>{if(!Dy(t))throw hs.create("not-registered");const n=t.authToken;return zO(n)?Object.assign(Object.assign({},t),{authToken:{requestStatus:0}}):t})}async function YO(e,t){try{const n=await $O(e,t),i=Object.assign(Object.assign({},t),{authToken:n});return await il(e.appConfig,i),n}catch(n){if(py(n)&&(n.customData.serverCode===401||n.customData.serverCode===404))await ky(e.appConfig);else{const i=Object.assign(Object.assign({},t),{authToken:{requestStatus:0}});await il(e.appConfig,i)}throw n}}function Dy(e){return e!==void 0&&e.registrationStatus===2}function WO(e){return e.requestStatus===2&&!HO(e)}function HO(e){const t=Date.now();return t<e.creationTime||e.creationTime+e.expiresIn<t+mO}function UO(e){const t={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},e),{authToken:t})}function zO(e){return e.requestStatus===1&&e.requestTime+fy<Date.now()}/**
|
|
524
524
|
* @license
|
|
525
525
|
* Copyright 2019 Google LLC
|
|
526
526
|
*
|
|
@@ -535,7 +535,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
535
535
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
536
536
|
* See the License for the specific language governing permissions and
|
|
537
537
|
* limitations under the License.
|
|
538
|
-
*/async function
|
|
538
|
+
*/async function qO(e){const t=e,{installationEntry:n,registrationPromise:i}=await th(t);return i?i.catch(console.error):nh(t).catch(console.error),n.fid}/**
|
|
539
539
|
* @license
|
|
540
540
|
* Copyright 2019 Google LLC
|
|
541
541
|
*
|
|
@@ -550,7 +550,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
550
550
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
551
551
|
* See the License for the specific language governing permissions and
|
|
552
552
|
* limitations under the License.
|
|
553
|
-
*/async function
|
|
553
|
+
*/async function VO(e,t=!1){const n=e;return await GO(n),(await nh(n,t)).token}async function GO(e){const{registrationPromise:t}=await th(e);t&&await t}/**
|
|
554
554
|
* @license
|
|
555
555
|
* Copyright 2019 Google LLC
|
|
556
556
|
*
|
|
@@ -565,7 +565,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
565
565
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
566
566
|
* See the License for the specific language governing permissions and
|
|
567
567
|
* limitations under the License.
|
|
568
|
-
*/function
|
|
568
|
+
*/function KO(e){if(!e||!e.options)throw Nf("App Configuration");if(!e.name)throw Nf("App Name");const t=["projectId","apiKey","appId"];for(const n of t)if(!e.options[n])throw Nf(n);return{appName:e.name,projectId:e.options.projectId,apiKey:e.options.apiKey,appId:e.options.appId}}function Nf(e){return hs.create("missing-app-config-values",{valueName:e})}/**
|
|
569
569
|
* @license
|
|
570
570
|
* Copyright 2020 Google LLC
|
|
571
571
|
*
|
|
@@ -580,7 +580,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
580
580
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
581
581
|
* See the License for the specific language governing permissions and
|
|
582
582
|
* limitations under the License.
|
|
583
|
-
*/const
|
|
583
|
+
*/const Ey="installations",ZO="installations-internal",XO=e=>{const t=e.getProvider("app").getImmediate(),n=KO(t),i=oy(t,"heartbeat");return{app:t,appConfig:n,heartbeatServiceProvider:i,_delete:()=>Promise.resolve()}},JO=e=>{const t=e.getProvider("app").getImmediate(),n=oy(t,Ey).getImmediate();return{getId:()=>qO(n),getToken:a=>VO(n,a)}};function QO(){ds(new cs(Ey,XO,"PUBLIC")),ds(new cs(ZO,JO,"PRIVATE"))}QO();Yi(cy,Qd);Yi(cy,Qd,"esm2017");/**
|
|
584
584
|
* @license
|
|
585
585
|
* Copyright 2019 Google LLC
|
|
586
586
|
*
|
|
@@ -595,7 +595,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
595
595
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
596
596
|
* See the License for the specific language governing permissions and
|
|
597
597
|
* limitations under the License.
|
|
598
|
-
*/const
|
|
598
|
+
*/const eP="/firebase-messaging-sw.js",tP="/firebase-cloud-messaging-push-scope",Ty="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",nP="https://fcmregistrations.googleapis.com/v1",My="google.c.a.c_id",rP="google.c.a.c_l",iP="google.c.a.ts",sP="google.c.a.e";var am;(function(e){e[e.DATA_MESSAGE=1]="DATA_MESSAGE",e[e.DISPLAY_NOTIFICATION=3]="DISPLAY_NOTIFICATION"})(am||(am={}));/**
|
|
599
599
|
* @license
|
|
600
600
|
* Copyright 2018 Google LLC
|
|
601
601
|
*
|
|
@@ -608,7 +608,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
608
608
|
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
|
|
609
609
|
* or implied. See the License for the specific language governing permissions and limitations under
|
|
610
610
|
* the License.
|
|
611
|
-
*/var
|
|
611
|
+
*/var fo;(function(e){e.PUSH_RECEIVED="push-received",e.NOTIFICATION_CLICKED="notification-clicked"})(fo||(fo={}));/**
|
|
612
612
|
* @license
|
|
613
613
|
* Copyright 2017 Google LLC
|
|
614
614
|
*
|
|
@@ -623,7 +623,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
623
623
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
624
624
|
* See the License for the specific language governing permissions and
|
|
625
625
|
* limitations under the License.
|
|
626
|
-
*/function li(e){const t=new Uint8Array(e);return btoa(String.fromCharCode(...t)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function
|
|
626
|
+
*/function li(e){const t=new Uint8Array(e);return btoa(String.fromCharCode(...t)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function aP(e){const t="=".repeat((4-e.length%4)%4),n=(e+t).replace(/\-/g,"+").replace(/_/g,"/"),i=atob(n),a=new Uint8Array(i.length);for(let u=0;u<i.length;++u)a[u]=i.charCodeAt(u);return a}/**
|
|
627
627
|
* @license
|
|
628
628
|
* Copyright 2019 Google LLC
|
|
629
629
|
*
|
|
@@ -638,7 +638,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
638
638
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
639
639
|
* See the License for the specific language governing permissions and
|
|
640
640
|
* limitations under the License.
|
|
641
|
-
*/const
|
|
641
|
+
*/const Lf="fcm_token_details_db",oP=5,om="fcm_token_object_Store";async function uP(e){if("databases"in indexedDB&&!(await indexedDB.databases()).map(u=>u.name).includes(Lf))return null;let t=null;return(await ec(Lf,oP,{upgrade:async(i,a,u,f)=>{var m;if(a<2||!i.objectStoreNames.contains(om))return;const b=f.objectStore(om),_=await b.index("fcmSenderId").get(e);if(await b.clear(),!!_){if(a===2){const E=_;if(!E.auth||!E.p256dh||!E.endpoint)return;t={token:E.fcmToken,createTime:(m=E.createTime)!==null&&m!==void 0?m:Date.now(),subscriptionOptions:{auth:E.auth,p256dh:E.p256dh,endpoint:E.endpoint,swScope:E.swScope,vapidKey:typeof E.vapidKey=="string"?E.vapidKey:li(E.vapidKey)}}}else if(a===3){const E=_;t={token:E.fcmToken,createTime:E.createTime,subscriptionOptions:{auth:li(E.auth),p256dh:li(E.p256dh),endpoint:E.endpoint,swScope:E.swScope,vapidKey:li(E.vapidKey)}}}else if(a===4){const E=_;t={token:E.fcmToken,createTime:E.createTime,subscriptionOptions:{auth:li(E.auth),p256dh:li(E.p256dh),endpoint:E.endpoint,swScope:E.swScope,vapidKey:li(E.vapidKey)}}}}}})).close(),await Af(Lf),await Af("fcm_vapid_details_db"),await Af("undefined"),lP(t)?t:null}function lP(e){if(!e||!e.subscriptionOptions)return!1;const{subscriptionOptions:t}=e;return typeof e.createTime=="number"&&e.createTime>0&&typeof e.token=="string"&&e.token.length>0&&typeof t.auth=="string"&&t.auth.length>0&&typeof t.p256dh=="string"&&t.p256dh.length>0&&typeof t.endpoint=="string"&&t.endpoint.length>0&&typeof t.swScope=="string"&&t.swScope.length>0&&typeof t.vapidKey=="string"&&t.vapidKey.length>0}/**
|
|
642
642
|
* @license
|
|
643
643
|
* Copyright 2019 Google LLC
|
|
644
644
|
*
|
|
@@ -653,7 +653,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
653
653
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
654
654
|
* See the License for the specific language governing permissions and
|
|
655
655
|
* limitations under the License.
|
|
656
|
-
*/const
|
|
656
|
+
*/const cP="firebase-messaging-database",fP=1,gs="firebase-messaging-store";let Ff=null;function rh(){return Ff||(Ff=ec(cP,fP,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore(gs)}}})),Ff}async function Iy(e){const t=sh(e),i=await(await rh()).transaction(gs).objectStore(gs).get(t);if(i)return i;{const a=await uP(e.appConfig.senderId);if(a)return await ih(e,a),a}}async function ih(e,t){const n=sh(e),a=(await rh()).transaction(gs,"readwrite");return await a.objectStore(gs).put(t,n),await a.done,t}async function dP(e){const t=sh(e),i=(await rh()).transaction(gs,"readwrite");await i.objectStore(gs).delete(t),await i.done}function sh({appConfig:e}){return e.appId}/**
|
|
657
657
|
* @license
|
|
658
658
|
* Copyright 2017 Google LLC
|
|
659
659
|
*
|
|
@@ -668,7 +668,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
668
668
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
669
669
|
* See the License for the specific language governing permissions and
|
|
670
670
|
* limitations under the License.
|
|
671
|
-
*/const
|
|
671
|
+
*/const hP={"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"only-available-in-window":"This method is available in a Window context.","only-available-in-sw":"This method is available in a service worker context.","permission-default":"The notification permission was not granted and dismissed instead.","permission-blocked":"The notification permission was not granted and blocked instead.","unsupported-browser":"This browser doesn't support the API's required to use the Firebase SDK.","indexed-db-unsupported":"This browser doesn't support indexedDb.open() (ex. Safari iFrame, Firefox Private Browsing, etc)","failed-service-worker-registration":"We are unable to register the default service worker. {$browserErrorMessage}","token-subscribe-failed":"A problem occurred while subscribing the user to FCM: {$errorInfo}","token-subscribe-no-token":"FCM returned no token when subscribing the user to push.","token-unsubscribe-failed":"A problem occurred while unsubscribing the user from FCM: {$errorInfo}","token-update-failed":"A problem occurred while updating the user from FCM: {$errorInfo}","token-update-no-token":"FCM returned no token when updating the user to push.","use-sw-after-get-token":"The useServiceWorker() method may only be called once and must be called before calling getToken() to ensure your service worker is used.","invalid-sw-registration":"The input to useServiceWorker() must be a ServiceWorkerRegistration.","invalid-bg-handler":"The input to setBackgroundMessageHandler() must be a function.","invalid-vapid-key":"The public VAPID key must be a string.","use-vapid-key-after-get-token":"The usePublicVapidKey() method may only be called once and must be called before calling getToken() to ensure your VAPID key is used."},Pn=new Ql("messaging","Messaging",hP);/**
|
|
672
672
|
* @license
|
|
673
673
|
* Copyright 2019 Google LLC
|
|
674
674
|
*
|
|
@@ -683,7 +683,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
683
683
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
684
684
|
* See the License for the specific language governing permissions and
|
|
685
685
|
* limitations under the License.
|
|
686
|
-
*/async function
|
|
686
|
+
*/async function pP(e,t){const n=await oh(e),i=Ry(t),a={method:"POST",headers:n,body:JSON.stringify(i)};let u;try{u=await(await fetch(ah(e.appConfig),a)).json()}catch(f){throw Pn.create("token-subscribe-failed",{errorInfo:f==null?void 0:f.toString()})}if(u.error){const f=u.error.message;throw Pn.create("token-subscribe-failed",{errorInfo:f})}if(!u.token)throw Pn.create("token-subscribe-no-token");return u.token}async function gP(e,t){const n=await oh(e),i=Ry(t.subscriptionOptions),a={method:"PATCH",headers:n,body:JSON.stringify(i)};let u;try{u=await(await fetch(`${ah(e.appConfig)}/${t.token}`,a)).json()}catch(f){throw Pn.create("token-update-failed",{errorInfo:f==null?void 0:f.toString()})}if(u.error){const f=u.error.message;throw Pn.create("token-update-failed",{errorInfo:f})}if(!u.token)throw Pn.create("token-update-no-token");return u.token}async function Ay(e,t){const i={method:"DELETE",headers:await oh(e)};try{const u=await(await fetch(`${ah(e.appConfig)}/${t}`,i)).json();if(u.error){const f=u.error.message;throw Pn.create("token-unsubscribe-failed",{errorInfo:f})}}catch(a){throw Pn.create("token-unsubscribe-failed",{errorInfo:a==null?void 0:a.toString()})}}function ah({projectId:e}){return`${nP}/projects/${e}/registrations`}async function oh({appConfig:e,installations:t}){const n=await t.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e.apiKey,"x-goog-firebase-installations-auth":`FIS ${n}`})}function Ry({p256dh:e,auth:t,endpoint:n,vapidKey:i}){const a={web:{endpoint:n,auth:t,p256dh:e}};return i!==Ty&&(a.web.applicationPubKey=i),a}/**
|
|
687
687
|
* @license
|
|
688
688
|
* Copyright 2019 Google LLC
|
|
689
689
|
*
|
|
@@ -698,7 +698,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
698
698
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
699
699
|
* See the License for the specific language governing permissions and
|
|
700
700
|
* limitations under the License.
|
|
701
|
-
*/const
|
|
701
|
+
*/const mP=7*24*60*60*1e3;async function yP(e){const t=await xP(e.swRegistration,e.vapidKey),n={vapidKey:e.vapidKey,swScope:e.swRegistration.scope,endpoint:t.endpoint,auth:li(t.getKey("auth")),p256dh:li(t.getKey("p256dh"))},i=await Iy(e.firebaseDependencies);if(i){if(wP(i.subscriptionOptions,n))return Date.now()>=i.createTime+mP?bP(e,{token:i.token,createTime:Date.now(),subscriptionOptions:n}):i.token;try{await Ay(e.firebaseDependencies,i.token)}catch(a){console.warn(a)}return um(e.firebaseDependencies,n)}else return um(e.firebaseDependencies,n)}async function vP(e){const t=await Iy(e.firebaseDependencies);t&&(await Ay(e.firebaseDependencies,t.token),await dP(e.firebaseDependencies));const n=await e.swRegistration.pushManager.getSubscription();return n?n.unsubscribe():!0}async function bP(e,t){try{const n=await gP(e.firebaseDependencies,t),i=Object.assign(Object.assign({},t),{token:n,createTime:Date.now()});return await ih(e.firebaseDependencies,i),n}catch(n){throw await vP(e),n}}async function um(e,t){const i={token:await pP(e,t),createTime:Date.now(),subscriptionOptions:t};return await ih(e,i),i.token}async function xP(e,t){const n=await e.pushManager.getSubscription();return n||e.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:aP(t)})}function wP(e,t){const n=t.vapidKey===e.vapidKey,i=t.endpoint===e.endpoint,a=t.auth===e.auth,u=t.p256dh===e.p256dh;return n&&i&&a&&u}/**
|
|
702
702
|
* @license
|
|
703
703
|
* Copyright 2020 Google LLC
|
|
704
704
|
*
|
|
@@ -713,7 +713,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
713
713
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
714
714
|
* See the License for the specific language governing permissions and
|
|
715
715
|
* limitations under the License.
|
|
716
|
-
*/function
|
|
716
|
+
*/function lm(e){const t={from:e.from,collapseKey:e.collapse_key,messageId:e.fcmMessageId};return _P(t,e),SP(t,e),kP(t,e),t}function _P(e,t){if(!t.notification)return;e.notification={};const n=t.notification.title;n&&(e.notification.title=n);const i=t.notification.body;i&&(e.notification.body=i);const a=t.notification.image;a&&(e.notification.image=a);const u=t.notification.icon;u&&(e.notification.icon=u)}function SP(e,t){t.data&&(e.data=t.data)}function kP(e,t){var n,i,a,u,f;if(!t.fcmOptions&&!(!((n=t.notification)===null||n===void 0)&&n.click_action))return;e.fcmOptions={};const m=(a=(i=t.fcmOptions)===null||i===void 0?void 0:i.link)!==null&&a!==void 0?a:(u=t.notification)===null||u===void 0?void 0:u.click_action;m&&(e.fcmOptions.link=m);const b=(f=t.fcmOptions)===null||f===void 0?void 0:f.analytics_label;b&&(e.fcmOptions.analyticsLabel=b)}/**
|
|
717
717
|
* @license
|
|
718
718
|
* Copyright 2019 Google LLC
|
|
719
719
|
*
|
|
@@ -728,7 +728,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
728
728
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
729
729
|
* See the License for the specific language governing permissions and
|
|
730
730
|
* limitations under the License.
|
|
731
|
-
*/function
|
|
731
|
+
*/function CP(e){return typeof e=="object"&&!!e&&My in e}/**
|
|
732
732
|
* @license
|
|
733
733
|
* Copyright 2019 Google LLC
|
|
734
734
|
*
|
|
@@ -743,7 +743,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
743
743
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
744
744
|
* See the License for the specific language governing permissions and
|
|
745
745
|
* limitations under the License.
|
|
746
|
-
*/
|
|
746
|
+
*/Oy("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o");Oy("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");function Oy(e,t){const n=[];for(let i=0;i<e.length;i++)n.push(e.charAt(i)),i<t.length&&n.push(t.charAt(i));return n.join("")}/**
|
|
747
747
|
* @license
|
|
748
748
|
* Copyright 2019 Google LLC
|
|
749
749
|
*
|
|
@@ -758,7 +758,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
758
758
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
759
759
|
* See the License for the specific language governing permissions and
|
|
760
760
|
* limitations under the License.
|
|
761
|
-
*/function
|
|
761
|
+
*/function DP(e){if(!e||!e.options)throw $f("App Configuration Object");if(!e.name)throw $f("App Name");const t=["projectId","apiKey","appId","messagingSenderId"],{options:n}=e;for(const i of t)if(!n[i])throw $f(i);return{appName:e.name,projectId:n.projectId,apiKey:n.apiKey,appId:n.appId,senderId:n.messagingSenderId}}function $f(e){return Pn.create("missing-app-config-values",{valueName:e})}/**
|
|
762
762
|
* @license
|
|
763
763
|
* Copyright 2020 Google LLC
|
|
764
764
|
*
|
|
@@ -773,7 +773,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
773
773
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
774
774
|
* See the License for the specific language governing permissions and
|
|
775
775
|
* limitations under the License.
|
|
776
|
-
*/class
|
|
776
|
+
*/class EP{constructor(t,n,i){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const a=DP(t);this.firebaseDependencies={app:t,appConfig:a,installations:n,analyticsProvider:i}}_delete(){return Promise.resolve()}}/**
|
|
777
777
|
* @license
|
|
778
778
|
* Copyright 2020 Google LLC
|
|
779
779
|
*
|
|
@@ -788,7 +788,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
788
788
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
789
789
|
* See the License for the specific language governing permissions and
|
|
790
790
|
* limitations under the License.
|
|
791
|
-
*/async function
|
|
791
|
+
*/async function TP(e){try{e.swRegistration=await navigator.serviceWorker.register(eP,{scope:tP}),e.swRegistration.update().catch(()=>{})}catch(t){throw Pn.create("failed-service-worker-registration",{browserErrorMessage:t==null?void 0:t.message})}}/**
|
|
792
792
|
* @license
|
|
793
793
|
* Copyright 2020 Google LLC
|
|
794
794
|
*
|
|
@@ -803,7 +803,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
803
803
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
804
804
|
* See the License for the specific language governing permissions and
|
|
805
805
|
* limitations under the License.
|
|
806
|
-
*/async function
|
|
806
|
+
*/async function MP(e,t){if(!t&&!e.swRegistration&&await TP(e),!(!t&&e.swRegistration)){if(!(t instanceof ServiceWorkerRegistration))throw Pn.create("invalid-sw-registration");e.swRegistration=t}}/**
|
|
807
807
|
* @license
|
|
808
808
|
* Copyright 2020 Google LLC
|
|
809
809
|
*
|
|
@@ -818,7 +818,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
818
818
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
819
819
|
* See the License for the specific language governing permissions and
|
|
820
820
|
* limitations under the License.
|
|
821
|
-
*/async function
|
|
821
|
+
*/async function IP(e,t){t?e.vapidKey=t:e.vapidKey||(e.vapidKey=Ty)}/**
|
|
822
822
|
* @license
|
|
823
823
|
* Copyright 2020 Google LLC
|
|
824
824
|
*
|
|
@@ -833,7 +833,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
833
833
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
834
834
|
* See the License for the specific language governing permissions and
|
|
835
835
|
* limitations under the License.
|
|
836
|
-
*/async function
|
|
836
|
+
*/async function AP(e,t){if(!navigator)throw Pn.create("only-available-in-window");if(Notification.permission==="default"&&await Notification.requestPermission(),Notification.permission!=="granted")throw Pn.create("permission-blocked");return await IP(e,t==null?void 0:t.vapidKey),await MP(e,t==null?void 0:t.serviceWorkerRegistration),yP(e)}/**
|
|
837
837
|
* @license
|
|
838
838
|
* Copyright 2019 Google LLC
|
|
839
839
|
*
|
|
@@ -848,7 +848,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
848
848
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
849
849
|
* See the License for the specific language governing permissions and
|
|
850
850
|
* limitations under the License.
|
|
851
|
-
*/async function
|
|
851
|
+
*/async function RP(e,t,n){const i=OP(t);(await e.firebaseDependencies.analyticsProvider.get()).logEvent(i,{message_id:n[My],message_name:n[rP],message_time:n[iP],message_device_time:Math.floor(Date.now()/1e3)})}function OP(e){switch(e){case fo.NOTIFICATION_CLICKED:return"notification_open";case fo.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}/**
|
|
852
852
|
* @license
|
|
853
853
|
* Copyright 2017 Google LLC
|
|
854
854
|
*
|
|
@@ -863,7 +863,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
863
863
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
864
864
|
* See the License for the specific language governing permissions and
|
|
865
865
|
* limitations under the License.
|
|
866
|
-
*/async function
|
|
866
|
+
*/async function PP(e,t){const n=t.data;if(!n.isFirebaseMessaging)return;e.onMessageHandler&&n.messageType===fo.PUSH_RECEIVED&&(typeof e.onMessageHandler=="function"?e.onMessageHandler(lm(n)):e.onMessageHandler.next(lm(n)));const i=n.data;CP(i)&&i[sP]==="1"&&await RP(e,n.messageType,i)}const cm="@firebase/messaging",fm="0.12.6";/**
|
|
867
867
|
* @license
|
|
868
868
|
* Copyright 2020 Google LLC
|
|
869
869
|
*
|
|
@@ -878,7 +878,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
878
878
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
879
879
|
* See the License for the specific language governing permissions and
|
|
880
880
|
* limitations under the License.
|
|
881
|
-
*/const
|
|
882
|
-
`,
|
|
883
|
-
`,
|
|
884
|
-
`;function
|
|
881
|
+
*/const NP=e=>{const t=new EP(e.getProvider("app").getImmediate(),e.getProvider("installations-internal").getImmediate(),e.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",n=>PP(t,n)),t},LP=e=>{const t=e.getProvider("messaging").getImmediate();return{getToken:i=>AP(t,i)}};function FP(){ds(new cs("messaging",NP,"PUBLIC")),ds(new cs("messaging-internal",LP,"PRIVATE")),Yi(cm,fm),Yi(cm,fm,"esm2017")}FP();const $P=new BroadcastChannel("my-channel");$P.onmessage=e=>{console.log("Broadcast chanel message",e)};const Py=({baseUrl:e,notiPath:t,setNotiData:n})=>async()=>{const u=e+(t||"/notification-management/api/v1/notifications"),f=await D.axios.get(u,{params:{filter:{notificationFilterType:"all"}},withCredentials:!0}),m=await D.axios.get(u,{params:{filter:{notificationFilterType:"unread"}},withCredentials:!0});Promise.all([f,m]).then(b=>{var _,E,O,M;console.log("result: "+b),n({all:{rows:(_=b[0].data)==null?void 0:_.rows,total:(E=b[0].data)==null?void 0:E.total},unread:{rows:(O=b[1].data)==null?void 0:O.rows,total:(M=b[1].data)==null?void 0:M.total}})})},jP=({baseUrl:e,notiPath:t})=>{var O,M,z,B;const{setShowModalFalse:n}=D.reactExports.useContext(no),{notidata:i,setNotiData:a}=D.reactExports.useContext(no);console.log(i);const[u,f]=D.reactExports.useState("all"),m=Py({baseUrl:e,notiPath:t,setNotiData:a}),b=async()=>{var $,Z;try{const se=e+(t||"/notification-management/api/v1/notifications");await D.axios.put(se,{withCredentials:!0})}catch(W){console.log(W),D.pushError(((Z=($=W.response)==null?void 0:$.data)==null?void 0:Z.errorMessage)||"Have error when get notification list")}await m()},_=async($,Z)=>{var W,se;try{const pe=t||`/notification-management/api/v1/notifications/${$}`,ae=e+pe;await D.axios.put(ae,{isRead:Z},{withCredentials:!0})}catch(pe){D.pushError(((se=(W=pe.response)==null?void 0:W.data)==null?void 0:se.errorMessage)||"Have error when get notification list")}await m()},E=[{id:"all",tabTitle:`All (${((O=i==null?void 0:i.all)==null?void 0:O.total)||0})`,children:D.jsxRuntimeExports.jsx(rg,{notidata:((M=i==null?void 0:i.all)==null?void 0:M.rows)||[],handleUpdateRead:_,handleUpdateReadAll:b})},{id:"unread",tabTitle:`Unread (${((z=i==null?void 0:i.unread)==null?void 0:z.total)||0})`,children:D.jsxRuntimeExports.jsx(rg,{notidata:((B=i==null?void 0:i.unread)==null?void 0:B.rows)||[],handleUpdateRead:_,handleUpdateReadAll:b})}];return D.jsxRuntimeExports.jsx(D.jsxRuntimeExports.Fragment,{children:D.jsxRuntimeExports.jsx("div",{style:{position:"absolute",backgroundColor:"#fff",width:"550px",height:"90vh",right:"100px",top:"100%",padding:"32px",boxShadow:"10px 0px 20px #999",borderRadius:"0 0 8px 8px",overflow:"hidden"},children:D.jsxRuntimeExports.jsxs("div",{className:"list-content",children:[D.jsxRuntimeExports.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[D.jsxRuntimeExports.jsx("h3",{style:{fontSize:"24px",fontWeight:"500"},className:"list-title",children:"Notifications"}),D.jsxRuntimeExports.jsx("button",{onClick:n,children:D.jsxRuntimeExports.jsx("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:D.jsxRuntimeExports.jsx("path",{d:"M7.05086 6.13616C6.66033 5.74563 6.02717 5.74563 5.63664 6.13616C5.24612 6.52668 5.24612 7.15984 5.63664 7.55037L10.5864 12.5001L5.63664 17.4499C5.24612 17.8404 5.24612 18.4736 5.63664 18.8641C6.02717 19.2546 6.66033 19.2546 7.05086 18.8641L12.0006 13.9143L16.9504 18.8641C17.3409 19.2546 17.974 19.2546 18.3646 18.8641C18.7551 18.4736 18.7551 17.8404 18.3646 17.4499L13.4148 12.5001L18.3646 7.55037C18.7551 7.15984 18.7551 6.52668 18.3646 6.13616C17.974 5.74563 17.3409 5.74563 16.9504 6.13616L12.0006 11.0859L7.05086 6.13616Z",fill:"#85858A"})})})]}),D.jsxRuntimeExports.jsx(W_,{tabs:E,setCurrentTab:f,currentTab:u})]})})})};function BP({primaryColor:e="#009d4f",baseUrl:t,notiPath:n}){var _;const{isOpen:i,toggleOpen:a}=D.reactExports.useContext(no),{notidata:u,setNotiData:f}=D.reactExports.useContext(no),m=Py({baseUrl:t,notiPath:n,setNotiData:f}),b=async()=>{var E,O;try{await m()}catch(M){D.pushError(((O=(E=M.response)==null?void 0:E.data)==null?void 0:O.errorMessage)||"Have error when get notification list")}};return D.reactExports.useEffect(()=>{b()},[]),D.jsxRuntimeExports.jsxs("div",{children:[D.jsxRuntimeExports.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:a,style:{cursor:"pointer"},children:[D.jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7968 17.4705C16.5901 17.4705 18.8076 16.8556 19.0218 14.3874C19.0218 11.921 17.4757 12.0796 17.4757 9.05334C17.4757 6.68952 15.2352 4 11.7968 4C8.35833 4 6.1178 6.68952 6.1178 9.05334C6.1178 12.0796 4.57178 11.921 4.57178 14.3874C4.78679 16.8649 7.00428 17.4705 11.7968 17.4705Z",stroke:e,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),D.jsxRuntimeExports.jsx("path",{d:"M13.8274 20.0286C12.6679 21.3161 10.8591 21.3313 9.68848 20.0286",stroke:e,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(u==null?void 0:u.unread)&&(u==null?void 0:u.unread.total)!=0&&D.jsxRuntimeExports.jsx("span",{style:{position:"absolute",top:"18px",background:`${D.color.dangerDark}`,width:"13px",height:"13px",border:"1px solid #fff",borderRadius:"50%",color:"#fff",fontSize:"8px"},className:"notification-badge",children:(_=u==null?void 0:u.unread)==null?void 0:_.total}),!i&&D.jsxRuntimeExports.jsx(jP,{baseUrl:t,notiPath:n})]})}const YP=`.avatar-dropdown-item{padding:.5rem;font-size:.875rem;line-height:1.25rem;cursor:pointer;border-radius:.25rem}.avartarDropdownMenu{background-color:#fff;padding:.5rem;width:13rem;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);position:absolute;left:-10rem;top:3.2rem}.avartarDropdownMenu ul{list-style:none;padding-inline-start:0;margin-block-end:0}.navbar{position:fixed;display:flex;z-index:30;background:#292929;top:0;width:100%;padding-left:2.5rem;height:64px}.navbar-container{display:flex;flex-direction:row;align-items:center;width:100%;justify-content:space-between}.logo-container{padding:16px 0;height:100%}.right-side-container{display:flex;flex-direction:row;align-items:center;text-align:center;margin-right:2.5rem;gap:1rem}.userContainer{display:flex;align-items:center;gap:.5rem}.languageDropdown{height:100%;padding:0 8px;display:flex;flex-direction:row;gap:8px;border-radius:3px;align-items:center;justify-content:center;height:41px;background-color:#ffffff1a;cursor:pointer;transition:background-color .2s ease-in-out}.languageDropdown:hover{background-color:#fff3}.userFullName{color:#fff;font-weight:400;font-size:.875rem;line-height:1.25rem}.userAvatar{width:2.5rem;height:2.5rem;cursor:pointer;-o-object-fit:cover;object-fit:cover;border-radius:9999px;border:2px solid #FFFFFF}.userAvatarNull{width:2.5rem;height:2.5rem;background:#DDDDDD;border-radius:100%;color:#fff;font-size:20px;font-weight:400;display:flex;align-items:center;justify-content:center}.relative{position:relative}.cursor-pointer{cursor:pointer}
|
|
882
|
+
`,WP=`.tab-title{min-width:90px;padding:5px 16px;font-size:14px;font-weight:500;color:#c5c5c5;transition:all .3s ease-in-out;position:relative}.tab-title.is-active{color:#2e7d32}.tab-title.is-active:before{transition:all .3s ease-in-out;position:absolute;content:"";width:100%;height:100%;top:0;left:0;border-bottom:2px solid #2E7D32}.tab-content{padding:16px 0}
|
|
883
|
+
`,HP=`:root{--textPrimary: #292929;--textWhite: #fff;--primary500: #2E7D32;--grey100: #FAFAFA;--gray200: #EEEEEE;--gray600: #85858A;--link: #007BFF }.list-content{overflow-y:auto;overflow-x:hidden}.mark-all-read{text-align:right;color:#007bff;margin-bottom:12px;font-size:12px}.notification-items__wrapper{overflow:hidden}.notification-items__content{height:calc(100vh - 275px);overflow-x:hidden;overflow-y:auto}.notitification-item__container{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:#FAFAFA 1px solid;text-align:left;font-size:12px;position:relative;z-index:10;cursor:pointer;border-radius:4px;margin-bottom:8px}.notitification-item__container:hover{background-color:#fafafa}.notitification-item__container:not(:last-child):before{position:absolute;content:"";width:100%;bottom:-5px;left:0;border:1px solid #FAFAFA}.notitification-item__container:hover:before{opacity:1}.notification-item__image-container{width:40px;height:40px;display:flex;justify-content:center;align-items:center;border-radius:50%;overflow:hidden;margin-right:16px}.notification-item__image-container img{width:100%;height:100%;text-align:center;-o-object-fit:cover;object-fit:cover;color:transparent;text-indent:10000px}.notification-item__context-link{color:#007bff}.notification-item__content{width:65%;padding-right:16px}.notification-item__user-name{margin-bottom:2px;font-size:14px}.notification-item__time{margin-right:15px}.notification-item__read-at{border-width:2px;border-style:solid;border-radius:50%;width:10px;height:10px;display:block;position:relative}.notification-item__read-at:before{position:absolute;top:-30px;right:0;width:91px;background-color:#85858a;color:#fff;border-radius:4px;font-size:10px;text-align:center;padding:4px;opacity:0;visibility:hidden;transition:all .3s cubic-bezier(.39,.575,.565,1)}.notification-item__read-at:hover:before{opacity:1;visibility:visible}.notification-item__read-at.read:before{content:"Mark as unread"}.notification-item__read-at.unread:before{content:"Mark as read"}.notification-item__read-at.read{border-color:#eee}.notification-item__read-at.unread{border-color:#2e7d32;background-color:#2e7d32}
|
|
884
|
+
`;function UP(e){return D.jsxRuntimeExports.jsxs("svg",{width:"34",height:"25",viewBox:"0 0 34 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[D.jsxRuntimeExports.jsxs("g",{"clip-path":"url(#clip0_16865_28134)",children:[D.jsxRuntimeExports.jsx("rect",{y:"0.5",width:"34",height:"24",rx:"3",fill:"#1A47B8"}),D.jsxRuntimeExports.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.61691 0.5H0V4.5L30.3635 24.5L34 24.5V20.5L3.61691 0.5Z",fill:"white"}),D.jsxRuntimeExports.jsx("path",{d:"M1.20635 0.5L34 22.1567V24.5H32.8219L0 2.82089V0.5H1.20635Z",fill:"#F93939"}),D.jsxRuntimeExports.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M30.7619 0.5H34V4.5C34 4.5 12.9683 17.8249 3.2381 24.5H0V20.5L30.7619 0.5Z",fill:"white"}),D.jsxRuntimeExports.jsx("path",{d:"M34 0.5H32.9019L0 22.1753V24.5H1.20635L34 2.83842V0.5Z",fill:"#F93939"}),D.jsxRuntimeExports.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.3648 0.5H21.6635V7.90291H34V17.0922H21.6635V24.5H12.3648V17.0922H0V7.90291H12.3648V0.5Z",fill:"white"}),D.jsxRuntimeExports.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.3158 0.5H19.6842V9.73077H34V15.2692H19.6842V24.5H14.3158V15.2692H0V9.73077H14.3158V0.5Z",fill:"#F93939"})]}),D.jsxRuntimeExports.jsx("defs",{children:D.jsxRuntimeExports.jsx("clipPath",{id:"clip0_16865_28134",children:D.jsxRuntimeExports.jsx("rect",{y:"0.5",width:"34",height:"24",rx:"3",fill:"white"})})})]})}function zP(e){return D.jsxRuntimeExports.jsxs("svg",{width:"34",height:"24",viewBox:"0 0 34 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[D.jsxRuntimeExports.jsxs("g",{"clip-path":"url(#clip0_16886_62505)",children:[D.jsxRuntimeExports.jsx("rect",{width:"34",height:"24",rx:"3",fill:"#F93939"}),D.jsxRuntimeExports.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 16H34V24H0V16Z",fill:"#FFDA2C"}),D.jsxRuntimeExports.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 0H34V8H0V0Z",fill:"#151515"})]}),D.jsxRuntimeExports.jsx("defs",{children:D.jsxRuntimeExports.jsx("clipPath",{id:"clip0_16886_62505",children:D.jsxRuntimeExports.jsx("rect",{width:"34",height:"24",rx:"3",fill:"white"})})})]})}function Ny({logo:e,user:t,baseUrl:n,notiPath:i,style:a,classNames:u="",customColors:f}){const m=e||"/public/assets/icons/logo-header.png",b={...a,color:(f==null?void 0:f.color)||"black",backgroundColor:(f==null?void 0:f.bgColor)||"black"},[_,E]=D.reactExports.useState(!1),O=()=>{window.location.href=`${n}/authentication/logout?callbackUrl=${window.location.href}`};return D.jsxRuntimeExports.jsxs(D.ShadowDomWrapper,{styles:[YP,WP,HP],style:{zIndex:1202},children:[D.jsxRuntimeExports.jsx("nav",{className:`navbar ${u}`,style:f?b:a,children:D.jsxRuntimeExports.jsxs("div",{className:"navbar-container",children:[D.jsxRuntimeExports.jsx("div",{className:"logo-container",children:D.jsxRuntimeExports.jsx("img",{src:m,alt:"logo-header"})}),D.jsxRuntimeExports.jsxs("div",{className:"right-side-container",children:[D.jsxRuntimeExports.jsx("span",{children:D.jsxRuntimeExports.jsx(zD,{children:D.jsxRuntimeExports.jsx(BP,{primaryColor:f==null?void 0:f.primaryColor,baseUrl:n,notiPath:i})})}),D.jsxRuntimeExports.jsx("span",{className:"cursor-pointer",children:D.jsxRuntimeExports.jsx(Y_,{primaryColor:f==null?void 0:f.primaryColor})}),D.jsxRuntimeExports.jsx(qP,{primaryColor:f==null?void 0:f.primaryColor}),D.jsxRuntimeExports.jsxs("div",{className:"userContainer",children:[D.jsxRuntimeExports.jsx(VP,{primaryColor:f==null?void 0:f.primaryColor,avatarUrl:t==null?void 0:t.avatarUrl,userName:t==null?void 0:t.firstName,setShowConfirmModal:E}),D.jsxRuntimeExports.jsx("p",{className:"userFullName",children:`${(t==null?void 0:t.firstName)||"Unknown"} ${(t==null?void 0:t.lastName)||"User"}`})]})]})]})}),D.jsxRuntimeExports.jsx(D.LogoutConfirmModal,{isOpen:_,onClose:()=>E(!1),onConfirm:O})]})}function qP({primaryColor:e="#009d4f"}){var m;const[t,n]=D.reactExports.useState(!1),i=D.reactExports.useRef(null),a=[{value:td.en,element:D.jsxRuntimeExports.jsx(UP,{})},{value:td.de,element:D.jsxRuntimeExports.jsx(zP,{})}],{language:u,setLanguage:f}=JA();return D.reactExports.useEffect(()=>{const b=_=>{i.current&&!i.current.contains(_.target)&&n(!1)};return document.addEventListener("click",b,!0),()=>{document.removeEventListener("click",b,!0)}},[i]),D.jsxRuntimeExports.jsxs("div",{className:"languageDropdownContainer",style:{position:"relative"},children:[D.jsxRuntimeExports.jsxs("div",{className:"languageDropdown",onClick:()=>{n(!t)},ref:i,children:[(m=a.find(b=>b.value==u))==null?void 0:m.element,D.jsxRuntimeExports.jsx("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:D.jsxRuntimeExports.jsx("path",{d:"M4.42724 7.92678L7.82372 11.3232C7.92135 11.4209 8.07964 11.4209 8.17727 11.3232L11.5737 7.92678C11.7312 7.76928 11.6197 7.5 11.3969 7.5H4.60402C4.38129 7.5 4.26975 7.76929 4.42724 7.92678Z",fill:"#85858A"})})]}),D.jsxRuntimeExports.jsx("div",{className:"dropdownListLanguage",style:{display:t?"block":"none",position:"absolute",top:"53px",right:"0px",padding:"8px",boxShadow:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",backgroundColor:"#fafafa"},children:a.filter(b=>b.value!==u).map(b=>D.jsxRuntimeExports.jsx("div",{className:"languageItem",style:{width:"100px",padding:"8px",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer"},onMouseEnter:_=>{_.currentTarget.style.backgroundColor=e,_.currentTarget.style.transition="background-color 0.3s ease-in-out"},onMouseLeave:_=>{_.currentTarget.style.backgroundColor="#fafafa",_.currentTarget.style.transition="background-color 0.3s ease-out"},onClick:()=>{f(b.value),localStorage.setItem("language",b.value),zt.changeLanguage(b.value),n(!1),window.location.reload()},children:b.element}))})]})}function VP({avatarUrl:e,userName:t,setShowConfirmModal:n,primaryColor:i="#009d4f"}){const[a,u]=D.reactExports.useState(!1),f=D.reactExports.useRef(null),m=D.reactExports.useRef(null),[b,_]=D.reactExports.useState(!1),[E,O]=D.reactExports.useState(!1),M={backgroundColor:b?i:"transparent"},z={backgroundColor:E?i:"transparent"};return D.reactExports.useEffect(()=>{const B=$=>{f.current&&!f.current.contains($.target)&&u(!1),m.current&&!m.current.contains($.target)&&u(!1)};return document.addEventListener("click",B,!0),()=>{document.removeEventListener("click",B,!0)}},[f]),D.jsxRuntimeExports.jsx(D.jsxRuntimeExports.Fragment,{children:D.jsxRuntimeExports.jsxs("div",{style:{position:"relative"},children:[e?D.jsxRuntimeExports.jsx("img",{onClick:()=>u(!a),ref:f,alt:"user avatar",className:"userAvatar",src:e}):D.jsxRuntimeExports.jsx("div",{onClick:()=>u(!a),ref:f,className:"userAvatarNull",children:(t==null?void 0:t.charAt(0))??""}),D.jsxRuntimeExports.jsx("div",{style:{display:a?"block":"none"},className:"avartarDropdownMenu",ref:m,children:D.jsxRuntimeExports.jsxs("ul",{children:[D.jsxRuntimeExports.jsx("li",{onMouseEnter:()=>O(!0),onMouseLeave:()=>O(!1),style:z,className:"avatar-dropdown-item",children:"Profile"}),D.jsxRuntimeExports.jsx("li",{onMouseEnter:()=>_(!0),onMouseLeave:()=>_(!1),style:M,onClick:()=>n(!0),className:"avatar-dropdown-item",children:"Logout"})]})})]})})}{const e=D.s(Ny,{props:{logo:"string",user:"json",baseUrl:"string",notiPath:"string",classNames:"string",style:"json",customColors:"json"},shadow:"open"});customElements.define("global-topbar",e)}exports.HasPermission=Q0;exports.TopBar=Ny;exports.getUseHasPermission=J0;
|