@ukpc-lib/react 0.2.16 → 0.2.17

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.
@@ -1,884 +0,0 @@
1
- "use strict";const D=require("./index-661a7bdb.cjs");function cm(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=cm(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=cm(e))&&(i&&(i+=" "),i+=t);return i}function B_({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 Y_=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
- //! version : 2.30.1
3
- //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
4
- //! license : MIT
5
- //! momentjs.com
6
- var fm;function ue(){return fm.apply(null,arguments)}function W_(e){fm=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 ad(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 dm(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 Nm(e,t,n,i,!0).utc()}function H_(){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=H_()),e._pf}var $f;Array.prototype.some?$f=Array.prototype.some:$f=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 od(e){var t=null,n=!1,i=e._d&&!isNaN(e._d.getTime());if(i&&(t=Oe(e),n=$f.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 Zp=ue.momentProperties=[],xf=!1;function ud(e,t){var n,i,a,u=Zp.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=Zp[n],a=t[i],wn(a)||(e[i]=a);return e}function po(e){ud(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 hm(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)}hm(e+`
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 $u(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})?/,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?/,pd=/^([1-9]\d|\d)/,Vu;Vu={};function ge(e,t,n){Vu[e]=Yr(t)?t:function(i,a){return i&&n?n:t}}function lS(e,t){return Ke(Vu,e)?Vu[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 mo(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");ge("Y",ll);ge("YY",dt,Nn);ge("YYYY",hd,dd);ge("YYYYY",ul,al);ge("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)});ge("M",dt,Qs);ge("MM",dt,Nn);ge("MMM",function(e,t){return t.monthsShortRegex(e)});ge("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=go,xS=go;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 TS(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 ES(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 qu(e,t,n){var i=7+t-n,a=(7+Qa(e,0,i).getUTCDay()-t)%7;return-a+i-1}function Tm(e,t,n,i,a){var u=(7+n-i)%7,f=qu(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=qu(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=qu(e,t,n),a=qu(e+1,t,n);return(Ka(e)-i+a)/7}ve("w",["ww",2],"wo","week");ve("W",["WW",2],"Wo","isoWeek");ge("w",dt,Qs);ge("ww",dt,Nn);ge("W",dt,Qs);ge("WW",dt,Nn);mo(["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 RS={dow:0,doy:6};function IS(){return this._week.dow}function AS(){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");ge("d",dt);ge("e",dt);ge("E",dt);ge("dd",function(e,t){return t.weekdaysMinRegex(e)});ge("ddd",function(e,t){return t.weekdaysShortRegex(e)});ge("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 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("_"),Em="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$S="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),jS=go,BS=go,YS=go;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(T,O){return O.length-T.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 Rm(e,t){return t._meridiemParse}ge("a",Rm);ge("A",Rm);ge("H",dt,pd);ge("h",dt,Qs);ge("k",dt,Qs);ge("HH",dt,Nn);ge("hh",dt,Nn);ge("kk",dt,Nn);ge("hmm",vm);ge("hmmss",bm);ge("Hmm",vm);ge("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 Im={calendar:z_,longDateFormat:K_,invalidDate:X_,ordinal:Q_,dayOfMonthOrdinalParse:eS,relativeTime:nS,months:vS,monthsShort:_m,week:RS,weekdays:FS,weekdaysMin:$S,weekdaysShort:Em,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=Im;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=Im;gt[e]!=null&&gt[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)?/,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/]],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 Am(e){var t,n,i=e._i,a=lk.exec(i)||ck.exec(i),u,f,m,b,_=Ou.length,T=_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=T;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=Em.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(Am(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:ES).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=Tm(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){Am(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,_,T;for(a=gm(e._f,e._locale).match(cd)||[],T=a.length,n=0;n<T;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 po(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 po(xd(t)):(ho(t)?e._d=t:mr(n)?kk(e):n?_d(e):Tk(e),od(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"?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 Ek=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 Rk(){var e=[].slice.call(arguments,0);return Lm("isBefore",e)}function Ik(){var e=[].slice.call(arguments,0);return Lm("isAfter",e)}var Ak=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,T=t.millisecond||0;this._isValid=Ok(t),this._milliseconds=+T+_*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 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","");ge("Z",cl);ge("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)||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 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 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=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),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=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)||ho(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 po(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=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 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?$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 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=$u(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 Gu=1e3,qs=60*Gu,Ku=60*qs,zm=(365*400+97)*24*Ku;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),Ku);break;case"minute":t=this._d.valueOf(),t-=Gs(t,qs);break;case"second":t=this._d.valueOf(),t-=Gs(t,Gu);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+=Ku-Gs(t+(this._isUTC?0:this.utcOffset()*qs),Ku)-1;break;case"minute":t=this._d.valueOf(),t+=qs-Gs(t,qs)-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 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 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 EC(){return this.isValid()?this.toISOString():null}function MC(){return od(this)}function RC(){return $i({},Oe(this))}function IC(){return Oe(this).overflow}function AC(){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");ge("N",Cd);ge("NN",Cd);ge("NNN",Cd);ge("NNNN",HC);ge("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});ge("y",Js);ge("yy",Js);ge("yyy",Js);ge("yyyy",Js);ge("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");ge("G",ll);ge("g",ll);ge("GG",dt,Nn);ge("gg",dt,Nn);ge("GGGG",hd,dd);ge("gggg",hd,dd);ge("GGGGG",ul,al);ge("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 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=Tm(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");ge("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");ge("D",dt,Qs);ge("DD",dt,Nn);ge("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");ge("DDD",ol);ge("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");ge("m",dt,pd);ge("mm",dt,Nn);ot(["m","mm"],gr);var tD=ea("Minutes",!1);ve("s",["ss",2],0,"second");ge("s",dt,pd);ge("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});ge("S",ol,mm);ge("SS",ol,Nn);ge("SSS",ol,ym);var ji,Zm;for(ji="SSSS";ji.length<=9;ji+="S")ge(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=po.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=IC;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=Ek;re.parsingFlags=RC;re.set=mS;re.startOf=wC;re.subtract=Jk;re.toArray=DC;re.toObject=TC;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=EC;re.toString=hC;re.unix=kC;re.valueOf=SC;re.creationData=AC;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=TS;Ze.monthsShortRegex=DS;Ze.week=MS;Ze.firstDayOfYear=AS;Ze.firstDayOfWeek=IS;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 Zu(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 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 uD(e,t){return Jm(e,t,"months")}function lD(e,t){return Jm(e,t,"monthsShort")}function cD(e,t,n){return Td(e,t,n,"weekdays")}function fD(e,t,n){return Td(e,t,n,"weekdaysShort")}function dD(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 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 TD(){return vr(this)}function ED(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"),RD=ms("seconds"),ID=ms("minutes"),AD=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")),T=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||T<=1&&["w"]||T<n.w&&["ww",T]),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,_,T,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)?"-":"",T=Ls(this._days)!==Ls(m)?"-":"",O=Ls(this._milliseconds)!==Ls(m)?"-":"",b+"P"+(u?_+u+"Y":"")+(n?_+n+"M":"")+(t?T+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=TD;ze.get=ED;ze.milliseconds=MD;ze.seconds=RD;ze.minutes=ID;ze.hours=AD;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");ge("x",ll);ge("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=Rk;ue.max=Ik;ue.now=Ak;ue.utc=Br;ue.unix=aD;ue.months=uD;ue.isDate=ho;ue.locale=Bi;ue.invalid=sl;ue.duration=vr;ue.isMoment=yr;ue.weekdays=cD;ue.parseZone=oD;ue.localeData=yi;ue.isDuration=ju;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",children:[D.jsxRuntimeExports.jsx("div",{className:"notification-item__image-container",children:D.jsxRuntimeExports.jsx("img",{src: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("a",{className:"notification-item__context-link",href:e.contextUrl,children: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))})})]}),no=D.reactExports.createContext({}),UD=({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 zD={black:"#000",white:"#fff"},ro=zD,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,qD={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=qD,GD={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=GD,KD={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=KD,ZD={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=ZD,XD={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=XD,JD={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"},QD=JD;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 eT=Object.freeze(Object.defineProperty({__proto__:null,default:io},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 tT=/^((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)-.*))$/,nT=r0(function(e){return tT.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function rT(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 iT(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 sT=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(iT(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var u=rT(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",Ed="rule",Md="decl",aT="@import",s0="@keyframes",oT="@layer",uT=Math.abs,ml=String.fromCharCode,lT=Object.assign;function cT(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 fT(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 so(e,t,n){return e.slice(t,n)}function Ar(e){return e.length}function Rd(e){return e.length}function Pu(e,t){return t.push(e),e}function dT(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 lT(vl("",null,null,"",null,null,0),e,{length:-e.length},t)}function hT(){return Mt}function pT(){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 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 u0(e){return yl=Xs=1,o0=Ar(ta=e),_n=0,[]}function l0(e){return ta="",e}function Wu(e){return a0(yo(_n-1,Vf(e===91?e+2:e===40?e+1:e)))}function gT(e){for(;(Mt=Lr())&&Mt<33;)On();return ao(e)>2||ao(Mt)>3?"":" "}function mT(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 yT(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 vT(e){for(;!ao(Lr());)On();return yo(e,_n)}function bT(e){return l0(Hu("",null,null,null,[""],e=u0(e),0,[0],e))}function Hu(e,t,n,i,a,u,f,m,b){for(var _=0,T=0,O=f,M=0,z=0,B=0,$=1,J=1,W=1,ae=0,me="",se=a,ne=u,ie=i,h=me;J;)switch(B=ae,ae=On()){case 40:if(B!=108&&Ut(h,O-1)==58){zf(h+=Qe(Wu(ae),"&","&\f"),"&\f")!=-1&&(W=-1);break}case 34:case 39:case 91:h+=Wu(ae);break;case 9:case 10:case 13:case 32:h+=gT(B);break;case 92:h+=mT(Yu()-1,7);continue;case 47:switch(Lr()){case 42:case 47:Pu(xT(yT(On(),Yu()),t,n),b);break;default:h+="/"}break;case 123*$:m[_++]=Ar(h)*W;case 125*$:case 59:case 0:switch(ae){case 0:case 125:J=0;case 59+T:W==-1&&(h=Qe(h,/\f/g,"")),z>0&&Ar(h)-O&&Pu(z>32?ig(h+";",i,n,O-1):ig(Qe(h," ","")+";",i,n,O-2),b);break;case 59:h+=";";default:if(Pu(ie=rg(h,t,n,_,T,a,m,me,se=[],ne=[],O),u),ae===123)if(T===0)Hu(h,t,ie,ie,se,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(rg(e,ie,ie,0,0,a,m,me,a,se=[],O),ne),a,ne,O,m,i?se:ne);break;default:Hu(h,ie,ie,ie,[""],ne,0,m,ne)}}_=T=z=0,$=W=1,me=h="",O=f;break;case 58:O=1+Ar(h),z=B;default:if($<1){if(ae==123)--$;else if(ae==125&&$++==0&&pT()==125)continue}switch(h+=ml(ae),ae*$){case 38:W=T>0?1:(h+="\f",-1);break;case 44:m[_++]=(Ar(h)-1)*W,W=1;break;case 64:Lr()===45&&(h+=Wu(On())),M=Lr(),T=O=Ar(me=h+=vT(Yu())),ae++;break;case 45:B===45&&Ar(h)==2&&($=0)}}return u}function rg(e,t,n,i,a,u,f,m,b,_,T){for(var O=a-1,M=a===0?u:[""],z=Rd(M),B=0,$=0,J=0;B<i;++B)for(var W=0,ae=so(e,O+1,O=uT($=f[B])),me=e;W<z;++W)(me=a0($>0?M[W]+" "+ae:Qe(ae,/&\f/g,M[W])))&&(b[J++]=me);return vl(e,t,n,a===0?Ed:m,b,_,T)}function xT(e,t,n){return vl(e,t,n,i0,ml(hT()),so(e,2,-2),0)}function ig(e,t,n,i){return vl(e,t,n,Md,so(e,0,i),so(e,i+1,-1),i)}function Ks(e,t){for(var n="",i=Rd(e),a=0;a<i;a++)n+=t(e[a],a,e,t)||"";return n}function wT(e,t,n,i){switch(e.type){case oT:if(e.children.length)break;case aT:case Md:return e.return=e.return||e.value;case i0:return"";case s0:return e.return=e.value+"{"+Ks(e.children,i)+"}";case Ed:e.value=e.props.join(",")}return Ar(n=Ks(e.children,i))?e.return=e.value+"{"+n+"}":""}function _T(e){var t=Rd(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 ST(e){return function(t){t.root||(t=t.return)&&e(t)}}var kT=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)},CT=function(t,n){var i=-1,a=44;do switch(ao(a)){case 0:a===38&&Lr()===12&&(n[i]=1),t[i]+=kT(_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},DT=function(t,n){return l0(CT(u0(t),n))},sg=new WeakMap,TT=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=DT(n,u),m=i.props,b=0,_=0;b<f.length;b++)for(var T=0;T<m.length;T++,_++)t.props[_]=u[b]?f[b].replace(/&\f/g,m[T]):m[T]+" "+f[b]}}},ET=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(cT(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(Ar(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,Ar(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 MT=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 Ed:if(t.length)return dT(t.props,function(u){switch(fT(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""})}},RT=[MT],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 J=$.getAttribute("data-emotion");J.indexOf(" ")!==-1&&(document.head.appendChild($),$.setAttribute("data-s",""))})}var a=t.stylisPlugins||RT,u={},f,m=[];f=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function($){for(var J=$.getAttribute("data-emotion").split(" "),W=1;W<J.length;W++)u[J[W]]=!0;m.push($)});var b,_=[TT,ET];{var T,O=[wT,ST(function($){T.insert($)})],M=_T(_.concat(a,O)),z=function(J){return Ks(bT(J),M)};b=function(J,W,ae,me){T=ae,z(J?J+"{"+W.styles+"}":W.styles),me&&(B.inserted[W.name]=!0)}}var B={key:n,sheet:new sT({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
11
- * react-is.production.min.js
12
- *
13
- * Copyright (c) Facebook, Inc. and its affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var Bt=typeof Symbol=="function"&&Symbol.for,Id=Bt?Symbol.for("react.element"):60103,Ad=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,IT=Bt?Symbol.for("react.suspense_list"):60120,Tl=Bt?Symbol.for("react.memo"):60115,El=Bt?Symbol.for("react.lazy"):60116,AT=Bt?Symbol.for("react.block"):60121,OT=Bt?Symbol.for("react.fundamental"):60117,PT=Bt?Symbol.for("react.responder"):60118,NT=Bt?Symbol.for("react.scope"):60119;function Ln(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Id: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 El:case Tl:case _l:return e;default:return t}}case Ad:return t}}}function h0(e){return Ln(e)===kl}it.AsyncMode=Od;it.ConcurrentMode=kl;it.ContextConsumer=Sl;it.ContextProvider=_l;it.Element=Id;it.ForwardRef=Cl;it.Fragment=bl;it.Lazy=El;it.Memo=Tl;it.Portal=Ad;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===Id};it.isForwardRef=function(e){return Ln(e)===Cl};it.isFragment=function(e){return Ln(e)===bl};it.isLazy=function(e){return Ln(e)===El};it.isMemo=function(e){return Ln(e)===Tl};it.isPortal=function(e){return Ln(e)===Ad};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===IT||typeof e=="object"&&e!==null&&(e.$$typeof===El||e.$$typeof===Tl||e.$$typeof===_l||e.$$typeof===Sl||e.$$typeof===Cl||e.$$typeof===OT||e.$$typeof===PT||e.$$typeof===NT||e.$$typeof===AT)};it.typeOf=Ln;d0.exports=it;var LT=d0.exports,p0=LT,FT={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},$T={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},g0={};g0[p0.ForwardRef]=FT;g0[p0.Memo]=$T;var jT=!0;function BT(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||jT===!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 YT(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 WT={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},HT=/[A-Z]|^ms/g,UT=/_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(HT,"-$&").toLowerCase()}),og=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(UT,function(i,a,u){return Or={name:a,styles:u,next:Or},a})}return WT[t]!==1&&!v0(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 zT(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 zT(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]+"}":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=oo(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+=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]);ug.lastIndex=0;for(var b="",_;(_=ug.exec(u))!==null;)b+="-"+_[1];var T=YT(u)+b;return{name:T,styles:u,next:Or}},VT=function(t){return t()},b0=D.React["useInsertionEffect"]?D.React["useInsertionEffect"]:!1,qT=b0||VT,lg=b0||D.reactExports.useLayoutEffect,x0=D.reactExports.createContext(typeof HTMLElement<"u"?f0({key:"css"}):null),GT=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({}),KT=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 Rl=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_"}}},ZT=nT,XT=function(t){return t!=="theme"},cg=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?ZT:XT},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},JT=function(t){var n=t.cache,i=t.serialized,a=t.isStringTag;return m0(n,i,a),qT(function(){return y0(n,i,a)}),null},QT=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 T=arguments,O=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(u!==void 0&&O.push("label:"+u+";"),T[0]==null||T[0].raw===void 0)O.push.apply(O,T);else{O.push(T[0][0]);for(var M=T.length,z=1;z<M;z++)O.push(T[z],T[0][z])}var B=w0(function($,J,W){var ae=_&&$.as||a,me="",se=[],ne=$;if($.theme==null){ne={};for(var ie in $)ne[ie]=$[ie];ne.theme=D.reactExports.useContext(Ml)}typeof $.className=="string"?me=BT(J.registered,se,$.className):$.className!=null&&(me=$.className+" ");var h=Pd(O.concat(se),J.registered,ne);me+=J.key+"-"+h.name,f!==void 0&&(me+=" "+f);var Ee=_&&m===void 0?cg(ae):b,ce={};for(var et in $)_&&et==="as"||Ee(et)&&(ce[et]=$[et]);return ce.className=me,ce.ref=W,D.reactExports.createElement(D.reactExports.Fragment,null,D.reactExports.createElement(JT,{cache:J,serialized:h,isStringTag:typeof ae=="string"}),D.reactExports.createElement(ae,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($,J){return e($,D._extends({},n,J,{shouldForwardProp:fg(B,J,!0)})).apply(void 0,O)},B}},eE=["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=QT.bind();eE.forEach(function(e){qf[e]=qf(e)});let Gf;typeof document=="object"&&(Gf=f0({key:"css",prepend:!0}));function tE(e){const{injectFirst:t,children:n}=e;return t&&Gf?D.jsxRuntimeExports.jsx(GT,{value:Gf,children:n}):n}function nE(e){return e==null||Object.keys(e).length===0}function rE(e){const{styles:t,defaultTheme:n={}}=e,i=typeof t=="function"?a=>t(nE(a)?n:a):t;return D.jsxRuntimeExports.jsx(KT,{styles:i})}/**
18
- * @mui/styled-engine v5.15.11
19
- *
20
- * @license MIT
21
- * This source code is licensed under the MIT license found in the
22
- * LICENSE file in the root directory of this source tree.
23
- */function iE(e,t){return qf(e,t)}const sE=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},aE=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:rE,StyledEngineProvider:tE,ThemeContext:Ml,css:_0,default:iE,internal_processStyles:sE,keyframes:Rl},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 oE=Object.freeze(Object.defineProperty({__proto__:null,default:Fr,isPlainObject:Fi},Symbol.toStringTag,{value:"Module"})),uE=["values","unit","step"],lE=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,uE),u=lE(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 T(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:T,not:O,unit:n},a)}const cE={borderRadius:4},fE=cE;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 dE(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((i,a)=>{const u=e.up(a);return i[u]={},i},{}))||{}}function hE(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 pE=Object.freeze(Object.defineProperty({__proto__:null,default:$r},Symbol.toStringTag,{value:"Module"}));function Il(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=Il(e,n)||i,t&&(a=t(a,i,e)),a}function Tt(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,_=Il(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 gE(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const mE={m:"margin",p:"padding"},yE={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},hg={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},vE=gE(e=>{if(e.length>2)if(hg[e])e=hg[e];else return[e];const[t,n]=e.split(""),i=mE[t],a=yE[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 vo(e,t,n,i){var a;const u=(a=Il(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 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 bE(e,t){return n=>e.reduce((i,a)=>(i[a]=bo(t,n),i),{})}function xE(e,t,n,i){if(t.indexOf(n)===-1)return null;const a=vE(n),u=bE(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=>xE(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 wE(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 Al(...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 Tt({prop:e,themeKey:"borders",transform:t})}const _E=rr("border",Qn),SE=rr("borderTop",Qn),kE=rr("borderRight",Qn),CE=rr("borderBottom",Qn),DE=rr("borderLeft",Qn),TE=rr("borderColor"),EE=rr("borderTopColor"),ME=rr("borderRightColor"),RE=rr("borderBottomColor"),IE=rr("borderLeftColor"),AE=rr("outline",Qn),OE=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"];Al(_E,SE,kE,CE,DE,TE,EE,ME,RE,IE,Ol,AE,OE);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 PE=Tt({prop:"gridColumn"}),NE=Tt({prop:"gridRow"}),LE=Tt({prop:"gridAutoFlow"}),FE=Tt({prop:"gridAutoColumns"}),$E=Tt({prop:"gridAutoRows"}),jE=Tt({prop:"gridTemplateColumns"}),BE=Tt({prop:"gridTemplateRows"}),YE=Tt({prop:"gridTemplateAreas"}),WE=Tt({prop:"gridArea"});Al(Pl,Nl,Ll,PE,NE,LE,FE,$E,jE,BE,YE,WE);function Zs(e,t){return t==="grey"?t:e}const HE=Tt({prop:"color",themeKey:"palette",transform:Zs}),UE=Tt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Zs}),zE=Tt({prop:"backgroundColor",themeKey:"palette",transform:Zs});Al(HE,UE,zE);function An(e){return e<=1&&e!==0?`${e*100}%`:e}const VE=Tt({prop:"width",transform:An}),$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:An(n)}};return mi(e,e.maxWidth,t)}return null};$d.filterProps=["maxWidth"];const qE=Tt({prop:"minWidth",transform:An}),GE=Tt({prop:"height",transform:An}),KE=Tt({prop:"maxHeight",transform:An}),ZE=Tt({prop:"minHeight",transform:An});Tt({prop:"size",cssProperty:"width",transform:An});Tt({prop:"size",cssProperty:"height",transform:An});const XE=Tt({prop:"boxSizing"});Al(VE,$d,qE,GE,KE,ZE,XE);const JE={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:An},maxWidth:{style:$d},minWidth:{transform:An},height:{transform:An},maxHeight:{transform:An},minHeight:{transform:An},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},xo=JE;function QE(...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 e2(e,t){return typeof e=="function"?e(t):e}function T0(){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:T,style:O}=m;if(i==null)return null;if(_==="typography"&&i==="inherit")return{[n]:i};const M=Il(a,_)||{};return O?O(f):mi(f,i,B=>{let $=Ju(M,T,B);return B===$&&typeof B=="string"&&($=Ju(M,T,`${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 T=dE(u.breakpoints),O=Object.keys(T);let M=T;return Object.keys(_).forEach(z=>{const B=e2(_[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,J=>({[z]:J}));QE($,B)?M[z]=t({sx:B,theme:u}):M=Za(M,$)}else M=Za(M,e(z,B,u,f))}),hE(O,M)}return Array.isArray(a)?a.map(m):m(a)}return t}const E0=T0();E0.filterProps=["sx"];const jd=E0;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 t2=["breakpoints","palette","spacing","shape"];function Bd(e={},...t){const{breakpoints:n={},palette:i={},spacing:a,shape:u={}}=e,f=D._objectWithoutPropertiesLoose(e,t2),m=k0(n),b=wE(a);let _=Fr({breakpoints:m,direction:"ltr",components:{},palette:D._extends({mode:"light"},i),spacing:b,shape:D._extends({},fE,u)},f);return _.applyStyles=M0,_=t.reduce((T,O)=>Fr(T,O),_),_.unstable_sxConfig=D._extends({},xo,f==null?void 0:f.unstable_sxConfig),_.unstable_sx=function(O){return jd({sx:O,theme:this})},_}const n2=Object.freeze(Object.defineProperty({__proto__:null,default:Bd,private_createBreakpoints:k0,unstable_applyStyles:M0},Symbol.toStringTag,{value:"Module"}));function r2(e){return Object.keys(e).length===0}function i2(e=null){const t=D.reactExports.useContext(Ml);return!t||r2(t)?e:t}const s2=Bd();function a2(e=s2){return i2(e)}const o2=["sx"],u2=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 l2(e){const{sx:t}=e,n=D._objectWithoutPropertiesLoose(e,o2),{systemProps:i,otherProps:a}=u2(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 c2=Object.freeze(Object.defineProperty({__proto__:null,default:jd,extendSxProp:l2,unstable_createStyleFunctionSx:T0,unstable_defaultSxConfig:xo},Symbol.toStringTag,{value:"Module"})),pg=e=>e,f2=()=>{let e=pg;return{configure(t){e=t},generate(t){return e(t)},reset(){e=pg}}},d2=f2(),h2=d2,p2={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=p2[t];return i?`${n}-${i}`:`${h2.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
- * @license React
25
- * react-is.production.min.js
26
- *
27
- * Copyright (c) Facebook, Inc. and its affiliates.
28
- *
29
- * This source code is licensed under the MIT license found in the
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"),g2=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"),m2=Symbol.for("react.offscreen"),I0;I0=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 g2: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===m2||typeof e=="object"&&e!==null&&(e.$$typeof===Gl||e.$$typeof===ql||e.$$typeof===Wl||e.$$typeof===Hl||e.$$typeof===Ul||e.$$typeof===I0||e.getModuleId!==void 0)};st.typeOf=ir;R0.exports=st;var gg=R0.exports;const y2=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function A0(e){const t=`${e}`.match(y2);return t&&t[1]||""}function O0(e,t=""){return e.displayName||e.name||A0(e)||t}function mg(e,t,n){const i=O0(t);return e.displayName||(i!==""?`${n}(${i})`:n)}function v2(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 b2=Object.freeze(Object.defineProperty({__proto__:null,default:v2,getFunctionName:A0},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 x2(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 w2({props:e,name:t,defaultTheme:n,themeId:i}){let a=a2(n);return i&&(a=a[i]||a),x2({theme:a,name:t,props:e})}const _2=typeof window<"u"?D.reactExports.useLayoutEffect:D.reactExports.useEffect,S2=_2;function k2(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const C2=Object.freeze(Object.defineProperty({__proto__:null,default:k2},Symbol.toStringTag,{value:"Module"}));function D2(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 S2(()=>{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=>{D2(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 M2=[];function R2(e){D.reactExports.useEffect(e,M2)}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 R2(e.disposeEffect),e}let Zl=!0,Kf=!1;const A2=new Kl,O2={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 P2(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&O2[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function N2(e){e.metaKey||e.altKey||e.ctrlKey||(Zl=!0)}function Cf(){Zl=!1}function L2(){this.visibilityState==="hidden"&&Kf&&(Zl=!0)}function F2(e){e.addEventListener("keydown",N2,!0),e.addEventListener("mousedown",Cf,!0),e.addEventListener("pointerdown",Cf,!0),e.addEventListener("touchstart",Cf,!0),e.addEventListener("visibilitychange",L2,!0)}function $2(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Zl||P2(t)}function j2(){const e=D.reactExports.useCallback(a=>{a!=null&&F2(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 $2(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 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 B2(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 Y2(e){var t=B2(e,"string");return uo(t)=="symbol"?t:String(t)}function W2(e,t){return D._extends({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Et={},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 H2=D.getAugmentedNamespace(eT),U2=D.getAugmentedNamespace(C2);var F0=L0;Object.defineProperty(Et,"__esModule",{value:!0});var bg=Et.alpha=H0;Et.blend=tM;Et.colorChannel=void 0;var $0=Et.darken=zd;Et.decomposeColor=er;Et.emphasize=eM;var z2=Et.getContrastRatio=Z2;Et.getLuminance=Qu;Et.hexToRgb=B0;Et.hslToRgb=W0;var j0=Et.lighten=Vd;Et.private_safeAlpha=X2;Et.private_safeColorChannel=void 0;Et.private_safeDarken=J2;Et.private_safeEmphasize=U0;Et.private_safeLighten=Q2;Et.recomposeColor=na;Et.rgbToHex=K2;var xg=F0(H2),V2=F0(U2);function Ud(e,t=0,n=1){return(0,V2.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 q2(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(" ")};Et.colorChannel=Y0;const G2=(e,t)=>{try{return Y0(e)}catch{return e}};Et.private_safeColorChannel=G2;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 K2(e){if(e.indexOf("#")===0)return e;const{values:t}=er(e);return`#${t.map((n,i)=>q2(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=(_,T=(_+n/30)%12)=>a-u*Math.max(Math.min(T-3,9-T,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 Z2(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 X2(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 J2(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 Q2(e,t,n){try{return Vd(e,t)}catch{return e}}function eM(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 tM(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 nM=["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: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 _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 rM(e="light"){return e==="dark"?{main:js[200],light:js[50],dark:js[400]}:{main:js[700],light:js[400],dark:js[800]}}function iM(e="light"){return e==="dark"?{main:$s[200],light:$s[50],dark:$s[400]}:{main:$s[500],light:$s[300],dark:$s[700]}}function sM(e="light"){return e==="dark"?{main:Fs[500],light:Fs[300],dark:Fs[700]}:{main:Fs[700],light:Fs[400],dark:Fs[800]}}function aM(e="light"){return e==="dark"?{main:Bs[400],light:Bs[300],dark:Bs[700]}:{main:Bs[700],light:Bs[500],dark:Bs[900]}}function oM(e="light"){return e==="dark"?{main:Ys[400],light:Ys[300],dark:Ys[700]}:{main:Ys[800],light:Ys[500],dark:Ys[900]}}function uM(e="light"){return e==="dark"?{main:Ua[400],light:Ua[300],dark:Ua[700]}:{main:"#ed6c02",light:Ua[500],dark:Ua[900]}}function lM(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:i=.2}=e,a=D._objectWithoutPropertiesLoose(e,nM),u=e.primary||rM(t),f=e.secondary||iM(t),m=e.error||sM(t),b=e.info||aM(t),_=e.success||oM(t),T=e.warning||uM(t);function O($){return z2($,Df.text.primary)>=n?Df.text.primary:wg.text.primary}const M=({color:$,name:J,mainShade:W=500,lightShade:ae=300,darkShade:me=700})=>{if($=D._extends({},$),!$.main&&$[W]&&($.main=$[W]),!$.hasOwnProperty("main"))throw new Error(io(11,J?` (${J})`:"",W));if(typeof $.main!="string")throw new Error(io(12,J?` (${J})`:"",JSON.stringify($.main)));return _g($,"light",ae,i),_g($,"dark",me,i),$.contrastText||($.contrastText=O($.main)),$},z={dark:Df,light:wg};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:T,name:"warning"}),info:M({color:b,name:"info"}),success:M({color:_,name:"success"}),grey:QD,contrastThreshold:n,getContrastText:O,augmentColor:M,tonalOffset:i},z[t]),a)}const cM=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function fM(e){return Math.round(e*1e5)/1e5}const Sg={textTransform:"uppercase"},kg='"Roboto", "Helvetica", "Arial", sans-serif';function dM(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:T,pxToRem:O}=n,M=D._objectWithoutPropertiesLoose(n,cM),z=a/14,B=O||(W=>`${W/_*z}rem`),$=(W,ae,me,se,ne)=>D._extends({fontFamily:i,fontWeight:W,fontSize:B(ae),lineHeight:me},i===kg?{letterSpacing:`${fM(se/ae)}em`}:{},ne,T),J={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},J),M,{clone:!1})}const hM=.2,pM=.14,gM=.12;function pt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${hM})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${pM})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${gM})`].join(",")}const mM=["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)],yM=mM,vM=["duration","easing","delay"],bM={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)"},xM={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Cg(e){return`${Math.round(e)}ms`}function wM(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function _M(e){const t=D._extends({},bM,e.easing),n=D._extends({},xM,e.duration),i=(a=["all"],u={})=>{const{duration:f=n.standard,easing:m=t.easeInOut,delay:b=0}=u;return D._objectWithoutPropertiesLoose(u,vM),(Array.isArray(a)?a:[a]).map(_=>`${_} ${typeof f=="string"?f:Cg(f)} ${m} ${typeof b=="string"?b:Cg(b)}`).join(",")};return D._extends({getAutoHeightDuration:wM,create:i},e,{easing:t,duration:n})}const SM={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},kM=SM,CM=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function DM(e={},...t){const{mixins:n={},palette:i={},transitions:a={},typography:u={}}=e,f=D._objectWithoutPropertiesLoose(e,CM);if(e.vars)throw new Error(io(18));const m=lM(i),b=Bd(e);let _=Fr(b,{mixins:W2(b.breakpoints,n),palette:m,shadows:yM.slice(),typography:dM(m,u),transitions:_M(a),zIndex:D._extends({},kM)});return _=Fr(_,f),_=t.reduce((T,O)=>Fr(T,O),_),_.unstable_sxConfig=D._extends({},xo,f==null?void 0:f.unstable_sxConfig),_.unstable_sx=function(O){return jd({sx:O,theme:this})},_}const TM=DM(),z0=TM;function qd({props:e,name:t}){return w2({props:e,name:t,defaultTheme:z0,themeId:n0})}var wo={};const EM=D.getAugmentedNamespace(D._extends$1),MM=D.getAugmentedNamespace(D.objectWithoutPropertiesLoose),RM=D.getAugmentedNamespace(aE),IM=D.getAugmentedNamespace(oE),AM=D.getAugmentedNamespace(pE),OM=D.getAugmentedNamespace(b2),PM=D.getAugmentedNamespace(n2),NM=D.getAugmentedNamespace(c2);var ra=L0;Object.defineProperty(wo,"__esModule",{value:!0});var LM=wo.default=ZM,FM=wo.shouldForwardProp=Uu;wo.systemDefaultTheme=void 0;var Kn=ra(EM),Zf=ra(MM),Dg=UM(RM),$M=IM;ra(AM);ra(OM);var jM=ra(PM),BM=ra(NM);const YM=["ownerState"],WM=["variants"],HM=["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 UM(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 zM(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 qM=wo.systemDefaultTheme=(0,jM.default)(),GM=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Lu({defaultTheme:e,theme:t,themeId:n}){return zM(t)?e:t[n]||t}function KM(e){return e?(t,n)=>n[e]:null}function zu(e,t){let{ownerState:n}=t,i=(0,Zf.default)(t,YM);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,Zf.default)(a,WM);return u.forEach(b=>{let _=!0;typeof b.props=="function"?_=b.props((0,Kn.default)({ownerState:n},i,n)):Object.keys(b.props).forEach(T=>{(n==null?void 0:n[T])!==b.props[T]&&i[T]!==b.props[T]&&(_=!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 ZM(e={}){const{themeId:t,defaultTheme:n=qM,rootShouldForwardProp:i=Uu,slotShouldForwardProp:a=Uu}=e,u=f=>(0,BM.default)((0,Kn.default)({},f,{theme:Lu((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:T,skipSx:O,overridesResolver:M=KM(GM(_))}=m,z=(0,Zf.default)(m,HM),B=T!==void 0?T:_&&_!=="Root"&&_!=="root"||!1,$=O||!1;let J,W=Uu;_==="Root"||_==="root"?W=i:_?W=a:VM(f)&&(W=void 0);const ae=(0,Dg.default)(f,(0,Kn.default)({shouldForwardProp:W,label:J},z)),me=ne=>typeof ne=="function"&&ne.__emotion_real!==ne||(0,$M.isPlainObject)(ne)?ie=>zu(ne,(0,Kn.default)({},ie,{theme:Lu({theme:ie.theme,defaultTheme:n,themeId:t})})):ne,se=(ne,...ie)=>{let h=me(ne);const Ee=ie?ie.map(me):[];b&&M&&Ee.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,Ve={};return Object.entries(xe).forEach(([ut,ht])=>{Ve[ut]=zu(ht,(0,Kn.default)({},Pe,{theme:Xe}))}),M(Pe,Ve)}),b&&!B&&Ee.push(Pe=>{var Xe;const xe=Lu((0,Kn.default)({},Pe,{defaultTheme:n,themeId:t})),Ve=xe==null||(Xe=xe.components)==null||(Xe=Xe[b])==null?void 0:Xe.variants;return zu({variants:Ve},(0,Kn.default)({},Pe,{theme:xe}))}),$||Ee.push(u);const ce=Ee.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=ae(h,...Ee);return f.muiName&&(et.muiName=f.muiName),et};return ae.withConfig&&(se.withConfig=ae.withConfig),se}}const q0=e=>FM(e)&&e!=="classes",XM=LM({themeId:n0,defaultTheme:z0,rootShouldForwardProp:q0}),Wr=XM,Tg=D.React$1.createContext(null);function JM(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 QM(e,t){e=e||{},t=t||{};function n(T){return T in t?t[T]:e[T]}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 eR(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 tR(e,t,n){var i=Gd(e.children),a=QM(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],T=D.reactExports.isValidElement(_)&&!_.props.in;b&&(!m||T)?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&&!T?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 nR=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},rR={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(JM(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?eR(a,m):tR(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,_=nR(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);Kd.propTypes={};Kd.defaultProps=rR;const iR=Kd;function sR(e){const{className:t,classes:n,pulsate:i=!1,rippleX:a,rippleY:u,rippleSize:f,in:m,onExited:b,timeout:_}=e,[T,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,T&&n.childLeaving,i&&n.childPulsate);return!m&&!T&&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 aR=$l("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Xn=aR,oR=["center","classes","className"];let Xl=e=>e,Eg,Mg,Rg,Ig;const Xf=550,uR=80,lR=Rl(Eg||(Eg=Xl`
32
- 0% {
33
- transform: scale(0);
34
- opacity: 0.1;
35
- }
36
-
37
- 100% {
38
- transform: scale(1);
39
- opacity: 0.3;
40
- }
41
- `)),cR=Rl(Mg||(Mg=Xl`
42
- 0% {
43
- opacity: 1;
44
- }
45
-
46
- 100% {
47
- opacity: 0;
48
- }
49
- `)),fR=Rl(Rg||(Rg=Xl`
50
- 0% {
51
- transform: scale(1);
52
- }
53
-
54
- 50% {
55
- transform: scale(0.92);
56
- }
57
-
58
- 100% {
59
- transform: scale(1);
60
- }
61
- `)),dR=Wr("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),hR=Wr(sR,{name:"MuiTouchRipple",slot:"Ripple"})(Ig||(Ig=Xl`
62
- opacity: 0;
63
- position: absolute;
64
-
65
- &.${0} {
66
- opacity: 0.3;
67
- transform: scale(1);
68
- animation-name: ${0};
69
- animation-duration: ${0}ms;
70
- animation-timing-function: ${0};
71
- }
72
-
73
- &.${0} {
74
- animation-duration: ${0}ms;
75
- }
76
-
77
- & .${0} {
78
- opacity: 1;
79
- display: block;
80
- width: 100%;
81
- height: 100%;
82
- border-radius: 50%;
83
- background-color: currentColor;
84
- }
85
-
86
- & .${0} {
87
- opacity: 0;
88
- animation-name: ${0};
89
- animation-duration: ${0}ms;
90
- animation-timing-function: ${0};
91
- }
92
-
93
- & .${0} {
94
- position: absolute;
95
- /* @noflip */
96
- left: 0px;
97
- top: 0;
98
- animation-name: ${0};
99
- animation-duration: 2500ms;
100
- animation-timing-function: ${0};
101
- animation-iteration-count: infinite;
102
- animation-delay: 200ms;
103
- }
104
- `),Xn.rippleVisible,lR,Xf,({theme:e})=>e.transitions.easing.easeInOut,Xn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Xn.child,Xn.childLeaving,cR,Xf,({theme:e})=>e.transitions.easing.easeInOut,Xn.childPulsate,fR,({theme:e})=>e.transitions.easing.easeInOut),pR=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,oR),[b,_]=D.reactExports.useState([]),T=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),J=D.reactExports.useCallback(se=>{const{pulsate:ne,rippleX:ie,rippleY:h,rippleSize:Ee,cb:ce}=se;_(et=>[...et,D.jsxRuntimeExports.jsx(hR,{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:Ee},T.current)]),T.current+=1,O.current=ce},[u]),W=D.reactExports.useCallback((se={},ne={},ie=()=>{})=>{const{pulsate:h=!1,center:Ee=a||ne.pulsate,fakeElement:ce=!1}=ne;if((se==null?void 0:se.type)==="mousedown"&&M.current){M.current=!1;return}(se==null?void 0:se.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(Ee||se===void 0||se.clientX===0&&se.clientY===0||!se.clientX&&!se.touches)Xe=Math.round(Pe.width/2),xe=Math.round(Pe.height/2);else{const{clientX:ut,clientY:ht}=se.touches&&se.touches.length>0?se.touches[0]:se;Xe=Math.round(ut-Pe.left),xe=Math.round(ht-Pe.top)}if(Ee)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)}se!=null&&se.touches?B.current===null&&(B.current=()=>{J({pulsate:h,rippleX:Xe,rippleY:xe,rippleSize:Ve,cb:ie})},z.start(uR,()=>{B.current&&(B.current(),B.current=null)})):J({pulsate:h,rippleX:Xe,rippleY:xe,rippleSize:Ve,cb:ie})},[a,J,z]),ae=D.reactExports.useCallback(()=>{W({},{pulsate:!0})},[W]),me=D.reactExports.useCallback((se,ne)=>{if(z.clear(),(se==null?void 0:se.type)==="touchend"&&B.current){B.current(),B.current=null,z.start(0,()=>{me(se,ne)});return}B.current=null,_(ie=>ie.length>0?ie.slice(1):ie),O.current=ne},[z]);return D.reactExports.useImperativeHandle(n,()=>({pulsate:ae,start:W,stop:me}),[ae,W,me]),D.jsxRuntimeExports.jsx(dR,D._extends({className:Zn(Xn.root,u.root,f),ref:$},m,{children:D.jsxRuntimeExports.jsx(iR,{component:null,exit:!0,children:b})}))}),gR=pR;function mR(e){return Fl("MuiButtonBase",e)}const yR=$l("MuiButtonBase",["root","disabled","focusVisible"]),vR=yR,bR=["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"],xR=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:i,classes:a}=e,f=Hd({root:["root",t&&"disabled",n&&"focusVisible"]},mR,a);return n&&i&&(f.root+=` ${i}`),f},wR=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"},[`&.${vR.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),_R=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:T=!1,disableTouchRipple:O=!1,focusRipple:M=!1,LinkComponent:z="a",onBlur:B,onClick:$,onContextMenu:J,onDragLeave:W,onFocus:ae,onFocusVisible:me,onKeyDown:se,onKeyUp:ne,onMouseDown:ie,onMouseLeave:h,onMouseUp:Ee,onTouchEnd:ce,onTouchMove:et,onTouchStart:Pe,tabIndex:Xe=0,TouchRippleProps:xe,touchRippleRef:Ve,type:ut}=i,ht=D._objectWithoutPropertiesLoose(i,bR),He=D.reactExports.useRef(null),we=D.reactExports.useRef(null),qe=yg(we,Ve),{isFocusVisibleRef:lt,onFocus:_t,onBlur:St,ref:Fn}=j2(),[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&&!T&&!_;D.reactExports.useEffect(()=>{Vt&&M&&!T&&sr&&we.current.pulsate()},[T,M,Vt,sr]);function Nt(Ce,Vr,xi=O){return Nu(Bn=>(Vr&&Vr(Bn),!xi&&we.current&&we.current[Ce](Bn),!0))}const cn=Nt("start",ie),bi=Nt("stop",J),Sn=Nt("stop",W),Ur=Nt("stop",Ee),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=Nu(Ce=>{He.current||(He.current=Ce.currentTarget),_t(Ce),lt.current===!0&&(qt(!0),me&&me(Ce)),ae&&ae(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&&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(),se&&se(Ce),Ce.target===Ce.currentTarget&&ar()&&Ce.key==="Enter"&&!_&&(Ce.preventDefault(),$&&$(Ce))}),$n=Nu(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:T,disableTouchRipple:O,focusRipple:M,tabIndex:Xe,focusVisible:Vt}),xr=xR(br);return D.jsxRuntimeExports.jsxs(wR,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(gR,D._extends({ref:qe,center:u},xe)):null]}))}),SR=_R,kR=D.reactExports.createContext(void 0),CR=kR;function DR(){return D.reactExports.useContext(CR)}function TR(e){return Fl("PrivateSwitchBase",e)}$l("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const ER=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],MR=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,TR,t)},RR=Wr(SR)(({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})),IR=Wr("input",{shouldForwardProp:q0})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),AR=D.reactExports.forwardRef(function(t,n){const{autoFocus:i,checked:a,checkedIcon:u,className:f,defaultChecked:m,disabled:b,disableFocusRipple:_=!1,edge:T=!1,icon:O,id:M,inputProps:z,inputRef:B,name:$,onBlur:J,onChange:W,onFocus:ae,readOnly:me,required:se=!1,tabIndex:ne,type:ie,value:h}=t,Ee=D._objectWithoutPropertiesLoose(t,ER),[ce,et]=T2({controlled:a,default:!!m,name:"SwitchBase",state:"checked"}),Pe=DR(),Xe=qe=>{ae&&ae(qe),Pe&&Pe.onFocus&&Pe.onFocus(qe)},xe=qe=>{J&&J(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:T}),we=MR(He);return D.jsxRuntimeExports.jsxs(RR,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},Ee,{children:[D.jsxRuntimeExports.jsx(IR,D._extends({autoFocus:i,checked:a,defaultChecked:m,className:we.input,disabled:ut,id:ht?M:void 0,name:$,onChange:Ve,readOnly:me,ref:B,required:se,ownerState:He,tabIndex:ne,type:ie},ie==="checkbox"&&h===void 0?{}:{value:h},z)),ce?u:O]}))}),OR=AR;function PR(e){return Fl("MuiSwitch",e)}const NR=$l("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),ln=NR,LR=["className","color","edge","size","sx"],FR=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,PR,t);return D._extends({},t,b)},$R=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)"}}})),jR=Wr(OR,{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}})),BR=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}`})),YR=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%"})),WR=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,LR),T=D._extends({},i,{color:u,edge:f,size:m}),O=FR(T),M=D.jsxRuntimeExports.jsx(YR,{className:O.thumb,ownerState:T});return D.jsxRuntimeExports.jsxs($R,{className:Zn(O.root,a),sx:b,ownerState:T,children:[D.jsxRuntimeExports.jsx(jR,D._extends({type:"checkbox",icon:M,checkedIcon:M,ref:n,ownerState:T},_,{classes:D._extends({},O,{root:O.switchBase})})),D.jsxRuntimeExports.jsx(BR,{className:O.track,ownerState:T})]})}),HR=WR;const UR={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 zR=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||UR,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 zR;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 Ag(e){return e==null?"":""+e}function VR(e,t,n){e.forEach(i=>{t[i]&&(n[i]=t[i])})}const qR=/###/g;function Xa(e,t,n){function i(m){return m&&m.indexOf("###")>-1?m.replace(qR,"."):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 GR(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 KR(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 ZR={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function XR(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>ZR[t]):e}class JR{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 QR=[" ",",","?","!",";"],eI=new JR(20);function tI(e,t,n){t=t||"",n=n||"";const i=QR.filter(f=>t.indexOf(f)<0&&n.indexOf(f)<0);if(i.length===0)return!0;const a=eI.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(),VR(["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&&!tI(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,T=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(_&&_.toLowerCase()==="cimode"){if(T){const se=n.nsSeparator||this.options.nsSeparator;return a?{res:`${b}${se}${f}`,usedKey:f,exactUsedKey:f,usedLng:_,usedNS:b,usedParams:this.getUsedParamsDetails(n)}:`${b}${se}${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),J=["[object Number]","[object Function]","[object RegExp]"],W=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,ae=!this.i18nFormat||this.i18nFormat.handleAsObject;if(ae&&M&&(typeof M!="string"&&typeof M!="boolean"&&typeof M!="number")&&J.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 se=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=se,O.usedParams=this.getUsedParamsDetails(n),O):se}if(u){const se=$==="[object Array]",ne=se?[]:{},ie=se?B:z;for(const h in M)if(Object.prototype.hasOwnProperty.call(M,h)){const Ee=`${ie}${u}${h}`;ne[h]=this.translate(Ee,{...n,joinArrays:!1,ns:m}),ne[h]===Ee&&(ne[h]=M[h])}M=ne}}else if(ae&&typeof W=="string"&&$==="[object Array]")M=M.join(W),M&&(M=this.extendTranslation(M,t,n,i));else{let se=!1,ne=!1;const ie=n.count!==void 0&&typeof n.count!="string",h=nl.hasDefaultValue(n),Ee=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${Ee}`]||n[`defaultValue${ce}`]||n.defaultValue;!this.isValidLookup(M)&&h&&(se=!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||se||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&&lt!==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||se)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?M=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${b}:${f}`:f,se?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 T;if(_){const M=t.match(this.interpolator.nestingRegexp);T=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;T<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),T=_.key;a=T;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(J=>{this.isValidLookup(i)||(m=J,!Ng[`${$[0]}-${J}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(m)&&(Ng[`${$[0]}-${J}`]=!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 ae=[T];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(ae,T,W,J,n);else{let se;M&&(se=this.pluralResolver.getSuffix(W,n.count,n));const ne=`${this.options.pluralSeparator}zero`,ie=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(M&&(ae.push(T+se),n.ordinal&&se.indexOf(ie)===0&&ae.push(T+se.replace(ie,this.options.pluralSeparator)),z&&ae.push(T+ne)),B){const h=`${T}${this.options.contextSeparator}${n.context}`;ae.push(h),M&&(ae.push(h+se),n.ordinal&&se.indexOf(ie)===0&&ae.push(h+se.replace(ie,this.options.pluralSeparator)),z&&ae.push(h+ne))}}let me;for(;me=ae.pop();)this.isValidLookup(i)||(u=me,i=this.getResource(W,J,me,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 Tf(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]=Tf(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]=Tf(i[1].toLowerCase())),n.indexOf(i[2].toLowerCase())>-1&&(i[2]=Tf(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 nI=[{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}],rI={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 iI=["v1","v2","v3"],sI=["v4"],Fg={zero:0,one:1,two:2,few:3,many:4,other:5};function aI(){const e={};return nI.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:rI[t.fc]}})}),e}class oI{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||sI.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=aI()}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!iI.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=KR(e,t,n);return!u&&a&&typeof n=="string"&&(u=Qf(e,n,i),u===void 0&&(u=Qf(t,n,i))),u}class uI{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:XR,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 T=B=>{if(B.indexOf(this.formatSeparator)<0){const ae=$g(n,b,B,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(ae,void 0,i,{...a,...n,interpolationkey:B}):ae}const $=B.split(this.formatSeparator),J=$.shift().trim(),W=$.join(this.formatSeparator).trim();return this.format($g(n,b,J,this.options.keySeparator,this.options.ignoreJSONStructure),W,i,{...a,...n,interpolationkey:J})};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=T($),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=Ag(f));const J=B.safeValue(f);if(t=t.replace(u[0],J),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 T=this.nestingOptionsSeparator;if(b.indexOf(T)<0)return b;const O=b.split(new RegExp(`${T}[ ]*{`));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}${T}${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 T=a[1].split(this.formatSeparator).map(O=>O.trim());a[1]=T.shift(),b=T,_=!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=Ag(u)),u||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),u=""),_&&(u=b.reduce((T,O)=>this.format(T,O,i.lng,{...i,interpolationkey:a[1].trim()}),u.trim())),t=t.replace(a[0],u),this.regexp.lastIndex=0}return t}}function lI(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 cI{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:T}=lI(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,{...T,...a,...M})}catch(M){this.logger.warn(M)}return O}else this.logger.warn(`there was no format function for ${_}`);return m},t)}}function fI(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class dI 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 T=!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,T=!1,f[M]===void 0&&(f[M]=!0),u[M]===void 0&&(u[M]=!0),b[O]===void 0&&(b[O]=!0)))}),T||(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=>{GR(b.loaded,[u],f),fI(b,t),n&&b.errors.push(n),b.pendingCount===0&&!b.done&&(Object.keys(b.loaded).forEach(_=>{m[_]||(m[_]={});const T=b.loaded[_];T.length&&T.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=(_,T)=>{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(_&&T&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,i,a+1,u*2,f)},u);return}f(_,T)},b=this.backend[i].bind(this.backend);if(b.length===2){try{const _=b(t,n);_&&typeof _.then=="function"?_.then(T=>m(null,T)).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 T;_.length===5?T=_(t,n,i,a,b):T=_(t,n,i,a),T&&typeof T.then=="function"?T.then(O=>m(null,O)).catch(m):m(null,T)}catch(T){m(T)}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 Fu(){}function hI(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=Bg(t),this.services={},this.logger=Nr,this.modules={external:[]},hI(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(T){return T?typeof T=="function"?new T:T:null}if(!this.options.isClone){this.modules.logger?Nr.init(u(this.modules.logger),this.options):Nr.init(null,this.options);let T;this.modules.formatter?T=this.modules.formatter:typeof Intl<"u"&&(T=cI);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 oI(O,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),T&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(M.formatter=u(T),M.formatter.init(M,this.options),this.options.interpolation.format=M.formatter.format.bind(M.formatter)),M.interpolator=new uI(this.options),M.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},M.backendConnector=new dI(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),J=1;J<B;J++)$[J-1]=arguments[J];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),J=1;J<B;J++)$[J-1]=arguments[J];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 T=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);T.length>0&&T[0]!=="dev"&&(this.options.lng=T[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(T=>{this[T]=function(){return t.store[T](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(T=>{this[T]=function(){return t.store[T](...arguments),t}});const b=Va(),_=()=>{const T=(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 T(null,this.t.bind(this));this.changeLanguage(this.options.lng,T)};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=Va();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"&&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(_,T=>{f(T,_)})};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,T=new Array(_>2?_-2:0),O=2;O<_;O++)T[O-2]=arguments[O];b=a.options.overloadTranslationOptionHandler([f,m].concat(T))}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 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 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),T=1;T<b;T++)_[T-1]=arguments[T];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
- * @license
106
- * Lodash <https://lodash.com/>
107
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
108
- * Released under MIT license <https://lodash.com/license>
109
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
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,T="__lodash_placeholder__",O=1,M=2,z=4,B=1,$=2,J=1,W=2,ae=4,me=8,se=16,ne=32,ie=64,h=128,Ee=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",J],["bindKey",W],["curry",me],["curryRight",se],["flip",ce],["partial",ne],["partialRight",ie],["rearg",Ee]],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]",_o=/\b__p \+= '';/g,So=/\b(__p \+=) '' \+/g,rc=/(__e\(.*?\)|\b__t\)) \+\n'';/g,qr=/&(?:amp|lt|gt|quot|#39);/g,_i=/[&<>"']/g,ko=RegExp(qr.source),Co=RegExp(_i.source),hn=/<%-([\s\S]+?)%>/g,Zt=/<%([\s\S]+?)%>/g,ys=/<%=([\s\S]+?)%>/g,ic=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Do=/^\w*$/,To=/[^.[\]]+|\[(?:(-?\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,Mo=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ro=/\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",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="["+Vi+"]",Bo="["+Gr+"]",Di="["+Lo+"]",fa="\\d+",_s="["+ws+"]",da="["+Fo+"]",Yo="[^"+Vi+Gr+fa+ws+Fo+ca+"]",ha="\\ud83c[\\udffb-\\udfff]",kn="(?:"+Di+"|"+ha+")",pa="[^"+Vi+"]",Kr="(?:\\ud83c[\\udde6-\\uddff]){2}",ga="[\\ud800-\\udbff][\\udc00-\\udfff]",Ti="["+ca+"]",Sr="\\u200d",kr="(?:"+da+"|"+Yo+")",ma="(?:"+Ti+"|"+Yo+")",Wo="(?:"+Ci+"(?:d|ll|m|re|s|t|ve))?",Ei="(?:"+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([Ti+"?"+da+"+"+Wo+"(?="+[Bo,Ti,"$"].join("|")+")",ma+"+"+Ei+"(?="+[Bo,Ti+kr,"$"].join("|")+")",Ti+"?"+kr+"+"+Wo,Ti+"+"+Ei,dc,Uo,fa,hc].join("|"),"g"),yc=RegExp("["+Sr+Vi+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[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 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={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Vo={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},qo={"\\":"\\","'":"'","\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 A(C,N,P,K){for(var Z=-1,he=C==null?0:C.length;++Z<he;){var pe=C[Z];N(K,pe,P(pe),C)}return K}function R(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,Z=0,he=[];++P<K;){var pe=C[P];N(pe,P,C)&&(he[Z++]=pe)}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,Z=C==null?0:C.length;++K<Z;)if(P(N,C[K]))return!0;return!1}function fe(C,N){for(var P=-1,K=C==null?0:C.length,Z=Array(K);++P<K;)Z[P]=N(C[P],P,C);return Z}function Me(C,N){for(var P=-1,K=N.length,Z=C.length;++P<K;)C[Z+P]=N[P];return C}function Te(C,N,P,K){var Z=-1,he=C==null?0:C.length;for(K&&he&&(P=C[++Z]);++Z<he;)P=N(P,C[Z],Z,C);return P}function Rt(C,N,P,K){var Z=C==null?0:C.length;for(K&&Z&&(P=C[--Z]);Z--;)P=N(P,C[Z],Z,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(Z,he,pe){if(N(Z,he,pe))return K=he,!1}),K}function je(C,N,P,K){for(var Z=C.length,he=P+(K?1:-1);K?he--:++he<Z;)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 Z=P-1,he=C.length;++Z<he;)if(K(C[Z],N))return Z;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,Z){return Z(C,function(he,pe,le){P=K?(K=!1,he):N(P,he,pe,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,Z=C.length;++K<Z;){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"\\"+qo[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 Tr(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,Z){P[++N]=[Z,K]}),P}function Ri(C,N){return function(P){return C(N(P))}}function Tn(C,N){for(var P=-1,K=C.length,Z=0,he=[];++P<K;){var pe=C[P];(pe===N||pe===T)&&(C[P]=T,he[Z++]=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,Z=C.length;++K<Z;)if(C[K]===N)return K;return-1}function Ts(C,N,P){for(var K=P+1;K--;)if(C[K]===N)return K;return K}function Er(C){return mn(C)?Jo(C):Yn(C)}function rn(C){return mn(C)?E(C):Wn(C)}function Xo(C){for(var N=C.length;N--&&vs.test(C.charAt(N)););return N}var Ta=gn(Vo);function Jo(C){for(var N=xa.lastIndex=0;xa.test(C);)++N;return N}function E(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,Z=N.Error,he=N.Function,pe=N.Math,le=N.Object,Ie=N.RegExp,be=N.String,Le=N.TypeError,It=P.prototype,$t=he.prototype,At=le.prototype,sn=N["__core-js_shared__"],fr=$t.toString,De=At.hasOwnProperty,Ny=0,oh=function(){var r=/[^.]+$/.exec(sn&&sn.keys&&sn.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}(),Qo=At.toString,Ly=fr.call(le),Fy=mt._,$y=Ie("^"+fr.call(De).replace(_r,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),eu=Ko?N.Buffer:n,Ii=N.Symbol,tu=N.Uint8Array,uh=eu?eu.allocUnsafe:n,nu=Ri(le.getPrototypeOf,le),lh=le.create,ch=At.propertyIsEnumerable,ru=It.splice,fh=Ii?Ii.isConcatSpreadable:n,Ea=Ii?Ii.iterator:n,Xi=Ii?Ii.toStringTag:n,iu=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,su=pe.ceil,au=pe.floor,Dc=le.getOwnPropertySymbols,Wy=eu?eu.isBuffer:n,dh=N.isFinite,Hy=It.join,Uy=Ri(le.keys,le),Ot=pe.max,Jt=pe.min,zy=K.now,Vy=N.parseInt,hh=pe.random,qy=It.reverse,Tc=ns(N,"DataView"),Ma=ns(N,"Map"),Ec=ns(N,"Promise"),Es=ns(N,"Set"),Ra=ns(N,"WeakMap"),Ia=ns(le,"create"),ou=Ra&&new Ra,Ms={},Gy=rs(Tc),Ky=rs(Ma),Zy=rs(Ec),Xy=rs(Es),Jy=rs(Ra),uu=Ii?Ii.prototype:n,Aa=uu?uu.valueOf:n,ph=uu?uu.toString:n;function S(r){if(bt(r)&&!Re(r)&&!(r instanceof Ye)){if(r instanceof Un)return r;if(De.call(r,"__wrapped__"))return gp(r)}return new Un(r)}var Rs=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 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=Rs(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 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=Re(r),p=s<0,x=l?r.length:0,k=h1(0,x,this.__views__),I=k.start,L=k.end,Y=L-I,X=p?L:I-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;){X+=s;for(var Ne=-1,ke=r[X];++Ne<ee;){var Be=Q[Ne],Ue=Be.iteratee,Rn=Be.type,un=Ue(ke);if(Rn==ut)ke=un;else if(!un){if(Rn==Ve)continue e;break e}}Se[oe++]=ke}return Se}Ye.prototype=Rs(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 nv(){this.__data__=Ia?Ia(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(Ia){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 Ia?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]=Ia&&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=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 lv(r){var s=this.__data__,l=cu(s,r);return l<0?n:s[l][1]}function cv(r){return cu(this.__data__,r)>-1}function fv(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=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=_u(this,r).delete(r);return this.size-=s?1:0,s}function pv(r){return _u(this,r).get(r)}function gv(r){return _u(this,r).has(r)}function mv(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=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=Re(r),p=!l&&is(r),x=!l&&!p&&Li(r),k=!l&&!p&&!x&&Ps(r),I=l||p||x||k,L=I?Gi(r.length,be):[],Y=L.length;for(var X in r)(s||De.call(r,X))&&!(I&&(X=="length"||x&&(X=="offset"||X=="parent")||k&&(X=="buffer"||X=="byteLength"||X=="byteOffset")||ri(X,Y)))&&L.push(X);return L}function mh(r){var s=r.length;return s?r[jc(0,s-1)]:n}function kv(r,s){return Su(yn(r),es(s,0,r.length))}function Cv(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 Dv(r,s,l,p){return Ai(r,function(x,k,I){s(p,x,l(x),I)}),p}function yh(r,s){return r&&Rr(s,jt(s),r)}function Tv(r,s){return r&&Rr(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 Rc(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 I,L=s&O,Y=s&M,X=s&z;if(l&&(I=x?l(r,p,x,k):l(r)),I!==n)return I;if(!vt(r))return r;var Q=Re(r);if(Q){if(I=g1(r),!L)return yn(r,I)}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(I=Y||oe?{}:ap(r),!L)return Y?i1(r,Tv(I,r)):r1(r,yh(I,r))}else{if(!tt[ee])return x?r:{};I=m1(r,ee,L)}}k||(k=new dr);var ye=k.get(r);if(ye)return ye;k.set(r,I),Np(r)?r.forEach(function(ke){I.add(zn(ke,s,l,ke,r,k))}):Op(r)&&r.forEach(function(ke,Be){I.set(Be,zn(ke,s,l,Be,r,k))});var Se=X?Y?Zc:Kc:Y?bn:jt,Ne=Q?n:Se(r);return R(Ne||r,function(ke,Be){Ne&&(Be=ke,ke=r[Be]),Oa(I,Be,zn(ke,s,l,Be,r,k))}),I}function Ev(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],I=r[x];if(I===n&&!(x in r)||!k(I))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,I=!0,L=r.length,Y=[],X=s.length;if(!L)return Y;l&&(s=fe(s,nn(l))),p?(k=te,I=!1):s.length>=a&&(k=Ki,I=!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,I&&ee===ee){for(var oe=X;oe--;)if(s[oe]===ee)continue e;Y.push(Q)}else k(s,ee,p)||Y.push(Q)}return Y}var Ai=Vh(Mr),xh=Vh(Ac,!0);function Mv(r,s){var l=!0;return Ai(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],I=s(k);if(I!=null&&(L===n?I===I&&!Mn(I):l(I,L)))var L=I,Y=k}return Y}function Rv(r,s,l,p){var x=r.length;for(l=Ae(l),l<0&&(l=-l>x?0:x+l),p=p===n||p>x?x:Ae(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 Ai(r,function(p,x,k){s(p,x,k)&&l.push(p)}),l}function Ht(r,s,l,p,x){var k=-1,I=r.length;for(l||(l=v1),x||(x=[]);++k<I;){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 Ic=qh(),_h=qh(!0);function Mr(r,s){return r&&Ic(r,s,jt)}function Ac(r,s){return r&&_h(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[Ir(s[l++])];return l&&l==p?r:n}function Sh(r,s,l){var p=s(r);return Re(r)?p:Me(p,l(r))}function an(r){return r==null?r===n?jn:Hi:Xi&&Xi in le(r)?d1(r):C1(r)}function Oc(r,s){return r>s}function Iv(r,s){return r!=null&&De.call(r,s)}function Av(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,I=k,L=P(k),Y=1/0,X=[];I--;){var Q=r[I];I&&s&&(Q=fe(Q,nn(s))),Y=Jt(Q.length,Y),L[I]=!l&&(s||x>=120&&Q.length>=120)?new Qi(I&&Q):n}Q=r[0];var ee=-1,oe=L[0];e:for(;++ee<x&&X.length<Y;){var ye=Q[ee],Se=s?s(ye):ye;if(ye=l||ye!==0?ye:0,!(oe?Ki(oe,Se):p(X,Se,l))){for(I=k;--I;){var Ne=L[I];if(!(Ne?Ki(Ne,Se):p(r[I],Se,l)))continue e}oe&&oe.push(Se),X.push(ye)}}return X}function Pv(r,s,l,p){return Mr(r,function(x,k,I){s(p,l(x),k,I)}),p}function Na(r,s,l){s=Pi(s,r),r=cp(r,s);var p=r==null?r:r[Ir(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 I=Re(r),L=Re(s),Y=I?sr:Qt(r),X=L?sr:Qt(s);Y=Y==qt?Kt:Y,X=X==qt?Kt:X;var Q=Y==Kt,ee=X==Kt,oe=Y==X;if(oe&&Li(r)){if(!Li(s))return!1;I=!0,Q=!1}if(oe&&!Q)return k||(k=new dr),I||Ps(r)?rp(r,s,l,p,x,k):c1(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),f1(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,I=!p;if(r==null)return!k;for(r=le(r);x--;){var L=l[x];if(I&&L[2]?L[1]!==r[L[0]]:!(L[0]in r))return!1}for(;++x<k;){L=l[x];var Y=L[0],X=r[Y],Q=L[1];if(I&&L[2]){if(X===n&&!(Y in r))return!1}else{var ee=new dr;if(p)var oe=p(X,Q,Y,r,s,ee);if(!(oe===n?La(Q,X,B|$,p,ee):oe))return!1}}return!0}function Ch(r){if(!vt(r)||x1(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)&&Mu(r.length)&&!!at[an(r)]}function Dh(r){return typeof r=="function"?r:r==null?xn:typeof r=="object"?Re(r)?Mh(r[0],r[1]):Eh(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 k1(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 Ai(r,function(x,k,I){p[++l]=s(x,k,I)}),p}function Eh(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(Ir(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&&Ic(s,function(k,I){if(x||(x=new dr),vt(k))Hv(r,s,I,l,hu,p,x);else{var L=p?p(nf(r,I),k,I+"",r,s,x):n;L===n&&(L=k),Mc(r,I,L)}},bn)}function Hv(r,s,l,p,x,k,I){var L=nf(r,l),Y=nf(s,l),X=I.get(Y);if(X){Mc(r,l,X);return}var Q=k?k(L,Y,l+"",r,s,I):n,ee=Q===n;if(ee){var oe=Re(Y),ye=!oe&&Li(Y),Se=!oe&&!ye&&Ps(Y);Q=Y,oe||ye||Se?Re(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&&(I.set(Y,Q),x(Q,Y,p,k,I),I.delete(Y)),Mc(r,l,Q)}function Rh(r,s){var l=r.length;if(l)return s+=s<0?l:0,ri(s,l)?r[s]:n}function Ih(r,s,l){s.length?s=fe(s,function(k){return Re(k)?function(I){return ts(I,k.length===1?k[0]:k)}:k}):s=[xn];var p=-1;s=fe(s,nn(_e()));var x=Th(r,function(k,I,L){var Y=fe(s,function(X){return X(k)});return{criteria:Y,index:++p,value:k}});return Dr(x,function(k,I){return n1(k,I,l)})}function Uv(r,s){return Ah(r,s,function(l,p){return df(r,p)})}function Ah(r,s,l){for(var p=-1,x=s.length,k={};++p<x;){var I=s[p],L=ts(r,I);l(L,I)&&Fa(k,Pi(I,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,I=s.length,L=r;for(r===s&&(s=yn(s)),l&&(L=fe(r,nn(l)));++k<I;)for(var Y=0,X=s[k],Q=l?l(X):X;(Y=x(L,Q,Y,p))>-1;)L!==r&&ru.call(L,Y,1),ru.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)?ru.call(r,x,1):Wc(r,x)}}return r}function jc(r,s){return r+au(hh()*(s-r+1))}function Vv(r,s,l,p){for(var x=-1,k=Ot(su((s-r)/(l||1)),0),I=P(k);k--;)I[p?k:++x]=r,r+=l;return I}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(lp(r,s,xn),r+"")}function qv(r){return mh(Ns(r))}function Gv(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,I=k-1,L=r;L!=null&&++x<k;){var Y=Ir(s[x]),X=l;if(Y==="__proto__"||Y==="constructor"||Y==="prototype")return r;if(x!=I){var Q=L[Y];X=p?p(Q,Y,L):n,X===n&&(X=vt(Q)?Q:ri(s[x+1])?[]:{})}Oa(L,Y,X),L=L[Y]}return r}var Ph=ou?function(r,s){return ou.set(r,s),r}:xn,Kv=iu?function(r,s){return iu(r,"toString",{configurable:!0,enumerable:!1,value:pf(s),writable:!0})}:xn;function Zv(r){return Su(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 Ai(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,I=r[k];I!==null&&!Mn(I)&&(l?I<=s:I<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 I=s!==s,L=s===null,Y=Mn(s),X=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(I)var ke=p||Se;else X?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 I=r[l],L=s?s(I):I;if(!l||!hr(L,Y)){var Y=L;k[x++]=I===0?0:I}}return k}function Lh(r){return typeof r=="number"?r:Mn(r)?lt:+r}function En(r){if(typeof r=="string")return r;if(Re(r))return fe(r,En)+"";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,I=!0,L=[],Y=L;if(l)I=!1,x=te;else if(k>=a){var X=s?null:u1(r);if(X)return Xr(X);I=!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,I&&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[Ir(qn(s))]}function Fh(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?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()),Te(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 I=r[x],L=-1;++L<p;)L!=x&&(k[x]=Pa(k[x]||I,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,I={};++p<x;){var L=p<k?s[p]:n;l(I,r[p],L)}return I}function Uc(r){return kt(r)?r:[]}function zc(r){return typeof r=="function"?r:xn}function Pi(r,s){return Re(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 tu(s).set(new tu(r)),s}function Qv(r,s){var l=s?Vc(r.buffer):r.buffer;return new r.constructor(l,r.byteOffset,r.byteLength)}function e1(r){var s=new r.constructor(r.source,Ro.exec(r));return s.lastIndex=r.lastIndex,s}function t1(r){return Aa?le(Aa.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),I=s!==n,L=s===null,Y=s===s,X=Mn(s);if(!L&&!X&&!k&&r>s||k&&I&&Y&&!L&&!X||p&&I&&Y||!l&&Y||!x)return 1;if(!p&&!k&&!X&&r<s||X&&l&&x&&!p&&!k||L&&l&&x||!I&&x||!Y)return-1}return 0}function n1(r,s,l){for(var p=-1,x=r.criteria,k=s.criteria,I=x.length,L=l.length;++p<I;){var Y=Hh(x[p],k[p]);if(Y){if(p>=L)return Y;var X=l[p];return Y*(X=="desc"?-1:1)}}return r.index-s.index}function Uh(r,s,l,p){for(var x=-1,k=r.length,I=l.length,L=-1,Y=s.length,X=Ot(k-I,0),Q=P(Y+X),ee=!p;++L<Y;)Q[L]=s[L];for(;++x<I;)(ee||x<k)&&(Q[l[x]]=r[x]);for(;X--;)Q[L++]=r[x++];return Q}function zh(r,s,l,p){for(var x=-1,k=r.length,I=-1,L=l.length,Y=-1,X=s.length,Q=Ot(k-L,0),ee=P(Q+X),oe=!p;++x<Q;)ee[x]=r[x];for(var ye=x;++Y<X;)ee[ye+Y]=s[Y];for(;++I<L;)(oe||x<k)&&(ee[ye+l[I]]=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 Rr(r,s,l,p){var x=!l;l||(l={});for(var k=-1,I=s.length;++k<I;){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 r1(r,s){return Rr(r,Qc(r),s)}function i1(r,s){return Rr(r,ip(r),s)}function mu(r,s){return function(l,p){var x=Re(l)?A:Dv,k=s?s():{};return x(l,r,_e(p,2),k)}}function Is(r){return Fe(function(s,l){var p=-1,x=l.length,k=x>1?l[x-1]:n,I=x>2?l[2]:n;for(k=r.length>3&&typeof k=="function"?(x--,k):n,I&&on(l[0],l[1],I)&&(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,I=le(l);(s?k--:++k<x)&&p(I[k],k,I)!==!1;);return l}}function qh(r){return function(s,l,p){for(var x=-1,k=le(s),I=p(s),L=I.length;L--;){var Y=I[r?L:++x];if(l(k[Y],Y,k)===!1)break}return s}}function s1(r,s,l){var p=s&J,x=$a(r);function k(){var I=this&&this!==mt&&this instanceof k?x:r;return I.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 As(r){return function(s){return Te(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=Rs(r.prototype),p=r.apply(l,s);return vt(p)?p:l}}function a1(r,s,l){var p=$a(r);function x(){for(var k=arguments.length,I=P(k),L=k,Y=Os(x);L--;)I[L]=arguments[L];var X=k<3&&I[0]!==Y&&I[k-1]!==Y?[]:Tn(I,Y);if(k-=X.length,k<l)return Qh(r,s,yu,x.placeholder,n,I,X,n,n,l-k);var Q=this&&this!==mt&&this instanceof x?p:r;return w(Q,this,I)}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 I=r(s,l,p);return I>-1?x[k?s[I]:I]: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&&!I&&wu(k)=="wrapper")var I=new Un([],!0)}for(p=I?p:l;++p<l;){k=s[p];var L=wu(k),Y=L=="wrapper"?Xc(k):n;Y&&tf(Y[0])&&Y[1]==(h|me|ne|Ee)&&!Y[4].length&&Y[9]==1?I=I[wu(Y[0])].apply(I,Y[3]):I=k.length==1&&tf(k)?I[L]():I.thru(k)}return function(){var X=arguments,Q=X[0];if(I&&X.length==1&&Re(Q))return I.plant(Q).value();for(var ee=0,oe=l?s[ee].apply(this,X):Q;++ee<l;)oe=s[ee].call(this,oe);return oe}})}function yu(r,s,l,p,x,k,I,L,Y,X){var Q=s&h,ee=s&J,oe=s&W,ye=s&(me|se),Se=s&ce,Ne=oe?n:$a(r);function ke(){for(var Be=arguments.length,Ue=P(Be),Rn=Be;Rn--;)Ue[Rn]=arguments[Rn];if(ye)var un=Os(ke),In=Dn(Ue,un);if(p&&(Ue=Uh(Ue,p,x,ye)),k&&(Ue=zh(Ue,k,I,ye)),Be-=In,ye&&Be<X){var Ct=Tn(Ue,un);return Qh(r,s,yu,ke.placeholder,l,Ue,Ct,L,Y,X-Be)}var pr=ee?l:this,ai=oe?pr[r]:r;return Be=Ue.length,L?Ue=D1(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 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=En(l),p=En(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 bu(r,s){s=s===n?" ":En(s);var l=s.length;if(l<2)return l?Bc(s,r):s;var p=Bc(s,su(r/Er(s)));return mn(s)?Ni(rn(p),0,r).join(""):p.slice(0,r)}function o1(r,s,l,p){var x=s&J,k=$a(r);function I(){for(var L=-1,Y=arguments.length,X=-1,Q=p.length,ee=P(Q+Y),oe=this&&this!==mt&&this instanceof I?k:r;++X<Q;)ee[X]=p[X];for(;Y--;)ee[X++]=arguments[++L];return w(oe,x?l:this,ee)}return I}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 xu(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,I,L,Y,X){var Q=s&me,ee=Q?I:n,oe=Q?n:I,ye=Q?k:n,Se=Q?n:k;s|=Q?ne:ie,s&=~(Q?ie:ne),s&ae||(s&=~(J|W));var Ne=[r,s,x,ye,ee,Se,oe,L,Y,X],ke=l.apply(n,Ne);return tf(r)&&fp(ke,Ne),ke.placeholder=p,dp(ke,r,s)}function Gc(r){var s=pe[r];return function(l,p){if(l=Gn(l),p=p==null?0:Jt(Ae(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 u1=Es&&1/Xr(new Es([,-0]))[1]==He?function(r){return new Es(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,I,L){var Y=s&W;if(!Y&&typeof r!="function")throw new Le(f);var X=p?p.length:0;if(X||(s&=~(ne|ie),p=x=n),I=I===n?I:Ot(Ae(I),0),L=L===n?L:Ae(L),X-=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,I,L];if(oe&&S1(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]-X,0),!L&&s&(me|se)&&(s&=~(me|se)),!s||s==J)var Se=s1(r,s,l);else s==me||s==se?Se=a1(r,s,L):(s==ne||s==(J|ne))&&!x.length?Se=o1(r,s,l,p):Se=yu.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,At[l])&&!De.call(p,l)?s:r}function np(r,s,l,p,x,k){return vt(r)&&vt(s)&&(k.set(s,r),hu(r,s,n,np,k),k.delete(s)),r}function l1(r){return Ya(r)?n:r}function rp(r,s,l,p,x,k){var I=l&B,L=r.length,Y=s.length;if(L!=Y&&!(I&&Y>L))return!1;var X=k.get(r),Q=k.get(s);if(X&&Q)return X==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=I?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 c1(r,s,l,p,x,k,I){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 X=I.get(r);if(X)return X==s;p|=$,I.set(r,s);var Q=rp(L(r),L(s),p,x,k,I);return I.delete(r),Q;case $n:if(Aa)return Aa.call(r)==Aa.call(s)}return!1}function f1(r,s,l,p,x,k){var I=l&B,L=Kc(r),Y=L.length,X=Kc(s),Q=X.length;if(Y!=Q&&!I)return!1;for(var ee=Y;ee--;){var oe=L[ee];if(!(I?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=I;++ee<Y;){oe=L[ee];var Be=r[oe],Ue=s[oe];if(p)var Rn=I?p(Ue,Be,oe,s,r,k):p(Be,Ue,oe,r,s,k);if(!(Rn===n?Be===Ue||x(Be,Ue,l,p,k):Rn)){Ne=!1;break}ke||(ke=oe=="constructor")}if(Ne&&!ke){var un=r.constructor,In=s.constructor;un!=In&&"constructor"in r&&"constructor"in s&&!(typeof un=="function"&&un instanceof un&&typeof In=="function"&&In instanceof In)&&(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=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?Dh:r,arguments.length?r(arguments[0],arguments[1]):r}function _u(r,s){var l=r.__data__;return b1(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=Zo(r,s);return Ch(l)?l:n}function d1(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 ch.call(r,s)}))}:vf,ip=Dc?function(r){for(var s=[];r;)Me(s,Qc(r)),r=nu(r);return s}:vf,Qt=an;(Tc&&Qt(new Tc(new ArrayBuffer(1)))!=xr||Ma&&Qt(new Ma)!=Gt||Ec&&Qt(Ec.resolve())!=fn||Es&&Qt(new Es)!=Yt||Ra&&Qt(new Ra)!=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 h1(r,s,l){for(var p=-1,x=l.length;++p<x;){var k=l[p],I=k.size;switch(k.type){case"drop":r+=I;break;case"dropRight":s-=I;break;case"take":s=Jt(s,r+I);break;case"takeRight":r=Ot(r,s-I);break}}return{start:r,end:s}}function p1(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 I=Ir(s[p]);if(!(k=r!=null&&l(r,I)))break;r=r[I]}return k||++p!=x?k:(x=r==null?0:r.length,!!x&&Mu(x)&&ri(I,x)&&(Re(r)||is(r)))}function g1(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)?Rs(nu(r)):{}}function m1(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 e1(r);case Yt:return new p;case $n:return t1(r)}}function y1(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
- /* [wrapped with `+s+`] */
113
- `)}function v1(r){return Re(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(Re(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 b1(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 x1(r){return!!oh&&oh in r}var w1=sn?ii:bf;function ja(r){var s=r&&r.constructor,l=typeof s=="function"&&s.prototype||At;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 _1(r){var s=Tu(r,function(p){return l.size===_&&l.clear(),p}),l=s.cache;return s}function S1(r,s){var l=r[1],p=s[1],x=l|p,k=x<(J|W|h),I=p==h&&l==me||p==h&&l==Ee&&r[7].length<=s[8]||p==(h|Ee)&&s[7].length<=s[8]&&l==me;if(!(k||I))return r;p&J&&(r[2]=s[2],x|=l&J?0:ae);var L=s[3];if(L){var Y=r[3];r[3]=Y?Uh(Y,L,s[4]):L,r[4]=Y?Tn(r[3],T):s[4]}return L=s[5],L&&(Y=r[5],r[5]=Y?zh(Y,L,s[6]):L,r[6]=Y?Tn(r[5],T):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 k1(r){var s=[];if(r!=null)for(var l in le(r))s.push(l);return s}function C1(r){return Qo.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),I=P(k);++x<k;)I[x]=p[s+x];x=-1;for(var L=P(s+1);++x<s;)L[x]=p[x];return L[s]=l(I),w(r,this,L)}}function cp(r,s){return s.length<2?r:ts(r,Vn(s,0,-1))}function D1(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,y1(p,T1(p1(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 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),I=r[k];r[k]=r[l],r[l]=I}return r.length=s,r}var pp=_1(function(r){var s=[];return r.charCodeAt(0)===46&&s.push(""),r.replace(To,function(l,p,x,k){s.push(x?k.replace(lc,"$1"):p||l)}),s});function Ir(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 T1(r,s){return R(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 E1(r,s,l){(l?on(r,s,l):s===n)?s=1:s=Ot(Ae(s),0);var p=r==null?0:r.length;if(!p||s<1)return[];for(var x=0,k=0,I=P(su(p/s));x<p;)I[k++]=Vn(r,x,x+=s);return I}function M1(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 R1(){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(Re(l)?yn(l):[l],Ht(s,1))}var I1=Fe(function(r,s){return kt(r)?Pa(r,Ht(s,1,kt,!0)):[]}),A1=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)):[]}),O1=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 P1(r,s,l){var p=r==null?0:r.length;return p?(s=l||s===n?1:Ae(s),Vn(r,s<0?0:s,p)):[]}function N1(r,s,l){var p=r==null?0:r.length;return p?(s=l||s===n?1:Ae(s),s=p-s,Vn(r,0,s<0?0:s)):[]}function L1(r,s){return r&&r.length?gu(r,_e(s,3),!0,!0):[]}function F1(r,s){return r&&r.length?gu(r,_e(s,3),!0):[]}function $1(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),Rv(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:Ae(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=Ae(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 j1(r){var s=r==null?0:r.length;return s?Ht(r,He):[]}function B1(r,s){var l=r==null?0:r.length;return l?(s=s===n?1:Ae(s),Ht(r,s)):[]}function Y1(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 W1(r,s,l){var p=r==null?0:r.length;if(!p)return-1;var x=l==null?0:Ae(l);return x<0&&(x=Ot(p+x,0)),rt(r,s,x)}function H1(r){var s=r==null?0:r.length;return s?Vn(r,0,-1):[]}var U1=Fe(function(r){var s=fe(r,Uc);return s.length&&s[0]===r[0]?Pc(s):[]}),z1=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)):[]}),V1=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 q1(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 G1(r,s,l){var p=r==null?0:r.length;if(!p)return-1;var x=p;return l!==n&&(x=Ae(l),x=x<0?Ot(p+x,0):Jt(x,p-1)),s===s?Ts(r,s,x):je(r,Cs,x,!0)}function K1(r,s){return r&&r.length?Rh(r,Ae(s)):n}var Z1=Fe(xp);function xp(r,s){return r&&r.length&&s&&s.length?$c(r,s):r}function X1(r,s,l){return r&&r.length&&s&&s.length?$c(r,s,_e(l,2)):r}function J1(r,s,l){return r&&r.length&&s&&s.length?$c(r,s,n,l):r}var Q1=ni(function(r,s){var l=r==null?0:r.length,p=Rc(r,s);return Oh(r,fe(s,function(x){return ri(x,l)?+x:x}).sort(Hh)),p});function eb(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 I=r[p];s(I,p,r)&&(l.push(I),x.push(p))}return Oh(r,x),l}function sf(r){return r==null?r:qy.call(r)}function tb(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:Ae(s),l=l===n?p:Ae(l)),Vn(r,s,l)):[]}function nb(r,s){return pu(r,s)}function rb(r,s,l){return Yc(r,s,_e(l,2))}function ib(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 sb(r,s){return pu(r,s,!0)}function ab(r,s,l){return Yc(r,s,_e(l,2),!0)}function ob(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 ub(r){return r&&r.length?Nh(r):[]}function lb(r,s){return r&&r.length?Nh(r,_e(s,2)):[]}function cb(r){var s=r==null?0:r.length;return s?Vn(r,1,s):[]}function fb(r,s,l){return r&&r.length?(s=l||s===n?1:Ae(s),Vn(r,0,s<0?0:s)):[]}function db(r,s,l){var p=r==null?0:r.length;return p?(s=l||s===n?1:Ae(s),s=p-s,Vn(r,s<0?0:s,p)):[]}function hb(r,s){return r&&r.length?gu(r,_e(s,3),!1,!0):[]}function pb(r,s){return r&&r.length?gu(r,_e(s,3)):[]}var gb=Fe(function(r){return Oi(Ht(r,1,kt,!0))}),mb=Fe(function(r){var s=qn(r);return kt(s)&&(s=n),Oi(Ht(r,1,kt,!0),_e(s,2))}),yb=Fe(function(r){var s=qn(r);return s=typeof s=="function"?s:n,Oi(Ht(r,1,kt,!0),n,s)});function vb(r){return r&&r.length?Oi(r):[]}function bb(r,s){return r&&r.length?Oi(r,_e(s,2)):[]}function xb(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 wb=Fe(function(r,s){return kt(r)?Pa(r,s):[]}),_b=Fe(function(r){return Hc(G(r,kt))}),Sb=Fe(function(r){var s=qn(r);return kt(s)&&(s=n),Hc(G(r,kt),_e(s,2))}),kb=Fe(function(r){var s=qn(r);return s=typeof s=="function"?s:n,Hc(G(r,kt),n,s)}),Cb=Fe(af);function Db(r,s){return jh(r||[],s||[],Oa)}function Tb(r,s){return jh(r||[],s||[],Fa)}var Eb=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 Mb(r,s){return s(r),r}function ku(r,s){return s(r)}var Rb=ni(function(r){var s=r.length,l=s?r[0]:0,p=this.__wrapped__,x=function(k){return Rc(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 Ib(){return _p(this)}function Ab(){return new Un(this.value(),this.__chain__)}function Ob(){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 Pb(){return this}function Nb(r){for(var s,l=this;l instanceof lu;){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 Lb(){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 Fb(){return $h(this.__wrapped__,this.__actions__)}var $b=mu(function(r,s,l){De.call(r,l)?++r[l]:ei(r,l,1)});function jb(r,s,l){var p=Re(r)?q:Mv;return l&&on(r,s,l)&&(s=n),p(r,_e(s,3))}function Bb(r,s){var l=Re(r)?G:wh;return l(r,_e(s,3))}var Yb=Kh(mp),Wb=Kh(yp);function Hb(r,s){return Ht(Cu(r,s),1)}function Ub(r,s){return Ht(Cu(r,s),He)}function zb(r,s,l){return l=l===n?1:Ae(l),Ht(Cu(r,s),l)}function Sp(r,s){var l=Re(r)?R:Ai;return l(r,_e(s,3))}function kp(r,s){var l=Re(r)?j:xh;return l(r,_e(s,3))}var Vb=mu(function(r,s,l){De.call(r,l)?r[l].push(s):ei(r,l,[s])});function qb(r,s,l,p){r=vn(r)?r:Ns(r),l=l&&!p?Ae(l):0;var x=r.length;return l<0&&(l=Ot(x+l,0)),Ru(r)?l<=x&&r.indexOf(s,l)>-1:!!x&&rt(r,s,l)>-1}var Gb=Fe(function(r,s,l){var p=-1,x=typeof s=="function",k=vn(r)?P(r.length):[];return Ai(r,function(I){k[++p]=x?w(s,I,l):Na(I,s,l)}),k}),Kb=mu(function(r,s,l){ei(r,l,s)});function Cu(r,s){var l=Re(r)?fe:Th;return l(r,_e(s,3))}function Zb(r,s,l,p){return r==null?[]:(Re(s)||(s=s==null?[]:[s]),l=p?n:l,Re(l)||(l=l==null?[]:[l]),Ih(r,s,l))}var Xb=mu(function(r,s,l){r[l?0:1].push(s)},function(){return[[],[]]});function Jb(r,s,l){var p=Re(r)?Te:lr,x=arguments.length<3;return p(r,_e(s,4),l,x,Ai)}function Qb(r,s,l){var p=Re(r)?Rt:lr,x=arguments.length<3;return p(r,_e(s,4),l,x,xh)}function ex(r,s){var l=Re(r)?G:wh;return l(r,Eu(_e(s,3)))}function tx(r){var s=Re(r)?mh:qv;return s(r)}function nx(r,s,l){(l?on(r,s,l):s===n)?s=1:s=Ae(s);var p=Re(r)?kv:Gv;return p(r,s)}function rx(r){var s=Re(r)?Cv:Zv;return s(r)}function ix(r){if(r==null)return 0;if(vn(r))return Ru(r)?Er(r):r.length;var s=Qt(r);return s==Gt||s==Yt?r.size:Lc(r).length}function sx(r,s,l){var p=Re(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]]),Ih(r,Ht(s,1),[])}),Du=By||function(){return mt.Date.now()};function ox(r,s){if(typeof s!="function")throw new Le(f);return r=Ae(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=Ae(r),function(){return--r>0&&(l=s.apply(this,arguments)),r<=1&&(s=n),l}}var of=Fe(function(r,s,l){var p=J;if(l.length){var x=Tn(l,Os(of));p|=ne}return ti(r,p,s,l,x)}),Tp=Fe(function(r,s,l){var p=J|W;if(l.length){var x=Tn(l,Os(Tp));p|=ne}return ti(s,p,r,l,x)});function Ep(r,s,l){s=l?n:s;var p=ti(r,me,n,n,n,n,n,s);return p.placeholder=Ep.placeholder,p}function Mp(r,s,l){s=l?n:s;var p=ti(r,se,n,n,n,n,n,s);return p.placeholder=Mp.placeholder,p}function Rp(r,s,l){var p,x,k,I,L,Y,X=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,X=Ct,I=r.apply(ai,pr),I}function Se(Ct){return X=Ct,L=Ba(Be,s),Q?ye(Ct):I}function Ne(Ct){var pr=Ct-Y,ai=Ct-X,Kp=s-pr;return ee?Jt(Kp,k-ai):Kp}function ke(Ct){var pr=Ct-Y,ai=Ct-X;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,I)}function Rn(){L!==n&&Bh(L),X=0,p=Y=x=L=n}function un(){return L===n?I:Ue(Du())}function In(){var Ct=Du(),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)),I}return In.cancel=Rn,In.flush=un,In}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 Tu(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 I=r.apply(this,p);return l.cache=k.set(x,I)||k,I};return l.cache=new(Tu.Cache||Qr),l}Tu.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&&Re(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=Tn(s,Os(uf));return ti(r,ne,n,s,l)}),Ip=Fe(function(r,s){var l=Tn(s,Os(Ip));return ti(r,ie,n,s,l)}),hx=ni(function(r,s){return ti(r,Ee,n,n,n,s)});function px(r,s){if(typeof r!="function")throw new Le(f);return s=s===n?s:Ae(s),Fe(r,s)}function gx(r,s){if(typeof r!="function")throw new Le(f);return s=s==null?0:Ot(Ae(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),Rp(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 Re(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=xu(Oc),Dx=xu(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")},Re=P.isArray,Tx=o?nn(o):Nv;function vn(r){return r!=null&&Mu(r.length)&&!ii(r)}function kt(r){return bt(r)&&vn(r)}function Ex(r){return r===!0||r===!1||bt(r)&&an(r)==Hr}var Li=Wy||bf,Mx=c?nn(c):Lv;function Rx(r){return bt(r)&&r.nodeType===1&&!Ya(r)}function Ix(r){if(r==null)return!0;if(vn(r)&&(Re(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 Ax(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 Ap(r){return typeof r=="number"&&r==Ae(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 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(w1(r))throw new Z(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=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)==Ly}var cf=g?nn(g):jv;function Yx(r){return Ap(r)&&r>=-we&&r<=we}var Np=y?nn(y):Bv;function Ru(r){return typeof r=="string"||!Re(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=xu(Fc),Vx=xu(function(r,s){return r<=s});function Lp(r){if(!r)return[];if(vn(r))return Ru(r)?rn(r):yn(r);if(Ea&&r[Ea])return Tr(r[Ea]());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 Ae(r){var s=si(r),l=s%1;return s===s?l?s-l:s:0}function Fp(r){return r?es(Ae(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 Rr(r,bn(r))}function qx(r){return r?es(Ae(r),-we,we):r===0?r:0}function nt(r){return r==null?"":En(r)}var Gx=Is(function(r,s){if(ja(s)||vn(s)){Rr(s,jt(s),r);return}for(var l in s)De.call(s,l)&&Oa(r,l,s[l])}),jp=Is(function(r,s){Rr(s,bn(s),r)}),Iu=Is(function(r,s,l,p){Rr(s,bn(s),r,p)}),Kx=Is(function(r,s,l,p){Rr(s,jt(s),r,p)}),Zx=ni(Rc);function Xx(r,s){var l=Rs(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],I=bn(k),L=-1,Y=I.length;++L<Y;){var X=I[L],Q=r[X];(Q===n||hr(Q,At[X])&&!De.call(r,X))&&(r[X]=k[X])}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),Ac)}function nw(r,s){return r==null?r:Ic(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&&Ac(r,_e(s,3))}function aw(r){return r==null?[]:du(r,jt(r))}function ow(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 uw(r,s){return r!=null&&sp(r,s,Iv)}function df(r,s){return r!=null&&sp(r,s,Av)}var lw=Xh(function(r,s,l){s!=null&&typeof s.toString!="function"&&(s=Qo.call(s)),r[s]=l},pf(xn)),cw=Xh(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),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=Is(function(r,s,l){hu(r,s,l)}),Bp=Is(function(r,s,l,p){hu(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}),Rr(r,Zc(r),l),p&&(l=zn(l,O|M|z,l1));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),Ah(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[Ir(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=Re(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)?Rs(nu(r)):{}:l={}}return(x?R:Mr)(r,function(I,L,Y){return s(l,I,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 Tw(r,s,l){return s=si(s),l===n?(l=s,s=0):l=si(l),r=Gn(r),Ov(r,s,l)}function Ew(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=As(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 Rw(r,s,l){r=nt(r),s=En(s);var p=r.length;l=l===n?p:es(Ae(l),0,p);var x=l;return l-=s.length,l>=0&&r.slice(l,x)==s}function Iw(r){return r=nt(r),r&&Co.test(r)?r.replace(_i,Sc):r}function Aw(r){return r=nt(r),r&&Si.test(r)?r.replace(_r,"\\$&"):r}var Ow=As(function(r,s,l){return r+(l?"-":"")+s.toLowerCase()}),Pw=As(function(r,s,l){return r+(l?" ":"")+s.toLowerCase()}),Nw=Gh("toLowerCase");function Lw(r,s,l){r=nt(r),s=Ae(s);var p=s?Er(r):0;if(!s||p>=s)return r;var x=(s-p)/2;return bu(au(x),l)+r+bu(su(x),l)}function Fw(r,s,l){r=nt(r),s=Ae(s);var p=s?Er(r):0;return s&&p<s?r+bu(s-p,l):r}function $w(r,s,l){r=nt(r),s=Ae(s);var p=s?Er(r):0;return s&&p<s?bu(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=Ae(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=As(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=En(s),!s&&mn(r))?Ni(rn(r),0,l):r.split(s,l)):[]}var Uw=As(function(r,s,l){return r+(l?" ":"")+hf(s)});function zw(r,s,l){return r=nt(r),l=l==null?0:es(Ae(l),0,r.length),s=En(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),I=ka(x,k),L,Y,X=0,Q=s.interpolate||xs,ee="__p += '",oe=Ie((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
- `;r.replace(oe,function(ke,Be,Ue,Rn,un,In){return Ue||(Ue=Rn),ee+=r.slice(X,In).replace(zi,kc),Be&&(L=!0,ee+=`' +
115
- __e(`+Be+`) +
116
- '`),un&&(Y=!0,ee+=`';
117
- `+un+`;
118
- __p += '`),Ue&&(ee+=`' +
119
- ((__t = (`+Ue+`)) == null ? '' : __t) +
120
- '`),X=In+ke.length,ke}),ee+=`';
121
- `;var Se=De.call(s,"variable")&&s.variable;if(!Se)ee=`with (obj) {
122
- `+ee+`
123
- }
124
- `;else if(uc.test(Se))throw new Z(m);ee=(Y?ee.replace(_o,""):ee).replace(So,"$1").replace(rc,"$1;"),ee="function("+(Se||"obj")+`) {
125
- `+(Se?"":`obj || (obj = {});
126
- `)+"var __t, __p = ''"+(L?", __e = _.escape":"")+(Y?`, __j = Array.prototype.join;
127
- function print() { __p += __j.call(arguments, '') }
128
- `:`;
129
- `)+ee+`return __p
130
- }`;var Ne=qp(function(){return he(k,ye+"return "+ee).apply(n,I)});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=En(s)))return r;var p=rn(r),x=rn(s),k=Ge(p,x),I=Zi(p,x)+1;return Ni(p,k,I).join("")}function Zw(r,s,l){if(r=nt(r),r&&(l||s===n))return r.slice(0,Xo(r)+1);if(!r||!(s=En(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=En(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?Ae(s.length):l,p="omission"in s?En(s.omission):p}r=nt(r);var k=r.length;if(mn(r)){var I=rn(r);k=I.length}if(l>=k)return r;var L=l-Er(p);if(L<1)return p;var Y=I?Ni(I,0,L).join(""):r.slice(0,L);if(x===n)return Y+p;if(I&&(L+=Y.length-L),cf(x)){if(r.slice(L).search(x)){var X,Q=Y;for(x.global||(x=Ie(x.source,nt(Ro.exec(x))+"g")),x.lastIndex=0;X=x.exec(Q);)var ee=X.index;Y=Y.slice(0,ee===n?L:ee)}}else if(r.indexOf(En(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&&ko.test(r)?r.replace(qr,Ta):r}var e_=As(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 Z(l)}}),t_=ni(function(r,s){return R(s,function(l){l=Ir(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 Ev(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 Eh(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=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,I=ii(r);return R(x,function(L){var Y=s[L];r[L]=Y,I&&(r.prototype[L]=function(){var X=this.__chain__;if(k||X){var Q=r(this.__wrapped__),ee=Q.__actions__=yn(this.__actions__);return ee.push({func:Y,args:arguments,thisArg:r}),Q.__chain__=X,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=Ae(r),Fe(function(s){return Rh(s,r)})}var h_=qc(fe),p_=qc(q),g_=qc(yt);function Gp(r){return ef(r)?Zr(Ir(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=Ae(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 Re(r)?fe(r,Ir):Mn(r)?[r]:yn(pp(nt(r)))}function k_(r){var s=++Ny;return nt(r)+s}var C_=vu(function(r,s){return r+s},0),D_=Gc("ceil"),T_=vu(function(r,s){return r/s},1),E_=Gc("floor");function M_(r){return r&&r.length?fu(r,xn,Oc):n}function R_(r,s){return r&&r.length?fu(r,_e(s,2),Oc):n}function I_(r){return Cn(r,xn)}function A_(r,s){return Cn(r,_e(s,2))}function O_(r){return r&&r.length?fu(r,xn,Fc):n}function P_(r,s){return r&&r.length?fu(r,_e(s,2),Fc):n}var N_=vu(function(r,s){return r*s},1),L_=Gc("round"),F_=vu(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=Tp,S.castArray=bx,S.chain=_p,S.chunk=E1,S.compact=M1,S.concat=R1,S.cond=n_,S.conforms=r_,S.constant=pf,S.countBy=$b,S.create=Xx,S.curry=Ep,S.curryRight=Mp,S.debounce=Rp,S.defaults=Jx,S.defaultsDeep=Qx,S.defer=ux,S.delay=lx,S.difference=I1,S.differenceBy=A1,S.differenceWith=O1,S.drop=P1,S.dropRight=N1,S.dropRightWhile=L1,S.dropWhile=F1,S.fill=$1,S.filter=Bb,S.flatMap=Hb,S.flatMapDeep=Ub,S.flatMapDepth=zb,S.flatten=vp,S.flattenDeep=j1,S.flattenDepth=B1,S.flip=cx,S.flow=s_,S.flowRight=a_,S.fromPairs=Y1,S.functions=aw,S.functionsIn=ow,S.groupBy=Vb,S.initial=H1,S.intersection=U1,S.intersectionBy=z1,S.intersectionWith=V1,S.invert=lw,S.invertBy=cw,S.invokeMap=Gb,S.iteratee=gf,S.keyBy=Kb,S.keys=jt,S.keysIn=bn,S.map=Cu,S.mapKeys=dw,S.mapValues=hw,S.matches=o_,S.matchesProperty=u_,S.memoize=Tu,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=Zb,S.over=h_,S.overArgs=dx,S.overEvery=p_,S.overSome=g_,S.partial=uf,S.partialRight=Ip,S.partition=Xb,S.pick=yw,S.pickBy=Yp,S.property=Gp,S.propertyOf=m_,S.pull=Z1,S.pullAll=xp,S.pullAllBy=X1,S.pullAllWith=J1,S.pullAt=Q1,S.range=y_,S.rangeRight=v_,S.rearg=hx,S.reject=ex,S.remove=eb,S.rest=px,S.reverse=sf,S.sampleSize=nx,S.set=bw,S.setWith=xw,S.shuffle=rx,S.slice=tb,S.sortBy=ax,S.sortedUniq=ub,S.sortedUniqBy=lb,S.split=Hw,S.spread=gx,S.tail=cb,S.take=fb,S.takeRight=db,S.takeRightWhile=hb,S.takeWhile=pb,S.tap=Mb,S.throttle=mx,S.thru=ku,S.toArray=Lp,S.toPairs=Wp,S.toPairsIn=Hp,S.toPath=S_,S.toPlainObject=$p,S.transform=ww,S.unary=yx,S.union=gb,S.unionBy=mb,S.unionWith=yb,S.uniq=vb,S.uniqBy=bb,S.uniqWith=xb,S.unset=_w,S.unzip=af,S.unzipWith=wp,S.update=Sw,S.updateWith=kw,S.values=Ns,S.valuesIn=Cw,S.without=wb,S.words=Vp,S.wrap=vx,S.xor=_b,S.xorBy=Sb,S.xorWith=kb,S.zip=Cb,S.zipObject=Db,S.zipObjectDeep=Tb,S.zipWith=Eb,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=T_,S.endsWith=Rw,S.eq=hr,S.escape=Iw,S.escapeRegExp=Aw,S.every=jb,S.find=Yb,S.findIndex=mp,S.findKey=ew,S.findLast=Wb,S.findLastIndex=yp,S.findLastKey=tw,S.floor=E_,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=qb,S.indexOf=W1,S.inRange=Tw,S.invoke=fw,S.isArguments=is,S.isArray=Re,S.isArrayBuffer=Tx,S.isArrayLike=vn,S.isArrayLikeObject=kt,S.isBoolean=Ex,S.isBuffer=Li,S.isDate=Mx,S.isElement=Rx,S.isEmpty=Ix,S.isEqual=Ax,S.isEqualWith=Ox,S.isError=lf,S.isFinite=Px,S.isFunction=ii,S.isInteger=Ap,S.isLength=Mu,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=Ru,S.isSymbol=Mn,S.isTypedArray=Ps,S.isUndefined=Wx,S.isWeakMap=Hx,S.isWeakSet=Ux,S.join=q1,S.kebabCase=Ow,S.last=qn,S.lastIndexOf=G1,S.lowerCase=Pw,S.lowerFirst=Nw,S.lt=zx,S.lte=Vx,S.max=M_,S.maxBy=R_,S.mean=I_,S.meanBy=A_,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=K1,S.noConflict=f_,S.noop=yf,S.now=Du,S.pad=Lw,S.padEnd=Fw,S.padStart=$w,S.parseInt=jw,S.random=Ew,S.reduce=Jb,S.reduceRight=Qb,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=nb,S.sortedIndexBy=rb,S.sortedIndexOf=ib,S.sortedLastIndex=sb,S.sortedLastIndexBy=ab,S.sortedLastIndexOf=ob,S.startCase=Uw,S.startsWith=zw,S.subtract=F_,S.sum=$_,S.sumBy=j_,S.template=Vw,S.times=__,S.toFinite=si,S.toInteger=Ae,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,R(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){S[r].placeholder=S}),R(["drop","take"],function(r,s){Ye.prototype[r]=function(l){l=l===n?1:Ot(Ae(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()}}),R(["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}}),R(["head","last"],function(r,s){var l="take"+(s?"Right":"");Ye.prototype[r]=function(){return this[l](1).value()[0]}}),R(["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=Ae(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=Ae(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 I=this.__wrapped__,L=p?[1]:arguments,Y=I instanceof Ye,X=L[0],Q=Y||Re(I),ee=function(Be){var Ue=x.apply(S,Me([Be],L));return p&&oe?Ue[0]:Ue};Q&&l&&typeof X=="function"&&X.length!=1&&(Y=Q=!1);var oe=this.__chain__,ye=!!this.__actions__.length,Se=k&&!oe,Ne=Y&&!ye;if(!k&&Q){I=Ne?I:new Ye(this);var ke=r.apply(I,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)})}),R(["pop","push","shift","sort","splice","unshift"],function(r){var s=It[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(Re(k)?k:[],x)}return this[l](function(I){return s.apply(Re(I)?I:[],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=Qy,Ye.prototype.reverse=ev,Ye.prototype.value=tv,S.prototype.at=Rb,S.prototype.chain=Ib,S.prototype.commit=Ab,S.prototype.next=Ob,S.prototype.plant=Nb,S.prototype.reverse=Lb,S.prototype.toJSON=S.prototype.valueOf=S.prototype.value=Fb,S.prototype.first=S.prototype.head,Ea&&(S.prototype[Ea]=Pb),S},V=H();ur?((ur.exports=V)._=V,ks._=V):mt._=V}).call(D.commonjsGlobal)})(rl,rl.exports);rl.exports;function pI(e){var t=e.lastRenderedStartIndex,n=e.lastRenderedStopIndex,i=e.startIndex,a=e.stopIndex;return!(i>n||a<t)}function gI(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 T=t(_);T?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 mI=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},yI=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}}(),vI=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){vI(t,e);function t(){var n,i,a,u;mI(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 T=_.visibleStartIndex,O=_.visibleStopIndex;a._lastRenderedStartIndex=T,a._lastRenderedStopIndex=O,a._ensureRowsLoaded(T,O)},a._setRef=function(_){a._listRef=_},i),Yg(a,u)}return yI(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,T=u.threshold,O=T===void 0?15:T,M=gI({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 T=i[_],O=i[_+1],M=u(T,O);M!=null&&M.then(function(){if(pI({lastRenderedStartIndex:a._lastRenderedStartIndex,lastRenderedStopIndex:a._lastRenderedStopIndex,startIndex:T,stopIndex:O})){if(a._listRef==null)return;typeof a._listRef.resetAfterIndex=="function"?a._listRef.resetAfterIndex(T,!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 bI=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=bI(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 xI(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,Y2(i.key),i)}}function wI(e,t,n){return t&&Wg(e.prototype,t),n&&Wg(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var J0=[],_I=J0.forEach,SI=J0.slice;function kI(e){return _I.call(SI.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]+$/,CI=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=CI(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)}},DI={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)}},TI={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},EI={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},MI={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)}},RI={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}},II={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}},AI={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}},OI={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 PI(){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]:{};xI(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return wI(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=kI(i,this.options||{},PI()),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(DI),this.addDetector(TI),this.addDetector(EI),this.addDetector(MI),this.addDetector(RI),this.addDetector(II),this.addDetector(AI),this.addDetector(OI)}},{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 NI=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,LI={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},FI=e=>LI[e],$I=e=>e.replace(NI,FI);let qg={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:$I};function jI(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};qg={...qg,...e}}const BI={type:"3rdParty",init(e){jI(e.options.react)}},YI={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"},WI={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."}},HI={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:{notfication:{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."}},noficationConfig:{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."}}}},UI={errorMessage:YI,components:WI,configurations:HI},zI={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"},VI={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."}},qI={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:{},permissionGroups:{errorMessage:{isExisted:"Der Name der Berechtigungsgruppe ist vorhanden",cannotRemoveFullPermissionGroup:"You cannot remove this permission group.",cannotEditFullPermissionGroup:"You cannot update this permission group."}},myAccount:{}},notificationAdmin:{}},GI={errorMessage:zI,components:VI,configurations:qI};var ed=(e=>(e.en="en",e.de="de",e))(ed||{});const KI={de:{translation:GI},en:{translation:UI}};zt.use(BI).use(Q0).init({resources:KI,fallbackLng:"en"});const ZI=D.reactExports.createContext({}),XI=()=>D.reactExports.useContext(ZI);var ey={exports:{}};/*!
131
- * jQuery JavaScript Library v3.7.1
132
- * https://jquery.com/
133
- *
134
- * Copyright OpenJS Foundation and other contributors
135
- * Released under the MIT license
136
- * https://jquery.org/license
137
- *
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,_={},T=_.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"},J=function(c){return c!=null&&c===c.window},W=t.document,ae={type:!0,src:!0,nonce:!0,noModule:!0};function me(o,c,d){d=d||W;var g,y,v=d.createElement("script");if(v.text=o,c)for(g in ae)y=c[g]||c.getAttribute&&c.getAttribute(g),y&&v.setAttribute(g,y);d.head.appendChild(v).parentNode.removeChild(v)}function se(o){return o==null?o+"":typeof o=="object"||typeof o=="function"?_[T.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]||{},A=1,R=arguments.length,j=!1;for(typeof w=="boolean"&&(j=w,w=arguments[A]||{},A++),typeof w!="object"&&!$(w)&&(w={}),A===R&&(w=this,A--);A<R;A++)if((o=arguments[A])!=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||T.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){me(o,{nonce:c&&c.nonce},d)},each:function(o,c){var d,g=0;if(Ee(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&&(Ee(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,A=!d;v<w;v++)g=!c(o[v],v),g!==A&&y.push(o[v]);return y},map:function(o,c,d){var g,y,v=0,w=[];if(Ee(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 Ee(o){var c=!!o&&"length"in o&&o.length,d=se(o);return $(o)||J(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,A,R,j,q,G=h.expando,U=0,te=0,fe=Zi(),Me=Zi(),Te=Zi(),Rt=Zi(),yt=function(E,F){return E===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(E,F){var H="0x"+E.slice(1)-65536;return F||(H<0?String.fromCharCode(H+65536):String.fromCharCode(H>>10|55296,H&1023|56320))},nn=function(){Tr()},ka=Xr(function(E){return E.disabled===!0&&ce(E,"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(E,F,H,V){var C,N,P,K,Z,he,pe,le=F&&F.ownerDocument,Ie=F?F.nodeType:9;if(H=H||[],typeof E!="string"||!E||Ie!==1&&Ie!==9&&Ie!==11)return H;if(!V&&(Tr(F),F=F||w,R)){if(Ie!==11&&(Z=Xt.exec(E)))if(C=Z[1]){if(Ie===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(Z[2])return v.apply(H,F.getElementsByTagName(E)),H;if((C=Z[3])&&F.getElementsByClassName)return v.apply(H,F.getElementsByClassName(C)),H}if(!Rt[E+" "]&&(!j||!j.test(E))){if(pe=E,le=F,Ie===1&&(Cs.test(E)||qi.test(E))){for(le=Gi.test(E)&&Ca(F.parentNode)||F,(le!=F||!B.scope)&&((K=F.getAttribute("id"))?K=h.escapeSelector(K):F.setAttribute("id",K=G)),he=Ri(E),N=he.length;N--;)he[N]=(K?"#"+K:":scope")+" "+Tn(he[N]);pe=he.join(",")}try{return v.apply(H,le.querySelectorAll(pe)),H}catch{Rt(E,!0)}finally{K===G&&F.removeAttribute("id")}}}return Jo(E.replace(Ve,"$1"),F,H,V)}function Zi(){var E=[];function F(H,V){return E.push(H+" ")>c.cacheLength&&delete F[E.shift()],F[H+" "]=V}return F}function Dn(E){return E[G]=!0,E}function Mi(E){var F=w.createElement("fieldset");try{return!!E(F)}catch{return!1}finally{F.parentNode&&F.parentNode.removeChild(F),F=null}}function Sc(E){return function(F){return ce(F,"input")&&F.type===E}}function kc(E){return function(F){return(ce(F,"input")||ce(F,"button"))&&F.type===E}}function Zo(E){return function(F){return"form"in F?F.parentNode&&F.disabled===!1?"label"in F?"label"in F.parentNode?F.parentNode.disabled===E:F.disabled===E:F.isDisabled===E||F.isDisabled!==!E&&ka(F)===E:F.disabled===E:"label"in F?F.disabled===E:!1}}function mn(E){return Dn(function(F){return F=+F,Dn(function(H,V){for(var C,N=E([],H.length,F),P=N.length;P--;)H[C=N[P]]&&(H[C]=!(V[C]=H[C]))})})}function Ca(E){return E&&typeof E.getElementsByTagName<"u"&&E}function Tr(E){var F,H=E?E.ownerDocument||E:He;return H==w||H.nodeType!==9||!H.documentElement||(w=H,A=w.documentElement,R=!h.isXMLDoc(w),q=A.matches||A.webkitMatchesSelector||A.msMatchesSelector,A.msMatchesSelector&&He!=w&&(F=w.defaultView)&&F.top!==F&&F.addEventListener("unload",nn),B.getById=Mi(function(V){return A.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"&&R){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"&&R){var N,P,K,Z=C.getElementById(V);if(Z){if(N=Z.getAttributeNode("id"),N&&N.value===V)return[Z];for(K=C.getElementsByName(V),P=0;Z=K[P++];)if(N=Z.getAttributeNode("id"),N&&N.value===V)return[Z]}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"&&R)return C.getElementsByClassName(V)},j=[],Mi(function(V){var C;A.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"),A.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(E,F){return Ge(E,null,null,F)},Ge.matchesSelector=function(E,F){if(Tr(E),R&&!Rt[F+" "]&&(!j||!j.test(F)))try{var H=q.call(E,F);if(H||B.disconnectedMatch||E.document&&E.document.nodeType!==11)return H}catch{Rt(F,!0)}return Ge(F,w,null,[E]).length>0},Ge.contains=function(E,F){return(E.ownerDocument||E)!=w&&Tr(E),h.contains(E,F)},Ge.attr=function(E,F){(E.ownerDocument||E)!=w&&Tr(E);var H=c.attrHandle[F.toLowerCase()],V=H&&O.call(c.attrHandle,F.toLowerCase())?H(E,F,!R):void 0;return V!==void 0?V:E.getAttribute(F)},Ge.error=function(E){throw new Error("Syntax error, unrecognized expression: "+E)},h.uniqueSort=function(E){var F,H=[],V=0,C=0;if(y=!B.sortStable,g=!B.sortStable&&u.call(E,0),Pe.call(E,yt),y){for(;F=E[C++];)F===E[C]&&(V=H.push(C));for(;V--;)Xe.call(E,H[V],1)}return g=null,E},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(E){return E[1]=E[1].replace(cr,Hn),E[3]=(E[3]||E[4]||E[5]||"").replace(cr,Hn),E[2]==="~="&&(E[3]=" "+E[3]+" "),E.slice(0,4)},CHILD:function(E){return E[1]=E[1].toLowerCase(),E[1].slice(0,3)==="nth"?(E[3]||Ge.error(E[0]),E[4]=+(E[4]?E[5]+(E[6]||1):2*(E[3]==="even"||E[3]==="odd")),E[5]=+(E[7]+E[8]||E[3]==="odd")):E[3]&&Ge.error(E[0]),E},PSEUDO:function(E){var F,H=!E[6]&&E[2];return gn.CHILD.test(E[0])?null:(E[3]?E[2]=E[4]||E[5]||"":H&&Cn.test(H)&&(F=Ri(H,!0))&&(F=H.indexOf(")",H.length-F)-H.length)&&(E[0]=E[0].slice(0,F),E[2]=H.slice(0,F)),E.slice(0,3))}},filter:{TAG:function(E){var F=E.replace(cr,Hn).toLowerCase();return E==="*"?function(){return!0}:function(H){return ce(H,F)}},CLASS:function(E){var F=fe[E+" "];return F||(F=new RegExp("(^|"+xe+")"+E+"("+xe+"|$)"))&&fe(E,function(H){return F.test(typeof H.className=="string"&&H.className||typeof H.getAttribute<"u"&&H.getAttribute("class")||"")})},ATTR:function(E,F,H){return function(V){var C=Ge.attr(V,E);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(E,F,H,V,C){var N=E.slice(0,3)!=="nth",P=E.slice(-4)!=="last",K=F==="of-type";return V===1&&C===0?function(Z){return!!Z.parentNode}:function(Z,he,pe){var le,Ie,be,Le,It,$t=N!==P?"nextSibling":"previousSibling",At=Z.parentNode,sn=K&&Z.nodeName.toLowerCase(),fr=!pe&&!K,De=!1;if(At){if(N){for(;$t;){for(be=Z;be=be[$t];)if(K?ce(be,sn):be.nodeType===1)return!1;It=$t=E==="only"&&!It&&"nextSibling"}return!0}if(It=[P?At.firstChild:At.lastChild],P&&fr){for(Ie=At[G]||(At[G]={}),le=Ie[E]||[],Le=le[0]===U&&le[1],De=Le&&le[2],be=Le&&At.childNodes[Le];be=++Le&&be&&be[$t]||(De=Le=0)||It.pop();)if(be.nodeType===1&&++De&&be===Z){Ie[E]=[U,Le,De];break}}else if(fr&&(Ie=Z[G]||(Z[G]={}),le=Ie[E]||[],Le=le[0]===U&&le[1],De=Le),De===!1)for(;(be=++Le&&be&&be[$t]||(De=Le=0)||It.pop())&&!((K?ce(be,sn):be.nodeType===1)&&++De&&(fr&&(Ie=be[G]||(be[G]={}),Ie[E]=[U,De]),be===Z)););return De-=C,De===V||De%V===0&&De/V>=0}}},PSEUDO:function(E,F){var H,V=c.pseudos[E]||c.setFilters[E.toLowerCase()]||Ge.error("unsupported pseudo: "+E);return V[G]?V(F):V.length>1?(H=[E,E,"",F],c.setFilters.hasOwnProperty(E.toLowerCase())?Dn(function(C,N){for(var P,K=V(C,F),Z=K.length;Z--;)P=b.call(C,K[Z]),C[P]=!(N[P]=K[Z])}):function(C){return V(C,0,H)}):V}},pseudos:{not:Dn(function(E){var F=[],H=[],V=Ta(E.replace(Ve,"$1"));return V[G]?Dn(function(C,N,P,K){for(var Z,he=V(C,null,K,[]),pe=C.length;pe--;)(Z=he[pe])&&(C[pe]=!(N[pe]=Z))}):function(C,N,P){return F[0]=C,V(F,null,P,H),F[0]=null,!H.pop()}}),has:Dn(function(E){return function(F){return Ge(E,F).length>0}}),contains:Dn(function(E){return E=E.replace(cr,Hn),function(F){return(F.textContent||h.text(F)).indexOf(E)>-1}}),lang:Dn(function(E){return Zr.test(E||"")||Ge.error("unsupported lang: "+E),E=E.replace(cr,Hn).toLowerCase(),function(F){var H;do if(H=R?F.lang:F.getAttribute("xml:lang")||F.getAttribute("lang"))return H=H.toLowerCase(),H===E||H.indexOf(E+"-")===0;while((F=F.parentNode)&&F.nodeType===1);return!1}}),target:function(E){var F=t.location&&t.location.hash;return F&&F.slice(1)===E.id},root:function(E){return E===A},focus:function(E){return E===Ki()&&w.hasFocus()&&!!(E.type||E.href||~E.tabIndex)},enabled:Zo(!1),disabled:Zo(!0),checked:function(E){return ce(E,"input")&&!!E.checked||ce(E,"option")&&!!E.selected},selected:function(E){return E.parentNode&&E.parentNode.selectedIndex,E.selected===!0},empty:function(E){for(E=E.firstChild;E;E=E.nextSibling)if(E.nodeType<6)return!1;return!0},parent:function(E){return!c.pseudos.empty(E)},header:function(E){return Dr.test(E.nodeName)},input:function(E){return lr.test(E.nodeName)},button:function(E){return ce(E,"input")&&E.type==="button"||ce(E,"button")},text:function(E){var F;return ce(E,"input")&&E.type==="text"&&((F=E.getAttribute("type"))==null||F.toLowerCase()==="text")},first:mn(function(){return[0]}),last:mn(function(E,F){return[F-1]}),eq:mn(function(E,F,H){return[H<0?H+F:H]}),even:mn(function(E,F){for(var H=0;H<F;H+=2)E.push(H);return E}),odd:mn(function(E,F){for(var H=1;H<F;H+=2)E.push(H);return E}),lt:mn(function(E,F,H){var V;for(H<0?V=H+F:H>F?V=F:V=H;--V>=0;)E.push(V);return E}),gt:mn(function(E,F,H){for(var V=H<0?H+F:H;++V<F;)E.push(V);return E})}},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 Ri(E,F){var H,V,C,N,P,K,Z,he=Me[E+" "];if(he)return F?0:he.slice(0);for(P=E,K=[],Z=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))&&(!Z[N]||(V=Z[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(E):Me(E,K).slice(0)}function Tn(E){for(var F=0,H=E.length,V="";F<H;F++)V+=E[F].value;return V}function Xr(E,F,H){var V=F.dir,C=F.next,N=C||V,P=H&&N==="parentNode",K=te++;return F.first?function(Z,he,pe){for(;Z=Z[V];)if(Z.nodeType===1||P)return E(Z,he,pe);return!1}:function(Z,he,pe){var le,Ie,be=[U,K];if(pe){for(;Z=Z[V];)if((Z.nodeType===1||P)&&E(Z,he,pe))return!0}else for(;Z=Z[V];)if(Z.nodeType===1||P)if(Ie=Z[G]||(Z[G]={}),C&&ce(Z,C))Z=Z[V]||Z;else{if((le=Ie[N])&&le[0]===U&&le[1]===K)return be[2]=le[2];if(Ie[N]=be,be[2]=E(Z,he,pe))return!0}return!1}}function Da(E){return E.length>1?function(F,H,V){for(var C=E.length;C--;)if(!E[C](F,H,V))return!1;return!0}:E[0]}function Cc(E,F,H){for(var V=0,C=F.length;V<C;V++)Ge(E,F[V],H);return H}function Ts(E,F,H,V,C){for(var N,P=[],K=0,Z=E.length,he=F!=null;K<Z;K++)(N=E[K])&&(!H||H(N,V,C))&&(P.push(N),he&&F.push(K));return P}function Er(E,F,H,V,C,N){return V&&!V[G]&&(V=Er(V)),C&&!C[G]&&(C=Er(C,N)),Dn(function(P,K,Z,he){var pe,le,Ie,be,Le=[],It=[],$t=K.length,At=P||Cc(F||"*",Z.nodeType?[Z]:Z,[]),sn=E&&(P||!F)?Ts(At,Le,E,Z,he):At;if(H?(be=C||(P?E:$t||V)?[]:K,H(sn,be,Z,he)):be=sn,V)for(pe=Ts(be,It),V(pe,[],Z,he),le=pe.length;le--;)(Ie=pe[le])&&(be[It[le]]=!(sn[It[le]]=Ie));if(P){if(C||E){if(C){for(pe=[],le=be.length;le--;)(Ie=be[le])&&pe.push(sn[le]=Ie);C(null,be=[],pe,he)}for(le=be.length;le--;)(Ie=be[le])&&(pe=C?b.call(P,Ie):Le[le])>-1&&(P[pe]=!(K[pe]=Ie))}}else be=Ts(be===K?be.splice($t,be.length):be),C?C(null,K,be,he):v.apply(K,be)})}function rn(E){for(var F,H,V,C=E.length,N=c.relative[E[0].type],P=N||c.relative[" "],K=N?1:0,Z=Xr(function(le){return le===F},P,!0),he=Xr(function(le){return b.call(F,le)>-1},P,!0),pe=[function(le,Ie,be){var Le=!N&&(be||Ie!=d)||((F=Ie).nodeType?Z(le,Ie,be):he(le,Ie,be));return F=null,Le}];K<C;K++)if(H=c.relative[E[K].type])pe=[Xr(Da(pe),H)];else{if(H=c.filter[E[K].type].apply(null,E[K].matches),H[G]){for(V=++K;V<C&&!c.relative[E[V].type];V++);return Er(K>1&&Da(pe),K>1&&Tn(E.slice(0,K-1).concat({value:E[K-2].type===" "?"*":""})).replace(Ve,"$1"),H,K<V&&rn(E.slice(K,V)),V<C&&rn(E=E.slice(V)),V<C&&Tn(E))}pe.push(H)}return Da(pe)}function Xo(E,F){var H=F.length>0,V=E.length>0,C=function(N,P,K,Z,he){var pe,le,Ie,be=0,Le="0",It=N&&[],$t=[],At=d,sn=N||V&&c.find.TAG("*",he),fr=U+=At==null?1:Math.random()||.1,De=sn.length;for(he&&(d=P==w||P||he);Le!==De&&(pe=sn[Le])!=null;Le++){if(V&&pe){for(le=0,!P&&pe.ownerDocument!=w&&(Tr(pe),K=!R);Ie=E[le++];)if(Ie(pe,P||w,K)){v.call(Z,pe);break}he&&(U=fr)}H&&((pe=!Ie&&pe)&&be--,N&&It.push(pe))}if(be+=Le,H&&Le!==be){for(le=0;Ie=F[le++];)Ie(It,$t,P,K);if(N){if(be>0)for(;Le--;)It[Le]||$t[Le]||($t[Le]=et.call(Z));$t=Ts($t)}v.apply(Z,$t),he&&!N&&$t.length>0&&be+F.length>1&&h.uniqueSort(Z)}return he&&(U=fr,d=At),It};return H?Dn(C):C}function Ta(E,F){var H,V=[],C=[],N=Te[E+" "];if(!N){for(F||(F=Ri(E)),H=F.length;H--;)N=rn(F[H]),N[G]?V.push(N):C.push(N);N=Te(E,Xo(C,V)),N.selector=E}return N}function Jo(E,F,H,V){var C,N,P,K,Z,he=typeof E=="function"&&E,pe=!V&&Ri(E=he.selector||E);if(H=H||[],pe.length===1){if(N=pe[0]=pe[0].slice(0),N.length>2&&(P=N[0]).type==="ID"&&F.nodeType===9&&R&&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;E=E.slice(N.shift().value.length)}for(C=gn.needsContext.test(E)?0:N.length;C--&&(P=N[C],!c.relative[K=P.type]);)if((Z=c.find[K])&&(V=Z(P.matches[0].replace(cr,Hn),Gi.test(N[0].type)&&Ca(F.parentNode)||F))){if(N.splice(C,1),E=V.length&&Tn(N),!E)return v.apply(H,V),H;break}}return(he||Ta(E,pe))(V,F,!R,H,!F||Gi.test(E)&&Ca(F.parentNode)||F),H}B.sortStable=G.split("").sort(yt).join("")===G,Tr(),B.sortDetached=Mi(function(E){return E.compareDocumentPosition(w.createElement("fieldset"))&1}),h.find=Ge,h.expr[":"]=h.expr.pseudos,h.unique=h.uniqueSort,Ge.compile=Ta,Ge.select=Jo,Ge.setDocument=Tr,Ge.tokenize=Ri,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=[],A=-1,R=function(){for(y=y||o.once,g=c=!0;w.length;A=-1)for(d=w.shift();++A<v.length;)v[A].apply(d[0],d[1])===!1&&o.stopOnFalse&&(A=v.length,d=!1);o.memory||(d=!1),c=!1,y&&(d?v=[]:v="")},j={add:function(){return v&&(d&&!c&&(A=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&&se(te)!=="string"&&q(te)})}(arguments),d&&!c&&R()),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<=A&&A--}),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||R()),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(A,R){var j=$(v[R[4]])&&v[R[4]];y[R[1]](function(){var q=j&&j.apply(this,arguments);q&&$(q.promise)?q.promise().progress(w.notify).done(w.resolve).fail(w.reject):w[R[0]+"With"](this,j?[q]:arguments)})}),v=null}).promise()},then:function(v,w,A){var R=0;function j(q,G,U,te){return function(){var fe=this,Me=arguments,Te=function(){var yt,Yn;if(!(q<R)){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(R,G,Sn,te),j(R,G,Ur,te)):(R++,Yn.call(yt,j(R,G,Sn,te),j(R,G,Ur,te),j(R,G,Sn,G.notifyWith))):(U!==Sn&&(fe=void 0,Me=[yt]),(te||G.resolveWith)(fe,Me))}},Rt=te?Te:function(){try{Te()}catch(yt){h.Deferred.exceptionHook&&h.Deferred.exceptionHook(yt,Rt.error),q+1>=R&&(U!==Ur&&(fe=void 0,Me=[yt]),G.rejectWith(fe,Me))}};q?Rt():(h.Deferred.getErrorHook?Rt.error=h.Deferred.getErrorHook():h.Deferred.getStackHook&&(Rt.error=h.Deferred.getStackHook()),t.setTimeout(Rt))}}return h.Deferred(function(q){c[0][3].add(j(0,q,$(A)?A: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 A=w[2],R=w[5];g[w[1]]=A.add,R&&A.add(function(){d=R},c[3-v][2].disable,c[3-v][3].disable,c[0][2].lock,c[0][3].lock),A.add(w[3].fire),y[w[0]]=function(){return y[w[0]+"With"](this===y?void 0:this,arguments),this},y[w[0]+"With"]=A.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(A){return function(R){g[A]=this,y[A]=arguments.length>1?u.call(arguments):R,--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 A=0,R=o.length,j=d==null;if(se(d)==="object"){y=!0;for(A in d)fn(o,c,A,d[A],!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(;A<R;A++)c(o[A],d,w?g:g.call(o[A],A,c(o[A],d)));return y?o:j?c.call(o):R?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(A){var R;if(v&&A===void 0)return R=Ft.get(v,o),R!==void 0||(R=Vr(v,o),R!==void 0)?R:void 0;this.each(function(){Ft.set(this,o,A)})},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,A=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(A));return A(),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,A=g?function(){return g.cur()}:function(){return h.css(o,c,"")},R=A(),j=d&&d[3]||(h.cssNumber[c]?"":"px"),q=o.nodeType&&(h.cssNumber[c]||j!=="px"&&+R)&&Bn.exec(h.css(o,c));if(q&&q[3]!==j){for(R=R/2,j=j||q[3],q=+R||1;w--;)h.style(o,c,q+j),(1-v)*(1-(v=A()/R||.5))<=0&&(w=0),q=q/v;q=q*2,h.style(o,c,q+j),d=d||[]}return d&&(q=+q||+R||0,y=d[1]?q+(d[1]+1)*d[2]:+d[2],g&&(g.unit=j,g.start=q,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 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,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,A,R,j,q,G=c.createDocumentFragment(),U=[],te=0,fe=o.length;te<fe;te++)if(v=o[te],v||v===0)if(se(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")),A=(ko.exec(v)||["",""])[1].toLowerCase(),R=hn[A]||hn._default,w.innerHTML=R[1]+h.htmlPrefilter(v)+R[2],q=R[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++];)Co.test(v.type||"")&&d.push(v)}return G}var To=/^([^.]*)(?:\.(.+)|)/;function _r(){return!0}function Si(){return!1}function Ui(o,c,d,g,y,v){var w,A;if(typeof c=="object"){typeof d!="string"&&(g=g||d,d=void 0);for(A in c)Ui(o,A,d,g,c[A],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(R){return h().off(R),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,A,R,j,q,G,U,te,fe,Me,Te=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++),(R=Te.events)||(R=Te.events=Object.create(null)),(w=Te.handle)||(w=Te.handle=function(Rt){return typeof h<"u"&&h.event.triggered!==Rt.type?h.event.dispatch.apply(o,arguments):void 0}),c=(c||"").match(cn)||[""],j=c.length;j--;)A=To.exec(c[j])||[],te=Me=A[1],fe=(A[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=R[te])||(U=R[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,A,R,j,q,G,U,te,fe,Me,Te=de.hasData(o)&&de.get(o);if(!(!Te||!(R=Te.events))){for(c=(c||"").match(cn)||[""],j=c.length;j--;){if(A=To.exec(c[j])||[],te=Me=A[1],fe=(A[2]||"").split(".").sort(),!te){for(te in R)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=R[te]||[],A=A[2]&&new RegExp("(^|\\.)"+fe.join("\\.(?:.*\\.|)")+"(\\.|$)"),w=v=U.length;v--;)q=U[v],(y||Me===q.origType)&&(!d||d.guid===q.guid)&&(!A||A.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,Te.handle)===!1)&&h.removeEvent(o,te,Te.handle),delete R[te])}h.isEmptyObject(R)&&de.remove(o,"handle events")}},dispatch:function(o){var c,d,g,y,v,w,A=new Array(arguments.length),R=h.event.fix(o),j=(de.get(this,"events")||Object.create(null))[R.type]||[],q=h.event.special[R.type]||{};for(A[0]=R,c=1;c<arguments.length;c++)A[c]=arguments[c];if(R.delegateTarget=this,!(q.preDispatch&&q.preDispatch.call(this,R)===!1)){for(w=h.event.handlers.call(this,R,j),c=0;(y=w[c++])&&!R.isPropagationStopped();)for(R.currentTarget=y.elem,d=0;(v=y.handlers[d++])&&!R.isImmediatePropagationStopped();)(!R.rnamespace||v.namespace===!1||R.rnamespace.test(v.namespace))&&(R.handleObj=v,R.data=v.data,g=((h.event.special[v.origType]||{}).handle||v.handler).apply(y.elem,A),g!==void 0&&(R.result=g)===!1&&(R.preventDefault(),R.stopPropagation()));return q.postDispatch&&q.postDispatch.call(this,R),R.result}},handlers:function(o,c){var d,g,y,v,w,A=[],R=c.delegateCount,j=o.target;if(R&&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<R;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&&A.push({elem:j,handlers:v})}}return j=this,R<c.length&&A.push({elem:j,handlers:c.slice(R)}),A},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 Mo(o,c){var d,g,y,v,w,A,R;if(c.nodeType===1){if(de.hasData(o)&&(v=de.get(o),R=v.events,R)){de.remove(c,"handle events");for(y in R)for(d=0,g=R[y].length;d<g;d++)h.event.add(c,y,R[y][d])}Ft.hasData(o)&&(w=Ft.access(o),A=h.extend({},w),Ft.set(c,A))}}function Ro(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,A,R,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 Te=o.eq(Me);fe&&(c[0]=te.call(this,Me,Te.html())),ki(Te,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),A=w.length;q<G;q++)R=y,q!==U&&(R=h.clone(R,!0,!0),A&&h.merge(w,Zt(R,"script"))),d.call(o[q],R,q);if(A)for(j=w[w.length-1].ownerDocument,h.map(w,lc),q=0;q<A;q++)R=w[q],Co.test(R.type||"")&&!de.access(R,"globalEval")&&h.contains(j,R)&&(R.src&&(R.type||"").toLowerCase()!=="module"?h._evalUrl&&!R.noModule&&h._evalUrl(R.src,{nonce:R.nonce||R.getAttribute("nonce")},j):me(R.textContent.replace(oc,""),R,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,A=o.cloneNode(!0),R=wr(o);if(!B.noCloneChecked&&(o.nodeType===1||o.nodeType===11)&&!h.isXMLDoc(o))for(w=Zt(A),v=Zt(o),g=0,y=v.length;g<y;g++)Ro(v[g],w[g]);if(c)if(d)for(v=v||Zt(o),w=w||Zt(A),g=0,y=v.length;g<y;g++)Mo(v[g],w[g]);else Mo(o,A);return w=Zt(A,"script"),w.length>0&&ys(w,!R&&Zt(o,"script")),A},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[(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,A=0;A<=w;A++)g=A===w?this:this.clone(!0),h(v[A])[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){R.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(R).appendChild(j);var q=t.getComputedStyle(j);d=q.top!=="1%",A=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(R),j=null}}function c(q){return Math.round(parseFloat(q))}var d,g,y,v,w,A,R=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(),A},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,A=ua.test(c),R=o.style;return d=d||bs(o),d&&(w=d.getPropertyValue(c)||d[c],A&&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=R.width,y=R.minWidth,v=R.maxWidth,R.minWidth=R.maxWidth=R.width=w,w=d.width,R.width=g,R.minWidth=y,R.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 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,A=0,R=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"&&(R-=h.css(o,"padding"+dn[w],!0,y)),d!=="margin"&&(R-=h.css(o,"border"+dn[w]+"Width",!0,y))):(R+=h.css(o,"padding"+dn[w],!0,y),d!=="padding"?R+=h.css(o,"border"+dn[w]+"Width",!0,y):A+=h.css(o,"border"+dn[w]+"Width",!0,y));return!g&&v>=0&&(R+=Math.max(0,Math.ceil(o["offset"+c[0].toUpperCase()+c.slice(1)]-v-R-A-.5))||0),R+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,A=zi(o,c,g),R="offset"+c[0].toUpperCase()+c.slice(1);if(oa.test(A)){if(!d)return A;A="auto"}return(!B.boxSizingReliable()&&v||!B.reliableTrDimensions()&&ce(o,"tr")||A==="auto"||!parseFloat(A)&&h.css(o,"display",!1,g)==="inline")&&o.getClientRects().length&&(v=h.css(o,"boxSizing",!1,g)==="border-box",w=R in o,w&&(A=o[R])),A=parseFloat(A)||0,A+la(o,c,d||(v?"border":"content"),w,g,A)+"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,A=Lt(c),R=ua.test(c),j=o.style;if(R||(c=ws(A)),w=h.cssHooks[c]||h.cssHooks[A],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"&&!R&&(d+=y&&y[3]||(h.cssNumber[A]?"":"px")),!B.clearCloneStyle&&d===""&&c.indexOf("background")===0&&(j[c]="inherit"),(!w||!("set"in w)||(d=w.set(o,d,g))!==void 0)&&(R?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,A=Lt(c),R=ua.test(c);return R||(c=ws(A)),w=h.cssHooks[c]||h.cssHooks[A],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)?Ao(d,cc,function(){return ca(d,c,y)}):ca(d,c,y)},set:function(d,g,y){var v,w=bs(d),A=!B.scrollboxSize()&&w.position==="absolute",R=A||y,j=R&&h.css(d,"boxSizing",!1,w)==="border-box",q=y?la(d,c,y,j,w):0;return j&&A&&(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)),jo(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=jo)}),h.fn.extend({css:function(o,c){return fn(this,function(d,g,y){var v,w,A={},R=0;if(Array.isArray(g)){for(v=bs(d),w=g.length;R<w;R++)A[g[R]]=h.css(d,g[R],!1,v);return A}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,A,R,j,q,G="width"in c||"height"in c,U=this,te={},fe=o.style,Me=o.nodeType&&wi(o),Te=de.get(o,"fxshow");d.queue||(w=h._queueHooks(o,"fx"),w.unqueued==null&&(w.unqueued=0,A=w.empty.fire,w.empty.fire=function(){w.unqueued||A()}),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"&&Te&&Te[g]!==void 0)Me=!0;else continue;te[g]=Te&&Te[g]||h.style(o,g)}if(R=!h.isEmptyObject(c),!(!R&&h.isEmptyObject(te))){G&&o.nodeType===1&&(d.overflow=[fe.overflow,fe.overflowX,fe.overflowY],j=Te&&Te.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"&&(R||(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]})),R=!1;for(g in te)R||(Te?"hidden"in Te&&(Me=Te.hidden):Te=de.access(o,"fxshow",{display:j}),v&&(Te.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])})),R=da(Me?Te[g]:0,g,U),g in Te||(Te[g]=R.start,Me&&(R.end=R.start,R.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,A=h.Deferred().always(function(){delete R.elem}),R=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,Te=j.tweens.length;Me<Te;Me++)j.tweens[Me].run(fe);return A.notifyWith(o,[j,fe,U]),fe<1&&Te?U:(Te||A.notifyWith(o,[j,1,0]),A.resolveWith(o,[j]),!1)},j=A.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?(A.notifyWith(o,[j,1,0]),A.resolveWith(o,[j,G])):A.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(R,{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 A=kn(this,h.extend({},o),v);(y||de.get(this,"finish"))&&A.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,A=de.get(this);if(v)A[v]&&A[v].stop&&g(A[v]);else for(v in A)A[v]&&A[v].stop&&Bo.test(v)&&g(A[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,A,R=y.toLowerCase();return v||(A=Kr[R],Kr[R]=w,w=d(g,y,v)!=null?R:null,Kr[R]=A),w}});var ga=/^(?:input|select|textarea|button)$/i,Ti=/^(?: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)||Ti.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(A){h(this).addClass(o.call(this,A,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(A){h(this).removeClass(o.call(this,A,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,A=w==="string"||Array.isArray(o);return $(o)?this.each(function(R){h(this).toggleClass(o.call(this,R,kr(this),c),c)}):typeof c=="boolean"&&A?c?this.addClass(o):this.removeClass(o):(d=ma(o),this.each(function(){if(A)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(A){return A==null?"":A+""})),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",A=w?null:[],R=w?v+1:y.length;for(v<0?g=R:g=w?v:0;g<R;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;A.push(c)}return A},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 Ei=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,A,R,j,q,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()),R=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]),q=h.event.special[te]||{},!(!g&&q.trigger&&q.trigger.apply(d,c)===!1))){if(!g&&!q.noBubble&&!J(d)){for(A=q.delegateType||te,Ho.test(A+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?A:q.bindType||te,j=(de.get(v,"events")||Object.create(null))[o.type]&&de.get(v,"handle"),j&&j.apply(v,c),j=R&&v[R],j&&j.apply&&$n(v)&&(o.result=j.apply(v,c),o.result===!1&&o.preventDefault());return o.type=te,!g&&!o.isDefaultPrevented()&&(!q._default||q._default.apply(U.pop(),c)===!1)&&$n(d)&&R&&$(d[te])&&!J(d)&&(w=d[R],w&&(d[R]=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[R]=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&&se(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 A=$(w)?w():w;g[g.length]=encodeURIComponent(v)+"="+encodeURIComponent(A??"")};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
- `)}}):{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={},zo="*/".concat("*"),wa=W.createElement("a");wa.href=Ei.href;function Vo(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 qo(o,c,d,g){var y={},v=o===tt;function w(A){var R;return y[A]=!0,h.each(o[A]||[],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!(R=G)}),R}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,A=o.contents,R=o.dataTypes;R[0]==="*";)R.shift(),g===void 0&&(g=o.mimeType||c.getResponseHeader("Content-Type"));if(g){for(y in A)if(A[y]&&A[y].test(g)){R.unshift(y);break}}if(R[0]in d)v=R[0];else{for(y in d){if(!R[0]||o.converters[y+" "+R[0]]){v=y;break}w||(w=y)}v=v||w}if(v)return v!==R[0]&&R.unshift(v),d[v]}function Go(o,c,d,g){var y,v,w,A,R,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),!R&&g&&o.dataFilter&&(c=o.dataFilter(c,o.dataType)),R=v,v=q.shift(),v){if(v==="*")v=R;else if(R!=="*"&&R!==v){if(w=j[R+" "+v]||j["* "+v],!w){for(y in j)if(A=y.split(" "),A[1]===v&&(w=j[R+" "+A[0]]||j["* "+A[0]],w)){w===!0?w=j[y]:j[y]!==!0&&(v=A[0],q.unshift(A[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 "+R+" to "+v}}}}return{state:"success",data:c}}h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ei.href,type:"GET",isLocal:vc.test(Ei.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:Vo(at),ajaxTransport:Vo(tt),ajax:function(o,c){typeof o=="object"&&(c=o,o=void 0),c=c||{};var d,g,y,v,w,A,R,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(),Te=h.Callbacks("once memory"),Rt=U.statusCode||{},yt={},Yn={},Wn="canceled",$e={readyState:0,getResponseHeader:function(je){var rt;if(R){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 R?y:null},setRequestHeader:function(je,rt){return R==null&&(je=Yn[je.toLowerCase()]=Yn[je.toLowerCase()]||je,yt[je]=rt),this},overrideMimeType:function(je){return R==null&&(U.mimeType=je),this},statusCode:function(je){var rt;if(je)if(R)$e.always(je[$e.status]);else for(rt in je)Rt[rt]=[Rt[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||Ei.href)+"").replace(xc,Ei.protocol+"//"),U.type=c.method||c.type||U.method||U.type,U.dataTypes=(U.dataType||"*").toLowerCase().match(cn)||[""],U.crossDomain==null){A=W.createElement("a");try{A.href=U.url,A.href=A.href,U.crossDomain=wa.protocol+"//"+wa.host!=A.protocol+"//"+A.host}catch{U.crossDomain=!0}}if(U.data&&U.processData&&typeof U.data!="string"&&(U.data=h.param(U.data,U.traditional)),qo(at,U,c,$e),R)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(q in U.headers)$e.setRequestHeader(q,U.headers[q]);if(U.beforeSend&&(U.beforeSend.call(te,$e,U)===!1||R))return $e.abort();if(Wn="abort",Te.add(U.complete),$e.done(U.success),$e.fail(U.error),d=qo(tt,U,c,$e),!d)Cr(-1,"No Transport");else{if($e.readyState=1,j&&fe.trigger("ajaxSend",[$e,U]),R)return $e;U.async&&U.timeout>0&&(w=t.setTimeout(function(){$e.abort("timeout")},U.timeout));try{R=!1,d.send(yt,Cr)}catch(je){if(R)throw je;Cr(-1,je)}}function Cr(je,rt,qi,Cs){var Cn,Zr,gn,lr,Dr,Xt=rt;R||(R=!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=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(Rt),Rt=void 0,j&&fe.trigger(Cn?"ajaxSuccess":"ajaxError",[$e,U,Cn?Zr:gn]),Te.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(A){return function(){c&&(c=d=w.onload=w.onerror=w.onabort=w.ontimeout=w.onreadystatechange=null,A==="abort"?w.abort():A==="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(A){if(c)throw A}},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,A=o.indexOf(" ");return A>-1&&(g=Sr(o.slice(A)),o=o.slice(0,A)),$(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(R){v=arguments,w.html(g?h("<div>").append(h.parseHTML(R)).find(g):R)}).always(d&&function(R,j){w.each(function(){d.apply(this,v||[R.responseText,j,R])})}),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,A,R,j,q=h.css(o,"position"),G=h(o),U={};q==="static"&&(o.style.position="relative"),A=G.offset(),v=h.css(o,"top"),R=h.css(o,"left"),j=(q==="absolute"||q==="fixed")&&(v+R).indexOf("auto")>-1,j?(g=G.position(),w=g.top,y=g.left):(w=parseFloat(v)||0,y=parseFloat(R)||0),$(c)&&(c=c.call(o,d,h.extend({},A))),c.top!=null&&(U.top=c.top-A.top+w),c.left!=null&&(U.left=c.left-A.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 A;if(J(y)?A=y:y.nodeType===9&&(A=y.defaultView),w===void 0)return A?A[c]:y[v];A?A.scrollTo(d?A.pageXOffset:w,d?w:A.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"),A=d||(y===!0||v===!0?"margin":"border");return fn(this,function(R,j,q){var G;return J(R)?g.indexOf("outer")===0?R["inner"+o]:R.document.documentElement["client"+o]:R.nodeType===9?(G=R.documentElement,Math.max(R.body["scroll"+o],G["scroll"+o],R.body["offset"+o],G["offset"+o],G["client"+o])):q===void 0?h.css(R,j,A):h.style(R,j,q,A)},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=J,h.camelCase=Lt,h.type=se,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})})(ey);var ty=ey.exports;const JI=D.getDefaultExportFromCjs(ty);var QI={exports:{}};const eA=D.getAugmentedNamespace(WD);/**
143
- * @version: 3.1
144
- * @author: Dan Grossman http://www.dangrossman.info/
145
- * @copyright: Copyright (c) 2012-2019 Dan Grossman. All rights reserved.
146
- * @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
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:eA;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 T,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);T=O=null,B.length==2?(T=t(B[0],this.locale.format),O=t(B[1],this.locale.format)):this.singleDatePicker&&z!==""&&(T=t(z,this.locale.format),O=t(z,this.locale.format)),T!==null&&O!==null&&(this.setStartDate(T),this.setEndDate(O))}if(typeof u.ranges=="object"){for(M in u.ranges){typeof u.ranges[M][0]=="string"?T=t(u.ranges[M][0],this.locale.format):T=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&&T.isBefore(this.minDate)&&(T=this.minDate.clone());var $=this.maxDate;if(this.maxSpan&&$&&T.clone().add(this.maxSpan).isAfter($)&&($=T.clone().add(this.maxSpan)),$&&O.isAfter($)&&(O=$.clone()),!(this.minDate&&O.isBefore(this.minDate,this.timepicker?"minute":"day")||$&&T.isAfter($,this.timepicker?"minute":"day"))){var m=document.createElement("textarea");m.innerHTML=M;var b=m.value;this.ranges[b]=[T,O]}}var J="<ul>";for(M in this.ranges)J+='<li data-range-key="'+M+'">'+M+"</li>";this.showCustomRangeLabel&&(J+='<li data-range-key="'+this.locale.customRangeLabel+'">'+this.locale.customRangeLabel+"</li>"),J+="</ul>",this.container.find(".ranges").prepend(J)}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(),T=t([f,u]).daysInMonth(),O=t([f,u,1]),M=t([f,u,T]),z=t(O).subtract(1,"month").month(),B=t(O).subtract(1,"month").year(),$=t([B,z]).daysInMonth(),J=O.day(),W=[];W.firstDay=O,W.lastDay=M;for(var ae=0;ae<6;ae++)W[ae]=[];var me=$-J+this.locale.firstDay+1;me>$&&(me-=7),J==this.locale.firstDay&&(me=$-6);for(var se=t([B,z,me,12,b,_]),ne,ie,ae=0,ne=0,ie=0;ae<42;ae++,ne++,se=t(se).add(24,"hour"))ae>0&&ne%7===0&&(ne=0,ie++),W[ie][ne]=se.clone().hour(m).minute(b).second(_),se.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,Ee=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=Ee&&Ee.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||Ee&&we<=Ee.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>",(!Ee||Ee.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");(!Ee||_t.isBefore(Ee))&&(Ee=_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"),Ee&&W[ie][ne].isAfter(Ee,"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,ae=0;ae<St.length;ae++)Vt+=St[ae]+" ",St[ae]=="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 T=_.find(".ampmselect option:selected").val();T==="PM"&&f.hour()<12&&f.hour(f.hour()+12),T==="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),J=!1;m&&$.minute(59).isBefore(m)&&(J=!0),b&&$.minute(0).isAfter(b)&&(J=!0),B==f.hour()&&!J?u+='<option value="'+z+'" selected="selected">'+z+"</option>":J?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),J=!1;m&&$.second(59).isBefore(m)&&(J=!0),b&&$.second(0).isAfter(b)&&(J=!0),f.minute()==z&&!J?u+='<option value="'+z+'" selected="selected">'+W+"</option>":J?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),J=!1;m&&$.isBefore(m)&&(J=!0),b&&$.isAfter(b)&&(J=!0),f.second()==z&&!J?u+='<option value="'+z+'" selected="selected">'+W+"</option>":J?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 ae="",me="";m&&f.clone().hour(12).minute(0).second(0).isBefore(m)&&(ae=' disabled="disabled" class="disabled"'),b&&f.clone().hour(0).minute(0).second(0).isAfter(b)&&(me=' disabled="disabled" class="disabled"'),f.hour()>=12?u+='<option value="AM"'+ae+'>AM</option><option value="PM" selected="selected"'+me+">PM</option>":u+='<option value="AM" selected="selected"'+ae+'>AM</option><option value="PM"'+me+">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 T=this.element.offset().left-a.left+this.element.outerWidth()/2-b/2;T<0?this.container.css({top:u,right:"auto",left:9}):T+b>n(window).width()?this.container.css({top:u,left:"auto",right:0}):this.container.css({top:u,left:T,right:"auto"})}else{var T=this.element.offset().left-a.left;T+b>n(window).width()?this.container.css({top:u,left:"auto",right:0}):this.container.css({top:u,left:T,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],T=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"),J=$.substr(1,1),W=$.substr(3,1),ae=n(B).parents(".drp-calendar"),me=ae.hasClass("left")?T.calendar[J][W]:O.calendar[J][W];me.isAfter(M)&&me.isBefore(_)||me.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 T=parseInt(this.container.find(".left .hourselect").val(),10);if(!this.timePicker24Hour){var O=this.container.find(".left .ampmselect").val();O==="PM"&&T<12&&(T+=12),O==="AM"&&T===12&&(T=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(T).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 T=parseInt(this.container.find(".right .hourselect").val(),10);if(!this.timePicker24Hour){var O=this.container.find(".right .ampmselect").val();O==="PM"&&T<12&&(T+=12),O==="AM"&&T===12&&(T=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(T).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 T=u.find(".ampmselect").val();T==="PM"&&m<12&&(m+=12),T==="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})})(QI);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 tA(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){tA(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=JI(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(HR,{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
- * @license
150
- * Copyright 2017 Google LLC
151
- *
152
- * Licensed under the Apache License, Version 2.0 (the "License");
153
- * you may not use this file except in compliance with the License.
154
- * You may obtain a copy of the License at
155
- *
156
- * http://www.apache.org/licenses/LICENSE-2.0
157
- *
158
- * Unless required by applicable law or agreed to in writing, software
159
- * distributed under the License is distributed on an "AS IS" BASIS,
160
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
161
- * See the License for the specific language governing permissions and
162
- * limitations under the License.
163
- *//**
164
- * @license
165
- * Copyright 2017 Google LLC
166
- *
167
- * Licensed under the Apache License, Version 2.0 (the "License");
168
- * you may not use this file except in compliance with the License.
169
- * You may obtain a copy of the License at
170
- *
171
- * http://www.apache.org/licenses/LICENSE-2.0
172
- *
173
- * Unless required by applicable law or agreed to in writing, software
174
- * distributed under the License is distributed on an "AS IS" BASIS,
175
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
176
- * See the License for the specific language governing permissions and
177
- * limitations under the License.
178
- */const ny=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},nA=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("")},rA={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,T=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[T],n[O],n[M],n[z])}return i.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(ny(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):nA(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 iA;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 iA extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const sA=function(e){const t=ny(e);return rA.encodeByteArray(t,!0)},ry=function(e){return sA(e).replace(/\./g,"")};function aA(){try{return typeof indexedDB=="object"}catch{return!1}}function oA(){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
- * @license
180
- * Copyright 2017 Google LLC
181
- *
182
- * Licensed under the Apache License, Version 2.0 (the "License");
183
- * you may not use this file except in compliance with the License.
184
- * You may obtain a copy of the License at
185
- *
186
- * http://www.apache.org/licenses/LICENSE-2.0
187
- *
188
- * Unless required by applicable law or agreed to in writing, software
189
- * distributed under the License is distributed on an "AS IS" BASIS,
190
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
191
- * See the License for the specific language governing permissions and
192
- * limitations under the License.
193
- */const uA="FirebaseError";class ia extends Error{constructor(t,n,i){super(n),this.code=t,this.customData=i,this.name=uA,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?lA(u,i):"Error",m=`${this.serviceName}: ${f} (${a}).`;return new ia(a,m,i)}}function lA(e,t){return e.replace(cA,(n,i)=>{const a=t[i];return a!=null?String(a):`<${i}?>`})}const cA=/\{\$([^}]+)}/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
- * @license
195
- * Copyright 2017 Google LLC
196
- *
197
- * Licensed under the Apache License, Version 2.0 (the "License");
198
- * you may not use this file except in compliance with the License.
199
- * You may obtain a copy of the License at
200
- *
201
- * http://www.apache.org/licenses/LICENSE-2.0
202
- *
203
- * Unless required by applicable law or agreed to in writing, software
204
- * distributed under the License is distributed on an "AS IS" BASIS,
205
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
206
- * See the License for the specific language governing permissions and
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 fA={debug:ct.DEBUG,verbose:ct.VERBOSE,info:ct.INFO,warn:ct.WARN,error:ct.ERROR,silent:ct.SILENT},dA=ct.INFO,hA={[ct.DEBUG]:"log",[ct.VERBOSE]:"log",[ct.INFO]:"info",[ct.WARN]:"warn",[ct.ERROR]:"error"},pA=(e,t,...n)=>{if(t<e.logLevel)return;const i=new Date().toISOString(),a=hA[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 gA{constructor(t){this.name=t,this._logLevel=dA,this._logHandler=pA,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"?fA[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 mA=(e,t)=>t.some(n=>e instanceof n);let Gg,Kg;function yA(){return Gg||(Gg=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function vA(){return Kg||(Kg=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const iy=new WeakMap,nd=new WeakMap,sy=new WeakMap,Ef=new WeakMap,Zd=new WeakMap;function bA(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&&iy.set(n,e)}).catch(()=>{}),Zd.set(t,e),t}function xA(e){if(nd.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)});nd.set(e,t)}let rd={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return nd.get(e);if(t==="objectStoreNames")return e.objectStoreNames||sy.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 wA(e){rd=e(rd)}function _A(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...n){const i=e.call(Mf(this),t,...n);return sy.set(i,t.sort?t.sort():[t]),pi(i)}:vA().includes(e)?function(...t){return e.apply(Mf(this),t),pi(iy.get(this))}:function(...t){return pi(e.apply(Mf(this),t))}}function SA(e){return typeof e=="function"?_A(e):(e instanceof IDBTransaction&&xA(e),mA(e,yA())?new Proxy(e,rd):e)}function pi(e){if(e instanceof IDBRequest)return bA(e);if(Ef.has(e))return Ef.get(e);const t=SA(e);return t!==e&&(Ef.set(e,t),Zd.set(t,e)),t}const Mf=e=>Zd.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 Rf(e,{blocked:t}={}){const n=indexedDB.deleteDatabase(e);return t&&n.addEventListener("blocked",i=>t(i.oldVersion,i)),pi(n).then(()=>{})}const kA=["get","getKey","getAll","getAllKeys","count"],CA=["put","add","delete","clear"],If=new Map;function Zg(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(If.get(t))return If.get(t);const n=t.replace(/FromIndex$/,""),i=t!==n,a=CA.includes(n);if(!(n in(i?IDBIndex:IDBObjectStore).prototype)||!(a||kA.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 If.set(t,u),u}wA(e=>({...e,get:(t,n,i)=>Zg(t,n)||e.get(t,n,i),has:(t,n)=>!!Zg(t,n)||e.has(t,n)}));/**
209
- * @license
210
- * Copyright 2019 Google LLC
211
- *
212
- * Licensed under the Apache License, Version 2.0 (the "License");
213
- * you may not use this file except in compliance with the License.
214
- * You may obtain a copy of the License at
215
- *
216
- * http://www.apache.org/licenses/LICENSE-2.0
217
- *
218
- * Unless required by applicable law or agreed to in writing, software
219
- * distributed under the License is distributed on an "AS IS" BASIS,
220
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
221
- * See the License for the specific language governing permissions and
222
- * limitations under the License.
223
- */class DA{constructor(t){this.container=t}getPlatformInfoString(){return this.container.getProviders().map(n=>{if(TA(n)){const i=n.getImmediate();return`${i.library}/${i.version}`}else return null}).filter(n=>n).join(" ")}}function TA(e){const t=e.getComponent();return(t==null?void 0:t.type)==="VERSION"}const id="@firebase/app",Xg="0.9.28";/**
224
- * @license
225
- * Copyright 2019 Google LLC
226
- *
227
- * Licensed under the Apache License, Version 2.0 (the "License");
228
- * you may not use this file except in compliance with the License.
229
- * You may obtain a copy of the License at
230
- *
231
- * http://www.apache.org/licenses/LICENSE-2.0
232
- *
233
- * Unless required by applicable law or agreed to in writing, software
234
- * distributed under the License is distributed on an "AS IS" BASIS,
235
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
236
- * See the License for the specific language governing permissions and
237
- * limitations under the License.
238
- */const fs=new gA("@firebase/app"),EA="@firebase/app-compat",MA="@firebase/analytics-compat",RA="@firebase/analytics",IA="@firebase/app-check-compat",AA="@firebase/app-check",OA="@firebase/auth",PA="@firebase/auth-compat",NA="@firebase/database",LA="@firebase/database-compat",FA="@firebase/functions",$A="@firebase/functions-compat",jA="@firebase/installations",BA="@firebase/installations-compat",YA="@firebase/messaging",WA="@firebase/messaging-compat",HA="@firebase/performance",UA="@firebase/performance-compat",zA="@firebase/remote-config",VA="@firebase/remote-config-compat",qA="@firebase/storage",GA="@firebase/storage-compat",KA="@firebase/firestore",ZA="@firebase/firestore-compat",XA="firebase",JA={[id]:"fire-core",[EA]:"fire-core-compat",[RA]:"fire-analytics",[MA]:"fire-analytics-compat",[AA]:"fire-app-check",[IA]:"fire-app-check-compat",[OA]:"fire-auth",[PA]:"fire-auth-compat",[NA]:"fire-rtdb",[LA]:"fire-rtdb-compat",[FA]:"fire-fn",[$A]:"fire-fn-compat",[jA]:"fire-iid",[BA]:"fire-iid-compat",[YA]:"fire-fcm",[WA]:"fire-fcm-compat",[HA]:"fire-perf",[UA]:"fire-perf-compat",[zA]:"fire-rc",[VA]:"fire-rc-compat",[qA]:"fire-gcs",[GA]:"fire-gcs-compat",[KA]:"fire-fst",[ZA]:"fire-fst-compat","fire-js":"fire-js",[XA]:"fire-js-all"};/**
239
- * @license
240
- * Copyright 2019 Google LLC
241
- *
242
- * Licensed under the Apache License, Version 2.0 (the "License");
243
- * you may not use this file except in compliance with the License.
244
- * You may obtain a copy of the License at
245
- *
246
- * http://www.apache.org/licenses/LICENSE-2.0
247
- *
248
- * Unless required by applicable law or agreed to in writing, software
249
- * distributed under the License is distributed on an "AS IS" BASIS,
250
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
251
- * See the License for the specific language governing permissions and
252
- * limitations under the License.
253
- */const QA=new Map,Jg=new Map;function eO(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(Jg.has(t))return fs.debug(`There were multiple attempts to register component ${t}.`),!1;Jg.set(t,e);for(const n of QA.values())eO(n,e);return!0}function ay(e,t){const n=e.container.getProvider("heartbeat").getImmediate({optional:!0});return n&&n.triggerHeartbeat(),e.container.getProvider(t)}/**
254
- * @license
255
- * Copyright 2019 Google LLC
256
- *
257
- * Licensed under the Apache License, Version 2.0 (the "License");
258
- * you may not use this file except in compliance with the License.
259
- * You may obtain a copy of the License at
260
- *
261
- * http://www.apache.org/licenses/LICENSE-2.0
262
- *
263
- * Unless required by applicable law or agreed to in writing, software
264
- * distributed under the License is distributed on an "AS IS" BASIS,
265
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
266
- * See the License for the specific language governing permissions and
267
- * limitations under the License.
268
- */const tO={"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}."},Xd=new Ql("app","Firebase",tO);function Yi(e,t,n){var i;let a=(i=JA[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
- * @license
270
- * Copyright 2021 Google LLC
271
- *
272
- * Licensed under the Apache License, Version 2.0 (the "License");
273
- * you may not use this file except in compliance with the License.
274
- * You may obtain a copy of the License at
275
- *
276
- * http://www.apache.org/licenses/LICENSE-2.0
277
- *
278
- * Unless required by applicable law or agreed to in writing, software
279
- * distributed under the License is distributed on an "AS IS" BASIS,
280
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
281
- * See the License for the specific language governing permissions and
282
- * limitations under the License.
283
- */const nO="firebase-heartbeat-database",rO=1,co="firebase-heartbeat-store";let Af=null;function oy(){return Af||(Af=ec(nO,rO,{upgrade:(e,t)=>{switch(t){case 0:try{e.createObjectStore(co)}catch(n){console.warn(n)}}}}).catch(e=>{throw Xd.create("idb-open",{originalErrorMessage:e.message})})),Af}async function iO(e){try{const n=(await oy()).transaction(co),i=await n.objectStore(co).get(uy(e));return await n.done,i}catch(t){if(t instanceof ia)fs.warn(t.message);else{const n=Xd.create("idb-get",{originalErrorMessage:t==null?void 0:t.message});fs.warn(n.message)}}}async function Qg(e,t){try{const i=(await oy()).transaction(co,"readwrite");await i.objectStore(co).put(t,uy(e)),await i.done}catch(n){if(n instanceof ia)fs.warn(n.message);else{const i=Xd.create("idb-set",{originalErrorMessage:n==null?void 0:n.message});fs.warn(i.message)}}}function uy(e){return`${e.name}!${e.options.appId}`}/**
284
- * @license
285
- * Copyright 2021 Google LLC
286
- *
287
- * Licensed under the Apache License, Version 2.0 (the "License");
288
- * you may not use this file except in compliance with the License.
289
- * You may obtain a copy of the License at
290
- *
291
- * http://www.apache.org/licenses/LICENSE-2.0
292
- *
293
- * Unless required by applicable law or agreed to in writing, software
294
- * distributed under the License is distributed on an "AS IS" BASIS,
295
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
296
- * See the License for the specific language governing permissions and
297
- * limitations under the License.
298
- */const sO=1024,aO=30*24*60*60*1e3;class oO{constructor(t){this.container=t,this._heartbeatsCache=null;const n=this.container.getProvider("app").getImmediate();this._storage=new lO(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=em();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<=aO}),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=em(),{heartbeatsToSend:i,unsentEntries:a}=uO(this._heartbeatsCache.heartbeats),u=ry(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 em(){return new Date().toISOString().substring(0,10)}function uO(e,t=sO){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),tm(n)>t){u.dates.pop();break}}else if(n.push({agent:a.agent,dates:[a.date]}),tm(n)>t){n.pop();break}i=i.slice(1)}return{heartbeatsToSend:n,unsentEntries:i}}class lO{constructor(t){this.app=t,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return aA()?oA().then(()=>!0).catch(()=>!1):!1}async read(){if(await this._canUseIndexedDBPromise){const n=await iO(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 Qg(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 Qg(this.app,{lastSentHeartbeatDate:(n=t.lastSentHeartbeatDate)!==null&&n!==void 0?n:a.lastSentHeartbeatDate,heartbeats:[...a.heartbeats,...t.heartbeats]})}else return}}function tm(e){return ry(JSON.stringify({version:2,heartbeats:e})).length}/**
299
- * @license
300
- * Copyright 2019 Google LLC
301
- *
302
- * Licensed under the Apache License, Version 2.0 (the "License");
303
- * you may not use this file except in compliance with the License.
304
- * You may obtain a copy of the License at
305
- *
306
- * http://www.apache.org/licenses/LICENSE-2.0
307
- *
308
- * Unless required by applicable law or agreed to in writing, software
309
- * distributed under the License is distributed on an "AS IS" BASIS,
310
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
311
- * See the License for the specific language governing permissions and
312
- * limitations under the License.
313
- */function cO(e){ds(new cs("platform-logger",t=>new DA(t),"PRIVATE")),ds(new cs("heartbeat",t=>new oO(t),"PRIVATE")),Yi(id,Xg,e),Yi(id,Xg,"esm2017"),Yi("fire-js","")}cO("");var fO="firebase",dO="10.8.1";/**
314
- * @license
315
- * Copyright 2020 Google LLC
316
- *
317
- * Licensed under the Apache License, Version 2.0 (the "License");
318
- * you may not use this file except in compliance with the License.
319
- * You may obtain a copy of the License at
320
- *
321
- * http://www.apache.org/licenses/LICENSE-2.0
322
- *
323
- * Unless required by applicable law or agreed to in writing, software
324
- * distributed under the License is distributed on an "AS IS" BASIS,
325
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
326
- * See the License for the specific language governing permissions and
327
- * limitations under the License.
328
- */Yi(fO,dO,"app");const ly="@firebase/installations",Jd="0.6.5";/**
329
- * @license
330
- * Copyright 2019 Google LLC
331
- *
332
- * Licensed under the Apache License, Version 2.0 (the "License");
333
- * you may not use this file except in compliance with the License.
334
- * You may obtain a copy of the License at
335
- *
336
- * http://www.apache.org/licenses/LICENSE-2.0
337
- *
338
- * Unless required by applicable law or agreed to in writing, software
339
- * distributed under the License is distributed on an "AS IS" BASIS,
340
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
341
- * See the License for the specific language governing permissions and
342
- * limitations under the License.
343
- */const cy=1e4,fy=`w:${Jd}`,dy="FIS_v2",hO="https://firebaseinstallations.googleapis.com/v1",pO=60*60*1e3,gO="installations",mO="Installations";/**
344
- * @license
345
- * Copyright 2019 Google LLC
346
- *
347
- * Licensed under the Apache License, Version 2.0 (the "License");
348
- * you may not use this file except in compliance with the License.
349
- * You may obtain a copy of the License at
350
- *
351
- * http://www.apache.org/licenses/LICENSE-2.0
352
- *
353
- * Unless required by applicable law or agreed to in writing, software
354
- * distributed under the License is distributed on an "AS IS" BASIS,
355
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
356
- * See the License for the specific language governing permissions and
357
- * limitations under the License.
358
- */const yO={"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(gO,mO,yO);function hy(e){return e instanceof ia&&e.code.includes("request-failed")}/**
359
- * @license
360
- * Copyright 2019 Google LLC
361
- *
362
- * Licensed under the Apache License, Version 2.0 (the "License");
363
- * you may not use this file except in compliance with the License.
364
- * You may obtain a copy of the License at
365
- *
366
- * http://www.apache.org/licenses/LICENSE-2.0
367
- *
368
- * Unless required by applicable law or agreed to in writing, software
369
- * distributed under the License is distributed on an "AS IS" BASIS,
370
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
371
- * See the License for the specific language governing permissions and
372
- * limitations under the License.
373
- */function py({projectId:e}){return`${hO}/projects/${e}/installations`}function gy(e){return{token:e.token,requestStatus:2,expiresIn:bO(e.expiresIn),creationTime:Date.now()}}async function my(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 yy({apiKey:e}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e})}function vO(e,{refreshToken:t}){const n=yy(e);return n.append("Authorization",xO(t)),n}async function vy(e){const t=await e();return t.status>=500&&t.status<600?e():t}function bO(e){return Number(e.replace("s","000"))}function xO(e){return`${dy} ${e}`}/**
374
- * @license
375
- * Copyright 2019 Google LLC
376
- *
377
- * Licensed under the Apache License, Version 2.0 (the "License");
378
- * you may not use this file except in compliance with the License.
379
- * You may obtain a copy of the License at
380
- *
381
- * http://www.apache.org/licenses/LICENSE-2.0
382
- *
383
- * Unless required by applicable law or agreed to in writing, software
384
- * distributed under the License is distributed on an "AS IS" BASIS,
385
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
386
- * See the License for the specific language governing permissions and
387
- * limitations under the License.
388
- */async function wO({appConfig:e,heartbeatServiceProvider:t},{fid:n}){const i=py(e),a=yy(e),u=t.getImmediate({optional:!0});if(u){const _=await u.getHeartbeatsHeader();_&&a.append("x-firebase-client",_)}const f={fid:n,authVersion:dy,appId:e.appId,sdkVersion:fy},m={method:"POST",headers:a,body:JSON.stringify(f)},b=await vy(()=>fetch(i,m));if(b.ok){const _=await b.json();return{fid:_.fid||n,registrationStatus:2,refreshToken:_.refreshToken,authToken:gy(_.authToken)}}else throw await my("Create Installation",b)}/**
389
- * @license
390
- * Copyright 2019 Google LLC
391
- *
392
- * Licensed under the Apache License, Version 2.0 (the "License");
393
- * you may not use this file except in compliance with the License.
394
- * You may obtain a copy of the License at
395
- *
396
- * http://www.apache.org/licenses/LICENSE-2.0
397
- *
398
- * Unless required by applicable law or agreed to in writing, software
399
- * distributed under the License is distributed on an "AS IS" BASIS,
400
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
401
- * See the License for the specific language governing permissions and
402
- * limitations under the License.
403
- */function by(e){return new Promise(t=>{setTimeout(t,e)})}/**
404
- * @license
405
- * Copyright 2019 Google LLC
406
- *
407
- * Licensed under the Apache License, Version 2.0 (the "License");
408
- * you may not use this file except in compliance with the License.
409
- * You may obtain a copy of the License at
410
- *
411
- * http://www.apache.org/licenses/LICENSE-2.0
412
- *
413
- * Unless required by applicable law or agreed to in writing, software
414
- * distributed under the License is distributed on an "AS IS" BASIS,
415
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
416
- * See the License for the specific language governing permissions and
417
- * limitations under the License.
418
- */function _O(e){return btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_")}/**
419
- * @license
420
- * Copyright 2019 Google LLC
421
- *
422
- * Licensed under the Apache License, Version 2.0 (the "License");
423
- * you may not use this file except in compliance with the License.
424
- * You may obtain a copy of the License at
425
- *
426
- * http://www.apache.org/licenses/LICENSE-2.0
427
- *
428
- * Unless required by applicable law or agreed to in writing, software
429
- * distributed under the License is distributed on an "AS IS" BASIS,
430
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
431
- * See the License for the specific language governing permissions and
432
- * limitations under the License.
433
- */const SO=/^[cdef][\w-]{21}$/,sd="";function kO(){try{const e=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(e),e[0]=112+e[0]%16;const n=CO(e);return SO.test(n)?n:sd}catch{return sd}}function CO(e){return _O(e).substr(0,22)}/**
434
- * @license
435
- * Copyright 2019 Google LLC
436
- *
437
- * Licensed under the Apache License, Version 2.0 (the "License");
438
- * you may not use this file except in compliance with the License.
439
- * You may obtain a copy of the License at
440
- *
441
- * http://www.apache.org/licenses/LICENSE-2.0
442
- *
443
- * Unless required by applicable law or agreed to in writing, software
444
- * distributed under the License is distributed on an "AS IS" BASIS,
445
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
446
- * See the License for the specific language governing permissions and
447
- * limitations under the License.
448
- */function tc(e){return`${e.appName}!${e.appId}`}/**
449
- * @license
450
- * Copyright 2019 Google LLC
451
- *
452
- * Licensed under the Apache License, Version 2.0 (the "License");
453
- * you may not use this file except in compliance with the License.
454
- * You may obtain a copy of the License at
455
- *
456
- * http://www.apache.org/licenses/LICENSE-2.0
457
- *
458
- * Unless required by applicable law or agreed to in writing, software
459
- * distributed under the License is distributed on an "AS IS" BASIS,
460
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
461
- * See the License for the specific language governing permissions and
462
- * limitations under the License.
463
- */const xy=new Map;function wy(e,t){const n=tc(e);_y(n,t),DO(n,t)}function _y(e,t){const n=xy.get(e);if(n)for(const i of n)i(t)}function DO(e,t){const n=TO();n&&n.postMessage({key:e,fid:t}),EO()}let us=null;function TO(){return!us&&"BroadcastChannel"in self&&(us=new BroadcastChannel("[Firebase] FID Change"),us.onmessage=e=>{_y(e.data.key,e.data.fid)}),us}function EO(){xy.size===0&&us&&(us.close(),us=null)}/**
464
- * @license
465
- * Copyright 2019 Google LLC
466
- *
467
- * Licensed under the Apache License, Version 2.0 (the "License");
468
- * you may not use this file except in compliance with the License.
469
- * You may obtain a copy of the License at
470
- *
471
- * http://www.apache.org/licenses/LICENSE-2.0
472
- *
473
- * Unless required by applicable law or agreed to in writing, software
474
- * distributed under the License is distributed on an "AS IS" BASIS,
475
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
476
- * See the License for the specific language governing permissions and
477
- * limitations under the License.
478
- */const MO="firebase-installations-database",RO=1,ps="firebase-installations-store";let Of=null;function Qd(){return Of||(Of=ec(MO,RO,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore(ps)}}})),Of}async function il(e,t){const n=tc(e),a=(await Qd()).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)&&wy(e,t.fid),t}async function Sy(e){const t=tc(e),i=(await Qd()).transaction(ps,"readwrite");await i.objectStore(ps).delete(t),await i.done}async function nc(e,t){const n=tc(e),a=(await Qd()).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)&&wy(e,m.fid),m}/**
479
- * @license
480
- * Copyright 2019 Google LLC
481
- *
482
- * Licensed under the Apache License, Version 2.0 (the "License");
483
- * you may not use this file except in compliance with the License.
484
- * You may obtain a copy of the License at
485
- *
486
- * http://www.apache.org/licenses/LICENSE-2.0
487
- *
488
- * Unless required by applicable law or agreed to in writing, software
489
- * distributed under the License is distributed on an "AS IS" BASIS,
490
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
491
- * See the License for the specific language governing permissions and
492
- * limitations under the License.
493
- */async function eh(e){let t;const n=await nc(e.appConfig,i=>{const a=IO(i),u=AO(e,a);return t=u.registrationPromise,u.installationEntry});return n.fid===sd?{installationEntry:await t}:{installationEntry:n,registrationPromise:t}}function IO(e){const t=e||{fid:kO(),registrationStatus:0};return ky(t)}function AO(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=OO(e,n);return{installationEntry:n,registrationPromise:i}}else return t.registrationStatus===1?{installationEntry:t,registrationPromise:PO(e)}:{installationEntry:t}}async function OO(e,t){try{const n=await wO(e,t);return il(e.appConfig,n)}catch(n){throw hy(n)&&n.customData.serverCode===409?await Sy(e.appConfig):await il(e.appConfig,{fid:t.fid,registrationStatus:0}),n}}async function PO(e){let t=await nm(e.appConfig);for(;t.registrationStatus===1;)await by(100),t=await nm(e.appConfig);if(t.registrationStatus===0){const{installationEntry:n,registrationPromise:i}=await eh(e);return i||n}return t}function nm(e){return nc(e,t=>{if(!t)throw hs.create("installation-not-found");return ky(t)})}function ky(e){return NO(e)?{fid:e.fid,registrationStatus:0}:e}function NO(e){return e.registrationStatus===1&&e.registrationTime+cy<Date.now()}/**
494
- * @license
495
- * Copyright 2019 Google LLC
496
- *
497
- * Licensed under the Apache License, Version 2.0 (the "License");
498
- * you may not use this file except in compliance with the License.
499
- * You may obtain a copy of the License at
500
- *
501
- * http://www.apache.org/licenses/LICENSE-2.0
502
- *
503
- * Unless required by applicable law or agreed to in writing, software
504
- * distributed under the License is distributed on an "AS IS" BASIS,
505
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
506
- * See the License for the specific language governing permissions and
507
- * limitations under the License.
508
- */async function LO({appConfig:e,heartbeatServiceProvider:t},n){const i=FO(e,n),a=vO(e,n),u=t.getImmediate({optional:!0});if(u){const _=await u.getHeartbeatsHeader();_&&a.append("x-firebase-client",_)}const f={installation:{sdkVersion:fy,appId:e.appId}},m={method:"POST",headers:a,body:JSON.stringify(f)},b=await vy(()=>fetch(i,m));if(b.ok){const _=await b.json();return gy(_)}else throw await my("Generate Auth Token",b)}function FO(e,{fid:t}){return`${py(e)}/${t}/authTokens:generate`}/**
509
- * @license
510
- * Copyright 2019 Google LLC
511
- *
512
- * Licensed under the Apache License, Version 2.0 (the "License");
513
- * you may not use this file except in compliance with the License.
514
- * You may obtain a copy of the License at
515
- *
516
- * http://www.apache.org/licenses/LICENSE-2.0
517
- *
518
- * Unless required by applicable law or agreed to in writing, software
519
- * distributed under the License is distributed on an "AS IS" BASIS,
520
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
521
- * See the License for the specific language governing permissions and
522
- * limitations under the License.
523
- */async function th(e,t=!1){let n;const i=await nc(e.appConfig,u=>{if(!Cy(u))throw hs.create("not-registered");const f=u.authToken;if(!t&&BO(f))return u;if(f.requestStatus===1)return n=$O(e,t),u;{if(!navigator.onLine)throw hs.create("app-offline");const m=WO(u);return n=jO(e,m),m}});return n?await n:i.authToken}async function $O(e,t){let n=await rm(e.appConfig);for(;n.authToken.requestStatus===1;)await by(100),n=await rm(e.appConfig);const i=n.authToken;return i.requestStatus===0?th(e,t):i}function rm(e){return nc(e,t=>{if(!Cy(t))throw hs.create("not-registered");const n=t.authToken;return HO(n)?Object.assign(Object.assign({},t),{authToken:{requestStatus:0}}):t})}async function jO(e,t){try{const n=await LO(e,t),i=Object.assign(Object.assign({},t),{authToken:n});return await il(e.appConfig,i),n}catch(n){if(hy(n)&&(n.customData.serverCode===401||n.customData.serverCode===404))await Sy(e.appConfig);else{const i=Object.assign(Object.assign({},t),{authToken:{requestStatus:0}});await il(e.appConfig,i)}throw n}}function Cy(e){return e!==void 0&&e.registrationStatus===2}function BO(e){return e.requestStatus===2&&!YO(e)}function YO(e){const t=Date.now();return t<e.creationTime||e.creationTime+e.expiresIn<t+pO}function WO(e){const t={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},e),{authToken:t})}function HO(e){return e.requestStatus===1&&e.requestTime+cy<Date.now()}/**
524
- * @license
525
- * Copyright 2019 Google LLC
526
- *
527
- * Licensed under the Apache License, Version 2.0 (the "License");
528
- * you may not use this file except in compliance with the License.
529
- * You may obtain a copy of the License at
530
- *
531
- * http://www.apache.org/licenses/LICENSE-2.0
532
- *
533
- * Unless required by applicable law or agreed to in writing, software
534
- * distributed under the License is distributed on an "AS IS" BASIS,
535
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
536
- * See the License for the specific language governing permissions and
537
- * limitations under the License.
538
- */async function UO(e){const t=e,{installationEntry:n,registrationPromise:i}=await eh(t);return i?i.catch(console.error):th(t).catch(console.error),n.fid}/**
539
- * @license
540
- * Copyright 2019 Google LLC
541
- *
542
- * Licensed under the Apache License, Version 2.0 (the "License");
543
- * you may not use this file except in compliance with the License.
544
- * You may obtain a copy of the License at
545
- *
546
- * http://www.apache.org/licenses/LICENSE-2.0
547
- *
548
- * Unless required by applicable law or agreed to in writing, software
549
- * distributed under the License is distributed on an "AS IS" BASIS,
550
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
551
- * See the License for the specific language governing permissions and
552
- * limitations under the License.
553
- */async function zO(e,t=!1){const n=e;return await VO(n),(await th(n,t)).token}async function VO(e){const{registrationPromise:t}=await eh(e);t&&await t}/**
554
- * @license
555
- * Copyright 2019 Google LLC
556
- *
557
- * Licensed under the Apache License, Version 2.0 (the "License");
558
- * you may not use this file except in compliance with the License.
559
- * You may obtain a copy of the License at
560
- *
561
- * http://www.apache.org/licenses/LICENSE-2.0
562
- *
563
- * Unless required by applicable law or agreed to in writing, software
564
- * distributed under the License is distributed on an "AS IS" BASIS,
565
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
566
- * See the License for the specific language governing permissions and
567
- * limitations under the License.
568
- */function qO(e){if(!e||!e.options)throw Pf("App Configuration");if(!e.name)throw Pf("App Name");const t=["projectId","apiKey","appId"];for(const n of t)if(!e.options[n])throw Pf(n);return{appName:e.name,projectId:e.options.projectId,apiKey:e.options.apiKey,appId:e.options.appId}}function Pf(e){return hs.create("missing-app-config-values",{valueName:e})}/**
569
- * @license
570
- * Copyright 2020 Google LLC
571
- *
572
- * Licensed under the Apache License, Version 2.0 (the "License");
573
- * you may not use this file except in compliance with the License.
574
- * You may obtain a copy of the License at
575
- *
576
- * http://www.apache.org/licenses/LICENSE-2.0
577
- *
578
- * Unless required by applicable law or agreed to in writing, software
579
- * distributed under the License is distributed on an "AS IS" BASIS,
580
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
581
- * See the License for the specific language governing permissions and
582
- * limitations under the License.
583
- */const Dy="installations",GO="installations-internal",KO=e=>{const t=e.getProvider("app").getImmediate(),n=qO(t),i=ay(t,"heartbeat");return{app:t,appConfig:n,heartbeatServiceProvider:i,_delete:()=>Promise.resolve()}},ZO=e=>{const t=e.getProvider("app").getImmediate(),n=ay(t,Dy).getImmediate();return{getId:()=>UO(n),getToken:a=>zO(n,a)}};function XO(){ds(new cs(Dy,KO,"PUBLIC")),ds(new cs(GO,ZO,"PRIVATE"))}XO();Yi(ly,Jd);Yi(ly,Jd,"esm2017");/**
584
- * @license
585
- * Copyright 2019 Google LLC
586
- *
587
- * Licensed under the Apache License, Version 2.0 (the "License");
588
- * you may not use this file except in compliance with the License.
589
- * You may obtain a copy of the License at
590
- *
591
- * http://www.apache.org/licenses/LICENSE-2.0
592
- *
593
- * Unless required by applicable law or agreed to in writing, software
594
- * distributed under the License is distributed on an "AS IS" BASIS,
595
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
596
- * See the License for the specific language governing permissions and
597
- * limitations under the License.
598
- */const JO="/firebase-messaging-sw.js",QO="/firebase-cloud-messaging-push-scope",Ty="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",eP="https://fcmregistrations.googleapis.com/v1",Ey="google.c.a.c_id",tP="google.c.a.c_l",nP="google.c.a.ts",rP="google.c.a.e";var im;(function(e){e[e.DATA_MESSAGE=1]="DATA_MESSAGE",e[e.DISPLAY_NOTIFICATION=3]="DISPLAY_NOTIFICATION"})(im||(im={}));/**
599
- * @license
600
- * Copyright 2018 Google LLC
601
- *
602
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
603
- * in compliance with the License. You may obtain a copy of the License at
604
- *
605
- * http://www.apache.org/licenses/LICENSE-2.0
606
- *
607
- * Unless required by applicable law or agreed to in writing, software distributed under the License
608
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
609
- * or implied. See the License for the specific language governing permissions and limitations under
610
- * the License.
611
- */var fo;(function(e){e.PUSH_RECEIVED="push-received",e.NOTIFICATION_CLICKED="notification-clicked"})(fo||(fo={}));/**
612
- * @license
613
- * Copyright 2017 Google LLC
614
- *
615
- * Licensed under the Apache License, Version 2.0 (the "License");
616
- * you may not use this file except in compliance with the License.
617
- * You may obtain a copy of the License at
618
- *
619
- * http://www.apache.org/licenses/LICENSE-2.0
620
- *
621
- * Unless required by applicable law or agreed to in writing, software
622
- * distributed under the License is distributed on an "AS IS" BASIS,
623
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
624
- * See the License for the specific language governing permissions and
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 iP(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
- * @license
628
- * Copyright 2019 Google LLC
629
- *
630
- * Licensed under the Apache License, Version 2.0 (the "License");
631
- * you may not use this file except in compliance with the License.
632
- * You may obtain a copy of the License at
633
- *
634
- * http://www.apache.org/licenses/LICENSE-2.0
635
- *
636
- * Unless required by applicable law or agreed to in writing, software
637
- * distributed under the License is distributed on an "AS IS" BASIS,
638
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
639
- * See the License for the specific language governing permissions and
640
- * limitations under the License.
641
- */const Nf="fcm_token_details_db",sP=5,sm="fcm_token_object_Store";async function aP(e){if("databases"in indexedDB&&!(await indexedDB.databases()).map(u=>u.name).includes(Nf))return null;let t=null;return(await ec(Nf,sP,{upgrade:async(i,a,u,f)=>{var m;if(a<2||!i.objectStoreNames.contains(sm))return;const b=f.objectStore(sm),_=await b.index("fcmSenderId").get(e);if(await b.clear(),!!_){if(a===2){const T=_;if(!T.auth||!T.p256dh||!T.endpoint)return;t={token:T.fcmToken,createTime:(m=T.createTime)!==null&&m!==void 0?m:Date.now(),subscriptionOptions:{auth:T.auth,p256dh:T.p256dh,endpoint:T.endpoint,swScope:T.swScope,vapidKey:typeof T.vapidKey=="string"?T.vapidKey:li(T.vapidKey)}}}else if(a===3){const T=_;t={token:T.fcmToken,createTime:T.createTime,subscriptionOptions:{auth:li(T.auth),p256dh:li(T.p256dh),endpoint:T.endpoint,swScope:T.swScope,vapidKey:li(T.vapidKey)}}}else if(a===4){const T=_;t={token:T.fcmToken,createTime:T.createTime,subscriptionOptions:{auth:li(T.auth),p256dh:li(T.p256dh),endpoint:T.endpoint,swScope:T.swScope,vapidKey:li(T.vapidKey)}}}}}})).close(),await Rf(Nf),await Rf("fcm_vapid_details_db"),await Rf("undefined"),oP(t)?t:null}function oP(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
- * @license
643
- * Copyright 2019 Google LLC
644
- *
645
- * Licensed under the Apache License, Version 2.0 (the "License");
646
- * you may not use this file except in compliance with the License.
647
- * You may obtain a copy of the License at
648
- *
649
- * http://www.apache.org/licenses/LICENSE-2.0
650
- *
651
- * Unless required by applicable law or agreed to in writing, software
652
- * distributed under the License is distributed on an "AS IS" BASIS,
653
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
654
- * See the License for the specific language governing permissions and
655
- * limitations under the License.
656
- */const uP="firebase-messaging-database",lP=1,gs="firebase-messaging-store";let Lf=null;function nh(){return Lf||(Lf=ec(uP,lP,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore(gs)}}})),Lf}async function My(e){const t=ih(e),i=await(await nh()).transaction(gs).objectStore(gs).get(t);if(i)return i;{const a=await aP(e.appConfig.senderId);if(a)return await rh(e,a),a}}async function rh(e,t){const n=ih(e),a=(await nh()).transaction(gs,"readwrite");return await a.objectStore(gs).put(t,n),await a.done,t}async function cP(e){const t=ih(e),i=(await nh()).transaction(gs,"readwrite");await i.objectStore(gs).delete(t),await i.done}function ih({appConfig:e}){return e.appId}/**
657
- * @license
658
- * Copyright 2017 Google LLC
659
- *
660
- * Licensed under the Apache License, Version 2.0 (the "License");
661
- * you may not use this file except in compliance with the License.
662
- * You may obtain a copy of the License at
663
- *
664
- * http://www.apache.org/licenses/LICENSE-2.0
665
- *
666
- * Unless required by applicable law or agreed to in writing, software
667
- * distributed under the License is distributed on an "AS IS" BASIS,
668
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
669
- * See the License for the specific language governing permissions and
670
- * limitations under the License.
671
- */const fP={"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",fP);/**
672
- * @license
673
- * Copyright 2019 Google LLC
674
- *
675
- * Licensed under the Apache License, Version 2.0 (the "License");
676
- * you may not use this file except in compliance with the License.
677
- * You may obtain a copy of the License at
678
- *
679
- * http://www.apache.org/licenses/LICENSE-2.0
680
- *
681
- * Unless required by applicable law or agreed to in writing, software
682
- * distributed under the License is distributed on an "AS IS" BASIS,
683
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
684
- * See the License for the specific language governing permissions and
685
- * limitations under the License.
686
- */async function dP(e,t){const n=await ah(e),i=Iy(t),a={method:"POST",headers:n,body:JSON.stringify(i)};let u;try{u=await(await fetch(sh(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 hP(e,t){const n=await ah(e),i=Iy(t.subscriptionOptions),a={method:"PATCH",headers:n,body:JSON.stringify(i)};let u;try{u=await(await fetch(`${sh(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 Ry(e,t){const i={method:"DELETE",headers:await ah(e)};try{const u=await(await fetch(`${sh(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 sh({projectId:e}){return`${eP}/projects/${e}/registrations`}async function ah({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 Iy({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
- * @license
688
- * Copyright 2019 Google LLC
689
- *
690
- * Licensed under the Apache License, Version 2.0 (the "License");
691
- * you may not use this file except in compliance with the License.
692
- * You may obtain a copy of the License at
693
- *
694
- * http://www.apache.org/licenses/LICENSE-2.0
695
- *
696
- * Unless required by applicable law or agreed to in writing, software
697
- * distributed under the License is distributed on an "AS IS" BASIS,
698
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
699
- * See the License for the specific language governing permissions and
700
- * limitations under the License.
701
- */const pP=7*24*60*60*1e3;async function gP(e){const t=await vP(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 My(e.firebaseDependencies);if(i){if(bP(i.subscriptionOptions,n))return Date.now()>=i.createTime+pP?yP(e,{token:i.token,createTime:Date.now(),subscriptionOptions:n}):i.token;try{await Ry(e.firebaseDependencies,i.token)}catch(a){console.warn(a)}return am(e.firebaseDependencies,n)}else return am(e.firebaseDependencies,n)}async function mP(e){const t=await My(e.firebaseDependencies);t&&(await Ry(e.firebaseDependencies,t.token),await cP(e.firebaseDependencies));const n=await e.swRegistration.pushManager.getSubscription();return n?n.unsubscribe():!0}async function yP(e,t){try{const n=await hP(e.firebaseDependencies,t),i=Object.assign(Object.assign({},t),{token:n,createTime:Date.now()});return await rh(e.firebaseDependencies,i),n}catch(n){throw await mP(e),n}}async function am(e,t){const i={token:await dP(e,t),createTime:Date.now(),subscriptionOptions:t};return await rh(e,i),i.token}async function vP(e,t){const n=await e.pushManager.getSubscription();return n||e.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:iP(t)})}function bP(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
- * @license
703
- * Copyright 2020 Google LLC
704
- *
705
- * Licensed under the Apache License, Version 2.0 (the "License");
706
- * you may not use this file except in compliance with the License.
707
- * You may obtain a copy of the License at
708
- *
709
- * http://www.apache.org/licenses/LICENSE-2.0
710
- *
711
- * Unless required by applicable law or agreed to in writing, software
712
- * distributed under the License is distributed on an "AS IS" BASIS,
713
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
714
- * See the License for the specific language governing permissions and
715
- * limitations under the License.
716
- */function om(e){const t={from:e.from,collapseKey:e.collapse_key,messageId:e.fcmMessageId};return xP(t,e),wP(t,e),_P(t,e),t}function xP(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 wP(e,t){t.data&&(e.data=t.data)}function _P(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
- * @license
718
- * Copyright 2019 Google LLC
719
- *
720
- * Licensed under the Apache License, Version 2.0 (the "License");
721
- * you may not use this file except in compliance with the License.
722
- * You may obtain a copy of the License at
723
- *
724
- * http://www.apache.org/licenses/LICENSE-2.0
725
- *
726
- * Unless required by applicable law or agreed to in writing, software
727
- * distributed under the License is distributed on an "AS IS" BASIS,
728
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
729
- * See the License for the specific language governing permissions and
730
- * limitations under the License.
731
- */function SP(e){return typeof e=="object"&&!!e&&Ey in e}/**
732
- * @license
733
- * Copyright 2019 Google LLC
734
- *
735
- * Licensed under the Apache License, Version 2.0 (the "License");
736
- * you may not use this file except in compliance with the License.
737
- * You may obtain a copy of the License at
738
- *
739
- * http://www.apache.org/licenses/LICENSE-2.0
740
- *
741
- * Unless required by applicable law or agreed to in writing, software
742
- * distributed under the License is distributed on an "AS IS" BASIS,
743
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
744
- * See the License for the specific language governing permissions and
745
- * limitations under the License.
746
- */Ay("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o");Ay("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");function Ay(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
- * @license
748
- * Copyright 2019 Google LLC
749
- *
750
- * Licensed under the Apache License, Version 2.0 (the "License");
751
- * you may not use this file except in compliance with the License.
752
- * You may obtain a copy of the License at
753
- *
754
- * http://www.apache.org/licenses/LICENSE-2.0
755
- *
756
- * Unless required by applicable law or agreed to in writing, software
757
- * distributed under the License is distributed on an "AS IS" BASIS,
758
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
759
- * See the License for the specific language governing permissions and
760
- * limitations under the License.
761
- */function kP(e){if(!e||!e.options)throw Ff("App Configuration Object");if(!e.name)throw Ff("App Name");const t=["projectId","apiKey","appId","messagingSenderId"],{options:n}=e;for(const i of t)if(!n[i])throw Ff(i);return{appName:e.name,projectId:n.projectId,apiKey:n.apiKey,appId:n.appId,senderId:n.messagingSenderId}}function Ff(e){return Pn.create("missing-app-config-values",{valueName:e})}/**
762
- * @license
763
- * Copyright 2020 Google LLC
764
- *
765
- * Licensed under the Apache License, Version 2.0 (the "License");
766
- * you may not use this file except in compliance with the License.
767
- * You may obtain a copy of the License at
768
- *
769
- * http://www.apache.org/licenses/LICENSE-2.0
770
- *
771
- * Unless required by applicable law or agreed to in writing, software
772
- * distributed under the License is distributed on an "AS IS" BASIS,
773
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
774
- * See the License for the specific language governing permissions and
775
- * limitations under the License.
776
- */class CP{constructor(t,n,i){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const a=kP(t);this.firebaseDependencies={app:t,appConfig:a,installations:n,analyticsProvider:i}}_delete(){return Promise.resolve()}}/**
777
- * @license
778
- * Copyright 2020 Google LLC
779
- *
780
- * Licensed under the Apache License, Version 2.0 (the "License");
781
- * you may not use this file except in compliance with the License.
782
- * You may obtain a copy of the License at
783
- *
784
- * http://www.apache.org/licenses/LICENSE-2.0
785
- *
786
- * Unless required by applicable law or agreed to in writing, software
787
- * distributed under the License is distributed on an "AS IS" BASIS,
788
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
789
- * See the License for the specific language governing permissions and
790
- * limitations under the License.
791
- */async function DP(e){try{e.swRegistration=await navigator.serviceWorker.register(JO,{scope:QO}),e.swRegistration.update().catch(()=>{})}catch(t){throw Pn.create("failed-service-worker-registration",{browserErrorMessage:t==null?void 0:t.message})}}/**
792
- * @license
793
- * Copyright 2020 Google LLC
794
- *
795
- * Licensed under the Apache License, Version 2.0 (the "License");
796
- * you may not use this file except in compliance with the License.
797
- * You may obtain a copy of the License at
798
- *
799
- * http://www.apache.org/licenses/LICENSE-2.0
800
- *
801
- * Unless required by applicable law or agreed to in writing, software
802
- * distributed under the License is distributed on an "AS IS" BASIS,
803
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
804
- * See the License for the specific language governing permissions and
805
- * limitations under the License.
806
- */async function TP(e,t){if(!t&&!e.swRegistration&&await DP(e),!(!t&&e.swRegistration)){if(!(t instanceof ServiceWorkerRegistration))throw Pn.create("invalid-sw-registration");e.swRegistration=t}}/**
807
- * @license
808
- * Copyright 2020 Google LLC
809
- *
810
- * Licensed under the Apache License, Version 2.0 (the "License");
811
- * you may not use this file except in compliance with the License.
812
- * You may obtain a copy of the License at
813
- *
814
- * http://www.apache.org/licenses/LICENSE-2.0
815
- *
816
- * Unless required by applicable law or agreed to in writing, software
817
- * distributed under the License is distributed on an "AS IS" BASIS,
818
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
819
- * See the License for the specific language governing permissions and
820
- * limitations under the License.
821
- */async function EP(e,t){t?e.vapidKey=t:e.vapidKey||(e.vapidKey=Ty)}/**
822
- * @license
823
- * Copyright 2020 Google LLC
824
- *
825
- * Licensed under the Apache License, Version 2.0 (the "License");
826
- * you may not use this file except in compliance with the License.
827
- * You may obtain a copy of the License at
828
- *
829
- * http://www.apache.org/licenses/LICENSE-2.0
830
- *
831
- * Unless required by applicable law or agreed to in writing, software
832
- * distributed under the License is distributed on an "AS IS" BASIS,
833
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
834
- * See the License for the specific language governing permissions and
835
- * limitations under the License.
836
- */async function MP(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 EP(e,t==null?void 0:t.vapidKey),await TP(e,t==null?void 0:t.serviceWorkerRegistration),gP(e)}/**
837
- * @license
838
- * Copyright 2019 Google LLC
839
- *
840
- * Licensed under the Apache License, Version 2.0 (the "License");
841
- * you may not use this file except in compliance with the License.
842
- * You may obtain a copy of the License at
843
- *
844
- * http://www.apache.org/licenses/LICENSE-2.0
845
- *
846
- * Unless required by applicable law or agreed to in writing, software
847
- * distributed under the License is distributed on an "AS IS" BASIS,
848
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
849
- * See the License for the specific language governing permissions and
850
- * limitations under the License.
851
- */async function RP(e,t,n){const i=IP(t);(await e.firebaseDependencies.analyticsProvider.get()).logEvent(i,{message_id:n[Ey],message_name:n[tP],message_time:n[nP],message_device_time:Math.floor(Date.now()/1e3)})}function IP(e){switch(e){case fo.NOTIFICATION_CLICKED:return"notification_open";case fo.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}/**
852
- * @license
853
- * Copyright 2017 Google LLC
854
- *
855
- * Licensed under the Apache License, Version 2.0 (the "License");
856
- * you may not use this file except in compliance with the License.
857
- * You may obtain a copy of the License at
858
- *
859
- * http://www.apache.org/licenses/LICENSE-2.0
860
- *
861
- * Unless required by applicable law or agreed to in writing, software
862
- * distributed under the License is distributed on an "AS IS" BASIS,
863
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
864
- * See the License for the specific language governing permissions and
865
- * limitations under the License.
866
- */async function AP(e,t){const n=t.data;if(!n.isFirebaseMessaging)return;e.onMessageHandler&&n.messageType===fo.PUSH_RECEIVED&&(typeof e.onMessageHandler=="function"?e.onMessageHandler(om(n)):e.onMessageHandler.next(om(n)));const i=n.data;SP(i)&&i[rP]==="1"&&await RP(e,n.messageType,i)}const um="@firebase/messaging",lm="0.12.6";/**
867
- * @license
868
- * Copyright 2020 Google LLC
869
- *
870
- * Licensed under the Apache License, Version 2.0 (the "License");
871
- * you may not use this file except in compliance with the License.
872
- * You may obtain a copy of the License at
873
- *
874
- * http://www.apache.org/licenses/LICENSE-2.0
875
- *
876
- * Unless required by applicable law or agreed to in writing, software
877
- * distributed under the License is distributed on an "AS IS" BASIS,
878
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
879
- * See the License for the specific language governing permissions and
880
- * limitations under the License.
881
- */const OP=e=>{const t=new CP(e.getProvider("app").getImmediate(),e.getProvider("installations-internal").getImmediate(),e.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",n=>AP(t,n)),t},PP=e=>{const t=e.getProvider("messaging").getImmediate();return{getToken:i=>MP(t,i)}};function NP(){ds(new cs("messaging",OP,"PUBLIC")),ds(new cs("messaging-internal",PP,"PRIVATE")),Yi(um,lm),Yi(um,lm,"esm2017")}NP();const Oy=({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 _,T,O,M;console.log("result: "+b),n({all:{rows:(_=b[0].data)==null?void 0:_.rows,total:(T=b[0].data)==null?void 0:T.total},unread:{rows:(O=b[1].data)==null?void 0:O.rows,total:(M=b[1].data)==null?void 0:M.total}})})},LP=({baseUrl:e,notiPath:t})=>{const{setShowModalFalse:n}=D.reactExports.useContext(no),{notidata:i,setNotiData:a}=D.reactExports.useContext(no),[u,f]=D.reactExports.useState("all"),m=Oy({baseUrl:e,notiPath:t,setNotiData:a}),b=async()=>{var O,M;try{const B=e+(t||"/notification-management/api/v1/notifications");await D.axios.put(B,{withCredentials:!0})}catch(z){console.log(z),D.pushError(((M=(O=z.response)==null?void 0:O.data)==null?void 0:M.errorMessage)||"Have error when get notification list")}await m()},_=async(O,M)=>{var z,B;try{const $=t||`/notification-management/api/v1/notifications/${O}`,J=e+$;await D.axios.put(J,{isRead:M},{withCredentials:!0})}catch($){D.pushError(((B=(z=$.response)==null?void 0:z.data)==null?void 0:B.errorMessage)||"Have error when get notification list")}await m()},T=[{id:"all",tabTitle:`All (${i.all.total||0})`,children:D.jsxRuntimeExports.jsx(ng,{notidata:i.all.rows,handleUpdateRead:_,handleUpdateReadAll:b})},{id:"unread",tabTitle:`Unread (${i.unread.total||0})`,children:D.jsxRuntimeExports.jsx(ng,{notidata:i.unread.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(Y_,{tabs:T,setCurrentTab:f,currentTab:u})]})})})};function FP({primaryColor:e="#009d4f",baseUrl:t,notiPath:n}){const{isOpen:i,toggleOpen:a}=D.reactExports.useContext(no),{notidata:u,setNotiData:f}=D.reactExports.useContext(no),m=Oy({baseUrl:t,notiPath:n,setNotiData:f}),b=async()=>{var _,T;try{await m()}catch(O){D.pushError(((T=(_=O.response)==null?void 0:_.data)==null?void 0:T.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,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.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.unread.total}),!i&&D.jsxRuntimeExports.jsx(LP,{baseUrl:t,notiPath:n})]})}const $P=`.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
- `,jP=`.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
- `,BP=`: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:8px;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}.notitification-item__container:before{position:absolute;content:"";width:100%;top:4px;bottom:4px;left:0;background-color:#fafafa;border-radius:4px;opacity:0;transition:opacity .3s ease-in-out;z-index:-1}.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;transition:opacity .3s cubic-bezier(.39,.575,.565,1)}.notification-item__read-at:hover:before{opacity:1}.notification-item__read-at.read:before{content:"Mark as read"}.notification-item__read-at.unread:before{content:"Mark as unread"}.notification-item__read-at.read{border-color:#eee}.notification-item__read-at.unread{border-color:#2e7d32;background-color:#2e7d32}
884
- `;function YP(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 WP(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 Py({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"},[_,T]=D.reactExports.useState(!1),O=()=>{window.location.href=`${n}/authentication/logout?callbackUrl=${window.location.href}`};return D.jsxRuntimeExports.jsxs(D.ShadowDomWrapper,{styles:[$P,jP,BP],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(UD,{children:D.jsxRuntimeExports.jsx("span",{className:"cursor-pointer",children:D.jsxRuntimeExports.jsx(FP,{primaryColor:f==null?void 0:f.primaryColor,baseUrl:n,notiPath:i})})}),D.jsxRuntimeExports.jsx("span",{className:"cursor-pointer",children:D.jsxRuntimeExports.jsx(B_,{primaryColor:f==null?void 0:f.primaryColor})}),D.jsxRuntimeExports.jsx(HP,{primaryColor:f==null?void 0:f.primaryColor}),D.jsxRuntimeExports.jsxs("div",{className:"userContainer",children:[D.jsxRuntimeExports.jsx(UP,{primaryColor:f==null?void 0:f.primaryColor,avatarUrl:t==null?void 0:t.avatarUrl,userName:t==null?void 0:t.firstName,setShowConfirmModal:T}),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:()=>T(!1),onConfirm:O})]})}function HP({primaryColor:e="#009d4f"}){var m;const[t,n]=D.reactExports.useState(!1),i=D.reactExports.useRef(null),a=[{value:ed.en,element:D.jsxRuntimeExports.jsx(YP,{})},{value:ed.de,element:D.jsxRuntimeExports.jsx(WP,{})}],{language:u,setLanguage:f}=XI();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 UP({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),[T,O]=D.reactExports.useState(!1),M={backgroundColor:b?i:"transparent"},z={backgroundColor:T?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(Py,{props:{logo:"string",user:"json",baseUrl:"string",notiPath:"string",classNames:"string",style:"json",customColors:"json"},shadow:"open"});customElements.define("global-topbar",e)}exports.HasPermission=X0;exports.TopBar=Py;exports.getUseHasPermission=Z0;