@ukpc-lib/react 0.2.7 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/icons/notification-icon.svg +7 -0
- package/dist/components/Notification/NotificationList/components/AllContent.d.ts +4 -0
- package/dist/components/Notification/NotificationList/components/CustomOpenListContext.d.ts +9 -0
- package/dist/components/Notification/NotificationList/components/NotitficationItem.d.ts +7 -0
- package/dist/components/Notification/NotificationList/index.d.ts +3 -0
- package/dist/components/Notification/Tabs/index.d.ts +13 -0
- package/dist/components/Notification/firebase/firebaseConfig.d.ts +3 -2
- package/dist/components/Notification/index.d.ts +8 -0
- package/dist/components/Notification/models/NotiticationDto.d.ts +43 -0
- package/dist/components/Topbar/icons/NotificationIcon.d.ts +3 -1
- package/dist/components/Topbar/index.d.ts +2 -1
- package/dist/components/index.cjs +28 -26
- package/dist/components/index.js +3654 -3351
- package/dist/index.css +1 -1
- package/dist/{index.module-34bab88b.js → index.module-7d653d97.js} +1270 -1288
- package/dist/{index.module-9c4fe97a.cjs → index.module-ff8a71df.cjs} +100 -100
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +13 -13
- package/package.json +1 -1
- package/web-components-bundle/global-menu/index.cjs +2 -2
- package/web-components-bundle/global-menu/index.js +2 -3
- package/web-components-bundle/global-topbar/index.cjs +1 -2
- package/web-components-bundle/global-topbar/index.js +3 -234
- package/web-components-bundle/has-permission/index.cjs +1 -1046
- package/web-components-bundle/has-permission/index.js +4 -17742
- package/web-components-bundle/index-11fd22c1.cjs +884 -0
- package/web-components-bundle/index-374bf205.cjs +106 -0
- package/web-components-bundle/index-51fef28a.js +17668 -0
- package/web-components-bundle/index-75324537.js +17036 -0
- package/web-components-bundle/index-5a2ec4da.cjs +0 -38
- package/web-components-bundle/index-8330a770.js +0 -7687
- package/web-components-bundle/react-to-web-component-287abfaf.cjs +0 -69
- package/web-components-bundle/react-to-web-component-8933be15.js +0 -9353
|
@@ -0,0 +1,884 @@
|
|
|
1
|
+
"use strict";const D=require("./index-374bf205.cjs");function Ag(e){var t,r,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Ag(e[t]))&&(s&&(s+=" "),s+=r)}else for(r in e)e[r]&&(s&&(s+=" "),s+=r);return s}function Kn(){for(var e,t,r=0,s="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Ag(e))&&(s&&(s+=" "),s+=t);return s}function tw({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 nw=e=>{const{tabs:t}=e,r=s=>{e.setCurrentTab(s.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((s,o)=>D.jsxRuntimeExports.jsx("button",{id:s.id,disabled:e.currentTab===`${s.id}`,onClick:r,className:`tab-title ${e.currentTab===`${s.id}`?"is-active":""}`,children:s.tabTitle},o))}),D.jsxRuntimeExports.jsx("div",{className:"tab-content",children:t.map((s,o)=>D.jsxRuntimeExports.jsx("div",{children:e.currentTab===`${s.id}`&&D.jsxRuntimeExports.jsx("div",{children:s.children})},o))})]})};//! moment.js
|
|
2
|
+
//! version : 2.30.1
|
|
3
|
+
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
|
+
//! license : MIT
|
|
5
|
+
//! momentjs.com
|
|
6
|
+
var Rg;function oe(){return Rg.apply(null,arguments)}function rw(e){Rg=e}function gr(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function oa(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function Ve(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function jf(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(Ve(e,t))return!1;return!0}function _n(e){return e===void 0}function hi(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function to(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Og(e,t){var r=[],s,o=e.length;for(s=0;s<o;++s)r.push(t(e[s],s));return r}function Li(e,t){for(var r in t)Ve(t,r)&&(e[r]=t[r]);return Ve(t,"toString")&&(e.toString=t.toString),Ve(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Fr(e,t,r,s){return tm(e,t,r,s,!0).utc()}function iw(){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 Re(e){return e._pf==null&&(e._pf=iw()),e._pf}var xf;Array.prototype.some?xf=Array.prototype.some:xf=function(e){var t=Object(this),r=t.length>>>0,s;for(s=0;s<r;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};function Wf(e){var t=null,r=!1,s=e._d&&!isNaN(e._d.getTime());if(s&&(t=Re(e),r=xf.call(t.parsedDateParts,function(o){return o!=null}),s=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(s=s&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=s;else return s;return e._isValid}function Uu(e){var t=Fr(NaN);return e!=null?Li(Re(t),e):Re(t).userInvalidated=!0,t}var Rp=oe.momentProperties=[],rf=!1;function Bf(e,t){var r,s,o,c=Rp.length;if(_n(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),_n(t._i)||(e._i=t._i),_n(t._f)||(e._f=t._f),_n(t._l)||(e._l=t._l),_n(t._strict)||(e._strict=t._strict),_n(t._tzm)||(e._tzm=t._tzm),_n(t._isUTC)||(e._isUTC=t._isUTC),_n(t._offset)||(e._offset=t._offset),_n(t._pf)||(e._pf=Re(t)),_n(t._locale)||(e._locale=t._locale),c>0)for(r=0;r<c;r++)s=Rp[r],o=t[s],_n(o)||(e[s]=o);return e}function no(e){Bf(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),rf===!1&&(rf=!0,oe.updateOffset(this),rf=!1)}function mr(e){return e instanceof no||e!=null&&e._isAMomentObject!=null}function Ig(e){oe.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function er(e,t){var r=!0;return Li(function(){if(oe.deprecationHandler!=null&&oe.deprecationHandler(null,e),r){var s=[],o,c,g,x=arguments.length;for(c=0;c<x;c++){if(o="",typeof arguments[c]=="object"){o+=`
|
|
7
|
+
[`+c+"] ";for(g in arguments[0])Ve(arguments[0],g)&&(o+=g+": "+arguments[0][g]+", ");o=o.slice(0,-2)}else o=arguments[c];s.push(o)}Ig(e+`
|
|
8
|
+
Arguments: `+Array.prototype.slice.call(s).join("")+`
|
|
9
|
+
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Op={};function Pg(e,t){oe.deprecationHandler!=null&&oe.deprecationHandler(e,t),Op[e]||(Ig(t),Op[e]=!0)}oe.suppressDeprecationWarnings=!1;oe.deprecationHandler=null;function Yr(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function aw(e){var t,r;for(r in e)Ve(e,r)&&(t=e[r],Yr(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function wf(e,t){var r=Li({},e),s;for(s in t)Ve(t,s)&&(oa(e[s])&&oa(t[s])?(r[s]={},Li(r[s],e[s]),Li(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)Ve(e,s)&&!Ve(t,s)&&oa(e[s])&&(r[s]=Li({},r[s]));return r}function Hf(e){e!=null&&this.set(e)}var Sf;Object.keys?Sf=Object.keys:Sf=function(e){var t,r=[];for(t in e)Ve(e,t)&&r.push(t);return r};var sw={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function ow(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return Yr(s)?s.call(t,r):s}function $r(e,t,r){var s=""+Math.abs(e),o=t-s.length,c=e>=0;return(c?r?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+s}var Uf=/(\[[^\[]*\])|(\\)?([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,xu=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,af={},Ba={};function ve(e,t,r,s){var o=s;typeof s=="string"&&(o=function(){return this[s]()}),e&&(Ba[e]=o),t&&(Ba[t[0]]=function(){return $r(o.apply(this,arguments),t[1],t[2])}),r&&(Ba[r]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function uw(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function lw(e){var t=e.match(Uf),r,s;for(r=0,s=t.length;r<s;r++)Ba[t[r]]?t[r]=Ba[t[r]]:t[r]=uw(t[r]);return function(o){var c="",g;for(g=0;g<s;g++)c+=Yr(t[g])?t[g].call(o,e):t[g];return c}}function Du(e,t){return e.isValid()?(t=Ng(t,e.localeData()),af[t]=af[t]||lw(t),af[t](e)):e.localeData().invalidDate()}function Ng(e,t){var r=5;function s(o){return t.longDateFormat(o)||o}for(xu.lastIndex=0;r>=0&&xu.test(e);)e=e.replace(xu,s),xu.lastIndex=0,r-=1;return e}var cw={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 fw(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(Uf).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var dw="Invalid date";function hw(){return this._invalidDate}var pw="%d",gw=/\d{1,2}/;function mw(e){return this._ordinal.replace("%d",e)}var yw={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 vw(e,t,r,s){var o=this._relativeTime[r];return Yr(o)?o(e,t,r,s):o.replace(/%d/i,e)}function bw(e,t){var r=this._relativeTime[e>0?"future":"past"];return Yr(r)?r(t):r.replace(/%s/i,t)}var Ip={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 tr(e){return typeof e=="string"?Ip[e]||Ip[e.toLowerCase()]:void 0}function qf(e){var t={},r,s;for(s in e)Ve(e,s)&&(r=tr(s),r&&(t[r]=e[s]));return t}var _w={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 xw(e){var t=[],r;for(r in e)Ve(e,r)&&t.push({unit:r,priority:_w[r]});return t.sort(function(s,o){return s.priority-o.priority}),t}var Lg=/\d/,Pn=/\d\d/,$g=/\d{3}/,zf=/\d{4}/,qu=/[+-]?\d{6}/,lt=/\d\d?/,Fg=/\d\d\d\d?/,Yg=/\d\d\d\d\d\d?/,zu=/\d{1,3}/,Vf=/\d{1,4}/,Vu=/[+-]?\d{1,6}/,Ga=/\d+/,Gu=/[+-]?\d+/,ww=/Z|[+-]\d\d:?\d\d/gi,Ku=/Z|[+-]\d\d(?::?\d\d)?/gi,Sw=/[+-]?\d+(\.\d{1,3})?/,ro=/[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,Ka=/^[1-9]\d?/,Gf=/^([1-9]\d|\d)/,Pu;Pu={};function he(e,t,r){Pu[e]=Yr(t)?t:function(s,o){return s&&r?r:t}}function kw(e,t){return Ve(Pu,e)?Pu[e](t._strict,t._locale):new RegExp(Cw(e))}function Cw(e){return ci(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,o,c){return r||s||o||c}))}function ci(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Zn(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function We(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=Zn(t)),r}var kf={};function it(e,t){var r,s=t,o;for(typeof e=="string"&&(e=[e]),hi(t)&&(s=function(c,g){g[t]=We(c)}),o=e.length,r=0;r<o;r++)kf[e[r]]=s}function io(e,t){it(e,function(r,s,o,c){o._w=o._w||{},t(r,o._w,o,c)})}function Dw(e,t,r){t!=null&&Ve(kf,e)&&kf[e](t,r._a,r,e)}function Xu(e){return e%4===0&&e%100!==0||e%400===0}var en=0,ui=1,Ir=2,It=3,pr=4,li=5,ia=6,Tw=7,Ew=8;ve("Y",0,0,function(){var e=this.year();return e<=9999?$r(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");he("Y",Gu);he("YY",lt,Pn);he("YYYY",Vf,zf);he("YYYYY",Vu,qu);he("YYYYYY",Vu,qu);it(["YYYYY","YYYYYY"],en);it("YYYY",function(e,t){t[en]=e.length===2?oe.parseTwoDigitYear(e):We(e)});it("YY",function(e,t){t[en]=oe.parseTwoDigitYear(e)});it("Y",function(e,t){t[en]=parseInt(e,10)});function Bs(e){return Xu(e)?366:365}oe.parseTwoDigitYear=function(e){return We(e)+(We(e)>68?1900:2e3)};var jg=Xa("FullYear",!0);function Mw(){return Xu(this.year())}function Xa(e,t){return function(r){return r!=null?(Wg(this,e,r),oe.updateOffset(this,t),this):Us(this,e)}}function Us(e,t){if(!e.isValid())return NaN;var r=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return s?r.getUTCSeconds():r.getSeconds();case"Minutes":return s?r.getUTCMinutes():r.getMinutes();case"Hours":return s?r.getUTCHours():r.getHours();case"Date":return s?r.getUTCDate():r.getDate();case"Day":return s?r.getUTCDay():r.getDay();case"Month":return s?r.getUTCMonth():r.getMonth();case"FullYear":return s?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Wg(e,t,r){var s,o,c,g,x;if(!(!e.isValid()||isNaN(r))){switch(s=e._d,o=e._isUTC,t){case"Milliseconds":return void(o?s.setUTCMilliseconds(r):s.setMilliseconds(r));case"Seconds":return void(o?s.setUTCSeconds(r):s.setSeconds(r));case"Minutes":return void(o?s.setUTCMinutes(r):s.setMinutes(r));case"Hours":return void(o?s.setUTCHours(r):s.setHours(r));case"Date":return void(o?s.setUTCDate(r):s.setDate(r));case"FullYear":break;default:return}c=r,g=e.month(),x=e.date(),x=x===29&&g===1&&!Xu(c)?28:x,o?s.setUTCFullYear(c,g,x):s.setFullYear(c,g,x)}}function Aw(e){return e=tr(e),Yr(this[e])?this[e]():this}function Rw(e,t){if(typeof e=="object"){e=qf(e);var r=xw(e),s,o=r.length;for(s=0;s<o;s++)this[r[s].unit](e[r[s].unit])}else if(e=tr(e),Yr(this[e]))return this[e](t);return this}function Ow(e,t){return(e%t+t)%t}var St;Array.prototype.indexOf?St=Array.prototype.indexOf:St=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Kf(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=Ow(t,12);return e+=(t-r)/12,r===1?Xu(e)?29:28:31-r%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)});he("M",lt,Ka);he("MM",lt,Pn);he("MMM",function(e,t){return t.monthsShortRegex(e)});he("MMMM",function(e,t){return t.monthsRegex(e)});it(["M","MM"],function(e,t){t[ui]=We(e)-1});it(["MMM","MMMM"],function(e,t,r,s){var o=r._locale.monthsParse(e,s,r._strict);o!=null?t[ui]=o:Re(r).invalidMonth=e});var Iw="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Bg="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Hg=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Pw=ro,Nw=ro;function Lw(e,t){return e?gr(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Hg).test(t)?"format":"standalone"][e.month()]:gr(this._months)?this._months:this._months.standalone}function $w(e,t){return e?gr(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Hg.test(t)?"format":"standalone"][e.month()]:gr(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Fw(e,t,r){var s,o,c,g=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)c=Fr([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(c,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(c,"").toLocaleLowerCase();return r?t==="MMM"?(o=St.call(this._shortMonthsParse,g),o!==-1?o:null):(o=St.call(this._longMonthsParse,g),o!==-1?o:null):t==="MMM"?(o=St.call(this._shortMonthsParse,g),o!==-1?o:(o=St.call(this._longMonthsParse,g),o!==-1?o:null)):(o=St.call(this._longMonthsParse,g),o!==-1?o:(o=St.call(this._shortMonthsParse,g),o!==-1?o:null))}function Yw(e,t,r){var s,o,c;if(this._monthsParseExact)return Fw.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(o=Fr([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(c="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[s]=new RegExp(c.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(r&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!r&&this._monthsParse[s].test(e))return s}}function Ug(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),!hi(t))return e}var r=t,s=e.date();return s=s<29?s:Math.min(s,Kf(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,s):e._d.setMonth(r,s),e}function qg(e){return e!=null?(Ug(this,e),oe.updateOffset(this,!0),this):Us(this,"Month")}function jw(){return Kf(this.year(),this.month())}function Ww(e){return this._monthsParseExact?(Ve(this,"_monthsRegex")||zg.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(Ve(this,"_monthsShortRegex")||(this._monthsShortRegex=Pw),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Bw(e){return this._monthsParseExact?(Ve(this,"_monthsRegex")||zg.call(this),e?this._monthsStrictRegex:this._monthsRegex):(Ve(this,"_monthsRegex")||(this._monthsRegex=Nw),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function zg(){function e(k,E){return E.length-k.length}var t=[],r=[],s=[],o,c,g,x;for(o=0;o<12;o++)c=Fr([2e3,o]),g=ci(this.monthsShort(c,"")),x=ci(this.months(c,"")),t.push(g),r.push(x),s.push(x),s.push(g);t.sort(e),r.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Hw(e,t,r,s,o,c,g){var x;return e<100&&e>=0?(x=new Date(e+400,t,r,s,o,c,g),isFinite(x.getFullYear())&&x.setFullYear(e)):x=new Date(e,t,r,s,o,c,g),x}function qs(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Nu(e,t,r){var s=7+t-r,o=(7+qs(e,0,s).getUTCDay()-t)%7;return-o+s-1}function Vg(e,t,r,s,o){var c=(7+r-s)%7,g=Nu(e,s,o),x=1+7*(t-1)+c+g,k,E;return x<=0?(k=e-1,E=Bs(k)+x):x>Bs(e)?(k=e+1,E=x-Bs(e)):(k=e,E=x),{year:k,dayOfYear:E}}function zs(e,t,r){var s=Nu(e.year(),t,r),o=Math.floor((e.dayOfYear()-s-1)/7)+1,c,g;return o<1?(g=e.year()-1,c=o+fi(g,t,r)):o>fi(e.year(),t,r)?(c=o-fi(e.year(),t,r),g=e.year()+1):(g=e.year(),c=o),{week:c,year:g}}function fi(e,t,r){var s=Nu(e,t,r),o=Nu(e+1,t,r);return(Bs(e)-s+o)/7}ve("w",["ww",2],"wo","week");ve("W",["WW",2],"Wo","isoWeek");he("w",lt,Ka);he("ww",lt,Pn);he("W",lt,Ka);he("WW",lt,Pn);io(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=We(e)});function Uw(e){return zs(e,this._week.dow,this._week.doy).week}var qw={dow:0,doy:6};function zw(){return this._week.dow}function Vw(){return this._week.doy}function Gw(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Kw(e){var t=zs(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");he("d",lt);he("e",lt);he("E",lt);he("dd",function(e,t){return t.weekdaysMinRegex(e)});he("ddd",function(e,t){return t.weekdaysShortRegex(e)});he("dddd",function(e,t){return t.weekdaysRegex(e)});io(["dd","ddd","dddd"],function(e,t,r,s){var o=r._locale.weekdaysParse(e,s,r._strict);o!=null?t.d=o:Re(r).invalidWeekday=e});io(["d","e","E"],function(e,t,r,s){t[s]=We(e)});function Xw(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Zw(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Xf(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Jw="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Gg="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qw="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),eS=ro,tS=ro,nS=ro;function rS(e,t){var r=gr(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Xf(r,this._week.dow):e?r[e.day()]:r}function iS(e){return e===!0?Xf(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function aS(e){return e===!0?Xf(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function sS(e,t,r){var s,o,c,g=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)c=Fr([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(c,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(c,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(c,"").toLocaleLowerCase();return r?t==="dddd"?(o=St.call(this._weekdaysParse,g),o!==-1?o:null):t==="ddd"?(o=St.call(this._shortWeekdaysParse,g),o!==-1?o:null):(o=St.call(this._minWeekdaysParse,g),o!==-1?o:null):t==="dddd"?(o=St.call(this._weekdaysParse,g),o!==-1||(o=St.call(this._shortWeekdaysParse,g),o!==-1)?o:(o=St.call(this._minWeekdaysParse,g),o!==-1?o:null)):t==="ddd"?(o=St.call(this._shortWeekdaysParse,g),o!==-1||(o=St.call(this._weekdaysParse,g),o!==-1)?o:(o=St.call(this._minWeekdaysParse,g),o!==-1?o:null)):(o=St.call(this._minWeekdaysParse,g),o!==-1||(o=St.call(this._weekdaysParse,g),o!==-1)?o:(o=St.call(this._shortWeekdaysParse,g),o!==-1?o:null))}function oS(e,t,r){var s,o,c;if(this._weekdaysParseExact)return sS.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(o=Fr([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(c="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[s]=new RegExp(c.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(r&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!r&&this._weekdaysParse[s].test(e))return s}}function uS(e){if(!this.isValid())return e!=null?this:NaN;var t=Us(this,"Day");return e!=null?(e=Xw(e,this.localeData()),this.add(e-t,"d")):t}function lS(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 cS(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Zw(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function fS(e){return this._weekdaysParseExact?(Ve(this,"_weekdaysRegex")||Zf.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Ve(this,"_weekdaysRegex")||(this._weekdaysRegex=eS),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function dS(e){return this._weekdaysParseExact?(Ve(this,"_weekdaysRegex")||Zf.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ve(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tS),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function hS(e){return this._weekdaysParseExact?(Ve(this,"_weekdaysRegex")||Zf.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ve(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nS),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zf(){function e(P,j){return j.length-P.length}var t=[],r=[],s=[],o=[],c,g,x,k,E;for(c=0;c<7;c++)g=Fr([2e3,1]).day(c),x=ci(this.weekdaysMin(g,"")),k=ci(this.weekdaysShort(g,"")),E=ci(this.weekdays(g,"")),t.push(x),r.push(k),s.push(E),o.push(x),o.push(k),o.push(E);t.sort(e),r.sort(e),s.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Jf(){return this.hours()%12||12}function pS(){return this.hours()||24}ve("H",["HH",2],0,"hour");ve("h",["hh",2],0,Jf);ve("k",["kk",2],0,pS);ve("hmm",0,0,function(){return""+Jf.apply(this)+$r(this.minutes(),2)});ve("hmmss",0,0,function(){return""+Jf.apply(this)+$r(this.minutes(),2)+$r(this.seconds(),2)});ve("Hmm",0,0,function(){return""+this.hours()+$r(this.minutes(),2)});ve("Hmmss",0,0,function(){return""+this.hours()+$r(this.minutes(),2)+$r(this.seconds(),2)});function Kg(e,t){ve(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Kg("a",!0);Kg("A",!1);function Xg(e,t){return t._meridiemParse}he("a",Xg);he("A",Xg);he("H",lt,Gf);he("h",lt,Ka);he("k",lt,Ka);he("HH",lt,Pn);he("hh",lt,Pn);he("kk",lt,Pn);he("hmm",Fg);he("hmmss",Yg);he("Hmm",Fg);he("Hmmss",Yg);it(["H","HH"],It);it(["k","kk"],function(e,t,r){var s=We(e);t[It]=s===24?0:s});it(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});it(["h","hh"],function(e,t,r){t[It]=We(e),Re(r).bigHour=!0});it("hmm",function(e,t,r){var s=e.length-2;t[It]=We(e.substr(0,s)),t[pr]=We(e.substr(s)),Re(r).bigHour=!0});it("hmmss",function(e,t,r){var s=e.length-4,o=e.length-2;t[It]=We(e.substr(0,s)),t[pr]=We(e.substr(s,2)),t[li]=We(e.substr(o)),Re(r).bigHour=!0});it("Hmm",function(e,t,r){var s=e.length-2;t[It]=We(e.substr(0,s)),t[pr]=We(e.substr(s))});it("Hmmss",function(e,t,r){var s=e.length-4,o=e.length-2;t[It]=We(e.substr(0,s)),t[pr]=We(e.substr(s,2)),t[li]=We(e.substr(o))});function gS(e){return(e+"").toLowerCase().charAt(0)==="p"}var mS=/[ap]\.?m?\.?/i,yS=Xa("Hours",!0);function vS(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var Zg={calendar:sw,longDateFormat:cw,invalidDate:dw,ordinal:pw,dayOfMonthOrdinalParse:gw,relativeTime:yw,months:Iw,monthsShort:Bg,week:qw,weekdays:Jw,weekdaysMin:Qw,weekdaysShort:Gg,meridiemParse:mS},dt={},Fs={},Vs;function bS(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function Pp(e){return e&&e.toLowerCase().replace("_","-")}function _S(e){for(var t=0,r,s,o,c;t<e.length;){for(c=Pp(e[t]).split("-"),r=c.length,s=Pp(e[t+1]),s=s?s.split("-"):null;r>0;){if(o=Zu(c.slice(0,r).join("-")),o)return o;if(s&&s.length>=r&&bS(c,s)>=r-1)break;r--}t++}return Vs}function xS(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Zu(e){var t=null,r;if(dt[e]===void 0&&typeof module<"u"&&module&&module.exports&&xS(e))try{t=Vs._abbr,r=require,r("./locale/"+e),Fi(t)}catch{dt[e]=null}return dt[e]}function Fi(e,t){var r;return e&&(_n(t)?r=gi(e):r=Qf(e,t),r?Vs=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Vs._abbr}function Qf(e,t){if(t!==null){var r,s=Zg;if(t.abbr=e,dt[e]!=null)Pg("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."),s=dt[e]._config;else if(t.parentLocale!=null)if(dt[t.parentLocale]!=null)s=dt[t.parentLocale]._config;else if(r=Zu(t.parentLocale),r!=null)s=r._config;else return Fs[t.parentLocale]||(Fs[t.parentLocale]=[]),Fs[t.parentLocale].push({name:e,config:t}),null;return dt[e]=new Hf(wf(s,t)),Fs[e]&&Fs[e].forEach(function(o){Qf(o.name,o.config)}),Fi(e),dt[e]}else return delete dt[e],null}function wS(e,t){if(t!=null){var r,s,o=Zg;dt[e]!=null&&dt[e].parentLocale!=null?dt[e].set(wf(dt[e]._config,t)):(s=Zu(e),s!=null&&(o=s._config),t=wf(o,t),s==null&&(t.abbr=e),r=new Hf(t),r.parentLocale=dt[e],dt[e]=r),Fi(e)}else dt[e]!=null&&(dt[e].parentLocale!=null?(dt[e]=dt[e].parentLocale,e===Fi()&&Fi(e)):dt[e]!=null&&delete dt[e]);return dt[e]}function gi(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Vs;if(!gr(e)){if(t=Zu(e),t)return t;e=[e]}return _S(e)}function SS(){return Sf(dt)}function ed(e){var t,r=e._a;return r&&Re(e).overflow===-2&&(t=r[ui]<0||r[ui]>11?ui:r[Ir]<1||r[Ir]>Kf(r[en],r[ui])?Ir:r[It]<0||r[It]>24||r[It]===24&&(r[pr]!==0||r[li]!==0||r[ia]!==0)?It:r[pr]<0||r[pr]>59?pr:r[li]<0||r[li]>59?li:r[ia]<0||r[ia]>999?ia:-1,Re(e)._overflowDayOfYear&&(t<en||t>Ir)&&(t=Ir),Re(e)._overflowWeeks&&t===-1&&(t=Tw),Re(e)._overflowWeekday&&t===-1&&(t=Ew),Re(e).overflow=t),e}var kS=/^\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)?)?$/,CS=/^\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)?)?$/,DS=/Z|[+-]\d\d(?::?\d\d)?/,wu=[["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]],sf=[["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/]],TS=/^\/?Date\((-?\d+)/i,ES=/^(?:(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}))$/,MS={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 Jg(e){var t,r,s=e._i,o=kS.exec(s)||CS.exec(s),c,g,x,k,E=wu.length,P=sf.length;if(o){for(Re(e).iso=!0,t=0,r=E;t<r;t++)if(wu[t][1].exec(o[1])){g=wu[t][0],c=wu[t][2]!==!1;break}if(g==null){e._isValid=!1;return}if(o[3]){for(t=0,r=P;t<r;t++)if(sf[t][1].exec(o[3])){x=(o[2]||" ")+sf[t][0];break}if(x==null){e._isValid=!1;return}}if(!c&&x!=null){e._isValid=!1;return}if(o[4])if(DS.exec(o[4]))k="Z";else{e._isValid=!1;return}e._f=g+(x||"")+(k||""),nd(e)}else e._isValid=!1}function AS(e,t,r,s,o,c){var g=[RS(e),Bg.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(o,10)];return c&&g.push(parseInt(c,10)),g}function RS(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function OS(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function IS(e,t,r){if(e){var s=Gg.indexOf(e),o=new Date(t[0],t[1],t[2]).getDay();if(s!==o)return Re(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function PS(e,t,r){if(e)return MS[e];if(t)return 0;var s=parseInt(r,10),o=s%100,c=(s-o)/100;return c*60+o}function Qg(e){var t=ES.exec(OS(e._i)),r;if(t){if(r=AS(t[4],t[3],t[2],t[5],t[6],t[7]),!IS(t[1],r,e))return;e._a=r,e._tzm=PS(t[8],t[9],t[10]),e._d=qs.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),Re(e).rfc2822=!0}else e._isValid=!1}function NS(e){var t=TS.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Jg(e),e._isValid===!1)delete e._isValid;else return;if(Qg(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:oe.createFromInputFallback(e)}oe.createFromInputFallback=er("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 ja(e,t,r){return e??t??r}function LS(e){var t=new Date(oe.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function td(e){var t,r,s=[],o,c,g;if(!e._d){for(o=LS(e),e._w&&e._a[Ir]==null&&e._a[ui]==null&&$S(e),e._dayOfYear!=null&&(g=ja(e._a[en],o[en]),(e._dayOfYear>Bs(g)||e._dayOfYear===0)&&(Re(e)._overflowDayOfYear=!0),r=qs(g,0,e._dayOfYear),e._a[ui]=r.getUTCMonth(),e._a[Ir]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=o[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[It]===24&&e._a[pr]===0&&e._a[li]===0&&e._a[ia]===0&&(e._nextDay=!0,e._a[It]=0),e._d=(e._useUTC?qs:Hw).apply(null,s),c=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[It]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==c&&(Re(e).weekdayMismatch=!0)}}function $S(e){var t,r,s,o,c,g,x,k,E;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(c=1,g=4,r=ja(t.GG,e._a[en],zs(ut(),1,4).year),s=ja(t.W,1),o=ja(t.E,1),(o<1||o>7)&&(k=!0)):(c=e._locale._week.dow,g=e._locale._week.doy,E=zs(ut(),c,g),r=ja(t.gg,e._a[en],E.year),s=ja(t.w,E.week),t.d!=null?(o=t.d,(o<0||o>6)&&(k=!0)):t.e!=null?(o=t.e+c,(t.e<0||t.e>6)&&(k=!0)):o=c),s<1||s>fi(r,c,g)?Re(e)._overflowWeeks=!0:k!=null?Re(e)._overflowWeekday=!0:(x=Vg(r,s,o,c,g),e._a[en]=x.year,e._dayOfYear=x.dayOfYear)}oe.ISO_8601=function(){};oe.RFC_2822=function(){};function nd(e){if(e._f===oe.ISO_8601){Jg(e);return}if(e._f===oe.RFC_2822){Qg(e);return}e._a=[],Re(e).empty=!0;var t=""+e._i,r,s,o,c,g,x=t.length,k=0,E,P;for(o=Ng(e._f,e._locale).match(Uf)||[],P=o.length,r=0;r<P;r++)c=o[r],s=(t.match(kw(c,e))||[])[0],s&&(g=t.substr(0,t.indexOf(s)),g.length>0&&Re(e).unusedInput.push(g),t=t.slice(t.indexOf(s)+s.length),k+=s.length),Ba[c]?(s?Re(e).empty=!1:Re(e).unusedTokens.push(c),Dw(c,s,e)):e._strict&&!s&&Re(e).unusedTokens.push(c);Re(e).charsLeftOver=x-k,t.length>0&&Re(e).unusedInput.push(t),e._a[It]<=12&&Re(e).bigHour===!0&&e._a[It]>0&&(Re(e).bigHour=void 0),Re(e).parsedDateParts=e._a.slice(0),Re(e).meridiem=e._meridiem,e._a[It]=FS(e._locale,e._a[It],e._meridiem),E=Re(e).era,E!==null&&(e._a[en]=e._locale.erasConvertYear(E,e._a[en])),td(e),ed(e)}function FS(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function YS(e){var t,r,s,o,c,g,x=!1,k=e._f.length;if(k===0){Re(e).invalidFormat=!0,e._d=new Date(NaN);return}for(o=0;o<k;o++)c=0,g=!1,t=Bf({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[o],nd(t),Wf(t)&&(g=!0),c+=Re(t).charsLeftOver,c+=Re(t).unusedTokens.length*10,Re(t).score=c,x?c<s&&(s=c,r=t):(s==null||c<s||g)&&(s=c,r=t,g&&(x=!0));Li(e,r||t)}function jS(e){if(!e._d){var t=qf(e._i),r=t.day===void 0?t.date:t.day;e._a=Og([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),td(e)}}function WS(e){var t=new no(ed(em(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function em(e){var t=e._i,r=e._f;return e._locale=e._locale||gi(e._l),t===null||r===void 0&&t===""?Uu({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),mr(t)?new no(ed(t)):(to(t)?e._d=t:gr(r)?YS(e):r?nd(e):BS(e),Wf(e)||(e._d=null),e))}function BS(e){var t=e._i;_n(t)?e._d=new Date(oe.now()):to(t)?e._d=new Date(t.valueOf()):typeof t=="string"?NS(e):gr(t)?(e._a=Og(t.slice(0),function(r){return parseInt(r,10)}),td(e)):oa(t)?jS(e):hi(t)?e._d=new Date(t):oe.createFromInputFallback(e)}function tm(e,t,r,s,o){var c={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(oa(e)&&jf(e)||gr(e)&&e.length===0)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=o,c._l=r,c._i=e,c._f=t,c._strict=s,WS(c)}function ut(e,t,r,s){return tm(e,t,r,s,!1)}var HS=er("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=ut.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Uu()}),US=er("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=ut.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Uu()});function nm(e,t){var r,s;if(t.length===1&&gr(t[0])&&(t=t[0]),!t.length)return ut();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function qS(){var e=[].slice.call(arguments,0);return nm("isBefore",e)}function zS(){var e=[].slice.call(arguments,0);return nm("isAfter",e)}var VS=function(){return Date.now?Date.now():+new Date},Ys=["year","quarter","month","week","day","hour","minute","second","millisecond"];function GS(e){var t,r=!1,s,o=Ys.length;for(t in e)if(Ve(e,t)&&!(St.call(Ys,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<o;++s)if(e[Ys[s]]){if(r)return!1;parseFloat(e[Ys[s]])!==We(e[Ys[s]])&&(r=!0)}return!0}function KS(){return this._isValid}function XS(){return yr(NaN)}function Ju(e){var t=qf(e),r=t.year||0,s=t.quarter||0,o=t.month||0,c=t.week||t.isoWeek||0,g=t.day||0,x=t.hour||0,k=t.minute||0,E=t.second||0,P=t.millisecond||0;this._isValid=GS(t),this._milliseconds=+P+E*1e3+k*6e4+x*1e3*60*60,this._days=+g+c*7,this._months=+o+s*3+r*12,this._data={},this._locale=gi(),this._bubble()}function Tu(e){return e instanceof Ju}function Cf(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function ZS(e,t,r){var s=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),c=0,g;for(g=0;g<s;g++)(r&&e[g]!==t[g]||!r&&We(e[g])!==We(t[g]))&&c++;return c+o}function rm(e,t){ve(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+$r(~~(r/60),2)+t+$r(~~r%60,2)})}rm("Z",":");rm("ZZ","");he("Z",Ku);he("ZZ",Ku);it(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=rd(Ku,e)});var JS=/([\+\-]|\d\d)/gi;function rd(e,t){var r=(t||"").match(e),s,o,c;return r===null?null:(s=r[r.length-1]||[],o=(s+"").match(JS)||["-",0,0],c=+(o[1]*60)+We(o[2]),c===0?0:o[0]==="+"?c:-c)}function id(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(mr(e)||to(e)?e.valueOf():ut(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),oe.updateOffset(r,!1),r):ut(e).local()}function Df(e){return-Math.round(e._d.getTimezoneOffset())}oe.updateOffset=function(){};function QS(e,t,r){var s=this._offset||0,o;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=rd(Ku,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(o=Df(this)),this._offset=e,this._isUTC=!0,o!=null&&this.add(o,"m"),s!==e&&(!t||this._changeInProgress?sm(this,yr(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,oe.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:Df(this)}function ek(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function tk(e){return this.utcOffset(0,e)}function nk(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Df(this),"m")),this}function rk(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=rd(ww,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function ik(e){return this.isValid()?(e=e?ut(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function ak(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function sk(){if(!_n(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Bf(e,this),e=em(e),e._a?(t=e._isUTC?Fr(e._a):ut(e._a),this._isDSTShifted=this.isValid()&&ZS(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ok(){return this.isValid()?!this._isUTC:!1}function uk(){return this.isValid()?this._isUTC:!1}function im(){return this.isValid()?this._isUTC&&this._offset===0:!1}var lk=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ck=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function yr(e,t){var r=e,s=null,o,c,g;return Tu(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:hi(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=lk.exec(e))?(o=s[1]==="-"?-1:1,r={y:0,d:We(s[Ir])*o,h:We(s[It])*o,m:We(s[pr])*o,s:We(s[li])*o,ms:We(Cf(s[ia]*1e3))*o}):(s=ck.exec(e))?(o=s[1]==="-"?-1:1,r={y:ra(s[2],o),M:ra(s[3],o),w:ra(s[4],o),d:ra(s[5],o),h:ra(s[6],o),m:ra(s[7],o),s:ra(s[8],o)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(g=fk(ut(r.from),ut(r.to)),r={},r.ms=g.milliseconds,r.M=g.months),c=new Ju(r),Tu(e)&&Ve(e,"_locale")&&(c._locale=e._locale),Tu(e)&&Ve(e,"_isValid")&&(c._isValid=e._isValid),c}yr.fn=Ju.prototype;yr.invalid=XS;function ra(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Np(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function fk(e,t){var r;return e.isValid()&&t.isValid()?(t=id(t,e),e.isBefore(t)?r=Np(e,t):(r=Np(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function am(e,t){return function(r,s){var o,c;return s!==null&&!isNaN(+s)&&(Pg(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."),c=r,r=s,s=c),o=yr(r,s),sm(this,o,e),this}}function sm(e,t,r,s){var o=t._milliseconds,c=Cf(t._days),g=Cf(t._months);e.isValid()&&(s=s??!0,g&&Ug(e,Us(e,"Month")+g*r),c&&Wg(e,"Date",Us(e,"Date")+c*r),o&&e._d.setTime(e._d.valueOf()+o*r),s&&oe.updateOffset(e,c||g))}var dk=am(1,"add"),hk=am(-1,"subtract");function om(e){return typeof e=="string"||e instanceof String}function pk(e){return mr(e)||to(e)||om(e)||hi(e)||mk(e)||gk(e)||e===null||e===void 0}function gk(e){var t=oa(e)&&!jf(e),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o,c,g=s.length;for(o=0;o<g;o+=1)c=s[o],r=r||Ve(e,c);return t&&r}function mk(e){var t=gr(e),r=!1;return t&&(r=e.filter(function(s){return!hi(s)&&om(e)}).length===0),t&&r}function yk(e){var t=oa(e)&&!jf(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],o,c;for(o=0;o<s.length;o+=1)c=s[o],r=r||Ve(e,c);return t&&r}function vk(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function bk(e,t){arguments.length===1&&(arguments[0]?pk(arguments[0])?(e=arguments[0],t=void 0):yk(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||ut(),s=id(r,this).startOf("day"),o=oe.calendarFormat(this,s)||"sameElse",c=t&&(Yr(t[o])?t[o].call(this,r):t[o]);return this.format(c||this.localeData().calendar(o,this,ut(r)))}function _k(){return new no(this)}function xk(e,t){var r=mr(e)?e:ut(e);return this.isValid()&&r.isValid()?(t=tr(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function wk(e,t){var r=mr(e)?e:ut(e);return this.isValid()&&r.isValid()?(t=tr(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function Sk(e,t,r,s){var o=mr(e)?e:ut(e),c=mr(t)?t:ut(t);return this.isValid()&&o.isValid()&&c.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(o,r):!this.isBefore(o,r))&&(s[1]===")"?this.isBefore(c,r):!this.isAfter(c,r))):!1}function kk(e,t){var r=mr(e)?e:ut(e),s;return this.isValid()&&r.isValid()?(t=tr(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function Ck(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Dk(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Tk(e,t,r){var s,o,c;if(!this.isValid())return NaN;if(s=id(e,this),!s.isValid())return NaN;switch(o=(s.utcOffset()-this.utcOffset())*6e4,t=tr(t),t){case"year":c=Eu(this,s)/12;break;case"month":c=Eu(this,s);break;case"quarter":c=Eu(this,s)/3;break;case"second":c=(this-s)/1e3;break;case"minute":c=(this-s)/6e4;break;case"hour":c=(this-s)/36e5;break;case"day":c=(this-s-o)/864e5;break;case"week":c=(this-s-o)/6048e5;break;default:c=this-s}return r?c:Zn(c)}function Eu(e,t){if(e.date()<t.date())return-Eu(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),o,c;return t-s<0?(o=e.clone().add(r-1,"months"),c=(t-s)/(s-o)):(o=e.clone().add(r+1,"months"),c=(t-s)/(o-s)),-(r+c)||0}oe.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";oe.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Ek(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Mk(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Du(r,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",Du(r,"Z")):Du(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Ak(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,o,c;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o="-MM-DD[T]HH:mm:ss.SSS",c=t+'[")]',this.format(r+s+o+c)}function Rk(e){e||(e=this.isUtc()?oe.defaultFormatUtc:oe.defaultFormat);var t=Du(this,e);return this.localeData().postformat(t)}function Ok(e,t){return this.isValid()&&(mr(e)&&e.isValid()||ut(e).isValid())?yr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ik(e){return this.from(ut(),e)}function Pk(e,t){return this.isValid()&&(mr(e)&&e.isValid()||ut(e).isValid())?yr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Nk(e){return this.to(ut(),e)}function um(e){var t;return e===void 0?this._locale._abbr:(t=gi(e),t!=null&&(this._locale=t),this)}var lm=er("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 cm(){return this._locale}var Lu=1e3,Ha=60*Lu,$u=60*Ha,fm=(365*400+97)*24*$u;function Ua(e,t){return(e%t+t)%t}function dm(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-fm:new Date(e,t,r).valueOf()}function hm(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-fm:Date.UTC(e,t,r)}function Lk(e){var t,r;if(e=tr(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?hm:dm,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Ua(t+(this._isUTC?0:this.utcOffset()*Ha),$u);break;case"minute":t=this._d.valueOf(),t-=Ua(t,Ha);break;case"second":t=this._d.valueOf(),t-=Ua(t,Lu);break}return this._d.setTime(t),oe.updateOffset(this,!0),this}function $k(e){var t,r;if(e=tr(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?hm:dm,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=$u-Ua(t+(this._isUTC?0:this.utcOffset()*Ha),$u)-1;break;case"minute":t=this._d.valueOf(),t+=Ha-Ua(t,Ha)-1;break;case"second":t=this._d.valueOf(),t+=Lu-Ua(t,Lu)-1;break}return this._d.setTime(t),oe.updateOffset(this,!0),this}function Fk(){return this._d.valueOf()-(this._offset||0)*6e4}function Yk(){return Math.floor(this.valueOf()/1e3)}function jk(){return new Date(this.valueOf())}function Wk(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Bk(){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 Hk(){return this.isValid()?this.toISOString():null}function Uk(){return Wf(this)}function qk(){return Li({},Re(this))}function zk(){return Re(this).overflow}function Vk(){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");he("N",ad);he("NN",ad);he("NNN",ad);he("NNNN",iC);he("NNNNN",aC);it(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var o=r._locale.erasParse(e,s,r._strict);o?Re(r).era=o:Re(r).invalidEra=e});he("y",Ga);he("yy",Ga);he("yyy",Ga);he("yyyy",Ga);he("yo",sC);it(["y","yy","yyy","yyyy"],en);it(["yo"],function(e,t,r,s){var o;r._locale._eraYearOrdinalRegex&&(o=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[en]=r._locale.eraYearOrdinalParse(e,o):t[en]=parseInt(e,10)});function Gk(e,t){var r,s,o,c=this._eras||gi("en")._eras;for(r=0,s=c.length;r<s;++r){switch(typeof c[r].since){case"string":o=oe(c[r].since).startOf("day"),c[r].since=o.valueOf();break}switch(typeof c[r].until){case"undefined":c[r].until=1/0;break;case"string":o=oe(c[r].until).startOf("day").valueOf(),c[r].until=o.valueOf();break}}return c}function Kk(e,t,r){var s,o,c=this.eras(),g,x,k;for(e=e.toUpperCase(),s=0,o=c.length;s<o;++s)if(g=c[s].name.toUpperCase(),x=c[s].abbr.toUpperCase(),k=c[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(x===e)return c[s];break;case"NNNN":if(g===e)return c[s];break;case"NNNNN":if(k===e)return c[s];break}else if([g,x,k].indexOf(e)>=0)return c[s]}function Xk(e,t){var r=e.since<=e.until?1:-1;return t===void 0?oe(e.since).year():oe(e.since).year()+(t-e.offset)*r}function Zk(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function Jk(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function Qk(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function eC(){var e,t,r,s,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=o[e].since<=o[e].until?1:-1,s=this.clone().startOf("day").valueOf(),o[e].since<=s&&s<=o[e].until||o[e].until<=s&&s<=o[e].since)return(this.year()-oe(o[e].since).year())*r+o[e].offset;return this.year()}function tC(e){return Ve(this,"_erasNameRegex")||sd.call(this),e?this._erasNameRegex:this._erasRegex}function nC(e){return Ve(this,"_erasAbbrRegex")||sd.call(this),e?this._erasAbbrRegex:this._erasRegex}function rC(e){return Ve(this,"_erasNarrowRegex")||sd.call(this),e?this._erasNarrowRegex:this._erasRegex}function ad(e,t){return t.erasAbbrRegex(e)}function iC(e,t){return t.erasNameRegex(e)}function aC(e,t){return t.erasNarrowRegex(e)}function sC(e,t){return t._eraYearOrdinalRegex||Ga}function sd(){var e=[],t=[],r=[],s=[],o,c,g,x,k,E=this.eras();for(o=0,c=E.length;o<c;++o)g=ci(E[o].name),x=ci(E[o].abbr),k=ci(E[o].narrow),t.push(g),e.push(x),r.push(k),s.push(g),s.push(x),s.push(k);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}ve(0,["gg",2],0,function(){return this.weekYear()%100});ve(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Qu(e,t){ve(0,[e,e.length],0,t)}Qu("gggg","weekYear");Qu("ggggg","weekYear");Qu("GGGG","isoWeekYear");Qu("GGGGG","isoWeekYear");he("G",Gu);he("g",Gu);he("GG",lt,Pn);he("gg",lt,Pn);he("GGGG",Vf,zf);he("gggg",Vf,zf);he("GGGGG",Vu,qu);he("ggggg",Vu,qu);io(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=We(e)});io(["gg","GG"],function(e,t,r,s){t[s]=oe.parseTwoDigitYear(e)});function oC(e){return pm.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function uC(e){return pm.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function lC(){return fi(this.year(),1,4)}function cC(){return fi(this.isoWeekYear(),1,4)}function fC(){var e=this.localeData()._week;return fi(this.year(),e.dow,e.doy)}function dC(){var e=this.localeData()._week;return fi(this.weekYear(),e.dow,e.doy)}function pm(e,t,r,s,o){var c;return e==null?zs(this,s,o).year:(c=fi(e,s,o),t>c&&(t=c),hC.call(this,e,t,r,s,o))}function hC(e,t,r,s,o){var c=Vg(e,t,r,s,o),g=qs(c.year,0,c.dayOfYear);return this.year(g.getUTCFullYear()),this.month(g.getUTCMonth()),this.date(g.getUTCDate()),this}ve("Q",0,"Qo","quarter");he("Q",Lg);it("Q",function(e,t){t[ui]=(We(e)-1)*3});function pC(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}ve("D",["DD",2],"Do","date");he("D",lt,Ka);he("DD",lt,Pn);he("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});it(["D","DD"],Ir);it("Do",function(e,t){t[Ir]=We(e.match(lt)[0])});var gm=Xa("Date",!0);ve("DDD",["DDDD",3],"DDDo","dayOfYear");he("DDD",zu);he("DDDD",$g);it(["DDD","DDDD"],function(e,t,r){r._dayOfYear=We(e)});function gC(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");he("m",lt,Gf);he("mm",lt,Pn);it(["m","mm"],pr);var mC=Xa("Minutes",!1);ve("s",["ss",2],0,"second");he("s",lt,Gf);he("ss",lt,Pn);it(["s","ss"],li);var yC=Xa("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});he("S",zu,Lg);he("SS",zu,Pn);he("SSS",zu,$g);var $i,mm;for($i="SSSS";$i.length<=9;$i+="S")he($i,Ga);function vC(e,t){t[ia]=We(("0."+e)*1e3)}for($i="S";$i.length<=9;$i+="S")it($i,vC);mm=Xa("Milliseconds",!1);ve("z",0,0,"zoneAbbr");ve("zz",0,0,"zoneName");function bC(){return this._isUTC?"UTC":""}function _C(){return this._isUTC?"Coordinated Universal Time":""}var ne=no.prototype;ne.add=dk;ne.calendar=bk;ne.clone=_k;ne.diff=Tk;ne.endOf=$k;ne.format=Rk;ne.from=Ok;ne.fromNow=Ik;ne.to=Pk;ne.toNow=Nk;ne.get=Aw;ne.invalidAt=zk;ne.isAfter=xk;ne.isBefore=wk;ne.isBetween=Sk;ne.isSame=kk;ne.isSameOrAfter=Ck;ne.isSameOrBefore=Dk;ne.isValid=Uk;ne.lang=lm;ne.locale=um;ne.localeData=cm;ne.max=US;ne.min=HS;ne.parsingFlags=qk;ne.set=Rw;ne.startOf=Lk;ne.subtract=hk;ne.toArray=Wk;ne.toObject=Bk;ne.toDate=jk;ne.toISOString=Mk;ne.inspect=Ak;typeof Symbol<"u"&&Symbol.for!=null&&(ne[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});ne.toJSON=Hk;ne.toString=Ek;ne.unix=Yk;ne.valueOf=Fk;ne.creationData=Vk;ne.eraName=Zk;ne.eraNarrow=Jk;ne.eraAbbr=Qk;ne.eraYear=eC;ne.year=jg;ne.isLeapYear=Mw;ne.weekYear=oC;ne.isoWeekYear=uC;ne.quarter=ne.quarters=pC;ne.month=qg;ne.daysInMonth=jw;ne.week=ne.weeks=Gw;ne.isoWeek=ne.isoWeeks=Kw;ne.weeksInYear=fC;ne.weeksInWeekYear=dC;ne.isoWeeksInYear=lC;ne.isoWeeksInISOWeekYear=cC;ne.date=gm;ne.day=ne.days=uS;ne.weekday=lS;ne.isoWeekday=cS;ne.dayOfYear=gC;ne.hour=ne.hours=yS;ne.minute=ne.minutes=mC;ne.second=ne.seconds=yC;ne.millisecond=ne.milliseconds=mm;ne.utcOffset=QS;ne.utc=tk;ne.local=nk;ne.parseZone=rk;ne.hasAlignedHourOffset=ik;ne.isDST=ak;ne.isLocal=ok;ne.isUtcOffset=uk;ne.isUtc=im;ne.isUTC=im;ne.zoneAbbr=bC;ne.zoneName=_C;ne.dates=er("dates accessor is deprecated. Use date instead.",gm);ne.months=er("months accessor is deprecated. Use month instead",qg);ne.years=er("years accessor is deprecated. Use year instead",jg);ne.zone=er("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ek);ne.isDSTShifted=er("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",sk);function xC(e){return ut(e*1e3)}function wC(){return ut.apply(null,arguments).parseZone()}function ym(e){return e}var Ge=Hf.prototype;Ge.calendar=ow;Ge.longDateFormat=fw;Ge.invalidDate=hw;Ge.ordinal=mw;Ge.preparse=ym;Ge.postformat=ym;Ge.relativeTime=vw;Ge.pastFuture=bw;Ge.set=aw;Ge.eras=Gk;Ge.erasParse=Kk;Ge.erasConvertYear=Xk;Ge.erasAbbrRegex=nC;Ge.erasNameRegex=tC;Ge.erasNarrowRegex=rC;Ge.months=Lw;Ge.monthsShort=$w;Ge.monthsParse=Yw;Ge.monthsRegex=Bw;Ge.monthsShortRegex=Ww;Ge.week=Uw;Ge.firstDayOfYear=Vw;Ge.firstDayOfWeek=zw;Ge.weekdays=rS;Ge.weekdaysMin=aS;Ge.weekdaysShort=iS;Ge.weekdaysParse=oS;Ge.weekdaysRegex=fS;Ge.weekdaysShortRegex=dS;Ge.weekdaysMinRegex=hS;Ge.isPM=gS;Ge.meridiem=vS;function Fu(e,t,r,s){var o=gi(),c=Fr().set(s,t);return o[r](c,e)}function vm(e,t,r){if(hi(e)&&(t=e,e=void 0),e=e||"",t!=null)return Fu(e,t,r,"month");var s,o=[];for(s=0;s<12;s++)o[s]=Fu(e,s,r,"month");return o}function od(e,t,r,s){typeof e=="boolean"?(hi(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,hi(t)&&(r=t,t=void 0),t=t||"");var o=gi(),c=e?o._week.dow:0,g,x=[];if(r!=null)return Fu(t,(r+c)%7,s,"day");for(g=0;g<7;g++)x[g]=Fu(t,(g+c)%7,s,"day");return x}function SC(e,t){return vm(e,t,"months")}function kC(e,t){return vm(e,t,"monthsShort")}function CC(e,t,r){return od(e,t,r,"weekdays")}function DC(e,t,r){return od(e,t,r,"weekdaysShort")}function TC(e,t,r){return od(e,t,r,"weekdaysMin")}Fi("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,r=We(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});oe.lang=er("moment.lang is deprecated. Use moment.locale instead.",Fi);oe.langData=er("moment.langData is deprecated. Use moment.localeData instead.",gi);var ai=Math.abs;function EC(){var e=this._data;return this._milliseconds=ai(this._milliseconds),this._days=ai(this._days),this._months=ai(this._months),e.milliseconds=ai(e.milliseconds),e.seconds=ai(e.seconds),e.minutes=ai(e.minutes),e.hours=ai(e.hours),e.months=ai(e.months),e.years=ai(e.years),this}function bm(e,t,r,s){var o=yr(t,r);return e._milliseconds+=s*o._milliseconds,e._days+=s*o._days,e._months+=s*o._months,e._bubble()}function MC(e,t){return bm(this,e,t,1)}function AC(e,t){return bm(this,e,t,-1)}function Lp(e){return e<0?Math.floor(e):Math.ceil(e)}function RC(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,o,c,g,x,k;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Lp(Tf(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,o=Zn(e/1e3),s.seconds=o%60,c=Zn(o/60),s.minutes=c%60,g=Zn(c/60),s.hours=g%24,t+=Zn(g/24),k=Zn(_m(t)),r+=k,t-=Lp(Tf(k)),x=Zn(r/12),r%=12,s.days=t,s.months=r,s.years=x,this}function _m(e){return e*4800/146097}function Tf(e){return e*146097/4800}function OC(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=tr(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+_m(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Tf(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function mi(e){return function(){return this.as(e)}}var xm=mi("ms"),IC=mi("s"),PC=mi("m"),NC=mi("h"),LC=mi("d"),$C=mi("w"),FC=mi("M"),YC=mi("Q"),jC=mi("y"),WC=xm;function BC(){return yr(this)}function HC(e){return e=tr(e),this.isValid()?this[e+"s"]():NaN}function pa(e){return function(){return this.isValid()?this._data[e]:NaN}}var UC=pa("milliseconds"),qC=pa("seconds"),zC=pa("minutes"),VC=pa("hours"),GC=pa("days"),KC=pa("months"),XC=pa("years");function ZC(){return Zn(this.days()/7)}var si=Math.round,Wa={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function JC(e,t,r,s,o){return o.relativeTime(t||1,!!r,e,s)}function QC(e,t,r,s){var o=yr(e).abs(),c=si(o.as("s")),g=si(o.as("m")),x=si(o.as("h")),k=si(o.as("d")),E=si(o.as("M")),P=si(o.as("w")),j=si(o.as("y")),B=c<=r.ss&&["s",c]||c<r.s&&["ss",c]||g<=1&&["m"]||g<r.m&&["mm",g]||x<=1&&["h"]||x<r.h&&["hh",x]||k<=1&&["d"]||k<r.d&&["dd",k];return r.w!=null&&(B=B||P<=1&&["w"]||P<r.w&&["ww",P]),B=B||E<=1&&["M"]||E<r.M&&["MM",E]||j<=1&&["y"]||["yy",j],B[2]=t,B[3]=+e>0,B[4]=s,JC.apply(null,B)}function eD(e){return e===void 0?si:typeof e=="function"?(si=e,!0):!1}function tD(e,t){return Wa[e]===void 0?!1:t===void 0?Wa[e]:(Wa[e]=t,e==="s"&&(Wa.ss=t-1),!0)}function nD(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=Wa,o,c;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},Wa,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),o=this.localeData(),c=QC(this,!r,s,o),r&&(c=o.pastFuture(+this,c)),o.postformat(c)}var of=Math.abs;function Pa(e){return(e>0)-(e<0)||+e}function el(){if(!this.isValid())return this.localeData().invalidDate();var e=of(this._milliseconds)/1e3,t=of(this._days),r=of(this._months),s,o,c,g,x=this.asSeconds(),k,E,P,j;return x?(s=Zn(e/60),o=Zn(s/60),e%=60,s%=60,c=Zn(r/12),r%=12,g=e?e.toFixed(3).replace(/\.?0+$/,""):"",k=x<0?"-":"",E=Pa(this._months)!==Pa(x)?"-":"",P=Pa(this._days)!==Pa(x)?"-":"",j=Pa(this._milliseconds)!==Pa(x)?"-":"",k+"P"+(c?E+c+"Y":"")+(r?E+r+"M":"")+(t?P+t+"D":"")+(o||s||e?"T":"")+(o?j+o+"H":"")+(s?j+s+"M":"")+(e?j+g+"S":"")):"P0D"}var Ue=Ju.prototype;Ue.isValid=KS;Ue.abs=EC;Ue.add=MC;Ue.subtract=AC;Ue.as=OC;Ue.asMilliseconds=xm;Ue.asSeconds=IC;Ue.asMinutes=PC;Ue.asHours=NC;Ue.asDays=LC;Ue.asWeeks=$C;Ue.asMonths=FC;Ue.asQuarters=YC;Ue.asYears=jC;Ue.valueOf=WC;Ue._bubble=RC;Ue.clone=BC;Ue.get=HC;Ue.milliseconds=UC;Ue.seconds=qC;Ue.minutes=zC;Ue.hours=VC;Ue.days=GC;Ue.weeks=ZC;Ue.months=KC;Ue.years=XC;Ue.humanize=nD;Ue.toISOString=el;Ue.toString=el;Ue.toJSON=el;Ue.locale=um;Ue.localeData=cm;Ue.toIsoString=er("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",el);Ue.lang=lm;ve("X",0,0,"unix");ve("x",0,0,"valueOf");he("x",Gu);he("X",Sw);it("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});it("x",function(e,t,r){r._d=new Date(We(e))});//! moment.js
|
|
10
|
+
oe.version="2.30.1";rw(ut);oe.fn=ne;oe.min=qS;oe.max=zS;oe.now=VS;oe.utc=Fr;oe.unix=xC;oe.months=SC;oe.isDate=to;oe.locale=Fi;oe.invalid=Uu;oe.duration=yr;oe.isMoment=mr;oe.weekdays=CC;oe.parseZone=wC;oe.localeData=gi;oe.isDuration=Tu;oe.monthsShort=kC;oe.weekdaysMin=TC;oe.defineLocale=Qf;oe.updateLocale=wS;oe.locales=SS;oe.weekdaysShort=DC;oe.normalizeUnits=tr;oe.relativeTimeRounding=eD;oe.relativeTimeThreshold=tD;oe.calendarFormat=vk;oe.prototype=ne;oe.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 rD=Object.freeze(Object.defineProperty({__proto__:null,default:oe},Symbol.toStringTag,{value:"Module"})),iD=({notification:e,handleUpdateRead:t})=>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:oe(e.createdAt).local().startOf("hour").fromNow()})}),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"})]}),$p=({notidata:e,handleUpdateRead:t,handleUpdateReadAll:r})=>D.jsxRuntimeExports.jsxs("div",{children:[D.jsxRuntimeExports.jsx("div",{className:"mark-all-read",children:D.jsxRuntimeExports.jsx("button",{onClick:r,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((s,o)=>D.jsxRuntimeExports.jsx(iD,{notification:s,handleUpdateRead:t},o))})})]}),ud=D.reactExports.createContext({}),aD=({children:e})=>{const[t,r]=D.reactExports.useState(!0),s=()=>{r(!t)},o=()=>{r(!0)};return D.jsxRuntimeExports.jsx(ud.Provider,{value:{isOpen:t,toggleOpen:s,setShowModalFalse:o},children:e})};const sD={black:"#000",white:"#fff"},Gs=sD,oD={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"},Na=oD,uD={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"},La=uD,lD={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"},$a=lD,cD={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"},Fa=cD,fD={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"},Ya=fD,dD={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"},js=dD,hD={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"},pD=hD;function Ks(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const gD=Object.freeze(Object.defineProperty({__proto__:null,default:Ks},Symbol.toStringTag,{value:"Module"})),wm="$$material";function Sm(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var mD=/^((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)-.*))$/,yD=Sm(function(e){return mD.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function vD(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 bD(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 _D=function(){function e(r){var s=this;this._insertTag=function(o){var c;s.tags.length===0?s.insertionPoint?c=s.insertionPoint.nextSibling:s.prepend?c=s.container.firstChild:c=s.before:c=s.tags[s.tags.length-1].nextSibling,s.container.insertBefore(o,c),s.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(s){s.forEach(this._insertTag)},t.insert=function(s){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(bD(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var c=vD(o);try{c.insertRule(s,c.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(s));this.ctr++},t.flush=function(){this.tags.forEach(function(s){return s.parentNode&&s.parentNode.removeChild(s)}),this.tags=[],this.ctr=0},e}(),Qt="-ms-",Yu="-moz-",Ke="-webkit-",km="comm",ld="rule",cd="decl",xD="@import",Cm="@keyframes",wD="@layer",SD=Math.abs,tl=String.fromCharCode,kD=Object.assign;function CD(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 Dm(e){return e.trim()}function DD(e,t){return(e=t.exec(e))?e[0]:e}function Xe(e,t,r){return e.replace(t,r)}function Ef(e,t){return e.indexOf(t)}function Ut(e,t){return e.charCodeAt(t)|0}function Xs(e,t,r){return e.slice(t,r)}function Rr(e){return e.length}function fd(e){return e.length}function Su(e,t){return t.push(e),e}function TD(e,t){return e.map(t).join("")}var nl=1,Va=1,Tm=0,xn=0,Dt=0,Za="";function rl(e,t,r,s,o,c,g){return{value:e,root:t,parent:r,type:s,props:o,children:c,line:nl,column:Va,length:g,return:""}}function Ws(e,t){return kD(rl("",null,null,"",null,null,0),e,{length:-e.length},t)}function ED(){return Dt}function MD(){return Dt=xn>0?Ut(Za,--xn):0,Va--,Dt===10&&(Va=1,nl--),Dt}function On(){return Dt=xn<Tm?Ut(Za,xn++):0,Va++,Dt===10&&(Va=1,nl++),Dt}function Pr(){return Ut(Za,xn)}function Mu(){return xn}function ao(e,t){return Xs(Za,e,t)}function Zs(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 Em(e){return nl=Va=1,Tm=Rr(Za=e),xn=0,[]}function Mm(e){return Za="",e}function Au(e){return Dm(ao(xn-1,Mf(e===91?e+2:e===40?e+1:e)))}function AD(e){for(;(Dt=Pr())&&Dt<33;)On();return Zs(e)>2||Zs(Dt)>3?"":" "}function RD(e,t){for(;--t&&On()&&!(Dt<48||Dt>102||Dt>57&&Dt<65||Dt>70&&Dt<97););return ao(e,Mu()+(t<6&&Pr()==32&&On()==32))}function Mf(e){for(;On();)switch(Dt){case e:return xn;case 34:case 39:e!==34&&e!==39&&Mf(Dt);break;case 40:e===41&&Mf(e);break;case 92:On();break}return xn}function OD(e,t){for(;On()&&e+Dt!==47+10;)if(e+Dt===42+42&&Pr()===47)break;return"/*"+ao(t,xn-1)+"*"+tl(e===47?e:On())}function ID(e){for(;!Zs(Pr());)On();return ao(e,xn)}function PD(e){return Mm(Ru("",null,null,null,[""],e=Em(e),0,[0],e))}function Ru(e,t,r,s,o,c,g,x,k){for(var E=0,P=0,j=g,B=0,V=0,U=0,F=1,ee=1,H=1,pe=0,ge="",me=o,re=c,ie=s,d=ge;ee;)switch(U=pe,pe=On()){case 40:if(U!=108&&Ut(d,j-1)==58){Ef(d+=Xe(Au(pe),"&","&\f"),"&\f")!=-1&&(H=-1);break}case 34:case 39:case 91:d+=Au(pe);break;case 9:case 10:case 13:case 32:d+=AD(U);break;case 92:d+=RD(Mu()-1,7);continue;case 47:switch(Pr()){case 42:case 47:Su(ND(OD(On(),Mu()),t,r),k);break;default:d+="/"}break;case 123*F:x[E++]=Rr(d)*H;case 125*F:case 59:case 0:switch(pe){case 0:case 125:ee=0;case 59+P:H==-1&&(d=Xe(d,/\f/g,"")),V>0&&Rr(d)-j&&Su(V>32?Yp(d+";",s,r,j-1):Yp(Xe(d," ","")+";",s,r,j-2),k);break;case 59:d+=";";default:if(Su(ie=Fp(d,t,r,E,P,o,x,ge,me=[],re=[],j),c),pe===123)if(P===0)Ru(d,t,ie,ie,me,c,j,x,re);else switch(B===99&&Ut(d,3)===110?100:B){case 100:case 108:case 109:case 115:Ru(e,ie,ie,s&&Su(Fp(e,ie,ie,0,0,o,x,ge,o,me=[],j),re),o,re,j,x,s?me:re);break;default:Ru(d,ie,ie,ie,[""],re,0,x,re)}}E=P=V=0,F=H=1,ge=d="",j=g;break;case 58:j=1+Rr(d),V=U;default:if(F<1){if(pe==123)--F;else if(pe==125&&F++==0&&MD()==125)continue}switch(d+=tl(pe),pe*F){case 38:H=P>0?1:(d+="\f",-1);break;case 44:x[E++]=(Rr(d)-1)*H,H=1;break;case 64:Pr()===45&&(d+=Au(On())),B=Pr(),P=j=Rr(ge=d+=ID(Mu())),pe++;break;case 45:U===45&&Rr(d)==2&&(F=0)}}return c}function Fp(e,t,r,s,o,c,g,x,k,E,P){for(var j=o-1,B=o===0?c:[""],V=fd(B),U=0,F=0,ee=0;U<s;++U)for(var H=0,pe=Xs(e,j+1,j=SD(F=g[U])),ge=e;H<V;++H)(ge=Dm(F>0?B[H]+" "+pe:Xe(pe,/&\f/g,B[H])))&&(k[ee++]=ge);return rl(e,t,r,o===0?ld:x,k,E,P)}function ND(e,t,r){return rl(e,t,r,km,tl(ED()),Xs(e,2,-2),0)}function Yp(e,t,r,s){return rl(e,t,r,cd,Xs(e,0,s),Xs(e,s+1,-1),s)}function qa(e,t){for(var r="",s=fd(e),o=0;o<s;o++)r+=t(e[o],o,e,t)||"";return r}function LD(e,t,r,s){switch(e.type){case wD:if(e.children.length)break;case xD:case cd:return e.return=e.return||e.value;case km:return"";case Cm:return e.return=e.value+"{"+qa(e.children,s)+"}";case ld:e.value=e.props.join(",")}return Rr(r=qa(e.children,s))?e.return=e.value+"{"+r+"}":""}function $D(e){var t=fd(e);return function(r,s,o,c){for(var g="",x=0;x<t;x++)g+=e[x](r,s,o,c)||"";return g}}function FD(e){return function(t){t.root||(t=t.return)&&e(t)}}var YD=function(t,r,s){for(var o=0,c=0;o=c,c=Pr(),o===38&&c===12&&(r[s]=1),!Zs(c);)On();return ao(t,xn)},jD=function(t,r){var s=-1,o=44;do switch(Zs(o)){case 0:o===38&&Pr()===12&&(r[s]=1),t[s]+=YD(xn-1,r,s);break;case 2:t[s]+=Au(o);break;case 4:if(o===44){t[++s]=Pr()===58?"&\f":"",r[s]=t[s].length;break}default:t[s]+=tl(o)}while(o=On());return t},WD=function(t,r){return Mm(jD(Em(t),r))},jp=new WeakMap,BD=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,s=t.parent,o=t.column===s.column&&t.line===s.line;s.type!=="rule";)if(s=s.parent,!s)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!jp.get(s))&&!o){jp.set(t,!0);for(var c=[],g=WD(r,c),x=s.props,k=0,E=0;k<g.length;k++)for(var P=0;P<x.length;P++,E++)t.props[E]=c[k]?g[k].replace(/&\f/g,x[P]):x[P]+" "+g[k]}}},HD=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Am(e,t){switch(CD(e,t)){case 5103:return Ke+"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 Ke+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ke+e+Yu+e+Qt+e+e;case 6828:case 4268:return Ke+e+Qt+e+e;case 6165:return Ke+e+Qt+"flex-"+e+e;case 5187:return Ke+e+Xe(e,/(\w+).+(:[^]+)/,Ke+"box-$1$2"+Qt+"flex-$1$2")+e;case 5443:return Ke+e+Qt+"flex-item-"+Xe(e,/flex-|-self/,"")+e;case 4675:return Ke+e+Qt+"flex-line-pack"+Xe(e,/align-content|flex-|-self/,"")+e;case 5548:return Ke+e+Qt+Xe(e,"shrink","negative")+e;case 5292:return Ke+e+Qt+Xe(e,"basis","preferred-size")+e;case 6060:return Ke+"box-"+Xe(e,"-grow","")+Ke+e+Qt+Xe(e,"grow","positive")+e;case 4554:return Ke+Xe(e,/([^-])(transform)/g,"$1"+Ke+"$2")+e;case 6187:return Xe(Xe(Xe(e,/(zoom-|grab)/,Ke+"$1"),/(image-set)/,Ke+"$1"),e,"")+e;case 5495:case 3959:return Xe(e,/(image-set\([^]*)/,Ke+"$1$`$1");case 4968:return Xe(Xe(e,/(.+:)(flex-)?(.*)/,Ke+"box-pack:$3"+Qt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ke+e+e;case 4095:case 3583:case 4068:case 2532:return Xe(e,/(.+)-inline(.+)/,Ke+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Rr(e)-1-t>6)switch(Ut(e,t+1)){case 109:if(Ut(e,t+4)!==45)break;case 102:return Xe(e,/(.+:)(.+)-([^]+)/,"$1"+Ke+"$2-$3$1"+Yu+(Ut(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ef(e,"stretch")?Am(Xe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ut(e,t+1)!==115)break;case 6444:switch(Ut(e,Rr(e)-3-(~Ef(e,"!important")&&10))){case 107:return Xe(e,":",":"+Ke)+e;case 101:return Xe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ke+(Ut(e,14)===45?"inline-":"")+"box$3$1"+Ke+"$2$3$1"+Qt+"$2box$3")+e}break;case 5936:switch(Ut(e,t+11)){case 114:return Ke+e+Qt+Xe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ke+e+Qt+Xe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ke+e+Qt+Xe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ke+e+Qt+e+e}return e}var UD=function(t,r,s,o){if(t.length>-1&&!t.return)switch(t.type){case cd:t.return=Am(t.value,t.length);break;case Cm:return qa([Ws(t,{value:Xe(t.value,"@","@"+Ke)})],o);case ld:if(t.length)return TD(t.props,function(c){switch(DD(c,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return qa([Ws(t,{props:[Xe(c,/:(read-\w+)/,":"+Yu+"$1")]})],o);case"::placeholder":return qa([Ws(t,{props:[Xe(c,/:(plac\w+)/,":"+Ke+"input-$1")]}),Ws(t,{props:[Xe(c,/:(plac\w+)/,":"+Yu+"$1")]}),Ws(t,{props:[Xe(c,/:(plac\w+)/,Qt+"input-$1")]})],o)}return""})}},qD=[UD],Rm=function(t){var r=t.key;if(r==="css"){var s=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(s,function(F){var ee=F.getAttribute("data-emotion");ee.indexOf(" ")!==-1&&(document.head.appendChild(F),F.setAttribute("data-s",""))})}var o=t.stylisPlugins||qD,c={},g,x=[];g=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(F){for(var ee=F.getAttribute("data-emotion").split(" "),H=1;H<ee.length;H++)c[ee[H]]=!0;x.push(F)});var k,E=[BD,HD];{var P,j=[LD,FD(function(F){P.insert(F)})],B=$D(E.concat(o,j)),V=function(ee){return qa(PD(ee),B)};k=function(ee,H,pe,ge){P=pe,V(ee?ee+"{"+H.styles+"}":H.styles),ge&&(U.inserted[H.name]=!0)}}var U={key:r,sheet:new _D({key:r,container:g,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:c,registered:{},insert:k};return U.sheet.hydrate(x),U},Om={exports:{}},tt={};/** @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 jt=typeof Symbol=="function"&&Symbol.for,dd=jt?Symbol.for("react.element"):60103,hd=jt?Symbol.for("react.portal"):60106,il=jt?Symbol.for("react.fragment"):60107,al=jt?Symbol.for("react.strict_mode"):60108,sl=jt?Symbol.for("react.profiler"):60114,ol=jt?Symbol.for("react.provider"):60109,ul=jt?Symbol.for("react.context"):60110,pd=jt?Symbol.for("react.async_mode"):60111,ll=jt?Symbol.for("react.concurrent_mode"):60111,cl=jt?Symbol.for("react.forward_ref"):60112,fl=jt?Symbol.for("react.suspense"):60113,zD=jt?Symbol.for("react.suspense_list"):60120,dl=jt?Symbol.for("react.memo"):60115,hl=jt?Symbol.for("react.lazy"):60116,VD=jt?Symbol.for("react.block"):60121,GD=jt?Symbol.for("react.fundamental"):60117,KD=jt?Symbol.for("react.responder"):60118,XD=jt?Symbol.for("react.scope"):60119;function Nn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case dd:switch(e=e.type,e){case pd:case ll:case il:case sl:case al:case fl:return e;default:switch(e=e&&e.$$typeof,e){case ul:case cl:case hl:case dl:case ol:return e;default:return t}}case hd:return t}}}function Im(e){return Nn(e)===ll}tt.AsyncMode=pd;tt.ConcurrentMode=ll;tt.ContextConsumer=ul;tt.ContextProvider=ol;tt.Element=dd;tt.ForwardRef=cl;tt.Fragment=il;tt.Lazy=hl;tt.Memo=dl;tt.Portal=hd;tt.Profiler=sl;tt.StrictMode=al;tt.Suspense=fl;tt.isAsyncMode=function(e){return Im(e)||Nn(e)===pd};tt.isConcurrentMode=Im;tt.isContextConsumer=function(e){return Nn(e)===ul};tt.isContextProvider=function(e){return Nn(e)===ol};tt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===dd};tt.isForwardRef=function(e){return Nn(e)===cl};tt.isFragment=function(e){return Nn(e)===il};tt.isLazy=function(e){return Nn(e)===hl};tt.isMemo=function(e){return Nn(e)===dl};tt.isPortal=function(e){return Nn(e)===hd};tt.isProfiler=function(e){return Nn(e)===sl};tt.isStrictMode=function(e){return Nn(e)===al};tt.isSuspense=function(e){return Nn(e)===fl};tt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===il||e===ll||e===sl||e===al||e===fl||e===zD||typeof e=="object"&&e!==null&&(e.$$typeof===hl||e.$$typeof===dl||e.$$typeof===ol||e.$$typeof===ul||e.$$typeof===cl||e.$$typeof===GD||e.$$typeof===KD||e.$$typeof===XD||e.$$typeof===VD)};tt.typeOf=Nn;Om.exports=tt;var ZD=Om.exports,Pm=ZD,JD={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},QD={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Nm={};Nm[Pm.ForwardRef]=JD;Nm[Pm.Memo]=QD;var eT=!0;function tT(e,t,r){var s="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):s+=o+" "}),s}var Lm=function(t,r,s){var o=t.key+"-"+r.name;(s===!1||eT===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},$m=function(t,r,s){Lm(t,r,s);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var c=r;do t.insert(r===c?"."+o:"",c,t.sheet,!0),c=c.next;while(c!==void 0)}};function nT(e){for(var t=0,r,s=0,o=e.length;o>=4;++s,o-=4)r=e.charCodeAt(s)&255|(e.charCodeAt(++s)&255)<<8|(e.charCodeAt(++s)&255)<<16|(e.charCodeAt(++s)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(s+2)&255)<<16;case 2:t^=(e.charCodeAt(s+1)&255)<<8;case 1:t^=e.charCodeAt(s)&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 rT={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},iT=/[A-Z]|^ms/g,aT=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fm=function(t){return t.charCodeAt(1)===45},Wp=function(t){return t!=null&&typeof t!="boolean"},uf=Sm(function(e){return Fm(e)?e:e.replace(iT,"-$&").toLowerCase()}),Bp=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(aT,function(s,o,c){return Or={name:o,styles:c,next:Or},o})}return rT[t]!==1&&!Fm(t)&&typeof r=="number"&&r!==0?r+"px":r};function Js(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Or={name:r.name,styles:r.styles,next:Or},r.name;if(r.styles!==void 0){var s=r.next;if(s!==void 0)for(;s!==void 0;)Or={name:s.name,styles:s.styles,next:Or},s=s.next;var o=r.styles+";";return o}return sT(e,t,r)}case"function":{if(e!==void 0){var c=Or,g=r(e);return Or=c,Js(e,t,g)}break}}if(t==null)return r;var x=t[r];return x!==void 0?x:r}function sT(e,t,r){var s="";if(Array.isArray(r))for(var o=0;o<r.length;o++)s+=Js(e,t,r[o])+";";else for(var c in r){var g=r[c];if(typeof g!="object")t!=null&&t[g]!==void 0?s+=c+"{"+t[g]+"}":Wp(g)&&(s+=uf(c)+":"+Bp(c,g)+";");else if(Array.isArray(g)&&typeof g[0]=="string"&&(t==null||t[g[0]]===void 0))for(var x=0;x<g.length;x++)Wp(g[x])&&(s+=uf(c)+":"+Bp(c,g[x])+";");else{var k=Js(e,t,g);switch(c){case"animation":case"animationName":{s+=uf(c)+":"+k+";";break}default:s+=c+"{"+k+"}"}}}return s}var Hp=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Or,gd=function(t,r,s){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,c="";Or=void 0;var g=t[0];g==null||g.raw===void 0?(o=!1,c+=Js(s,r,g)):c+=g[0];for(var x=1;x<t.length;x++)c+=Js(s,r,t[x]),o&&(c+=g[x]);Hp.lastIndex=0;for(var k="",E;(E=Hp.exec(c))!==null;)k+="-"+E[1];var P=nT(c)+k;return{name:P,styles:c,next:Or}},oT=function(t){return t()},Ym=D.React["useInsertionEffect"]?D.React["useInsertionEffect"]:!1,uT=Ym||oT,Up=Ym||D.reactExports.useLayoutEffect,jm=D.reactExports.createContext(typeof HTMLElement<"u"?Rm({key:"css"}):null),lT=jm.Provider,Wm=function(t){return D.reactExports.forwardRef(function(r,s){var o=D.reactExports.useContext(jm);return t(r,o,s)})},pl=D.reactExports.createContext({}),cT=Wm(function(e,t){var r=e.styles,s=gd([r],void 0,D.reactExports.useContext(pl)),o=D.reactExports.useRef();return Up(function(){var c=t.key+"-global",g=new t.sheet.constructor({key:c,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),x=!1,k=document.querySelector('style[data-emotion="'+c+" "+s.name+'"]');return t.sheet.tags.length&&(g.before=t.sheet.tags[0]),k!==null&&(x=!0,k.setAttribute("data-emotion",c),g.hydrate([k])),o.current=[g,x],function(){g.flush()}},[t]),Up(function(){var c=o.current,g=c[0],x=c[1];if(x){c[1]=!1;return}if(s.next!==void 0&&$m(t,s.next,!0),g.tags.length){var k=g.tags[g.tags.length-1].nextElementSibling;g.before=k,g.flush()}t.insert("",s,g,!1)},[t,s.name]),null});function Bm(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return gd(t)}var gl=function(){var t=Bm.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},fT=yD,dT=function(t){return t!=="theme"},qp=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?fT:dT},zp=function(t,r,s){var o;if(r){var c=r.shouldForwardProp;o=t.__emotion_forwardProp&&c?function(g){return t.__emotion_forwardProp(g)&&c(g)}:c}return typeof o!="function"&&s&&(o=t.__emotion_forwardProp),o},hT=function(t){var r=t.cache,s=t.serialized,o=t.isStringTag;return Lm(r,s,o),uT(function(){return $m(r,s,o)}),null},pT=function e(t,r){var s=t.__emotion_real===t,o=s&&t.__emotion_base||t,c,g;r!==void 0&&(c=r.label,g=r.target);var x=zp(t,r,s),k=x||qp(o),E=!k("as");return function(){var P=arguments,j=s&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(c!==void 0&&j.push("label:"+c+";"),P[0]==null||P[0].raw===void 0)j.push.apply(j,P);else{j.push(P[0][0]);for(var B=P.length,V=1;V<B;V++)j.push(P[V],P[0][V])}var U=Wm(function(F,ee,H){var pe=E&&F.as||o,ge="",me=[],re=F;if(F.theme==null){re={};for(var ie in F)re[ie]=F[ie];re.theme=D.reactExports.useContext(pl)}typeof F.className=="string"?ge=tT(ee.registered,me,F.className):F.className!=null&&(ge=F.className+" ");var d=gd(j.concat(me),ee.registered,re);ge+=ee.key+"-"+d.name,g!==void 0&&(ge+=" "+g);var Ne=E&&x===void 0?qp(pe):k,le={};for(var at in F)E&&at==="as"||Ne(at)&&(le[at]=F[at]);return le.className=ge,le.ref=H,D.reactExports.createElement(D.reactExports.Fragment,null,D.reactExports.createElement(hT,{cache:ee,serialized:d,isStringTag:typeof pe=="string"}),D.reactExports.createElement(pe,le))});return U.displayName=c!==void 0?c:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",U.defaultProps=t.defaultProps,U.__emotion_real=U,U.__emotion_base=o,U.__emotion_styles=j,U.__emotion_forwardProp=x,Object.defineProperty(U,"toString",{value:function(){return"."+g}}),U.withComponent=function(F,ee){return e(F,D._extends({},r,ee,{shouldForwardProp:zp(U,ee,!0)})).apply(void 0,j)},U}},gT=["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"],Af=pT.bind();gT.forEach(function(e){Af[e]=Af(e)});let Rf;typeof document=="object"&&(Rf=Rm({key:"css",prepend:!0}));function mT(e){const{injectFirst:t,children:r}=e;return t&&Rf?D.jsxRuntimeExports.jsx(lT,{value:Rf,children:r}):r}function yT(e){return e==null||Object.keys(e).length===0}function vT(e){const{styles:t,defaultTheme:r={}}=e,s=typeof t=="function"?o=>t(yT(o)?r:o):t;return D.jsxRuntimeExports.jsx(cT,{styles:s})}/**
|
|
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 bT(e,t){return Af(e,t)}const _T=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},xT=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:vT,StyledEngineProvider:mT,ThemeContext:pl,css:Bm,default:bT,internal_processStyles:_T,keyframes:gl},Symbol.toStringTag,{value:"Module"}));function Ni(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 Hm(e){if(!Ni(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Hm(e[r])}),t}function Nr(e,t,r={clone:!0}){const s=r.clone?D._extends({},e):e;return Ni(e)&&Ni(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(Ni(t[o])&&o in e&&Ni(e[o])?s[o]=Nr(e[o],t[o],r):r.clone?s[o]=Ni(t[o])?Hm(t[o]):t[o]:s[o]=t[o])}),s}const wT=Object.freeze(Object.defineProperty({__proto__:null,default:Nr,isPlainObject:Ni},Symbol.toStringTag,{value:"Module"})),ST=["values","unit","step"],kT=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,s)=>r.val-s.val),t.reduce((r,s)=>D._extends({},r,{[s.key]:s.val}),{})};function Um(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:s=5}=e,o=D._objectWithoutPropertiesLoose(e,ST),c=kT(t),g=Object.keys(c);function x(B){return`@media (min-width:${typeof t[B]=="number"?t[B]:B}${r})`}function k(B){return`@media (max-width:${(typeof t[B]=="number"?t[B]:B)-s/100}${r})`}function E(B,V){const U=g.indexOf(V);return`@media (min-width:${typeof t[B]=="number"?t[B]:B}${r}) and (max-width:${(U!==-1&&typeof t[g[U]]=="number"?t[g[U]]:V)-s/100}${r})`}function P(B){return g.indexOf(B)+1<g.length?E(B,g[g.indexOf(B)+1]):x(B)}function j(B){const V=g.indexOf(B);return V===0?x(g[1]):V===g.length-1?k(g[V]):E(B,g[g.indexOf(B)+1]).replace("@media","@media not all and")}return D._extends({keys:g,values:c,up:x,down:k,between:E,only:P,not:j,unit:r},o)}const CT={borderRadius:4},DT=CT;function Hs(e,t){return t?Nr(e,t,{clone:!1}):e}const md={xs:0,sm:600,md:900,lg:1200,xl:1536},Vp={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${md[e]}px)`};function pi(e,t,r){const s=e.theme||{};if(Array.isArray(t)){const c=s.breakpoints||Vp;return t.reduce((g,x,k)=>(g[c.up(c.keys[k])]=r(t[k]),g),{})}if(typeof t=="object"){const c=s.breakpoints||Vp;return Object.keys(t).reduce((g,x)=>{if(Object.keys(c.values||md).indexOf(x)!==-1){const k=c.up(x);g[k]=r(t[x],x)}else{const k=x;g[k]=t[k]}return g},{})}return r(t)}function TT(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((s,o)=>{const c=e.up(o);return s[c]={},s},{}))||{}}function ET(e,t){return e.reduce((r,s)=>{const o=r[s];return(!o||Object.keys(o).length===0)&&delete r[s],r},t)}function Lr(e){if(typeof e!="string")throw new Error(Ks(7));return e.charAt(0).toUpperCase()+e.slice(1)}const MT=Object.freeze(Object.defineProperty({__proto__:null,default:Lr},Symbol.toStringTag,{value:"Module"}));function ml(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const s=`vars.${t}`.split(".").reduce((o,c)=>o&&o[c]?o[c]:null,e);if(s!=null)return s}return t.split(".").reduce((s,o)=>s&&s[o]!=null?s[o]:null,e)}function ju(e,t,r,s=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||s:o=ml(e,r)||s,t&&(o=t(o,s,e)),o}function kt(e){const{prop:t,cssProperty:r=e.prop,themeKey:s,transform:o}=e,c=g=>{if(g[t]==null)return null;const x=g[t],k=g.theme,E=ml(k,s)||{};return pi(g,x,j=>{let B=ju(E,o,j);return j===B&&typeof j=="string"&&(B=ju(E,o,`${t}${j==="default"?"":Lr(j)}`,j)),r===!1?B:{[r]:B}})};return c.propTypes={},c.filterProps=[t],c}function AT(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const RT={m:"margin",p:"padding"},OT={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Gp={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},IT=AT(e=>{if(e.length>2)if(Gp[e])e=Gp[e];else return[e];const[t,r]=e.split(""),s=RT[t],o=OT[r]||"";return Array.isArray(o)?o.map(c=>s+c):[s+o]}),yd=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],vd=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...yd,...vd];function so(e,t,r,s){var o;const c=(o=ml(e,t,!1))!=null?o:r;return typeof c=="number"?g=>typeof g=="string"?g:c*g:Array.isArray(c)?g=>typeof g=="string"?g:c[g]:typeof c=="function"?c:()=>{}}function qm(e){return so(e,"spacing",8)}function oo(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),s=e(r);return t>=0?s:typeof s=="number"?-s:`-${s}`}function PT(e,t){return r=>e.reduce((s,o)=>(s[o]=oo(t,r),s),{})}function NT(e,t,r,s){if(t.indexOf(r)===-1)return null;const o=IT(r),c=PT(o,s),g=e[r];return pi(e,g,c)}function zm(e,t){const r=qm(e.theme);return Object.keys(e).map(s=>NT(e,t,s,r)).reduce(Hs,{})}function yt(e){return zm(e,yd)}yt.propTypes={};yt.filterProps=yd;function vt(e){return zm(e,vd)}vt.propTypes={};vt.filterProps=vd;function LT(e=8){if(e.mui)return e;const t=qm({spacing:e}),r=(...s)=>(s.length===0?[1]:s).map(c=>{const g=t(c);return typeof g=="number"?`${g}px`:g}).join(" ");return r.mui=!0,r}function yl(...e){const t=e.reduce((s,o)=>(o.filterProps.forEach(c=>{s[c]=o}),s),{}),r=s=>Object.keys(s).reduce((o,c)=>t[c]?Hs(o,t[c](s)):o,{});return r.propTypes={},r.filterProps=e.reduce((s,o)=>s.concat(o.filterProps),[]),r}function Jn(e){return typeof e!="number"?e:`${e}px solid`}function nr(e,t){return kt({prop:e,themeKey:"borders",transform:t})}const $T=nr("border",Jn),FT=nr("borderTop",Jn),YT=nr("borderRight",Jn),jT=nr("borderBottom",Jn),WT=nr("borderLeft",Jn),BT=nr("borderColor"),HT=nr("borderTopColor"),UT=nr("borderRightColor"),qT=nr("borderBottomColor"),zT=nr("borderLeftColor"),VT=nr("outline",Jn),GT=nr("outlineColor"),vl=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=so(e.theme,"shape.borderRadius",4),r=s=>({borderRadius:oo(t,s)});return pi(e,e.borderRadius,r)}return null};vl.propTypes={};vl.filterProps=["borderRadius"];yl($T,FT,YT,jT,WT,BT,HT,UT,qT,zT,vl,VT,GT);const bl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=so(e.theme,"spacing",8),r=s=>({gap:oo(t,s)});return pi(e,e.gap,r)}return null};bl.propTypes={};bl.filterProps=["gap"];const _l=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=so(e.theme,"spacing",8),r=s=>({columnGap:oo(t,s)});return pi(e,e.columnGap,r)}return null};_l.propTypes={};_l.filterProps=["columnGap"];const xl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=so(e.theme,"spacing",8),r=s=>({rowGap:oo(t,s)});return pi(e,e.rowGap,r)}return null};xl.propTypes={};xl.filterProps=["rowGap"];const KT=kt({prop:"gridColumn"}),XT=kt({prop:"gridRow"}),ZT=kt({prop:"gridAutoFlow"}),JT=kt({prop:"gridAutoColumns"}),QT=kt({prop:"gridAutoRows"}),eE=kt({prop:"gridTemplateColumns"}),tE=kt({prop:"gridTemplateRows"}),nE=kt({prop:"gridTemplateAreas"}),rE=kt({prop:"gridArea"});yl(bl,_l,xl,KT,XT,ZT,JT,QT,eE,tE,nE,rE);function za(e,t){return t==="grey"?t:e}const iE=kt({prop:"color",themeKey:"palette",transform:za}),aE=kt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:za}),sE=kt({prop:"backgroundColor",themeKey:"palette",transform:za});yl(iE,aE,sE);function Rn(e){return e<=1&&e!==0?`${e*100}%`:e}const oE=kt({prop:"width",transform:Rn}),bd=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var s,o;const c=((s=e.theme)==null||(s=s.breakpoints)==null||(s=s.values)==null?void 0:s[r])||md[r];return c?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${c}${e.theme.breakpoints.unit}`}:{maxWidth:c}:{maxWidth:Rn(r)}};return pi(e,e.maxWidth,t)}return null};bd.filterProps=["maxWidth"];const uE=kt({prop:"minWidth",transform:Rn}),lE=kt({prop:"height",transform:Rn}),cE=kt({prop:"maxHeight",transform:Rn}),fE=kt({prop:"minHeight",transform:Rn});kt({prop:"size",cssProperty:"width",transform:Rn});kt({prop:"size",cssProperty:"height",transform:Rn});const dE=kt({prop:"boxSizing"});yl(oE,bd,uE,lE,cE,fE,dE);const hE={border:{themeKey:"borders",transform:Jn},borderTop:{themeKey:"borders",transform:Jn},borderRight:{themeKey:"borders",transform:Jn},borderBottom:{themeKey:"borders",transform:Jn},borderLeft:{themeKey:"borders",transform:Jn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Jn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:vl},color:{themeKey:"palette",transform:za},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:za},backgroundColor:{themeKey:"palette",transform:za},p:{style:vt},pt:{style:vt},pr:{style:vt},pb:{style:vt},pl:{style:vt},px:{style:vt},py:{style:vt},padding:{style:vt},paddingTop:{style:vt},paddingRight:{style:vt},paddingBottom:{style:vt},paddingLeft:{style:vt},paddingX:{style:vt},paddingY:{style:vt},paddingInline:{style:vt},paddingInlineStart:{style:vt},paddingInlineEnd:{style:vt},paddingBlock:{style:vt},paddingBlockStart:{style:vt},paddingBlockEnd:{style:vt},m:{style:yt},mt:{style:yt},mr:{style:yt},mb:{style:yt},ml:{style:yt},mx:{style:yt},my:{style:yt},margin:{style:yt},marginTop:{style:yt},marginRight:{style:yt},marginBottom:{style:yt},marginLeft:{style:yt},marginX:{style:yt},marginY:{style:yt},marginInline:{style:yt},marginInlineStart:{style:yt},marginInlineEnd:{style:yt},marginBlock:{style:yt},marginBlockStart:{style:yt},marginBlockEnd:{style:yt},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:bl},rowGap:{style:xl},columnGap:{style:_l},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Rn},maxWidth:{style:bd},minWidth:{transform:Rn},height:{transform:Rn},maxHeight:{transform:Rn},minHeight:{transform:Rn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},uo=hE;function pE(...e){const t=e.reduce((s,o)=>s.concat(Object.keys(o)),[]),r=new Set(t);return e.every(s=>r.size===Object.keys(s).length)}function gE(e,t){return typeof e=="function"?e(t):e}function Vm(){function e(r,s,o,c){const g={[r]:s,theme:o},x=c[r];if(!x)return{[r]:s};const{cssProperty:k=r,themeKey:E,transform:P,style:j}=x;if(s==null)return null;if(E==="typography"&&s==="inherit")return{[r]:s};const B=ml(o,E)||{};return j?j(g):pi(g,s,U=>{let F=ju(B,P,U);return U===F&&typeof U=="string"&&(F=ju(B,P,`${r}${U==="default"?"":Lr(U)}`,U)),k===!1?F:{[k]:F}})}function t(r){var s;const{sx:o,theme:c={}}=r||{};if(!o)return null;const g=(s=c.unstable_sxConfig)!=null?s:uo;function x(k){let E=k;if(typeof k=="function")E=k(c);else if(typeof k!="object")return k;if(!E)return null;const P=TT(c.breakpoints),j=Object.keys(P);let B=P;return Object.keys(E).forEach(V=>{const U=gE(E[V],c);if(U!=null)if(typeof U=="object")if(g[V])B=Hs(B,e(V,U,c,g));else{const F=pi({theme:c},U,ee=>({[V]:ee}));pE(F,U)?B[V]=t({sx:U,theme:c}):B=Hs(B,F)}else B=Hs(B,e(V,U,c,g))}),ET(j,B)}return Array.isArray(o)?o.map(x):x(o)}return t}const Gm=Vm();Gm.filterProps=["sx"];const _d=Gm;function Km(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const mE=["breakpoints","palette","spacing","shape"];function xd(e={},...t){const{breakpoints:r={},palette:s={},spacing:o,shape:c={}}=e,g=D._objectWithoutPropertiesLoose(e,mE),x=Um(r),k=LT(o);let E=Nr({breakpoints:x,direction:"ltr",components:{},palette:D._extends({mode:"light"},s),spacing:k,shape:D._extends({},DT,c)},g);return E.applyStyles=Km,E=t.reduce((P,j)=>Nr(P,j),E),E.unstable_sxConfig=D._extends({},uo,g==null?void 0:g.unstable_sxConfig),E.unstable_sx=function(j){return _d({sx:j,theme:this})},E}const yE=Object.freeze(Object.defineProperty({__proto__:null,default:xd,private_createBreakpoints:Um,unstable_applyStyles:Km},Symbol.toStringTag,{value:"Module"}));function vE(e){return Object.keys(e).length===0}function bE(e=null){const t=D.reactExports.useContext(pl);return!t||vE(t)?e:t}const _E=xd();function xE(e=_E){return bE(e)}const wE=["sx"],SE=e=>{var t,r;const s={systemProps:{},otherProps:{}},o=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:uo;return Object.keys(e).forEach(c=>{o[c]?s.systemProps[c]=e[c]:s.otherProps[c]=e[c]}),s};function kE(e){const{sx:t}=e,r=D._objectWithoutPropertiesLoose(e,wE),{systemProps:s,otherProps:o}=SE(r);let c;return Array.isArray(t)?c=[s,...t]:typeof t=="function"?c=(...g)=>{const x=t(...g);return Ni(x)?D._extends({},s,x):s}:c=D._extends({},s,t),D._extends({},o,{sx:c})}const CE=Object.freeze(Object.defineProperty({__proto__:null,default:_d,extendSxProp:kE,unstable_createStyleFunctionSx:Vm,unstable_defaultSxConfig:uo},Symbol.toStringTag,{value:"Module"})),Kp=e=>e,DE=()=>{let e=Kp;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Kp}}},TE=DE(),EE=TE,ME={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 wl(e,t,r="Mui"){const s=ME[t];return s?`${r}-${s}`:`${EE.generate(e)}-${t}`}function Sl(e,t,r="Mui"){const s={};return t.forEach(o=>{s[o]=wl(e,o,r)}),s}var Xm={exports:{}},nt={};/**
|
|
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 wd=Symbol.for("react.element"),Sd=Symbol.for("react.portal"),kl=Symbol.for("react.fragment"),Cl=Symbol.for("react.strict_mode"),Dl=Symbol.for("react.profiler"),Tl=Symbol.for("react.provider"),El=Symbol.for("react.context"),AE=Symbol.for("react.server_context"),Ml=Symbol.for("react.forward_ref"),Al=Symbol.for("react.suspense"),Rl=Symbol.for("react.suspense_list"),Ol=Symbol.for("react.memo"),Il=Symbol.for("react.lazy"),RE=Symbol.for("react.offscreen"),Zm;Zm=Symbol.for("react.module.reference");function rr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case wd:switch(e=e.type,e){case kl:case Dl:case Cl:case Al:case Rl:return e;default:switch(e=e&&e.$$typeof,e){case AE:case El:case Ml:case Il:case Ol:case Tl:return e;default:return t}}case Sd:return t}}}nt.ContextConsumer=El;nt.ContextProvider=Tl;nt.Element=wd;nt.ForwardRef=Ml;nt.Fragment=kl;nt.Lazy=Il;nt.Memo=Ol;nt.Portal=Sd;nt.Profiler=Dl;nt.StrictMode=Cl;nt.Suspense=Al;nt.SuspenseList=Rl;nt.isAsyncMode=function(){return!1};nt.isConcurrentMode=function(){return!1};nt.isContextConsumer=function(e){return rr(e)===El};nt.isContextProvider=function(e){return rr(e)===Tl};nt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===wd};nt.isForwardRef=function(e){return rr(e)===Ml};nt.isFragment=function(e){return rr(e)===kl};nt.isLazy=function(e){return rr(e)===Il};nt.isMemo=function(e){return rr(e)===Ol};nt.isPortal=function(e){return rr(e)===Sd};nt.isProfiler=function(e){return rr(e)===Dl};nt.isStrictMode=function(e){return rr(e)===Cl};nt.isSuspense=function(e){return rr(e)===Al};nt.isSuspenseList=function(e){return rr(e)===Rl};nt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===kl||e===Dl||e===Cl||e===Al||e===Rl||e===RE||typeof e=="object"&&e!==null&&(e.$$typeof===Il||e.$$typeof===Ol||e.$$typeof===Tl||e.$$typeof===El||e.$$typeof===Ml||e.$$typeof===Zm||e.getModuleId!==void 0)};nt.typeOf=rr;Xm.exports=nt;var Xp=Xm.exports;const OE=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Jm(e){const t=`${e}`.match(OE);return t&&t[1]||""}function Qm(e,t=""){return e.displayName||e.name||Jm(e)||t}function Zp(e,t,r){const s=Qm(t);return e.displayName||(s!==""?`${r}(${s})`:r)}function IE(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Qm(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Xp.ForwardRef:return Zp(e,e.render,"ForwardRef");case Xp.Memo:return Zp(e,e.type,"memo");default:return}}}const PE=Object.freeze(Object.defineProperty({__proto__:null,default:IE,getFunctionName:Jm},Symbol.toStringTag,{value:"Module"}));function e0(e,t){const r=D._extends({},t);return Object.keys(e).forEach(s=>{if(s.toString().match(/^(components|slots)$/))r[s]=D._extends({},e[s],r[s]);else if(s.toString().match(/^(componentsProps|slotProps)$/)){const o=e[s]||{},c=t[s];r[s]={},!c||!Object.keys(c)?r[s]=o:!o||!Object.keys(o)?r[s]=c:(r[s]=D._extends({},c),Object.keys(o).forEach(g=>{r[s][g]=e0(o[g],c[g])}))}else r[s]===void 0&&(r[s]=e[s])}),r}function NE(e){const{theme:t,name:r,props:s}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?s:e0(t.components[r].defaultProps,s)}function LE({props:e,name:t,defaultTheme:r,themeId:s}){let o=xE(r);return s&&(o=o[s]||o),NE({theme:o,name:t,props:e})}const $E=typeof window<"u"?D.reactExports.useLayoutEffect:D.reactExports.useEffect,FE=$E;function YE(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const jE=Object.freeze(Object.defineProperty({__proto__:null,default:YE},Symbol.toStringTag,{value:"Module"}));function WE(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function BE({controlled:e,default:t,name:r,state:s="value"}){const{current:o}=D.reactExports.useRef(e!==void 0),[c,g]=D.reactExports.useState(t),x=o?e:c,k=D.reactExports.useCallback(E=>{o||g(E)},[]);return[x,k]}function ku(e){const t=D.reactExports.useRef(e);return FE(()=>{t.current=e}),D.reactExports.useRef((...r)=>(0,t.current)(...r)).current}function Jp(...e){return D.reactExports.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{WE(r,t)})},e)}const Qp={};function HE(e,t){const r=D.reactExports.useRef(Qp);return r.current===Qp&&(r.current=e(t)),r}const UE=[];function qE(e){D.reactExports.useEffect(e,UE)}class Pl{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Pl}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function zE(){const e=HE(Pl.create).current;return qE(e.disposeEffect),e}let Nl=!0,Of=!1;const VE=new Pl,GE={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 KE(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&GE[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function XE(e){e.metaKey||e.altKey||e.ctrlKey||(Nl=!0)}function lf(){Nl=!1}function ZE(){this.visibilityState==="hidden"&&Of&&(Nl=!0)}function JE(e){e.addEventListener("keydown",XE,!0),e.addEventListener("mousedown",lf,!0),e.addEventListener("pointerdown",lf,!0),e.addEventListener("touchstart",lf,!0),e.addEventListener("visibilitychange",ZE,!0)}function QE(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Nl||KE(t)}function e2(){const e=D.reactExports.useCallback(o=>{o!=null&&JE(o.ownerDocument)},[]),t=D.reactExports.useRef(!1);function r(){return t.current?(Of=!0,VE.start(100,()=>{Of=!1}),t.current=!1,!0):!1}function s(o){return QE(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:s,onBlur:r,ref:e}}function kd(e,t,r=void 0){const s={};return Object.keys(e).forEach(o=>{s[o]=e[o].reduce((c,g)=>{if(g){const x=t(g);x!==""&&c.push(x),r&&r[g]&&c.push(r[g])}return c},[]).join(" ")}),s}function t2(e,t){return D._extends({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Ct={},t0={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(t0);var n0=t0.exports;const n2=D.getAugmentedNamespace(gD),r2=D.getAugmentedNamespace(jE);var r0=n0;Object.defineProperty(Ct,"__esModule",{value:!0});var eg=Ct.alpha=l0;Ct.blend=p2;Ct.colorChannel=void 0;var i0=Ct.darken=Dd;Ct.decomposeColor=Qn;Ct.emphasize=h2;var i2=Ct.getContrastRatio=l2;Ct.getLuminance=Wu;Ct.hexToRgb=s0;Ct.hslToRgb=u0;var a0=Ct.lighten=Td;Ct.private_safeAlpha=c2;Ct.private_safeColorChannel=void 0;Ct.private_safeDarken=f2;Ct.private_safeEmphasize=c0;Ct.private_safeLighten=d2;Ct.recomposeColor=Ja;Ct.rgbToHex=u2;var tg=r0(n2),a2=r0(r2);function Cd(e,t=0,r=1){return(0,a2.default)(e,t,r)}function s0(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(s=>s+s)),r?`rgb${r.length===4?"a":""}(${r.map((s,o)=>o<3?parseInt(s,16):Math.round(parseInt(s,16)/255*1e3)/1e3).join(", ")})`:""}function s2(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Qn(e){if(e.type)return e;if(e.charAt(0)==="#")return Qn(s0(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error((0,tg.default)(9,e));let s=e.substring(t+1,e.length-1),o;if(r==="color"){if(s=s.split(" "),o=s.shift(),s.length===4&&s[3].charAt(0)==="/"&&(s[3]=s[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,tg.default)(10,o))}else s=s.split(",");return s=s.map(c=>parseFloat(c)),{type:r,values:s,colorSpace:o}}const o0=e=>{const t=Qn(e);return t.values.slice(0,3).map((r,s)=>t.type.indexOf("hsl")!==-1&&s!==0?`${r}%`:r).join(" ")};Ct.colorChannel=o0;const o2=(e,t)=>{try{return o0(e)}catch{return e}};Ct.private_safeColorChannel=o2;function Ja(e){const{type:t,colorSpace:r}=e;let{values:s}=e;return t.indexOf("rgb")!==-1?s=s.map((o,c)=>c<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(s[1]=`${s[1]}%`,s[2]=`${s[2]}%`),t.indexOf("color")!==-1?s=`${r} ${s.join(" ")}`:s=`${s.join(", ")}`,`${t}(${s})`}function u2(e){if(e.indexOf("#")===0)return e;const{values:t}=Qn(e);return`#${t.map((r,s)=>s2(s===3?Math.round(255*r):r)).join("")}`}function u0(e){e=Qn(e);const{values:t}=e,r=t[0],s=t[1]/100,o=t[2]/100,c=s*Math.min(o,1-o),g=(E,P=(E+r/30)%12)=>o-c*Math.max(Math.min(P-3,9-P,1),-1);let x="rgb";const k=[Math.round(g(0)*255),Math.round(g(8)*255),Math.round(g(4)*255)];return e.type==="hsla"&&(x+="a",k.push(t[3])),Ja({type:x,values:k})}function Wu(e){e=Qn(e);let t=e.type==="hsl"||e.type==="hsla"?Qn(u0(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function l2(e,t){const r=Wu(e),s=Wu(t);return(Math.max(r,s)+.05)/(Math.min(r,s)+.05)}function l0(e,t){return e=Qn(e),t=Cd(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ja(e)}function c2(e,t,r){try{return l0(e,t)}catch{return e}}function Dd(e,t){if(e=Qn(e),t=Cd(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 r=0;r<3;r+=1)e.values[r]*=1-t;return Ja(e)}function f2(e,t,r){try{return Dd(e,t)}catch{return e}}function Td(e,t){if(e=Qn(e),t=Cd(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Ja(e)}function d2(e,t,r){try{return Td(e,t)}catch{return e}}function h2(e,t=.15){return Wu(e)>.5?Dd(e,t):Td(e,t)}function c0(e,t,r){try{return c0(e,t)}catch{return e}}function p2(e,t,r,s=1){const o=(k,E)=>Math.round((k**(1/s)*(1-r)+E**(1/s)*r)**s),c=Qn(e),g=Qn(t),x=[o(c.values[0],g.values[0]),o(c.values[1],g.values[1]),o(c.values[2],g.values[2])];return Ja({type:"rgb",values:x})}const g2=["mode","contrastThreshold","tonalOffset"],ng={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:Gs.white,default:Gs.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}},cf={text:{primary:Gs.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:Gs.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 rg(e,t,r,s){const o=s.light||s,c=s.dark||s*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=a0(e.main,o):t==="dark"&&(e.dark=i0(e.main,c)))}function m2(e="light"){return e==="dark"?{main:$a[200],light:$a[50],dark:$a[400]}:{main:$a[700],light:$a[400],dark:$a[800]}}function y2(e="light"){return e==="dark"?{main:La[200],light:La[50],dark:La[400]}:{main:La[500],light:La[300],dark:La[700]}}function v2(e="light"){return e==="dark"?{main:Na[500],light:Na[300],dark:Na[700]}:{main:Na[700],light:Na[400],dark:Na[800]}}function b2(e="light"){return e==="dark"?{main:Fa[400],light:Fa[300],dark:Fa[700]}:{main:Fa[700],light:Fa[500],dark:Fa[900]}}function _2(e="light"){return e==="dark"?{main:Ya[400],light:Ya[300],dark:Ya[700]}:{main:Ya[800],light:Ya[500],dark:Ya[900]}}function x2(e="light"){return e==="dark"?{main:js[400],light:js[300],dark:js[700]}:{main:"#ed6c02",light:js[500],dark:js[900]}}function w2(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:s=.2}=e,o=D._objectWithoutPropertiesLoose(e,g2),c=e.primary||m2(t),g=e.secondary||y2(t),x=e.error||v2(t),k=e.info||b2(t),E=e.success||_2(t),P=e.warning||x2(t);function j(F){return i2(F,cf.text.primary)>=r?cf.text.primary:ng.text.primary}const B=({color:F,name:ee,mainShade:H=500,lightShade:pe=300,darkShade:ge=700})=>{if(F=D._extends({},F),!F.main&&F[H]&&(F.main=F[H]),!F.hasOwnProperty("main"))throw new Error(Ks(11,ee?` (${ee})`:"",H));if(typeof F.main!="string")throw new Error(Ks(12,ee?` (${ee})`:"",JSON.stringify(F.main)));return rg(F,"light",pe,s),rg(F,"dark",ge,s),F.contrastText||(F.contrastText=j(F.main)),F},V={dark:cf,light:ng};return Nr(D._extends({common:D._extends({},Gs),mode:t,primary:B({color:c,name:"primary"}),secondary:B({color:g,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:B({color:x,name:"error"}),warning:B({color:P,name:"warning"}),info:B({color:k,name:"info"}),success:B({color:E,name:"success"}),grey:pD,contrastThreshold:r,getContrastText:j,augmentColor:B,tonalOffset:s},V[t]),o)}const S2=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function k2(e){return Math.round(e*1e5)/1e5}const ig={textTransform:"uppercase"},ag='"Roboto", "Helvetica", "Arial", sans-serif';function C2(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:s=ag,fontSize:o=14,fontWeightLight:c=300,fontWeightRegular:g=400,fontWeightMedium:x=500,fontWeightBold:k=700,htmlFontSize:E=16,allVariants:P,pxToRem:j}=r,B=D._objectWithoutPropertiesLoose(r,S2),V=o/14,U=j||(H=>`${H/E*V}rem`),F=(H,pe,ge,me,re)=>D._extends({fontFamily:s,fontWeight:H,fontSize:U(pe),lineHeight:ge},s===ag?{letterSpacing:`${k2(me/pe)}em`}:{},re,P),ee={h1:F(c,96,1.167,-1.5),h2:F(c,60,1.2,-.5),h3:F(g,48,1.167,0),h4:F(g,34,1.235,.25),h5:F(g,24,1.334,0),h6:F(x,20,1.6,.15),subtitle1:F(g,16,1.75,.15),subtitle2:F(x,14,1.57,.1),body1:F(g,16,1.5,.15),body2:F(g,14,1.43,.15),button:F(x,14,1.75,.4,ig),caption:F(g,12,1.66,.4),overline:F(g,12,2.66,1,ig),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Nr(D._extends({htmlFontSize:E,pxToRem:U,fontFamily:s,fontSize:o,fontWeightLight:c,fontWeightRegular:g,fontWeightMedium:x,fontWeightBold:k},ee),B,{clone:!1})}const D2=.2,T2=.14,E2=.12;function ft(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${D2})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${T2})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${E2})`].join(",")}const M2=["none",ft(0,2,1,-1,0,1,1,0,0,1,3,0),ft(0,3,1,-2,0,2,2,0,0,1,5,0),ft(0,3,3,-2,0,3,4,0,0,1,8,0),ft(0,2,4,-1,0,4,5,0,0,1,10,0),ft(0,3,5,-1,0,5,8,0,0,1,14,0),ft(0,3,5,-1,0,6,10,0,0,1,18,0),ft(0,4,5,-2,0,7,10,1,0,2,16,1),ft(0,5,5,-3,0,8,10,1,0,3,14,2),ft(0,5,6,-3,0,9,12,1,0,3,16,2),ft(0,6,6,-3,0,10,14,1,0,4,18,3),ft(0,6,7,-4,0,11,15,1,0,4,20,3),ft(0,7,8,-4,0,12,17,2,0,5,22,4),ft(0,7,8,-4,0,13,19,2,0,5,24,4),ft(0,7,9,-4,0,14,21,2,0,5,26,4),ft(0,8,9,-5,0,15,22,2,0,6,28,5),ft(0,8,10,-5,0,16,24,2,0,6,30,5),ft(0,8,11,-5,0,17,26,2,0,6,32,5),ft(0,9,11,-5,0,18,28,2,0,7,34,6),ft(0,9,12,-6,0,19,29,2,0,7,36,6),ft(0,10,13,-6,0,20,31,3,0,8,38,7),ft(0,10,13,-6,0,21,33,3,0,8,40,7),ft(0,10,14,-6,0,22,35,3,0,8,42,7),ft(0,11,14,-7,0,23,36,3,0,9,44,8),ft(0,11,15,-7,0,24,38,3,0,9,46,8)],A2=M2,R2=["duration","easing","delay"],O2={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)"},I2={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function sg(e){return`${Math.round(e)}ms`}function P2(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function N2(e){const t=D._extends({},O2,e.easing),r=D._extends({},I2,e.duration),s=(o=["all"],c={})=>{const{duration:g=r.standard,easing:x=t.easeInOut,delay:k=0}=c;return D._objectWithoutPropertiesLoose(c,R2),(Array.isArray(o)?o:[o]).map(E=>`${E} ${typeof g=="string"?g:sg(g)} ${x} ${typeof k=="string"?k:sg(k)}`).join(",")};return D._extends({getAutoHeightDuration:P2,create:s},e,{easing:t,duration:r})}const L2={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},$2=L2,F2=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Y2(e={},...t){const{mixins:r={},palette:s={},transitions:o={},typography:c={}}=e,g=D._objectWithoutPropertiesLoose(e,F2);if(e.vars)throw new Error(Ks(18));const x=w2(s),k=xd(e);let E=Nr(k,{mixins:t2(k.breakpoints,r),palette:x,shadows:A2.slice(),typography:C2(x,c),transitions:N2(o),zIndex:D._extends({},$2)});return E=Nr(E,g),E=t.reduce((P,j)=>Nr(P,j),E),E.unstable_sxConfig=D._extends({},uo,g==null?void 0:g.unstable_sxConfig),E.unstable_sx=function(j){return _d({sx:j,theme:this})},E}const j2=Y2(),f0=j2;function Ed({props:e,name:t}){return LE({props:e,name:t,defaultTheme:f0,themeId:wm})}var lo={};const W2=D.getAugmentedNamespace(D._extends$1),B2=D.getAugmentedNamespace(D.objectWithoutPropertiesLoose),H2=D.getAugmentedNamespace(xT),U2=D.getAugmentedNamespace(wT),q2=D.getAugmentedNamespace(MT),z2=D.getAugmentedNamespace(PE),V2=D.getAugmentedNamespace(yE),G2=D.getAugmentedNamespace(CE);var Qa=n0;Object.defineProperty(lo,"__esModule",{value:!0});var K2=lo.default=lM,X2=lo.shouldForwardProp=Ou;lo.systemDefaultTheme=void 0;var Gn=Qa(W2),If=Qa(B2),og=rM(H2),Z2=U2;Qa(q2);Qa(z2);var J2=Qa(V2),Q2=Qa(G2);const eM=["ownerState"],tM=["variants"],nM=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function d0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(d0=function(s){return s?r:t})(e)}function rM(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=d0(t);if(r&&r.has(e))return r.get(e);var s={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if(c!=="default"&&Object.prototype.hasOwnProperty.call(e,c)){var g=o?Object.getOwnPropertyDescriptor(e,c):null;g&&(g.get||g.set)?Object.defineProperty(s,c,g):s[c]=e[c]}return s.default=e,r&&r.set(e,s),s}function iM(e){return Object.keys(e).length===0}function aM(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Ou(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const sM=lo.systemDefaultTheme=(0,J2.default)(),oM=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Cu({defaultTheme:e,theme:t,themeId:r}){return iM(t)?e:t[r]||t}function uM(e){return e?(t,r)=>r[e]:null}function Iu(e,t){let{ownerState:r}=t,s=(0,If.default)(t,eM);const o=typeof e=="function"?e((0,Gn.default)({ownerState:r},s)):e;if(Array.isArray(o))return o.flatMap(c=>Iu(c,(0,Gn.default)({ownerState:r},s)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:c=[]}=o;let x=(0,If.default)(o,tM);return c.forEach(k=>{let E=!0;typeof k.props=="function"?E=k.props((0,Gn.default)({ownerState:r},s,r)):Object.keys(k.props).forEach(P=>{(r==null?void 0:r[P])!==k.props[P]&&s[P]!==k.props[P]&&(E=!1)}),E&&(Array.isArray(x)||(x=[x]),x.push(typeof k.style=="function"?k.style((0,Gn.default)({ownerState:r},s,r)):k.style))}),x}return o}function lM(e={}){const{themeId:t,defaultTheme:r=sM,rootShouldForwardProp:s=Ou,slotShouldForwardProp:o=Ou}=e,c=g=>(0,Q2.default)((0,Gn.default)({},g,{theme:Cu((0,Gn.default)({},g,{defaultTheme:r,themeId:t}))}));return c.__mui_systemSx=!0,(g,x={})=>{(0,og.internal_processStyles)(g,re=>re.filter(ie=>!(ie!=null&&ie.__mui_systemSx)));const{name:k,slot:E,skipVariantsResolver:P,skipSx:j,overridesResolver:B=uM(oM(E))}=x,V=(0,If.default)(x,nM),U=P!==void 0?P:E&&E!=="Root"&&E!=="root"||!1,F=j||!1;let ee,H=Ou;E==="Root"||E==="root"?H=s:E?H=o:aM(g)&&(H=void 0);const pe=(0,og.default)(g,(0,Gn.default)({shouldForwardProp:H,label:ee},V)),ge=re=>typeof re=="function"&&re.__emotion_real!==re||(0,Z2.isPlainObject)(re)?ie=>Iu(re,(0,Gn.default)({},ie,{theme:Cu({theme:ie.theme,defaultTheme:r,themeId:t})})):re,me=(re,...ie)=>{let d=ge(re);const Ne=ie?ie.map(ge):[];k&&B&&Ne.push(He=>{const Ze=Cu((0,Gn.default)({},He,{defaultTheme:r,themeId:t}));if(!Ze.components||!Ze.components[k]||!Ze.components[k].styleOverrides)return null;const xe=Ze.components[k].styleOverrides,st={};return Object.entries(xe).forEach(([bt,Tt])=>{st[bt]=Iu(Tt,(0,Gn.default)({},He,{theme:Ze}))}),B(He,st)}),k&&!U&&Ne.push(He=>{var Ze;const xe=Cu((0,Gn.default)({},He,{defaultTheme:r,themeId:t})),st=xe==null||(Ze=xe.components)==null||(Ze=Ze[k])==null?void 0:Ze.variants;return Iu({variants:st},(0,Gn.default)({},He,{theme:xe}))}),F||Ne.push(c);const le=Ne.length-ie.length;if(Array.isArray(re)&&le>0){const He=new Array(le).fill("");d=[...re,...He],d.raw=[...re.raw,...He]}const at=pe(d,...Ne);return g.muiName&&(at.muiName=g.muiName),at};return pe.withConfig&&(me.withConfig=pe.withConfig),me}}const h0=e=>X2(e)&&e!=="classes",cM=K2({themeId:wm,defaultTheme:f0,rootShouldForwardProp:h0}),jr=cM,ug=D.React$1.createContext(null);function fM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Md(e,t){var r=function(c){return t&&D.reactExports.isValidElement(c)?t(c):c},s=Object.create(null);return e&&D.reactExports.Children.map(e,function(o){return o}).forEach(function(o){s[o.key]=r(o)}),s}function dM(e,t){e=e||{},t=t||{};function r(P){return P in t?t[P]:e[P]}var s=Object.create(null),o=[];for(var c in e)c in t?o.length&&(s[c]=o,o=[]):o.push(c);var g,x={};for(var k in t){if(s[k])for(g=0;g<s[k].length;g++){var E=s[k][g];x[s[k][g]]=r(E)}x[k]=r(k)}for(g=0;g<o.length;g++)x[o[g]]=r(o[g]);return x}function aa(e,t,r){return r[t]!=null?r[t]:e.props[t]}function hM(e,t){return Md(e.children,function(r){return D.reactExports.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:aa(r,"appear",e),enter:aa(r,"enter",e),exit:aa(r,"exit",e)})})}function pM(e,t,r){var s=Md(e.children),o=dM(t,s);return Object.keys(o).forEach(function(c){var g=o[c];if(D.reactExports.isValidElement(g)){var x=c in t,k=c in s,E=t[c],P=D.reactExports.isValidElement(E)&&!E.props.in;k&&(!x||P)?o[c]=D.reactExports.cloneElement(g,{onExited:r.bind(null,g),in:!0,exit:aa(g,"exit",e),enter:aa(g,"enter",e)}):!k&&x&&!P?o[c]=D.reactExports.cloneElement(g,{in:!1}):k&&x&&D.reactExports.isValidElement(E)&&(o[c]=D.reactExports.cloneElement(g,{onExited:r.bind(null,g),in:E.props.in,exit:aa(g,"exit",e),enter:aa(g,"enter",e)}))}}),o}var gM=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},mM={component:"div",childFactory:function(t){return t}},Ad=function(e){D._inheritsLoose(t,e);function t(s,o){var c;c=e.call(this,s,o)||this;var g=c.handleExited.bind(fM(c));return c.state={contextValue:{isMounting:!0},handleExited:g,firstRender:!0},c}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,c){var g=c.children,x=c.handleExited,k=c.firstRender;return{children:k?hM(o,x):pM(o,g,x),firstRender:!1}},r.handleExited=function(o,c){var g=Md(this.props.children);o.key in g||(o.props.onExited&&o.props.onExited(c),this.mounted&&this.setState(function(x){var k=D._extends({},x.children);return delete k[o.key],{children:k}}))},r.render=function(){var o=this.props,c=o.component,g=o.childFactory,x=D._objectWithoutPropertiesLoose(o,["component","childFactory"]),k=this.state.contextValue,E=gM(this.state.children).map(g);return delete x.appear,delete x.enter,delete x.exit,c===null?D.React$1.createElement(ug.Provider,{value:k},E):D.React$1.createElement(ug.Provider,{value:k},D.React$1.createElement(c,x,E))},t}(D.React$1.Component);Ad.propTypes={};Ad.defaultProps=mM;const yM=Ad;function vM(e){const{className:t,classes:r,pulsate:s=!1,rippleX:o,rippleY:c,rippleSize:g,in:x,onExited:k,timeout:E}=e,[P,j]=D.reactExports.useState(!1),B=Kn(t,r.ripple,r.rippleVisible,s&&r.ripplePulsate),V={width:g,height:g,top:-(g/2)+c,left:-(g/2)+o},U=Kn(r.child,P&&r.childLeaving,s&&r.childPulsate);return!x&&!P&&j(!0),D.reactExports.useEffect(()=>{if(!x&&k!=null){const F=setTimeout(k,E);return()=>{clearTimeout(F)}}},[k,x,E]),D.jsxRuntimeExports.jsx("span",{className:B,style:V,children:D.jsxRuntimeExports.jsx("span",{className:U})})}const bM=Sl("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Xn=bM,_M=["center","classes","className"];let Ll=e=>e,lg,cg,fg,dg;const Pf=550,xM=80,wM=gl(lg||(lg=Ll`
|
|
32
|
+
0% {
|
|
33
|
+
transform: scale(0);
|
|
34
|
+
opacity: 0.1;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
100% {
|
|
38
|
+
transform: scale(1);
|
|
39
|
+
opacity: 0.3;
|
|
40
|
+
}
|
|
41
|
+
`)),SM=gl(cg||(cg=Ll`
|
|
42
|
+
0% {
|
|
43
|
+
opacity: 1;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
100% {
|
|
47
|
+
opacity: 0;
|
|
48
|
+
}
|
|
49
|
+
`)),kM=gl(fg||(fg=Ll`
|
|
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
|
+
`)),CM=jr("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),DM=jr(vM,{name:"MuiTouchRipple",slot:"Ripple"})(dg||(dg=Ll`
|
|
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,wM,Pf,({theme:e})=>e.transitions.easing.easeInOut,Xn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Xn.child,Xn.childLeaving,SM,Pf,({theme:e})=>e.transitions.easing.easeInOut,Xn.childPulsate,kM,({theme:e})=>e.transitions.easing.easeInOut),TM=D.reactExports.forwardRef(function(t,r){const s=Ed({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:c={},className:g}=s,x=D._objectWithoutPropertiesLoose(s,_M),[k,E]=D.reactExports.useState([]),P=D.reactExports.useRef(0),j=D.reactExports.useRef(null);D.reactExports.useEffect(()=>{j.current&&(j.current(),j.current=null)},[k]);const B=D.reactExports.useRef(!1),V=zE(),U=D.reactExports.useRef(null),F=D.reactExports.useRef(null),ee=D.reactExports.useCallback(me=>{const{pulsate:re,rippleX:ie,rippleY:d,rippleSize:Ne,cb:le}=me;E(at=>[...at,D.jsxRuntimeExports.jsx(DM,{classes:{ripple:Kn(c.ripple,Xn.ripple),rippleVisible:Kn(c.rippleVisible,Xn.rippleVisible),ripplePulsate:Kn(c.ripplePulsate,Xn.ripplePulsate),child:Kn(c.child,Xn.child),childLeaving:Kn(c.childLeaving,Xn.childLeaving),childPulsate:Kn(c.childPulsate,Xn.childPulsate)},timeout:Pf,pulsate:re,rippleX:ie,rippleY:d,rippleSize:Ne},P.current)]),P.current+=1,j.current=le},[c]),H=D.reactExports.useCallback((me={},re={},ie=()=>{})=>{const{pulsate:d=!1,center:Ne=o||re.pulsate,fakeElement:le=!1}=re;if((me==null?void 0:me.type)==="mousedown"&&B.current){B.current=!1;return}(me==null?void 0:me.type)==="touchstart"&&(B.current=!0);const at=le?null:F.current,He=at?at.getBoundingClientRect():{width:0,height:0,left:0,top:0};let Ze,xe,st;if(Ne||me===void 0||me.clientX===0&&me.clientY===0||!me.clientX&&!me.touches)Ze=Math.round(He.width/2),xe=Math.round(He.height/2);else{const{clientX:bt,clientY:Tt}=me.touches&&me.touches.length>0?me.touches[0]:me;Ze=Math.round(bt-He.left),xe=Math.round(Tt-He.top)}if(Ne)st=Math.sqrt((2*He.width**2+He.height**2)/3),st%2===0&&(st+=1);else{const bt=Math.max(Math.abs((at?at.clientWidth:0)-Ze),Ze)*2+2,Tt=Math.max(Math.abs((at?at.clientHeight:0)-xe),xe)*2+2;st=Math.sqrt(bt**2+Tt**2)}me!=null&&me.touches?U.current===null&&(U.current=()=>{ee({pulsate:d,rippleX:Ze,rippleY:xe,rippleSize:st,cb:ie})},V.start(xM,()=>{U.current&&(U.current(),U.current=null)})):ee({pulsate:d,rippleX:Ze,rippleY:xe,rippleSize:st,cb:ie})},[o,ee,V]),pe=D.reactExports.useCallback(()=>{H({},{pulsate:!0})},[H]),ge=D.reactExports.useCallback((me,re)=>{if(V.clear(),(me==null?void 0:me.type)==="touchend"&&U.current){U.current(),U.current=null,V.start(0,()=>{ge(me,re)});return}U.current=null,E(ie=>ie.length>0?ie.slice(1):ie),j.current=re},[V]);return D.reactExports.useImperativeHandle(r,()=>({pulsate:pe,start:H,stop:ge}),[pe,H,ge]),D.jsxRuntimeExports.jsx(CM,D._extends({className:Kn(Xn.root,c.root,g),ref:F},x,{children:D.jsxRuntimeExports.jsx(yM,{component:null,exit:!0,children:k})}))}),EM=TM;function MM(e){return wl("MuiButtonBase",e)}const AM=Sl("MuiButtonBase",["root","disabled","focusVisible"]),RM=AM,OM=["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"],IM=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:s,classes:o}=e,g=kd({root:["root",t&&"disabled",r&&"focusVisible"]},MM,o);return r&&s&&(g.root+=` ${s}`),g},PM=jr("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"},[`&.${RM.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),NM=D.reactExports.forwardRef(function(t,r){const s=Ed({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:c=!1,children:g,className:x,component:k="button",disabled:E=!1,disableRipple:P=!1,disableTouchRipple:j=!1,focusRipple:B=!1,LinkComponent:V="a",onBlur:U,onClick:F,onContextMenu:ee,onDragLeave:H,onFocus:pe,onFocusVisible:ge,onKeyDown:me,onKeyUp:re,onMouseDown:ie,onMouseLeave:d,onMouseUp:Ne,onTouchEnd:le,onTouchMove:at,onTouchStart:He,tabIndex:Ze=0,TouchRippleProps:xe,touchRippleRef:st,type:bt}=s,Tt=D._objectWithoutPropertiesLoose(s,OM),qe=D.reactExports.useRef(null),Fe=D.reactExports.useRef(null),ct=Jp(Fe,st),{isFocusVisibleRef:Et,onFocus:Pt,onBlur:_t,ref:Ln}=e2(),[qt,zt]=D.reactExports.useState(!1);E&&qt&&zt(!1),D.reactExports.useImperativeHandle(o,()=>({focusVisible:()=>{zt(!0),qe.current.focus()}}),[]);const[ir,ji]=D.reactExports.useState(!1);D.reactExports.useEffect(()=>{ji(!0)},[]);const Wr=ir&&!P&&!E;D.reactExports.useEffect(()=>{qt&&B&&!P&&ir&&Fe.current.pulsate()},[P,B,qt,ir]);function Nt(ke,Ur,vi=j){return ku(Yn=>(Ur&&Ur(Yn),!vi&&Fe.current&&Fe.current[ke](Yn),!0))}const ln=Nt("start",ie),yi=Nt("stop",ee),wn=Nt("stop",H),Br=Nt("stop",Ne),Vt=Nt("stop",ke=>{qt&&ke.preventDefault(),d&&d(ke)}),Hr=Nt("start",He),Wi=Nt("stop",le),Gt=Nt("stop",at),cn=Nt("stop",ke=>{_t(ke),Et.current===!1&&zt(!1),U&&U(ke)},!1),ts=ku(ke=>{qe.current||(qe.current=ke.currentTarget),Pt(ke),Et.current===!0&&(zt(!0),ge&&ge(ke)),pe&&pe(ke)}),ar=()=>{const ke=qe.current;return k&&k!=="button"&&!(ke.tagName==="A"&&ke.href)},Wt=D.reactExports.useRef(!1),Lt=ku(ke=>{B&&!Wt.current&&qt&&Fe.current&&ke.key===" "&&(Wt.current=!0,Fe.current.stop(ke,()=>{Fe.current.start(ke)})),ke.target===ke.currentTarget&&ar()&&ke.key===" "&&ke.preventDefault(),me&&me(ke),ke.target===ke.currentTarget&&ar()&&ke.key==="Enter"&&!E&&(ke.preventDefault(),F&&F(ke))}),$n=ku(ke=>{B&&ke.key===" "&&Fe.current&&qt&&!ke.defaultPrevented&&(Wt.current=!1,Fe.current.stop(ke,()=>{Fe.current.pulsate(ke)})),re&&re(ke),F&&ke.target===ke.currentTarget&&ar()&&ke.key===" "&&!ke.defaultPrevented&&F(ke)});let Fn=k;Fn==="button"&&(Tt.href||Tt.to)&&(Fn=V);const ce={};Fn==="button"?(ce.type=bt===void 0?"button":bt,ce.disabled=E):(!Tt.href&&!Tt.to&&(ce.role="button"),E&&(ce["aria-disabled"]=E));const $t=Jp(r,Ln,qe),vr=D._extends({},s,{centerRipple:c,component:k,disabled:E,disableRipple:P,disableTouchRipple:j,focusRipple:B,tabIndex:Ze,focusVisible:qt}),br=IM(vr);return D.jsxRuntimeExports.jsxs(PM,D._extends({as:Fn,className:Kn(br.root,x),ownerState:vr,onBlur:cn,onClick:F,onContextMenu:yi,onFocus:ts,onKeyDown:Lt,onKeyUp:$n,onMouseDown:ln,onMouseLeave:Vt,onMouseUp:Br,onDragLeave:wn,onTouchEnd:Wi,onTouchMove:Gt,onTouchStart:Hr,ref:$t,tabIndex:E?-1:Ze,type:bt},ce,Tt,{children:[g,Wr?D.jsxRuntimeExports.jsx(EM,D._extends({ref:ct,center:c},xe)):null]}))}),LM=NM,$M=D.reactExports.createContext(void 0),FM=$M;function YM(){return D.reactExports.useContext(FM)}function jM(e){return wl("PrivateSwitchBase",e)}Sl("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const WM=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],BM=e=>{const{classes:t,checked:r,disabled:s,edge:o}=e,c={root:["root",r&&"checked",s&&"disabled",o&&`edge${Lr(o)}`],input:["input"]};return kd(c,jM,t)},HM=jr(LM)(({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})),UM=jr("input",{shouldForwardProp:h0})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),qM=D.reactExports.forwardRef(function(t,r){const{autoFocus:s,checked:o,checkedIcon:c,className:g,defaultChecked:x,disabled:k,disableFocusRipple:E=!1,edge:P=!1,icon:j,id:B,inputProps:V,inputRef:U,name:F,onBlur:ee,onChange:H,onFocus:pe,readOnly:ge,required:me=!1,tabIndex:re,type:ie,value:d}=t,Ne=D._objectWithoutPropertiesLoose(t,WM),[le,at]=BE({controlled:o,default:!!x,name:"SwitchBase",state:"checked"}),He=YM(),Ze=ct=>{pe&&pe(ct),He&&He.onFocus&&He.onFocus(ct)},xe=ct=>{ee&&ee(ct),He&&He.onBlur&&He.onBlur(ct)},st=ct=>{if(ct.nativeEvent.defaultPrevented)return;const Et=ct.target.checked;at(Et),H&&H(ct,Et)};let bt=k;He&&typeof bt>"u"&&(bt=He.disabled);const Tt=ie==="checkbox"||ie==="radio",qe=D._extends({},t,{checked:le,disabled:bt,disableFocusRipple:E,edge:P}),Fe=BM(qe);return D.jsxRuntimeExports.jsxs(HM,D._extends({component:"span",className:Kn(Fe.root,g),centerRipple:!0,focusRipple:!E,disabled:bt,tabIndex:null,role:void 0,onFocus:Ze,onBlur:xe,ownerState:qe,ref:r},Ne,{children:[D.jsxRuntimeExports.jsx(UM,D._extends({autoFocus:s,checked:o,defaultChecked:x,className:Fe.input,disabled:bt,id:Tt?B:void 0,name:F,onChange:st,readOnly:ge,ref:U,required:me,ownerState:qe,tabIndex:re,type:ie},ie==="checkbox"&&d===void 0?{}:{value:d},V)),le?c:j]}))}),zM=qM;function VM(e){return wl("MuiSwitch",e)}const GM=Sl("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),un=GM,KM=["className","color","edge","size","sx"],XM=e=>{const{classes:t,edge:r,size:s,color:o,checked:c,disabled:g}=e,x={root:["root",r&&`edge${Lr(r)}`,`size${Lr(s)}`],switchBase:["switchBase",`color${Lr(o)}`,c&&"checked",g&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},k=kd(x,VM,t);return D._extends({},t,k)},ZM=jr("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.edge&&t[`edge${Lr(r.edge)}`],t[`size${Lr(r.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,[`& .${un.thumb}`]:{width:16,height:16},[`& .${un.switchBase}`]:{padding:4,[`&.${un.checked}`]:{transform:"translateX(16px)"}}})),JM=jr(zM,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.switchBase,{[`& .${un.input}`]:t.input},r.color!=="default"&&t[`color${Lr(r.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}),[`&.${un.checked}`]:{transform:"translateX(20px)"},[`&.${un.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${un.checked} + .${un.track}`]:{opacity:.5},[`&.${un.disabled} + .${un.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${un.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})`:eg(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${un.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})`:eg(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${un.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t.color}DisabledColor`]:`${e.palette.mode==="light"?a0(e.palette[t.color].main,.62):i0(e.palette[t.color].main,.55)}`}},[`&.${un.checked} + .${un.track}`]:{backgroundColor:(e.vars||e).palette[t.color].main}})),QM=jr("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}`})),eA=jr("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%"})),tA=D.reactExports.forwardRef(function(t,r){const s=Ed({props:t,name:"MuiSwitch"}),{className:o,color:c="primary",edge:g=!1,size:x="medium",sx:k}=s,E=D._objectWithoutPropertiesLoose(s,KM),P=D._extends({},s,{color:c,edge:g,size:x}),j=XM(P),B=D.jsxRuntimeExports.jsx(eA,{className:j.thumb,ownerState:P});return D.jsxRuntimeExports.jsxs(ZM,{className:Kn(j.root,o),sx:k,ownerState:P,children:[D.jsxRuntimeExports.jsx(JM,D._extends({type:"checkbox",icon:B,checkedIcon:B,ref:r,ownerState:P},E,{classes:D._extends({},j,{root:j.switchBase})})),D.jsxRuntimeExports.jsx(QM,{className:j.track,ownerState:P})]})}),nA=tA;var Bu={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
|
+
*/Bu.exports;(function(e,t){(function(){var r,s="4.17.21",o=200,c="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",g="Expected a function",x="Invalid `variable` option passed into `_.template`",k="__lodash_hash_undefined__",E=500,P="__lodash_placeholder__",j=1,B=2,V=4,U=1,F=2,ee=1,H=2,pe=4,ge=8,me=16,re=32,ie=64,d=128,Ne=256,le=512,at=30,He="...",Ze=800,xe=16,st=1,bt=2,Tt=3,qe=1/0,Fe=9007199254740991,ct=17976931348623157e292,Et=0/0,Pt=4294967295,_t=Pt-1,Ln=Pt>>>1,qt=[["ary",d],["bind",ee],["bindKey",H],["curry",ge],["curryRight",me],["flip",le],["partial",re],["partialRight",ie],["rearg",Ne]],zt="[object Arguments]",ir="[object Array]",ji="[object AsyncFunction]",Wr="[object Boolean]",Nt="[object Date]",ln="[object DOMException]",yi="[object Error]",wn="[object Function]",Br="[object GeneratorFunction]",Vt="[object Map]",Hr="[object Number]",Wi="[object Null]",Gt="[object Object]",cn="[object Promise]",ts="[object Proxy]",ar="[object RegExp]",Wt="[object Set]",Lt="[object String]",$n="[object Symbol]",Fn="[object Undefined]",ce="[object WeakMap]",$t="[object WeakSet]",vr="[object ArrayBuffer]",br="[object DataView]",ke="[object Float32Array]",Ur="[object Float64Array]",vi="[object Int8Array]",Yn="[object Int16Array]",fn="[object Int32Array]",sr="[object Uint8Array]",_r="[object Uint8ClampedArray]",ns="[object Uint16Array]",bi="[object Uint32Array]",co=/\b__p \+= '';/g,fo=/\b(__p \+=) '' \+/g,Wl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,qr=/&(?:amp|lt|gt|quot|#39);/g,_i=/[&<>"']/g,ho=RegExp(qr.source),po=RegExp(_i.source),dn=/<%-([\s\S]+?)%>/g,Kt=/<%([\s\S]+?)%>/g,ga=/<%=([\s\S]+?)%>/g,Bl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,go=/^\w*$/,mo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xr=/[\\^$.*+?()[\]{}|]/g,xi=RegExp(xr.source),Bi=/^\s+/,ma=/\s/,Hl=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ul=/\{\n\/\* \[wrapped with (.+)\] \*/,ql=/,? & /,yo=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,zl=/[()=,{}\[\]\/\s]/,Vl=/\\(\\)?/g,vo=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,bo=/\w*$/,wi=/^[-+]0x[0-9a-f]+$/i,_o=/^0b[01]+$/i,rs=/^\[object .+?Constructor\]$/,is=/^0o[0-7]+$/i,ya=/^(?:0|[1-9]\d*)$/,xo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,va=/($^)/,Hi=/['\n\r\u2028\u2029\\]/g,Ui="\\ud800-\\udfff",wo="\\u0300-\\u036f",So="\\ufe20-\\ufe2f",ko="\\u20d0-\\u20ff",Co=wo+So+ko,ba="\\u2700-\\u27bf",Do="a-z\\xdf-\\xf6\\xf8-\\xff",Gl="\\xac\\xb1\\xd7\\xf7",To="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Eo="\\u2000-\\u206f",as=" \\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",ss="A-Z\\xc0-\\xd6\\xd8-\\xde",Bt="\\ufe0e\\ufe0f",zr=Gl+To+Eo+as,Si="['’]",Kl="["+Ui+"]",Mo="["+zr+"]",ki="["+Co+"]",os="\\d+",_a="["+ba+"]",us="["+Do+"]",Ao="[^"+Ui+zr+os+ba+Do+ss+"]",ls="\\ud83c[\\udffb-\\udfff]",Sn="(?:"+ki+"|"+ls+")",cs="[^"+Ui+"]",Vr="(?:\\ud83c[\\udde6-\\uddff]){2}",fs="[\\ud800-\\udbff][\\udc00-\\udfff]",Ci="["+ss+"]",wr="\\u200d",Sr="(?:"+us+"|"+Ao+")",ds="(?:"+Ci+"|"+Ao+")",Ro="(?:"+Si+"(?:d|ll|m|re|s|t|ve))?",Di="(?:"+Si+"(?:D|LL|M|RE|S|T|VE))?",hs=Sn+"?",xa="["+Bt+"]?",Oo="(?:"+wr+"(?:"+[cs,Vr,fs].join("|")+")"+xa+hs+")*",Io="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Xl="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ps=xa+hs+Oo,Zl="(?:"+[_a,Vr,fs].join("|")+")"+ps,Jl="(?:"+[cs+ki+"?",ki,Vr,fs,Kl].join("|")+")",gs=RegExp(Si,"g"),Ql=RegExp(ki,"g"),ms=RegExp(ls+"(?="+ls+")|"+Jl+ps,"g"),ec=RegExp([Ci+"?"+us+"+"+Ro+"(?="+[Mo,Ci,"$"].join("|")+")",ds+"+"+Di+"(?="+[Mo,Ci+Sr,"$"].join("|")+")",Ci+"?"+Sr+"+"+Ro,Ci+"+"+Di,Xl,Io,os,Zl].join("|"),"g"),tc=RegExp("["+wr+Ui+Co+Bt+"]"),nc=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,rc=["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"],ic=-1,rt={};rt[ke]=rt[Ur]=rt[vi]=rt[Yn]=rt[fn]=rt[sr]=rt[_r]=rt[ns]=rt[bi]=!0,rt[zt]=rt[ir]=rt[vr]=rt[Wr]=rt[br]=rt[Nt]=rt[yi]=rt[wn]=rt[Vt]=rt[Hr]=rt[Gt]=rt[ar]=rt[Wt]=rt[Lt]=rt[ce]=!1;var Je={};Je[zt]=Je[ir]=Je[vr]=Je[br]=Je[Wr]=Je[Nt]=Je[ke]=Je[Ur]=Je[vi]=Je[Yn]=Je[fn]=Je[Vt]=Je[Hr]=Je[Gt]=Je[ar]=Je[Wt]=Je[Lt]=Je[$n]=Je[sr]=Je[_r]=Je[ns]=Je[bi]=!0,Je[yi]=Je[wn]=Je[ce]=!1;var Po={À:"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"},ys={"&":"&","<":"<",">":">",'"':""","'":"'"},No={"&":"&","<":"<",">":">",""":'"',"'":"'"},Lo={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},vs=parseFloat,ac=parseInt,$o=typeof D.commonjsGlobal=="object"&&D.commonjsGlobal&&D.commonjsGlobal.Object===Object&&D.commonjsGlobal,sc=typeof self=="object"&&self&&self.Object===Object&&self,ht=$o||sc||Function("return this")(),wa=t&&!t.nodeType&&t,or=wa&&!0&&e&&!e.nodeType&&e,Fo=or&&or.exports===wa,bs=Fo&&$o.process,hn=function(){try{var S=or&&or.require&&or.require("util").types;return S||bs&&bs.binding&&bs.binding("util")}catch{}}(),a=hn&&hn.isArrayBuffer,l=hn&&hn.isDate,f=hn&&hn.isMap,p=hn&&hn.isRegExp,m=hn&&hn.isSet,y=hn&&hn.isTypedArray;function b(S,O,R){switch(R.length){case 0:return S.call(O);case 1:return S.call(O,R[0]);case 2:return S.call(O,R[0],R[1]);case 3:return S.call(O,R[0],R[1],R[2])}return S.apply(O,R)}function A(S,O,R,K){for(var X=-1,fe=S==null?0:S.length;++X<fe;){var de=S[X];O(K,de,R(de),S)}return K}function T(S,O){for(var R=-1,K=S==null?0:S.length;++R<K&&O(S[R],R,S)!==!1;);return S}function L(S,O){for(var R=S==null?0:S.length;R--&&O(S[R],R,S)!==!1;);return S}function z(S,O){for(var R=-1,K=S==null?0:S.length;++R<K;)if(!O(S[R],R,S))return!1;return!0}function G(S,O){for(var R=-1,K=S==null?0:S.length,X=0,fe=[];++R<K;){var de=S[R];O(de,R,S)&&(fe[X++]=de)}return fe}function W(S,O){var R=S==null?0:S.length;return!!R&&et(S,O,0)>-1}function te(S,O,R){for(var K=-1,X=S==null?0:S.length;++K<X;)if(R(O,S[K]))return!0;return!1}function ue(S,O){for(var R=-1,K=S==null?0:S.length,X=Array(K);++R<K;)X[R]=O(S[R],R,S);return X}function Te(S,O){for(var R=-1,K=O.length,X=S.length;++R<K;)S[X+R]=O[R];return S}function De(S,O,R,K){var X=-1,fe=S==null?0:S.length;for(K&&fe&&(R=S[++X]);++X<fe;)R=O(R,S[X],X,S);return R}function Mt(S,O,R,K){var X=S==null?0:S.length;for(K&&X&&(R=S[--X]);X--;)R=O(R,S[X],X,S);return R}function pt(S,O){for(var R=-1,K=S==null?0:S.length;++R<K;)if(O(S[R],R,S))return!0;return!1}var jn=Gr("length");function Wn(S){return S.split("")}function Le(S){return S.match(yo)||[]}function kr(S,O,R){var K;return R(S,function(X,fe,de){if(O(X,fe,de))return K=fe,!1}),K}function $e(S,O,R,K){for(var X=S.length,fe=R+(K?1:-1);K?fe--:++fe<X;)if(O(S[fe],fe,S))return fe;return-1}function et(S,O,R){return O===O?lc(S,O,R):$e(S,Sa,R)}function qi(S,O,R,K){for(var X=R-1,fe=S.length;++X<fe;)if(K(S[X],O))return X;return-1}function Sa(S){return S!==S}function kn(S,O){var R=S==null?0:S.length;return R?Xt(S,O)/R:Et}function Gr(S){return function(O){return O==null?r:O[S]}}function pn(S){return function(O){return S==null?r:S[O]}}function ur(S,O,R,K,X){return X(S,function(fe,de,se){R=K?(K=!1,fe):O(R,fe,de,se)}),R}function Cr(S,O){var R=S.length;for(S.sort(O);R--;)S[R]=S[R].value;return S}function Xt(S,O){for(var R,K=-1,X=S.length;++K<X;){var fe=O(S[K]);fe!==r&&(R=R===r?fe:R+fe)}return R}function zi(S,O){for(var R=-1,K=Array(S);++R<S;)K[R]=O(R);return K}function lr(S,O){return ue(O,function(R){return[R,S[R]]})}function Bn(S){return S&&S.slice(0,jo(S)+1).replace(Bi,"")}function tn(S){return function(O){return S(O)}}function _s(S,O){return ue(O,function(R){return S[R]})}function Vi(S,O){return S.has(O)}function ze(S,O){for(var R=-1,K=S.length;++R<K&&et(O,S[R],0)>-1;);return R}function Gi(S,O){for(var R=S.length;R--&&et(O,S[R],0)>-1;);return R}function Cn(S,O){for(var R=S.length,K=0;R--;)S[R]===O&&++K;return K}var Ti=pn(Po),oc=pn(ys);function uc(S){return"\\"+Lo[S]}function Yo(S,O){return S==null?r:S[O]}function gn(S){return tc.test(S)}function xs(S){return nc.test(S)}function Dr(S){for(var O,R=[];!(O=S.next()).done;)R.push(O.value);return R}function ka(S){var O=-1,R=Array(S.size);return S.forEach(function(K,X){R[++O]=[X,K]}),R}function Ei(S,O){return function(R){return S(O(R))}}function Dn(S,O){for(var R=-1,K=S.length,X=0,fe=[];++R<K;){var de=S[R];(de===O||de===P)&&(S[R]=P,fe[X++]=R)}return fe}function Kr(S){var O=-1,R=Array(S.size);return S.forEach(function(K){R[++O]=K}),R}function ws(S){var O=-1,R=Array(S.size);return S.forEach(function(K){R[++O]=[K,K]}),R}function lc(S,O,R){for(var K=R-1,X=S.length;++K<X;)if(S[K]===O)return K;return-1}function Ca(S,O,R){for(var K=R+1;K--;)if(S[K]===O)return K;return K}function Tr(S){return gn(S)?Wo(S):jn(S)}function nn(S){return gn(S)?C(S):Wn(S)}function jo(S){for(var O=S.length;O--&&ma.test(S.charAt(O)););return O}var Ss=pn(No);function Wo(S){for(var O=ms.lastIndex=0;ms.test(S);)++O;return O}function C(S){return S.match(ms)||[]}function N(S){return S.match(ec)||[]}var Y=function S(O){O=O==null?ht:q.defaults(ht.Object(),O,q.pick(ht,rc));var R=O.Array,K=O.Date,X=O.Error,fe=O.Function,de=O.Math,se=O.Object,Me=O.RegExp,be=O.String,Ie=O.TypeError,At=R.prototype,Ft=fe.prototype,Rt=se.prototype,rn=O["__core-js_shared__"],cr=Ft.toString,Ce=Rt.hasOwnProperty,X0=0,Bd=function(){var n=/[^.]+$/.exec(rn&&rn.keys&&rn.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}(),Bo=Rt.toString,Z0=cr.call(se),J0=ht._,Q0=Me("^"+cr.call(Ce).replace(xr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ho=Fo?O.Buffer:r,Mi=O.Symbol,Uo=O.Uint8Array,Hd=Ho?Ho.allocUnsafe:r,qo=Ei(se.getPrototypeOf,se),Ud=se.create,qd=Rt.propertyIsEnumerable,zo=At.splice,zd=Mi?Mi.isConcatSpreadable:r,ks=Mi?Mi.iterator:r,Ki=Mi?Mi.toStringTag:r,Vo=function(){try{var n=ea(se,"defineProperty");return n({},"",{}),n}catch{}}(),ey=O.clearTimeout!==ht.clearTimeout&&O.clearTimeout,ty=K&&K.now!==ht.Date.now&&K.now,ny=O.setTimeout!==ht.setTimeout&&O.setTimeout,Go=de.ceil,Ko=de.floor,cc=se.getOwnPropertySymbols,ry=Ho?Ho.isBuffer:r,Vd=O.isFinite,iy=At.join,ay=Ei(se.keys,se),Ot=de.max,Zt=de.min,sy=K.now,oy=O.parseInt,Gd=de.random,uy=At.reverse,fc=ea(O,"DataView"),Cs=ea(O,"Map"),dc=ea(O,"Promise"),Da=ea(O,"Set"),Ds=ea(O,"WeakMap"),Ts=ea(se,"create"),Xo=Ds&&new Ds,Ta={},ly=ta(fc),cy=ta(Cs),fy=ta(dc),dy=ta(Da),hy=ta(Ds),Zo=Mi?Mi.prototype:r,Es=Zo?Zo.valueOf:r,Kd=Zo?Zo.toString:r;function _(n){if(mt(n)&&!Ee(n)&&!(n instanceof je)){if(n instanceof Hn)return n;if(Ce.call(n,"__wrapped__"))return Xh(n)}return new Hn(n)}var Ea=function(){function n(){}return function(i){if(!gt(i))return{};if(Ud)return Ud(i);n.prototype=i;var u=new n;return n.prototype=r,u}}();function Jo(){}function Hn(n,i){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=r}_.templateSettings={escape:dn,evaluate:Kt,interpolate:ga,variable:"",imports:{_}},_.prototype=Jo.prototype,_.prototype.constructor=_,Hn.prototype=Ea(Jo.prototype),Hn.prototype.constructor=Hn;function je(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Pt,this.__views__=[]}function py(){var n=new je(this.__wrapped__);return n.__actions__=mn(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=mn(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=mn(this.__views__),n}function gy(){if(this.__filtered__){var n=new je(this);n.__dir__=-1,n.__filtered__=!0}else n=this.clone(),n.__dir__*=-1;return n}function my(){var n=this.__wrapped__.value(),i=this.__dir__,u=Ee(n),h=i<0,v=u?n.length:0,w=Ev(0,v,this.__views__),M=w.start,I=w.end,$=I-M,Z=h?I:M-1,J=this.__iteratees__,Q=J.length,ae=0,ye=Zt($,this.__takeCount__);if(!u||!h&&v==$&&ye==$)return bh(n,this.__actions__);var we=[];e:for(;$--&&ae<ye;){Z+=i;for(var Oe=-1,Se=n[Z];++Oe<Q;){var Ye=J[Oe],Be=Ye.iteratee,Mn=Ye.type,on=Be(Se);if(Mn==bt)Se=on;else if(!on){if(Mn==st)continue e;break e}}we[ae++]=Se}return we}je.prototype=Ea(Jo.prototype),je.prototype.constructor=je;function Xi(n){var i=-1,u=n==null?0:n.length;for(this.clear();++i<u;){var h=n[i];this.set(h[0],h[1])}}function yy(){this.__data__=Ts?Ts(null):{},this.size=0}function vy(n){var i=this.has(n)&&delete this.__data__[n];return this.size-=i?1:0,i}function by(n){var i=this.__data__;if(Ts){var u=i[n];return u===k?r:u}return Ce.call(i,n)?i[n]:r}function _y(n){var i=this.__data__;return Ts?i[n]!==r:Ce.call(i,n)}function xy(n,i){var u=this.__data__;return this.size+=this.has(n)?0:1,u[n]=Ts&&i===r?k:i,this}Xi.prototype.clear=yy,Xi.prototype.delete=vy,Xi.prototype.get=by,Xi.prototype.has=_y,Xi.prototype.set=xy;function Xr(n){var i=-1,u=n==null?0:n.length;for(this.clear();++i<u;){var h=n[i];this.set(h[0],h[1])}}function wy(){this.__data__=[],this.size=0}function Sy(n){var i=this.__data__,u=Qo(i,n);if(u<0)return!1;var h=i.length-1;return u==h?i.pop():zo.call(i,u,1),--this.size,!0}function ky(n){var i=this.__data__,u=Qo(i,n);return u<0?r:i[u][1]}function Cy(n){return Qo(this.__data__,n)>-1}function Dy(n,i){var u=this.__data__,h=Qo(u,n);return h<0?(++this.size,u.push([n,i])):u[h][1]=i,this}Xr.prototype.clear=wy,Xr.prototype.delete=Sy,Xr.prototype.get=ky,Xr.prototype.has=Cy,Xr.prototype.set=Dy;function Zr(n){var i=-1,u=n==null?0:n.length;for(this.clear();++i<u;){var h=n[i];this.set(h[0],h[1])}}function Ty(){this.size=0,this.__data__={hash:new Xi,map:new(Cs||Xr),string:new Xi}}function Ey(n){var i=fu(this,n).delete(n);return this.size-=i?1:0,i}function My(n){return fu(this,n).get(n)}function Ay(n){return fu(this,n).has(n)}function Ry(n,i){var u=fu(this,n),h=u.size;return u.set(n,i),this.size+=u.size==h?0:1,this}Zr.prototype.clear=Ty,Zr.prototype.delete=Ey,Zr.prototype.get=My,Zr.prototype.has=Ay,Zr.prototype.set=Ry;function Zi(n){var i=-1,u=n==null?0:n.length;for(this.__data__=new Zr;++i<u;)this.add(n[i])}function Oy(n){return this.__data__.set(n,k),this}function Iy(n){return this.__data__.has(n)}Zi.prototype.add=Zi.prototype.push=Oy,Zi.prototype.has=Iy;function fr(n){var i=this.__data__=new Xr(n);this.size=i.size}function Py(){this.__data__=new Xr,this.size=0}function Ny(n){var i=this.__data__,u=i.delete(n);return this.size=i.size,u}function Ly(n){return this.__data__.get(n)}function $y(n){return this.__data__.has(n)}function Fy(n,i){var u=this.__data__;if(u instanceof Xr){var h=u.__data__;if(!Cs||h.length<o-1)return h.push([n,i]),this.size=++u.size,this;u=this.__data__=new Zr(h)}return u.set(n,i),this.size=u.size,this}fr.prototype.clear=Py,fr.prototype.delete=Ny,fr.prototype.get=Ly,fr.prototype.has=$y,fr.prototype.set=Fy;function Xd(n,i){var u=Ee(n),h=!u&&na(n),v=!u&&!h&&Pi(n),w=!u&&!h&&!v&&Oa(n),M=u||h||v||w,I=M?zi(n.length,be):[],$=I.length;for(var Z in n)(i||Ce.call(n,Z))&&!(M&&(Z=="length"||v&&(Z=="offset"||Z=="parent")||w&&(Z=="buffer"||Z=="byteLength"||Z=="byteOffset")||ti(Z,$)))&&I.push(Z);return I}function Zd(n){var i=n.length;return i?n[Sc(0,i-1)]:r}function Yy(n,i){return du(mn(n),Ji(i,0,n.length))}function jy(n){return du(mn(n))}function hc(n,i,u){(u!==r&&!dr(n[i],u)||u===r&&!(i in n))&&Jr(n,i,u)}function Ms(n,i,u){var h=n[i];(!(Ce.call(n,i)&&dr(h,u))||u===r&&!(i in n))&&Jr(n,i,u)}function Qo(n,i){for(var u=n.length;u--;)if(dr(n[u][0],i))return u;return-1}function Wy(n,i,u,h){return Ai(n,function(v,w,M){i(h,v,u(v),M)}),h}function Jd(n,i){return n&&Mr(i,Yt(i),n)}function By(n,i){return n&&Mr(i,vn(i),n)}function Jr(n,i,u){i=="__proto__"&&Vo?Vo(n,i,{configurable:!0,enumerable:!0,value:u,writable:!0}):n[i]=u}function pc(n,i){for(var u=-1,h=i.length,v=R(h),w=n==null;++u<h;)v[u]=w?r:Gc(n,i[u]);return v}function Ji(n,i,u){return n===n&&(u!==r&&(n=n<=u?n:u),i!==r&&(n=n>=i?n:i)),n}function Un(n,i,u,h,v,w){var M,I=i&j,$=i&B,Z=i&V;if(u&&(M=v?u(n,h,v,w):u(n)),M!==r)return M;if(!gt(n))return n;var J=Ee(n);if(J){if(M=Av(n),!I)return mn(n,M)}else{var Q=Jt(n),ae=Q==wn||Q==Br;if(Pi(n))return wh(n,I);if(Q==Gt||Q==zt||ae&&!v){if(M=$||ae?{}:Wh(n),!I)return $?bv(n,By(M,n)):vv(n,Jd(M,n))}else{if(!Je[Q])return v?n:{};M=Rv(n,Q,I)}}w||(w=new fr);var ye=w.get(n);if(ye)return ye;w.set(n,M),mp(n)?n.forEach(function(Se){M.add(Un(Se,i,u,Se,n,w))}):pp(n)&&n.forEach(function(Se,Ye){M.set(Ye,Un(Se,i,u,Ye,n,w))});var we=Z?$?Pc:Ic:$?vn:Yt,Oe=J?r:we(n);return T(Oe||n,function(Se,Ye){Oe&&(Ye=Se,Se=n[Ye]),Ms(M,Ye,Un(Se,i,u,Ye,n,w))}),M}function Hy(n){var i=Yt(n);return function(u){return Qd(u,n,i)}}function Qd(n,i,u){var h=u.length;if(n==null)return!h;for(n=se(n);h--;){var v=u[h],w=i[v],M=n[v];if(M===r&&!(v in n)||!w(M))return!1}return!0}function eh(n,i,u){if(typeof n!="function")throw new Ie(g);return Ls(function(){n.apply(r,u)},i)}function As(n,i,u,h){var v=-1,w=W,M=!0,I=n.length,$=[],Z=i.length;if(!I)return $;u&&(i=ue(i,tn(u))),h?(w=te,M=!1):i.length>=o&&(w=Vi,M=!1,i=new Zi(i));e:for(;++v<I;){var J=n[v],Q=u==null?J:u(J);if(J=h||J!==0?J:0,M&&Q===Q){for(var ae=Z;ae--;)if(i[ae]===Q)continue e;$.push(J)}else w(i,Q,h)||$.push(J)}return $}var Ai=Th(Er),th=Th(mc,!0);function Uy(n,i){var u=!0;return Ai(n,function(h,v,w){return u=!!i(h,v,w),u}),u}function eu(n,i,u){for(var h=-1,v=n.length;++h<v;){var w=n[h],M=i(w);if(M!=null&&(I===r?M===M&&!En(M):u(M,I)))var I=M,$=w}return $}function qy(n,i,u,h){var v=n.length;for(u=Ae(u),u<0&&(u=-u>v?0:v+u),h=h===r||h>v?v:Ae(h),h<0&&(h+=v),h=u>h?0:vp(h);u<h;)n[u++]=i;return n}function nh(n,i){var u=[];return Ai(n,function(h,v,w){i(h,v,w)&&u.push(h)}),u}function Ht(n,i,u,h,v){var w=-1,M=n.length;for(u||(u=Iv),v||(v=[]);++w<M;){var I=n[w];i>0&&u(I)?i>1?Ht(I,i-1,u,h,v):Te(v,I):h||(v[v.length]=I)}return v}var gc=Eh(),rh=Eh(!0);function Er(n,i){return n&&gc(n,i,Yt)}function mc(n,i){return n&&rh(n,i,Yt)}function tu(n,i){return G(i,function(u){return ni(n[u])})}function Qi(n,i){i=Oi(i,n);for(var u=0,h=i.length;n!=null&&u<h;)n=n[Ar(i[u++])];return u&&u==h?n:r}function ih(n,i,u){var h=i(n);return Ee(n)?h:Te(h,u(n))}function an(n){return n==null?n===r?Fn:Wi:Ki&&Ki in se(n)?Tv(n):jv(n)}function yc(n,i){return n>i}function zy(n,i){return n!=null&&Ce.call(n,i)}function Vy(n,i){return n!=null&&i in se(n)}function Gy(n,i,u){return n>=Zt(i,u)&&n<Ot(i,u)}function vc(n,i,u){for(var h=u?te:W,v=n[0].length,w=n.length,M=w,I=R(w),$=1/0,Z=[];M--;){var J=n[M];M&&i&&(J=ue(J,tn(i))),$=Zt(J.length,$),I[M]=!u&&(i||v>=120&&J.length>=120)?new Zi(M&&J):r}J=n[0];var Q=-1,ae=I[0];e:for(;++Q<v&&Z.length<$;){var ye=J[Q],we=i?i(ye):ye;if(ye=u||ye!==0?ye:0,!(ae?Vi(ae,we):h(Z,we,u))){for(M=w;--M;){var Oe=I[M];if(!(Oe?Vi(Oe,we):h(n[M],we,u)))continue e}ae&&ae.push(we),Z.push(ye)}}return Z}function Ky(n,i,u,h){return Er(n,function(v,w,M){i(h,u(v),w,M)}),h}function Rs(n,i,u){i=Oi(i,n),n=qh(n,i);var h=n==null?n:n[Ar(zn(i))];return h==null?r:b(h,n,u)}function ah(n){return mt(n)&&an(n)==zt}function Xy(n){return mt(n)&&an(n)==vr}function Zy(n){return mt(n)&&an(n)==Nt}function Os(n,i,u,h,v){return n===i?!0:n==null||i==null||!mt(n)&&!mt(i)?n!==n&&i!==i:Jy(n,i,u,h,Os,v)}function Jy(n,i,u,h,v,w){var M=Ee(n),I=Ee(i),$=M?ir:Jt(n),Z=I?ir:Jt(i);$=$==zt?Gt:$,Z=Z==zt?Gt:Z;var J=$==Gt,Q=Z==Gt,ae=$==Z;if(ae&&Pi(n)){if(!Pi(i))return!1;M=!0,J=!1}if(ae&&!J)return w||(w=new fr),M||Oa(n)?Fh(n,i,u,h,v,w):Cv(n,i,$,u,h,v,w);if(!(u&U)){var ye=J&&Ce.call(n,"__wrapped__"),we=Q&&Ce.call(i,"__wrapped__");if(ye||we){var Oe=ye?n.value():n,Se=we?i.value():i;return w||(w=new fr),v(Oe,Se,u,h,w)}}return ae?(w||(w=new fr),Dv(n,i,u,h,v,w)):!1}function Qy(n){return mt(n)&&Jt(n)==Vt}function bc(n,i,u,h){var v=u.length,w=v,M=!h;if(n==null)return!w;for(n=se(n);v--;){var I=u[v];if(M&&I[2]?I[1]!==n[I[0]]:!(I[0]in n))return!1}for(;++v<w;){I=u[v];var $=I[0],Z=n[$],J=I[1];if(M&&I[2]){if(Z===r&&!($ in n))return!1}else{var Q=new fr;if(h)var ae=h(Z,J,$,n,i,Q);if(!(ae===r?Os(J,Z,U|F,h,Q):ae))return!1}}return!0}function sh(n){if(!gt(n)||Nv(n))return!1;var i=ni(n)?Q0:rs;return i.test(ta(n))}function ev(n){return mt(n)&&an(n)==ar}function tv(n){return mt(n)&&Jt(n)==Wt}function nv(n){return mt(n)&&vu(n.length)&&!!rt[an(n)]}function oh(n){return typeof n=="function"?n:n==null?bn:typeof n=="object"?Ee(n)?ch(n[0],n[1]):lh(n):Mp(n)}function _c(n){if(!Ns(n))return ay(n);var i=[];for(var u in se(n))Ce.call(n,u)&&u!="constructor"&&i.push(u);return i}function rv(n){if(!gt(n))return Yv(n);var i=Ns(n),u=[];for(var h in n)h=="constructor"&&(i||!Ce.call(n,h))||u.push(h);return u}function xc(n,i){return n<i}function uh(n,i){var u=-1,h=yn(n)?R(n.length):[];return Ai(n,function(v,w,M){h[++u]=i(v,w,M)}),h}function lh(n){var i=Lc(n);return i.length==1&&i[0][2]?Hh(i[0][0],i[0][1]):function(u){return u===n||bc(u,n,i)}}function ch(n,i){return Fc(n)&&Bh(i)?Hh(Ar(n),i):function(u){var h=Gc(u,n);return h===r&&h===i?Kc(u,n):Os(i,h,U|F)}}function nu(n,i,u,h,v){n!==i&&gc(i,function(w,M){if(v||(v=new fr),gt(w))iv(n,i,M,u,nu,h,v);else{var I=h?h(jc(n,M),w,M+"",n,i,v):r;I===r&&(I=w),hc(n,M,I)}},vn)}function iv(n,i,u,h,v,w,M){var I=jc(n,u),$=jc(i,u),Z=M.get($);if(Z){hc(n,u,Z);return}var J=w?w(I,$,u+"",n,i,M):r,Q=J===r;if(Q){var ae=Ee($),ye=!ae&&Pi($),we=!ae&&!ye&&Oa($);J=$,ae||ye||we?Ee(I)?J=I:xt(I)?J=mn(I):ye?(Q=!1,J=wh($,!0)):we?(Q=!1,J=Sh($,!0)):J=[]:$s($)||na($)?(J=I,na(I)?J=bp(I):(!gt(I)||ni(I))&&(J=Wh($))):Q=!1}Q&&(M.set($,J),v(J,$,h,w,M),M.delete($)),hc(n,u,J)}function fh(n,i){var u=n.length;if(u)return i+=i<0?u:0,ti(i,u)?n[i]:r}function dh(n,i,u){i.length?i=ue(i,function(w){return Ee(w)?function(M){return Qi(M,w.length===1?w[0]:w)}:w}):i=[bn];var h=-1;i=ue(i,tn(_e()));var v=uh(n,function(w,M,I){var $=ue(i,function(Z){return Z(w)});return{criteria:$,index:++h,value:w}});return Cr(v,function(w,M){return yv(w,M,u)})}function av(n,i){return hh(n,i,function(u,h){return Kc(n,h)})}function hh(n,i,u){for(var h=-1,v=i.length,w={};++h<v;){var M=i[h],I=Qi(n,M);u(I,M)&&Is(w,Oi(M,n),I)}return w}function sv(n){return function(i){return Qi(i,n)}}function wc(n,i,u,h){var v=h?qi:et,w=-1,M=i.length,I=n;for(n===i&&(i=mn(i)),u&&(I=ue(n,tn(u)));++w<M;)for(var $=0,Z=i[w],J=u?u(Z):Z;($=v(I,J,$,h))>-1;)I!==n&&zo.call(I,$,1),zo.call(n,$,1);return n}function ph(n,i){for(var u=n?i.length:0,h=u-1;u--;){var v=i[u];if(u==h||v!==w){var w=v;ti(v)?zo.call(n,v,1):Dc(n,v)}}return n}function Sc(n,i){return n+Ko(Gd()*(i-n+1))}function ov(n,i,u,h){for(var v=-1,w=Ot(Go((i-n)/(u||1)),0),M=R(w);w--;)M[h?w:++v]=n,n+=u;return M}function kc(n,i){var u="";if(!n||i<1||i>Fe)return u;do i%2&&(u+=n),i=Ko(i/2),i&&(n+=n);while(i);return u}function Pe(n,i){return Wc(Uh(n,i,bn),n+"")}function uv(n){return Zd(Ia(n))}function lv(n,i){var u=Ia(n);return du(u,Ji(i,0,u.length))}function Is(n,i,u,h){if(!gt(n))return n;i=Oi(i,n);for(var v=-1,w=i.length,M=w-1,I=n;I!=null&&++v<w;){var $=Ar(i[v]),Z=u;if($==="__proto__"||$==="constructor"||$==="prototype")return n;if(v!=M){var J=I[$];Z=h?h(J,$,I):r,Z===r&&(Z=gt(J)?J:ti(i[v+1])?[]:{})}Ms(I,$,Z),I=I[$]}return n}var gh=Xo?function(n,i){return Xo.set(n,i),n}:bn,cv=Vo?function(n,i){return Vo(n,"toString",{configurable:!0,enumerable:!1,value:Zc(i),writable:!0})}:bn;function fv(n){return du(Ia(n))}function qn(n,i,u){var h=-1,v=n.length;i<0&&(i=-i>v?0:v+i),u=u>v?v:u,u<0&&(u+=v),v=i>u?0:u-i>>>0,i>>>=0;for(var w=R(v);++h<v;)w[h]=n[h+i];return w}function dv(n,i){var u;return Ai(n,function(h,v,w){return u=i(h,v,w),!u}),!!u}function ru(n,i,u){var h=0,v=n==null?h:n.length;if(typeof i=="number"&&i===i&&v<=Ln){for(;h<v;){var w=h+v>>>1,M=n[w];M!==null&&!En(M)&&(u?M<=i:M<i)?h=w+1:v=w}return v}return Cc(n,i,bn,u)}function Cc(n,i,u,h){var v=0,w=n==null?0:n.length;if(w===0)return 0;i=u(i);for(var M=i!==i,I=i===null,$=En(i),Z=i===r;v<w;){var J=Ko((v+w)/2),Q=u(n[J]),ae=Q!==r,ye=Q===null,we=Q===Q,Oe=En(Q);if(M)var Se=h||we;else Z?Se=we&&(h||ae):I?Se=we&&ae&&(h||!ye):$?Se=we&&ae&&!ye&&(h||!Oe):ye||Oe?Se=!1:Se=h?Q<=i:Q<i;Se?v=J+1:w=J}return Zt(w,_t)}function mh(n,i){for(var u=-1,h=n.length,v=0,w=[];++u<h;){var M=n[u],I=i?i(M):M;if(!u||!dr(I,$)){var $=I;w[v++]=M===0?0:M}}return w}function yh(n){return typeof n=="number"?n:En(n)?Et:+n}function Tn(n){if(typeof n=="string")return n;if(Ee(n))return ue(n,Tn)+"";if(En(n))return Kd?Kd.call(n):"";var i=n+"";return i=="0"&&1/n==-qe?"-0":i}function Ri(n,i,u){var h=-1,v=W,w=n.length,M=!0,I=[],$=I;if(u)M=!1,v=te;else if(w>=o){var Z=i?null:Sv(n);if(Z)return Kr(Z);M=!1,v=Vi,$=new Zi}else $=i?[]:I;e:for(;++h<w;){var J=n[h],Q=i?i(J):J;if(J=u||J!==0?J:0,M&&Q===Q){for(var ae=$.length;ae--;)if($[ae]===Q)continue e;i&&$.push(Q),I.push(J)}else v($,Q,u)||($!==I&&$.push(Q),I.push(J))}return I}function Dc(n,i){return i=Oi(i,n),n=qh(n,i),n==null||delete n[Ar(zn(i))]}function vh(n,i,u,h){return Is(n,i,u(Qi(n,i)),h)}function iu(n,i,u,h){for(var v=n.length,w=h?v:-1;(h?w--:++w<v)&&i(n[w],w,n););return u?qn(n,h?0:w,h?w+1:v):qn(n,h?w+1:0,h?v:w)}function bh(n,i){var u=n;return u instanceof je&&(u=u.value()),De(i,function(h,v){return v.func.apply(v.thisArg,Te([h],v.args))},u)}function Tc(n,i,u){var h=n.length;if(h<2)return h?Ri(n[0]):[];for(var v=-1,w=R(h);++v<h;)for(var M=n[v],I=-1;++I<h;)I!=v&&(w[v]=As(w[v]||M,n[I],i,u));return Ri(Ht(w,1),i,u)}function _h(n,i,u){for(var h=-1,v=n.length,w=i.length,M={};++h<v;){var I=h<w?i[h]:r;u(M,n[h],I)}return M}function Ec(n){return xt(n)?n:[]}function Mc(n){return typeof n=="function"?n:bn}function Oi(n,i){return Ee(n)?n:Fc(n,i)?[n]:Kh(Qe(n))}var hv=Pe;function Ii(n,i,u){var h=n.length;return u=u===r?h:u,!i&&u>=h?n:qn(n,i,u)}var xh=ey||function(n){return ht.clearTimeout(n)};function wh(n,i){if(i)return n.slice();var u=n.length,h=Hd?Hd(u):new n.constructor(u);return n.copy(h),h}function Ac(n){var i=new n.constructor(n.byteLength);return new Uo(i).set(new Uo(n)),i}function pv(n,i){var u=i?Ac(n.buffer):n.buffer;return new n.constructor(u,n.byteOffset,n.byteLength)}function gv(n){var i=new n.constructor(n.source,bo.exec(n));return i.lastIndex=n.lastIndex,i}function mv(n){return Es?se(Es.call(n)):{}}function Sh(n,i){var u=i?Ac(n.buffer):n.buffer;return new n.constructor(u,n.byteOffset,n.length)}function kh(n,i){if(n!==i){var u=n!==r,h=n===null,v=n===n,w=En(n),M=i!==r,I=i===null,$=i===i,Z=En(i);if(!I&&!Z&&!w&&n>i||w&&M&&$&&!I&&!Z||h&&M&&$||!u&&$||!v)return 1;if(!h&&!w&&!Z&&n<i||Z&&u&&v&&!h&&!w||I&&u&&v||!M&&v||!$)return-1}return 0}function yv(n,i,u){for(var h=-1,v=n.criteria,w=i.criteria,M=v.length,I=u.length;++h<M;){var $=kh(v[h],w[h]);if($){if(h>=I)return $;var Z=u[h];return $*(Z=="desc"?-1:1)}}return n.index-i.index}function Ch(n,i,u,h){for(var v=-1,w=n.length,M=u.length,I=-1,$=i.length,Z=Ot(w-M,0),J=R($+Z),Q=!h;++I<$;)J[I]=i[I];for(;++v<M;)(Q||v<w)&&(J[u[v]]=n[v]);for(;Z--;)J[I++]=n[v++];return J}function Dh(n,i,u,h){for(var v=-1,w=n.length,M=-1,I=u.length,$=-1,Z=i.length,J=Ot(w-I,0),Q=R(J+Z),ae=!h;++v<J;)Q[v]=n[v];for(var ye=v;++$<Z;)Q[ye+$]=i[$];for(;++M<I;)(ae||v<w)&&(Q[ye+u[M]]=n[v++]);return Q}function mn(n,i){var u=-1,h=n.length;for(i||(i=R(h));++u<h;)i[u]=n[u];return i}function Mr(n,i,u,h){var v=!u;u||(u={});for(var w=-1,M=i.length;++w<M;){var I=i[w],$=h?h(u[I],n[I],I,u,n):r;$===r&&($=n[I]),v?Jr(u,I,$):Ms(u,I,$)}return u}function vv(n,i){return Mr(n,$c(n),i)}function bv(n,i){return Mr(n,Yh(n),i)}function au(n,i){return function(u,h){var v=Ee(u)?A:Wy,w=i?i():{};return v(u,n,_e(h,2),w)}}function Ma(n){return Pe(function(i,u){var h=-1,v=u.length,w=v>1?u[v-1]:r,M=v>2?u[2]:r;for(w=n.length>3&&typeof w=="function"?(v--,w):r,M&&sn(u[0],u[1],M)&&(w=v<3?r:w,v=1),i=se(i);++h<v;){var I=u[h];I&&n(i,I,h,w)}return i})}function Th(n,i){return function(u,h){if(u==null)return u;if(!yn(u))return n(u,h);for(var v=u.length,w=i?v:-1,M=se(u);(i?w--:++w<v)&&h(M[w],w,M)!==!1;);return u}}function Eh(n){return function(i,u,h){for(var v=-1,w=se(i),M=h(i),I=M.length;I--;){var $=M[n?I:++v];if(u(w[$],$,w)===!1)break}return i}}function _v(n,i,u){var h=i&ee,v=Ps(n);function w(){var M=this&&this!==ht&&this instanceof w?v:n;return M.apply(h?u:this,arguments)}return w}function Mh(n){return function(i){i=Qe(i);var u=gn(i)?nn(i):r,h=u?u[0]:i.charAt(0),v=u?Ii(u,1).join(""):i.slice(1);return h[n]()+v}}function Aa(n){return function(i){return De(Tp(Dp(i).replace(gs,"")),n,"")}}function Ps(n){return function(){var i=arguments;switch(i.length){case 0:return new n;case 1:return new n(i[0]);case 2:return new n(i[0],i[1]);case 3:return new n(i[0],i[1],i[2]);case 4:return new n(i[0],i[1],i[2],i[3]);case 5:return new n(i[0],i[1],i[2],i[3],i[4]);case 6:return new n(i[0],i[1],i[2],i[3],i[4],i[5]);case 7:return new n(i[0],i[1],i[2],i[3],i[4],i[5],i[6])}var u=Ea(n.prototype),h=n.apply(u,i);return gt(h)?h:u}}function xv(n,i,u){var h=Ps(n);function v(){for(var w=arguments.length,M=R(w),I=w,$=Ra(v);I--;)M[I]=arguments[I];var Z=w<3&&M[0]!==$&&M[w-1]!==$?[]:Dn(M,$);if(w-=Z.length,w<u)return Ph(n,i,su,v.placeholder,r,M,Z,r,r,u-w);var J=this&&this!==ht&&this instanceof v?h:n;return b(J,this,M)}return v}function Ah(n){return function(i,u,h){var v=se(i);if(!yn(i)){var w=_e(u,3);i=Yt(i),u=function(I){return w(v[I],I,v)}}var M=n(i,u,h);return M>-1?v[w?i[M]:M]:r}}function Rh(n){return ei(function(i){var u=i.length,h=u,v=Hn.prototype.thru;for(n&&i.reverse();h--;){var w=i[h];if(typeof w!="function")throw new Ie(g);if(v&&!M&&cu(w)=="wrapper")var M=new Hn([],!0)}for(h=M?h:u;++h<u;){w=i[h];var I=cu(w),$=I=="wrapper"?Nc(w):r;$&&Yc($[0])&&$[1]==(d|ge|re|Ne)&&!$[4].length&&$[9]==1?M=M[cu($[0])].apply(M,$[3]):M=w.length==1&&Yc(w)?M[I]():M.thru(w)}return function(){var Z=arguments,J=Z[0];if(M&&Z.length==1&&Ee(J))return M.plant(J).value();for(var Q=0,ae=u?i[Q].apply(this,Z):J;++Q<u;)ae=i[Q].call(this,ae);return ae}})}function su(n,i,u,h,v,w,M,I,$,Z){var J=i&d,Q=i&ee,ae=i&H,ye=i&(ge|me),we=i&le,Oe=ae?r:Ps(n);function Se(){for(var Ye=arguments.length,Be=R(Ye),Mn=Ye;Mn--;)Be[Mn]=arguments[Mn];if(ye)var on=Ra(Se),An=Cn(Be,on);if(h&&(Be=Ch(Be,h,v,ye)),w&&(Be=Dh(Be,w,M,ye)),Ye-=An,ye&&Ye<Z){var wt=Dn(Be,on);return Ph(n,i,su,Se.placeholder,u,Be,wt,I,$,Z-Ye)}var hr=Q?u:this,ii=ae?hr[n]:n;return Ye=Be.length,I?Be=Wv(Be,I):we&&Ye>1&&Be.reverse(),J&&$<Ye&&(Be.length=$),this&&this!==ht&&this instanceof Se&&(ii=Oe||Ps(ii)),ii.apply(hr,Be)}return Se}function Oh(n,i){return function(u,h){return Ky(u,n,i(h),{})}}function ou(n,i){return function(u,h){var v;if(u===r&&h===r)return i;if(u!==r&&(v=u),h!==r){if(v===r)return h;typeof u=="string"||typeof h=="string"?(u=Tn(u),h=Tn(h)):(u=yh(u),h=yh(h)),v=n(u,h)}return v}}function Rc(n){return ei(function(i){return i=ue(i,tn(_e())),Pe(function(u){var h=this;return n(i,function(v){return b(v,h,u)})})})}function uu(n,i){i=i===r?" ":Tn(i);var u=i.length;if(u<2)return u?kc(i,n):i;var h=kc(i,Go(n/Tr(i)));return gn(i)?Ii(nn(h),0,n).join(""):h.slice(0,n)}function wv(n,i,u,h){var v=i&ee,w=Ps(n);function M(){for(var I=-1,$=arguments.length,Z=-1,J=h.length,Q=R(J+$),ae=this&&this!==ht&&this instanceof M?w:n;++Z<J;)Q[Z]=h[Z];for(;$--;)Q[Z++]=arguments[++I];return b(ae,v?u:this,Q)}return M}function Ih(n){return function(i,u,h){return h&&typeof h!="number"&&sn(i,u,h)&&(u=h=r),i=ri(i),u===r?(u=i,i=0):u=ri(u),h=h===r?i<u?1:-1:ri(h),ov(i,u,h,n)}}function lu(n){return function(i,u){return typeof i=="string"&&typeof u=="string"||(i=Vn(i),u=Vn(u)),n(i,u)}}function Ph(n,i,u,h,v,w,M,I,$,Z){var J=i&ge,Q=J?M:r,ae=J?r:M,ye=J?w:r,we=J?r:w;i|=J?re:ie,i&=~(J?ie:re),i&pe||(i&=~(ee|H));var Oe=[n,i,v,ye,Q,we,ae,I,$,Z],Se=u.apply(r,Oe);return Yc(n)&&zh(Se,Oe),Se.placeholder=h,Vh(Se,n,i)}function Oc(n){var i=de[n];return function(u,h){if(u=Vn(u),h=h==null?0:Zt(Ae(h),292),h&&Vd(u)){var v=(Qe(u)+"e").split("e"),w=i(v[0]+"e"+(+v[1]+h));return v=(Qe(w)+"e").split("e"),+(v[0]+"e"+(+v[1]-h))}return i(u)}}var Sv=Da&&1/Kr(new Da([,-0]))[1]==qe?function(n){return new Da(n)}:ef;function Nh(n){return function(i){var u=Jt(i);return u==Vt?ka(i):u==Wt?ws(i):lr(i,n(i))}}function Qr(n,i,u,h,v,w,M,I){var $=i&H;if(!$&&typeof n!="function")throw new Ie(g);var Z=h?h.length:0;if(Z||(i&=~(re|ie),h=v=r),M=M===r?M:Ot(Ae(M),0),I=I===r?I:Ae(I),Z-=v?v.length:0,i&ie){var J=h,Q=v;h=v=r}var ae=$?r:Nc(n),ye=[n,i,u,h,v,J,Q,w,M,I];if(ae&&Fv(ye,ae),n=ye[0],i=ye[1],u=ye[2],h=ye[3],v=ye[4],I=ye[9]=ye[9]===r?$?0:n.length:Ot(ye[9]-Z,0),!I&&i&(ge|me)&&(i&=~(ge|me)),!i||i==ee)var we=_v(n,i,u);else i==ge||i==me?we=xv(n,i,I):(i==re||i==(ee|re))&&!v.length?we=wv(n,i,u,h):we=su.apply(r,ye);var Oe=ae?gh:zh;return Vh(Oe(we,ye),n,i)}function Lh(n,i,u,h){return n===r||dr(n,Rt[u])&&!Ce.call(h,u)?i:n}function $h(n,i,u,h,v,w){return gt(n)&>(i)&&(w.set(i,n),nu(n,i,r,$h,w),w.delete(i)),n}function kv(n){return $s(n)?r:n}function Fh(n,i,u,h,v,w){var M=u&U,I=n.length,$=i.length;if(I!=$&&!(M&&$>I))return!1;var Z=w.get(n),J=w.get(i);if(Z&&J)return Z==i&&J==n;var Q=-1,ae=!0,ye=u&F?new Zi:r;for(w.set(n,i),w.set(i,n);++Q<I;){var we=n[Q],Oe=i[Q];if(h)var Se=M?h(Oe,we,Q,i,n,w):h(we,Oe,Q,n,i,w);if(Se!==r){if(Se)continue;ae=!1;break}if(ye){if(!pt(i,function(Ye,Be){if(!Vi(ye,Be)&&(we===Ye||v(we,Ye,u,h,w)))return ye.push(Be)})){ae=!1;break}}else if(!(we===Oe||v(we,Oe,u,h,w))){ae=!1;break}}return w.delete(n),w.delete(i),ae}function Cv(n,i,u,h,v,w,M){switch(u){case br:if(n.byteLength!=i.byteLength||n.byteOffset!=i.byteOffset)return!1;n=n.buffer,i=i.buffer;case vr:return!(n.byteLength!=i.byteLength||!w(new Uo(n),new Uo(i)));case Wr:case Nt:case Hr:return dr(+n,+i);case yi:return n.name==i.name&&n.message==i.message;case ar:case Lt:return n==i+"";case Vt:var I=ka;case Wt:var $=h&U;if(I||(I=Kr),n.size!=i.size&&!$)return!1;var Z=M.get(n);if(Z)return Z==i;h|=F,M.set(n,i);var J=Fh(I(n),I(i),h,v,w,M);return M.delete(n),J;case $n:if(Es)return Es.call(n)==Es.call(i)}return!1}function Dv(n,i,u,h,v,w){var M=u&U,I=Ic(n),$=I.length,Z=Ic(i),J=Z.length;if($!=J&&!M)return!1;for(var Q=$;Q--;){var ae=I[Q];if(!(M?ae in i:Ce.call(i,ae)))return!1}var ye=w.get(n),we=w.get(i);if(ye&&we)return ye==i&&we==n;var Oe=!0;w.set(n,i),w.set(i,n);for(var Se=M;++Q<$;){ae=I[Q];var Ye=n[ae],Be=i[ae];if(h)var Mn=M?h(Be,Ye,ae,i,n,w):h(Ye,Be,ae,n,i,w);if(!(Mn===r?Ye===Be||v(Ye,Be,u,h,w):Mn)){Oe=!1;break}Se||(Se=ae=="constructor")}if(Oe&&!Se){var on=n.constructor,An=i.constructor;on!=An&&"constructor"in n&&"constructor"in i&&!(typeof on=="function"&&on instanceof on&&typeof An=="function"&&An instanceof An)&&(Oe=!1)}return w.delete(n),w.delete(i),Oe}function ei(n){return Wc(Uh(n,r,Qh),n+"")}function Ic(n){return ih(n,Yt,$c)}function Pc(n){return ih(n,vn,Yh)}var Nc=Xo?function(n){return Xo.get(n)}:ef;function cu(n){for(var i=n.name+"",u=Ta[i],h=Ce.call(Ta,i)?u.length:0;h--;){var v=u[h],w=v.func;if(w==null||w==n)return v.name}return i}function Ra(n){var i=Ce.call(_,"placeholder")?_:n;return i.placeholder}function _e(){var n=_.iteratee||Jc;return n=n===Jc?oh:n,arguments.length?n(arguments[0],arguments[1]):n}function fu(n,i){var u=n.__data__;return Pv(i)?u[typeof i=="string"?"string":"hash"]:u.map}function Lc(n){for(var i=Yt(n),u=i.length;u--;){var h=i[u],v=n[h];i[u]=[h,v,Bh(v)]}return i}function ea(n,i){var u=Yo(n,i);return sh(u)?u:r}function Tv(n){var i=Ce.call(n,Ki),u=n[Ki];try{n[Ki]=r;var h=!0}catch{}var v=Bo.call(n);return h&&(i?n[Ki]=u:delete n[Ki]),v}var $c=cc?function(n){return n==null?[]:(n=se(n),G(cc(n),function(i){return qd.call(n,i)}))}:tf,Yh=cc?function(n){for(var i=[];n;)Te(i,$c(n)),n=qo(n);return i}:tf,Jt=an;(fc&&Jt(new fc(new ArrayBuffer(1)))!=br||Cs&&Jt(new Cs)!=Vt||dc&&Jt(dc.resolve())!=cn||Da&&Jt(new Da)!=Wt||Ds&&Jt(new Ds)!=ce)&&(Jt=function(n){var i=an(n),u=i==Gt?n.constructor:r,h=u?ta(u):"";if(h)switch(h){case ly:return br;case cy:return Vt;case fy:return cn;case dy:return Wt;case hy:return ce}return i});function Ev(n,i,u){for(var h=-1,v=u.length;++h<v;){var w=u[h],M=w.size;switch(w.type){case"drop":n+=M;break;case"dropRight":i-=M;break;case"take":i=Zt(i,n+M);break;case"takeRight":n=Ot(n,i-M);break}}return{start:n,end:i}}function Mv(n){var i=n.match(Ul);return i?i[1].split(ql):[]}function jh(n,i,u){i=Oi(i,n);for(var h=-1,v=i.length,w=!1;++h<v;){var M=Ar(i[h]);if(!(w=n!=null&&u(n,M)))break;n=n[M]}return w||++h!=v?w:(v=n==null?0:n.length,!!v&&vu(v)&&ti(M,v)&&(Ee(n)||na(n)))}function Av(n){var i=n.length,u=new n.constructor(i);return i&&typeof n[0]=="string"&&Ce.call(n,"index")&&(u.index=n.index,u.input=n.input),u}function Wh(n){return typeof n.constructor=="function"&&!Ns(n)?Ea(qo(n)):{}}function Rv(n,i,u){var h=n.constructor;switch(i){case vr:return Ac(n);case Wr:case Nt:return new h(+n);case br:return pv(n,u);case ke:case Ur:case vi:case Yn:case fn:case sr:case _r:case ns:case bi:return Sh(n,u);case Vt:return new h;case Hr:case Lt:return new h(n);case ar:return gv(n);case Wt:return new h;case $n:return mv(n)}}function Ov(n,i){var u=i.length;if(!u)return n;var h=u-1;return i[h]=(u>1?"& ":"")+i[h],i=i.join(u>2?", ":" "),n.replace(Hl,`{
|
|
112
|
+
/* [wrapped with `+i+`] */
|
|
113
|
+
`)}function Iv(n){return Ee(n)||na(n)||!!(zd&&n&&n[zd])}function ti(n,i){var u=typeof n;return i=i??Fe,!!i&&(u=="number"||u!="symbol"&&ya.test(n))&&n>-1&&n%1==0&&n<i}function sn(n,i,u){if(!gt(u))return!1;var h=typeof i;return(h=="number"?yn(u)&&ti(i,u.length):h=="string"&&i in u)?dr(u[i],n):!1}function Fc(n,i){if(Ee(n))return!1;var u=typeof n;return u=="number"||u=="symbol"||u=="boolean"||n==null||En(n)?!0:go.test(n)||!Bl.test(n)||i!=null&&n in se(i)}function Pv(n){var i=typeof n;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?n!=="__proto__":n===null}function Yc(n){var i=cu(n),u=_[i];if(typeof u!="function"||!(i in je.prototype))return!1;if(n===u)return!0;var h=Nc(u);return!!h&&n===h[0]}function Nv(n){return!!Bd&&Bd in n}var Lv=rn?ni:nf;function Ns(n){var i=n&&n.constructor,u=typeof i=="function"&&i.prototype||Rt;return n===u}function Bh(n){return n===n&&!gt(n)}function Hh(n,i){return function(u){return u==null?!1:u[n]===i&&(i!==r||n in se(u))}}function $v(n){var i=mu(n,function(h){return u.size===E&&u.clear(),h}),u=i.cache;return i}function Fv(n,i){var u=n[1],h=i[1],v=u|h,w=v<(ee|H|d),M=h==d&&u==ge||h==d&&u==Ne&&n[7].length<=i[8]||h==(d|Ne)&&i[7].length<=i[8]&&u==ge;if(!(w||M))return n;h&ee&&(n[2]=i[2],v|=u&ee?0:pe);var I=i[3];if(I){var $=n[3];n[3]=$?Ch($,I,i[4]):I,n[4]=$?Dn(n[3],P):i[4]}return I=i[5],I&&($=n[5],n[5]=$?Dh($,I,i[6]):I,n[6]=$?Dn(n[5],P):i[6]),I=i[7],I&&(n[7]=I),h&d&&(n[8]=n[8]==null?i[8]:Zt(n[8],i[8])),n[9]==null&&(n[9]=i[9]),n[0]=i[0],n[1]=v,n}function Yv(n){var i=[];if(n!=null)for(var u in se(n))i.push(u);return i}function jv(n){return Bo.call(n)}function Uh(n,i,u){return i=Ot(i===r?n.length-1:i,0),function(){for(var h=arguments,v=-1,w=Ot(h.length-i,0),M=R(w);++v<w;)M[v]=h[i+v];v=-1;for(var I=R(i+1);++v<i;)I[v]=h[v];return I[i]=u(M),b(n,this,I)}}function qh(n,i){return i.length<2?n:Qi(n,qn(i,0,-1))}function Wv(n,i){for(var u=n.length,h=Zt(i.length,u),v=mn(n);h--;){var w=i[h];n[h]=ti(w,u)?v[w]:r}return n}function jc(n,i){if(!(i==="constructor"&&typeof n[i]=="function")&&i!="__proto__")return n[i]}var zh=Gh(gh),Ls=ny||function(n,i){return ht.setTimeout(n,i)},Wc=Gh(cv);function Vh(n,i,u){var h=i+"";return Wc(n,Ov(h,Bv(Mv(h),u)))}function Gh(n){var i=0,u=0;return function(){var h=sy(),v=xe-(h-u);if(u=h,v>0){if(++i>=Ze)return arguments[0]}else i=0;return n.apply(r,arguments)}}function du(n,i){var u=-1,h=n.length,v=h-1;for(i=i===r?h:i;++u<i;){var w=Sc(u,v),M=n[w];n[w]=n[u],n[u]=M}return n.length=i,n}var Kh=$v(function(n){var i=[];return n.charCodeAt(0)===46&&i.push(""),n.replace(mo,function(u,h,v,w){i.push(v?w.replace(Vl,"$1"):h||u)}),i});function Ar(n){if(typeof n=="string"||En(n))return n;var i=n+"";return i=="0"&&1/n==-qe?"-0":i}function ta(n){if(n!=null){try{return cr.call(n)}catch{}try{return n+""}catch{}}return""}function Bv(n,i){return T(qt,function(u){var h="_."+u[0];i&u[1]&&!W(n,h)&&n.push(h)}),n.sort()}function Xh(n){if(n instanceof je)return n.clone();var i=new Hn(n.__wrapped__,n.__chain__);return i.__actions__=mn(n.__actions__),i.__index__=n.__index__,i.__values__=n.__values__,i}function Hv(n,i,u){(u?sn(n,i,u):i===r)?i=1:i=Ot(Ae(i),0);var h=n==null?0:n.length;if(!h||i<1)return[];for(var v=0,w=0,M=R(Go(h/i));v<h;)M[w++]=qn(n,v,v+=i);return M}function Uv(n){for(var i=-1,u=n==null?0:n.length,h=0,v=[];++i<u;){var w=n[i];w&&(v[h++]=w)}return v}function qv(){var n=arguments.length;if(!n)return[];for(var i=R(n-1),u=arguments[0],h=n;h--;)i[h-1]=arguments[h];return Te(Ee(u)?mn(u):[u],Ht(i,1))}var zv=Pe(function(n,i){return xt(n)?As(n,Ht(i,1,xt,!0)):[]}),Vv=Pe(function(n,i){var u=zn(i);return xt(u)&&(u=r),xt(n)?As(n,Ht(i,1,xt,!0),_e(u,2)):[]}),Gv=Pe(function(n,i){var u=zn(i);return xt(u)&&(u=r),xt(n)?As(n,Ht(i,1,xt,!0),r,u):[]});function Kv(n,i,u){var h=n==null?0:n.length;return h?(i=u||i===r?1:Ae(i),qn(n,i<0?0:i,h)):[]}function Xv(n,i,u){var h=n==null?0:n.length;return h?(i=u||i===r?1:Ae(i),i=h-i,qn(n,0,i<0?0:i)):[]}function Zv(n,i){return n&&n.length?iu(n,_e(i,3),!0,!0):[]}function Jv(n,i){return n&&n.length?iu(n,_e(i,3),!0):[]}function Qv(n,i,u,h){var v=n==null?0:n.length;return v?(u&&typeof u!="number"&&sn(n,i,u)&&(u=0,h=v),qy(n,i,u,h)):[]}function Zh(n,i,u){var h=n==null?0:n.length;if(!h)return-1;var v=u==null?0:Ae(u);return v<0&&(v=Ot(h+v,0)),$e(n,_e(i,3),v)}function Jh(n,i,u){var h=n==null?0:n.length;if(!h)return-1;var v=h-1;return u!==r&&(v=Ae(u),v=u<0?Ot(h+v,0):Zt(v,h-1)),$e(n,_e(i,3),v,!0)}function Qh(n){var i=n==null?0:n.length;return i?Ht(n,1):[]}function e1(n){var i=n==null?0:n.length;return i?Ht(n,qe):[]}function t1(n,i){var u=n==null?0:n.length;return u?(i=i===r?1:Ae(i),Ht(n,i)):[]}function n1(n){for(var i=-1,u=n==null?0:n.length,h={};++i<u;){var v=n[i];h[v[0]]=v[1]}return h}function ep(n){return n&&n.length?n[0]:r}function r1(n,i,u){var h=n==null?0:n.length;if(!h)return-1;var v=u==null?0:Ae(u);return v<0&&(v=Ot(h+v,0)),et(n,i,v)}function i1(n){var i=n==null?0:n.length;return i?qn(n,0,-1):[]}var a1=Pe(function(n){var i=ue(n,Ec);return i.length&&i[0]===n[0]?vc(i):[]}),s1=Pe(function(n){var i=zn(n),u=ue(n,Ec);return i===zn(u)?i=r:u.pop(),u.length&&u[0]===n[0]?vc(u,_e(i,2)):[]}),o1=Pe(function(n){var i=zn(n),u=ue(n,Ec);return i=typeof i=="function"?i:r,i&&u.pop(),u.length&&u[0]===n[0]?vc(u,r,i):[]});function u1(n,i){return n==null?"":iy.call(n,i)}function zn(n){var i=n==null?0:n.length;return i?n[i-1]:r}function l1(n,i,u){var h=n==null?0:n.length;if(!h)return-1;var v=h;return u!==r&&(v=Ae(u),v=v<0?Ot(h+v,0):Zt(v,h-1)),i===i?Ca(n,i,v):$e(n,Sa,v,!0)}function c1(n,i){return n&&n.length?fh(n,Ae(i)):r}var f1=Pe(tp);function tp(n,i){return n&&n.length&&i&&i.length?wc(n,i):n}function d1(n,i,u){return n&&n.length&&i&&i.length?wc(n,i,_e(u,2)):n}function h1(n,i,u){return n&&n.length&&i&&i.length?wc(n,i,r,u):n}var p1=ei(function(n,i){var u=n==null?0:n.length,h=pc(n,i);return ph(n,ue(i,function(v){return ti(v,u)?+v:v}).sort(kh)),h});function g1(n,i){var u=[];if(!(n&&n.length))return u;var h=-1,v=[],w=n.length;for(i=_e(i,3);++h<w;){var M=n[h];i(M,h,n)&&(u.push(M),v.push(h))}return ph(n,v),u}function Bc(n){return n==null?n:uy.call(n)}function m1(n,i,u){var h=n==null?0:n.length;return h?(u&&typeof u!="number"&&sn(n,i,u)?(i=0,u=h):(i=i==null?0:Ae(i),u=u===r?h:Ae(u)),qn(n,i,u)):[]}function y1(n,i){return ru(n,i)}function v1(n,i,u){return Cc(n,i,_e(u,2))}function b1(n,i){var u=n==null?0:n.length;if(u){var h=ru(n,i);if(h<u&&dr(n[h],i))return h}return-1}function _1(n,i){return ru(n,i,!0)}function x1(n,i,u){return Cc(n,i,_e(u,2),!0)}function w1(n,i){var u=n==null?0:n.length;if(u){var h=ru(n,i,!0)-1;if(dr(n[h],i))return h}return-1}function S1(n){return n&&n.length?mh(n):[]}function k1(n,i){return n&&n.length?mh(n,_e(i,2)):[]}function C1(n){var i=n==null?0:n.length;return i?qn(n,1,i):[]}function D1(n,i,u){return n&&n.length?(i=u||i===r?1:Ae(i),qn(n,0,i<0?0:i)):[]}function T1(n,i,u){var h=n==null?0:n.length;return h?(i=u||i===r?1:Ae(i),i=h-i,qn(n,i<0?0:i,h)):[]}function E1(n,i){return n&&n.length?iu(n,_e(i,3),!1,!0):[]}function M1(n,i){return n&&n.length?iu(n,_e(i,3)):[]}var A1=Pe(function(n){return Ri(Ht(n,1,xt,!0))}),R1=Pe(function(n){var i=zn(n);return xt(i)&&(i=r),Ri(Ht(n,1,xt,!0),_e(i,2))}),O1=Pe(function(n){var i=zn(n);return i=typeof i=="function"?i:r,Ri(Ht(n,1,xt,!0),r,i)});function I1(n){return n&&n.length?Ri(n):[]}function P1(n,i){return n&&n.length?Ri(n,_e(i,2)):[]}function N1(n,i){return i=typeof i=="function"?i:r,n&&n.length?Ri(n,r,i):[]}function Hc(n){if(!(n&&n.length))return[];var i=0;return n=G(n,function(u){if(xt(u))return i=Ot(u.length,i),!0}),zi(i,function(u){return ue(n,Gr(u))})}function np(n,i){if(!(n&&n.length))return[];var u=Hc(n);return i==null?u:ue(u,function(h){return b(i,r,h)})}var L1=Pe(function(n,i){return xt(n)?As(n,i):[]}),$1=Pe(function(n){return Tc(G(n,xt))}),F1=Pe(function(n){var i=zn(n);return xt(i)&&(i=r),Tc(G(n,xt),_e(i,2))}),Y1=Pe(function(n){var i=zn(n);return i=typeof i=="function"?i:r,Tc(G(n,xt),r,i)}),j1=Pe(Hc);function W1(n,i){return _h(n||[],i||[],Ms)}function B1(n,i){return _h(n||[],i||[],Is)}var H1=Pe(function(n){var i=n.length,u=i>1?n[i-1]:r;return u=typeof u=="function"?(n.pop(),u):r,np(n,u)});function rp(n){var i=_(n);return i.__chain__=!0,i}function U1(n,i){return i(n),n}function hu(n,i){return i(n)}var q1=ei(function(n){var i=n.length,u=i?n[0]:0,h=this.__wrapped__,v=function(w){return pc(w,n)};return i>1||this.__actions__.length||!(h instanceof je)||!ti(u)?this.thru(v):(h=h.slice(u,+u+(i?1:0)),h.__actions__.push({func:hu,args:[v],thisArg:r}),new Hn(h,this.__chain__).thru(function(w){return i&&!w.length&&w.push(r),w}))});function z1(){return rp(this)}function V1(){return new Hn(this.value(),this.__chain__)}function G1(){this.__values__===r&&(this.__values__=yp(this.value()));var n=this.__index__>=this.__values__.length,i=n?r:this.__values__[this.__index__++];return{done:n,value:i}}function K1(){return this}function X1(n){for(var i,u=this;u instanceof Jo;){var h=Xh(u);h.__index__=0,h.__values__=r,i?v.__wrapped__=h:i=h;var v=h;u=u.__wrapped__}return v.__wrapped__=n,i}function Z1(){var n=this.__wrapped__;if(n instanceof je){var i=n;return this.__actions__.length&&(i=new je(this)),i=i.reverse(),i.__actions__.push({func:hu,args:[Bc],thisArg:r}),new Hn(i,this.__chain__)}return this.thru(Bc)}function J1(){return bh(this.__wrapped__,this.__actions__)}var Q1=au(function(n,i,u){Ce.call(n,u)?++n[u]:Jr(n,u,1)});function eb(n,i,u){var h=Ee(n)?z:Uy;return u&&sn(n,i,u)&&(i=r),h(n,_e(i,3))}function tb(n,i){var u=Ee(n)?G:nh;return u(n,_e(i,3))}var nb=Ah(Zh),rb=Ah(Jh);function ib(n,i){return Ht(pu(n,i),1)}function ab(n,i){return Ht(pu(n,i),qe)}function sb(n,i,u){return u=u===r?1:Ae(u),Ht(pu(n,i),u)}function ip(n,i){var u=Ee(n)?T:Ai;return u(n,_e(i,3))}function ap(n,i){var u=Ee(n)?L:th;return u(n,_e(i,3))}var ob=au(function(n,i,u){Ce.call(n,u)?n[u].push(i):Jr(n,u,[i])});function ub(n,i,u,h){n=yn(n)?n:Ia(n),u=u&&!h?Ae(u):0;var v=n.length;return u<0&&(u=Ot(v+u,0)),bu(n)?u<=v&&n.indexOf(i,u)>-1:!!v&&et(n,i,u)>-1}var lb=Pe(function(n,i,u){var h=-1,v=typeof i=="function",w=yn(n)?R(n.length):[];return Ai(n,function(M){w[++h]=v?b(i,M,u):Rs(M,i,u)}),w}),cb=au(function(n,i,u){Jr(n,u,i)});function pu(n,i){var u=Ee(n)?ue:uh;return u(n,_e(i,3))}function fb(n,i,u,h){return n==null?[]:(Ee(i)||(i=i==null?[]:[i]),u=h?r:u,Ee(u)||(u=u==null?[]:[u]),dh(n,i,u))}var db=au(function(n,i,u){n[u?0:1].push(i)},function(){return[[],[]]});function hb(n,i,u){var h=Ee(n)?De:ur,v=arguments.length<3;return h(n,_e(i,4),u,v,Ai)}function pb(n,i,u){var h=Ee(n)?Mt:ur,v=arguments.length<3;return h(n,_e(i,4),u,v,th)}function gb(n,i){var u=Ee(n)?G:nh;return u(n,yu(_e(i,3)))}function mb(n){var i=Ee(n)?Zd:uv;return i(n)}function yb(n,i,u){(u?sn(n,i,u):i===r)?i=1:i=Ae(i);var h=Ee(n)?Yy:lv;return h(n,i)}function vb(n){var i=Ee(n)?jy:fv;return i(n)}function bb(n){if(n==null)return 0;if(yn(n))return bu(n)?Tr(n):n.length;var i=Jt(n);return i==Vt||i==Wt?n.size:_c(n).length}function _b(n,i,u){var h=Ee(n)?pt:dv;return u&&sn(n,i,u)&&(i=r),h(n,_e(i,3))}var xb=Pe(function(n,i){if(n==null)return[];var u=i.length;return u>1&&sn(n,i[0],i[1])?i=[]:u>2&&sn(i[0],i[1],i[2])&&(i=[i[0]]),dh(n,Ht(i,1),[])}),gu=ty||function(){return ht.Date.now()};function wb(n,i){if(typeof i!="function")throw new Ie(g);return n=Ae(n),function(){if(--n<1)return i.apply(this,arguments)}}function sp(n,i,u){return i=u?r:i,i=n&&i==null?n.length:i,Qr(n,d,r,r,r,r,i)}function op(n,i){var u;if(typeof i!="function")throw new Ie(g);return n=Ae(n),function(){return--n>0&&(u=i.apply(this,arguments)),n<=1&&(i=r),u}}var Uc=Pe(function(n,i,u){var h=ee;if(u.length){var v=Dn(u,Ra(Uc));h|=re}return Qr(n,h,i,u,v)}),up=Pe(function(n,i,u){var h=ee|H;if(u.length){var v=Dn(u,Ra(up));h|=re}return Qr(i,h,n,u,v)});function lp(n,i,u){i=u?r:i;var h=Qr(n,ge,r,r,r,r,r,i);return h.placeholder=lp.placeholder,h}function cp(n,i,u){i=u?r:i;var h=Qr(n,me,r,r,r,r,r,i);return h.placeholder=cp.placeholder,h}function fp(n,i,u){var h,v,w,M,I,$,Z=0,J=!1,Q=!1,ae=!0;if(typeof n!="function")throw new Ie(g);i=Vn(i)||0,gt(u)&&(J=!!u.leading,Q="maxWait"in u,w=Q?Ot(Vn(u.maxWait)||0,i):w,ae="trailing"in u?!!u.trailing:ae);function ye(wt){var hr=h,ii=v;return h=v=r,Z=wt,M=n.apply(ii,hr),M}function we(wt){return Z=wt,I=Ls(Ye,i),J?ye(wt):M}function Oe(wt){var hr=wt-$,ii=wt-Z,Ap=i-hr;return Q?Zt(Ap,w-ii):Ap}function Se(wt){var hr=wt-$,ii=wt-Z;return $===r||hr>=i||hr<0||Q&&ii>=w}function Ye(){var wt=gu();if(Se(wt))return Be(wt);I=Ls(Ye,Oe(wt))}function Be(wt){return I=r,ae&&h?ye(wt):(h=v=r,M)}function Mn(){I!==r&&xh(I),Z=0,h=$=v=I=r}function on(){return I===r?M:Be(gu())}function An(){var wt=gu(),hr=Se(wt);if(h=arguments,v=this,$=wt,hr){if(I===r)return we($);if(Q)return xh(I),I=Ls(Ye,i),ye($)}return I===r&&(I=Ls(Ye,i)),M}return An.cancel=Mn,An.flush=on,An}var Sb=Pe(function(n,i){return eh(n,1,i)}),kb=Pe(function(n,i,u){return eh(n,Vn(i)||0,u)});function Cb(n){return Qr(n,le)}function mu(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new Ie(g);var u=function(){var h=arguments,v=i?i.apply(this,h):h[0],w=u.cache;if(w.has(v))return w.get(v);var M=n.apply(this,h);return u.cache=w.set(v,M)||w,M};return u.cache=new(mu.Cache||Zr),u}mu.Cache=Zr;function yu(n){if(typeof n!="function")throw new Ie(g);return function(){var i=arguments;switch(i.length){case 0:return!n.call(this);case 1:return!n.call(this,i[0]);case 2:return!n.call(this,i[0],i[1]);case 3:return!n.call(this,i[0],i[1],i[2])}return!n.apply(this,i)}}function Db(n){return op(2,n)}var Tb=hv(function(n,i){i=i.length==1&&Ee(i[0])?ue(i[0],tn(_e())):ue(Ht(i,1),tn(_e()));var u=i.length;return Pe(function(h){for(var v=-1,w=Zt(h.length,u);++v<w;)h[v]=i[v].call(this,h[v]);return b(n,this,h)})}),qc=Pe(function(n,i){var u=Dn(i,Ra(qc));return Qr(n,re,r,i,u)}),dp=Pe(function(n,i){var u=Dn(i,Ra(dp));return Qr(n,ie,r,i,u)}),Eb=ei(function(n,i){return Qr(n,Ne,r,r,r,i)});function Mb(n,i){if(typeof n!="function")throw new Ie(g);return i=i===r?i:Ae(i),Pe(n,i)}function Ab(n,i){if(typeof n!="function")throw new Ie(g);return i=i==null?0:Ot(Ae(i),0),Pe(function(u){var h=u[i],v=Ii(u,0,i);return h&&Te(v,h),b(n,this,v)})}function Rb(n,i,u){var h=!0,v=!0;if(typeof n!="function")throw new Ie(g);return gt(u)&&(h="leading"in u?!!u.leading:h,v="trailing"in u?!!u.trailing:v),fp(n,i,{leading:h,maxWait:i,trailing:v})}function Ob(n){return sp(n,1)}function Ib(n,i){return qc(Mc(i),n)}function Pb(){if(!arguments.length)return[];var n=arguments[0];return Ee(n)?n:[n]}function Nb(n){return Un(n,V)}function Lb(n,i){return i=typeof i=="function"?i:r,Un(n,V,i)}function $b(n){return Un(n,j|V)}function Fb(n,i){return i=typeof i=="function"?i:r,Un(n,j|V,i)}function Yb(n,i){return i==null||Qd(n,i,Yt(i))}function dr(n,i){return n===i||n!==n&&i!==i}var jb=lu(yc),Wb=lu(function(n,i){return n>=i}),na=ah(function(){return arguments}())?ah:function(n){return mt(n)&&Ce.call(n,"callee")&&!qd.call(n,"callee")},Ee=R.isArray,Bb=a?tn(a):Xy;function yn(n){return n!=null&&vu(n.length)&&!ni(n)}function xt(n){return mt(n)&&yn(n)}function Hb(n){return n===!0||n===!1||mt(n)&&an(n)==Wr}var Pi=ry||nf,Ub=l?tn(l):Zy;function qb(n){return mt(n)&&n.nodeType===1&&!$s(n)}function zb(n){if(n==null)return!0;if(yn(n)&&(Ee(n)||typeof n=="string"||typeof n.splice=="function"||Pi(n)||Oa(n)||na(n)))return!n.length;var i=Jt(n);if(i==Vt||i==Wt)return!n.size;if(Ns(n))return!_c(n).length;for(var u in n)if(Ce.call(n,u))return!1;return!0}function Vb(n,i){return Os(n,i)}function Gb(n,i,u){u=typeof u=="function"?u:r;var h=u?u(n,i):r;return h===r?Os(n,i,r,u):!!h}function zc(n){if(!mt(n))return!1;var i=an(n);return i==yi||i==ln||typeof n.message=="string"&&typeof n.name=="string"&&!$s(n)}function Kb(n){return typeof n=="number"&&Vd(n)}function ni(n){if(!gt(n))return!1;var i=an(n);return i==wn||i==Br||i==ji||i==ts}function hp(n){return typeof n=="number"&&n==Ae(n)}function vu(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=Fe}function gt(n){var i=typeof n;return n!=null&&(i=="object"||i=="function")}function mt(n){return n!=null&&typeof n=="object"}var pp=f?tn(f):Qy;function Xb(n,i){return n===i||bc(n,i,Lc(i))}function Zb(n,i,u){return u=typeof u=="function"?u:r,bc(n,i,Lc(i),u)}function Jb(n){return gp(n)&&n!=+n}function Qb(n){if(Lv(n))throw new X(c);return sh(n)}function e_(n){return n===null}function t_(n){return n==null}function gp(n){return typeof n=="number"||mt(n)&&an(n)==Hr}function $s(n){if(!mt(n)||an(n)!=Gt)return!1;var i=qo(n);if(i===null)return!0;var u=Ce.call(i,"constructor")&&i.constructor;return typeof u=="function"&&u instanceof u&&cr.call(u)==Z0}var Vc=p?tn(p):ev;function n_(n){return hp(n)&&n>=-Fe&&n<=Fe}var mp=m?tn(m):tv;function bu(n){return typeof n=="string"||!Ee(n)&&mt(n)&&an(n)==Lt}function En(n){return typeof n=="symbol"||mt(n)&&an(n)==$n}var Oa=y?tn(y):nv;function r_(n){return n===r}function i_(n){return mt(n)&&Jt(n)==ce}function a_(n){return mt(n)&&an(n)==$t}var s_=lu(xc),o_=lu(function(n,i){return n<=i});function yp(n){if(!n)return[];if(yn(n))return bu(n)?nn(n):mn(n);if(ks&&n[ks])return Dr(n[ks]());var i=Jt(n),u=i==Vt?ka:i==Wt?Kr:Ia;return u(n)}function ri(n){if(!n)return n===0?n:0;if(n=Vn(n),n===qe||n===-qe){var i=n<0?-1:1;return i*ct}return n===n?n:0}function Ae(n){var i=ri(n),u=i%1;return i===i?u?i-u:i:0}function vp(n){return n?Ji(Ae(n),0,Pt):0}function Vn(n){if(typeof n=="number")return n;if(En(n))return Et;if(gt(n)){var i=typeof n.valueOf=="function"?n.valueOf():n;n=gt(i)?i+"":i}if(typeof n!="string")return n===0?n:+n;n=Bn(n);var u=_o.test(n);return u||is.test(n)?ac(n.slice(2),u?2:8):wi.test(n)?Et:+n}function bp(n){return Mr(n,vn(n))}function u_(n){return n?Ji(Ae(n),-Fe,Fe):n===0?n:0}function Qe(n){return n==null?"":Tn(n)}var l_=Ma(function(n,i){if(Ns(i)||yn(i)){Mr(i,Yt(i),n);return}for(var u in i)Ce.call(i,u)&&Ms(n,u,i[u])}),_p=Ma(function(n,i){Mr(i,vn(i),n)}),_u=Ma(function(n,i,u,h){Mr(i,vn(i),n,h)}),c_=Ma(function(n,i,u,h){Mr(i,Yt(i),n,h)}),f_=ei(pc);function d_(n,i){var u=Ea(n);return i==null?u:Jd(u,i)}var h_=Pe(function(n,i){n=se(n);var u=-1,h=i.length,v=h>2?i[2]:r;for(v&&sn(i[0],i[1],v)&&(h=1);++u<h;)for(var w=i[u],M=vn(w),I=-1,$=M.length;++I<$;){var Z=M[I],J=n[Z];(J===r||dr(J,Rt[Z])&&!Ce.call(n,Z))&&(n[Z]=w[Z])}return n}),p_=Pe(function(n){return n.push(r,$h),b(xp,r,n)});function g_(n,i){return kr(n,_e(i,3),Er)}function m_(n,i){return kr(n,_e(i,3),mc)}function y_(n,i){return n==null?n:gc(n,_e(i,3),vn)}function v_(n,i){return n==null?n:rh(n,_e(i,3),vn)}function b_(n,i){return n&&Er(n,_e(i,3))}function __(n,i){return n&&mc(n,_e(i,3))}function x_(n){return n==null?[]:tu(n,Yt(n))}function w_(n){return n==null?[]:tu(n,vn(n))}function Gc(n,i,u){var h=n==null?r:Qi(n,i);return h===r?u:h}function S_(n,i){return n!=null&&jh(n,i,zy)}function Kc(n,i){return n!=null&&jh(n,i,Vy)}var k_=Oh(function(n,i,u){i!=null&&typeof i.toString!="function"&&(i=Bo.call(i)),n[i]=u},Zc(bn)),C_=Oh(function(n,i,u){i!=null&&typeof i.toString!="function"&&(i=Bo.call(i)),Ce.call(n,i)?n[i].push(u):n[i]=[u]},_e),D_=Pe(Rs);function Yt(n){return yn(n)?Xd(n):_c(n)}function vn(n){return yn(n)?Xd(n,!0):rv(n)}function T_(n,i){var u={};return i=_e(i,3),Er(n,function(h,v,w){Jr(u,i(h,v,w),h)}),u}function E_(n,i){var u={};return i=_e(i,3),Er(n,function(h,v,w){Jr(u,v,i(h,v,w))}),u}var M_=Ma(function(n,i,u){nu(n,i,u)}),xp=Ma(function(n,i,u,h){nu(n,i,u,h)}),A_=ei(function(n,i){var u={};if(n==null)return u;var h=!1;i=ue(i,function(w){return w=Oi(w,n),h||(h=w.length>1),w}),Mr(n,Pc(n),u),h&&(u=Un(u,j|B|V,kv));for(var v=i.length;v--;)Dc(u,i[v]);return u});function R_(n,i){return wp(n,yu(_e(i)))}var O_=ei(function(n,i){return n==null?{}:av(n,i)});function wp(n,i){if(n==null)return{};var u=ue(Pc(n),function(h){return[h]});return i=_e(i),hh(n,u,function(h,v){return i(h,v[0])})}function I_(n,i,u){i=Oi(i,n);var h=-1,v=i.length;for(v||(v=1,n=r);++h<v;){var w=n==null?r:n[Ar(i[h])];w===r&&(h=v,w=u),n=ni(w)?w.call(n):w}return n}function P_(n,i,u){return n==null?n:Is(n,i,u)}function N_(n,i,u,h){return h=typeof h=="function"?h:r,n==null?n:Is(n,i,u,h)}var Sp=Nh(Yt),kp=Nh(vn);function L_(n,i,u){var h=Ee(n),v=h||Pi(n)||Oa(n);if(i=_e(i,4),u==null){var w=n&&n.constructor;v?u=h?new w:[]:gt(n)?u=ni(w)?Ea(qo(n)):{}:u={}}return(v?T:Er)(n,function(M,I,$){return i(u,M,I,$)}),u}function $_(n,i){return n==null?!0:Dc(n,i)}function F_(n,i,u){return n==null?n:vh(n,i,Mc(u))}function Y_(n,i,u,h){return h=typeof h=="function"?h:r,n==null?n:vh(n,i,Mc(u),h)}function Ia(n){return n==null?[]:_s(n,Yt(n))}function j_(n){return n==null?[]:_s(n,vn(n))}function W_(n,i,u){return u===r&&(u=i,i=r),u!==r&&(u=Vn(u),u=u===u?u:0),i!==r&&(i=Vn(i),i=i===i?i:0),Ji(Vn(n),i,u)}function B_(n,i,u){return i=ri(i),u===r?(u=i,i=0):u=ri(u),n=Vn(n),Gy(n,i,u)}function H_(n,i,u){if(u&&typeof u!="boolean"&&sn(n,i,u)&&(i=u=r),u===r&&(typeof i=="boolean"?(u=i,i=r):typeof n=="boolean"&&(u=n,n=r)),n===r&&i===r?(n=0,i=1):(n=ri(n),i===r?(i=n,n=0):i=ri(i)),n>i){var h=n;n=i,i=h}if(u||n%1||i%1){var v=Gd();return Zt(n+v*(i-n+vs("1e-"+((v+"").length-1))),i)}return Sc(n,i)}var U_=Aa(function(n,i,u){return i=i.toLowerCase(),n+(u?Cp(i):i)});function Cp(n){return Xc(Qe(n).toLowerCase())}function Dp(n){return n=Qe(n),n&&n.replace(xo,Ti).replace(Ql,"")}function q_(n,i,u){n=Qe(n),i=Tn(i);var h=n.length;u=u===r?h:Ji(Ae(u),0,h);var v=u;return u-=i.length,u>=0&&n.slice(u,v)==i}function z_(n){return n=Qe(n),n&&po.test(n)?n.replace(_i,oc):n}function V_(n){return n=Qe(n),n&&xi.test(n)?n.replace(xr,"\\$&"):n}var G_=Aa(function(n,i,u){return n+(u?"-":"")+i.toLowerCase()}),K_=Aa(function(n,i,u){return n+(u?" ":"")+i.toLowerCase()}),X_=Mh("toLowerCase");function Z_(n,i,u){n=Qe(n),i=Ae(i);var h=i?Tr(n):0;if(!i||h>=i)return n;var v=(i-h)/2;return uu(Ko(v),u)+n+uu(Go(v),u)}function J_(n,i,u){n=Qe(n),i=Ae(i);var h=i?Tr(n):0;return i&&h<i?n+uu(i-h,u):n}function Q_(n,i,u){n=Qe(n),i=Ae(i);var h=i?Tr(n):0;return i&&h<i?uu(i-h,u)+n:n}function ex(n,i,u){return u||i==null?i=0:i&&(i=+i),oy(Qe(n).replace(Bi,""),i||0)}function tx(n,i,u){return(u?sn(n,i,u):i===r)?i=1:i=Ae(i),kc(Qe(n),i)}function nx(){var n=arguments,i=Qe(n[0]);return n.length<3?i:i.replace(n[1],n[2])}var rx=Aa(function(n,i,u){return n+(u?"_":"")+i.toLowerCase()});function ix(n,i,u){return u&&typeof u!="number"&&sn(n,i,u)&&(i=u=r),u=u===r?Pt:u>>>0,u?(n=Qe(n),n&&(typeof i=="string"||i!=null&&!Vc(i))&&(i=Tn(i),!i&&gn(n))?Ii(nn(n),0,u):n.split(i,u)):[]}var ax=Aa(function(n,i,u){return n+(u?" ":"")+Xc(i)});function sx(n,i,u){return n=Qe(n),u=u==null?0:Ji(Ae(u),0,n.length),i=Tn(i),n.slice(u,u+i.length)==i}function ox(n,i,u){var h=_.templateSettings;u&&sn(n,i,u)&&(i=r),n=Qe(n),i=_u({},i,h,Lh);var v=_u({},i.imports,h.imports,Lh),w=Yt(v),M=_s(v,w),I,$,Z=0,J=i.interpolate||va,Q="__p += '",ae=Me((i.escape||va).source+"|"+J.source+"|"+(J===ga?vo:va).source+"|"+(i.evaluate||va).source+"|$","g"),ye="//# sourceURL="+(Ce.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ic+"]")+`
|
|
114
|
+
`;n.replace(ae,function(Se,Ye,Be,Mn,on,An){return Be||(Be=Mn),Q+=n.slice(Z,An).replace(Hi,uc),Ye&&(I=!0,Q+=`' +
|
|
115
|
+
__e(`+Ye+`) +
|
|
116
|
+
'`),on&&($=!0,Q+=`';
|
|
117
|
+
`+on+`;
|
|
118
|
+
__p += '`),Be&&(Q+=`' +
|
|
119
|
+
((__t = (`+Be+`)) == null ? '' : __t) +
|
|
120
|
+
'`),Z=An+Se.length,Se}),Q+=`';
|
|
121
|
+
`;var we=Ce.call(i,"variable")&&i.variable;if(!we)Q=`with (obj) {
|
|
122
|
+
`+Q+`
|
|
123
|
+
}
|
|
124
|
+
`;else if(zl.test(we))throw new X(x);Q=($?Q.replace(co,""):Q).replace(fo,"$1").replace(Wl,"$1;"),Q="function("+(we||"obj")+`) {
|
|
125
|
+
`+(we?"":`obj || (obj = {});
|
|
126
|
+
`)+"var __t, __p = ''"+(I?", __e = _.escape":"")+($?`, __j = Array.prototype.join;
|
|
127
|
+
function print() { __p += __j.call(arguments, '') }
|
|
128
|
+
`:`;
|
|
129
|
+
`)+Q+`return __p
|
|
130
|
+
}`;var Oe=Ep(function(){return fe(w,ye+"return "+Q).apply(r,M)});if(Oe.source=Q,zc(Oe))throw Oe;return Oe}function ux(n){return Qe(n).toLowerCase()}function lx(n){return Qe(n).toUpperCase()}function cx(n,i,u){if(n=Qe(n),n&&(u||i===r))return Bn(n);if(!n||!(i=Tn(i)))return n;var h=nn(n),v=nn(i),w=ze(h,v),M=Gi(h,v)+1;return Ii(h,w,M).join("")}function fx(n,i,u){if(n=Qe(n),n&&(u||i===r))return n.slice(0,jo(n)+1);if(!n||!(i=Tn(i)))return n;var h=nn(n),v=Gi(h,nn(i))+1;return Ii(h,0,v).join("")}function dx(n,i,u){if(n=Qe(n),n&&(u||i===r))return n.replace(Bi,"");if(!n||!(i=Tn(i)))return n;var h=nn(n),v=ze(h,nn(i));return Ii(h,v).join("")}function hx(n,i){var u=at,h=He;if(gt(i)){var v="separator"in i?i.separator:v;u="length"in i?Ae(i.length):u,h="omission"in i?Tn(i.omission):h}n=Qe(n);var w=n.length;if(gn(n)){var M=nn(n);w=M.length}if(u>=w)return n;var I=u-Tr(h);if(I<1)return h;var $=M?Ii(M,0,I).join(""):n.slice(0,I);if(v===r)return $+h;if(M&&(I+=$.length-I),Vc(v)){if(n.slice(I).search(v)){var Z,J=$;for(v.global||(v=Me(v.source,Qe(bo.exec(v))+"g")),v.lastIndex=0;Z=v.exec(J);)var Q=Z.index;$=$.slice(0,Q===r?I:Q)}}else if(n.indexOf(Tn(v),I)!=I){var ae=$.lastIndexOf(v);ae>-1&&($=$.slice(0,ae))}return $+h}function px(n){return n=Qe(n),n&&ho.test(n)?n.replace(qr,Ss):n}var gx=Aa(function(n,i,u){return n+(u?" ":"")+i.toUpperCase()}),Xc=Mh("toUpperCase");function Tp(n,i,u){return n=Qe(n),i=u?r:i,i===r?xs(n)?N(n):Le(n):n.match(i)||[]}var Ep=Pe(function(n,i){try{return b(n,r,i)}catch(u){return zc(u)?u:new X(u)}}),mx=ei(function(n,i){return T(i,function(u){u=Ar(u),Jr(n,u,Uc(n[u],n))}),n});function yx(n){var i=n==null?0:n.length,u=_e();return n=i?ue(n,function(h){if(typeof h[1]!="function")throw new Ie(g);return[u(h[0]),h[1]]}):[],Pe(function(h){for(var v=-1;++v<i;){var w=n[v];if(b(w[0],this,h))return b(w[1],this,h)}})}function vx(n){return Hy(Un(n,j))}function Zc(n){return function(){return n}}function bx(n,i){return n==null||n!==n?i:n}var _x=Rh(),xx=Rh(!0);function bn(n){return n}function Jc(n){return oh(typeof n=="function"?n:Un(n,j))}function wx(n){return lh(Un(n,j))}function Sx(n,i){return ch(n,Un(i,j))}var kx=Pe(function(n,i){return function(u){return Rs(u,n,i)}}),Cx=Pe(function(n,i){return function(u){return Rs(n,u,i)}});function Qc(n,i,u){var h=Yt(i),v=tu(i,h);u==null&&!(gt(i)&&(v.length||!h.length))&&(u=i,i=n,n=this,v=tu(i,Yt(i)));var w=!(gt(u)&&"chain"in u)||!!u.chain,M=ni(n);return T(v,function(I){var $=i[I];n[I]=$,M&&(n.prototype[I]=function(){var Z=this.__chain__;if(w||Z){var J=n(this.__wrapped__),Q=J.__actions__=mn(this.__actions__);return Q.push({func:$,args:arguments,thisArg:n}),J.__chain__=Z,J}return $.apply(n,Te([this.value()],arguments))})}),n}function Dx(){return ht._===this&&(ht._=J0),this}function ef(){}function Tx(n){return n=Ae(n),Pe(function(i){return fh(i,n)})}var Ex=Rc(ue),Mx=Rc(z),Ax=Rc(pt);function Mp(n){return Fc(n)?Gr(Ar(n)):sv(n)}function Rx(n){return function(i){return n==null?r:Qi(n,i)}}var Ox=Ih(),Ix=Ih(!0);function tf(){return[]}function nf(){return!1}function Px(){return{}}function Nx(){return""}function Lx(){return!0}function $x(n,i){if(n=Ae(n),n<1||n>Fe)return[];var u=Pt,h=Zt(n,Pt);i=_e(i),n-=Pt;for(var v=zi(h,i);++u<n;)i(u);return v}function Fx(n){return Ee(n)?ue(n,Ar):En(n)?[n]:mn(Kh(Qe(n)))}function Yx(n){var i=++X0;return Qe(n)+i}var jx=ou(function(n,i){return n+i},0),Wx=Oc("ceil"),Bx=ou(function(n,i){return n/i},1),Hx=Oc("floor");function Ux(n){return n&&n.length?eu(n,bn,yc):r}function qx(n,i){return n&&n.length?eu(n,_e(i,2),yc):r}function zx(n){return kn(n,bn)}function Vx(n,i){return kn(n,_e(i,2))}function Gx(n){return n&&n.length?eu(n,bn,xc):r}function Kx(n,i){return n&&n.length?eu(n,_e(i,2),xc):r}var Xx=ou(function(n,i){return n*i},1),Zx=Oc("round"),Jx=ou(function(n,i){return n-i},0);function Qx(n){return n&&n.length?Xt(n,bn):0}function ew(n,i){return n&&n.length?Xt(n,_e(i,2)):0}return _.after=wb,_.ary=sp,_.assign=l_,_.assignIn=_p,_.assignInWith=_u,_.assignWith=c_,_.at=f_,_.before=op,_.bind=Uc,_.bindAll=mx,_.bindKey=up,_.castArray=Pb,_.chain=rp,_.chunk=Hv,_.compact=Uv,_.concat=qv,_.cond=yx,_.conforms=vx,_.constant=Zc,_.countBy=Q1,_.create=d_,_.curry=lp,_.curryRight=cp,_.debounce=fp,_.defaults=h_,_.defaultsDeep=p_,_.defer=Sb,_.delay=kb,_.difference=zv,_.differenceBy=Vv,_.differenceWith=Gv,_.drop=Kv,_.dropRight=Xv,_.dropRightWhile=Zv,_.dropWhile=Jv,_.fill=Qv,_.filter=tb,_.flatMap=ib,_.flatMapDeep=ab,_.flatMapDepth=sb,_.flatten=Qh,_.flattenDeep=e1,_.flattenDepth=t1,_.flip=Cb,_.flow=_x,_.flowRight=xx,_.fromPairs=n1,_.functions=x_,_.functionsIn=w_,_.groupBy=ob,_.initial=i1,_.intersection=a1,_.intersectionBy=s1,_.intersectionWith=o1,_.invert=k_,_.invertBy=C_,_.invokeMap=lb,_.iteratee=Jc,_.keyBy=cb,_.keys=Yt,_.keysIn=vn,_.map=pu,_.mapKeys=T_,_.mapValues=E_,_.matches=wx,_.matchesProperty=Sx,_.memoize=mu,_.merge=M_,_.mergeWith=xp,_.method=kx,_.methodOf=Cx,_.mixin=Qc,_.negate=yu,_.nthArg=Tx,_.omit=A_,_.omitBy=R_,_.once=Db,_.orderBy=fb,_.over=Ex,_.overArgs=Tb,_.overEvery=Mx,_.overSome=Ax,_.partial=qc,_.partialRight=dp,_.partition=db,_.pick=O_,_.pickBy=wp,_.property=Mp,_.propertyOf=Rx,_.pull=f1,_.pullAll=tp,_.pullAllBy=d1,_.pullAllWith=h1,_.pullAt=p1,_.range=Ox,_.rangeRight=Ix,_.rearg=Eb,_.reject=gb,_.remove=g1,_.rest=Mb,_.reverse=Bc,_.sampleSize=yb,_.set=P_,_.setWith=N_,_.shuffle=vb,_.slice=m1,_.sortBy=xb,_.sortedUniq=S1,_.sortedUniqBy=k1,_.split=ix,_.spread=Ab,_.tail=C1,_.take=D1,_.takeRight=T1,_.takeRightWhile=E1,_.takeWhile=M1,_.tap=U1,_.throttle=Rb,_.thru=hu,_.toArray=yp,_.toPairs=Sp,_.toPairsIn=kp,_.toPath=Fx,_.toPlainObject=bp,_.transform=L_,_.unary=Ob,_.union=A1,_.unionBy=R1,_.unionWith=O1,_.uniq=I1,_.uniqBy=P1,_.uniqWith=N1,_.unset=$_,_.unzip=Hc,_.unzipWith=np,_.update=F_,_.updateWith=Y_,_.values=Ia,_.valuesIn=j_,_.without=L1,_.words=Tp,_.wrap=Ib,_.xor=$1,_.xorBy=F1,_.xorWith=Y1,_.zip=j1,_.zipObject=W1,_.zipObjectDeep=B1,_.zipWith=H1,_.entries=Sp,_.entriesIn=kp,_.extend=_p,_.extendWith=_u,Qc(_,_),_.add=jx,_.attempt=Ep,_.camelCase=U_,_.capitalize=Cp,_.ceil=Wx,_.clamp=W_,_.clone=Nb,_.cloneDeep=$b,_.cloneDeepWith=Fb,_.cloneWith=Lb,_.conformsTo=Yb,_.deburr=Dp,_.defaultTo=bx,_.divide=Bx,_.endsWith=q_,_.eq=dr,_.escape=z_,_.escapeRegExp=V_,_.every=eb,_.find=nb,_.findIndex=Zh,_.findKey=g_,_.findLast=rb,_.findLastIndex=Jh,_.findLastKey=m_,_.floor=Hx,_.forEach=ip,_.forEachRight=ap,_.forIn=y_,_.forInRight=v_,_.forOwn=b_,_.forOwnRight=__,_.get=Gc,_.gt=jb,_.gte=Wb,_.has=S_,_.hasIn=Kc,_.head=ep,_.identity=bn,_.includes=ub,_.indexOf=r1,_.inRange=B_,_.invoke=D_,_.isArguments=na,_.isArray=Ee,_.isArrayBuffer=Bb,_.isArrayLike=yn,_.isArrayLikeObject=xt,_.isBoolean=Hb,_.isBuffer=Pi,_.isDate=Ub,_.isElement=qb,_.isEmpty=zb,_.isEqual=Vb,_.isEqualWith=Gb,_.isError=zc,_.isFinite=Kb,_.isFunction=ni,_.isInteger=hp,_.isLength=vu,_.isMap=pp,_.isMatch=Xb,_.isMatchWith=Zb,_.isNaN=Jb,_.isNative=Qb,_.isNil=t_,_.isNull=e_,_.isNumber=gp,_.isObject=gt,_.isObjectLike=mt,_.isPlainObject=$s,_.isRegExp=Vc,_.isSafeInteger=n_,_.isSet=mp,_.isString=bu,_.isSymbol=En,_.isTypedArray=Oa,_.isUndefined=r_,_.isWeakMap=i_,_.isWeakSet=a_,_.join=u1,_.kebabCase=G_,_.last=zn,_.lastIndexOf=l1,_.lowerCase=K_,_.lowerFirst=X_,_.lt=s_,_.lte=o_,_.max=Ux,_.maxBy=qx,_.mean=zx,_.meanBy=Vx,_.min=Gx,_.minBy=Kx,_.stubArray=tf,_.stubFalse=nf,_.stubObject=Px,_.stubString=Nx,_.stubTrue=Lx,_.multiply=Xx,_.nth=c1,_.noConflict=Dx,_.noop=ef,_.now=gu,_.pad=Z_,_.padEnd=J_,_.padStart=Q_,_.parseInt=ex,_.random=H_,_.reduce=hb,_.reduceRight=pb,_.repeat=tx,_.replace=nx,_.result=I_,_.round=Zx,_.runInContext=S,_.sample=mb,_.size=bb,_.snakeCase=rx,_.some=_b,_.sortedIndex=y1,_.sortedIndexBy=v1,_.sortedIndexOf=b1,_.sortedLastIndex=_1,_.sortedLastIndexBy=x1,_.sortedLastIndexOf=w1,_.startCase=ax,_.startsWith=sx,_.subtract=Jx,_.sum=Qx,_.sumBy=ew,_.template=ox,_.times=$x,_.toFinite=ri,_.toInteger=Ae,_.toLength=vp,_.toLower=ux,_.toNumber=Vn,_.toSafeInteger=u_,_.toString=Qe,_.toUpper=lx,_.trim=cx,_.trimEnd=fx,_.trimStart=dx,_.truncate=hx,_.unescape=px,_.uniqueId=Yx,_.upperCase=gx,_.upperFirst=Xc,_.each=ip,_.eachRight=ap,_.first=ep,Qc(_,function(){var n={};return Er(_,function(i,u){Ce.call(_.prototype,u)||(n[u]=i)}),n}(),{chain:!1}),_.VERSION=s,T(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){_[n].placeholder=_}),T(["drop","take"],function(n,i){je.prototype[n]=function(u){u=u===r?1:Ot(Ae(u),0);var h=this.__filtered__&&!i?new je(this):this.clone();return h.__filtered__?h.__takeCount__=Zt(u,h.__takeCount__):h.__views__.push({size:Zt(u,Pt),type:n+(h.__dir__<0?"Right":"")}),h},je.prototype[n+"Right"]=function(u){return this.reverse()[n](u).reverse()}}),T(["filter","map","takeWhile"],function(n,i){var u=i+1,h=u==st||u==Tt;je.prototype[n]=function(v){var w=this.clone();return w.__iteratees__.push({iteratee:_e(v,3),type:u}),w.__filtered__=w.__filtered__||h,w}}),T(["head","last"],function(n,i){var u="take"+(i?"Right":"");je.prototype[n]=function(){return this[u](1).value()[0]}}),T(["initial","tail"],function(n,i){var u="drop"+(i?"":"Right");je.prototype[n]=function(){return this.__filtered__?new je(this):this[u](1)}}),je.prototype.compact=function(){return this.filter(bn)},je.prototype.find=function(n){return this.filter(n).head()},je.prototype.findLast=function(n){return this.reverse().find(n)},je.prototype.invokeMap=Pe(function(n,i){return typeof n=="function"?new je(this):this.map(function(u){return Rs(u,n,i)})}),je.prototype.reject=function(n){return this.filter(yu(_e(n)))},je.prototype.slice=function(n,i){n=Ae(n);var u=this;return u.__filtered__&&(n>0||i<0)?new je(u):(n<0?u=u.takeRight(-n):n&&(u=u.drop(n)),i!==r&&(i=Ae(i),u=i<0?u.dropRight(-i):u.take(i-n)),u)},je.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},je.prototype.toArray=function(){return this.take(Pt)},Er(je.prototype,function(n,i){var u=/^(?:filter|find|map|reject)|While$/.test(i),h=/^(?:head|last)$/.test(i),v=_[h?"take"+(i=="last"?"Right":""):i],w=h||/^find/.test(i);v&&(_.prototype[i]=function(){var M=this.__wrapped__,I=h?[1]:arguments,$=M instanceof je,Z=I[0],J=$||Ee(M),Q=function(Ye){var Be=v.apply(_,Te([Ye],I));return h&&ae?Be[0]:Be};J&&u&&typeof Z=="function"&&Z.length!=1&&($=J=!1);var ae=this.__chain__,ye=!!this.__actions__.length,we=w&&!ae,Oe=$&&!ye;if(!w&&J){M=Oe?M:new je(this);var Se=n.apply(M,I);return Se.__actions__.push({func:hu,args:[Q],thisArg:r}),new Hn(Se,ae)}return we&&Oe?n.apply(this,I):(Se=this.thru(Q),we?h?Se.value()[0]:Se.value():Se)})}),T(["pop","push","shift","sort","splice","unshift"],function(n){var i=At[n],u=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",h=/^(?:pop|shift)$/.test(n);_.prototype[n]=function(){var v=arguments;if(h&&!this.__chain__){var w=this.value();return i.apply(Ee(w)?w:[],v)}return this[u](function(M){return i.apply(Ee(M)?M:[],v)})}}),Er(je.prototype,function(n,i){var u=_[i];if(u){var h=u.name+"";Ce.call(Ta,h)||(Ta[h]=[]),Ta[h].push({name:i,func:u})}}),Ta[su(r,H).name]=[{name:"wrapper",func:r}],je.prototype.clone=py,je.prototype.reverse=gy,je.prototype.value=my,_.prototype.at=q1,_.prototype.chain=z1,_.prototype.commit=V1,_.prototype.next=G1,_.prototype.plant=X1,_.prototype.reverse=Z1,_.prototype.toJSON=_.prototype.valueOf=_.prototype.value=J1,_.prototype.first=_.prototype.head,ks&&(_.prototype[ks]=K1),_},q=Y();or?((or.exports=q)._=q,wa._=q):ht._=q}).call(D.commonjsGlobal)})(Bu,Bu.exports);Bu.exports;function rA(e){var t=e.lastRenderedStartIndex,r=e.lastRenderedStopIndex,s=e.startIndex,o=e.stopIndex;return!(s>r||o<t)}function iA(e){for(var t=e.isItemLoaded,r=e.itemCount,s=e.minimumBatchSize,o=e.startIndex,c=e.stopIndex,g=[],x=null,k=null,E=o;E<=c;E++){var P=t(E);P?k!==null&&(g.push(x,k),x=k=null):(k=E,x===null&&(x=E))}if(k!==null){for(var j=Math.min(Math.max(k,x+s-1),r-1),B=k+1;B<=j&&!t(B);B++)k=B;g.push(x,k)}if(g.length)for(;g[1]-g[0]+1<s&&g[0]>0;){var V=g[0]-1;if(!t(V))g[0]=V;else break}return g}var aA=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},sA=function(){function e(t,r){for(var s=0;s<r.length;s++){var o=r[s];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,r,s){return r&&e(t.prototype,r),s&&e(t,s),t}}(),oA=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)},hg=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){oA(t,e);function t(){var r,s,o,c;aA(this,t);for(var g=arguments.length,x=Array(g),k=0;k<g;k++)x[k]=arguments[k];return c=(s=(o=hg(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(x))),o),o._lastRenderedStartIndex=-1,o._lastRenderedStopIndex=-1,o._memoizedUnloadedRanges=[],o._onItemsRendered=function(E){var P=E.visibleStartIndex,j=E.visibleStopIndex;o._lastRenderedStartIndex=P,o._lastRenderedStopIndex=j,o._ensureRowsLoaded(P,j)},o._setRef=function(E){o._listRef=E},s),hg(o,c)}return sA(t,[{key:"resetloadMoreItemsCache",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this._memoizedUnloadedRanges=[],s&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var s=this.props.children;return s({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(s,o){var c=this.props,g=c.isItemLoaded,x=c.itemCount,k=c.minimumBatchSize,E=k===void 0?10:k,P=c.threshold,j=P===void 0?15:P,B=iA({isItemLoaded:g,itemCount:x,minimumBatchSize:E,startIndex:Math.max(0,s-j),stopIndex:Math.min(x-1,o+j)});(this._memoizedUnloadedRanges.length!==B.length||this._memoizedUnloadedRanges.some(function(V,U){return B[U]!==V}))&&(this._memoizedUnloadedRanges=B,this._loadUnloadedRanges(B))}},{key:"_loadUnloadedRanges",value:function(s){for(var o=this,c=this.props.loadMoreItems||this.props.loadMoreRows,g=function(E){var P=s[E],j=s[E+1],B=c(P,j);B!=null&&B.then(function(){if(rA({lastRenderedStartIndex:o._lastRenderedStartIndex,lastRenderedStopIndex:o._lastRenderedStopIndex,startIndex:P,stopIndex:j})){if(o._listRef==null)return;typeof o._listRef.resetAfterIndex=="function"?o._listRef.resetAfterIndex(P,!0):(typeof o._listRef._getItemStyleCache=="function"&&o._listRef._getItemStyleCache(-1),o._listRef.forceUpdate())}})},x=0;x<s.length;x+=2)g(x)}}]),t})(D.reactExports.PureComponent);D.reactExports.createContext({});const uA=e=>{const[t,r]=D.reactExports.useState([]);return D.reactExports.useEffect(()=>{D.axios.get(`${e}/user-management/api/v1/users/my-account/permissions`,{withCredentials:!0}).then(s=>r(s.data)).catch(s=>{console.error("Getting user permission error:",s)})},[e]),t},p0=e=>(t,r)=>{const s=uA(e);return r?t.every(o=>s==null?void 0:s.includes(o)):t.some(o=>s==null?void 0:s.includes(o))},g0=({baseUrl:e,accessWith:t,requireAll:r,children:s})=>p0(e)(t,r)?D.jsxRuntimeExports.jsx(D.jsxRuntimeExports.Fragment,{children:s}):null;{const e=D.s(g0,{props:{baseUrl:"string",accessWith:"json",requireAll:"boolean",children:"json"},shadow:"open"});customElements.define("has-permission",e)}var m0={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,r){e.exports=t.document?r(t,!0):function(s){if(!s.document)throw new Error("jQuery requires a window with a document");return r(s)}})(typeof window<"u"?window:D.commonjsGlobal,function(t,r){var s=[],o=Object.getPrototypeOf,c=s.slice,g=s.flat?function(a){return s.flat.call(a)}:function(a){return s.concat.apply([],a)},x=s.push,k=s.indexOf,E={},P=E.toString,j=E.hasOwnProperty,B=j.toString,V=B.call(Object),U={},F=function(l){return typeof l=="function"&&typeof l.nodeType!="number"&&typeof l.item!="function"},ee=function(l){return l!=null&&l===l.window},H=t.document,pe={type:!0,src:!0,nonce:!0,noModule:!0};function ge(a,l,f){f=f||H;var p,m,y=f.createElement("script");if(y.text=a,l)for(p in pe)m=l[p]||l.getAttribute&&l.getAttribute(p),m&&y.setAttribute(p,m);f.head.appendChild(y).parentNode.removeChild(y)}function me(a){return a==null?a+"":typeof a=="object"||typeof a=="function"?E[P.call(a)]||"object":typeof a}var re="3.7.1",ie=/HTML$/i,d=function(a,l){return new d.fn.init(a,l)};d.fn=d.prototype={jquery:re,constructor:d,length:0,toArray:function(){return c.call(this)},get:function(a){return a==null?c.call(this):a<0?this[a+this.length]:this[a]},pushStack:function(a){var l=d.merge(this.constructor(),a);return l.prevObject=this,l},each:function(a){return d.each(this,a)},map:function(a){return this.pushStack(d.map(this,function(l,f){return a.call(l,f,l)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(d.grep(this,function(a,l){return(l+1)%2}))},odd:function(){return this.pushStack(d.grep(this,function(a,l){return l%2}))},eq:function(a){var l=this.length,f=+a+(a<0?l:0);return this.pushStack(f>=0&&f<l?[this[f]]:[])},end:function(){return this.prevObject||this.constructor()},push:x,sort:s.sort,splice:s.splice},d.extend=d.fn.extend=function(){var a,l,f,p,m,y,b=arguments[0]||{},A=1,T=arguments.length,L=!1;for(typeof b=="boolean"&&(L=b,b=arguments[A]||{},A++),typeof b!="object"&&!F(b)&&(b={}),A===T&&(b=this,A--);A<T;A++)if((a=arguments[A])!=null)for(l in a)p=a[l],!(l==="__proto__"||b===p)&&(L&&p&&(d.isPlainObject(p)||(m=Array.isArray(p)))?(f=b[l],m&&!Array.isArray(f)?y=[]:!m&&!d.isPlainObject(f)?y={}:y=f,m=!1,b[l]=d.extend(L,y,p)):p!==void 0&&(b[l]=p));return b},d.extend({expando:"jQuery"+(re+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isPlainObject:function(a){var l,f;return!a||P.call(a)!=="[object Object]"?!1:(l=o(a),l?(f=j.call(l,"constructor")&&l.constructor,typeof f=="function"&&B.call(f)===V):!0)},isEmptyObject:function(a){var l;for(l in a)return!1;return!0},globalEval:function(a,l,f){ge(a,{nonce:l&&l.nonce},f)},each:function(a,l){var f,p=0;if(Ne(a))for(f=a.length;p<f&&l.call(a[p],p,a[p])!==!1;p++);else for(p in a)if(l.call(a[p],p,a[p])===!1)break;return a},text:function(a){var l,f="",p=0,m=a.nodeType;if(!m)for(;l=a[p++];)f+=d.text(l);return m===1||m===11?a.textContent:m===9?a.documentElement.textContent:m===3||m===4?a.nodeValue:f},makeArray:function(a,l){var f=l||[];return a!=null&&(Ne(Object(a))?d.merge(f,typeof a=="string"?[a]:a):x.call(f,a)),f},inArray:function(a,l,f){return l==null?-1:k.call(l,a,f)},isXMLDoc:function(a){var l=a&&a.namespaceURI,f=a&&(a.ownerDocument||a).documentElement;return!ie.test(l||f&&f.nodeName||"HTML")},merge:function(a,l){for(var f=+l.length,p=0,m=a.length;p<f;p++)a[m++]=l[p];return a.length=m,a},grep:function(a,l,f){for(var p,m=[],y=0,b=a.length,A=!f;y<b;y++)p=!l(a[y],y),p!==A&&m.push(a[y]);return m},map:function(a,l,f){var p,m,y=0,b=[];if(Ne(a))for(p=a.length;y<p;y++)m=l(a[y],y,f),m!=null&&b.push(m);else for(y in a)m=l(a[y],y,f),m!=null&&b.push(m);return g(b)},guid:1,support:U}),typeof Symbol=="function"&&(d.fn[Symbol.iterator]=s[Symbol.iterator]),d.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,l){E["[object "+l+"]"]=l.toLowerCase()});function Ne(a){var l=!!a&&"length"in a&&a.length,f=me(a);return F(a)||ee(a)?!1:f==="array"||l===0||typeof l=="number"&&l>0&&l-1 in a}function le(a,l){return a.nodeName&&a.nodeName.toLowerCase()===l.toLowerCase()}var at=s.pop,He=s.sort,Ze=s.splice,xe="[\\x20\\t\\r\\n\\f]",st=new RegExp("^"+xe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+xe+"+$","g");d.contains=function(a,l){var f=l&&l.parentNode;return a===f||!!(f&&f.nodeType===1&&(a.contains?a.contains(f):a.compareDocumentPosition&&a.compareDocumentPosition(f)&16))};var bt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Tt(a,l){return l?a==="\0"?"�":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a}d.escapeSelector=function(a){return(a+"").replace(bt,Tt)};var qe=H,Fe=x;(function(){var a,l,f,p,m,y=Fe,b,A,T,L,z,G=d.expando,W=0,te=0,ue=Gi(),Te=Gi(),De=Gi(),Mt=Gi(),pt=function(C,N){return C===N&&(m=!0),0},jn="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])+",Le="\\["+xe+"*("+Wn+")(?:"+xe+"*([*^$|!~]?=)"+xe+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Wn+"))|)"+xe+"*\\]",kr=":("+Wn+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Le+")*)|.*)\\)|)",$e=new RegExp(xe+"+","g"),et=new RegExp("^"+xe+"*,"+xe+"*"),qi=new RegExp("^"+xe+"*([>+~]|"+xe+")"+xe+"*"),Sa=new RegExp(xe+"|>"),kn=new RegExp(kr),Gr=new RegExp("^"+Wn+"$"),pn={ID:new RegExp("^#("+Wn+")"),CLASS:new RegExp("^\\.("+Wn+")"),TAG:new RegExp("^("+Wn+"|[*])"),ATTR:new RegExp("^"+Le),PSEUDO:new RegExp("^"+kr),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("^(?:"+jn+")$","i"),needsContext:new RegExp("^"+xe+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+xe+"*((?:-\\d)?\\d*)"+xe+"*\\)|)(?=[^-]|$)","i")},ur=/^(?:input|select|textarea|button)$/i,Cr=/^h\d$/i,Xt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,zi=/[+~]/,lr=new RegExp("\\\\[\\da-fA-F]{1,6}"+xe+"?|\\\\([^\\r\\n\\f])","g"),Bn=function(C,N){var Y="0x"+C.slice(1)-65536;return N||(Y<0?String.fromCharCode(Y+65536):String.fromCharCode(Y>>10|55296,Y&1023|56320))},tn=function(){Dr()},_s=Kr(function(C){return C.disabled===!0&&le(C,"fieldset")},{dir:"parentNode",next:"legend"});function Vi(){try{return b.activeElement}catch{}}try{y.apply(s=c.call(qe.childNodes),qe.childNodes),s[qe.childNodes.length].nodeType}catch{y={apply:function(N,Y){Fe.apply(N,c.call(Y))},call:function(N){Fe.apply(N,c.call(arguments,1))}}}function ze(C,N,Y,q){var S,O,R,K,X,fe,de,se=N&&N.ownerDocument,Me=N?N.nodeType:9;if(Y=Y||[],typeof C!="string"||!C||Me!==1&&Me!==9&&Me!==11)return Y;if(!q&&(Dr(N),N=N||b,T)){if(Me!==11&&(X=Xt.exec(C)))if(S=X[1]){if(Me===9)if(R=N.getElementById(S)){if(R.id===S)return y.call(Y,R),Y}else return Y;else if(se&&(R=se.getElementById(S))&&ze.contains(N,R)&&R.id===S)return y.call(Y,R),Y}else{if(X[2])return y.apply(Y,N.getElementsByTagName(C)),Y;if((S=X[3])&&N.getElementsByClassName)return y.apply(Y,N.getElementsByClassName(S)),Y}if(!Mt[C+" "]&&(!L||!L.test(C))){if(de=C,se=N,Me===1&&(Sa.test(C)||qi.test(C))){for(se=zi.test(C)&&xs(N.parentNode)||N,(se!=N||!U.scope)&&((K=N.getAttribute("id"))?K=d.escapeSelector(K):N.setAttribute("id",K=G)),fe=Ei(C),O=fe.length;O--;)fe[O]=(K?"#"+K:":scope")+" "+Dn(fe[O]);de=fe.join(",")}try{return y.apply(Y,se.querySelectorAll(de)),Y}catch{Mt(C,!0)}finally{K===G&&N.removeAttribute("id")}}}return Wo(C.replace(st,"$1"),N,Y,q)}function Gi(){var C=[];function N(Y,q){return C.push(Y+" ")>l.cacheLength&&delete N[C.shift()],N[Y+" "]=q}return N}function Cn(C){return C[G]=!0,C}function Ti(C){var N=b.createElement("fieldset");try{return!!C(N)}catch{return!1}finally{N.parentNode&&N.parentNode.removeChild(N),N=null}}function oc(C){return function(N){return le(N,"input")&&N.type===C}}function uc(C){return function(N){return(le(N,"input")||le(N,"button"))&&N.type===C}}function Yo(C){return function(N){return"form"in N?N.parentNode&&N.disabled===!1?"label"in N?"label"in N.parentNode?N.parentNode.disabled===C:N.disabled===C:N.isDisabled===C||N.isDisabled!==!C&&_s(N)===C:N.disabled===C:"label"in N?N.disabled===C:!1}}function gn(C){return Cn(function(N){return N=+N,Cn(function(Y,q){for(var S,O=C([],Y.length,N),R=O.length;R--;)Y[S=O[R]]&&(Y[S]=!(q[S]=Y[S]))})})}function xs(C){return C&&typeof C.getElementsByTagName<"u"&&C}function Dr(C){var N,Y=C?C.ownerDocument||C:qe;return Y==b||Y.nodeType!==9||!Y.documentElement||(b=Y,A=b.documentElement,T=!d.isXMLDoc(b),z=A.matches||A.webkitMatchesSelector||A.msMatchesSelector,A.msMatchesSelector&&qe!=b&&(N=b.defaultView)&&N.top!==N&&N.addEventListener("unload",tn),U.getById=Ti(function(q){return A.appendChild(q).id=d.expando,!b.getElementsByName||!b.getElementsByName(d.expando).length}),U.disconnectedMatch=Ti(function(q){return z.call(q,"*")}),U.scope=Ti(function(){return b.querySelectorAll(":scope")}),U.cssHas=Ti(function(){try{return b.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),U.getById?(l.filter.ID=function(q){var S=q.replace(lr,Bn);return function(O){return O.getAttribute("id")===S}},l.find.ID=function(q,S){if(typeof S.getElementById<"u"&&T){var O=S.getElementById(q);return O?[O]:[]}}):(l.filter.ID=function(q){var S=q.replace(lr,Bn);return function(O){var R=typeof O.getAttributeNode<"u"&&O.getAttributeNode("id");return R&&R.value===S}},l.find.ID=function(q,S){if(typeof S.getElementById<"u"&&T){var O,R,K,X=S.getElementById(q);if(X){if(O=X.getAttributeNode("id"),O&&O.value===q)return[X];for(K=S.getElementsByName(q),R=0;X=K[R++];)if(O=X.getAttributeNode("id"),O&&O.value===q)return[X]}return[]}}),l.find.TAG=function(q,S){return typeof S.getElementsByTagName<"u"?S.getElementsByTagName(q):S.querySelectorAll(q)},l.find.CLASS=function(q,S){if(typeof S.getElementsByClassName<"u"&&T)return S.getElementsByClassName(q)},L=[],Ti(function(q){var S;A.appendChild(q).innerHTML="<a id='"+G+"' href='' disabled='disabled'></a><select id='"+G+"-\r\\' disabled='disabled'><option selected=''></option></select>",q.querySelectorAll("[selected]").length||L.push("\\["+xe+"*(?:value|"+jn+")"),q.querySelectorAll("[id~="+G+"-]").length||L.push("~="),q.querySelectorAll("a#"+G+"+*").length||L.push(".#.+[+~]"),q.querySelectorAll(":checked").length||L.push(":checked"),S=b.createElement("input"),S.setAttribute("type","hidden"),q.appendChild(S).setAttribute("name","D"),A.appendChild(q).disabled=!0,q.querySelectorAll(":disabled").length!==2&&L.push(":enabled",":disabled"),S=b.createElement("input"),S.setAttribute("name",""),q.appendChild(S),q.querySelectorAll("[name='']").length||L.push("\\["+xe+"*name"+xe+"*="+xe+`*(?:''|"")`)}),U.cssHas||L.push(":has"),L=L.length&&new RegExp(L.join("|")),pt=function(q,S){if(q===S)return m=!0,0;var O=!q.compareDocumentPosition-!S.compareDocumentPosition;return O||(O=(q.ownerDocument||q)==(S.ownerDocument||S)?q.compareDocumentPosition(S):1,O&1||!U.sortDetached&&S.compareDocumentPosition(q)===O?q===b||q.ownerDocument==qe&&ze.contains(qe,q)?-1:S===b||S.ownerDocument==qe&&ze.contains(qe,S)?1:p?k.call(p,q)-k.call(p,S):0:O&4?-1:1)}),b}ze.matches=function(C,N){return ze(C,null,null,N)},ze.matchesSelector=function(C,N){if(Dr(C),T&&!Mt[N+" "]&&(!L||!L.test(N)))try{var Y=z.call(C,N);if(Y||U.disconnectedMatch||C.document&&C.document.nodeType!==11)return Y}catch{Mt(N,!0)}return ze(N,b,null,[C]).length>0},ze.contains=function(C,N){return(C.ownerDocument||C)!=b&&Dr(C),d.contains(C,N)},ze.attr=function(C,N){(C.ownerDocument||C)!=b&&Dr(C);var Y=l.attrHandle[N.toLowerCase()],q=Y&&j.call(l.attrHandle,N.toLowerCase())?Y(C,N,!T):void 0;return q!==void 0?q:C.getAttribute(N)},ze.error=function(C){throw new Error("Syntax error, unrecognized expression: "+C)},d.uniqueSort=function(C){var N,Y=[],q=0,S=0;if(m=!U.sortStable,p=!U.sortStable&&c.call(C,0),He.call(C,pt),m){for(;N=C[S++];)N===C[S]&&(q=Y.push(S));for(;q--;)Ze.call(C,Y[q],1)}return p=null,C},d.fn.uniqueSort=function(){return this.pushStack(d.uniqueSort(c.apply(this)))},l=d.expr={cacheLength:50,createPseudo:Cn,match:pn,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(C){return C[1]=C[1].replace(lr,Bn),C[3]=(C[3]||C[4]||C[5]||"").replace(lr,Bn),C[2]==="~="&&(C[3]=" "+C[3]+" "),C.slice(0,4)},CHILD:function(C){return C[1]=C[1].toLowerCase(),C[1].slice(0,3)==="nth"?(C[3]||ze.error(C[0]),C[4]=+(C[4]?C[5]+(C[6]||1):2*(C[3]==="even"||C[3]==="odd")),C[5]=+(C[7]+C[8]||C[3]==="odd")):C[3]&&ze.error(C[0]),C},PSEUDO:function(C){var N,Y=!C[6]&&C[2];return pn.CHILD.test(C[0])?null:(C[3]?C[2]=C[4]||C[5]||"":Y&&kn.test(Y)&&(N=Ei(Y,!0))&&(N=Y.indexOf(")",Y.length-N)-Y.length)&&(C[0]=C[0].slice(0,N),C[2]=Y.slice(0,N)),C.slice(0,3))}},filter:{TAG:function(C){var N=C.replace(lr,Bn).toLowerCase();return C==="*"?function(){return!0}:function(Y){return le(Y,N)}},CLASS:function(C){var N=ue[C+" "];return N||(N=new RegExp("(^|"+xe+")"+C+"("+xe+"|$)"))&&ue(C,function(Y){return N.test(typeof Y.className=="string"&&Y.className||typeof Y.getAttribute<"u"&&Y.getAttribute("class")||"")})},ATTR:function(C,N,Y){return function(q){var S=ze.attr(q,C);return S==null?N==="!=":N?(S+="",N==="="?S===Y:N==="!="?S!==Y:N==="^="?Y&&S.indexOf(Y)===0:N==="*="?Y&&S.indexOf(Y)>-1:N==="$="?Y&&S.slice(-Y.length)===Y:N==="~="?(" "+S.replace($e," ")+" ").indexOf(Y)>-1:N==="|="?S===Y||S.slice(0,Y.length+1)===Y+"-":!1):!0}},CHILD:function(C,N,Y,q,S){var O=C.slice(0,3)!=="nth",R=C.slice(-4)!=="last",K=N==="of-type";return q===1&&S===0?function(X){return!!X.parentNode}:function(X,fe,de){var se,Me,be,Ie,At,Ft=O!==R?"nextSibling":"previousSibling",Rt=X.parentNode,rn=K&&X.nodeName.toLowerCase(),cr=!de&&!K,Ce=!1;if(Rt){if(O){for(;Ft;){for(be=X;be=be[Ft];)if(K?le(be,rn):be.nodeType===1)return!1;At=Ft=C==="only"&&!At&&"nextSibling"}return!0}if(At=[R?Rt.firstChild:Rt.lastChild],R&&cr){for(Me=Rt[G]||(Rt[G]={}),se=Me[C]||[],Ie=se[0]===W&&se[1],Ce=Ie&&se[2],be=Ie&&Rt.childNodes[Ie];be=++Ie&&be&&be[Ft]||(Ce=Ie=0)||At.pop();)if(be.nodeType===1&&++Ce&&be===X){Me[C]=[W,Ie,Ce];break}}else if(cr&&(Me=X[G]||(X[G]={}),se=Me[C]||[],Ie=se[0]===W&&se[1],Ce=Ie),Ce===!1)for(;(be=++Ie&&be&&be[Ft]||(Ce=Ie=0)||At.pop())&&!((K?le(be,rn):be.nodeType===1)&&++Ce&&(cr&&(Me=be[G]||(be[G]={}),Me[C]=[W,Ce]),be===X)););return Ce-=S,Ce===q||Ce%q===0&&Ce/q>=0}}},PSEUDO:function(C,N){var Y,q=l.pseudos[C]||l.setFilters[C.toLowerCase()]||ze.error("unsupported pseudo: "+C);return q[G]?q(N):q.length>1?(Y=[C,C,"",N],l.setFilters.hasOwnProperty(C.toLowerCase())?Cn(function(S,O){for(var R,K=q(S,N),X=K.length;X--;)R=k.call(S,K[X]),S[R]=!(O[R]=K[X])}):function(S){return q(S,0,Y)}):q}},pseudos:{not:Cn(function(C){var N=[],Y=[],q=Ss(C.replace(st,"$1"));return q[G]?Cn(function(S,O,R,K){for(var X,fe=q(S,null,K,[]),de=S.length;de--;)(X=fe[de])&&(S[de]=!(O[de]=X))}):function(S,O,R){return N[0]=S,q(N,null,R,Y),N[0]=null,!Y.pop()}}),has:Cn(function(C){return function(N){return ze(C,N).length>0}}),contains:Cn(function(C){return C=C.replace(lr,Bn),function(N){return(N.textContent||d.text(N)).indexOf(C)>-1}}),lang:Cn(function(C){return Gr.test(C||"")||ze.error("unsupported lang: "+C),C=C.replace(lr,Bn).toLowerCase(),function(N){var Y;do if(Y=T?N.lang:N.getAttribute("xml:lang")||N.getAttribute("lang"))return Y=Y.toLowerCase(),Y===C||Y.indexOf(C+"-")===0;while((N=N.parentNode)&&N.nodeType===1);return!1}}),target:function(C){var N=t.location&&t.location.hash;return N&&N.slice(1)===C.id},root:function(C){return C===A},focus:function(C){return C===Vi()&&b.hasFocus()&&!!(C.type||C.href||~C.tabIndex)},enabled:Yo(!1),disabled:Yo(!0),checked:function(C){return le(C,"input")&&!!C.checked||le(C,"option")&&!!C.selected},selected:function(C){return C.parentNode&&C.parentNode.selectedIndex,C.selected===!0},empty:function(C){for(C=C.firstChild;C;C=C.nextSibling)if(C.nodeType<6)return!1;return!0},parent:function(C){return!l.pseudos.empty(C)},header:function(C){return Cr.test(C.nodeName)},input:function(C){return ur.test(C.nodeName)},button:function(C){return le(C,"input")&&C.type==="button"||le(C,"button")},text:function(C){var N;return le(C,"input")&&C.type==="text"&&((N=C.getAttribute("type"))==null||N.toLowerCase()==="text")},first:gn(function(){return[0]}),last:gn(function(C,N){return[N-1]}),eq:gn(function(C,N,Y){return[Y<0?Y+N:Y]}),even:gn(function(C,N){for(var Y=0;Y<N;Y+=2)C.push(Y);return C}),odd:gn(function(C,N){for(var Y=1;Y<N;Y+=2)C.push(Y);return C}),lt:gn(function(C,N,Y){var q;for(Y<0?q=Y+N:Y>N?q=N:q=Y;--q>=0;)C.push(q);return C}),gt:gn(function(C,N,Y){for(var q=Y<0?Y+N:Y;++q<N;)C.push(q);return C})}},l.pseudos.nth=l.pseudos.eq;for(a in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})l.pseudos[a]=oc(a);for(a in{submit:!0,reset:!0})l.pseudos[a]=uc(a);function ka(){}ka.prototype=l.filters=l.pseudos,l.setFilters=new ka;function Ei(C,N){var Y,q,S,O,R,K,X,fe=Te[C+" "];if(fe)return N?0:fe.slice(0);for(R=C,K=[],X=l.preFilter;R;){(!Y||(q=et.exec(R)))&&(q&&(R=R.slice(q[0].length)||R),K.push(S=[])),Y=!1,(q=qi.exec(R))&&(Y=q.shift(),S.push({value:Y,type:q[0].replace(st," ")}),R=R.slice(Y.length));for(O in l.filter)(q=pn[O].exec(R))&&(!X[O]||(q=X[O](q)))&&(Y=q.shift(),S.push({value:Y,type:O,matches:q}),R=R.slice(Y.length));if(!Y)break}return N?R.length:R?ze.error(C):Te(C,K).slice(0)}function Dn(C){for(var N=0,Y=C.length,q="";N<Y;N++)q+=C[N].value;return q}function Kr(C,N,Y){var q=N.dir,S=N.next,O=S||q,R=Y&&O==="parentNode",K=te++;return N.first?function(X,fe,de){for(;X=X[q];)if(X.nodeType===1||R)return C(X,fe,de);return!1}:function(X,fe,de){var se,Me,be=[W,K];if(de){for(;X=X[q];)if((X.nodeType===1||R)&&C(X,fe,de))return!0}else for(;X=X[q];)if(X.nodeType===1||R)if(Me=X[G]||(X[G]={}),S&&le(X,S))X=X[q]||X;else{if((se=Me[O])&&se[0]===W&&se[1]===K)return be[2]=se[2];if(Me[O]=be,be[2]=C(X,fe,de))return!0}return!1}}function ws(C){return C.length>1?function(N,Y,q){for(var S=C.length;S--;)if(!C[S](N,Y,q))return!1;return!0}:C[0]}function lc(C,N,Y){for(var q=0,S=N.length;q<S;q++)ze(C,N[q],Y);return Y}function Ca(C,N,Y,q,S){for(var O,R=[],K=0,X=C.length,fe=N!=null;K<X;K++)(O=C[K])&&(!Y||Y(O,q,S))&&(R.push(O),fe&&N.push(K));return R}function Tr(C,N,Y,q,S,O){return q&&!q[G]&&(q=Tr(q)),S&&!S[G]&&(S=Tr(S,O)),Cn(function(R,K,X,fe){var de,se,Me,be,Ie=[],At=[],Ft=K.length,Rt=R||lc(N||"*",X.nodeType?[X]:X,[]),rn=C&&(R||!N)?Ca(Rt,Ie,C,X,fe):Rt;if(Y?(be=S||(R?C:Ft||q)?[]:K,Y(rn,be,X,fe)):be=rn,q)for(de=Ca(be,At),q(de,[],X,fe),se=de.length;se--;)(Me=de[se])&&(be[At[se]]=!(rn[At[se]]=Me));if(R){if(S||C){if(S){for(de=[],se=be.length;se--;)(Me=be[se])&&de.push(rn[se]=Me);S(null,be=[],de,fe)}for(se=be.length;se--;)(Me=be[se])&&(de=S?k.call(R,Me):Ie[se])>-1&&(R[de]=!(K[de]=Me))}}else be=Ca(be===K?be.splice(Ft,be.length):be),S?S(null,K,be,fe):y.apply(K,be)})}function nn(C){for(var N,Y,q,S=C.length,O=l.relative[C[0].type],R=O||l.relative[" "],K=O?1:0,X=Kr(function(se){return se===N},R,!0),fe=Kr(function(se){return k.call(N,se)>-1},R,!0),de=[function(se,Me,be){var Ie=!O&&(be||Me!=f)||((N=Me).nodeType?X(se,Me,be):fe(se,Me,be));return N=null,Ie}];K<S;K++)if(Y=l.relative[C[K].type])de=[Kr(ws(de),Y)];else{if(Y=l.filter[C[K].type].apply(null,C[K].matches),Y[G]){for(q=++K;q<S&&!l.relative[C[q].type];q++);return Tr(K>1&&ws(de),K>1&&Dn(C.slice(0,K-1).concat({value:C[K-2].type===" "?"*":""})).replace(st,"$1"),Y,K<q&&nn(C.slice(K,q)),q<S&&nn(C=C.slice(q)),q<S&&Dn(C))}de.push(Y)}return ws(de)}function jo(C,N){var Y=N.length>0,q=C.length>0,S=function(O,R,K,X,fe){var de,se,Me,be=0,Ie="0",At=O&&[],Ft=[],Rt=f,rn=O||q&&l.find.TAG("*",fe),cr=W+=Rt==null?1:Math.random()||.1,Ce=rn.length;for(fe&&(f=R==b||R||fe);Ie!==Ce&&(de=rn[Ie])!=null;Ie++){if(q&&de){for(se=0,!R&&de.ownerDocument!=b&&(Dr(de),K=!T);Me=C[se++];)if(Me(de,R||b,K)){y.call(X,de);break}fe&&(W=cr)}Y&&((de=!Me&&de)&&be--,O&&At.push(de))}if(be+=Ie,Y&&Ie!==be){for(se=0;Me=N[se++];)Me(At,Ft,R,K);if(O){if(be>0)for(;Ie--;)At[Ie]||Ft[Ie]||(Ft[Ie]=at.call(X));Ft=Ca(Ft)}y.apply(X,Ft),fe&&!O&&Ft.length>0&&be+N.length>1&&d.uniqueSort(X)}return fe&&(W=cr,f=Rt),At};return Y?Cn(S):S}function Ss(C,N){var Y,q=[],S=[],O=De[C+" "];if(!O){for(N||(N=Ei(C)),Y=N.length;Y--;)O=nn(N[Y]),O[G]?q.push(O):S.push(O);O=De(C,jo(S,q)),O.selector=C}return O}function Wo(C,N,Y,q){var S,O,R,K,X,fe=typeof C=="function"&&C,de=!q&&Ei(C=fe.selector||C);if(Y=Y||[],de.length===1){if(O=de[0]=de[0].slice(0),O.length>2&&(R=O[0]).type==="ID"&&N.nodeType===9&&T&&l.relative[O[1].type]){if(N=(l.find.ID(R.matches[0].replace(lr,Bn),N)||[])[0],N)fe&&(N=N.parentNode);else return Y;C=C.slice(O.shift().value.length)}for(S=pn.needsContext.test(C)?0:O.length;S--&&(R=O[S],!l.relative[K=R.type]);)if((X=l.find[K])&&(q=X(R.matches[0].replace(lr,Bn),zi.test(O[0].type)&&xs(N.parentNode)||N))){if(O.splice(S,1),C=q.length&&Dn(O),!C)return y.apply(Y,q),Y;break}}return(fe||Ss(C,de))(q,N,!T,Y,!N||zi.test(C)&&xs(N.parentNode)||N),Y}U.sortStable=G.split("").sort(pt).join("")===G,Dr(),U.sortDetached=Ti(function(C){return C.compareDocumentPosition(b.createElement("fieldset"))&1}),d.find=ze,d.expr[":"]=d.expr.pseudos,d.unique=d.uniqueSort,ze.compile=Ss,ze.select=Wo,ze.setDocument=Dr,ze.tokenize=Ei,ze.escape=d.escapeSelector,ze.getText=d.text,ze.isXML=d.isXMLDoc,ze.selectors=d.expr,ze.support=d.support,ze.uniqueSort=d.uniqueSort})();var ct=function(a,l,f){for(var p=[],m=f!==void 0;(a=a[l])&&a.nodeType!==9;)if(a.nodeType===1){if(m&&d(a).is(f))break;p.push(a)}return p},Et=function(a,l){for(var f=[];a;a=a.nextSibling)a.nodeType===1&&a!==l&&f.push(a);return f},Pt=d.expr.match.needsContext,_t=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Ln(a,l,f){return F(l)?d.grep(a,function(p,m){return!!l.call(p,m,p)!==f}):l.nodeType?d.grep(a,function(p){return p===l!==f}):typeof l!="string"?d.grep(a,function(p){return k.call(l,p)>-1!==f}):d.filter(l,a,f)}d.filter=function(a,l,f){var p=l[0];return f&&(a=":not("+a+")"),l.length===1&&p.nodeType===1?d.find.matchesSelector(p,a)?[p]:[]:d.find.matches(a,d.grep(l,function(m){return m.nodeType===1}))},d.fn.extend({find:function(a){var l,f,p=this.length,m=this;if(typeof a!="string")return this.pushStack(d(a).filter(function(){for(l=0;l<p;l++)if(d.contains(m[l],this))return!0}));for(f=this.pushStack([]),l=0;l<p;l++)d.find(a,m[l],f);return p>1?d.uniqueSort(f):f},filter:function(a){return this.pushStack(Ln(this,a||[],!1))},not:function(a){return this.pushStack(Ln(this,a||[],!0))},is:function(a){return!!Ln(this,typeof a=="string"&&Pt.test(a)?d(a):a||[],!1).length}});var qt,zt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,ir=d.fn.init=function(a,l,f){var p,m;if(!a)return this;if(f=f||qt,typeof a=="string")if(a[0]==="<"&&a[a.length-1]===">"&&a.length>=3?p=[null,a,null]:p=zt.exec(a),p&&(p[1]||!l))if(p[1]){if(l=l instanceof d?l[0]:l,d.merge(this,d.parseHTML(p[1],l&&l.nodeType?l.ownerDocument||l:H,!0)),_t.test(p[1])&&d.isPlainObject(l))for(p in l)F(this[p])?this[p](l[p]):this.attr(p,l[p]);return this}else return m=H.getElementById(p[2]),m&&(this[0]=m,this.length=1),this;else return!l||l.jquery?(l||f).find(a):this.constructor(l).find(a);else{if(a.nodeType)return this[0]=a,this.length=1,this;if(F(a))return f.ready!==void 0?f.ready(a):a(d)}return d.makeArray(a,this)};ir.prototype=d.fn,qt=d(H);var ji=/^(?:parents|prev(?:Until|All))/,Wr={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({has:function(a){var l=d(a,this),f=l.length;return this.filter(function(){for(var p=0;p<f;p++)if(d.contains(this,l[p]))return!0})},closest:function(a,l){var f,p=0,m=this.length,y=[],b=typeof a!="string"&&d(a);if(!Pt.test(a)){for(;p<m;p++)for(f=this[p];f&&f!==l;f=f.parentNode)if(f.nodeType<11&&(b?b.index(f)>-1:f.nodeType===1&&d.find.matchesSelector(f,a))){y.push(f);break}}return this.pushStack(y.length>1?d.uniqueSort(y):y)},index:function(a){return a?typeof a=="string"?k.call(d(a),this[0]):k.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,l){return this.pushStack(d.uniqueSort(d.merge(this.get(),d(a,l))))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}});function Nt(a,l){for(;(a=a[l])&&a.nodeType!==1;);return a}d.each({parent:function(a){var l=a.parentNode;return l&&l.nodeType!==11?l:null},parents:function(a){return ct(a,"parentNode")},parentsUntil:function(a,l,f){return ct(a,"parentNode",f)},next:function(a){return Nt(a,"nextSibling")},prev:function(a){return Nt(a,"previousSibling")},nextAll:function(a){return ct(a,"nextSibling")},prevAll:function(a){return ct(a,"previousSibling")},nextUntil:function(a,l,f){return ct(a,"nextSibling",f)},prevUntil:function(a,l,f){return ct(a,"previousSibling",f)},siblings:function(a){return Et((a.parentNode||{}).firstChild,a)},children:function(a){return Et(a.firstChild)},contents:function(a){return a.contentDocument!=null&&o(a.contentDocument)?a.contentDocument:(le(a,"template")&&(a=a.content||a),d.merge([],a.childNodes))}},function(a,l){d.fn[a]=function(f,p){var m=d.map(this,l,f);return a.slice(-5)!=="Until"&&(p=f),p&&typeof p=="string"&&(m=d.filter(p,m)),this.length>1&&(Wr[a]||d.uniqueSort(m),ji.test(a)&&m.reverse()),this.pushStack(m)}});var ln=/[^\x20\t\r\n\f]+/g;function yi(a){var l={};return d.each(a.match(ln)||[],function(f,p){l[p]=!0}),l}d.Callbacks=function(a){a=typeof a=="string"?yi(a):d.extend({},a);var l,f,p,m,y=[],b=[],A=-1,T=function(){for(m=m||a.once,p=l=!0;b.length;A=-1)for(f=b.shift();++A<y.length;)y[A].apply(f[0],f[1])===!1&&a.stopOnFalse&&(A=y.length,f=!1);a.memory||(f=!1),l=!1,m&&(f?y=[]:y="")},L={add:function(){return y&&(f&&!l&&(A=y.length-1,b.push(f)),function z(G){d.each(G,function(W,te){F(te)?(!a.unique||!L.has(te))&&y.push(te):te&&te.length&&me(te)!=="string"&&z(te)})}(arguments),f&&!l&&T()),this},remove:function(){return d.each(arguments,function(z,G){for(var W;(W=d.inArray(G,y,W))>-1;)y.splice(W,1),W<=A&&A--}),this},has:function(z){return z?d.inArray(z,y)>-1:y.length>0},empty:function(){return y&&(y=[]),this},disable:function(){return m=b=[],y=f="",this},disabled:function(){return!y},lock:function(){return m=b=[],!f&&!l&&(y=f=""),this},locked:function(){return!!m},fireWith:function(z,G){return m||(G=G||[],G=[z,G.slice?G.slice():G],b.push(G),l||T()),this},fire:function(){return L.fireWith(this,arguments),this},fired:function(){return!!p}};return L};function wn(a){return a}function Br(a){throw a}function Vt(a,l,f,p){var m;try{a&&F(m=a.promise)?m.call(a).done(l).fail(f):a&&F(m=a.then)?m.call(a,l,f):l.apply(void 0,[a].slice(p))}catch(y){f.apply(void 0,[y])}}d.extend({Deferred:function(a){var l=[["notify","progress",d.Callbacks("memory"),d.Callbacks("memory"),2],["resolve","done",d.Callbacks("once memory"),d.Callbacks("once memory"),0,"resolved"],["reject","fail",d.Callbacks("once memory"),d.Callbacks("once memory"),1,"rejected"]],f="pending",p={state:function(){return f},always:function(){return m.done(arguments).fail(arguments),this},catch:function(y){return p.then(null,y)},pipe:function(){var y=arguments;return d.Deferred(function(b){d.each(l,function(A,T){var L=F(y[T[4]])&&y[T[4]];m[T[1]](function(){var z=L&&L.apply(this,arguments);z&&F(z.promise)?z.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[T[0]+"With"](this,L?[z]:arguments)})}),y=null}).promise()},then:function(y,b,A){var T=0;function L(z,G,W,te){return function(){var ue=this,Te=arguments,De=function(){var pt,jn;if(!(z<T)){if(pt=W.apply(ue,Te),pt===G.promise())throw new TypeError("Thenable self-resolution");jn=pt&&(typeof pt=="object"||typeof pt=="function")&&pt.then,F(jn)?te?jn.call(pt,L(T,G,wn,te),L(T,G,Br,te)):(T++,jn.call(pt,L(T,G,wn,te),L(T,G,Br,te),L(T,G,wn,G.notifyWith))):(W!==wn&&(ue=void 0,Te=[pt]),(te||G.resolveWith)(ue,Te))}},Mt=te?De:function(){try{De()}catch(pt){d.Deferred.exceptionHook&&d.Deferred.exceptionHook(pt,Mt.error),z+1>=T&&(W!==Br&&(ue=void 0,Te=[pt]),G.rejectWith(ue,Te))}};z?Mt():(d.Deferred.getErrorHook?Mt.error=d.Deferred.getErrorHook():d.Deferred.getStackHook&&(Mt.error=d.Deferred.getStackHook()),t.setTimeout(Mt))}}return d.Deferred(function(z){l[0][3].add(L(0,z,F(A)?A:wn,z.notifyWith)),l[1][3].add(L(0,z,F(y)?y:wn)),l[2][3].add(L(0,z,F(b)?b:Br))}).promise()},promise:function(y){return y!=null?d.extend(y,p):p}},m={};return d.each(l,function(y,b){var A=b[2],T=b[5];p[b[1]]=A.add,T&&A.add(function(){f=T},l[3-y][2].disable,l[3-y][3].disable,l[0][2].lock,l[0][3].lock),A.add(b[3].fire),m[b[0]]=function(){return m[b[0]+"With"](this===m?void 0:this,arguments),this},m[b[0]+"With"]=A.fireWith}),p.promise(m),a&&a.call(m,m),m},when:function(a){var l=arguments.length,f=l,p=Array(f),m=c.call(arguments),y=d.Deferred(),b=function(A){return function(T){p[A]=this,m[A]=arguments.length>1?c.call(arguments):T,--l||y.resolveWith(p,m)}};if(l<=1&&(Vt(a,y.done(b(f)).resolve,y.reject,!l),y.state()==="pending"||F(m[f]&&m[f].then)))return y.then();for(;f--;)Vt(m[f],b(f),y.reject);return y.promise()}});var Hr=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;d.Deferred.exceptionHook=function(a,l){t.console&&t.console.warn&&a&&Hr.test(a.name)&&t.console.warn("jQuery.Deferred exception: "+a.message,a.stack,l)},d.readyException=function(a){t.setTimeout(function(){throw a})};var Wi=d.Deferred();d.fn.ready=function(a){return Wi.then(a).catch(function(l){d.readyException(l)}),this},d.extend({isReady:!1,readyWait:1,ready:function(a){(a===!0?--d.readyWait:d.isReady)||(d.isReady=!0,!(a!==!0&&--d.readyWait>0)&&Wi.resolveWith(H,[d]))}}),d.ready.then=Wi.then;function Gt(){H.removeEventListener("DOMContentLoaded",Gt),t.removeEventListener("load",Gt),d.ready()}H.readyState==="complete"||H.readyState!=="loading"&&!H.documentElement.doScroll?t.setTimeout(d.ready):(H.addEventListener("DOMContentLoaded",Gt),t.addEventListener("load",Gt));var cn=function(a,l,f,p,m,y,b){var A=0,T=a.length,L=f==null;if(me(f)==="object"){m=!0;for(A in f)cn(a,l,A,f[A],!0,y,b)}else if(p!==void 0&&(m=!0,F(p)||(b=!0),L&&(b?(l.call(a,p),l=null):(L=l,l=function(z,G,W){return L.call(d(z),W)})),l))for(;A<T;A++)l(a[A],f,b?p:p.call(a[A],A,l(a[A],f)));return m?a:L?l.call(a):T?l(a[0],f):y},ts=/^-ms-/,ar=/-([a-z])/g;function Wt(a,l){return l.toUpperCase()}function Lt(a){return a.replace(ts,"ms-").replace(ar,Wt)}var $n=function(a){return a.nodeType===1||a.nodeType===9||!+a.nodeType};function Fn(){this.expando=d.expando+Fn.uid++}Fn.uid=1,Fn.prototype={cache:function(a){var l=a[this.expando];return l||(l={},$n(a)&&(a.nodeType?a[this.expando]=l:Object.defineProperty(a,this.expando,{value:l,configurable:!0}))),l},set:function(a,l,f){var p,m=this.cache(a);if(typeof l=="string")m[Lt(l)]=f;else for(p in l)m[Lt(p)]=l[p];return m},get:function(a,l){return l===void 0?this.cache(a):a[this.expando]&&a[this.expando][Lt(l)]},access:function(a,l,f){return l===void 0||l&&typeof l=="string"&&f===void 0?this.get(a,l):(this.set(a,l,f),f!==void 0?f:l)},remove:function(a,l){var f,p=a[this.expando];if(p!==void 0){if(l!==void 0)for(Array.isArray(l)?l=l.map(Lt):(l=Lt(l),l=l in p?[l]:l.match(ln)||[]),f=l.length;f--;)delete p[l[f]];(l===void 0||d.isEmptyObject(p))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var l=a[this.expando];return l!==void 0&&!d.isEmptyObject(l)}};var ce=new Fn,$t=new Fn,vr=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,br=/[A-Z]/g;function ke(a){return a==="true"?!0:a==="false"?!1:a==="null"?null:a===+a+""?+a:vr.test(a)?JSON.parse(a):a}function Ur(a,l,f){var p;if(f===void 0&&a.nodeType===1)if(p="data-"+l.replace(br,"-$&").toLowerCase(),f=a.getAttribute(p),typeof f=="string"){try{f=ke(f)}catch{}$t.set(a,l,f)}else f=void 0;return f}d.extend({hasData:function(a){return $t.hasData(a)||ce.hasData(a)},data:function(a,l,f){return $t.access(a,l,f)},removeData:function(a,l){$t.remove(a,l)},_data:function(a,l,f){return ce.access(a,l,f)},_removeData:function(a,l){ce.remove(a,l)}}),d.fn.extend({data:function(a,l){var f,p,m,y=this[0],b=y&&y.attributes;if(a===void 0){if(this.length&&(m=$t.get(y),y.nodeType===1&&!ce.get(y,"hasDataAttrs"))){for(f=b.length;f--;)b[f]&&(p=b[f].name,p.indexOf("data-")===0&&(p=Lt(p.slice(5)),Ur(y,p,m[p])));ce.set(y,"hasDataAttrs",!0)}return m}return typeof a=="object"?this.each(function(){$t.set(this,a)}):cn(this,function(A){var T;if(y&&A===void 0)return T=$t.get(y,a),T!==void 0||(T=Ur(y,a),T!==void 0)?T:void 0;this.each(function(){$t.set(this,a,A)})},null,l,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){$t.remove(this,a)})}}),d.extend({queue:function(a,l,f){var p;if(a)return l=(l||"fx")+"queue",p=ce.get(a,l),f&&(!p||Array.isArray(f)?p=ce.access(a,l,d.makeArray(f)):p.push(f)),p||[]},dequeue:function(a,l){l=l||"fx";var f=d.queue(a,l),p=f.length,m=f.shift(),y=d._queueHooks(a,l),b=function(){d.dequeue(a,l)};m==="inprogress"&&(m=f.shift(),p--),m&&(l==="fx"&&f.unshift("inprogress"),delete y.stop,m.call(a,b,y)),!p&&y&&y.empty.fire()},_queueHooks:function(a,l){var f=l+"queueHooks";return ce.get(a,f)||ce.access(a,f,{empty:d.Callbacks("once memory").add(function(){ce.remove(a,[l+"queue",f])})})}}),d.fn.extend({queue:function(a,l){var f=2;return typeof a!="string"&&(l=a,a="fx",f--),arguments.length<f?d.queue(this[0],a):l===void 0?this:this.each(function(){var p=d.queue(this,a,l);d._queueHooks(this,a),a==="fx"&&p[0]!=="inprogress"&&d.dequeue(this,a)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,l){var f,p=1,m=d.Deferred(),y=this,b=this.length,A=function(){--p||m.resolveWith(y,[y])};for(typeof a!="string"&&(l=a,a=void 0),a=a||"fx";b--;)f=ce.get(y[b],a+"queueHooks"),f&&f.empty&&(p++,f.empty.add(A));return A(),m.promise(l)}});var vi=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Yn=new RegExp("^(?:([+-])=|)("+vi+")([a-z%]*)$","i"),fn=["Top","Right","Bottom","Left"],sr=H.documentElement,_r=function(a){return d.contains(a.ownerDocument,a)},ns={composed:!0};sr.getRootNode&&(_r=function(a){return d.contains(a.ownerDocument,a)||a.getRootNode(ns)===a.ownerDocument});var bi=function(a,l){return a=l||a,a.style.display==="none"||a.style.display===""&&_r(a)&&d.css(a,"display")==="none"};function co(a,l,f,p){var m,y,b=20,A=p?function(){return p.cur()}:function(){return d.css(a,l,"")},T=A(),L=f&&f[3]||(d.cssNumber[l]?"":"px"),z=a.nodeType&&(d.cssNumber[l]||L!=="px"&&+T)&&Yn.exec(d.css(a,l));if(z&&z[3]!==L){for(T=T/2,L=L||z[3],z=+T||1;b--;)d.style(a,l,z+L),(1-y)*(1-(y=A()/T||.5))<=0&&(b=0),z=z/y;z=z*2,d.style(a,l,z+L),f=f||[]}return f&&(z=+z||+T||0,m=f[1]?z+(f[1]+1)*f[2]:+f[2],p&&(p.unit=L,p.start=z,p.end=m)),m}var fo={};function Wl(a){var l,f=a.ownerDocument,p=a.nodeName,m=fo[p];return m||(l=f.body.appendChild(f.createElement(p)),m=d.css(l,"display"),l.parentNode.removeChild(l),m==="none"&&(m="block"),fo[p]=m,m)}function qr(a,l){for(var f,p,m=[],y=0,b=a.length;y<b;y++)p=a[y],p.style&&(f=p.style.display,l?(f==="none"&&(m[y]=ce.get(p,"display")||null,m[y]||(p.style.display="")),p.style.display===""&&bi(p)&&(m[y]=Wl(p))):f!=="none"&&(m[y]="none",ce.set(p,"display",f)));for(y=0;y<b;y++)m[y]!=null&&(a[y].style.display=m[y]);return a}d.fn.extend({show:function(){return qr(this,!0)},hide:function(){return qr(this)},toggle:function(a){return typeof a=="boolean"?a?this.show():this.hide():this.each(function(){bi(this)?d(this).show():d(this).hide()})}});var _i=/^(?:checkbox|radio)$/i,ho=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,po=/^$|^module$|\/(?:java|ecma)script/i;(function(){var a=H.createDocumentFragment(),l=a.appendChild(H.createElement("div")),f=H.createElement("input");f.setAttribute("type","radio"),f.setAttribute("checked","checked"),f.setAttribute("name","t"),l.appendChild(f),U.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,l.innerHTML="<textarea>x</textarea>",U.noCloneChecked=!!l.cloneNode(!0).lastChild.defaultValue,l.innerHTML="<option></option>",U.option=!!l.lastChild})();var dn={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,"",""]};dn.tbody=dn.tfoot=dn.colgroup=dn.caption=dn.thead,dn.th=dn.td,U.option||(dn.optgroup=dn.option=[1,"<select multiple='multiple'>","</select>"]);function Kt(a,l){var f;return typeof a.getElementsByTagName<"u"?f=a.getElementsByTagName(l||"*"):typeof a.querySelectorAll<"u"?f=a.querySelectorAll(l||"*"):f=[],l===void 0||l&&le(a,l)?d.merge([a],f):f}function ga(a,l){for(var f=0,p=a.length;f<p;f++)ce.set(a[f],"globalEval",!l||ce.get(l[f],"globalEval"))}var Bl=/<|&#?\w+;/;function go(a,l,f,p,m){for(var y,b,A,T,L,z,G=l.createDocumentFragment(),W=[],te=0,ue=a.length;te<ue;te++)if(y=a[te],y||y===0)if(me(y)==="object")d.merge(W,y.nodeType?[y]:y);else if(!Bl.test(y))W.push(l.createTextNode(y));else{for(b=b||G.appendChild(l.createElement("div")),A=(ho.exec(y)||["",""])[1].toLowerCase(),T=dn[A]||dn._default,b.innerHTML=T[1]+d.htmlPrefilter(y)+T[2],z=T[0];z--;)b=b.lastChild;d.merge(W,b.childNodes),b=G.firstChild,b.textContent=""}for(G.textContent="",te=0;y=W[te++];){if(p&&d.inArray(y,p)>-1){m&&m.push(y);continue}if(L=_r(y),b=Kt(G.appendChild(y),"script"),L&&ga(b),f)for(z=0;y=b[z++];)po.test(y.type||"")&&f.push(y)}return G}var mo=/^([^.]*)(?:\.(.+)|)/;function xr(){return!0}function xi(){return!1}function Bi(a,l,f,p,m,y){var b,A;if(typeof l=="object"){typeof f!="string"&&(p=p||f,f=void 0);for(A in l)Bi(a,A,f,p,l[A],y);return a}if(p==null&&m==null?(m=f,p=f=void 0):m==null&&(typeof f=="string"?(m=p,p=void 0):(m=p,p=f,f=void 0)),m===!1)m=xi;else if(!m)return a;return y===1&&(b=m,m=function(T){return d().off(T),b.apply(this,arguments)},m.guid=b.guid||(b.guid=d.guid++)),a.each(function(){d.event.add(this,l,m,p,f)})}d.event={global:{},add:function(a,l,f,p,m){var y,b,A,T,L,z,G,W,te,ue,Te,De=ce.get(a);if($n(a))for(f.handler&&(y=f,f=y.handler,m=y.selector),m&&d.find.matchesSelector(sr,m),f.guid||(f.guid=d.guid++),(T=De.events)||(T=De.events=Object.create(null)),(b=De.handle)||(b=De.handle=function(Mt){return typeof d<"u"&&d.event.triggered!==Mt.type?d.event.dispatch.apply(a,arguments):void 0}),l=(l||"").match(ln)||[""],L=l.length;L--;)A=mo.exec(l[L])||[],te=Te=A[1],ue=(A[2]||"").split(".").sort(),te&&(G=d.event.special[te]||{},te=(m?G.delegateType:G.bindType)||te,G=d.event.special[te]||{},z=d.extend({type:te,origType:Te,data:p,handler:f,guid:f.guid,selector:m,needsContext:m&&d.expr.match.needsContext.test(m),namespace:ue.join(".")},y),(W=T[te])||(W=T[te]=[],W.delegateCount=0,(!G.setup||G.setup.call(a,p,ue,b)===!1)&&a.addEventListener&&a.addEventListener(te,b)),G.add&&(G.add.call(a,z),z.handler.guid||(z.handler.guid=f.guid)),m?W.splice(W.delegateCount++,0,z):W.push(z),d.event.global[te]=!0)},remove:function(a,l,f,p,m){var y,b,A,T,L,z,G,W,te,ue,Te,De=ce.hasData(a)&&ce.get(a);if(!(!De||!(T=De.events))){for(l=(l||"").match(ln)||[""],L=l.length;L--;){if(A=mo.exec(l[L])||[],te=Te=A[1],ue=(A[2]||"").split(".").sort(),!te){for(te in T)d.event.remove(a,te+l[L],f,p,!0);continue}for(G=d.event.special[te]||{},te=(p?G.delegateType:G.bindType)||te,W=T[te]||[],A=A[2]&&new RegExp("(^|\\.)"+ue.join("\\.(?:.*\\.|)")+"(\\.|$)"),b=y=W.length;y--;)z=W[y],(m||Te===z.origType)&&(!f||f.guid===z.guid)&&(!A||A.test(z.namespace))&&(!p||p===z.selector||p==="**"&&z.selector)&&(W.splice(y,1),z.selector&&W.delegateCount--,G.remove&&G.remove.call(a,z));b&&!W.length&&((!G.teardown||G.teardown.call(a,ue,De.handle)===!1)&&d.removeEvent(a,te,De.handle),delete T[te])}d.isEmptyObject(T)&&ce.remove(a,"handle events")}},dispatch:function(a){var l,f,p,m,y,b,A=new Array(arguments.length),T=d.event.fix(a),L=(ce.get(this,"events")||Object.create(null))[T.type]||[],z=d.event.special[T.type]||{};for(A[0]=T,l=1;l<arguments.length;l++)A[l]=arguments[l];if(T.delegateTarget=this,!(z.preDispatch&&z.preDispatch.call(this,T)===!1)){for(b=d.event.handlers.call(this,T,L),l=0;(m=b[l++])&&!T.isPropagationStopped();)for(T.currentTarget=m.elem,f=0;(y=m.handlers[f++])&&!T.isImmediatePropagationStopped();)(!T.rnamespace||y.namespace===!1||T.rnamespace.test(y.namespace))&&(T.handleObj=y,T.data=y.data,p=((d.event.special[y.origType]||{}).handle||y.handler).apply(m.elem,A),p!==void 0&&(T.result=p)===!1&&(T.preventDefault(),T.stopPropagation()));return z.postDispatch&&z.postDispatch.call(this,T),T.result}},handlers:function(a,l){var f,p,m,y,b,A=[],T=l.delegateCount,L=a.target;if(T&&L.nodeType&&!(a.type==="click"&&a.button>=1)){for(;L!==this;L=L.parentNode||this)if(L.nodeType===1&&!(a.type==="click"&&L.disabled===!0)){for(y=[],b={},f=0;f<T;f++)p=l[f],m=p.selector+" ",b[m]===void 0&&(b[m]=p.needsContext?d(m,this).index(L)>-1:d.find(m,this,null,[L]).length),b[m]&&y.push(p);y.length&&A.push({elem:L,handlers:y})}}return L=this,T<l.length&&A.push({elem:L,handlers:l.slice(T)}),A},addProp:function(a,l){Object.defineProperty(d.Event.prototype,a,{enumerable:!0,configurable:!0,get:F(l)?function(){if(this.originalEvent)return l(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[a]},set:function(f){Object.defineProperty(this,a,{enumerable:!0,configurable:!0,writable:!0,value:f})}})},fix:function(a){return a[d.expando]?a:new d.Event(a)},special:{load:{noBubble:!0},click:{setup:function(a){var l=this||a;return _i.test(l.type)&&l.click&&le(l,"input")&&ma(l,"click",!0),!1},trigger:function(a){var l=this||a;return _i.test(l.type)&&l.click&&le(l,"input")&&ma(l,"click"),!0},_default:function(a){var l=a.target;return _i.test(l.type)&&l.click&&le(l,"input")&&ce.get(l,"click")||le(l,"a")}},beforeunload:{postDispatch:function(a){a.result!==void 0&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}};function ma(a,l,f){if(!f){ce.get(a,l)===void 0&&d.event.add(a,l,xr);return}ce.set(a,l,!1),d.event.add(a,l,{namespace:!1,handler:function(p){var m,y=ce.get(this,l);if(p.isTrigger&1&&this[l]){if(y)(d.event.special[l]||{}).delegateType&&p.stopPropagation();else if(y=c.call(arguments),ce.set(this,l,y),this[l](),m=ce.get(this,l),ce.set(this,l,!1),y!==m)return p.stopImmediatePropagation(),p.preventDefault(),m}else y&&(ce.set(this,l,d.event.trigger(y[0],y.slice(1),this)),p.stopPropagation(),p.isImmediatePropagationStopped=xr)}})}d.removeEvent=function(a,l,f){a.removeEventListener&&a.removeEventListener(l,f)},d.Event=function(a,l){if(!(this instanceof d.Event))return new d.Event(a,l);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.defaultPrevented===void 0&&a.returnValue===!1?xr:xi,this.target=a.target&&a.target.nodeType===3?a.target.parentNode:a.target,this.currentTarget=a.currentTarget,this.relatedTarget=a.relatedTarget):this.type=a,l&&d.extend(this,l),this.timeStamp=a&&a.timeStamp||Date.now(),this[d.expando]=!0},d.Event.prototype={constructor:d.Event,isDefaultPrevented:xi,isPropagationStopped:xi,isImmediatePropagationStopped:xi,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=xr,a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=xr,a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=xr,a&&!this.isSimulated&&a.stopImmediatePropagation(),this.stopPropagation()}},d.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},d.event.addProp),d.each({focus:"focusin",blur:"focusout"},function(a,l){function f(p){if(H.documentMode){var m=ce.get(this,"handle"),y=d.event.fix(p);y.type=p.type==="focusin"?"focus":"blur",y.isSimulated=!0,m(p),y.target===y.currentTarget&&m(y)}else d.event.simulate(l,p.target,d.event.fix(p))}d.event.special[a]={setup:function(){var p;if(ma(this,a,!0),H.documentMode)p=ce.get(this,l),p||this.addEventListener(l,f),ce.set(this,l,(p||0)+1);else return!1},trigger:function(){return ma(this,a),!0},teardown:function(){var p;if(H.documentMode)p=ce.get(this,l)-1,p?ce.set(this,l,p):(this.removeEventListener(l,f),ce.remove(this,l));else return!1},_default:function(p){return ce.get(p.target,a)},delegateType:l},d.event.special[l]={setup:function(){var p=this.ownerDocument||this.document||this,m=H.documentMode?this:p,y=ce.get(m,l);y||(H.documentMode?this.addEventListener(l,f):p.addEventListener(a,f,!0)),ce.set(m,l,(y||0)+1)},teardown:function(){var p=this.ownerDocument||this.document||this,m=H.documentMode?this:p,y=ce.get(m,l)-1;y?ce.set(m,l,y):(H.documentMode?this.removeEventListener(l,f):p.removeEventListener(a,f,!0),ce.remove(m,l))}}}),d.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,l){d.event.special[a]={delegateType:l,bindType:l,handle:function(f){var p,m=this,y=f.relatedTarget,b=f.handleObj;return(!y||y!==m&&!d.contains(m,y))&&(f.type=b.origType,p=b.handler.apply(this,arguments),f.type=l),p}}}),d.fn.extend({on:function(a,l,f,p){return Bi(this,a,l,f,p)},one:function(a,l,f,p){return Bi(this,a,l,f,p,1)},off:function(a,l,f){var p,m;if(a&&a.preventDefault&&a.handleObj)return p=a.handleObj,d(a.delegateTarget).off(p.namespace?p.origType+"."+p.namespace:p.origType,p.selector,p.handler),this;if(typeof a=="object"){for(m in a)this.off(m,l,a[m]);return this}return(l===!1||typeof l=="function")&&(f=l,l=void 0),f===!1&&(f=xi),this.each(function(){d.event.remove(this,a,f,l)})}});var Hl=/<script|<style|<link/i,Ul=/checked\s*(?:[^=]|=\s*.checked.)/i,ql=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function yo(a,l){return le(a,"table")&&le(l.nodeType!==11?l:l.firstChild,"tr")&&d(a).children("tbody")[0]||a}function zl(a){return a.type=(a.getAttribute("type")!==null)+"/"+a.type,a}function Vl(a){return(a.type||"").slice(0,5)==="true/"?a.type=a.type.slice(5):a.removeAttribute("type"),a}function vo(a,l){var f,p,m,y,b,A,T;if(l.nodeType===1){if(ce.hasData(a)&&(y=ce.get(a),T=y.events,T)){ce.remove(l,"handle events");for(m in T)for(f=0,p=T[m].length;f<p;f++)d.event.add(l,m,T[m][f])}$t.hasData(a)&&(b=$t.access(a),A=d.extend({},b),$t.set(l,A))}}function bo(a,l){var f=l.nodeName.toLowerCase();f==="input"&&_i.test(a.type)?l.checked=a.checked:(f==="input"||f==="textarea")&&(l.defaultValue=a.defaultValue)}function wi(a,l,f,p){l=g(l);var m,y,b,A,T,L,z=0,G=a.length,W=G-1,te=l[0],ue=F(te);if(ue||G>1&&typeof te=="string"&&!U.checkClone&&Ul.test(te))return a.each(function(Te){var De=a.eq(Te);ue&&(l[0]=te.call(this,Te,De.html())),wi(De,l,f,p)});if(G&&(m=go(l,a[0].ownerDocument,!1,a,p),y=m.firstChild,m.childNodes.length===1&&(m=y),y||p)){for(b=d.map(Kt(m,"script"),zl),A=b.length;z<G;z++)T=m,z!==W&&(T=d.clone(T,!0,!0),A&&d.merge(b,Kt(T,"script"))),f.call(a[z],T,z);if(A)for(L=b[b.length-1].ownerDocument,d.map(b,Vl),z=0;z<A;z++)T=b[z],po.test(T.type||"")&&!ce.access(T,"globalEval")&&d.contains(L,T)&&(T.src&&(T.type||"").toLowerCase()!=="module"?d._evalUrl&&!T.noModule&&d._evalUrl(T.src,{nonce:T.nonce||T.getAttribute("nonce")},L):ge(T.textContent.replace(ql,""),T,L))}return a}function _o(a,l,f){for(var p,m=l?d.filter(l,a):a,y=0;(p=m[y])!=null;y++)!f&&p.nodeType===1&&d.cleanData(Kt(p)),p.parentNode&&(f&&_r(p)&&ga(Kt(p,"script")),p.parentNode.removeChild(p));return a}d.extend({htmlPrefilter:function(a){return a},clone:function(a,l,f){var p,m,y,b,A=a.cloneNode(!0),T=_r(a);if(!U.noCloneChecked&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a))for(b=Kt(A),y=Kt(a),p=0,m=y.length;p<m;p++)bo(y[p],b[p]);if(l)if(f)for(y=y||Kt(a),b=b||Kt(A),p=0,m=y.length;p<m;p++)vo(y[p],b[p]);else vo(a,A);return b=Kt(A,"script"),b.length>0&&ga(b,!T&&Kt(a,"script")),A},cleanData:function(a){for(var l,f,p,m=d.event.special,y=0;(f=a[y])!==void 0;y++)if($n(f)){if(l=f[ce.expando]){if(l.events)for(p in l.events)m[p]?d.event.remove(f,p):d.removeEvent(f,p,l.handle);f[ce.expando]=void 0}f[$t.expando]&&(f[$t.expando]=void 0)}}}),d.fn.extend({detach:function(a){return _o(this,a,!0)},remove:function(a){return _o(this,a)},text:function(a){return cn(this,function(l){return l===void 0?d.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=l)})},null,a,arguments.length)},append:function(){return wi(this,arguments,function(a){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var l=yo(this,a);l.appendChild(a)}})},prepend:function(){return wi(this,arguments,function(a){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var l=yo(this,a);l.insertBefore(a,l.firstChild)}})},before:function(){return wi(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return wi(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,l=0;(a=this[l])!=null;l++)a.nodeType===1&&(d.cleanData(Kt(a,!1)),a.textContent="");return this},clone:function(a,l){return a=a??!1,l=l??a,this.map(function(){return d.clone(this,a,l)})},html:function(a){return cn(this,function(l){var f=this[0]||{},p=0,m=this.length;if(l===void 0&&f.nodeType===1)return f.innerHTML;if(typeof l=="string"&&!Hl.test(l)&&!dn[(ho.exec(l)||["",""])[1].toLowerCase()]){l=d.htmlPrefilter(l);try{for(;p<m;p++)f=this[p]||{},f.nodeType===1&&(d.cleanData(Kt(f,!1)),f.innerHTML=l);f=0}catch{}}f&&this.empty().append(l)},null,a,arguments.length)},replaceWith:function(){var a=[];return wi(this,arguments,function(l){var f=this.parentNode;d.inArray(this,a)<0&&(d.cleanData(Kt(this)),f&&f.replaceChild(l,this))},a)}}),d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,l){d.fn[a]=function(f){for(var p,m=[],y=d(f),b=y.length-1,A=0;A<=b;A++)p=A===b?this:this.clone(!0),d(y[A])[l](p),x.apply(m,p.get());return this.pushStack(m)}});var rs=new RegExp("^("+vi+")(?!px)[a-z%]+$","i"),is=/^--/,ya=function(a){var l=a.ownerDocument.defaultView;return(!l||!l.opener)&&(l=t),l.getComputedStyle(a)},xo=function(a,l,f){var p,m,y={};for(m in l)y[m]=a.style[m],a.style[m]=l[m];p=f.call(a);for(m in l)a.style[m]=y[m];return p},va=new RegExp(fn.join("|"),"i");(function(){function a(){if(L){T.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",L.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",sr.appendChild(T).appendChild(L);var z=t.getComputedStyle(L);f=z.top!=="1%",A=l(z.marginLeft)===12,L.style.right="60%",y=l(z.right)===36,p=l(z.width)===36,L.style.position="absolute",m=l(L.offsetWidth/3)===12,sr.removeChild(T),L=null}}function l(z){return Math.round(parseFloat(z))}var f,p,m,y,b,A,T=H.createElement("div"),L=H.createElement("div");L.style&&(L.style.backgroundClip="content-box",L.cloneNode(!0).style.backgroundClip="",U.clearCloneStyle=L.style.backgroundClip==="content-box",d.extend(U,{boxSizingReliable:function(){return a(),p},pixelBoxStyles:function(){return a(),y},pixelPosition:function(){return a(),f},reliableMarginLeft:function(){return a(),A},scrollboxSize:function(){return a(),m},reliableTrDimensions:function(){var z,G,W,te;return b==null&&(z=H.createElement("table"),G=H.createElement("tr"),W=H.createElement("div"),z.style.cssText="position:absolute;left:-11111px;border-collapse:separate",G.style.cssText="box-sizing:content-box;border:1px solid",G.style.height="1px",W.style.height="9px",W.style.display="block",sr.appendChild(z).appendChild(G).appendChild(W),te=t.getComputedStyle(G),b=parseInt(te.height,10)+parseInt(te.borderTopWidth,10)+parseInt(te.borderBottomWidth,10)===G.offsetHeight,sr.removeChild(z)),b}}))})();function Hi(a,l,f){var p,m,y,b,A=is.test(l),T=a.style;return f=f||ya(a),f&&(b=f.getPropertyValue(l)||f[l],A&&b&&(b=b.replace(st,"$1")||void 0),b===""&&!_r(a)&&(b=d.style(a,l)),!U.pixelBoxStyles()&&rs.test(b)&&va.test(l)&&(p=T.width,m=T.minWidth,y=T.maxWidth,T.minWidth=T.maxWidth=T.width=b,b=f.width,T.width=p,T.minWidth=m,T.maxWidth=y)),b!==void 0?b+"":b}function Ui(a,l){return{get:function(){if(a()){delete this.get;return}return(this.get=l).apply(this,arguments)}}}var wo=["Webkit","Moz","ms"],So=H.createElement("div").style,ko={};function Co(a){for(var l=a[0].toUpperCase()+a.slice(1),f=wo.length;f--;)if(a=wo[f]+l,a in So)return a}function ba(a){var l=d.cssProps[a]||ko[a];return l||(a in So?a:ko[a]=Co(a)||a)}var Do=/^(none|table(?!-c[ea]).+)/,Gl={position:"absolute",visibility:"hidden",display:"block"},To={letterSpacing:"0",fontWeight:"400"};function Eo(a,l,f){var p=Yn.exec(l);return p?Math.max(0,p[2]-(f||0))+(p[3]||"px"):l}function as(a,l,f,p,m,y){var b=l==="width"?1:0,A=0,T=0,L=0;if(f===(p?"border":"content"))return 0;for(;b<4;b+=2)f==="margin"&&(L+=d.css(a,f+fn[b],!0,m)),p?(f==="content"&&(T-=d.css(a,"padding"+fn[b],!0,m)),f!=="margin"&&(T-=d.css(a,"border"+fn[b]+"Width",!0,m))):(T+=d.css(a,"padding"+fn[b],!0,m),f!=="padding"?T+=d.css(a,"border"+fn[b]+"Width",!0,m):A+=d.css(a,"border"+fn[b]+"Width",!0,m));return!p&&y>=0&&(T+=Math.max(0,Math.ceil(a["offset"+l[0].toUpperCase()+l.slice(1)]-y-T-A-.5))||0),T+L}function ss(a,l,f){var p=ya(a),m=!U.boxSizingReliable()||f,y=m&&d.css(a,"boxSizing",!1,p)==="border-box",b=y,A=Hi(a,l,p),T="offset"+l[0].toUpperCase()+l.slice(1);if(rs.test(A)){if(!f)return A;A="auto"}return(!U.boxSizingReliable()&&y||!U.reliableTrDimensions()&&le(a,"tr")||A==="auto"||!parseFloat(A)&&d.css(a,"display",!1,p)==="inline")&&a.getClientRects().length&&(y=d.css(a,"boxSizing",!1,p)==="border-box",b=T in a,b&&(A=a[T])),A=parseFloat(A)||0,A+as(a,l,f||(y?"border":"content"),b,p,A)+"px"}d.extend({cssHooks:{opacity:{get:function(a,l){if(l){var f=Hi(a,"opacity");return f===""?"1":f}}}},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(a,l,f,p){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var m,y,b,A=Lt(l),T=is.test(l),L=a.style;if(T||(l=ba(A)),b=d.cssHooks[l]||d.cssHooks[A],f!==void 0){if(y=typeof f,y==="string"&&(m=Yn.exec(f))&&m[1]&&(f=co(a,l,m),y="number"),f==null||f!==f)return;y==="number"&&!T&&(f+=m&&m[3]||(d.cssNumber[A]?"":"px")),!U.clearCloneStyle&&f===""&&l.indexOf("background")===0&&(L[l]="inherit"),(!b||!("set"in b)||(f=b.set(a,f,p))!==void 0)&&(T?L.setProperty(l,f):L[l]=f)}else return b&&"get"in b&&(m=b.get(a,!1,p))!==void 0?m:L[l]}},css:function(a,l,f,p){var m,y,b,A=Lt(l),T=is.test(l);return T||(l=ba(A)),b=d.cssHooks[l]||d.cssHooks[A],b&&"get"in b&&(m=b.get(a,!0,f)),m===void 0&&(m=Hi(a,l,p)),m==="normal"&&l in To&&(m=To[l]),f===""||f?(y=parseFloat(m),f===!0||isFinite(y)?y||0:m):m}}),d.each(["height","width"],function(a,l){d.cssHooks[l]={get:function(f,p,m){if(p)return Do.test(d.css(f,"display"))&&(!f.getClientRects().length||!f.getBoundingClientRect().width)?xo(f,Gl,function(){return ss(f,l,m)}):ss(f,l,m)},set:function(f,p,m){var y,b=ya(f),A=!U.scrollboxSize()&&b.position==="absolute",T=A||m,L=T&&d.css(f,"boxSizing",!1,b)==="border-box",z=m?as(f,l,m,L,b):0;return L&&A&&(z-=Math.ceil(f["offset"+l[0].toUpperCase()+l.slice(1)]-parseFloat(b[l])-as(f,l,"border",!1,b)-.5)),z&&(y=Yn.exec(p))&&(y[3]||"px")!=="px"&&(f.style[l]=p,p=d.css(f,l)),Eo(f,p,z)}}}),d.cssHooks.marginLeft=Ui(U.reliableMarginLeft,function(a,l){if(l)return(parseFloat(Hi(a,"marginLeft"))||a.getBoundingClientRect().left-xo(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"}),d.each({margin:"",padding:"",border:"Width"},function(a,l){d.cssHooks[a+l]={expand:function(f){for(var p=0,m={},y=typeof f=="string"?f.split(" "):[f];p<4;p++)m[a+fn[p]+l]=y[p]||y[p-2]||y[0];return m}},a!=="margin"&&(d.cssHooks[a+l].set=Eo)}),d.fn.extend({css:function(a,l){return cn(this,function(f,p,m){var y,b,A={},T=0;if(Array.isArray(p)){for(y=ya(f),b=p.length;T<b;T++)A[p[T]]=d.css(f,p[T],!1,y);return A}return m!==void 0?d.style(f,p,m):d.css(f,p)},a,l,arguments.length>1)}});function Bt(a,l,f,p,m){return new Bt.prototype.init(a,l,f,p,m)}d.Tween=Bt,Bt.prototype={constructor:Bt,init:function(a,l,f,p,m,y){this.elem=a,this.prop=f,this.easing=m||d.easing._default,this.options=l,this.start=this.now=this.cur(),this.end=p,this.unit=y||(d.cssNumber[f]?"":"px")},cur:function(){var a=Bt.propHooks[this.prop];return a&&a.get?a.get(this):Bt.propHooks._default.get(this)},run:function(a){var l,f=Bt.propHooks[this.prop];return this.options.duration?this.pos=l=d.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=l=a,this.now=(this.end-this.start)*l+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),f&&f.set?f.set(this):Bt.propHooks._default.set(this),this}},Bt.prototype.init.prototype=Bt.prototype,Bt.propHooks={_default:{get:function(a){var l;return a.elem.nodeType!==1||a.elem[a.prop]!=null&&a.elem.style[a.prop]==null?a.elem[a.prop]:(l=d.css(a.elem,a.prop,""),!l||l==="auto"?0:l)},set:function(a){d.fx.step[a.prop]?d.fx.step[a.prop](a):a.elem.nodeType===1&&(d.cssHooks[a.prop]||a.elem.style[ba(a.prop)]!=null)?d.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Bt.propHooks.scrollTop=Bt.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},d.easing={linear:function(a){return a},swing:function(a){return .5-Math.cos(a*Math.PI)/2},_default:"swing"},d.fx=Bt.prototype.init,d.fx.step={};var zr,Si,Kl=/^(?:toggle|show|hide)$/,Mo=/queueHooks$/;function ki(){Si&&(H.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(ki):t.setTimeout(ki,d.fx.interval),d.fx.tick())}function os(){return t.setTimeout(function(){zr=void 0}),zr=Date.now()}function _a(a,l){var f,p=0,m={height:a};for(l=l?1:0;p<4;p+=2-l)f=fn[p],m["margin"+f]=m["padding"+f]=a;return l&&(m.opacity=m.width=a),m}function us(a,l,f){for(var p,m=(Sn.tweeners[l]||[]).concat(Sn.tweeners["*"]),y=0,b=m.length;y<b;y++)if(p=m[y].call(f,l,a))return p}function Ao(a,l,f){var p,m,y,b,A,T,L,z,G="width"in l||"height"in l,W=this,te={},ue=a.style,Te=a.nodeType&&bi(a),De=ce.get(a,"fxshow");f.queue||(b=d._queueHooks(a,"fx"),b.unqueued==null&&(b.unqueued=0,A=b.empty.fire,b.empty.fire=function(){b.unqueued||A()}),b.unqueued++,W.always(function(){W.always(function(){b.unqueued--,d.queue(a,"fx").length||b.empty.fire()})}));for(p in l)if(m=l[p],Kl.test(m)){if(delete l[p],y=y||m==="toggle",m===(Te?"hide":"show"))if(m==="show"&&De&&De[p]!==void 0)Te=!0;else continue;te[p]=De&&De[p]||d.style(a,p)}if(T=!d.isEmptyObject(l),!(!T&&d.isEmptyObject(te))){G&&a.nodeType===1&&(f.overflow=[ue.overflow,ue.overflowX,ue.overflowY],L=De&&De.display,L==null&&(L=ce.get(a,"display")),z=d.css(a,"display"),z==="none"&&(L?z=L:(qr([a],!0),L=a.style.display||L,z=d.css(a,"display"),qr([a]))),(z==="inline"||z==="inline-block"&&L!=null)&&d.css(a,"float")==="none"&&(T||(W.done(function(){ue.display=L}),L==null&&(z=ue.display,L=z==="none"?"":z)),ue.display="inline-block")),f.overflow&&(ue.overflow="hidden",W.always(function(){ue.overflow=f.overflow[0],ue.overflowX=f.overflow[1],ue.overflowY=f.overflow[2]})),T=!1;for(p in te)T||(De?"hidden"in De&&(Te=De.hidden):De=ce.access(a,"fxshow",{display:L}),y&&(De.hidden=!Te),Te&&qr([a],!0),W.done(function(){Te||qr([a]),ce.remove(a,"fxshow");for(p in te)d.style(a,p,te[p])})),T=us(Te?De[p]:0,p,W),p in De||(De[p]=T.start,Te&&(T.end=T.start,T.start=0))}}function ls(a,l){var f,p,m,y,b;for(f in a)if(p=Lt(f),m=l[p],y=a[f],Array.isArray(y)&&(m=y[1],y=a[f]=y[0]),f!==p&&(a[p]=y,delete a[f]),b=d.cssHooks[p],b&&"expand"in b){y=b.expand(y),delete a[p];for(f in y)f in a||(a[f]=y[f],l[f]=m)}else l[p]=m}function Sn(a,l,f){var p,m,y=0,b=Sn.prefilters.length,A=d.Deferred().always(function(){delete T.elem}),T=function(){if(m)return!1;for(var G=zr||os(),W=Math.max(0,L.startTime+L.duration-G),te=W/L.duration||0,ue=1-te,Te=0,De=L.tweens.length;Te<De;Te++)L.tweens[Te].run(ue);return A.notifyWith(a,[L,ue,W]),ue<1&&De?W:(De||A.notifyWith(a,[L,1,0]),A.resolveWith(a,[L]),!1)},L=A.promise({elem:a,props:d.extend({},l),opts:d.extend(!0,{specialEasing:{},easing:d.easing._default},f),originalProperties:l,originalOptions:f,startTime:zr||os(),duration:f.duration,tweens:[],createTween:function(G,W){var te=d.Tween(a,L.opts,G,W,L.opts.specialEasing[G]||L.opts.easing);return L.tweens.push(te),te},stop:function(G){var W=0,te=G?L.tweens.length:0;if(m)return this;for(m=!0;W<te;W++)L.tweens[W].run(1);return G?(A.notifyWith(a,[L,1,0]),A.resolveWith(a,[L,G])):A.rejectWith(a,[L,G]),this}}),z=L.props;for(ls(z,L.opts.specialEasing);y<b;y++)if(p=Sn.prefilters[y].call(L,a,z,L.opts),p)return F(p.stop)&&(d._queueHooks(L.elem,L.opts.queue).stop=p.stop.bind(p)),p;return d.map(z,us,L),F(L.opts.start)&&L.opts.start.call(a,L),L.progress(L.opts.progress).done(L.opts.done,L.opts.complete).fail(L.opts.fail).always(L.opts.always),d.fx.timer(d.extend(T,{elem:a,anim:L,queue:L.opts.queue})),L}d.Animation=d.extend(Sn,{tweeners:{"*":[function(a,l){var f=this.createTween(a,l);return co(f.elem,a,Yn.exec(l),f),f}]},tweener:function(a,l){F(a)?(l=a,a=["*"]):a=a.match(ln);for(var f,p=0,m=a.length;p<m;p++)f=a[p],Sn.tweeners[f]=Sn.tweeners[f]||[],Sn.tweeners[f].unshift(l)},prefilters:[Ao],prefilter:function(a,l){l?Sn.prefilters.unshift(a):Sn.prefilters.push(a)}}),d.speed=function(a,l,f){var p=a&&typeof a=="object"?d.extend({},a):{complete:f||!f&&l||F(a)&&a,duration:a,easing:f&&l||l&&!F(l)&&l};return d.fx.off?p.duration=0:typeof p.duration!="number"&&(p.duration in d.fx.speeds?p.duration=d.fx.speeds[p.duration]:p.duration=d.fx.speeds._default),(p.queue==null||p.queue===!0)&&(p.queue="fx"),p.old=p.complete,p.complete=function(){F(p.old)&&p.old.call(this),p.queue&&d.dequeue(this,p.queue)},p},d.fn.extend({fadeTo:function(a,l,f,p){return this.filter(bi).css("opacity",0).show().end().animate({opacity:l},a,f,p)},animate:function(a,l,f,p){var m=d.isEmptyObject(a),y=d.speed(l,f,p),b=function(){var A=Sn(this,d.extend({},a),y);(m||ce.get(this,"finish"))&&A.stop(!0)};return b.finish=b,m||y.queue===!1?this.each(b):this.queue(y.queue,b)},stop:function(a,l,f){var p=function(m){var y=m.stop;delete m.stop,y(f)};return typeof a!="string"&&(f=l,l=a,a=void 0),l&&this.queue(a||"fx",[]),this.each(function(){var m=!0,y=a!=null&&a+"queueHooks",b=d.timers,A=ce.get(this);if(y)A[y]&&A[y].stop&&p(A[y]);else for(y in A)A[y]&&A[y].stop&&Mo.test(y)&&p(A[y]);for(y=b.length;y--;)b[y].elem===this&&(a==null||b[y].queue===a)&&(b[y].anim.stop(f),m=!1,b.splice(y,1));(m||!f)&&d.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var l,f=ce.get(this),p=f[a+"queue"],m=f[a+"queueHooks"],y=d.timers,b=p?p.length:0;for(f.finish=!0,d.queue(this,a,[]),m&&m.stop&&m.stop.call(this,!0),l=y.length;l--;)y[l].elem===this&&y[l].queue===a&&(y[l].anim.stop(!0),y.splice(l,1));for(l=0;l<b;l++)p[l]&&p[l].finish&&p[l].finish.call(this);delete f.finish})}}),d.each(["toggle","show","hide"],function(a,l){var f=d.fn[l];d.fn[l]=function(p,m,y){return p==null||typeof p=="boolean"?f.apply(this,arguments):this.animate(_a(l,!0),p,m,y)}}),d.each({slideDown:_a("show"),slideUp:_a("hide"),slideToggle:_a("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,l){d.fn[a]=function(f,p,m){return this.animate(l,f,p,m)}}),d.timers=[],d.fx.tick=function(){var a,l=0,f=d.timers;for(zr=Date.now();l<f.length;l++)a=f[l],!a()&&f[l]===a&&f.splice(l--,1);f.length||d.fx.stop(),zr=void 0},d.fx.timer=function(a){d.timers.push(a),d.fx.start()},d.fx.interval=13,d.fx.start=function(){Si||(Si=!0,ki())},d.fx.stop=function(){Si=null},d.fx.speeds={slow:600,fast:200,_default:400},d.fn.delay=function(a,l){return a=d.fx&&d.fx.speeds[a]||a,l=l||"fx",this.queue(l,function(f,p){var m=t.setTimeout(f,a);p.stop=function(){t.clearTimeout(m)}})},function(){var a=H.createElement("input"),l=H.createElement("select"),f=l.appendChild(H.createElement("option"));a.type="checkbox",U.checkOn=a.value!=="",U.optSelected=f.selected,a=H.createElement("input"),a.value="t",a.type="radio",U.radioValue=a.value==="t"}();var cs,Vr=d.expr.attrHandle;d.fn.extend({attr:function(a,l){return cn(this,d.attr,a,l,arguments.length>1)},removeAttr:function(a){return this.each(function(){d.removeAttr(this,a)})}}),d.extend({attr:function(a,l,f){var p,m,y=a.nodeType;if(!(y===3||y===8||y===2)){if(typeof a.getAttribute>"u")return d.prop(a,l,f);if((y!==1||!d.isXMLDoc(a))&&(m=d.attrHooks[l.toLowerCase()]||(d.expr.match.bool.test(l)?cs:void 0)),f!==void 0){if(f===null){d.removeAttr(a,l);return}return m&&"set"in m&&(p=m.set(a,f,l))!==void 0?p:(a.setAttribute(l,f+""),f)}return m&&"get"in m&&(p=m.get(a,l))!==null?p:(p=d.find.attr(a,l),p??void 0)}},attrHooks:{type:{set:function(a,l){if(!U.radioValue&&l==="radio"&&le(a,"input")){var f=a.value;return a.setAttribute("type",l),f&&(a.value=f),l}}}},removeAttr:function(a,l){var f,p=0,m=l&&l.match(ln);if(m&&a.nodeType===1)for(;f=m[p++];)a.removeAttribute(f)}}),cs={set:function(a,l,f){return l===!1?d.removeAttr(a,f):a.setAttribute(f,f),f}},d.each(d.expr.match.bool.source.match(/\w+/g),function(a,l){var f=Vr[l]||d.find.attr;Vr[l]=function(p,m,y){var b,A,T=m.toLowerCase();return y||(A=Vr[T],Vr[T]=b,b=f(p,m,y)!=null?T:null,Vr[T]=A),b}});var fs=/^(?:input|select|textarea|button)$/i,Ci=/^(?:a|area)$/i;d.fn.extend({prop:function(a,l){return cn(this,d.prop,a,l,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[d.propFix[a]||a]})}}),d.extend({prop:function(a,l,f){var p,m,y=a.nodeType;if(!(y===3||y===8||y===2))return(y!==1||!d.isXMLDoc(a))&&(l=d.propFix[l]||l,m=d.propHooks[l]),f!==void 0?m&&"set"in m&&(p=m.set(a,f,l))!==void 0?p:a[l]=f:m&&"get"in m&&(p=m.get(a,l))!==null?p:a[l]},propHooks:{tabIndex:{get:function(a){var l=d.find.attr(a,"tabindex");return l?parseInt(l,10):fs.test(a.nodeName)||Ci.test(a.nodeName)&&a.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),U.optSelected||(d.propHooks.selected={get:function(a){var l=a.parentNode;return l&&l.parentNode&&l.parentNode.selectedIndex,null},set:function(a){var l=a.parentNode;l&&(l.selectedIndex,l.parentNode&&l.parentNode.selectedIndex)}}),d.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){d.propFix[this.toLowerCase()]=this});function wr(a){var l=a.match(ln)||[];return l.join(" ")}function Sr(a){return a.getAttribute&&a.getAttribute("class")||""}function ds(a){return Array.isArray(a)?a:typeof a=="string"?a.match(ln)||[]:[]}d.fn.extend({addClass:function(a){var l,f,p,m,y,b;return F(a)?this.each(function(A){d(this).addClass(a.call(this,A,Sr(this)))}):(l=ds(a),l.length?this.each(function(){if(p=Sr(this),f=this.nodeType===1&&" "+wr(p)+" ",f){for(y=0;y<l.length;y++)m=l[y],f.indexOf(" "+m+" ")<0&&(f+=m+" ");b=wr(f),p!==b&&this.setAttribute("class",b)}}):this)},removeClass:function(a){var l,f,p,m,y,b;return F(a)?this.each(function(A){d(this).removeClass(a.call(this,A,Sr(this)))}):arguments.length?(l=ds(a),l.length?this.each(function(){if(p=Sr(this),f=this.nodeType===1&&" "+wr(p)+" ",f){for(y=0;y<l.length;y++)for(m=l[y];f.indexOf(" "+m+" ")>-1;)f=f.replace(" "+m+" "," ");b=wr(f),p!==b&&this.setAttribute("class",b)}}):this):this.attr("class","")},toggleClass:function(a,l){var f,p,m,y,b=typeof a,A=b==="string"||Array.isArray(a);return F(a)?this.each(function(T){d(this).toggleClass(a.call(this,T,Sr(this),l),l)}):typeof l=="boolean"&&A?l?this.addClass(a):this.removeClass(a):(f=ds(a),this.each(function(){if(A)for(y=d(this),m=0;m<f.length;m++)p=f[m],y.hasClass(p)?y.removeClass(p):y.addClass(p);else(a===void 0||b==="boolean")&&(p=Sr(this),p&&ce.set(this,"__className__",p),this.setAttribute&&this.setAttribute("class",p||a===!1?"":ce.get(this,"__className__")||""))}))},hasClass:function(a){var l,f,p=0;for(l=" "+a+" ";f=this[p++];)if(f.nodeType===1&&(" "+wr(Sr(f))+" ").indexOf(l)>-1)return!0;return!1}});var Ro=/\r/g;d.fn.extend({val:function(a){var l,f,p,m=this[0];return arguments.length?(p=F(a),this.each(function(y){var b;this.nodeType===1&&(p?b=a.call(this,y,d(this).val()):b=a,b==null?b="":typeof b=="number"?b+="":Array.isArray(b)&&(b=d.map(b,function(A){return A==null?"":A+""})),l=d.valHooks[this.type]||d.valHooks[this.nodeName.toLowerCase()],(!l||!("set"in l)||l.set(this,b,"value")===void 0)&&(this.value=b))})):m?(l=d.valHooks[m.type]||d.valHooks[m.nodeName.toLowerCase()],l&&"get"in l&&(f=l.get(m,"value"))!==void 0?f:(f=m.value,typeof f=="string"?f.replace(Ro,""):f??"")):void 0}}),d.extend({valHooks:{option:{get:function(a){var l=d.find.attr(a,"value");return l??wr(d.text(a))}},select:{get:function(a){var l,f,p,m=a.options,y=a.selectedIndex,b=a.type==="select-one",A=b?null:[],T=b?y+1:m.length;for(y<0?p=T:p=b?y:0;p<T;p++)if(f=m[p],(f.selected||p===y)&&!f.disabled&&(!f.parentNode.disabled||!le(f.parentNode,"optgroup"))){if(l=d(f).val(),b)return l;A.push(l)}return A},set:function(a,l){for(var f,p,m=a.options,y=d.makeArray(l),b=m.length;b--;)p=m[b],(p.selected=d.inArray(d.valHooks.option.get(p),y)>-1)&&(f=!0);return f||(a.selectedIndex=-1),y}}}}),d.each(["radio","checkbox"],function(){d.valHooks[this]={set:function(a,l){if(Array.isArray(l))return a.checked=d.inArray(d(a).val(),l)>-1}},U.checkOn||(d.valHooks[this].get=function(a){return a.getAttribute("value")===null?"on":a.value})});var Di=t.location,hs={guid:Date.now()},xa=/\?/;d.parseXML=function(a){var l,f;if(!a||typeof a!="string")return null;try{l=new t.DOMParser().parseFromString(a,"text/xml")}catch{}return f=l&&l.getElementsByTagName("parsererror")[0],(!l||f)&&d.error("Invalid XML: "+(f?d.map(f.childNodes,function(p){return p.textContent}).join(`
|
|
140
|
+
`):a)),l};var Oo=/^(?:focusinfocus|focusoutblur)$/,Io=function(a){a.stopPropagation()};d.extend(d.event,{trigger:function(a,l,f,p){var m,y,b,A,T,L,z,G,W=[f||H],te=j.call(a,"type")?a.type:a,ue=j.call(a,"namespace")?a.namespace.split("."):[];if(y=G=b=f=f||H,!(f.nodeType===3||f.nodeType===8)&&!Oo.test(te+d.event.triggered)&&(te.indexOf(".")>-1&&(ue=te.split("."),te=ue.shift(),ue.sort()),T=te.indexOf(":")<0&&"on"+te,a=a[d.expando]?a:new d.Event(te,typeof a=="object"&&a),a.isTrigger=p?2:3,a.namespace=ue.join("."),a.rnamespace=a.namespace?new RegExp("(^|\\.)"+ue.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,a.result=void 0,a.target||(a.target=f),l=l==null?[a]:d.makeArray(l,[a]),z=d.event.special[te]||{},!(!p&&z.trigger&&z.trigger.apply(f,l)===!1))){if(!p&&!z.noBubble&&!ee(f)){for(A=z.delegateType||te,Oo.test(A+te)||(y=y.parentNode);y;y=y.parentNode)W.push(y),b=y;b===(f.ownerDocument||H)&&W.push(b.defaultView||b.parentWindow||t)}for(m=0;(y=W[m++])&&!a.isPropagationStopped();)G=y,a.type=m>1?A:z.bindType||te,L=(ce.get(y,"events")||Object.create(null))[a.type]&&ce.get(y,"handle"),L&&L.apply(y,l),L=T&&y[T],L&&L.apply&&$n(y)&&(a.result=L.apply(y,l),a.result===!1&&a.preventDefault());return a.type=te,!p&&!a.isDefaultPrevented()&&(!z._default||z._default.apply(W.pop(),l)===!1)&&$n(f)&&T&&F(f[te])&&!ee(f)&&(b=f[T],b&&(f[T]=null),d.event.triggered=te,a.isPropagationStopped()&&G.addEventListener(te,Io),f[te](),a.isPropagationStopped()&&G.removeEventListener(te,Io),d.event.triggered=void 0,b&&(f[T]=b)),a.result}},simulate:function(a,l,f){var p=d.extend(new d.Event,f,{type:a,isSimulated:!0});d.event.trigger(p,null,l)}}),d.fn.extend({trigger:function(a,l){return this.each(function(){d.event.trigger(a,l,this)})},triggerHandler:function(a,l){var f=this[0];if(f)return d.event.trigger(a,l,f,!0)}});var Xl=/\[\]$/,ps=/\r?\n/g,Zl=/^(?:submit|button|image|reset|file)$/i,Jl=/^(?:input|select|textarea|keygen)/i;function gs(a,l,f,p){var m;if(Array.isArray(l))d.each(l,function(y,b){f||Xl.test(a)?p(a,b):gs(a+"["+(typeof b=="object"&&b!=null?y:"")+"]",b,f,p)});else if(!f&&me(l)==="object")for(m in l)gs(a+"["+m+"]",l[m],f,p);else p(a,l)}d.param=function(a,l){var f,p=[],m=function(y,b){var A=F(b)?b():b;p[p.length]=encodeURIComponent(y)+"="+encodeURIComponent(A??"")};if(a==null)return"";if(Array.isArray(a)||a.jquery&&!d.isPlainObject(a))d.each(a,function(){m(this.name,this.value)});else for(f in a)gs(f,a[f],l,m);return p.join("&")},d.fn.extend({serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=d.prop(this,"elements");return a?d.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!d(this).is(":disabled")&&Jl.test(this.nodeName)&&!Zl.test(a)&&(this.checked||!_i.test(a))}).map(function(a,l){var f=d(this).val();return f==null?null:Array.isArray(f)?d.map(f,function(p){return{name:l.name,value:p.replace(ps,`\r
|
|
141
|
+
`)}}):{name:l.name,value:f.replace(ps,`\r
|
|
142
|
+
`)}}).get()}});var Ql=/%20/g,ms=/#.*$/,ec=/([?&])_=[^&]*/,tc=/^(.*?):[ \t]*([^\r\n]*)$/mg,nc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,rc=/^(?:GET|HEAD)$/,ic=/^\/\//,rt={},Je={},Po="*/".concat("*"),ys=H.createElement("a");ys.href=Di.href;function No(a){return function(l,f){typeof l!="string"&&(f=l,l="*");var p,m=0,y=l.toLowerCase().match(ln)||[];if(F(f))for(;p=y[m++];)p[0]==="+"?(p=p.slice(1)||"*",(a[p]=a[p]||[]).unshift(f)):(a[p]=a[p]||[]).push(f)}}function Lo(a,l,f,p){var m={},y=a===Je;function b(A){var T;return m[A]=!0,d.each(a[A]||[],function(L,z){var G=z(l,f,p);if(typeof G=="string"&&!y&&!m[G])return l.dataTypes.unshift(G),b(G),!1;if(y)return!(T=G)}),T}return b(l.dataTypes[0])||!m["*"]&&b("*")}function vs(a,l){var f,p,m=d.ajaxSettings.flatOptions||{};for(f in l)l[f]!==void 0&&((m[f]?a:p||(p={}))[f]=l[f]);return p&&d.extend(!0,a,p),a}function ac(a,l,f){for(var p,m,y,b,A=a.contents,T=a.dataTypes;T[0]==="*";)T.shift(),p===void 0&&(p=a.mimeType||l.getResponseHeader("Content-Type"));if(p){for(m in A)if(A[m]&&A[m].test(p)){T.unshift(m);break}}if(T[0]in f)y=T[0];else{for(m in f){if(!T[0]||a.converters[m+" "+T[0]]){y=m;break}b||(b=m)}y=y||b}if(y)return y!==T[0]&&T.unshift(y),f[y]}function $o(a,l,f,p){var m,y,b,A,T,L={},z=a.dataTypes.slice();if(z[1])for(b in a.converters)L[b.toLowerCase()]=a.converters[b];for(y=z.shift();y;)if(a.responseFields[y]&&(f[a.responseFields[y]]=l),!T&&p&&a.dataFilter&&(l=a.dataFilter(l,a.dataType)),T=y,y=z.shift(),y){if(y==="*")y=T;else if(T!=="*"&&T!==y){if(b=L[T+" "+y]||L["* "+y],!b){for(m in L)if(A=m.split(" "),A[1]===y&&(b=L[T+" "+A[0]]||L["* "+A[0]],b)){b===!0?b=L[m]:L[m]!==!0&&(y=A[0],z.unshift(A[1]));break}}if(b!==!0)if(b&&a.throws)l=b(l);else try{l=b(l)}catch(G){return{state:"parsererror",error:b?G:"No conversion from "+T+" to "+y}}}}return{state:"success",data:l}}d.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Di.href,type:"GET",isLocal:nc.test(Di.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Po,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":d.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,l){return l?vs(vs(a,d.ajaxSettings),l):vs(d.ajaxSettings,a)},ajaxPrefilter:No(rt),ajaxTransport:No(Je),ajax:function(a,l){typeof a=="object"&&(l=a,a=void 0),l=l||{};var f,p,m,y,b,A,T,L,z,G,W=d.ajaxSetup({},l),te=W.context||W,ue=W.context&&(te.nodeType||te.jquery)?d(te):d.event,Te=d.Deferred(),De=d.Callbacks("once memory"),Mt=W.statusCode||{},pt={},jn={},Wn="canceled",Le={readyState:0,getResponseHeader:function($e){var et;if(T){if(!y)for(y={};et=tc.exec(m);)y[et[1].toLowerCase()+" "]=(y[et[1].toLowerCase()+" "]||[]).concat(et[2]);et=y[$e.toLowerCase()+" "]}return et==null?null:et.join(", ")},getAllResponseHeaders:function(){return T?m:null},setRequestHeader:function($e,et){return T==null&&($e=jn[$e.toLowerCase()]=jn[$e.toLowerCase()]||$e,pt[$e]=et),this},overrideMimeType:function($e){return T==null&&(W.mimeType=$e),this},statusCode:function($e){var et;if($e)if(T)Le.always($e[Le.status]);else for(et in $e)Mt[et]=[Mt[et],$e[et]];return this},abort:function($e){var et=$e||Wn;return f&&f.abort(et),kr(0,et),this}};if(Te.promise(Le),W.url=((a||W.url||Di.href)+"").replace(ic,Di.protocol+"//"),W.type=l.method||l.type||W.method||W.type,W.dataTypes=(W.dataType||"*").toLowerCase().match(ln)||[""],W.crossDomain==null){A=H.createElement("a");try{A.href=W.url,A.href=A.href,W.crossDomain=ys.protocol+"//"+ys.host!=A.protocol+"//"+A.host}catch{W.crossDomain=!0}}if(W.data&&W.processData&&typeof W.data!="string"&&(W.data=d.param(W.data,W.traditional)),Lo(rt,W,l,Le),T)return Le;L=d.event&&W.global,L&&d.active++===0&&d.event.trigger("ajaxStart"),W.type=W.type.toUpperCase(),W.hasContent=!rc.test(W.type),p=W.url.replace(ms,""),W.hasContent?W.data&&W.processData&&(W.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(W.data=W.data.replace(Ql,"+")):(G=W.url.slice(p.length),W.data&&(W.processData||typeof W.data=="string")&&(p+=(xa.test(p)?"&":"?")+W.data,delete W.data),W.cache===!1&&(p=p.replace(ec,"$1"),G=(xa.test(p)?"&":"?")+"_="+hs.guid+++G),W.url=p+G),W.ifModified&&(d.lastModified[p]&&Le.setRequestHeader("If-Modified-Since",d.lastModified[p]),d.etag[p]&&Le.setRequestHeader("If-None-Match",d.etag[p])),(W.data&&W.hasContent&&W.contentType!==!1||l.contentType)&&Le.setRequestHeader("Content-Type",W.contentType),Le.setRequestHeader("Accept",W.dataTypes[0]&&W.accepts[W.dataTypes[0]]?W.accepts[W.dataTypes[0]]+(W.dataTypes[0]!=="*"?", "+Po+"; q=0.01":""):W.accepts["*"]);for(z in W.headers)Le.setRequestHeader(z,W.headers[z]);if(W.beforeSend&&(W.beforeSend.call(te,Le,W)===!1||T))return Le.abort();if(Wn="abort",De.add(W.complete),Le.done(W.success),Le.fail(W.error),f=Lo(Je,W,l,Le),!f)kr(-1,"No Transport");else{if(Le.readyState=1,L&&ue.trigger("ajaxSend",[Le,W]),T)return Le;W.async&&W.timeout>0&&(b=t.setTimeout(function(){Le.abort("timeout")},W.timeout));try{T=!1,f.send(pt,kr)}catch($e){if(T)throw $e;kr(-1,$e)}}function kr($e,et,qi,Sa){var kn,Gr,pn,ur,Cr,Xt=et;T||(T=!0,b&&t.clearTimeout(b),f=void 0,m=Sa||"",Le.readyState=$e>0?4:0,kn=$e>=200&&$e<300||$e===304,qi&&(ur=ac(W,Le,qi)),!kn&&d.inArray("script",W.dataTypes)>-1&&d.inArray("json",W.dataTypes)<0&&(W.converters["text script"]=function(){}),ur=$o(W,ur,Le,kn),kn?(W.ifModified&&(Cr=Le.getResponseHeader("Last-Modified"),Cr&&(d.lastModified[p]=Cr),Cr=Le.getResponseHeader("etag"),Cr&&(d.etag[p]=Cr)),$e===204||W.type==="HEAD"?Xt="nocontent":$e===304?Xt="notmodified":(Xt=ur.state,Gr=ur.data,pn=ur.error,kn=!pn)):(pn=Xt,($e||!Xt)&&(Xt="error",$e<0&&($e=0))),Le.status=$e,Le.statusText=(et||Xt)+"",kn?Te.resolveWith(te,[Gr,Xt,Le]):Te.rejectWith(te,[Le,Xt,pn]),Le.statusCode(Mt),Mt=void 0,L&&ue.trigger(kn?"ajaxSuccess":"ajaxError",[Le,W,kn?Gr:pn]),De.fireWith(te,[Le,Xt]),L&&(ue.trigger("ajaxComplete",[Le,W]),--d.active||d.event.trigger("ajaxStop")))}return Le},getJSON:function(a,l,f){return d.get(a,l,f,"json")},getScript:function(a,l){return d.get(a,void 0,l,"script")}}),d.each(["get","post"],function(a,l){d[l]=function(f,p,m,y){return F(p)&&(y=y||m,m=p,p=void 0),d.ajax(d.extend({url:f,type:l,dataType:y,data:p,success:m},d.isPlainObject(f)&&f))}}),d.ajaxPrefilter(function(a){var l;for(l in a.headers)l.toLowerCase()==="content-type"&&(a.contentType=a.headers[l]||"")}),d._evalUrl=function(a,l,f){return d.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(p){d.globalEval(p,l,f)}})},d.fn.extend({wrapAll:function(a){var l;return this[0]&&(F(a)&&(a=a.call(this[0])),l=d(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&l.insertBefore(this[0]),l.map(function(){for(var f=this;f.firstElementChild;)f=f.firstElementChild;return f}).append(this)),this},wrapInner:function(a){return F(a)?this.each(function(l){d(this).wrapInner(a.call(this,l))}):this.each(function(){var l=d(this),f=l.contents();f.length?f.wrapAll(a):l.append(a)})},wrap:function(a){var l=F(a);return this.each(function(f){d(this).wrapAll(l?a.call(this,f):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){d(this).replaceWith(this.childNodes)}),this}}),d.expr.pseudos.hidden=function(a){return!d.expr.pseudos.visible(a)},d.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},d.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var sc={0:200,1223:204},ht=d.ajaxSettings.xhr();U.cors=!!ht&&"withCredentials"in ht,U.ajax=ht=!!ht,d.ajaxTransport(function(a){var l,f;if(U.cors||ht&&!a.crossDomain)return{send:function(p,m){var y,b=a.xhr();if(b.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(y in a.xhrFields)b[y]=a.xhrFields[y];a.mimeType&&b.overrideMimeType&&b.overrideMimeType(a.mimeType),!a.crossDomain&&!p["X-Requested-With"]&&(p["X-Requested-With"]="XMLHttpRequest");for(y in p)b.setRequestHeader(y,p[y]);l=function(A){return function(){l&&(l=f=b.onload=b.onerror=b.onabort=b.ontimeout=b.onreadystatechange=null,A==="abort"?b.abort():A==="error"?typeof b.status!="number"?m(0,"error"):m(b.status,b.statusText):m(sc[b.status]||b.status,b.statusText,(b.responseType||"text")!=="text"||typeof b.responseText!="string"?{binary:b.response}:{text:b.responseText},b.getAllResponseHeaders()))}},b.onload=l(),f=b.onerror=b.ontimeout=l("error"),b.onabort!==void 0?b.onabort=f:b.onreadystatechange=function(){b.readyState===4&&t.setTimeout(function(){l&&f()})},l=l("abort");try{b.send(a.hasContent&&a.data||null)}catch(A){if(l)throw A}},abort:function(){l&&l()}}}),d.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return d.globalEval(a),a}}}),d.ajaxPrefilter("script",function(a){a.cache===void 0&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),d.ajaxTransport("script",function(a){if(a.crossDomain||a.scriptAttrs){var l,f;return{send:function(p,m){l=d("<script>").attr(a.scriptAttrs||{}).prop({charset:a.scriptCharset,src:a.url}).on("load error",f=function(y){l.remove(),f=null,y&&m(y.type==="error"?404:200,y.type)}),H.head.appendChild(l[0])},abort:function(){f&&f()}}}});var wa=[],or=/(=)\?(?=&|$)|\?\?/;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=wa.pop()||d.expando+"_"+hs.guid++;return this[a]=!0,a}}),d.ajaxPrefilter("json jsonp",function(a,l,f){var p,m,y,b=a.jsonp!==!1&&(or.test(a.url)?"url":typeof a.data=="string"&&(a.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&or.test(a.data)&&"data");if(b||a.dataTypes[0]==="jsonp")return p=a.jsonpCallback=F(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,b?a[b]=a[b].replace(or,"$1"+p):a.jsonp!==!1&&(a.url+=(xa.test(a.url)?"&":"?")+a.jsonp+"="+p),a.converters["script json"]=function(){return y||d.error(p+" was not called"),y[0]},a.dataTypes[0]="json",m=t[p],t[p]=function(){y=arguments},f.always(function(){m===void 0?d(t).removeProp(p):t[p]=m,a[p]&&(a.jsonpCallback=l.jsonpCallback,wa.push(p)),y&&F(m)&&m(y[0]),y=m=void 0}),"script"}),U.createHTMLDocument=function(){var a=H.implementation.createHTMLDocument("").body;return a.innerHTML="<form></form><form></form>",a.childNodes.length===2}(),d.parseHTML=function(a,l,f){if(typeof a!="string")return[];typeof l=="boolean"&&(f=l,l=!1);var p,m,y;return l||(U.createHTMLDocument?(l=H.implementation.createHTMLDocument(""),p=l.createElement("base"),p.href=H.location.href,l.head.appendChild(p)):l=H),m=_t.exec(a),y=!f&&[],m?[l.createElement(m[1])]:(m=go([a],l,y),y&&y.length&&d(y).remove(),d.merge([],m.childNodes))},d.fn.load=function(a,l,f){var p,m,y,b=this,A=a.indexOf(" ");return A>-1&&(p=wr(a.slice(A)),a=a.slice(0,A)),F(l)?(f=l,l=void 0):l&&typeof l=="object"&&(m="POST"),b.length>0&&d.ajax({url:a,type:m||"GET",dataType:"html",data:l}).done(function(T){y=arguments,b.html(p?d("<div>").append(d.parseHTML(T)).find(p):T)}).always(f&&function(T,L){b.each(function(){f.apply(this,y||[T.responseText,L,T])})}),this},d.expr.pseudos.animated=function(a){return d.grep(d.timers,function(l){return a===l.elem}).length},d.offset={setOffset:function(a,l,f){var p,m,y,b,A,T,L,z=d.css(a,"position"),G=d(a),W={};z==="static"&&(a.style.position="relative"),A=G.offset(),y=d.css(a,"top"),T=d.css(a,"left"),L=(z==="absolute"||z==="fixed")&&(y+T).indexOf("auto")>-1,L?(p=G.position(),b=p.top,m=p.left):(b=parseFloat(y)||0,m=parseFloat(T)||0),F(l)&&(l=l.call(a,f,d.extend({},A))),l.top!=null&&(W.top=l.top-A.top+b),l.left!=null&&(W.left=l.left-A.left+m),"using"in l?l.using.call(a,W):G.css(W)}},d.fn.extend({offset:function(a){if(arguments.length)return a===void 0?this:this.each(function(m){d.offset.setOffset(this,a,m)});var l,f,p=this[0];if(p)return p.getClientRects().length?(l=p.getBoundingClientRect(),f=p.ownerDocument.defaultView,{top:l.top+f.pageYOffset,left:l.left+f.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var a,l,f,p=this[0],m={top:0,left:0};if(d.css(p,"position")==="fixed")l=p.getBoundingClientRect();else{for(l=this.offset(),f=p.ownerDocument,a=p.offsetParent||f.documentElement;a&&(a===f.body||a===f.documentElement)&&d.css(a,"position")==="static";)a=a.parentNode;a&&a!==p&&a.nodeType===1&&(m=d(a).offset(),m.top+=d.css(a,"borderTopWidth",!0),m.left+=d.css(a,"borderLeftWidth",!0))}return{top:l.top-m.top-d.css(p,"marginTop",!0),left:l.left-m.left-d.css(p,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent;a&&d.css(a,"position")==="static";)a=a.offsetParent;return a||sr})}}),d.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,l){var f=l==="pageYOffset";d.fn[a]=function(p){return cn(this,function(m,y,b){var A;if(ee(m)?A=m:m.nodeType===9&&(A=m.defaultView),b===void 0)return A?A[l]:m[y];A?A.scrollTo(f?A.pageXOffset:b,f?b:A.pageYOffset):m[y]=b},a,p,arguments.length)}}),d.each(["top","left"],function(a,l){d.cssHooks[l]=Ui(U.pixelPosition,function(f,p){if(p)return p=Hi(f,l),rs.test(p)?d(f).position()[l]+"px":p})}),d.each({Height:"height",Width:"width"},function(a,l){d.each({padding:"inner"+a,content:l,"":"outer"+a},function(f,p){d.fn[p]=function(m,y){var b=arguments.length&&(f||typeof m!="boolean"),A=f||(m===!0||y===!0?"margin":"border");return cn(this,function(T,L,z){var G;return ee(T)?p.indexOf("outer")===0?T["inner"+a]:T.document.documentElement["client"+a]:T.nodeType===9?(G=T.documentElement,Math.max(T.body["scroll"+a],G["scroll"+a],T.body["offset"+a],G["offset"+a],G["client"+a])):z===void 0?d.css(T,L,A):d.style(T,L,z,A)},l,b?m:void 0,b)}})}),d.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,l){d.fn[l]=function(f){return this.on(l,f)}}),d.fn.extend({bind:function(a,l,f){return this.on(a,null,l,f)},unbind:function(a,l){return this.off(a,null,l)},delegate:function(a,l,f,p){return this.on(l,a,f,p)},undelegate:function(a,l,f){return arguments.length===1?this.off(a,"**"):this.off(l,a||"**",f)},hover:function(a,l){return this.on("mouseenter",a).on("mouseleave",l||a)}}),d.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(a,l){d.fn[l]=function(f,p){return arguments.length>0?this.on(l,null,f,p):this.trigger(l)}});var Fo=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;d.proxy=function(a,l){var f,p,m;if(typeof l=="string"&&(f=a[l],l=a,a=f),!!F(a))return p=c.call(arguments,2),m=function(){return a.apply(l||this,p.concat(c.call(arguments)))},m.guid=a.guid=a.guid||d.guid++,m},d.holdReady=function(a){a?d.readyWait++:d.ready(!0)},d.isArray=Array.isArray,d.parseJSON=JSON.parse,d.nodeName=le,d.isFunction=F,d.isWindow=ee,d.camelCase=Lt,d.type=me,d.now=Date.now,d.isNumeric=function(a){var l=d.type(a);return(l==="number"||l==="string")&&!isNaN(a-parseFloat(a))},d.trim=function(a){return a==null?"":(a+"").replace(Fo,"$1")};var bs=t.jQuery,hn=t.$;return d.noConflict=function(a){return t.$===d&&(t.$=hn),a&&t.jQuery===d&&(t.jQuery=bs),d},typeof r>"u"&&(t.jQuery=t.$=d),d})})(m0);var y0=m0.exports;const lA=D.getDefaultExportFromCjs(y0);var cA={exports:{}};const fA=D.getAugmentedNamespace(rD);/**
|
|
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,r){if(e.exports){var s=typeof window<"u"?window.jQuery:void 0;s||(s=y0,s.fn||(s.fn={}));var o=typeof window<"u"&&typeof window.moment<"u"?window.moment:fA;e.exports=r(o,s)}else t.daterangepicker=r(t.moment,t.jQuery)})(D.commonjsGlobal,function(t,r){var s=function(o,c,g){if(this.parentEl="body",this.element=r(o),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 c!="object"||c===null)&&(c={}),c=r.extend(this.element.data(),c),typeof c.template!="string"&&!(c.template instanceof r)&&(c.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=c.parentEl&&r(c.parentEl).length?r(c.parentEl):r(this.parentEl),this.container=r(c.template).appendTo(this.parentEl),typeof c.locale=="object"&&(typeof c.locale.direction=="string"&&(this.locale.direction=c.locale.direction),typeof c.locale.format=="string"&&(this.locale.format=c.locale.format),typeof c.locale.separator=="string"&&(this.locale.separator=c.locale.separator),typeof c.locale.daysOfWeek=="object"&&(this.locale.daysOfWeek=c.locale.daysOfWeek.slice()),typeof c.locale.monthNames=="object"&&(this.locale.monthNames=c.locale.monthNames.slice()),typeof c.locale.firstDay=="number"&&(this.locale.firstDay=c.locale.firstDay),typeof c.locale.applyLabel=="string"&&(this.locale.applyLabel=c.locale.applyLabel),typeof c.locale.cancelLabel=="string"&&(this.locale.cancelLabel=c.locale.cancelLabel),typeof c.locale.weekLabel=="string"&&(this.locale.weekLabel=c.locale.weekLabel),typeof c.locale.customRangeLabel=="string")){var x=document.createElement("textarea");x.innerHTML=c.locale.customRangeLabel;var k=x.value;this.locale.customRangeLabel=k}if(this.container.addClass(this.locale.direction),typeof c.startDate=="string"&&(this.startDate=t(c.startDate,this.locale.format)),typeof c.endDate=="string"&&(this.endDate=t(c.endDate,this.locale.format)),typeof c.minDate=="string"&&(this.minDate=t(c.minDate,this.locale.format)),typeof c.maxDate=="string"&&(this.maxDate=t(c.maxDate,this.locale.format)),typeof c.startDate=="object"&&(this.startDate=t(c.startDate)),typeof c.endDate=="object"&&(this.endDate=t(c.endDate)),typeof c.minDate=="object"&&(this.minDate=t(c.minDate)),typeof c.maxDate=="object"&&(this.maxDate=t(c.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 c.applyButtonClasses=="string"&&(this.applyButtonClasses=c.applyButtonClasses),typeof c.applyClass=="string"&&(this.applyButtonClasses=c.applyClass),typeof c.cancelButtonClasses=="string"&&(this.cancelButtonClasses=c.cancelButtonClasses),typeof c.cancelClass=="string"&&(this.cancelButtonClasses=c.cancelClass),typeof c.maxSpan=="object"&&(this.maxSpan=c.maxSpan),typeof c.dateLimit=="object"&&(this.maxSpan=c.dateLimit),typeof c.opens=="string"&&(this.opens=c.opens),typeof c.drops=="string"&&(this.drops=c.drops),typeof c.showWeekNumbers=="boolean"&&(this.showWeekNumbers=c.showWeekNumbers),typeof c.showISOWeekNumbers=="boolean"&&(this.showISOWeekNumbers=c.showISOWeekNumbers),typeof c.buttonClasses=="string"&&(this.buttonClasses=c.buttonClasses),typeof c.buttonClasses=="object"&&(this.buttonClasses=c.buttonClasses.join(" ")),typeof c.showDropdowns=="boolean"&&(this.showDropdowns=c.showDropdowns),typeof c.minYear=="number"&&(this.minYear=c.minYear),typeof c.maxYear=="number"&&(this.maxYear=c.maxYear),typeof c.showCustomRangeLabel=="boolean"&&(this.showCustomRangeLabel=c.showCustomRangeLabel),typeof c.singleDatePicker=="boolean"&&(this.singleDatePicker=c.singleDatePicker,this.singleDatePicker&&(this.endDate=this.startDate.clone())),typeof c.timePicker=="boolean"&&(this.timePicker=c.timePicker),typeof c.timePickerSeconds=="boolean"&&(this.timePickerSeconds=c.timePickerSeconds),typeof c.timePickerIncrement=="number"&&(this.timePickerIncrement=c.timePickerIncrement),typeof c.timePicker24Hour=="boolean"&&(this.timePicker24Hour=c.timePicker24Hour),typeof c.autoApply=="boolean"&&(this.autoApply=c.autoApply),typeof c.autoUpdateInput=="boolean"&&(this.autoUpdateInput=c.autoUpdateInput),typeof c.linkedCalendars=="boolean"&&(this.linkedCalendars=c.linkedCalendars),typeof c.isInvalidDate=="function"&&(this.isInvalidDate=c.isInvalidDate),typeof c.isCustomDate=="function"&&(this.isCustomDate=c.isCustomDate),typeof c.alwaysShowCalendars=="boolean"&&(this.alwaysShowCalendars=c.alwaysShowCalendars),this.locale.firstDay!=0)for(var E=this.locale.firstDay;E>0;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),E--;var P,j,B;if(typeof c.startDate>"u"&&typeof c.endDate>"u"&&r(this.element).is(":text")){var V=r(this.element).val(),U=V.split(this.locale.separator);P=j=null,U.length==2?(P=t(U[0],this.locale.format),j=t(U[1],this.locale.format)):this.singleDatePicker&&V!==""&&(P=t(V,this.locale.format),j=t(V,this.locale.format)),P!==null&&j!==null&&(this.setStartDate(P),this.setEndDate(j))}if(typeof c.ranges=="object"){for(B in c.ranges){typeof c.ranges[B][0]=="string"?P=t(c.ranges[B][0],this.locale.format):P=t(c.ranges[B][0]),typeof c.ranges[B][1]=="string"?j=t(c.ranges[B][1],this.locale.format):j=t(c.ranges[B][1]),this.minDate&&P.isBefore(this.minDate)&&(P=this.minDate.clone());var F=this.maxDate;if(this.maxSpan&&F&&P.clone().add(this.maxSpan).isAfter(F)&&(F=P.clone().add(this.maxSpan)),F&&j.isAfter(F)&&(j=F.clone()),!(this.minDate&&j.isBefore(this.minDate,this.timepicker?"minute":"day")||F&&P.isAfter(F,this.timepicker?"minute":"day"))){var x=document.createElement("textarea");x.innerHTML=B;var k=x.value;this.ranges[k]=[P,j]}}var ee="<ul>";for(B in this.ranges)ee+='<li data-range-key="'+B+'">'+B+"</li>";this.showCustomRangeLabel&&(ee+='<li data-range-key="'+this.locale.customRangeLabel+'">'+this.locale.customRangeLabel+"</li>"),ee+="</ul>",this.container.find(".ranges").prepend(ee)}typeof g=="function"&&(this.callback=g),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 c.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 c.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",r.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",r.proxy(this.clickNext,this)).on("mousedown.daterangepicker","td.available",r.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",r.proxy(this.hoverDate,this)).on("change.daterangepicker","select.yearselect",r.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.monthselect",r.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",r.proxy(this.timeChanged,this)),this.container.find(".ranges").on("click.daterangepicker","li",r.proxy(this.clickRange,this)),this.container.find(".drp-buttons").on("click.daterangepicker","button.applyBtn",r.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",r.proxy(this.clickCancel,this)),this.element.is("input")||this.element.is("button")?this.element.on({"click.daterangepicker":r.proxy(this.show,this),"focus.daterangepicker":r.proxy(this.show,this),"keyup.daterangepicker":r.proxy(this.elementChanged,this),"keydown.daterangepicker":r.proxy(this.keydown,this)}):(this.element.on("click.daterangepicker",r.proxy(this.toggle,this)),this.element.on("keydown.daterangepicker",r.proxy(this.toggle,this))),this.updateElement()};return s.prototype={constructor:s,setStartDate:function(o){typeof o=="string"&&(this.startDate=t(o,this.locale.format)),typeof o=="object"&&(this.startDate=t(o)),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(o){typeof o=="string"&&(this.endDate=t(o,this.locale.format)),typeof o=="object"&&(this.endDate=t(o)),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 o,c,g;if(this.endDate){if(o=parseInt(this.container.find(".left .hourselect").val(),10),c=parseInt(this.container.find(".left .minuteselect").val(),10),isNaN(c)&&(c=parseInt(this.container.find(".left .minuteselect option:last").val(),10)),g=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,!this.timePicker24Hour){var x=this.container.find(".left .ampmselect").val();x==="PM"&&o<12&&(o+=12),x==="AM"&&o===12&&(o=0)}}else if(o=parseInt(this.container.find(".right .hourselect").val(),10),c=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(c)&&(c=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),g=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,!this.timePicker24Hour){var x=this.container.find(".right .ampmselect").val();x==="PM"&&o<12&&(o+=12),x==="AM"&&o===12&&(o=0)}this.leftCalendar.month.hour(o).minute(c).second(g),this.rightCalendar.month.hour(o).minute(c).second(g)}this.renderCalendar("left"),this.renderCalendar("right"),this.container.find(".ranges li").removeClass("active"),this.endDate!=null&&this.calculateChosenLabel()},renderCalendar:function(o){var H=o=="left"?this.leftCalendar:this.rightCalendar,c=H.month.month(),g=H.month.year(),x=H.month.hour(),k=H.month.minute(),E=H.month.second(),P=t([g,c]).daysInMonth(),j=t([g,c,1]),B=t([g,c,P]),V=t(j).subtract(1,"month").month(),U=t(j).subtract(1,"month").year(),F=t([U,V]).daysInMonth(),ee=j.day(),H=[];H.firstDay=j,H.lastDay=B;for(var pe=0;pe<6;pe++)H[pe]=[];var ge=F-ee+this.locale.firstDay+1;ge>F&&(ge-=7),ee==this.locale.firstDay&&(ge=F-6);for(var me=t([U,V,ge,12,k,E]),re,ie,pe=0,re=0,ie=0;pe<42;pe++,re++,me=t(me).add(24,"hour"))pe>0&&re%7===0&&(re=0,ie++),H[ie][re]=me.clone().hour(x).minute(k).second(E),me.hour(12),this.minDate&&H[ie][re].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&H[ie][re].isBefore(this.minDate)&&o=="left"&&(H[ie][re]=this.minDate.clone()),this.maxDate&&H[ie][re].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&H[ie][re].isAfter(this.maxDate)&&o=="right"&&(H[ie][re]=this.maxDate.clone());o=="left"?this.leftCalendar.calendar=H:this.rightCalendar.calendar=H;var d=o=="left"?this.minDate:this.startDate,Ne=this.maxDate;o=="left"?this.startDate:this.endDate,this.locale.direction=="ltr";var le='<table class="table-condensed">';le+="<thead>",le+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(le+="<th></th>"),(!d||d.isBefore(H.firstDay))&&(!this.linkedCalendars||o=="left")?le+='<th class="prev available"><span></span></th>':le+="<th></th>";var at=this.locale.monthNames[H[1][1].month()]+H[1][1].format(" YYYY");if(this.showDropdowns){for(var He=H[1][1].month(),Ze=H[1][1].year(),xe=Ne&&Ne.year()||this.maxYear,st=d&&d.year()||this.minYear,bt=Ze==st,Tt=Ze==xe,qe='<select class="monthselect">',Fe=0;Fe<12;Fe++)(!bt||d&&Fe>=d.month())&&(!Tt||Ne&&Fe<=Ne.month())?qe+="<option value='"+Fe+"'"+(Fe===He?" selected='selected'":"")+">"+this.locale.monthNames[Fe]+"</option>":qe+="<option value='"+Fe+"'"+(Fe===He?" selected='selected'":"")+" disabled='disabled'>"+this.locale.monthNames[Fe]+"</option>";qe+="</select>";for(var ct='<select class="yearselect">',Et=st;Et<=xe;Et++)ct+='<option value="'+Et+'"'+(Et===Ze?' selected="selected"':"")+">"+Et+"</option>";ct+="</select>",at=qe+ct}if(le+='<th colspan="5" class="month">'+at+"</th>",(!Ne||Ne.isAfter(H.lastDay))&&(!this.linkedCalendars||o=="right"||this.singleDatePicker)?le+='<th class="next available"><span></span></th>':le+="<th></th>",le+="</tr>",le+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(le+='<th class="week">'+this.locale.weekLabel+"</th>"),r.each(this.locale.daysOfWeek,function(ir,ji){le+="<th>"+ji+"</th>"}),le+="</tr>",le+="</thead>",le+="<tbody>",this.endDate==null&&this.maxSpan){var Pt=this.startDate.clone().add(this.maxSpan).endOf("day");(!Ne||Pt.isBefore(Ne))&&(Ne=Pt)}for(var ie=0;ie<6;ie++){le+="<tr>",this.showWeekNumbers?le+='<td class="week">'+H[ie][0].week()+"</td>":this.showISOWeekNumbers&&(le+='<td class="week">'+H[ie][0].isoWeek()+"</td>");for(var re=0;re<7;re++){var _t=[];H[ie][re].isSame(new Date,"day")&&_t.push("today"),H[ie][re].isoWeekday()>5&&_t.push("weekend"),H[ie][re].month()!=H[1][1].month()&&_t.push("off","ends"),this.minDate&&H[ie][re].isBefore(this.minDate,"day")&&_t.push("off","disabled"),Ne&&H[ie][re].isAfter(Ne,"day")&&_t.push("off","disabled"),this.isInvalidDate(H[ie][re])&&_t.push("off","disabled"),H[ie][re].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&_t.push("active","start-date"),this.endDate!=null&&H[ie][re].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&_t.push("active","end-date"),this.endDate!=null&&H[ie][re]>this.startDate&&H[ie][re]<this.endDate&&_t.push("in-range");var Ln=this.isCustomDate(H[ie][re]);Ln!==!1&&(typeof Ln=="string"?_t.push(Ln):Array.prototype.push.apply(_t,Ln));for(var qt="",zt=!1,pe=0;pe<_t.length;pe++)qt+=_t[pe]+" ",_t[pe]=="disabled"&&(zt=!0);zt||(qt+="available"),le+='<td class="'+qt.replace(/^\s+|\s+$/g,"")+'" data-title="r'+ie+"c"+re+'">'+H[ie][re].date()+"</td>"}le+="</tr>"}le+="</tbody>",le+="</table>",this.container.find(".drp-calendar."+o+" .calendar-table").html(le)},renderTimePicker:function(o){if(!(o=="right"&&!this.endDate)){var c,g,x,k=this.maxDate;if(this.maxSpan&&(!this.maxDate||this.startDate.clone().add(this.maxSpan).isBefore(this.maxDate))&&(k=this.startDate.clone().add(this.maxSpan)),o=="left")g=this.startDate.clone(),x=this.minDate;else if(o=="right"){g=this.endDate.clone(),x=this.startDate;var E=this.container.find(".drp-calendar.right .calendar-time");if(E.html()!=""&&(g.hour(isNaN(g.hour())?E.find(".hourselect option:selected").val():g.hour()),g.minute(isNaN(g.minute())?E.find(".minuteselect option:selected").val():g.minute()),g.second(isNaN(g.second())?E.find(".secondselect option:selected").val():g.second()),!this.timePicker24Hour)){var P=E.find(".ampmselect option:selected").val();P==="PM"&&g.hour()<12&&g.hour(g.hour()+12),P==="AM"&&g.hour()===12&&g.hour(0)}g.isBefore(this.startDate)&&(g=this.startDate.clone()),k&&g.isAfter(k)&&(g=k.clone())}c='<select class="hourselect">';for(var j=this.timePicker24Hour?0:1,B=this.timePicker24Hour?23:12,V=j;V<=B;V++){var U=V;this.timePicker24Hour||(U=g.hour()>=12?V==12?12:V+12:V==12?0:V);var F=g.clone().hour(U),ee=!1;x&&F.minute(59).isBefore(x)&&(ee=!0),k&&F.minute(0).isAfter(k)&&(ee=!0),U==g.hour()&&!ee?c+='<option value="'+V+'" selected="selected">'+V+"</option>":ee?c+='<option value="'+V+'" disabled="disabled" class="disabled">'+V+"</option>":c+='<option value="'+V+'">'+V+"</option>"}c+="</select> ",c+=': <select class="minuteselect">';for(var V=0;V<60;V+=this.timePickerIncrement){var H=V<10?"0"+V:V,F=g.clone().minute(V),ee=!1;x&&F.second(59).isBefore(x)&&(ee=!0),k&&F.second(0).isAfter(k)&&(ee=!0),g.minute()==V&&!ee?c+='<option value="'+V+'" selected="selected">'+H+"</option>":ee?c+='<option value="'+V+'" disabled="disabled" class="disabled">'+H+"</option>":c+='<option value="'+V+'">'+H+"</option>"}if(c+="</select> ",this.timePickerSeconds){c+=': <select class="secondselect">';for(var V=0;V<60;V++){var H=V<10?"0"+V:V,F=g.clone().second(V),ee=!1;x&&F.isBefore(x)&&(ee=!0),k&&F.isAfter(k)&&(ee=!0),g.second()==V&&!ee?c+='<option value="'+V+'" selected="selected">'+H+"</option>":ee?c+='<option value="'+V+'" disabled="disabled" class="disabled">'+H+"</option>":c+='<option value="'+V+'">'+H+"</option>"}c+="</select> "}if(!this.timePicker24Hour){c+='<select class="ampmselect">';var pe="",ge="";x&&g.clone().hour(12).minute(0).second(0).isBefore(x)&&(pe=' disabled="disabled" class="disabled"'),k&&g.clone().hour(0).minute(0).second(0).isAfter(k)&&(ge=' disabled="disabled" class="disabled"'),g.hour()>=12?c+='<option value="AM"'+pe+'>AM</option><option value="PM" selected="selected"'+ge+">PM</option>":c+='<option value="AM" selected="selected"'+pe+'>AM</option><option value="PM"'+ge+">PM</option>",c+="</select>"}this.container.find(".drp-calendar."+o+" .calendar-time").html(c)}},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 o={top:0,left:0},c,g=this.drops,x=r(window).width();switch(this.parentEl.is("body")||(o={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},x=this.parentEl[0].clientWidth+this.parentEl.offset().left),g){case"auto":c=this.element.offset().top+this.element.outerHeight()-o.top,c+this.container.outerHeight()>=this.parentEl[0].scrollHeight&&(c=this.element.offset().top-this.container.outerHeight()-o.top,g="up");break;case"up":c=this.element.offset().top-this.container.outerHeight()-o.top;break;default:c=this.element.offset().top+this.element.outerHeight()-o.top;break}this.container.css({top:0,left:0,right:"auto"});var k=this.container.outerWidth();if(this.container.toggleClass("drop-up",g=="up"),this.opens=="left"){var E=x-this.element.offset().left-this.element.outerWidth();k+E>r(window).width()?this.container.css({top:c,right:"auto",left:9}):this.container.css({top:c,right:E,left:"auto"})}else if(this.opens=="center"){var P=this.element.offset().left-o.left+this.element.outerWidth()/2-k/2;P<0?this.container.css({top:c,right:"auto",left:9}):P+k>r(window).width()?this.container.css({top:c,left:"auto",right:0}):this.container.css({top:c,left:P,right:"auto"})}else{var P=this.element.offset().left-o.left;P+k>r(window).width()?this.container.css({top:c,left:"auto",right:0}):this.container.css({top:c,left:P,right:"auto"})}},show:function(o){this.isShowing||(this._outsideClickProxy=r.proxy(function(c){this.outsideClick(c)},this),r(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),r(window).on("resize.daterangepicker",r.proxy(function(c){this.move(c)},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(o){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(),r(document).off(".daterangepicker"),r(window).off(".daterangepicker"),this.container.hide(),this.element.trigger("hide.daterangepicker",this),this.isShowing=!1)},toggle:function(o){this.isShowing?this.hide():this.show()},outsideClick:function(o){var c=r(o.target);o.type=="focusin"||c.closest(this.element).length||c.closest(this.container).length||c.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(o){var c=o.target.getAttribute("data-range-key");if(this.chosenLabel=c,c==this.locale.customRangeLabel)this.showCalendars();else{var g=this.ranges[c];this.startDate=g[0],this.endDate=g[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.alwaysShowCalendars||this.hideCalendars(),this.clickApply()}},clickPrev:function(o){var c=r(o.target).parents(".drp-calendar");c.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(o){var c=r(o.target).parents(".drp-calendar");c.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(o){if(r(o.target).hasClass("available")){var c=r(o.target).attr("data-title"),g=c.substr(1,1),x=c.substr(3,1),k=r(o.target).parents(".drp-calendar"),E=k.hasClass("left")?this.leftCalendar.calendar[g][x]:this.rightCalendar.calendar[g][x],P=this.leftCalendar,j=this.rightCalendar,B=this.startDate;this.endDate||this.container.find(".drp-calendar tbody td").each(function(V,U){if(!r(U).hasClass("week")){var F=r(U).attr("data-title"),ee=F.substr(1,1),H=F.substr(3,1),pe=r(U).parents(".drp-calendar"),ge=pe.hasClass("left")?P.calendar[ee][H]:j.calendar[ee][H];ge.isAfter(B)&&ge.isBefore(E)||ge.isSame(E,"day")?r(U).addClass("in-range"):r(U).removeClass("in-range")}})}},clickDate:function(o){if(r(o.target).hasClass("available")){var c=r(o.target).attr("data-title"),g=c.substr(1,1),x=c.substr(3,1),k=r(o.target).parents(".drp-calendar"),E=k.hasClass("left")?this.leftCalendar.calendar[g][x]:this.rightCalendar.calendar[g][x];if(this.endDate||E.isBefore(this.startDate,"day")){if(this.timePicker){var P=parseInt(this.container.find(".left .hourselect").val(),10);if(!this.timePicker24Hour){var j=this.container.find(".left .ampmselect").val();j==="PM"&&P<12&&(P+=12),j==="AM"&&P===12&&(P=0)}var B=parseInt(this.container.find(".left .minuteselect").val(),10);isNaN(B)&&(B=parseInt(this.container.find(".left .minuteselect option:last").val(),10));var V=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0;E=E.clone().hour(P).minute(B).second(V)}this.endDate=null,this.setStartDate(E.clone())}else if(!this.endDate&&E.isBefore(this.startDate))this.setEndDate(this.startDate.clone());else{if(this.timePicker){var P=parseInt(this.container.find(".right .hourselect").val(),10);if(!this.timePicker24Hour){var j=this.container.find(".right .ampmselect").val();j==="PM"&&P<12&&(P+=12),j==="AM"&&P===12&&(P=0)}var B=parseInt(this.container.find(".right .minuteselect").val(),10);isNaN(B)&&(B=parseInt(this.container.find(".right .minuteselect option:last").val(),10));var V=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0;E=E.clone().hour(P).minute(B).second(V)}this.setEndDate(E.clone()),this.autoApply&&(this.calculateChosenLabel(),this.clickApply())}this.singleDatePicker&&(this.setEndDate(this.startDate),!this.timePicker&&this.autoApply&&this.clickApply()),this.updateView(),o.stopPropagation()}},calculateChosenLabel:function(){var o=!0,c=0;for(var g in this.ranges){if(this.timePicker){var x=this.timePickerSeconds?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD HH:mm";if(this.startDate.format(x)==this.ranges[g][0].format(x)&&this.endDate.format(x)==this.ranges[g][1].format(x)){o=!1,this.chosenLabel=this.container.find(".ranges li:eq("+c+")").addClass("active").attr("data-range-key");break}}else if(this.startDate.format("YYYY-MM-DD")==this.ranges[g][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[g][1].format("YYYY-MM-DD")){o=!1,this.chosenLabel=this.container.find(".ranges li:eq("+c+")").addClass("active").attr("data-range-key");break}c++}o&&(this.showCustomRangeLabel?this.chosenLabel=this.container.find(".ranges li:last").addClass("active").attr("data-range-key"):this.chosenLabel=null,this.showCalendars())},clickApply:function(o){this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(o){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.hide(),this.element.trigger("cancel.daterangepicker",this)},monthOrYearChanged:function(o){var c=r(o.target).closest(".drp-calendar").hasClass("left"),g=c?"left":"right",x=this.container.find(".drp-calendar."+g),k=parseInt(x.find(".monthselect").val(),10),E=x.find(".yearselect").val();c||(E<this.startDate.year()||E==this.startDate.year()&&k<this.startDate.month())&&(k=this.startDate.month(),E=this.startDate.year()),this.minDate&&(E<this.minDate.year()||E==this.minDate.year()&&k<this.minDate.month())&&(k=this.minDate.month(),E=this.minDate.year()),this.maxDate&&(E>this.maxDate.year()||E==this.maxDate.year()&&k>this.maxDate.month())&&(k=this.maxDate.month(),E=this.maxDate.year()),c?(this.leftCalendar.month.month(k).year(E),this.linkedCalendars&&(this.rightCalendar.month=this.leftCalendar.month.clone().add(1,"month"))):(this.rightCalendar.month.month(k).year(E),this.linkedCalendars&&(this.leftCalendar.month=this.rightCalendar.month.clone().subtract(1,"month"))),this.updateCalendars()},timeChanged:function(o){var c=r(o.target).closest(".drp-calendar"),g=c.hasClass("left"),x=parseInt(c.find(".hourselect").val(),10),k=parseInt(c.find(".minuteselect").val(),10);isNaN(k)&&(k=parseInt(c.find(".minuteselect option:last").val(),10));var E=this.timePickerSeconds?parseInt(c.find(".secondselect").val(),10):0;if(!this.timePicker24Hour){var P=c.find(".ampmselect").val();P==="PM"&&x<12&&(x+=12),P==="AM"&&x===12&&(x=0)}if(g){var j=this.startDate.clone();j.hour(x),j.minute(k),j.second(E),this.setStartDate(j),this.singleDatePicker?this.endDate=this.startDate.clone():this.endDate&&this.endDate.format("YYYY-MM-DD")==j.format("YYYY-MM-DD")&&this.endDate.isBefore(j)&&this.setEndDate(j.clone())}else if(this.endDate){var B=this.endDate.clone();B.hour(x),B.minute(k),B.second(E),this.setEndDate(B)}this.updateCalendars(),this.updateFormInputs(),this.renderTimePicker("left"),this.renderTimePicker("right")},elementChanged:function(){if(this.element.is("input")&&this.element.val().length){var o=this.element.val().split(this.locale.separator),c=null,g=null;o.length===2&&(c=t(o[0],this.locale.format),g=t(o[1],this.locale.format)),(this.singleDatePicker||c===null||g===null)&&(c=t(this.element.val(),this.locale.format),g=c),!(!c.isValid()||!g.isValid())&&(this.setStartDate(c),this.setEndDate(g),this.updateView())}},keydown:function(o){(o.keyCode===9||o.keyCode===13)&&this.hide(),o.keyCode===27&&(o.preventDefault(),o.stopPropagation(),this.hide())},updateElement:function(){if(this.element.is("input")&&this.autoUpdateInput){var o=this.startDate.format(this.locale.format);this.singleDatePicker||(o+=this.locale.separator+this.endDate.format(this.locale.format)),o!==this.element.val()&&this.element.val(o).trigger("change")}},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData()}},r.fn.daterangepicker=function(o,c){var g=r.extend(!0,{},r.fn.daterangepicker.defaultOptions,o);return this.each(function(){var x=r(this);x.data("daterangepicker")&&x.data("daterangepicker").remove(),x.data("daterangepicker",new s(x,g,c))}),this},s})})(cA);var Nf=function(e,t){return Nf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,s){r.__proto__=s}||function(r,s){for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(r[o]=s[o])},Nf(e,t)};function dA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Nf(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}(function(e){dA(t,e);function t(r){var s=e.call(this,r)||this;return s.ref=null,s.$picker=null,s}return t.prototype.componentDidMount=function(){var r=this;this.$picker=lA(this.ref),this.$picker.daterangepicker(this.props.initialSettings,this.handleCallback.bind(this)),["Show","Hide","ShowCalendar","HideCalendar","Apply","Cancel"].forEach(function(s){var o,c=s.charAt(0).toLowerCase()+s.slice(1);(o=r.$picker)===null||o===void 0||o.on(c+".daterangepicker",r.makeEventHandler("on"+s))})},t.prototype.componentWillUnmount=function(){var r,s;(s=(r=this.$picker)===null||r===void 0?void 0:r.data("daterangepicker"))===null||s===void 0||s.remove()},t.prototype.handleCallback=function(){for(var r,s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];typeof this.props.onCallback=="function"&&(r=this.props).onCallback.apply(r,s)},t.prototype.makeEventHandler=function(r){var s=this,o=this.props.onEvent;return function(c,g){typeof o=="function"&&o(c,g),typeof s.props[r]=="function"&&s.props[r](c,g)}},t.prototype.setStartDate=function(r){var s,o;(o=(s=this.$picker)===null||s===void 0?void 0:s.data("daterangepicker"))===null||o===void 0||o.setStartDate(r)},t.prototype.setEndDate=function(r){var s,o;(o=(s=this.$picker)===null||s===void 0?void 0:s.data("daterangepicker"))===null||o===void 0||o.setEndDate(r)},t.prototype.render=function(){var r=this,s=D.reactExports.Children.only(this.props.children);return D.reactExports.cloneElement(s,{ref:function(o){return r.ref=o}})},t})(D.reactExports.Component);jr(e=>D.jsxRuntimeExports.jsx(nA,{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.primary,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 v0=function(e){const t=[];let r=0;for(let s=0;s<e.length;s++){let o=e.charCodeAt(s);o<128?t[r++]=o:o<2048?(t[r++]=o>>6|192,t[r++]=o&63|128):(o&64512)===55296&&s+1<e.length&&(e.charCodeAt(s+1)&64512)===56320?(o=65536+((o&1023)<<10)+(e.charCodeAt(++s)&1023),t[r++]=o>>18|240,t[r++]=o>>12&63|128,t[r++]=o>>6&63|128,t[r++]=o&63|128):(t[r++]=o>>12|224,t[r++]=o>>6&63|128,t[r++]=o&63|128)}return t},hA=function(e){const t=[];let r=0,s=0;for(;r<e.length;){const o=e[r++];if(o<128)t[s++]=String.fromCharCode(o);else if(o>191&&o<224){const c=e[r++];t[s++]=String.fromCharCode((o&31)<<6|c&63)}else if(o>239&&o<365){const c=e[r++],g=e[r++],x=e[r++],k=((o&7)<<18|(c&63)<<12|(g&63)<<6|x&63)-65536;t[s++]=String.fromCharCode(55296+(k>>10)),t[s++]=String.fromCharCode(56320+(k&1023))}else{const c=e[r++],g=e[r++];t[s++]=String.fromCharCode((o&15)<<12|(c&63)<<6|g&63)}}return t.join("")},pA={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 r=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,s=[];for(let o=0;o<e.length;o+=3){const c=e[o],g=o+1<e.length,x=g?e[o+1]:0,k=o+2<e.length,E=k?e[o+2]:0,P=c>>2,j=(c&3)<<4|x>>4;let B=(x&15)<<2|E>>6,V=E&63;k||(V=64,g||(B=64)),s.push(r[P],r[j],r[B],r[V])}return s.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(v0(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):hA(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();const r=t?this.charToByteMapWebSafe_:this.charToByteMap_,s=[];for(let o=0;o<e.length;){const c=r[e.charAt(o++)],x=o<e.length?r[e.charAt(o)]:0;++o;const E=o<e.length?r[e.charAt(o)]:64;++o;const j=o<e.length?r[e.charAt(o)]:64;if(++o,c==null||x==null||E==null||j==null)throw new gA;const B=c<<2|x>>4;if(s.push(B),E!==64){const V=x<<4&240|E>>2;if(s.push(V),j!==64){const U=E<<6&192|j;s.push(U)}}}return s},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 gA extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const mA=function(e){const t=v0(e);return pA.encodeByteArray(t,!0)},b0=function(e){return mA(e).replace(/\./g,"")};function yA(){try{return typeof indexedDB=="object"}catch{return!1}}function vA(){return new Promise((e,t)=>{try{let r=!0;const s="validate-browser-context-for-indexeddb-analytics-module",o=self.indexedDB.open(s);o.onsuccess=()=>{o.result.close(),r||self.indexedDB.deleteDatabase(s),e(!0)},o.onupgradeneeded=()=>{r=!1},o.onerror=()=>{var c;t(((c=o.error)===null||c===void 0?void 0:c.message)||"")}}catch(r){t(r)}})}/**
|
|
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 bA="FirebaseError";class es extends Error{constructor(t,r,s){super(r),this.code=t,this.customData=s,this.name=bA,Object.setPrototypeOf(this,es.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,$l.prototype.create)}}class $l{constructor(t,r,s){this.service=t,this.serviceName=r,this.errors=s}create(t,...r){const s=r[0]||{},o=`${this.service}/${t}`,c=this.errors[t],g=c?_A(c,s):"Error",x=`${this.serviceName}: ${g} (${o}).`;return new es(o,x,s)}}function _A(e,t){return e.replace(xA,(r,s)=>{const o=t[s];return o!=null?String(o):`<${s}?>`})}const xA=/\{\$([^}]+)}/g;class ua{constructor(t,r,s){this.name=t,this.instanceFactory=r,this.type=s,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 ot;(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"})(ot||(ot={}));const wA={debug:ot.DEBUG,verbose:ot.VERBOSE,info:ot.INFO,warn:ot.WARN,error:ot.ERROR,silent:ot.SILENT},SA=ot.INFO,kA={[ot.DEBUG]:"log",[ot.VERBOSE]:"log",[ot.INFO]:"info",[ot.WARN]:"warn",[ot.ERROR]:"error"},CA=(e,t,...r)=>{if(t<e.logLevel)return;const s=new Date().toISOString(),o=kA[t];if(o)console[o](`[${s}] ${e.name}:`,...r);else throw new Error(`Attempted to log a message with an invalid logType (value: ${t})`)};class DA{constructor(t){this.name=t,this._logLevel=SA,this._logHandler=CA,this._userLogHandler=null}get logLevel(){return this._logLevel}set logLevel(t){if(!(t in ot))throw new TypeError(`Invalid value "${t}" assigned to \`logLevel\``);this._logLevel=t}setLogLevel(t){this._logLevel=typeof t=="string"?wA[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,ot.DEBUG,...t),this._logHandler(this,ot.DEBUG,...t)}log(...t){this._userLogHandler&&this._userLogHandler(this,ot.VERBOSE,...t),this._logHandler(this,ot.VERBOSE,...t)}info(...t){this._userLogHandler&&this._userLogHandler(this,ot.INFO,...t),this._logHandler(this,ot.INFO,...t)}warn(...t){this._userLogHandler&&this._userLogHandler(this,ot.WARN,...t),this._logHandler(this,ot.WARN,...t)}error(...t){this._userLogHandler&&this._userLogHandler(this,ot.ERROR,...t),this._logHandler(this,ot.ERROR,...t)}}const TA=(e,t)=>t.some(r=>e instanceof r);let pg,gg;function EA(){return pg||(pg=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function MA(){return gg||(gg=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const _0=new WeakMap,Lf=new WeakMap,x0=new WeakMap,ff=new WeakMap,Rd=new WeakMap;function AA(e){const t=new Promise((r,s)=>{const o=()=>{e.removeEventListener("success",c),e.removeEventListener("error",g)},c=()=>{r(di(e.result)),o()},g=()=>{s(e.error),o()};e.addEventListener("success",c),e.addEventListener("error",g)});return t.then(r=>{r instanceof IDBCursor&&_0.set(r,e)}).catch(()=>{}),Rd.set(t,e),t}function RA(e){if(Lf.has(e))return;const t=new Promise((r,s)=>{const o=()=>{e.removeEventListener("complete",c),e.removeEventListener("error",g),e.removeEventListener("abort",g)},c=()=>{r(),o()},g=()=>{s(e.error||new DOMException("AbortError","AbortError")),o()};e.addEventListener("complete",c),e.addEventListener("error",g),e.addEventListener("abort",g)});Lf.set(e,t)}let $f={get(e,t,r){if(e instanceof IDBTransaction){if(t==="done")return Lf.get(e);if(t==="objectStoreNames")return e.objectStoreNames||x0.get(e);if(t==="store")return r.objectStoreNames[1]?void 0:r.objectStore(r.objectStoreNames[0])}return di(e[t])},set(e,t,r){return e[t]=r,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function OA(e){$f=e($f)}function IA(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...r){const s=e.call(df(this),t,...r);return x0.set(s,t.sort?t.sort():[t]),di(s)}:MA().includes(e)?function(...t){return e.apply(df(this),t),di(_0.get(this))}:function(...t){return di(e.apply(df(this),t))}}function PA(e){return typeof e=="function"?IA(e):(e instanceof IDBTransaction&&RA(e),TA(e,EA())?new Proxy(e,$f):e)}function di(e){if(e instanceof IDBRequest)return AA(e);if(ff.has(e))return ff.get(e);const t=PA(e);return t!==e&&(ff.set(e,t),Rd.set(t,e)),t}const df=e=>Rd.get(e);function Fl(e,t,{blocked:r,upgrade:s,blocking:o,terminated:c}={}){const g=indexedDB.open(e,t),x=di(g);return s&&g.addEventListener("upgradeneeded",k=>{s(di(g.result),k.oldVersion,k.newVersion,di(g.transaction),k)}),r&&g.addEventListener("blocked",k=>r(k.oldVersion,k.newVersion,k)),x.then(k=>{c&&k.addEventListener("close",()=>c()),o&&k.addEventListener("versionchange",E=>o(E.oldVersion,E.newVersion,E))}).catch(()=>{}),x}function hf(e,{blocked:t}={}){const r=indexedDB.deleteDatabase(e);return t&&r.addEventListener("blocked",s=>t(s.oldVersion,s)),di(r).then(()=>{})}const NA=["get","getKey","getAll","getAllKeys","count"],LA=["put","add","delete","clear"],pf=new Map;function mg(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(pf.get(t))return pf.get(t);const r=t.replace(/FromIndex$/,""),s=t!==r,o=LA.includes(r);if(!(r in(s?IDBIndex:IDBObjectStore).prototype)||!(o||NA.includes(r)))return;const c=async function(g,...x){const k=this.transaction(g,o?"readwrite":"readonly");let E=k.store;return s&&(E=E.index(x.shift())),(await Promise.all([E[r](...x),o&&k.done]))[0]};return pf.set(t,c),c}OA(e=>({...e,get:(t,r,s)=>mg(t,r)||e.get(t,r,s),has:(t,r)=>!!mg(t,r)||e.has(t,r)}));/**
|
|
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 $A{constructor(t){this.container=t}getPlatformInfoString(){return this.container.getProviders().map(r=>{if(FA(r)){const s=r.getImmediate();return`${s.library}/${s.version}`}else return null}).filter(r=>r).join(" ")}}function FA(e){const t=e.getComponent();return(t==null?void 0:t.type)==="VERSION"}const Ff="@firebase/app",yg="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 la=new DA("@firebase/app"),YA="@firebase/app-compat",jA="@firebase/analytics-compat",WA="@firebase/analytics",BA="@firebase/app-check-compat",HA="@firebase/app-check",UA="@firebase/auth",qA="@firebase/auth-compat",zA="@firebase/database",VA="@firebase/database-compat",GA="@firebase/functions",KA="@firebase/functions-compat",XA="@firebase/installations",ZA="@firebase/installations-compat",JA="@firebase/messaging",QA="@firebase/messaging-compat",eR="@firebase/performance",tR="@firebase/performance-compat",nR="@firebase/remote-config",rR="@firebase/remote-config-compat",iR="@firebase/storage",aR="@firebase/storage-compat",sR="@firebase/firestore",oR="@firebase/firestore-compat",uR="firebase",lR={[Ff]:"fire-core",[YA]:"fire-core-compat",[WA]:"fire-analytics",[jA]:"fire-analytics-compat",[HA]:"fire-app-check",[BA]:"fire-app-check-compat",[UA]:"fire-auth",[qA]:"fire-auth-compat",[zA]:"fire-rtdb",[VA]:"fire-rtdb-compat",[GA]:"fire-fn",[KA]:"fire-fn-compat",[XA]:"fire-iid",[ZA]:"fire-iid-compat",[JA]:"fire-fcm",[QA]:"fire-fcm-compat",[eR]:"fire-perf",[tR]:"fire-perf-compat",[nR]:"fire-rc",[rR]:"fire-rc-compat",[iR]:"fire-gcs",[aR]:"fire-gcs-compat",[sR]:"fire-fst",[oR]:"fire-fst-compat","fire-js":"fire-js",[uR]:"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 cR=new Map,vg=new Map;function fR(e,t){try{e.container.addComponent(t)}catch(r){la.debug(`Component ${t.name} failed to register with FirebaseApp ${e.name}`,r)}}function ca(e){const t=e.name;if(vg.has(t))return la.debug(`There were multiple attempts to register component ${t}.`),!1;vg.set(t,e);for(const r of cR.values())fR(r,e);return!0}function w0(e,t){const r=e.container.getProvider("heartbeat").getImmediate({optional:!0});return r&&r.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 dR={"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}."},Od=new $l("app","Firebase",dR);function Yi(e,t,r){var s;let o=(s=lR[e])!==null&&s!==void 0?s:e;r&&(o+=`-${r}`);const c=o.match(/\s|\//),g=t.match(/\s|\//);if(c||g){const x=[`Unable to register library "${o}" with version "${t}":`];c&&x.push(`library name "${o}" contains illegal characters (whitespace or "/")`),c&&g&&x.push("and"),g&&x.push(`version name "${t}" contains illegal characters (whitespace or "/")`),la.warn(x.join(" "));return}ca(new ua(`${o}-version`,()=>({library:o,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 hR="firebase-heartbeat-database",pR=1,Qs="firebase-heartbeat-store";let gf=null;function S0(){return gf||(gf=Fl(hR,pR,{upgrade:(e,t)=>{switch(t){case 0:try{e.createObjectStore(Qs)}catch(r){console.warn(r)}}}}).catch(e=>{throw Od.create("idb-open",{originalErrorMessage:e.message})})),gf}async function gR(e){try{const r=(await S0()).transaction(Qs),s=await r.objectStore(Qs).get(k0(e));return await r.done,s}catch(t){if(t instanceof es)la.warn(t.message);else{const r=Od.create("idb-get",{originalErrorMessage:t==null?void 0:t.message});la.warn(r.message)}}}async function bg(e,t){try{const s=(await S0()).transaction(Qs,"readwrite");await s.objectStore(Qs).put(t,k0(e)),await s.done}catch(r){if(r instanceof es)la.warn(r.message);else{const s=Od.create("idb-set",{originalErrorMessage:r==null?void 0:r.message});la.warn(s.message)}}}function k0(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 mR=1024,yR=30*24*60*60*1e3;class vR{constructor(t){this.container=t,this._heartbeatsCache=null;const r=this.container.getProvider("app").getImmediate();this._storage=new _R(r),this._heartbeatsCachePromise=this._storage.read().then(s=>(this._heartbeatsCache=s,s))}async triggerHeartbeat(){var t,r;const o=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),c=_g();if(!(((t=this._heartbeatsCache)===null||t===void 0?void 0:t.heartbeats)==null&&(this._heartbeatsCache=await this._heartbeatsCachePromise,((r=this._heartbeatsCache)===null||r===void 0?void 0:r.heartbeats)==null))&&!(this._heartbeatsCache.lastSentHeartbeatDate===c||this._heartbeatsCache.heartbeats.some(g=>g.date===c)))return this._heartbeatsCache.heartbeats.push({date:c,agent:o}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter(g=>{const x=new Date(g.date).valueOf();return Date.now()-x<=yR}),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 r=_g(),{heartbeatsToSend:s,unsentEntries:o}=bR(this._heartbeatsCache.heartbeats),c=b0(JSON.stringify({version:2,heartbeats:s}));return this._heartbeatsCache.lastSentHeartbeatDate=r,o.length>0?(this._heartbeatsCache.heartbeats=o,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),c}}function _g(){return new Date().toISOString().substring(0,10)}function bR(e,t=mR){const r=[];let s=e.slice();for(const o of e){const c=r.find(g=>g.agent===o.agent);if(c){if(c.dates.push(o.date),xg(r)>t){c.dates.pop();break}}else if(r.push({agent:o.agent,dates:[o.date]}),xg(r)>t){r.pop();break}s=s.slice(1)}return{heartbeatsToSend:r,unsentEntries:s}}class _R{constructor(t){this.app=t,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return yA()?vA().then(()=>!0).catch(()=>!1):!1}async read(){if(await this._canUseIndexedDBPromise){const r=await gR(this.app);return r!=null&&r.heartbeats?r:{heartbeats:[]}}else return{heartbeats:[]}}async overwrite(t){var r;if(await this._canUseIndexedDBPromise){const o=await this.read();return bg(this.app,{lastSentHeartbeatDate:(r=t.lastSentHeartbeatDate)!==null&&r!==void 0?r:o.lastSentHeartbeatDate,heartbeats:t.heartbeats})}else return}async add(t){var r;if(await this._canUseIndexedDBPromise){const o=await this.read();return bg(this.app,{lastSentHeartbeatDate:(r=t.lastSentHeartbeatDate)!==null&&r!==void 0?r:o.lastSentHeartbeatDate,heartbeats:[...o.heartbeats,...t.heartbeats]})}else return}}function xg(e){return b0(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 xR(e){ca(new ua("platform-logger",t=>new $A(t),"PRIVATE")),ca(new ua("heartbeat",t=>new vR(t),"PRIVATE")),Yi(Ff,yg,e),Yi(Ff,yg,"esm2017"),Yi("fire-js","")}xR("");var wR="firebase",SR="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(wR,SR,"app");const C0="@firebase/installations",Id="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 D0=1e4,T0=`w:${Id}`,E0="FIS_v2",kR="https://firebaseinstallations.googleapis.com/v1",CR=60*60*1e3,DR="installations",TR="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 ER={"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."},fa=new $l(DR,TR,ER);function M0(e){return e instanceof es&&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 A0({projectId:e}){return`${kR}/projects/${e}/installations`}function R0(e){return{token:e.token,requestStatus:2,expiresIn:AR(e.expiresIn),creationTime:Date.now()}}async function O0(e,t){const s=(await t.json()).error;return fa.create("request-failed",{requestName:e,serverCode:s.code,serverMessage:s.message,serverStatus:s.status})}function I0({apiKey:e}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e})}function MR(e,{refreshToken:t}){const r=I0(e);return r.append("Authorization",RR(t)),r}async function P0(e){const t=await e();return t.status>=500&&t.status<600?e():t}function AR(e){return Number(e.replace("s","000"))}function RR(e){return`${E0} ${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 OR({appConfig:e,heartbeatServiceProvider:t},{fid:r}){const s=A0(e),o=I0(e),c=t.getImmediate({optional:!0});if(c){const E=await c.getHeartbeatsHeader();E&&o.append("x-firebase-client",E)}const g={fid:r,authVersion:E0,appId:e.appId,sdkVersion:T0},x={method:"POST",headers:o,body:JSON.stringify(g)},k=await P0(()=>fetch(s,x));if(k.ok){const E=await k.json();return{fid:E.fid||r,registrationStatus:2,refreshToken:E.refreshToken,authToken:R0(E.authToken)}}else throw await O0("Create Installation",k)}/**
|
|
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 N0(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 IR(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 PR=/^[cdef][\w-]{21}$/,Yf="";function NR(){try{const e=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(e),e[0]=112+e[0]%16;const r=LR(e);return PR.test(r)?r:Yf}catch{return Yf}}function LR(e){return IR(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 Yl(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 L0=new Map;function $0(e,t){const r=Yl(e);F0(r,t),$R(r,t)}function F0(e,t){const r=L0.get(e);if(r)for(const s of r)s(t)}function $R(e,t){const r=FR();r&&r.postMessage({key:e,fid:t}),YR()}let sa=null;function FR(){return!sa&&"BroadcastChannel"in self&&(sa=new BroadcastChannel("[Firebase] FID Change"),sa.onmessage=e=>{F0(e.data.key,e.data.fid)}),sa}function YR(){L0.size===0&&sa&&(sa.close(),sa=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 jR="firebase-installations-database",WR=1,da="firebase-installations-store";let mf=null;function Pd(){return mf||(mf=Fl(jR,WR,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore(da)}}})),mf}async function Hu(e,t){const r=Yl(e),o=(await Pd()).transaction(da,"readwrite"),c=o.objectStore(da),g=await c.get(r);return await c.put(t,r),await o.done,(!g||g.fid!==t.fid)&&$0(e,t.fid),t}async function Y0(e){const t=Yl(e),s=(await Pd()).transaction(da,"readwrite");await s.objectStore(da).delete(t),await s.done}async function jl(e,t){const r=Yl(e),o=(await Pd()).transaction(da,"readwrite"),c=o.objectStore(da),g=await c.get(r),x=t(g);return x===void 0?await c.delete(r):await c.put(x,r),await o.done,x&&(!g||g.fid!==x.fid)&&$0(e,x.fid),x}/**
|
|
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 Nd(e){let t;const r=await jl(e.appConfig,s=>{const o=BR(s),c=HR(e,o);return t=c.registrationPromise,c.installationEntry});return r.fid===Yf?{installationEntry:await t}:{installationEntry:r,registrationPromise:t}}function BR(e){const t=e||{fid:NR(),registrationStatus:0};return j0(t)}function HR(e,t){if(t.registrationStatus===0){if(!navigator.onLine){const o=Promise.reject(fa.create("app-offline"));return{installationEntry:t,registrationPromise:o}}const r={fid:t.fid,registrationStatus:1,registrationTime:Date.now()},s=UR(e,r);return{installationEntry:r,registrationPromise:s}}else return t.registrationStatus===1?{installationEntry:t,registrationPromise:qR(e)}:{installationEntry:t}}async function UR(e,t){try{const r=await OR(e,t);return Hu(e.appConfig,r)}catch(r){throw M0(r)&&r.customData.serverCode===409?await Y0(e.appConfig):await Hu(e.appConfig,{fid:t.fid,registrationStatus:0}),r}}async function qR(e){let t=await wg(e.appConfig);for(;t.registrationStatus===1;)await N0(100),t=await wg(e.appConfig);if(t.registrationStatus===0){const{installationEntry:r,registrationPromise:s}=await Nd(e);return s||r}return t}function wg(e){return jl(e,t=>{if(!t)throw fa.create("installation-not-found");return j0(t)})}function j0(e){return zR(e)?{fid:e.fid,registrationStatus:0}:e}function zR(e){return e.registrationStatus===1&&e.registrationTime+D0<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 VR({appConfig:e,heartbeatServiceProvider:t},r){const s=GR(e,r),o=MR(e,r),c=t.getImmediate({optional:!0});if(c){const E=await c.getHeartbeatsHeader();E&&o.append("x-firebase-client",E)}const g={installation:{sdkVersion:T0,appId:e.appId}},x={method:"POST",headers:o,body:JSON.stringify(g)},k=await P0(()=>fetch(s,x));if(k.ok){const E=await k.json();return R0(E)}else throw await O0("Generate Auth Token",k)}function GR(e,{fid:t}){return`${A0(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 Ld(e,t=!1){let r;const s=await jl(e.appConfig,c=>{if(!W0(c))throw fa.create("not-registered");const g=c.authToken;if(!t&&ZR(g))return c;if(g.requestStatus===1)return r=KR(e,t),c;{if(!navigator.onLine)throw fa.create("app-offline");const x=QR(c);return r=XR(e,x),x}});return r?await r:s.authToken}async function KR(e,t){let r=await Sg(e.appConfig);for(;r.authToken.requestStatus===1;)await N0(100),r=await Sg(e.appConfig);const s=r.authToken;return s.requestStatus===0?Ld(e,t):s}function Sg(e){return jl(e,t=>{if(!W0(t))throw fa.create("not-registered");const r=t.authToken;return eO(r)?Object.assign(Object.assign({},t),{authToken:{requestStatus:0}}):t})}async function XR(e,t){try{const r=await VR(e,t),s=Object.assign(Object.assign({},t),{authToken:r});return await Hu(e.appConfig,s),r}catch(r){if(M0(r)&&(r.customData.serverCode===401||r.customData.serverCode===404))await Y0(e.appConfig);else{const s=Object.assign(Object.assign({},t),{authToken:{requestStatus:0}});await Hu(e.appConfig,s)}throw r}}function W0(e){return e!==void 0&&e.registrationStatus===2}function ZR(e){return e.requestStatus===2&&!JR(e)}function JR(e){const t=Date.now();return t<e.creationTime||e.creationTime+e.expiresIn<t+CR}function QR(e){const t={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},e),{authToken:t})}function eO(e){return e.requestStatus===1&&e.requestTime+D0<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 tO(e){const t=e,{installationEntry:r,registrationPromise:s}=await Nd(t);return s?s.catch(console.error):Ld(t).catch(console.error),r.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 nO(e,t=!1){const r=e;return await rO(r),(await Ld(r,t)).token}async function rO(e){const{registrationPromise:t}=await Nd(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 iO(e){if(!e||!e.options)throw yf("App Configuration");if(!e.name)throw yf("App Name");const t=["projectId","apiKey","appId"];for(const r of t)if(!e.options[r])throw yf(r);return{appName:e.name,projectId:e.options.projectId,apiKey:e.options.apiKey,appId:e.options.appId}}function yf(e){return fa.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 B0="installations",aO="installations-internal",sO=e=>{const t=e.getProvider("app").getImmediate(),r=iO(t),s=w0(t,"heartbeat");return{app:t,appConfig:r,heartbeatServiceProvider:s,_delete:()=>Promise.resolve()}},oO=e=>{const t=e.getProvider("app").getImmediate(),r=w0(t,B0).getImmediate();return{getId:()=>tO(r),getToken:o=>nO(r,o)}};function uO(){ca(new ua(B0,sO,"PUBLIC")),ca(new ua(aO,oO,"PRIVATE"))}uO();Yi(C0,Id);Yi(C0,Id,"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 lO="/firebase-messaging-sw.js",cO="/firebase-cloud-messaging-push-scope",H0="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",fO="https://fcmregistrations.googleapis.com/v1",U0="google.c.a.c_id",dO="google.c.a.c_l",hO="google.c.a.ts",pO="google.c.a.e";var kg;(function(e){e[e.DATA_MESSAGE=1]="DATA_MESSAGE",e[e.DISPLAY_NOTIFICATION=3]="DISPLAY_NOTIFICATION"})(kg||(kg={}));/**
|
|
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 eo;(function(e){e.PUSH_RECEIVED="push-received",e.NOTIFICATION_CLICKED="notification-clicked"})(eo||(eo={}));/**
|
|
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 oi(e){const t=new Uint8Array(e);return btoa(String.fromCharCode(...t)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function gO(e){const t="=".repeat((4-e.length%4)%4),r=(e+t).replace(/\-/g,"+").replace(/_/g,"/"),s=atob(r),o=new Uint8Array(s.length);for(let c=0;c<s.length;++c)o[c]=s.charCodeAt(c);return o}/**
|
|
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 vf="fcm_token_details_db",mO=5,Cg="fcm_token_object_Store";async function yO(e){if("databases"in indexedDB&&!(await indexedDB.databases()).map(c=>c.name).includes(vf))return null;let t=null;return(await Fl(vf,mO,{upgrade:async(s,o,c,g)=>{var x;if(o<2||!s.objectStoreNames.contains(Cg))return;const k=g.objectStore(Cg),E=await k.index("fcmSenderId").get(e);if(await k.clear(),!!E){if(o===2){const P=E;if(!P.auth||!P.p256dh||!P.endpoint)return;t={token:P.fcmToken,createTime:(x=P.createTime)!==null&&x!==void 0?x:Date.now(),subscriptionOptions:{auth:P.auth,p256dh:P.p256dh,endpoint:P.endpoint,swScope:P.swScope,vapidKey:typeof P.vapidKey=="string"?P.vapidKey:oi(P.vapidKey)}}}else if(o===3){const P=E;t={token:P.fcmToken,createTime:P.createTime,subscriptionOptions:{auth:oi(P.auth),p256dh:oi(P.p256dh),endpoint:P.endpoint,swScope:P.swScope,vapidKey:oi(P.vapidKey)}}}else if(o===4){const P=E;t={token:P.fcmToken,createTime:P.createTime,subscriptionOptions:{auth:oi(P.auth),p256dh:oi(P.p256dh),endpoint:P.endpoint,swScope:P.swScope,vapidKey:oi(P.vapidKey)}}}}}})).close(),await hf(vf),await hf("fcm_vapid_details_db"),await hf("undefined"),vO(t)?t:null}function vO(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 bO="firebase-messaging-database",_O=1,ha="firebase-messaging-store";let bf=null;function $d(){return bf||(bf=Fl(bO,_O,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore(ha)}}})),bf}async function q0(e){const t=Yd(e),s=await(await $d()).transaction(ha).objectStore(ha).get(t);if(s)return s;{const o=await yO(e.appConfig.senderId);if(o)return await Fd(e,o),o}}async function Fd(e,t){const r=Yd(e),o=(await $d()).transaction(ha,"readwrite");return await o.objectStore(ha).put(t,r),await o.done,t}async function xO(e){const t=Yd(e),s=(await $d()).transaction(ha,"readwrite");await s.objectStore(ha).delete(t),await s.done}function Yd({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 wO={"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."},In=new $l("messaging","Messaging",wO);/**
|
|
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 SO(e,t){const r=await Wd(e),s=V0(t),o={method:"POST",headers:r,body:JSON.stringify(s)};let c;try{c=await(await fetch(jd(e.appConfig),o)).json()}catch(g){throw In.create("token-subscribe-failed",{errorInfo:g==null?void 0:g.toString()})}if(c.error){const g=c.error.message;throw In.create("token-subscribe-failed",{errorInfo:g})}if(!c.token)throw In.create("token-subscribe-no-token");return c.token}async function kO(e,t){const r=await Wd(e),s=V0(t.subscriptionOptions),o={method:"PATCH",headers:r,body:JSON.stringify(s)};let c;try{c=await(await fetch(`${jd(e.appConfig)}/${t.token}`,o)).json()}catch(g){throw In.create("token-update-failed",{errorInfo:g==null?void 0:g.toString()})}if(c.error){const g=c.error.message;throw In.create("token-update-failed",{errorInfo:g})}if(!c.token)throw In.create("token-update-no-token");return c.token}async function z0(e,t){const s={method:"DELETE",headers:await Wd(e)};try{const c=await(await fetch(`${jd(e.appConfig)}/${t}`,s)).json();if(c.error){const g=c.error.message;throw In.create("token-unsubscribe-failed",{errorInfo:g})}}catch(o){throw In.create("token-unsubscribe-failed",{errorInfo:o==null?void 0:o.toString()})}}function jd({projectId:e}){return`${fO}/projects/${e}/registrations`}async function Wd({appConfig:e,installations:t}){const r=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 ${r}`})}function V0({p256dh:e,auth:t,endpoint:r,vapidKey:s}){const o={web:{endpoint:r,auth:t,p256dh:e}};return s!==H0&&(o.web.applicationPubKey=s),o}/**
|
|
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 CO=7*24*60*60*1e3;async function DO(e){const t=await MO(e.swRegistration,e.vapidKey),r={vapidKey:e.vapidKey,swScope:e.swRegistration.scope,endpoint:t.endpoint,auth:oi(t.getKey("auth")),p256dh:oi(t.getKey("p256dh"))},s=await q0(e.firebaseDependencies);if(s){if(AO(s.subscriptionOptions,r))return Date.now()>=s.createTime+CO?EO(e,{token:s.token,createTime:Date.now(),subscriptionOptions:r}):s.token;try{await z0(e.firebaseDependencies,s.token)}catch(o){console.warn(o)}return Dg(e.firebaseDependencies,r)}else return Dg(e.firebaseDependencies,r)}async function TO(e){const t=await q0(e.firebaseDependencies);t&&(await z0(e.firebaseDependencies,t.token),await xO(e.firebaseDependencies));const r=await e.swRegistration.pushManager.getSubscription();return r?r.unsubscribe():!0}async function EO(e,t){try{const r=await kO(e.firebaseDependencies,t),s=Object.assign(Object.assign({},t),{token:r,createTime:Date.now()});return await Fd(e.firebaseDependencies,s),r}catch(r){throw await TO(e),r}}async function Dg(e,t){const s={token:await SO(e,t),createTime:Date.now(),subscriptionOptions:t};return await Fd(e,s),s.token}async function MO(e,t){const r=await e.pushManager.getSubscription();return r||e.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:gO(t)})}function AO(e,t){const r=t.vapidKey===e.vapidKey,s=t.endpoint===e.endpoint,o=t.auth===e.auth,c=t.p256dh===e.p256dh;return r&&s&&o&&c}/**
|
|
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 Tg(e){const t={from:e.from,collapseKey:e.collapse_key,messageId:e.fcmMessageId};return RO(t,e),OO(t,e),IO(t,e),t}function RO(e,t){if(!t.notification)return;e.notification={};const r=t.notification.title;r&&(e.notification.title=r);const s=t.notification.body;s&&(e.notification.body=s);const o=t.notification.image;o&&(e.notification.image=o);const c=t.notification.icon;c&&(e.notification.icon=c)}function OO(e,t){t.data&&(e.data=t.data)}function IO(e,t){var r,s,o,c,g;if(!t.fcmOptions&&!(!((r=t.notification)===null||r===void 0)&&r.click_action))return;e.fcmOptions={};const x=(o=(s=t.fcmOptions)===null||s===void 0?void 0:s.link)!==null&&o!==void 0?o:(c=t.notification)===null||c===void 0?void 0:c.click_action;x&&(e.fcmOptions.link=x);const k=(g=t.fcmOptions)===null||g===void 0?void 0:g.analytics_label;k&&(e.fcmOptions.analyticsLabel=k)}/**
|
|
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 PO(e){return typeof e=="object"&&!!e&&U0 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
|
+
*/G0("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o");G0("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");function G0(e,t){const r=[];for(let s=0;s<e.length;s++)r.push(e.charAt(s)),s<t.length&&r.push(t.charAt(s));return r.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 NO(e){if(!e||!e.options)throw _f("App Configuration Object");if(!e.name)throw _f("App Name");const t=["projectId","apiKey","appId","messagingSenderId"],{options:r}=e;for(const s of t)if(!r[s])throw _f(s);return{appName:e.name,projectId:r.projectId,apiKey:r.apiKey,appId:r.appId,senderId:r.messagingSenderId}}function _f(e){return In.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 LO{constructor(t,r,s){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const o=NO(t);this.firebaseDependencies={app:t,appConfig:o,installations:r,analyticsProvider:s}}_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 $O(e){try{e.swRegistration=await navigator.serviceWorker.register(lO,{scope:cO}),e.swRegistration.update().catch(()=>{})}catch(t){throw In.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 FO(e,t){if(!t&&!e.swRegistration&&await $O(e),!(!t&&e.swRegistration)){if(!(t instanceof ServiceWorkerRegistration))throw In.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 YO(e,t){t?e.vapidKey=t:e.vapidKey||(e.vapidKey=H0)}/**
|
|
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 jO(e,t){if(!navigator)throw In.create("only-available-in-window");if(Notification.permission==="default"&&await Notification.requestPermission(),Notification.permission!=="granted")throw In.create("permission-blocked");return await YO(e,t==null?void 0:t.vapidKey),await FO(e,t==null?void 0:t.serviceWorkerRegistration),DO(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 WO(e,t,r){const s=BO(t);(await e.firebaseDependencies.analyticsProvider.get()).logEvent(s,{message_id:r[U0],message_name:r[dO],message_time:r[hO],message_device_time:Math.floor(Date.now()/1e3)})}function BO(e){switch(e){case eo.NOTIFICATION_CLICKED:return"notification_open";case eo.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 HO(e,t){const r=t.data;if(!r.isFirebaseMessaging)return;e.onMessageHandler&&r.messageType===eo.PUSH_RECEIVED&&(typeof e.onMessageHandler=="function"?e.onMessageHandler(Tg(r)):e.onMessageHandler.next(Tg(r)));const s=r.data;PO(s)&&s[pO]==="1"&&await WO(e,r.messageType,s)}const Eg="@firebase/messaging",Mg="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 UO=e=>{const t=new LO(e.getProvider("app").getImmediate(),e.getProvider("installations-internal").getImmediate(),e.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",r=>HO(t,r)),t},qO=e=>{const t=e.getProvider("messaging").getImmediate();return{getToken:s=>jO(t,s)}};function zO(){ca(new ua("messaging",UO,"PUBLIC")),ca(new ua("messaging-internal",qO,"PRIVATE")),Yi(Eg,Mg),Yi(Eg,Mg,"esm2017")}zO();const VO=({baseUrl:e,notiPath:t})=>{const{setShowModalFalse:r}=D.reactExports.useContext(ud),[s,o]=D.reactExports.useState({all:{rows:[],total:0},unread:{rows:[],total:0}}),[c,g]=D.reactExports.useState("all"),x=async()=>{var B,V;try{await k()}catch(U){D.pushError(((V=(B=U.response)==null?void 0:B.data)==null?void 0:V.errorMessage)||"Have error when get notification list")}},k=async()=>{const V=e+(t||"/notification-management/api/v1/notifications"),U=await D.axios.get(V,{params:{filter:{notificationFilterType:"all"}},withCredentials:!0}),F=await D.axios.get(V,{params:{filter:{notificationFilterType:"unread"}},withCredentials:!0});Promise.all([U,F]).then(ee=>{var H,pe,ge,me;console.log("result: "+ee),o({all:{rows:(H=ee[0].data)==null?void 0:H.rows,total:(pe=ee[0].data)==null?void 0:pe.total},unread:{rows:(ge=ee[1].data)==null?void 0:ge.rows,total:(me=ee[1].data)==null?void 0:me.total}})})},E=async()=>{var B,V;try{const F=e+(t||"/notification-management/api/v1/notifications");await D.axios.put(F,{withCredentials:!0})}catch(U){console.log(U),D.pushError(((V=(B=U.response)==null?void 0:B.data)==null?void 0:V.errorMessage)||"Have error when get notification list")}await k()},P=async(B,V)=>{var U,F;try{const ee=t||`/notification-management/api/v1/notifications/${B}`,H=e+ee;await D.axios.put(H,{isRead:V},{withCredentials:!0})}catch(ee){D.pushError(((F=(U=ee.response)==null?void 0:U.data)==null?void 0:F.errorMessage)||"Have error when get notification list")}await k()},j=[{id:"all",tabTitle:`All (${s.all.total||0})`,children:D.jsxRuntimeExports.jsx($p,{notidata:s.all.rows,handleUpdateRead:P,handleUpdateReadAll:E})},{id:"unread",tabTitle:`Unread (${s.unread.total||0})`,children:D.jsxRuntimeExports.jsx($p,{notidata:s.unread.rows,handleUpdateRead:P,handleUpdateReadAll:E})}];return D.reactExports.useEffect(()=>{x()},[]),D.jsxRuntimeExports.jsx(D.jsxRuntimeExports.Fragment,{children:D.jsxRuntimeExports.jsx("div",{style:{position:"absolute",backgroundColor:"#fff",width:"550px",height:"100vh",right:0,top:"100%",padding:"32px"},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:r,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(nw,{tabs:j,setCurrentTab:g,currentTab:c})]})})})};function GO({primaryColor:e="#009d4f",baseUrl:t,notiPath:r}){const{isOpen:s,toggleOpen:o}=D.reactExports.useContext(ud);return 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:o,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"}),D.jsxRuntimeExports.jsx("circle",{cx:"16.928",cy:"7",r:"2",fill:"#E01B00",stroke:e})]}),!s&&D.jsxRuntimeExports.jsx(VO,{baseUrl:t,notiPath:r})]})}const KO=`.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:black;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}.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
|
+
`,XO=`.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
|
+
`,ZO=`: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 - 235px);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;left:-50%;width:91px;transform:translate(-50%);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 K0({logo:e,user:t,baseUrl:r,notiPath:s,style:o,classNames:c="",customColors:g}){const x=e||"/public/assets/icons/logo-header.png",k={...o,color:(g==null?void 0:g.color)||"black",backgroundColor:(g==null?void 0:g.bgColor)||"black"},[E,P]=D.reactExports.useState(!1),j=()=>{window.location.href=`${r}/authentication/logout?callbackUrl=${window.location.href}`};return D.jsxRuntimeExports.jsxs(D.ShadowDomWrapper,{styles:[KO,XO,ZO],style:{zIndex:1202},children:[D.jsxRuntimeExports.jsx("nav",{className:`navbar ${c}`,style:g?k:o,children:D.jsxRuntimeExports.jsxs("div",{className:"navbar-container",children:[D.jsxRuntimeExports.jsx("div",{className:"logo-container",children:D.jsxRuntimeExports.jsx("img",{src:x,alt:"logo-header"})}),D.jsxRuntimeExports.jsxs("div",{className:"right-side-container",children:[D.jsxRuntimeExports.jsx(aD,{children:D.jsxRuntimeExports.jsx("span",{className:"cursor-pointer",children:D.jsxRuntimeExports.jsx(GO,{primaryColor:g==null?void 0:g.primaryColor,baseUrl:r,notiPath:s})})}),D.jsxRuntimeExports.jsx("span",{className:"cursor-pointer",children:D.jsxRuntimeExports.jsx(tw,{primaryColor:g==null?void 0:g.primaryColor})}),D.jsxRuntimeExports.jsxs("div",{className:"userContainer",children:[D.jsxRuntimeExports.jsx(JO,{primaryColor:g==null?void 0:g.primaryColor,avatarUrl:t==null?void 0:t.avatarUrl,userName:t==null?void 0:t.firstName,setShowConfirmModal:P}),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:E,onClose:()=>P(!1),onConfirm:j})]})}function JO({avatarUrl:e,userName:t,setShowConfirmModal:r,primaryColor:s="#009d4f"}){const[o,c]=D.reactExports.useState(!1),g=D.reactExports.useRef(null),x=D.reactExports.useRef(null),[k,E]=D.reactExports.useState(!1),[P,j]=D.reactExports.useState(!1),B={backgroundColor:k?s:"transparent"},V={backgroundColor:P?s:"transparent"};return D.reactExports.useEffect(()=>{const U=F=>{g.current&&!g.current.contains(F.target)&&c(!1),x.current&&!x.current.contains(F.target)&&c(!1)};return document.addEventListener("click",U,!0),()=>{document.removeEventListener("click",U,!0)}},[g]),D.jsxRuntimeExports.jsx(D.jsxRuntimeExports.Fragment,{children:D.jsxRuntimeExports.jsxs("div",{style:{position:"relative"},children:[e?D.jsxRuntimeExports.jsx("img",{onClick:()=>c(!o),ref:g,alt:"user avatar",className:"userAvatar",src:e}):D.jsxRuntimeExports.jsx("div",{onClick:()=>c(!o),ref:g,className:"userAvatarNull",children:(t==null?void 0:t.charAt(0))??""}),D.jsxRuntimeExports.jsx("div",{style:{display:o?"block":"none"},className:"avartarDropdownMenu",ref:x,children:D.jsxRuntimeExports.jsxs("ul",{children:[D.jsxRuntimeExports.jsx("li",{onMouseEnter:()=>j(!0),onMouseLeave:()=>j(!1),style:V,className:"avatar-dropdown-item",children:"Profile"}),D.jsxRuntimeExports.jsx("li",{onMouseEnter:()=>E(!0),onMouseLeave:()=>E(!1),style:B,onClick:()=>r(!0),className:"avatar-dropdown-item",children:"Logout"})]})})]})})}{const e=D.s(K0,{props:{logo:"string",user:"json",baseUrl:"string",notiPath:"string",classNames:"string",style:"json",customColors:"json"},shadow:"open"});customElements.define("global-topbar",e)}exports.HasPermission=g0;exports.TopBar=K0;exports.getUseHasPermission=p0;
|