1(window.webpackJsonp=window.webpackJsonp||[]).push([["peerj-app"],{"+/RH":function(e,t,n){"use strict";function i(e){return null==e}function r(e){return null!=e}function a(e,t){return t.tag===e.tag&&t.key===e.key}function o(e){var t=e.tag;e.vm=new t({data:e.args})}function s(e,t,n){var i,a,o={};for(i=t;i<=n;++i)r(a=e[i].key)&&(o[a]=i);return o}function l(e,t,n){for(;t<=n;++t)o(e[t])}function c(e,t,n){for(;t<=n;++t){var i=e[t];r(i)&&(i.vm.$destroy(),i.vm=null)}}function u(e,t){e!==t&&(t.vm=e.vm,function(e){for(var t=Object.keys(e.args),n=0;n<t.length;n++)t.forEach((function(t){e.vm[t]=e.args[t]}))}(t))}Object.defineProperty(t,"__esModule",{value:!0}),t.patchChildren=function(e,t){r(e)&&r(t)?e!==t&&function(e,t){var n,d,h,f=0,p=0,m=e.length-1,g=e[0],v=e[m],b=t.length-1,y=t[0],_=t[b];for(;f<=m&&p<=b;)i(g)?g=e[++f]:i(v)?v=e[--m]:a(g,y)?(u(g,y),g=e[++f],y=t[++p]):a(v,_)?(u(v,_),v=e[--m],_=t[--b]):a(g,_)?(u(g,_),g=e[++f],_=t[--b]):a(v,y)?(u(v,y),v=e[--m],y=t[++p]):(i(n)&&(n=s(e,f,m)),i(d=r(y.key)?n[y.key]:null)?(o(y),y=t[++p]):a(h=e[d],y)?(u(h,y),e[d]=void 0,y=t[++p]):(o(y),y=t[++p]));f>m?l(t,p,b):p>b&&c(e,f,m)}(e,t):r(t)?l(t,0,t.length-1):r(e)&&c(e,0,e.length-1)},t.h=function(e,t,n){return{tag:e,key:t,args:n}}},"+46Q":function(e,t,n){"use strict";n.r(t),t.default={path:"/admin/",name:"user-admin",component:{render:function(e){return e("router-view")}},children:[{path:"spam",name:"UserSpam",component:function(){return n.e(617).then(n.bind(null,"vqPa"))}},{path:"spam/list",name:"UserSpamList",component:function(){return n.e(617).then(n.bind(null,"vqPa"))}}]}},"+K+b":function(e,t,n){var i=n("JHRd");e.exports=function(e){var t=new e.constructor(e.byteLength);return new i(t).set(new i(e)),t}},"+Y1A":function(e,t,n){},"+c4W":function(e,t,n){var i=n("711d"),r=n("4/ic"),a=n("9ggG"),o=n("9Nap");e.exports=function(e){return a(e)?i(o(e)):r(e)}},"+ccf":function(e,t,n){},"+iFO":function(e,t,n){var i=n("dTAl"),r=n("LcsW"),a=n("6sVZ");e.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:i(r(e))}},"+knh":function(e,t,n){"use strict";n.r(t),n.d(t,"MUTATIONS",(function(){return p})),n.d(t,"default",(function(){return m}));var i=n("lSNA"),r=n.n(i),a=n("Kw5r"),o=n("mwIZ"),s=n.n(o),l=n("WTW0"),c=(n("dwWe"),n("wEy/"),n("5rbR")),u=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"}),d=0,h=function(){return{aggregations:{},allIds:[],byIri:{},byId:{},createdResource:null,deleted:null,updated:null,earliestReadId:null,error:"",isLoading:!1,lastRead:0,lastReadId:null,lastRetrieved:0,readIds:[],resetList:!1,selectItems:null,totalItems:0,unreadIds:[],view:null,violations:null}},f=function(e,t,n){return n&&!0!==n.isLoading||e(p.RESET_LOADING),t instanceof c.default?(e(p.SET_VIOLATIONS,t.errors),e(p.SET_ERROR,t.errors._error),Promise.reject(t)):(e(p.SET_ERROR,t.message),Promise.reject(t))},p={ADD:"ADD",MARK_ALL_READ:"MARK_ALL_READ",RESET_CREATE:"RESET_CREATE",RESET_DELETE:"RESET_DELETE",RESET_LIST:"RESET_LIST",RESET_LOADING:"RESET_LOADING",RESET_SHOW:"RESET_SHOW",RESET_UPDATE:"RESET_UPDATE",SET_AGGREGATIONS:"SET_AGGREGATIONS",SET_CREATED:"SET_CREATED",SET_DELETED:"SET_DELETED",SET_ERROR:"SET_ERROR",SET_SELECT_ITEMS:"SET_SELECT_ITEMS",SET_TOTAL_ITEMS:"SET_TOTAL_ITEMS",SET_UPDATED:"SET_UPDATED",SET_VIEW:"SET_VIEW",SET_VIOLATIONS:"SET_VIOLATIONS",SORT_LISTS:"SORT_LISTS",TOGGLE_LOADING:"TOGGLE_LOADING",SET_LOADING:"SET_LOADING",UPDATE_LAST_READ:"UPDATE_LAST_READ"};function m(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.normalizeRelations,i=void 0===n?function(e){return e}:n,o=t.resolveRelations,c=void 0===o?function(e){return e}:o,m=t.service;return{actions:{create:function(e,t){var n=e.commit;e.state;return n(p.SET_ERROR,""),n(p.SET_VIOLATIONS,null),n(p.TOGGLE_LOADING),m.create(t).then((function(e){return e.json()})).then((function(e){d=Date.now(),n(p.TOGGLE_LOADING),n(p.ADD,e),n(p.SET_CREATED,e)})).catch((function(e){return f(n,e)}))},del:function(e,t){var n=e.commit;return n(p.TOGGLE_LOADING),m.del(t).then((function(){n(p.TOGGLE_LOADING),n(p.SET_DELETED,t)})).catch((function(e){return f(n,e)}))},fetchAll:function(e,t){var n=e.commit,r=e.state,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!m)throw new Error("No service specified!");return a&&n(p.TOGGLE_LOADING),m.findAll({params:t}).then((function(e){return e.json()})).then((function(e){r.lastRetrieved=d=Date.now(),a&&n(p.TOGGLE_LOADING),n(p.SET_TOTAL_ITEMS,e["hydra:totalItems"]),n(p.SET_VIEW,e["hydra:view"]),e["hydra:aggregations"]&&n(p.SET_AGGREGATIONS,e["hydra:aggregations"]),!0===r.resetList&&n(p.RESET_LIST),e._roles&&n("me/SET_USER_ROLES",e._roles,{root:!0}),e._me&&n("me/SET_USER_ME",e._me,{root:!0}),e.lastRead&&n(p.UPDATE_LAST_READ,e.lastRead),e["hydra:member"].forEach((function(e){n(p.ADD,i(e))})),n(p.SORT_LISTS)})).catch((function(e){return f(n,e,r)}))},fetchCSV:function(e,t){var n=e.commit;e.state;if(!m)throw new Error("No service specified!");n(p.TOGGLE_LOADING);var i={params:t,headers:{Accept:"text/csv"}};return m.findAll(i).then((function(e){return e.blob()})).then((function(e){n(p.TOGGLE_LOADING);var t=window.URL.createObjectURL(e),i=document.createElement("a");i.href=t,i.download="download.csv",document.body.appendChild(i),i.click(),i.remove()})).catch((function(e){return f(n,e)}))},fetchSelectItems:function(e){var t=e.commit,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.params,r=void 0===i?{properties:["@id","name"]}:i;if(t(p.TOGGLE_LOADING),!m)throw new Error("No service specified!");return m.findAll({params:r}).then((function(e){return e.json()})).then((function(e){t(p.TOGGLE_LOADING),t(p.SET_SELECT_ITEMS,e["hydra:member"])})).catch((function(e){return f(t,e)}))},preLoad:function(e,t){var n=e.commit;e.state;d=Date.now(),n(p.ADD,i(t)),t._roles&&n("me/SET_USER_ROLES",t._roles,{root:!0}),t._me&&n("me/SET_USER_ME",t._me,{root:!0})},addLocalItem:function(e,t){(0,e.commit)(p.ADD,i(t))},delLocalItem:function(e,t){(0,e.commit)(p.SET_DELETED,i(t))},resetLoadingState:function(e){(0,e.commit)(p.RESET_LOADING)},updateItem:function(e,t){(0,e.commit)(p.SET_UPDATED,t)},markAllRead:function(e){(0,e.commit)(p.MARK_ALL_READ)},load:function(e,t){var n=e.commit;e.state;if(!m)throw new Error("No service specified!");return n(p.TOGGLE_LOADING),m.find(t).then((function(e){return e.json()})).then((function(e){d=Date.now(),n(p.TOGGLE_LOADING),n(p.ADD,i(e)),e._roles&&n("me/SET_USER_ROLES",e._roles,{root:!0}),e._me&&n("me/SET_USER_ME",e._me,{root:!0})}
1)).catch((function(e){return f(n,e)}))},resetCreate:function(e){(0,e.commit)(p.RESET_CREATE)},resetDelete:function(e){(0,e.commit)(p.RESET_DELETE)},resetShow:function(e){(0,e.commit)(p.RESET_SHOW)},resetUpdate:function(e){(0,e.commit)(p.RESET_UPDATE)},patch:function(e,t){var n=e.commit;e.state;d=Date.now(),n(p.SET_ERROR,""),n(p.SET_VIOLATIONS,null),n(p.TOGGLE_LOADING);var i=!1;return t.hasEmbeddedUpdates&&(i=!0,delete t.hasEmbeddedUpdates),m.patch(t,i).then((function(e){return e.json()})).then((function(e){n(p.TOGGLE_LOADING),n(p.SET_UPDATED,e),e._roles&&n("me/SET_USER_ROLES",e._roles,{root:!0}),e._me&&n("me/SET_USER_ME",e._me,{root:!0})})).catch((function(e){return f(n,e)}))},update:function(e,t){var n=e.commit;e.state;d=Date.now(),n(p.SET_ERROR,""),n(p.SET_VIOLATIONS,null),n(p.SET_LOADING,!0);var i=!1;return t.hasEmbeddedUpdates&&(i=!0,delete t.hasEmbeddedUpdates),m.update(t,i).then((function(e){return e.json()})).then((function(e){n(p.SET_LOADING,!1),n(p.SET_UPDATED,e),e._roles&&n("me/SET_USER_ROLES",e._roles,{root:!0}),e._me&&n("me/SET_USER_ME",e._me,{root:!0})})).catch((function(e){return f(n,e)}))}},getters:{isLoading:function(e){return e.isLoading},find:function(e){return function(t){return"string"==typeof t&&t.startsWith("/")?c(e.byIri[t]):c(e.byId[t])}},findById:function(e){return function(t){return s()(e.byId,t,void 0)}},findByIri:function(e){return function(t){return s()(e.byIri,t,void 0)}},getField:l.b,list:function(e,t){return e.allIds.map((function(e){return t.find(e)}))},listUnread:function(e,t){return e.unreadIds.map((function(e){return t.find(e)}))},listRead:function(e,t){return e.readIds.map((function(e){return t.find(e)}))},lastReadId:function(e){return e.lastReadId},unreadCount:function(e){return e.unreadIds.length}},mutations:(e={updateField:l.d},r()(e,p.UPDATE_LAST_READ,(function(e,t){a.default.set(e,"lastRead",t)})),r()(e,p.SORT_LISTS,(function(e){var t,n;null===(t=e.unreadIds)||void 0===t||t.sort(u.compare),null===(n=e.readIds)||void 0===n||n.sort(u.compare)})),r()(e,p.ADD,(function(e,t){if(t["@lastRetrieved"]=d,a.default.set(e.byIri,t["@id"],t),!t.id&&t.uuid&&(t.id=t.uuid),t.id&&(a.default.set(e.byId,t.id,t),(!e.earliestReadId||e.earliestReadId>t.id)&&(e.earliestReadId=t.id),(!e.lastReadId||e.lastReadId<t.id)&&(e.lastReadId=t.id)),!e.allIds.includes(t["@id"])&&(e.allIds.push(t["@id"]),e.lastRead&&(t.created||t.createdAt))){var n=t.created?t.created:t.createdAt;if((n=Math.round(new Date(n).getTime()/1e3))<e.lastRead){if(e.readIds.includes(t["@id"]))return;e.readIds.push(t["@id"])}else{if(e.unreadIds.includes(t["@id"]))return;e.unreadIds.push(t["@id"])}}})),r()(e,p.MARK_ALL_READ,(function(e){e.unreadIds=[],e.readIds=e.allIds})),r()(e,p.RESET_CREATE,(function(e){Object.assign(e,{isLoading:!1,error:"",createdResource:null,violations:null})})),r()(e,p.RESET_DELETE,(function(e){Object.assign(e,{isLoading:!1,error:"",deleted:null})})),r()(e,p.RESET_LIST,(function(e){Object.assign(e,{allIds:[],byIri:{},byId:{},error:"",isLoading:!1,resetList:!1})})),r()(e,p.RESET_LOADING,(function(e){Object.assign(e,{isLoading:!1})})),r()(e,p.RESET_SHOW,(function(e){Object.assign(e,{error:"",isLoading:!1})})),r()(e,p.RESET_UPDATE,(function(e){Object.assign(e,{error:"",isLoading:!1,updated:null,violations:null})})),r()(e,p.SET_CREATED,(function(e,t){Object.assign(e,{createdResource:t})})),r()(e,p.SET_DELETED,(function(e,t){if(e.allIds.includes(t["@id"])){var n=e.byIri[t["@id"]];n.id&&delete e.byId[n.id],delete e.byIri[t["@id"]],e.allIds=e.allIds.filter((function(e){return e!==t["@id"]})),e.readIds.includes(t["@id"])&&(e.readIds=e.readIds.filter((function(e){return e!==t["@id"]}))),e.unreadIds.includes(t["@id"])&&(e.unreadIds=e.unreadIds.filter((function(e){return e!==t["@id"]}))),t.skipNotification||Object.assign(e,{deleted:t})}})),r()(e,p.SET_ERROR,(function(e,t){Object.assign(e,{error:t,isLoading:!1})})),r()(e,p.SET_SELECT_ITEMS,(function(e,t){Object.assign(e,{error:"",isLoading:!1,selectItems:t})})),r()(e,p.SET_TOTAL_ITEMS,(function(e,t){Object.assign(e,{totalItems:t})})),r()(e,p.SET_UPDATED,(function(e,t){t["@lastRetrieved"]=d,t.id&&a.default.set(e.byId,t.id,t),a.default.set(e.byIri,t["@id"],t),Object.assign(e,{updated:t})})),r()(e,p.SET_VIEW,(function(e,t){Object.assign(e,{view:t})})),r()(e,p.SET_AGGREGATIONS,(function(e,t){Object.assign(e,{aggregations:t})})),r()(e,p.SET_VIOLATIONS,(function(e,t){Object.assign(e,{violations:t})})),r()(e,p.TOGGLE_LOADING,(function(e){Object.assign(e,{error:"",isLoading:!e.isLoading})})),r()(e,p.SET_LOADING,(function(e,t){Object.assign(e,{error:"",isLoading:t})})),e),namespaced:!0,state:h}}},"+rrX":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("v-card",{staticClass:"rounded-0"},[t("h1",{staticClass:"subtitle-1 grey--text text--darken-1 pb-1 font-weight-bold px-4 pt-4 mb-0"},[e._v("\n "+e._s(e.institutionName)+" authors publish for free\n ")]),e._v(" "),t("v-card-text",{staticClass:"pb-0"},[t("div",{directives:[{name:"markdown",rawName:"v-markdown",value:e.publishingText,expression:"publishingText"}],staticClass:"body-2"})]),e._v(" "),t("v-card-actions",{staticClass:"d-flex flex-column px-4 pb-4"},[t("v-btn",{attrs:{color:"primary",width:"100%",href:e.submitLink}},[e._v("\n "+e._s(n.submitButtonText)+"\n ")]),e._v(" "),t("v-btn",{staticClass:"mt-4 ml-0",attrs:{width:"100%",href:e.factsheetLink,target:"_blank"}},[e._v("\n Download Factsheet\n ")])],1)],1)};i._withStripped=!0;var r=n("Kw5r"),a={__name:"PublishingStatement",props:{publishingText:String,institutionName:String,submitLink:String,factsheetLink:String,approvalNeeded:Boolean},setup:function(e){var t=e;return{__sfc:!0,submitButtonText:Object(r.computed)((function(){return t.approvalNeeded?"SUBMIT ELIGIBILITY CHECK":"Submit"})),props:t}}},o=n("KHd+"),s=n("ZUTo"),l=n.n(s),c=n("gzZi"),u=n("sK+t"),d=n("mdmw"),h=Object(o.a)(a,i,[],!1,null,null,null);t.default=h.exports;l()(h,{VBtn:c.a,VCard:u.a,VCardActions:d.a,VCardText:d.c})},"+s0g":function(e,t,n){!function(e){"use strict";
vendor: 1,922 bytes, lines 2-3
2//! moment.js locale configuration 3var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"//9w":function(e,t,n){!function(e){"use strict";
4//! moment.js locale configuration 5e.defineLocale("se",{months:"oÄÄajagemánnu_guovvamánnu_njukÄamánnu_cuoÅománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_ÄakÄamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"oÄÄj_guov_njuk_cuo_mies_geas_suoi_borg_ÄakÄ_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maÅÅebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maÅ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maÅit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"/0TO":function(e,t,n){},"/1vL":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("v-btn",{staticClass:"shadow-sm",class:[e.bgColor,e.textColor,e.textHover,e.bgHover,e.customClass],attrs:{block:e.block,small:e.small,"x-small":e.xSmall,large:e.large,color:e.color,depressed:e.depressed},on:{click:e.btnClicked}},[e.iconName?t("v-icon",{staticClass:"transition-none",class:[e.iconMr],attrs:{small:e.smallIcon}},[e._v(e._s(e.iconName))]):e._e(),e._v("\n "+e._s(e.text)+"\n")],1)};i._withStripped=!0;var r={name:"HoverButton",props:{text:{type:String,default:""},color:{type:String,default:""},bgColor:{type:String,default:""},textColor:{type:String,default:""},textHover:{type:String,default:""},bgHover:{type:String,default:""},block:{type:Boolean,default:!1},depressed:{type:Boolean,default:!0},small:{type:Boolean,default:!1},iconName:{type:String,default:""},customClass:{type:String,default:""},large:{type:Boolean,default:!1},xSmall:{type:Boolean,default:!1},iconMr:{type:String,default:""},smallIcon:{type:Boolean,default:!1},clickEvent:{type:Function,required:!1}},methods:{btnClicked:function(){this.clickEvent&&this.clickEvent()}}},a=n("KHd+"),o=n("ZUTo"),s=n.n(o),l=n("gzZi"),c=n("Ey0z"),u=Object(a.a)(r,i,[],!1,null,null,null);t.default=u.exports;s()(u,{VBtn:l.a,VIcon:c.a})},"/CkT":function(e,t,n){"use strict";var i=n("sNUu");t.a={dateFormat:function(e,t){return i.a.format(e,t)},formatDateToNow:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return i.a.formatDateToNow(e,t,n)},formatDateToNowShort:function(e,t){return i.a.formatDateToNowShort(e,t)},formatToNowVeryShort:function(e,t){return i.a.formatToNowVeryShort(e,t)},formatInTimeZone:function(e,t,n){return i.a.formatInTimeZone(e,t,n)},formatDateToDaysAgo:function(e,t){return i.a.formatDateToDaysAgo(e,t)}}},"/IGq":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return e.articles&&e.articles.length>0?t("v-card",{staticClass:"rounded-0 pb-1"},[t("h2",{staticClass:"subtitle-1 grey--text text--darken-1 pb-1 font-weight-bold px-4 pt-4 mb-0"},[e._v("\n "+e._s(e.total)+" Articles\n ")]),e._v(" "),t("v-row",{staticClass:"mt-6 mx-4"},[t("TransitionGroup",e._l(e.articles,(function(e){return t("ArticleCard",{key:e.id,attrs:{article:e}})})),1)],1),e._v(" "),t("v-pagination",{staticClass:"my-8",attrs:{disabled:e.loading,length:e.paginationConfig.length,"total-visible":e.paginationConfig.visible,"next-icon":"mdi-menu-right","prev-icon":"mdi-menu-left",color:"primary"},on:{input:e.handlePageChange,next:e.scrollToTop,previous:e.scrollToTop},model:{value:e.page,callback:function(t){e.page=t},expression:"page"}})],1):e._e()};i._withStripped=!0;var r=n("o0o1"),a=n.n(r),o=n("yXPU"),s=n.n(o),l=n("lSNA"),c=n.n(l),u=n("L2JU"),d=n("WTW0"),h=n("t/E1");function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
5t%2?f(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m={name:"Articles",props:{institutionId:{type:String,required:!0}},data:function(){return{page:1,itemsPerPage:5}},components:{ArticleCard:h.default},computed:p(p(p({},Object(u.c)("plansInstitutionPageArticle",{articles:"list"})),Object(d.c)("plansInstitutionPageArticle",{loading:"loading",error:"error",total:"totalItems",resetList:"resetList"})),{},{paginationConfig:function(){var e=Math.ceil(this.total/this.itemsPerPage),t=e<7?e:7;return{page:this.page,length:e,visible:t,perPage:this.itemsPerPage}}}),methods:p(p({},Object(u.b)("plansInstitutionPageArticle",{fetchPlansInstitutionArticles:"fetchAll"})),{},{handlePageChange:function(){var e=this;return s()(a.a.mark((function t(){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.resetList=!0,t.next=3,e.fetchPlansInstitutionArticles({institution:e.institutionId,itemsPerPage:e.itemsPerPage,page:e.page});case 3:e.scrollToTop();case 4:case"end":return t.stop()}}),t)})))()},scrollToTop:function(){this.$emit("scrollToTop")}}),created:function(){var e=this;return s()(a.a.mark((function t(){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.fetchPlansInstitutionArticles({institution:e.institutionId,itemsPerPage:e.itemsPerPage,page:e.page});case 2:case"end":return t.stop()}}),t)})))()}},g=(n("/v34"),n("KHd+")),v=n("ZUTo"),b=n.n(v),y=n("sK+t"),_=n("iR7P"),x=n("D9m0"),w=Object(g.a)(m,i,[],!1,null,null,null);t.default=w.exports;b()(w,{VCard:y.a,VPagination:_.a,VRow:x.a})},"/QRE":function(e,t,n){"use strict";n("OGNg")},"/Twz":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("v-list-item",{directives:[{name:"ripple",rawName:"v-ripple",value:{class:"primary--text"},expression:"{class: 'primary--text'}"}],staticClass:"text-18 pl-6",attrs:{href:e.href,rel:e.href&&"#"!==e.href?"noopener":void 0,target:!e.item._self&&e.href&&"#"!==e.href?"_blank":void 0,to:e.item.to,"active-class":"primary--text",height:48}},[e.text?t("v-list-item-icon",{staticClass:"v-list-item__icon--text",domProps:{textContent:e._s(e.computedText)}}):e.item.badgeIcon?t("v-badge",{attrs:{size:"10px",icon:e.item.badgeIcon,color:e.item.badgeColor?e.item.badgeColor:"",bordered:!e.item.hideBadgeBorder,left:e.item.badgeLeft,overlap:e.item.badgeOverlap,bottom:e.item.badgeBottom,"offset-x":e.item.badgeOffsetX?e.item.badgeOffsetX:"","offset-y":e.item.badgeOffsetY?e.item.badgeOffsetY:""}},[t("v-icon",{attrs:{color:e.item.iconColor?e.item.iconColor:""},domProps:{textContent:e._s(e.item.icon)}})],1):e.item.icon?t("v-list-item-icon",[t("v-icon",{attrs:{color:e.item.iconColor?e.item.iconColor:""},domProps:{textContent:e._s(e.item.icon)}})],1):e._e(),e._v(" "),e.title||e.subtitle?t("v-list-item-content",{staticClass:"pa-0 text-14 line-height-fix"},[t("v-list-item-title",{staticClass:"ma-0 text-14 line-height-fix",domProps:{textContent:e._s(e.title)}}),e._v(" "),t("v-list-item-subtitle",{domProps:{textContent:e._s(e.subtitle)}})],1):e._e()],1)};i._withStripped=!0;var r={name:"Item",mixins:[n("dWAg").a],props:{item:{type:Object,default:function(){return{href:void 0,iconLeft:void 0,icon:void 0,subtitle:void 0,subText:void 0,text:void 0,title:void 0,to:void 0}}},text:{type:Boolean,default:!1}},computed:{title:function(){return this.item&&(this.item.text||this.item.title)?this.item.text?this.item.text:this.item.title:""},subtitle:function(){return this.item&&(this.item.subText||this.item.subtitle)?this.item.subText?this.item.subText:this.item.subtitle:""},computedText:function(){if(!this.item||!this.item.text&&!this.item.title)return"";var e="";return(this.item.text?this.item.text:this.item.title).split(" ").forEach((function(t){e+=t.substring(0,1)})),e},href:function(){return this.item.href||this.item.path||(this.item.to?void 0:"#")}}},a=(n("h4Av"),n("KHd+")),o=n("ZUTo"),s=n.n(o),l=n("TKb1"),c=n("Ey0z"),u=n("2hOt"),d=n("XSMC"),h=n("NMP6"),f=n("Jpri"),p=n.n(f),m=n("VgeV"),g=Object(a.a)(r,i,[],!1,null,null,null);t.default=g.exports;s()(g,{VBadge:l.a,VIcon:c.a,VListItem:u.a,VListItemContent:d.b,VListItemIcon:h.a,VListItemSubtitle:d.c,VListItemTitle:d.d}),p()(g,{Ripple:m.a})},"/X4S":function(e,t,n){"use strict";n.r(t);var i=n("RIqP"),r=n.n(i),a=!1;try{var o=JSON.parse(document.body.getAttribute("data-controllerVars")||"{}");a=isNaN(parseInt(null==o?void 0:o.sapCheckout))?!(null==o||!o.sapCheckout):parseInt(o.sapCheckout)}catch(e){console.error(e)}t.default={path:"/",name:"paymentView",component:{render:function(e){return e("router-view")}},children:[{path:"payment",name:"payments",component:function(){return n.e(213).then(n.bind(null,"B72i"))}},{path:"tandf/checkout/:cartId",name:"T&F checkout pending",component:function(){return n.e(141).then(n.bind(null,"KmqO"))}},{path:"tandf/checkout/:cartId/success",name:"T&F checkout success",component:function(){return n.e(141).then(n.bind(null,"KmqO"))}}].concat(r()(a?[{path:"tandf/checkout",name:"T&F checkout",component:function(){return n.e(140).then(n.bind(null,"Qlf7"))}}]:[]))}},"/X5v":function(e,t,n){!function(e){"use strict";
6//! moment.js locale configuration 7e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Ãp~rÃl_~Máý_~Júñé~_Júl~ý_Ãú~gúst~_Sép~témb~ér_Ã~ctób~ér_Ã~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ãpr_~Máý_~Júñ_~Júl_~Ãúg_~Sép_~Ãct_~Ãóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~FrÃd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~FrÃ_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ã~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"Ã~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~mÃñ~úté",mm:"%d m~Ãñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"/eVo":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",e._b({attrs:{role:"radiogroup","aria-labelledby":e.labelId}},"div",n.attrs,!1),[e.name?[t("input",{directives:[{name:"model",rawName:"v-model",value:n.c_value,expression:"c_value"}],attrs:{type:"hidden",name:e.name},domProps:{value:n.c_value},on:{input:function(e){e.target.composing||(n.c_value=e.target.value)}}})]:e._e(),e._v(" "),e.options.length?[t("v-row",e._l(e.options,(function(i,r){return t("v-col",{key:i[e.itemValueKey],attrs:{cols:e.cols,lg:e.lg,md:e.md,sm:e.sm}},[t("v-btn",{directives:[{name:"ripple",rawName:"v-ripple"}],class:n.activeIndex===r?n.activeClass:n.passiveClass,attrs:{id:"radio-".concat(i[e.itemValueKey]),"aria-checked":(n.activeIndex===r)+"","aria-label":i[e.itemLabelKey],role:"radio",outlined:"",text:""},on:{click:function(t){return n.setItem(i[e.itemValueKey])},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:(t.preventDefault(),n.setItem(i[e.itemValueKey]))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),n.setItem(i[e.itemValueKey]))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),n.selectPrevious.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:(t.preventDefault(),n.selectPrevious.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),n.selectNext.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button?null:(t.preventDefault(),n.selectNext.apply(null,arguments))}],mouseenter:function(e){n.hoverIndex=r},mouseleave:function(e){n.hoverIndex=-1}}},[t("div",{staticClass:"d-flex align-center"},[e.hideRadio?e._e():[t("div",{staticClass:"mr-2",attrs:{"aria-hidden":!0}},[n.activeIndex!==r?[t("v-icon",{attrs:{color:n.hoverIndex===r?"black":"grey"}},[e._v("\n mdi-radiobox-blank\n ")])]:[t("v-icon",[e._v("\n mdi-radiobox-marked\n ")])]],2)],e._v(" "),t("div",[e._t("item",(function(){return[e._v("\n "+e._s(i[e.itemLabelKey])+"\n ")]}),{item:i[e.itemLabelKey],active:n.activeIndex===r,hover:n.hoverIndex===r})],2)],2)])],1)})),1)]:e._e()],2)};i._withStripped=!0;var r=n("o0o1"),a=n.n(r),o=n("yXPU"),s=n.n(o),l=n("Kw5r"),c={__name:"RadioCards",props:{value:{type:[Number,String,void 0],default:void 0},options:{type:Array,default:function(){return[]}},itemLabelKey:{type:String,default:"label"},itemValueKey:{type:String,default:"id"},name:{type:void 0|String,default:void 0},cols:{type:Number,default:6},lg:{type:void 0|Number,default:void 0},md:{type:void 0|Number,default:void 0},sm:{type:void 0|Number,default:12},hideRadio:{type:Boolean,default:!1},labelId:{type:String,default:"radiogroup-label"}}
7,emits:["input"],setup:function(e,t){var n=t.emit,i=e,r=Object(l.useAttrs)(),o=["RadioCard-radio","pa-7","v-card--link","v-sheet","v-sheet--outlined","theme--light","elevation-0","rounded","text-capitalize","w-full"],c=Object(l.ref)([].concat(o,["active"])),u=Object(l.ref)(o),d=Object(l.computed)({get:function(){return i.value},set:function(e){return n("input",e)}}),h=Object(l.ref)(-1),f=Object(l.ref)(-1),p=function(){var e=s()(a.a.mark((function e(t){var n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:d.value=t,(n=i.options.findIndex((function(e){return e[i.itemValueKey]===t})))>=0&&(h.value=n);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return{__sfc:!0,attrs:r,props:i,RADIO_CLASS:o,activeClass:c,passiveClass:u,c_value:d,activeIndex:h,hoverIndex:f,setItem:p,selectNext:function(){var e=(h.value+1)%i.options.length;p(i.options[e][i.itemValueKey])},selectPrevious:function(){var e=h.value-1<0?i.options.length-1:h.value-1;p(i.options[e][i.itemValueKey])},emit:n}}},u=(n("H1W5"),n("KHd+")),d=n("ZUTo"),h=n.n(d),f=n("gzZi"),p=n("Yq0q"),m=n("Ey0z"),g=n("D9m0"),v=n("Jpri"),b=n.n(v),y=n("VgeV"),_=Object(u.a)(c,i,[],!1,null,"6c5a2a76",null);t.default=_.exports;h()(_,{VBtn:f.a,VCol:p.a,VIcon:m.a,VRow:g.a}),b()(_,{Ripple:y.a})},"/gkr":function(e,t,n){"use strict";n.d(t,"b",(function(){return s}));var i=n("w3qa"),r=n("UxGI"),a=n("hUf1"),o=n("WN+I");function s(e){e.preventDefault()}t.a=Object(o.a)(i.a,r.a,a.a).extend({name:"selectable",model:{prop:"inputValue",event:"change"},props:{id:String,inputValue:null,falseValue:null,trueValue:null,multiple:{type:Boolean,default:null},label:String},data(){return{hasColor:this.inputValue,lazyValue:this.inputValue}},computed:{computedColor(){if(this.isActive)return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"},isMultiple(){return!0===this.multiple||null===this.multiple&&Array.isArray(this.internalValue)},isActive(){const e=this.value,t=this.internalValue;return this.isMultiple?!!Array.isArray(t)&&t.some(t=>this.valueComparator(t,e)):void 0===this.trueValue||void 0===this.falseValue?e?this.valueComparator(e,t):Boolean(t):this.valueComparator(t,this.trueValue)},isDirty(){return this.isActive},rippleState(){return this.isDisabled||this.validationState?this.validationState:void 0}},watch:{inputValue(e){this.lazyValue=e,this.hasColor=e}},methods:{genLabel(){const e=i.a.options.methods.genLabel.call(this);return e?(e.data.on={click:s},e):e},genInput(e,t){return this.$createElement("input",{attrs:Object.assign({"aria-checked":this.isActive.toString(),disabled:this.isDisabled,id:this.computedId,role:e,type:e},t),domProps:{value:this.value,checked:this.isActive},on:{blur:this.onBlur,change:this.onChange,focus:this.onFocus,keydown:this.onKeydown,click:s},ref:"input"})},onClick(e){this.onChange(),this.$emit("click",e)},onChange(){if(!this.isInteractive)return;const e=this.value;let t=this.internalValue;if(this.isMultiple){Array.isArray(t)||(t=[]);const n=t.length;t=t.filter(t=>!this.valueComparator(t,e)),t.length===n&&t.push(e)}else t=void 0!==this.trueValue&&void 0!==this.falseValue?this.valueComparator(t,this.trueValue)?this.falseValue:this.trueValue:e?this.valueComparator(t,e)?null:e:!t;this.validate(!0,t),this.internalValue=t,this.hasColor=t},onFocus(e){this.isFocused=!0,this.$emit("focus",e)},onBlur(e){this.isFocused=!1,this.$emit("blur",e)},onKeydown(e){}}})},"/hMX":function(e,t,n){"use strict";var i=n("vDqi"),r=n.n(i),a=n("dwWe"),o=n("jsnD"),s=n("koCO"),l=n("bbSu"),c=n("u8Zi"),u={baseUrl:"/api/",endpoints:{root:{url:""},signIn:{url:"login/"},token:{url:"token/"},messages:{url:"articles/{articleId}/messages/"},emails:{url:"emails/{id}.{format}"},articles:{url:"articles"},article:{url:"articles/{id}/"}},cancelTokenSources:[],buildUrl:function(e,t,n){for(var i in t)e=e.replace("{"+i+"}",t[i]);Object.keys(n).length&&(e+="?"+Object.keys(n).map((function(e){return e+"="+n[e]})).join("&"));return"http"==e.substring(0,4)?e:this.baseUrl+e},refreshTokenAndRetryCall:function(e){var t=this;if(!e.retries||e.retries<2)return new Promise((function(n,i){o.a.dispatch("user/checkSignedIn").then((function(){return e.retry=!0,t.call(e)})).then((function(e){n(e)})).catch((function(e){console.warn("Api Error, token refresh attempted",e),l.a.$emit(c.a.SHOW_LOGIN_MODAL),i(e)}))}));console.warn("API retry limit reached."),l.a.$emit(c.a.SHOW_LOGIN_MODAL)},call:function(e){var t=this;e.retry?(e.retries++,console.log("Re-trying API Call")):e.retries=0;var n=e.hasOwnProperty("endpoint")?e.endpoint:"root",i=e.hasOwnProperty("method")?e.method:"GET",o=e.hasOwnProperty("urlParam
7s")?e.urlParams:{},l=e.hasOwnProperty("queryParams")?e.queryParams:{},c=e.hasOwnProperty("data")?e.data:{},u=e.hasOwnProperty("model")?e.model:null,d=e.hasOwnProperty("url")?e.url:null;e.paginationPage&&(l.page=e.paginationPage),e.paginationLimit&&(l["pager-limit"]=e.paginationLimit),d=(d=this.buildUrl(d||this.endpoints[n].url,o,l)).replace("//api","");var h=a.a.getItem("jwt")?a.a.getItem("jwt"):"",f=r.a.CancelToken.source();return this.cancelTokenSources.push(f),new Promise((function(n,a){r()({withCredentials:!0,headers:{Authorization:"bearer "+h,"X-Requested-With":"XMLHttpRequest"},method:i,url:d,data:c,cancelToken:f.token}).then((function(e){var t={status:e.status};if(e.headers["x-pj-redirect-external"])r.a.get(e.headers["x-pj-redirect-external"]).then((function(e){t.data=e.data,n(t)})).catch((function(e){a(e)}));else{if(u)if(e.data.pagerItems)t.data=new s.a(e.data,u);else try{t.data=new u(e.data)}catch(e){console.error("Error creating model from api data: ",e),a(e.message)}else t.data=e.data;n(t)}})).catch((function(i){var r=i.response;r&&401==r.data.code&&!e.retry?t.refreshTokenAndRetryCall(e).then((function(e){n(e)})).catch((function(e){a(e)})):(console.warn("Api Error",i),a(r))})).finally((function(){}))}))},cancelAllRequests:function(){this.cancelTokenSources.forEach((function(e){e.cancel(">>API Request cancelled")}))},initGlobals:function(){var e={cancelAllRequests:function(){u.cancelAllRequests()}};window.PeerJ?window.PeerJ.Api=e:window.PeerJ={Api:e}}};u.initGlobals(),t.a=u},"/v34":function(e,t,n){"use strict";n("L0vI")},"/wn7":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("v-dialog",{attrs:{fullscreen:e.$vuetify.breakpoint.mobile,transition:"dialog-bottom-transition","max-width":"900"},model:{value:e.showDialog,callback:function(t){e.showDialog=t},expression:"showDialog"}},[t("v-card",[t("v-toolbar",{staticClass:"mb-6",attrs:{dark:"",dense:"",flat:"",elevation:"0",color:"indigo"}},[t("v-progress-linear",{directives:[{name:"show",rawName:"v-show",value:e.isSaving,expression:"isSaving"}],attrs:{active:e.isSaving,indeterminate:e.isSaving,color:"primary",absolute:"",top:""}}),e._v(" "),t("v-btn",{attrs:{icon:"",dark:""},on:{click:function(t){return e.$emit("closeGroupDiscountDialog")}}},[t("v-icon",[e._v("mdi-close")])],1),e._v(" "),t("v-toolbar-title",[e._v("Manage discount - "+e._s(e.submission.groupName))]),e._v(" "),t("v-spacer")],1),e._v(" "),t("v-card-text",[t("p",{directives:[{name:"markdown",rawName:"v-markdown",value:e.groupDiscountText,expression:"groupDiscountText"}]}),e._v(" "),e.communityMembershipAvailable&&!e.communityMembershipExpired&&e.discountChoices&&e.discountChoices.length?t("v-col",{attrs:{cols:"12"}},[t("v-radio-group",{model:{value:e.discountChoice,callback:function(t){e.discountChoice=t},expression:"discountChoice"}},[t("p",[t("strong",[e._v("Choose one")])]),e._v(" "),e._l(e.discountChoices,(function(e){return t("v-radio",{key:e.value,attrs:{label:e.text,value:e.value}})}))],2)],1):e._e(),e._v(" "),e.showFundingOptions?t("v-col",{staticClass:"mb-4",attrs:{cols:"12",md:"8"}},[t("v-text-field",{staticClass:"mb-4",attrs:{filled:"",type:"number",hint:"Please indicate the amount of funding assistance required (USD)","persistent-hint":"",label:"$ USD"},model:{value:e.funding,callback:function(t){e.funding=t},expression:"funding"}})],1):e._e(),e._v(" "),e.showFundingOptions?t("v-col",{attrs:{cols:"12",md:"12"}},[t("v-textarea",{attrs:{filled:"",hint:"Add a personal statement or reason for the funding","persistent-hint":"",label:"Statement to Hub fund manager"},model:{value:e.statement,callback:function(t){e.statement=t},expression:"statement"}})],1):e._e(),e._v(" "),e.eligibilityText?t("v-alert",{attrs:{type:"warning",color:"yellow dark--text"}},[t("p",[t("strong",[e._v("Eligibility")])]),e._v(" "),t("div",{directives:[{name:"markdown",rawName:"v-markdown",value:e.eligibilityText,expression:"eligibilityText"}]})]):e._e(),e._v(" "),e.communityMembershipAvailable&&"accepted"===e.editorialStatus?t("v-alert",{attrs:{type:"warning",color:"yellow dark--text"}},[t("p",[t("strong",[e._v("Hub Cooperative Fund Requests")])]),e._v(" "),t("div",[e._v("If you have requested additional funding support from the Hub Cooperative Publishing Fund, please wait\n for the Hub Fund Manager to review and respond to your request before making any payments.\n ")])]):e._e(
7),e._v(" "),e.hasError||e.hasSaved?t("v-row",[t("v-col",{attrs:{cols:"12"}},[t("v-alert",{directives:[{name:"show",rawName:"v-show",value:e.hasError,expression:"hasError"}],attrs:{dense:"",width:"100%",type:"error"}},[e._v("Apologies, but an error occurred.\n ")]),e._v(" "),t("v-alert",{directives:[{name:"show",rawName:"v-show",value:e.hasSaved,expression:"hasSaved"}],attrs:{dense:"",width:"100%",type:"success"}},[e._v("Saved\n ")])],1)],1):e._e()],1),e._v(" "),t("v-card-actions",[t("v-btn",{attrs:{color:"primary",loading:e.isSaving,disabled:e.previewMode||e.isSaveDisabled},on:{click:function(t){return e.save()}}},[e._v("\n Update\n ")])],1)],1)],1)};i._withStripped=!0;var r=n("vDqi"),a=n.n(r),o=["new","check","review"],s={name:"GroupDiscountDialog",props:{openGroupDiscountDialog:{type:Boolean,required:!1},submission:{type:Object},article:{type:Object},articleId:{type:Number},appGroup:{type:Object},communityMembershipExpired:{type:Boolean,default:!1},communityMembershipAvailable:{type:Boolean,default:!1},previewMode:{type:Boolean,default:!1}},computed:{groupSlug:function(){return this.submission.groupSlug},showFundingOptions:function(){return"funding"===this.discountChoice&&(this.communityMembershipAvailable||"funding"===this.discountChoice)&&"accepted"===this.editorialStatus&&!0===this.communityMembershipAvailable},isSaveDisabled:function(){return this.funding===this.submission.funding&&(this.statement===this.submission.fundingStatement&&this.discountChoice===this.submission.discountChoice)},currentRevStatus:function(){var e,t;return null===(e=this.article)||void 0===e||null===(t=e.currentRevision)||void 0===t?void 0:t.status},showDialog:{get:function(){return this.openGroupDiscountDialog},set:function(e){this.$emit("update:open-group-discount-dialog",e)}},editorialStatus:function(){return o.includes(this.currentRevStatus)?"preAccepted":this.currentRevStatus},groupDiscountPage:function(){var e;return(null===(e=this.appGroup)||void 0===e?void 0:e.groupDiscountPage)||[]},message:function(){var e=this;switch(!0){case!this.communityMembershipExpired&&!this.communityMembershipAvailable:return this.groupDiscountPage.find((function(e){return!e.member&&!e.activeMembership}));case this.communityMembershipExpired:return this.groupDiscountPage.find((function(t){return!t.activeMembership&&t.member&&t.editorialStatus===e.editorialStatus}));case!this.communityMembershipExpired:return this.groupDiscountPage.find((function(t){return t.activeMembership&&t.member&&t.editorialStatus===e.editorialStatus}));default:return{}}},eligibilityText:function(){var e;return null===(e=this.message)||void 0===e?void 0:e.eligibility},groupDiscountText:function(){var e;return null===(e=this.message)||void 0===e?void 0:e.text},discountChoices:function(){var e;return null===(e=this.message)||void 0===e?void 0:e.fundingOptions}},data:function(){return{discountChoice:this.submission.discountChoice,funding:this.submission.funding,statement:this.submission.fundingStatement,isSaving:!1,hasError:!1,hasSaved:!1}},methods:{handleLoadingEvent:function(e){this.isLoadingData=e},save:function(){var e=this;!this.isSaving&&this.discountChoice&&(this.hasSaved=!1,this.hasError=!1,this.isSaving=!0,a.a.post("/groups/save-discount-choice/"+this.submission.id,{discountChoice:this.discountChoice,funding:this.funding,statement:this.statement}).then((function(t){e.isSaving=!1,t.data.ok?(e.hasSaved=!0,e.submission.discountChoice=e.discountChoice):e.hasError=!0})).catch((function(){e.hasError=!0})).finally((function(){e.isSaving=!1})))}}},l=n("KHd+"),c=n("ZUTo"),u=n.n(c),d=n("B5h7"),h=n("gzZi"),f=n("sK+t"),p=n("mdmw"),m=n("Yq0q"),g=n("FpqX"),v=n("Ey0z"),b=n("jjY0"),y=n("Z7Yp"),_=n("Q6Zl"),x=n("D9m0"),w=n("L6Q5"),k=n("hlRy"),S=n("qEQh"),M=n("cdmR"),L=n("Kn9U"),A=Object(l.a)(s,i,[],!1,null,null,null);t.default=A.exports;u()(A,{VAlert:d.a,VBtn:h.a,VCard:f.a,VCardActions:p.a,VCardText:p.c,VCol:m.a,VDialog:g.a,VIcon:v.a,VProgressLinear:b.a,VRadio:y.a,VRadioGroup:_.a,VRow:x.a,VSpacer:w.a,VTextField:k.a,VTextarea:S.a,VToolbar:M.a,VToolbarTitle:L.b})},"0EQO":function(e,t,n){"use strict";var i=function(){var e=this._self._c,t=this._self._setupProxy;return e("v-combobox",this._g(this._b({directives:[{name:"click-outside",rawName:"v-click-outside",value:t.hideSearchIfSearchNotClicked,expression:"hideSearchIfSearchNotClicked"},{name:"if-focused-element-detects-scroll-event",rawName:"v-if-focused-element-detects-scroll-event",value:t.hideSearchIfExternalScroll,expression:"hideSearchIfExternalScroll"}],ref:"VBetterCombobox",attrs:{"aria-describedby":"This is a search box. Start typing and results will appear in an associated list box"},on:{focus:t.enableHideEventAndAssignAriaAttrsToListbox,blur:t.unassignWrapperAttrs}},"v-combobox",t.attrs,!1),t.listeners))};i._withStripped=!0;var r=n("o0o1"),a=n.n(r),o=n("yXPU"),s=n.n(o),l=n("Kw5r"),c=n("mwIZ"),u=n.n(c),d=n("Y+p1"),h=n.n(d),f=n("FAz/"),p={__name:"VBetterCombobox",setup:function(e){var t=Object(l.useAttrs
7)(),n=Object(l.useListeners)(),i=Object(l.ref)(void 0),r=Object(f.a)().findChildAtAnyDepth,o=Object(l.ref)(!0),c=Object(l.ref)(void 0),d=function(){var e=s()(a.a.mark((function e(){var t,n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=null===(t=i.value)||void 0===t||null===(n=t.$el)||void 0===n?void 0:n.querySelector(".v-input__slot"),c.value||(c.value=r.getAttribute("aria-owns")),e.next=4,Object(l.nextTick)();case 4:document.getElementById(c.value)?m():g();case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),p=function(){var e=s()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.value=!0,e.next=3,d();case 3:setTimeout(s()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:case"end":return e.stop()}}),e)}))),150);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),m=function(){var e,t,n=null===(e=i.value)||void 0===e||null===(t=e.$el)||void 0===t?void 0:t.querySelector(".v-input__slot");n.setAttribute("aria-owns",c.value),n.setAttribute("aria-controls",c.value),n.setAttribute("aria-haspopup","listbox"),n.setAttribute("aria-expanded","true"),n.setAttribute("role","combobox")},g=function(){setTimeout((function(){var e,t,n=null===(e=i.value)||void 0===e||null===(t=e.$el)||void 0===t?void 0:t.querySelector(".v-input__slot");n.removeAttribute("aria-owns"),n.removeAttribute("aria-controls"),n.removeAttribute("aria-haspopup"),n.removeAttribute("aria-expanded"),n.removeAttribute("role")}),150)},v=function(){var e,t,n,r=null===(e=i.value)||void 0===e||null===(t=e.$refs)||void 0===t||null===(n=t.menu)||void 0===n?void 0:n.$el;r&&(r.style.display="none"),i.value.blur(),o.value=!1},b=function(){var e=s()(a.a.mark((function e(){var t,n,r,o,s;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(l.nextTick)();case 2:c.value&&(t=document.getElementById(c.value))&&(o=null===(n=i.value)||void 0===n||null===(r=n.$el)||void 0===r?void 0:r.querySelector(".v-input__slot"),s=o.querySelector("input"),t.setAttribute("aria-labelledby",s.id));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(l.watch)((function(){return t}),s()(a.a.mark((function e(){var t,n,r,o,s=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=s.length>0&&void 0!==s[0]?s[0]:{value:void 0},!o.value||null!==(t=i.value)&&void 0!==t&&null!==(n=t.$el)&&void 0!==n&&null!==(r=n.querySelector(".v-input__slot"))&&void 0!==r&&r.getAttribute("aria-owns")){e.next=6;break}return e.next=4,d();case 4:return e.next=6,b();case 6:case"end":return e.stop()}}),e)}))),{deep:!0}),{__sfc:!0,attrs:t,listeners:n,VBetterCombobox:i,findChildAtAnyDepth:r,enableHideEvent:o,hideSearchIfExternalScroll:function(e){var t=e.scrolledElement;if(o.value){var n,a,s=u()(i.value,"$refs.menu.$children[0].$el");h()(s,t)||h()(null===(n=i.value)||void 0===n||null===(a=n.$el)||void 0===a?void 0:a.querySelector("input"),t)||r(s,t)||v()}},listId:c,setupAriaAttrs:d,enableHideEventAndAssignAriaAttrsToListbox:p,assignWrapperAttrs:m,unassignWrapperAttrs:g,hideSearchIfSearchNotClicked:function(e){var t=u()(i.value,"$refs.menu.$children[0].$el");e.target&&t&&!r(t,e.target)&&(v(),g())},hideSearch:v,assignAriaAttrsFromWrapperToInput:b}}},m=n("KHd+"),g=n("ZUTo"),v=n.n(g),b=n("K13u"),y=n("Jpri"),_=n.n(y),x=n("opMy"),w=Object(m.a)(p,i,[],!1,null,null,null);t.a=w.exports;v()(w,{VCombobox:b.a}),_()(w,{ClickOutside:x.a})},"0Gc7":function(e,t,n){"use strict";n("EPc8")},"0JQy":function(e,t){var n="[\\ud800-\\udfff]",i="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",a="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+i+"|"+r+")"+"?",c="[\\ufe0e\\ufe0f]?"+l+("(?:\\u200d(?:"+[a,o,s].join("|")+")[\\ufe0e\\ufe0f]?"+l+")*"),u="(?:"+[a+i+"?",i,o,s,n].join("|")+")",d=RegExp(r+"(?="+r+")|"+u+c,"g");e.exports=function(e){return e.match(d)||[]}},"0Q/7":function(e,t,n){"use strict";var i=n("Kw5r");t.a=i.default.extend({name:"ssr-bootable",data:()=>({isBooted:!1}),mounted(){window.requestAnimationFrame(()=>{this.$el.setAttribute("data-booted","true"),this.isBooted=!0})}})},"0ZMU":function(e,t,n){},"0ZTe":function(e,t,n){var i=n("wy8a"),r=n("quyA"),a=n("Em2t"),o=n("dt0z");e.exports=function(e){return function(t){t=o(t);var n=r(t)?a(t):void 0,s=n?n[0]:t.charAt(0),l=n?i(n,1).join(""):t.slice(1);return s[e]()+l}}},"0d90":function(e,t,n){},"0fxA":function(e,t,n){var i={"./Card.vue":"aPrH","./Chart.vue":"XLwj","./ChartCard.vue":"fYPL","./FixedWidthBody.vue":"CRKT","./FourPartCard.vue":"YqYm","./GenericPageBanner/GPB_Desktop.vue":"JhPg","./GenericPageBanner/GPB_Mobile.vue":"xYtH","./GenericPageBanner/GenericPageBanner.vue":"6hVe","./HeaderWithCTA.vue":"Ptxk","./HoverButton.vue":"/1vL","./Image.vue":"RY00","./Image_CTA.vue":"pdp4","./NewComment.vue":"Pqjd","./OutlineButton.vue":"bPE9","./PJSlideGroup/PJSlideGroup.vue":"2us/","./RadioCards.vue":"/eVo","./YouTubePlayer.vue":"XD+U","./item.vue":"/Twz","./itemGroup.vue":"SW4x","./itemSubGroup.vue":"PSin"};function r(e){var t=a(e);return n(t)}function a(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id="0fxA"},"0mo+":function(e,t,n){!function(e){"use strict";
8//! moment.js locale configuration 9var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"à½à¾³à¼à½à¼à½à½à¼à½à½¼_à½à¾³à¼à½à¼à½à½à½²à½¦à¼à½_à½à¾³à¼à½à¼à½à½¦à½´à½à¼à½_à½à¾³à¼à½à¼à½à½à½²à¼à½_à½à¾³à¼à½à¼à½£à¾à¼à½_à½à¾³à¼à½à¼à½à¾²à½´à½à¼à½_à½à¾³à¼à½à¼à½à½à½´à½à¼à½_à½à¾³à¼à½à¼à½à½¢à¾à¾±à½à¼à½_à½à¾³à¼à½à¼à½à½à½´à¼à½_à½à¾³à¼à½à¼à½à½ ུà¼à½_à½à¾³à¼à½à¼à½à½ ུà¼à½à½ ིà½à¼à½_à½à¾³à¼à½à¼à½à½ ུà¼à½à½à½²à½¦à¼à½".split("_"),monthsShort:"à½à¾³à¼1_à½à¾³à¼2_à½à¾³à¼3_à½à¾³à¼4_à½à¾³à¼5_à½à¾³à¼6_à½à¾³à¼7_à½à¾³à¼8_à½à¾³à¼9_à½à¾³à¼10_à½à¾³à¼11_à½à¾³à¼12".split("_"),monthsShortRegex:/^(à½à¾³à¼\d{1,2})/,monthsParseExact:!0,weekdays:"à½à½à½ à¼à½à½²à¼à½à¼_à½à½à½ à¼à½à¾³à¼à½à¼_à½à½à½ à¼à½à½²à½à¼à½à½à½¢à¼_à½à½à½ à¼à½£à¾·à½à¼à½à¼_à½à½à½ à¼à½à½´à½¢à¼à½à½´_à½à½à½ à¼à½à¼à½¦à½à½¦à¼_à½à½à½ à¼à½¦à¾¤à½ºà½à¼à½à¼".split("_"),weekdaysShort:"à½à½²à¼à½à¼_à½à¾³à¼à½à¼_à½à½²à½à¼à½à½à½¢à¼_ལྷà½à¼à½à¼_à½à½´à½¢à¼à½à½´_à½à¼à½¦à½à½¦à¼_སྤེà½à¼à½à¼".split("_"),weekdaysMin:"à½à½²_à½à¾³_à½à½²à½_ལྷà½_à½à½´à½¢_སà½à½¦_སྤེà½".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[à½à½²à¼à½¢à½²à½] LT",nextDay:"[སà½à¼à½à½²à½] LT",nextWeek:"[à½à½à½´à½à¼à½à¾²à½à¼à½¢à¾à½ºà½¦à¼à½], LT",lastDay:"[à½à¼à½¦à½] LT",lastWeek:"[à½à½à½´à½à¼à½à¾²à½à¼à½à½à½ à¼à½] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལà¼",past:"%s སà¾à½à¼à½£",s:"ལà½à¼à½¦à½",ss:"%d སà¾à½¢à¼à½à¼",m:"སà¾à½¢à¼à½à¼à½à½ ིà½",mm:"%d སà¾à½¢à¼à½",h:"à½à½´à¼à½à½¼à½à¼à½à½ ིà½",hh:"%d à½à½´à¼à½à½¼à½",d:"à½à½²à½à¼à½à½ ིà½",dd:"%d à½à½²à½à¼",M:"à½à¾³à¼à½à¼à½à½ ིà½",MM:"%d à½à¾³à¼à½",y:"ལོà¼à½à½ ིà½",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/à½à½à½à¼à½à½¼|à½à½¼à½à½¦à¼à½à½¦|à½à½²à½à¼à½à½´à½|à½à½à½¼à½à¼à½à½|à½à½à½à¼à½à½¼/,meridiemHour:function(e,t){return 12===e&&(e=0),"à½à½à½à¼à½à½¼"===t&&e>=4||"à½à½²à½à¼à½à½´à½"===t&&e<5||"à½à½à½¼à½à¼à½à½"===t?e+12:e},meridiem:function(e,t,n){return e<4?"à½à½à½à¼à½à½¼":e<10?"à½à½¼à½à½¦à¼à½à½¦":e<17?"à½à½²à½à¼à½à½´à½":e<20?"à½à½à½¼à½à¼à½à½":"à½à½à½à¼à½à½¼"},week:{dow:0,doy:6}})}(n("wd/R"))},"0pQ5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("eO9T");t.default=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,i.withParams)({type:"or"},(function(){for(var e=this,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.length>0&&t.reduce((function(t,n){return t||n.apply(e,i)}),!1)}))}},"0tRk":function(e,t,n){!function(e){"use strict";
10//! moment.js locale configuration 11e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [à s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [à s] HH:mm"},calendar:{sameDay:"[Hoje à s] LT",nextDay:"[Amanhã à s] LT",nextWeek:"dddd [à s] LT",lastDay:"[Ontem à s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Ãltimo] dddd [à s] LT":"[Ãltima] dddd [à s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(n("wd/R"))},"1+5i":function(e,t,n){var i=n("w/wX"),r=n("sEf8"),a=n("mdPL"),o=a&&a.isSet,s=o?r(o):i;e.exports=s},"1FbP":function(e,t,n){},"1IrZ":function(e,t,n){"use strict";var i=n("RIqP"),r=n.n(i),a=n("lSNA"),o=n.n(a),s=n("lwsE"),l=n.n(s),c=n("W8MJ"),u=n.n(c),d=n("/hMX"),h=n("koCO");function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=function(){function e(t){l()(this,e),this.endpoints=this.endpoints,this.loading=!1,this.saving=!1,this.id=t?t.id:null,this.created=t?t.created:null,this.updated=t?t.updated:null,this._links={},this._allowedActions={},t&&(this._links=t._links?{self:t._links.self}:{},this._allowedActions=t._allowedActions)}return u()(e,[{key:"links",get:function(){return this._links},set:function(e){this._links=p(p({},this._links),e)}},{key:"allowedActions",get:function(){return this._allowedActions},set:function(e){this._allowedActions=p(p({},this._allowedActions),e)}},{key:"apiId",get:function(){return this._links.self}},{key:"update",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.urlParams={id:this.id},new Promise((function(n,i){e.save(t).then((function(e){n(e)})).catch((function(e){i(e)}))}))}},{key:"save",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.constructor,i=["allowedActions","_allowedActions","loading","saving","created","updated","id","_links","links","endpoints","createExclude"];return n.createExclude&&(i=[].concat(r()(i),r()(n.createExclude))),new Promise((function(r,a){var o={};Object.keys(e).forEach((function(t,n){i.includes(t)||(o[t]=e[t])}));var s=!!e.id,l=p(p({url:s?n.endpoints.update:n.endpoints.create},t),{},{method:s?"PUT":"POST",data:o,model:n});d.a.call(l).then((function(e){r(e.data)})).catch((function(e){a(e)}))}))}},{key:"delete",value:function(){var e=this;return new Promise((function(t,n){d.a.call({url:e.apiId,method:"DELETE"}).then((function(e){t(e)})).catch((function(e){n(e)}))}))}},{key:"collect",value:function(e,t){return new h.a(e,t)}}],[{key:"endpoints",get:function(){return{get:null,list:null,delete:null,save:null,update:null}}},{key:"get",value:function(e){var t=this;return new Promise((function(n,i){t.endpoints.get||e.hasOwnProperty("url")||i("No endpoint defined for get",t.endpoints,e),e.url=e.url?e.url:t.endpoints.get,e.model=t,d.a.call(e).then((function(e){n(e.data)})).catch((function(e){i(e)}))}))}},{key:"list",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(n,i){e.endpoints.list||t.hasOwnProperty("url")||i("No endpoint defined for get",e.endpoints,t),t.url=t.url?t.url:e.endpoints.list,t.model=e,d.a.call(t).then((function(e){n(e.data)})).catch((function(e){i(e)}))}))}}]),e}();t.a=m},"1LK5":function(e,t){e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},"1PTn":function(e,t,n){"use strict";
11Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("eO9T"),r=(0,i.withParams)({type:"required"},(function(e){return"string"==typeof e?(0,i.req)(e.trim()):(0,i.req)(e)}));t.default=r},"1VU/":function(e,t,n){"use strict";n("BNR9")},"1ppg":function(e,t,n){!function(e){"use strict"; 12//! moment.js locale configuration 13e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"1rYy":function(e,t,n){!function(e){"use strict";
14//! moment.js locale configuration 15e.defineLocale("hy-am",{months:{format:"Õ°Õ¸ÖÕ¶Õ¾Õ¡ÖÕ«_ÖÕ¥Õ¿ÖÕ¾Õ¡ÖÕ«_Õ´Õ¡ÖÕ¿Õ«_Õ¡ÕºÖÕ«Õ¬Õ«_Õ´Õ¡ÕµÕ«Õ½Õ«_Õ°Õ¸ÖÕ¶Õ«Õ½Õ«_Õ°Õ¸ÖÕ¬Õ«Õ½Õ«_Ö Õ£Õ¸Õ½Õ¿Õ¸Õ½Õ«_Õ½Õ¥ÕºÕ¿Õ¥Õ´Õ¢Õ¥ÖÕ«_Õ°Õ¸Õ¯Õ¿Õ¥Õ´Õ¢Õ¥ÖÕ«_Õ¶Õ¸ÕµÕ¥Õ´Õ¢Õ¥ÖÕ«_Õ¤Õ¥Õ¯Õ¿Õ¥Õ´Õ¢Õ¥ÖÕ«".split("_"),standalone:"Õ°Õ¸ÖÕ¶Õ¾Õ¡Ö_ÖÕ¥Õ¿ÖÕ¾Õ¡Ö_Õ´Õ¡ÖÕ¿_Õ¡ÕºÖÕ«Õ¬_Õ´Õ¡ÕµÕ«Õ½_Õ°Õ¸ÖÕ¶Õ«Õ½_Õ°Õ¸ÖÕ¬Õ«Õ½_Ö Õ£Õ¸Õ½Õ¿Õ¸Õ½_Õ½Õ¥ÕºÕ¿Õ¥Õ´Õ¢Õ¥Ö_Õ°Õ¸Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö_Õ¶Õ¸ÕµÕ¥Õ´Õ¢Õ¥Ö_Õ¤Õ¥Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö".split("_")},monthsShort:"Õ°Õ¶Õ¾_ÖÕ¿Ö_Õ´ÖÕ¿_Õ¡ÕºÖ_Õ´ÕµÕ½_Õ°Õ¶Õ½_Õ°Õ¬Õ½_Ö Õ£Õ½_Õ½ÕºÕ¿_Õ°Õ¯Õ¿_Õ¶Õ´Õ¢_Õ¤Õ¯Õ¿".split("_"),weekdays:"Õ¯Õ«ÖÕ¡Õ¯Õ«_Õ¥ÖÕ¯Õ¸ÖÕ·Õ¡Õ¢Õ©Õ«_Õ¥ÖÕ¥ÖÕ·Õ¡Õ¢Õ©Õ«_Õ¹Õ¸ÖÕ¥ÖÕ·Õ¡Õ¢Õ©Õ«_Õ°Õ«Õ¶Õ£Õ·Õ¡Õ¢Õ©Õ«_Õ¸ÖÖÕ¢Õ¡Õ©_Õ·Õ¡Õ¢Õ¡Õ©".split("_"),weekdaysShort:"Õ¯ÖÕ¯_Õ¥ÖÕ¯_Õ¥ÖÖ_Õ¹ÖÖ_Õ°Õ¶Õ£_Õ¸ÖÖÕ¢_Õ·Õ¢Õ©".split("_"),weekdaysMin:"Õ¯ÖÕ¯_Õ¥ÖÕ¯_Õ¥ÖÖ_Õ¹ÖÖ_Õ°Õ¶Õ£_Õ¸ÖÖÕ¢_Õ·Õ¢Õ©".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY Õ©.",LLL:"D MMMM YYYY Õ©., HH:mm",LLLL:"dddd, D MMMM YYYY Õ©., HH:mm"},calendar:{sameDay:"[Õ¡ÕµÕ½Ö Ö] LT",nextDay:"[Õ¾Õ¡Õ²Õ¨] LT",lastDay:"[Õ¥ÖÕ¥Õ¯] LT",nextWeek:function(){return"dddd [Ö ÖÕ¨ ÕªÕ¡Õ´Õ¨] LT"},lastWeek:function(){return"[Õ¡Õ¶ÖÕ¡Õ®] dddd [Ö ÖÕ¨ ÕªÕ¡Õ´Õ¨] LT"},sameElse:"L"},relativeTime:{future:"%s Õ°Õ¥Õ¿Õ¸",past:"%s Õ¡Õ¼Õ¡Õ»",s:"Õ´Õ« ÖÕ¡Õ¶Õ« Õ¾Õ¡ÕµÖÕ¯ÕµÕ¡Õ¶",ss:"%d Õ¾Õ¡ÕµÖÕ¯ÕµÕ¡Õ¶",m:"ÖÕ¸ÕºÕ¥",mm:"%d ÖÕ¸ÕºÕ¥",h:"ÕªÕ¡Õ´",hh:"%d ÕªÕ¡Õ´",d:"Ö Ö",dd:"%d Ö Ö",M:"Õ¡Õ´Õ«Õ½",MM:"%d Õ¡Õ´Õ«Õ½",y:"Õ¿Õ¡ÖÕ«",yy:"%d Õ¿Õ¡ÖÕ«"},meridiemParse:/Õ£Õ«Õ·Õ¥ÖÕ¾Õ¡|Õ¡Õ¼Õ¡Õ¾Õ¸Õ¿Õ¾Õ¡|ÖÕ¥ÖÕ¥Õ¯Õ¾Õ¡|Õ¥ÖÕ¥Õ¯Õ¸ÕµÕ¡Õ¶/,isPM:function(e){return/^(ÖÕ¥ÖÕ¥Õ¯Õ¾Õ¡|Õ¥ÖÕ¥Õ¯Õ¸ÕµÕ¡Õ¶)$/.test(e)},meridiem:function(e){return e<4?"Õ£Õ«Õ·Õ¥ÖÕ¾Õ¡":e<12?"Õ¡Õ¼Õ¡Õ¾Õ¸Õ¿Õ¾Õ¡":e<17?"ÖÕ¥ÖÕ¥Õ¯Õ¾Õ¡":"Õ¥ÖÕ¥Õ¯Õ¸ÕµÕ¡Õ¶"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(Õ«Õ¶|ÖÕ¤)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-Õ«Õ¶":e+"-ÖÕ¤";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},"1uS7":function(e,t,n){var i=n("Kw5r"),r=i.default||i;t.Vue=r,t.Vue2=r,t.isVue2=!0,t.isVue3=!1,t.install=function(){},t.warn=r.util.warn,t.createApp=function(e,t){var n,i={},a={config:r.config,use:r.use.bind(r),mixin:r.mixin.bind(r),component:r.component.bind(r),provide:function(e,t){return i[e]=t,this},directive:function(e,t){return t?(r.directive(e,t),a):r.directive(e)},mount:function(a,o){return n||((n=new r(Object.assign({propsData:t},e,{provide:Object.assign(i,e.provide)}))).$mount(a,o),n)},unmount:function(){n&&(n.$destroy(),n=void 0)}};return a}
15,Object.keys(i).forEach((function(e){t[e]=i[e]})),t.hasInjectionContext=function(){return!!i.getCurrentInstance()}},"1xW2":function(e,t,n){"use strict";n.r(t);var i=n("XPkG"),r=n("+knh"),a={preprint:Object(r.default)({service:Object(i.default)("preprints")}),publication:Object(r.default)({service:Object(i.default)("publications")})};t.default=a},"1xZ4":function(e,t,n){!function(e){"use strict"; 16//! moment.js locale configuration 17e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquà %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},"2S71":function(e,t,n){"use strict";n("Z1Zl")},"2b5Q":function(e,t,n){"use strict";n("uhXO")},"2fjn":function(e,t,n){!function(e){"use strict";
18//! moment.js locale configuration 19e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourdâhui à ] LT",nextDay:"[Demain à ] LT",nextWeek:"dddd [à ] LT",lastDay:"[Hier à ] LT",lastWeek:"dddd [dernier à ] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n("wd/R"))},"2nGf":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("v-snackbar",{attrs:{color:e.color,"multi-line":!0,timeout:e.timeout,top:""},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[e.showIcon?t("v-row",{staticClass:"mb-2"},[t("v-col",{staticClass:"d-flex justify-center",attrs:{cols:"12"}},[e.isError?t("span",[t("v-icon",[e._v(e._s(e.errorIcon))])],1):t("span",[t("v-icon",[e._v(e._s(e.successIcon))])],1)])],1):e._e(),e._v(" "),t("v-row",{staticClass:"mb-3"},[t("v-col",{staticClass:"d-flex justify-center",attrs:{cols:"12"}},[t("span",{staticStyle:{"white-space":"pre-line"}},[e._v(e._s(e.text))]),e._v(" "),e.subText?[t("p",{staticStyle:{"white-space":"pre-line"}},[e._v(e._s(e.subText))])]:e._e()],2)],1),e._v(" "),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"d-flex justify-center",attrs:{cols:"12"}},[t("v-btn",{attrs:{outlined:""},nativeOn:{click:function(t){return e.close.apply(null,arguments)}}},[e._v(e._s(e.$t("Close")))])],1)],1)],1)};i._withStripped=!0;var r=n("lSNA"),a=n.n(r),o=n("WTW0");function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var l={computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(o.c)("notifications",["color","show","subText","text","timeout","isError","showIcon","errorIcon","successIcon"])),methods:{close:function(){this.show=!1}}},c=n("KHd+"),u=n("ZUTo"),d=n.n(u),h=n("gzZi"),f=n("Yq0q"),p=n("Ey0z"),m=n("D9m0"),g=n("LbRV"),v=Object(c.a)(l,i,[],!1,null,null,null);t.default=v.exports;d()(v,{VBtn:h.a,VCol:f.a,VIcon:p.a,VRow:m.a,VSnackbar:g.a})},"2us/":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",[n.d_items.length?[(e.breakpoint?e.breakpoint<n.vuetify.breakpoint.width:n.vuetify.breakpoint.mdAndUp)?[t("v-slide-group",e._b({directives:[{name:"bounding-client-rect",rawName:"v-bounding-client-rect",value:n.slideGroupObserver,expression:"slideGroupObserver"}],ref:"slideGroup",class:n.slideGroupClass,attrs:{"active-class":"success","show-arrows":"","center-active":""},scopedSlots:e._u([e.buttonBgClass||e.buttonIconClass&&e.itemsPerScreen>5?{key:"prev",fn:function(){return[t("div",{class:n.prevButtonClass},[t("v-icon",{class:e.buttonIconClass},[e._v("mdi-chevron-left")])],1)]},proxy:!0}:null,e.buttonBgClass||e.buttonIconClass&&e.itemsPerScreen>5?{key:"next",fn:function(){return[t("div",{class:n.nextButtonClass},[t("v-icon",{class:e.buttonIconClass},[e._v("mdi-chevron-right")])],1)]},proxy:!0}:null],null,!0)},"v-slide-group",e.$attrs,!1),[e._v(" "),e._v(" "),e._l(n.d_items,(function(i,r){return t("v-slide-item",{key:i.id,scopedSlots:e._u([{key:"default",fn:function(a){a.active,a.toggle;return[t("v-scale-transition",[t("div",{style:n.slideGroupStyle},[e._t("item",null,{item:i,index:r})],2)])]}}],null,!0)})}))],2)]:[t("v-btn",{staticClass:"flickButton isPrev",style:n.flickButtonStyle,attrs:{fab:"","aria-label":"previous item",elevation:"0"},on:{click:function(e){return n.handleFlickClick("prev")}}},[t("v-icon",{staticClass:"primary--text",attrs:{large:""}},[e._v("\n mdi-chevron-left\n ")])],1),e._v(" "),t("v-btn",{staticClass:"flickButton isNext",style:n.flickButtonStyle,attrs:{fab:"","aria-label":"next item",elevation:"0"},on:{click:function(e){return n.handleFlickClick("next")}}},[t("v-icon",{staticClass:"primary--text",attrs:{large:""}},[e._v("\n mdi-chevron-right\n ")])],1),e._v(" "),t("Flicking",{directives:[{name:"bounding-client-rect",rawName:"v-bounding-client-rect",value:n.observeFlickHeight,expression:"observeFlickHeight"}],ref:"flicking",staticClass:"mx-4",attrs:{options:{circular:!0},plugins:n.plugins},on:{changed:function(e){return n.emit("flick-changed",e)}}},e._l(n.d_items,(function(n,i){return t("div",{key:n.id,class:"card-panel-index-".concat(i," card-panel")},[e._t("item",null,{item:n,index:i})],2)})),0)]]:e._e()],2)};i._withStripped=!0;var r=n("o0o1"),a=n.n(r),o=n("lSNA"),s=n.n(o),l=n("RIqP"),c=n.n(l),u=n("yXPU"),d=n.n(u),h=n("J+9z"),f=n("QJZv"),p=n("Kw5r"),m=n("mNz5"),g=n.n(m),v=n("BkRI"),b=n.n(v),y=n("DzJC"),_=n.n(y);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
19t%2?x(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var k={__name:"PJSlideGroup",props:{items:{type:Array,required:!0},itemsPerScreen:{type:Number,default:4.48},breakpoint:{type:Number,default:0},buttonIconClass:{type:Array|String|Object,default:""},buttonBgClass:{type:void 0|String,default:void 0}},emits:["flick-changed"],setup:function(e,t){var n=t.emit,i=e,r=Object(f.a)(),o=Object(p.ref)([]),s=Object(p.ref)([]),l=Object(p.ref)(),u=Object(p.computed)((function(){return["PJSlideGroup","py-4",{noSlide:function(){return s.value.length<i.itemsPerScreen}}]})),m=Object(p.computed)((function(){var e=["h-100","w-100","d-flex","align-center","justify-center"];return i.buttonBgClass?e.push(i.buttonBgClass):e.push("v-slide-group__prev"),e})),v=Object(p.computed)((function(){var e=["h-100","w-100","d-flex","align-center","justify-center"];return i.buttonBgClass?e.push(i.buttonBgClass):e.push("v-slide-group__next"),e})),y=Object(p.ref)(),x=Object(p.reactive)({marginTop:0});Object(p.onMounted)(d()(a.a.mark((function e(){var t,n,r,o,u;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(p.nextTick)();case 2:s.value=null!==(t=i.items)&&void 0!==t&&null!==(n=t.filter((function(e){return!e.id})))&&void 0!==n&&n.length?c()(b()(i.items)):c()(b()(i.items.map((function(e){return w({id:g()()},e)})))),l.value&&M({rect:null===(r=l.value)||void 0===r||null===(o=r.$el)||void 0===o||null===(u=o.querySelector(".v-slide-group__wrapper"))||void 0===u?void 0:u.getBoundingClientRect()});case 4:case"end":return e.stop()}}),e)}))));var k=Object(p.computed)((function(){return r.breakpoint.width}));Object(p.watch)(k,function(){var e=d()(a.a.mark((function e(t,n){var r,o,s;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t>=i.breakpoint||h.a.MD&&(n<i.breakpoint||h.a.MD||!n))){e.next=4;break}return e.next=3,Object(p.nextTick)();case 3:l.value&&M({rect:null===(r=l.value)||void 0===r||null===(o=r.$el)||void 0===o||null===(s=o.querySelector(".v-slide-group__wrapper"))||void 0===s?void 0:s.getBoundingClientRect()});case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}());var S=Object(p.reactive)({width:"0",marginRight:"15px"}),M=function(e){var t=e.rect;null!=t&&t.width&&(S.width=Math.floor(t.width/i.itemsPerScreen)-15+"px")},L=_()((function(e){y.value[e](250)}),251,{trailing:!1});return{__sfc:!0,vuetify:r,plugins:o,emit:n,props:i,d_items:s,slideGroup:l,slideGroupClass:u,prevButtonClass:m,nextButtonClass:v,flicking:y,flickButtonStyle:x,observeFlickHeight:function(e){var t=e.rect;x.marginTop=parseInt((null==t?void 0:t.height)/2)+"px"},navWidth:k,slideGroupStyle:S,slideGroupObserver:M,handleFlickClick:L}}},S=(n("MEZC"),n("KHd+")),M=n("ZUTo"),L=n.n(M),A=n("gzZi"),O=n("Ey0z"),C=n("B4nN"),T=n("fv03"),E=n("nb4T"),D=Object(S.a)(k,i,[],!1,null,null,null);t.default=D.exports;L()(D,{VBtn:A.a,VIcon:O.a,VScaleTransition:C.e,VSlideGroup:T.b,VSlideItem:E.a})},"2waU":function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var i=n("lwsE"),r=n.n(i),a=n("W8MJ"),o=n.n(a),s=n("7W2i"),l=n.n(s),c=n("a1gu"),u=n.n(c),d=n("Nsbk"),h=n.n(d),f=n("1IrZ"),p=n("reo2");function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=h()(e);if(t){var r=h()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return u()(this,n)}}var g=function(e){l()(n,e);var t=m(n);function n(e){var i;return r()(this,n),(i=t.call(this,e)).institution=e?e.institution:"",i.institutionCanonical=e?e.institutionCanonical:null,i.department=e?e.department:"",i.city=e?e.city:"",i.state=e?e.state:"",i.postcode=e?e.postcode:"",i.country=e?e.country:"",i.curate=!!e&&e.curate,i.type=e?e.type:"author",i}return o()(n,[{key:"fullAddress",get:function(){return[this.department,this.institution,this.city,this.state,this.country,this.postcode].filter((function(e){return e})).join(", ")}},{key:"addressHash",get:function(){return[this.department,this.institution,this.city,this.state,this.country,this.postcode,this.type].map((function(e){return e?e.trim():"-"})).join(":")}}],[{key:"endpoints",get:function(){return{list:p.a.endpoints.get+"addresses/",create:p.a.endpoints.get+"addresses/",update:"addresses/{i
vendor: 1,965 bytes, lines 19-21
19d}/"}}}]),n}(f.a)},"2ykv":function(e,t,n){!function(e){"use strict"; 20//! moment.js locale configuration 21var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"3E1r":function(e,t,n){!function(e){"use strict";
22//! moment.js locale configuration 23var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"à¥",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","à¥":"7","८":"8","९":"9","०":"0"},i=[/^à¤à¤¨/i,/^फ़र|फर/i,/^मारà¥à¤/i,/^ठपà¥à¤°à¥/i,/^मà¤/i,/^à¤à¥à¤¨/i,/^à¤à¥à¤²/i,/^ठà¤/i,/^सितà¤|सित/i,/^ठà¤à¥à¤à¥/i,/^नव|नवà¤/i,/^दिसà¤|दिस/i];e.defineLocale("hi",{months:{format:"à¤à¤¨à¤µà¤°à¥_फ़रवरà¥_मारà¥à¤_ठपà¥à¤°à¥à¤²_मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤_ठà¤à¤¸à¥à¤¤_सितमà¥à¤¬à¤°_ठà¤à¥à¤à¥à¤¬à¤°_नवमà¥à¤¬à¤°_दिसमà¥à¤¬à¤°".split("_"),standalone:"à¤à¤¨à¤µà¤°à¥_फरवरà¥_मारà¥à¤_ठपà¥à¤°à¥à¤²_मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤_ठà¤à¤¸à¥à¤¤_सितà¤à¤¬à¤°_ठà¤à¥à¤à¥à¤¬à¤°_नवà¤à¤¬à¤°_दिसà¤à¤¬à¤°".split("_")},monthsShort:"à¤à¤¨._फ़र._मारà¥à¤_ठपà¥à¤°à¥._मà¤_à¤à¥à¤¨_à¤à¥à¤²._ठà¤._सित._ठà¤à¥à¤à¥._नव._दिस.".split("_"),weekdays:"रविवार_सà¥à¤®à¤µà¤¾à¤°_मà¤à¤à¤²à¤µà¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_à¤à¥à¤°à¥à¤µà¤¾à¤°_शà¥à¤à¥à¤°à¤µà¤¾à¤°_शनिवार".split("_"),weekdaysShort:"रवि_सà¥à¤®_मà¤à¤à¤²_बà¥à¤§_à¤à¥à¤°à¥_शà¥à¤à¥à¤°_शनि".split("_"),weekdaysMin:"र_सà¥_मà¤_बà¥_à¤à¥_शà¥_श".split("_"),longDateFormat:{LT:"A h:mm बà¤à¥",LTS:"A h:mm:ss बà¤à¥",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बà¤à¥",LLLL:"dddd, D MMMM YYYY, A h:mm बà¤à¥"},monthsParse:i,longMonthsParse:i,shortMonthsParse:[/^à¤à¤¨/i,/^फ़र/i,/^मारà¥à¤/i,/^ठपà¥à¤°à¥/i,/^मà¤/i,/^à¤à¥à¤¨/i,/^à¤à¥à¤²/i,/^ठà¤/i,/^सित/i,/^ठà¤à¥à¤à¥/i,/^नव/i,/^दिस/i],monthsRegex:/^(à¤à¤¨à¤µà¤°à¥|à¤à¤¨\.?|फ़रवरà¥|फरवरà¥|फ़र\.?|मारà¥à¤?|ठपà¥à¤°à¥à¤²|ठपà¥à¤°à¥\.?|मà¤?|à¤à¥à¤¨?|à¤à¥à¤²à¤¾à¤|à¤à¥à¤²\.?|ठà¤à¤¸à¥à¤¤|ठà¤\.?|सितमà¥à¤¬à¤°|सितà¤à¤¬à¤°|सित\.?|ठà¤à¥à¤à¥à¤¬à¤°|ठà¤à¥à¤à¥\.?|नवमà¥à¤¬à¤°|नवà¤à¤¬à¤°|नव\.?|दिसमà¥à¤¬à¤°|दिसà¤à¤¬à¤°|दिस\.?)/i,monthsShortRegex:/^(à¤à¤¨à¤µà¤°à¥|à¤à¤¨\.?|फ़रवरà¥|फरवरà¥|फ़र\.?|मारà¥à¤?|ठपà¥à¤°à¥à¤²|ठपà¥à¤°à¥\.?|मà¤?|à¤à¥à¤¨?|à¤à¥à¤²à¤¾à¤|à¤à¥à¤²\.?|ठà¤à¤¸à¥à¤¤|ठà¤\.?|सितमà¥à¤¬à¤°|सितà¤à¤¬à¤°|सित\.?|ठà¤à¥à¤à¥à¤¬à¤°|ठà¤à¥à¤à¥\.?|नवमà¥à¤¬à¤°|नवà¤à¤¬à¤°|नव\.?|दिसमà¥à¤¬à¤°|दिसà¤à¤¬à¤°|दिस\.?)/i,monthsStrictRegex:/^(à¤à¤¨à¤µà¤°à¥?|फ़रवरà¥|फरवरà¥?|मारà¥à¤?|ठपà¥à¤°à¥à¤²?|मà¤?|à¤à¥à¤¨?|à¤à¥à¤²à¤¾à¤?|ठà¤à¤¸à¥à¤¤?|सितमà¥à¤¬à¤°|सितà¤à¤¬à¤°|सित?\.?|ठà¤à¥à¤à¥à¤¬à¤°|ठà¤à¥à¤à¥\.?|नवमà¥à¤¬à¤°|नवà¤à¤¬à¤°?|दिसमà¥à¤¬à¤°|दिसà¤à¤¬à¤°?)/i,monthsShortStrictRegex:/^(à¤à¤¨\.?|फ़र\.?|मारà¥à¤?|ठपà¥à¤°à¥\.?|मà¤?|à¤à¥à¤¨?|à¤à¥à¤²\.?|ठà¤\.?|सित\.?|ठà¤à¥à¤à¥\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[à¤à¤] LT",nextDay:"[à¤à¤²] LT",nextWeek:"dddd, LT",lastDay:"[à¤à¤²] LT",lastWeek:"[पिà¤à¤²à¥] dddd, LT",sameElse:"L"},relativeTime:{future:"%s मà¥à¤",past:"%s पहलà¥",s:"à¤à¥à¤ हॠà¤à¥à¤·à¤£",ss:"%d सà¥à¤à¤à¤¡",m:"à¤à¤ मिनà¤",mm:"%d मिनà¤",h:"à¤à¤ à¤à¤à¤à¤¾",hh:"%d à¤à¤à¤à¥",d:"à¤à¤ दिन",dd:"%d दिन",M:"à¤à¤ महà¥à¤¨à¥",MM:"%d महà¥à¤¨à¥",y:"à¤à¤ वरà¥à¤·",yy:"%d वरà¥à¤·"},preparse:function(e){return e.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सà¥à¤¬à¤¹|दà¥à¤ªà¤¹à¤°|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सà¥à¤¬à¤¹"===t?e:"दà¥à¤ªà¤¹à¤°"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0}
23,meridiem:function(e,t,n){return e<4?"रात":e<10?"सà¥à¤¬à¤¹":e<17?"दà¥à¤ªà¤¹à¤°":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n("wd/R"))},"3LiA":function(e,t){e.exports=function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=5)}([function(e,t){function n(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var r=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(i);return[n].concat(i.sources.map((function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"}))).concat([r]).join("\n")}return[n].join("\n")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=n(t,e);return t[2]?"@media "+t[2]+"{"+i+"}":i})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},r=0;r<this.length;r++){var a=this[r][0];"number"==typeof a&&(i[a]=!0)}for(r=0;r<e.length;r++){var o=e[r];"number"==typeof o[0]&&i[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),t.push(o))}},t}},function(e,t){e.exports=function(e,t,n,i,r){var a,o=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(a=e,o=e.default);var l,c="function"==typeof o?o.options:o;if(t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns),i&&(c._scopeId=i),r?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},c._ssrRegister=l):n&&(l=n),l){var u=c.functional,d=u?c.render:c.beforeCreate;u?c.render=function(e,t){return l.call(t),d(e,t)}:c.beforeCreate=d?[].concat(d,l):[l]}return{esModule:a,exports:o,options:c}}},function(e,t,n){function i(e){for(var t=0;t<e.length;t++){var n=e[t],i=u[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(a(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var o=[];for(r=0;r<n.parts.length;r++)o.push(a(n.parts[r]));u[n.id]={id:n.id,refs:1,parts:o}}}}function r(){var e=document.createElement("style");return e.type="text/css",d.appendChild(e),e}function a(e){var t,n,i=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(i){if(p)return m;i.parentNode.removeChild(i)}if(g){var a=f++;i=h||(h=r()),t=o.bind(null,i,a,!1),n=o.bind(null,i,a,!0)}else i=r(),t=s.bind(null,i),n=function(){i.parentNode.removeChild(i)};return t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else n()}}function o(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=v(t,r);else{var a=document.createTextNode(r),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(a,o[t]):e.appendChild(a)}}function s(e,t){var n=t.css,i=t.media,r=t.sourceMap;if(i&&e.setAttribute("media",i),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var l="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!l)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=n(16),u={},d=l&&(document.head||document.getElementsByTagName("head")[0]),h=null,f=0,p=!1,m=function(){},g="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n){p=n;var r=c(e,t);return i(r),function(t){for(var n=[],a=0;a<r.length;a++){var o=r[a];(s=u[o.id]).refs--,n.push(s)}t?i(r=c(e,t)):r=[];for(a=0;a<n.length;a++){var s;if(0===(s=n[a]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete u[s.id]}}}};var v=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t,n){e.exports=function(e){function t(i){if(n[i])return n[i].exports;
23var r=n[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t){"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function(e,t,n){t.forEach((function(t){e.addEventListener(t,(function(e){n(e)}))}))},a=function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.defaults={idle:1e4,events:["mousemove","keydown","mousedown","touchstart"],onIdle:function(){},onActive:function(){},onHide:function(){},onShow:function(){},keepTracking:!0,startAtIdle:!1,recurIdleCall:!1},this.settings=n({},this.defaults,t),this.idle=this.settings.startAtIdle,this.visible=!this.settings.startAtIdle,this.visibilityEvents=["visibilitychange","webkitvisibilitychange","mozvisibilitychange","msvisibilitychange"],this.lastId=null}return i(e,[{key:"resetTimeout",value:function(e,t){if(this.idle&&(t.onActive.call(),this.idle=!1),clearTimeout(e),this.settings.keepTracking)return this.timeout(this.settings)}},{key:"timeout",value:function(e){return(this.settings.recurIdleCall?setInterval:setTimeout)(function(){this.idle=!0,this.settings.onIdle.call()}.bind(this),this.settings.idle)}},{key:"start",value:function(){window.addEventListener("idle:stop",(function(e){(function(e,t){t.forEach((function(t){e.removeEventListener(t)}))})(window,this.settings.events),this.settings.keepTracking=!1,this.resetTimeout(this.lastId,this.settings)})),this.lastId=this.timeout(this.settings),r(window,this.settings.events,function(e){this.lastId=this.resetTimeout(this.lastId,this.settings)}.bind(this)),(this.settings.onShow||this.settings.onHide)&&r(document,this.visibilityEvents,function(e){document.hidden||document.webkitHidden||document.mozHidden||document.msHidden?this.visible&&(this.visible=!1,this.settings.onHide.call()):this.visible||(this.visible=!0,this.settings.onShow.call())}.bind(this))}}]),e}();e.exports=a}])},function(e,t,n){var i=n(1)(n(6),n(13),(function(e){n(15)}),null,null);e.exports=i.exports},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(3)),o=i(n(4));t.default={IdleView:o.default,install:function(e,t){var n=t||{},i=n.eventEmitter,s=n.store,l=n.moduleName,c=void 0===l?"idleVue":l,u=n.idleTime,d=void 0===u?6e4:u,h=n.events,f=void 0===h?["mousemove","keydown","mousedown","touchstart"]:h,p=n.keepTracking,m=void 0===p||p,g=n.startAtIdle,v=void 0===g||g;if(!i&&!s)throw Error("Either `eventEmitter` or `store` must be passed in options");s&&s.registerModule(c,{state:{isIdle:v},mutations:r({},c+"/IDLE_CHANGED",(function(e,t){e.isIdle=t}))});var b=c+"_onIdle",y=c+"_onActive";new a.default({idle:d,events:f,keepTracking:m,startAtIdle:v,onIdle:function(){i&&i.$emit(b),s&&s.commit(c+"/IDLE_CHANGED",!0)},onActive:function(){i&&i.$emit(y),s&&s.commit(c+"/IDLE_CHANGED",!1)}}).start(),e.component("IdleView",o.default),e.mixin({data:function(){var e;return r(e={},b,null),r(e,y,null),e},created:function(){i&&this.$options.onIdle&&(this[b]=this.$options.onIdle.bind(this),i.$on(b,this[b])),i&&this.$options.onActive&&(this[y]=this.$options.onActive.bind(this),i.$on(y,this[y]))},destroyed:function(){i&&this[b]&&i.$off(b,this[b]),i&&this[y]&&i.$off(y,this[y])},computed:{isAppIdle:function(){return s&&s.state[c].isIdle}}})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(11));t.default={components:{Sprite:i.default},onIdle:function(){this.$refs.sprite.play()},onActive:function(){this.$refs.sprite.stop()}}},function(e,t,n){"use strict";
23Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"sprite",props:{spriteSrc:{type:String,default:""},spriteId:{type:String,default:"sprite"},spriteW:{type:Number,default:1},spriteH:{type:Number,default:1},spriteSpeed:{type:Number,default:1}},data:function(){return{visible:!0,frameIndex:0,tickCount:0,frameLength:0,ticksPerFrame:0,numberOfFrames:0,frameRate:20,ctx:"",canvas:"",mySprite:"",animationFrameId:-1}},mounted:function(){var e=this;this.$nextTick((function(){e.mySprite=new Image,e.mySprite.onload=function(t){e.spriteInit(t.target)},e.mySprite.src=e.spriteSrc}))},methods:{spriteInit:function(e){this.canvas=this.$el.querySelector("#"+this.spriteId),this.ctx=this.canvas.getContext("2d"),this.ticksPerFrame=this.spriteSpeed,this.frameLength=e.width,this.numberOfFrames=e.width/this.spriteW,this.spriteLoop()},spriteUpdate:function(){++this.tickCount>this.ticksPerFrame&&(this.tickCount=0,this.frameIndex<this.numberOfFrames-1?this.frameIndex++:this.frameIndex=0)},spriteRender:function(){this.ctx.clearRect(0,0,this.spriteW,this.spriteH);var e=this.frameIndex*this.spriteW;this.ctx.drawImage(this.mySprite,e,0,this.spriteW,this.spriteH,0,0,this.spriteW,this.spriteH)},spriteLoop:function(){this.animationFrameId=window.requestAnimationFrame(this.spriteLoop),this.spriteUpdate(),this.spriteRender()},stop:function(){window.cancelAnimationFrame(this.animationFrameId)},play:function(){this.spriteLoop()}}}},function(e,t,n){(e.exports=n(0)(!0)).push([e.i,"","",{version:3,sources:[],names:[],mappings:"",file:"Sprite.vue",sourceRoot:""}])},function(e,t,n){(e.exports=n(0)(!0)).push([e.i,".idle-view{position:fixed;top:0;width:100vw;height:100vh;z-index:8888;pointer-events:none;display:none}.idle-view.isIdle{pointer-events:all;display:block}.idle-view .sprite{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);height:10px;width:180px;z-index:9999;-webkit-transform:scale(.7)}.idle-view .overlay{width:100%;height:100%;position:absolute;z-index:8888;background:#000;opacity:0;-webkit-transition:opacity .8s cubic-bezier(.77,0,.175,1)}.idle-view.isIdle .overlay{opacity:.6}@-webkit-keyframes SlowMo{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}","",{version:3,sources:["/home/afonso/Dev/idle-vue/src/components/Idle.vue"],names:[],mappings:"AACA,WACE,eAAgB,AAChB,MAAO,AACP,YAAa,AACb,aAAc,AACd,aAAc,AAEd,oBAAqB,AACrB,YAAc,CACf,AACD,kBACE,mBAAoB,AACpB,aAAe,CAChB,AACD,mBACE,kBAAmB,AACnB,QAAS,AACT,SAAU,AACV,4CAA6C,AAE7C,YAAa,AACb,YAAa,AACb,aAAc,AACd,2BAA8B,CAC/B,AACD,oBACE,WAAY,AACZ,YAAa,AACb,kBAAmB,AACnB,aAAc,AAEd,gBAAiB,AACjB,UAAW,AAEX,yDAAkE,CACnE,AACD,2BACE,UAAa,CACd,AACD,0BACA,GAAG,yBAA0B,CAC5B,AACD,IAAI,4BAA4B,CAC/B,AACD,GAAK,yBAA0B,CAC9B,CACA",file:"Idle.vue",sourcesContent:["\n.idle-view {\n position: fixed;\n top: 0;\n width: 100vw;\n height: 100vh;\n z-index: 8888;\n\n pointer-events: none;\n display: none;\n}\n.idle-view.isIdle {\n pointer-events: all;\n display: block;\n}\n.idle-view .sprite {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n\n height: 10px;\n width: 180px;\n z-index: 9999;\n -webkit-transform: scale(0.7);\n}\n.idle-view .overlay {\n width: 100%;\n height: 100%;\n position: absolute;\n z-index: 8888;\n\n background: #000;\n opacity: 0;\n /*-webkit-animation: SlowMo 5s cubic-bezier(0.77, 0, 0.175, 1) infinite;*/\n -webkit-transition: opacity 800ms cubic-bezier(0.77, 0, 0.175, 1);\n}\n.idle-view.isIdle .overlay {\n opacity: 0.6;\n}\n@-webkit-keyframes SlowMo {\n0%{background-position:0% 50%\n}\n50%{background-position:100% 50%\n}\n100%{background-position:0% 50%\n}\n}\n"],sourceRoot:""}])},function(e,t,n){e.exports=n.p+"static/img/touch.ba3be66.png"},function(e,t,n){var i=n(1)(n(7),n(12),(function(e){n(14)}),null,null);e.exports=i.exports},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sprite"},[n("canvas",{attrs:{id:e.spriteId,width:e.spriteW,height:e.spriteH}})])},staticRenderFns:[]}},function(e,t,n){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"idle-view",class:{isIdle:e.isIdle}},[i("div",{staticClass:"overlay"}),e._v(" "),i("sprite",{ref:"sprite",attrs:{spriteId:"touch",spriteSrc:n(10),spriteW:180,spriteH:215}}
23)],1)},staticRenderFns:[]}},function(e,t,n){var i=n(8);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),n(2)("b6696284",i,!0)},function(e,t,n){var i=n(9);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),n(2)("25b5ba8a",i,!0)},function(e,t){e.exports=function(e,t){for(var n=[],i={},r=0;r<t.length;r++){var a=t[r],o=a[0],s={id:e+":"+r,css:a[1],media:a[2],sourceMap:a[3]};i[o]?i[o].parts.push(s):n.push(i[o]={id:o,parts:[s]})}return n}}])},"3XkK":function(e,t,n){},"3bOJ":function(e,t,n){},"3cYt":function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},"3rzL":function(e,t,n){},"4/ic":function(e,t,n){var i=n("ZWtO");e.exports=function(e){return function(t){return i(t,e)}}},"40zP":function(e,t,n){},"4Gk9":function(e,t,n){"use strict";n("mlf+")},"4GuJ":function(e,t,n){},"4MV3":function(e,t,n){!function(e){"use strict"; 24//! moment.js locale configuration 25var t={1:"à«§",2:"૨",3:"à«©",4:"૪",5:"à««",6:"૬",7:"à«",8:"à«®",9:"૯",0:"૦"},n={"à«§":"1","૨":"2","à«©":"3","૪":"4","à««":"5","૬":"6","à«":"7","à«®":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"àªàª¾àª¨à«àª¯à«àªàª°à«_ફà«àª¬à«àª°à«àªàª°à«_મારà«àª_àªàªªà«àª°àª¿àª²_મà«_àªà«àª¨_àªà«àª²àª¾àª_àªàªàª¸à«àª_સપà«àªà«àª®à«àª¬àª°_àªàªà«àªà«àª¬àª°_નવà«àª®à«àª¬àª°_ડિસà«àª®à«àª¬àª°".split("_"),monthsShort:"àªàª¾àª¨à«àª¯à«._ફà«àª¬à«àª°à«._મારà«àª_àªàªªà«àª°àª¿._મà«_àªà«àª¨_àªà«àª²àª¾._àªàª._સપà«àªà«._àªàªà«àªà«._નવà«._ડિસà«.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સà«àª®àªµàª¾àª°_મàªàªàª³àªµàª¾àª°_બà«àª§à«àªµàª¾àª°_àªà«àª°à«àªµàª¾àª°_શà«àªà«àª°àªµàª¾àª°_શનિવાર".split("_"),weekdaysShort:"રવિ_સà«àª®_મàªàªàª³_બà«àª§à«_àªà«àª°à«_શà«àªà«àª°_શનિ".split("_"),weekdaysMin:"ર_સà«_મàª_બà«_àªà«_શà«_શ".split("_"),longDateFormat:{LT:"A h:mm વાàªà«àª¯à«",LTS:"A h:mm:ss વાàªà«àª¯à«",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાàªà«àª¯à«",LLLL:"dddd, D MMMM YYYY, A h:mm વાàªà«àª¯à«"},calendar:{sameDay:"[àªàª] LT",nextDay:"[àªàª¾àª²à«] LT",nextWeek:"dddd, LT",lastDay:"[àªàªàªàª¾àª²à«] LT",lastWeek:"[પાàªàª²àª¾] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહà«àª²àª¾",s:"ઠમà«àª પળà«",ss:"%d સà«àªàªàª¡",m:"àªàª મિનિàª",mm:"%d મિનિàª",h:"àªàª àªàª²àª¾àª",hh:"%d àªàª²àª¾àª",d:"àªàª દિવસ",dd:"%d દિવસ",M:"àªàª મહિનà«",MM:"%d મહિનà«",y:"àªàª વરà«àª·",yy:"%d વરà«àª·"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬à«à«®à«¯à«¦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપà«àª°|સવાર|સાàªàª/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપà«àª°"===t?e>=10?e:e+12:"સાàªàª"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપà«àª°":e<20?"સાàªàª":"રાત"},week:{dow:0,doy:6}})}(n("wd/R"))},"4Oe1":function(e,t,n){var i=n("YO3V");e.exports=function(e){return i(e)?void 0:e}},"4PtR":function(e,t,n){"use strict";n.r(t),t.default={path:"/accessibility",name:"accessibility",component:function(){return n.e(337).then(n.bind(null,"d+ST"))}}},"4VlR":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"article-notes-container js-article-notes",attrs:{"data-article-uri":e.articleUri}},[t("div",{staticClass:"header d-flex"},[t("div",{staticClass:"d-flex toggle-expand",staticStyle:{"align-items":"center"},on:{click:e.toggleExpanded}},[t("strong",{staticClass:"ml-2 title"},[e._v("Notes")]),e._v(" "),e.fontAwesomeVersion?t("i",{staticClass:"ml-1 mr-1 chevron-container fa",class:{"fa-chevron-down":!e.expanded,"fa-chevron-up":e.expanded}}
25):t("i",{staticClass:"ml-1 mr-1 chevron-container",class:{"icon-chevron-down":!e.expanded,"icon-chevron-up":e.expanded}})]),e._v(" "),t("div",{staticClass:"d-flex w-100",staticStyle:{"justify-content":"end"}},[t("transition",{attrs:{name:"transition-fade"}},[e.showFilters&&e.expanded&&!e.loading?t("div",{staticClass:"filter-tabs-container mr-2"},[t("ul",{staticClass:"nav nav-tabs",staticStyle:{"margin-bottom":"0","margin-left":"0",border:"none"}},[t("li",{staticClass:"nav-item",on:{click:function(t){return e.selectFilterCategory("ALL")}}},[t("span",{staticClass:"nav-link",class:{active:e.isSelectedCategory("ALL")}},[e._v("All")])]),e._v(" "),e._l(e.orderedSelectionTypes,(function(n){return t("li",{key:n.name,staticClass:"nav-item",on:{click:function(t){return e.selectFilterCategory(n.name)}}},[t("span",{staticClass:"nav-link",class:e.getCssClass(n.name)},[e._v(e._s(n.displayName))])])}))],2)]):e._e()]),e._v(" "),e.loading?e._e():t("PJButton",{staticClass:"add-button",staticStyle:{"justify-content":"end"},attrs:{type:"outline-primary",small:!0},nativeOn:{click:function(t){return e.showAddModal.apply(null,arguments)}}},[e._v("Add")])],1)]),e._v(" "),t("transition",{attrs:{name:"transition-sli
25de-fade"}},[e.expanded?t("div",{staticClass:"body",class:{"body-height-limit":e.limitHeight}},[e.loading?t("div",{staticClass:"no-notes-message"},[t("LoadingSpinner")],1):Object.keys(e.filteredNotes).length?e._l(e.filteredNotes,(function(n){return t("NoteTypeContainer",{key:n.type,attrs:{noteType:n.type,notes:n.notes,articleUri:e.articleUri}})})):t("div",{staticClass:"no-notes-message"},[e._v("0 notes")])],2):e._e()])],1)};i._withStripped=!0;var r=n("o0o1"),a=n.n(r),o=n("yXPU"),s=n.n(o),l=function(){var e=this,t=e._self._c;return t("div",{staticClass:"v-text-container",class:e.cssClass},[t("div",{staticClass:"title mb-1"},[t("span",[e._v(e._s(e.typeDisplayName))])]),e._v(" "),e._l(e.notes,(function(n,i){return t("div",{key:i},[t("div",{class:{"note-container-border-bottom mb-1 pb-1":i+1<e.notes.length}},[t("NoteContainer",{attrs:{note:n}})],1)])}))],2)};l._withStripped=!0;var c=function(){var e=this,t=e._self._c;return t("div",{staticClass:"note-container"},[t("div",{class:{"deleting-fade":e.deleting}},[e.editing?t("div",[t("v-textarea",{ref:"textarea",attrs:{color:"transparent",disabled:e.saving,rows:5,"auto-grow":!0},model:{value:e.note.text,callback:function(t){e.$set(e.note,"text",t)},expression:"note.text"}}),e._v(" "),t("div",{staticClass:"mt-1 mb-1"},[t("PJButton",{attrs:{type:"light",small:""},on:{click:e.toggleEditMode}},[e._v("Cancel")]),e._v(" "),t("PJButton",{attrs:{type:"primary",small:"",loading:e.saving},on:{click:function(t){return e.saveUpdates()}}},[e._v("Save")])],1)],1):t("div",[t("div",{directives:[{name:"markdown",rawName:"v-markdown",value:e.note.text,expression:"note.text"}],staticClass:"note-text-container"}),e._v(" "),t("div",{staticClass:"pt-1 d-flex"},[e.note.created?t("span",{staticClass:"text-muted"},[e._v(e._s(e._f("dateFormat")(e.note.created,"MM/dd/yy")))]):e._e(),e._v(" "),e.isU
25pdated?t("span",{staticClass:"text-muted mx-1"},[e._v("("),t("i",[e._v("updated")]),e._v(" - "+e._s(e._f("dateFormat")(e.updatedAt,"MM/dd/yy"))+")")]):e._e(),e._v(" "),e.note.creator?t("span",{staticClass:"text-muted"},[e._v("· "+e._s(e.creatorName))]):e._e(),e._v(" "),t("span",{staticClass:"ml-1 text-muted ml-auto"},[t("span",{staticClass:"note-link",on:{click:function(t){return e.toggleEditMode()}}},[e._v("Edit")]),e._v(" "),e.isOwner?t("span",[e._v("·")]):e._e(),e._v(" "),e.isOwner?t("span",{staticClass:"note-link",on:{click:function(t){return e.deleteConfirm()}}},[e._v("Delete")]):e._e()])])])]),e._v(" "),e.deleting?t("div",{staticClass:"deleting-overlay"},[t("LoadingSpinner"),e._v(" "),t("span",{staticClass:"ml-1"},[e._v("Deleting note...")])],1):e._e()])};c._withStripped=!0;var u=n("IJJa"),d=n("u8Zi"),h=n("bbSu"),f={props:{note:{required:!0,type:u.e}},data:function(){return{editing:!1,deleting:!1,saving:!1,backupText:"",updatedAt:this.note.updated}},computed:{initials:function(){return(this.note.creator.firstName[0]+this.note.creator.lastName[0]).toUpperCase()},creatorName:function(){return this.note.creator.firstName+" "+this.note.creator.lastName},isOwner:function(){return!!this.note.creator&&(!!this.currentUser.id&&this.note.creator.id==this.currentUser.id)},isUpdated:function(){return this.updatedAt>this.note.created}},methods:{deleteConfirm:function(){var e=this;this.showConfirmModal("Are you sure you want to delete this note?",(function(t){t&&(e.deleting=!0,e.note.delete().then((function(t){h.a.$emit(d.a.ARTICLE_NOTES_DELETE,e.note),e.$store.dispatch("notificationAlerts/addNotification",{title:"Note deleted",message:"The note was deleted",type:"success"})})).catch((function(t){e.$store.dispatch("notificationAlerts/addNotification",{title:"Error",message:"The note could not be deleted",type:"error"})})).finally((function(){e.deleting=!1})))}))},toggleEditMode:function(){this.editing=!this.editing,this.editing?this.backupText=this.note.text:this.note.text=this.backupText},saveUpdates:function(){var e=this;this.saving=!0,this.note.update({url:this.note.apiId}).then((function(t){h.a.$emit(d.a.ARTICLE_NOTES_UPDATE,e.note),e.updatedAt=t.updated,e.editing=!1,e.$store.dispatch("notificationAlerts/addNotification",{title:"Note updated",message:"Your changes have been saved",type:"success"})})).catch((function(t){e.$store.dispatch("notificationAlerts/addNotification",{title:"Error",message:"Your changes could not be saved",type:"error"})})).finally((function(){e.saving=!1}))}}},p=(n("TouX"),n("KHd+")),m=n("ZUTo"),g=n.n(m),v=n("qEQh"),b=Object(p.a)(f,c,[],!1,null,"3eb2abcc",null),y=b.exports;g()(b,{VTextarea:v.a});var _={props:{notes:{required:!0,type:Array},noteType:{required:!0,type:String}},components:{NoteContainer:y},computed:{typeDisplayName:function(){return u.b[this.noteType].toUpperCase()},cssClass:function(){return"text-container-".concat(this.noteType)}}},x=(n("EWeI"),Object(p.a)(_,l,[],!1,null,"ae6b1f7a",null).exports),w=n("reo2"),k={components:{NoteTypeContainer:x},props:{articleUri:{required:!0,type:String},allowedTypesString:{type:String},hiddenTypesString:{type:String},showFilters:{type:String,required:!1},startMinified:{required:!1},fontAwesomeVersion:{required:!1},limitHeight:{required:!1},noteOrderType:{type:String,required:!1,default:"default"},useVuex:{type:String,required:!1},selectedFilterInit:{type:String,required:!1}},data:function(){return{article:{},notes:[],selectedFilterCategory:"ALL",expanded:!0,allowedTypes:[],hiddenTypes:[],dataLoading:!1,articleError:null}},computed:{articlesLoading:function(){return this.$store.state.articlesLoading},loading:function(){return this.useVuex?this.articlesLoading:this.dataLoading},noteOrder:function(){return u.d[this.noteOrderType]?u.d[this.noteOrderType]:u.d.default},orderedSelectionTypes:function(){var e=this,t=[];return this.noteOrder.forEach((function(n){e.filteredTypes[n]&&t.push({name:n,displayName:e.filteredTypes[n]})})),t},filteredTypes:function(){var e=this,t={};return this.notes.forEach((function(n){e.allowedTypes.length&&!e.allowedTypes.includes(n.t
25ype)||e.hiddenTypes.includes(n.type)||u.b[n.type]&&(t[n.type]=u.b[n.type])})),t},filteredNotes:function(){var e=this,t={},n=[];return this.notes.forEach((function(n){(n.type==e.selectedFilterCategory||"ALL"==e.selectedFilterCategory&&Object.keys(e.filteredTypes).includes(n.type))&&(t[n.type]?t[n.type].push(n):t[n.type]=[n])})),this.noteOrder.forEach((function(e){t[e]&&n.push({type:e,notes:t[e]})})),n}},methods:{turnOffEventUpdates:function(){h.a.$off(d.a.ARTICLE_NOTES_ADD,this.addNote),h.a.$off(d.a.ARTICLE_NOTES_DELETE,this.deleteNote),h.a.$off(d.a.ARTICLE_NOTES_UPDATE,this.updateNote),h.a.$off(d.a.ARTICLE_NOTES_KEYBOARD_SHORTCUT_ADD,this.keyboardShortcutAdd),h.a.$off(d.a.ARTICLE_NOTES_KEYBOARD_SHORTCUT_EXPAND_TOGGLE,this.toggleExpanded)},getArticle:function(){var e=this;return s()(a.a.mark((function t(){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.dataLoading=!0,t.prev=1,t.next=4,w.a.get({url:e.articleUri});case 4:e.article=t.sent,e.notes=e.article.articleNotes.items,e.initFilter(),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(1),console.error("error getting article",t.t0),e.articleError=t.t0;case 13:return t.prev=13,e.dataLoading=!1,t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[1,9,13,16]])})))()},getFilteredNotes:function(e){var t=[];return this.notes.forEach((function(n){n.type==e&&t.push(n)})),t},showAddModal:function(){h.a.$emit(d.a.ARTICLE_NOTES_SHOW_MODAL,{article:this.article,type:this.selectedFilterCategory})},addNote:function(e){e.links.article==this.articleUri&&(this.notes.unshift(e),[e.type,"ALL"].includes(this.selectedFilterCategory)||(this.selectedFilterCategory=e.type))},deleteNote:function(e){if(e.links.article==this.articleUri)for(var t=0;t<this.notes.length;t++)if(this.notes[t].id==e.id){this.notes.splice(t,1);break}},updateNote:function(e){if(e.links.article==this.articleUri)for(var t=0;t<this.notes.length;t++)if(this.notes[t].id==e.id){this.notes[t]=e;break}},toggleExpanded:function(){this.expanded=!this.expanded},isSelectedCategory:function(e){return e==this.selectedFilterCategory},selectFilterCategory:function(e){this.selectedFilterCategory=e},keyboardShortcutAdd:function(e){h.a.$emit(d.a.ARTICLE_NOTES_SHOW_MODAL,{article:this.article,type:e})},getCssClass:function(e){var t="";return this.isSelectedCategory(e)&&(t+="active active-"+(e=e.replace("article-note-",""))),t},findArticleInStore:function(){for(var e=this.$store.state.articles,t=0;t<e.length;t++)if(e[t]._links.self==this.articleUri){this.article=e[t],this.notes=this.article.articleNotes.items;break}},initFilter:function(){this.selectedFilterInit&&(this.selectedFilterCategory=this.selectedFilterInit)}},watch:{articlesLoading:function(){this.useVuex&&!this.articlesLoading&&(this.findArticleInStore(),this.initFilter())}},created:function(){this.useVuex||this.getArticle(),this.allowedTypesString&&(this.allowedTypes=this.allowedTypesString.split(",")),this.hiddenTypesString&&(this.hiddenTypes=this.hiddenTypesString.split(",")),this.startMinified&&(this.expanded=!1)},beforeMount:function(){this.turnOffEventUpdates()},mounted:function(){this.useVuex&&!this.articlesLoading&&this.findArticleInStore(),h.a.$on(d.a.ARTICLE_NOTES_ADD,this.addNote),h.a.$on(d.a.ARTICLE_NOTES_DELETE,this.deleteNote),h.a.$on(d.a.ARTICLE_NOTES_UPDATE,this.updateNote),h.a.$on(d.a.ARTICLE_NOTES_KEYBOARD_SHORTCUT_ADD,this.keyboardShortcutAdd),h.a.$on(d.a.ARTICLE_NOTES_KEYBOARD_SHORTCUT_EXPAND_TOGGLE,this.toggleExpanded)},beforeDestroy:function(){this.turnOffEventUpdates()}},S=(n("DoRy"),Object(p.a)(k,i,[],!1,null,"5f3bc83d",null));t.default=S.exports},"4dOw":function(e,t,n){!function(e){"use strict";
26//! moment.js locale configuration 27e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"4feY":function(e,t,n){"use strict";n.r(t);var i=n("lSNA"),r=n.n(i),a=n("Kf3r");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}t.default=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},a.default)},"4jR1":function(e,t,n){"use strict";n.r(t),t.default={path:"/kanban",name:"KanbanList",component:function(){return Promise.all([n.e(1),n.e(37),n.e(101),n.e(12),n.e(386)]).then(n.bind(null,"l5zH"))},children:[{name:"KanbanBoard",path:":uuid",component:function(){return Promise.all([n.e(1),n.e(37),n.e(101),n.e(12),n.e(386)]).then(n.bind(null,"l5zH"))}}]}},"4sDh":function(e,t,n){var i=n("4uTw"),r=n("03A+"),a=n("Z0cm"),o=n("wJg7"),s=n("shjB"),l=n("9Nap");e.exports=function(e,t,n){for(var c=-1,u=(t=i(t,e)).length,d=!1;++c<u;){var h=l(t[c]);if(!(d=null!=e&&n(e,h)))break;e=e[h]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&o(h,u)&&(a(e)||r(e))}},"50DI":function(e,t,n){var i=n("sgoq"),r=n("gQMU"),a=i((function(e,t,n){return e+(n?" ":"")+r(t)}));e.exports=a},"54wM":function(e,t,n){"use strict";n("7fyu")},"550l":function(e,t,n){"use strict";n.r(t),n.d(t,"ACTIONS",(function(){return Y}));var i,r=n("lSNA"),a=n.n(r),o=n("WTW0"),s=n("bbSu"),l=n("vDqi"),c=n.n(l),u=n("YB1K"),d=n("dwWe"),h=null,f=null,p=null,m=1,g=1,v=0,b=0,y=null,_=null,x=null,w=function e(t,n){document.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),k(t,n)},k=function(e,t){O(),C(),x=t,g=0,b&&1===b&&S("Waking up");var n=P(),i=d.a.getItem("pj-m-hb");!i||n-i>12?L(n):T()},S=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(x&&x.staff||t)&&console.log((new Date).toLocaleTimeString()+" - "+e)},M=function(e){var t=d.a.getItem("pj-event-last-id");void 0!==t&&(e.searchParams.delete("Last-Event-ID"),e.searchParams.append("Last-Event-ID",t)),e.searchParams.delete("topic");var n=JSON.parse(d.a.getItem("pj-subscribed-topics"));if(n){n.forEach((function(t){e.searchParams.append("topic",t)})),x.expires&&x.renewJwtPath&&j(x.expires,x.renewJwtPath);try{p=new EventSource(e,{withCredentials:!0}),window.removeEventListener("storage",A),window.addEventListener("storage",A,!1)}catch(e){S(e),p.close()}p.onopen=function(){2e3},p.onmessage=function(e){var t=d.a.getItem("pj-event-last-id");if(e.lastEventId!==t){var n=JSON.parse(e.data);d.a.setItem("pj-event-last-id",e.lastEventId),d.a.setItem("pj-event-message",e.data),D(n)}else S("Duplicate eventSource received. Multiple masters exist? Closing connection."),O(),T()},p.onerror=function(){S("eventSource error. Closing connection."),p.close(),O(),T(
27)}}},L=function(e){S("promoting m subscriber"),clearInterval(_),v=1,d.a.setItem("pj-m-hb",e),_=setInterval((function(){d.a.setItem("pj-m-hb",P())}),1e4),1!==b&&x.topic?M(new URL(u.MERCURE_ENTRYPOINT)):(b=0,j(0,x.renewJwtPath),setTimeout((function(){M(new URL(u.MERCURE_ENTRYPOINT))}),1200)),window.onbeforeunload=function(e){O()}},A=function(e){"pj-subscribed-topics"===e.key&&(p.close(),M(new URL(u.MERCURE_ENTRYPOINT)))},O=function(){S("km"),window.removeEventListener("storage",A),clearInterval(_),clearTimeout(f),p&&(p.close(),p=null)},C=function(){S("kc"),clearInterval(y),y=0},T=function(){S("Creating listener subscriber node"),clearInterval(y),y=0,window.removeEventListener("storage",E),window.addEventListener("storage",E,!1),y=setInterval((function(){g&&1===g?C():m&&0!==m?m=0:(C(),L(P()))}),12e3)},E=function(e){"pj-m-hb"===e.key&&d.a.getItem("pj-m-hb")>0&&(m=1,v&&1===v&&(v=0,O(),T()));var t=d.a.getItem("pj-event-last-id");if("pj-event-message"===e.key&&t===h)S("Possible duplicate m"),O(),T();else if("pj-event-message"===e.key&&t!==h){var n=JSON.parse(d.a.getItem("pj-event-message"));D(n),h=t}},D=function(e){if(e.skipNotification=!0,e["@type"])s.a.$emit("peerj_evs_"+e["@type"],e);else if(e["@id"]){["notification","userSubmissionVisit","collectionSubmissionComment","userKanban","userKanbanCard"].forEach((function(t){s.a.$emit("peerj_evs_"+t,e)}))}},P=function(){return Math.round((new Date).getTime()/1e3)},j=function e(t,n){"undefined"!==f&&""!==f&&clearTimeout(f),0!==t&&S("Renewing subscription timer"),f=setTimeout((function(){c.a.defaults.url=n,c.a.request({}).then((function(t){if(t.data.topic&&t.data.expires){var i=JSON.stringify(t.data.topic);d.a.getItem("pj-subscribed-topics")!==i&&d.a.setItem("pj-subscribed-topics",JSON.stringify(t.data.topic)),e(t.data.expires,n)}})).catch((function(e){S(e)}))}),1e3*t-1500)},Y={CLOSE:"CLOSE",RESUME:"RESUME",SUBSCRIBE:"SUBSCRIBE"};t.default={namespaced:!0,state:function(){return{topics:[]}},actions:{close:function(e){var t=e.commit;S("Idle - closing subscriptions"),t(Y.CLOSE)},resume:function(e){var t=e.commit;S("Resuming subscriptions"),t(Y.RESUME)},subscribe:function(e,t){var n=e.commit;S("Active - subscribing to updates",t.staff),n(Y.SUBSCRIBE,t)}},getters:{getField:o.b},mutations:(i={updateField:o.d},a()(i,Y.CLOSE,(function(){g=1,C(),O()})),a()(i,Y.RESUME,(function(e){u.MERCURE_ENTRYPOINT&&x&&(b=1,k(e,x))})),a()(i,Y.SUBSCRIBE,(function(e,t){u.MERCURE_ENTRYPOINT&&("complete"===document.readyState?k(e,t):(document.addEventListener("DOMContentLoaded",w(e,t),!1),window.addEventListener("load",w(e,t),!1)))})),i)}},"5Tg0":function(e,t,n){(function(e){var i=n("Kz5y"),r=t&&!t.nodeType&&t,a=r&&"object"==typeof e&&e&&!e.nodeType&&e,o=a&&a.exports===r?i.Buffer:void 0,s=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,i=s?s(n):new e.constructor(n);return e.copy(i),i}}).call(this,n("YuTi")(e))},"5lKX":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("eO9T");t.default=function(e){return(0,i.withParams)({type:"requiredUnless",prop:e},(function(t,n){return!!(0,i.ref)(e,this,n)||(0,i.req)(t)}))}},"5rbR":function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return m}));var i=n("lwsE"),r=n.n(i),a=n("PJYZ"),o=n.n(a),s=n("7W2i"),l=n.n(s),c=n("a1gu"),u=n.n(c),d=n("Nsbk"),h=n.n(d),f=n("oShl");function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=h()(e);if(t){var r=h()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return u()(this,n)}}var m=function(e){l()(n,e);var t=p(n);function n(e){var i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return r()(this,n),(i=t.call(this,"Submit Validation Failed")).response=a,i.errors=e,Error.captureStackTrace&&Error.captureStackTrace(o()(i),i.constructor),i.name=i.constructor.name,u()(i,o()(i))}return n}(n.n(f)()(Error))},"5xko":function(e,t,n){},"6+QB":function(e,t,n){!function(e){"use strict";
28//! moment.js locale configuration 29e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"62Jv":function(e,t,n){"use strict";var i=function(){var e=this._self._c;return e("button",{staticClass:"btn pj-btn",class:this.cssClass,attrs:{type:"button",disabled:this.loading},on:{click:this.emitClick}},[e("div",{class:{"slot-container-loading":this.loading}},[this._t("default")],2),this._v(" "),this.loading?e("LoadingSpinner",{staticClass:"loading-container"}):this._e()],1)};i._withStripped=!0;var r={props:{loading:Boolean,small:Boolean,block:Boolean,type:{validator:function(e){var t=[];return["default","primary","secondary","info","success","warning","danger","light","dark"].forEach((function(e){t.push(e),t.push("outline-"+e)})),-1!==t.indexOf(e)}}},computed:{cssClass:function(){var e="btn-"+this.type;return this.small&&(e+=" btn-sm"),this.block&&(e+=" btn-block"),e}},methods:{emitClick:function(){this.$emit("click")}}},a=(n("MO6L"),n("KHd+")),o=Object(a.a)(r,i,[],!1,null,"2cd5a370",null);t.a=o.exports},"62b2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("eO9T");t.default=function(e){return(0,i.withParams)({type:"minValue",min:e},(function(t){return!(0,i.req)(t)||(!/\s/.test(t)||t instanceof Date)&&+t>=+e}))}},6359:function(e,t,n){},"6B0Y":function(e,t,n){!function(e){"use strict";
30//! moment.js locale configuration 31var t={1:"á¡",2:"á¢",3:"á£",4:"á¤",5:"á¥",6:"á¦",7:"á§",8:"á¨",9:"á©",0:"á "},n={"á¡":"1","á¢":"2","á£":"3","á¤":"4","á¥":"5","á¦":"6","á§":"7","á¨":"8","á©":"9","á ":"0"};e.defineLocale("km",{months:"áááá¶_áá»áááá_áá¸áá¶_áááá¶_á§ááá¶_áá·áá»áá¶_áááááá¶_áá¸á á¶_ááááá¶_áá»áá¶_áá·á ááá·áá¶_áááá¼".split("_"),monthsShort:"áááá¶_áá»áááá_áá¸áá¶_áááá¶_á§ááá¶_áá·áá»áá¶_áááááá¶_áá¸á á¶_ááááá¶_áá»áá¶_áá·á ááá·áá¶_áááá¼".split("_"),weekdays:"á¢á¶áá·ááá_á áááá_á¢áááá¶á_áá»á_áááá ááááá·á_áá»ááá_áá áá".split("_"),weekdaysShort:"á¢á¶_á _á¢_á_ááá_áá»_á".split("_"),weekdaysMin:"á¢á¶_á _á¢_á_ááá_áá»_á".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/áááá¹á|áááá¶á /,isPM:function(e){return"áááá¶á "===e},meridiem:function(e,t,n){return e<12?"áááá¹á":"áááá¶á "},calendar:{sameDay:"[ááááááá áááá] LT",nextDay:"[ááá¢áá áááá] LT",nextWeek:"dddd [áááá] LT",lastDay:"[áááá·ááá·á áááá] LT",lastWeek:"dddd [ááááá¶á ááá»á] [áááá] LT",sameElse:"L"},relativeTime:{future:"%sááá",past:"%sáá»á",s:"ááá»áááá¶ááá·áá¶áá¸",ss:"%d áá·áá¶áá¸",m:"áá½ááá¶áá¸",mm:"%d áá¶áá¸",h:"áá½ááááá",hh:"%d áááá",d:"áá½ááááá",dd:"%d áááá",M:"áá½ááá",MM:"%d áá",y:"áá½ááááá¶á",yy:"%d áááá¶á"},dayOfMonthOrdinalParse:/áá¸\d{1,2}/,ordinal:"áá¸%d",preparse:function(e){return e.replace(/[á¡á¢á£á¤á¥á¦á§á¨á©á ]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n("wd/R"))},"6G98":function(e,t,n){"use strict";n.r(t),t.default={path:"/admin",component:{render:function(e){return e("router-view")}},children:[{path:"/admin/feature-flags",name:"featureFlags",component:function(){return n.e(1125).then(n.bind(null,"Cnq7"))}},{path:"/admin/allowed_invite/:id",name:"allowedInvite",component:function(){return n.e(1123).then(n.bind(null,"p+2r"))},meta:{title:"Admin - Allowed Invite Flags"}}]}},"6Gjz":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("div",[e.countryList?[t("VBetterAutocomplete",{attrs:{"item-text":"0","item-value":"0",items:e.countryList,"error-messages":e.countryErrors,filled:e.filled,hint:e.hint,"persistent-hint":"",label:"Country"},on:{input:function(t){return e.$v.address.country.$touch()},blur:function(t){return e.$v.address.country.$touch()}},model:{value:e.address.country,callback:function(t){e.$set(e.address,"country",t)},expression:"address.country"}})]:[t("v-text-field",{attrs:{readonly:"",loading:e.loadingCountries,hint:e.hint,"error-messages":e.countryErrors,label:"Country",filled:e.filled},on:{click:e.init},model:{value:e.address.country,callback:function(t){e.$set(e.address,"country",t)},expression:"address.country"}})]],2)};i._withStripped=!0;var r={name:"CountryList",mixins:[n("HnDJ").default],data:function(){return{hint:"Enter full country name, e.g. 'United Kingdom' instead of 'UK'"}},props:{countryCodesRequired:{type:Boolean,default:!1},address:{type:Object,default:function(){}},$v:{type:Object,default:function(){}},filled:{type:Boolean,default:!1}},mounted:function(){this.init()},methods:{init:function(){this.countryCodesRequired?this.getCountryWithCodes():this.getCountryList()}}},a=n("KHd+"),o=n("ZUTo"),s=n.n(o),l=n("hlRy"),c=Object(a.a)(r,i,[],!1,null,null,null);t.default=c.exports;s()(c,{VTextField:l.a})},"6HWo":function(e,t,n){"use strict";var i=n("Kw5r"),r=n("aScO"),a=function(){var e=this,t=e._self._c;return t("div",[t("nav",{attrs:{"aria-label":"Page navigation"}},[t("ul",{staticClass:"pagination justify-content-center mb-1"},[t("li",{staticClass:"page-item",class:{disabled:e.previousDisabled}},[t("router-link",{staticClass:"page-link",attrs:{to:{name:e.pageName,query:e.linkQueryString(e.previousPage)}}},[e._v("\n Previous\n ")])],1),e._v(" "),t("li",{staticClass:"page-item",class:{disabled:e.nextDisabled}},[t("router-link",{staticClass:"page-link",attrs:{to:{name:e.pageName,query:e.linkQueryString(e.nextPage)}}},[e._v("\n Next\n ")])],1)])]),e._v(" "),t("div",{staticClass:"text-center text-muted"},[e.loading?t("small"):t("small",[e._v("Page "+e._s(e.currentPage)+" of "+e._s(e.totalPages))]),e._v(" "),t("div",{staticClass:"d-flex align-items-center justify-content-center mt-2"},[t("small",[e._v("Showing ")]),e._v(" "),t("div",{staticClass:"pagination-select-container mr-2 ml-2"},[t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedLimit,expression:"selectedLimit"}],staticClass:"form-control form-control-sm",on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,
31(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.selectedLimit=t.target.multiple?n:n[0]}}},e._l(e.limitOptions,(function(n){return t("option",{key:n,domProps:{value:n}},[e._v(e._s(n))])})),0)]),e._v(" "),t("small",[e._v("per page")])])])])};a._withStripped=!0;var o=n("lSNA"),s=n.n(o),l={props:{paginationData:{type:n("ZRYv").a,required:!0},pageName:{type:String,required:!1,default:function(){return this.$route.name}},queryStringKey:{type:String,required:!1},loading:{type:Boolean,required:!1,default:!1}},data:function(){return{limitOptions:[25,50,100,200,500],selectedLimit:null}},computed:{totalPages:function(){return Math.ceil(this.paginationData.total/this.selectedLimit)},currentPage:function(){return parseInt(this.$route.query[this.queryStringKeyPage])||1},previousPage:function(){return this.currentPage>1?this.currentPage-1:this.currentPage},nextPage:function(){return this.currentPage<this.totalPages?this.currentPage+1:this.currentPage},previousDisabled:function(){return this.currentPage<=1||this.loading},nextDisabled:function(){return this.currentPage>this.totalPages-1||this.loading},queryStringKeyPage:function(){return this.queryStringKey?"page_".concat(this.queryStringKey):"page"},queryStringKeyLimit:function(){return this.queryStringKey?"limit_".concat(this.queryStringKey):"limit"}},methods:{linkQueryString:function(e){var t=Object.assign({},this.$route.query,s()({},this.queryStringKeyPage,e));return t=Object.assign({},t,s()({},this.queryStringKeyLimit,this.selectedLimit))}},watch:{selectedLimit:function(){if(!this.$route.query[this.queryStringKeyLimit]||parseInt(this.$route.query[this.queryStringKeyLimit])!=this.selectedLimit){var e=this.linkQueryString(1);this.$router.push({name:this.pageName,query:e})}}},created:function(){this.selectedLimit=parseInt(this.$route.query[this.queryStringKeyLimit])||this.paginationData.maxPerPage}},c=(n("wBlg"),n("KHd+")),u=Object(c.a)(l,a,[],!1,null,"15a2deec",null).exports,d=n("62Jv"),h=function(){var e=this,t=e._self._c;return t("div",{staticClass:"radio-button-container",on:{click:function(t){return e.$emit("click")}}},[t("div",{staticClass:"radio-button",class:{active:e.selected}},[e.selected?t("div",{staticClass:"radio-button-selected"}):e._e()]),e._v(" "),t("div",{staticClass:"radio-label ml-2"},[e._v(e._s(e.label))])])};h._withStripped=!0;var f={props:{selected:{type:Boolean,required:!1,default:!1},label:{type:String,required:!1,default:null},value:{required:!0}},methods:{}},p=(n("vYI4"),Object(c.a)(f,h,[],!1,null,"796ffada",null).exports),m=function(){var e=this,t=e._self._c;return t("div",{staticClass:"alert",class:e.cssClass},[e.title?t("strong",[e._v(e._s(e.title))]):e._e(),e._v(" "),t("div",[e._v(e._s(e.content))])])};m._withStripped=!0;var g={props:{title:{required:!1,type:String},content:{required:!0,type:String},type:{validator:function(e){return-1!==["default","primary","secondary","info","success","warning","danger","light","dark"].indexOf(e)}}},computed:{cssClass:function(){return"alert-"+this.type}}},v=Object(c.a)(g,m,[],!1,null,null,null).exports,b=n("HZW1"),y=function(){var e=this,t=e._self._c;return t("div",{staticClass:"pj-tooltip-wrapper"},[t("div",{staticClass:"slot-container"},[e._t("default")],2),e._v(" "),t("div",{staticClass:"pj-tooltip",class:e.tooltipCssClass,style:{"background-color":e.color}},[e.$slots.tooltip?[e._t("tooltip")]:[e._v("\n "+e._s(e.text)+"\n ")]],2)])};y._withStripped=!0;var _={props:{text:{type:String,default:"?"},position:{default:"bottom",validator:function(e){return-1!==["top","bottom","left","right"].indexOf(e)}},color:{type:String,default:"$gray-800"}},computed:{tooltipCssClass:function(){return"pj-tooltip-".concat(this.position)}}},x=(n("Qr4B"),Object(c.a)(_,y,[],!1,null,"3bc76176",null).exports),w=function(){var e=this,t=e._self._c;return t("div",{staticClass:"pj-popover-wrapper"},[t("div",{staticClass:"trigger-container"},[e._t("triggerContainer")],2),e._v(" "),e.disabled?e._e():t("div",{staticClass:"pj-popover",class:e.popoverCssClass,on:{click:function(e){e.stopPropagation()},mousedown:function(t){return t.stopPropagation(),e.mousedown.apply(null,arguments)},mouseup:function(e){e.stopPropagation()}}},[e._t("contentContainer")],2)])};function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}w._withStripped=!0;var S={props:{position:{default:"bottom",validator:function(e){return-1!==["top","bottom","left","right"].indexOf(e)}},disabled:{type:Boolean,default:!1,required:!1},closeOnHover:{type:Boolean,default:!0,required:!1},mouseDownPreventDefault:{type:Boolean,default:!1,required:!1},popoverClass:{type:String,default:""}},computed:{popoverCssClass:function(){var e,t,n,i="pj-popover-".concat(this.position);return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
31t%2?k(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}((e={},s()(e,i,!0),s()(e,"hover-close",this.closeOnHover),e),(null===(t=this.popoverClass)||void 0===t||null===(n=t.split(" "))||void 0===n?void 0:n.reduce((function(e,t){return e[t]=!0,e}),{}))||{})}},methods:{mousedown:function(e){this.mouseDownPreventDefault&&e.preventDefault(),this.$emit("mousedown")}}},M=(n("k9gj"),Object(c.a)(S,w,[],!1,null,"1aace57b",null).exports),L=n("IAQg"),A=n("M20+"),O=function(){var e=this._self._c;return e("transition",{attrs:{name:"transition-fade",appear:""}},[e("div",{staticClass:"pj-loading-overlay"},[e("div",{staticClass:"inner"},[e("LoadingSpinner",{attrs:{large:this.large}}),this._v(" "),this.text?e("div",{staticClass:"ml-2",class:{large:this.large}},[this._v(this._s(this.text))]):this._e()],1)])])};O._withStripped=!0;var C={props:{text:{type:String,required:!1},large:{type:Boolean,required:!1}}},T=(n("6XYD"),Object(c.a)(C,O,[],!1,null,"e3bfa938",null).exports),E=function(){var e=this._self._c;return e("div",{staticClass:"vuetify-iso"},[e("v-app",[this._t("default")],2)],1)};E._withStripped=!0;var D=n("ZUTo"),P=n.n(D),j=n("dJbz"),Y=Object(c.a)({},E,[],!1,null,null,null),I=Y.exports;P()(Y,{VApp:j.a});var R=function(){var e=this,t=e._self._c;return t("v-dialog",{staticClass:"pj-modal",attrs:{persistent:e.persistent,scrollable:"","max-width":e.maxWidth,"overlay-opacity":e.overlayOpacity},model:{value:e.open,callback:function(t){e.open=t},expression:"open"}},[t("v-card",{style:e.minHeight?"min-height: ".concat(e.minHeight):""},[e.title||e.$slots.title?t("v-card-title",{staticClass:"d-flex justify-space-between"},[t("div",[e.$slots.title?[e.icon?t("v-icon",{staticClass:"mr-2",attrs:{color:"grey darken-3"}},[e._v(e._s(e.icon))]):e._e(),e._v(" "),e._t("title")]:[t("div",[e.icon?t("v-icon",{staticClass:"mr-2",attrs:{color:"grey darken-3"}},[e._v(e._s(e.icon))]):e._e(),e._v("\n "+e._s(e.title)+"\n ")],1)]],2),e._v(" "),e.persistent?e._e():[t("v-icon",{attrs:{"aria-label":"close modal",small:""},on:{click:e.close}},[e._v("\n mdi-close\n ")])]],2):e._e(),e._v(" "),t("v-card-text",{class:{"pt-5":!e.title},staticStyle:{"max-height":"80vh",position:"relative"}},[e._t("body"),e._v(" "),t("v-overlay",{attrs:{value:e.showLoadingOverlay,absolute:"",color:"white",opacity:"0.6"}},[t("v-progress-circular",{attrs:{indeterminate:"",size:"64",color:"grey darken-1"}})],1)],2),e._v(" "),t("v-divider"),e._v(" "),t("v-sheet",{attrs:{color:e.modalButtonsWrapperClass}},[t("v-card-actions",{class:e.modalButtonsClass,attrs:{color:"primary"}},[e.hideCloseButton?e._e():[t("div",[e.saving?e._e():t("v-btn",{staticClass:"btn-min-width",attrs:{color:e.theme,elevation:"0"},on:{click:e.close}},[e._v("\n "+e._s(e.closeButtonText)+"\n ")]),e._v(" "),e._t("buttons-left")],2)],e._v(" "),e.$slots.buttons?[t("div",{class:e.buttonSlotClass},[e._t("buttons")],2)]:e._e()],2)],1)],1)],1)};R._withStripped=!0;var H={props:{value:{type:Boolean,required:!0},title:{type:String,required:!1,default:""},icon:{type:String,default:""},loading:{type:Boolean,default:!1},buttonsJustify:{type:String,default:"space-between"},buttonSlotClass:{type:String|Object,default:""},saving:{type:Boolean,default:!1},loadingText:{type:String,default:"Loading..."},closeButtonText:{type:String,default:"Close"},hideCloseButton:{type:Boolean,default:!1},large:{type:Boolean,default:!1},persistent:{type:Boolean,default:!1},maxWidth:{type:String,default:"800px"},minHeight:{type:String,default:""},overlayOpacity:{type:Number,default:.46},closeCallback:{type:Function,default:null}},computed:{open:{get:function(){return this.value},set:function(e){this.$emit("input",e)}},modalButtonsClass:function(){return["d-flex","justify-".concat(this.buttonsJustify)]},modalButtonsWrapperClass:function(){return"py-1 px-1"+(this.$vuetify.theme.dark?" dark":" grey lighten-4")},showLoadingOverlay:function(){return!(!this.loading&&!this.saving)}},methods:{close:function(){this.closeCallback?this.closeCallback():this.$emit("input",!1)}}},N=n("gzZi"),F=n("sK+t"),z=n("mdmw"),B=n("FpqX"),W=n("zn5u"),V=n("Ey0z"),$=n("p5fY"),U=n("SQoD"),
31X=n("jdmY"),G=Object(c.a)(H,R,[],!1,null,null,null),q=G.exports;P()(G,{VBtn:N.a,VCard:F.a,VCardActions:z.a,VCardText:z.c,VCardTitle:z.d,VDialog:B.a,VDivider:W.a,VIcon:V.a,VOverlay:$.a,VProgressCircular:U.a,VSheet:X.a});var J=function(){var e=this,t=e._self._c;return t("v-dialog",{attrs:{persistent:"","max-width":"470px"},model:{value:e.open,callback:function(t){e.open=t},expression:"open"}},[t("v-card",[t("v-card-text",{staticClass:"pt-4"},[e.title?t("div",{staticClass:"mb-3"},[t("h3",[e._v(e._s(e.title))])]):e._e(),e._v(" "),e.$slots.default?[e._t("default")]:[t("div",{domProps:{textContent:e._s(e.text)}})]],2),e._v(" "),t("v-card-actions",[t("v-spacer"),e._v(" "),t("v-btn",{attrs:{color:"purple darken-2",text:""},on:{click:e.cancel}},[e._v("\n "+e._s(e.cancelButtonText)+"\n ")]),e._v(" "),e.hideDiscardButton?e._e():t("v-btn",{attrs:{color:"purple darken-2",text:""},on:{click:e.discard}},[e._v("\n "+e._s(e.discardButtonText)+"\n ")]),e._v(" "),t("v-btn",{attrs:{color:"purple darken-2",text:""},on:{click:e.save}},[e._v("\n "+e._s(e.saveButtonText)+"\n ")])],1)],1)],1)};J._withStripped=!0;var K={props:{value:{type:Boolean,required:!0},title:{type:String,required:!1},text:{type:String,required:!1,default:"Save changes?"},hideDiscardButton:{type:Boolean,default:!1},saveButtonText:{type:String,default:"Save"},cancelButtonText:{type:String,default:"Cancel"},discardButtonText:{type:String,default:"Discard Changes"}},computed:{open:{get:function(){return this.value},set:function(e){this.$emit("input",e)}}},methods:{cancel:function(){this.open=!1,this.$emit("cancel")},save:function(){this.open=!1,this.$emit("save")},discard:function(){this.open=!1,this.$emit("discard")}}},Z=n("L6Q5"),Q=Object(c.a)(K,J,[],!1,null,null,null),ee=Q.exports;P()(Q,{VBtn:N.a,VCard:F.a,VCardActions:z.a,VCardText:z.c,VDialog:B.a,VSpacer:Z.a});var te=function(){var e=this,t=e._self._c;return t("v-dialog",{attrs:{persistent:e.persistent,"max-width":"420px"},model:{value:e.open,callback:function(t){e.open=t},expression:"open"}},[t("v-card",[e.title?t("v-card-title",[e._v(e._s(e.title))]):e._e(),e._v(" "),t("v-card-text",[e._t("default")],2),e._v(" "),t("v-card-actions",[t("v-spacer"),e._v(" "),e._t("buttons")],2)],1)],1)};te._withStripped=!0;var ne={props:{value:{type:Boolean,required:!0},title:{type:String,required:!1},persistent:{type:Boolean,default:!1}},computed:{open:{get:function(){return this.value},set:function(e){this.$emit("input",e)}}}},ie=Object(c.a)(ne,te,[],!1,null,null,null),re=ie.exports;P()(ie,{VCard:F.a,VCardActions:z.a,VCardText:z.c,VCardTitle:z.d,VDialog:B.a,VSpacer:Z.a});t.a={register:function(){i.default.component("LoadingSpinner",r.a),i.default.component("LoadingOverlay",T),i.default.component("PaginationControls",u),i.default.component("PJButton",d.a),i.default.component("PJRadioButton",p),i.default.component("PJAlert",v),i.default.component("PJModal",b.a),i.default.component("PJConfirmModal",L.a),i.default.component("PJConfirmModalVuetify",A.a),i.default.component("PJTooltip",x),i.default.component("PJPopover",M),i.default.component("PJVuetify",I),i.default.component("PJModalVuetify",q),i.default.component("PJSaveChangesModal",ee),i.default.component("PJDialogue",re)}}},"6OTJ":function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var i=n("lwsE"),r=n.n(i),a=n("W8MJ"),o=n.n(a),s=n("7W2i"),l=n.n(s),c=n("a1gu"),u=n.n(c),d=n("Nsbk"),h=n.n(d),f=n("1IrZ"),p=n("jsnD");function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=h()(e);if(t){var r=h()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return u()(this,n)}}var g=function(e){l()(n,e);var t=m(n);function n(e){var i;return r()(this,n),(i=t.call(this,e)).endpoints=n.endpoints,i.email=e.email,i.firstName=e.firstName,i.middleName=e.middleName,i.lastName=e.lastName,i.displayName=e.displayName,i.roles=e.roles||[],i}return o()(n,[{key:"hasRole",value:function(e){return this.roles.includes(e)}}],[{key:"endpoints",get:function(){return{me:"users/me/"}}},{key:"getOwnProfileData",value:function(){return new Promise((function(e,t){n.get({url:n.endpoints.me}).then((function(t){p.a.commit("user/setUser",t),p.a.commit("user/setUserRolesFromDecodedToken"),e(t)}
31)).catch((function(e){console.log("Error getting user",e),t(e)}))}))}}]),n}(f.a)},"6PJS":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("Kw5r");function r(e){return i.default.extend({name:"v-"+e,functional:!0,props:{id:String,tag:{type:String,default:"div"}},render(t,{props:n,data:i,children:r}){i.staticClass=`${e} ${i.staticClass||""}`.trim();const{attrs:a}=i;if(a){i.attrs={};const e=Object.keys(a).filter(e=>{if("slot"===e)return!1;const t=a[e];return e.startsWith("data-")?(i.attrs[e]=t,!1):t||"string"==typeof t});e.length&&(i.staticClass+=" "+e.join(" "))}return n.id&&(i.domProps=i.domProps||{},i.domProps.id=n.id),t(n.tag,i,r)}})}},"6XYD":function(e,t,n){"use strict";n("0ZMU")},"6acW":function(e,t,n){var i=n("dt0z"),r=n("gQMU");e.exports=function(e){return r(i(e).toLowerCase())}},"6hVe":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",[n.vuetify.breakpoint.mdAndUp?[t(n.GPB_Desktop,{attrs:{"journal-name":e.showLogo?n.c_journalName:"","journal-image-url":e.showLogo?n.c_journalImageUrl:"","banner-image-alt":e.bannerImageAlt,"banner-image-url":n.c_bannerImageUrl,"banner-title":n.bannerTitle,"banner-description":n.bannerDescription},scopedSlots:e._u([n.slot.headingImage?{key:"headingImage",fn:function(){return[e._t("headingImage")]},proxy:!0}:null,{key:"actions",fn:function(){return[e.showCTA?t(n.H_GenericButton,{attrs:{label:e.ctaLabel,href:e.ctaHref,icon:e.ctaIcon||"mdi-arrow-right",color:e.ctaColor}}):e.showCTA?e._t("actions"):t("span",{staticClass:"gpbd__actions-placeholder",attrs:{"aria-hidden":"true"}})]},proxy:!0}],null,!0)})]:[t(n.GPB_Mobile,{attrs:{"journal-name":e.showLogo?n.c_journalName:"","journal-image-url":e.showLogo?n.c_journalImageUrl:"","banner-title":n.bannerTitle,"banner-description":n.bannerDescription},scopedSlots:e._u([n.slot.headingImage?{key:"headingImage",fn:function(){return[e._t("headingImage")]},proxy:!0}:null,{key:"actions",fn:function(){return[n.slot.actions?e._t("actions"):e.showCTA?t(n.H_GenericButton,{attrs:{label:e.ctaLabel,href:e.ctaHref,icon:e.ctaIcon||"mdi-arrow-right",color:e.ctaColor}}):e._e()]},proxy:!0}],null,!0)})]],2)};i._withStripped=!0;var r=n("cDf5"),a=n.n(r),o=n("Kw5r"),s=n("QJZv"),l=n("JhPg"),c=n("xYtH"),u=n("AkwW"),d={__name:"GenericPageBanner",props:{journalImageUrl:{type:String,default:""},journal:{type:[Object,String],default:function(){return null}},bannerImageUrl:{type:String,default:""},bannerImageAlt:{type:String,default:""},showLogo:{type:Boolean,default:!0},showCTA:{type:Boolean,default:!0},ctaLabel:{type:String,default:"Submit article"},ctaHref:{type:String,default:"/new/"},ctaIcon:{type:String,default:""},ctaColor:{type:String,default:"primary"},title:{type:String,default:""},description:{type:String,default:""}},setup:function(e){var t=e,n=Object(s.a)(),i=Object(o.useSlots)();console.log(t);var r={peerj:"PeerJ Life & Environment","computer-science":"PeerJ Computer Science",cs:"PeerJ Computer Science"},d=Object(o.computed)((function(){return t.journal?"object"===a()(t.journal)?t.journal.name||"":r[t.journal]||t.journal:""})),h=Object(o.computed)((function(){if(t.journalImageUrl)return t.journalImageUrl;if(!t.journal)return"";switch("object"===a()(t.journal)?t.journal.slug||"":t.journal){case"computer-science":case"cs":return"/assets/images/landing-pages/peerj-cs-y-logo.svg";case"peerj":return"/assets/images/landing-pages/peerj-bio-logo.svg";case"peerj-brand":return"/assets/images/landing-pages/peerj-logo-dark-blue.svg";default:return""}})),f=Object(o.computed)((function(){if(t.bannerImageUrl)return t.bannerImageUrl;if(!t.journal)return"";switch("object"===a()(t.journal)?t.journal.slug||"":t.journal){case"computer-science":case"cs":return"https://d2pdyyx74uypu5.cloudfront.net/images/journal-home/headers/PeerJ-Comp-Sci-Journal-Home-950w.jpg";case"peerj":return"https://d2pdyyx74uypu5.cloudfront.net/images/journal-home/headers/PeerJ-Journal-Home-950w.jpg";default:return""}})),p=Object(o.computed)((function(){if(t.title)return t.title;if(!t.journal)return"";switch("object"===a()(t.journal)?t.journal.slug||"":t.journal){case"computer-science":case"cs":return"PeerJ Computer Science";case"peerj":return"PeerJ Life & Environment";default:return""}})),m=Object(o.computed)((function(){if(t.description)return t.description;if(!t.journal)return"";switch("object"===a()(t.journal)?t.journal.slug||"":t.journal){case"computer-science":case"cs":return"PeerJ Computer Science is an open access journal publishing high-quality research in all areas of computer science.";case"peerj":return"PeerJ is an open access journal publishing high-quality research in the biological and medical sciences.";default:return""}}));return{__sfc:!0,vuetify:n,slot:i,JOURNAL_NAMES:r,props:t,c_journalName:d,c_journalImageUrl:h,c_bannerImageUrl:f,bannerTitle:p,bannerDescription:m,GPB_Desktop:l.default,GPB_Mobile:c.default,H_GenericButton:u.default}}},h=n("KHd+"),f=Object(h.a)(d,i,[],!1,null,null,null);t.default=f.exports},"6nK8":function(e,t,n){var i=n("dVn5"),r=n("fo6e"),a=n("dt0z"),o=n("9NmV");e.exports=function(e,t,n){return e=a(e),void 0===(t=n?void 0:t)?r(e)?o(e):i(e):e.match(t)||[]}},"6zbO":function(e,t,n){"use strict";n("+Y1A")},"70G4":function(e,t,n){"use strict";n.r(t),t.default={path:"/reports",component:{render:function(e){return e("router-view")}},children:[{path:"/staff/reports/",name:"reportsRoot",component:function(){return n.e(132).then(n.bind(null,"Htzg"))}},{path:"/staff/reports/dashboards",name:"reportsDashboardsIndex",component:function(){return n.e(132).then(n.bind(null,"Htzg"))}},{path:"/vendor/reviewer-sourcing/:tab?",name:"vendorReviewerSourcing",component:function(){return n.e(277).then(n.bind(null,"1wsC"))}},{path:"/staff/reports/intake/:phase/:version",name:"reportIntakePhase",component:function(){return n.e(156).then(n.bind(null,"wkxg"))}},{path:"/staff/reports/awaiting-peer-review",name:"reportAwaitingPeerReview",component:function(){return n.e(156).then(n.bind(null,"wkxg"))}},{path:"/staff/reports/dashboards/pipeline",name:"reportDashboardPipeline",component:function(){return n.e(343).then(n.bind(null,"tqf1"))}},{path:"/staff/reports/low-invite-activity",name:"reportV0LowInviteActivity",component:function(){return n.e(307).then(n.bind(null,"010Q"))}},{path:"/staff/reports/dashboard/detailed/versions/:version",name:"reportDetail",component:function(){return n.e(154).then(n.bind(null,"kow0"))}},{path:"/staff/reports/dashboard/detailed/disciplines",name:"reportDetail",component:function(){return n.e(292).then(n.bind(null,"tcxA"))}},{path:"/staff/reports/dashboard/detailed/disciplines/:discipline",name:"reportDetail",component:function(){return n.e(153).then(n.bind(null,"dRA1"))}},{path:"/staff/reports/dashboard/detailed/subjects",name:"reportDetail",component:function(){return n.e(153).then(n.bind(null,"dRA1"))}},{path:"/staff/reports/dashboard/detailed/subjects/:subject",name:"reportDetail",component:function(){return n.e(293).then(n.bind(null,"kZDg"))}},{path:"/staff/reports/dashboard/detailed/subjects/:subject/:version",name:"reportDetail",component:function(){return n.e(154).then(n.bind(null,"kow0"))}},{path:"/staff/reports/dashboard/overview",name:"reportsDashboard",component:function(){return n.e(70).then(n.bind(null,"lrbW"))},props:{type:"overview"}},{path:"/staff/reports/dashboard/targets",name:"reportsDashboardTargets",component:function(){return n.e(70).then(n.bind(null,"lrbW"))},props:{type:"targets"}},{path:"/staff/reports/dashboard/transfers",name:"reportsDashboardTransfers",component:function(){return n.e(70).then(n.bind(null,"lrbW"))},props:{type:"transfers"}},{path:"/staff/reports/submissions/:reportType/:version",name:"reportSubmissions",component:function(){return n.e(274).then(n.bind(null,"BEzy"))}},{path:"/staff/reports/submissions/transferred",name:"reportTransferred",component:function(){return n.e(301).then(n.bind(null,"ZPui"))}},{path:"/staff/reports/submissions/v0-no-reviewers",name:"reportV0NoReviewers",component:function(){return n.e(308).then(n.bind(null,"sXhm"))}},{path:"/staff/reports/submissions/decisions-awaiting-send",name:"reportDecisionsA
31waitingSend",component:function(){return n.e(155).then(n.bind(null,"HmS6"))}},{path:"/staff/reports/submissions/awaiting-section-editor",name:"reportAwaitingSectionEditor",component:function(){return n.e(155).then(n.bind(null,"HmS6"))}},{path:"/staff/reports/submissions/v0-awaiting-editor",name:"reportV0AwaitingEditor",component:function(){return n.e(303).then(n.bind(null,"Rh6c"))}},{path:"/staff/reports/submissions/v0-pending-reviews",name:"reportV0PendingReviews",component:function(){return n.e(309).then(n.bind(null,"uW0z"))}},{path:"/staff/reports/submissions/v0-returned-reports",name:"reportV0ReturnedReports",component:function(){return n.e(310).then(n.bind(null,"T5I2"))}},{path:"/staff/reports/submissions/v0-epr-candidates",name:"reportV0EprCandidates",component:function(){return n.e(304).then(n.bind(null,"KSAc"))}},{path:"/staff/reports/submissions/epr-tagged",name:"reportEprTagged",component:function(){return n.e(305).then(n.bind(null,"o6cR"))}},{path:"/staff/reports/submissions/v0-escalation",name:"reportV0Escalation",component:function(){return n.e(306).then(n.bind(null,"WY09"))}},{path:"/staff/reports/submissions/v1-re-review",name:"reportV1ReReview",component:function(){return n.e(312).then(n.bind(null,"Je8V"))}},{path:"/staff/reports/submissions/v1-epr-rescue",name:"reportV1EprRescue",component:function(){return n.e(311).then(n.bind(null,"CUjw"))}},{path:"/staff/reports/submissions/v0-editor-overdue",name:"reportV0EditorOverdue",component:function(){return n.e(158).then(n.bind(null,"g5In"))}},{path:"/staff/reports/submissions/v1-editor-overdue",name:"reportV1EditorOverdue",component:function(){return n.e(158).then(n.bind(null,"g5In"))}},{path:"/staff/reports/peer-review-pipeline/last-invite-5",name:"reportStaffPipelineInvite5",component:function(){return n.e(157).then(n.bind(null,"qqoj"))}},{path:"/staff/reports/peer-review-pipeline/last-invite-2",name:"reportStaffPipelineInvite2",component:function(){return n.e(157).then(n.bind(null,"qqoj"))}},{path:"/staff/reports/locked-papers",name:"reportLockedSubmissions",component:function(){return n.e(300).then(n.bind(null,"gcGp"))}},{path:"/staff/reports/editor-handbacks",name:"reportEditorHandbacks",component:function(){return n.e(299).then(n.bind(null,"sBDS"))}},{path:"/staff/reports/unassigned-after-handback",name:"reportUnassignedAfterHandback",component:function(){return n.e(302).then(n.bind(null,"Mfp/"))}},{path:"/staff/reports/editor-handbacks/:editorId",name:"reportEditorHandbackDetails",component:function(){return n.e(298).then(n.bind(null,"4wHH"))}},{path:"/staff/reports/daily-accepts",name:"reportDailyAccepts",component:function(){return n.e(297).then(n.bind(null,"kxt9"))}}]}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"7BF0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("eO9T");t.default=function(e,t){return(0,i.withParams)({type:"between",min:e,max:t},(function(n){return!(0,i.req)(n)||(!/\s/.test(n)||n instanceof Date)&&+e<=+n&&+t>=+n}))}},"7BjC":function(e,t,n){!function(e){"use strict";
vendor: 1,398 bytes, lines 32-33
32//! moment.js locale configuration 33function t(e,t,n,i){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"7C5Q":function(e,t,n){!function(e){"use strict";
34//! moment.js locale configuration 35e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n("wd/R"))},"7ClH":function(e,t,n){},"7FqK":function(e,t,n){},"7Ix3":function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},"7Kgv":function(e,t,n){"use strict";var i=function(){var e=this._self._c;return e("v-sheet",{staticClass:"p-3 grey--text text--darken-2",attrs:{color:"grey lighten-3",rounded:""}},[e("strong",[this._v("Independent Researchers")]),this._v(" "),e("div",{staticClass:"mt-2"},[this._v("\n If this author is an independent researcher (i.e. not affiliated to an institution) you must enter City and Country information as a minimum.\n You must also enter "),e("b",[e("em",[this._v("'Unaffiliated'")])]),this._v(" in the Institution field.\n ")])])};i._withStripped=!0;var r={},a=n("KHd+"),o=n("ZUTo"),s=n.n(o),l=n("jdmY"),c=Object(a.a)(r,i,[],!1,null,null,null);t.a=c.exports;s()(c,{VSheet:l.a})},"7W2i":function(e,t,n){var i=n("SksO");e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}},"7WsP":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("wMS7"),r=n.n(i),a=n("AuB/");function o(e,t){var n=a.a.markupToHtml(a.a.escapeHtml(t.value));e.innerHTML=r.a.sanitize(n)}},"7YQI":function(e,t,n){"use strict";n.r(t);var i=n("H+RQ");t.default={path:"/about",component:i.default,children:[{path:"/about",name:"about",component:function(){return Promise.all([n.e(0),n.e(22)]).then(n.bind(null,"HB43"))}},{path:"/about/join-editorial-board",name:"joinEditorialBoard",component:function(){return n.e(282).then(n.bind(null,"Yama"))}},{path:"/about/contributor-rewards",name:"contributorRewards",component:function(){return n.e(281).then(n.bind(null,"vDkx"))}},{path:"/about/team",name:"team",component:function(){return Promise.all([n.e(0),n.e(22)]).then(n.bind(null,"HB43"))},meta:{metaTags:[{name:"description",content:"PeerJ's mission is to efficiently publish the world's knowledge."},{property:"og:description",content:"PeerJ's mission is to efficiently publish the world's knowledge."}]}},{path:"/about/publications",name:"publications",component:function(){return Promise.all([n.e(0),n.e(22)]).then(n.bind(null,"HB43"))},meta:{title:"About - Our Publications",metaTags:[{name:"description",content:"PeerJ is an Open Access, peer-reviewed, scholarly journal, whilst PeerJ Preprints is a venue for rapid communication of results."},{property:"og:description",content:"PeerJ is an Open Access, peer-reviewed, scholarly journal, whilst PeerJ Preprints is a venue for rapid communication of results."}]}},{path:"/about/author-testimonials",name:"author-testimonials",component:function(){return Promise.all([n.e(0),n.e(22)]).then(n.bind(null,"HB43"))},meta:{title:"About - Author Testimonials"}},{path:"/about/editor-testimonials",name:"editor-testimonials",component:function(){return Promise.all([n.e(0),n.e(22)]).then(n.bind(null,"HB43"))},meta:{title:"About - Editor Testimonials"}},{path:"/about/author-interviews",name:"author-interviews",component:function(){return Promise.all([n.e(0),n.e(22)]).then(n.bind(null,"HB43"))},meta:{title:"Author Interviews",metaTags:[{name:"description",content:"Case study interview with PeerJ authors"},{property:"og:description",content:"Case study interview with PeerJ authors"}]}},{path:"/about/author-interviews/:author",name:"author-interviews-author",component:function(){return Promise.all([n.e(0),n.e(22)]).then(n.bind(null,"HB43"))},meta:{title:"Author Interviews",metaTags:[{name:"description",content:"Case study interview with PeerJ authors"},{property:"og:description",content:"Case study interview with PeerJ authors"}]}},{path:"/about/partnerships",name:"partnerships",component:function(){return Promise.all([n.e(0),n.e(22)]).then(n.bind(null,"HB43"))},meta:{title:"About - Partnerships"}},{path:"/about/endorsements",name:"endorsements",component:function(){return Promise.all([n.e(0),n.e(22)]).then(n.bind(null,"HB43"))},meta:{title:"About - Endorsements"}},{path:"/about/reviews",name:"reviews",component:function(){return Promise.all([n.e(0),n.e(22)]).then(n.bind(null,"HB43"))},meta:{title:"About - Reviews & Awards"}},{path:"/about/contact",name:"contact",component:function(){return Promise.all([n.e(0),n.e(22)]).then(n.bind(null,"HB43"))},meta:{title:"Contact Us"}},{path:"/about/licenses",name:"licenses",component:function(){return Promise.all([n.e(0),n.e(241)]).then(n.bind(null,"9RSh"))},meta:{title:"About - Licenses"}}]}},"7Ysy":function(e,t,n){"use strict";n.r(t),t.default={path:"/users/:id/cards/",name:"user_cards",component:{name:"user_cards",render:function(e){return e("router-view")}},children:[{name:"UserEditCard",path:":card/edit",component:function(){return n.e(317).then(n.bind(null,"cKkW"))}}]}},"7aV9":function(e,t,n){!function(e){"use strict";
36//! moment.js locale configuration 37e.defineLocale("si",{months:"ජනà·à·à¶»à·_à¶´à·à¶¶à¶»à·à·à¶»à·_මà·à¶»à·à¶à·_à¶ à¶´à·âà¶»à·à¶½à·_මà·à¶ºà·_à¶¢à·à¶±à·_à¶¢à·à¶½à·_à¶ à¶à·à·à·à¶à·_à·à·à¶´à·à¶à·à¶¸à·à¶¶à¶»à·_à¶à¶à·à¶à·à¶¶à¶»à·_à¶±à·à·à·à¶¸à·à¶¶à¶»à·_දà·à·à·à¶¸à·à¶¶à¶»à·".split("_"),monthsShort:"ජන_à¶´à·à¶¶_මà·à¶»à·_à¶ à¶´à·_මà·à¶ºà·_à¶¢à·à¶±à·_à¶¢à·à¶½à·_à¶ à¶à·_à·à·à¶´à·_à¶à¶à·_à¶±à·à·à·_දà·à·à·".split("_"),weekdays:"à¶à¶»à·à¶¯à·_à·à¶³à·à¶¯à·_à¶ à¶à·à¶»à·à·à·à¶¯à·_බදà·à¶¯à·_à¶¶à·âà¶»à·à·à·à¶´à¶à·à¶±à·à¶¯à·_à·à·à¶à·à¶»à·à¶¯à·_à·à·à¶±à·à·à¶»à·à¶¯à·".split("_"),weekdaysShort:"à¶à¶»à·_à·à¶³à·_à¶ à¶_බදà·_à¶¶à·âà¶»à·_à·à·à¶à·_à·à·à¶±".split("_"),weekdaysMin:"à¶_à·_à¶ _à¶¶_à¶¶à·âà¶»_à·à·_à·à·".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [à·à·à¶±à·] dddd, a h:mm:ss"},calendar:{sameDay:"[චද] LT[à¶§]",nextDay:"[à·à·à¶§] LT[à¶§]",nextWeek:"dddd LT[à¶§]",lastDay:"[à¶à¶ºà·] LT[à¶§]",lastWeek:"[à¶´à·à·à¶à·à¶º] dddd LT[à¶§]",sameElse:"L"},relativeTime:{future:"%sà¶à·à¶±à·",past:"%sà¶à¶§ à¶´à·à¶»",s:"à¶à¶à·à¶´à¶» à¶à·à·à·à¶´à¶º",ss:"à¶à¶à·à¶´à¶» %d",m:"මà·à¶±à·à¶à·à¶à·à·",mm:"මà·à¶±à·à¶à·à¶à· %d",h:"à¶´à·à¶º",hh:"à¶´à·à¶º %d",d:"දà·à¶±à¶º",dd:"දà·à¶± %d",M:"මà·à·à¶º",MM:"මà·à· %d",y:"à·à·à¶»",yy:"à·à·à¶» %d"},dayOfMonthOrdinalParse:/\d{1,2} à·à·à¶±à·/,ordinal:function(e){return e+" à·à·à¶±à·"},meridiemParse:/à¶´à·à¶» à·à¶»à·|à¶´à·à· à·à¶»à·|à¶´à·.à·|à¶´.à·./,isPM:function(e){return"à¶´.à·."===e||"à¶´à·à· à·à¶»à·"===e},meridiem:function(e,t,n){return e>11?n?"à¶´.à·.":"à¶´à·à· à·à¶»à·":n?"à¶´à·.à·.":"à¶´à·à¶» à·à¶»à·"}})}(n("wd/R"))},"7fyu":function(e,t,n){},"7uzI":function(e,t,n){},"8/+R":function(e,t,n){!function(e){"use strict";
38//! moment.js locale configuration 39var t={1:"à©§",2:"੨",3:"à©©",4:"੪",5:"à©«",6:"੬",7:"à©",8:"à©®",9:"੯",0:"੦"},n={"à©§":"1","੨":"2","à©©":"3","੪":"4","à©«":"5","੬":"6","à©":"7","à©®":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"à¨à¨¨à¨µà¨°à©_ਫ਼ਰਵਰà©_ਮਾਰà¨_ਠਪà©à¨°à©à¨²_ਮà¨_à¨à©à¨¨_à¨à©à¨²à¨¾à¨_ਠà¨à¨¸à¨¤_ਸਤੰਬਰ_ਠà¨à¨¤à©à¨¬à¨°_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"à¨à¨¨à¨µà¨°à©_ਫ਼ਰਵਰà©_ਮਾਰà¨_ਠਪà©à¨°à©à¨²_ਮà¨_à¨à©à¨¨_à¨à©à¨²à¨¾à¨_ਠà¨à¨¸à¨¤_ਸਤੰਬਰ_ਠà¨à¨¤à©à¨¬à¨°_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"à¨à¨¤à¨µà¨¾à¨°_ਸà©à¨®à¨µà¨¾à¨°_ਮੰà¨à¨²à¨µà¨¾à¨°_ਬà©à¨§à¨µà¨¾à¨°_ਵà©à¨°à¨µà¨¾à¨°_ਸ਼à©à©±à¨à¨°à¨µà¨¾à¨°_ਸ਼ਨà©à¨à¨°à¨µà¨¾à¨°".split("_"),weekdaysShort:"à¨à¨¤_ਸà©à¨®_ਮੰà¨à¨²_ਬà©à¨§_ਵà©à¨°_ਸ਼à©à¨à¨°_ਸ਼ਨà©".split("_"),weekdaysMin:"à¨à¨¤_ਸà©à¨®_ਮੰà¨à¨²_ਬà©à¨§_ਵà©à¨°_ਸ਼à©à¨à¨°_ਸ਼ਨà©".split("_"),longDateFormat:{LT:"A h:mm ਵà¨à©",LTS:"A h:mm:ss ਵà¨à©",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵà¨à©",LLLL:"dddd, D MMMM YYYY, A h:mm ਵà¨à©"},calendar:{sameDay:"[ਠà¨] LT",nextDay:"[à¨à¨²] LT",nextWeek:"[ਠà¨à¨²à¨¾] dddd, LT",lastDay:"[à¨à¨²] LT",lastWeek:"[ਪਿà¨à¨²à©] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱà¨",past:"%s ਪਿà¨à¨²à©",s:"à¨à©à¨ ਸà¨à¨¿à©°à¨",ss:"%d ਸà¨à¨¿à©°à¨",m:"à¨à¨ ਮਿੰà¨",mm:"%d ਮਿੰà¨",h:"à¨à©±à¨ à¨à©°à¨à¨¾",hh:"%d à¨à©°à¨à©",d:"à¨à©±à¨ ਦਿਨ",dd:"%d ਦਿਨ",M:"à¨à©±à¨ ਮਹà©à¨¨à¨¾",MM:"%d ਮਹà©à¨¨à©",y:"à¨à©±à¨ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬à©à©®à©¯à©¦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵà©à¨°|ਦà©à¨ªà¨¹à¨¿à¨°|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵà©à¨°"===t?e:"ਦà©à¨ªà¨¹à¨¿à¨°"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵà©à¨°":e<17?"ਦà©à¨ªà¨¹à¨¿à¨°":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n("wd/R"))},"88Gu":function(e,t){var n=Date.now;e.exports=function(e){var t=0,i=0;return function(){var r=n(),a=16-(r-i);if(i=r,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},"89Ef":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i={ARTICLE_MESSAGE_LOGS:"/api/v2/article_message_logs",GRAPH_ACTIONS:"/api/v2/graph_actions/",GRAPH_COMMENTS:"/api/v2/graph_comments/",GRAPH_COMMENT_PERMISSIONS:"/api/v2/graph_comment_type_permissions/",GRAPH_COMMENT_REACTIONS:"/api/v2/graph_comment_reactions",GRAPH_COMMENT_TYPE:"/api/v2/graph_comment_type_configs/",GRAPH_JOURNAL_SERVICE:"/api/v2/graph_journal_services/",GROUPS:"/api/v2/groups/",USER:"/api/v2/users/",ARTICLE:"/api/v2/articles/",JOURNAL_META:"/api/v2/journal_metas",SHARED_META:"/api/v2/shared_metas",article_message_logs:"/api/v2/article_message_logs",message_templates:"/api/v2/message_templates",JOURNAL:"/api/v2/journals",USER_V2:"/api/v2/users/",GROUP_USERS:"/api/v2/group_users/",JOURNAL_EDITORS:"/api/v2/journal_editors/",DISCIPLINE:"/api/v2/disciplines/",MARKETING_CONFIGS:"/api/v2/marketing_pages"}},"8E6E":function(e,t,n){"use strict";n.r(t),t.default={path:"/",name:"user-groups",component:function(){return n.e(316).then(n.bind(null,"4O63"))},children:[{path:"hubs/new",name:"HubsNew",component:function(){return Promise.all([n.e(32),n.e(39),n.e(1121)]).then(n.bind(null,"3ZTM"))}},{path:"global-challenges/new",name:"GlobalChallengesNew",component:function(){return Promise.all([n.e(32),n.e(39),n.e(1112)]).then(n.bind(null,"0d7V"))}},{path:"hubs",name:"HubsHome",component:function(){return Promise.all([n.e(0),n.e(220),n.e(4),n.e(8),n.e(1109)]).then(n.bind(null,"TRBo"))}},{path:"hubs/index",alias:"groups/index",name:"GroupAdminIndex",component:function(){return n.e(358).then(n.bind(null,"EWyd"))},children:[]},{path:"groups-test/article-token-test",name:"GroupArticleTokenTest",component:function(){return n.e(359).then(n.bind(null,"F/hP"))}},{name:"HubLanding",path:"hubs/:id",alias:["hubs/:id/join/invalid","hubs/:id/subscribe"],component:function(){return Promise.all([n.e(0),n.e(4),n.e(8),n.e(48),n.e(1095)]).then(n.bind(null,"17q1"))}},{name:"HubSubmit",path:"hubs/:id/submit",component:function(){return Promise.all([n.e(0),n.e(229),n.e(4),n.e(8),n.e(1097)]).then(n.bind(null,"OzwT"))}},{name:"HubAbout",path:"hubs/:id/about",component:function(){return Promise.all([n.e(0),n.e(4),n.e(8),n.e(218),n.e(1142)]).then(n.bind(null,"ch/q"))}},{name:"HubEvents",path:"hubs/:id/events",component:function(){return Promise.all([n.e(0),n.e(4),n.e(8),n.e(225),n.e(1143)]).then(n.bind(null,"X9KG"))}},{name:"HubAdmin",path:"hubs/:id/admin",component:function(){return Promise.all([n.e(1),n.e(30),n.e(55),n.e(110),n.e(612)]).then(n.bind(null,"qFjF"))}},{name:"GlobalChallengeAdmin",path:"journals/:journalSlug/global-challenges/:id/admin",component:function(){return Promise.all([n.e(1),n.e(30),n.e(55),n.e(110),n.e(612)]).then(n.bind(null,"qFjF"))}},{name:"HubAdminLanding",path:"hubs/:id/admin/landing",component:function(){return Promise.all([n.e(0),n.e(9),n.e(4),n.e(8),n.e(1103)]).then(n.bind(null,"3fPk"))}},{name:"HubAdminAbout",path:"hubs/:id/admin/about",component:function(){return Promise.all([n.e(0),n.e(219),n.e(4),n.e(8),n.e(1108)]).then(n.bind(null,"KHCD"))}},{name:"HubAdminEvents",path:"hubs/:id/admin/events",component:function(){return Promise.all([n.e(0),n.e(9),n.e(216),n.e(4),n.e(1096)]).then(n.bind(null,"G2P5"))}},{name:"HubAdminSettings",path:"hubs/:id/admin/settings",component:function(){return Promise.all([n.e(0),n.e(61),n.e(4),n.e(8),n.e(1094)]).then(n.bind(null,"pjqw"))}},{name:"HubsSubmissionAssessment",path:"hubs/:id/dashboard/:uuid",component:function(){return Promise.all([n.e(0),n.e(91),n.e(90)]).then(n.bind(null,"W8p8"))}},{name:"GlobalChallengeSubmissionAssessment",path:"journals/:journalSlug/global-challenges/:id/dashboard/:uuid",component:function(){return Promise.all([n.e(0),n.e(91),n.e(90)]).then(n.bind(null,"W8p8"))}},{name:"HubEditor",path:"hubs/:id/dashboard",component:function(){return Promise.all([n.e(30),n.e(102)]).then(n.bind(null,"FfP2"))}},{name:"GlobalChallengeEditor",path:"journals/:journalSlug/global-challenges/:id/dashboard",component:function(){return Promise.all([n.e(30),n.e(102)]).then(n.bind(null,"FfP2"))}},{name:"HubFunding",path:"hubs/:id/funding",component:function(){return Promise.all([n.e(232),n.e(30),n.e(247)]).then(n.bind(null,"CW8+"))}},{name:"HubFundingApplication",path:"hubs/:id/funding-application/:uuid",component:function(){return n.e(253).then(n.bind(null,"id8g"))}},{name:"HubsSubmissionUpdate",path:"hubs/:id/update/:uuid",component:function(){return n.e(255).then(n.bind(null,"gJmD"))}},{name:"HubsPresubmissionItem",path:"hubs/:id/presubmissions/:uuid",component:function(){return Promise.all([n.e(0),n.e(4),n.e(8),n.e(231),n.e(1144)]).then(n.bind(null,"JxtG"))}}]}},"8OQS":function(e,t){e.exports=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}},"8mBD":function(e,t,n){!function(e){"use strict";
40//! moment.js locale configuration 41e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje à s] LT",nextDay:"[Amanhã à s] LT",nextWeek:"dddd [à s] LT",lastDay:"[Ontem à s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Ãltimo] dddd [à s] LT":"[Ãltima] dddd [à s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},"8p+3":function(e,t,n){"use strict";n.r(t),t.default={path:"/staff",component:{render:function(e){return e("router-view")}},children:[{path:"/staff/token-management/transfer-tokens",name:"transferTokens",component:function(){return n.e(254).then(n.bind(null,"+SgA"))}},{path:"/staff/token-management/refund-tokens",name:"refundTokens",component:function(){return n.e(296).then(n.bind(null,"lwAU"))}},{path:"/staff/meta-landing-pages",name:"metaLandingPagesAdmin",component:function(){return Promise.all([n.e(42),n.e(1118)]).then(n.bind(null,"HJmJ"))}},{path:"/staff/shared-meta-admin",name:"sharedMetaAdmin",component:function(){return Promise.all([n.e(42),n.e(256)]).then(n.bind(null,"yVbN"))}}]}},"9A1v":function(e,t,n){"use strict";var i=n("Kw5r");t.a=i.default.extend({name:"transitionable",props:{mode:String,origin:String,transition:String}})},"9NmV":function(e,t){var n="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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",i="["+n+"]",r="\\d+",a="[\\u2700-\\u27bf]",o="[a-z\\xdf-\\xf6\\xf8-\\xff]",s="[^\\ud800-\\udfff"+n+r+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",u="[A-Z\\xc0-\\xd6\\xd8-\\xde]",d="(?:"+o+"|"+s+")",h="(?:"+u+"|"+s+")",f="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",p="[\\ufe0e\\ufe0f]?"+f+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",l,c].join("|")+")[\\ufe0e\\ufe0f]?"+f+")*"),m="(?:"+[a,l,c].join("|")+")"+p,g=RegExp([u+"?"+o+"+(?:['â](?:d|ll|m|re|s|t|ve))?(?="+[i,u,"$"].join("|")+")",h+"+(?:['â](?:D|LL|M|RE|S|T|VE))?(?="+[i,u+d,"$"].join("|")+")",u+"?"+d+"+(?:['â](?:d|ll|m|re|s|t|ve))?",u+"+(?:['â](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",r,m].join("|"),"g");e.exports=function(e){return e.match(g)||[]}},"9d2D":function(e,t,n){"use strict";n.r(t);var i=n("o0o1"),r=n.n(i),a=n("yXPU"),o=n.n(a),s=n("lSNA"),l=n.n(s),c=n("E+oP"),u=n.n(c),d=n("fTik"),h=n("IXB0"),f=n("IoyE"),p=n("bbSu");function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.default={mixins:[f.default,h.default],props:{routeQuery:{type:Object,required:!1,default:function(){}}},computed:{computedFilters:function(){var e=this;if(this.filterAliases.length>0){var t=Object.assign({},this.filters);
41this.filterAliases.forEach((function(n){var i=Object.keys(n),r=t[i];void 0!==r&&(e.filters[n[i]]=r,delete e.filters[i])}))}return Object.assign(this.filters,this.routeQuery)},showPagination:function(){return this.totalItems>this.listQueryOptions.itemsPerPage},paginationConfig:function(){var e=Math.ceil(this.totalItems/this.listQueryOptions.itemsPerPage),t=e<this.listQueryOptions.paginationButtonsMax?e:this.listQueryOptions.paginationButtonsMax;return{page:this.listQueryOptions.page,length:e,visible:t,perPage:this.listQueryOptions.itemsPerPage}}},data:function(){return{listQueryOptions:{sortBy:[],sortDesc:[],page:1,itemsPerPage:15,paginationButtonsMax:7,totalItems:0,reset:!0,filterAliases:[]},filters:{},filterAliases:[]}},watch:{deletedItem:function(e){p.a.$emit("RESOURCE_DELETED",e),e.skipNotification||this.showMessage("Deleted")},error:function(e){e&&this.showError(e)},items:function(){this.listQueryOptions.totalItems=this.totalItems}},methods:{handlePageChange:function(e,t){this.listQueryOptions.page=e,this.onUpdateOptions(this.listQueryOptions),t&&this.$router.push({query:g(g({},this.$route.query),{},{page:e})})},onUpdateOptions:function(){var e=arguments,t=this;return o()(r.a.mark((function n(){var i,a,o,s,l,c,d;return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=e.length>0&&void 0!==e[0]?e[0]:t.listQueryOptions,a=i.page,o=i.itemsPerPage,s=i.sortBy,l=i.sortDesc,c=e.length>1&&void 0!==e[1]?e[1]:"getPage",d=g({},t.computedFilters),o&&o>0&&(d=g(g({},d),{},{itemsPerPage:o,page:a})),u()(s)||u()(l)||Object.keys(s).forEach((function(e){d["order[".concat(s[e],"]")]=l[e]?"desc":"asc"})),t.resetList=t.listQueryOptions.reset,n.next=8,t[c](d).then((function(){t.listQueryOptions.sortBy=s,t.listQueryOptions.sortDesc=l,t.listQueryOptions.itemsPerPage=o,t.listQueryOptions.totalItems=t.totalItems,t.listQueryOptions.pagination={page:t.listQueryOptions.page,itemsPerPage:t.listQueryOptions.itemsPerPage,pageCount:5,itemsLength:t.listQueryOptions.totalItems}}));case 8:case"end":return n.stop()}}),n)})))()},setDefaultFilterAndUpdateList:function(e){this.listQueryOptions.itemsPerPage=30,this.filters=Object.assign(this.filters,this.defaultFilters),this.onUpdateOptions(e)},downloadCSV:function(){this.filters=Object.assign(this.filters,this.defaultFilters);var e=g(g({},this.computedFilters),{},{itemsPerPage:500});this.getCSV(e)},onSendFilter:function(){this.resetList=this.listQueryOptions.reset,this.onUpdateOptions(this.listQueryOptions)},resetFilter:function(){this.filters={},this.defaultFilters&&(this.filters=Object.assign(this.filters,this.defaultFilters))},addHandler:function(){this.$router.push({name:"".concat(this.$options.servicePrefix,"Create")})},showHandler:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={id:e.id};if(e.slug||e.tag){var i=e.slug||e.tag;n={id:e.id,slug:i}}var r=t||"".concat(this.$options.servicePrefix,"Show");this.$router.push({name:r,params:n})},editHandler:function(e){this.$router.push({name:"".concat(this.$options.servicePrefix,"Update"),params:{id:e.id}})},deleteHandler:function(e){var t=this;this.deleteItem(e).then((function(){return t.onUpdateOptions(t.listQueryOptions)}))},formatDateTime:d.formatDateTime}}},"9j8n":function(e,t,n){"use strict";n.r(t);var i=n("hNiC");t.default={path:"/editor-settings",name:"Editor",component:i.default,redirect:{name:"SubmissionItem"},children:[{name:"editorHandBack",path:"/editor-settings/hand-back",meta:{title:"PeerJ - Editor Handback"},component:function(){return n.e(248).then(n.bind(null,"jcdS"))}}]}},"9lFZ":function(e,t,n){},"9mcV":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return e.component?t(e.component,{tag:"component",attrs:{type:e.result.type,info:e.result.data,highlightedHits:e.result.hit.highlight,subjectFilters:e.subjects,tagFilters:e.tags,loadMasonry:e.loadMasonry,index:e.index}}):e._e()};i._withStripped=!0;var r={data:function(){return{component:null}},props:{result:Object,subjects:Array,tags:Array,loadMasonry:Boolean,isStaffSearch:Boolean,index:Number},computed:{loader:function(){var e=this.result.type;"Preprint"===e?e="Publication":e.includes("QuestionAnnotation")&&(e="QuestionAnnotation");var t="";return this.isStaffSearch&&(t="staff/Staff"),function(){return n("lrI9")("./".concat(t,"SearchResult").concat(e))}}},mounted:function(){var e=this;this.loader().then((function(){e.component=function(){return e.loader()}})).catch((function(){console.log("Unknown result type")}))}},a=(n("uzGW"),n("KHd+")),o=Object(a.a)(r,i,[],!1,null,null,null);t.default=o.exports},"9rRi":function(e,t,n){!function(e){"use strict";
42//! moment.js locale configuration 43e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Mà rt","An Giblean","An Cèitean","An t-Ãgmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dà mhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Mà rt","Gibl","Cèit","Ãgmh","Iuch","Lùn","Sult","Dà mh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimà irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà ","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-mà ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"9sRW":function(e,t,n){"use strict";n("vQwB");var i=n("0Q/7"),r=n("gNKD");t.a=i.a.extend({name:"v-main",props:{tag:{type:String,default:"main"}},computed:{styles(){const{bar:e,top:t,right:n,footer:i,insetFooter:r,bottom:a,left:o}=this.$vuetify.application;return{paddingTop:t+e+"px",paddingRight:n+"px",paddingBottom:i+r+a+"px",paddingLeft:o+"px"}}},render(e){const t={staticClass:"v-main",style:this.styles,ref:"main"};return e(this.tag,t,[e("div",{staticClass:"v-main__wrap"},Object(r.s)(this))])}})},"9xQ9":function(e,t,n){"use strict";n.r(t),t.default={}},"A+xa":function(e,t,n){!function(e){"use strict";
44//! moment.js locale configuration 45e.defineLocale("cv",{months:"кÓÑлаÑ_наÑÓÑ_пÑÑ_ака_май_Ò«ÓÑÑме_ÑÑÓ_Ò«ÑÑла_авÓн_Ñпа_Ñӳк_ÑаÑÑав".split("_"),monthsShort:"кÓÑ_наÑ_пÑÑ_ака_май_Ò«ÓÑ_ÑÑÓ_Ò«ÑÑ_авн_Ñпа_Ñӳк_ÑаÑ".split("_"),weekdays:"вÑÑÑаÑникÑн_ÑÑнÑикÑн_ÑÑлаÑикÑн_ÑнкÑн_кÓҫнеÑникÑн_ÑÑнекÑн_ÑÓмаÑкÑн".split("_"),weekdaysShort:"вÑÑ_ÑÑн_ÑÑл_Ñн_кÓÒ«_ÑÑн_ÑÓм".split("_"),weekdaysMin:"вÑ_Ñн_ÑÑ_Ñн_кҫ_ÑÑ_Ñм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [Ò«ÑÐ»Ñ Ð¸] MMMM [ÑйÓÑ Óн] D[-мÓÑÓ]",LLL:"YYYY [Ò«ÑÐ»Ñ Ð¸] MMMM [ÑйÓÑ Óн] D[-мÓÑÓ], HH:mm",LLLL:"dddd, YYYY [Ò«ÑÐ»Ñ Ð¸] MMMM [ÑйÓÑ Óн] D[-мÓÑÓ], HH:mm"},calendar:{sameDay:"[ÐаÑн] LT [ÑÐµÑ ÐµÑÑе]",nextDay:"[ЫÑан] LT [ÑÐµÑ ÐµÑÑе]",lastDay:"[ÓнеÑ] LT [ÑÐµÑ ÐµÑÑе]",nextWeek:"[ҪиÑеÑ] dddd LT [ÑÐµÑ ÐµÑÑе]",lastWeek:"[ÐÑÑнÓ] dddd LT [ÑÐµÑ ÐµÑÑе]",sameElse:"L"},relativeTime:{future:function(e){return e+(/ÑÐµÑ ÐµÑ$/i.exec(e)?"Ñен":/Ò«Ñл$/i.exec(e)?"Ñан":"Ñан")},past:"%s каÑлла",s:"пÓÑ-ик ҫеккÑнÑ",ss:"%d ҫеккÑнÑ",m:"пÓÑ Ð¼Ð¸Ð½ÑÑ",mm:"%d минÑÑ",h:"пÓÑ ÑÐµÑ ÐµÑ",hh:"%d ÑÐµÑ ÐµÑ",d:"пÓÑ ÐºÑн",dd:"%d кÑн",M:"пÓÑ ÑйÓÑ ",MM:"%d ÑйÓÑ ",y:"пÓÑ Ò«Ñл",yy:"%d Ò«Ñл"},dayOfMonthOrdinalParse:/\d{1,2}-мÓÑ/,ordinal:"%d-мÓÑ",week:{dow:1,doy:7}})}(n("wd/R"))},"A/Bh":function(e,t,n){"use strict";n("YOGE")},A4fz:function(e,t,n){"use strict";n.r(t);var i=n("XPkG"),r=n("+knh"),a=n("TJrt"),o=n("nzRS"),s={articleFile:Object(r.default)({service:Object(i.default)("article_files")}),institution:Object(r.default)({service:Object(i.default)("institutions")}),workflowView:a.default,previousAction:o.previousAction};t.default=s},AOl6:function(e,t,n){},AQ68:function(e,t,n){!function(e){"use strict";
46//! moment.js locale configuration 47e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n("wd/R"))},ATMZ:function(e,t,n){"use strict";n.r(t);var i=n("50DI"),r=function(e){var t=e.params.journalName||i(e.params.journal.replaceAll("-"," "));return t=t.replace("Peerj","PeerJ")},a={label:"Config",icon:"",to:{name:"home"}},o={label:"Journals",icon:"",to:{name:"configAdmin"}},s={label:"WorkflowList",icon:"",to:{name:"configAdmin"}},l={label:"Workflow Item",icon:"",to:{name:"WorkflowList"}};t.default={path:"/config",name:"Config",component:function(){return n.e(258).then(n.bind(null,"HmUN"))},redirect:{name:"ConfigJournals"},meta:function(e){return{breadcrumb:a,breadcrumbTitle:"Config"}},children:[{name:"OrgDeclarationList",path:"declarations",meta:function(e){return{breadcrumb:o,breadcrumbTitle:"Declarations"}},components:{middle:function(){return Promise.all([n.e(27),n.e(1117)]).then(n.bind(null,"Pw9M"))}}},{name:"OrgGuidelinesList",path:"guidelines",meta:function(e){return{breadcrumb:o,breadcrumbTitle:"Guidelines"}},components:{middle:function(){return n.e(340).then(n.bind(null,"CkB0"))}}},{name:"OrgArticleTypesList",path:"article-types",meta:function(e){return{breadcrumb:o,breadcrumbTitle:"Article Types"}},components:{middle:function(){return n.e(295).then(n.bind(null,"VBwt"))}}},{name:"OrgRefundsList",path:"refunds",meta:function(e){return{breadcrumb:o,breadcrumbTitle:"Refunds"}},components:{middle:function(){return Promise.all([n.e(0),n.e(233),n.e(1133)]).then(n.bind(null,"aLEQ"))}}},{name:"ConfigJournals",path:"journals",meta:function(e){return{breadcrumb:o,breadcrumbTitle:"Journals"}},component:function(){return n.e(339).then(n.bind(null,"OJC4"))},children:[]},{name:"JournalSettings",path:"journals/:journal/settings",meta:function(e){return{breadcrumb:o,breadcrumbTitle:"General Settings"}},components:{middle:function(){return n.e(294).then(n.bind(null,"7DIr"))}}},{name:"WorkflowList",path:"journals/:journal/workflows",meta:function(e){return{breadcrumb:s,breadcrumbTitle:"Workflows"}},components:{middle:function(){return n.e(1116).then(n.bind(null,"mZ+v"))}}},{name:"WorkflowItem",path:"journals/:journal/workflows/:uuid",meta:function(e){return{breadcrumb:l,breadcrumbTitle:r(e)}},components:{middle:function(){return Promise.all([n.e(250),n.e(1139)]).then(n.bind(null,"5oSu"))}}},{name:"ConfigArticleTypeList",path:"journals/:journal/article-types",meta:function(e){return{breadcrumb:l,breadcrumbTitle:"Article Types"}},components:{middle:function(){return n.e(1128).then(n.bind(null,"QmKX"))}}},{name:"ConfigGuidelinesList",path:"journals/:journal/guidelines",meta:function(e){return{breadcrumb:l,breadcrumbTitle:"Guidelines"}},components:{middle:function(){return Promise.all([n.e(7),n.e(236),n.e(1140)]).then(n.bind(null,"JYMk"))}}},{name:"ConfigDeclarationsList",path:"journals/:journal/declarations",meta:function(e){return{breadcrumb:l,breadcrumbTitle:"Declarations"}},components:{middle:function(){return Promise.all([n.e(27),n.e(1111)]).then(n.bind(null,"Jf+M"))}}},{name:"ConfigMessagesTemplatesList",path:"journals/:journal/messages",meta:function(e){return{breadcrumb:l,breadcrumbTitle:"Messages"}},components:{middle:function(){return Promise.all([n.e(9),n.e(20),n.e(24),n.e(67),n.e(1105)]).then(n.bind(null,"A6II"))}}},{name:"ConfigRolesList",path:"journals/:journal/roles",meta:function(e){return{breadcrumb:l,breadcrumbTitle:"Roles"}},components:{middle:function(){return Promise.all([n.e(1),n.e(66),n.e(1119)]).then(n.bind(null,"Vzec"))}}},{name:"ConfigServicesList",path:"journals/:journal/services",meta:function(e){return{breadcrumb:l,breadcrumbTitle:"Services"}},components:{middle:function(){return Promise.all([n.e(0),n.e(249)]).then(n.bind(null,"eEy5"))}}},{name:"ConfigCommentTypesList",path:"journals/:journal/comment-types",meta:function(e){return{breadcrumb:l,breadcrumbTitle:"Comment Types"}},components:{middle:function(){return Promise.all([n.e(0),n.e(222),n.e(1136)]).then(n.bind(null,"2Wx2"))}}}]}},Af5B:function(e,t,n){"use strict";n("oT9S")},AjSV:function(e,t,n){"use strict";function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
47Object.defineProperty(t,"__esModule",{value:!0}),t.pushParams=l,t.popParams=c,t.withParams=function(e,t){if("object"===a(e)&&void 0!==t)return n=e,i=t,d((function(e){return function(){e(n);for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return i.apply(this,r)}}));var n,i;return d(e)},t._setTarget=t.target=void 0;var o=[],s=null;t.target=s;function l(){null!==s&&o.push(s),t.target=s={}}function c(){var e=s,n=t.target=s=o.pop()||null;return n&&(Array.isArray(n.$sub)||(n.$sub=[]),n.$sub.push(e)),e}function u(e){if("object"!==a(e)||Array.isArray(e))throw new Error("params must be an object");t.target=s=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},s,{},e)}function d(e){var t=e(u);return function(){l();try{for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.apply(this,n)}finally{c()}}}t._setTarget=function(e){t.target=s=e}},AkwW:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("v-btn",e._g(e._b({class:[e.classes,n.c_buttonClass],style:n.buttonWrapperStyle,attrs:{color:e.color,tag:e.href?"a":"button",href:e.href}},"v-btn",n.attrs,!1),n.listeners),[e._v("\n "+e._s(e.label)+"\n\n "),e.noIcon?e._e():[t("v-icon",{staticClass:"ml-2",attrs:{small:"","aria-hidden":"true"}},[e._v("\n "+e._s(e.icon)+"\n ")])]],2)};i._withStripped=!0;var r=n("Kw5r"),a={__name:"H_GenericButton",props:{href:{type:[String,Object],default:void 0},label:{type:String,required:!0},noIcon:{type:Boolean,default:!1},icon:{type:String,default:"mdi-arrow-right"},border:{type:Boolean,default:!1},cssStyle:{type:String,default:""},classes:{type:String,default:""},color:{type:String,default:"primary"},buttonClass:{type:[String,Object],default:""}},setup:function(e){var t=e,n=Object(r.useAttrs)(),i=Object(r.useListeners)(),a=Object(r.computed)((function(){return[t.buttonClass,"text-capitalize","font-weight-mid"]})),o=Object(r.computed)((function(){return t.border?"border: 1px solid white !important; display: inline-block; border-radius: 10px; min-height: 36px; ".concat(t.cssStyle):"".concat(t.classes,"; ").concat(t.cssStyle)}));return{__sfc:!0,attrs:n,listeners:i,props:t,c_buttonClass:a,buttonWrapperStyle:o}}},o=n("KHd+"),s=n("ZUTo"),l=n.n(s),c=n("gzZi"),u=n("Ey0z"),d=Object(o.a)(a,i,[],!1,null,null,null);t.default=d.exports;l()(d,{VBtn:c.a,VIcon:u.a})},"AmL/":function(e,t,n){"use strict";n.r(t),t.default={path:"/articles",name:"articles",component:function(){return n.e(331).then(n.bind(null,"Z0Si"))},redirect:{name:"ArticleList"},children:[{name:"ArticleList",path:"",component:function(){return Promise.all([n.e(29),n.e(290)]).then(n.bind(null,"n/52"))}},{name:"ArticleCreate",path:"new",component:function(){return n.e(261).then(n.bind(null,"jBdh"))}},{name:"ArticleUpdate",path:":id/edit",component:function(){return n.e(263).then(n.bind(null,"LJBN"))}},{name:"ArticleShow",path:":id",component:function(){return n.e(271).then(n.bind(null,"0XP9"))}}]}},"AuB/":function(e,t,n){"use strict";var i=n("DlQD"),r=n.n(i);t.a={escapeHtml:function(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=\/]/g,(function(e){return t[e]}))},markupToHtml:function(e){for(var t=[/\[sup\](\d+)\[sup\]/g,/\[sup\](.*?)\[sup\]/g,/\[sub\](.*?)\[sub\]/g,/\[i\](.*?)\[i\]/g,/\[p\](.*?)\[p\]/g,/\[b\](.*?)\[b\]/g,/\â\â(.*?)\â\â/g,/\[url\](https?:\/\/.+?)\[url\]/g],n=["<sup>$1</sup>","<sup>$1</sup>","<sub>$1</sub>","<i>$1</i>","<p>$1</p>","<b>$1</b>",'<span class="search-highlight">$1</span>','<a href="$1">$1</a>'],i=0;i<t.length;i++)e=e.replace(t[i],n[i]);return e},markdownToHtml:function(e){return r()(e,{gfm:!0,breaks:!0}).replace(/^(?:<p>)|(?:<\/p>)$/g,"")},nl2br:function(e){return e.replace(/(\r\n|\n|\r)/gm,"<br>")},nl2HtmlEntity:function(e){return e.replace(/(?:\r\n|\r|\n)/g,"%0A")},capitalize:function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()},isAllCaps:function(e){return!!e.length&&e.toUpperCase()==e},isNotAllCaps:function(e){return!e.length||e.toUpperCase()!=e}}},AvvY:function(e,t,n){!function(e){"use strict";
48//! moment.js locale configuration 49e.defineLocale("ml",{months:"à´à´¨àµà´µà´°à´¿_à´«àµà´¬àµà´°àµà´µà´°à´¿_മാർà´àµà´àµ_à´à´ªàµà´°à´¿àµ½_à´®àµà´¯àµ_à´àµàµº_à´àµà´²àµ_à´à´à´¸àµà´±àµà´±àµ_à´¸àµà´ªàµà´±àµà´±à´à´¬àµ¼_à´à´àµà´àµà´¬àµ¼_നവà´à´¬àµ¼_à´¡à´¿à´¸à´à´¬àµ¼".split("_"),monthsShort:"à´à´¨àµ._à´«àµà´¬àµà´°àµ._മാർ._à´à´ªàµà´°à´¿._à´®àµà´¯àµ_à´àµàµº_à´àµà´²àµ._à´à´._à´¸àµà´ªàµà´±àµà´±._à´à´àµà´àµ._നവà´._à´¡à´¿à´¸à´.".split("_"),monthsParseExact:!0,weekdays:"à´à´¾à´¯à´±à´¾à´´àµà´_തിà´àµà´à´³à´¾à´´àµà´_à´àµà´µàµà´µà´¾à´´àµà´_à´¬àµà´§à´¨à´¾à´´àµà´_à´µàµà´¯à´¾à´´à´¾à´´àµà´_à´µàµà´³àµà´³à´¿à´¯à´¾à´´àµà´_ശനിയാഴàµà´".split("_"),weekdaysShort:"à´à´¾à´¯àµ¼_തിà´àµà´àµ¾_à´àµà´µàµà´µ_à´¬àµà´§àµ»_à´µàµà´¯à´¾à´´à´_à´µàµà´³àµà´³à´¿_ശനി".split("_"),weekdaysMin:"à´à´¾_തി_à´àµ_à´¬àµ_à´µàµà´¯à´¾_à´µàµ_à´¶".split("_"),longDateFormat:{LT:"A h:mm -à´¨àµ",LTS:"A h:mm:ss -à´¨àµ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -à´¨àµ",LLLL:"dddd, D MMMM YYYY, A h:mm -à´¨àµ"},calendar:{sameDay:"[à´à´¨àµà´¨àµ] LT",nextDay:"[നാളàµ] LT",nextWeek:"dddd, LT",lastDay:"[à´à´¨àµà´¨à´²àµ] LT",lastWeek:"[à´à´´à´¿à´àµà´] dddd, LT",sameElse:"L"},relativeTime:{future:"%s à´à´´à´¿à´àµà´àµ",past:"%s à´®àµàµ»à´ªàµ",s:"ഠൽപ നിമിഷà´àµà´àµ¾",ss:"%d à´¸àµà´àµà´àµ»à´¡àµ",m:"à´à´°àµ മിനിറàµà´±àµ",mm:"%d മിനിറàµà´±àµ",h:"à´à´°àµ മണിà´àµà´àµàµ¼",hh:"%d മണിà´àµà´àµàµ¼",d:"à´à´°àµ ദിവസà´",dd:"%d ദിവസà´",M:"à´à´°àµ മാസà´",MM:"%d മാസà´",y:"à´à´°àµ വർഷà´",yy:"%d വർഷà´"},meridiemParse:/രാതàµà´°à´¿|രാവിലàµ|à´à´àµà´ à´à´´à´¿à´àµà´àµ|à´µàµà´àµà´¨àµà´¨àµà´°à´|രാതàµà´°à´¿/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാതàµà´°à´¿"===t&&e>=4||"à´à´àµà´ à´à´´à´¿à´àµà´àµ"===t||"à´µàµà´àµà´¨àµà´¨àµà´°à´"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാതàµà´°à´¿":e<12?"രാവിലàµ":e<17?"à´à´àµà´ à´à´´à´¿à´àµà´àµ":e<20?"à´µàµà´àµà´¨àµà´¨àµà´°à´":"രാതàµà´°à´¿"}})}(n("wd/R"))},AwjU:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this._self._c;return e("PJVuetify",[e("DeadlineExtension")],1)};i._withStripped=!0;var r=function(){var e=this,t=e._self._c;return t("PJModalVuetify",{attrs:{title:"Deadline Extension",icon:"mdi-calendar",maxWidth:"480px",saving:e.saving,closeButtonText:"Cancel"},scopedSlots:e._u([{key:"body",fn:function(){return[e.open?t("div",[t("p",{staticClass:"mt-5"},[e._v("\n Your original resubmission deadline was\n "),t("b",[e._v(e._s(e._f("dateFormat")(e.originalDeadline,"EEEE do MMMM yyyy")))]),e._v(" "),t("br"),e._v("\n Request an extension to this date:\n ")]),e._v(" "),t("v-btn-toggle",{attrs:{mandatory:"",dense:"",color:"primary"},model:{value:e.monthSelection,callback:function(t){e.monthSelection=t},expression:"monthSelection"}},e._l(3,(function(n){return t("v-btn",{key:n,staticClass:"text-none",attrs:{value:n}},[e._v("+"+e._s(n)+" Month"+e._s(n>1?"s":""))])})),1),e._v(" "),t("p",{staticClass:"mt-5"},[e._v("\n Your new deadline will be "),t("b",[e._v(e._s(e._f("dateFormat")(e.newDeadline,"EEEE do MMMM yyyy")))]),e._v(" "),t("br"),e._v("You will receive an email confirming the change\n ")])],1):e._e()]},proxy:!0},{key:"buttons",fn:function(){return[t("v-btn",{attrs:{type:"primary",color:"primary",loading:e.saving},on:{click:function(t){return e.save()}}},[e._v("Save")])]},proxy:!0}]),model:{value:e.open,callback:function(t){e.open=t},expression:"open"}})};r._withStripped=!0;var a=n("bbSu"),o=n("u8Zi"),s=n("sNUu"),l=n("/hMX"),c={data:function(){return{open:!1,saving:!1,monthSelection:null,originalDeadline:"",submissionId:null}},computed:{newDeadline:function(){return s.a.addMonths(this.originalDeadline,this.monthSelection)}},methods:{reset:function(){this.saving=!1,this.monthSelection=2,this.originalDeadline="",this.submissionId=null},show:function(e){this.reset(),e.articleId&&e.revisionId&&e.originalDeadline?(this.originalDeadline=e.originalDeadline,this.articleId=e.articleId,this.revisionId=e.revisionId,this.open=!0):console.error("Required values n
49ot passed to DeadlineExtension modal:",e)},hide:function(){this.open=!1},save:function(){var e=this;this.saving=!0;var t="articles/".concat(this.articleId,"/extend-deadline/");l.a.call({method:"PUT",url:t,data:{months:this.monthSelection}}).then((function(t){a.a.$emit(o.a.DEADLINE_EXTENSION_RESPONSE,t.data),e.$store.dispatch("notificationAlerts/addNotification",{type:"success",title:"Updated",message:"The deadline has been updated"}),e.hide()})).catch((function(e){console.error(e)})).finally((function(){e.saving=!1}))}},mounted:function(){a.a.$on(o.a.SHOW_DEADLINE_EXTENSION_SELECTOR,this.show)},beforeDestroy:function(){a.a.$off(o.a.SHOW_DEADLINE_EXTENSION_SELECTOR)}},u=n("KHd+"),d=n("ZUTo"),h=n.n(d),f=n("gzZi"),p=n("pgmH"),m=Object(u.a)(c,r,[],!1,null,null,null),g=m.exports;h()(m,{VBtn:f.a,VBtnToggle:p.a});var v={components:{DeadlineExtension:g}},b=Object(u.a)(v,i,[],!1,null,null,null);t.default=b.exports},Awyw:function(e,t,n){"use strict";n.r(t);var i=n("XPkG"),r=n("+knh"),a={article:Object(r.default)({service:Object(i.default)("articles")}),articleNote:Object(r.default)({service:Object(i.default)("article_notes")}),articleStatus:Object(r.default)({service:Object(i.default)("article_statuses")}),articleType:Object(r.default)({service:Object(i.default)("article_types")}),graphAction:Object(r.default)({service:Object(i.default)("graph_actions")}),graphComment:Object(r.default)({service:Object(i.default)("graph_comments")}),graphCommentTypePermission:Object(r.default)({service:Object(i.default)("graph_comment_type_permissions")}),graphCommentTypeConfig:Object(r.default)({service:Object(i.default)("graph_comment_type_configs")}),graphJournalService:Object(r.default)({service:Object(i.default)("graph_journal_services")}),graphJournalServicePermission:Object(r.default)({service:Object(i.default)("graph_journal_service_permissions")}),graphJournalServiceSchedule:Object(r.default)({service:Object(i.default)("graph_service_schedules")}),graphTrigger:Object(r.default)({service:Object(i.default)("graph_triggers")}),graphTriggerCriteriaProvider:Object(r.default)({service:Object(i.default)("graph_trigger_criteria_providers")}),graphTriggerProvider:Object(r.default)({service:Object(i.default)("graph_trigger_providers")}),graphQuestionAnswer:Object(r.default)({service:Object(i.default)("graph_question_answers")}),graphQuestionField:Object(r.default)({service:Object(i.default)("graph_question_fields")}),graphWorkflow:Object(r.default)({service:Object(i.default)("graph_workflows")}),guideline:Object(r.default)({service:Object(i.default)("guidelines")}),graphWorkflowStage:Object(r.default)({service:Object(i.default)("graph_workflow_stages")}),graphWorkflowAction:Object(r.default)({service:Object(i.default)("graph_workflow_actions")}),journalAvailableRole:Object(r.default)({service:Object(i.default)("journal_available_roles")}),journalUserRole:Object(r.default)({service:Object(i.default)("journal_user_roles")}),journal:Object(r.default)({service:Object(i.default)("journals")}),journalQuestion:Object(r.default)({service:Object(i.default)("journal_questions")}),messageTemplate:Object(r.default)({service:Object(i.default)("message_templates")}),subject:Object(r.default)({service:Object(i.default)("subjects")}),userImpact:Object(r.default)({service:Object(i.default)("user-impacts")}),submissionDashboard:Object(r.default)({service:Object(i.default)("submission-dashboards")}),featureFlag:Object(r.default)({service:Object(i.default)("feature_flags")}),discipline:Object(r.default)({service:Object(i.default)("disciplines")}),payment:Object(r.default)({service:Object(i.default)("payments")}),plansInstitutionPage:Object(r.default)({service:Object(i.default)("plans_institution_pages")}),plansInstitutionEditor:Object(r.default)({service:Object(i.default)("plans_institution_editors")}),plansAimsAuthors:Object(r.default)({service:Object(i.default)("plans_aims_authors")}),plansAimsMembership:Object(r.default)({service:Object(i.default)("plans_aims_memberships")}),plansInstitutionPageArticle:Object(r.default)({service:Object(i.default)("plans_institution_page_articles")}),plansAimsSetting:Object(r.default)({service:Object(i.default)("plans_aims_settings")}),refund:Object(r.default)({service:Object(i.default)("refunds")}),refundApproval:Object(r.default)({service:Object(i.default)("refund-approvals")}),revisionTimeline:Object(r.default)({service:Object(i.default)("revision_timelines")}),plansInstitutionPageAims:Object(r.default)({service:Object(i.default)("plans_institution_page_aims")}),license:Object(r.default)({service:Object(i.default)("licenses")}),section:Object(r.default)({service:Object(i.default)("sections")}),faqType:Object(r.default)({service:Object(i.default)("faq_types")}),faq:Object(r.default)({service:Object(i.default)("faqs")}),disallowInviteFlag:Object(r.default)({service:Object(i.default)("disallow_invite_flags")}),journalEditors:Object(r.default)({service:Object(i.default)("journal_editors")})};t.default=a},B55N:function(e,t,n){!function(e){"use strict";
50//! moment.js locale configuration 51e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令å",narrow:"ã¿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"å¹³æ",narrow:"ã»",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"æå",narrow:"ã¼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大æ£",narrow:"ã½",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"ææ²»",narrow:"ã¾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西æ¦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"ç´å å",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(å |\d+)å¹´/,eraYearOrdinalParse:function(e,t){return"å "===t[1]?1:parseInt(t[1]||e,10)},months:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æ¥ææ¥_æææ¥_ç«ææ¥_æ°´ææ¥_æ¨ææ¥_éææ¥_åææ¥".split("_"),weekdaysShort:"æ¥_æ_ç«_æ°´_æ¨_é_å".split("_"),weekdaysMin:"æ¥_æ_ç«_æ°´_æ¨_é_å".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥ dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥(ddd) HH:mm"},meridiemParse:/åå|åå¾/i,isPM:function(e){return"åå¾"===e},meridiem:function(e,t,n){return e<12?"åå":"åå¾"},calendar:{sameDay:"[仿¥] LT",nextDay:"[ææ¥] LT",nextWeek:function(e){return e.week()!==this.week()?"[æ¥é±]dddd LT":"dddd LT"},lastDay:"[æ¨æ¥] LT",lastWeek:function(e){return this.week()!==e.week()?"[å é±]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}æ¥/,ordinal:function(e,t){switch(t){case"y":return 1===e?"å å¹´":e+"å¹´";case"d":case"D":case"DDD":return e+"æ¥";default:return e}},relativeTime:{future:"%så¾",past:"%så",s:"æ°ç§",ss:"%dç§",m:"1å",mm:"%då",h:"1æé",hh:"%dæé",d:"1æ¥",dd:"%dæ¥",M:"1ã¶æ",MM:"%dã¶æ",y:"1å¹´",yy:"%då¹´"}})}(n("wd/R"))},B5h7:function(e,t,n){"use strict";n("DBhR");var i=n("ENL/"),r=n("r93R"),a=n("nSar"),o=n("8ud9"),s=n("dWAg"),l=n("9A1v"),c=n("WN+I"),u=n("2b3T"),d=n("gNKD");t.a=Object(c.a)(i.a,o.a,l.a).extend({name:"v-alert",props:{border:{type:String,validator:e=>["top","right","bottom","left"].includes(e)},closeLabel:{type:String,default:"$vuetify.close"},coloredBorder:Boolean,dense:Boolean,dismissible:Boolean,closeIcon:{type:String,default:"$cancel"},icon:{default:"",type:[Boolean,String],validator:e=>"string"==typeof e||!1===e},outlined:Boolean,prominent:Boolean,text:Boolean,type:{type:String,validator:e=>["info","error","success","warning"].includes(e)},value:{type:Boolean,default:!0}},computed:{__cachedBorder(){if(!this.border)return null;let e={staticClass:"v-alert__border",class:{["v-alert__border--"+this.border]:!0}};return this.coloredBorder&&(e=this.setBackgroundColor(this.computedColor,e),e.class["v-alert__border--has-color"]=!0),this.$createElement("div",e)},__cachedDismissible(){if(!this.dismissible)return null;const e=this.iconColor;return this.$createElement(r.a,{staticClass:"v-alert__dismissible",props:{color:e,icon:!0,small:!0},attrs:{"aria-label":this.$vuetify.lang.t(this.closeLabel)},on:{click:()=>this.isActive=!1}},[this.$createElement(a.a,{props:{color:e}},this.closeIcon)])},__cachedIcon(){return this.computedIcon?this.$createElement(a.a,{staticClass:"v-alert__icon",props:{color:this.iconColor}},this.computedIcon):null},classes(){const e={...i.a.options.computed.classes.call(this),"v-alert--border":Boolean(this.border),"v-alert--dense":this.dense,"v-alert--outlined":this.outlined,"v-alert--prominent":this.prominent,"v-alert--text":this.text};return this.border&&(e["v-alert--border-"+this.border]=!0),e},computedColor(){return this.color||this.type},computedIcon(){return!1!==this.icon&&("string"==typeof this.icon&&this.icon?this.icon:!!["error","info","success","warning"].includes(this.type)&&"$"+this.type)},hasColoredIcon(){return this.hasText||Boolean(this.border)&&this.coloredBorder},hasText(){return this.text||this.outlined},iconColor(){return this.hasColoredIcon?this.computedColor:void 0},isDark(){return!(!this.type||this.coloredBorder||this.outlined)||s.a.options.computed.isDark.call(this)}},created(){this.$attrs.hasOwnProperty("outline")&&Object(u.a)("outline","outlined",this)}
51,methods:{genWrapper(){const e=[Object(d.s)(this,"prepend")||this.__cachedIcon,this.genContent(),this.__cachedBorder,Object(d.s)(this,"append"),this.$scopedSlots.close?this.$scopedSlots.close({toggle:this.toggle}):this.__cachedDismissible];return this.$createElement("div",{staticClass:"v-alert__wrapper"},e)},genContent(){return this.$createElement("div",{staticClass:"v-alert__content"},Object(d.s)(this))},genAlert(){let e={staticClass:"v-alert",attrs:{role:"alert"},on:this.listeners$,class:this.classes,style:this.styles,directives:[{name:"show",value:this.isActive}]};if(!this.coloredBorder){e=(this.hasText?this.setTextColor:this.setBackgroundColor)(this.computedColor,e)}return this.$createElement("div",e,[this.genWrapper()])},toggle(){this.isActive=!this.isActive}},render(e){const t=this.genAlert();return this.transition?e("transition",{props:{name:this.transition,origin:this.origin,mode:this.mode}},[t]):t}})},BNR9:function(e,t,n){},BVg3:function(e,t,n){!function(e){"use strict"; 52//! moment.js locale configuration 53function t(e){return e%100==11||e%10!=1}function n(e,n,i,r){var a=e+" ";switch(i){case"s":return n||r?"nokkrar sekúndur":"nokkrum sekúndum";
53case"ss":return t(e)?a+(n||r?"sekúndur":"sekúndum"):a+"sekúnda";case"m":return n?"mÃnúta":"mÃnútu";case"mm":return t(e)?a+(n||r?"mÃnútur":"mÃnútum"):n?a+"mÃnúta":a+"mÃnútu";case"hh":return t(e)?a+(n||r?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return t(e)?n?a+"dagar":a+(r?"daga":"dögum"):n?a+"dagur":a+(r?"dag":"degi");case"M":return n?"mánuður":r?"mánuð":"mánuði";case"MM":return t(e)?n?a+"mánuðir":a+(r?"mánuði":"mánuðum"):n?a+"mánuður":a+(r?"mánuð":"mánuði");case"y":return n||r?"ár":"ári";case"yy":return t(e)?a+(n||r?"ár":"árum"):a+(n||r?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_aprÃl_maÃ_júnÃ_júlÃ_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maÃ_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Ãr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[à dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[à gær kl.] LT",lastWeek:"[sÃðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s sÃðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},BVuI:function(e,t,n){"use strict";n("D8MC")},BiGR:function(e,t,n){var i=n("nmnc"),r=n("03A+"),a=n("Z0cm"),o=i?i.isConcatSpreadable:void 0;e.exports=function(e){return a(e)||r(e)||!!(o&&e&&e[o])}},BkRI:function(e,t,n){var i=n("OBhP");e.exports=function(e){return i(e,5)}},ByF4:function(e,t,n){!function(e){"use strict";
54//! moment.js locale configuration 55e.defineLocale("fo",{months:"januar_februar_mars_aprÃl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_frÃggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frÃ_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[à dag kl.] LT",nextDay:"[à morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[à gjár kl.] LT",lastWeek:"[sÃðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s sÃðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tÃmi",hh:"%d tÃmar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"C+Gu":function(e,t,n){"use strict";n.r(t),t.default=Object.freeze({IS_STAFF_SEARCH:!1,ANY_YEAR:"Any year",DEFAULT_PARAMS:{q:"",type:"",journal:"",discipline:"",manuscriptType:"",t:"",tag:"",faqType:"",help:"",research:"",subject:"","published-gte":null,"published-lte":null,"citations-gte":null,"citations-lte":null,"downloads-gte":null,"downloads-lte":null,"votes-gte":null,"votes-lte":null,"answers-gte":null,"answers-lte":null},ES_QUERY_TYPES:["articles","preprints","user","editor","figure","institutions","question","answer"],ALLOWED_TYPES_BY_PARAM:{hub:[null,"","articles","preprints","user","editor","figure","question"],journal:[null,"","articles","preprints","user","editor","figure","question"],discipline:[null,"","articles","preprints","user","figure"],manuscriptType:[null,"","articles","preprints"],t:[null,"","articles","preprints"],tag:[null,"","question"],faqType:[null,"","question"],help:[null,"","question"],research:[null,"","question"],subject:[null,"","articles","preprints","user","editor","figure","question"],"published-gte":[null,"","articles","preprints","question","answer"],"published-lte":[null,"","articles","preprints","question","answer"],"citations-gte":[null,"","articles"],"citations-lte":[null,"","articles"],"downloads-gte":[null,"","articles","preprints"],"downloads-lte":[null,"","articles","preprints"],"votes-gte":["question","answer"],"votes-lte":["question","answer"],"answers-gte":["question"],"answers-lte":["question"]},REVIEW_TYPES:[{slug:"",name:"Any review status",title:"Review states"},{slug:"articles",name:"Peer-reviewed only",title:"Peer-reviewed"},{slug:"preprints",name:"Preprint only",title:"Preprint"}],PUBLICATION_FILTER_TYPES:["articles","preprints","question","answer","",null],CITATION_FILTER_TYPES:["articles","publication","",null],DOWNLOAD_FILTER_TYPES:["articles","publication","preprints","",null],VOTE_FILTER_TYPES:["question","answer"],ANSWER_FILTER_TYPES:["question"],TYPES_SUPPORTING_NUM_FILTERS:["articles","publication","preprints","preprint","question","answer"],NUMBER_PARAM_FILTERS:["citations-gte","citations-lte","downloads-gte","downloads-lte","published-gte","published-lte","votes-gte","votes-lte","answers-gte","answers-lte"],EXTRA_PARAM_FILTERS:["citations-gte","citations-lte","downloads-gte","downloads-lte","published-gte","published-lte","votes-gte","votes-lte","answers-gte","answers-lte","discipline","journal"],SEARCH_NAV_ZERO_RESULT_CLASS:"text-secondary",CONFIG_SEARCH_NAV_ROW:{All:{path:"/search",icon:"icon-search",mdi:"mdi-magnify",title:"All",breakpoint:null,active:!1},Publication:{icon:"icon-file",mdi:"mdi-bacteria-outline",aggSource:"type",title:"Research articles",queryType:"articles",active:!1,breakpoint:null,class:null,count:0},editor:{icon:"icon-user",mdi:"mdi-card-account-details-star-outline",aggSource:"editor",addbucketSource:"advisor",title:"Editors",queryType:"editor",active:!1,breakpoint:null,class:null,displaySize:"md",count:0},User:{icon:"icon-group",mdi:"mdi-account",aggSource:"type",title:"Researchers",queryType:"user",active:!1,breakpoint:null,class:null,displaySize:"lg",count:0},Preprint:{icon:"icon-pencil",mdi:"mdi-file-edit-outline",aggSource:"type",title:"Preprints",queryType:"preprints",active:!1,breakpoint:null,class:null,displaySize:"xl",count:0},Figure:{icon:"icon-picture",mdi:"mdi-camera-burst",aggSource:"type",title:"Figures",queryType:"figure",active:!1,class:null,breakpoint:null,displaySize:"xl",isMoreDropdownSwappable:!0,count:0},InstitutionPage:{icon:"icon-building",mdi:"mdi-office-building",aggSource:"type",title:"Institutions",queryType:"institutions",active:!1,class:null,isMoreDropdownItem:!0,count:0},PublicQuestionAnnotation:{icon:"icon-comment",mdi:"mdi-comment-question",aggSource:"type",title:"Questions",queryType:"question",active:!1,class:null,isMoreDropdownItem:!0,count:0},AnswerAnnotation:{icon:"icon-comments",mdi:"mdi-forum",aggSource:"type",title:"Answers",queryType:"answer",active:!1,class:null,isMoreDropdownItem:!0,count:0}},MASONRY_RESULT_TYPES:["figure"],DATE_KEYS:{"":"Any time",day:"Past Day",week:"Past Week",month:"Past 30 Days","60d":"Past 60 Days","90d":"Past 90 Days",year:"This Year"}
55,POSSIBLE_AGG_SECTIONS:{help:{aggs:{},date:!1,title:"Help Center Questions",limit:4,alwaysCreateModal:!1,showMoreTitle:"Show all help questions",showOnType:["question"],excludeIfSelfFiltered:!1},research:{aggs:{},date:!1,title:"Research Questions",limit:4,alwaysCreateModal:!1,showMoreTitle:"Show all research questions",showOnType:["question"],excludeIfSelfFiltered:!1},journal:{aggs:{},date:!1,title:"Journal",limit:12,alwaysCreateModal:!1,showMoreTitle:"See all journals",showOnType:["articles","publication","preprints","figure","user","editor","question"],excludeIfSelfFiltered:!0},manuscriptType:{aggs:{},date:!1,title:"Research article type",limit:10,alwaysCreateModal:!1,showMoreTitle:"See all article types",showOnType:["articles","publication"],excludeIfSelfFiltered:!0},t:{aggs:{},date:!0,title:"Recency",limit:10,alwaysCreateModal:!1,showMoreTitle:"Show all",showOnType:["articles","publication","preprints","question","answer"],excludeIfSelfFiltered:!0},subject:{aggs:{},date:!1,title:"Top subject areas",limit:15,alwaysCreateModal:!0,showMoreTitle:"Show all subjects",showOnType:["articles","publication","preprints","figure","user","editor","question"],excludeIfSelfFiltered:!1},tag:{aggs:{},date:!1,title:"Tags",limit:15,alwaysCreateModal:!0,showMoreTitle:"Show all tags",showOnType:["question"],excludeIfSelfFiltered:!1}}})},C98l:function(e,t,n){},CCgG:function(e,t,n){"use strict";n.r(t);var i=n("XPkG"),r=n("+knh"),a={groups:Object(r.default)({service:Object(i.default)("groups")}),groupSubmissions:Object(r.default)({service:Object(i.default)("group_submissions")}),groupUsers:Object(r.default)({service:Object(i.default)("group_users")}),kanbanComponents:Object(r.default)({service:Object(i.default)("kanban_components")}),tokenEventMessages:Object(r.default)({service:Object(i.default)("token_event_messages")}),tokenEvents:Object(r.default)({service:Object(i.default)("token_events")}),tokens:Object(r.default)({service:Object(i.default)("tokens")}),users:Object(r.default)({service:Object(i.default)("users")}),userClientConfig:Object(r.default)({service:Object(i.default)("user_client_configs")}),userConnectedAccount:Object(r.default)({service:Object(i.default)("connected-accounts")}),userFiles:Object(r.default)({service:Object(i.default)("user_files")}),userInstitutions:Object(r.default)({service:Object(i.default)("user_institutions")}),userKanban:Object(r.default)({service:Object(i.default)("user_kanbans")}),userKanbanCard:Object(r.default)({service:Object(i.default)("user_kanban_cards")}),userKanbanCollaborator:Object(r.default)({service:Object(i.default)("user_kanban_collaborators")}),userSubmissionVisit:Object(r.default)({service:Object(i.default)("user_submission_visits")}),userUrls:Object(r.default)({service:Object(i.default)("user_urls")}),userCardCategory:Object(r.default)({service:Object(i.default)("user_card_categories")}),userCard:Object(r.default)({service:Object(i.default)("user_cards")}),institution:Object(r.default)({service:Object(i.default)("institutions")}),journalMetas:Object(r.default)({service:Object(i.default)("journal_metas")}),sharedMetas:Object(r.default)({service:Object(i.default)("shared_metas")})};t.default=a},CMye:function(e,t,n){var i=n("GoyQ");e.exports=function(e){return e==e&&!i(e)}},CRKT:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this._self._c,t=this._self._setupProxy;return e("div",{class:t.fixedWidthBodyClass},[t.vuetify.smAndDown?[this._t("default")]:[e("div",{class:t.fixedWidthBodyContentClass,style:t.contentStyle},[this._t("default")],2)]],2)};i._withStripped=!0;var r=n("Kw5r"),a=n("QJZv"),o=n("IHoj"),s={__name:"FixedWidthBody",setup:function(e){var t=Object(a.a)(),n=Object(o.a)(),i=n.contentIsLTFixedWidth,s=n.contentIsMacbookWidth,l=Object(r.computed)((function(){return[{FixedWidthBody:!t.smAndDown},{"px-5":i.value}]})),c=Object(r.computed)((function(){return["FixedWidthBody-content",{"px-2":!i.value}]})),u=Object(r.reactive)({maxWidth:"0"}),d=function(){u.maxWidth=document.body.getAttribute("data-fixed-width")||"1440px"};return Object(r.onMounted)((function(){d()})),{__sfc:!0,vuetify:t,contentIsLTFixedWidth:i,contentIsMacbookWidth:s,fixedWidthBodyClass:l,fixedWidthBodyContentClass:c,contentStyle:u,checkPageWidth:d}}},l=(n("1VU/"),n("KHd+")),c=Object(l.a)(s,i,[],!1,null,"73a456a6",null);t.default=c.exports},CarZ:function(e,t,n){},CjzT:function(e,t,n){!function(e){"use strict";
vendor: 2,155 bytes, lines 56-57
56//! moment.js locale configuration 57var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},CmJ3:function(e,t,n){},CoRJ:function(e,t,n){!function(e){"use strict";
58//! moment.js locale configuration 59e.defineLocale("ar-ma",{months:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±".split("_"),monthsShort:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø§ØØ¯_اثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_اربعاء_Ø®Ù ÙØ³_ج٠عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اÙÙÙ٠عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[أ٠س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ ",dd:"%d Ø£ÙØ§Ù ",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},week:{dow:1,doy:4}})}(n("wd/R"))},Cu10:function(e,t,n){"use strict";n.r(t),t.default={path:"/",name:"Login",component:function(){return n.e(357).then(n.bind(null,"iPa1"))},children:[{path:"admin/social-login",name:"AdminSocialLogin",component:function(){return Promise.all([n.e(1),n.e(1122)]).then(n.bind(null,"WQ9o"))}},{path:"auth",name:"AuthDetail",component:function(){return n.e(360).then(n.bind(null,"a9mn"))}},{path:"login",alias:"login/",name:"MainLogin",component:function(){return n.e(118).then(n.bind(null,"hfyr"))}},{path:"signup",alias:"signup/",name:"MainSignup",component:function(){return n.e(118).then(n.bind(null,"hfyr"))}},{path:"settings/sign-on",name:"ConnectedAccounts",component:function(){return Promise.all([n.e(252),n.e(1138)]).then(n.bind(null,"Chxx"))}}]}},"D/JM":function(e,t,n){!function(e){"use strict";
60//! moment.js locale configuration 61e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},D8MC:function(e,t,n){},DBhR:function(e,t,n){},"DKr+":function(e,t,n){!function(e){"use strict";
62//! moment.js locale configuration 63function t(e,t,n,i){var r={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return i?r[n][0]:r[n][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n("wd/R"))},Dgc1:function(e,t,n){"use strict";var i=new(n("Kw5r").default)({data:function(){return{event:null,vssWidth:null,vssHeight:null}}}),r={computed:{$vssEvent:function(){return i.event},$vssWidth:function(){return i.vssWidth||this.getScreenWidth()},$vssHeight:function(){return i.vssHeight||this.getScreenHeight()}},methods:{getScreenWidth:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth},getScreenHeight:function(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},handleResize:function(e){i.event=e,i.vssWidth=this.getScreenWidth(),i.vssHeight=this.getScreenHeight()},$vssDestroyListener:function(){window.removeEventListener("resize",this.handleResize)}},mounted:function(){window.addEventListener("resize",this.handleResize)},destroyed:function(){window.removeEventListener("resize",this.handleResize)}},a={install:function(e){e.mixin(r)},VueScreenSizeMixin:r};t.a=a},Dkky:function(e,t,n){!function(e){"use strict";
vendor: 1,265 bytes, lines 64-65
64//! moment.js locale configuration 65e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourdâhui à ] LT",nextDay:"[Demain à ] LT",nextWeek:"dddd [à ] LT",lastDay:"[Hier à ] LT",lastWeek:"dddd [dernier à ] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},Dmvi:function(e,t,n){!function(e){"use strict";
66//! moment.js locale configuration 67e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n("wd/R"))},DoHr:function(e,t,n){!function(e){"use strict";
68//! moment.js locale configuration 69var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Åubat_Mart_Nisan_Mayıs_Haziran_Temmuz_AÄustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Åub_Mar_Nis_May_Haz_Tem_AÄu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_ÃarÅamba_PerÅembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Ãar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ãa_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÃÃ":n?"ös":"ÃS"},meridiemParse:/öö|ÃÃ|ös|ÃS/,isPM:function(e){return"ös"===e||"ÃS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},DoRy:function(e,t,n){"use strict";n("0d90")},"Dw+G":function(e,t,n){var i=n("juv8"),r=n("mTTR");e.exports=function(e,t){return e&&i(t,r(t),e)}},DxQv:function(e,t,n){!function(e){"use strict";
70//! moment.js locale configuration 71e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},DzJC:function(e,t,n){var i=n("sEfC"),r=n("GoyQ");e.exports=function(e,t,n){var a=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return r(n)&&(a="leading"in n?!!n.leading:a,o="trailing"in n?!!n.trailing:o),i(e,t,{leading:a,maxWait:t,trailing:o})}},Dzi0:function(e,t,n){!function(e){"use strict";
72//! moment.js locale configuration 73e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(e,t,n){!function(e){"use strict";
74//! moment.js locale configuration 75var t={words:{ss:["ÑекÑнда","ÑекÑнде","ÑекÑнди"],m:["Ñедан минÑÑ","Ñедне минÑÑе"],mm:["минÑÑ","минÑÑе","минÑÑа"],h:["Ñедан ÑаÑ","Ñедног ÑаÑа"],hh:["ÑаÑ","ÑаÑа","ÑаÑи"],dd:["дан","дана","дана"],MM:["меÑеÑ","меÑеÑа","меÑеÑи"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr-cyrl",{months:"ÑанÑаÑ_ÑебÑÑаÑ_маÑÑ_апÑил_маÑ_ÑÑн_ÑÑл_авгÑÑÑ_ÑепÑембаÑ_окÑобаÑ_новембаÑ_деÑембаÑ".split("_"),monthsShort:"Ñан._Ñеб._маÑ._апÑ._маÑ_ÑÑн_ÑÑл_авг._Ñеп._окÑ._нов._деÑ.".split("_"),monthsParseExact:!0,weekdays:"недеÑа_понедеÑак_ÑÑоÑак_ÑÑеда_ÑеÑвÑÑак_пеÑак_ÑÑбоÑа".split("_"),weekdaysShort:"нед._пон._ÑÑо._ÑÑе._ÑеÑ._пеÑ._ÑÑб.".split("_"),weekdaysMin:"не_по_ÑÑ_ÑÑ_Ñе_пе_ÑÑ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[Ð´Ð°Ð½Ð°Ñ Ñ] LT",nextDay:"[ÑÑÑÑа Ñ] LT",nextWeek:function(){switch(this.day()){case 0:return"[Ñ] [недеÑÑ] [Ñ] LT";case 3:return"[Ñ] [ÑÑедÑ] [Ñ] LT";case 6:return"[Ñ] [ÑÑбоÑÑ] [Ñ] LT";case 1:case 2:case 4:case 5:return"[Ñ] dddd [Ñ] LT"}},lastDay:"[ÑÑÑе Ñ] LT",lastWeek:function(){return["[пÑоÑле] [недеÑе] [Ñ] LT","[пÑоÑлог] [понедеÑка] [Ñ] LT","[пÑоÑлог] [ÑÑоÑка] [Ñ] LT","[пÑоÑле] [ÑÑеде] [Ñ] LT","[пÑоÑлог] [ÑеÑвÑÑка] [Ñ] LT","[пÑоÑлог] [пеÑка] [Ñ] LT","[пÑоÑле] [ÑÑбоÑе] [Ñ] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пÑе %s",s:"неколико ÑекÑнди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"меÑеÑ",MM:t.translate,y:"годинÑ",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},"E+oP":function(e,t,n){var i=n("A90E"),r=n("QqLw"),a=n("03A+"),o=n("Z0cm"),s=n("MMmD"),l=n("DSRE"),c=n("6sVZ"),u=n("c6wG"),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(o(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||a(e)))return!e.length;var t=r(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!i(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},E6vr:function(e,t,n){"use strict";n.r(t),t.default={path:"/journals/:journal/submissions",name:"SubmissionIndex",component:function(){return n.e(283).then(n.bind(null,"cQe2"))},redirect:{name:"SubmissionItem"},children:[{name:"SubmissionItem",path:":id",alias:":id/:directActionSlug",component:function(){return Promise.all([n.e(0),n.e(62),n.e(224),n.e(3),n.e(204)]).then(n.bind(null,"KJLN"))}}]}},EA7m:function(e,t,n){var i=n("zZ0H"),r=n("Ioao"),a=n("wclG");e.exports=function(e,t){return a(r(e,t,i),e+"")}},EEGq:function(e,t,n){var i=n("juv8"),r=n("oCl/");e.exports=function(e,t){return i(e,r(e),t)}},EOgW:function(e,t,n){!function(e){"use strict";
76//! moment.js locale configuration 77e.defineLocale("th",{months:"มà¸à¸£à¸²à¸à¸¡_à¸à¸¸à¸¡à¸ าà¸à¸±à¸à¸à¹_มีà¸à¸²à¸à¸¡_à¹à¸¡à¸©à¸²à¸¢à¸_à¸à¸¤à¸©à¸ าà¸à¸¡_มิà¸à¸¸à¸à¸²à¸¢à¸_à¸à¸£à¸à¸à¸²à¸à¸¡_สิà¸à¸«à¸²à¸à¸¡_à¸à¸±à¸à¸¢à¸²à¸¢à¸_à¸à¸¸à¸¥à¸²à¸à¸¡_à¸à¸¤à¸¨à¸à¸´à¸à¸²à¸¢à¸_à¸à¸±à¸à¸§à¸²à¸à¸¡".split("_"),monthsShort:"ม.à¸._à¸.à¸._มี.à¸._à¹à¸¡.ย._à¸.à¸._มิ.ย._à¸.à¸._ส.à¸._à¸.ย._à¸.à¸._à¸.ย._à¸.à¸.".split("_"),monthsParseExact:!0,weekdays:"à¸à¸²à¸à¸´à¸à¸¢à¹_à¸à¸±à¸à¸à¸£à¹_à¸à¸±à¸à¸à¸²à¸£_à¸à¸¸à¸_à¸à¸¤à¸«à¸±à¸ªà¸à¸à¸µ_ศุà¸à¸£à¹_à¹à¸ªà¸²à¸£à¹".split("_"),weekdaysShort:"à¸à¸²à¸à¸´à¸à¸¢à¹_à¸à¸±à¸à¸à¸£à¹_à¸à¸±à¸à¸à¸²à¸£_à¸à¸¸à¸_à¸à¸¤à¸«à¸±à¸ª_ศุà¸à¸£à¹_à¹à¸ªà¸²à¸£à¹".split("_"),weekdaysMin:"à¸à¸²._à¸._à¸._à¸._à¸à¸¤._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY à¹à¸§à¸¥à¸² H:mm",LLLL:"วัà¸ddddà¸à¸µà¹ D MMMM YYYY à¹à¸§à¸¥à¸² H:mm"},meridiemParse:/à¸à¹à¸à¸à¹à¸à¸µà¹à¸¢à¸|หลัà¸à¹à¸à¸µà¹à¸¢à¸/,isPM:function(e){return"หลัà¸à¹à¸à¸µà¹à¸¢à¸"===e},meridiem:function(e,t,n){return e<12?"à¸à¹à¸à¸à¹à¸à¸µà¹à¸¢à¸":"หลัà¸à¹à¸à¸µà¹à¸¢à¸"},calendar:{sameDay:"[วัà¸à¸à¸µà¹ à¹à¸§à¸¥à¸²] LT",nextDay:"[à¸à¸£à¸¸à¹à¸à¸à¸µà¹ à¹à¸§à¸¥à¸²] LT",nextWeek:"dddd[หà¸à¹à¸² à¹à¸§à¸¥à¸²] LT",lastDay:"[à¹à¸¡à¸·à¹à¸à¸§à¸²à¸à¸à¸µà¹ à¹à¸§à¸¥à¸²] LT",lastWeek:"[วัà¸]dddd[à¸à¸µà¹à¹à¸¥à¹à¸§ à¹à¸§à¸¥à¸²] LT",sameElse:"L"},relativeTime:{future:"à¸à¸µà¸ %s",past:"%sà¸à¸µà¹à¹à¸¥à¹à¸§",s:"à¹à¸¡à¹à¸à¸µà¹à¸§à¸´à¸à¸²à¸à¸µ",ss:"%d วิà¸à¸²à¸à¸µ",m:"1 à¸à¸²à¸à¸µ",mm:"%d à¸à¸²à¸à¸µ",h:"1 à¸à¸±à¹à¸§à¹à¸¡à¸",hh:"%d à¸à¸±à¹à¸§à¹à¸¡à¸",d:"1 วัà¸",dd:"%d วัà¸",w:"1 สัà¸à¸à¸²à¸«à¹",ww:"%d สัà¸à¸à¸²à¸«à¹",M:"1 à¹à¸à¸·à¸à¸",MM:"%d à¹à¸à¸·à¸à¸",y:"1 à¸à¸µ",yy:"%d à¸à¸µ"}})}(n("wd/R"))},EPc8:function(e,t,n){},EWTM:function(e,t,n){"use strict";n("rLC4")},EWeI:function(e,t,n){"use strict";n("RvOg")},Em2t:function(e,t,n){var i=n("bahg"),r=n("quyA"),a=n("0JQy");e.exports=function(e){return r(e)?a(e):i(e)}},EyHm:function(e,t,n){e.exports=function(e){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e=e&&e.hasOwnProperty("default")?e.default:e;var i={props:{options:{type:Object},type:{type:String},series:{type:Array,required:!0,default:function(){return[]}},width:{default:"100%"},height:{default:"auto"}},data:function(){return{chart:null}},beforeMount:function(){window.ApexCharts=e},mounted:function(){this.init()},created:function(){var e=this;this.$watch("options",(function(t){!e.chart&&t?e.init():e.chart.updateOptions(e.options)})),this.$watch("series",(function(t){!e.chart&&t?e.init():e.chart.updateSeries(e.series)})),["type","width","height"].forEach((function(t){e.$watch(t,(function(){e.refresh()}))}))},beforeDestroy:function(){this.chart&&this.destroy()},render:function(e){return e("div")},methods:{init:function(){var t=this,n={chart:{type:this.type||this.options.chart.type||"line",height:this.height,width:this.width,events:{}},series:this.series};Object.keys(this.$listeners).forEach((function(e){n.chart.events[e]=t.$listeners[e]}));var i=this.extend(this.options,n);return this.chart=new e(this.$el,i),this.chart.render()},isObject:function(e){return e&&"object"===t(e)&&!Array.isArray(e)&&null!=e},extend:function(e,t){var i=this;"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];if(null!=i)for(var r in i)i.hasOwnProperty(r)&&(t[r]=i[r])}return t});var r=Object.assign({},e);return this.isObject(e)&&this.isObject(t)&&Object.keys(t).forEach((function(a){i.isObject(t[a])&&a in e?r[a]=i.extend(e[a],t[a]):Object.assign(r,n({},a,t[a]))})),r},refresh:function(){return this.destroy(),this.init()},destroy:function(){this.chart.destroy()},updateSeries:function(e,t){return this.chart.updateSeries(e,t)},updateOptions:function(e,t,n,i){return this.chart.updateOptions(e,t,n,i)},toggleSeries:function(e){return this.chart.toggleSeries(e)},showSeries:function(e){this.chart.showSeries(e)},hideSeries:function(e){this.chart.hideSeries(e)},appendSeries:function(e,t){return this.chart.appendSeries(e,t)},resetSeries:function(){this.chart.resetSeries()},zoomX:function(e,t){this.chart.zoomX(e,t)},toggleDataPointSelection:function(e,t){this.chart.toggleDataPointSelection(e,t)},appendData:function(e){return this.chart.appendData(e)},addText:function(e){this.chart.addText(e)},addImage:function(e){this.chart.addImage(e)},addShape:function(e){this.chart.addShape(e)},dataURI:function(){return this.chart.dataURI()},setLocale:function(e){return this.chart.setLocale(e)},addXaxisAnnotation:function(e,t){this.chart.addXaxisAnnotation(e,t)},addYaxisAnnotation:function(e,t){this.chart.addYaxisAnnotation(e,t)},addPointAnnotation:function(e,t){this.chart.addPointAnnotation(e,t)},removeAnnotation:function(e,t){this.chart.removeAnnotation(e,t)},clearAnnotations:function(){this.chart.clearAnnotations()}}};return window.ApexCharts=e,i.install=function(t){t.ApexCharts=e,window.ApexCharts=e,Object.defineProperty(t.prototype,"$apexcharts",{get:function(){return e}})},i}(n("PR5i"))},EzHr:function(e,t,n){"use strict";
77Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=(0,n("eO9T").regex)("integer",/(^[0-9]*$)|(^-[0-9]+$)/);t.default=i},F7OB:function(e,t,n){},"FAz/":function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var i=n("o0o1"),r=n.n(i),a=n("yXPU"),o=n.n(a),s=n("J4zp"),l=n.n(s),c=(n("TP7S"),n("mwIZ")),u=n.n(c),d=n("4sH1"),h=function(){return{parseAxiosResponse:function(e){var t,n;return u()(e,"hydra:member",Array.isArray(e)?e:null===(t=Object.entries(e))||void 0===t||null===(n=t.filter((function(e){var t=l()(e,2),n=t[0];t[1];return!isNaN(parseInt(n))})))||void 0===n?void 0:n.map((function(e){var t=l()(e,2);t[0];return t[1]})))},getElementDistanceFromTop:function(e){for(var t=0;e;)t+=e.offsetTop,e=e.offsetParent;return t},findChildAtAnyDepth:function e(t,n){if(t===n)return 0;var i=null==t?void 0:t.children;if(i)for(var r=0;r<i.length;r++){var a=e(i[r],n);if(!1!==a)return a+1}return!1},scrollToOffsetContent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:75,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];n&&window.history.pushState(null,"","".concat(location.pathname,"#").concat(e));var i=document.getElementById(e);if(i){var r=i.getBoundingClientRect().top+window.scrollY,a=r-t;window.scrollTo({top:a,behavior:"smooth"})}},getYMLParameterByKey:function(){var e=o()(r.a.mark((function e(t){var n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.a.load("peerj_cloudfront_prefix : //d2pdyyx74uypu5.cloudfront.net/","utf8");case 2:return n=e.sent,e.abrupt("return",u()(n,t,""));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}}},FDpM:function(e,t,n){},FFdM:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{"z-index":"20000"},attrs:{id:e.elements.PEERJ_CORE_VUE_ROUTER_OUTLET_ID}},[e.isBetaTesting?t("Layout"):t("v-app",[t("v-main",{staticClass:"content mx-0 mx-md-2"},[t("snackbar",{staticClass:"mt-3",staticStyle:{"z-index":"30000"}}),e._v(" "),t("v-container",{staticClass:"mt-6 px-2",attrs:{fluid:e.$vuetify.breakpoint.lgAndDown}},[t("router-view")],1),e._v(" "),t("div",{staticClass:"flex-grow-1"}),e._v(" "),t("app-footer")],1)],1),e._v(" "),t("PJConfirmModalVuetify"),e._v(" "),t("PJConfirmModal"),e._v(" "),this.account.id?e._e():t("LoginModal")],1)};i._withStripped=!0;var r=n("lSNA"),a=n.n(r),o=n("L2JU"),s=n("kvwn"),l=n("Urm0"),c=n("2nGf"),u=n("bbSu"),d=n("u8Zi");function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p={components:{Layout:function(){return Promise.all([n.e(244),n.e(1113)]).then(n.bind(null,"+DNJ"))},AppFooter:function(){return Promise.all([n.e(430),n.e(1155)]).then(n.bind(null,"HFME"))},LoginModal:function(){return n.e(1129).then(n.bind(null,"1hPV"))},Breadcrumb:l.default,Snackbar:c.default},data:function(){return{elements:s.a,drawer:null,layoutName:"",shouldWarnOnLeave:!1}},computed:f({},Object(o.c)(["getThemeMode"])),mounted:function(){var e=this;this.imageSetter=this.getUserImageSrc,this.userRoleData&&this.preLoadMe(this.userRoleData),window.addEventListener("beforeunload",this.handleBeforeUnload),u.a.$on(d.a.ONUNLOADEVENT_TOGGLE,(function(){e.shouldWarnOnLeave=!e.shouldWarnOnLeave})),u.a.$on(d.a.ONUNLOADEVENT_ENABLE,(function(){e.shouldWarnOnLeave=!0})),u.a.$on(d.a.ONUNLOADEVENT_DISABLE,(function(){e.shouldWarnOnLeave=!1}))},beforeUnmount:function(){window.removeEventListener("beforeunload",this.handleBeforeUnload),u.a.$off(d.a.ONUNLOADEVENT_TOGGLE),u.a.$off(d.a.ONUNLOADEVENT_ENABLE),u.a.$off(d.a.ONUNLOADEVENT_DISABLE)},methods:f(f({},Object(o.b)(["changeThemeLayout"])),{},{handleBeforeUnload:function(e){this.shouldWarnOnLeave&&(e.preventDefault(),e.returnValue="Are you sure you want to leave?")}})},m=(n("Jctx"),n("KHd+")),g=n("ZUTo"),v=n.n(g),b=n("dJbz"),y=n("pSOK"),_=n("9sRW"),x=Object(m.a)(p,i,[],!1,null,null,null);t.default=x.exports;v()(x,{VApp:b.a,VContainer:y.a,VMain:_.a})},FJ0J:function(e,t,n){"use strict";n("+ccf")},FVf1:function(e,t,n){"use strict";n.r(t);var i=n("8E6E"),r=n("m90I"),a=n("Cu10"),o=n("+46Q"),s=n("dM05"),l=n("7Ysy"),
77c=n("cTRv"),u=n("rslu"),d=n("9j8n");t.default={path:"/",component:{render:function(e){return e("router-view")}},children:[u.default,a.default,r.default,o.default,i.default,s.default,l.default,c.default,d.default]}},FVqI:function(e,t,n){"use strict";n("HgLK")},FYTm:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return s}));var i=n("uYef"),r=function(){return{prodUploadPrefix:"//s3.amazonaws.com/peerj_prod_upload/",staticFilePrefix:"//s3.amazonaws.com/static.peerj.com/"}},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(!+e)return"0 Bytes";var n=1024,i=t<0?0:t,r=["Bytes","KB","MB","GB","TB"],a=Math.floor(Math.log(e)/Math.log(n));return"".concat(parseFloat((e/Math.pow(n,a)).toFixed(i))," ").concat(r[a])},o=function(e){var t,n,r,a=i.find((function(t){return t.type===e}));if(a&&a.icon)return a.icon;switch(e){case null===(t=e.match(/-approval$/))||void 0===t?void 0:t.input:return"mdi-file-check-outline";case null===(n=e.match(/-consent$/))||void 0===n?void 0:n.input:return"mdi-signature-freehand";case null===(r=e.match(/-checklist$/))||void 0===r?void 0:r.input:return"mdi-format-list-checks";default:return"mdi-file-outline"}},s=function(){var e=document.body;if(e.getAttribute("data-controllerVars"))return JSON.parse(e.getAttribute("data-controllerVars"))}},FeVv:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}));var i={disableCustomizer:!0,rtl:!1,verticalSidebarMini:!1,verticalSidebarDrawer:!0,verticalCompactSidebarDrawer:!0,showBreadcrumb:!0,layout:"VerticalSidebar",isLoading:!1,isDark:!1,verticalSidebarDrawerColor:"dark",appBarColor:"white"},r={breakpoint:{scrollBarWidth:16},rtl:!1,icons:{iconfont:"mdi"},theme:{dark:(!1).matches,default:"light",disable:!1,options:{cspNonce:void 0,customProperties:!0,minifyTheme:void 0,themeCache:void 0},themes:{light:{primary:"#10147E",primaryConst:"#10147E",secondary:"#027DBB",tertiary:"#FF9D14",error:"#FD5353",accent:"#e8f7fe",secondaryAccent:"#fdf8e4",warning:"#FFC260",success:"#05814d",successAccent:"#EBF8F1",successConst:"#05814d",info:"#10147E",infoAccent:"#E8F0FB",defaultFont:"#333333",greyBold:"#4a4a4a",greyBoldConst:"#4a4a4a",greyMedium:"#6e6e6e",greyTint:"#efefef",default:"#e0e0e0",cloud:"#e1ebf0",dark:"#242939",white:"#FFFFFF"},dark:{primary:"#8c9eff",primaryConst:"#8c9eff",secondary:"#FF5C93",secondaryConst:"#FF5C93",tertiary:"#FF9D14",success:"#088751",successConst:"#088751",accent:"#E5E5E5",warning:"#FFC260",error:"#FF6B4A",greyMedium:"#4A4A4A",greyBold:"#d6d6d6",greyBoldConst:"#4a4a4a",greyTint:"#f9fafc",default:"#e0e0e0",cloud:"#e1ebf0",white:"#FFFFFF",dark:"#242939",info:"#9013FE"}}}}},Fnuy:function(e,t,n){!function(e){"use strict";
vendor: 1,489 bytes, lines 78-79
78//! moment.js locale configuration 79e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquà %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},FoHa:function(e,t,n){},G0Uy:function(e,t,n){!function(e){"use strict";
80//! moment.js locale configuration 81e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ä unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_DiÄembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ä un_Lul_Aww_Set_Ott_Nov_DiÄ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ä imgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ä im_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ä i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"fâ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"Ä¡urnata",dd:"%d Ä¡ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},G6z8:function(e,t,n){var i=n("fR/l"),r=n("oCl/"),a=n("mTTR");e.exports=function(e){return i(e,a,r)}},GDhZ:function(e,t,n){var i=n("wF/u"),r=n("mwIZ"),a=n("hgQt"),o=n("9ggG"),s=n("CMye"),l=n("IOzZ"),c=n("9Nap");e.exports=function(e,t){return o(e)&&s(t)?l(c(e),t):function(n){var o=r(n,e);return void 0===o&&o===t?a(n,e):i(t,o,3)}}},"GI//":function(e,t,n){"use strict";n.r(t);var i=n("E6vr"),r=n("QPvM");t.default={path:"/",component:{render:function(e){return e("router-view")}},children:[i.default,{path:"/facilitated-transfer",name:"facilitated-transfer",component:function(){return n.e("facilitated-transfer").then(n.bind(null,"+3IL"))},props:!0},r.default]}},GJDo:function(e,t,n){"use strict";n.r(t);var i={label:"CollectionList",icon:"",to:{name:"CollectionList"}},r={label:"CollectionShow",icon:"",to:{name:i.label}},a={label:"CollectionUpdate",icon:"",to:{name:i.label}},o={label:"CollectionShow",icon:"",to:{name:i.label}},s={label:"CollectionSpecialIssuesShow",icon:"",to:{name:"Special Issues Index"}};t.default={path:"/collections",name:"collections",component:function(){return n.e(170).then(n.bind(null,"DyAl"))},meta:{breadcrumb:i},redirect:{name:"CollectionList"},children:[{path:"/special-issues",name:"Special Issues",component:function(){return n.e(170).then(n.bind(null,"DyAl"))},meta:{breadcrumb:i},redirect:{name:"Special Issues"},children:[{name:"",path:"/special-issues",props:function(e){return{routeQuery:{"type.type":"special-issue"},queryArgs:e.query}},component:function(){return Promise.all([n.e(97),n.e(92),n.e(754)]).then(n.bind(null,"4XK2"))},meta:{breadcrumb:i}},{name:"CollectionSpecialIssuesShow",path:"/special-issues/:id-:slug",component:function(){return n.e(52).then(n.bind(null,"oXDR"))},meta:function(e){return{breadcrumb:s,breadcrumbTitle:e.params.slug}}},{name:"CollectionSpecialIssuesShowId",path:"/special-issues/:id",component:function(){return n.e(52).then(n.bind(null,"oXDR"))},meta:function(e){return{breadcrumb:s,breadcrumbTitle:e.params.id}}}]},{name:"",path:"/collections",component:function(){return Promise.all([n.e(97),n.e(92),n.e(754)]).then(n.bind(null,"4XK2"))},meta:{breadcrumb:i},children:[]},{name:"CollectionAdminList",path:"admin",component:function(){return Promise.all([n.e(29),n.e(1124)]).then(n.bind(null,"LCbt"))}},{name:"CollectionCreate",path:"new",component:function(){return n.e(270).then(n.bind(null,"AH0D"))},meta:function(e){return{breadcrumb:r,breadcrumbTitle:"New"}}},{name:"CollectionUpdate",path:":id/edit",component:function(){return Promise.all([n.e(0),n.e(1),n.e(57),n.e(234),n.e(1100)]).then(n.bind(null,"8vCm"))},meta:function(e){return{breadcrumb:a,breadcrumbTitle:e.params.slug}}},{name:"CollectionShow",path:":id-:slug",component:function(){return n.e(52).then(n.bind(null,"oXDR"))},meta:function(e){return{breadcrumb:o,breadcrumbTitle:e.params.slug}}},{name:"CollectionShowId",path:":id",component:function(){return n.e(52).then(n.bind(null,"oXDR"))},meta:function(e){return{breadcrumb:o,breadcrumbTitle:e.params.id}}}]}},GaUR:function(e,t,n){"use strict";n.r(t),n.d(t,"assert",(function(){return T})),n.d(t,"autoResetRef",(function(){return ue})),n.d(t,"bypassFilter",(function(){return B})),n.d(t,"camelize",(function(){return J})),n.d(t,"clamp",(function(){return Y})),n.d(t,"computedEager",(function(){return r})),n.d(t,"computedWithControl",(function(){return a})),n.d(t,"containsProp",(function(){return te})),n.d(t,"controlledComputed",(function(){return a})),n.d(t,"controlledRef",(function(){return ve})),n.d(t,"createEventHook",(function(){return s})),n.d(t,"createFilterWrapper",(function(){return z})),n.d(t,"createGlobalState",(function(){return l})),n.d(t,"createInjectionState",(function(){return h})),n.d(t,"createReactiveFn",(function(){return _})),n.d(t,"createSharedComposable",(function(){return f})),n.d(t,"createSingletonPromise",(function(){return Q})),n.d(t,"debounceFilter",(function(){return W})),n.d(t,"debouncedRef",(function(){return he})),n.d(t,"debouncedWatch",(function(){return ot})),n.d(t,"directiveHooks",(function(){return M})),n.d(t,"eagerComputed",(function(){return r})),n.d(t,"extendRef",(function(){return p})),n.d(t,"formatDate",(function(){return Xe})),n.d(t,"get",(function(){return m})),n.d(t,"getLifeCycleTarget",(function(){return oe})),n.d(t,"hasOwn",(function(){return H})),n.d(t,"hyphenate",(function(){return G})),n.d(t,"identity",(function(){return Z})),n.d(t,"ignorableWatch",(function(){return lt})),n.d(t,"increaseWithUnit",(function(){return ne})),n.d(t,"injectLocal",(function(){return u})),n.d(t,"invoke",(function(){return ee})),n.d(t,"isClient",(function(){return L})),n.d(t,"isDef",(function(){return O})),n.d(t,"isDefined",(function(){return g})),n.d(t,"isIOS",(function(){return N})),n.d(t,"isObject",(function(){return D})),n.d(t,"isWorker",(function(){return A})),n.d(t,"makeDestructurable",(function(){return v})),n.d(t,"noop",(function(){return I})),n.d(t,"normalizeDate",(function(){return Ge})),n.d(t,"notNullish",(function(){return C})),n.d(t,"now",(function(){return P})),n.d(t,"objectEntries",(function(){return ae})),n.d(t,"objectOmit",(function(){return re})),n.d(t,"objectPick",(function(){return ie})),n.d(t,"pausableFilter",(function(){return $})),n.d(t,"pausableWatch",(function(){return _e})),n.d(t,"promiseTimeout",(function(){return K})),n.d(t,"provideLocal",(function(){return d})),n.d(t,"rand",(function(){return R})),n.d(t,"reactify",(function(){return _})),n.d(t,"reactifyObject",(function(){return x})),n.d(t,"reactiveComputed",(function(){return k})),n.d(t,"reactiveOmit",(function(){return S})),n.d(t,"reactivePick",(function(){return ce})),n.d(t,"refAutoReset",(function(){return ue})),n.d(t,"refDebounced",(function(){return he})),n.d(t,"refDefault",(function(){return fe})),n.d(t,"refThrottled",(function(){return me})),n.d(t,"refWithControl",(function(){return ge})),n.d(t,"resolveRef",(function(){return le})),n.d(t,"resolveUnref",(function(){return y}
81)),n.d(t,"set",(function(){return be})),n.d(t,"syncRef",(function(){return xe})),n.d(t,"syncRefs",(function(){return we})),n.d(t,"throttleFilter",(function(){return V})),n.d(t,"throttledRef",(function(){return me})),n.d(t,"throttledWatch",(function(){return dt})),n.d(t,"timestamp",(function(){return j})),n.d(t,"toReactive",(function(){return w})),n.d(t,"toRef",(function(){return se})),n.d(t,"toRefs",(function(){return ke})),n.d(t,"toValue",(function(){return b})),n.d(t,"tryOnBeforeMount",(function(){return Se})),n.d(t,"tryOnBeforeUnmount",(function(){return Me})),n.d(t,"tryOnMounted",(function(){return Le})),n.d(t,"tryOnScopeDispose",(function(){return o})),n.d(t,"tryOnUnmounted",(function(){return Ae})),n.d(t,"until",(function(){return Oe})),n.d(t,"useArrayDifference",(function(){return Te})),n.d(t,"useArrayEvery",(function(){return Ee})),n.d(t,"useArrayFilter",(function(){return De})),n.d(t,"useArrayFind",(function(){return Pe})),n.d(t,"useArrayFindIndex",(function(){return je})),n.d(t,"useArrayFindLast",(function(){return Ye})),n.d(t,"useArrayIncludes",(function(){return Ie})),n.d(t,"useArrayJoin",(function(){return Re})),n.d(t,"useArrayMap",(function(){return He})),n.d(t,"useArrayReduce",(function(){return Ne})),n.d(t,"useArraySome",(function(){return Fe})),n.d(t,"useArrayUnique",(function(){return ze})),n.d(t,"useCounter",(function(){return Be})),n.d(t,"useDateFormat",(function(){return qe})),n.d(t,"useDebounce",(function(){return he})),n.d(t,"useDebounceFn",(function(){return de})),n.d(t,"useInterval",(function(){return Ke})),n.d(t,"useIntervalFn",(function(){return Je})),n.d(t,"useLastChanged",(function(){return Ze})),n.d(t,"useThrottle",(function(){return me})),n.d(t,"useThrottleFn",(function(){return pe})),n.d(t,"useTimeout",(function(){return et})),n.d(t,"useTimeoutFn",(function(){return Qe})),n.d(t,"useToNumber",(function(){return tt})),n.d(t,"useToString",(function(){return nt})),n.d(t,"useToggle",(function(){return it})),n.d(t,"watchArray",(function(){return rt})),n.d(t,"watchAtMost",(function(){return at})),n.d(t,"watchDebounced",(function(){return ot})),n.d(t,"watchDeep",(function(){return st})),n.d(t,"watchIgnorable",(function(){return lt})),n.d(t,"watchImmediate",(function(){return ct})),n.d(t,"watchOnce",(function(){return ut})),n.d(t,"watchPausable",(function(){return _e})),n.d(t,"watchThrottled",(function(){return dt})),n.d(t,"watchTriggerable",(function(){return ht})),n.d(t,"watchWithFilter",(function(){return ye})),n.d(t,"whenever",(function(){return ft}));var i=n("1uS7");function r(e,t){var n;const r=Object(i.shallowRef)();return Object(i.watchEffect)(()=>{r.value=e()},{...t,flush:null!=(n=null==t?void 0:t.flush)?n:"sync"}),Object(i.readonly)(r)}function a(e,t){let n,r,a=void 0;const o=Object(i.ref)(!0),s=()=>{o.value=!0,r()};Object(i.watch)(e,s,{flush:"sync"});const l="function"==typeof t?t:t.get,c="function"==typeof t?void 0:t.set,u=Object(i.customRef)((e,t)=>(n=e,r=t,{get:()=>(o.value&&(a=l(a),o.value=!1),n(),a),set(e){null==c||c(e)}}));return Object.isExtensible(u)&&(u.trigger=s),u}function o(e){return!!Object(i.getCurrentScope)()&&(Object(i.onScopeDispose)(e),!0)}function s(){const e=new Set,t=t=>{e.delete(t)};return{on:n=>{e.add(n);const i=()=>t(n);return o(i),{off:i}},off:t,trigger:(...t)=>Promise.all(Array.from(e).map(e=>e(...t)))}}function l(e){let t,n=!1;const r=Object(i.effectScope)(!0);return(...i)=>(n||(t=r.run(()=>e(...i)),n=!0),t)}const c=new WeakMap,u=(...e)=>{var t;const n=e[0],r=null==(t=Object(i.getCurrentInstance)())?void 0:t.proxy;if(null==r)throw new Error("injectLocal must be called in setup");return c.has(r)&&n in c.get(r)?c.get(r)[n]:Object(i.inject)(...e)},d=(e,t)=>{var n;const r=null==(n=Object(i.getCurrentInstance)())?void 0:n.proxy;if(null==r)throw new Error("provideLocal must be called in setup");c.has(r)||c.set(r,Object.create(null));c.get(r)[e]=t,Object(i.provide)(e,t)};function h(e,t){const n=(null==t?void 0:t.injectionKey)||Symbol(e.name||"InjectionState"),i=null==t?void 0:t.defaultValue;return[(...t)=>{const i=e(...t);return d(n,i),i},()=>u(n,i)]}function f(e){let t,n,r=0;const a=()=>{r-=1,n&&r<=0&&(n.stop(),t=void 0,n=void 0)};return(...s)=>(r+=1,n||(n=Object(i.effectScope)(!0),t=n.run(()=>e(...s))),o(a),t)}function p(e,t,{enumerable:n=!1,unwrap:r=!0}={}
81){if(i.isVue3||i.version.startsWith("2.7.")){for(const[a,o]of Object.entries(t))"value"!==a&&(Object(i.isRef)(o)&&r?Object.defineProperty(e,a,{get:()=>o.value,set(e){o.value=e},enumerable:n}):Object.defineProperty(e,a,{value:o,enumerable:n}));return e}}function m(e,t){return null==t?Object(i.unref)(e):Object(i.unref)(e)[t]}function g(e){return null!=Object(i.unref)(e)}function v(e,t){if("undefined"!=typeof Symbol){const n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let e=0;return{next:()=>({value:t[e++],done:e>t.length})}}}),n}return Object.assign([...t],e)}function b(e){return"function"==typeof e?e():Object(i.unref)(e)}const y=b;function _(e,t){const n=!1===(null==t?void 0:t.computedGetter)?i.unref:b;return function(...t){return Object(i.computed)(()=>e.apply(this,t.map(e=>n(e))))}}function x(e,t={}){let n,i=[];if(Array.isArray(t))i=t;else{n=t;const{includeOwnProperties:r=!0}=t;i.push(...Object.keys(e)),r&&i.push(...Object.getOwnPropertyNames(e))}return Object.fromEntries(i.map(t=>{const i=e[t];return[t,"function"==typeof i?_(i.bind(e),n):i]}))}function w(e){if(!Object(i.isRef)(e))return Object(i.reactive)(e);const t=new Proxy({},{get:(t,n,r)=>Object(i.unref)(Reflect.get(e.value,n,r)),set:(t,n,r)=>(Object(i.isRef)(e.value[n])&&!Object(i.isRef)(r)?e.value[n].value=r:e.value[n]=r,!0),deleteProperty:(t,n)=>Reflect.deleteProperty(e.value,n),has:(t,n)=>Reflect.has(e.value,n),ownKeys:()=>Object.keys(e.value),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0})});return Object(i.reactive)(t)}function k(e){return w(Object(i.computed)(e))}function S(e,...t){const n=t.flat(),r=n[0];return k(()=>"function"==typeof r?Object.fromEntries(Object.entries(Object(i.toRefs)(e)).filter(([e,t])=>!r(b(t),e))):Object.fromEntries(Object.entries(Object(i.toRefs)(e)).filter(e=>!n.includes(e[0]))))}const M={mounted:i.isVue3?"mounted":"inserted",updated:i.isVue3?"updated":"componentUpdated",unmounted:i.isVue3?"unmounted":"unbind"},L="undefined"!=typeof window&&"undefined"!=typeof document,A="undefined"!=typeof WorkerGlobalScope&&globalThis instanceof WorkerGlobalScope,O=e=>void 0!==e,C=e=>null!=e,T=(e,...t)=>{e||console.warn(...t)},E=Object.prototype.toString,D=e=>"[object Object]"===E.call(e),P=()=>Date.now(),j=()=>+Date.now(),Y=(e,t,n)=>Math.min(n,Math.max(t,e)),I=()=>{},R=(e,t)=>(e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e),H=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),N=F();function F(){var e,t;return L&&(null==(e=null==window?void 0:window.navigator)?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(null==(t=null==window?void 0:window.navigator)?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(null==window?void 0:window.navigator.userAgent))}function z(e,t){return function(...n){return new Promise((i,r)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(i).catch(r)})}}const B=e=>e();function W(e,t={}){let n,i,r=I;const a=e=>{clearTimeout(e),r(),r=I};return o=>{const s=b(e),l=b(t.maxWait);return n&&a(n),s<=0||void 0!==l&&l<=0?(i&&(a(i),i=null),Promise.resolve(o())):new Promise((e,c)=>{r=t.rejectOnCancel?c:e,l&&!i&&(i=setTimeout(()=>{n&&a(n),i=null,e(o())},l)),n=setTimeout(()=>{i&&a(i),i=null,e(o())},s)})}}function V(...e){let t,n,r,a,o,s,l=0,c=!0,u=I;Object(i.isRef)(e[0])||"object"!=typeof e[0]?[r,a=!0,o=!0,s=!1]=e:({delay:r,trailing:a=!0,leading:o=!0,rejectOnCancel:s=!1}=e[0]);const d=()=>{t&&(clearTimeout(t),t=void 0,u(),u=I)};return e=>{const i=b(r),h=Date.now()-l,f=()=>n=e();return d(),i<=0?(l=Date.now(),f()):(h>i&&(o||!c)?(l=Date.now(),f()):a&&(n=new Promise((e,n)=>{u=s?n:e,t=setTimeout(()=>{l=Date.now(),c=!0,e(f()),d()},Math.max(0,i-h))})),o||t||(t=setTimeout(()=>c=!0,i)),c=!1,n)}}function $(e=B){const t=Object(i.ref)(!0);return{isActive:Object(i.readonly)(t),pause:function(){t.value=!1},resume:function(){t.value=!0},eventFilter:(...n)=>{t.value&&e(...n)}}}function U(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const X=/\B([A-Z])/g,G=U(e=>e.replace(X,"-$1").toLowerCase()),q=/-(\w)/g,J=U(e=>e.replace(q,(e,t)=>t?t.toUpperCase():""));function K(e,t=!1,n="Timeout"){return new Promise((i,r)=>{t?setTimeout(()=>r(n),e):setTimeout(i,e)})}function Z(e){return e}function Q(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const e=t;t=void 0,e&&await e},n}function ee(e){return e()}function te(e,...t){return t.some(t=>t in e)}function ne(e,t){var n;if("number"==typeof e)return e+t;
81const i=(null==(n=e.match(/^-?\d+\.?\d*/))?void 0:n[0])||"",r=e.slice(i.length),a=Number.parseFloat(i)+t;return Number.isNaN(a)?e:a+r}function ie(e,t,n=!1){return t.reduce((t,i)=>(i in e&&(n&&void 0===e[i]||(t[i]=e[i])),t),{})}function re(e,t,n=!1){return Object.fromEntries(Object.entries(e).filter(([e,i])=>!(n&&void 0===i||t.includes(e))))}function ae(e){return Object.entries(e)}function oe(e){return e||Object(i.getCurrentInstance)()}function se(...e){if(1!==e.length)return Object(i.toRef)(...e);const t=e[0];return"function"==typeof t?Object(i.readonly)(Object(i.customRef)(()=>({get:t,set:I}))):Object(i.ref)(t)}const le=se;function ce(e,...t){const n=t.flat(),r=n[0];return k(()=>"function"==typeof r?Object.fromEntries(Object.entries(Object(i.toRefs)(e)).filter(([e,t])=>r(b(t),e))):Object.fromEntries(n.map(t=>[t,se(e,t)])))}function ue(e,t=1e4){return Object(i.customRef)((n,i)=>{let r,a=b(e);return o(()=>{clearTimeout(r)}),{get:()=>(n(),a),set(n){a=n,i(),clearTimeout(r),r=setTimeout(()=>{a=b(e),i()},b(t))}}})}function de(e,t=200,n={}){return z(W(t,n),e)}function he(e,t=200,n={}){const r=Object(i.ref)(e.value),a=de(()=>{r.value=e.value},t,n);return Object(i.watch)(e,()=>a()),r}function fe(e,t){return Object(i.computed)({get(){var n;return null!=(n=e.value)?n:t},set(t){e.value=t}})}function pe(e,t=200,n=!1,i=!0,r=!1){return z(V(t,n,i,r),e)}function me(e,t=200,n=!0,r=!0){if(t<=0)return e;const a=Object(i.ref)(e.value),o=pe(()=>{a.value=e.value},t,n,r);return Object(i.watch)(e,()=>o()),a}function ge(e,t={}){let n,r,a=e;function o(e=!0){return e&&n(),a}function s(e,n=!0){var i,o;if(e===a)return;const s=a;!1!==(null==(i=t.onBeforeChange)?void 0:i.call(t,e,s))&&(a=e,null==(o=t.onChanged)||o.call(t,e,s),n&&r())}return p(Object(i.customRef)((e,t)=>(n=e,r=t,{get:()=>o(),set(e){s(e)}})),{get:o,set:s,untrackedGet:()=>o(!1),silentSet:e=>s(e,!1),peek:()=>o(!1),lay:e=>s(e,!1)},{enumerable:!0})}const ve=ge;function be(...e){if(2===e.length){const[t,n]=e;t.value=n}if(3===e.length)if(i.isVue2)Object(i.set)(...e);else{const[t,n,i]=e;t[n]=i}}function ye(e,t,n={}){const{eventFilter:r=B,...a}=n;return Object(i.watch)(e,z(r,t),a)}function _e(e,t,n={}){const{eventFilter:i,...r}=n,{eventFilter:a,pause:o,resume:s,isActive:l}=$(i);return{stop:ye(e,t,{...r,eventFilter:a}),pause:o,resume:s,isActive:l}}function xe(e,t,...[n]){const{flush:i="sync",deep:r=!1,immediate:a=!0,direction:o="both",transform:s={}}=n||{},l=[],c="ltr"in s&&s.ltr||(e=>e),u="rtl"in s&&s.rtl||(e=>e);"both"!==o&&"ltr"!==o||l.push(_e(e,e=>{l.forEach(e=>e.pause()),t.value=c(e),l.forEach(e=>e.resume())},{flush:i,deep:r,immediate:a})),"both"!==o&&"rtl"!==o||l.push(_e(t,t=>{l.forEach(e=>e.pause()),e.value=u(t),l.forEach(e=>e.resume())},{flush:i,deep:r,immediate:a}));return()=>{l.forEach(e=>e.stop())}}function we(e,t,n={}){const{flush:r="sync",deep:a=!1,immediate:o=!0}=n;return Array.isArray(t)||(t=[t]),Object(i.watch)(e,e=>t.forEach(t=>t.value=e),{flush:r,deep:a,immediate:o})}function ke(e,t={}){if(!Object(i.isRef)(e))return Object(i.toRefs)(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const r in e.value)n[r]=Object(i.customRef)(()=>({get:()=>e.value[r],set(n){var i;if(null==(i=b(t.replaceRef))||i)if(Array.isArray(e.value)){const t=[...e.value];t[r]=n,e.value=t}else{const t={...e.value,[r]:n};Object.setPrototypeOf(t,Object.getPrototypeOf(e.value)),e.value=t}else e.value[r]=n}}));return n}function Se(e,t=!0,n){oe(n)?Object(i.onBeforeMount)(e,n):t?e():Object(i.nextTick)(e)}function Me(e,t){oe(t)&&Object(i.onBeforeUnmount)(e,t)}function Le(e,t=!0,n){oe()?Object(i.onMounted)(e,n):t?e():Object(i.nextTick)(e)}function Ae(e,t){oe(t)&&Object(i.onUnmounted)(e,t)}function Oe(e){return function e(t,n=!1){function r(e,{flush:r="sync",deep:a=!1,timeout:o,throwOnTimeout:s}={}){let l=null;const c=[new Promise(o=>{l=Object(i.watch)(t,t=>{e(t)!==n&&(l?l():Object(i.nextTick)(()=>null==l?void 0:l()),o(t))},{flush:r,deep:a,immediate:!0})})];return null!=o&&c.push(K(o,s).then(()=>b(t)).finally(()=>null==l?void 0:l())),Promise.race(c)}function a(e,a){if(!Object(i.isRef)(e))return r(t=>t===e,a);const{flush:o="sync",deep:s=!1,timeout:l,throwOnTimeout:c}=null!=a?a:{};let u=null;const d=[new Promise(r=>{u=Object(i.watch)([t,e],([e,t])=>{n!==(e===t)&&(u?u():Object(i.nextTick)(()=>null==u?void 0:u()),r(e))},{flush:o,deep:s,immediate:!0})})];return null!=l&&d.push(K(l,c).then(()=>b(t)).finally(()=>(null==u||u(),b(t)))),Promise.race(d)}function o(e){return s(1,e)}function s(e=1,t){let n=-1;return r(()=>(n+=1,n>=e),t)}if(Array.isArray(b(t))){return{toMatch:r,toContains:function(e,t){return r(t=>{const n=Array.from(t);return n.includes(e)||n.includes(b(e))},t)},changed:o,changedTimes:s,get not(){return e(t,!n)}}}return{toMatch:r,toBe:a,toBeTruthy:function(e){return r(e=>Boolean(e),e)},toBeNull:function(e){return a(null,e)},toBeNaN:function(e){return r(Number.isNaN,e)},toBeUndefined:function(e){return a(void 0,e)},changed:o,changedTimes:s,get not(){return e(t,!n)}}}(e)}function Ce(e,t){return e===t}function Te(...e){var t;const n=e[0],r=e[1];let a=null!=(t=e[2])?t:Ce;if("string"==typeof a){const e=a;a=(t,n)=>t[e]===n[e]}return Object(i.computed)(()=>b(n).filter(e=>-1===b(r).findIndex(t=>a(e,t))))}function Ee(e,t){return Object(i.computed)(()=>b(e).every((e,n,i)=>t(b(e),n,i)))}function De(e,t){return Object(i.computed)(()=>b(e).map(e=>b(e)).filter(t))}function Pe(e,t){return Object(i.computed)(()=>b(b(e).find((e,n,i)=>t(b(e),n,i))))}function je(e,t){return Object(i.computed)(()=>b(e).findIndex((e,n,i)=>t(b(e),n,i)))}function Ye(e,t){return Object(i.computed)(()=>b(Array.prototype.findLast?b(e).findLast((e,n,i)=>t(b(e),n,i)):function(e,t){let n=e.length;for(;n-- >0;)if(t(e[n],n,e))return e[n]}(b(e),(e,n,i)=>t(b(e),n,i))))}function Ie(...e){var t;const n=e[0],r=e[1];let a=e[2],o=0;var s;if(D(s=a)&&te(s,"formIndex","comparator")&&(o=null!=(t=a.fromIndex)?t:0,a=a.comparator),"string"==typeof a){const e=a;a=(t,n)=>t[e]===b(n)}return a=null!=a?a:(e,t)=>e===b(t),Object(i.computed)(()=>b(n).slice(o).some((e,t,n)=>a(b(e),b(r),t,b(n))))}function Re(e,t){return Object(i.computed)(()=>b(e).map(e=>b(e)).join(b(t)))}function He(e,t){return Object(i.computed)(()=>b(e).map(e=>b(e)).map(t))}function Ne(e,t,...n){const r=(e,n,i)=>t(b(e),b(n),i);return Object(i.computed)(()=>{const t=b(e);return n.length?t.reduce(r,b(n[0])):t.reduce(r)})}function Fe(e,t){return Object(i.computed)(()=>b(e).some((e,n,i)=>t(b(e),n,i)))}function ze(e,t){return Object(i.computed)(()=>{const n=b(e).map(e=>b(e));return t?(r=t,(i=n).reduce((e,t)=>
81(e.some(e=>r(t,e,i))||e.push(t),e),[])):function(e){return Array.from(new Set(e))}(n);var i,r})}function Be(e=0,t={}){let n=Object(i.unref)(e);const r=Object(i.ref)(e),{max:a=Number.POSITIVE_INFINITY,min:o=Number.NEGATIVE_INFINITY}=t,s=e=>r.value=Math.max(o,Math.min(a,e));return{count:r,inc:(e=1)=>r.value=Math.max(Math.min(a,r.value+e),o),dec:(e=1)=>r.value=Math.min(Math.max(o,r.value-e),a),get:()=>r.value,set:s,reset:(e=n)=>(n=e,s(e))}}const We=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,Ve=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function $e(e,t,n,i){let r=e<12?"AM":"PM";return i&&(r=r.split("").reduce((e,t)=>e+(t+"."),"")),n?r.toLowerCase():r}function Ue(e){const t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}function Xe(e,t,n={}){var i;const r=e.getFullYear(),a=e.getMonth(),o=e.getDate(),s=e.getHours(),l=e.getMinutes(),c=e.getSeconds(),u=e.getMilliseconds(),d=e.getDay(),h=null!=(i=n.customMeridiem)?i:$e,f={Yo:()=>Ue(r),YY:()=>String(r).slice(-2),YYYY:()=>r,M:()=>a+1,Mo:()=>Ue(a+1),MM:()=>(""+(a+1)).padStart(2,"0"),MMM:()=>e.toLocaleDateString(b(n.locales),{month:"short"}),MMMM:()=>e.toLocaleDateString(b(n.locales),{month:"long"}),D:()=>String(o),Do:()=>Ue(o),DD:()=>(""+o).padStart(2,"0"),H:()=>String(s),Ho:()=>Ue(s),HH:()=>(""+s).padStart(2,"0"),h:()=>(""+(s%12||12)).padStart(1,"0"),ho:()=>Ue(s%12||12),hh:()=>(""+(s%12||12)).padStart(2,"0"),m:()=>String(l),mo:()=>Ue(l),mm:()=>(""+l).padStart(2,"0"),s:()=>String(c),so:()=>Ue(c),ss:()=>(""+c).padStart(2,"0"),SSS:()=>(""+u).padStart(3,"0"),d:()=>d,dd:()=>e.toLocaleDateString(b(n.locales),{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(b(n.locales),{weekday:"short"}),dddd:()=>e.toLocaleDateString(b(n.locales),{weekday:"long"}),A:()=>h(s,l),AA:()=>h(s,l,!1,!0),a:()=>h(s,l,!0),aa:()=>h(s,l,!0,!0)};return t.replace(Ve,(e,t)=>{var n,i;return null!=(i=null!=t?t:null==(n=f[e])?void 0:n.call(f))?i:e})}function Ge(e){if(null===e)return new Date(Number.NaN);if(void 0===e)return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){const t=e.match(We);if(t){const e=t[2]-1||0,n=(t[7]||"0").substring(0,3);return new Date(t[1],e,t[3]||1,t[4]||0,t[5]||0,t[6]||0,n)}}return new Date(e)}function qe(e,t="HH:mm:ss",n={}){return Object(i.computed)(()=>Xe(Ge(b(e)),b(t),n))}function Je(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n;let s=null;const l=Object(i.ref)(!1);function c(){s&&(clearInterval(s),s=null)}function u(){l.value=!1,c()}function d(){const n=b(t);n<=0||(l.value=!0,a&&e(),c(),s=setInterval(e,n))}if(r&&L&&d(),Object(i.isRef)(t)||"function"==typeof t){o(Object(i.watch)(t,()=>{l.value&&L&&d()}))}return o(u),{isActive:l,pause:u,resume:d}}function Ke(e=1e3,t={}){const{controls:n=!1,immediate:r=!0,callback:a}=t,o=Object(i.ref)(0),s=()=>o.value+=1,l=()=>{o.value=0},c=Je(a?()=>{s(),a(o.value)}:s,e,{immediate:r});return n?{counter:o,reset:l,...c}:o}function Ze(e,t={}){var n;const r=Object(i.ref)(null!=(n=t.initialValue)?n:null);return Object(i.watch)(e,()=>r.value=j(),t),r}function Qe(e,t,n={}){const{immediate:r=!0}=n,a=Object(i.ref)(!1);let s=null;function l(){s&&(clearTimeout(s),s=null)}function c(){a.value=!1,l()}function u(...n){l(),a.value=!0,s=setTimeout(()=>{a.value=!1,s=null,e(...n)},b(t))}return r&&(a.value=!0,L&&u()),o(c),{isPending:Object(i.readonly)(a),start:u,stop:c}}function et(e=1e3,t={}){const{controls:n=!1,callback:r}=t,a=Qe(null!=r?r:I,e,t),o=Object(i.computed)(()=>!a.isPending.value);return n?{ready:o,...a}:o}function tt(e,t={}){const{method:n="parseFloat",radix:r,nanToZero:a}=t;return Object(i.computed)(()=>{let t=b(e);return"string"==typeof t&&(t=Number[n](t,r)),a&&Number.isNaN(t)&&(t=0),t})}function nt(e){return Object(i.computed)(()=>""+b(e))}function it(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,a=Object(i.isRef)(e),o=Object(i.ref)(e);function s(e){if(arguments.length)return o.value=e,o.value;{const e=b(n);return o.value=o.value===e?b(r):e,o.value}}return a?s:[o,s]}function rt(e,t,n){let r=(null==n?void 0:n.immediate)?[]:[...e instanceof Function?e():Array.isArray(e)?e:b(e)];return Object(i.watch)(e,(e,n,i)=>{const a=Array.from({length:r.length}),o=[];for(const t of e){let e=!1;for(let n=0;n<r.length;n++)if(!a[n]&&t===r[n]){a[n]=!0,e=!0;break}e||o.push(t)}const s=r.filter((e,t)=>
81!a[t]);t(e,r,o,s,i),r=[...e]},n)}function at(e,t,n){const{count:r,...a}=n,o=Object(i.ref)(0),s=ye(e,(...e)=>{o.value+=1,o.value>=b(r)&&Object(i.nextTick)(()=>s()),t(...e)},a);return{count:o,stop:s}}function ot(e,t,n={}){const{debounce:i=0,maxWait:r,...a}=n;return ye(e,t,{...a,eventFilter:W(i,{maxWait:r})})}function st(e,t,n){return Object(i.watch)(e,t,{...n,deep:!0})}function lt(e,t,n={}){const{eventFilter:r=B,...a}=n,o=z(r,t);let s,l,c;if("sync"===a.flush){const t=Object(i.ref)(!1);l=()=>{},s=e=>{t.value=!0,e(),t.value=!1},c=Object(i.watch)(e,(...e)=>{t.value||o(...e)},a)}else{const t=[],n=Object(i.ref)(0),r=Object(i.ref)(0);l=()=>{n.value=r.value},t.push(Object(i.watch)(e,()=>{r.value++},{...a,flush:"sync"})),s=e=>{const t=r.value;e(),n.value+=r.value-t},t.push(Object(i.watch)(e,(...e)=>{const t=n.value>0&&n.value===r.value;n.value=0,r.value=0,t||o(...e)},a)),c=()=>{t.forEach(e=>e())}}return{stop:c,ignoreUpdates:s,ignorePrevAsyncUpdates:l}}function ct(e,t,n){return Object(i.watch)(e,t,{...n,immediate:!0})}function ut(e,t,n){const r=Object(i.watch)(e,(...e)=>(Object(i.nextTick)(()=>r()),t(...e)),n);return r}function dt(e,t,n={}){const{throttle:i=0,trailing:r=!0,leading:a=!0,...o}=n;return ye(e,t,{...o,eventFilter:V(i,r,a)})}function ht(e,t,n={}){let r;function a(e){r=e}const o=(e,n)=>(function(){if(!r)return;const e=r;r=void 0,e()}(),t(e,n,a)),s=lt(e,o,n),{ignoreUpdates:l}=s;return{...s,trigger:()=>{let t;return l(()=>{var n;t=o((n=e,Object(i.isReactive)(n)?n:Array.isArray(n)?n.map(e=>b(e)):b(n)),function(e){return Array.isArray(e)?e.map(()=>{}):void 0}(e))}),t}}}function ft(e,t,n){const r=Object(i.watch)(e,(e,a,o)=>{e&&((null==n?void 0:n.once)&&Object(i.nextTick)(()=>r()),t(e,a,o))},{...n,once:!1});return r}},Geaw:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("v-card",{staticClass:"mx-auto",staticStyle:{"box-shadow":"none !important"},attrs:{elevation:"0"}},[t("v-list-item",{staticClass:"px-0",attrs:{role:"region","aria-label":"Academic editor details for: ".concat(e.name),"three-line":""}},[t("v-avatar",{staticClass:"mr-4",attrs:{size:"64"}},[t("img",{attrs:{src:e.userPhoto,alt:e.name}})]),e._v(" "),t("v-list-item-content",[e.showCardHeadings?t("div",{staticClass:"overline mb-2"},[e._v(e._s(e.computedTitle)),!e.subheadingSubject&&e.showSubject&&e.userSubject?t("span",[t("br"),e._v(e._s(e.userSubject))]):e._e()]):e._e(),e._v(" "),t("v-list-item-title",{staticClass:"headline"},[e._v(e._s(e.name))]),e._v(" "),e.institution?t("v-list-item-subtitle",[e._v(e._s(e.institution))]):e._e(),e._v(" "),e.subheadingSubject&&e.showSubject&&e.userSubject?t("v-list-item-subtitle",[e._v(e._s(e.userSubject))]):e._e(),e._v(" "),t("v-card-actions",{staticClass:"pl-0"},[t("v-btn",{staticClass:"mt-2 user-card-action-button black--text",attrs:{elevation:"0",outlined:"",plain:"",small:"","aria-label":"view profile of ".concat(e.title,": ").concat(e.name)},on:{click:e.sendToProfile}},[e._v("View profile")])],1)],1)],1)],1)};i._withStripped=!0;var r={name:"UserImpactCard",props:{user:Object,showCardHeadings:Boolean,isEditorOfWork:Boolean,isAcademicEditor:{type:String,required:!1},showSubject:Boolean,subheadingSubject:Boolean,contributorAltTitle:Boolean,subject:{type:String,required:!1},title:{type:String,required:!1,default:function(){return"Highly cited author"}}},data:function(){return{isDisabled:!1}},computed:{avatarWrapper:function(){return"avatar-wrapper"},userAvatar:function(){return"user-avatar"},computedTitle:function(){return this.isEditorOfWork?"Academic Editor":this.contributorAltTitle&&this.user.isContributor?this.isAcademicEditor?"Author & PeerJ Academic "+this.isAcademicEditor:"Author":this.title},userSubject:function(){return this.user.primarySubjectName?this.user.primarySubjectName:this.subject?this.subject:this.user.userSubjectNames&&this.user.userSubjectNames.length?this.user.userSubjectNames[this.randomNumber(0,this.user.userSubjectNames.length-1)]:null},name:function(){return this.user.givenName+" "+this.user.familyName},userPhoto:function(){return this.user.mediumPhotoUrl},institution:function(){return this.user.institution?this.user.institution:null},cardProperties:function(){return{"card-title":this.computedTitle,isEditorOfWork:this.isEditorOfWork,editorOrAdvisor:this.isAcademicEditor,isContributor:this.user.isContributor,"card-name":this.name,"card-profile":this.user.id,"card-institution":this.institution}}},methods:{sendToProfile:function(){this.isDisabled||(this.isDisabled=!0,this.$emit("impactProfileClicked",this.cardProperties))},randomNumber:function(e,t){return Math.floor(Math.random()*(t-e)+e)}}},a=(n("pjTf"),n("KHd+")),o=n("ZUTo"),s=n.n(o),l=n("ghKu"),c=n("gzZi"),u=n("sK+t"),d=n("mdmw"),h=n("2hOt"),f=n("XSMC"),p=Object(a.a)(r,i,[],!1,null,"1a276d7c",null);t.default=p.exports;s()(p,{VAvatar:l.a,VBtn:c.a,VCard:u.a,VCardActions:d.a,VListItem:h.a,VListItemContent:f.b,VListItemSubtitle:f.c,VListItemTitle:f.d})},Gi0A:function(e,t,n){var i=n("QqLw"),r=n("ExA7");e.exports=function(e){return r(e)&&"[object Map]"==i(e)}},GpL5:function(e,t,n){"use strict";n.r(t);var i=n("lSNA"),r=n.n(i),a=n("AmL/"),o=n("Yhc+"),s=n("9xQ9"),l=n("ZbYb"),c=n("ATMZ");function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
81t%2?u(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.default=d(d(d(d(d({},a.default),o.default),s.default),l.default),c.default)},"H+RQ":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this._self._c;return e(this._self._setupProxy.FixedWidthBody,{staticClass:"mt-10"},[e("router-view")],1)};i._withStripped=!0;var r=n("CRKT"),a={__name:"SiteWrapperLegacy",setup:function(e){return{__sfc:!0,FixedWidthBody:r.default}}},o=n("KHd+"),s=Object(o.a)(a,i,[],!1,null,null,null);t.default=s.exports},H1W5:function(e,t,n){"use strict";n("wOc5")},H8ED:function(e,t,n){!function(e){"use strict"; 82//! moment.js locale configuration 83function t(e,t,n){var i,r;return"m"===n?t?"Ñ Ð²ÑлÑна":"Ñ Ð²ÑлÑнÑ":"h"===n?t?"гадзÑна":"гадзÑнÑ":e+" "+(i=+e,r={ss:t?"ÑекÑнда_ÑекÑндÑ_ÑекÑнд":"ÑекÑндÑ_ÑекÑндÑ_ÑекÑнд",mm:t?"Ñ Ð²ÑлÑна_Ñ Ð²ÑлÑнÑ_Ñ Ð²ÑлÑн":"Ñ Ð²ÑлÑнÑ_Ñ Ð²ÑлÑнÑ_Ñ Ð²ÑлÑн",hh:t?"гадзÑна_гадзÑнÑ_гадзÑн":"гадзÑнÑ_гадзÑнÑ_гадзÑн",dd:"дзенÑ_днÑ_дзÑн",MM:"меÑÑÑ_меÑÑÑÑ_меÑÑÑаÑ",yy:"год_гадÑ_гадоÑ"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}e.defineLocale("be",{months:{format:"ÑÑÑдзенÑ_лÑÑага_ÑакавÑка_кÑаÑавÑка_ÑÑаÑнÑ_ÑÑÑвенÑ_лÑпенÑ_жнÑÑнÑ_веÑаÑнÑ_каÑÑÑÑÑнÑка_лÑÑÑапада_ÑнежнÑ".split("_"),standalone:"ÑÑÑдзенÑ_лÑÑÑ_ÑакавÑк_кÑаÑавÑк_ÑÑавенÑ_ÑÑÑвенÑ_лÑпенÑ_жнÑвенÑ_веÑаÑенÑ_каÑÑÑÑÑнÑк_лÑÑÑапад_ÑнежанÑ".split("_")},monthsShort:"ÑÑÑд_лÑÑ_Ñак_кÑаÑ_ÑÑав_ÑÑÑв_лÑп_жнÑв_веÑ_каÑÑ_лÑÑÑ_Ñнеж".split("_"),weekdays:{format:"нÑдзелÑ_панÑдзелак_аÑÑоÑак_ÑеÑадÑ_ÑаÑвеÑ_пÑÑнÑÑÑ_ÑÑбоÑÑ".split("_"),standalone:"нÑдзелÑ_панÑдзелак_аÑÑоÑак_ÑеÑада_ÑаÑвеÑ_пÑÑнÑÑа_ÑÑбоÑа".split("_"),isFormat:/\[ ?[УÑÑ] ?(?:мÑнÑлÑÑ|наÑÑÑпнÑÑ)? ?\] ?dddd/},weekdaysShort:"нд_пн_аÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),weekdaysMin:"нд_пн_аÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[СÑÐ½Ð½Ñ Ñ] LT",nextDay:"[ÐаÑÑÑа Ñ] LT",lastDay:"[УÑоÑа Ñ] LT",nextWeek:function(){return"[У] dddd [Ñ] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мÑнÑлÑÑ] dddd [Ñ] LT";case 1:case 2:case 4:return"[У мÑнÑлÑ] dddd [Ñ] LT"}},sameElse:"L"},relativeTime:{future:"пÑаз %s",past:"%s ÑамÑ",s:"некалÑÐºÑ ÑекÑнд",m:t,mm:t,h:t,hh:t,d:"дзенÑ",dd:t,M:"меÑÑÑ",MM:t,y:"год",yy:t},meridiemParse:/ноÑÑ|ÑанÑÑÑ|днÑ|веÑаÑа/,isPM:function(e){return/^(днÑ|веÑаÑа)$/.test(e)},meridiem:function(e,t,n){return e<4?"ноÑÑ":e<12?"ÑанÑÑÑ":e<17?"днÑ":"веÑаÑа"},dayOfMonthOrdinalParse:/\d{1,2}-(Ñ|Ñ|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-Ñ":e+"-Ñ";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},HP3h:function(e,t,n){!function(e){"use strict";
84//! moment.js locale configuration 85var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["Ø£Ù٠٠٠ثاÙÙØ©","ثاÙÙØ© ÙØ§ØØ¯Ø©",["ثاÙÙØªØ§Ù","ثاÙÙØªÙÙ"],"%d Ø«ÙØ§Ù","%d ثاÙÙØ©","%d ثاÙÙØ©"],m:["Ø£Ù٠٠٠دÙÙÙØ©","دÙÙÙØ© ÙØ§ØØ¯Ø©",["دÙÙÙØªØ§Ù","دÙÙÙØªÙÙ"],"%d Ø¯ÙØ§Ø¦Ù","%d دÙÙÙØ©","%d دÙÙÙØ©"],h:["Ø£Ù٠٠٠ساعة","ساعة ÙØ§ØØ¯Ø©",["ساعتاÙ","ساعتÙÙ"],"%d ساعات","%d ساعة","%d ساعة"],d:["Ø£ÙÙ Ù Ù ÙÙÙ ","ÙÙÙ ÙØ§ØØ¯",["ÙÙ٠اÙ","ÙÙÙ ÙÙ"],"%d Ø£ÙØ§Ù ","%d ÙÙÙ ÙØ§","%d ÙÙÙ "],M:["Ø£ÙÙ Ù Ù Ø´ÙØ±","Ø´ÙØ± ÙØ§ØØ¯",["Ø´ÙØ±Ø§Ù","Ø´ÙØ±ÙÙ"],"%d Ø£Ø´ÙØ±","%d Ø´ÙØ±Ø§","%d Ø´ÙØ±"],y:["Ø£Ù٠٠٠عا٠","Ø¹Ø§Ù ÙØ§ØØ¯",["عا٠اÙ","عا٠ÙÙ"],"%d Ø£Ø¹ÙØ§Ù ","%d Ø¹Ø§Ù ÙØ§","%d عا٠"]},r=function(e){return function(t,r,a,o){var s=n(t),l=i[e][n(t)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,t)}},a=["ÙÙØ§Ùر","ÙØ¨Ø±Ø§Ùر","٠ارس","أبرÙÙ","٠اÙÙ","ÙÙÙÙÙ","ÙÙÙÙÙ","أغسطس","سبت٠بر","Ø£ÙØªÙبر","ÙÙÙ٠بر","Ø¯ÙØ³Ù بر"];e.defineLocale("ar-ly",{months:a,monthsShort:a,weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù ÙØ³_ج٠عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/âM/âYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù /,isPM:function(e){return"Ù "===e},meridiem:function(e,t,n){return e<12?"ص":"Ù "},calendar:{sameDay:"[اÙÙÙÙ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[ØºØ¯ÙØ§ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[أ٠س Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"Ù ÙØ° %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/Ø/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"Ø")},week:{dow:6,doy:12}})}(n("wd/R"))},HZW1:function(e,t,n){"use strict";var i=function(){var e=this,t=e._self._c;return t("transition",{attrs:{name:"modal-bg-fade"},on:{"before-enter":function(t){e.modalVisible=!0}}},[e.backgroundVisible?t("div",{staticClass:"pj-modal-overlay",on:{click:function(t){return t.target!==t.currentTarget?null:e.hideModal()}}},[t("transition",{attrs:{name:"modal-dialogue-slide"},on:{"before-leave":function(t){e.backgroundVisible=!1}}},[e.modalVisible?t("div",{staticClass:"modal-dialog",class:{"modal-lg":e.large},style:e.cssStyle},[t("div",{staticClass:"modal-content"},[t("div",{staticClass:"modal-header"},[t("h5",{staticClass:"modal-title"},[e.icon?t("i",{class:"mr-1 icon "+e.icon}):e._e(),e._v(" "+e._s(e.title))])]),e._v(" "),t("div",{staticClass:"modal-body"},[e._t("body"),e._v(" "),t("transition",{attrs:{name:"transition-fade"}},[e.loading?t("div",{staticClass:"d-flex loading-container"},[t("LoadingSpinner"),e._v(" "),t("div",{staticClass:"ml-2"},[e._v(e._s(e.loadingText))])],1):e._e()])],2),e._v(" "),t("div",{staticClass:"modal-footer legacy-b2-wrap"},[t("div",{staticClass:"w-50 d-flex justify-content-between pull-right"},[t("div",[e.hideCloseButton||e.loading?e._e():t("PJButton",{attrs:{type:"light"},on:{click:function(t){return e.hideModal()}}},[e._v(e._s(e.closeButtonText))]),e._v(" "),e._t("buttons-left")],2),e._v(" "),t("div",{staticClass:"ml-4"},[e._t("buttons")],2)])])])]):e._e()])],1):e._e()])};i._withStripped=!0;var r={props:{title:String,closeCallback:Function,hideCloseButton:Boolean,loading:Boolean,loadingText:{type:String,required:!1,default:"Loading..."},closeButtonText:{type:String,required:!1,default:"Close"},large:{type:Boolean,required:!1,default:!1},icon:{type:String,required:!1,default:""},maxWidth:{type:Number,required:!1}},data:function(){return{backgroundVisible:!1,modalVisible:!1}},computed:{cssStyle:function(){return this.maxWidth?"max-width:"+this.maxWidth+"px":""}},methods:{showModal:function(){this.backgroundVisible=!0,this.modalVisible=!1,document.body.parentElement.classList.add("body-modal-open")},hideModal:function(){this.closeCallback&&this.closeCallback(),this.modalVisible=!1,document.body.parentElement.classList.remove("body-modal-open")},modalKeyDown:function(e){"Escape"==e.key&&this.hideModal()}},watch:{modalVisible:function(){this.modalVisible?document.addEventListener("keydown",this.modalKeyDown,!0):document.removeEventListener("keydown",this.modalKeyDown,!0)}}},a=(n("tc4C"),n("KHd+")),o=Object(a.a)(r,i,[],!1,null,"0e04e322",null);t.a=o.exports},Hc5T:function(e,t,n){"use strict";
85Object.defineProperty(t,"__esModule",{value:!0}),t.Vuelidate=M,Object.defineProperty(t,"withParams",{enumerable:!0,get:function(){return r.withParams}}),t.default=t.validationMixin=void 0;var i=n("+/RH"),r=n("AjSV");function a(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var u=function(){return null},d=function(e,t,n){return e.reduce((function(e,i){return e[n?n(i):i]=t(i),e}),{})};function h(e){return"function"==typeof e}function f(e){return null!==e&&("object"===c(e)||h(e))}var p=function(e,t,n,i){if("function"==typeof n)return n.call(e,t,i);n=Array.isArray(n)?n:n.split(".");for(var r=0;r<n.length;r++){if(!t||"object"!==c(t))return i;t=t[n[r]]}return void 0===t?i:t};var m={$invalid:function(){var e=this,t=this.proxy;return this.nestedKeys.some((function(t){return e.refProxy(t).$invalid}))||this.ruleKeys.some((function(e){return!t[e]}))},$dirty:function(){var e=this;return!!this.dirty||0!==this.nestedKeys.length&&this.nestedKeys.every((function(t){return e.refProxy(t).$dirty}))},$anyDirty:function(){var e=this;return!!this.dirty||0!==this.nestedKeys.length&&this.nestedKeys.some((function(t){return e.refProxy(t).$anyDirty}))},$error:function(){return this.$dirty&&!this.$pending&&this.$invalid},$anyError:function(){var e=this;return!!this.$error||this.nestedKeys.some((function(t){return e.refProxy(t).$anyError}))},$pending:function(){var e=this;return this.ruleKeys.some((function(t){return e.getRef(t).$pending}))||this.nestedKeys.some((function(t){return e.refProxy(t).$pending}))},$params:function(){var e=this,t=this.validations;return s({},d(this.nestedKeys,(function(e){return t[e]&&t[e].$params||null})),{},d(this.ruleKeys,(function(t){return e.getRef(t).$params})))}};function g(e){this.dirty=e;var t=this.proxy,n=e?"$touch":"$reset";this.nestedKeys.forEach((function(e){t[e][n]()}))}var v={$touch:function(){g.call(this,!0)},$reset:function(){g.call(this,!1)},$flattenParams:function(){var e=this.proxy,t=[];for(var n in this.$params)if(this.isNested(n)){for(var i=e[n].$flattenParams(),r=0;r<i.length;r++)i[r].path.unshift(n);t=t.concat(i)}else t.push({path:[],name:n,params:this.$params[n]});return t}},b=Object.keys(m),y=Object.keys(v),_=null,x=function(e){if(_)return _;var t=e.extend({computed:{refs:function(){var e=this._vval;this._vval=this.children,(0,i.patchChildren)(e,this._vval);var t={};return this._vval.forEach((function(e){t[e.key]=e.vm})),t}},beforeCreate:function(){this._vval=null},beforeDestroy:function(){this._vval&&((0,i.patchChildren)(this._vval),this._vval=null)},methods:{getModel:function(){return this.lazyModel?this.lazyModel(this.prop):this.model},getModelKey:function(e){var t=this.getModel();if(t)return t[e]},hasIter:function(){return!1}}}),n=t.extend({data:function(){return{rule:null,lazyModel:null,model:null,lazyParentModel:null,rootModel:null}},methods:{runRule:function(t){var n=this.getModel();(0,r.pushParams)();var i,a=this.rule.call(this.rootModel,n,t),o=f(i=a)&&h(i.then)?function(e,t){var n=new e({data:{p:!0,v:!1}});return t.then((function(e){n.p=!1,n.v=e}),(function(e){throw n.p=!1,n.v=!1,e}
85)),n.__isVuelidateAsyncVm=!0,n}(e,a):a,s=(0,r.popParams)();return{output:o,params:s&&s.$sub?s.$sub.length>1?s:s.$sub[0]:null}}},computed:{run:function(){var e=this,t=this.lazyParentModel();if(Array.isArray(t)&&t.__ob__){var n=t.__ob__.dep;n.depend();var i=n.constructor.target;if(!this._indirectWatcher){var r=i.constructor;this._indirectWatcher=new r(this,(function(){return e.runRule(t)}),null,{lazy:!0})}var a=this.getModel();if(!this._indirectWatcher.dirty&&this._lastModel===a)return this._indirectWatcher.depend(),i.value;this._lastModel=a,this._indirectWatcher.evaluate(),this._indirectWatcher.depend()}else this._indirectWatcher&&(this._indirectWatcher.teardown(),this._indirectWatcher=null);return this._indirectWatcher?this._indirectWatcher.value:this.runRule(t)},$params:function(){return this.run.params},proxy:function(){var e=this.run.output;return e.__isVuelidateAsyncVm?!!e.v:!!e},$pending:function(){var e=this.run.output;return!!e.__isVuelidateAsyncVm&&e.p}},destroyed:function(){this._indirectWatcher&&(this._indirectWatcher.teardown(),this._indirectWatcher=null)}}),o=t.extend({data:function(){return{dirty:!1,validations:null,lazyModel:null,model:null,prop:null,lazyParentModel:null,rootModel:null}},methods:s({},v,{refProxy:function(e){return this.getRef(e).proxy},getRef:function(e){return this.refs[e]},isNested:function(e){return"function"!=typeof this.validations[e]}}),computed:s({},m,{nestedKeys:function(){return this.keys.filter(this.isNested)},ruleKeys:function(){var e=this;return this.keys.filter((function(t){return!e.isNested(t)}))},keys:function(){return Object.keys(this.validations).filter((function(e){return"$params"!==e}))},proxy:function(){var e=this,t=d(this.keys,(function(t){return{enumerable:!0,configurable:!0,get:function(){return e.refProxy(t)}}})),n=d(b,(function(t){return{enumerable:!0,configurable:!0,get:function(){return e[t]}}})),i=d(y,(function(t){return{enumerable:!1,configurable:!0,get:function(){return e[t]}}})),r=this.hasIter()?{$iter:{enumerable:!0,value:Object.defineProperties({},s({},t))}}:{};return Object.defineProperties({},s({},t,{},r,{$model:{enumerable:!0,get:function(){var t=e.lazyParentModel();return null!=t?t[e.prop]:null},set:function(t){var n=e.lazyParentModel();null!=n&&(n[e.prop]=t,e.$touch())}}},n,{},i))},children:function(){var e=this;return[].concat(a(this.nestedKeys.map((function(t){return g(e,t)}))),a(this.ruleKeys.map((function(t){return x(e,t)})))).filter(Boolean)}})}),l=o.extend({methods:{isNested:function(e){return void 0!==this.validations[e]()},getRef:function(e){var t=this;return{get proxy(){return t.validations[e]()||!1}}}}}),c=o.extend({computed:{keys:function(){var e=this.getModel();return f(e)?Object.keys(e):[]},tracker:function(){var e=this,t=this.validations.$trackBy;return t?function(n){return"".concat(p(e.rootModel,e.getModelKey(n),t))}:function(e){return"".concat(e)}},getModelLazy:function(){var e=this;return function(){return e.getModel()}},children:function(){var e=this,t=this.validations,n=this.getModel(),r=s({},t);delete r.$trackBy;var a={};return this.keys.map((function(t){var s=e.tracker(t);return a.hasOwnProperty(s)?null:(a[s]=!0,(0,i.h)(o,s,{validations:r,prop:t,lazyParentModel:e.getModelLazy,model:n[t],rootModel:e.rootModel}))})).filter(Boolean)}},methods:{isNested:function(){return!0},getRef:function(e){return this.refs[this.tracker(e)]},hasIter:function(){return!0}}}),g=function(e,t){if("$each"===t)return(0,i.h)(c,t,{validations:e.validations[t],lazyParentModel:e.lazyParentModel,prop:t,lazyModel:e.getModel,rootModel:e.rootModel});var n=e.validations[t];if(Array.isArray(n)){var r=e.rootModel,a=d(n,(function(e){return function(){return p(r,r.$v,e)}}),(function(e){return Array.isArray(e)?e.join("."):e}));return(0,i.h)(l,t,{validations:a,lazyParentModel:u,prop:t,lazyModel:u,rootModel:r})}return(0,i.h)(o,t,{validations:n,lazyParentModel:e.getModel,prop:t,lazyModel:e.getModelKey,rootModel:e.rootModel})},x=function(e,t){return(0,i.h)(n,t,{rule:e.validations[t],lazyParentModel:e.lazyParentModel,lazyModel:e.getModel,rootModel:e.rootModel})};return _={VBase:t,Validation:o}},w=null;var k=function(e,t){var n=function(e){if(w)return w;for(var t=e.constructor;t.super;)t=t.super;return w=t,t}(e),r=x(n),a=r.Validation;return new(0,r.VBase)({computed:{children:function(){var n="function"==typeof t?t.call(e):t;return[(0,i.h)(a,"$v",{validations:n,lazyParentModel:u,prop:"$v",model:e,rootModel:e})]}}})},S={data:function(){var e=this.$options.validations;return e&&(this._vuelidate=k(this,e)),{}},beforeCreate:function(){var e=this.$options;e.validations&&(e.computed||(e.computed={}),e.computed.$v||(e.computed.$v=function(){return this._vuelidate?this._vuelidate.refs.$v.proxy:null}))},beforeDestroy:function(){this._vuelidate&&(this._vuelidate.$destroy(),this._vuelidate=null)}};function M(e){e.mixin(S)}t.validationMixin=S;var L=M;t.default=L},HgLK:function(e,t,n){},HnDJ:function(e,t,n){"use strict";n.r(t);var i=n("vDqi"),r=n.n(i),a=n("OFL0"),o=n.n(a),s={data:function(){return{countryList:[],countryCodes:null,loadingCountries:!1}},methods:{getCountryList:function(){var e=this;this.loadingCountries=!0,r.a.defaults.url="/settings/country-list",r.a.request().then((function(t){var n=t.data;n.countries&&(e.countryList=n.countries)})).catch((function(e){console.log(e)})).finally((function(){e.loadingCountries=!1}))},getCountryListWithCodes:function(){var e=this;this.loadingCountries=!0,r.a.defaults.url="/settings/country-list",r.a.request({params:{cc:1}}).then((function(t){var n=t.data;n.countries&&(e.countryCodes=n.countries,e.countryList=Object.values(e.countryCodes))})).catch((function(e){console.log(e)})).finally((function(){e.loadingCountries=!1}))}},computed:{countryErrors:function(){var e,t,n,i,r,a,s,l,c=[];return null===(e=this.$v)||void 0===e||null===(t=e.address)||void 0===t||!t.country.$dirty||null!==(n=this.$v)&&void 0!==n&&null!==(i=n.item)&&void 0!==i&&i.country.$dirty?c:null!==(r=this.$v)&&void 0!==r&&null!==(a=r.address)&&void 0!==a&&a.country.required||null!==(s=this.$v)&&void 0!==s&&null!==(l=s.item)&&void 0!==l&&l.country.required?(o()(this.violations,"country")&&c.push(this.violations.country),c):"Your country is required"},violations:function(){return this.errors||{}}}};t.default=s},HwHE:function(e){e.exports=JSON.parse('[{"text":"production","color":"green"},{"text":"withdrawn","color":"gray"},{"text":"published","color":"green"},{"text":"prod check","color":"green"},{"text":"acpt !sent","color":"green"},{"text":"accepted !sent","color":"green"},{"text":"accepted","color":"green"},{"text":"passed","color":"green"},{"text":"submitted","color":"gray"},{"text":"created","color":"gray"},{"text":"failed","color":"red"},{"text":"rej !sent","color":"red"},{"text":"rejected !sent","color":"red"},{"text":"rejected","color":"red"},{"text":"min !sent","color":"orange"},{"text":"minor !sent","color":"orange"},{"text":"minor","color":"orange"},{"text":"maj !sent","color":"orange"},{"text":"major !sent","color":"orange"},{"text":"major","color":"orange"},{"text":"assigned","color":"green"},{"text":"unassigned","color":"gray"}]')},Hwl6:function(e,t,n){},"I/lt":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("FixedWidthBody",[t("div",{staticClass:"pt-10",staticStyle:{"border-bottom":"1px solid #ccc"}},[t("div",{staticClass:"container"},[t("v-row",{staticClass:"mb-0"}
85,[e.hideLogo?e._e():t("v-col",{attrs:{md:"1",cols:"12"}},[e.isStaffSearch?t("div",{staticClass:"staffSearchLogo error"},[e._v("Staff")]):t("img",{staticClass:"mt-n1 search-bar-logo",attrs:{src:e.searchBarLogo,alt:"Search"}})]),e._v(" "),t("v-col",{staticClass:"pl-sm-4 pl-xl-0",attrs:{md:"11",cols:"12"}},[t("div",{staticClass:"d-flex justify-content-center"},[t("v-text-field",{attrs:{filled:"",dense:"","aria-label":"search input",id:"searchTerm",placeholder:e.placeholder,"append-icon":"mdi-magnify"},model:{value:e.searchTerm,callback:function(t){e.searchTerm=t},expression:"searchTerm"}})],1),e._v(" "),e.hideFilters?e._e():[t("v-row",[t("v-col",{attrs:{md:"10",sm:"12"}},[t("app-search-nav")],1)],1)]],2)],1)],1)]),e._v(" "),t("div",{staticClass:"container my-4"},[t("v-row",[t("v-col",{attrs:{cols:"12",md:"7"}},[t("v-row",{staticClass:"mt-2"},[t("v-col",{staticClass:"pl-sm-0 offset-sm-2",attrs:{cols:"12",sm:"7"}},[t("transition",{attrs:{name:"transition-slide-fade"}},[e.showMoreFilters?t("div",[e.showDropdownRow?t("div",{staticClass:"d-flex justify-space-between"},[t("div",[t("app-button-dropdown",{attrs:{param:"journal",title:"Journal",items:e.journals,selected:e.localParams.journal}})],1),e._v(" "),e.localParams.journal&&e.showReviewDropdown?t("div",[t("app-button-dropdown",{attrs:{param:"type",title:"Review status",items:e.reviewTypes,selected:e.localParams.type}})],1):e._e(),e._v(" "),e.showDisciplineDropdown?t("div",[t("app-button-dropdown",{attrs:{param:"discipline",title:"Discipline",items:e.disciplines,selected:e.localParams.discipline}})],1):e._e()]):e._e()]):t("div",{staticClass:"results-container"},[e.hasSearchTerm?t("div",{class:{isHidden:!e.hasSearchTerm},attrs:{"aria-hidden":!e.hasSearchTerm}},[t("span",{staticClass:"text-overline",style:{color:"dark"===e.theme?"#eee":"#121212"}},[e._v("Showing "+e._s(e.totalResults.toLocaleString())+" result"),1!=e.totalResults?t("span",[e._v("s")]):e._e()])]):e._e()])])],1)],1),e._v(" "),e.loading?t("div",{staticClass:"my-5 loading-container"},[e.loadMasonry?t("div",{staticClass:"card-columns"},e._l(10,(function(n,i){return t("div",{key:i,staticClass:"card mb-3 p-1"},[t("div",{staticClass:"skeleton-image loading"}),e._v(" "),t("p",{staticClass:"skeleton-search-line loading"}),e._v(" "),t("p",{staticClass:"skeleton-search-line loading"})])})),0):t("div",e._l(10,(function(n,i){return t("div",{key:i,staticClass:"mb-4 row"},[t("div",{staticClass:"col-2"},[t("div",{staticClass:"skeleton-search-label loading",class:e.altUserSkeleton()})]),e._v(" "),t("div",{staticClass:"col-10"},[t("h3",{staticClass:"skeleton-search-title loading",staticStyle:{width:"85%"}}),e._v(" "),t("p",{staticClass:"skeleton-search-line loading",staticStyle:{width:"95%"}}),e._v(" "),t("p",{staticClass:"skeleton-search-line loading",staticStyle:{width:"40%"}}),e._v(" "),t("p",{staticClass:"skeleton-search-line loading",staticStyle:{width:"70%"}})])])})),0)]):e.results.length?t("div",[e.loadMasonry?t("div",{staticClass:"mt-4"},[t("v-row",e._l(e.results,(function(n,i){return t("v-col",{key:n.type+i,staticClass:"d-flex child-flex",attrs:{cols:"6",sm:"4"}},[t("app-search-result",{attrs:{result:n,subjects:e.subjectFilterList,tags:e.tagFilterList,loadMasonry:e.loadMasonry,isStaffSearch:e.isStaffSearch,index:i}})],1)})),1)],1):t("div",e._l(e.results,(function(n,i){return t("app-search-result",{key:n.type+i,staticClass:"mt-4",attrs:{result:n,subjects:e.subjectFilterList,tags:e.tagFilterList,loadMasonry:e.loadMasonry,isStaffSearch:e.isStaffSearch,index:i}})})),1),e._v(" "),e.pages>1?t("v-pagination",{staticClass:"my-12",attrs:{color:"primary",length:e.pages,"total-visible":8,"next-icon":"mdi-menu-right","prev-icon":"mdi-menu-left"},on:{input:e.paginationClicked},model:{value:e.page,callback:function(t){e.page=t},expression:"page"}}):e._e()],1):t("div",[t("NoResultsMessage",{on:{clearReload:function(t){return e.clearSearchTermReload()}}})],1)],1),e._v(" "),t("v-col",{attrs:{cols:"12",md:"1"}},[t("v-divider",{staticClass:"pa-0 ma-0",attrs:{vertical:""}})],1),e._v(" "),t("v-col",{attrs:{cols:"12",md:"4"}},[t("div",{staticClass:"mt-n0 mb-4 text-right"},[e.hasFiltersAvailable?t("v-btn",{staticClass:"mr-1",attrs:{small:"",elevation:"0",color:e.hasMoreFiltersSet()?"secondary":""},on:{click:function(t){e.showMoreFilters=!e.showMoreFilters}}},[t("v-icon",{attrs:{small:""}},[e._v("mdi-filter")]),e._v("\n More filters\n ")],1):e._e(
85),e._v(" "),e.showSubjectModalButton?t("v-btn",{staticClass:"py-1 px-2",attrs:{small:"",elevation:"0"},on:{click:e.showSubjectsModal}},[t("v-icon",{attrs:{small:""}},[e._v("mdi-tag-text-outline")]),e._v("\n Subjects\n ")],1):e._e()],1),e._v(" "),t("app-search-side-bar",{attrs:{loading:e.loading,showMoreFilters:e.showMoreFilters,"query-params":e.localParams,aggSections:e.aggSections,subjectFilters:e.subjectFilterList,highlightCollection:e.highlightCollection,tagFilters:e.tagFilterList}})],1)],1)],1)])};i._withStripped=!0;var r=n("o0o1"),a=n.n(r),o=n("yXPU"),s=n.n(o),l=n("lSNA"),c=n.n(l),u=n("L2JU"),d=n("sEfC"),h=n.n(d),f=n("bbSu"),p=n("O0D+"),m=n("QfBk"),g=n("asUI"),v=n("shJy"),b=n("9mcV"),y=n("oHej"),_=n("CRKT");function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var k=h()((function(e,t,n){e(t,n)}),300),S={name:"SearchApp",components:{FixedWidthBody:_.default,appButtonDropdown:m.default,appSearchNav:g.default,appSearchResult:b.default,appSearchSideBar:v.default,NoResultsMessage:y.default},props:{properties:Object,defaultType:{type:void 0|String,required:!1}},data:function(){return{searchTerm:"",searchError:"",placeholder:"Search",showMoreFilters:!1,reviewTypeSelected:0,staticUri:""}},created:function(){this.initSetup(),this.runQuery(this.currentQuery).then(this.scrollToTop(200))},beforeMount:function(){f.a.$off(p.default.SEARCH_QUERY_PARAM_CHANGE)},mounted:function(){this.initSetup(),f.a.$on(p.default.SEARCH_QUERY_PARAM_CHANGE,this.updateSearchParam)},beforeDestroy:function(){f.a.$off(p.default.SEARCH_QUERY_PARAM_CHANGE,this.updateSearchParam)},watch:{$route:function(){this.updatePathSettings(),this.hasQueryOrPathChange()&&this.updateLocalData(this.$route.query),this.runQuery(this.$route.query).then(this.scrollToTop(200))},"localParams.type":function(){var e=this;this.reviewTypes.some((function(t){return t.id===e.localParams.type}))&&(this.reviewTypeSelected=this.reviewTypes.map((function(e){return e.id})).indexOf(this.localParams.type))},searchTerm:function(e,t){e&&1===e.length||this.loading||(this.localParams.q=e,k(this.doDebouncedSearch,e,this))}},computed:w(w(w({},Object(u.c)("search",["aggSections","subjectFilterList","tagFilterList","disciplines","hasExtraFilterSet"])),Object(u.e)("search",["path","loading","page","searchParams","localParams","results","highlightCollection","pages","totalResults","journals","reviewTypes","hasTidyQuerySet","tidyQuery","loadMasonry","hideFilters","hideLogo"])),{},{currentQuery:function(){var e=this.tidyQueryParams();return this.page&&this.page>1&&(e.page=this.page),this.searchTerm=e.q,e},hasFiltersAvailable:function(){return this.searchParams.TYPES_SUPPORTING_NUM_FILTERS.includes(this.localParams.type)},searchBarLogo:function(){return this.staticUri+"spread-the-word/resources/logos/bio/peerj-bio-logo.svg"},showDropdownRow:function(){return["articles","preprints","figure","",null].includes(this.localParams.type)},showReviewDropdown:function(){return["articles","preprints","",null].includes(this.localParams.type)},showDisciplineDropdown:function(){return this.localParams.journal&&void 0!==this.disciplines&&this.disciplines.length>1},showSubjectModalButton:function(){return this.aggSections&&this.aggSections.subject},isStaffSearch:function(){return this.searchParams.IS_STAFF_SEARCH},searchBtnText:function(){return this.isStaffSearch?"Staff Search":"Search"},hasSearchTerm:function(){return this.totalResults&&this.searchTerm&&this.searchTerm.length>0}}),methods:w(w(w({},Object(u.d)("search",["setPageNumber"])),Object(u.b)("search",["runQuery","updateLocalData"])),{},{doDebouncedSearch:function(e){this.updateSearchParam({param:"q",val:e})},initSetup:function(){var e=document.getElementById("wrap");e&&e.dataset.journals&&this.$store.commit("search/setJournals",JSON.parse(e.dataset.journals)),e&&e.dataset.staticuri&&(this.staticUri=e.dataset.staticuri),e&&e.dataset.endpoint&&this.$store.commit("search/setEndpoint",e.dataset.endpoint),this.updateLocalData(this.properties),this.updatePathSettings()},updatePathSettings:function(){this.$store.commit("search/setRoutePath",this.$route.path),this.$store.commit("search/setStateDefaultType",this.defaultType)}
85,tidyQueryParams:function(){return this.hasTidyQuerySet||this.$store.dispatch("search/updateTidyQuery"),this.tidyQuery},hasQueryOrPathChange:function(){return this.path!==this.$route.path||JSON.stringify(this.$route.query)!==JSON.stringify(this.currentQuery)},hasMoreFiltersSet:function(){return!!this.showMoreFilters||!(!this.hasFiltersAvailable||!this.hasExtraFilterSet)},paginationClicked:function(e){if(e!==this.page){this.setPageNumber(e);var t=this.tidyQueryParams();e&&e>1&&(t.page=e);try{this.$router.push({path:"",query:t})}catch(e){console.log("Problem handling route update after page click : ".concat(e,"."))}}},updateRouteHistory:function(){var e=this;return s()(a.a.mark((function t(){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.hasQueryOrPathChange()){t.next=9;break}return t.prev=1,t.next=4,e.$router.push({path:e.path,query:e.currentQuery});case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(1),console.log("Problem handling route update: ".concat(t.t0,"."));case 9:case"end":return t.stop()}}),t,null,[[1,6]])})))()},updateSearchParam:function(e){this.$store.dispatch("search/updateParam",e),this.updateRouteHistory()},altUserSkeleton:function(){return["editor","user"].includes(this.localParams.type)?"pj-user-skeleton":null},showSubjectsModal:function(){f.a.$emit(p.default.SHOW_MODAL,"subject")},clearSearchTermReload:function(){this.updateSearchParam({param:"q",val:""})}})},M=(n("sk1O"),n("KHd+")),L=n("ZUTo"),A=n.n(L),O=n("gzZi"),C=n("Yq0q"),T=n("zn5u"),E=n("Ey0z"),D=n("iR7P"),P=n("D9m0"),j=n("hlRy"),Y=Object(M.a)(S,i,[],!1,null,"f0d06452",null);t.default=Y.exports;A()(Y,{VBtn:O.a,VCol:C.a,VDivider:T.a,VIcon:E.a,VPagination:D.a,VRow:P.a,VTextField:j.a})},IAQg:function(e,t,n){"use strict";var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("PJModalVuetify",{staticClass:"Confirm",attrs:{title:"Confirm","hide-close-button":"","button-slot-class":"w-100 d-flex justify-end"},scopedSlots:e._u([{key:"body",fn:function(){return[t("div",{staticClass:"Confirm-body d-flex align-center"},[e._t("default",(function(){return[t("div",[n.hint?[t("h4",[e._v(e._s(n.question))]),e._v(" "),t("div",{staticClass:"mt-2 text-muted"},[e._v(e._s(n.hint))])]:[t("div",{directives:[{name:"markdown",rawName:"v-markdown",value:n.question,expression:"question"}]})]],2)]}),{question:n.question,hint:n.hint})],2)]},proxy:!0},{key:"buttons",fn:function(){return[t("v-btn",{staticClass:"mr-2",attrs:{color:"grey lighten-2"},on:{click:function(e){return n.selectAnswer(!1)}}},[e._v("\n Cancel\n ")]),e._v(" "),t("v-btn",{attrs:{color:"primary"},on:{click:function(e){return n.selectAnswer(!0)}}},[e._v("\n "+e._s(n.confirmLabel)+"\n ")])]},proxy:!0}],null,!0),model:{value:n.confirmModal,callback:function(e){n.confirmModal=e},expression:"confirmModal"}})};i._withStripped=!0;var r=n("Kw5r"),a=n("bbSu"),o=n("u8Zi"),s=n("Lw4j"),l={__name:"ConfirmModal",setup:function(e){var t=Object(s.a)(),n=t.confirmModal,i=t.question,l=t.callback,c=t.confirmLabel,u=t.hint,d=t.show,h=t.hide,f=function(){i.value="",l.value=null,c.value="Ok",u.value=null};return Object(r.onBeforeMount)((function(){a.a.$off(o.a.CONFIRM)})),Object(r.onMounted)((function(){a.a.$on(o.a.CONFIRM,(function(e){f(),e.data.question?(i.value=e.data.question,u.value=e.data.hint?e.data.hint:null,c.value=e.data.confirmLabel?e.data.confirmLabel:null):i.value=e.data,l.value=e.callback,d()}))})),Object(r.onBeforeUnmount)((function(){a.a.$off(o.a.CONFIRM)})),{__sfc:!0,confirmModal:n,question:i,callback:l,confirmLabel:c,hint:u,show:d,hide:h,reset:f,selectAnswer:function(e){"function"==typeof l.value?l.value(e):console.error("Callback invalid"),h()}}}},c=(n("/QRE"),n("KHd+")),u=n("ZUTo"),d=n.n(u),h=n("gzZi"),f=Object(c.a)(l,i,[],!1,null,"4554213a",null);t.a=f.exports;d()(f,{VBtn:h.a})},IBtZ:function(e,t,n){!function(e){"use strict";
86//! moment.js locale configuration 87e.defineLocale("ka",{months:"áááááá á_ááááá áááá_ááá á¢á_ááá ááá_áááá¡á_ááááá¡á_ááááá¡á_ááááá¡á¢á_á¡áá¥á¢ááááá á_áá¥á¢ááááá á_ááááááá á_áááááááá á".split("_"),monthsShort:"ááá_ááá_ááá _ááá _ááá_ááá_ááá_ááá_á¡áá¥_áá¥á¢_ááá_ááá".split("_"),weekdays:{standalone:"áááá á_áá á¨ááááá_á¡ááá¨ááááá_ááá®á¨ááááá_á®á£áá¨ááááá_ááá áá¡áááá_á¨ááááá".split("_"),format:"áááá áá¡_áá á¨ááááá¡_á¡ááá¨ááááá¡_ááá®á¨ááááá¡_á®á£áá¨ááááá¡_ááá áá¡áááá¡_á¨ááááá¡".split("_"),isFormat:/(á¬ááá|á¨ááááá)/},weekdaysShort:"ááá_áá á¨_á¡áá_ááá®_á®á£á_ááá _á¨áá".split("_"),weekdaysMin:"áá_áá _á¡á_áá_á®á£_áá_á¨á".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[áá¦áá¡] LT[-áá]",nextDay:"[á®ááá] LT[-áá]",lastDay:"[áá£á¨áá] LT[-áá]",nextWeek:"[á¨ááááá] dddd LT[-áá]",lastWeek:"[á¬ááá] dddd LT-áá",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(á¬áá|á¬á£á|á¡ááá|á¬áá|áá¦|áá)(á|á)/,(function(e,t,n){return"á"===n?t+"á¨á":t+n+"á¨á"}))},past:function(e){return/(á¬ááá|á¬á£áá|á¡áááá|áá¦á|ááá)/.test(e)?e.replace(/(á|á)$/,"áá¡ á¬áá"):/á¬ááá/.test(e)?e.replace(/á¬ááá$/,"á¬ááá¡ á¬áá"):e},s:"á áááááááá á¬ááá",ss:"%d á¬ááá",m:"á¬á£áá",mm:"%d á¬á£áá",h:"á¡áááá",hh:"%d á¡áááá",d:"áá¦á",dd:"%d áá¦á",M:"ááá",MM:"%d ááá",y:"á¬ááá",yy:"%d á¬ááá"},dayOfMonthOrdinalParse:/0|1-áá|áá-\d{1,2}|\d{1,2}-á/,ordinal:function(e){return 0===e?e:1===e?e+"-áá":e<20||e<=100&&e%20==0||e%100==0?"áá-"+e:e+"-á"},week:{dow:1,doy:7}})}(n("wd/R"))},IHoj:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n("Kw5r"),r=n("QJZv"),a=n("RF1r");function o(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw a}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var l=Object(i.ref)({}),c=Object(i.ref)(!1),u=Object(i.ref)(!1),d=Object(i.ref)(!1),h=null,f=Object(i.reactive)({maxWidth:void 0,width:void 0,marginLeft:void 0,marginRight:void 0});function p(){var e,t=Object(r.a)(),n=null===(e=document.body)||void 0===e?void 0:e.getAttribute("data-fixed-width"),s=parseInt(n),p=function(e){var n,r=o(e);try{var a=function(){var e=n.value;Object(i.nextTick)((function(){setTimeout((function(){var n,i,r,a;l.value=e.contentRect,c.value=!isNaN(s)&&t.breakpoint.mdAndUp&&s>(null==e||null===(n=e.contentRect)||void 0===n?void 0:n.width),d.value=!!((null==e||null===(i=e.contentRect)||void 0===i?void 0:i.width)>1440&&(null==e||null===(r=e.contentRect)||void 0===r?void 0:r.width)<1464),u.value=!isNaN(s)&&s>(null==e||null===(a=e.contentRect)||void 0===a?void 0:a.width)}),150)}))};for(r.s();!(n=r.n()).done;)a()}catch(e){r.e(e)}finally{r.f()}},m=Object(a.d)({themeMode:"getThemeMode"}).themeMode,g=Object(a.e)("user",["user"]).user,v=function(){var e=document.querySelector(".article-status-header");if(e)if(e.style.width=parseInt(wrap.style.width)-10+"px",e.style.marginLeft=-parseInt(wrap.style.paddingLeft)+"px",e.style.paddingLeft=parseInt(wrap.style.paddingLeft)+"px",parseInt(wrap.style.marginRight))e.style.paddingRight=parseInt(wrap.style.marginRight)+10+"px";else{var t=document.querySelector("header.AppBar").getBoundingClientRect().width-parseInt(e.style.width);if(t>0){document.querySelector("#MainContent");m.value.verticalSidebarDrawer||(e.style.paddingLeft=parseInt(t/2)+"px"),e.style.paddingRight=parseInt(t/2)+10+"px"}}};return Object(i.onMounted)((function(){if(!h){var e=document.querySelector(".v-main__wrap");e&&(h=new ResizeObserver(p)).observe(e)}})),{appRect:l,contentIsLTFixedWidthAndGTMobileBreakpoint:c,contentIsLTFixedWidth:u,contentIsMacbookWidth:d,fixedWidth:n,appBarContentStyle:f,legacyWrapperWidthComputer:function(){var e,n=document.getElementById("wrap");n&&(n.style.width=parseInt(f.width)>
871440?f.maxWidth:f.width,n.style.marginLeft=null!==(e=g.value)&&void 0!==e&&e.id&&m.value.verticalSidebarDrawer&&t.breakpoint.mdAndUp?"256px":0,n.style.paddingLeft=f.marginLeft,n.style.marginRight=f.marginRight,v())}}}},IJJa:function(e,t,n){"use strict";n.d(t,"a",(function(){return k})),n.d(t,"c",(function(){return _})),n.d(t,"b",(function(){return x})),n.d(t,"d",(function(){return w}));var i,r=n("lwsE"),a=n.n(r),o=n("W8MJ"),s=n.n(o),l=n("7W2i"),c=n.n(l),u=n("a1gu"),d=n.n(u),h=n("Nsbk"),f=n.n(h),p=n("lSNA"),m=n.n(p),g=(n("/hMX"),n("1IrZ")),v=n("reo2"),b=n("6OTJ");function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=f()(e);if(t){var r=f()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return d()(this,n)}}var _=Object.freeze({GENERAL:"article-note-general",CRITICAL:"article-note-critical",REVIEW:"article-note-review",CHECK:"article-note-check",PRODUCTION:"article-note-production"}),x=Object.freeze((i={},m()(i,_.PRODUCTION,"Production"),m()(i,_.CRITICAL,"Critical"),m()(i,_.CHECK,"Check"),m()(i,_.GENERAL,"General"),m()(i,_.REVIEW,"Review"),i)),w={default:[_.CRITICAL,_.CHECK,_.PRODUCTION,_.REVIEW,_.GENERAL],production:[_.PRODUCTION,_.CRITICAL,_.CHECK,_.REVIEW,_.GENERAL]},k=function(e){c()(n,e);var t=y(n);function n(e){var i;return a()(this,n),(i=t.call(this,e)).endpoints=n.endpoints,i.creator=e.creator?new b.a(e.creator):null,i.text=e.text,i.type=e.type,i.links=e._links?{article:e._links.article||null}:[],i}return s()(n,[{key:"validate",value:function(){var e=!0,t={};return this.text.length<1&&(e=!1,t.content="Please add some content to the note"),{status:e,errors:t}}},{key:"getArticle",value:function(){var e=this;return new Promise((function(t,n){RevisionModel.get({url:e.links.article}).then((function(e){t(e)})).catch((function(e){n(e)}))}))}}],[{key:"endpoints",get:function(){return{create:v.a.endpoints.get+"article-notes/",list:"articles/{id}/article-notes/"}}}]),n}(g.a);t.e=k},IOzZ:function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},IWTy:function(e,t,n){var i=n("yue5");e.exports=function(e,t,n){for(var r=-1,a=e.criteria,o=t.criteria,s=a.length,l=n.length;++r<s;){var c=i(a[r],o[r]);if(c)return r>=l?c:c*("desc"==n[r]?-1:1)}return e.index-t.index}},IXB0:function(e,t,n){"use strict";n.r(t);var i=n("lSNA"),r=n.n(i),a=n("WTW0");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}t.default={computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(a.c)("me",["account","roles","isAdmin","isStaff","isSectionEditor","isEditor","isUser","isChecker","appGroups","isAimsAdmin","isVendor"]))}},Ioao:function(e,t,n){var i=n("heNW"),r=Math.max;e.exports=function(e,t,n){return t=r(void 0===t?e.length-1:t,0),function(){for(var a=arguments,o=-1,s=r(a.length-t,0),l=Array(s);++o<s;)l[o]=a[t+o];o=-1;for(var c=Array(t+1);++o<t;)c[o]=a[o];return c[t]=n(l),i(e,this,c)}}},IoyE:function(e,t,n){"use strict";n.r(t);var i=n("lSNA"),r=n.n(i),a=n("WTW0");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}t.default={computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEac
87h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(a.c)("notifications",["color","show","subText","text","timeout","isError","showIcon","errorIcon","successIcon"])),methods:{cleanState:function(){var e=this;setTimeout((function(){e.show=!1}),this.timeout)},showError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;this.showMessage(e,"error",!0,t)},showMessage:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"success",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;if(this.isError=i,this.showIcon=!0,this.show=!0,this.color=n,"string"==typeof e)return this.text=e,void setTimeout((function(){t.show=!1}),r);this.text=e.message,e.response&&(this.subText=e.response.data.message)}}}},Ip4B:function(e,t,n){},IpYp:function(e,t,n){"use strict";n.r(t),t.default={"Add a comment. Markdown allowed.":"Add a comment. Markdown allowed.","Are you sure you want to delete this item?":"Are you sure you want to delete this item?",Cancel:"Cancel",Close:"Close","Data unavailable":"Data unavailable",Delete:"Delete",Deleted:"Deleted",Edit:"Edit",Field:"Field","Field is required":"Field is required",Filters:"Filters",Filter:"Filter",filterTitle:"Collection title","Loading...":"Loading...","No results":"No results","Please, insert a value bigger than zero!":"Please, insert a value bigger than zero!","Please type something":"Please type something","Records per page:":"Records per page:",Reset:"Reset",Submit:"Submit",Updated:"Updated",Value:"Value",Importance:"Importance",Quality:"Quality",Relevance:"Relevance",Status:"Status","Your recommendation":"Your recommendation",workflow:{task:"action | actions",task_cap:"Action | Actions"}}},"Ivi+":function(e,t,n){!function(e){"use strict";
88//! moment.js locale configuration 89e.defineLocale("ko",{months:"1ì_2ì_3ì_4ì_5ì_6ì_7ì_8ì_9ì_10ì_11ì_12ì".split("_"),monthsShort:"1ì_2ì_3ì_4ì_5ì_6ì_7ì_8ì_9ì_10ì_11ì_12ì".split("_"),weekdays:"ì¼ìì¼_ììì¼_íìì¼_ììì¼_목ìì¼_ê¸ìì¼_í ìì¼".split("_"),weekdaysShort:"ì¼_ì_í_ì_목_ê¸_í ".split("_"),weekdaysMin:"ì¼_ì_í_ì_목_ê¸_í ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYYë MMMM Dì¼",LLL:"YYYYë MMMM Dì¼ A h:mm",LLLL:"YYYYë MMMM Dì¼ dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYYë MMMM Dì¼",lll:"YYYYë MMMM Dì¼ A h:mm",llll:"YYYYë MMMM Dì¼ dddd A h:mm"},calendar:{sameDay:"ì¤ë LT",nextDay:"ë´ì¼ LT",nextWeek:"dddd LT",lastDay:"ì´ì LT",lastWeek:"ì§ë주 dddd LT",sameElse:"L"},relativeTime:{future:"%s í",past:"%s ì ",s:"ëª ì´",ss:"%dì´",m:"1ë¶",mm:"%dë¶",h:"í ìê°",hh:"%dìê°",d:"í루",dd:"%dì¼",M:"í ë¬",MM:"%dë¬",y:"ì¼ ë ",yy:"%dë "},dayOfMonthOrdinalParse:/\d{1,2}(ì¼|ì|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"ì¼";case"M":return e+"ì";case"w":case"W":return e+"주";default:return e}},meridiemParse:/ì¤ì |ì¤í/,isPM:function(e){return"ì¤í"===e},meridiem:function(e,t,n){return e<12?"ì¤ì ":"ì¤í"}})}(n("wd/R"))},"J+9z":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i={XL:1904,LG:1264,MD:960,SM:600,XS:0}},JC6p:function(e,t,n){var i=n("cq/+"),r=n("7GkX");e.exports=function(e,t){return e&&i(e,t,r)}},"JCF/":function(e,t,n){!function(e){"use strict";
vendor: 2,012 bytes, lines 90-91
90//! moment.js locale configuration 91var t={1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "},n={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"},i=["کاÙÙÙÛ Ø¯ÙÙÛÙ ","Ø´ÙØ¨Ø§Øª","ئازار","ÙÛØ³Ø§Ù","Ø¦Ø§ÛØ§Ø±","ØÙزÛÛØ±Ø§Ù","تÛÙ Ù ÙØ²","ئاب","ئÛÛÙÙÙÙ","تشرÛÙÛ ÛÛÙÛÙ ","تشرÛÙÛ Ø¯ÙÙÛÙ ","ÙØ§ÙÙÙÛ ÛÛÚ©ÛÙ "];e.defineLocale("ku",{months:i,monthsShort:i,weekdays:"ÛÙâÙØ´ÙâÙ Ù Ùâ_دÙÙØ´ÙâÙ Ù Ùâ_Ø³ÛØ´ÙâÙ Ù Ùâ_ÚÙØ§Ø±Ø´ÙâÙ Ù Ùâ_Ù¾ÛÙØ¬Ø´ÙâÙ Ù Ùâ_ÙÙâÛÙÛ_Ø´ÙâÙ Ù Ùâ".split("_"),weekdaysShort:"ÛÙâÙØ´ÙâÙ _دÙÙØ´ÙâÙ _Ø³ÛØ´ÙâÙ _ÚÙØ§Ø±Ø´ÙâÙ _Ù¾ÛÙØ¬Ø´ÙâÙ _ÙÙâÛÙÛ_Ø´ÙâÙ Ù Ùâ".split("_"),weekdaysMin:"Û_د_س_Ú_Ù¾_Ù_Ø´".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئÛÙØ§Ø±Ùâ|بÙâÛØ§ÙÛ/,isPM:function(e){return/ئÛÙØ§Ø±Ùâ/.test(e)},meridiem:function(e,t,n){return e<12?"بÙâÛØ§ÙÛ":"ئÛÙØ§Ø±Ùâ"},calendar:{sameDay:"[ئÙâÙ Ø±Û ÙØ§ØªÚÙ ÛØ±] LT",nextDay:"[بÙâÛØ§ÙÛ ÙØ§ØªÚÙ ÛØ±] LT",nextWeek:"dddd [ÙØ§ØªÚÙ ÛØ±] LT",lastDay:"[دÙÛÙÛ ÙØ§ØªÚÙ ÛØ±] LT",lastWeek:"dddd [ÙØ§ØªÚÙ ÛØ±] LT",sameElse:"L"},relativeTime:{future:"ÙÙâ %s",past:"%s",s:"ÚÙâÙØ¯ ÚØ±ÙÙâÛÙâÙ",ss:"ÚØ±ÙÙâ %d",m:"ÛÙâÙ Ø®ÙÙÙâÙ",mm:"%d Ø®ÙÙÙâÙ",h:"ÛÙâÙ ÙØ§ØªÚÙ ÛØ±",hh:"%d ÙØ§ØªÚÙ ÛØ±",d:"ÛÙâÙ ÚÛÚ",dd:"%d ÚÛÚ",M:"ÛÙâ٠٠اÙÚ¯",MM:"%d ٠اÙÚ¯",y:"ÛÙâ٠ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/Ø/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"Ø")},week:{dow:6,doy:12}})}(n("wd/R"))},JLRx:function(e,t,n){},JVSJ:function(e,t,n){!function(e){"use strict";
92//! moment.js locale configuration 93function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return i+=1===e?"dan":"dana";case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._Äet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_Äe_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juÄer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[proÅ¡lu] dddd [u] LT";case 6:return"[proÅ¡le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[proÅ¡li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},Jctx:function(e,t,n){"use strict";n("OfZY")},JhPg:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{ref:"banner",class:n.GPBDesktopClass,style:{height:n.bannerHeight+"px"}},[t("div",{class:n.bannerContentClass,style:n.contentStyle},[t("div",{ref:"card",staticClass:"BannerCard d-flex flex-column"},[e.journalImageUrl&&e.journalName?[t("img",{staticClass:"mb-2",attrs:{alt:"".concat(e.journalName," logo"),src:e.journalImageUrl,"aria-hidden":"true",height:"120",width:"120"}})]:n.slot.headingImage?[e._t("headingImage")]:e._e(),e._v(" "),e.bannerTitle?t("h1",{staticClass:"toH2 mb-4 font-weight-bold pl-0 primary--text"},[e._v("\n "+e._s(e.bannerTitle)+"\n ")]):e._e(),e._v(" "),e.bannerDescription?t("div",{staticClass:"mb-4"},[e._v("\n "+e._s(e.bannerDescription)+"\n ")]):e._e(),e._v(" "),e._t("actions",(function(){return[t(n.H_GenericButton,{attrs:{href:"/new/",label:"Submit Now"}})]}))],2)]),e._v(" "),t("div",{staticClass:"banner-backdrop d-flex primary py-0 px-0 mx-0 w-100 white"},[t("v-spacer"),e._v(" "),t("div",{staticClass:"GPB_Banner-image px-0 py-0"},[t("v-img",{staticClass:"w-100 px-0 GPB_Banner-vimg gradient",attrs:{alt:e.bannerImageAlt,height:n.bannerHeight,src:e.bannerImageUrl,"aria-hidden":"true",cover:""}})],1)],1)])};i._withStripped=!0;var r=n("o0o1"),a=n.n(r),o=n("yXPU"),s=n.n(o),l=n("Kw5r"),c=n("QJZv"),u=n("IHoj"),d=n("AkwW"),h={__name:"GPB_Desktop",props:{journalImageUrl:{type:String,default:""},journalName:{type:String,default:""},bannerImageAlt:{type:String,default:""},bannerImageUrl:{type:String,default:""},bannerTitle:{type:String,default:""},bannerDescription:{type:String,default:""}},setup:function(e){var t,n=e,i=Object(l.useSlots)(),r=Object(l.reactive)({maxWidth:"0",zIndex:"1"}),o=Object(l.ref)(450),h=Object(l.ref)(null),f=Object(l.ref)(null),p=Object(c.a)(),m=Object(u.a)(),g=m.contentIsLTFixedWidthAndGTMobileBreakpoint,v=m.contentIsLTFixedWidth,b=m.contentIsMacbookWidth,y=Object(l.computed)((function(){return["GPB_Banner","isDesktop","py-0",{"px-0 mx-0":!b.value&&v.value},{"mx-2":!v.value}]})),_=Object(l.computed)((function(){return["GPB_Banner-content",{"px-5":g.value}]}));function x(){if(f.value){var e=f.value.getBoundingClientRect().height;o.value=Math.max(450,Math.ceil(e))}}return Object(l.onMounted)(s()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.maxWidth=document.body.getAttribute("data-fixed-width")||"100%",e.next=3,Object(l.nextTick)();case 3:x(),t=new ResizeObserver((function(){x()})),f.value&&t.observe(f.value),window.addEventListener("resize",x,{passive:!0});case 7:case"end":return e.stop()}}),e)})))),Object(l.onUnmounted)((function(){var e;null===(e=t)||void 0===e||e.disconnect(),window.removeEventListener("resize",x)})),{__sfc:!0,slot:i,contentStyle:r,bannerHeight:o,banner:h,card:f,props:n,vuetify:p,contentIsLTFixedWidthAndGTMobileBreakpoint:g,contentIsLTFixedWidth:v,contentIsMacbookWidth:b,GPBDesktopClass:y,bannerContentClass:_,recalcHeight:x,ro:t,H_GenericButton:d.default}}},f=(n("tVKw"),n("KHd+")),p=n("ZUTo"),m=n.n(p),g=n("rdoz"),v=n("L6Q5"),b=Object(f.a)(h,i,[],!1,null,"5f203b18",null);t.default=b.exports;m()(b,{VImg:g.a,VSpacer:v.a})},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},JvlW:function(e,t,n){!function(e){"use strict";
vendor: 2,245 bytes, lines 94-95
94//! moment.js locale configuration 95var t={ss:"sekundÄ_sekundžių_sekundes",m:"minutÄ_minutÄs_minutÄ",mm:"minutÄs_minuÄių_minutes",h:"valanda_valandos_valandÄ ",hh:"valandos_valandų_valandas",d:"diena_dienos_dienÄ ",dd:"dienos_dienų_dienas",M:"mÄnuo_mÄnesio_mÄnesį",MM:"mÄnesiai_mÄnesių_mÄnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,i){return t?r(n)[0]:i?r(n)[1]:r(n)[2]}function i(e){return e%10==0||e>10&&e<20}function r(e){return t[e].split("_")}function a(e,t,a,o){var s=e+" ";return 1===e?s+n(0,t,a[0],o):t?s+(i(e)?r(a)[1]:r(a)[0]):o?s+r(a)[1]:s+(i(e)?r(a)[1]:r(a)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužÄs_birželio_liepos_rugpjÅ«Äio_rugsÄjo_spalio_lapkriÄio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužÄ_birželis_liepa_rugpjÅ«tis_rugsÄjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_treÄiadienį_ketvirtadienį_penktadienį_Å¡eÅ¡tadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_treÄiadienis_ketvirtadienis_penktadienis_Å¡eÅ¡tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Å eÅ¡".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Å ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Å iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[PraÄjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieÅ¡ %s",s:function(e,t,n,i){return t?"kelios sekundÄs":i?"kelių sekundžių":"kelias sekundes"},ss:a,m:n,mm:a,h:n,hh:a,d:n,dd:a,M:n,MM:a,y:n,yy:a},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},"K/2z":function(e,t,n){},"K/tc":function(e,t,n){!function(e){"use strict";
96//! moment.js locale configuration 97e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},K13u:function(e,t,n){"use strict";n("K/2z");var i=n("uXRr"),r=n("xqZp"),a=n("gNKD");t.a=r.a.extend({name:"v-combobox",props:{delimiters:{type:Array,default:()=>[]},returnObject:{type:Boolean,default:!0}},data:()=>({editingIndex:-1}),computed:{computedCounterValue(){return this.multiple?this.selectedItems.length:(this.internalSearch||"").toString().length},hasSlot(){return i.a.options.computed.hasSlot.call(this)||this.multiple},isAnyValueAllowed:()=>!0,menuCanShow(){return!!this.isFocused&&(this.hasDisplayedItems||!!this.$slots["no-data"]&&!this.hideNoData)},searchIsDirty(){return null!=this.internalSearch}},methods:{onInternalSearchChanged(e){if(e&&this.multiple&&this.delimiters.length){const t=this.delimiters.find(t=>e.endsWith(t));null!=t&&(this.internalSearch=e.slice(0,e.length-t.length),this.updateTags())}this.updateMenuDimensions()},genInput(){const e=r.a.options.methods.genInput.call(this);return delete e.data.attrs.name,e.data.on.paste=this.onPaste,e},genChipSelection(e,t){const n=i.a.options.methods.genChipSelection.call(this,e,t);return this.multiple&&(n.componentOptions.listeners={...n.componentOptions.listeners,dblclick:()=>{this.editingIndex=t,this.internalSearch=this.getText(e),this.selectedIndex=-1}}),n},onChipInput(e){i.a.options.methods.onChipInput.call(this,e),this.editingIndex=-1},onEnterDown(e){e.preventDefault(),this.getMenuIndex()>-1||this.$nextTick(this.updateSelf)},onKeyDown(e){const t=e.keyCode;!e.ctrlKey&&[a.y.home,a.y.end].includes(t)||i.a.options.methods.onKeyDown.call(this,e),this.multiple&&t===a.y.left&&0===this.$refs.input.selectionStart?this.updateSelf():t===a.y.enter&&this.onEnterDown(e),this.changeSelectedIndex(t)},onTabDown(e){if(this.multiple&&this.internalSearch&&-1===this.getMenuIndex())return e.preventDefault(),e.stopPropagation(),this.updateTags();r.a.options.methods.onTabDown.call(this,e)},selectItem(e){this.editingIndex>-1?this.updateEditing():(r.a.options.methods.selectItem.call(this,e),this.internalSearch&&this.multiple&&this.getText(e).toLocaleLowerCase().includes(this.internalSearch.toLocaleLowerCase())&&(this.internalSearch=null))},setSelectedItems(){null==this.internalValue||""===this.internalValue?this.selectedItems=[]:this.selectedItems=this.multiple?this.internalValue:[this.internalValue]},setValue(e){i.a.options.methods.setValue.call(this,void 0===e?this.internalSearch:e)},updateEditing(){const e=this.internalValue.slice(),t=this.selectedItems.findIndex(e=>this.getText(e)===this.internalSearch);if(t>-1){const n="object"==typeof e[t]?Object.assign({},e[t]):e[t];e.splice(t,1),e.push(n)}else e[this.editingIndex]=this.internalSearch;this.setValue(e),this.editingIndex=-1,this.internalSearch=null},updateCombobox(){if(!this.searchIsDirty)return;this.internalSearch!==this.getText(this.internalValue)&&this.setValue();(Boolean(this.$scopedSlots.selection)||this.hasChips)&&(this.internalSearch=null)},updateSelf(){this.multiple?this.updateTags():this.updateCombobox()},updateTags(){const e=this.getMenuIndex();if(e<0&&!this.searchIsDirty||!this.internalSearch)return;if(this.editingIndex>-1)return this.updateEditing();const t=this.selectedItems.findIndex(e=>this.internalSearch===this.getText(e)),n=t>-1&&"object"==typeof this.selectedItems[t]?Object.assign({},this.selectedItems[t]):this.internalSearch;if(t>-1){const e=this.internalValue.slice();e.splice(t,1),this.setValue(e)}if(e>-1)return this.internalSearch=null;this.selectItem(n),this.internalSearch=null},onPaste(e){var t;if(this.$emit("paste",e),!this.multiple||this.searchIsDirty)return;const n=null===(t=e.clipboardData)||void 0===t?void 0:t.getData("text/vnd.vuetify.autocomplete.item+plain");n&&-1===this.findExistingIndex(n)&&(e.preventDefault(),i.a.options.methods.selectItem.call(this,n))},clearableCallback(){this.editingIndex=-1,r.a.options.methods.clearableCallback.call(this)}}})},K8WS:function(e,t,n){"use strict";n("q9PU");var i=n("HIdI"),r=n("WN+I"),a=n("gNKD"),o=Object(r.a)(i.a).extend({name:"v-breadcrumbs-item",props:{activeClass:{type:String,default:"v-breadcrumbs__item--disabled"},ripple:{type:[Boolean,Object],default:!1}},computed:{classes(){return{"v-breadcrumbs__item":!0,[this.activeClass]:this.disabled}}},render(e){const{tag:t,data:n}=this.generateRouteLink();return e("li",[e(t,{...n,attrs:{...n.attrs,"aria-current":this.isActive&&this.isLink?"page":void 0}},Object(a.s)(this))])}}),s=Object(a.j)("v-breadcrumbs__divider","li"),l=n("dWAg");t.a=Object(r.a)(l.a).extend({name:"v-breadcrumbs",props:{divider:{type:String,default:"/"},items:{type:Array,default:()=>[]},large:Boolean},computed:{classes(){return{"v-breadcrumbs--large":this.large,...this.themeClasses}}},methods:{genDivider(){return this.$createElement(s,this.$slots.divider?this.$slots.divider:this.divider)},genItems(){const e=[],t=!!this.$scopedSlots.item,n=[];for(let i=0;i<this.items.length;i++){const r=this.items[i];n.push(r.text),t?e.push(this.$scopedSlots.item({item:r})):e.push(this.$createElement(o,{key:n.join("."),props:r},[r.text])),i<this.items.length-1&&e.push(this.genDivider())}return e}},render(e){const t=Object(a.s)(this)||this.genItems();return e("ul",{staticClass:"v-breadcrumbs",class:this.classes},t)}})},KBoY:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("v-dialog",{attrs:{"max-width":"400"},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on;return[t("div",{},[t("h2",{staticClass:"slim d-flex space-between mr-4"},[e._v("User Cards "),t("button",e._g({staticClass:"btn btn-primary ml-4",attrs:{dark:""}},i),[t("i",{staticClass:"icon icon-plus mr-1"}),e._v(" Add user card")])])])]}}]),model:{value:e.userAddCardModal,callback:function(t){e.userAddCardModal=t},expression:"userAddCardModal"}},[e._v(" "),t("v-card",[t("v-card-title",[t("span",{staticClass:"headline"},[e._v("Add a user card")])]),e._v(" "),t("v-card-text",{staticClass:"pb-0"},[t("v-container",[t("v-row",[t("v-radio-group",{attrs:{row:"","hide-details":""},on:{change:e.switchCardType},model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},[t("v-radio",{attrs:{label:"Red",color:"red",value:"red"},on:{change:function(t){e.note=""}}}),e._v(" "),t("v-radio",{attrs:{label:"Green",color:"green",value:"green"},on:{change:function(t){e.note=""}}})],1),e._v(" "),t("v-col",{staticClass:"px-0 pt-2",attrs:{cols:"12"}},[e.userCardCategories?t("v-autocomplete",{ref:"cardCategory",attrs:{items:e.userCardCategories,label:"User card category","item-value":"@id","item-text":e.categoryText,placeholder:"Start typing to filter categories",required:"","return-object":""},on:{change:e.populateCardComments},model:{value:e.userCardCategory,callback:function(t){e.userCardCategory=t},expression:"userCardCategory"}}
97):e._e(),e._v(" "),t("v-textarea",{ref:"note",staticClass:"pt-0",attrs:{"error-messages":e.noteError,label:"Note",placeholder:"Why does this person deserve this card?",required:""},model:{value:e.note,callback:function(t){e.note=t},expression:"note"}})],1)],1)],1)],1),e._v(" "),t("v-card-actions",{staticClass:"pb-4"},[t("v-spacer"),e._v(" "),t("v-btn",{attrs:{outlined:""},on:{click:e.closeAddUserCardModal}},[e._v("\n Close\n ")]),e._v(" "),t("v-btn",{attrs:{color:"primary",outlined:"",disabled:0===e.userCardCategory&&0===e.note},on:{click:e.addUserCard}},[e._v("\n Submit\n ")])],1)],1)],1)};i._withStripped=!0;var r=n("o0o1"),a=n.n(r),o=n("yXPU"),s=n.n(o),l=n("lSNA"),c=n.n(l),u=n("L2JU"),d=n("WTW0");function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p={name:"UserAddCardModal",props:{user:{type:String}},computed:f(f({},Object(u.c)("userCardCategory",{userCardCategories:"list"})),Object(d.c)("userCardCategory",{deletedItem:"deleted",error:"error",isLoading:"isLoading",resetList:"resetList",totalItems:"totalItems",view:"view"})),watch:{userAddCardModal:function(e){e&&(this.resetList=!0,this.focusCardCategory())}},data:function(){return{note:null,noteError:null,userAddCardModal:!1,userCardCategory:null,type:"red"}},methods:f(f(f({},Object(u.b)("userCardCategory",{getUserCardCategories:"fetchAll"})),Object(u.b)("userCard",{createUserCard:"create"})),{},{addUserCard:function(){var e=this;return s()(a.a.mark((function t(){var n,i,r,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=JSON.parse(e.user),i="/api/v2/users/".concat(n[0]),r=e.account["@id"],o={user:i,userCardCategory:e.userCardCategory["@id"],note:e.note,type:e.type,creator:r},t.prev=4,t.next=7,e.createUserCard(o,!0).then((function(){e.$router.go()}));case 7:t.next=12;break;case 9:t.prev=9,t.t0=t.catch(4),console.log(t.t0);case 12:case"end":return t.stop()}}),t,null,[[4,9]])})))()},categoryText:function(e){return"".concat(e.cardCode," - ").concat(e.cardComment||"User defined")},populateCardComments:function(e){this.note=e.cardComment},closeAddUserCardModal:function(){this.type="red",this.note="",this.userCardCategory=null,this.userAddCardModal=!1},fetchCardCategoryData:function(){var e=this;return s()(a.a.mark((function t(){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.getUserCardCategories({itemsPerPage:100,cardColor:e.type});case 2:case"end":return t.stop()}}),t)})))()},switchCardType:function(e){var t=this;return s()(a.a.mark((function n(){return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t.type=e,t.resetList=!0,n.prev=2,n.next=5,t.fetchCardCategoryData();case 5:t.focusCardCategory(),n.next=11;break;case 8:n.prev=8,n.t0=n.catch(2),console.error("error fetching card categories",n.t0);case 11:case"end":return n.stop()}}),n,null,[[2,8]])})))()},focusCardCategory:function(){var e=this;if(this.userCardCategories&&1===this.userCardCategories.length)return this.userCardCategory=this.userCardCategories[0],void this.$nextTick((function(){setTimeout((function(){var t;null===(t=e.$refs.note)||void 0===t||t.focus()}))}));this.$nextTick((function(){setTimeout((function(){var t;null===(t=e.$refs.cardCategory)||void 0===t||t.focus()}))}))}}),created:function(){var e=this;return s()(a.a.mark((function t(){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.fetchCardCategoryData();case 2:case"end":return t.stop()}}),t)})))()}},m=n("KHd+"),g=n("ZUTo"),v=n.n(g),b=n("xqZp"),y=n("gzZi"),_=n("sK+t"),x=n("mdmw"),w=n("Yq0q"),k=n("pSOK"),S=n("FpqX"),M=n("Z7Yp"),L=n("Q6Zl"),A=n("D9m0"),O=n("L6Q5"),C=n("qEQh"),T=Object(m.a)(p,i,[],!1,null,null,null);
97t.default=T.exports;v()(T,{VAutocomplete:b.a,VBtn:y.a,VCard:_.a,VCardActions:x.a,VCardText:x.c,VCardTitle:x.d,VCol:w.a,VContainer:k.a,VDialog:S.a,VRadio:M.a,VRadioGroup:L.a,VRow:A.a,VSpacer:O.a,VTextarea:C.a})},KKAs:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("v-card",{staticClass:"rounded-0 mb-6"},[t("h2",{staticClass:"subtitle-1 grey--text text--darken-1 pb-1 font-weight-bold px-4 pt-4 mb-0 pb-1"},[e._v("\n Membership End Date\n ")]),e._v(" "),e.endDate?t("v-card-text",[t("div",{staticClass:"blue--text text--darken-2 font-weight-bold"},[e._v(e._s(e._f("dateFormat")(e.endDate,"EEEE do MMMM yyyy")))]),e._v(" "),t("div",{staticClass:"caption mt-4"},[e._v("Want to use the Membership after this date?")]),e._v(" "),t("a",{staticClass:"text-decoration-none",attrs:{href:"mailto:"+e.contactEmail}},[e._v("Let your librarian know")])]):t("v-card-text",[t("div",[e._v("No current membership")]),e._v(" "),t("a",{staticClass:"text-decoration-none",attrs:{href:"mailto:"+e.contactEmail}},[e._v("Contact your librarian")])])],1)};i._withStripped=!0;var r={props:{endDate:{type:String,required:!0},contactEmail:String}},a=n("KHd+"),o=n("ZUTo"),s=n.n(o),l=n("sK+t"),c=n("mdmw"),u=Object(a.a)(r,i,[],!1,null,null,null);t.default=u.exports;s()(u,{VCard:l.a,VCardText:c.c})},KSF8:function(e,t,n){!function(e){"use strict";
vendor: 1,489 bytes, lines 98-99
98//! moment.js locale configuration 99e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chá»§ nháºt_thứ hai_thứ ba_thứ tư_thứ nÄm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [nÄm] YYYY",LLL:"D MMMM [nÄm] YYYY HH:mm",LLLL:"dddd, D MMMM [nÄm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngà y mai lúc] LT",nextWeek:"dddd [tuần tá»i lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trưá»c lúc] LT",sameElse:"L"},relativeTime:{future:"%s tá»i",past:"%s trưá»c",s:"và i giây",ss:"%d giây",m:"má»t phút",mm:"%d phút",h:"má»t giá»",hh:"%d giá»",d:"má»t ngà y",dd:"%d ngà y",w:"má»t tuần",ww:"%d tuần",M:"má»t tháng",MM:"%d tháng",y:"má»t nÄm",yy:"%d nÄm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},KTz0:function(e,t,n){!function(e){"use strict";
100//! moment.js locale configuration 101var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._Äet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_Äe_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juÄe u] LT",lastWeek:function(){return["[proÅ¡le] [nedjelje] [u] LT","[proÅ¡log] [ponedjeljka] [u] LT","[proÅ¡log] [utorka] [u] LT","[proÅ¡le] [srijede] [u] LT","[proÅ¡log] [Äetvrtka] [u] LT","[proÅ¡log] [petka] [u] LT","[proÅ¡le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},Kena:function(e,t,n){"use strict";n.r(t),function(e){var i=n("lSNA"),r=n.n(i),a=n("GoyQ"),o=n.n(a),s=n("YB1K"),l=n("5rbR"),c=n("Zchh");function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h="application/ld+json",f=function(e,t){return t.map((function(t){return"".concat(e,"[]=").concat(t)})).join("&")};t.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===n.headers&&(n.headers={}),n.headers.hasOwnProperty("Accept")||(n.headers=d(d({},n.headers),{},{Accept:h})),void 0===n.body||n.body instanceof FormData||n.headers.hasOwnProperty("Content-Type")||(n.headers=d(d({},n.headers),{},{"Content-Type":h})),n.params){var i=Object(c.normalize)(n.params),r=Object.keys(i).map((function(e){return Array.isArray(i[e])?f(e,i[e]):"".concat(e,"=").concat(i[e])})).join("&");t="".concat(t,"?").concat(r)}var a=s.ENTRYPOINT+(s.ENTRYPOINT.endsWith("/")?"":"/"),u=n.body&&JSON.parse(n.body);return o()(u)&&u["@id"]&&(void 0!==n.hasEmbeddedUpdates&&n.hasEmbeddedUpdates?(delete n.hasEmbeddedUpdates,n.body=JSON.stringify(Object(c.normalizeEmbedded)(u))):n.body=JSON.stringify(Object(c.normalize)(u))),e.fetch(new URL(t,a),n).then((function(e){return e.ok?e:e.json().then((function(t){var n=t["hydra:description"]||t["hydra:title"]||"An error occurred.";if(!t.violations)throw Error(n);var i={_error:n};throw t.violations.forEach((function(e){return i[e.propertyPath]?i[e.propertyPath]+="\n"+i[e.propertyPath]:i[e.propertyPath]=e.message})),new l.default(i,e)}),(function(){throw new Error(e.statusText||"An error occurred.")}))}))}}.call(this,n("yLpj"))},Kf3r:function(e,t,n){"use strict";n.r(t),t.default={path:"/staff/reports/",name:"reports",component:{render:function(e){return e("router-view")}},children:[{path:"grouped-citations",name:"GroupedCitationsReport",component:function(){return n.e(269).then(n.bind(null,"iEL0"))}}]}},KhKh:function(e,t,n){"use strict";
101Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("eO9T");t.default=function(e){return(0,i.withParams)({type:"maxLength",max:e},(function(t){return!(0,i.req)(t)||(0,i.len)(t)<=e}))}},Kn9U:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));var i=n("cdmR"),r=n("gNKD");const a=Object(r.j)("v-toolbar__title"),o=Object(r.j)("v-toolbar__items");i.a},KxBF:function(e,t){e.exports=function(e,t,n){var i=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(r);++i<r;)a[i]=e[i+t];return a}},L0vI:function(e,t,n){},LGRd:function(e,t,n){},LKqP:function(e,t,n){"use strict";n("moDH")},LT5t:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("div",{class:e.hubAlertClass,attrs:{id:"hubAlert"}},[e.hasHubAlert?[t("v-card",{staticClass:"GroupManageDiscount"},[t("div",[t("strong",[e._v("Hub submission:")]),e._v(" "),t("a",{staticClass:"GroupManageDiscount-link",attrs:{href:e.href,target:"_blank"}},[e._v("\n "+e._s(e.label)+"\n ")]),e._v(" "),e.communityMembershipExpired?[e.expiredPreAccept||e.expiredAccept?[t("div",{domProps:{textContent:e._s(e.expiredPreAccept||e.expiredAccept)}})]:e._e()]:e.communityMembershipAvailable&&e.hasAppGroup?[e.nonExpiredPreAccept||e.nonExpiredAccept?[t("div",{domProps:{textContent:e._s(e.nonExpiredPreAccept||e.nonExpiredAccept)}})]:e._e()]:[t("div",{staticClass:"d-flex"},[e.nonMemberAccept||e.nonMemberPreAccept?[t("div",{domProps:{textContent:e._s(e.nonMemberAccept||e.nonMemberPreAccept)}}),e._v(" \n ")]:e._e(),e._v(" "),t("a",{staticClass:"GroupManageDiscount-link",attrs:{href:"/hubs/".concat(e.slug,"/subscribe")}},[e._v("\n Join here\n ")])],2)]],2),e._v(" "),e.groupSubmission?[t("div",[t("v-btn",{staticClass:"ManageDiscountButton",attrs:{small:"",text:""},on:{click:e.showGroupDiscountDialog}},[e._v("\n Manage Discount \n "),t("v-icon",[e._v("mdi-chevron-down")])],1)],1)]:e._e()],2)]:e._e(),e._v(" "),e.loadGroupDiscountDialog?t("GroupDiscountDialog",{attrs:{openGroupDiscountDialog:e.showGroupDialog,submission:e.groupSubmission,"app-group":e.appGroup,"article-id":e.articleId,article:e.article,"community-membership-expired":e.communityMembershipExpired,"community-membership-available":e.communityMembershipAvailable&&e.hasAppGroup},on:{"update:openGroupDiscountDialog":function(t){e.showGroupDialog=t},"update:open-group-discount-dialog":function(t){e.showGroupDialog=t},closeGroupDiscountDialog:function(t){e.showGroupDialog=!1}}}):e._e()],2)};i._withStripped=!0;var r=n("J4zp"),a=n.n(r),o=n("o0o1"),s=n.n(o),l=n("yXPU"),c=n.n(l),u=n("vDqi"),d=n.n(u),h={components:{GroupDiscountDialog:n("/wn7").default},props:{revision:{type:String},slug:{type:String},status:{type:String},href:{type:String},communitymembershipavailable:{type:String},communitymembershipexpired:{type:String},label:{type:String}},data:function(){return{article:null,appGroup:null,hasAppGroup:!1,loadGroupDiscountDialog:!1,showGroupDialog:!1,groupSubmission:null}},computed:{communityMembershipAvailable:function(){return/true/.test(this.communitymembershipavailable)},communityMembershipExpired:function(){return/true/.test(this.communitymembershipexpired)},hasHubAlert:function(){var e,t;return!(null===(e=this.appGroup)||void 0===e||null===(t=e.hubAlertSettings)||void 0===t||!t.hasHubAlert)},hubAlertClass:function(){return["HubAlertWrapper",{"pb-2":this.hasHubAlert},{isHidden:!this.hasHubAlert}]},articleId:function(){var e;return this.revision&&parseInt(null===(e=JSON.parse(this.revision))||void 0===e?void 0:e.article)||-1},revisionId:function(){var e;return this.revision?(null===(e=JSON.parse(this.revision))||void 0===e?void 0:e.revision)||-1:void 0},isPreAccept:function(){return["review","review_editor","review_new","review_revised","check","new"].includes(this.status)},isAccepted:function(){return"accepted"===this.status},nonMemberAccept:function(){var e,t;return this.isAccepted&&(null===(e=this.appGroup)||void 0===e||null===(t=e.hubAlertSettings)||void 0===t?void 0:t.nonMemberAccept)},nonMemberPreAccept:function(){var e,t;return this.isPreAccept&&(null===(e=this.appGroup)||void 0===e||null===(t=e.hubAlertSettings)||void 0===t?void 0:t.nonMemberPreAccept)},nonExpiredPreAccept:function(){var e,t;return this.isPreAccept&&(null===(e=this.appGroup)||void 0===e||null===(t=e.hubAlertSettings)||void 0===t?void 0:t.nonExpiredPreAccept)},nonExpiredAccept:function(){var e,t;return this.isAccepted&&(null===(e=this.appGroup)||void 0===e||null===(t=e.hubAlertSettings)||void 0===t?void 0:t.nonExpiredAccept)},expiredPreAccept:function(){var e,t;return this.isPreAccept&&(null===(e=this.appGroup)||void 0===e||null===(t=e.hubAlertSettings)||void 0===t?void 0:t.expiredPreAccept)},expiredAccept:function(){var e,t;return this.isAccepted&&(null===(e=this.appGroup)||void 0===e||null===(t=e.hubAlertSettings)||void 0===t?void 0:t.expiredAccept)}},mounted:function(){var e=this;return c()(s.a.mark((function t(){return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.loadGroupSubmission();case 2:return t.next=4,e.loadAppGroups();case 4:return t.next=6,e.loadArticle();case 6:case"end":return t.stop()}}),t)})))()},methods:{showGroupDiscountDialog:function(){this.loadGroupDiscountDialog=!0,this.showGroupDialog=!0},loadGroupSubmission:function(){var e=this;return c()(s.a.mark((function t(){var n,i;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,d.a.get("/groups/view-discount/"+e.articleId);case 3:n=t.sent,null!=(i=n.data)&&i.submission&&(e.groupSubmission=i.submission),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),console.error(t.t0);case 11:case"end":return t.stop()}}),t,null,[[0,8]])})))()},loadAppGroups:function(){var e=this;return c()(s.a.mark((function t(){var n,i,r,o,l,c;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,d.a.get("/api/v2/groups/"+e.slug);case 3:return r=t.sent,o=r.data,e.appGroup=o,t.next=8,d.a.get("/api/v2/group_user_authors",{params:{revision_
101id:e.revisionId,slug:e.slug}});case 8:l=t.sent,c=l.data,e.hasAppGroup=!(null===(n=Object.entries(c))||void 0===n||null===(i=n.filter((function(e){var t=a()(e,2),n=t[0],i=t[1];return!isNaN(parseInt(n))&&i.externalMember})))||void 0===i||!i.length),t.next=16;break;case 13:t.prev=13,t.t0=t.catch(0),console.error(t.t0);case 16:case"end":return t.stop()}}),t,null,[[0,13]])})))()},loadArticle:function(){var e=this;return c()(s.a.mark((function t(){var n,i;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,d.a.get("/api/v2/articles/"+e.articleId);case 3:n=t.sent,i=n.data,e.article=i,t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),console.error(t.t0);case 11:case"end":return t.stop()}}),t,null,[[0,8]])})))()}}},f=(n("gsRk"),n("KHd+")),p=n("ZUTo"),m=n.n(p),g=n("gzZi"),v=n("sK+t"),b=n("Ey0z"),y=Object(f.a)(h,i,[],!1,null,"14dd32b3",null);t.default=y.exports;m()(y,{VBtn:g.a,VCard:v.a,VIcon:b.a})},LbRV:function(e,t,n){"use strict";n("ynEo");var i=n("jdmY"),r=n("qa07"),a=n("dWAg"),o=n("8ud9"),s=n("/myT"),l=n("WN+I"),c=n("gNKD"),u=n("2b3T");t.a=Object(l.a)(i.a,r.a,o.a,Object(s.b)(["absolute","bottom","left","right","top"])).extend({name:"v-snackbar",props:{app:Boolean,centered:Boolean,contentClass:{type:String,default:""},multiLine:Boolean,text:Boolean,timeout:{type:[Number,String],default:5e3},transition:{type:[Boolean,String],default:"v-snack-transition",validator:e=>"string"==typeof e||!1===e},vertical:Boolean},data:()=>({activeTimeout:-1}),computed:{classes(){return{"v-snack--absolute":this.absolute,"v-snack--active":this.isActive,"v-snack--bottom":this.bottom||!this.top,"v-snack--centered":this.centered,"v-snack--has-background":this.hasBackground,"v-snack--left":this.left,"v-snack--multi-line":this.multiLine&&!this.vertical,"v-snack--right":this.right,"v-snack--text":this.text,"v-snack--top":this.top,"v-snack--vertical":this.vertical}},hasBackground(){return!this.text&&!this.outlined},isDark(){return this.hasBackground?!this.light:a.a.options.computed.isDark.call(this)},styles(){if(this.absolute||!this.app)return{};const{bar:e,bottom:t,footer:n,insetFooter:i,left:r,right:a,top:o}=this.$vuetify.application;return{paddingBottom:Object(c.h)(t+n+i),paddingLeft:Object(c.h)(r),paddingRight:Object(c.h)(a),paddingTop:Object(c.h)(e+o)}}},watch:{isActive:"setTimeout",timeout:"setTimeout"},mounted(){this.isActive&&this.setTimeout()},created(){this.$attrs.hasOwnProperty("auto-height")&&Object(u.e)("auto-height",this),0==this.timeout&&Object(u.d)('timeout="0"',"-1",this)},methods:{genActions(){return this.$createElement("div",{staticClass:"v-snack__action "},[Object(c.s)(this,"action",{attrs:{class:"v-snack__btn"}})])},genContent(){return this.$createElement("div",{staticClass:"v-snack__content",class:{[this.contentClass]:!0},attrs:{role:"status","aria-live":"polite"}},[Object(c.s)(this)])},genWrapper(){const e=(this.hasBackground?this.setBackgroundColor:this.setTextColor)(this.color,{staticClass:"v-snack__wrapper",class:i.a.options.computed.classes.call(this),style:i.a.options.computed.styles.call(this),directives:[{name:"show",value:this.isActive}],on:{pointerenter:()=>window.clearTimeout(this.activeTimeout),pointerleave:this.setTimeout}});return this.$createElement("div",e,[this.genContent(),this.genActions()])},genTransition(){return this.$createElement("transition",{props:{name:this.transition}},[this.genWrapper()])},setTimeout(){window.clearTimeout(this.activeTimeout);const e=Number(this.timeout);this.isActive&&![0,-1].includes(e)&&(this.activeTimeout=window.setTimeout(()=>{this.isActive=!1},e))}},render(e){return e("div",{staticClass:"v-snack",class:this.classes,style:this.styles},[!1!==this.transition?this.genTransition():this.genWrapper()])}})},LcsW:function(e,t,n){var i=n("kekF")(Object.getPrototypeOf,Object);e.exports=i},Loxo:function(e,t,n){!function(e){"use strict";
102//! moment.js locale configuration 103e.defineLocale("uz",{months:"ÑнваÑ_ÑевÑал_маÑÑ_апÑел_май_иÑн_иÑл_авгÑÑÑ_ÑенÑÑбÑ_окÑÑбÑ_ноÑбÑ_декабÑ".split("_"),monthsShort:"Ñнв_Ñев_маÑ_апÑ_май_иÑн_иÑл_авг_Ñен_окÑ_ноÑ_дек".split("_"),weekdays:"ЯкÑанба_ÐÑÑанба_СеÑанба_ЧоÑÑанба_ÐайÑанба_ÐÑма_Шанба".split("_"),weekdaysShort:"ЯкÑ_ÐÑÑ_СеÑ_ЧоÑ_Ðай_ÐÑм_Шан".split("_"),weekdaysMin:"Як_ÐÑ_Се_Чо_Ðа_ÐÑ_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[ÐÑгÑн ÑоаÑ] LT [да]",nextDay:"[ÐÑÑага] LT [да]",nextWeek:"dddd [кÑни ÑоаÑ] LT [да]",lastDay:"[ÐеÑа ÑоаÑ] LT [да]",lastWeek:"[УÑган] dddd [кÑни ÑоаÑ] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s иÑида",past:"ÐÐ¸Ñ Ð½ÐµÑа %s олдин",s:"ÑÑÑÑаÑ",ss:"%d ÑÑÑÑаÑ",m:"Ð±Ð¸Ñ Ð´Ð°ÐºÐ¸ÐºÐ°",mm:"%d дакика",h:"Ð±Ð¸Ñ ÑоаÑ",hh:"%d ÑоаÑ",d:"Ð±Ð¸Ñ ÐºÑн",dd:"%d кÑн",M:"Ð±Ð¸Ñ Ð¾Ð¹",MM:"%d ой",y:"Ð±Ð¸Ñ Ð¹Ð¸Ð»",yy:"%d йил"},week:{dow:1,doy:7}})}(n("wd/R"))},LvDl:function(e,t,n){(function(e,i){var r; 104/** 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 */(function(){var a="Expected a function",o="__lodash_placeholder__",s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],l="[object Arguments]",c="[object Array]",u="[object Boolean]",d="[object Date]",h="[object Error]",f="[object Function]",p="[object GeneratorFunction]",m="[object Map]",g="[object Number]",v="[object Object]",b="[object RegExp]",y="[object Set]",_="[object String]",x="[object Symbol]",w="[object WeakMap]",k="[object ArrayBuffer]",S="[object DataView]",M="[object Float32Array]",L="[object Float64Array]",A="[object Int8Array]",O="[object Int16Array]",C="[object Int32Array]",T="[object Uint8Array]",E="[object Uint16Array]",D="[object Uint32Array]",P=/\b__p \+= '';/g,j=/\b(__p \+=) '' \+/g,Y=/(__e\(.*?\)|\b__t\)) \+\n'';/g,I=/&(?:amp|lt|gt|quot|#39);/g,R=/[&<>"']/g,H=RegExp(I.source),N=RegExp(R.source),F=/<%-([\s\S]+?)%>/g,z=/<%([\s\S]+?)%>/g,B=/<%=([\s\S]+?)%>/g,W=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,V=/^\w*$/,$=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,U=/[\\^$.*+?()[\]{}|]/g,X=RegExp(U.source),G=/^\s+|\s+$/g,q=/^\s+/,J=/\s+$/,K=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Z=/\{\n\/\* \[wrapped with (.+)\] \*/,Q=/,? & /,ee=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ie=/\w*$/,re=/^[-+]0x[0-9a-f]+$/i,ae=/^0b[01]+$/i,oe=/^\[object .+?Constructor\]$/,se=/^0o[0-7]+$/i,le=/^(?:0|[1-9]\d*)$/,ce=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 8,273 bytes, line 111
1117f]/g,ue=/($^)/,de=/['\n\r\u2028\u2029\\]/g,he="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",fe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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",pe="[\\ud800-\\udfff]",me="["+fe+"]",ge="["+he+"]",ve="\\d+",be="[\\u2700-\\u27bf]",ye="[a-z\\xdf-\\xf6\\xf8-\\xff]",_e="[^\\ud800-\\udfff"+fe+ve+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",xe="\\ud83c[\\udffb-\\udfff]",we="[^\\ud800-\\udfff]",ke="(?:\\ud83c[\\udde6-\\uddff]){2}",Se="[\\ud800-\\udbff][\\udc00-\\udfff]",Me="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Le="(?:"+ye+"|"+_e+")",Ae="(?:"+Me+"|"+_e+")",Oe="(?:"+ge+"|"+xe+")"+"?",Ce="[\\ufe0e\\ufe0f]?"+Oe+("(?:\\u200d(?:"+[we,ke,Se].join("|")+")[\\ufe0e\\ufe0f]?"+Oe+")*"),Te="(?:"+[be,ke,Se].join("|")+")"+Ce,Ee="(?:"+[we+ge+"?",ge,ke,Se,pe].join("|")+")",De=RegExp("['â]","g"),Pe=RegExp(ge,"g"),je=RegExp(xe+"(?="+xe+")|"+Ee+Ce,"g"),Ye=RegExp([Me+"?"+ye+"+(?:['â](?:d|ll|m|re|s|t|ve))?(?="+[me,Me,"$"].join("|")+")",Ae+"+(?:['â](?:D|LL|M|RE|S|T|VE))?(?="+[me,Me+Le,"$"].join("|")+")",Me+"?"+Le+"+(?:['â](?:d|ll|m|re|s|t|ve))?",Me+"+(?:['â](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ve,Te].join("|"),"g"),Ie=RegExp("[\\u200d\\ud800-\\udfff"+he+"\\ufe0e\\ufe0f]"),Re=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,He=["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"],Ne=-1,Fe={};Fe[M]=Fe[L]=Fe[A]=Fe[O]=Fe[C]=Fe[T]=Fe["[object Uint8ClampedArray]"]=Fe[E]=Fe[D]=!0,Fe[l]=Fe[c]=Fe[k]=Fe[u]=Fe[S]=Fe[d]=Fe[h]=Fe[f]=Fe[m]=Fe[g]=Fe[v]=Fe[b]=Fe[y]=Fe[_]=Fe[w]=!1;var ze={};ze[l]=ze[c]=ze[k]=ze[S]=ze[u]=ze[d]=ze[M]=ze[L]=ze[A]=ze[O]=ze[C]=ze[m]=ze[g]=ze[v]=ze[b]=ze[y]=ze[_]=ze[x]=ze[T]=ze["[object Uint8ClampedArray]"]=ze[E]=ze[D]=!0,ze[h]=ze[f]=ze[w]=!1;var Be={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},We=parseFloat,Ve=parseInt,$e="object"==typeof e&&e&&e.Object===Object&&e,Ue="object"==typeof self&&self&&self.Object===Object&&self,Xe=$e||Ue||Function("return this")(),Ge=t&&!t.nodeType&&t,qe=Ge&&"object"==typeof i&&i&&!i.nodeType&&i,Je=qe&&qe.exports===Ge,Ke=Je&&$e.process,Ze=function(){try{var e=qe&&qe.require&&qe.require("util").types;return e||Ke&&Ke.binding&&Ke.binding("util")}catch(e){}}(),Qe=Ze&&Ze.isArrayBuffer,et=Ze&&Ze.isDate,tt=Ze&&Ze.isMap,nt=Ze&&Ze.isRegExp,it=Ze&&Ze.isSet,rt=Ze&&Ze.isTypedArray;function at(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function ot(e,t,n,i){for(var r=-1,a=null==e?0:e.length;++r<a;){var o=e[r];t(i,o,n(o),e)}return i}function st(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}function lt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function ct(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(!t(e[n],n,e))return!1;return!0}function ut(e,t){for(var n=-1,i=null==e?0:e.length,r=0,a=[];++n<i;){var o=e[n];t(o,n,e)&&(a[r++]=o)}return a}function dt(e,t){return!!(null==e?0:e.length)&&xt(e,t,0)>-1}function ht(e,t,n){for(var i=-1,r=null==e?0:e.length;++i<r;)if(n(t,e[i]))return!0;return!1}function ft(e,t){for(var n=-1,i=null==e?0:e.length,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}function pt(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}function mt(e,t,n,i){var r=-1,a=null==e?0:e.length;for(i&&a&&(n=e[++r]);++r<a;)n=t(n,e[r],r,e);return n}function gt(e,t,n,i){var r=null==e?0:e.length;for(i&&r&&(n=e[--r]);r--;)n=t(n,e[r],r,e);return n}function vt(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}var bt=Mt("length");function yt(e,t,n){var i;return n(e,(function(e,n,r){if(t(e,n,r))return i=n,!1})),i}function _t(e,t,n,i){for(var r=e.length,a=n+(i?1:-1);i?a--:++a<r;)if(t(e[a],a,e))return a;return-1}function xt(e,t,n){return t==t?function(e,t,n){var i=n-1,r=e.length;for(;++i<r;)if(e[i]===t)return i;return-1}(e,t,n):_t(e,kt,n)}function wt(e,t,n,i){for(var r=n-1,a=e.length;++r<a;)if(i(e[r],t))return r;return-1}function kt(e){return e!=e}function St(e,t){var n=null==e?0:e.length;return n?Ot(e,t)/n:NaN}function Mt(e){return function(t){return null==t?void 0:t[e]}}function Lt(e){return function(t){return null==e?void 0:e[t]}}function At(e,t,n,i,r){return r(e,(function(e,r,a){n=i?(i=!1,e):t(n,e,r,a)})),n}function Ot(e,t){for(var n,i=-1,r=e.length;++i<r;){var a=t(e[i]);void 0!==a&&(n=void 0===n?a:n+a)}return n}function Ct(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function Tt(e){return function(t){return e(t)}}function Et(e,t){return ft(t,(function(t){return e[t]}))}function Dt(e,t){return e.has(t)}function Pt(e,t){for(var n=-1,i=e.length;++n<i&&xt(t,e[n],0)>-1;);return n}function jt(e,t){for(var n=e.length;n--&&xt(t,e[n],0)>-1;);return n}function Yt(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&++i;return i}var It=Lt({"Ã":"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","Å¿":"s"}),Rt=Lt({"&":"&","<":"<",">":">",'"':""","'":"'"});function Ht(e){return"\\"+Be[e]}function Nt(e){return Ie.test(e)}function Ft(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}function zt(e,t){return function(n){return e(t(n))}}function Bt(e,t){for(var n=-1,i=e.length,r=0,a=[];++n<i;){var s=e[n];s!==t&&s!==o||(e[n]=o,a[r++]=n)}return a}function Wt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Vt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function $t(e){return Nt(e)?function(e){var t=je.lastIndex=0;for(;je.test(e);)++t;return t}(e):bt(e)}function Ut(e){return Nt(e)?function(e){return e.match(je)||[]}(e):function(e){return e.split("")}(e)}var Xt=Lt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var Gt=function e(t){var n,i=(t=null==t?Xe:Gt.defaults(Xe.Object(),t,Gt.pick(Xe,He))).Array,r=t.Date,he=t.Error,fe=t.Function,pe=t.Math,me=t.Object,ge=t.RegExp,ve=t.String,be=t.TypeError,ye=i.prototype,_e=fe.prototype,xe=me.prototype,we=t["__core-js_shared__"],ke=_e.toString,Se=xe.hasOwnProperty,Me=0,Le=(n=/[^.]+$/.exec(we&&we.keys&&we.keys.IE_PROTO||""))?"Symbol(sr
111c)_1."+n:"",Ae=xe.toString,Oe=ke.call(me),Ce=Xe._,Te=ge("^"+ke.call(Se).replace(U,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ee=Je?t.Buffer:void 0,je=t.Symbol,Ie=t.Uint8Array,Be=Ee?Ee.allocUnsafe:void 0,$e=zt(me.getPrototypeOf,me),Ue=me.create,Ge=xe.propertyIsEnumerable,qe=ye.splice,Ke=je?je.isConcatSpreadable:void 0,Ze=je?je.iterator:void 0,bt=je?je.toStringTag:void 0,Lt=function(){try{var e=Qr(me,"defineProperty");return e({},"",{}),e}catch(e){}}(),qt=t.clearTimeout!==Xe.clearTimeout&&t.clearTimeout,Jt=r&&r.now!==Xe.Date.now&&r.now,Kt=t.setTimeout!==Xe.setTimeout&&t.setTimeout,Zt=pe.ceil,Qt=pe.floor,en=me.getOwnPropertySymbols,tn=Ee?Ee.isBuffer:void 0,nn=t.isFinite,rn=ye.join,an=zt(me.keys,me),on=pe.max,sn=pe.min,ln=r.now,cn=t.parseInt,un=pe.random,dn=ye.reverse,hn=Qr(t,"DataView"),fn=Qr(t,"Map"),pn=Qr(t,"Promise"),mn=Qr(t,"Set"),gn=Qr(t,"WeakMap"),vn=Qr(me,"create"),bn=gn&&new gn,yn={},_n=La(hn),xn=La(fn),wn=La(pn),kn=La(mn),Sn=La(gn),Mn=je?je.prototype:void 0,Ln=Mn?Mn.valueOf:void 0,An=Mn?Mn.toString:void 0;function On(e){if(Vo(e)&&!Po(e)&&!(e instanceof Dn)){if(e instanceof En)return e;if(Se.call(e,"__wrapped__"))return Aa(e)}return new En(e)}var Cn=function(){function e(){}return function(t){if(!Wo(t))return{};if(Ue)return Ue(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Tn(){}function En(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Dn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Pn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function jn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function In(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Yn;++t<n;)this.add(e[t])}function Rn(e){var t=this.__data__=new jn(e);this.size=t.size}function Hn(e,t){var n=Po(e),i=!n&&Do(e),r=!n&&!i&&Ro(e),a=!n&&!i&&!r&&Zo(e),o=n||i||r||a,s=o?Ct(e.length,ve):[],l=s.length;for(var c in e)!t&&!Se.call(e,c)||o&&("length"==c||r&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||oa(c,l))||s.push(c);return s}function Nn(e){var t=e.length;return t?e[Ii(0,t-1)]:void 0}function Fn(e,t){return ka(vr(e),qn(t,0,e.length))}function zn(e){return ka(vr(e))}function Bn(e,t,n){(void 0!==n&&!Co(e[t],n)||void 0===n&&!(t in e))&&Xn(e,t,n)}function Wn(e,t,n){var i=e[t];Se.call(e,t)&&Co(i,n)&&(void 0!==n||t in e)||Xn(e,t,n)}function Vn(e,t){for(var n=e.length;n--;)if(Co(e[n][0],t))return n;return-1}function $n(e,t,n,i){return ei(e,(function(e,r,a){t(i,e,n(e),a)})),i}function Un(e,t){return e&&br(t,_s(t),e)}function Xn(e,t,n){"__proto__"==t&&Lt?Lt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Gn(e,t){for(var n=-1,r=t.length,a=i(r),o=null==e;++n<r;)a[n]=o?void 0:ms(e,t[n]);return a}function qn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Jn(e,t,n,i,r,a){var o,s=1&t,c=2&t,h=4&t;if(n&&(o=r?n(e,i,r,a):n(e)),void 0!==o)return o;if(!Wo(e))return e;var w=Po(e);if(w){if(o=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Se.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!s)return vr(e,o)}else{var P=na(e),j=P==f||P==p;if(Ro(e))return dr(e,s);if(P==v||P==l||j&&!r){if(o=c||j?{}:ra(e),!s)return c?function(e,t){return br(e,ta(e),t)}(e,function(e,t){return e&&br(t,xs(t),e)}(o,e)):function(e,t){return br(e,ea(e),t)}(e,Un(o,e))}else{if(!ze[P])return r?e:{};o=function(e,t,n){var i=e.constructor;switch(t){case k:return hr(e);case u:case d:return new i(+e);case S:return function(e,t){var n=t?hr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case M:case L:case A:case O:case C:case T:case"[object Uint8ClampedArray]":case E:case D:return fr(e,n);case m:return new i;case g:case _:return new i(e);case b:return function(e){var t=new e.constructor(e.source,ie.exec(e));return t.lastIndex=e.lastIndex,t}(e);case y:return new i;case x:return r=e,Ln?me(Ln.call(r)):{}}
vendor: 4,153 bytes, line 111
111var r}(e,P,s)}}a||(a=new Rn);var Y=a.get(e);if(Y)return Y;a.set(e,o),qo(e)?e.forEach((function(i){o.add(Jn(i,t,n,i,e,a))})):$o(e)&&e.forEach((function(i,r){o.set(r,Jn(i,t,n,r,e,a))}));var I=w?void 0:(h?c?Ur:$r:c?xs:_s)(e);return st(I||e,(function(i,r){I&&(i=e[r=i]),Wn(o,r,Jn(i,t,n,r,e,a))})),o}function Kn(e,t,n){var i=n.length;if(null==e)return!i;for(e=me(e);i--;){var r=n[i],a=t[r],o=e[r];if(void 0===o&&!(r in e)||!a(o))return!1}return!0}function Zn(e,t,n){if("function"!=typeof e)throw new be(a);return ya((function(){e.apply(void 0,n)}),t)}function Qn(e,t,n,i){var r=-1,a=dt,o=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=ft(t,Tt(n))),i?(a=ht,o=!1):t.length>=200&&(a=Dt,o=!1,t=new In(t));e:for(;++r<s;){var u=e[r],d=null==n?u:n(u);if(u=i||0!==u?u:0,o&&d==d){for(var h=c;h--;)if(t[h]===d)continue e;l.push(u)}else a(t,d,i)||l.push(u)}return l}On.templateSettings={escape:F,evaluate:z,interpolate:B,variable:"",imports:{_:On}},On.prototype=Tn.prototype,On.prototype.constructor=On,En.prototype=Cn(Tn.prototype),En.prototype.constructor=En,Dn.prototype=Cn(Tn.prototype),Dn.prototype.constructor=Dn,Pn.prototype.clear=function(){this.__data__=vn?vn(null):{},this.size=0},Pn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Pn.prototype.get=function(e){var t=this.__data__;if(vn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Se.call(t,e)?t[e]:void 0},Pn.prototype.has=function(e){var t=this.__data__;return vn?void 0!==t[e]:Se.call(t,e)},Pn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=vn&&void 0===t?"__lodash_hash_undefined__":t,this},jn.prototype.clear=function(){this.__data__=[],this.size=0},jn.prototype.delete=function(e){var t=this.__data__,n=Vn(t,e);return!(n<0)&&(n==t.length-1?t.pop():qe.call(t,n,1),--this.size,!0)},jn.prototype.get=function(e){var t=this.__data__,n=Vn(t,e);return n<0?void 0:t[n][1]},jn.prototype.has=function(e){return Vn(this.__data__,e)>-1},jn.prototype.set=function(e,t){var n=this.__data__,i=Vn(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},Yn.prototype.clear=function(){this.size=0,this.__data__={hash:new Pn,map:new(fn||jn),string:new Pn}},Yn.prototype.delete=function(e){var t=Kr(this,e).delete(e);return this.size-=t?1:0,t},Yn.prototype.get=function(e){return Kr(this,e).get(e)},Yn.prototype.has=function(e){return Kr(this,e).has(e)},Yn.prototype.set=function(e,t){var n=Kr(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},In.prototype.add=In.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},In.prototype.has=function(e){return this.__data__.has(e)},Rn.prototype.clear=function(){this.__data__=new jn,this.size=0},Rn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Rn.prototype.get=function(e){return this.__data__.get(e)},Rn.prototype.has=function(e){return this.__data__.has(e)},Rn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof jn){var i=n.__data__;if(!fn||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new Yn(i)}return n.set(e,t),this.size=n.size,this};var ei=xr(li),ti=xr(ci,!0);function ni(e,t){var n=!0;return ei(e,(function(e,i,r){return n=!!t(e,i,r)})),n}function ii(e,t,n){for(var i=-1,r=e.length;++i<r;){var a=e[i],o=t(a);if(null!=o&&(void 0===s?o==o&&!Ko(o):n(o,s)))var s=o,l=a}return l}function ri(e,t){var n=[];return ei(e,(function(e,i,r){t(e,i,r)&&n.push(e)})),n}function ai(e,t,n,i,r){var a=-1,o=e.length;for(n||(n=aa),r||(r=[]);++a<o;){var s=e[a];t>0&&n(s)?t>1?ai(s,t-1,n,i,r):pt(r,s):i||(r[r.length]=s)}return r}var oi=wr(),si=wr(!0);function li(e,t){return e&&oi(e,t,_s)}function ci(e,t){return e&&si(e,t,_s)}function ui(e,t){return ut(t,(function(t){return Fo(e[t])}))}function di(e,t){for(var n=0,i=(t=sr(t,e)).length;null!=e&&n<i;)e=e[Ma(t[n++])];return n&&n==i?e:void 0}function hi(e,t,n){var i=t(e);return Po(e)?i:pt(i,n(e))}function fi(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":bt&&bt in me(e)?function(e){var t=Se.call(e,bt),n=e[bt];try{e[bt]=void 0;var i=!0}catch(e){}var r=Ae.call(e);
vendor: 6,986 bytes, line 111
111i&&(t?e[bt]=n:delete e[bt]);return r}(e):function(e){return Ae.call(e)}(e)}function pi(e,t){return e>t}function mi(e,t){return null!=e&&Se.call(e,t)}function gi(e,t){return null!=e&&t in me(e)}function vi(e,t,n){for(var r=n?ht:dt,a=e[0].length,o=e.length,s=o,l=i(o),c=1/0,u=[];s--;){var d=e[s];s&&t&&(d=ft(d,Tt(t))),c=sn(d.length,c),l[s]=!n&&(t||a>=120&&d.length>=120)?new In(s&&d):void 0}d=e[0];var h=-1,f=l[0];e:for(;++h<a&&u.length<c;){var p=d[h],m=t?t(p):p;if(p=n||0!==p?p:0,!(f?Dt(f,m):r(u,m,n))){for(s=o;--s;){var g=l[s];if(!(g?Dt(g,m):r(e[s],m,n)))continue e}f&&f.push(m),u.push(p)}}return u}function bi(e,t,n){var i=null==(e=ma(e,t=sr(t,e)))?e:e[Ma(Ha(t))];return null==i?void 0:at(i,e,n)}function yi(e){return Vo(e)&&fi(e)==l}function _i(e,t,n,i,r){return e===t||(null==e||null==t||!Vo(e)&&!Vo(t)?e!=e&&t!=t:function(e,t,n,i,r,a){var o=Po(e),s=Po(t),f=o?c:na(e),p=s?c:na(t),w=(f=f==l?v:f)==v,M=(p=p==l?v:p)==v,L=f==p;if(L&&Ro(e)){if(!Ro(t))return!1;o=!0,w=!1}if(L&&!w)return a||(a=new Rn),o||Zo(e)?Wr(e,t,n,i,r,a):function(e,t,n,i,r,a,o){switch(n){case S:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case k:return!(e.byteLength!=t.byteLength||!a(new Ie(e),new Ie(t)));case u:case d:case g:return Co(+e,+t);case h:return e.name==t.name&&e.message==t.message;case b:case _:return e==t+"";case m:var s=Ft;case y:var l=1&i;if(s||(s=Wt),e.size!=t.size&&!l)return!1;var c=o.get(e);if(c)return c==t;i|=2,o.set(e,t);var f=Wr(s(e),s(t),i,r,a,o);return o.delete(e),f;case x:if(Ln)return Ln.call(e)==Ln.call(t)}return!1}(e,t,f,n,i,r,a);if(!(1&n)){var A=w&&Se.call(e,"__wrapped__"),O=M&&Se.call(t,"__wrapped__");if(A||O){var C=A?e.value():e,T=O?t.value():t;return a||(a=new Rn),r(C,T,n,i,a)}}if(!L)return!1;return a||(a=new Rn),function(e,t,n,i,r,a){var o=1&n,s=$r(e),l=s.length,c=$r(t).length;if(l!=c&&!o)return!1;var u=l;for(;u--;){var d=s[u];if(!(o?d in t:Se.call(t,d)))return!1}var h=a.get(e);if(h&&a.get(t))return h==t;var f=!0;a.set(e,t),a.set(t,e);var p=o;for(;++u<l;){d=s[u];var m=e[d],g=t[d];if(i)var v=o?i(g,m,d,t,e,a):i(m,g,d,e,t,a);if(!(void 0===v?m===g||r(m,g,n,i,a):v)){f=!1;break}p||(p="constructor"==d)}if(f&&!p){var b=e.constructor,y=t.constructor;b==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof y&&y instanceof y||(f=!1)}return a.delete(e),a.delete(t),f}(e,t,n,i,r,a)}(e,t,n,i,_i,r))}function xi(e,t,n,i){var r=n.length,a=r,o=!i;if(null==e)return!a;for(e=me(e);r--;){var s=n[r];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++r<a;){var l=(s=n[r])[0],c=e[l],u=s[1];if(o&&s[2]){if(void 0===c&&!(l in e))return!1}else{var d=new Rn;if(i)var h=i(c,u,l,e,t,d);if(!(void 0===h?_i(u,c,3,i,d):h))return!1}}return!0}function wi(e){return!(!Wo(e)||(t=e,Le&&Le in t))&&(Fo(e)?Te:oe).test(La(e));var t}function ki(e){return"function"==typeof e?e:null==e?Us:"object"==typeof e?Po(e)?Ci(e[0],e[1]):Oi(e):tl(e)}function Si(e){if(!da(e))return an(e);var t=[];for(var n in me(e))Se.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Mi(e){if(!Wo(e))return function(e){var t=[];if(null!=e)for(var n in me(e))t.push(n);return t}(e);var t=da(e),n=[];for(var i in e)("constructor"!=i||!t&&Se.call(e,i))&&n.push(i);return n}function Li(e,t){return e<t}function Ai(e,t){var n=-1,r=Yo(e)?i(e.length):[];return ei(e,(function(e,i,a){r[++n]=t(e,i,a)})),r}function Oi(e){var t=Zr(e);return 1==t.length&&t[0][2]?fa(t[0][0],t[0][1]):function(n){return n===e||xi(n,e,t)}}function Ci(e,t){return la(e)&&ha(t)?fa(Ma(e),t):function(n){var i=ms(n,e);return void 0===i&&i===t?gs(n,e):_i(t,i,3)}}function Ti(e,t,n,i,r){e!==t&&oi(t,(function(a,o){if(r||(r=new Rn),Wo(a))!function(e,t,n,i,r,a,o){var s=va(e,n),l=va(t,n),c=o.get(l);if(c)return void Bn(e,n,c);var u=a?a(s,l,n+"",e,t,o):void 0,d=void 0===u;if(d){var h=Po(l),f=!h&&Ro(l),p=!h&&!f&&Zo(l);u=l,h||f||p?Po(s)?u=s:Io(s)?u=vr(s):f?(d=!1,u=dr(l,!0)):p?(d=!1,u=fr(l,!0)):u=[]:Xo(l)||Do(l)?(u=s,Do(s)?u=os(s):Wo(s)&&!Fo(s)||(u=ra(l))):d=!1}d&&(o.set(l,u),r(u,l,i,a,o),o.delete(l));Bn(e,n,u)}(e,t,o,n,Ti,i,r);else{var s=i?i(va(e,o),a,o+"",e,t,r):void 0;void 0===s&&(s=a),Bn(e,o,s)}}),xs)}function Ei(e,t){var n=e.length;if(n)return oa(t+=t<0?n:0,n)?e[t]:void 0}function Di(e,t,n){var i=-1;return t=ft(t.length?t:[Us],Tt(Jr())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Ai(e,(function(e,n,r){return{criteria:ft(t,(function(t){return t(e)})),index:++i,value:e}})),(function(e,t){return function(e,t,n){var i=-1,r=e.criteria,a=t.criteria,o=r.length,s=n.length;for(;++i<o;){var l=pr(r[i],a[i]);if(l){if(i>=s)return l;var c=n[i];return l*("desc"==c?-1:1)}}return e.index-t.index}(e,t,n)}))}function Pi(e,t,n){for(var i=-1,r=t.length,a={};++i<r;){var o=t[i],s=di(e,o);n(s,o)&&zi(a,sr(o,e),s)}return a}function ji(e,t,n,i){var r=i?wt:xt,a=-1,o=t.length,s=e;for(e===t&&(t=vr(t)),n&&(s=ft(e,Tt(n)));++a<o;)for(var l=0,c=t[a],u=n?n(c):c;(l=r(s,u,l,i))>-1;)s!==e&&qe.call(s,l,1),qe.call(e,l,1);return e}function Yi(e,t){for(var n=e?t.length:0,i=n-1;n--;){var r=t[n];if(n==i||r!==a){var a=r;oa(r)?qe.call(e,r,1):Qi(e,r)}}return e}function Ii(e,t){return e+Qt(un()*(t-e+1))}function Ri(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=Qt(t/2))&&(e+=e)}while(t);return n}function Hi(e,t){return _a(pa(e,t,Us),e+"")}function Ni(e){return Nn(Cs(e))}function Fi(e,t){var n=Cs(e);return ka(n,qn(t,0,n.length))}function zi(e,t,n,i){if(!Wo(e))return e;for(var r=-1,a=(t=sr(t,e)).length,o=a-1,s=e;null!=s&&++r<a;){var l=Ma(t[r]),c=n;if(r!=o){var u=s[l];void 0===(c=i?i(u,l,s):void 0)&&(c=Wo(u)?u:oa(t[r+1])?[]:{})}Wn(s,l,c),s=s[l]}return e}var Bi=bn?function(e,t){return bn.set(e,t),e}:Us,Wi=Lt?function(e,t){return Lt(e,"toString",{configurable:!0,enumerable:!1,value:Ws(t),writable:!0})}:Us;function Vi(e){return ka(Cs(e))}function $i(e,t,n){var r=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var o=i(a);++r<a;)o[r]=e[r+t];return o}function Ui(e,t){var n;return ei(e,(function(e,i,r){return!(n=t(e,i,r))})),!!n}function Xi(e,t,n){var i=0,r=null==e?i:e.length;if("number"==typeof t&&t==t&&r<=2147483647){for(;i<r;){var a=i+r>>>1,o=e[a];null!==o&&!Ko(o)&&(n?o<=t:o<t)?i=a+1:r=a}return r}return Gi(e,t,Us,n)}function Gi(e,t,n,i){t=n(t);for(var r=0,a=null==e?0:e.length,o=t!=t,s=null===t,l=Ko(t),c=void 0===t;r<a;){var u=Qt((r+a)/2),d=n(e[u]),h=void 0!==d,f=null===d,p=d==d,m=Ko(d);if(o)var g=i||p;else g=c?p&&(i||h):s?p&&h&&(i||!f):l?p&&h&&!f&&(i||!m):!f&&!m&&(i?d<=t:d<t);g?r=u+1:a=u}return sn(a,4294967294)}function qi(e,t){for(var n=-1,i=e.length,r=0,a=[];++n<i;){var o=e[n],s=t?t(o):o;if(!n||!Co(s,l)){var l=s;a[r++]=0===o?0:o}}return a}function Ji(e){return"number"==typeof e?e:Ko(e)?NaN:+e}function Ki(e){if("string"==typeof e)return e;if(Po(e))return ft(e,Ki)+"";if(Ko(e))return An?An.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Zi(e,t,n){var i=-1,r=dt,a=e.length,o=!0,s=[],l=s;if(n)o=!1,r=ht;else if(a>=200){var c=t?null:Rr(e);if(c)return Wt(c);
vendor: 13,321 bytes, line 111
111o=!1,r=Dt,l=new In}else l=t?[]:s;e:for(;++i<a;){var u=e[i],d=t?t(u):u;if(u=n||0!==u?u:0,o&&d==d){for(var h=l.length;h--;)if(l[h]===d)continue e;t&&l.push(d),s.push(u)}else r(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s}function Qi(e,t){return null==(e=ma(e,t=sr(t,e)))||delete e[Ma(Ha(t))]}function er(e,t,n,i){return zi(e,t,n(di(e,t)),i)}function tr(e,t,n,i){for(var r=e.length,a=i?r:-1;(i?a--:++a<r)&&t(e[a],a,e););return n?$i(e,i?0:a,i?a+1:r):$i(e,i?a+1:0,i?r:a)}function nr(e,t){var n=e;return n instanceof Dn&&(n=n.value()),mt(t,(function(e,t){return t.func.apply(t.thisArg,pt([e],t.args))}),n)}function ir(e,t,n){var r=e.length;if(r<2)return r?Zi(e[0]):[];for(var a=-1,o=i(r);++a<r;)for(var s=e[a],l=-1;++l<r;)l!=a&&(o[a]=Qn(o[a]||s,e[l],t,n));return Zi(ai(o,1),t,n)}function rr(e,t,n){for(var i=-1,r=e.length,a=t.length,o={};++i<r;){var s=i<a?t[i]:void 0;n(o,e[i],s)}return o}function ar(e){return Io(e)?e:[]}function or(e){return"function"==typeof e?e:Us}function sr(e,t){return Po(e)?e:la(e,t)?[e]:Sa(ss(e))}var lr=Hi;function cr(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:$i(e,t,n)}var ur=qt||function(e){return Xe.clearTimeout(e)};function dr(e,t){if(t)return e.slice();var n=e.length,i=Be?Be(n):new e.constructor(n);return e.copy(i),i}function hr(e){var t=new e.constructor(e.byteLength);return new Ie(t).set(new Ie(e)),t}function fr(e,t){var n=t?hr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function pr(e,t){if(e!==t){var n=void 0!==e,i=null===e,r=e==e,a=Ko(e),o=void 0!==t,s=null===t,l=t==t,c=Ko(t);if(!s&&!c&&!a&&e>t||a&&o&&l&&!s&&!c||i&&o&&l||!n&&l||!r)return 1;if(!i&&!a&&!c&&e<t||c&&n&&r&&!i&&!a||s&&n&&r||!o&&r||!l)return-1}return 0}function mr(e,t,n,r){for(var a=-1,o=e.length,s=n.length,l=-1,c=t.length,u=on(o-s,0),d=i(c+u),h=!r;++l<c;)d[l]=t[l];for(;++a<s;)(h||a<o)&&(d[n[a]]=e[a]);for(;u--;)d[l++]=e[a++];return d}function gr(e,t,n,r){for(var a=-1,o=e.length,s=-1,l=n.length,c=-1,u=t.length,d=on(o-l,0),h=i(d+u),f=!r;++a<d;)h[a]=e[a];for(var p=a;++c<u;)h[p+c]=t[c];for(;++s<l;)(f||a<o)&&(h[p+n[s]]=e[a++]);return h}function vr(e,t){var n=-1,r=e.length;for(t||(t=i(r));++n<r;)t[n]=e[n];return t}function br(e,t,n,i){var r=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],l=i?i(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),r?Xn(n,s,l):Wn(n,s,l)}return n}function yr(e,t){return function(n,i){var r=Po(n)?ot:$n,a=t?t():{};return r(n,e,Jr(i,2),a)}}function _r(e){return Hi((function(t,n){var i=-1,r=n.length,a=r>1?n[r-1]:void 0,o=r>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(r--,a):void 0,o&&sa(n[0],n[1],o)&&(a=r<3?void 0:a,r=1),t=me(t);++i<r;){var s=n[i];s&&e(t,s,i,a)}return t}))}function xr(e,t){return function(n,i){if(null==n)return n;if(!Yo(n))return e(n,i);for(var r=n.length,a=t?r:-1,o=me(n);(t?a--:++a<r)&&!1!==i(o[a],a,o););return n}}function wr(e){return function(t,n,i){for(var r=-1,a=me(t),o=i(t),s=o.length;s--;){var l=o[e?s:++r];if(!1===n(a[l],l,a))break}return t}}function kr(e){return function(t){var n=Nt(t=ss(t))?Ut(t):void 0,i=n?n[0]:t.charAt(0),r=n?cr(n,1).join(""):t.slice(1);return i[e]()+r}}function Sr(e){return function(t){return mt(Fs(Ds(t).replace(De,"")),e,"")}}function Mr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Cn(e.prototype),i=e.apply(n,t);return Wo(i)?i:n}}function Lr(e){return function(t,n,i){var r=me(t);if(!Yo(t)){var a=Jr(n,3);t=_s(t),n=function(e){return a(r[e],e,r)}}var o=e(t,n,i);return o>-1?r[a?t[o]:o]:void 0}}function Ar(e){return Vr((function(t){var n=t.length,i=n,r=En.prototype.thru;for(e&&t.reverse();i--;){var o=t[i];if("function"!=typeof o)throw new be(a);if(r&&!s&&"wrapper"==Gr(o))var s=new En([],!0)}for(i=s?i:n;++i<n;){var l=Gr(o=t[i]),c="wrapper"==l?Xr(o):void 0;s=c&&ca(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[Gr(c[0])].apply(s,c[3]):1==o.length&&ca(o)?s[l]():s.thru(o)}return function(){var e=arguments,i=e[0];if(s&&1==e.length&&Po(i))return s.plant(i).value();for(var r=0,a=n?t[r].apply(this,e):i;++r<n;)a=t[r].call(this,a);return a}}))}function Or(e,t,n,r,a,o,s,l,c,u){var d=128&t,h=1&t,f=2&t,p=24&t,m=512&t,g=f?void 0:Mr(e);return function v(){for(var b=arguments.length,y=i(b),_=b;_--;)y[_]=arguments[_];if(p)var x=qr(v),w=Yt(y,x);if(r&&(y=mr(y,r,a,p)),o&&(y=gr(y,o,s,p)),b-=w,p&&b<u){var k=Bt(y,x);return Yr(e,t,Or,v.placeholder,n,y,k,l,c,u-b)}var S=h?n:this,M=f?S[e]:e;return b=y.length,l?y=ga(y,l):m&&b>1&&y.reverse(),d&&c<b&&(y.length=c),this&&this!==Xe&&this instanceof v&&(M=g||Mr(M)),M.apply(S,y)}}function Cr(e,t){return function(n,i){return function(e,t,n,i){return li(e,(function(e,r,a){t(i,n(e),r,a)})),i}(n,e,t(i),{})}}function Tr(e,t){return function(n,i){var r;if(void 0===n&&void 0===i)return t;if(void 0!==n&&(r=n),void 0!==i){if(void 0===r)return i;"string"==typeof n||"string"==typeof i?(n=Ki(n),i=Ki(i)):(n=Ji(n),i=Ji(i)),r=e(n,i)}return r}}function Er(e){return Vr((function(t){return t=ft(t,Tt(Jr())),Hi((function(n){var i=this;return e(t,(function(e){return at(e,i,n)}))}))}))}function Dr(e,t){var n=(t=void 0===t?" ":Ki(t)).length;if(n<2)return n?Ri(t,e):t;var i=Ri(t,Zt(e/$t(t)));return Nt(t)?cr(Ut(i),0,e).join(""):i.slice(0,e)}function Pr(e){return function(t,n,r){return r&&"number"!=typeof r&&sa(t,n,r)&&(n=r=void 0),t=ns(t),void 0===n?(n=t,t=0):n=ns(n),function(e,t,n,r){for(var a=-1,o=on(Zt((t-e)/(n||1)),0),s=i(o);o--;)s[r?o:++a]=e,e+=n;return s}(t,n,r=void 0===r?t<n?1:-1:ns(r),e)}}function jr(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=as(t),n=as(n)),e(t,n)}}function Yr(e,t,n,i,r,a,o,s,l,c){var u=8&t;t|=u?32:64,4&(t&=~(u?64:32))||(t&=-4);var d=[e,t,r,u?a:void 0,u?o:void 0,u?void 0:a,u?void 0:o,s,l,c],h=n.apply(void 0,d);return ca(e)&&ba(h,d),h.placeholder=i,xa(h,e,t)}function Ir(e){var t=pe[e];return function(e,n){if(e=as(e),(n=null==n?0:sn(is(n),292))&&nn(e)){var i=(ss(e)+"e").split("e");return+((i=(ss(t(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return t(e)}}var Rr=mn&&1/Wt(new mn([,-0]))[1]==1/0?function(e){return new mn(e)}:Ks;function Hr(e){return function(t){var n=na(t);return n==m?Ft(t):n==y?Vt(t):function(e,t){return ft(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Nr(e,t,n,r,s,l,c,u){var d=2&t;if(!d&&"function"!=typeof e)throw new be(a);var h=r?r.length:0;if(h||(t&=-97,r=s=void 0),c=void 0===c?c:on(is(c),0),u=void 0===u?u:is(u),h-=s?s.length:0,64&t){var f=r,p=s;r=s=void 0}var m=d?void 0:Xr(e),g=[e,t,n,r,s,f,p,l,c,u];if(m&&function(e,t){var n=e[1],i=t[1],r=n|i,a=r<131,s=128==i&&8==n||128==i&&256==n&&e[7].length<=t[8]||384==i&&t[7].length<=t[8]&&8==n;if(!a&&!s)return e;1&i&&(e[2]=t[2],r|=1&n?0:4);var l=t[3];if(l){var c=e[3];e[3]=c?mr(c,l,t[4]):l,e[4]=c?Bt(e[3],o):t[4]}(l=t[5])&&(c=e[5],e[5]=c?gr(c,l,t[6]):l,e[6]=c?Bt(e[5],o):t[6]);(l=t[7])&&(e[7]=l);128&i&&(e[8]=null==e[8]?t[8]:sn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=r}(g,m),e=g[0],t=g[1],n=g[2],r=g[3],s=g[4],!(u=g[9]=void 0===g[9]?d?0:e.length:on(g[9]-h,0))&&24&t&&(t&=-25),t&&1!=t)v=8==t||16==t?function(e,t,n){var r=Mr(e);return function a(){for(var o=arguments.length,s=i(o),l=o,c=qr(a);l--;)s[l]=arguments[l];var u=o<3&&s[0]!==c&&s[o-1]!==c?[]:Bt(s,c);if((o-=u.length)<n)return Yr(e,t,Or,a.placeholder,void 0,s,u,void 0,void 0,n-o);var d=this&&this!==Xe&&this instanceof a?r:e;return at(d,this,s)}}(e,t,u):32!=t&&33!=t||s.length?Or.apply(void 0,g):function(e,t,n,r){var a=1&t,o=Mr(e);return function t(){for(var s=-1,l=arguments.length,c=-1,u=r.length,d=i(u+l),h=this&&this!==Xe&&this instanceof t?o:e;++c<u;)d[c]=r[c];for(;l--;)d[c++]=arguments[++s];return at(h,a?n:this,d)}}(e,t,n,r);else var v=function(e,t,n){var i=1&t,r=Mr(e);return function t(){var a=this&&this!==Xe&&this instanceof t?r:e;return a.apply(i?n:this,arguments)}}(e,t,n);return xa((m?Bi:ba)(v,g),e,t)}function Fr(e,t,n,i){return void 0===e||Co(e,xe[n])&&!Se.call(i,n)?t:e}function zr(e,t,n,i,r,a){return Wo(e)&&Wo(t)&&(a.set(t,e),Ti(e,t,void 0,zr,a),a.delete(t)),e}function Br(e){return Xo(e)?void 0:e}function Wr(e,t,n,i,r,a){var o=1&n,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var c=a.get(e);if(c&&a.get(t))return c==t;var u=-1,d=!0,h=2&n?new In:void 0;for(a.set(e,t),a.set(t,e);++u<s;){var f=e[u],p=t[u];if(i)var m=o?i(p,f,u,t,e,a):i(f,p,u,e,t,a);if(void 0!==m){if(m)continue;d=!1;break}if(h){if(!vt(t,(function(e,t){if(!Dt(h,t)&&(f===e||r(f,e,n,i,a)))return h.push(t)}))){d=!1;break}}else if(f!==p&&!r(f,p,n,i,a)){d=!1;break}}return a.delete(e),a.delete(t),d}function Vr(e){return _a(pa(e,void 0,Pa),e+"")}function $r(e){return hi(e,_s,ea)}function Ur(e){return hi(e,xs,ta)}var Xr=bn?function(e){return bn.get(e)}:Ks;function Gr(e){for(var t=e.name+"",n=yn[t],i=Se.call(yn,t)?n.length:0;i--;){var r=n[i],a=r.func;if(null==a||a==e)return r.name}return t}function qr(e){return(Se.call(On,"placeholder")?On:e).placeholder}function Jr(){var e=On.iteratee||Xs;return e=e===Xs?ki:e,arguments.length?e(arguments[0],arguments[1]):e}function Kr(e,t){var n,i,r=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function Zr(e){for(var t=_s(e),n=t.length;n--;){var i=t[n],r=e[i];t[n]=[i,r,ha(r)]}return t}function Qr(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return wi(n)?n:void 0}var ea=en?function(e){return null==e?[]:(e=me(e),ut(en(e),(function(t){return Ge.call(e,t)})))}:rl,ta=en?function(e){for(var t=[];e;)pt(t,ea(e)),e=$e(e);return t}:rl,na=fi;function ia(e,t,n){for(var i=-1,r=(t=sr(t,e)).length,a=!1;++i<r;){var o=Ma(t[i]);if(!(a=null!=e&&n(e,o)))break;e=e[o]}return a||++i!=r?a:!!(r=null==e?0:e.length)&&Bo(r)&&oa(o,r)&&(Po(e)||Do(e))}function ra(e){return"function"!=typeof e.constructor||da(e)?{}:Cn($e(e))}function aa(e){return Po(e)||Do(e)||!!(Ke&&e&&e[Ke])}function oa(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&le.test(e))&&e>-1&&e%1==0&&e<t}function sa(e,t,n){if(!Wo(n))return!1;var i=typeof t;return!!("number"==i?Yo(n)&&oa(t,n.length):"string"==i&&t in n)&&Co(n[t],e)}function la(e,t){if(Po(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ko(e))||(V.test(e)||!W.test(e)||null!=t&&e in me(t))}function ca(e){var t=Gr(e),n=On[t];if("function"!=typeof n||!(t in Dn.prototype))return!1;if(e===n)return!0;var i=Xr(n);return!!i&&e===i[0]}(hn&&na(new hn(new ArrayBuffer(1)))!=S||fn&&na(new fn)!=m||pn&&"[object Promise]"!=na(pn.resolve())||mn&&na(new mn)!=y||gn&&na(new gn)!=w)&&(na=function(e){var t=fi(e),n=t==v?e.constructor:void 0,i=n?La(n):"";if(i)switch(i){case _n:return S;case xn:return m;case wn:return"[object Promise]";case kn:return y;case Sn:return w}return t});var ua=we?Fo:al;function da(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||xe)}function ha(e){return e==e&&!Wo(e)}function fa(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in me(n)))}}function pa(e,t,n){return t=on(void 0===t?e.length-1:t,0),function(){for(var r=arguments,a=-1,o=on(r.length-t,0),s=i(o);++a<o;)s[a]=r[t+a];a=-1;for(var l=i(t+1);++a<t;)l[a]=r[a];return l[t]=n(s),at(e,this,l)}}function ma(e,t){return t.length<2?e:di(e,$i(t,0,-1))}function ga(e,t){for(var n=e.length,i=sn(t.length,n),r=vr(e);i--;){var a=t[i];e[i]=oa(a,n)?r[a]:void 0}return e}function va(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ba=wa(Bi),ya=Kt||function(e,t){return Xe.setTimeout(e,t)},_a=wa(Wi);function xa(e,t,n){var i=t+"";return _a(e,function(e,t){var n=t.length;if(!n)return e;var i=n-1;return t[i]=(n>1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(K,"{\n/* [wrapped with "+t+"] */\n")}(i,function(e,t){return st(s,(function(n){var i="_."+n[0];t&n[1]&&!dt(e,i)&&e.push(i)})),e.sort()}(function(e){var t=e.match(Z);return t?t[1].split(Q):[]}(i),n)))}function wa(e){var t=0,n=0;return function(){var i=ln(),r=16-(i-n);if(n=i,r>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function ka(e,t){var n=-1,i=e.length,r=i-1;for(t=void 0===t?i:t;++n<t;){var a=Ii(n,r),o=e[a];e[a]=e[n],e[n]=o}return e.length=t,e}var Sa=function(e){var t=ko(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace($,(function(e,n,i,r){t.push(i?r.replace(te,"$1"):n||e)})),t}));function Ma(e){if("string"==typeof e||Ko(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function La(e){if(null!=e){try{return ke.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Aa(e){if(e instanceof Dn)return e.clone();var t=new En(e.__wrapped__,e.__chain__);return t.__actions__=vr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Oa=Hi((function(e,t){return Io(e)?Qn(e,ai(t,1,Io,!0)):[]})),Ca=Hi((function(e,t){var n=Ha(t);return Io(n)&&(n=void 0),Io(e)?Qn(e,ai(t,1,Io,!0),Jr(n,2)):[]})),Ta=Hi((function(e,t){var n=Ha(t);return Io(n)&&(n=void 0),Io(e)?Qn(e,ai(t,1,Io,!0),void 0,n):[]}));function Ea(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:is(n);return r<0&&(r=on(i+r,0)),_t(e,Jr(t,3),r)}
vendor: 25,866 bytes, line 111
111function Da(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i-1;return void 0!==n&&(r=is(n),r=n<0?on(i+r,0):sn(r,i-1)),_t(e,Jr(t,3),r,!0)}function Pa(e){return(null==e?0:e.length)?ai(e,1):[]}function ja(e){return e&&e.length?e[0]:void 0}var Ya=Hi((function(e){var t=ft(e,ar);return t.length&&t[0]===e[0]?vi(t):[]})),Ia=Hi((function(e){var t=Ha(e),n=ft(e,ar);return t===Ha(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?vi(n,Jr(t,2)):[]})),Ra=Hi((function(e){var t=Ha(e),n=ft(e,ar);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?vi(n,void 0,t):[]}));function Ha(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Na=Hi(Fa);function Fa(e,t){return e&&e.length&&t&&t.length?ji(e,t):e}var za=Vr((function(e,t){var n=null==e?0:e.length,i=Gn(e,t);return Yi(e,ft(t,(function(e){return oa(e,n)?+e:e})).sort(pr)),i}));function Ba(e){return null==e?e:dn.call(e)}var Wa=Hi((function(e){return Zi(ai(e,1,Io,!0))})),Va=Hi((function(e){var t=Ha(e);return Io(t)&&(t=void 0),Zi(ai(e,1,Io,!0),Jr(t,2))})),$a=Hi((function(e){var t=Ha(e);return t="function"==typeof t?t:void 0,Zi(ai(e,1,Io,!0),void 0,t)}));function Ua(e){if(!e||!e.length)return[];var t=0;return e=ut(e,(function(e){if(Io(e))return t=on(e.length,t),!0})),Ct(t,(function(t){return ft(e,Mt(t))}))}function Xa(e,t){if(!e||!e.length)return[];var n=Ua(e);return null==t?n:ft(n,(function(e){return at(t,void 0,e)}))}var Ga=Hi((function(e,t){return Io(e)?Qn(e,t):[]})),qa=Hi((function(e){return ir(ut(e,Io))})),Ja=Hi((function(e){var t=Ha(e);return Io(t)&&(t=void 0),ir(ut(e,Io),Jr(t,2))})),Ka=Hi((function(e){var t=Ha(e);return t="function"==typeof t?t:void 0,ir(ut(e,Io),void 0,t)})),Za=Hi(Ua);var Qa=Hi((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Xa(e,n)}));function eo(e){var t=On(e);return t.__chain__=!0,t}function to(e,t){return t(e)}var no=Vr((function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,r=function(t){return Gn(t,e)};return!(t>1||this.__actions__.length)&&i instanceof Dn&&oa(n)?((i=i.slice(n,+n+(t?1:0))).__actions__.push({func:to,args:[r],thisArg:void 0}),new En(i,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(r)}));var io=yr((function(e,t,n){Se.call(e,n)?++e[n]:Xn(e,n,1)}));var ro=Lr(Ea),ao=Lr(Da);function oo(e,t){return(Po(e)?st:ei)(e,Jr(t,3))}function so(e,t){return(Po(e)?lt:ti)(e,Jr(t,3))}var lo=yr((function(e,t,n){Se.call(e,n)?e[n].push(t):Xn(e,n,[t])}));var co=Hi((function(e,t,n){var r=-1,a="function"==typeof t,o=Yo(e)?i(e.length):[];return ei(e,(function(e){o[++r]=a?at(t,e,n):bi(e,t,n)})),o})),uo=yr((function(e,t,n){Xn(e,n,t)}));function ho(e,t){return(Po(e)?ft:Ai)(e,Jr(t,3))}var fo=yr((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var po=Hi((function(e,t){if(null==e)return[];var n=t.length;return n>1&&sa(e,t[0],t[1])?t=[]:n>2&&sa(t[0],t[1],t[2])&&(t=[t[0]]),Di(e,ai(t,1),[])})),mo=Jt||function(){return Xe.Date.now()};function go(e,t,n){return t=n?void 0:t,Nr(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function vo(e,t){var n;if("function"!=typeof t)throw new be(a);return e=is(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var bo=Hi((function(e,t,n){var i=1;if(n.length){var r=Bt(n,qr(bo));i|=32}return Nr(e,i,t,n,r)})),yo=Hi((function(e,t,n){var i=3;if(n.length){var r=Bt(n,qr(yo));i|=32}return Nr(t,i,e,n,r)}));function _o(e,t,n){var i,r,o,s,l,c,u=0,d=!1,h=!1,f=!0;if("function"!=typeof e)throw new be(a);function p(t){var n=i,a=r;return i=r=void 0,u=t,s=e.apply(a,n)}function m(e){return u=e,l=ya(v,t),d?p(e):s}function g(e){var n=e-c;return void 0===c||n>=t||n<0||h&&e-u>=o}function v(){var e=mo();if(g(e))return b(e);l=ya(v,function(e){var n=t-(e-c);return h?sn(n,o-(e-u)):n}(e))}function b(e){return l=void 0,f&&i?p(e):(i=r=void 0,s)}function y(){var e=mo(),n=g(e);if(i=arguments,r=this,c=e,n){if(void 0===l)return m(c);if(h)return ur(l),l=ya(v,t),p(c)}return void 0===l&&(l=ya(v,t)),s}return t=as(t)||0,Wo(n)&&(d=!!n.leading,o=(h="maxWait"in n)?on(as(n.maxWait)||0,t):o,f="trailing"in n?!!n.trailing:f),y.cancel=function(){void 0!==l&&ur(l),u=0,i=c=r=l=void 0},y.flush=function(){return void 0===l?s:b(mo())},y}var xo=Hi((function(e,t){return Zn(e,1,t)})),wo=Hi((function(e,t,n){return Zn(e,as(t)||0,n)}));function ko(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new be(a);var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=e.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(ko.Cache||Yn),n}function So(e){if("function"!=typeof e)throw new be(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ko.Cache=Yn;var Mo=lr((function(e,t){var n=(t=1==t.length&&Po(t[0])?ft(t[0],Tt(Jr())):ft(ai(t,1),Tt(Jr()))).length;return Hi((function(i){for(var r=-1,a=sn(i.length,n);++r<a;)i[r]=t[r].call(this,i[r]);return at(e,this,i)}))})),Lo=Hi((function(e,t){return Nr(e,32,void 0,t,Bt(t,qr(Lo)))})),Ao=Hi((function(e,t){return Nr(e,64,void 0,t,Bt(t,qr(Ao)))})),Oo=Vr((function(e,t){return Nr(e,256,void 0,void 0,void 0,t)}));function Co(e,t){return e===t||e!=e&&t!=t}var To=jr(pi),Eo=jr((function(e,t){return e>=t})),Do=yi(function(){return arguments}())?yi:function(e){return Vo(e)&&Se.call(e,"callee")&&!Ge.call(e,"callee")},Po=i.isArray,jo=Qe?Tt(Qe):function(e){return Vo(e)&&fi(e)==k};function Yo(e){return null!=e&&Bo(e.length)&&!Fo(e)}function Io(e){return Vo(e)&&Yo(e)}var Ro=tn||al,Ho=et?Tt(et):function(e){return Vo(e)&&fi(e)==d};function No(e){if(!Vo(e))return!1;var t=fi(e);return t==h||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Xo(e)}function Fo(e){if(!Wo(e))return!1;var t=fi(e);return t==f||t==p||"[object AsyncFunction]"==t||"[object Proxy]"==t}function zo(e){return"number"==typeof e&&e==is(e)}function Bo(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Wo(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Vo(e){return null!=e&&"object"==typeof e}var $o=tt?Tt(tt):function(e){return Vo(e)&&na(e)==m};function Uo(e){return"number"==typeof e||Vo(e)&&fi(e)==g}function Xo(e){if(!Vo(e)||fi(e)!=v)return!1;var t=$e(e);if(null===t)return!0;var n=Se.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ke.call(n)==Oe}var Go=nt?Tt(nt):function(e){return Vo(e)&&fi(e)==b};var qo=it?Tt(it):function(e){return Vo(e)&&na(e)==y};function Jo(e){return"string"==typeof e||!Po(e)&&Vo(e)&&fi(e)==_}function Ko(e){return"symbol"==typeof e||Vo(e)&&fi(e)==x}var Zo=rt?Tt(rt):function(e){return Vo(e)&&Bo(e.length)&&!!Fe[fi(e)]};var Qo=jr(Li),es=jr((function(e,t){return e<=t}));function ts(e){if(!e)return[];if(Yo(e))return Jo(e)?Ut(e):vr(e);if(Ze&&e[Ze])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ze]());var t=na(e);return(t==m?Ft:t==y?Wt:Cs)(e)}function ns(e){return e?(e=as(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function is(e){var t=ns(e),n=t%1;return t==t?n?t-n:t:0}function rs(e){return e?qn(is(e),0,4294967295):0}function as(e){if("number"==typeof e)return e;if(Ko(e))return NaN;if(Wo(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Wo(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(G,"");var n=ae.test(e);return n||se.test(e)?Ve(e.slice(2),n?2:8):re.test(e)?NaN:+e}function os(e){return br(e,xs(e))}function ss(e){return null==e?"":Ki(e)}var ls=_r((function(e,t){if(da(t)||Yo(t))br(t,_s(t),e);else for(var n in t)Se.call(t,n)&&Wn(e,n,t[n])})),cs=_r((function(e,t){br(t,xs(t),e)})),us=_r((function(e,t,n,i){br(t,xs(t),e,i)})),ds=_r((function(e,t,n,i){br(t,_s(t),e,i)})),hs=Vr(Gn);var fs=Hi((function(e,t){e=me(e);var n=-1,i=t.length,r=i>2?t[2]:void 0;for(r&&sa(t[0],t[1],r)&&(i=1);++n<i;)for(var a=t[n],o=xs(a),s=-1,l=o.length;++s<l;){var c=o[s],u=e[c];(void 0===u||Co(u,xe[c])&&!Se.call(e,c))&&(e[c]=a[c])}return e})),ps=Hi((function(e){return e.push(void 0,zr),at(ks,void 0,e)}));function ms(e,t,n){var i=null==e?void 0:di(e,t);return void 0===i?n:i}function gs(e,t){return null!=e&&ia(e,t,gi)}var vs=Cr((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ae.call(t)),e[t]=n}),Ws(Us)),bs=Cr((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ae.call(t)),Se.call(e,t)?e[t].push(n):e[t]=[n]}),Jr),ys=Hi(bi);function _s(e){return Yo(e)?Hn(e):Si(e)}function xs(e){return Yo(e)?Hn(e,!0):Mi(e)}var ws=_r((function(e,t,n){Ti(e,t,n)})),ks=_r((function(e,t,n,i){Ti(e,t,n,i)})),Ss=Vr((function(e,t){var n={};if(null==e)return n;var i=!1;t=ft(t,(function(t){return t=sr(t,e),i||(i=t.length>1),t})),br(e,Ur(e),n),i&&(n=Jn(n,7,Br));for(var r=t.length;r--;)Qi(n,t[r]);return n}));var Ms=Vr((function(e,t){return null==e?{}:function(e,t){return Pi(e,t,(function(t,n){return gs(e,n)}))}(e,t)}));function Ls(e,t){if(null==e)return{};var n=ft(Ur(e),(function(e){return[e]}));return t=Jr(t),Pi(e,n,(function(e,n){return t(e,n[0])}))}var As=Hr(_s),Os=Hr(xs);function Cs(e){return null==e?[]:Et(e,_s(e))}var Ts=Sr((function(e,t,n){return t=t.toLowerCase(),e+(n?Es(t):t)}));function Es(e){return Ns(ss(e).toLowerCase())}function Ds(e){return(e=ss(e))&&e.replace(ce,It).replace(Pe,"")}var Ps=Sr((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),js=Sr((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ys=kr("toLowerCase");var Is=Sr((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Rs=Sr((function(e,t,n){return e+(n?" ":"")+Ns(t)}));var Hs=Sr((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ns=kr("toUpperCase");function Fs(e,t,n){return e=ss(e),void 0===(t=n?void 0:t)?function(e){return Re.test(e)}(e)?function(e){return e.match(Ye)||[]}(e):function(e){return e.match(ee)||[]}(e):e.match(t)||[]}var zs=Hi((function(e,t){try{return at(e,void 0,t)}catch(e){return No(e)?e:new he(e)}})),Bs=Vr((function(e,t){return st(t,(function(t){t=Ma(t),Xn(e,t,bo(e[t],e))})),e}));function Ws(e){return function(){return e}}var Vs=Ar(),$s=Ar(!0);function Us(e){return e}function Xs(e){return ki("function"==typeof e?e:Jn(e,1))}var Gs=Hi((function(e,t){return function(n){return bi(n,e,t)}})),qs=Hi((function(e,t){return function(n){return bi(e,n,t)}}));function Js(e,t,n){var i=_s(t),r=ui(t,i);null!=n||Wo(t)&&(r.length||!i.length)||(n=t,t=e,e=this,r=ui(t,_s(t)));var a=!(Wo(n)&&"chain"in n&&!n.chain),o=Fo(e);return st(r,(function(n){var i=t[n];e[n]=i,o&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__),r=n.__actions__=vr(this.__actions__);return r.push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,pt([this.value()],arguments))})})),e}function Ks(){}var Zs=Er(ft),Qs=Er(ct),el=Er(vt);function tl(e){return la(e)?Mt(Ma(e)):function(e){return function(t){return di(t,e)}}(e)}var nl=Pr(),il=Pr(!0);function rl(){return[]}function al(){return!1}var ol=Tr((function(e,t){return e+t}),0),sl=Ir("ceil"),ll=Tr((function(e,t){return e/t}),1),cl=Ir("floor");var ul,dl=Tr((function(e,t){return e*t}),1),hl=Ir("round"),fl=Tr((function(e,t){return e-t}),0);return On.after=function(e,t){if("function"!=typeof t)throw new be(a);return e=is(e),function(){if(--e<1)return t.apply(this,arguments)}},On.ary=go,On.assign=ls,On.assignIn=cs,On.assignInWith=us,On.assignWith=ds,On.at=hs,On.before=vo,On.bind=bo,On.bindAll=Bs,On.bindKey=yo,On.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Po(e)?e:[e]},On.chain=eo,On.chunk=function(e,t,n){t=(n?sa(e,t,n):void 0===t)?1:on(is(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var a=0,o=0,s=i(Zt(r/t));a<r;)s[o++]=$i(e,a,a+=t);return s},On.compact=function(e){for(var t=-1,n=null==e?0:e.length,i=0,r=[];++t<n;){var a=e[t];a&&(r[i++]=a)}return r},On.concat=function(){var e=arguments.length;if(!e)return[];for(var t=i(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return pt(Po(n)?vr(n):[n],ai(t,1))},On.cond=function(e){var t=null==e?0:e.length,n=Jr();return e=t?ft(e,(function(e){if("function"!=typeof e[1])throw new be(a);return[n(e[0]),e[1]]})):[],Hi((function(n){for(var i=-1;++i<t;){var r=e[i];if(at(r[0],this,n))return at(r[1],this,n)}}))},On.conforms=function(e){return function(e){var t=_s(e);return function(n){return Kn(n,e,t)}}(Jn(e,1))},On.constant=Ws,On.countBy=io,On.create=function(e,t){var n=Cn(e);return null==t?n:Un(n,t)},On.curry=function e(t,n,i){var r=Nr(t,8,void 0,void 0,void 0,void 0,void 0,n=i?void 0:n);return r.placeholder=e.placeholder,r},On.curryRight=function e(t,n,i){var r=Nr(t,16,void 0,void 0,void 0,void 0,void 0,n=i?void 0:n);return r.placeholder=e.placeholder,r},On.debounce=_o,On.defaults=fs,On.defaultsDeep=ps,On.defer=xo,On.delay=wo,On.difference=Oa,On.differenceBy=Ca,On.differenceWith=Ta,On.drop=function(e,t,n){var i=null==e?0:e.length;return i?$i(e,(t=n||void 0===t?1:is(t))<0?0:t,i):[]},On.dropRight=function(e,t,n){var i=null==e?0:e.length;return i?$i(e,0,(t=i-(t=n||void 0===t?1:is(t)))<0?0:t):[]},On.dropRightWhile=function(e,t){return e&&e.length?tr(e,Jr(t,3),!0,!0):[]},On.dropWhile=function(e,t){return e&&e.length?tr(e,Jr(t,3),!0):[]},On.fill=function(e,t,n,i){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&sa(e,t,n)&&(n=0,i=r),function(e,t,n,i){var r=e.length;for((n=is(n))<0&&(n=-n>r?0:r+n),(i=void 0===i||i>r?r:is(i))<0&&(i+=r),i=n>i?0:rs(i);n<i;)e[n++]=t;return e}(e,t,n,i)):[]},On.filter=function(e,t){return(Po(e)?ut:ri)(e,Jr(t,3))},On.flatMap=function(e,t){return ai(ho(e,t),1)},On.flatMapDeep=function(e,t){return ai(ho(e,t),1/0)},On.flatMapDepth=function(e,t,n){return n=void 0===n?1:is(n),ai(ho(e,t),n)},On.flatten=Pa,On.flattenDeep=function(e){return(null==e?0:e.length)?ai(e,1/0):[]},On.flattenDepth=function(e,t){return(null==e?0:e.length)?ai(e,t=void 0===t?1:is(t)):[]},On.flip=function(e){return Nr(e,512)},On.flow=Vs,On.flowRight=$s,On.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,i={};++t<n;){var r=e[t];i[r[0]]=r[1]}return i},On.functions=function(e){return null==e?[]:ui(e,_s(e))},On.functionsIn=function(e){return null==e?[]:ui(e,xs(e))},On.groupBy=lo,On.initial=function(e){return(null==e?0:e.length)?$i(e,0,-1):[]},On.intersection=Ya,On.intersectionBy=Ia,On.intersectionWith=Ra,On.invert=vs,On.invertBy=bs,On.invokeMap=co,On.iteratee=Xs,On.keyBy=uo,On.keys=_s,On.keysIn=xs,On.map=ho,On.mapKeys=function(e,t){var n={};return t=Jr(t,3),li(e,(function(e,i,r){Xn(n,t(e,i,r),e)})),n},On.mapValues=function(e,t){var n={};return t=Jr(t,3),li(e,(function(e,i,r){Xn(n,i,t(e,i,r))})),n},On.matches=function(e){return Oi(Jn(e,1))},On.matchesProperty=function(e,t){return Ci(e,Jn(t,1))},On.memoize=ko,On.merge=ws,On.mergeWith=ks,On.method=Gs,On.methodOf=qs,On.mixin=Js,On.negate=So,On.nthArg=function(e){return e=is(e),Hi((function(t){return Ei(t,e)}))},On.omit=Ss,On.omitBy=function(e,t){return Ls(e,So(Jr(t)))},On.once=function(e){return vo(2,e)},On.orderBy=function(e,t,n,i){return null==e?[]:(Po(t)||(t=null==t?[]:[t]),Po(n=i?void 0:n)||(n=null==n?[]:[n]),Di(e,t,n))},On.over=Zs,On.overArgs=Mo,On.overEvery=Qs,On.overSome=el,On.partial=Lo,On.partialRight=Ao,On.partition=fo,On.pick=Ms,On.pickBy=Ls,On.property=tl,On.propertyOf=function(e){return function(t){return null==e?void 0:di(e,t)}},On.pull=Na,On.pullAll=Fa,On.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?ji(e,t,Jr(n,2)):e},On.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?ji(e,t,void 0,n):e},On.pullAt=za,On.range=nl,On.rangeRight=il,On.rearg=Oo,On.reject=function(e,t){return(Po(e)?ut:ri)(e,So(Jr(t,3)))},On.remove=function(e,t){var n=[];if(!e||!e.length)return n;var i=-1,r=[],a=e.length;for(t=Jr(t,3);++i<a;){var o=e[i];t(o,i,e)&&(n.push(o),r.push(i))}return Yi(e,r),n},On.rest=function(e,t){if("function"!=typeof e)throw new be(a);return Hi(e,t=void 0===t?t:is(t))},On.reverse=Ba,On.sampleSize=function(e,t,n){return t=(n?sa(e,t,n):void 0===t)?1:is(t),(Po(e)?Fn:Fi)(e,t)},On.set=function(e,t,n){return null==e?e:zi(e,t,n)},On.setWith=function(e,t,n,i){return i="function"==typeof i?i:void 0,null==e?e:zi(e,t,n,i)},On.shuffle=function(e){return(Po(e)?zn:Vi)(e)},On.slice=function(e,t,n){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&sa(e,t,n)?(t=0,n=i):(t=null==t?0:is(t),n=void 0===n?i:is(n)),$i(e,t,n)):[]},On.sortBy=po,On.sortedUniq=function(e){return e&&e.length?qi(e):[]},On.sortedUniqBy=function(e,t){return e&&e.length?qi(e,Jr(t,2)):[]},On.split=function(e,t,n){return n&&"number"!=typeof n&&sa(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=ss(e))&&("string"==typeof t||null!=t&&!Go(t))&&!(t=Ki(t))&&Nt(e)?cr(Ut(e),0,n):e.split(t,n):[]},On.spread=function(e,t){if("function"!=typeof e)throw new be(a);return t=null==t?0:on(is(t),0),Hi((function(n){var i=n[t],r=cr(n,0,t);return i&&pt(r,i),at(e,this,r)}))},On.tail=function(e){var t=null==e?0:e.length;return t?$i(e,1,t):[]},On.take=function(e,t,n){return e&&e.length?$i(e,0,(t=n||void 0===t?1:is(t))<0?0:t):[]},On.takeRight=function(e,t,n){var i=null==e?0:e.length;return i?$i(e,(t=i-(t=n||void 0===t?1:is(t)))<0?0:t,i):[]},On.takeRightWhile=function(e,t){return e&&e.length?tr(e,Jr(t,3),!1,!0):[]},On.takeWhile=function(e,t){return e&&e.length?tr(e,Jr(t,3)):[]},On.tap=function(e,t){return t(e),e},On.throttle=function(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new be(a);return Wo(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),_o(e,t,{leading:i,maxWait:t,trailing:r})},On.thru=to,On.toArray=ts,On.toPairs=As,On.toPairsIn=Os,On.toPath=function(e){return Po(e)?ft(e,Ma):Ko(e)?[e]:vr(Sa(ss(e)))},On.toPlainObject=os,On.transform=function(e,t,n){var i=Po(e),r=i||Ro(e)||Zo(e);if(t=Jr(t,4),null==n){var a=e&&e.constructor;n=r?i?new a:[]:Wo(e)&&Fo(a)?Cn($e(e)):{}}return(r?st:li)(e,(function(e,i,r){return t(n,e,i,r)})),n},On.unary=function(e){return go(e,1)},On.union=Wa,On.unionBy=Va,On.unionWith=$a,On.uniq=function(e){return e&&e.length?Zi(e):[]},On.uniqBy=function(e,t){return e&&e.length?Zi(e,Jr(t,2)):[]},On.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Zi(e,void 0,t):[]},On.unset=function(e,t){return null==e||Qi(e,t)},On.unzip=Ua,On.unzipWith=Xa,On.update=function(e,t,n){return null==e?e:er(e,t,or(n))},On.updateWith=function(e,t,n,i){return i="function"==typeof i?i:void 0,null==e?e:er(e,t,or(n),i)},On.values=Cs,On.valuesIn=function(e){return null==e?[]:Et(e,xs(e))},On.without=Ga,On.words=Fs,On.wrap=function(e,t){return Lo(or(t),e)},On.xor=qa,On.xorBy=Ja,On.xorWith=Ka,On.zip=Za,On.zipObject=function(e,t){return rr(e||[],t||[],Wn)},On.zipObjectDeep=function(e,t){return rr(e||[],t||[],zi)},On.zipWith=Qa,On.entries=As,On.entriesIn=Os,On.extend=cs,On.extendWith=us,Js(On,On),On.add=ol,On.attempt=zs,On.camelCase=Ts,On.capitalize=Es,On.ceil=sl,On.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=as(n))==n?n:0),void 0!==t&&(t=(t=as(t))==t?t:0),qn(as(e),t,n)},On.clone=function(e){return Jn(e,4)},On.cloneDeep=function(e){return Jn(e,5)},On.cloneDeepWith=function(e,t){return Jn(e,5,t="function"==typeof t?t:void 0)},On.cloneWith=function(e,t){return Jn(e,4,t="function"==typeof t?t:void 0)},On.conformsTo=function(e,t){return null==t||Kn(e,t,_s(t))},On.deburr=Ds,On.defaultTo=function(e,t){return null==e||e!=e?t:e},On.divide=ll,On.endsWith=function(e,t,n){e=ss(e),t=Ki(t);var i=e.length,r=n=void 0===n?i:qn(is(n),0,i);return(n-=t.length)>=0&&e.slice(n,r)==t},On.eq=Co,On.escape=function(e){return(e=ss(e))&&N.test(e)?e.replace(R,Rt):e},On.escapeRegExp=function(e){return(e=ss(e))&&X.test(e)?e.replace(U,"\\$&"):e},On.every=function(e,t,n){var i=Po(e)?ct:ni;return n&&sa(e,t,n)&&(t=void 0),i(e,Jr(t,3))},On.find=ro,On.findIndex=Ea,On.findKey=function(e,t){return yt(e,Jr(t,3),li)},On.findLast=ao,On.findLastIndex=Da,On.findLastKey=function(e,t){return yt(e,Jr(t,3),ci)},On.floor=cl,On.forEach=oo,On.forEachRight=so,On.forIn=function(e,t){return null==e?e:oi(e,Jr(t,3),xs)},On.forInRight=function(e,t){return null==e?e:si(e,Jr(t,3),xs)},On.forOwn=function(e,t){return e&&li(e,Jr(t,3))},On.forOwnRight=function(e,t){return e&&ci(e,Jr(t,3))},On.get=ms,On.gt=To,On.gte=Eo,On.has=function(e,t){return null!=e&&ia(e,t,mi)},On.hasIn=gs,On.head=ja,On.identity=Us,On.includes=function(e,t,n,i){e=Yo(e)?e:Cs(e),n=n&&!i?is(n):0;var r=e.length;return n<0&&(n=on(r+n,0)),Jo(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&xt(e,t,n)>-1},On.indexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:is(n);return r<0&&(r=on(i+r,0)),xt(e,t,r)},On.inRange=function(e,t,n){return t=ns(t),void 0===n?(n=t,t=0):n=ns(n),function(e,t,n){return e>=sn(t,n)&&e<on(t,n)}(e=as(e),t,n)},On.invoke=ys,On.isArguments=Do,On.isArray=Po,On.isArrayBuffer=jo,On.isArrayLike=Yo,On.isArrayLikeObject=Io,On.isBoolean=function(e){return!0===e||!1===e||Vo(e)&&fi(e)==u},On.isBuffer=Ro,On.isDate=Ho,On.isElement=function(e){return Vo(e)&&1===e.nodeType&&!Xo(e)},On.isEmpty=function(e){if(null==e)return!0;if(Yo(e)&&(Po(e)||"string"==typeof e||"function"==typeof e.splice||Ro(e)||Zo(e)||Do(e)))return!e.length;var t=na(e);if(t==m||t==y)return!e.size;if(da(e))return!Si(e).length;for(var n in e)if(Se.call(e,n))return!1;return!0},On.isEqual=function(e,t){return _i(e,t)},On.isEqualWith=function(e,t,n){var i=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===i?_i(e,t,void 0,n):!!i},On.isError=No,On.isFinite=function(e){return"number"==typeof e&&nn(e)},On.isFunction=Fo,On.isInteger=zo,On.isLength=Bo,On.isMap=$o,On.isMatch=function(e,t){return e===t||xi(e,t,Zr(t))},On.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,xi(e,t,Zr(t),n)},On.isNaN=function(e){return Uo(e)&&e!=+e},On.isNative=function(e){if(ua(e))throw new he("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return wi(e)},On.isNil=function(e){return null==e},On.isNull=function(e){return null===e},On.isNumber=Uo,On.isObject=Wo,On.isObjectLike=Vo,On.isPlainObject=Xo,On.isRegExp=Go,On.isSafeInteger=function(e){return zo(e)&&e>=-9007199254740991&&e<=9007199254740991},On.isSet=qo,On.isString=Jo,On.isSymbol=Ko,On.isTypedArray=Zo,On.isUndefined=function(e){return void 0===e},On.isWeakMap=function(e){return Vo(e)&&na(e)==w},On.isWeakSet=function(e){return Vo(e)&&"[object WeakSet]"==fi(e)},On.join=function(e,t){return null==e?"":rn.call(e,t)},On.kebabCase=Ps,On.last=Ha,On.lastIndexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i;return void 0!==n&&(r=(r=is(n))<0?on(i+r,0):sn(r,i-1)),t==t?function(e,t,n){for(var i=n+1;i--;)if(e[i]===t)return i;return i}(e,t,r):_t(e,kt,r,!0)},On.lowerCase=js,On.lowerFirst=Ys,On.lt=Qo,On.lte=es,On.max=function(e){return e&&e.length?ii(e,Us,pi):void 0},On.maxBy=function(e,t){return e&&e.length?ii(e,Jr(t,2),pi):void 0},On.mean=function(e){return St(e,Us)},On.meanBy=function(e,t){return St(e,Jr(t,2))},On.min=function(e){return e&&e.length?ii(e,Us,Li):void 0},On.minBy=function(e,t){return e&&e.length?ii(e,Jr(t,2),Li):void 0},On.stubArray=rl,On.stubFalse=al,On.stubObject=function(){return{}},On.stubString=function(){return""},On.stubTrue=function(){return!0},On.multiply=dl,On.nth=function(e,t){return e&&e.length?Ei(e,is(t)):void 0},On.noConflict=function(){return Xe._===this&&(Xe._=Ce),this},On.noop=Ks,On.now=mo,On.pad=function(e,t,n){e=ss(e);var i=(t=is(t))?$t(e):0;if(!t||i>=t)return e;var r=(t-i)/2;return Dr(Qt(r),n)+e+Dr(Zt(r),n)},On.padEnd=function(e,t,n){e=ss(e);var i=(t=is(t))?$t(e):0;return t&&i<t?e+Dr(t-i,n):e},On.padStart=function(e,t,n){e=ss(e);var i=(t=is(t))?$t(e):0;return t&&i<t?Dr(t-i,n)+e:e},On.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),cn(ss(e).replace(q,""),t||0)},On.random=function(e,t,n){if(n&&"boolean"!=typeof n&&sa(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=ns(e),void 0===t?(t=e,e=0):t=ns(t)),e>t){var i=e;e=t,t=i}if(n||e%1||t%1){var r=un();return sn(e+r*(t-e+We("1e-"+((r+"").length-1))),t)}return Ii(e,t)},On.reduce=function(e,t,n){var i=Po(e)?mt:At,r=arguments.length<3;return i(e,Jr(t,4),n,r,ei)},On.reduceRight=function(e,t,n){var i=Po(e)?gt:At,r=arguments.length<3;return i(e,Jr(t,4),n,r,ti)},On.repeat=function(e,t,n){return t=(n?sa(e,t,n):void 0===t)?1:is(t),Ri(ss(e),t)},On.replace=function(){var e=arguments,t=ss(e[0]);return e.length<3?t:t.replace(e[1],e[2])},On.result=function(e,t,n){var i=-1,r=(t=sr(t,e)).length;for(r||(r=1,e=void 0);++i<r;){var a=null==e?void 0:e[Ma(t[i])];void 0===a&&(i=r,a=n),e=Fo(a)?a.call(e):a}return e},On.round=hl,On.runInContext=e,On.sample=function(e){return(Po(e)?Nn:Ni)(e)},On.size=function(e){if(null==e)return 0;if(Yo(e))return Jo(e)?$t(e):e.length;var t=na(e);return t==m||t==y?e.size:Si(e).length},On.snakeCase=Is,On.some=function(e,t,n){var i=Po(e)?vt:Ui;return n&&sa(e,t,n)&&(t=void 0),i(e,Jr(t,3))},On.sortedIndex=function(e,t){return Xi(e,t)},On.sortedIndexBy=function(e,t,n){return Gi(e,t,Jr(n,2))},On.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var i=Xi(e,t);if(i<n&&Co(e[i],t))return i}return-1},On.sortedLastIndex=function(e,t){return Xi(e,t,!0)},On.sortedLastIndexBy=function(e,t,n){return Gi(e,t,Jr(n,2),!0)},On.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Xi(e,t,!0)-1;if(Co(e[n],t))return n}return-1},On.startCase=Rs,On.startsWith=function(e,t,n){return e=ss(e),n=null==n?0:qn(is(n),0,e.length),t=Ki(t),e.slice(n,n+t.length)==t},On.subtract=fl,On.sum=function(e){return e&&e.length?Ot(e,Us):0},On.sumBy=function(e,t){return e&&e.length?Ot(e,Jr(t,2)):0},On.template=function(e,t,n){var i=On.templateSettings;n&&sa(e,t,n)&&(t=void 0),e=ss(e),t=us({},t,i,Fr);var r,a,o=us({},t.imports,i.imports,Fr),s=_s(o),l=Et(o,s),c=0,u=t.interpolate||ue,d="__p += '",h=ge((t.escape||ue).source+"|"+u.source+"|"+(u===B?ne:ue).source+"|"+(t.evaluate||ue).source+"|$","g"),f="//# sourceURL="+(Se.call(t,"sourceURL")?(t.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++Ne+"]")+"\n";
111e.replace(h,(function(t,n,i,o,s,l){return i||(i=o),d+=e.slice(c,l).replace(de,Ht),n&&(r=!0,d+="' +\n__e("+n+") +\n'"),s&&(a=!0,d+="';\n"+s+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),d+="';\n";var p=Se.call(t,"variable")&&t.variable;p||(d="with (obj) {\n"+d+"\n}\n"),d=(a?d.replace(P,""):d).replace(j,"$1").replace(Y,"$1;"),d="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=zs((function(){return fe(s,f+"return "+d).apply(void 0,l)}));if(m.source=d,No(m))throw m;return m},On.times=function(e,t){if((e=is(e))<1||e>9007199254740991)return[];var n=4294967295,i=sn(e,4294967295);e-=4294967295;for(var r=Ct(i,t=Jr(t));++n<e;)t(n);return r},On.toFinite=ns,On.toInteger=is,On.toLength=rs,On.toLower=function(e){return ss(e).toLowerCase()},On.toNumber=as,On.toSafeInteger=function(e){return e?qn(is(e),-9007199254740991,9007199254740991):0===e?e:0},On.toString=ss,On.toUpper=function(e){return ss(e).toUpperCase()},On.trim=function(e,t,n){if((e=ss(e))&&(n||void 0===t))return e.replace(G,"");if(!e||!(t=Ki(t)))return e;var i=Ut(e),r=Ut(t);return cr(i,Pt(i,r),jt(i,r)+1).join("")},On.trimEnd=function(e,t,n){if((e=ss(e))&&(n||void 0===t))return e.replace(J,"");if(!e||!(t=Ki(t)))return e;var i=Ut(e);return cr(i,0,jt(i,Ut(t))+1).join("")},On.trimStart=function(e,t,n){if((e=ss(e))&&(n||void 0===t))return e.replace(q,"");if(!e||!(t=Ki(t)))return e;var i=Ut(e);return cr(i,Pt(i,Ut(t))).join("")},On.truncate=function(e,t){var n=30,i="...";if(Wo(t)){var r="separator"in t?t.separator:r;n="length"in t?is(t.length):n,i="omission"in t?Ki(t.omission):i}var a=(e=ss(e)).length;if(Nt(e)){var o=Ut(e);a=o.length}if(n>=a)return e;var s=n-$t(i);if(s<1)return i;var l=o?cr(o,0,s).join(""):e.slice(0,s);if(void 0===r)return l+i;if(o&&(s+=l.length-s),Go(r)){if(e.slice(s).search(r)){var c,u=l;for(r.global||(r=ge(r.source,ss(ie.exec(r))+"g")),r.lastIndex=0;c=r.exec(u);)var d=c.index;l=l.slice(0,void 0===d?s:d)}}else if(e.indexOf(Ki(r),s)!=s){var h=l.lastIndexOf(r);h>-1&&(l=l.slice(0,h))}return l+i},On.unescape=function(e){return(e=ss(e))&&H.test(e)?e.replace(I,Xt):e},On.uniqueId=function(e){var t=++Me;return ss(e)+t},On.upperCase=Hs,On.upperFirst=Ns,On.each=oo,On.eachRight=so,On.first=ja,Js(On,(ul={},li(On,(function(e,t){Se.call(On.prototype,t)||(ul[t]=e)})),ul),{chain:!1}),On.VERSION="4.17.15",st(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){On[e].placeholder=On})),st(["drop","take"],(function(e,t){Dn.prototype[e]=function(n){n=void 0===n?1:on(is(n),0);var i=this.__filtered__&&!t?new Dn(this):this.clone();return i.__filtered__?i.__takeCount__=sn(n,i.__takeCount__):i.__views__.push({size:sn(n,4294967295),type:e+(i.__dir__<0?"Right":"")}),i},Dn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),st(["filter","map","takeWhile"],(function(e,t){var n=t+1,i=1==n||3==n;Dn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Jr(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}})),st(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Dn.prototype[e]=function(){return this[n](1).value()[0]}})),st(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Dn.prototype[e]=function(){return this.__filtered__?new Dn(this):this[n](1)}})),Dn.prototype.compact=function(){return this.filter(Us)},Dn.prototype.find=function(e){return this.filter(e).head()},Dn.prototype.findLast=function(e){return this.reverse().find(e)},Dn.prototype.invokeMap=Hi((function(e,t){return"function"==typeof e?new Dn(this):this.map((function(n){return bi(n,e,t)}))})),Dn.prototype.reject=function(e){return this.filter(So(Jr(e)))},Dn.prototype.slice=function(e,t){e=is(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Dn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=is(t))<0?n.dropRight(-t):n.take(t-e)),n)},Dn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Dn.prototype.toArray=function(){return this.take(4294967295)},li(Dn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),r=On[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);r&&(On.prototype[t]=function(){var t=this.__wrapped__,o=i?[1]:arguments,s=t instanceof Dn,l=o[0],c=s||Po(t),u=function(e){var t=r.apply(On,pt([e],o));return i&&d?t[0]:t};c&&n&&"function"==typeof l&&1!=l.length&&(s=c=!1);var d=this.__chain__,h=!!this.__actions__.length,f=a&&!d,p=s&&!h;if(!a&&c){t=p?t:new Dn(this);var m=e.apply(t,o);return m.__actions__.push({func:to,args:[u],thisArg:void 0}),new En(m,d)}return f&&p?e.apply(this,o):(m=this.thru(u),f?i?m.value()[0]:m.value():m)})})),st(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ye[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);On.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(Po(r)?r:[],e)}return this[n]((function(n){return t.apply(Po(n)?n:[],e)}))}})),li(Dn.prototype,(function(e,t){var n=On[t];if(n){var i=n.name+"";Se.call(yn,i)||(yn[i]=[]),yn[i].push({name:t,func:n})}})),yn[Or(void 0,2).name]=[{name:"wrapper",func:void 0}],Dn.prototype.clone=function(){var e=new Dn(this.__wrapped__);return e.__actions__=vr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=vr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=vr(this.__views__),e},Dn.prototype.reverse=function(){if(this.__filtered__){var e=new Dn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Dn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Po(e),i=t<0,r=n?e.length:0,a=function(e,t,n){var i=-1,r=n.length;for(;++i<r;){var a=n[i],o=a.size;switch(a.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=sn(t,e+o);break;case"takeRight":e=on(e,t-o)}}return{start:e,end:t}}(0,r,this.__views__),o=a.start,s=a.end,l=s-o,c=i?s:o-1,u=this.__iteratees__,d=u.length,h=0,f=sn(l,this.__takeCount__);if(!n||!i&&r==l&&f==l)return nr(e,this.__actions__);var p=[];e:for(;l--&&h<f;){for(var m=-1,g=e[c+=t];++m<d;){var v=u[m],b=v.iteratee,y=v.type,_=b(g);if(2==y)g=_;else if(!_){if(1==y)continue e;break e}}p[h++]=g}return p},On.prototype.at=no,On.prototype.chain=function(){return eo(this)},On.prototype.commit=function(){return new En(this.value(),this.__chain__)},On.prototype.next=function(){void 0===this.__values__&&(this.__values__=ts(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},On.prototype.plant=function(e){for(var t,n=this;n instanceof Tn;){var i=Aa(n);i.__index__=0,i.__values__=void 0,t?r.__wrapped__=i:t=i;var r=i;n=n.__wrapped__}return r.__wrapped__=e,t},On.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Dn){var t=e;return this.__actions__.length&&(t=new Dn(this)),(t=t.reverse()).__actions__.push({func:to,args:[Ba],thisArg:void 0}),new En(t,this.__chain__)}return this.thru(Ba)},On.prototype.toJSON=On.prototype.valueOf=On.prototype.value=function(){return nr(this.__wrapped__,this.__actions__)},On.prototype.first=On.prototype.head,Ze&&(On.prototype[Ze]=function(){return this}),On}();Xe._=Gt,void 0===(r=function(){return Gt}.call(t,n,t,i))||(i.exports=r)}).call(this)}).call(this,n("yLpj"),n("YuTi")(e))},Lw4j:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("Kw5r"),r=Object(i.ref)(!1),a=Object(i.ref)(""),o=Object(i.ref)(null),s=Object(i.ref)("Ok"),l=Object(i.ref)(null),c=function(){var e=function(){r.value=!0};return{confirmModal:r,question:a,callback:o,confirmLabel:s,hint:l,show:e,hide:function(){r.value=!1},confirm:function(t){a.value="",o.value=null,s.value="Ok",l.value=null,t.question?(a.value=t.question,l.value=t.hint||null,s.value=t.confirmLabel||null):a.value=t,o.value=t.callback,e()}}}},"M20+":function(e,t,n){"use strict";var i=function(){var e=this,t=e._self._c;return t("PJDialogue",{attrs:{title:e.title||"Confirm",persistent:""},scopedSlots:e._u([{key:"buttons",fn:function(){return[t("v-btn",{attrs:{"min-width":"110",color:"grey darken-2",outlined:""},on:{click:function(t){return e.selectAnswer(!1)}}},[e._v("\n "+e._s(e.cancelLabel)+"\n ")]),e._v(" "),t("v-btn",{attrs:{"min-width":"110",color:e.confirmColor?e.confirmColor:"grey darken-2",outlined:""},on:{click:function(t){return e.selectAnswer(!0)}}},[e._v("\n "+e._s(e.confirmLabel)+"\n ")])]},proxy:!0}]),model:{value:e.open,callback:function(t){e.open=t},expression:"open"}},[t("v-sheet",{domProps:{innerHTML:e._s(e.question)}}),e._v(" "),e.hint?t("v-sheet",{staticClass:"text--secondary mt-2"}
111,[e._v("\n "+e._s(e.hint)+"\n ")]):e._e()],1)};i._withStripped=!0;var r=n("bbSu"),a=n("u8Zi"),o=n("TP7S"),s=n.n(o),l={props:{value:{type:Boolean,default:void 0},metadata:{type:Object,default:function(){return null}}},data:function(){return{title:"Confirm",icon:"",iconColor:"",open:!1,question:"",callback:null,hint:null,confirmLabel:"Ok",cancelLabel:"Cancel",confirmColor:null}},watch:{value:function(e){e&&(this.open=!0)},metadata:{handler:function(e){this.setMetaData(e)},deep:!0}},methods:{show:function(){this.open=!0},hide:function(){this.open=!1,this.$emit("input",!1)},reset:function(){this.question="",this.callback=null,this.confirmLabel="Ok",this.cancelLabel="Cancel",this.confirmColor=null,this.title="Confirm",this.icon="",this.iconColor="",this.hint=null},selectAnswer:function(e){"function"==typeof this.callback?this.callback(e):console.error("modal is missing callback"),this.hide()},setMetaData:function(e){this.reset(),this.question=e.question,this.callback=e.callback,e.title&&(this.title=e.title),e.icon&&(this.icon=e.icon),e.iconColor&&(this.iconColor=e.iconColor),e.confirmLabel&&(this.confirmLabel=e.confirmLabel),e.cancelLabel&&(this.cancelLabel=e.cancelLabel),e.confirmColor&&(this.confirmColor=e.confirmColor),e.hint&&(this.hint=e.hint),s()(this.value)&&this.show()}},mounted:function(){this.metadata?this.setMetaData(this.metadata):r.a.$on(a.a.CONFIRM_VUETIFY,this.setMetaData)},beforeMount:function(){r.a.$off(a.a.CONFIRM_VUETIFY)},beforeDestroy:function(){r.a.$off(a.a.CONFIRM_VUETIFY)}},c=n("KHd+"),u=n("ZUTo"),d=n.n(u),h=n("gzZi"),f=n("jdmY"),p=Object(c.a)(l,i,[],!1,null,null,null);t.a=p.exports;d()(p,{VBtn:h.a,VSheet:f.a})},M2AK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("eO9T");t.default=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,i.withParams)({type:"and"},(function(){for(var e=this,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.length>0&&t.reduce((function(t,n){return t&&n.apply(e,i)}),!0)}))}},MEZC:function(e,t,n){"use strict";n("WFr2")},MO6L:function(e,t,n){"use strict";n("jhst")},MSko:function(e,t,n){"use strict";n("Hwl6");var i=n("yZVd"),r=n("JLKi"),a=n("dWAg"),o=n("WN+I"),s=n("gNKD");t.a=Object(o.a)(i.a,r.a,a.a).extend({name:"VSkeletonLoader",props:{boilerplate:Boolean,loading:Boolean,loadingText:{type:String,default:"$vuetify.loading"},tile:Boolean,transition:String,type:String,types:{type:Object,default:()=>({})}},computed:{attrs(){return this.isLoading?{"aria-busy":!this.boilerplate||void 0,"aria-live":this.boilerplate?void 0:"polite","aria-label":this.boilerplate?void 0:this.$vuetify.lang.t(this.loadingText),role:this.boilerplate?void 0:"alert",...this.$attrs}:this.$attrs},classes(){return{"v-skeleton-loader--boilerplate":this.boilerplate,"v-skeleton-loader--is-loading":this.isLoading,"v-skeleton-loader--tile":this.tile,...this.themeClasses,...this.elevationClasses}},isLoading(){return!("default"in this.$scopedSlots)||this.loading},rootTypes(){return{actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, card-heading","card-avatar":"image, list-item-avatar","card-heading":"heading",chip:"chip","date-picker":"list-item, card-heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",paragraph:"text@3",sentences:"text@2",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"heading, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"table-cell@6","table-cell":"text","table-tfoot":"text@2, avatar@2",text:"text",...this.types}}},methods:{genBone(e,t){return this.$createElement("div",{staticClass:`v-skeleton-loader__${e} v-skeleton-loader__bone`},t)},genBones(e){const[t,n]=e.split("@");return Array.from({length:n}).map(()=>this.genStructure(t))},genStructure(e){let t=[];e=e||this.type||"";const n=this.rootTypes[e]||"";if(e===n);else{if(e.indexOf(",")>-1)return this.mapBones(e);if(e.indexOf("@")>-1)return this.genBones(e);n.indexOf(",")>-1?t=this.mapBones(n):n.indexOf("@")>-1?t=this.genBones(n):n&&t.push(this.genStructure(n))}return[this.genBone(e,t)]},genSkeleton(){const e=[];return this.isLoading?e.push(this.genStructure()):e.push(Object(s.s)(this)),this.transition?this.$createElement("transition",{props:{name:this.transition},on:{afterEnter:this.resetStyles,beforeEnter:this.onBeforeEnter,beforeLeave:this.onBeforeLeave,leaveCancelled:this.resetStyles}},e):e},mapBones(e){return e.replace(/\s/g,"").split(",").map(this.genStructure)},onBeforeEnter(e){this.resetStyles(e),this.isLoading&&(e._initialStyle={display:e.style.display,transition:e.style.transition},e.style.setProperty("transition","none","important"))},onBeforeLeave(e){e.style.setProperty("display","none","important")},resetStyles(e){e._initialStyle&&(e.style.display=e._initialStyle.display||"",e.style.transition=e._initialStyle.transition,delete e._initialStyle)}},render(e){return e("div",{staticClass:"v-skeleton-loader",attrs:this.attrs,on:this.$listeners,class:this.classes,style:this.isLoading?this.measurableStyles:void 0},[this.genSkeleton()])}})},MfFS:function(e,t,n){"use strict";n("Ip4B")},MrPd:function(e,t,n){var i=n("hypo"),r=n("ljhN"),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var o=e[t];
111a.call(e,t)&&r(o,n)&&(void 0!==n||t in e)||i(e,t,n)}},"N/XM":function(e,t,n){"use strict";n.r(t),n.d(t,"createApp",(function(){return d})),n.d(t,"Vue2",(function(){return l})),n.d(t,"isVue2",(function(){return o})),n.d(t,"isVue3",(function(){return s})),n.d(t,"install",(function(){return u})),n.d(t,"warn",(function(){return c})),n.d(t,"Fragment",(function(){return f})),n.d(t,"Transition",(function(){return p})),n.d(t,"TransitionGroup",(function(){return m})),n.d(t,"Teleport",(function(){return g})),n.d(t,"Suspense",(function(){return v})),n.d(t,"KeepAlive",(function(){return b})),n.d(t,"hasInjectionContext",(function(){return y}));var i=n("uxWi"),r=n.n(i);for(var a in n.d(t,"Vue",(function(){return r.a})),i)["default","createApp","Vue","Vue2","isVue2","isVue3","install","warn","Fragment","Transition","TransitionGroup","Teleport","Suspense","KeepAlive","hasInjectionContext"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);var o=!0,s=!1,l=r.a,c=r.a.util.warn;function u(){}function d(e,t){var n,i={},a={config:r.a.config,use:r.a.use.bind(r.a),mixin:r.a.mixin.bind(r.a),component:r.a.component.bind(r.a),provide:function(e,t){return i[e]=t,this},directive:function(e,t){return t?(r.a.directive(e,t),a):r.a.directive(e)},mount:function(a,o){return n||((n=new r.a(Object.assign({propsData:t},e,{provide:Object.assign(i,e.provide)}))).$mount(a,o),n)},unmount:function(){n&&(n.$destroy(),n=void 0)}};return a}function h(e){return{setup(){throw new Error("[vue-demi] "+e+" is not supported in Vue 2. It's provided to avoid compiler errors.")}}}var f=h("Fragment"),p=h("Transition"),m=h("TransitionGroup"),g=h("Teleport"),v=h("Suspense"),b=h("KeepAlive");function y(){return!!Object(i.getCurrentInstance)()}},N1om:function(e,t,n){var i=n("sgoq")((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}));e.exports=i},N4SJ:function(e,t,n){"use strict";n("Xfk+")},NCad:function(e,t,n){"use strict";n.r(t),t.default={path:"/staff/aims/",name:"staffaims",component:function(){return n.e(169).then(n.bind(null,"6p0S"))},children:[{path:"/",name:"AimsHome",component:function(){return Promise.all([n.e(51),n.e(547)]).then(n.bind(null,"u9zQ"))}},{path:"institutions",name:"AimsInstitutions",component:function(){return n.e(328).then(n.bind(null,"MjuE"))}},{path:"articles/",name:"AimsArticles",component:function(){return n.e(138).then(n.bind(null,"YXIG"))}},{path:"articles/institution/:institutionId",name:"AimsArticlesByInstitution",component:function(){return n.e(138).then(n.bind(null,"YXIG"))}},{path:"users",name:"AimsUsers",component:function(){return n.e(245).then(n.bind(null,"cltz"))}},{path:"memberships",name:"AimsMemberships",component:function(){return n.e(329).then(n.bind(null,"h/g8"))}},{path:"tiers",name:"AimsTiers",component:function(){return n.e(330).then(n.bind(null,"95oW"))}},{path:"statuses",name:"AimsArticleStatuses",component:function(){return n.e(327).then(n.bind(null,"rFxa"))}},{path:"faqs",name:"AimsFaqManagement",component:function(){return Promise.all([n.e(235),n.e(1135)]).then(n.bind(null,"ADNn"))}}]}},NJRi:function(e,t,n){"use strict";n.r(t),t.default={path:"",name:"annotationHome",component:{render:function(e){return e("router-view")}},children:[{path:"/ask",name:"AskHome",component:function(){return Promise.all([n.e(7),n.e(21),n.e(130)]).then(n.bind(null,"Tlfj"))}},{path:"/ask/faq",name:"AskFaq",component:function(){return Promise.all([n.e(7),n.e(21),n.e(129)]).then(n.bind(null,"bOAy"))}},{path:"/ask/faq-edit/:id",name:"AskFaqEdit",component:function(){return Promise.all([n.e(7),n.e(21),n.e(129)]).then(n.bind(null,"bOAy"))}},{path:"/ask/staff",name:"AskStaff",component:function(){return Promise.all([n.e(7),n.e(21),n.e(131)]).then(n.bind(null,"j9IS"))}},{path:"/ask/staff-edit/:id",name:"AskStaffEdit",component:function(){return Promise.all([n.e(7),n.e(21),n.e(131)]).then(n.bind(null,"j9IS"))}},{path:"/question-edit/:id",name:"AskEdit",component:function(){return Promise.all([n.e(7),n.e(21),n.e(130)]).then(n.bind(null,"Tlfj"))}},{path:"/questions/:id",name:"PublicQuestionItem",component:function(){return Promise.all([n.e(7),n.e(23),n.e(28),n.e(285)]).then(n.bind(null,"SUVx"))}},{path:"/questions/faq/:id",alias:"/faq/:id",name:"FaqQuestionItem",component:function(){return Promise.all([n.e(7),n.e(23),n.e(28),n.e(284)]).then(n.bind(null,"t+q7"))}},{path:"/questions/staff/:id",alias:"/staff/questions/:id",name:"StaffQuestionItem",component:function(){return Promise.all([n.e(7),n.e(23),n.e(28),n.e(286)]).then(n.bind(null,"Xves"))}}]}},NqcE:function(e,t,n){},NsVE:function(e,t,n){"use strict";n.r(t),t.default={Submit:"Submit",Reset:"Reset",Delete:"Delete","Yes, delete":"Yes, delete",Edit:"Edit","Are you sure you want to delete this item?":"Are you sure you want to delete this item?","No results":"No results",Close:"Close",Cancel:"Cancel","No, cancel":"No, cancel",Upd
111ated:"Updated",Field:"Field",Value:"Value",Filters:"Filters",Filter:"Filter","Data unavailable":"Data unavailable","Loading...":"Loading...",Deleted:"Deleted","Please, insert a value bigger than zero!":"Please, insert a value bigger than zero!","Please type something":"Please type something","Field is required":"Field is required","Records per page:":"Records per page:",filterTitle:"Collection title"}},Nsbk:function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},"O0D+":function(e,t,n){"use strict";n.r(t),t.default=Object.freeze({SEARCH_QUERY_PARAM_CHANGE:"paramChangeEvent",SHOW_MODAL:"showModal"})},O0oS:function(e,t,n){var i=n("Cwc5"),r=function(){try{var e=i(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},O7RO:function(e,t,n){var i=n("CMye"),r=n("7GkX");e.exports=function(e){for(var t=r(e),n=t.length;n--;){var a=t[n],o=e[a];t[n]=[a,o,i(o)]}return t}},OBhP:function(e,t,n){var i=n("fmRc"),r=n("gFfm"),a=n("MrPd"),o=n("WwFo"),s=n("Dw+G"),l=n("5Tg0"),c=n("Q1l4"),u=n("VOtZ"),d=n("EEGq"),h=n("qZTm"),f=n("G6z8"),p=n("QqLw"),m=n("yHx3"),g=n("wrZu"),v=n("+iFO"),b=n("Z0cm"),y=n("DSRE"),_=n("zEVN"),x=n("GoyQ"),w=n("1+5i"),k=n("7GkX"),S={};S["[object Arguments]"]=S["[object Array]"]=S["[object ArrayBuffer]"]=S["[object DataView]"]=S["[object Boolean]"]=S["[object Date]"]=S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Map]"]=S["[object Number]"]=S["[object Object]"]=S["[object RegExp]"]=S["[object Set]"]=S["[object String]"]=S["[object Symbol]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S["[object Error]"]=S["[object Function]"]=S["[object WeakMap]"]=!1,e.exports=function e(t,n,M,L,A,O){var C,T=1&n,E=2&n,D=4&n;if(M&&(C=A?M(t,L,A,O):M(t)),void 0!==C)return C;if(!x(t))return t;var P=b(t);if(P){if(C=m(t),!T)return c(t,C)}else{var j=p(t),Y="[object Function]"==j||"[object GeneratorFunction]"==j;if(y(t))return l(t,T);if("[object Object]"==j||"[object Arguments]"==j||Y&&!A){if(C=E||Y?{}:v(t),!T)return E?d(t,s(C,t)):u(t,o(C,t))}else{if(!S[j])return A?t:{};C=g(t,j,T)}}O||(O=new i);var I=O.get(t);if(I)return I;O.set(t,C),w(t)?t.forEach((function(i){C.add(e(i,n,M,i,t,O))})):_(t)&&t.forEach((function(i,r){C.set(r,e(i,n,M,r,t,O))}));var R=D?E?f:h:E?keysIn:k,H=P?void 0:R(t);return r(H||t,(function(i,r){H&&(i=t[r=i]),a(C,r,e(i,n,M,r,t,O))})),C}},OFL0:function(e,t,n){var i=n("lvO4"),r=n("4sDh");e.exports=function(e,t){return null!=e&&r(e,t,i)}},OGDc:function(e,t,n){"use strict";var i=n("YEyi");t.a=i.a.extend({name:"button-group",provide(){return{btnToggle:this}},computed:{classes(){return i.a.options.computed.classes.call(this)}},methods:{genData:i.a.options.methods.genData}})},OGNg:function(e,t,n){},OIYi:function(e,t,n){!function(e){"use strict";
112//! moment.js locale configuration 113e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n("wd/R"))},OP9Q:function(e,t,n){},Oaa7:function(e,t,n){!function(e){"use strict";
114//! moment.js locale configuration 115e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},OaaX:function(e,t,n){"use strict";n.r(t),n.d(t,"useGraphCommentsComposable",(function(){return C}));var r=n("cDf5"),a=n.n(r),o=n("lSNA"),s=n.n(o),l=n("o0o1"),c=n.n(l),u=n("yXPU"),d=n.n(u),h=n("lhIi"),f=n("Kw5r"),p=n("RF1r"),m=n("afOK"),g=n.n(m),v=n("89Ef");function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _={CONTEXT_MODE:"CONTEXT_MODE",LIST_MODE:"LIST_MODE"},x={NO_GRAPH_ACTION:"No graph action was found"},w=Object(f.ref)(!1),k=Object(f.ref)(_.LIST_MODE),S=Object(f.ref)(0),M=Object(f.ref)(!0),L=Object(f.ref)(0),A=Object(f.ref)([]),O=Object(f.ref)(void 0),C=function(){var e={uuid:"",article:"",graphAction:"",commentType:"",text:"",locationId:null},t=Object(p.a)("graphComment",{getComments:"fetchAll",creatCommentService:"create",updateCommentService:"update",deleteCommentService:"del"}),n=t.getComments,r=t.creatCommentService,o=t.updateCommentService,s=t.deleteCommentService,l=Object(p.c)("graphComment",{comments:"list"}).comments,u=Object(p.a)("graphCommentTypePermission",{getCommentTypePermissions:"fetchAll"}).getCommentTypePermissions,m=Object(p.c)("graphCommentTypePermission",{commentTypePermissions:"list"}).commentTypePermissions,b=Object(p.e)("graphCommentTypePermission",{isLoadingCommentPermissions:"isLoading",totalCommentPermissionItems:"totalItems"}),C=b.isLoadingCommentPermissions,T=b.totalCommentPermissionItems,E=function(){var e=d()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==T.value||C.value){e.next=3;break}return e.next=3,u({article:t});case 3:return e.next=5,m;case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),D=Object(f.computed)((function(){return m.value.some((function(e){return!0===e.canView}))})),P=Object(f.computed)((function(){return m.value.some((function(e){return!0===e.canCreate}))})),j=Object(p.e)("workflowView",["currentAction"]).currentAction,Y=Object(f.computed)((function(){return k.value===_.LIST_MODE})),I=Object(f.computed)((function(){return k.value===_.CONTEXT_MODE})),R=Object(f.computed)((function(){var e;return null===(e=A.value)||void 0===e?void 0:e.length})),H=Object(f.computed)((function(){return function(e){var t;return null===(t=l.value)||void 0===t?void 0:t.filter((function(t){return t.locationId===e}))}})),N=function(){var e=d()(c.a.mark((function e(t){var i,r=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=r.length>1&&void 0!==r[1]?r[1]:function(){},e.prev=1,!D.value){e.next=6;break}return e.next=5,n({article:t,itemsPerPage:400});case 5:X();case 6:e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),console.error(e.t0);case 11:return e.prev=11,i(),e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[1,8,11,14]])}
115)));return function(t){return e.apply(this,arguments)}}(),F=function(){var e=d()(c.a.mark((function e(t){var n,i,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.uuid,i=t.text,e.prev=1,r={"@id":v.a.GRAPH_COMMENTS+n,text:i},e.next=5,o(r);case 5:setTimeout((function(){X()}),250),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t){return e.apply(this,arguments)}}(),z=function(){var e=d()(c.a.mark((function e(t){var n,i,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.uuid,i=t.resolved,e.prev=1,r={"@id":v.a.GRAPH_COMMENTS+n,resolved:i},e.next=5,o(r);case 5:setTimeout((function(){X()}),250),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t){return e.apply(this,arguments)}}(),B=function(){var e=d()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,""===t.graphAction&&delete t.graphAction,e.next=4,r(t);case 4:setTimeout((function(){X()}),250),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.error(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}(),W=function(){var e=d()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,s(t);case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),console.error(e.t0);case 8:return e.prev=8,i>-1&&setTimeout((function(){X()}),250),e.finish(8);case 11:case"end":return e.stop()}}),e,null,[[0,5,8,11]])})));return function(t){return e.apply(this,arguments)}}(),V=function(e){return y(y({},e),{},{replies:l.value.filter((function(t){var n=t.parentId,i=void 0===n?null:n;if(i)switch(a()(i)){case"object":return e.uuid===(null==i?void 0:i.uuid);case"string":return e.uuid===i}return!1}))})},$=Object(f.computed)((function(){return!!j.value.graphAction})),U=Object(f.ref)({selectedVersions:[],selectedTypes:[],selectedResolved:[],selectedActionTypes:[],selectedUsers:[]});Object(f.watch)(U,(function(){L.value++}),{deep:!0});var X=function(){A.value=l.value.filter((function(e){var t=null!==e.resolved;return(0===U.value.selectedVersions.length||U.value.selectedVersions.includes(e.version))&&(0===U.value.selectedTypes.length||U.value.selectedTypes.includes(e.commentTypeId))&&(0===U.value.selectedResolved.length||U.value.selectedResolved.includes(t))&&(0===U.value.selectedActionTypes.length||U.value.selectedActionTypes.includes(e.actionTypeName))&&(0===U.value.selectedUsers.length||U.value.selectedUsers.includes(e.user.id))}))},G=Object(f.computed)((function(){var e=l.value;return L.value>0&&(e=A.value),e.filter((function(e){return!e.parentId})).sort((function(e,t){return new Date(t.created)-new Date(e.created)})).map(V)})),q=Object(f.computed)((function(){return m.value.find((function(e){var t,n;return e.uuid===props.commentTypeId||(null===(t=props.comment)||void 0===t||null===(n=t.commentType)||void 0===n?void 0:n.replace(v.a.GRAPH_COMMENT_TYPE,""))}))||g()(m.value)}));return{EVENTS:x,hasSavedAction:$,COMMENT_MODES:_,comments:l,commentFilters:U,commentMode:k,commentCount:R,commentType:q,commentSectionWidth:S,localComments:H,isListMode:Y,isContextMode:I,canCreateComments:P,canViewComments:D,viewComments:w,loadingComments:M,commentToHighlight:O,commentTypePermissions:m,filterUpdated:L,filteredComments:A,parentComments:G,fetchCommentTypePermissions:E,fetchComments:N,updateComment:F,createComment:B,deleteComment:W,resolveComment:z,mapRepliesFilteredByParent:V,generateGraphComment:function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r="";i&&i.commentTypeId?r=i.commentTypeId:r=(null===(t=m.value[0])||void 0===t?void 0:t.uuid)||"";return y(y(y(y({},e),i?{parent:v.a.GRAPH_COMMENTS+i.uuid,commentType:v.a.GRAPH_COMMENT_TYPE+r}:""),{},{locationId:null,article:v.a.ARTICLE+n},$.value?{graphAction:v.a.GRAPH_ACTIONS+j.value.graphAction}:{}),{},{uuid:h.a.v4()})},updateFilteredComments:X}}},Ob0Z:function(e,t,n){!function(e){"use strict";
vendor: 3,386 bytes, lines 116-117
116//! moment.js locale configuration 117var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"à¥",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","à¥":"7","८":"8","९":"9","०":"0"};function i(e,t,n,i){var r="";if(t)switch(n){case"s":r="à¤à¤¾à¤¹à¥ सà¥à¤à¤à¤¦";break;case"ss":r="%d सà¥à¤à¤à¤¦";break;case"m":r="à¤à¤ मिनिà¤";break;case"mm":r="%d मिनिà¤à¥";break;case"h":r="à¤à¤ तास";break;case"hh":r="%d तास";break;case"d":r="à¤à¤ दिवस";break;case"dd":r="%d दिवस";break;case"M":r="à¤à¤ महिना";break;case"MM":r="%d महिनà¥";break;case"y":r="à¤à¤ वरà¥à¤·";break;case"yy":r="%d वरà¥à¤·à¥"}else switch(n){case"s":r="à¤à¤¾à¤¹à¥ सà¥à¤à¤à¤¦à¤¾à¤";break;case"ss":r="%d सà¥à¤à¤à¤¦à¤¾à¤";break;case"m":r="à¤à¤à¤¾ मिनिà¤à¤¾";break;case"mm":r="%d मिनिà¤à¤¾à¤";break;case"h":r="à¤à¤à¤¾ तासा";break;case"hh":r="%d तासाà¤";break;case"d":r="à¤à¤à¤¾ दिवसा";break;case"dd":r="%d दिवसाà¤";break;case"M":r="à¤à¤à¤¾ महिनà¥à¤¯à¤¾";break;case"MM":r="%d महिनà¥à¤¯à¤¾à¤";break;case"y":r="à¤à¤à¤¾ वरà¥à¤·à¤¾";break;case"yy":r="%d वरà¥à¤·à¤¾à¤"}return r.replace(/%d/i,e)}e.defineLocale("mr",{months:"à¤à¤¾à¤¨à¥à¤µà¤¾à¤°à¥_फà¥à¤¬à¥à¤°à¥à¤µà¤¾à¤°à¥_मारà¥à¤_à¤à¤ªà¥à¤°à¤¿à¤²_मà¥_à¤à¥à¤¨_à¤à¥à¤²à¥_à¤à¤à¤¸à¥à¤_सपà¥à¤à¥à¤à¤¬à¤°_à¤à¤à¥à¤à¥à¤¬à¤°_नà¥à¤µà¥à¤¹à¥à¤à¤¬à¤°_डिसà¥à¤à¤¬à¤°".split("_"),monthsShort:"à¤à¤¾à¤¨à¥._फà¥à¤¬à¥à¤°à¥._मारà¥à¤._à¤à¤ªà¥à¤°à¤¿._मà¥._à¤à¥à¤¨._à¤à¥à¤²à¥._à¤à¤._सपà¥à¤à¥à¤._à¤à¤à¥à¤à¥._नà¥à¤µà¥à¤¹à¥à¤._डिसà¥à¤.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सà¥à¤®à¤µà¤¾à¤°_मà¤à¤à¤³à¤µà¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_à¤à¥à¤°à¥à¤µà¤¾à¤°_शà¥à¤à¥à¤°à¤µà¤¾à¤°_शनिवार".split("_"),weekdaysShort:"रवि_सà¥à¤®_मà¤à¤à¤³_बà¥à¤§_à¤à¥à¤°à¥_शà¥à¤à¥à¤°_शनि".split("_"),weekdaysMin:"र_सà¥_मà¤_बà¥_à¤à¥_शà¥_श".split("_"),longDateFormat:{LT:"A h:mm वाà¤à¤¤à¤¾",LTS:"A h:mm:ss वाà¤à¤¤à¤¾",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाà¤à¤¤à¤¾",LLLL:"dddd, D MMMM YYYY, A h:mm वाà¤à¤¤à¤¾"},calendar:{sameDay:"[à¤à¤] LT",nextDay:"[à¤à¤¦à¥à¤¯à¤¾] LT",nextWeek:"dddd, LT",lastDay:"[à¤à¤¾à¤²] LT",lastWeek:"[माà¤à¥à¤²] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमधà¥à¤¯à¥",past:"%sपà¥à¤°à¥à¤µà¥",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(e){return e.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाà¤à¥|सà¤à¤¾à¤³à¥|दà¥à¤ªà¤¾à¤°à¥|सायà¤à¤à¤¾à¤³à¥|रातà¥à¤°à¥/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाà¤à¥"===t||"सà¤à¤¾à¤³à¥"===t?e:"दà¥à¤ªà¤¾à¤°à¥"===t||"सायà¤à¤à¤¾à¤³à¥"===t||"रातà¥à¤°à¥"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाà¤à¥":e<12?"सà¤à¤¾à¤³à¥":e<17?"दà¥à¤ªà¤¾à¤°à¥":e<20?"सायà¤à¤à¤¾à¤³à¥":"रातà¥à¤°à¥"},week:{dow:0,doy:6}})}(n("wd/R"))},OfZY:function(e,t,n){},OjkT:function(e,t,n){!function(e){"use strict";
118//! moment.js locale configuration 119var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"à¥",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","à¥":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"à¤à¤¨à¤µà¤°à¥_फà¥à¤¬à¥à¤°à¥à¤µà¤°à¥_मारà¥à¤_ठपà¥à¤°à¤¿à¤²_मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤_ठà¤à¤·à¥à¤_सà¥à¤ªà¥à¤à¥à¤®à¥à¤¬à¤°_ठà¤à¥à¤à¥à¤¬à¤°_नà¥à¤à¥à¤®à¥à¤¬à¤°_डिसà¥à¤®à¥à¤¬à¤°".split("_"),monthsShort:"à¤à¤¨._फà¥à¤¬à¥à¤°à¥._मारà¥à¤_ठपà¥à¤°à¤¿._मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤._ठà¤._सà¥à¤ªà¥à¤._ठà¤à¥à¤à¥._नà¥à¤à¥._डिसà¥.".split("_"),monthsParseExact:!0,weekdays:"à¤à¤à¤¤à¤¬à¤¾à¤°_सà¥à¤®à¤¬à¤¾à¤°_मà¤à¥à¤à¤²à¤¬à¤¾à¤°_बà¥à¤§à¤¬à¤¾à¤°_बिहिबार_शà¥à¤à¥à¤°à¤¬à¤¾à¤°_शनिबार".split("_"),weekdaysShort:"à¤à¤à¤¤._सà¥à¤®._मà¤à¥à¤à¤²._बà¥à¤§._बिहि._शà¥à¤à¥à¤°._शनि.".split("_"),weekdaysMin:"à¤._सà¥._मà¤._बà¥._बि._शà¥._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aà¤à¥ h:mm बà¤à¥",LTS:"Aà¤à¥ h:mm:ss बà¤à¥",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aà¤à¥ h:mm बà¤à¥",LLLL:"dddd, D MMMM YYYY, Aà¤à¥ h:mm बà¤à¥"},preparse:function(e){return e.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिà¤à¤à¤¸à¥|साà¤à¤/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिà¤à¤à¤¸à¥"===t?e>=10?e:e+12:"साà¤à¤"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिà¤à¤à¤¸à¥":e<20?"साà¤à¤":"राति"},calendar:{sameDay:"[à¤à¤] LT",nextDay:"[à¤à¥à¤²à¤¿] LT",nextWeek:"[à¤à¤à¤à¤¦à¥] dddd[,] LT",lastDay:"[हिà¤à¥] LT",lastWeek:"[à¤à¤à¤à¥] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s ठà¤à¤¾à¤¡à¤¿",s:"à¤à¥à¤¹à¥ à¤à¥à¤·à¤£",ss:"%d सà¥à¤à¥à¤£à¥à¤¡",m:"à¤à¤ मिनà¥à¤",mm:"%d मिनà¥à¤",h:"à¤à¤ à¤à¤£à¥à¤à¤¾",hh:"%d à¤à¤£à¥à¤à¤¾",d:"à¤à¤ दिन",dd:"%d दिन",M:"à¤à¤ महिना",MM:"%d महिना",y:"à¤à¤ बरà¥à¤·",yy:"%d बरà¥à¤·"},week:{dow:0,doy:6}})}(n("wd/R"))},OlTG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=(0,n("eO9T").regex)("alphaNum",/^[a-zA-Z0-9]*$/);t.default=i},OmwH:function(e,t,n){!function(e){"use strict";
vendor: 1,672 bytes, lines 120-121
120//! moment.js locale configuration 121e.defineLocale("zh-mo",{months:"䏿_äºæ_䏿_åæ_äºæ_å æ_䏿_å «æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå ".split("_"),weekdaysShort:"鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å ".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥dddd HH:mm",l:"D/M/YYYY",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(e,t){return 12===e&&(e=0),"忍"===t||"æ©ä¸"===t||"ä¸å"===t?e:"ä¸å"===t?e>=11?e:e+12:"ä¸å"===t||"æä¸"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"忍":i<900?"æ©ä¸":i<1130?"ä¸å":i<1230?"ä¸å":i<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©] LT",nextDay:"[æå¤©] LT",nextWeek:"[ä¸]dddd LT",lastDay:"[æ¨å¤©] LT",lastWeek:"[ä¸]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|é±)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"æ¥";case"M":return e+"æ";case"w":case"W":return e+"é±";default:return e}},relativeTime:{future:"%så §",past:"%så",s:"å¹¾ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ",hh:"%d å°æ",d:"1 天",dd:"%d 天",M:"1 åæ",MM:"%d åæ",y:"1 å¹´",yy:"%d å¹´"}})}(n("wd/R"))},Orck:function(e,t,n){},Oxv6:function(e,t,n){!function(e){"use strict";
122//! moment.js locale configuration 123var t={0:"-Ñм",1:"-Ñм",2:"-Ñм",3:"-Ñм",4:"-Ñм",5:"-Ñм",6:"-Ñм",7:"-Ñм",8:"-Ñм",9:"-Ñм",10:"-Ñм",12:"-Ñм",13:"-Ñм",20:"-Ñм",30:"-Ñм",40:"-Ñм",50:"-Ñм",60:"-Ñм",70:"-Ñм",80:"-Ñм",90:"-Ñм",100:"-Ñм"};e.defineLocale("tg",{months:{format:"ÑнваÑи_ÑевÑали_маÑÑи_апÑели_майи_иÑни_иÑли_авгÑÑÑи_ÑенÑÑбÑи_окÑÑбÑи_ноÑбÑи_декабÑи".split("_"),standalone:"ÑнваÑ_ÑевÑал_маÑÑ_апÑел_май_иÑн_иÑл_авгÑÑÑ_ÑенÑÑбÑ_окÑÑбÑ_ноÑбÑ_декабÑ".split("_")},monthsShort:"Ñнв_Ñев_маÑ_апÑ_май_иÑн_иÑл_авг_Ñен_окÑ_ноÑ_дек".split("_"),weekdays:"ÑкÑанбе_дÑÑанбе_ÑеÑанбе_ÑоÑÑанбе_панҷÑанбе_Ò·ÑмÑа_Ñанбе".split("_"),weekdaysShort:"ÑÑб_дÑб_ÑÑб_ÑÑб_пÑб_Ò·Ñм_Ñнб".split("_"),weekdaysMin:"ÑÑ_дÑ_ÑÑ_ÑÑ_пÑ_ҷм_Ñб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ÐмÑӯз ÑоаÑи] LT",nextDay:"[ФаÑдо ÑоаÑи] LT",lastDay:"[ÐиÑӯз ÑоаÑи] LT",nextWeek:"dddd[и] [ҳаÑÑаи оÑнда ÑоаÑи] LT",lastWeek:"dddd[и] [ҳаÑÑаи гÑзаÑÑа ÑоаÑи] LT",sameElse:"L"},relativeTime:{future:"баÑди %s",past:"%s пеÑ",s:"ÑкÑанд ÑониÑ",m:"Ñк даÒиÒа",mm:"%d даÒиÒа",h:"Ñк ÑоаÑ",hh:"%d ÑоаÑ",d:"Ñк Ñӯз",dd:"%d Ñӯз",M:"Ñк моҳ",MM:"%d моҳ",y:"Ñк Ñол",yy:"%d Ñол"},meridiemParse:/Ñаб|ÑÑбҳ|Ñӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"Ñаб"===t?e<4?e:e+12:"ÑÑбҳ"===t?e:"Ñӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"Ñаб":e<11?"ÑÑбҳ":e<16?"Ñӯз":e<19?"бегоҳ":"Ñаб"},dayOfMonthOrdinalParse:/\d{1,2}-(Ñм|Ñм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},PA2r:function(e,t,n){!function(e){"use strict";
124//! moment.js locale configuration 125var t="leden_únor_bÅezen_duben_kvÄten_Äerven_Äervenec_srpen_záÅÃ_ÅÃjen_listopad_prosinec".split("_"),n="led_úno_bÅe_dub_kvÄ_Ävn_Ävc_srp_záÅ_ÅÃj_lis_pro".split("_"),i=[/^led/i,/^úno/i,/^bÅe/i,/^dub/i,/^kvÄ/i,/^(Ävn|Äerven$|Äervna)/i,/^(Ävc|Äervenec|Äervence)/i,/^srp/i,/^záÅ/i,/^ÅÃj/i,/^lis/i,/^pro/i],r=/^(leden|únor|bÅezen|duben|kvÄten|Äervenec|Äervence|Äerven|Äervna|srpen|záÅÃ|ÅÃjen|listopad|prosinec|led|úno|bÅe|dub|kvÄ|Ävn|Ävc|srp|záÅ|ÅÃj|lis|pro)/i;function a(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"pár sekund":"pár sekundami";case"ss":return t||i?r+(a(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?r+(a(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(a(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?r+(a(e)?"dny":"dnÃ"):r+"dny";case"M":return t||i?"mÄsÃc":"mÄsÃcem";case"MM":return t||i?r+(a(e)?"mÄsÃce":"mÄsÃců"):r+"mÄsÃci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?r+(a(e)?"roky":"let"):r+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|února|únor|bÅezen|bÅezna|duben|dubna|kvÄten|kvÄtna|Äervenec|Äervence|Äerven|Äervna|srpen|srpna|záÅÃ|ÅÃjen|ÅÃjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bÅe|dub|kvÄ|Ävn|Ävc|srp|záÅ|ÅÃj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"nedÄle_pondÄlÃ_úterý_stÅeda_Ätvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_Ät_pá_so".split("_"),weekdaysMin:"ne_po_út_st_Ät_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zÃtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedÄli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve stÅedu v] LT";case 4:return"[ve Ätvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[vÄera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou nedÄli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou stÅedu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pÅed %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PE4B:function(e,t,n){"use strict";var i=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function a(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return a(e,n)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function l(e,t){try{return t in e}catch(e){return!1}}function c(e,t,n){var i={};return n.isMergeableObject(e)&&s(e).forEach((function(t){i[t]=a(e[t],n)})),s(t).forEach((function(r){(function(e,t){return l(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,r)||(l(e,r)&&n.isMergeableObject(t[r])?i[r]=function(e,t){if(!t.customMerge)return u;var n=t.customMerge(e);return"function"==typeof n?n:u}(r,n)(e[r],t[r],n):i[r]=a(t[r],n))})),i}function u(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||o,n.isMergeableObject=n.isMergeableObject||i,n.cloneUnlessOtherwiseSpecified=a;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):c(e,t,n):a(t,n)}u.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return u(e,n,t)}),{})};var d=u;e.exports=d},PJYZ:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},PR5i:function(e,t,n){var i; 126/*! 127 * ApexCharts v3.45.1 128 * (c) 2018-2023 ApexCharts 129 * Released under the MIT License.
130 */e.exports=function(){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function c(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=h(e);if(t){var r=h(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}(this,n)}}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,a=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(i=n.next()).done)&&(a.push(i.value),!t||a.length!==t);o=!0);}catch(e){s=!0,r=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw r}}return a}}(e,t)||b(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||b(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var _=function(){function e(){s(this,e)}return c(e,[{key:"shadeRGBColor",value:function(e,t){var n=t.split(","),i=e<0?0:255,r=e<0?-1*e:e,a=parseInt(n[0].slice(4),10),o=parseInt(n[1],10),s=parseInt(n[2],10);return"rgb("+(Math.round((i-a)*r)+a)+","+(Math.round((i-o)*r)+o)+","+(Math.round((i-s)*r)+s)+")"}},{key:"shadeHexColor",value:function(e,t){var n=parseInt(t.slice(1),16),i=e<0?0:255,r
130=e<0?-1*e:e,a=n>>16,o=n>>8&255,s=255&n;return"#"+(16777216+65536*(Math.round((i-a)*r)+a)+256*(Math.round((i-o)*r)+o)+(Math.round((i-s)*r)+s)).toString(16).slice(1)}},{key:"shadeColor",value:function(t,n){return e.isColorHex(n)?this.shadeHexColor(t,n):this.shadeRGBColor(t,n)}}],[{key:"bind",value:function(e,t){return function(){return e.apply(t,arguments)}}},{key:"isObject",value:function(e){return e&&"object"===o(e)&&!Array.isArray(e)&&null!=e}},{key:"is",value:function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"}},{key:"listToArray",value:function(e){var t,n=[];for(t=0;t<e.length;t++)n[t]=e[t];return n}},{key:"extend",value:function(e,t){var n=this;"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];if(null!=i)for(var r in i)i.hasOwnProperty(r)&&(t[r]=i[r])}return t});var i=Object.assign({},e);return this.isObject(e)&&this.isObject(t)&&Object.keys(t).forEach((function(r){n.isObject(t[r])&&r in e?i[r]=n.extend(e[r],t[r]):Object.assign(i,u({},r,t[r]))})),i}},{key:"extendArray",value:function(t,n){var i=[];return t.map((function(t){i.push(e.extend(n,t))})),i}},{key:"monthMod",value:function(e){return e%12}},{key:"clone",value:function(t){if(e.is("Array",t)){for(var n=[],i=0;i<t.length;i++)n[i]=this.clone(t[i]);return n}if(e.is("Null",t))return null;if(e.is("Date",t))return t;if("object"===o(t)){var r={};for(var a in t)t.hasOwnProperty(a)&&(r[a]=this.clone(t[a]));return r}return t}},{key:"log10",value:function(e){return Math.log(e)/Math.LN10}},{key:"roundToBase10",value:function(e){return Math.pow(10,Math.floor(Math.log10(e)))}},{key:"roundToBase",value:function(e,t){return Math.pow(t,Math.floor(Math.log(e)/Math.log(t)))}},{key:"parseNumber",value:function(e){return null===e?e:parseFloat(e)}},{key:"stripNumber",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return Number.isInteger(e)?e:parseFloat(e.toPrecision(t))}},{key:"randomId",value:function(){return(Math.random()+1).toString(36).substring(4)}},{key:"noExponents",value:function(e){var t=String(e).split(/[eE]/);if(1===t.length)return t[0];var n="",i=e<0?"-":"",r=t[0].replace(".",""),a=Number(t[1])+1;if(a<0){for(n=i+"0.";a++;)n+="0";return n+r.replace(/^-/,"")}for(a-=r.length;a--;)n+="0";return r+n}},{key:"getDimensions",value:function(e){var t=getComputedStyle(e,null),n=e.clientHeight,i=e.clientWidth;return n-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),[i-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),n]}},{key:"getBoundingClientRect",value:function(e){var t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:e.clientWidth,height:e.clientHeight,x:t.left,y:t.top}}},{key:"getLargestStringFromArr",value:function(e){return e.reduce((function(e,t){return Array.isArray(t)&&(t=t.reduce((function(e,t){return e.length>t.length?e:t}))),e.length>t.length?e:t}),0)}},{key:"hexToRgba",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#999999",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.6;"#"!==e.substring(0,1)&&(e="#999999");var n=e.replace("#","");n=n.match(new RegExp("(.{"+n.length/3+"})","g"));for(var i=0;i<n.length;i++)n[i]=parseInt(1===n[i].length?n[i]+n[i]:n[i],16);return void 0!==t&&n.push(t),"rgba("+n.join(",")+")"}},{key:"getOpacityFromRGBA",value:function(e){return parseFloat(e.replace(/^.*,(.+)\)/,"$1"))}},{key:"rgb2hex",value:function(e){return(e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):""}},{key:"isColorHex",value:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)|(^#[0-9A-F]{8}$)/i.test(e)}},{key:"getPolygonPos",value:function(e,t){for(var n=[],i=2*Math.PI/t,r=0;r<t;r++){var a={};a.x=e*Math.sin(r*i),a.y=-e*Math.cos(r*i),n.push(a)}return n}},{key:"polarToCartesian",value:function(e,t,n,i){var r=(i-90)*Math.PI/180;return{x:e+n*Math.cos(r),y:t+n*Math.sin(r)}}},{key:"escapeString",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",n=e.toString().slice();return n.replace(/[` ~!@#$%^&*()|+\=?;:'",.<>{}[\]\\/]/gi,t)}},{key:"negToZero",value:function(e){return e<0?0:e}},{key:"moveIndexInArray",value:function(e,t,n){if(n>=e.length)for(var i=n-e.length+1;i--;)e.push(void 0);return e.splice(n,0,e.splice(t,1)[0]),e}},{key:"extractNumber",value:function(e){return parseFloat(e.replace(/[^\d.]*/g,""))}}
130,{key:"findAncestor",value:function(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e}},{key:"setELstyles",value:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e.style.key=t[n])}},{key:"isNumber",value:function(e){return!isNaN(e)&&parseFloat(Number(e))===e&&!isNaN(parseInt(e,10))}},{key:"isFloat",value:function(e){return Number(e)===e&&e%1!=0}},{key:"isSafari",value:function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}},{key:"isFirefox",value:function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1}},{key:"isIE11",value:function(){if(-1!==window.navigator.userAgent.indexOf("MSIE")||window.navigator.appVersion.indexOf("Trident/")>-1)return!0}},{key:"isIE",value:function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var i=e.indexOf("Edge/");return i>0&&parseInt(e.substring(i+5,e.indexOf(".",i)),10)}}]),e}(),x=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.setEasingFunctions()}return c(e,[{key:"setEasingFunctions",value:function(){var e;if(!this.w.globals.easing){switch(this.w.config.chart.animations.easing){case"linear":e="-";break;case"easein":e="<";break;case"easeout":e=">";break;case"easeinout":default:e="<>";break;case"swing":e=function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1};break;case"bounce":e=function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375};break;case"elastic":e=function(e){return e===!!e?e:Math.pow(2,-10*e)*Math.sin((e-.075)*(2*Math.PI)/.3)+1}}this.w.globals.easing=e}}},{key:"animateLine",value:function(e,t,n,i){e.attr(t).animate(i).attr(n)}},{key:"animateMarker",value:function(e,t,n,i,r,a){t||(t=0),e.attr({r:t,width:t,height:t}).animate(i,r).attr({r:n,width:n.width,height:n.height}).afterAll((function(){a()}))}},{key:"animateCircle",value:function(e,t,n,i,r){e.attr({r:t.r,cx:t.cx,cy:t.cy}).animate(i,r).attr({r:n.r,cx:n.cx,cy:n.cy})}},{key:"animateRect",value:function(e,t,n,i,r){e.attr(t).animate(i).attr(n).afterAll((function(){return r()}))}},{key:"animatePathsGradually",value:function(e){var t=e.el,n=e.realIndex,i=e.j,r=e.fill,a=e.pathFrom,o=e.pathTo,s=e.speed,l=e.delay,c=this.w,u=0;c.config.chart.animations.animateGradually.enabled&&(u=c.config.chart.animations.animateGradually.delay),c.config.chart.animations.dynamicAnimation.enabled&&c.globals.dataChanged&&"bar"!==c.config.chart.type&&(u=0),this.morphSVG(t,n,i,"line"!==c.config.chart.type||c.globals.comboCharts?r:"stroke",a,o,s,l*u)}},{key:"showDelayedElements",value:function(){this.w.globals.delayedElements.forEach((function(e){var t=e.el;t.classList.remove("apexcharts-element-hidden"),t.classList.add("apexcharts-hidden-element-shown")}))}},{key:"animationCompleted",value:function(e){var t=this.w;t.globals.animationEnded||(t.globals.animationEnded=!0,this.showDelayedElements(),"function"==typeof t.config.chart.events.animationEnd&&t.config.chart.events.animationEnd(this.ctx,{el:e,w:t}))}},{key:"morphSVG",value:function(e,t,n,i,r,a,o,s){var l=this,c=this.w;r||(r=e.attr("pathFrom")),a||(a=e.attr("pathTo"));var u=function(e){return"radar"===c.config.chart.type&&(o=1),"M 0 ".concat(c.globals.gridHeight)};(!r||r.indexOf("undefined")>-1||r.indexOf("NaN")>-1)&&(r=u()),(!a||a.indexOf("undefined")>-1||a.indexOf("NaN")>-1)&&(a=u()),c.globals.shouldAnimate||(o=1),e.plot(r).animate(1,c.globals.easing,s).plot(r).animate(o,c.globals.easing,s).plot(a).afterAll((function(){_.isNumber(n)?n===c.globals.series[c.globals.maxValsInArrayIndex].length-2&&c.globals.shouldAnimate&&l.animationCompleted(e):"none"!==i&&c.globals.shouldAnimate&&(!c.globals.comboCharts&&t===c.globals.series.length-1||c.globals.comboCharts)&&l.animationCompleted(e),l.showDelayedElements()}))}}]),e}(),w=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"getDefaultFilter",value:function(e,t){var n=this.w;e.unfilter(!0),(new window.SVG.Filter).size("120%","180%","-5%","-40%"),"none"!==n.config.states.normal.filter?this.applyFilter(e,t,n.config.states.normal.filter.type,n.config.states.normal.filter.value):n.config.chart.dropShadow.enabled&&this.dropShadow(e,n.config.chart.dropShadow,t)}},{key:"addNormalFilter",value:function(e,t){var n=this.w;n.config.chart.dropShadow.enabled&&!e.node.classList.contains("apexcharts-marker")&&this.dropShadow(e,n.config.chart.dropShadow,t)}},{key:"addLightenFilter",value:function(e,t,n){var i=this,r=this.w,a=n.intensity;e.unfilter(!0),new window.SVG.Filter,e.filter((function(e){var n=r.config.chart.dropShadow;(n.enabled?i.addShadow(e,t,n):e).componentTransfer({rgb:{type:"linear",slope:1.5,intercept:a}})})),e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)}},{key:"addDarkenFilter",value:function(e,t,n){var i=this,r=this.w,a=n.intensity;e.unfilter(!0),new window.SVG.Filter,e.filter((function(e){var n=r.config.chart.dropShadow;(n.enabled?i.addShadow(e,t,n):e).componentTransfer({rgb:{type:"linear",slope:a}})})),e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)}},{key:"applyFilter",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;switch(n){case"none":this.addNormalFilter(e,t);break;case"lighten":this.addLightenFilter(e,t,{intensity:i});break;case"darken":this.addDarkenFilter(e,t,{intensity:i})}}},{key:"addShadow",value:function(e,t,n){var i=n.blur,r=n.top,a=n.left,o=n.color,s=n.opacity,l=e.flood(Array.isArray(o)?o[t]:o,s).composite(e.sourceAlpha,"in").offset(a,r).gaussianBlur(i).merge(e.source);return e.blend(e.source,l)}
130},{key:"dropShadow",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=t.top,r=t.left,a=t.blur,o=t.color,s=t.opacity,l=t.noUserSpaceOnUse,c=this.w;return e.unfilter(!0),_.isIE()&&"radialBar"===c.config.chart.type||(o=Array.isArray(o)?o[n]:o,e.filter((function(e){var t;t=_.isSafari()||_.isFirefox()||_.isIE()?e.flood(o,s).composite(e.sourceAlpha,"in").offset(r,i).gaussianBlur(a):e.flood(o,s).composite(e.sourceAlpha,"in").offset(r,i).gaussianBlur(a).merge(e.source),e.blend(e.source,t)})),l||e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)),e}},{key:"setSelectionFilter",value:function(e,t,n){var i=this.w;if(void 0!==i.globals.selectedDataPoints[t]&&i.globals.selectedDataPoints[t].indexOf(n)>-1){e.node.setAttribute("selected",!0);var r=i.config.states.active.filter;"none"!==r&&this.applyFilter(e,t,r.type,r.value)}}},{key:"_scaleFilterSize",value:function(e){!function(t){for(var n in t)t.hasOwnProperty(n)&&e.setAttribute(n,t[n])}({width:"200%",height:"200%",x:"-50%",y:"-50%"})}}]),e}(),k=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"roundPathCorners",value:function(e,t){function n(e,t,n){var r=t.x-e.x,a=t.y-e.y,o=Math.sqrt(r*r+a*a);return i(e,t,Math.min(1,n/o))}function i(e,t,n){return{x:e.x+(t.x-e.x)*n,y:e.y+(t.y-e.y)*n}}function r(e,t){e.length>2&&(e[e.length-2]=t.x,e[e.length-1]=t.y)}function a(e){return{x:parseFloat(e[e.length-2]),y:parseFloat(e[e.length-1])}}e.indexOf("NaN")>-1&&(e="");var o=e.split(/[,\s]/).reduce((function(e,t){var n=t.match("([a-zA-Z])(.+)");return n?(e.push(n[1]),e.push(n[2])):e.push(t),e}),[]).reduce((function(e,t){return parseFloat(t)==t&&e.length?e[e.length-1].push(t):e.push([t]),e}),[]),s=[];if(o.length>1){var l=a(o[0]),c=null;"Z"==o[o.length-1][0]&&o[0].length>2&&(c=["L",l.x,l.y],o[o.length-1]=c),s.push(o[0]);for(var u=1;u<o.length;u++){var d=s[s.length-1],h=o[u],f=h==c?o[1]:o[u+1];if(f&&d&&d.length>2&&"L"==h[0]&&f.length>2&&"L"==f[0]){var p,m,g=a(d),v=a(h),b=a(f);p=n(v,g,t),m=n(v,b,t),r(h,p),h.origPoint=v,s.push(h);var y=i(p,v,.5),_=i(v,m,.5),x=["C",y.x,y.y,_.x,_.y,m.x,m.y];x.origPoint=v,s.push(x)}else s.push(h)}if(c){var w=a(s[s.length-1]);s.push(["Z"]),r(s[0],w)}}else s=o;return s.reduce((function(e,t){return e+t.join(" ")+" "}),"")}},{key:"drawLine",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"#a8a8a8",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"butt";return this.w.globals.dom.Paper.line().attr({x1:e,y1:t,x2:n,y2:i,stroke:r,"stroke-dasharray":a,"stroke-width":o,"stroke-linecap":s})}},{key:"drawRect",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"#fefefe",o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:1,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:0,u=this.w.globals.dom.Paper.rect();return u.attr({x:e,y:t,width:n>0?n:0,height:i>0?i:0,rx:r,ry:r,opacity:o,"stroke-width":null!==s?s:0,stroke:null!==l?l:"none","stroke-dasharray":c}),u.node.setAttribute("fill",a),u}},{key:"drawPolygon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#e1e1e1",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none";return this.w.globals.dom.Paper.polygon(e).attr({fill:i,stroke:t,"stroke-width":n})}},{key:"drawCircle",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e<0&&(e=0);var n=this.w.globals.dom.Paper.circle(2*e);return null!==t&&n.attr(t),n}},{key:"drawPath",value:function(e){var t=e.d,n=void 0===t?"":t,i=e.stroke,r=void 0===i?"#a8a8a8":i,a=e.strokeWidth,o=void 0===a?1:a,s=e.fill,l=e.fillOpacity,c=void 0===l?1:l,u=e.strokeOpacity,d=void 0===u?1:u,h=e.classes,f=e.strokeLinecap,p=void 0===f?null:f,m=e.strokeDashArray,g=void 0===m?0:m,v=this.w;return null===p&&(p=v.config.stroke.lineCap),(n.indexOf("undefined")>-1||n.indexOf("NaN")>-1)&&(n="M 0 ".concat(v.globals.gridHeight)),v.globals.dom.Paper.path(n).attr({fill:s,"fill-opacity":c,stroke:r,"stroke-opacity":d,"stroke-linecap":p,"stroke-width":o,"stroke-dasharray":g,class:h})}},{key:"group",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.w.globals.dom.Paper.group();return null!==e&&t.attr(e),t}},{key:"move",value:function(e,t){return["M",e,t].join(" ")}},{key:"line",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=null;return null===n?i=[" L",e,t].join(" "):"H"===n?i=[" H",e].join(" "):"V"===n&&(i=[" V",t].join(" ")),i}},{key:"curve",value:function(e,t,n,i,r,a){return["C",e,t,n,i,r,a].join(" ")}},{key:"quadraticCurve",value:function(e,t,n,i){return["Q",e,t,n,i].join(" ")}},{key:"arc",value:function(e,t,n,i,r,a,o){var s="A";arguments.length>7&&void 0!==arguments[7]&&arguments[7]&&(s="a");var l=[s,e,t,n,i,r,a,o].join(" ");return l}},{key:"renderPaths",value:function(e){var t,n=e.j,i=e.realIndex,r=e.pathFrom,o=e.pathTo,s=e.stroke,l=e.strokeWidth,c=e.strokeLinecap,u=e.fill,d=e.animationDelay,h=e.initialSpeed,f=e.dataChangeSpeed,p=e.className,m=e.shouldClipToGrid,g=void 0===m||m,v=e.bindEventsOnPaths,b=void 0===v||v,y=e.drawShadow,_=void 0===y||y,k=this.w,S=new w(this.ctx),M=new x(this.ctx),L=this.w.config.chart.animations.enabled,A=L&&this.w.config.chart.animations.dynamicAnimation.enabled,O=!!(L&&!k.globals.resized||A&&k.globals.dataChanged&&k.globals.shouldAnimate);O?t=r:(t=o,k.globals.animationEnded=!0);var C,T=k.config.stroke.dashArray;C=Array.isArray(T)?T[i]:k.config.stroke.dashArray;var E=this.drawPath({d:t,stroke:s,strokeWidth:l,fill:u,fillOpacity:1,classes:p,strokeLinecap:c,strokeDashArray:C});if(E.attr("index",i),g&&E.attr({"clip-path":"url(#gridRectMask".concat(k.globals.cuid,")")}),"none"!==k.config.states.normal.filter.type)S.getDefaultFilter(E,i);
130else if(k.config.chart.dropShadow.enabled&&_&&(!k.config.chart.dropShadow.enabledOnSeries||k.config.chart.dropShadow.enabledOnSeries&&-1!==k.config.chart.dropShadow.enabledOnSeries.indexOf(i))){var D=k.config.chart.dropShadow;S.dropShadow(E,D,i)}b&&(E.node.addEventListener("mouseenter",this.pathMouseEnter.bind(this,E)),E.node.addEventListener("mouseleave",this.pathMouseLeave.bind(this,E)),E.node.addEventListener("mousedown",this.pathMouseDown.bind(this,E))),E.attr({pathTo:o,pathFrom:r});var P={el:E,j:n,realIndex:i,pathFrom:r,pathTo:o,fill:u,strokeWidth:l,delay:d};return!L||k.globals.resized||k.globals.dataChanged?!k.globals.resized&&k.globals.dataChanged||M.showDelayedElements():M.animatePathsGradually(a(a({},P),{},{speed:h})),k.globals.dataChanged&&A&&O&&M.animatePathsGradually(a(a({},P),{},{speed:f})),E}},{key:"drawPattern",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#a8a8a8",r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;return this.w.globals.dom.Paper.pattern(t,n,(function(a){"horizontalLines"===e?a.line(0,0,n,0).stroke({color:i,width:r+1}):"verticalLines"===e?a.line(0,0,0,t).stroke({color:i,width:r+1}):"slantedLines"===e?a.line(0,0,t,n).stroke({color:i,width:r}):"squares"===e?a.rect(t,n).fill("none").stroke({color:i,width:r}):"circles"===e&&a.circle(t).fill("none").stroke({color:i,width:r})}))}},{key:"drawGradient",value:function(e,t,n,i,r){var a,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,u=this.w;t.length<9&&0===t.indexOf("#")&&(t=_.hexToRgba(t,i)),n.length<9&&0===n.indexOf("#")&&(n=_.hexToRgba(n,r));var d=0,h=1,f=1,p=null;null!==s&&(d=void 0!==s[0]?s[0]/100:0,h=void 0!==s[1]?s[1]/100:1,f=void 0!==s[2]?s[2]/100:1,p=void 0!==s[3]?s[3]/100:null);var m=!("donut"!==u.config.chart.type&&"pie"!==u.config.chart.type&&"polarArea"!==u.config.chart.type&&"bubble"!==u.config.chart.type);if(a=null===l||0===l.length?u.globals.dom.Paper.gradient(m?"radial":"linear",(function(e){e.at(d,t,i),e.at(h,n,r),e.at(f,n,r),null!==p&&e.at(p,t,i)})):u.globals.dom.Paper.gradient(m?"radial":"linear",(function(e){(Array.isArray(l[c])?l[c]:l).forEach((function(t){e.at(t.offset/100,t.color,t.opacity)}))})),m){var g=u.globals.gridWidth/2,v=u.globals.gridHeight/2;"bubble"!==u.config.chart.type?a.attr({gradientUnits:"userSpaceOnUse",cx:g,cy:v,r:o}):a.attr({cx:.5,cy:.5,r:.8,fx:.2,fy:.2})}else"vertical"===e?a.from(0,0).to(0,1):"diagonal"===e?a.from(0,0).to(1,1):"horizontal"===e?a.from(0,1).to(1,1):"diagonal2"===e&&a.from(1,0).to(0,1);return a}},{key:"getTextBasedOnMaxWidth",value:function(e){var t=e.text,n=e.maxWidth,i=e.fontSize,r=e.fontFamily,a=this.getTextRects(t,i,r),o=a.width/t.length,s=Math.floor(n/o);return n<a.width?t.slice(0,s-3)+"...":t}},{key:"drawText",value:function(e){var t=this,n=e.x,i=e.y,r=e.text,o=e.textAnchor,s=e.fontSize,l=e.fontFamily,c=e.fontWeight,u=e.foreColor,d=e.opacity,h=e.maxWidth,f=e.cssClass,p=void 0===f?"":f,m=e.isPlainText,g=void 0===m||m,v=e.dominantBaseline,b=void 0===v?"auto":v,y=this.w;void 0===r&&(r="");var _=r;o||(o="start"),u&&u.length||(u=y.config.chart.foreColor),l=l||y.config.chart.fontFamily,c=c||"regular";var x,w={maxWidth:h,fontSize:s=s||"11px",fontFamily:l};return Array.isArray(r)?x=y.globals.dom.Paper.text((function(e){for(var n=0;n<r.length;n++)_=r[n],h&&(_=t.getTextBasedOnMaxWidth(a({text:r[n]},w))),0===n?e.tspan(_):e.tspan(_).newLine()})):(h&&(_=this.getTextBasedOnMaxWidth(a({text:r},w))),x=g?y.globals.dom.Paper.plain(r):y.globals.dom.Paper.text((function(e){return e.tspan(_)}))),x.attr({x:n,y:i,"text-anchor":o,"dominant-baseline":b,"font-size":s,"font-family":l,"font-weight":c,fill:u,class:"apexcharts-text "+p}),x.node.style.fontFamily=l,x.node.style.opacity=d,x}},{key:"drawMarker",value:function(e,t,n){e=e||0;var i=n.pSize||0,r=null;if("square"===n.shape||"rect"===n.shape){var a=void 0===n.pRadius?i/2:n.pRadius;null!==t&&i||(i=0,a=0);var o=1.2*i+a,s=this.drawRect(o,o,o,o,a);
130s.attr({x:e-o/2,y:t-o/2,cx:e,cy:t,class:n.class?n.class:"",fill:n.pointFillColor,"fill-opacity":n.pointFillOpacity?n.pointFillOpacity:1,stroke:n.pointStrokeColor,"stroke-width":n.pointStrokeWidth?n.pointStrokeWidth:0,"stroke-opacity":n.pointStrokeOpacity?n.pointStrokeOpacity:1}),r=s}else"circle"!==n.shape&&n.shape||(_.isNumber(t)||(i=0,t=0),r=this.drawCircle(i,{cx:e,cy:t,class:n.class?n.class:"",stroke:n.pointStrokeColor,fill:n.pointFillColor,"fill-opacity":n.pointFillOpacity?n.pointFillOpacity:1,"stroke-width":n.pointStrokeWidth?n.pointStrokeWidth:0,"stroke-opacity":n.pointStrokeOpacity?n.pointStrokeOpacity:1}));return r}},{key:"pathMouseEnter",value:function(e,t){var n=this.w,i=new w(this.ctx),r=parseInt(e.node.getAttribute("index"),10),a=parseInt(e.node.getAttribute("j"),10);if("function"==typeof n.config.chart.events.dataPointMouseEnter&&n.config.chart.events.dataPointMouseEnter(t,this.ctx,{seriesIndex:r,dataPointIndex:a,w:n}),this.ctx.events.fireEvent("dataPointMouseEnter",[t,this.ctx,{seriesIndex:r,dataPointIndex:a,w:n}]),("none"===n.config.states.active.filter.type||"true"!==e.node.getAttribute("selected"))&&"none"!==n.config.states.hover.filter.type&&!n.globals.isTouchDevice){var o=n.config.states.hover.filter;i.applyFilter(e,r,o.type,o.value)}}},{key:"pathMouseLeave",value:function(e,t){var n=this.w,i=new w(this.ctx),r=parseInt(e.node.getAttribute("index"),10),a=parseInt(e.node.getAttribute("j"),10);"function"==typeof n.config.chart.events.dataPointMouseLeave&&n.config.chart.events.dataPointMouseLeave(t,this.ctx,{seriesIndex:r,dataPointIndex:a,w:n}),this.ctx.events.fireEvent("dataPointMouseLeave",[t,this.ctx,{seriesIndex:r,dataPointIndex:a,w:n}]),"none"!==n.config.states.active.filter.type&&"true"===e.node.getAttribute("selected")||"none"!==n.config.states.hover.filter.type&&i.getDefaultFilter(e,r)}},{key:"pathMouseDown",value:function(e,t){var n=this.w,i=new w(this.ctx),r=parseInt(e.node.getAttribute("index"),10),a=parseInt(e.node.getAttribute("j"),10),o="false";if("true"===e.node.getAttribute("selected")){if(e.node.setAttribute("selected","false"),n.globals.selectedDataPoints[r].indexOf(a)>-1){var s=n.globals.selectedDataPoints[r].indexOf(a);n.globals.selectedDataPoints[r].splice(s,1)}}else{if(!n.config.states.active.allowMultipleDataPointsSelection&&n.globals.selectedDataPoints.length>0){n.globals.selectedDataPoints=[];var l=n.globals.dom.Paper.select(".apexcharts-series path").members,c=n.globals.dom.Paper.select(".apexcharts-series circle, .apexcharts-series rect").members,u=function(e){Array.prototype.forEach.call(e,(function(e){e.node.setAttribute("selected","false"),i.getDefaultFilter(e,r)}))};u(l),u(c)}e.node.setAttribute("selected","true"),o="true",void 0===n.globals.selectedDataPoints[r]&&(n.globals.selectedDataPoints[r]=[]),n.globals.selectedDataPoints[r].push(a)}if("true"===o){var d=n.config.states.active.filter;if("none"!==d)i.applyFilter(e,r,d.type,d.value);else if("none"!==n.config.states.hover.filter&&!n.globals.isTouchDevice){var h=n.config.states.hover.filter;i.applyFilter(e,r,h.type,h.value)}}else"none"!==n.config.states.active.filter.type&&("none"===n.config.states.hover.filter.type||n.globals.isTouchDevice?i.getDefaultFilter(e,r):(h=n.config.states.hover.filter,i.applyFilter(e,r,h.type,h.value)));"function"==typeof n.config.chart.events.dataPointSelection&&n.config.chart.events.dataPointSelection(t,this.ctx,{selectedDataPoints:n.globals.selectedDataPoints,seriesIndex:r,dataPointIndex:a,w:n}),t&&this.ctx.events.fireEvent("dataPointSelection",[t,this.ctx,{selectedDataPoints:n.globals.selectedDataPoints,seriesIndex:r,dataPointIndex:a,w:n}])}},{key:"rotateAroundCenter",value:function(e){var t={};return e&&"function"==typeof e.getBBox&&(t=e.getBBox()),{x:t.x+t.width/2,y:t.y+t.height/2}}},{key:"getTextRects",value:function(e,t,n,i){var r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=this.w,o=this.drawText({x:-200,y:-200,text:e,textAnchor:"start",fontSize:t,fontFamily:n,foreColor:"#fff",opacity:0});i&&o.attr("transform",i),a.globals.dom.Paper.add(o);var s=o.bbox();return r||(s=o.node.getBoundingClientRect()),o.remove(),{width:s.width,height:s.height}}},{key:"placeTextWithEllipsis",value:function(e,t,n){if("function"==typeof e.getComputedTextLength&&(e.textContent=t,t.length>0&&e.getComputedTextLength()>=n/1.1)){for(var i=t.length-3;i>0;i-=3)if(e.getSubStringLength(0,i)<=n/1.1)return void(e.textContent=t.substring(0,i)+"...");e.textContent="."}}}],[{key:"setAttrs",value:function(e,t){for(var n in t)t.hasOwnProperty(n)&&e.setAttribute(n,t[n])}}]),e}(),S=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"getStackedSeriesTotals",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=this.w,n=[];if(0===t.globals.series.length)return n;for(var i=0;i<t.globals.series[t.globals.maxValsInArrayIndex].length;i++){for(var r=0,a=0;a<t.globals.series.length;a++)void 0!==t.globals.series[a][i]&&-1===e.indexOf(a)&&(r+=t.globals.series[a][i]);n.push(r)}return n}},{key:"getSeriesTotalByIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null===e?this.w.config.series.reduce((function(e,t){return e+t}),0):this.w.globals.series[e].reduce((function(e,t){return e+t}),0)}},{key:"getStackedSeriesTotalsByGroups",value:function(){var e=this,t=this.w,n=[];return t.globals.seriesGroups.forEach((function(i){var r=[];
130t.config.series.forEach((function(e,t){i.indexOf(e.name)>-1&&r.push(t)}));var a=t.globals.series.map((function(e,t){return-1===r.indexOf(t)?t:-1})).filter((function(e){return-1!==e}));n.push(e.getStackedSeriesTotals(a))})),n}},{key:"isSeriesNull",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return 0===(null===e?this.w.config.series.filter((function(e){return null!==e})):this.w.config.series[e].data.filter((function(e){return null!==e}))).length}},{key:"seriesHaveSameValues",value:function(e){return this.w.globals.series[e].every((function(e,t,n){return e===n[0]}))}},{key:"getCategoryLabels",value:function(e){var t=this.w,n=e.slice();return t.config.xaxis.convertedCatToNumeric&&(n=e.map((function(e,n){return t.config.xaxis.labels.formatter(e-t.globals.minX+1)}))),n}},{key:"getLargestSeries",value:function(){var e=this.w;e.globals.maxValsInArrayIndex=e.globals.series.map((function(e){return e.length})).indexOf(Math.max.apply(Math,e.globals.series.map((function(e){return e.length}))))}},{key:"getLargestMarkerSize",value:function(){var e=this.w,t=0;return e.globals.markers.size.forEach((function(e){t=Math.max(t,e)})),e.config.markers.discrete&&e.config.markers.discrete.length&&e.config.markers.discrete.forEach((function(e){t=Math.max(t,e.size)})),t>0&&(t+=e.config.markers.hover.sizeOffset+1),e.globals.markers.largestSize=t,t}},{key:"getSeriesTotals",value:function(){var e=this.w;e.globals.seriesTotals=e.globals.series.map((function(e,t){var n=0;if(Array.isArray(e))for(var i=0;i<e.length;i++)n+=e[i];else n+=e;return n}))}},{key:"getSeriesTotalsXRange",value:function(e,t){var n=this.w;return n.globals.series.map((function(i,r){for(var a=0,o=0;o<i.length;o++)n.globals.seriesX[r][o]>e&&n.globals.seriesX[r][o]<t&&(a+=i[o]);return a}))}},{key:"getPercentSeries",value:function(){var e=this.w;e.globals.seriesPercent=e.globals.series.map((function(t,n){var i=[];if(Array.isArray(t))for(var r=0;r<t.length;r++){var a=e.globals.stackedSeriesTotals[r],o=0;a&&(o=100*t[r]/a),i.push(o)}else{var s=100*t/e.globals.seriesTotals.reduce((function(e,t){return e+t}),0);i.push(s)}return i}))}},{key:"getCalculatedRatios",value:function(){var e,t,n,i,r=this.w.globals,a=[],o=0,s=[],l=.1,c=0;if(r.yRange=[],r.isMultipleYAxis)for(var u=0;u<r.minYArr.length;u++)r.yRange.push(Math.abs(r.minYArr[u]-r.maxYArr[u])),s.push(0);else r.yRange.push(Math.abs(r.minY-r.maxY));r.xRange=Math.abs(r.maxX-r.minX),r.zRange=Math.abs(r.maxZ-r.minZ);for(var d=0;d<r.yRange.length;d++)a.push(r.yRange[d]/r.gridHeight);if(t=r.xRange/r.gridWidth,n=Math.abs(r.initialMaxX-r.initialMinX)/r.gridWidth,e=r.yRange/r.gridWidth,i=r.xRange/r.gridHeight,(o=r.zRange/r.gridHeight*16)||(o=1),r.minY!==Number.MIN_VALUE&&0!==Math.abs(r.minY)&&(r.hasNegs=!0),r.isMultipleYAxis){s=[];for(var h=0;h<a.length;h++)s.push(-r.minYArr[h]/a[h])}else s.push(-r.minY/a[0]),r.minY!==Number.MIN_VALUE&&0!==Math.abs(r.minY)&&(l=-r.minY/e,c=r.minX/t);return{yRatio:a,invertedYRatio:e,zRatio:o,xRatio:t,initialXRatio:n,invertedXRatio:i,baseLineInvertedY:l,baseLineY:s,baseLineX:c}}},{key:"getLogSeries",value:function(e){var t=this,n=this.w;return n.globals.seriesLog=e.map((function(e,i){return n.config.yaxis[i]&&n.config.yaxis[i].logarithmic?e.map((function(e){return null===e?null:t.getLogVal(n.config.yaxis[i].logBase,e,i)})):e})),n.globals.invalidLogScale?e:n.globals.seriesLog}},{key:"getBaseLog",value:function(e,t){return Math.log(t)/Math.log(e)}},{key:"getLogVal",value:function(e,t,n){if(0===t)return 0;var i=this.w,r=0===i.globals.minYArr[n]?-1:this.getBaseLog(e,i.globals.minYArr[n]),a=(0===i.globals.maxYArr[n]?0:this.getBaseLog(e,i.globals.maxYArr[n]))-r;return t<1?t/a:(this.getBaseLog(e,t)-r)/a}},{key:"getLogYRatios",value:function(e){var t=this,n=this.w,i=this.w.globals;return i.yLogRatio=e.slice(),i.logYRange=i.yRange.map((function(e,r){if(n.config.yaxis[r]&&t.w.config.yaxis[r].logarithmic){var a,o=-Number.MAX_VALUE,s=Number.MIN_VALUE;return i.seriesLog.forEach((function(e,t){e.forEach((function(e){n.config.yaxis[t]&&n.config.yaxis[t].logarithmic&&(o=Math.max(e,o),s=Math.min(e,s))}))})),a=Math.pow(i.yRange[r],Math.abs(s-o)/i.yRange[r]),i.yLogRatio[r]=a/i.gridHeight,a}})),i.invalidLogScale?e.slice():i.yLogRatio}}],[{key:"checkComboSeries",value:function(e){var t=!1,n=0,i=0;return e.length&&void 0!==e[0].type&&e.forEach((function(e){"bar"!==e.type&&"column"!==e.type&&"candlestick"!==e.type&&"boxPlot"!==e.type||n++,void 0!==e.type&&i++})),i>0&&(t=!0),{comboBarCount:n,comboCharts:t}}},{key:"extendArrayProps",value:function(e,t,n){return t.yaxis&&(t=e.extendYAxis(t,n)),t.annotations&&(t.annotations.yaxis&&(t=e.extendYAxisAnnotations(t)),t.annotations.xaxis&&(t=e.extendXAxisAnnotations(t)),t.annotations.points&&(t=e.extendPointAnnotations(t))),t}}]),e}(),M=function(){function e(t){s(this,e),this.w=t.w,this.annoCtx=t}return c(e,[{key:"setOrientations",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.w;if("vertical"===e.label.orientation){var i=null!==t?t:0,r=n.globals.dom.baseEl.querySelector(".apexcharts-xaxis-annotations .apexcharts-xaxis-annotation-label[rel='".concat(i,"']"));if(null!==r){var a=r.getBoundingClientRect();r.setAttribute("x",parseFloat(r.getAttribute("x"))-a.height+4),"top"===e.label.position?r.setAttribute("y",parseFloat(r.getAttribute("y"))+a.width):r.setAttribute("y",parseFloat(r.getAttribute("y"))-a.width);
130var o=this.annoCtx.graphics.rotateAroundCenter(r),s=o.x,l=o.y;r.setAttribute("transform","rotate(-90 ".concat(s," ").concat(l,")"))}}}},{key:"addBackgroundToAnno",value:function(e,t){var n=this.w;if(!e||void 0===t.label.text||void 0!==t.label.text&&!String(t.label.text).trim())return null;var i=n.globals.dom.baseEl.querySelector(".apexcharts-grid").getBoundingClientRect(),r=e.getBoundingClientRect(),a=t.label.style.padding.left,o=t.label.style.padding.right,s=t.label.style.padding.top,l=t.label.style.padding.bottom;"vertical"===t.label.orientation&&(s=t.label.style.padding.left,l=t.label.style.padding.right,a=t.label.style.padding.top,o=t.label.style.padding.bottom);var c=r.left-i.left-a,u=r.top-i.top-s,d=this.annoCtx.graphics.drawRect(c-n.globals.barPadForNumericAxis,u,r.width+a+o,r.height+s+l,t.label.borderRadius,t.label.style.background,1,t.label.borderWidth,t.label.borderColor,0);return t.id&&d.node.classList.add(t.id),d}},{key:"annotationsBackground",value:function(){var e=this,t=this.w,n=function(n,i,r){var a=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations .apexcharts-").concat(r,"-annotation-label[rel='").concat(i,"']"));if(a){var o=a.parentNode,s=e.addBackgroundToAnno(a,n);s&&(o.insertBefore(s.node,a),n.label.mouseEnter&&s.node.addEventListener("mouseenter",n.label.mouseEnter.bind(e,n)),n.label.mouseLeave&&s.node.addEventListener("mouseleave",n.label.mouseLeave.bind(e,n)),n.label.click&&s.node.addEventListener("click",n.label.click.bind(e,n)))}};t.config.annotations.xaxis.map((function(e,t){n(e,t,"xaxis")})),t.config.annotations.yaxis.map((function(e,t){n(e,t,"yaxis")})),t.config.annotations.points.map((function(e,t){n(e,t,"point")}))}},{key:"getY1Y2",value:function(e,t){var n,i="y1"===e?t.y:t.y2,r=this.w;if(this.annoCtx.invertAxis){var a=r.globals.labels.indexOf(i);r.config.xaxis.convertedCatToNumeric&&(a=r.globals.categoryLabels.indexOf(i));var o=r.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child("+(a+1)+")");o&&(n=parseFloat(o.getAttribute("y"))),void 0!==t.seriesIndex&&r.globals.barHeight&&(n=n-r.globals.barHeight/2*(r.globals.series.length-1)+r.globals.barHeight*t.seriesIndex)}else{var s;s=r.config.yaxis[t.yAxisIndex].logarithmic?(i=new S(this.annoCtx.ctx).getLogVal(i,t.yAxisIndex))/r.globals.yLogRatio[t.yAxisIndex]:(i-r.globals.minYArr[t.yAxisIndex])/(r.globals.yRange[t.yAxisIndex]/r.globals.gridHeight),n=r.globals.gridHeight-s,!t.marker||void 0!==t.y&&null!==t.y||(n=0),r.config.yaxis[t.yAxisIndex]&&r.config.yaxis[t.yAxisIndex].reversed&&(n=s)}return"string"==typeof i&&i.indexOf("px")>-1&&(n=parseFloat(i)),n}},{key:"getX1X2",value:function(e,t){var n=this.w,i=this.annoCtx.invertAxis?n.globals.minY:n.globals.minX,r=this.annoCtx.invertAxis?n.globals.maxY:n.globals.maxX,a=this.annoCtx.invertAxis?n.globals.yRange[0]:n.globals.xRange,o=(t.x-i)/(a/n.globals.gridWidth);this.annoCtx.inversedReversedAxis&&(o=(r-t.x)/(a/n.globals.gridWidth)),"category"!==n.config.xaxis.type&&!n.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||n.globals.dataFormatXNumeric||(o=this.getStringX(t.x));var s=(t.x2-i)/(a/n.globals.gridWidth);return this.annoCtx.inversedReversedAxis&&(s=(r-t.x2)/(a/n.globals.gridWidth)),"category"!==n.config.xaxis.type&&!n.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||n.globals.dataFormatXNumeric||(s=this.getStringX(t.x2)),void 0!==t.x&&null!==t.x||!t.marker||(o=n.globals.gridWidth),"x1"===e&&"string"==typeof t.x&&t.x.indexOf("px")>-1&&(o=parseFloat(t.x)),"x2"===e&&"string"==typeof t.x2&&t.x2.indexOf("px")>-1&&(s=parseFloat(t.x2)),void 0!==t.seriesIndex&&n.globals.barWidth&&!this.annoCtx.invertAxis&&(o=o-n.globals.barWidth/2*(n.globals.series.length-1)+n.globals.barWidth*t.seriesIndex),"x1"===e?o:s}},{key:"getStringX",value:function(e){var t=this.w,n=e;t.config.xaxis.convertedCatToNumeric&&t.globals.categoryLabels.length&&(e=t.globals.categoryLabels.indexOf(e)+1);var i=t.globals.labels.indexOf(e),r=t.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child("+(i+1)+")");return r&&(n=parseFloat(r.getAttribute("x"))),n}}]),e}(),L=function(){function e(t){s(this,e),this.w=t.w,this.annoCtx=t,this.invertAxis=this.annoCtx.invertAxis,this.helpers=new M(this.annoCtx)}return c(e,[{key:"addXaxisAnnotation",value:function(e,t,n){var i,r=this.w,a=this.helpers.getX1X2("x1",e),o=e.label.text,s=e.strokeDashArray;if(_.isNumber(a)){if(null===e.x2||void 0===e.x2){var l=this.annoCtx.graphics.drawLine(a+e.offsetX,0+e.offsetY,a+e.offsetX,r.globals.gridHeight+e.offsetY,e.borderColor,s,e.borderWidth);t.appendChild(l.node),e.id&&l.node.classList.add(e.id)}else{if((i=this.helpers.getX1X2("x2",e))<a){var c=a;a=i,i=c}var u=this.annoCtx.graphics.drawRect(a+e.offsetX,0+e.offsetY,i-a,r.globals.gridHeight+e.offsetY,0,e.fillColor,e.opacity,1,e.borderColor,s);u.node.classList.add("apexcharts-annotation-rect"),u.attr("clip-path","url(#gridRectMask".concat(r.globals.cuid,")")),t.appendChild(u.node),e.id&&u.node.classList.add(e.id)}var d=this.annoCtx.graphics.getTextRects(o,parseFloat(e.label.style.fontSize)),h="top"===e.label.position?4:"center"===e.label.position?r.globals.gridHeight/2+("vertical"===e.label.orientation?d.width/2:0):r.globals.gridHeight,f=this.annoCtx.graphics.drawText({x:a+e.label.offsetX,y:h+e.label.offsetY-("vertical"===e.label.orientation?"top"===e.label.position?d.width/2-12:-d.width/2:0),text:o,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-xaxis-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});f.attr({rel:n}),t.appendChild(f.node),this.annoCtx.helpers.setOrientations(e,n)}}},{key:"drawXAxisAnnotations",value:function(){var e=this,t=this.w,n=this.annoCtx.graphics.group({class:"apexcharts-xaxis-annotations"});return t.config.annotations.xaxis.map((function(t,i){e.addXaxisAnnotation(t,n.node,i)})),n}}]),e}(),A=function(){function e(t){s(this,e),this.w=t.w,this.annoCtx=t,this.helpers=new M(this.annoCtx)}return c(e,[{key:"addYaxisAnnotation",value:function(e,t,n){var i,r=this.w,a=e.strokeDashArray,o=this.helpers.getY1Y2("y1",e),s=e.label.text;if(null===e.y2||void 0===e.y2){var l=this.annoCtx.graphics.drawLine(0+e.offsetX,o+e.offsetY,this._getYAxisAnnotationWidth(e),o+e.offsetY,e.borderColor,a,e.borderWidth);t.appendChild(l.node),e.id&&l.node.classList.add(e.id)}else{if((i=this.helpers.getY1Y2("y2",e))>o){var c=o;o=i,i=c}var u=this.annoCtx.graphics.drawRect(0+e.offsetX,i+e.offsetY,this._getYAxisAnnotationWidth(e),o-i,0,e.fillColor,e.opacity,1,e.borderColor,a);
130u.node.classList.add("apexcharts-annotation-rect"),u.attr("clip-path","url(#gridRectMask".concat(r.globals.cuid,")")),t.appendChild(u.node),e.id&&u.node.classList.add(e.id)}var d="right"===e.label.position?r.globals.gridWidth:"center"===e.label.position?r.globals.gridWidth/2:0,h=this.annoCtx.graphics.drawText({x:d+e.label.offsetX,y:(null!=i?i:o)+e.label.offsetY-3,text:s,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-yaxis-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});h.attr({rel:n}),t.appendChild(h.node)}},{key:"_getYAxisAnnotationWidth",value:function(e){var t=this.w;return t.globals.gridWidth,(e.width.indexOf("%")>-1?t.globals.gridWidth*parseInt(e.width,10)/100:parseInt(e.width,10))+e.offsetX}},{key:"drawYAxisAnnotations",value:function(){var e=this,t=this.w,n=this.annoCtx.graphics.group({class:"apexcharts-yaxis-annotations"});return t.config.annotations.yaxis.map((function(t,i){e.addYaxisAnnotation(t,n.node,i)})),n}}]),e}(),O=function(){function e(t){s(this,e),this.w=t.w,this.annoCtx=t,this.helpers=new M(this.annoCtx)}return c(e,[{key:"addPointAnnotation",value:function(e,t,n){this.w;var i=this.helpers.getX1X2("x1",e),r=this.helpers.getY1Y2("y1",e);if(_.isNumber(i)){var a={pSize:e.marker.size,pointStrokeWidth:e.marker.strokeWidth,pointFillColor:e.marker.fillColor,pointStrokeColor:e.marker.strokeColor,shape:e.marker.shape,pRadius:e.marker.radius,class:"apexcharts-point-annotation-marker ".concat(e.marker.cssClass," ").concat(e.id?e.id:"")},o=this.annoCtx.graphics.drawMarker(i+e.marker.offsetX,r+e.marker.offsetY,a);t.appendChild(o.node);var s=e.label.text?e.label.text:"",l=this.annoCtx.graphics.drawText({x:i+e.label.offsetX,y:r+e.label.offsetY-e.marker.size-parseFloat(e.label.style.fontSize)/1.6,text:s,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-point-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});if(l.attr({rel:n}),t.appendChild(l.node),e.customSVG.SVG){var c=this.annoCtx.graphics.group({class:"apexcharts-point-annotations-custom-svg "+e.customSVG.cssClass});c.attr({transform:"translate(".concat(i+e.customSVG.offsetX,", ").concat(r+e.customSVG.offsetY,")")}),c.node.innerHTML=e.customSVG.SVG,t.appendChild(c.node)}if(e.image.path){var u=e.image.width?e.image.width:20,d=e.image.height?e.image.height:20;o=this.annoCtx.addImage({x:i+e.image.offsetX-u/2,y:r+e.image.offsetY-d/2,width:u,height:d,path:e.image.path,appendTo:".apexcharts-point-annotations"})}e.mouseEnter&&o.node.addEventListener("mouseenter",e.mouseEnter.bind(this,e)),e.mouseLeave&&o.node.addEventListener("mouseleave",e.mouseLeave.bind(this,e)),e.click&&o.node.addEventListener("click",e.click.bind(this,e))}}},{key:"drawPointAnnotations",value:function(){var e=this,t=this.w,n=this.annoCtx.graphics.group({class:"apexcharts-point-annotations"});return t.config.annotations.points.map((function(t,i){e.addPointAnnotation(t,n.node,i)})),n}}]),e}(),C={name:"en",options:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],toolbar:{exportToSVG:"Download SVG",exportToPNG:"Download PNG",exportToCSV:"Download CSV",menu:"Menu",selection:"Selection",selectionZoom:"Selection Zoom",zoomIn:"Zoom In",zoomOut:"Zoom Out",pan:"Panning",reset:"Reset Zoom"}}},T=function(){function e(){s(this,e),this.yAxis={show:!0,showAlways:!1,showForNullSeries:!0,seriesName:void 0,opposite:!1,reversed:!1,logarithmic:!1,logBase:10,tickAmount:void 0,stepSize:void 0,forceNiceScale:!1,max:void 0,min:void 0,floating:!1,decimalsInFloat:void 0,labels:{show:!0,minWidth:0,maxWidth:160,offsetX:0,offsetY:0,align:void 0,rotate:0,padding:20,style:{colors:[],fontSize:"11px",fontWeight:400,fontFamily:void 0,cssClass:""},formatter:void 0},axisBorder:{show:!1,color:"#e0e0e0",width:1,offsetX:0,offsetY:0},axisTicks:{show:!1,color:"#e0e0e0",width:6,offsetX:0,offsetY:0},title:{text:void 0,rotate:-90,offsetY:0,offsetX:0,style:{color:void 0,fontSize:"11px",fontWeight:900,fontFamily:void 0,cssClass:""}},tooltip:{enabled:!1,offsetX:0},crosshairs:{show:!0,position:"front",stroke:{color:"#b6b6b6",width:1,dashArray:0}}},this.pointAnnotation={id:void 0,x:0,y:null,yAxisIndex:0,seriesIndex:void 0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,marker:{size:4,fillColor:"#fff",strokeWidth:2,strokeColor:"#333",shape:"circle",offsetX:0,offsetY:0,radius:2,cssClass:""},label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}},customSVG:{SVG:void 0,cssClass:void 0,offsetX:0,offsetY:0},image:{path:void 0,width:20,height:20,offsetX:0,offsetY:0}},this.yAxisAnnotation={id:void 0,y:0,y2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,width:"100%",yAxisIndex:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"end",position:"right",offsetX:0,offsetY:-3,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.xAxisAnnotation={id:void 0,x:0,x2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",orientation:"vertical",position:"top",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.text={x:0,y:0,text:"",textAnchor:"start",foreColor:void 0,fontSize:"13px",fontFamily:void 0,fontWeight:400,appendTo:".apexcharts-annotations",backgroundColor:"transparent",borderColor:"#c2c2c2",borderRadius:0,borderWidth:0,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2}}return c(e,[{key:"init",value:function(){return{annotations:{yaxis:[this.yAxisAnnotation],xaxis:[this.xAxisAnnotation],points:[this.pointAnnotation],texts:[],images:[],shapes:[]},chart:{animations:{enabled:!0,easing:"easeinout",speed:800,animateGradually:{delay:150,enabled:!0},dynamicAnimation:{enabled:!0,speed:350}},background:"transparent",locales:[C],defaultLocale:"en",dropShadow:{enabled:!1,enabledOnSeries:void 0,top:2,left:2,blur:4,color:"#000",opacity:.35},events:{animationEnd:void 0,beforeMount:void 0,mounted:void 0,updated:void 0,click:void 0,mouseMove:void 0,mouseLeave:void 0,xAxisLabelClick:void 0,legendClick:void 0,markerClick:void 0,selection:void 0,dataPointSelection:void 0,dataPointMouseEnter:void 0,dataPointMouseLeave:void 0,beforeZoom:void 0,beforeResetZoom:void 0,zoomed:void 0,scrolled:void 0,brushScrolled:void 0},foreColor:"#373d3f",fontFamily:"Helvetica, Arial, sans-serif",height:"auto",parentHeightOffset:15,redrawOnParentResize:!0,redrawOnWindowResize:!0,id:void 0,group:void 0,nonce:void 0,offsetX:0,offsetY:0,selection:{enabled:!1,type:"x",fill:{color:"#24292e",opacity:.1},stroke:{width:1,color:"#24292e",opacity:.4,dashArray:3},xaxis:{min:void 0,max:void 0},yaxis:{min:void 0,max:void 0}},sparkline:{enabled:!1},brush:{enabled:!1,autoScaleYaxis:!0,target:void 0,targets:void 0},stacked:!1,stackOnlyBar:!0,stackType:"normal",toolbar:{show:!0,offsetX:0,offsetY:0,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0,customIcons:[]},export:{csv:{filename:void 0,columnDelimiter:",",headerCategory:"category",headerValue:"value",dateFormatter:function(e){return new Date(e).toDateString()}},png:{filename:void 0},svg:{filename:void 0}},autoSelected:"zoom"},type:"line",width:"100%",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{area:{fillTo:"origin"},bar:{horizontal:!1,columnWidth:"70%",barHeight:"70%",distributed:!1,borderRadius:0,borderRadiusApplication:"around",borderRadiusWhenStacked:"last",rangeBarOverlap:!0,rangeBarGroupRows:!1,hideZeroBarsWhenGrouped:!1,isDumbbell:!1,dumbbellColors:void 0,isFunnel:!1,isFunnel3d:!0,colors:{ranges:[],backgroundBarColors:[],backgroundBarOpacity:1,backgroundBarRadius:0},dataLabels:{position:"top",maxItems:100,hideOverflowingLabels:!0,orientation:"horizontal",total:{enabled:!1,formatter:void 0,offsetX:0,offsetY:0,style:{color:"#373d3f",fontSize:"12px",fontFamily:void 0,fontWeight:600}}}},bubble:{zScaling:!0,minBubbleRadius:void 0,maxBubbleRadius:void 0},candlestick:{colors:{upward:"#00B746",downward:"#EF403C"},wick:{useFillColor:!0}},boxPlot:{colors:{upper:"#00E396",lower:"#008FFB"}}
130,heatmap:{radius:2,enableShades:!0,shadeIntensity:.5,reverseNegativeShade:!1,distributed:!1,useFillColorAsStroke:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},treemap:{enableShades:!0,shadeIntensity:.5,distributed:!1,reverseNegativeShade:!1,useFillColorAsStroke:!1,dataLabels:{format:"scale"},colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},radialBar:{inverseOrder:!1,startAngle:0,endAngle:360,offsetX:0,offsetY:0,hollow:{margin:5,size:"50%",background:"transparent",image:void 0,imageWidth:150,imageHeight:150,imageOffsetX:0,imageOffsetY:0,imageClipped:!0,position:"front",dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},track:{show:!0,startAngle:void 0,endAngle:void 0,background:"#f2f2f2",strokeWidth:"97%",opacity:1,margin:5,dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},dataLabels:{show:!0,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:0,formatter:function(e){return e}},value:{show:!0,fontSize:"14px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:16,formatter:function(e){return e+"%"}},total:{show:!1,label:"Total",fontSize:"16px",fontWeight:600,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce((function(e,t){return e+t}),0)/e.globals.series.length+"%"}}},barLabels:{enabled:!1,margin:5,useSeriesColors:!0,fontFamily:void 0,fontWeight:600,fontSize:"16px",formatter:function(e){return e},onClick:void 0}},pie:{customScale:1,offsetX:0,offsetY:0,startAngle:0,endAngle:360,expandOnClick:!0,dataLabels:{offset:0,minAngleToShowLabel:10},donut:{size:"65%",background:"transparent",labels:{show:!1,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:-10,formatter:function(e){return e}},value:{show:!0,fontSize:"20px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:10,formatter:function(e){return e}},total:{show:!1,showAlways:!1,label:"Total",fontSize:"16px",fontWeight:400,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce((function(e,t){return e+t}),0)}}}}},polarArea:{rings:{strokeWidth:1,strokeColor:"#e8e8e8"},spokes:{strokeWidth:1,connectorColors:"#e8e8e8"}},radar:{size:void 0,offsetX:0,offsetY:0,polygons:{strokeWidth:1,strokeColors:"#e8e8e8",connectorColors:"#e8e8e8",fill:{colors:void 0}}}},colors:void 0,dataLabels:{enabled:!0,enabledOnSeries:void 0,formatter:function(e){return null!==e?e:""},textAnchor:"middle",distributed:!1,offsetX:0,offsetY:0,style:{fontSize:"12px",fontFamily:void 0,fontWeight:600,colors:void 0},background:{enabled:!0,foreColor:"#fff",borderRadius:2,padding:4,opacity:.9,borderWidth:1,borderColor:"#fff",dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]},image:{src:[],width:void 0,height:void 0},pattern:{style:"squares",width:6,height:6,strokeWidth:2}},forecastDataPoints:{count:0,fillOpacity:.5,strokeWidth:void 0,dashArray:4},grid:{show:!0,borderColor:"#e0e0e0",strokeDashArray:0,position:"back",xaxis:{lines:{show:!1}},yaxis:{lines:{show:!0}},row:{colors:void 0,opacity:.5},column:{colors:void 0,opacity:.5},padding:{top:0,right:10,bottom:0,left:12}},labels:[],legend:{show:!0,showForSingleSeries:!1,showForNullSeries:!0,showForZeroSeries:!0,floating:!1,position:"bottom",horizontalAlign:"center",inverseOrder:!1,fontSize:"12px",fontFamily:void 0,fontWeight:400,width:void 0,height:void 0,formatter:void 0,tooltipHoverFormatter:void 0,offsetX:-20,offsetY:4,customLegendItems:[],labels:{colors:void 0,useSeriesColors:!1},markers:{width:12,height:12,strokeWidth:0,fillColors:void 0,strokeColor:"#fff",radius:12,customHTML:void 0,offsetX:0,offsetY:0,onClick:void 0},itemMargin:{horizontal:5,vertical:2},onItemClick:{toggleDataSeries:!0},onItemHover:{highlightDataSeries:!0}},markers:{discrete:[],size:0,colors:void 0,strokeColors:"#fff",strokeWidth:2,strokeOpacity:.9,strokeDashArray:0,fillOpacity:1,shape:"circle",width:8,height:8,radius:2,offsetX:0,offsetY:0,onClick:void 0,onDblClick:void 0,showNullDataPoints:!0,hover:{size:void 0,sizeOffset:3}}
130,noData:{text:void 0,align:"center",verticalAlign:"middle",offsetX:0,offsetY:0,style:{color:void 0,fontSize:"14px",fontFamily:void 0}},responsive:[],series:void 0,states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"lighten",value:.1}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"darken",value:.5}}},title:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:0,floating:!1,style:{fontSize:"14px",fontWeight:900,fontFamily:void 0,color:void 0}},subtitle:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:30,floating:!1,style:{fontSize:"12px",fontWeight:400,fontFamily:void 0,color:void 0}},stroke:{show:!0,curve:"smooth",lineCap:"butt",width:2,colors:void 0,dashArray:0,fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]}}},tooltip:{enabled:!0,enabledOnSeries:void 0,shared:!0,hideEmptySeries:!0,followCursor:!1,intersect:!1,inverseOrder:!1,custom:void 0,fillSeriesColor:!1,theme:"light",cssClass:"",style:{fontSize:"12px",fontFamily:void 0},onDatasetHover:{highlightDataSeries:!1},x:{show:!0,format:"dd MMM",formatter:void 0},y:{formatter:void 0,title:{formatter:function(e){return e?e+": ":""}}},z:{formatter:void 0,title:"Size: "},marker:{show:!0,fillColors:void 0},items:{display:"flex"},fixed:{enabled:!1,position:"topRight",offsetX:0,offsetY:0}},xaxis:{type:"category",categories:[],convertedCatToNumeric:!1,offsetX:0,offsetY:0,overwriteCategories:void 0,labels:{show:!0,rotate:-45,rotateAlways:!1,hideOverlappingLabels:!0,trim:!1,minHeight:void 0,maxHeight:120,showDuplicates:!0,style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""},offsetX:0,offsetY:0,format:void 0,formatter:void 0,datetimeUTC:!0,datetimeFormatter:{year:"yyyy",month:"MMM 'yy",day:"dd MMM",hour:"HH:mm",minute:"HH:mm:ss",second:"HH:mm:ss"}},group:{groups:[],style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""}},axisBorder:{show:!0,color:"#e0e0e0",width:"100%",height:1,offsetX:0,offsetY:0},axisTicks:{show:!0,color:"#e0e0e0",height:6,offsetX:0,offsetY:0},stepSize:void 0,tickAmount:void 0,tickPlacement:"on",min:void 0,max:void 0,range:void 0,floating:!1,decimalsInFloat:void 0,position:"bottom",title:{text:void 0,offsetX:0,offsetY:0,style:{color:void 0,fontSize:"12px",fontWeight:900,fontFamily:void 0,cssClass:""}},crosshairs:{show:!0,width:1,position:"back",opacity:.9,stroke:{color:"#b6b6b6",width:1,dashArray:3},fill:{type:"solid",color:"#B1B9C4",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}},dropShadow:{enabled:!1,left:0,top:0,blur:1,opacity:.4}},tooltip:{enabled:!0,offsetY:0,formatter:void 0,style:{fontSize:"12px",fontFamily:void 0}}},yaxis:this.yAxis,theme:{mode:"light",palette:"palette1",monochrome:{enabled:!1,color:"#008FFB",shadeTo:"light",shadeIntensity:.65}}}}}]),e}(),E=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.graphics=new k(this.ctx),this.w.globals.isBarHorizontal&&(this.invertAxis=!0),this.helpers=new M(this),this.xAxisAnnotations=new L(this),this.yAxisAnnotations=new A(this),this.pointsAnnotations=new O(this),this.w.globals.isBarHorizontal&&this.w.config.yaxis[0].reversed&&(this.inversedReversedAxis=!0),this.xDivision=this.w.globals.gridWidth/this.w.globals.dataPoints}return c(e,[{key:"drawAxesAnnotations",value:function(){var e=this.w;if(e.globals.axisCharts){for(var t=this.yAxisAnnotations.drawYAxisAnnotations(),n=this.xAxisAnnotations.drawXAxisAnnotations(),i=this.pointsAnnotations.drawPointAnnotations(),r=e.config.chart.animations.enabled,a=[t,n,i],o=[n.node,t.node,i.node],s=0;s<3;s++)e.globals.dom.elGraphical.add(a[s]),!r||e.globals.resized||e.globals.dataChanged||"scatter"!==e.config.chart.type&&"bubble"!==e.config.chart.type&&e.globals.dataPoints>1&&o[s].classList.add("apexcharts-element-hidden"),e.globals.delayedElements.push({el:o[s],index:0});this.helpers.annotationsBackground()}}},{key:"drawImageAnnos",value:function(){var e=this;this.w.config.annotations.images.map((function(t,n){e.addImage(t,n)}))}},{key:"drawTextAnnos",value:function(){var e=this;this.w.config.annotations.texts.map((function(t,n){e.addText(t,n)}))}},{key:"addXaxisAnnotation",value:function(e,t,n){this.xAxisAnnotations.addXaxisAnnotation(e,t,n)}},{key:"addYaxisAnnotation",value:function(e,t,n){this.yAxisAnnotations.addYaxisAnnotation(e,t,n)}},{key:"addPointAnnotation",value:function(e,t,n){this.pointsAnnotations.addPointAnnotation(e,t,n)}},{key:"addText",value:function(e,t){var n=e.x,i=e.y,r=e.text,a=e.textAnchor,o=e.foreColor,s=e.fontSize,l=e.fontFamily,c=e.fontWeight,u=e.cssClass,d=e.backgroundColor,h=e.borderWidth,f=e.strokeDashArray,p=e.borderRadius,m=e.borderColor,g=e.appendTo,v=void 0===g?".apexcharts-svg":g,b=e.paddingLeft,y=void 0===b?4:b,_=e.paddingRight,x=void 0===_?4:_,w=e.paddingBottom,k=void 0===w?2:w,S=e.paddingTop,M=void 0===S?2:S,L=this.w,A=this.graphics.drawText({x:n,y:i,text:r,textAnchor:a||"start",fontSize:s||"12px",fontWeight:c||"regular",fontFamily:l||L.config.chart.fontFamily,foreColor:o||L.config.chart.foreColor,cssClass:u}),O=L.globals.dom.baseEl.querySelector(v);O&&O.appendChild(A.node);var C=A.bbox();if(r){var T=this.graphics.drawRect(C.x-y,C.y-M,C.width+y+x,C.height+k+M,p,d||"transparent",1,h,m,f);O.insertBefore(T.node,A.node)}}},{key:"addImage",value:function(e,t){var n=this.w,i=e.path,r=e.x,a=void 0===r?0:r,o=e.y,s=void 0===o?0:o,l=e.width,c=void 0===l?20:l,u=e.height,d=void 0===u?20:u,h=e.appendTo,f=void 0===h?".apexcharts-svg":h,p=n.globals.dom.Paper.image(i);p.size(c,d).move(a,s);var m=n.globals.dom.baseEl.querySelector(f);return m&&m.appendChild(p.node),p}},{key:"addXaxisAnnotationExternal",value:function(e,t,n){return this.addAnnotationExternal({params:e,pushToMemory:t,context:n,type:"xaxis",contextMethod:n.addXaxisAnnotation}),n}},{key:"addYaxisAnnotationExternal",value:function(e,t,n){return this.addAnnotationExternal({params:e,pushToMemory:t,context:n,type:"yaxis",contextMethod:n.addYaxisAnnotation}),n}},{key:"addPointAnnotationExternal",value:function(e,t,n){return void 0===this.invertAxis&&(this.invertAxis=n.w.globals.isBarHorizontal),this.addAnnotationExternal({params:e,pushToMemory:t,context:n,type:"point",contextMethod:n.addPointAnnotation}),n}},{key:"addAnnotationExternal",value:function(e){var t=e.params,n=e.pushToMemory,i=e.context,r=e.type,a=e.contextMethod,o=i,s=o.w,l=s.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations")),c=l.childNodes.length+1,u=new T,d=Object.assign({},"xaxis"===r?u.xAxisAnnotation:"yaxis"===r?u.yAxisAnnotation:u.pointAnnotation),h=_.extend(d,t);switch(r){case"xaxis":this.addXaxisAnnotation(h,l,c);break;
130case"yaxis":this.addYaxisAnnotation(h,l,c);break;case"point":this.addPointAnnotation(h,l,c)}var f=s.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations .apexcharts-").concat(r,"-annotation-label[rel='").concat(c,"']")),p=this.helpers.addBackgroundToAnno(f,h);return p&&l.insertBefore(p.node,f),n&&s.globals.memory.methodsToExec.push({context:o,id:h.id?h.id:_.randomId(),method:a,label:"addAnnotation",params:t}),i}},{key:"clearAnnotations",value:function(e){var t=e.w,n=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-annotations, .apexcharts-xaxis-annotations, .apexcharts-point-annotations");t.globals.memory.methodsToExec.map((function(e,n){"addText"!==e.label&&"addAnnotation"!==e.label||t.globals.memory.methodsToExec.splice(n,1)})),n=_.listToArray(n),Array.prototype.forEach.call(n,(function(e){for(;e.firstChild;)e.removeChild(e.firstChild)}))}},{key:"removeAnnotation",value:function(e,t){var n=e.w,i=n.globals.dom.baseEl.querySelectorAll(".".concat(t));i&&(n.globals.memory.methodsToExec.map((function(e,i){e.id===t&&n.globals.memory.methodsToExec.splice(i,1)})),Array.prototype.forEach.call(i,(function(e){e.parentElement.removeChild(e)})))}}]),e}(),D=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.months31=[1,3,5,7,8,10,12],this.months30=[2,4,6,9,11],this.daysCntOfYear=[0,31,59,90,120,151,181,212,243,273,304,334]}return c(e,[{key:"isValidDate",value:function(e){return"number"!=typeof e&&!isNaN(this.parseDate(e))}},{key:"getTimeStamp",value:function(e){return Date.parse(e)?this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toISOString().substr(0,25)).getTime():new Date(e).getTime():e}},{key:"getDate",value:function(e){return this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toUTCString()):new Date(e)}},{key:"parseDate",value:function(e){var t=Date.parse(e);if(!isNaN(t))return this.getTimeStamp(e);var n=Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "));return this.getTimeStamp(n)}},{key:"parseDateWithTimezone",value:function(e){return Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "))}},{key:"formatDate",value:function(e,t){var n=this.w.globals.locale,i=this.w.config.xaxis.labels.datetimeUTC,r=["\0"].concat(v(n.months)),a=["�"].concat(v(n.shortMonths)),o=["�"].concat(v(n.days)),s=["�"].concat(v(n.shortDays));function l(e,t){var n=e+"";for(t=t||2;n.length<t;)n="0"+n;return n}var c=i?e.getUTCFullYear():e.getFullYear();t=(t=(t=t.replace(/(^|[^\\])yyyy+/g,"$1"+c)).replace(/(^|[^\\])yy/g,"$1"+c.toString().substr(2,2))).replace(/(^|[^\\])y/g,"$1"+c);var u=(i?e.getUTCMonth():e.getMonth())+1;t=(t=(t=(t=t.replace(/(^|[^\\])MMMM+/g,"$1"+r[0])).replace(/(^|[^\\])MMM/g,"$1"+a[0])).replace(/(^|[^\\])MM/g,"$1"+l(u))).replace(/(^|[^\\])M/g,"$1"+u);var d=i?e.getUTCDate():e.getDate();t=(t=(t=(t=t.replace(/(^|[^\\])dddd+/g,"$1"+o[0])).replace(/(^|[^\\])ddd/g,"$1"+s[0])).replace(/(^|[^\\])dd/g,"$1"+l(d))).replace(/(^|[^\\])d/g,"$1"+d);var h=i?e.getUTCHours():e.getHours(),f=h>12?h-12:0===h?12:h;t=(t=(t=(t=t.replace(/(^|[^\\])HH+/g,"$1"+l(h))).replace(/(^|[^\\])H/g,"$1"+h)).replace(/(^|[^\\])hh+/g,"$1"+l(f))).replace(/(^|[^\\])h/g,"$1"+f);var p=i?e.getUTCMinutes():e.getMinutes();t=(t=t.replace(/(^|[^\\])mm+/g,"$1"+l(p))).replace(/(^|[^\\])m/g,"$1"+p);var m=i?e.getUTCSeconds():e.getSeconds();t=(t=t.replace(/(^|[^\\])ss+/g,"$1"+l(m))).replace(/(^|[^\\])s/g,"$1"+m);var g=i?e.getUTCMilliseconds():e.getMilliseconds();t=t.replace(/(^|[^\\])fff+/g,"$1"+l(g,3)),g=Math.round(g/10),t=t.replace(/(^|[^\\])ff/g,"$1"+l(g)),g=Math.round(g/10);var b=h<12?"AM":"PM";t=(t=(t=t.replace(/(^|[^\\])f/g,"$1"+g)).replace(/(^|[^\\])TT+/g,"$1"+b)).replace(/(^|[^\\])T/g,"$1"+b.charAt(0));var y=b.toLowerCase();t=(t=t.replace(/(^|[^\\])tt+/g,"$1"+y)).replace(/(^|[^\\])t/g,"$1"+y.charAt(0));var _=-e.getTimezoneOffset(),x=i||!_?"Z":_>0?"+":"-";if(!i){var w=(_=Math.abs(_))%60;x+=l(Math.floor(_/60))+":"+l(w)}t=t.replace(/(^|[^\\])K/g,"$1"+x);var k=(i?e.getUTCDay():e.getDay())+1;return(t=(t=(t=(t=t.replace(new RegExp(o[0],"g"),o[k])).replace(new RegExp(s[0],"g"),s[k])).replace(new RegExp(r[0],"g"),r[u])).replace(new RegExp(a[0],"g"),a[u])).replace(/\\(.)/g,"$1")}},{key:"getTimeUnitsfromTimestamp",value:function(e,t,n){var i=this.w;void 0!==i.config.xaxis.min&&(e=i.config.xaxis.min),void 0!==i.config.xaxis.max&&(t=i.config.xaxis.max);var r=this.getDate(e),a=this.getDate(t),o=this.formatDate(r,"yyyy MM dd HH mm ss fff").split(" "),s=this.formatDate(a,"yyyy MM dd HH mm ss fff").split(" ");return{minMillisecond:parseInt(o[6],10),maxMillisecond:parseInt(s[6],10),minSecond:parseInt(o[5],10),maxSecond:parseInt(s[5],10),minMinute:parseInt(o[4],10),maxMinute:parseInt(s[4],10),minHour:parseInt(o[3],10),maxHour:parseInt(s[3],10),minDate:parseInt(o[2],10),maxDate:parseInt(s[2],10),minMonth:
130parseInt(o[1],10)-1,maxMonth:parseInt(s[1],10)-1,minYear:parseInt(o[0],10),maxYear:parseInt(s[0],10)}}},{key:"isLeapYear",value:function(e){return e%4==0&&e%100!=0||e%400==0}},{key:"calculcateLastDaysOfMonth",value:function(e,t,n){return this.determineDaysOfMonths(e,t)-n}},{key:"determineDaysOfYear",value:function(e){var t=365;return this.isLeapYear(e)&&(t=366),t}},{key:"determineRemainingDaysOfYear",value:function(e,t,n){var i=this.daysCntOfYear[t]+n;return t>1&&this.isLeapYear()&&i++,i}},{key:"determineDaysOfMonths",value:function(e,t){var n=30;switch(e=_.monthMod(e),!0){case this.months30.indexOf(e)>-1:2===e&&(n=this.isLeapYear(t)?29:28);break;case this.months31.indexOf(e)>-1:default:n=31}return n}}]),e}(),P=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.tooltipKeyFormat="dd MMM"}return c(e,[{key:"xLabelFormat",value:function(e,t,n,i){var r=this.w;if("datetime"===r.config.xaxis.type&&void 0===r.config.xaxis.labels.formatter&&void 0===r.config.tooltip.x.formatter){var a=new D(this.ctx);return a.formatDate(a.getDate(t),r.config.tooltip.x.format)}return e(t,n,i)}},{key:"defaultGeneralFormatter",value:function(e){return Array.isArray(e)?e.map((function(e){return e})):e}},{key:"defaultYFormatter",value:function(e,t,n){var i=this.w;return _.isNumber(e)&&(e=0!==i.globals.yValueDecimal?e.toFixed(void 0!==t.decimalsInFloat?t.decimalsInFloat:i.globals.yValueDecimal):i.globals.maxYArr[n]-i.globals.minYArr[n]<5?e.toFixed(1):e.toFixed(0)),e}},{key:"setLabelFormatters",value:function(){var e=this,t=this.w;return t.globals.xaxisTooltipFormatter=function(t){return e.defaultGeneralFormatter(t)},t.globals.ttKeyFormatter=function(t){return e.defaultGeneralFormatter(t)},t.globals.ttZFormatter=function(e){return e},t.globals.legendFormatter=function(t){return e.defaultGeneralFormatter(t)},void 0!==t.config.xaxis.labels.formatter?t.globals.xLabelFormatter=t.config.xaxis.labels.formatter:t.globals.xLabelFormatter=function(e){if(_.isNumber(e)){if(!t.config.xaxis.convertedCatToNumeric&&"numeric"===t.config.xaxis.type){if(_.isNumber(t.config.xaxis.decimalsInFloat))return e.toFixed(t.config.xaxis.decimalsInFloat);var n=t.globals.maxX-t.globals.minX;return n>0&&n<100?e.toFixed(1):e.toFixed(0)}return t.globals.isBarHorizontal&&t.globals.maxY-t.globals.minYArr<4?e.toFixed(1):e.toFixed(0)}return e},"function"==typeof t.config.tooltip.x.formatter?t.globals.ttKeyFormatter=t.config.tooltip.x.formatter:t.globals.ttKeyFormatter=t.globals.xLabelFormatter,"function"==typeof t.config.xaxis.tooltip.formatter&&(t.globals.xaxisTooltipFormatter=t.config.xaxis.tooltip.formatter),(Array.isArray(t.config.tooltip.y)||void 0!==t.config.tooltip.y.formatter)&&(t.globals.ttVal=t.config.tooltip.y),void 0!==t.config.tooltip.z.formatter&&(t.globals.ttZFormatter=t.config.tooltip.z.formatter),void 0!==t.config.legend.formatter&&(t.globals.legendFormatter=t.config.legend.formatter),t.config.yaxis.forEach((function(n,i){void 0!==n.labels.formatter?t.globals.yLabelFormatters[i]=n.labels.formatter:t.globals.yLabelFormatters[i]=function(r){return t.globals.xyCharts?Array.isArray(r)?r.map((function(t){return e.defaultYFormatter(t,n,i)})):e.defaultYFormatter(r,n,i):r}})),t.globals}},{key:"heatmapLabelFormatters",value:function(){var e=this.w;if("heatmap"===e.config.chart.type){e.globals.yAxisScale[0].result=e.globals.seriesNames.slice();var t=e.globals.seriesNames.reduce((function(e,t){return e.length>t.length?e:t}),0);e.globals.yAxisScale[0].niceMax=t,e.globals.yAxisScale[0].niceMin=t}}}]),e}(),j=function(e){var t,n=e.isTimeline,i=e.ctx,r=e.seriesIndex,a=e.dataPointIndex,o=e.y1,s=e.y2,l=e.w,c=l.globals.seriesRangeStart[r][a],u=l.globals.seriesRangeEnd[r][a],d=l.globals.labels[a],h=l.config.series[r].name?l.config.series[r].name:"",f=l.globals.ttKeyFormatter,p=l.config.tooltip.y.title.formatter,m={w:l,seriesIndex:r,dataPointIndex:a,start:c,end:u};"function"==typeof p&&(h=p(h,m)),null!==(t=l.config.series[r].data[a])&&void 0!==t&&t.x&&(d=l.config.series[r].data[a].x),n||"datetime"===l.config.xaxis.type&&(d=new P(i).xLabelFormat(l.globals.ttKeyFormatter,d,d,{i:void 0,dateFormatter:new D(i).formatDate,w:l})),"function"==typeof f&&(d=f(d,m)),Number.isFinite(o)&&Number.isFinite(s)&&(c=o,u=s);var g="",v="",b=l.globals.colors[r];if(void 0===l.config.tooltip.x.formatter)if("datetime"===l.config.xaxis.type){var y=new D(i);g=y.formatDate(y.getDate(c),l.config.tooltip.x.format),v=y.formatDate(y.getDate(u),l.config.tooltip.x.format)}else g=c,v=u;else g=l.config.tooltip.x.formatter(c),v=l.config.tooltip.x.formatter(u);return{start:c,end:u,startVal:g,endVal:v,ylabel:d,color:b,seriesName:h}},Y=function(e){var t=e.color,n=e.seriesName,i=e.ylabel,r=e.start,a=e.end,o=e.seriesIndex,s=e.dataPointIndex,l=e.ctx.tooltip.tooltipLabels.getFormatters(o);r=l.yLbFormatter(r),a=l.yLbFormatter(a);var c=l.yLbFormatter(e.w.globals.series[o][s]),u='<span class="value start-value">\n '.concat(r,'\n </span> <span class="separator">-</span> <span class="value end-value">\n ').concat(a,"\n </span>");return'<div class="apexcharts-tooltip-rangebar"><div> <span class="series-name" style="color: '+t+'">'+(n||"")+'</span></div><div> <span class="category">'+i+": </span> "+(e.w.globals.comboCharts?"rangeArea"===e.w.config.series[o].type||"rangeBar"===e.w.config.series[o].type?u:"<span>
130".concat(c,"</span>"):u)+" </div></div>"},I=function(){function e(t){s(this,e),this.opts=t}return c(e,[{key:"hideYAxis",value:function(){this.opts.yaxis[0].show=!1,this.opts.yaxis[0].title.text="",this.opts.yaxis[0].axisBorder.show=!1,this.opts.yaxis[0].axisTicks.show=!1,this.opts.yaxis[0].floating=!0}},{key:"line",value:function(){return{chart:{animations:{easing:"swing"}},dataLabels:{enabled:!1},stroke:{width:5,curve:"straight"},markers:{size:0,hover:{sizeOffset:6}},xaxis:{crosshairs:{width:1}}}}},{key:"sparkline",value:function(e){return this.hideYAxis(),_.extend(e,{grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},legend:{show:!1},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}},chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1}})}},{key:"bar",value:function(){return{chart:{stacked:!1,animations:{easing:"swing"}},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{style:{colors:["#fff"]},background:{enabled:!1}},stroke:{width:0,lineCap:"round"},fill:{opacity:.85},legend:{markers:{shape:"square",radius:2,size:8}},tooltip:{shared:!1,intersect:!0},xaxis:{tooltip:{enabled:!1},tickPlacement:"between",crosshairs:{width:"barWidth",position:"back",fill:{type:"gradient"},dropShadow:{enabled:!1},stroke:{width:0}}}}}},{key:"funnel",value:function(){return this.hideYAxis(),a(a({},this.bar()),{},{chart:{animations:{easing:"linear",speed:800,animateGradually:{enabled:!1}}},plotOptions:{bar:{horizontal:!0,borderRadiusApplication:"around",borderRadius:0,dataLabels:{position:"center"}}},grid:{show:!1,padding:{left:0,right:0}},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}}})}},{key:"candlestick",value:function(){var e=this;return{stroke:{width:1,colors:["#333"]},fill:{opacity:1},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var n=t.seriesIndex,i=t.dataPointIndex,r=t.w;return e._getBoxTooltip(r,n,i,["Open","High","","Low","Close"],"candlestick")}},states:{active:{filter:{type:"none"}}},xaxis:{crosshairs:{width:1}}}}},{key:"boxPlot",value:function(){var e=this;return{chart:{animations:{dynamicAnimation:{enabled:!1}}},stroke:{width:1,colors:["#24292e"]},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var n=t.seriesIndex,i=t.dataPointIndex,r=t.w;return e._getBoxTooltip(r,n,i,["Minimum","Q1","Median","Q3","Maximum"],"boxPlot")}},markers:{size:5,strokeWidth:1,strokeColors:"#111"},xaxis:{crosshairs:{width:1}}}}},{key:"rangeBar",value:function(){return{chart:{animations:{animateGradually:!1}},stroke:{width:0,lineCap:"square"},plotOptions:{bar:{borderRadius:0,dataLabels:{position:"center"}}},dataLabels:{enabled:!1,formatter:function(e,t){t.ctx;var n=t.seriesIndex,i=t.dataPointIndex,r=t.w,a=function(){var e=r.globals.seriesRangeStart[n][i];return r.globals.seriesRangeEnd[n][i]-e};return r.globals.comboCharts?"rangeBar"===r.config.series[n].type||"rangeArea"===r.config.series[n].type?a():e:a()},background:{enabled:!1},style:{colors:["#fff"]}},markers:{size:10},tooltip:{shared:!1,followCursor:!0,custom:function(e){return e.w.config.plotOptions&&e.w.config.plotOptions.bar&&e.w.config.plotOptions.bar.horizontal?function(e){var t=j(a(a({},e),{},{isTimeline:!0})),n=t.color,i=t.seriesName,r=t.ylabel,o=t.startVal,s=t.endVal;return Y(a(a({},e),{},{color:n,seriesName:i,ylabel:r,start:o,end:s}))}(e):function(e){var t=j(e),n=t.color,i=t.seriesName,r=t.ylabel,o=t.start,s=t.end;return Y(a(a({},e),{},{color:n,seriesName:i,ylabel:r,start:o,end:s}))}(e)}},xaxis:{tickPlacement:"between",tooltip:{enabled:!1},crosshairs:{stroke:{width:0}}}}}},{key:"dumbbell",value:function(e){var t,n;return null!==(t=e.plotOptions.bar)&&void 0!==t&&t.barHeight||(e.plotOptions.bar.barHeight=2),null!==(n=e.plotOptions.bar)&&void 0!==n&&n.columnWidth||(e.plotOptions.bar.columnWidth=2),e}},{key:"area",value:function(){return{stroke:{width:4,fill:{type:"solid",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}}},fill:{type:"gradient",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}},markers:{size:0,hover:{sizeOffset:6}},tooltip:{followCursor:!1}}}},{key:"rangeArea",value:function(){return{stroke:{curve:"straight",width:0},fill:{type:"solid",opacity:.6},markers:{size:0},states:{hover:{filter:{type:"none"}},active:{filter:{type:"none"}}},tooltip:{intersect:!1,shared:!0,followCursor:!0,custom:function(e){return function(e){var t=j(e),n=t.color,i=t.seriesName,r=t.ylabel,o=t.start,s=t.end;return Y(a(a({},e),{},{color:n,seriesName:i,ylabel:r,start:o,end:s}))}(e)}}}}},{key:"brush",value:function(e){return _.extend(e,{chart:{toolbar:{autoSelected:"selection",show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:1},tooltip:{enabled:!1},xaxis:{tooltip:{enabled:!1}}})}},{key:"stacked100",value:function(e){e.dataLabels=e.dataLabels||{},e.dataLabels.formatter=e.dataLabels.formatter||void 0;var t=e.dataLabels.formatter;return e.yaxis.forEach((function(t,n){e.yaxis[n].min=0,e.yaxis[n].max=100})),"bar"===e.chart.type&&(e.dataLabels.formatter=t||function(e){return"number"==typeof e&&e?e.toFixed(0)+"%":e}),e}},{key:"stackedBars",value:function(){var e=this.bar();return a(a({},e),{},{plotOptions:a(a({},e.plotOptions),{},{bar:a(a({},e.plotOptions.bar),{},{borderRadiusApplication:"end",borderRadiusWhenStacked:"last"})})})}}
130,{key:"convertCatToNumeric",value:function(e){return e.xaxis.convertedCatToNumeric=!0,e}},{key:"convertCatToNumericXaxis",value:function(e,t,n){e.xaxis.type="numeric",e.xaxis.labels=e.xaxis.labels||{},e.xaxis.labels.formatter=e.xaxis.labels.formatter||function(e){return _.isNumber(e)?Math.floor(e):e};var i=e.xaxis.labels.formatter,r=e.xaxis.categories&&e.xaxis.categories.length?e.xaxis.categories:e.labels;return n&&n.length&&(r=n.map((function(e){return Array.isArray(e)?e:String(e)}))),r&&r.length&&(e.xaxis.labels.formatter=function(e){return _.isNumber(e)?i(r[Math.floor(e)-1]):i(e)}),e.xaxis.categories=[],e.labels=[],e.xaxis.tickAmount=e.xaxis.tickAmount||"dataPoints",e}},{key:"bubble",value:function(){return{dataLabels:{style:{colors:["#fff"]}},tooltip:{shared:!1,intersect:!0},xaxis:{crosshairs:{width:0}},fill:{type:"solid",gradient:{shade:"light",inverse:!0,shadeIntensity:.55,opacityFrom:.4,opacityTo:.8}}}}},{key:"scatter",value:function(){return{dataLabels:{enabled:!1},tooltip:{shared:!1,intersect:!0},markers:{size:6,strokeWidth:1,hover:{sizeOffset:2}}}}},{key:"heatmap",value:function(){return{chart:{stacked:!1},fill:{opacity:1},dataLabels:{style:{colors:["#fff"]}},stroke:{colors:["#fff"]},tooltip:{followCursor:!0,marker:{show:!1},x:{show:!1}},legend:{position:"top",markers:{shape:"square",size:10,offsetY:2}},grid:{padding:{right:20}}}}},{key:"treemap",value:function(){return{chart:{zoom:{enabled:!1}},dataLabels:{style:{fontSize:14,fontWeight:600,colors:["#fff"]}},stroke:{show:!0,width:2,colors:["#fff"]},legend:{show:!1},fill:{gradient:{stops:[0,100]}},tooltip:{followCursor:!0,x:{show:!1}},grid:{padding:{left:0,right:0}},xaxis:{crosshairs:{show:!1},tooltip:{enabled:!1}}}}},{key:"pie",value:function(){return{chart:{toolbar:{show:!1}},plotOptions:{pie:{donut:{labels:{show:!1}}}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",stops:[0,100]}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"donut",value:function(){return{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",shadeIntensity:.35,stops:[80,100],opacityFrom:1,opacityTo:1}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"polarArea",value:function(){return this.opts.yaxis[0].tickAmount=this.opts.yaxis[0].tickAmount?this.opts.yaxis[0].tickAmount:6,{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},enabled:!1},stroke:{show:!0,width:2},fill:{opacity:.7},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"radar",value:function(){return this.opts.yaxis[0].labels.offsetY=this.opts.yaxis[0].labels.offsetY?this.opts.yaxis[0].labels.offsetY:6,{dataLabels:{enabled:!1,style:{fontSize:"11px"}},stroke:{width:2},markers:{size:3,strokeWidth:1,strokeOpacity:1},fill:{opacity:.2},tooltip:{shared:!1,intersect:!0,followCursor:!0},grid:{show:!1},xaxis:{labels:{formatter:function(e){return e},style:{colors:["#a8a8a8"],fontSize:"11px"}},tooltip:{enabled:!1},crosshairs:{show:!1}}}}},{key:"radialBar",value:function(){return{chart:{animations:{dynamicAnimation:{enabled:!0,speed:800}},toolbar:{show:!1}},fill:{gradient:{shade:"dark",shadeIntensity:.4,inverseColors:!1,type:"diagonal2",opacityFrom:1,opacityTo:1,stops:[70,98,100]}},legend:{show:!1,position:"right"},tooltip:{enabled:!1,fillSeriesColor:!0}}}},{key:"_getBoxTooltip",value:function(e,t,n,i,r){var a=e.globals.seriesCandleO[t][n],o=e.globals.seriesCandleH[t][n],s=e.globals.seriesCandleM[t][n],l=e.globals.seriesCandleL[t][n],c=e.globals.seriesCandleC[t][n];return e.config.series[t].type&&e.config.series[t].type!==r?'<div class="apexcharts-custom-tooltip">\n '.concat(e.config.series[t].name?e.config.series[t].name:"series-"+(t+1),": <strong>").concat(e.globals.series[t][n],"</strong>\n </div>"):'<div class="apexcharts-tooltip-box apexcharts-tooltip-'.concat(e.config.chart.type,'">')+"<div>".concat(i[0],': <span class="value">')+a+"</span></div>"+"<div>".concat(i[1],': <span class="value">')+o+"</span></div>"+(s?"<div>".concat(i[2],': <span class="value">')+s+"</span></div>":"")+"<div>".concat(i[3],': <span class="value">')+l+"</span></div>"+"<div>".concat(i[4],': <span class="value">')+c+"</span></div></div>"}}]),e}(),R=function(){function e(t){s(this,e),this.opts=t}return c(e,[{key:"init",value:function(e){var t=e.responsiveOverride,n=this.opts,i=new T,r=new I(n);this.chartType=n.chart.type,n=this.extendYAxis(n),n=this.extendAnnotations(n);var a=i.init(),s={};if(n&&"object"===o(n)){var l,c,u,d,h,f,p,m,g,v,b={};b=-1!==["line","area","bar","candlestick","boxPlot","rangeBar","rangeArea","bubble","scatter","heatmap","treemap","pie","polarArea","donut","radar","radialBar"].indexOf(n.chart.type)?r[n.chart.type]():r.line(),null!==(l=n.plotOptions)&&void 0!==l&&null!==(c=l.bar)&&void 0!==c&&c.isFunnel&&(b=r.funnel()),n.chart.stacked&&"bar"===n.chart.type&&(b=r.stackedBars()),null!==(u=n.chart.brush)&&void 0!==u&&u.enabled&&(b=r.brush(b)),n.chart.stacked&&"100%"===n.chart.stackType&&(n=r.stacked100(n)),null!==(d=n.plotOptions)&&void 0!==d&&null!==(h=d.bar)&&void 0!==h&&h.isDumbbell&&(n=r.dumbbell(n)),"monotoneCubic"===(null===(f=n)||void 0===f||null===(p=f.stroke)||void 0===p?void 0:p.curve)&&(n.stroke.curve="smooth"),this.checkForDarkTheme(window.Apex),this.checkForDarkTheme(n),n.xaxis=n.xaxis||window.Apex.xaxis||{},t||(n.xaxis.convertedCatToNumeric=!1),(null!==(m=(n=this.checkForCatToNumericXAxis(this.chartType,b,n)).chart.sparkline)&&void 0!==m&&m.enabled||null!==(g=window.Apex.chart)&&void 0!==g&&null!==(v=g.sparkline)&&void 0!==v&&v.enabled)&&(b=r.sparkline(b)),s=_.extend(a,b)}var y=_.extend(s,window.Apex);return a=_.extend(y,n),this.handleUserInputErrors(a)}},{key:"checkForCatToNumericXAxis",value:function(e,t,n){var i,r,a=new I(n),o=("bar"===e||"boxPlot"===e)&&(null===(i=n.plotOptions)||void 0===i||null===(r=i.bar)||void 0===r?void 0:r.horizontal),s="pie"===e||"polarArea"===e||"donut"===e||"radar"===e||"radialBar"===e||"heatmap"===e,l="datetime"!==n.xaxis.type&&"numeric"!==n.xaxis.type,c=n.xaxis.tickPlacement?n.xaxis.tickPlacement:t.xaxis&&t.xaxis.tickPlacement;return o||s||!l||"between"===c||(n=a.convertCatToNumeric(n)),n}},{key:"extendYAxis",value:function(e,t){var n=new T;(void 0===e.yaxis||!e.yaxis||Array.isArray(e.yaxis)&&0===e.yaxis.length)&&(e.yaxis={}),e.yaxis.constructor!==Array&&window.Apex.yaxis&&window.Apex.yaxis.constructor!==Array&&(e.yaxis=_.extend(e.yaxis,window.Apex.yaxis)),e.yaxis.constructor!==Array?e.yaxis=[_.extend(n.yAxis,e.yaxis)]:e.yaxis=_.extendArray(e.yaxis,n.yAxis);var i=!1;e.yaxis.forEach((function(e){e.logarithmic&&(i=!0)}));var r=e.series;return t&&!r&&(r=t.config.series),i&&r.length!==e.yaxis.length&&r.length&&(e.yaxis=r.map((function(t,i){if(t.name||(r[i].name="series-".concat(i+1)),e.yaxis[i])return e.yaxis[i].seriesName=r[i].name,e.yaxis[i];var a=_.extend(n.yAxis,e.yaxis[0]);return a.show=!1,a}))),i&&r.length>1&&r.length!==e.yaxis.length&&console.warn("A multi-series logarithmic chart should have equal number of series and y-axes"),e}},{key:"extendAnnotations",value:function(e){return void 0===e.annotations&&(e.annotations={},e.annotations.yaxis=[],e.annotations.xaxis=[],e.annotations.points=[]),e=this.extendYAxisAnnotations(e),e=this.extendXAxisAnnotations(e),this.extendPointAnnotations(e)}},{key:"extendYAxisAnnotations",value:function(e){var t=new T;return e.annotations.yaxis=_.extendArray(void 0!==e.annotations.yaxis?e.annotations.yaxis:[],t.yAxisAnnotation),e}},{key:"extendXAxisAnnotations",value:function(e){var t=new T;return e.annotations.xaxis=_.extendArray(void 0!==e.annotations.xaxis?e.annotations.xaxis:[],t.xAxisAnnotation),e}},{key:"extendPointAnnotations",value:function(e){var t=new T;return e.annotations.points=_.extendArray(void 0!==e.annotations.points?e.annotations.points:[],t.pointAnnotation),e}},{key:"checkForDarkTheme",value:function(e){e.theme&&"dark"===e.theme.mode&&(e.tooltip||(e.tooltip={}),"light"!==e.tooltip.theme&&(e.tooltip.theme="dark"),e.chart.foreColor||(e.chart.foreColor="#f6f7f8"),e.chart.background||(e.chart.background="#424242"),e.theme.palette||(e.theme.palette="palette4"))}},{key:"handleUserInputErrors",value:function(e){var t=e;if(t.tooltip.shared&&t.tooltip.intersect)throw new Error("tooltip.shared cannot be enabled when tooltip.intersect is true. Turn off any other option by setting it to false.");if("bar"===t.chart.type&&t.plotOptions.bar.horizontal){if(t.yaxis.length>1)throw new Error("Multiple Y Axis for bars are not supported. Switch to column chart by setting plotOptions.bar.horizontal=false");t.yaxis[0].reversed&&(t.yaxis[0].opposite=!0),t.xaxis.tooltip.enabled=!1,t.yaxis[0].tooltip.enabled=!1,t.chart.zoom.enabled=!1}return"bar"!==t.chart.type&&"rangeBar"!==t.chart.type||t.tooltip.shared&&"barWidth"===t.xaxis.crosshairs.width&&t.series.length>1&&(t.xaxis.crosshairs.width="tickWidth"),"candlestick"!==t.chart.type&&"boxPlot"!==t.chart.type||t.yaxis[0].reversed&&(console.warn("Reversed y-axis in ".concat(t.chart.type," chart is not supported.")),t.yaxis[0].reversed=!1),t}}]),e}(),H=function(){function e(){s(this,e)}return c(e,[{key:"initGlobalVars",value:function(e){e.series=[],e.seriesCandleO=[],e.seriesCandleH=[],e.seriesCandleM=[],e.seriesCandleL=[],e.seriesCandleC=[],e.seriesRangeStart=[],e.seriesRangeEnd=[],e.seriesRange=[],e.seriesPercent=[],e.seriesGoals=[],e.seriesX=[],e.seriesZ=[],e.seriesNames=[],e.seriesTotals=[],e.seriesLog=[],e.seriesColors=[],e.stackedSeriesTotals=[],e.seriesXvalues=[],e.seriesYvalues=[],e.labels=[],e.hasXaxisGroups=!1,e.groups=[],e.hasSeriesGroups=!1,e.seriesGroups=[],e.categoryLabels=[],e.timescaleLabels=[],e.noLabelsProvi
130ded=!1,e.resizeTimer=null,e.selectionResizeTimer=null,e.delayedElements=[],e.pointsArray=[],e.dataLabelsRects=[],e.isXNumeric=!1,e.skipLastTimelinelabel=!1,e.skipFirstTimelinelabel=!1,e.isDataXYZ=!1,e.isMultiLineX=!1,e.isMultipleYAxis=!1,e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE,e.minYArr=[],e.maxYArr=[],e.maxX=-Number.MAX_VALUE,e.minX=Number.MAX_VALUE,e.initialMaxX=-Number.MAX_VALUE,e.initialMinX=Number.MAX_VALUE,e.maxDate=0,e.minDate=Number.MAX_VALUE,e.minZ=Number.MAX_VALUE,e.maxZ=-Number.MAX_VALUE,e.minXDiff=Number.MAX_VALUE,e.yAxisScale=[],e.xAxisScale=null,e.xAxisTicksPositions=[],e.yLabelsCoords=[],e.yTitleCoords=[],e.barPadForNumericAxis=0,e.padHorizontal=0,e.xRange=0,e.yRange=[],e.zRange=0,e.dataPoints=0,e.xTickAmount=0}},{key:"globalVars",value:function(e){return{chartID:null,cuid:null,events:{beforeMount:[],mounted:[],updated:[],clicked:[],selection:[],dataPointSelection:[],zoomed:[],scrolled:[]},colors:[],clientX:null,clientY:null,fill:{colors:[]},stroke:{colors:[]},dataLabels:{style:{colors:[]}},radarPolygons:{fill:{colors:[]}},markers:{colors:[],size:e.markers.size,largestSize:0},animationEnded:!1,isTouchDevice:"ontouchstart"in window||navigator.msMaxTouchPoints,isDirty:!1,isExecCalled:!1,initialConfig:null,initialSeries:[],lastXAxis:[],lastYAxis:[],columnSeries:null,labels:[],timescaleLabels:[],noLabelsProvided:!1,allSeriesCollapsed:!1,collapsedSeries:[],collapsedSeriesIndices:[],ancillaryCollapsedSeries:[],ancillaryCollapsedSeriesIndices:[],risingSeries:[],dataFormatXNumeric:!1,capturedSeriesIndex:-1,capturedDataPointIndex:-1,selectedDataPoints:[],goldenPadding:35,invalidLogScale:!1,ignoreYAxisIndexes:[],yAxisSameScaleIndices:[],maxValsInArrayIndex:0,radialSize:0,selection:void 0,zoomEnabled:"zoom"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.zoom&&e.chart.zoom.enabled,panEnabled:"pan"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.pan,selectionEnabled:"selection"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.selection,yaxis:null,mousedown:!1,lastClientPosition:{},visibleXRange:void 0,yValueDecimal:0,total:0,SVGNS:"http://www.w3.org/2000/svg",svgWidth:0,svgHeight:0,noData:!1,locale:{},dom:{},memory:{methodsToExec:[]},shouldAnimate:!0,skipLastTimelinelabel:!1,skipFirstTimelinelabel:!1,delayedElements:[],axisCharts:!0,isDataXYZ:!1,resized:!1,resizeTimer:null,comboCharts:!1,dataChanged:!1,previousPaths:[],allSeriesHasEqualX:!0,pointsArray:[],dataLabelsRects:[],lastDrawnDataLabelsIndexes:[],hasNullValues:!1,easing:null,zoomed:!1,gridWidth:0,gridHeight:0,rotateXLabels:!1,defaultLabels:!1,xLabelFormatter:void 0,yLabelFormatters:[],xaxisTooltipFormatter:void 0,ttKeyFormatter:void 0,ttVal:void 0,ttZFormatter:void 0,LINE_HEIGHT_RATIO:1.618,xAxisLabelsHeight:0,xAxisGroupLabelsHeight:0,xAxisLabelsWidth:0,yAxisLabelsWidth:0,scaleX:1,scaleY:1,translateX:0,translateY:0,translateYAxisX:[],yAxisWidths:[],translateXAxisY:0,translateXAxisX:0,tooltip:null}}},{key:"init",value:function(e){var t=this.globalVars(e);return this.initGlobalVars(t),t.initialConfig=_.extend({},e),t.initialSeries=_.clone(e.series),t.lastXAxis=_.clone(t.initialConfig.xaxis),t.lastYAxis=_.clone(t.initialConfig.yaxis),t}}]),e}(),N=function(){function e(t){s(this,e),this.opts=t}return c(e,[{key:"init",value:function(){var e=new R(this.opts).init({responsiveOverride:!1});return{config:e,globals:(new H).init(e)}}}]),e}(),F=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.opts=null,this.seriesIndex=0}return c(e,[{key:"clippedImgArea",value:function(e){var t=this.w,n=t.config,i=parseInt(t.globals.gridWidth,10),r=parseInt(t.globals.gridHeight,10),a=i>r?i:r,o=e.image,s=0,l=0;void 0===e.width&&void 0===e.height?void 0!==n.fill.image.width&&void 0!==n.fill.image.height?(s=n.fill.image.width+1,l=n.fill.image.height):(s=a+1,l=a):(s=e.width,l=e.height);var c=document.createElementNS(t.globals.SVGNS,"pattern");k.setAttrs(c,{id:e.patternID,patternUnits:e.patternUnits?e.patternUnits:"userSpaceOnUse",width:s+"px",height:l+"px"});var u=document.createElementNS(t.globals.SVGNS,"image");c.appendChild(u),u.setAttributeNS(window.SVG.xlink,"href",o),k.setAttrs(u,{x:0,y:0,preserveAspectRatio:"none",width:s+"px",height:l+"px"}),u.style.opacity=e.opacity,t.globals.dom.elDefs.node.appendChild(c)}},{key:"getSeriesIndex",value:function(e){var t=this.w,n=t.config.chart.type;return("bar"===n||"rangeBar"===n)&&t.config.plotOptions.bar.distributed||"heatmap"===n||"treemap"===n?this.seriesIndex=e.seriesNumber:this.seriesIndex=e.seriesNumber%t.globals.series.length,this.seriesIndex}},{key:"fillPath",value:function(e){var t=this.w;this.opts=e;var n,i,r,a=this.w.config;this.seriesIndex=this.getSeriesIndex(e);var o=this.getFillColors()[this.seriesIndex];void 0!==t.globals.seriesColors[this.seriesIndex]&&(o=t.globals.seriesColors[this.seriesIndex]),"function"==typeof o&&(o=o({seriesIndex:this.seriesIndex,dataPointIndex:e.dataPointIndex,value:e.value,w:t}));var s=e.fillType?e.fillType:this.getFillType(this.seriesIndex),l=Array.isArray(a.fill.opacity)?a.fill.opacity[this.seriesIndex]:a.fill.opacity;e.color&&(o=e.color),o||(o="#fff",console.warn("undefined color - ApexCharts"));var c=o;if(-1===o.indexOf("rgb")?o.length<9&&(c=_.hexToRgba(o,l)):o.indexOf("rgba")>-1&&(l=_.getOpacityFromRGBA(o)),e.opacity&&(l=e.opacity),"pattern"===s&&(i=this.handlePatternFill({fillConfig:e.fillConfig,patternFill:i,fillColor:o,fillOpacity:l,defaultColor:c})),"gradient"===s&&(r=this.handleGradientFill({fillConfig:e.fillConfig,fillColor:o,fillOpacity:l,i:this.seriesIndex})),"image"===s){var u=a.fill.image.src,d=e.patternID?e.patternID:"";this.clippedImgArea({opacity:l,image:Array.isArray(u)?e.seriesNumber<u.length?u[e.seriesNumber]:u[0]:u,width:e.width?e.width:void 0,height:e.height?e.height:void 0,patternUnits:e.patternUnits,patternID:"pattern".concat(t.globals.cuid).concat(e.seriesNumber+1).concat(d)}),n="url(#pattern".concat(t.globals.cuid).concat(e.seriesNumber+1).concat(d,")")}else n="gradient"===s?r:"pattern"===s?i:c;return e.solid&&(n=c),n}},{key:"getFillType",value:function(e){var t=this.w;return Array.isArray(t.config.fill.type)?t.config.fill.type[e]:t.config.fill.type}},{key:"getFillColors",value:function(){var e=this.w,t=e.config,n=this.opts,i=[];return e.globals.comboCharts?"line"===e.config.series[this.seriesIndex].type?Array.isArray(e.globals.stroke.colors)?i=e.globals.stroke.colors:i.push(e.globals.stroke.colors):Array.isArray(e.globals.fill.colors)?i=e.globals.fill.colors:i.push(e.globals.fill.colors):"line"===t.chart.type?Array.isArray(e.globals.stroke.colors)?i=e.globals.stroke.colors:i.push(e.globals.stroke.colors):Array.isArray(e.globals.fill.colors)?i=e.globals.fill.colors:i.push(e.globals.fill.colors),void 0!==n.fillColors&&(i=[],Array.isArray(n.fillColors)?i=n.fillColors.slice():i.push(n.fillColors)),i}},{key:"handlePatternFill",value:function(e){var t=e.fillConfig,n=(e.patternFill,e.fillColor),i=e.fillOpacity,r=e.defaultColor,a=this.w.config.fill;t&&(a=t);var o=this.opts,s=new k(this.ctx),l=Array.isArray(a.pattern.strokeWidth)?a.pattern.strokeWidth[this.seriesIndex]:a.pattern.strokeWidth,c=n;return Array.isArray(a.pattern.style)?void 0!==a.pattern.style[o.seriesNumber]?s.drawPattern(a.pattern.style[o.seriesNumber],a.pattern.width,a.pattern.height,c,l,i):r:s.drawPattern(a.pattern.style,a.pattern.width,a.pattern.height,c,l,i)}},{key:"handleGradientFill",value:function(e){var t=e.fillColor,n=e.fillOpacity,i=e.fillConfig,r=e.i,o=this.w.config.fill;i&&(o=a(a({},o),i));var s,l=this.opts,c=new k(this.ctx),u=new _,d=o.gradient.type,h=t,f=void 0===o.gradient.opacityFrom?n:Array.isArray(o.gradient.opacityFrom)?o.gradient.opacityFrom[r]:o.gradient.opacityFrom;h.indexOf("rgba")>-1&&(f=_.getOpacityFromRGBA(h));var p=void 0===o.gradient.opacityTo?n:Array.isArray(o.gradient.opacityTo)?o.gradient.opacityTo[r]:o.gradient.opacityTo;
130if(void 0===o.gradient.gradientToColors||0===o.gradient.gradientToColors.length)s="dark"===o.gradient.shade?u.shadeColor(-1*parseFloat(o.gradient.shadeIntensity),t.indexOf("rgb")>-1?_.rgb2hex(t):t):u.shadeColor(parseFloat(o.gradient.shadeIntensity),t.indexOf("rgb")>-1?_.rgb2hex(t):t);else if(o.gradient.gradientToColors[l.seriesNumber]){var m=o.gradient.gradientToColors[l.seriesNumber];s=m,m.indexOf("rgba")>-1&&(p=_.getOpacityFromRGBA(m))}else s=t;if(o.gradient.gradientFrom&&(h=o.gradient.gradientFrom),o.gradient.gradientTo&&(s=o.gradient.gradientTo),o.gradient.inverseColors){var g=h;h=s,s=g}return h.indexOf("rgb")>-1&&(h=_.rgb2hex(h)),s.indexOf("rgb")>-1&&(s=_.rgb2hex(s)),c.drawGradient(d,h,s,f,p,l.size,o.gradient.stops,o.gradient.colorStops,r)}}]),e}(),z=function(){function e(t,n){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"setGlobalMarkerSize",value:function(){var e=this.w;if(e.globals.markers.size=Array.isArray(e.config.markers.size)?e.config.markers.size:[e.config.markers.size],e.globals.markers.size.length>0){if(e.globals.markers.size.length<e.globals.series.length+1)for(var t=0;t<=e.globals.series.length;t++)void 0===e.globals.markers.size[t]&&e.globals.markers.size.push(e.globals.markers.size[0])}else e.globals.markers.size=e.config.series.map((function(t){return e.config.markers.size}))}},{key:"plotChartMarkers",value:function(e,t,n,i){var r,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=this.w,s=t,l=e,c=null,u=new k(this.ctx),d=o.config.markers.discrete&&o.config.markers.discrete.length;if((o.globals.markers.size[t]>0||a||d)&&(c=u.group({class:a||d?"":"apexcharts-series-markers"})).attr("clip-path","url(#gridRectMarkerMask".concat(o.globals.cuid,")")),Array.isArray(l.x))for(var h=0;h<l.x.length;h++){var f=n;1===n&&0===h&&(f=0),1===n&&1===h&&(f=1);var p="apexcharts-marker";if("line"!==o.config.chart.type&&"area"!==o.config.chart.type||o.globals.comboCharts||o.config.tooltip.intersect||(p+=" no-pointer-events"),(Array.isArray(o.config.markers.size)?o.globals.markers.size[t]>0:o.config.markers.size>0)||a||d){_.isNumber(l.y[h])?p+=" w".concat(_.randomId()):p="apexcharts-nullpoint";var m=this.getMarkerConfig({cssClass:p,seriesIndex:t,dataPointIndex:f});o.config.series[s].data[f]&&(o.config.series[s].data[f].fillColor&&(m.pointFillColor=o.config.series[s].data[f].fillColor),o.config.series[s].data[f].strokeColor&&(m.pointStrokeColor=o.config.series[s].data[f].strokeColor)),i&&(m.pSize=i),(l.x[h]<0||l.x[h]>o.globals.gridWidth||l.y[h]<-o.globals.markers.largestSize||l.y[h]>o.globals.gridHeight+o.globals.markers.largestSize)&&(m.pSize=0),(r=u.drawMarker(l.x[h],l.y[h],m)).attr("rel",f),r.attr("j",f),r.attr("index",t),r.node.setAttribute("default-marker-size",m.pSize),new w(this.ctx).setSelectionFilter(r,t,f),this.addEvents(r),c&&c.add(r)}else void 0===o.globals.pointsArray[t]&&(o.globals.pointsArray[t]=[]),o.globals.pointsArray[t].push([l.x[h],l.y[h]])}return c}},{key:"getMarkerConfig",value:function(e){var t=e.cssClass,n=e.seriesIndex,i=e.dataPointIndex,r=void 0===i?null:i,a=e.finishRadius,o=void 0===a?null:a,s=this.w,l=this.getMarkerStyle(n),c=s.globals.markers.size[n],u=s.config.markers;return null!==r&&u.discrete.length&&u.discrete.map((function(e){e.seriesIndex===n&&e.dataPointIndex===r&&(l.pointStrokeColor=e.strokeColor,l.pointFillColor=e.fillColor,c=e.size,l.pointShape=e.shape)})),{pSize:null===o?c:o,pRadius:u.radius,width:Array.isArray(u.width)?u.width[n]:u.width,height:Array.isArray(u.height)?u.height[n]:u.height,pointStrokeWidth:Array.isArray(u.strokeWidth)?u.strokeWidth[n]:u.strokeWidth,pointStrokeColor:l.pointStrokeColor,pointFillColor:l.pointFillColor,shape:l.pointShape||(Array.isArray(u.shape)?u.shape[n]:u.shape),class:t,pointStrokeOpacity:Array.isArray(u.strokeOpacity)?u.strokeOpacity[n]:u.strokeOpacity,pointStrokeDashArray:Array.isArray(u.strokeDashArray)?u.strokeDashArray[n]:u.strokeDashArray,pointFillOpacity:Array.isArray(u.fillOpacity)?u.fillOpacity[n]:u.fillOpacity,seriesIndex:n}}},{key:"addEvents",value:function(e){var t=this.w,n=new k(this.ctx);e.node.addEventListener("mouseenter",n.pathMouseEnter.bind(this.ctx,e)),e.node.addEventListener("mouseleave",n.pathMouseLeave.bind(this.ctx,e)),e.node.addEventListener("mousedown",n.pathMouseDown.bind(this.ctx,e)),e.node.addEventListener("click",t.config.markers.onClick),e.node.addEventListener("dblclick",t.config.markers.onDblClick),e.node.addEventListener("touchstart",n.pathMouseDown.bind(this.ctx,e),{passive:!0})}},{key:"getMarkerStyle",value:function(e){var t=this.w,n=t.globals.markers.colors,i=t.config.markers.strokeColor||t.config.markers.strokeColors;return{pointStrokeColor:Array.isArray(i)?i[e]:i,pointFillColor:Array.isArray(n)?n[e]:n}}}]),e}(),B=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled}return c(e,[{key:"draw",value:function(e,t,n){var i=this.w,r=new k(this.ctx),a=n.realIndex,o=n.pointsPos,s=n.zRatio,l=n.elParent,c=r.group({class:"apexcharts-series-markers apexcharts-series-".concat(i.config.chart.type)});if(c.attr("clip-path","url(#gridRectMarkerMask".concat(i.globals.cuid,")")),Array.isArray(o.x))for(var u=0;u<o.x.length;u++){var d=t+1,h=!0;0===t&&0===u&&(d=0),0===t&&1===u&&(d=1);var f=0,p=i.globals.markers.size[a];if(s!==1/0){var m=i.config.plotOptions.bubble;p=i.globals.seriesZ[a][d],m.zScaling&&(p/=s),m.minBubbleRadius&&p<m.minBubbleRadius&&(p=m.minBubbleRadius),m.maxBubbleRadius&&p>m.maxBubbleRadius&&(p=m.maxBubbleRadius)}i.config.chart.animations.enabled||(f=p);var g=o.x[u],v=o.y[u];if(f=f||0,null!==v&&void 0!==i.globals.series[a][d]||(h=!1),h){var b=this.drawPoint(g,v,f,p,a,d,t);c.add(b)}l.add(c)}}},{key:"drawPoint",value:function(e,t,n,i,r,a,o){var s=this.w,l=r,c=new x(this.ctx),u=new w(this.ctx),d=new F(this.ctx),h=new z(this.ctx),f=new k(this.ctx),p=h.getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:l,dataPointIndex:a,finishRadius:"bubble"===s.config.chart.type||s.globals.comboCharts&&s.config.series[r]&&"bubble"===s.config.series[r].type?i:null});i=p.pSize;var m,g=d.fillPath({seriesNumber:r,dataPointIndex:a,color:p.pointFillColor,patternUnits:"objectBoundingBox",value:s.globals.series[r][o]});if("circle"===p.shape?m=f.drawCircle(n):"square"!==p.shape&&"rect"!==p.shape||(m=f.drawRect(0,0,p.width-p.pointStrokeWidth/2,p.height-p.pointStrokeWidth/2,p.pRadius)),s.config.series[l].data[a]&&s.config.series[l].data[a].fillColor&&(g=s.config.series[l].data[a].fillColor),m.attr({x:e-p.width/2-p.pointStrokeWidth/2,y:t-p.height/2-p.pointStrokeWidth/2,cx:e,cy:t,fill:g,"fill-opacity":p.pointFillOpacity,stroke:p.pointStrokeColor,r:i,"stroke-width":p.pointStrokeWidth,"stroke-dasharray":p.pointStrokeDashArray,"stroke-opacity":p.pointStrokeOpacity}),s.config.chart.dropShadow.enabled){var v=s.config.chart.dropShadow;u.dropShadow(m,v,r)}if(!this.initialAnim||s.globals.dataChanged||s.globals.resized)s.globals.animationEnded=!0;else{var b=s.config.chart.animations.speed;c.animateMarker(m,0,"circle"===p.shape?i:{width:p.width,height:p.height},b,s.globals.easing,(function(){window.setTimeout((function(){c.animationCompleted(m)}),100)}))}if(s.globals.dataChanged&&"circle"===p.shape)if(this.dynamicAnim){var y,_,S,M,L=s.config.chart.animations.dynamicAnimation.speed;null!=(M=s.globals.previousPaths[r]&&s.globals.previousPaths[r][o])&&(y=M.x,_=M.y,S=void 0!==M.r?M.r:i);for(var A=0;A<s.globals.collapsedSeries.length;A++)s.globals.collapsedSeries[A].index===r&&(L=1,i=0);0===e&&0===t&&(i=0),c.animateCircle(m,{cx:y,cy:_,r:S},{cx:e,cy:t,r:i},L,s.globals.easing)}else m.attr({r:i}
130);return m.attr({rel:a,j:a,index:r,"default-marker-size":i}),u.setSelectionFilter(m,r,a),h.addEvents(m),m.node.classList.add("apexcharts-marker"),m}},{key:"centerTextInBubble",value:function(e){var t=this.w;return{y:e+=parseInt(t.config.dataLabels.style.fontSize,10)/4}}}]),e}(),W=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"dataLabelsCorrection",value:function(e,t,n,i,r,a,o){var s=this.w,l=!1,c=new k(this.ctx).getTextRects(n,o),u=c.width,d=c.height;t<0&&(t=0),t>s.globals.gridHeight+d&&(t=s.globals.gridHeight+d/2),void 0===s.globals.dataLabelsRects[i]&&(s.globals.dataLabelsRects[i]=[]),s.globals.dataLabelsRects[i].push({x:e,y:t,width:u,height:d});var h=s.globals.dataLabelsRects[i].length-2,f=void 0!==s.globals.lastDrawnDataLabelsIndexes[i]?s.globals.lastDrawnDataLabelsIndexes[i][s.globals.lastDrawnDataLabelsIndexes[i].length-1]:0;if(void 0!==s.globals.dataLabelsRects[i][h]){var p=s.globals.dataLabelsRects[i][f];(e>p.x+p.width||t>p.y+p.height||t+d<p.y||e+u<p.x)&&(l=!0)}return(0===r||a)&&(l=!0),{x:e,y:t,textRects:c,drawnextLabel:l}}},{key:"drawDataLabel",value:function(e){var t=this,n=e.type,i=e.pos,r=e.i,a=e.j,o=e.isRangeStart,s=e.strokeWidth,l=void 0===s?2:s,c=this.w,u=new k(this.ctx),d=c.config.dataLabels,h=0,f=0,p=a,m=null;if(!d.enabled||!Array.isArray(i.x))return m;m=u.group({class:"apexcharts-data-labels"});for(var g=0;g<i.x.length;g++)if(h=i.x[g]+d.offsetX,f=i.y[g]+d.offsetY+l,!isNaN(h)){1===a&&0===g&&(p=0),1===a&&1===g&&(p=1);var v=c.globals.series[r][p];"rangeArea"===n&&(v=o?c.globals.seriesRangeStart[r][p]:c.globals.seriesRangeEnd[r][p]);var b="",y=function(e){return c.config.dataLabels.formatter(e,{ctx:t.ctx,seriesIndex:r,dataPointIndex:p,w:c})};"bubble"===c.config.chart.type?(b=y(v=c.globals.seriesZ[r][p]),f=i.y[g],f=new B(this.ctx).centerTextInBubble(f,r,p).y):void 0!==v&&(b=y(v)),this.plotDataLabelsText({x:h,y:f,text:b,i:r,j:p,parent:m,offsetCorrection:!0,dataLabelsConfig:c.config.dataLabels})}return m}},{key:"plotDataLabelsText",value:function(e){var t=this.w,n=new k(this.ctx),i=e.x,r=e.y,a=e.i,o=e.j,s=e.text,l=e.textAnchor,c=e.fontSize,u=e.parent,d=e.dataLabelsConfig,h=e.color,f=e.alwaysDrawDataLabel,p=e.offsetCorrection;if(!(Array.isArray(t.config.dataLabels.enabledOnSeries)&&t.config.dataLabels.enabledOnSeries.indexOf(a)<0)){var m={x:i,y:r,drawnextLabel:!0,textRects:null};p&&(m=this.dataLabelsCorrection(i,r,s,a,o,f,parseInt(d.style.fontSize,10))),t.globals.zoomed||(i=m.x,r=m.y),m.textRects&&(i<-20-m.textRects.width||i>t.globals.gridWidth+m.textRects.width+30)&&(s="");var g=t.globals.dataLabels.style.colors[a];(("bar"===t.config.chart.type||"rangeBar"===t.config.chart.type)&&t.config.plotOptions.bar.distributed||t.config.dataLabels.distributed)&&(g=t.globals.dataLabels.style.colors[o]),"function"==typeof g&&(g=g({series:t.globals.series,seriesIndex:a,dataPointIndex:o,w:t})),h&&(g=h);var v=d.offsetX,b=d.offsetY;if("bar"!==t.config.chart.type&&"rangeBar"!==t.config.chart.type||(v=0,b=0),m.drawnextLabel){var y=n.drawText({width:100,height:parseInt(d.style.fontSize,10),x:i+v,y:r+b,foreColor:g,textAnchor:l||d.textAnchor,text:s,fontSize:c||d.style.fontSize,fontFamily:d.style.fontFamily,fontWeight:d.style.fontWeight||"normal"});if(y.attr({class:"apexcharts-datalabel",cx:i,cy:r}),d.dropShadow.enabled){var _=d.dropShadow;new w(this.ctx).dropShadow(y,_)}u.add(y),void 0===t.globals.lastDrawnDataLabelsIndexes[a]&&(t.globals.lastDrawnDataLabelsIndexes[a]=[]),t.globals.lastDrawnDataLabelsIndexes[a].push(o)}}}},{key:"addBackgroundToDataLabel",value:function(e,t){var n=this.w,i=n.config.dataLabels.background,r=i.padding,a=i.padding/2,o=t.width,s=t.height,l=new k(this.ctx).drawRect(t.x-r,t.y-a/2,o+2*r,s+a,i.borderRadius,"transparent"===n.config.chart.background?"#fff":n.config.chart.background,i.opacity,i.borderWidth,i.borderColor);return i.dropShadow.enabled&&new w(this.ctx).dropShadow(l,i.dropShadow),l}},{key:"dataLabelsBackground",value:function(){var e=this.w;if("bubble"!==e.config.chart.type)for(var t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels text"),n=0;n<t.length;n++){var i=t[n],r=i.getBBox(),a=null;
130if(r.width&&r.height&&(a=this.addBackgroundToDataLabel(i,r)),a){i.parentNode.insertBefore(a.node,i);var o=i.getAttribute("fill");!e.config.chart.animations.enabled||e.globals.resized||e.globals.dataChanged?a.attr({fill:o}):a.animate().attr({fill:o}),i.setAttribute("fill",e.config.dataLabels.background.foreColor)}}}},{key:"bringForward",value:function(){for(var e=this.w,t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels"),n=e.globals.dom.baseEl.querySelector(".apexcharts-plot-series:last-child"),i=0;i<t.length;i++)n&&n.insertBefore(t[i],n.nextSibling)}}]),e}(),V=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.legendInactiveClass="legend-mouseover-inactive"}return c(e,[{key:"getAllSeriesEls",value:function(){return this.w.globals.dom.baseEl.getElementsByClassName("apexcharts-series")}},{key:"getSeriesByName",value:function(e){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner .apexcharts-series[seriesName='".concat(_.escapeString(e),"']"))}},{key:"isSeriesHidden",value:function(e){var t=this.getSeriesByName(e),n=parseInt(t.getAttribute("data:realIndex"),10);return{isHidden:t.classList.contains("apexcharts-series-collapsed"),realIndex:n}}},{key:"addCollapsedClassToSeries",value:function(e,t){var n=this.w;function i(n){for(var i=0;i<n.length;i++)n[i].index===t&&e.node.classList.add("apexcharts-series-collapsed")}i(n.globals.collapsedSeries),i(n.globals.ancillaryCollapsedSeries)}},{key:"toggleSeries",value:function(e){var t=this.isSeriesHidden(e);return this.ctx.legend.legendHelpers.toggleDataSeries(t.realIndex,t.isHidden),t.isHidden}},{key:"showSeries",value:function(e){var t=this.isSeriesHidden(e);t.isHidden&&this.ctx.legend.legendHelpers.toggleDataSeries(t.realIndex,!0)}},{key:"hideSeries",value:function(e){var t=this.isSeriesHidden(e);t.isHidden||this.ctx.legend.legendHelpers.toggleDataSeries(t.realIndex,!1)}},{key:"resetSeries",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=this.w,r=_.clone(i.globals.initialSeries);i.globals.previousPaths=[],n?(i.globals.collapsedSeries=[],i.globals.ancillaryCollapsedSeries=[],i.globals.collapsedSeriesIndices=[],i.globals.ancillaryCollapsedSeriesIndices=[]):r=this.emptyCollapsedSeries(r),i.config.series=r,e&&(t&&(i.globals.zoomed=!1,this.ctx.updateHelpers.revertDefaultAxisMinMax()),this.ctx.updateHelpers._updateSeries(r,i.config.chart.animations.dynamicAnimation.enabled))}},{key:"emptyCollapsedSeries",value:function(e){for(var t=this.w,n=0;n<e.length;n++)t.globals.collapsedSeriesIndices.indexOf(n)>-1&&(e[n].data=[]);return e}},{key:"toggleSeriesOnHover",value:function(e,t){var n=this.w;t||(t=e.target);var i=n.globals.dom.baseEl.querySelectorAll(".apexcharts-series, .apexcharts-datalabels");if("mousemove"===e.type){var r=parseInt(t.getAttribute("rel"),10)-1,a=null,o=null;n.globals.axisCharts||"radialBar"===n.config.chart.type?n.globals.axisCharts?(a=n.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(r,"']")),o=n.globals.dom.baseEl.querySelector(".apexcharts-datalabels[data\\:realIndex='".concat(r,"']"))):a=n.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(r+1,"']")):a=n.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(r+1,"'] path"));for(var s=0;s<i.length;s++)i[s].classList.add(this.legendInactiveClass);null!==a&&(n.globals.axisCharts||a.parentNode.classList.remove(this.legendInactiveClass),a.classList.remove(this.legendInactiveClass),null!==o&&o.classList.remove(this.legendInactiveClass))}else if("mouseout"===e.type)for(var l=0;l<i.length;l++)i[l].classList.remove(this.legendInactiveClass)}},{key:"highlightRangeInSeries",value:function(e,t){var n=this,i=this.w,r=i.globals.dom.baseEl.getElementsByClassName("apexcharts-heatmap-rect"),a=function(e){for(var t=0;t<r.length;t++)r[t].classList[e](n.legendInactiveClass)};if("mousemove"===e.type){var o=parseInt(t.getAttribute("rel"),10)-1;a("add"),function(e){for(var t=0;t<r.length;t++){var i=parseInt(r[t].getAttribute("val"),10);i>=e.from&&i<=e.to&&r[t].classList.remove(n.legendInactiveClass)}}(i.config.plotOptions.heatmap.colorScale.ranges[o])}else"mouseout"===e.type&&a("remove")}},{key:"getActiveConfigSeriesIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"asc",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.w,i=0;if(n.config.series.length>1)for(var r=n.config.series.map((function(e,i){return e.data&&e.data.length>0&&-1===n.globals.collapsedSeriesIndices.indexOf(i)&&(!n.globals.comboCharts||0===t.length||t.length&&t.indexOf(n.config.series[i].type)>-1)?i:-1})),a="asc"===e?0:r.length-1;"asc"===e?a<r.length:a>=0;"asc"===e?a++:a--)if(-1!==r[a]){i=r[a];break}return i}},{key:"getBarSeriesIndices",value:function(){return this.w.globals.comboCharts?this.w.config.series.map((function(e,t){return"bar"===e.type||"column"===e.type?t:-1})).filter((function(e){return-1!==e})):this.w.config.series.map((function(e,t){return t}))}},{key:"getPreviousPaths",value:function(){var e=this.w;function t(t,n,i){for(var r=t[n].childNodes,a={type:i,paths:[],realIndex:t[n].getAttribute("data:realIndex")},o=0;o<r.length;o++)if(r[o].hasAttribute("pathTo")){var s=r[o].getAttribute("pathTo");a.paths.push({d:s})}e.globals.previousPaths.push(a)}e.globals.previousPaths=[],["line","area","bar","rangebar","rangeArea","candlestick","radar"].forEach((function(n){for(var i,r=(i=n,e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(i,"-series .apexcharts-series"))),a=0;a<r.length;a++)t(r,a,n)})),this.handlePrevBubbleScatterPaths("bubble"),this.handlePrevBubbleScatterPaths("scatter");var n=e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e.config.chart.type," .apexcharts-series"));if(n.length>0)for(var i=function(t){for(var n=e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e.config.chart.type," .apexcharts-series[data\\:realIndex='").concat(t,"'] rect")),i=[],r=function(e){var t=function(t){return n[e].getAttribute(t)},r={x:parseFloat(t("x")),y:parseFloat(t("y")),width:parseFloat(t("width")),height:parseFloat(t("height"))};i.push({rect:r,color:n[e].getAttribute("color")})},a=0;a<n.length;a++)r(a);e.globals.previousPaths.push(i)},r=0;r<n.length;r++)i(r);e.globals.axisCharts||(e.globals.previousPaths=e.globals.series)}},{key:"handlePrevBubbleScatterPaths",value:function(e){var t=this.w,n=t.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e,"-series .apexcharts-series"));if(n.length>0)for(var i=0;i<n.length;i++){for(var r=t.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e,"-series .apexcharts-series[data\\:realIndex='").concat(i,"'] circle")),a=[],o=0;o<r.length;o++)a.push({x:r[o].getAttribute("cx"),y:r[o].getAttribute("cy"),r:r[o].getAttribute("r")});t.globals.previousPaths.push(a)}}},{key:"clearPreviousPaths",value:function(){var e=this.w;e.globals.previousPaths=[],e.globals.allSeriesCollapsed=!1}},{key:"handleNoData",value:function(){var e=this.w,t=e.config.noData,n=new k(this.ctx),i=e.globals.svgWidth/2,r=e.globals.svgHeight/2,a="middle";if(e.globals.noData=!0,e.globals.animationEnded=!0,"left"===t.align?(i=10,a="start"):"right"===t.align&&(i=e.globals.svgWidth-10,a="end"),"top"===t.verticalAlign?r=50:"bottom"===t.verticalAlign&&(r=e.globals.svgHeight-50),i+=t.offsetX,r=r+parseInt(t.style.fontSize,10)+2+t.offsetY,void 0!==t.text&&""!==t.text){var o=n.drawText({x:i,y:r,text:t.text,textAnchor:a,fontSize:t.style.fontSize,fontFamily:t.style.fontFamily,foreColor:t.style.color,opacity:1,class:"apexcharts-text-nod
130ata"});e.globals.dom.Paper.add(o)}}},{key:"setNullSeriesToZeroValues",value:function(e){for(var t=this.w,n=0;n<e.length;n++)if(0===e[n].length)for(var i=0;i<e[t.globals.maxValsInArrayIndex].length;i++)e[n].push(0);return e}},{key:"hasAllSeriesEqualX",value:function(){for(var e=!0,t=this.w,n=this.filteredSeriesX(),i=0;i<n.length-1;i++)if(n[i][0]!==n[i+1][0]){e=!1;break}return t.globals.allSeriesHasEqualX=e,e}},{key:"filteredSeriesX",value:function(){return this.w.globals.seriesX.map((function(e){return e.length>0?e:[]}))}}]),e}(),$=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.twoDSeries=[],this.threeDSeries=[],this.twoDSeriesX=[],this.seriesGoals=[],this.coreUtils=new S(this.ctx)}return c(e,[{key:"isMultiFormat",value:function(){return this.isFormatXY()||this.isFormat2DArray()}},{key:"isFormatXY",value:function(){var e=this.w.config.series.slice(),t=new V(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),void 0!==e[this.activeSeriesIndex].data&&e[this.activeSeriesIndex].data.length>0&&null!==e[this.activeSeriesIndex].data[0]&&void 0!==e[this.activeSeriesIndex].data[0].x&&null!==e[this.activeSeriesIndex].data[0])return!0}},{key:"isFormat2DArray",value:function(){var e=this.w.config.series.slice(),t=new V(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),void 0!==e[this.activeSeriesIndex].data&&e[this.activeSeriesIndex].data.length>0&&void 0!==e[this.activeSeriesIndex].data[0]&&null!==e[this.activeSeriesIndex].data[0]&&e[this.activeSeriesIndex].data[0].constructor===Array)return!0}},{key:"handleFormat2DArray",value:function(e,t){for(var n=this.w.config,i=this.w.globals,r="boxPlot"===n.chart.type||"boxPlot"===n.series[t].type,a=0;a<e[t].data.length;a++)if(void 0!==e[t].data[a][1]&&(Array.isArray(e[t].data[a][1])&&4===e[t].data[a][1].length&&!r?this.twoDSeries.push(_.parseNumber(e[t].data[a][1][3])):e[t].data[a].length>=5?this.twoDSeries.push(_.parseNumber(e[t].data[a][4])):this.twoDSeries.push(_.parseNumber(e[t].data[a][1])),i.dataFormatXNumeric=!0),"datetime"===n.xaxis.type){var o=new Date(e[t].data[a][0]);o=new Date(o).getTime(),this.twoDSeriesX.push(o)}else this.twoDSeriesX.push(e[t].data[a][0]);for(var s=0;s<e[t].data.length;s++)void 0!==e[t].data[s][2]&&(this.threeDSeries.push(e[t].data[s][2]),i.isDataXYZ=!0)}},{key:"handleFormatXY",value:function(e,t){var n=this.w.config,i=this.w.globals,r=new D(this.ctx),a=t;i.collapsedSeriesIndices.indexOf(t)>-1&&(a=this.activeSeriesIndex);for(var o=0;o<e[t].data.length;o++)void 0!==e[t].data[o].y&&(Array.isArray(e[t].data[o].y)?this.twoDSeries.push(_.parseNumber(e[t].data[o].y[e[t].data[o].y.length-1])):this.twoDSeries.push(_.parseNumber(e[t].data[o].y))),void 0!==e[t].data[o].goals&&Array.isArray(e[t].data[o].goals)?(void 0===this.seriesGoals[t]&&(this.seriesGoals[t]=[]),this.seriesGoals[t].push(e[t].data[o].goals)):(void 0===this.seriesGoals[t]&&(this.seriesGoals[t]=[]),this.seriesGoals[t].push(null));for(var s=0;s<e[a].data.length;s++){var l="string"==typeof e[a].data[s].x,c=Array.isArray(e[a].data[s].x),u=!c&&!!r.isValidDate(e[a].data[s].x);if(l||u)if(l||n.xaxis.convertedCatToNumeric){var d=i.isBarHorizontal&&i.isRangeData;"datetime"!==n.xaxis.type||d?(this.fallbackToCategory=!0,this.twoDSeriesX.push(e[a].data[s].x),isNaN(e[a].data[s].x)||"category"===this.w.config.xaxis.type||"string"==typeof e[a].data[s].x||(i.isXNumeric=!0)):this.twoDSeriesX.push(r.parseDate(e[a].data[s].x))}else"datetime"===n.xaxis.type?this.twoDSeriesX.push(r.parseDate(e[a].data[s].x.toString())):(i.dataFormatXNumeric=!0,i.isXNumeric=!0,this.twoDSeriesX.push(parseFloat(e[a].data[s].x)));else c?(this.fallbackToCategory=!0,this.twoDSeriesX.push(e[a].data[s].x)):(i.isXNumeric=!0,i.dataFormatXNumeric=!0,this.twoDSeriesX.push(e[a].data[s].x))}if(e[t].data[0]&&void 0!==e[t].data[0].z){for(var h=0;h<e[t].data.length;h++)this.threeDSeries.push(e[t].data[h].z);i.isDataXYZ=!0}}},{key:"handleRangeData",value:function(e,t){var n=this.w.globals,i={};return this.isFormat2DArray()?i=this.handleRangeDataFormat("array",e,t):this.isFormatXY()&&(i=this.handleRangeDataFormat("xy",e,t)),n.seriesRangeStart.push(i.start),n.seriesRangeEnd.push(i.end),n.seriesRange.push(i.rangeUniques),n.seriesRange.forEach((function(e,t){e&&e.forEach((function(e,t){e.y.forEac
130h((function(t,n){for(var i=0;i<e.y.length;i++)if(n!==i){var r=t.y1,a=t.y2,o=e.y[i].y1;r<=e.y[i].y2&&o<=a&&(e.overlaps.indexOf(t.rangeName)<0&&e.overlaps.push(t.rangeName),e.overlaps.indexOf(e.y[i].rangeName)<0&&e.overlaps.push(e.y[i].rangeName))}}))}))})),i}},{key:"handleCandleStickBoxData",value:function(e,t){var n=this.w.globals,i={};return this.isFormat2DArray()?i=this.handleCandleStickBoxDataFormat("array",e,t):this.isFormatXY()&&(i=this.handleCandleStickBoxDataFormat("xy",e,t)),n.seriesCandleO[t]=i.o,n.seriesCandleH[t]=i.h,n.seriesCandleM[t]=i.m,n.seriesCandleL[t]=i.l,n.seriesCandleC[t]=i.c,i}},{key:"handleRangeDataFormat",value:function(e,t,n){var i=[],r=[],a=t[n].data.filter((function(e,t,n){return t===n.findIndex((function(t){return t.x===e.x}))})).map((function(e,t){return{x:e.x,overlaps:[],y:[]}}));if("array"===e)for(var o=0;o<t[n].data.length;o++)Array.isArray(t[n].data[o])?(i.push(t[n].data[o][1][0]),r.push(t[n].data[o][1][1])):(i.push(t[n].data[o]),r.push(t[n].data[o]));else if("xy"===e)for(var s=function(e){var o=Array.isArray(t[n].data[e].y),s=_.randomId(),l=t[n].data[e].x,c={y1:o?t[n].data[e].y[0]:t[n].data[e].y,y2:o?t[n].data[e].y[1]:t[n].data[e].y,rangeName:s};t[n].data[e].rangeName=s;var u=a.findIndex((function(e){return e.x===l}));a[u].y.push(c),i.push(c.y1),r.push(c.y2)},l=0;l<t[n].data.length;l++)s(l);return{start:i,end:r,rangeUniques:a}}},{key:"handleCandleStickBoxDataFormat",value:function(e,t,n){var i=this.w,r="boxPlot"===i.config.chart.type||"boxPlot"===i.config.series[n].type,a=[],o=[],s=[],l=[],c=[];if("array"===e)if(r&&6===t[n].data[0].length||!r&&5===t[n].data[0].length)for(var u=0;u<t[n].data.length;u++)a.push(t[n].data[u][1]),o.push(t[n].data[u][2]),r?(s.push(t[n].data[u][3]),l.push(t[n].data[u][4]),c.push(t[n].data[u][5])):(l.push(t[n].data[u][3]),c.push(t[n].data[u][4]));else for(var d=0;d<t[n].data.length;d++)Array.isArray(t[n].data[d][1])&&(a.push(t[n].data[d][1][0]),o.push(t[n].data[d][1][1]),r?(s.push(t[n].data[d][1][2]),l.push(t[n].data[d][1][3]),c.push(t[n].data[d][1][4])):(l.push(t[n].data[d][1][2]),c.push(t[n].data[d][1][3])));else if("xy"===e)for(var h=0;h<t[n].data.length;h++)Array.isArray(t[n].data[h].y)&&(a.push(t[n].data[h].y[0]),o.push(t[n].data[h].y[1]),r?(s.push(t[n].data[h].y[2]),l.push(t[n].data[h].y[3]),c.push(t[n].data[h].y[4])):(l.push(t[n].data[h].y[2]),c.push(t[n].data[h].y[3])));return{o:a,h:o,m:s,l:l,c:c}}},{key:"parseDataAxisCharts",value:function(e){var t,n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.ctx,r=this.w.config,a=this.w.globals,o=new D(i),s=r.labels.length>0?r.labels.slice():r.xaxis.categories.slice();if(a.isRangeBar="rangeBar"===r.chart.type&&a.isBarHorizontal,a.hasXaxisGroups="category"===r.xaxis.type&&r.xaxis.group.groups.length>0,a.hasXaxisGroups&&(a.groups=r.xaxis.group.groups),a.hasSeriesGroups=null===(t=e[0])||void 0===t?void 0:t.group,a.hasSeriesGroups){var l=[],c=v(new Set(e.map((function(e){return e.group}))));e.forEach((function(e,t){var n=c.indexOf(e.group);l[n]||(l[n]=[]),l[n].push(e.name)})),a.seriesGroups=l}for(var u=function(){for(var e=0;e<s.length;e++)if("string"==typeof s[e]){if(!o.isValidDate(s[e]))throw new Error("You have provided invalid Date format. Please provide a valid JavaScript Date");n.twoDSeriesX.push(o.parseDate(s[e]))}else n.twoDSeriesX.push(s[e])},d=0;d<e.length;d++){if(this.twoDSeries=[],this.twoDSeriesX=[],this.threeDSeries=[],void 0===e[d].data)return void console.error("It is a possibility that you may have not included 'data' property in series.");if("rangeBar"!==r.chart.type&&"rangeArea"!==r.chart.type&&"rangeBar"!==e[d].type&&"rangeArea"!==e[d].type||(a.isRangeData=!0,"rangeBar"!==r.chart.type&&"rangeArea"!==r.chart.type||this.handleRangeData(e,d)),this.isMultiFormat())this.isFormat2DArray()?this.handleFormat2DArray(e,d):this.isFormatXY()&&this.handleFormatXY(e,d),"candlestick"!==r.chart.type&&"candlestick"!==e[d].type&&"boxPlot"!==r.chart.type&&"boxPlot"!==e[d].type||this.handleCandleStickBoxData(e,d),a.series.push(this.twoDSeries),a.labels.push(this.twoDSeriesX),a.seriesX.push(this.twoDSeriesX),a.seriesGoals=this.seriesGoals,d!==this.activeSeriesIndex||this.fallbackToCategory||(a.isXNumeric=!0);else{"datetime"===r.xaxis.type?(a.isXNumeric=!0,u(),a.seriesX.push(this.twoDSeriesX)):"numeric"===r.xaxis.type&&(a.isXNumeric=!0,s.length>0&&(this.twoDSeriesX=s,a.seriesX.push(this.twoDSeriesX))),a.labels.push(this.twoDSeriesX);var h=e[d].data.map((function(e){return _.parseNumber(e)}));a.series.push(h)}
130a.seriesZ.push(this.threeDSeries),void 0!==e[d].name?a.seriesNames.push(e[d].name):a.seriesNames.push("series-"+parseInt(d+1,10)),void 0!==e[d].color?a.seriesColors.push(e[d].color):a.seriesColors.push(void 0)}return this.w}},{key:"parseDataNonAxisCharts",value:function(e){var t=this.w.globals,n=this.w.config;t.series=e.slice(),t.seriesNames=n.labels.slice();for(var i=0;i<t.series.length;i++)void 0===t.seriesNames[i]&&t.seriesNames.push("series-"+(i+1));return this.w}},{key:"handleExternalLabelsData",value:function(e){var t=this.w.config,n=this.w.globals;t.xaxis.categories.length>0?n.labels=t.xaxis.categories:t.labels.length>0?n.labels=t.labels.slice():this.fallbackToCategory?(n.labels=n.labels[0],n.seriesRange.length&&(n.seriesRange.map((function(e){e.forEach((function(e){n.labels.indexOf(e.x)<0&&e.x&&n.labels.push(e.x)}))})),n.labels=Array.from(new Set(n.labels.map(JSON.stringify)),JSON.parse)),t.xaxis.convertedCatToNumeric&&(new I(t).convertCatToNumericXaxis(t,this.ctx,n.seriesX[0]),this._generateExternalLabels(e))):this._generateExternalLabels(e)}},{key:"_generateExternalLabels",value:function(e){var t=this.w.globals,n=this.w.config,i=[];if(t.axisCharts){if(t.series.length>0)if(this.isFormatXY())for(var r=n.series.map((function(e,t){return e.data.filter((function(e,t,n){return n.findIndex((function(t){return t.x===e.x}))===t}))})),a=r.reduce((function(e,t,n,i){return i[e].length>t.length?e:n}),0),o=0;o<r[a].length;o++)i.push(o+1);else for(var s=0;s<t.series[t.maxValsInArrayIndex].length;s++)i.push(s+1);t.seriesX=[];for(var l=0;l<e.length;l++)t.seriesX.push(i);this.w.globals.isBarHorizontal||(t.isXNumeric=!0)}if(0===i.length){i=t.axisCharts?[]:t.series.map((function(e,t){return t+1}));for(var c=0;c<e.length;c++)t.seriesX.push(i)}t.labels=i,n.xaxis.convertedCatToNumeric&&(t.categoryLabels=i.map((function(e){return n.xaxis.labels.formatter(e)}))),t.noLabelsProvided=!0}},{key:"parseData",value:function(e){var t=this.w,n=t.config,i=t.globals;if(this.excludeCollapsedSeriesInYAxis(),this.fallbackToCategory=!1,this.ctx.core.resetGlobals(),this.ctx.core.isMultipleY(),i.axisCharts?(this.parseDataAxisCharts(e),this.coreUtils.getLargestSeries()):this.parseDataNonAxisCharts(e),n.chart.stacked){var r=new V(this.ctx);i.series=r.setNullSeriesToZeroValues(i.series)}this.coreUtils.getSeriesTotals(),i.axisCharts&&(i.stackedSeriesTotals=this.coreUtils.getStackedSeriesTotals(),i.stackedSeriesTotalsByGroups=this.coreUtils.getStackedSeriesTotalsByGroups()),this.coreUtils.getPercentSeries(),i.dataFormatXNumeric||i.isXNumeric&&("numeric"!==n.xaxis.type||0!==n.labels.length||0!==n.xaxis.categories.length)||this.handleExternalLabelsData(e);for(var a=this.coreUtils.getCategoryLabels(i.labels),o=0;o<a.length;o++)if(Array.isArray(a[o])){i.isMultiLineX=!0;break}}},{key:"excludeCollapsedSeriesInYAxis",value:function(){var e=this,t=this.w;t.globals.ignoreYAxisIndexes=t.globals.collapsedSeries.map((function(n,i){if(e.w.globals.isMultipleYAxis&&!t.config.chart.stacked)return n.index}))}}]),e}(),U=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"getLabel",value:function(e,t,n,i){var r,a,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"12px",l=!(arguments.length>6&&void 0!==arguments[6])||arguments[6],c=this.w,u=void 0===e[i]?"":e[i],d=u,h=c.globals.xLabelFormatter,f=c.config.xaxis.labels.formatter,p=!1,m=new P(this.ctx),g=u;l&&(d=m.xLabelFormat(h,u,g,{i:i,dateFormatter:new D(this.ctx).formatDate,w:c}),void 0!==f&&(d=f(u,e[i],{i:i,dateFormatter:new D(this.ctx).formatDate,w:c}))),t.length>0?(r=t[i].unit,a=null,t.forEach((function(e){"month"===e.unit?a="year":"day"===e.unit?a="month":"hour"===e.unit?a="day":"minute"===e.unit&&(a="hour")})),p=a===r,n=t[i].position,d=t[i].value):"datetime"===c.config.xaxis.type&&void 0===f&&(d=""),void 0===d&&(d=""),d=Array.isArray(d)?d:d.toString();var v=new k(this.ctx),b={};b=c.globals.rotateXLabels&&l?v.getTextRects(d,parseInt(s,10),null,"rotate(".concat(c.config.xaxis.labels.rotate," 0 0)"),!1):v.getTextRects(d,parseInt(s,10));var y=!c.config.xaxis.labels.showDuplicates&&this.ctx.timeScale;return!Array.isArray(d)&&(0===d.indexOf("NaN")||0===d.toLowerCase().indexOf("invalid")||d.toLowerCase().indexOf("infinity")>=0||o.indexOf(d)>=0&&y)&&(d=""),{x:n,text:d,textRect:b,isBold:p}}},{key:"checkLabelBasedOnTickamount",value:function(e,t,n){var i=this.w,r=i.config.xaxis.tickAmount;return"dataPoints"===r&&(r=Math.round(i.globals.gridWidth/120)),r>n||e%Math.round(n/(r+1))==0||(t.text=""),t}},{key:"checkForOverflowingLabels",value:function(e,t,n,i,r){var a=this.w;if(0===e&&a.globals.skipFirstTimelinelabel&&(t.text=""),e===n-1&&a.globals.skipLastTimelinelabel&&(t.text=""),a.config.xaxis.labels.hideOverlappingLabels&&i.length>0){var o=r[r.length-1];t.x<o.textRect.width/(a.globals.rotateXLabels?Math.abs(a.config.xaxis.labels.rotate)/12:1.01)+o.x&&(t.text="")}return t}}
130,{key:"checkForReversedLabels",value:function(e,t){var n=this.w;return n.config.yaxis[e]&&n.config.yaxis[e].reversed&&t.reverse(),t}},{key:"isYAxisHidden",value:function(e){var t=this.w,n=new S(this.ctx);return!t.config.yaxis[e].show||!t.config.yaxis[e].showForNullSeries&&n.isSeriesNull(e)&&-1===t.globals.collapsedSeriesIndices.indexOf(e)}},{key:"getYAxisForeColor",value:function(e,t){var n=this.w;return Array.isArray(e)&&n.globals.yAxisScale[t]&&this.ctx.theme.pushExtraColors(e,n.globals.yAxisScale[t].result.length,!1),e}},{key:"drawYAxisTicks",value:function(e,t,n,i,r,a,o){var s=this.w,l=new k(this.ctx),c=s.globals.translateY;if(i.show&&t>0){!0===s.config.yaxis[r].opposite&&(e+=i.width);for(var u=t;u>=0;u--){var d=c+t/10+s.config.yaxis[r].labels.offsetY-1;s.globals.isBarHorizontal&&(d=a*u),"heatmap"===s.config.chart.type&&(d+=a/2);var h=l.drawLine(e+n.offsetX-i.width+i.offsetX,d+i.offsetY,e+n.offsetX+i.offsetX,d+i.offsetY,i.color);o.add(h),c+=a}}}}]),e}(),X=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"scaleSvgNode",value:function(e,t){var n=parseFloat(e.getAttributeNS(null,"width")),i=parseFloat(e.getAttributeNS(null,"height"));e.setAttributeNS(null,"width",n*t),e.setAttributeNS(null,"height",i*t),e.setAttributeNS(null,"viewBox","0 0 "+n+" "+i)}},{key:"fixSvgStringForIe11",value:function(e){if(!_.isIE11())return e.replace(/ /g," ");var t=0,n=e.replace(/xmlns="http:\/\/www.w3.org\/2000\/svg"/g,(function(e){return 2==++t?'xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev"':e}));return(n=n.replace(/xmlns:NS\d+=""/g,"")).replace(/NS\d+:(\w+:\w+=")/g,"$1")}},{key:"getSvgString",value:function(e){null==e&&(e=1);var t=this.w.globals.dom.Paper.svg();if(1!==e){var n=this.w.globals.dom.Paper.node.cloneNode(!0);this.scaleSvgNode(n,e),t=(new XMLSerializer).serializeToString(n)}return this.fixSvgStringForIe11(t)}},{key:"cleanup",value:function(){var e=this.w,t=e.globals.dom.baseEl.getElementsByClassName("apexcharts-xcrosshairs"),n=e.globals.dom.baseEl.getElementsByClassName("apexcharts-ycrosshairs"),i=e.globals.dom.baseEl.querySelectorAll(".apexcharts-zoom-rect, .apexcharts-selection-rect");Array.prototype.forEach.call(i,(function(e){e.setAttribute("width",0)})),t&&t[0]&&(t[0].setAttribute("x",-500),t[0].setAttribute("x1",-500),t[0].setAttribute("x2",-500)),n&&n[0]&&(n[0].setAttribute("y",-100),n[0].setAttribute("y1",-100),n[0].setAttribute("y2",-100))}},{key:"svgUrl",value:function(){this.cleanup();var e=this.getSvgString(),t=new Blob([e],{type:"image/svg+xml;charset=utf-8"});return URL.createObjectURL(t)}},{key:"dataURI",value:function(e){var t=this;return new Promise((function(n){var i=t.w,r=e?e.scale||e.width/i.globals.svgWidth:1;t.cleanup();var a=document.createElement("canvas");a.width=i.globals.svgWidth*r,a.height=parseInt(i.globals.dom.elWrap.style.height,10)*r;var o="transparent"===i.config.chart.background?"#fff":i.config.chart.background,s=a.getContext("2d");s.fillStyle=o,s.fillRect(0,0,a.width*r,a.height*r);var l=t.getSvgString(r);if(window.canvg&&_.isIE11()){var c=window.canvg.Canvg.fromString(s,l,{ignoreClear:!0,ignoreDimensions:!0});c.start();var u=a.msToBlob();c.stop(),n({blob:u})}else{var d="data:image/svg+xml,"+encodeURIComponent(l),h=new Image;h.crossOrigin="anonymous",h.onload=function(){if(s.drawImage(h,0,0),a.msToBlob){var e=a.msToBlob();n({blob:e})}else{var t=a.toDataURL("image/png");n({imgURI:t})}},h.src=d}}))}},{key:"exportToSVG",value:function(){this.triggerDownload(this.svgUrl(),this.w.config.chart.toolbar.export.svg.filename,".svg")}},{key:"exportToPng",value:function(){var e=this;this.dataURI().then((function(t){var n=t.imgURI,i=t.blob;i?navigator.msSaveOrOpenBlob(i,e.w.globals.chartID+".png"):e.triggerDownload(n,e.w.config.chart.toolbar.export.png.filename,".png")}))}},{key:"exportToCSV",value:function(e){var t=this,n=e.series,i=e.fileName,r=e.columnDelimiter,a=void 0===r?",":r,o=e.lineDelimiter,s=void 0===o?"\n":o,l=this.w;n||(n=l.config.series);var c,u,d=[],h=[],f="",p=l.globals.series.map((function(e,t){return-1===l.globals.collapsedSeriesIndices.indexOf(t)?e:[]}
130)),m=function(e){return"datetime"===l.config.xaxis.type&&String(e).length>=10},g=Math.max.apply(Math,v(n.map((function(e){return e.data?e.data.length:0})))),b=new $(this.ctx),y=new U(this.ctx),x=function(e){var n="";if(l.globals.axisCharts){if("category"===l.config.xaxis.type||l.config.xaxis.convertedCatToNumeric)if(l.globals.isBarHorizontal){var i=l.globals.yLabelFormatters[0],r=new V(t.ctx).getActiveConfigSeriesIndex();n=i(l.globals.labels[e],{seriesIndex:r,dataPointIndex:e,w:l})}else n=y.getLabel(l.globals.labels,l.globals.timescaleLabels,0,e).text;"datetime"===l.config.xaxis.type&&(l.config.xaxis.categories.length?n=l.config.xaxis.categories[e]:l.config.labels.length&&(n=l.config.labels[e]))}else n=l.config.labels[e];return Array.isArray(n)&&(n=n.join(" ")),_.isNumber(n)?n:n.split(a).join("")};d.push(l.config.chart.toolbar.export.csv.headerCategory),"boxPlot"===l.config.chart.type?(d.push("minimum"),d.push("q1"),d.push("median"),d.push("q3"),d.push("maximum")):"candlestick"===l.config.chart.type?(d.push("open"),d.push("high"),d.push("low"),d.push("close")):"rangeBar"===l.config.chart.type?(d.push("minimum"),d.push("maximum")):n.map((function(e,t){var n=(e.name?e.name:"series-".concat(t))+"";l.globals.axisCharts&&d.push(n.split(a).join("")?n.split(a).join(""):"series-".concat(t))})),l.globals.axisCharts||(d.push(l.config.chart.toolbar.export.csv.headerValue),h.push(d.join(a))),l.globals.allSeriesHasEqualX||!l.globals.axisCharts||l.config.xaxis.categories.length||l.config.labels.length?n.map((function(e,t){l.globals.axisCharts?function(e,t){if(d.length&&0===t&&h.push(d.join(a)),e.data){e.data=e.data.length&&e.data||v(Array(g)).map((function(){return""}));for(var i=0;i<e.data.length;i++){d=[];var r=x(i);if(r||(b.isFormatXY()?r=n[t].data[i].x:b.isFormat2DArray()&&(r=n[t].data[i]?n[t].data[i][0]:"")),0===t){d.push(m(r)?l.config.chart.toolbar.export.csv.dateFormatter(r):_.isNumber(r)?r:r.split(a).join(""));for(var o=0;o<l.globals.series.length;o++){var s;b.isFormatXY()?d.push(null===(s=n[o].data[i])||void 0===s?void 0:s.y):d.push(p[o][i])}}("candlestick"===l.config.chart.type||e.type&&"candlestick"===e.type)&&(d.pop(),d.push(l.globals.seriesCandleO[t][i]),d.push(l.globals.seriesCandleH[t][i]),d.push(l.globals.seriesCandleL[t][i]),d.push(l.globals.seriesCandleC[t][i])),("boxPlot"===l.config.chart.type||e.type&&"boxPlot"===e.type)&&(d.pop(),d.push(l.globals.seriesCandleO[t][i]),d.push(l.globals.seriesCandleH[t][i]),d.push(l.globals.seriesCandleM[t][i]),d.push(l.globals.seriesCandleL[t][i]),d.push(l.globals.seriesCandleC[t][i])),"rangeBar"===l.config.chart.type&&(d.pop(),d.push(l.globals.seriesRangeStart[t][i]),d.push(l.globals.seriesRangeEnd[t][i])),d.length&&h.push(d.join(a))}}}(e,t):((d=[]).push(l.globals.labels[t].split(a).join("")),d.push(p[t]),h.push(d.join(a)))})):(c=new Set,u={},n.forEach((function(e,t){null==e||e.data.forEach((function(e){var i,r;if(b.isFormatXY())i=e.x,r=e.y;else{if(!b.isFormat2DArray())return;i=e[0],r=e[1]}u[i]||(u[i]=Array(n.length).fill("")),u[i][t]=r,c.add(i)}))})),d.length&&h.push(d.join(a)),Array.from(c).sort().forEach((function(e){h.push([m(e)&&"datetime"===l.config.xaxis.type?l.config.chart.toolbar.export.csv.dateFormatter(e):_.isNumber(e)?e:e.split(a).join(""),u[e].join(a)])}))),f+=h.join(s),this.triggerDownload("data:text/csv; charset=utf-8,"+encodeURIComponent("\ufeff"+f),i||l.config.chart.toolbar.export.csv.filename,".csv")}},{key:"triggerDownload",value:function(e,t,n){var i=document.createElement("a");i.href=e,i.download=(t||this.w.globals.chartID)+n,document.body.appendChild(i),i.click(),document.body.removeChild(i)}}]),e}(),G=function(){function e(t,n){s(this,e),this.ctx=t,this.elgrid=n,this.w=t.w;var i=this.w;this.axesUtils=new U(t),this.xaxisLabels=i.globals.labels.slice(),i.globals.timescaleLabels.length>0&&!i.globals.isBarHorizontal&&(this.xaxisLabels=i.globals.timescaleLabels.slice()),i.config.xaxis.overwriteCategories&&(this.xaxisLabels=i.config.xaxis.overwriteCategories),this.drawnLabels=[],this.drawnLabelsRects=[],"top"===i.config.xaxis.position?this.offY=0:this.offY=i.globals.gridHeight+1,this.offY=this.offY+i.config.xaxis.axisBorder.offsetY,this.isCategoryBarHorizontal="bar"===i.config.chart.type&&i.config.plotOptions.bar.horizontal,this.xaxisFontSize=i.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=i.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=i.config.xaxis.labels.style.colors,this.xaxisBorderWidth=i.config.xaxis.axisBorder.width,this.isCategoryBarHorizontal&&(this.xaxisBorderWidth=i.config.yaxis[0].axisBorder.width.toString()),this.xaxisBorderWidth.indexOf("%")>-1?this.xaxisBorderWidth=i.globals.gridWidth*parseInt(this.xaxisBorderWidth,10)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth,10),this.xaxisBorderHeight=i.config.xaxis.axisBorder.height,this.yaxis=i.config.yaxis[0]}return c(e,[{key:"drawXaxis",value:function(){var e=this.w,t=new k(this.ctx),n=t.group({class:"apexcharts-xaxis",transform:"translate(".concat(e.config.xaxis.offsetX,", ").concat(e.config.xaxis.offsetY,")")}),i=t.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(e.globals.translateXAxisX,", ").concat(e.globals.translateXAxisY,")")});n.add(i);for(var r=[],a=0;a<this.xaxisLabels.length;a++)r.push(this.xaxisLabels[a]);if(this.drawXAxisLabelAndGroup(!0,t,i,r,e.globals.isXNumeric,(function(e,t){return t})),e.globals.hasXaxisGroups){var o=e.globals.groups;r=[];for(var s=0;s<o.length;s++)r.push(o[s].title);var l={};e.config.xaxis.group.style&&(l.xaxisFontSize=e.config.xaxis.group.style.fontSize,l.xaxisFontFamily=e.config.xaxis.group.style.fontFamily,l.xaxisForeColors=e.config.xaxis.group.style.colors,l.fontWeight=e.config.xaxis.group.style.fontWeight,l.cssClass=e.config.xaxis.group.style.cssClass),this.drawXAxisLabelAndGroup(!1,t,i,r,!1,(function(e,t){return o[e].cols*t}),l)}if(void 0!==e.config.xaxis.title.text){var c=t.group({class:"apexcharts-xaxis-title"}),u=t.drawText({x:e.globals.gridWidth/2+e.config.xaxis.title.offsetX,y:this.offY+parseFloat(this.xaxisFontSize)+("bottom"===e.config.xaxis.position?e.globals.xAxisLabelsHeight:-e.globals.xAxisLabelsHeight-10)+e.config.xaxis.title.offsetY,text:e.config.xaxis.title.text,textAnchor:"middle",fontSize:e.config.xaxis.title.style.fontSize,fontFamily:e.config.xaxis.title.style.fontFamily,fontWeight:e.config.xaxis.title.style.fontWeight,foreColor:e.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+e.config.xaxis.title.style.cssClass});c.add(u),n.add(c)}if(e.config.xaxis.axisBorder.show){var d=e.globals.barPadForNumericAxis,h=t.drawLine(e.globals.padHorizontal+e.config.xaxis.axisBorder.offsetX-d,this.offY,this.xaxisBorderWidth+d,this.offY,e.config.xaxis.axisBorder.color,0,this.xaxisBorderHeight);this.elgrid&&this.elgrid.elGridBorders&&e.config.grid.show?this.elgrid.elGridBorders.add(h):n.add(h)}return n}},{key:"drawXAxisLabelAndGroup",value:function(e,t,n,i,r,a){var o,s=this,l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},c=[],u=[],d=this.w,h=l.xaxisFontSize||this.xaxisFontSize,f=l.xaxisFontFamily||this.xaxisFontFamily,p=l.xaxisForeColors||this.xaxisForeColors,m=l.fontWeight||d.config.xaxis.labels.style.fontWeight,g=l.cssClass||d.config.xaxis.labels.style.cssClass,v=d.globals.padHorizontal,b=i.length,y="category"===d.config.xaxis.type?d.globals.dataPoints:b;if(0===y&&b>y&&(y=b),r){var _=y>1?y-1:y;o=d.globals.gridWidth/Math.min(_,b-1),v=v+a(0,o)/2+d.config.xaxis.labels.offsetX}else o=d.globals.gridWidth/y,v=v+a(0,o)+d.config.xaxis.labels.offsetX;for(var x=function(r){var l=v-a(r,o)/2+d.config.xaxis.labels.offsetX;0===r&&1===b&&o/2===v&&1===y&&(l=d.globals.gridWidth/2);var _=s.axesUtils.getLabel(i,d.globals.timescaleLabels,l,r,c,h,e),x=28;if(d.globals.rotateXLabels&&e&&(x=22),d.config.xaxis.title.text&&"top"===d.config.xaxis.position&&(x+=parseFloat(d.config.xaxis.title.style.fontSize)+2),e||(x=x+parseFloat(h)+(d.globals.xAxisLabelsHeight-d.globals.xAxisGroupLabelsHeight)+(d.globals.rotateXLabels?10:0)),_=void 0!==d.config.xaxis.tickAmount&&"dataPoints"!==d.config.xaxis.tickAmount&&"datetime"!==d.config.xaxis.type?s.axesUtils.checkLabelBasedOnTickamount(r,_,b):s.axesUtils.checkForOverflowingLabels(r,_,b,c,u),d.config.xaxis.labels.show){var w=t.drawText({x:_.x,y:s.offY+d.config.xaxis.labels.offsetY+x-("top"===d.config.xaxis.position?d.globals.xAxisHeight+d.config.xaxis.axisTicks.height-2:0),text:_.text,textAnchor:"middle",fontWeight:_.isBold?600:m,fontSize:h,fontFamily:f,foreColor:Array.isArray(p)?e&&d.config.xaxis.convertedCatToNumeric?p[d.globals.minX+r-1]:p[r]:p,isPlainText:!1,
130cssClass:(e?"apexcharts-xaxis-label ":"apexcharts-xaxis-group-label ")+g});if(n.add(w),w.on("click",(function(e){if("function"==typeof d.config.chart.events.xAxisLabelClick){var t=Object.assign({},d,{labelIndex:r});d.config.chart.events.xAxisLabelClick(e,s.ctx,t)}})),e){var k=document.createElementNS(d.globals.SVGNS,"title");k.textContent=Array.isArray(_.text)?_.text.join(" "):_.text,w.node.appendChild(k),""!==_.text&&(c.push(_.text),u.push(_))}}r<b-1&&(v+=a(r+1,o))},w=0;w<=b-1;w++)x(w)}},{key:"drawXaxisInversed",value:function(e){var t,n,i=this,r=this.w,a=new k(this.ctx),o=r.config.yaxis[0].opposite?r.globals.translateYAxisX[e]:0,s=a.group({class:"apexcharts-yaxis apexcharts-xaxis-inversed",rel:e}),l=a.group({class:"apexcharts-yaxis-texts-g apexcharts-xaxis-inversed-texts-g",transform:"translate("+o+", 0)"});s.add(l);var c=[];if(r.config.yaxis[e].show)for(var u=0;u<this.xaxisLabels.length;u++)c.push(this.xaxisLabels[u]);t=r.globals.gridHeight/c.length,n=-t/2.2;var d=r.globals.yLabelFormatters[0],h=r.config.yaxis[0].labels;if(h.show)for(var f=function(o){var s=void 0===c[o]?"":c[o];s=d(s,{seriesIndex:e,dataPointIndex:o,w:r});var u=i.axesUtils.getYAxisForeColor(h.style.colors,e),f=0;Array.isArray(s)&&(f=s.length/2*parseInt(h.style.fontSize,10));var p=h.offsetX-15,m="end";i.yaxis.opposite&&(m="start"),"left"===r.config.yaxis[0].labels.align?(p=h.offsetX,m="start"):"center"===r.config.yaxis[0].labels.align?(p=h.offsetX,m="middle"):"right"===r.config.yaxis[0].labels.align&&(m="end");var g=a.drawText({x:p,y:n+t+h.offsetY-f,text:s,textAnchor:m,foreColor:Array.isArray(u)?u[o]:u,fontSize:h.style.fontSize,fontFamily:h.style.fontFamily,fontWeight:h.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-yaxis-label "+h.style.cssClass,maxWidth:h.maxWidth});l.add(g),g.on("click",(function(e){if("function"==typeof r.config.chart.events.xAxisLabelClick){var t=Object.assign({},r,{labelIndex:o});r.config.chart.events.xAxisLabelClick(e,i.ctx,t)}}));var v=document.createElementNS(r.globals.SVGNS,"title");if(v.textContent=Array.isArray(s)?s.join(" "):s,g.node.appendChild(v),0!==r.config.yaxis[e].labels.rotate){var b=a.rotateAroundCenter(g.node);g.node.setAttribute("transform","rotate(".concat(r.config.yaxis[e].labels.rotate," 0 ").concat(b.y,")"))}n+=t},p=0;p<=c.length-1;p++)f(p);if(void 0!==r.config.yaxis[0].title.text){var m=a.group({class:"apexcharts-yaxis-title apexcharts-xaxis-title-inversed",transform:"translate("+o+", 0)"}),g=a.drawText({x:r.config.yaxis[0].title.offsetX,y:r.globals.gridHeight/2+r.config.yaxis[0].title.offsetY,text:r.config.yaxis[0].title.text,textAnchor:"middle",foreColor:r.config.yaxis[0].title.style.color,fontSize:r.config.yaxis[0].title.style.fontSize,fontWeight:r.config.yaxis[0].title.style.fontWeight,fontFamily:r.config.yaxis[0].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+r.config.yaxis[0].title.style.cssClass});m.add(g),s.add(m)}var v=0;this.isCategoryBarHorizontal&&r.config.yaxis[0].opposite&&(v=r.globals.gridWidth);var b=r.config.xaxis.axisBorder;if(b.show){var y=a.drawLine(r.globals.padHorizontal+b.offsetX+v,1+b.offsetY,r.globals.padHorizontal+b.offsetX+v,r.globals.gridHeight+b.offsetY,b.color,0);this.elgrid&&this.elgrid.elGridBorders&&r.config.grid.show?this.elgrid.elGridBorders.add(y):s.add(y)}return r.config.yaxis[0].axisTicks.show&&this.axesUtils.drawYAxisTicks(v,c.length,r.config.yaxis[0].axisBorder,r.config.yaxis[0].axisTicks,0,t,s),s}},{key:"drawXaxisTicks",value:function(e,t,n){var i=this.w,r=e;if(!(e<0||e-2>i.globals.gridWidth)){var a=this.offY+i.config.xaxis.axisTicks.offsetY;if(t=t+a+i.config.xaxis.axisTicks.height,"top"===i.config.xaxis.position&&(t=a-i.config.xaxis.axisTicks.height),i.config.xaxis.axisTicks.show){var o=new k(this.ctx).drawLine(e+i.config.xaxis.axisTicks.offsetX,a+i.config.xaxis.offsetY,r+i.config.xaxis.axisTicks.offsetX,t+i.config.xaxis.offsetY,i.config.xaxis.axisTicks.color);n.add(o),o.node.classList.add("apexcharts-xaxis-tick")}}}},{key:"getXAxisTicksPositions",value:function(){var e=this.w,t=[],n=this.xaxisLabels.length,i=e.globals.padHorizontal;if(e.globals.timescaleLabels.length>0)for(var r=0;r<n;r++)i=this.xaxisLabels[r].position,t.push(i);else for(var a=n,o=0;o<a;o++){var s=a;e.globals.isXNumeric&&"bar"!==e.config.chart.type&&(s-=1),i+=e.globals.gridWidth/s,t.push(i)}return t}},{key:"xAxisLabelCorrections",value:function(){var e=this.w,t=new k(this.ctx),n=e.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g"),i=e.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-texts-g text:not(.apexcharts-xaxis-group-label)"),r=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-inversed text"),a=e.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-inversed-texts-g text tspan");if(e.globals.rotateXLabels||e.config.xaxis.labels.rotateAlways)for(var o=0;o<i.length;
130o++){var s=t.rotateAroundCenter(i[o]);s.y=s.y-1,s.x=s.x+1,i[o].setAttribute("transform","rotate(".concat(e.config.xaxis.labels.rotate," ").concat(s.x," ").concat(s.y,")")),i[o].setAttribute("text-anchor","end"),n.setAttribute("transform","translate(0, ".concat(-10,")"));var l=i[o].childNodes;e.config.xaxis.labels.trim&&Array.prototype.forEach.call(l,(function(n){t.placeTextWithEllipsis(n,n.textContent,e.globals.xAxisLabelsHeight-("bottom"===e.config.legend.position?20:10))}))}else!function(){for(var n=e.globals.gridWidth/(e.globals.labels.length+1),r=0;r<i.length;r++){var a=i[r].childNodes;e.config.xaxis.labels.trim&&"datetime"!==e.config.xaxis.type&&Array.prototype.forEach.call(a,(function(e){t.placeTextWithEllipsis(e,e.textContent,n)}))}}();if(r.length>0){var c=r[r.length-1].getBBox(),u=r[0].getBBox();c.x<-20&&r[r.length-1].parentNode.removeChild(r[r.length-1]),u.x+u.width>e.globals.gridWidth&&!e.globals.isBarHorizontal&&r[0].parentNode.removeChild(r[0]);for(var d=0;d<a.length;d++)t.placeTextWithEllipsis(a[d],a[d].textContent,e.config.yaxis[0].labels.maxWidth-(e.config.yaxis[0].title.text?2*parseFloat(e.config.yaxis[0].title.style.fontSize):0)-15)}}}]),e}(),q=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w;var n=this.w;this.xaxisLabels=n.globals.labels.slice(),this.axesUtils=new U(t),this.isRangeBar=n.globals.seriesRange.length&&n.globals.isBarHorizontal,n.globals.timescaleLabels.length>0&&(this.xaxisLabels=n.globals.timescaleLabels.slice())}return c(e,[{key:"drawGridArea",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.w,n=new k(this.ctx);null===e&&(e=n.group({class:"apexcharts-grid"}));var i=n.drawLine(t.globals.padHorizontal,1,t.globals.padHorizontal,t.globals.gridHeight,"transparent"),r=n.drawLine(t.globals.padHorizontal,t.globals.gridHeight,t.globals.gridWidth,t.globals.gridHeight,"transparent");return e.add(r),e.add(i),e}},{key:"drawGrid",value:function(){var e=null;return this.w.globals.axisCharts&&(e=this.renderGrid(),this.drawGridArea(e.el)),e}},{key:"createGridMask",value:function(){var e=this.w,t=e.globals,n=new k(this.ctx),i=Array.isArray(e.config.stroke.width)?0:e.config.stroke.width;if(Array.isArray(e.config.stroke.width)){var r=0;e.config.stroke.width.forEach((function(e){r=Math.max(r,e)})),i=r}t.dom.elGridRectMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elGridRectMask.setAttribute("id","gridRectMask".concat(t.cuid)),t.dom.elGridRectMarkerMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elGridRectMarkerMask.setAttribute("id","gridRectMarkerMask".concat(t.cuid)),t.dom.elForecastMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elForecastMask.setAttribute("id","forecastMask".concat(t.cuid)),t.dom.elNonForecastMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elNonForecastMask.setAttribute("id","nonForecastMask".concat(t.cuid));var a=e.config.chart.type,o=0,s=0;("bar"===a||"rangeBar"===a||"candlestick"===a||"boxPlot"===a||e.globals.comboBarCount>
1300)&&e.globals.isXNumeric&&!e.globals.isBarHorizontal&&(o=e.config.grid.padding.left,s=e.config.grid.padding.right,t.barPadForNumericAxis>o&&(o=t.barPadForNumericAxis,s=t.barPadForNumericAxis)),t.dom.elGridRect=n.drawRect(-i-o-2,2*-i-2,t.gridWidth+i+s+o+4,t.gridHeight+4*i+4,0,"#fff");var l=e.globals.markers.largestSize+1;t.dom.elGridRectMarker=n.drawRect(2*-l,2*-l,t.gridWidth+4*l,t.gridHeight+4*l,0,"#fff"),t.dom.elGridRectMask.appendChild(t.dom.elGridRect.node),t.dom.elGridRectMarkerMask.appendChild(t.dom.elGridRectMarker.node);var c=t.dom.baseEl.querySelector("defs");c.appendChild(t.dom.elGridRectMask),c.appendChild(t.dom.elForecastMask),c.appendChild(t.dom.elNonForecastMask),c.appendChild(t.dom.elGridRectMarkerMask)}},{key:"_drawGridLines",value:function(e){var t=e.i,n=e.x1,i=e.y1,r=e.x2,a=e.y2,o=e.xCount,s=e.parent,l=this.w;if(!(0===t&&l.globals.skipFirstTimelinelabel||t===o-1&&l.globals.skipLastTimelinelabel&&!l.config.xaxis.labels.formatter||"radar"===l.config.chart.type)){l.config.grid.xaxis.lines.show&&this._drawGridLine({i:t,x1:n,y1:i,x2:r,y2:a,xCount:o,parent:s});var c=0;if(l.globals.hasXaxisGroups&&"between"===l.config.xaxis.tickPlacement){var u=l.globals.groups;if(u){for(var d=0,h=0;d<t&&h<u.length;h++)d+=u[h].cols;d===t&&(c=.6*l.globals.xAxisLabelsHeight)}}new G(this.ctx).drawXaxisTicks(n,c,l.globals.dom.elGraphical)}}},{key:"_drawGridLine",value:function(e){var t=e.i,n=e.x1,i=e.y1,r=e.x2,a=e.y2,o=e.xCount,s=e.parent,l=this.w,c=!1,u=s.node.classList.contains("apexcharts-gridlines-horizontal"),d=l.config.grid.strokeDashArray,h=l.globals.barPadForNumericAxis;(0===i&&0===a||0===n&&0===r)&&(c=!0),i===l.globals.gridHeight&&a===l.globals.gridHeight&&(c=!0),!l.globals.isBarHorizontal||0!==t&&t!==o-1||(c=!0);var f=new k(this).drawLine(n-(u?h:0),i,r+(u?h:0),a,l.config.grid.borderColor,d);f.node.classList.add("apexcharts-gridline"),c&&l.config.grid.show?this.elGridBorders.add(f):s.add(f)}},{key:"_drawGridBandRect",value:function(e){var t=e.c,n=e.x1,i=e.y1,r=e.x2,a=e.y2,o=e.type,s=this.w,l=new k(this.ctx),c=s.globals.barPadForNumericAxis;if("column"!==o||"datetime"!==s.config.xaxis.type){var u=s.config.grid[o].colors[t],d=l.drawRect(n-("row"===o?c:0),i,r+("row"===o?2*c:0),a,0,u,s.config.grid[o].opacity);this.elg.add(d),d.attr("clip-path","url(#gridRectMask".concat(s.globals.cuid,")")),d.node.classList.add("apexcharts-grid-".concat(o))}}},{key:"_drawXYLines",value:function(e){var t=this,n=e.xCount,i=e.tickAmount,r=this.w;if(r.config.grid.xaxis.lines.show||r.config.xaxis.axisTicks.show){var a,o=r.globals.padHorizontal,s=r.globals.gridHeight;r.globals.timescaleLabels.length?function(e){for(var i=e.xC,r=e.x1,a=e.y1,o=e.x2,s=e.y2,l=0;l<i;l++)r=t.xaxisLabels[l].position,o=t.xaxisLabels[l].position,t._drawGridLines({i:l,x1:r,y1:a,x2:o,y2:s,xCount:n,parent:t.elgridLinesV})}({xC:n,x1:o,y1:0,x2:a,y2:s}):(r.globals.isXNumeric&&(n=r.globals.xAxisScale.result.length),function(e){for(var i=e.xC,a=e.x1,o=e.y1,s=e.x2,l=e.y2,c=0;c<i+(r.globals.isXNumeric?0:1);c++)0===c&&1===i&&1===r.globals.dataPoints&&(s=a=r.globals.gridWidth/2),t._drawGridLines({i:c,x1:a,y1:o,x2:s,y2:l,xCount:n,parent:t.elgridLinesV}),s=a+=r.globals.gridWidth/(r.globals.isXNumeric?i-1:i)}({xC:n,x1:o,y1:0,x2:a,y2:s}))}if(r.config.grid.yaxis.lines.show){var l=0,c=0,u=r.globals.gridWidth,d=i+1;this.isRangeBar&&(d=r.globals.labels.length);for(var h=0;h<d+(this.isRangeBar?1:0);h++)this._drawGridLine({i:h,xCount:d+(this.isRangeBar?1:0),x1:0,y1:l,x2:u,y2:c,parent:this.elgridLinesH}),c=l+=r.globals.gridHeight/(this.isRangeBar?d:i)}}},{key:"_drawInvertedXYLines",value:function(e){var t=e.xCount,n=this.w;if(n.config.grid.xaxis.lines.show||n.config.xaxis.axisTicks.show)for(var i,r=n.globals.padHorizontal,a=n.globals.gridHeight,o=0;o<t+1;o++)n.config.grid.xaxis.lines.show&&this._drawGridLine({i:o,xCount:t+1,x1:r,y1:0,x2:i,y2:a,parent:this.elgridLinesV}),new G(this.ctx).drawXaxisTicks(r,0,n.globals.dom.elGraphical),i=r=r+n.globals.gridWidth/t+.3;if(n.config.grid.yaxis.lines.show)for(var s=0,l=0,c=n.globals.gridWidth,u=0;u<n.globals.dataPoints+1;u++)this._drawGridLine({i:u,xCount:n.globals.dataPoints+1,x1:0,y1:s,x2:c,y2:l,parent:this.elgridLinesH}),l=s+=n.globals.gridHeight/n.globals.dataPoints}},{key:"renderGrid",value:function(){var e,t,n,i=this.w,r=new k(this.ctx);this.elg=r.group({class:"apexcharts-grid"}
130),this.elgridLinesH=r.group({class:"apexcharts-gridlines-horizontal"}),this.elgridLinesV=r.group({class:"apexcharts-gridlines-vertical"}),this.elGridBorders=r.group({class:"apexcharts-grid-borders"}),this.elg.add(this.elgridLinesH),this.elg.add(this.elgridLinesV),i.config.grid.show||(this.elgridLinesV.hide(),this.elgridLinesH.hide(),this.elGridBorders.hide());for(var a,o=i.globals.yAxisScale.length?i.globals.yAxisScale[0].result.length-1:5,s=0;s<i.globals.series.length&&(void 0!==i.globals.yAxisScale[s]&&(o=i.globals.yAxisScale[s].result.length-1),!(o>2));s++);return!i.globals.isBarHorizontal||this.isRangeBar?(a=this.xaxisLabels.length,this.isRangeBar&&(a--,o=i.globals.labels.length,i.config.xaxis.tickAmount&&i.config.xaxis.labels.formatter&&(a=i.config.xaxis.tickAmount),(null===(e=i.globals.yAxisScale)||void 0===e||null===(t=e[0])||void 0===t||null===(n=t.result)||void 0===n?void 0:n.length)>0&&"datetime"!==i.config.xaxis.type&&(a=i.globals.yAxisScale[0].result.length-1)),this._drawXYLines({xCount:a,tickAmount:o})):(a=o,o=i.globals.xTickAmount,this._drawInvertedXYLines({xCount:a,tickAmount:o})),this.drawGridBands(a,o),{el:this.elg,elGridBorders:this.elGridBorders,xAxisTickWidth:i.globals.gridWidth/a}}},{key:"drawGridBands",value:function(e,t){var n=this.w;if(void 0!==n.config.grid.row.colors&&n.config.grid.row.colors.length>0)for(var i=0,r=n.globals.gridHeight/t,a=n.globals.gridWidth,o=0,s=0;o<t;o++,s++)s>=n.config.grid.row.colors.length&&(s=0),this._drawGridBandRect({c:s,x1:0,y1:i,x2:a,y2:r,type:"row"}),i+=n.globals.gridHeight/t;if(void 0!==n.config.grid.column.colors&&n.config.grid.column.colors.length>0)for(var l=n.globals.isBarHorizontal||"on"!==n.config.xaxis.tickPlacement||"category"!==n.config.xaxis.type&&!n.config.xaxis.convertedCatToNumeric?e:e-1,c=n.globals.padHorizontal,u=n.globals.padHorizontal+n.globals.gridWidth/l,d=n.globals.gridHeight,h=0,f=0;h<e;h++,f++)f>=n.config.grid.column.colors.length&&(f=0),this._drawGridBandRect({c:f,x1:c,y1:0,x2:u,y2:d,type:"column"}),c+=n.globals.gridWidth/l}}]),e}(),J=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"niceScale",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4?arguments[4]:void 0,a=this.w,o=Math.abs(t-e);if("dataPoints"===(n=this._adjustTicksForSmallRange(n,i,o))&&(n=a.globals.dataPoints-1),e===Number.MIN_VALUE&&0===t||!_.isNumber(e)&&!_.isNumber(t)||e===Number.MIN_VALUE&&t===-Number.MAX_VALUE)return e=0,t=n,this.linearScale(e,t,n,i,a.config.yaxis[i].stepSize);e>t?(console.warn("axis.min cannot be greater than axis.max"),t=e+.1):e===t&&(e=0===e?0:e-.5,t=0===t?2:t+.5);var s=[];o<1&&r&&("candlestick"===a.config.chart.type||"candlestick"===a.config.series[i].type||"boxPlot"===a.config.chart.type||"boxPlot"===a.config.series[i].type||a.globals.isRangeData)&&(t*=1.01);var l=n+1;l<2?l=2:l>2&&(l-=2);var c=o/l,u=Math.floor(_.log10(c)),d=Math.pow(10,u),h=Math.round(c/d);h<1&&(h=1);var f=h*d;a.config.yaxis[i].stepSize&&(f=a.config.yaxis[i].stepSize),a.globals.isBarHorizontal&&a.config.xaxis.stepSize&&"datetime"!==a.config.xaxis.type&&(f=a.config.xaxis.stepSize);var p=f*Math.floor(e/f),m=f*Math.ceil(t/f),g=p;if(r&&o>2){for(;s.push(_.stripNumber(g,7)),!((g+=f)>m););return{result:s,niceMin:s[0],niceMax:s[s.length-1]}}var v=e;(s=[]).push(_.stripNumber(v,7));for(var b=Math.abs(t-e)/n,y=0;y<=n;y++)v+=b,s.push(v);return s[s.length-2]>=t&&s.pop(),{result:s,niceMin:s[0],niceMax:s[s.length-1]}}},{key:"linearScale",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0,a=Math.abs(t-e);"dataPoints"===(n=this._adjustTicksForSmallRange(n,i,a))&&(n=this.w.globals.dataPoints-1),r||(r=a/n),n===Number.MAX_VALUE&&(n=5,r=1);for(var o=[],s=e;n>=0;)o.push(s),s+=r,n-=1;return{result:o,niceMin:o[0],niceMax:o[o.length-1]}}},{key:"logarithmicScaleNice",value:function(e,t,n){t<=0&&(t=Math.max(e,n)),e<=0&&(e=Math.min(t,n));for(var i=[],r=Math.ceil(Math.log(t)/Math.log(n)+1),a=Math.floor(Math.log(e)/Math.log(n));a<r;a++)i.push(Math.pow(n,a));return{result:i,niceMin:i[0],niceMax:i[i.length-1]}}},{key:"logarithmicScale",value:function(e,t,n){t<=0&&(t=Math.max(e,n)),e<=0&&(e=Math.min(t,n));for(var i=[],r=Math.log(t)/Math.log(n),a=Math.log(e)/Math.log(n),o=r-a,s=Math.round(o),l=o/s,c=0,u=a;c<s;c++,u+=l)i.push(Math.pow(n,u));return i.push(Math.pow(n,r)),{result:i,niceMin:e,niceMax:t}}},{key:"_adjustTicksForSmallRange",value:function(e,t,n){var i=e;if(void 0!==t&&this.w.config.yaxis[t].labels.formatter&&void 0===this.w.config.yaxis[t].tickAmount){var r=Number(this.w.config.yaxis[t].labels.formatter(1));_.isNumber(r)&&0===this.w.globals.yValueDecimal&&(i=Math.ceil(n))}return i<e?i:e}},{key:"setYScaleForIndex",value:function(e,t,n){var i=this.w.globals,r=this.w.config,a=i.isBarHorizontal?r.xaxis:r.yaxis[e];void 0===i.yAxisScale[e]&&(i.yAxisScale[e]=[]);var o=Math.abs(n-t);if(a.logarithmic&&o<=5&&(i.invalidLogScale=!0),a.logarithmic&&o>5)i.allSeriesCollapsed=!1,i.yAxisScale[e]=this.logarithmicScale(t,n,a.logBase),i.yAxisScale[e]=a.forceNiceScale?this.logarithmicScaleNice(t,n,a.logBase):this.logarithmicScale(t,n,a.logBase);else if(n!==-Number.MAX_VALUE&&_.isNumber(n))if(i.allSeriesCollapsed=!1,void 0===a.min&&void 0===a.max||a.forceNiceScale){var s=void 0===r.yaxis[e].max&&void 0===r.yaxis[e].min||r.yaxis[e].forceNiceScale;i.yAxisScale[e]=this.niceScale(t,n,a.tickAmount?a.tickAmount:o<5&&o>1?o+1:5,e,s)}else i.yAxisScale[e]=this.linearScale(t,n,a.tickAmount,e,r.yaxis[e].stepSize);else i.yAxisScale[e]=this.linearScale(0,5,5,e,r.yaxis[e].stepSize)}},{key:"setXScale",value:function(e,t){var n=this.w,i=n.globals,r=Math.abs(t-e);return t!==-Number.MAX_VALUE&&_.isNumber(t)?i.xAxisScale=this.linearScale(e,t,n.config.xaxis.tickAmount?n.config.xaxis.tickAmount:r<5&&r>1?r+1:5,0,n.config.xaxis.stepSize):i.xAxisScale=this.linearScale(0,5,5),i.xAxisScale}},{key:"setMultipleYScales",value:function(){var e=this,t=this.w.globals,n=this.w.config,i=t.minYArr.concat([]),r=t.maxYArr.concat([]),a=[];
130n.yaxis.forEach((function(t,o){var s=o;n.series.forEach((function(e,n){e.name===t.seriesName&&(s=n,o!==n?a.push({index:n,similarIndex:o,alreadyExists:!0}):a.push({index:n}))}));var l=i[s],c=r[s];e.setYScaleForIndex(o,l,c)})),this.sameScaleInMultipleAxes(i,r,a)}},{key:"sameScaleInMultipleAxes",value:function(e,t,n){var i=this,r=this.w.config,a=this.w.globals,o=[];n.forEach((function(e){e.alreadyExists&&(void 0===o[e.index]&&(o[e.index]=[]),o[e.index].push(e.index),o[e.index].push(e.similarIndex))})),a.yAxisSameScaleIndices=o,o.forEach((function(e,t){o.forEach((function(n,i){var r,a;t!==i&&(r=e,a=n,r.filter((function(e){return-1!==a.indexOf(e)}))).length>0&&(o[t]=o[t].concat(o[i]))}))}));var s=o.map((function(e){return e.filter((function(t,n){return e.indexOf(t)===n}))})).map((function(e){return e.sort()}));o=o.filter((function(e){return!!e}));var l=s.slice(),c=l.map((function(e){return JSON.stringify(e)}));l=l.filter((function(e,t){return c.indexOf(JSON.stringify(e))===t}));var u=[],d=[];e.forEach((function(e,n){l.forEach((function(i,r){i.indexOf(n)>-1&&(void 0===u[r]&&(u[r]=[],d[r]=[]),u[r].push({key:n,value:e}),d[r].push({key:n,value:t[n]}))}))}));var h=Array.apply(null,Array(l.length)).map(Number.prototype.valueOf,Number.MIN_VALUE),f=Array.apply(null,Array(l.length)).map(Number.prototype.valueOf,-Number.MAX_VALUE);u.forEach((function(e,t){e.forEach((function(e,n){h[t]=Math.min(e.value,h[t])}))})),d.forEach((function(e,t){e.forEach((function(e,n){f[t]=Math.max(e.value,f[t])}))})),e.forEach((function(e,t){d.forEach((function(e,n){var o=h[n],s=f[n];r.chart.stacked&&(s=0,e.forEach((function(e,t){e.value!==-Number.MAX_VALUE&&(s+=e.value),o!==Number.MIN_VALUE&&(o+=u[n][t].value)}))),e.forEach((function(n,l){e[l].key===t&&(void 0!==r.yaxis[t].min&&(o="function"==typeof r.yaxis[t].min?r.yaxis[t].min(a.minY):r.yaxis[t].min),void 0!==r.yaxis[t].max&&(s="function"==typeof r.yaxis[t].max?r.yaxis[t].max(a.maxY):r.yaxis[t].max),i.setYScaleForIndex(t,o,s))}))}))}))}},{key:"autoScaleY",value:function(e,t,n){e||(e=this);var i=e.w;if(i.globals.isMultipleYAxis||i.globals.collapsedSeries.length)return console.warn("autoScaleYaxis not supported in a multi-yaxis chart."),t;var r=i.globals.seriesX[0],a=i.config.chart.stacked;return t.forEach((function(e,o){for(var s=0,l=0;l<r.length;l++)if(r[l]>=n.xaxis.min){s=l;break}var c,u,d=i.globals.minYArr[o],h=i.globals.maxYArr[o],f=i.globals.stackedSeriesTotals;i.globals.series.forEach((function(o,l){var p=o[s];a?(p=f[s],c=u=p,f.forEach((function(e,t){r[t]<=n.xaxis.max&&r[t]>=n.xaxis.min&&(e>u&&null!==e&&(u=e),o[t]<c&&null!==o[t]&&(c=o[t]))}))):(c=u=p,o.forEach((function(e,t){if(r[t]<=n.xaxis.max&&r[t]>=n.xaxis.min){var a=e,o=e;i.globals.series.forEach((function(n,i){null!==e&&(a=Math.min(n[t],a),o=Math.max(n[t],o))})),o>u&&null!==o&&(u=o),a<c&&null!==a&&(c=a)}}))),void 0===c&&void 0===u&&(c=d,u=h),u*=u<0?.9:1.1,0==(c*=c<0?1.1:.9)&&0===u&&(c=-1,u=1),u<0&&u<h&&(u=h),c<0&&
130c>d&&(c=d),t.length>1?(t[l].min=void 0===e.min?c:e.min,t[l].max=void 0===e.max?u:e.max):(t[0].min=void 0===e.min?c:e.min,t[0].max=void 0===e.max?u:e.max)}))})),t}}]),e}(),K=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.scales=new J(t)}return c(e,[{key:"init",value:function(){this.setYRange(),this.setXRange(),this.setZRange()}},{key:"getMinYMaxY",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-Number.MAX_VALUE,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=this.w.config,a=this.w.globals,o=-Number.MAX_VALUE,s=Number.MIN_VALUE;null===i&&(i=e+1);var l=a.series,c=l,u=l;"candlestick"===r.chart.type?(c=a.seriesCandleL,u=a.seriesCandleH):"boxPlot"===r.chart.type?(c=a.seriesCandleO,u=a.seriesCandleC):a.isRangeData&&(c=a.seriesRangeStart,u=a.seriesRangeEnd);for(var d=e;d<i;d++){a.dataPoints=Math.max(a.dataPoints,l[d].length),a.categoryLabels.length&&(a.dataPoints=a.categoryLabels.filter((function(e){return void 0!==e})).length),a.labels.length&&"datetime"!==r.xaxis.type&&0!==a.series.reduce((function(e,t){return e+t.length}),0)&&(a.dataPoints=Math.max(a.dataPoints,a.labels.length));for(var h=0;h<a.series[d].length;h++){var f=l[d][h];null!==f&&_.isNumber(f)?(void 0!==u[d][h]&&(o=Math.max(o,u[d][h]),t=Math.min(t,u[d][h
130])),void 0!==c[d][h]&&(t=Math.min(t,c[d][h]),n=Math.max(n,c[d][h])),"candlestick"!==this.w.config.chart.type&&"boxPlot"!==this.w.config.chart.type&&"rangeArea"===this.w.config.chart.type&&"rangeBar"===this.w.config.chart.type||("candlestick"!==this.w.config.chart.type&&"boxPlot"!==this.w.config.chart.type||void 0!==a.seriesCandleC[d][h]&&(o=Math.max(o,a.seriesCandleO[d][h]),o=Math.max(o,a.seriesCandleH[d][h]),o=Math.max(o,a.seriesCandleL[d][h]),o=Math.max(o,a.seriesCandleC[d][h]),"boxPlot"===this.w.config.chart.type&&(o=Math.max(o,a.seriesCandleM[d][h]))),!r.series[d].type||"candlestick"===r.series[d].type&&"boxPlot"===r.series[d].type&&"rangeArea"===r.series[d].type&&"rangeBar"===r.series[d].type||(o=Math.max(o,a.series[d][h]),t=Math.min(t,a.series[d][h])),n=o),a.seriesGoals[d]&&a.seriesGoals[d][h]&&Array.isArray(a.seriesGoals[d][h])&&a.seriesGoals[d][h].forEach((function(e){s!==Number.MIN_VALUE&&(s=Math.min(s,e.value),t=s),o=Math.max(o,e.value),n=o})),_.isFloat(f)&&(f=_.noExponents(f),a.yValueDecimal=Math.max(a.yValueDecimal,f.toString().split(".")[1].length)),s>c[d][h]&&c[d][h]<0&&(s=c[d][h])):a.hasNullValues=!0}}return"rangeBar"===r.chart.type&&a.seriesRangeStart.length&&a.isBarHorizontal&&(s=t),"bar"===r.chart.type&&(s<0&&o<0&&(o=0),s===Number.MIN_VALUE&&(s=0)),{minY:s,maxY:o,lowestY:t,highestY:n}}},{key:"setYRange",value:function(){var e=this.w.globals,t=this.w.config;e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE;var n=Number.MAX_VALUE;if(e.isMultipleYAxis)for(var i=0;i<e.series.length;i++){var r=this.getMinYMaxY(i,n,null,i+1);e.minYArr.push(r.minY),e.maxYArr.push(r.maxY),n=r.lowestY}var a=this.getMinYMaxY(0,n,null,e.series.length);if(e.minY=a.minY,e.maxY=a.maxY,n=a.lowestY,t.chart.stacked&&this._setStackedMinMax(),("line"===t.chart.type||"area"===t.chart.type||"candlestick"===t.chart.type||"boxPlot"===t.chart.type||"rangeBar"===t.chart.type&&!e.isBarHorizontal)&&e.minY===Number.MIN_VALUE&&n!==-Number.MAX_VALUE&&n!==e.maxY){var o=e.maxY-n;(n>=0&&n<=10||void 0!==t.yaxis[0].min||void 0!==t.yaxis[0].max)&&(o=0),e.minY=n-5*o/100,n>0&&e.minY<0&&(e.minY=0),e.maxY=e.maxY+5*o/100}return t.yaxis.forEach((function(t,n){void 0!==t.max&&("number"==typeof t.max?e.maxYArr[n]=t.max:"function"==typeof t.max&&(e.maxYArr[n]=t.max(e.isMultipleYAxis?e.maxYArr[n]:e.maxY)),e.maxY=e.maxYArr[n]),void 0!==t.min&&("number"==typeof t.min?e.minYArr[n]=t.min:"function"==typeof t.min&&(e.minYArr[n]=t.min(e.isMultipleYAxis?e.minYArr[n]===Number.MIN_VALUE?0:e.minYArr[n]:e.minY)),e.minY=e.minYArr[n])})),e.isBarHorizontal&&["min","max"].forEach((function(n){void 0!==t.xaxis[n]&&"number"==typeof t.xaxis[n]&&("min"===n?e.minY=t.xaxis[n]:e.maxY=t.xaxis[n])})),e.isMultipleYAxis?(this.scales.setMultipleYScales(),e.minY=n,e.yAxisScale.forEach((function(t,n){e.minYArr[n]=t.niceMin,e.maxYArr[n]=t.niceMax}))):(this.scales.setYScaleForIndex(0,e.minY,e.maxY),e.minY=e.yAxisScale[0].niceMin,e.maxY=e.yAxisScale[0].niceMax,e.minYArr[0]=e.yAxisScale[0].niceMin,e.maxYArr[0]=e.yAxisScale[0].niceMax),{minY:e.minY,maxY:e.maxY,minYArr:e.minYArr,maxYArr:e.maxYArr,yAxisScale:e.yAxisScale}}},{key:"setXRange",value:function(){var e=this.w.globals,t=this.w.config,n="numeric"===t.xaxis.type||"datetime"===t.xaxis.type||"category"===t.xaxis.type&&!e.noLabelsProvided||e.noLabelsProvided||e.isXNumeric;if(e.isXNumeric&&function(){for(var t=0;t<e.series.length;t++)if(e.labels[t])for(var n=0;n<e.labels[t].length;n++)null!==e.labels[t][n]&&_.isNumber(e.labels[t][n])&&(e.maxX=Math.max(e.maxX,e.labels[t][n]),e.initialMaxX=Math.max(e.maxX,e.labels[t][n]),e.minX=Math.min(e.minX,e.labels[t][n]),e.initialMinX=Math.min(e.minX,e.labels[t][n]))}(),e.noLabelsProvided&&0===t.xaxis.categories.length&&(e.maxX=e.labels[e.labels.length-1],e.initialMaxX=e.labels[e.labels.length-1],e.minX=1,e.initialMinX=1),e.isXNumeric||e.noLabelsProvided||e.dataFormatXNumeric){var i;if(void 0===t.xaxis.tickAmount?(i=Math.round(e.svgWidth/150),"numeric"===t.xaxis.type&&e.dataPoints<30&&(i=e.dataPoints-1),i>e.dataPoints&&0!==e.dataPoints&&(i=e.dataPoints-1)):"dataPoints"===t.xaxis.tickAmount?(e.series.length>1&&(i=e.series[e.maxValsInArrayIndex].length-1),e.isXNumeric&&(i=e.maxX-e.minX-1)):i=t.xaxis.tickAmount,e.xTickAmount=i,void 0!==t.xaxis.max&&"number"==typeof t.xaxis.max&&(e.maxX=t.xaxis.max),void 0!==t.xaxis.min&&"number"==typeof t.xaxis.min&&(e.minX=t.xaxis.min),void 0!==t.xaxis.range&&(e.minX=e.maxX-t.xaxis.range),e.minX!==Number.MAX_VALUE&&e.maxX!==-Number.MAX_VALUE)if(t.xaxis.convertedCatToNumeric&&!e.dataFormatXNumeric){for(var r=[],a=e.minX-1;a<e.maxX;a++)r.push(a+1);e.xAxisScale={result:r,niceMin:r[0],niceMax:r[r.length-1]}}else e.xAxisScale=this.scales.setXScale(e.minX,e.maxX);else e.xAxisScale=this.scales.linearScale(0,i,i,0,t.xaxis.stepSize),e.noLabelsProvi
130ded&&e.labels.length>0&&(e.xAxisScale=this.scales.linearScale(1,e.labels.length,i-1,0,t.xaxis.stepSize),e.seriesX=e.labels.slice());n&&(e.labels=e.xAxisScale.result.slice())}return e.isBarHorizontal&&e.labels.length&&(e.xTickAmount=e.labels.length),this._handleSingleDataPoint(),this._getMinXDiff(),{minX:e.minX,maxX:e.maxX}}},{key:"setZRange",value:function(){var e=this.w.globals;if(e.isDataXYZ)for(var t=0;t<e.series.length;t++)if(void 0!==e.seriesZ[t])for(var n=0;n<e.seriesZ[t].length;n++)null!==e.seriesZ[t][n]&&_.isNumber(e.seriesZ[t][n])&&(e.maxZ=Math.max(e.maxZ,e.seriesZ[t][n]),e.minZ=Math.min(e.minZ,e.seriesZ[t][n]))}},{key:"_handleSingleDataPoint",value:function(){var e=this.w.globals,t=this.w.config;if(e.minX===e.maxX){var n=new D(this.ctx);if("datetime"===t.xaxis.type){var i=n.getDate(e.minX);t.xaxis.labels.datetimeUTC?i.setUTCDate(i.getUTCDate()-2):i.setDate(i.getDate()-2),e.minX=new Date(i).getTime();var r=n.getDate(e.maxX);t.xaxis.labels.datetimeUTC?r.setUTCDate(r.getUTCDate()+2):r.setDate(r.getDate()+2),e.maxX=new Date(r).getTime()}else("numeric"===t.xaxis.type||"category"===t.xaxis.type&&!e.noLabelsProvided)&&(e.minX=e.minX-2,e.initialMinX=e.minX,e.maxX=e.maxX+2,e.initialMaxX=e.maxX)}}},{key:"_getMinXDiff",value:function(){var e=this.w.globals;e.isXNumeric&&e.seriesX.forEach((function(t,n){1===t.length&&t.push(e.seriesX[e.maxValsInArrayIndex][e.seriesX[e.maxValsInArrayIndex].length-1]);var i=t.slice();i.sort((function(e,t){return e-t}
130)),i.forEach((function(t,n){if(n>0){var r=t-i[n-1];r>0&&(e.minXDiff=Math.min(r,e.minXDiff))}})),1!==e.dataPoints&&e.minXDiff!==Number.MAX_VALUE||(e.minXDiff=.5)}))}},{key:"_setStackedMinMax",value:function(){var e=this,t=this.w.globals;if(t.series.length){var n=t.seriesGroups;n.length||(n=[this.w.config.series.map((function(e){return e.name}))]);var i={},r={};n.forEach((function(n){i[n]=[],r[n]=[],e.w.config.series.map((function(e,t){return n.indexOf(e.name)>-1?t:null})).filter((function(e){return null!==e})).forEach((function(a){for(var o=0;o<t.series[t.maxValsInArrayIndex].length;o++){var s,l;void 0===i[n][o]&&(i[n][o]=0,r[n][o]=0),(e.w.config.chart.stacked&&!t.comboCharts||e.w.config.chart.stacked&&t.comboCharts&&(!e.w.config.chart.stackOnlyBar||"bar"===(null===(s=e.w.config.series)||void 0===s||null===(l=s[a])||void 0===l?void 0:l.type)))&&null!==t.series[a][o]&&_.isNumber(t.series[a][o])&&(t.series[a][o]>0?i[n][o]+=parseFloat(t.series[a][o])+1e-4:r[n][o]+=parseFloat(t.series[a][o]))}}))})),Object.entries(i).forEach((function(e){var n=g(e,1)[0];i[n].forEach((function(e,a){t.maxY=Math.max(t.maxY,i[n][a]),t.minY=Math.min(t.minY,r[n][a])}))}))}}}]),e}(),Z=function(){function e(t,n){s(this,e),this.ctx=t,this.elgrid=n,this.w=t.w;var i=this.w;this.xaxisFontSize=i.config.xaxis.labels.style.fontSize,this.axisFontFamily=i.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=i.config.xaxis.labels.style.colors,this.isCategoryBarHorizontal="bar"===i.config.chart.type&&i.config.plotOptions.bar.horizontal,this.xAxisoffX=0,"bottom"===i.config.xaxis.position&&(this.xAxisoffX=i.globals.gridHeight),this.drawnLabels=[],this.axesUtils=new U(t)}return c(e,[{key:"drawYaxis",value:function(e){var t=this,n=this.w,i=new k(this.ctx),r=n.config.yaxis[e].labels.style,a=r.fontSize,o=r.fontFamily,s=r.fontWeight,l=i.group({class:"apexcharts-yaxis",rel:e,transform:"translate("+n.globals.translateYAxisX[e]+", 0)"});if(this.axesUtils.isYAxisHidden(e))return l;var c=i.group({class:"apexcharts-yaxis-texts-g"});l.add(c);var u=n.globals.yAxisScale[e].result.length-1,d=n.globals.gridHeight/u,h=n.globals.translateY,f=n.globals.yLabelFormatters[e],p=n.globals.yAxisScale[e].result.slice();p=this.axesUtils.checkForReversedLabels(e,p);var m="";if(n.config.yaxis[e].labels.show)for(var g=function(l){var g=p[l];g=f(g,l,n);var v=n.config.yaxis[e].labels.padding;n.config.yaxis[e].opposite&&0!==n.config.yaxis.length&&(v*=-1);var b="end";n.config.yaxis[e].opposite&&(b="start"),"left"===n.config.yaxis[e].labels.align?b="start":"center"===n.config.yaxis[e].labels.align?b="middle":"right"===n.config.yaxis[e].labels.align&&(b="end");var y=t.axesUtils.getYAxisForeColor(r.colors,e),_=n.config.yaxis[e].labels.offsetY;"heatmap"===n.config.chart.type&&(_-=(n.globals.gridHeight/n.globals.series.length-1)/2);var x=i.drawText({x:v,y:h+u/10+_+1,text:g,textAnchor:b,fontSize:a,fontFamily:o,fontWeight:s,maxWidth:n.config.yaxis[e].labels.maxWidth,foreColor:Array.isArray(y)?y[l]:y,isPlainText:!1,cssClass:"apexcharts-yaxis-label "+r.cssClass});l===u&&(m=x),c.add(x);var w=document.createElementNS(n.globals.SVGNS,"title");if(w.textContent=Array.isArray(g)?g.join(" "):g,x.node.appendChild(w),0!==n.config.yaxis[e].labels.rotate){var k=i.rotateAroundCenter(m.node),S=i.rotateAroundCenter(x.node);x.node.setAttribute("transform","rotate(".concat(n.config.yaxis[e].labels.rotate," ").concat(k.x," ").concat(S.y,")"))}h+=d},v=u;v>=0;v--)g(v);if(void 0!==n.config.yaxis[e].title.text){var b=i.group({class:"apexcharts-yaxis-title"}),y=0;n.config.yaxis[e].opposite&&(y=n.globals.translateYAxisX[e]);var _=i.drawText({x:y,y:n.globals.gridHeight/2+n.globals.translateY+n.config.yaxis[e].title.offsetY,text:n.config.yaxis[e].title.text,textAnchor:"end",foreColor:n.config.yaxis[e].title.style.color,fontSize:n.config.yaxis[e].title.style.fontSize,fontWeight:n.config.yaxis[e].title.style.fontWeight,fontFamily:n.config.yaxis[e].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+n.config.yaxis[e].title.style.cssClass});b.add(_),l.add(b)}var x=n.config.yaxis[e].axisBorder,w=31+x.offsetX;if(n.config.yaxis[e].opposite&&(w=-31-x.offsetX),x.show){var S=i.drawLine(w,n.globals.translateY+x.offsetY-2,w,n.globals.gridHeight+n.globals.translateY+x.offsetY+2,x.color,0,x.width);l.add(S)}return n.config.yaxis[e].axisTicks.show&&this.axesUtils.drawYAxisTicks(w,u,x,n.config.yaxis[e].axisTicks,e,d,l),l}},{key:"drawYaxisInversed",value:function(e){var t=this.w,n=new k(this.ctx),i=n.group({class:"apexcharts-xaxis apexcharts-yaxis-inversed"}),r=n.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(t.globals.translateXAxisX,", ").concat(t.globals.translateXAxisY,")")});i.add(r);var a=t.globals.yAxisScale[e].result.length-1,o=t.globals.gridWidth/a+.1,s=o+t.config.xaxis.labels.offsetX,l=t.globals.xLabelFormatter,c=t.globals.yAxisScale[e].result.slice(),u=t.globals.timescaleLabels;u.length>0&&(this.xaxisLabels=u.slice(),a=(c=u.slice()).length),c=this.axesUtils.checkForRever
130sedLabels(e,c);var d=u.length;if(t.config.xaxis.labels.show)for(var h=d?0:a;d?h<d:h>=0;d?h++:h--){var f=c[h];f=l(f,h,t);var p=t.globals.gridWidth+t.globals.padHorizontal-(s-o+t.config.xaxis.labels.offsetX);if(u.length){var m=this.axesUtils.getLabel(c,u,p,h,this.drawnLabels,this.xaxisFontSize);p=m.x,f=m.text,this.drawnLabels.push(m.text),0===h&&t.globals.skipFirstTimelinelabel&&(f=""),h===c.length-1&&t.globals.skipLastTimelinelabel&&(f="")}var g=n.drawText({x:p,y:this.xAxisoffX+t.config.xaxis.labels.offsetY+30-("top"===t.config.xaxis.position?t.globals.xAxisHeight+t.config.xaxis.axisTicks.height-2:0),text:f,textAnchor:"middle",foreColor:Array.isArray(this.xaxisForeColors)?this.xaxisForeColors[e]:this.xaxisForeColors,fontSize:this.xaxisFontSize,fontFamily:this.xaxisFontFamily,fontWeight:t.config.xaxis.labels.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-xaxis-label "+t.config.xaxis.labels.style.cssClass});r.add(g),g.tspan(f);var v=document.createElementNS(t.globals.SVGNS,"title");v.textContent=f,g.node.appendChild(v),s+=o}return this.inversedYAxisTitleText(i),this.inversedYAxisBorder(i),i}},{key:"inversedYAxisBorder",value:function(e){var t=this.w,n=new k(this.ctx),i=t.config.xaxis.axisBorder;if(i.show){var r=0;"bar"===t.config.chart.type&&t.globals.isXNumeric&&(r-=15);var a=n.drawLine(t.globals.padHorizontal+r+i.offsetX,this.xAxisoffX,t.globals.gridWidth,this.xAxisoffX,i.color,0,i.height);this.elgrid&&this.elgrid.elGridBorders&&t.config.grid.show?this.elgrid.elGridBorders.add(a):e.add(a)}}},{key:"inversedYAxisTitleText",value:function(e){var t=this.w,n=new k(this.ctx);if(void 0!==t.config.xaxis.title.text){var i=n.group({class:"apexcharts-xaxis-title apexcharts-yaxis-title-inversed"}),r=n.drawText({x:t.globals.gridWidth/2+t.config.xaxis.title.offsetX,y:this.xAxisoffX+parseFloat(this.xaxisFontSize)+parseFloat(t.config.xaxis.title.style.fontSize)+t.config.xaxis.title.offsetY+20,text:t.config.xaxis.title.text,textAnchor:"middle",fontSize:t.config.xaxis.title.style.fontSize,fontFamily:t.config.xaxis.title.style.fontFamily,fontWeight:t.config.xaxis.title.style.fontWeight,foreColor:t.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+t.config.xaxis.title.style.cssClass});i.add(r),e.add(i)}}},{key:"yAxisTitleRotate",value:function(e,t){var n=this.w,i=new k(this.ctx),r={width:0,height:0},a={width:0,height:0},o=n.globals.dom.baseEl.querySelector(" .apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-texts-g"));null!==o&&(r=o.getBoundingClientRect());var s=n.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-title text"));if(null!==s&&(a=s.getBoundingClientRect()),null!==s){var l=this.xPaddingForYAxisTitle(e,r,a,t);s.setAttribute("x",l.xPos-(t?10:0))}if(null!==s){var c=i.rotateAroundCenter(s);s.setAttribute("transform","rotate(".concat(t?-1*n.config.yaxis[e].title.rotate:n.config.yaxis[e].title.rotate," ").concat(c.x," ").concat(c.y,")"))}}},{key:"xPaddingForYAxisTitle",value:function(e,t,n,i){var r=this.w,a=0,o=0,s=10;return void 0===r.config.yaxis[e].title.text||e<0?{xPos:o,padd:0}:(i?(o=t.width+r.config.yaxis[e].title.offsetX+n.width/2+s/2,0===(a+=1)&&(o-=s/2)):(o=-1*t.width+r.config.yaxis[e].title.offsetX+s/2+n.width/2,r.globals.isBarHorizontal&&(s=25,o=-1*t.width-r.config.yaxis[e].title.offsetX-s)),{xPos:o,padd:s})}},{key:"setYAxisXPosition",value:function(e,t){var n=this.w,i=0,r=0,a=18,o=1;n.config.yaxis.length>1&&(this.multipleYs=!0),n.config.yaxis.map((function(s,l){var c=n.globals.ignoreYAxisIndexes.indexOf(l)>-1||!s.show||s.floating||0===e[l].width,u=e[l].width+t[l].width;s.opposite?n.globals.isBarHorizontal?(r=n.globals.gridWidth+n.globals.translateX-1,n.globals.translateYAxisX[l]=r-s.labels.offsetX):(r=n.globals.gridWidth+n.globals.translateX+o,c||(o=o+u+20),n.globals.translateYAxisX[l]=r-s.labels.offsetX+20):(i=n.globals.translateX-a,c||(a=a+u+20),n.globals.translateYAxisX[l]=i+s.labels.offsetX)}))}},{key:"setYAxisTextAlignments",value:function(){var e=this.w,t=e.globals.dom.baseEl.getElementsByClassName("apexcharts-yaxis");
130(t=_.listToArray(t)).forEach((function(t,n){var i=e.config.yaxis[n];if(i&&!i.floating&&void 0!==i.labels.align){var r=e.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(n,"'] .apexcharts-yaxis-texts-g")),a=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(n,"'] .apexcharts-yaxis-label"));a=_.listToArray(a);var o=r.getBoundingClientRect();"left"===i.labels.align?(a.forEach((function(e,t){e.setAttribute("text-anchor","start")})),i.opposite||r.setAttribute("transform","translate(-".concat(o.width,", 0)"))):"center"===i.labels.align?(a.forEach((function(e,t){e.setAttribute("text-anchor","middle")})),r.setAttribute("transform","translate(".concat(o.width/2*(i.opposite?1:-1),", 0)"))):"right"===i.labels.align&&(a.forEach((function(e,t){e.setAttribute("text-anchor","end")})),i.opposite&&r.setAttribute("transform","translate(".concat(o.width,", 0)")))}}))}}]),e}(),Q=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.documentEvent=_.bind(this.documentEvent,this)}return c(e,[{key:"addEventListener",value:function(e,t){var n=this.w;n.globals.events.hasOwnProperty(e)?n.globals.events[e].push(t):n.globals.events[e]=[t]}},{key:"removeEventListener",value:function(e,t){var n=this.w;if(n.globals.events.hasOwnProperty(e)){var i=n.globals.events[e].indexOf(t);-1!==i&&n.globals.events[e].splice(i,1)}}},{key:"fireEvent",value:function(e,t){var n=this.w;if(n.globals.events.hasOwnProperty(e)){t&&t.length||(t=[]);for(var i=n.globals.events[e],r=i.length,a=0;a<r;a++)i[a].apply(null,t)}}},{key:"setupEventHandlers",value:function(){var e=this,t=this.w,n=this.ctx,i=t.globals.dom.baseEl.querySelector(t.globals.chartClass);this.ctx.eventList.forEach((function(e){i.addEventListener(e,(function(e){var i=Object.assign({},t,{seriesIndex:t.globals.capturedSeriesIndex,dataPointIndex:t.globals.capturedDataPointIndex});"mousemove"===e.type||"touchmove"===e.type?"function"==typeof t.config.chart.events.mouseMove&&t.config.chart.events.mouseMove(e,n,i):"mouseleave"===e.type||"touchleave"===e.type?"function"==typeof t.config.chart.events.mouseLeave&&t.config.chart.events.mouseLeave(e,n,i):("mouseup"===e.type&&1===e.which||"touchend"===e.type)&&("function"==typeof t.config.chart.events.click&&t.config.chart.events.click(e,n,i),n.ctx.events.fireEvent("click",[e,n,i]))}),{capture:!1,passive:!0})})),this.ctx.eventList.forEach((function(n){t.globals.dom.baseEl.addEventListener(n,e.documentEvent,{passive:!0})})),this.ctx.core.setupBrushHandler()}},{key:"documentEvent",value:function(e){var t=this.w,n=e.target.className;if("click"===e.type){var i=t.globals.dom.baseEl.querySelector(".apexcharts-menu");i&&i.classList.contains("apexcharts-menu-open")&&"apexcharts-menu-icon"!==n&&i.classList.remove("apexcharts-menu-open")}t.globals.clientX="touchmove"===e.type?e.touches[0].clientX:e.clientX,t.globals.clientY="touchmove"===e.type?e.touches[0].clientY:e.clientY}}]),e}(),ee=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"setCurrentLocaleValues",value:function(e){var t=this.w.config.chart.locales;window.Apex.chart&&window.Apex.chart.locales&&window.Apex.chart.locales.length>0&&(t=this.w.config.chart.locales.concat(window.Apex.chart.locales));var n=t.filter((function(t){return t.name===e}))[0];if(!n)throw new Error("Wrong locale name provided. Please make sure you set the correct locale name in options");var i=_.extend(C,n);this.w.globals.locale=i.options}}]),e}(),te=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"drawAxis",value:function(e,t){var n,i,r=this,a=this.w.globals,o=this.w.config,s=new G(this.ctx,t),l=new Z(this.ctx,t);a.axisCharts&&"radar"!==e&&(a.isBarHorizontal?(i=l.drawYaxisInversed(0),n=s.drawXaxisInversed(0),a.dom.elGraphical.add(n),a.dom.elGraphical.add(i)):(n=s.drawXaxis(),a.dom.elGraphical.add(n),o.yaxis.map((function(e,t){if(-1===a.ignoreYAxisIndexes.indexOf(t)&&(i=l.drawYaxis(t),a.dom.Paper.add(i),"back"===r.w.config.grid.position)){var n=a.dom.Paper.children()[1];n.remove(),a.dom.Paper.add(n)}}))))}}]),e}(),ne=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"drawXCrosshairs",value:function(){var e=this.w,t=new k(this.ctx),n=new w(this.ctx),i=e.config.xaxis.crosshairs.fill.gradient,r=e.config.xaxis.crosshairs.dropShadow,a=e.config.xaxis.crosshairs.fill.type,o=i.colorFrom,s=i.colorTo,l=i.opacityFrom,c=i.opacityTo,u=i.stops,d=r.enabled,h=r.left,f=r.to
130p,p=r.blur,m=r.color,g=r.opacity,v=e.config.xaxis.crosshairs.fill.color;if(e.config.xaxis.crosshairs.show){"gradient"===a&&(v=t.drawGradient("vertical",o,s,l,c,null,u,null));var b=t.drawRect();1===e.config.xaxis.crosshairs.width&&(b=t.drawLine());var y=e.globals.gridHeight;(!_.isNumber(y)||y<0)&&(y=0);var x=e.config.xaxis.crosshairs.width;(!_.isNumber(x)||x<0)&&(x=0),b.attr({class:"apexcharts-xcrosshairs",x:0,y:0,y2:y,width:x,height:y,fill:v,filter:"none","fill-opacity":e.config.xaxis.crosshairs.opacity,stroke:e.config.xaxis.crosshairs.stroke.color,"stroke-width":e.config.xaxis.crosshairs.stroke.width,"stroke-dasharray":e.config.xaxis.crosshairs.stroke.dashArray}),d&&(b=n.dropShadow(b,{left:h,top:f,blur:p,color:m,opacity:g})),e.globals.dom.elGraphical.add(b)}}},{key:"drawYCrosshairs",value:function(){var e=this.w,t=new k(this.ctx),n=e.config.yaxis[0].crosshairs,i=e.globals.barPadForNumericAxis;if(e.config.yaxis[0].crosshairs.show){var r=t.drawLine(-i,0,e.globals.gridWidth+i,0,n.stroke.color,n.stroke.dashArray,n.stroke.width);r.attr({class:"apexcharts-ycrosshairs"}),e.globals.dom.elGraphical.add(r)}var a=t.drawLine(-i,0,e.globals.gridWidth+i,0,n.stroke.color,0,0);a.attr({class:"apexcharts-ycrosshairs-hidden"}),e.globals.dom.elGraphical.add(a)}}]),e}(),ie=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"checkResponsiveConfig",value:function(e){var t=this,n=this.w,i=n.config;if(0!==i.responsive.length){var r=i.responsive.slice();r.sort((function(e,t){return e.breakpoint>t.breakpoint?1:t.breakpoint>e.breakpoint?-1:0})).reverse();var a=new R({}),o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=r[0].breakpoint,o=window.innerWidth>0?window.innerWidth:screen.width;if(o>i){var s=S.extendArrayProps(a,n.globals.initialConfig,n);e=_.extend(s,e),e=_.extend(n.config,e),t.overrideResponsiveOptions(e)}else for(var l=0;l<r.length;l++)o<r[l].breakpoint&&(e=S.extendArrayProps(a,r[l].options,n),e=_.extend(n.config,e),t.overrideResponsiveOptions(e))};if(e){var s=S.extendArrayProps(a,e,n);s=_.extend(n.config,s),o(s=_.extend(s,e))}else o({})}}},{key:"overrideResponsiveOptions",value:function(e){var t=new R(e).init({responsiveOverride:!0});this.w.config=t}}]),e}(),re=function(){function e(t){s(this,e),this.ctx=t,this.colors=[],this.w=t.w;var n=this.w;this.isColorFn=!1,this.isHeatmapDistributed="treemap"===n.config.chart.type&&n.config.plotOptions.treemap.distributed||"heatmap"===n.config.chart.type&&n.config.plotOptions.heatmap.distributed,this.isBarDistributed=n.config.plotOptions.bar.distributed&&("bar"===n.config.chart.type||"rangeBar"===n.config.chart.type)}return c(e,[{key:"init",value:function(){this.setDefaultColors()}},{key:"setDefaultColors",value:function(){var e,t=this,n=this.w,i=new _;if(n.globals.dom.elWrap.classList.add("apexcharts-theme-".concat(n.config.theme.mode)),void 0===n.config.colors||0===(null===(e=n.config.colors)||void 0===e?void 0:e.length)?n.globals.colors=this.predefined():(n.globals.colors=n.config.colors,Array.isArray(n.config.colors)&&n.config.colors.length>0&&"function"==typeof n.config.colors[0]&&(n.globals.colors=n.config.series.map((function(e,i){var r=n.config.colors[i];return r||(r=n.config.colors[0]),"function"==typeof r?(t.isColorFn=!0,r({value:n.globals.axisCharts?n.globals.series[i][0]?n.globals.series[i][0]:0:n.globals.series[i],seriesIndex:i,dataPointIndex:i,w:n})):r})))),n.globals.seriesColors.map((function(e,t){e&&(n.globals.colors[t]=e)})),n.config.theme.monochrome.enabled){var r=[],a=n.globals.series.length;(this.isBarDistributed||this.isHeatmapDistributed)&&(a=n.globals.series[0].length*n.globals.series.length);for(var o=n.config.theme.monochrome.color,s=1/(a/n.config.theme.monochrome.shadeIntensity),l=n.config.theme.monochrome.shadeTo,c=0,u=0;u<a;u++){var d=void 0;"dark"===l?(d=i.shadeColor(-1*c,o),c+=s):(d=i.shadeColor(c,o),c+=s),r.push(d)}n.globals.colors=r.slice()}var h=n.globals.colors.slice();this.pushExtraColors(n.globals.colors),["fill","stroke"].forEach((function(e){void 0===n.config[e].colors?n.globals[e].colors=t.isColorFn?n.config.colors:h:n.globals[e].colors=n.config[e].colors.slice(),t.pushExtraColors(n.globals[e].colors)})),void 0===n.config.dataLabels.style.colors?n.globals.dataLabels.style.colors=h:n.globals.dataLabels.style.colors=n.config.dataLabels.style.colors.slice(),this.pushExtraColors(n.globals.dataLabels.style.colors,50),void 0===n.config.plotOptions.radar.polygons.fill.colors?n.globals.radarPolygons.fill.colors=["dark"===n.config.theme.mode?"#424242":"none"]:n.globals.radarPolygons.fill.colors=n.config.plotOptions.radar.polygons.fill.colors.slice(),this.pushExtraColors(n.globals.radarPolygons.fill.colors,20),void 0===n.config.markers.colors?n.globals.markers.colors=h:n.globals.markers.colors=n.config.markers.colors.slice(),this.pushExtraColors(n.globals.markers.colors)}},{key:"pushExtraColors",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=this.w,r=t||i.globals.series.length;if(null===n&&(n=this.isBarDistributed||this.isHeatmapDistributed||"heatmap"===i.config.chart.type&&i.config.plotOptions.heatmap.colorScale.inverse),n&&i.globals.series.length&&(r=i.globals.series[i.globals.maxValsInArrayIndex].length*i.globals.series.length),e.length<r)for(var a=r-e.length,o=0;o<a;
130o++)e.push(e[o])}},{key:"updateThemeOptions",value:function(e){e.chart=e.chart||{},e.tooltip=e.tooltip||{};var t=e.theme.mode||"light",n=e.theme.palette?e.theme.palette:"dark"===t?"palette4":"palette1",i=e.chart.foreColor?e.chart.foreColor:"dark"===t?"#f6f7f8":"#373d3f";return e.tooltip.theme=t,e.chart.foreColor=i,e.theme.palette=n,e}},{key:"predefined",value:function(){switch(this.w.config.theme.palette){case"palette1":default:this.colors=["#008FFB","#00E396","#FEB019","#FF4560","#775DD0"];break;case"palette2":this.colors=["#3f51b5","#03a9f4","#4caf50","#f9ce1d","#FF9800"];break;case"palette3":this.colors=["#33b2df","#546E7A","#d4526e","#13d8aa","#A5978B"];break;case"palette4":this.colors=["#4ecdc4","#c7f464","#81D4FA","#fd6a6a","#546E7A"];break;case"palette5":this.colors=["#2b908f","#f9a3a4","#90ee7e","#fa4443","#69d2e7"];break;case"palette6":this.colors=["#449DD1","#F86624","#EA3546","#662E9B","#C5D86D"];break;case"palette7":this.colors=["#D7263D","#1B998B","#2E294E","#F46036","#E2C044"];break;case"palette8":this.colors=["#662E9B","#F86624","#F9C80E","#EA3546","#43BCCD"];break;case"palette9":this.colors=["#5C4742","#A5978B","#8D5B4C","#5A2A27","#C4BBAF"];break;case"palette10":this.colors=["#A300D6","#7D02EB","#5653FE","#2983FF","#00B1F2"]}return this.colors}}]),e}(),ae=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"draw",value:function(){this.drawTitleSubtitle("title"),this.drawTitleSubtitle("subtitle")}},{key:"drawTitleSubtitle",value:function(e){var t=this.w,n="title"===e?t.config.title:t.config.subtitle,i=t.globals.svgWidth/2,r=n.offsetY,a="middle";if("left"===n.align?(i=10,a="start"):"right"===n.align&&(i=t.globals.svgWidth-10,a="end"),i+=n.offsetX,r=r+parseInt(n.style.fontSize,10)+n.margin/2,void 0!==n.text){var o=new k(this.ctx).drawText({x:i,y:r,text:n.text,textAnchor:a,fontSize:n.style.fontSize,fontFamily:n.style.fontFamily,fontWeight:n.style.fontWeight,foreColor:n.style.color,opacity:1});o.node.setAttribute("class","apexcharts-".concat(e,"-text")),t.globals.dom.Paper.add(o)}}}]),e}(),oe=function(){function e(t){s(this,e),this.w=t.w,this.dCtx=t}return c(e,[{key:"getTitleSubtitleCoords",value:function(e){var t=this.w,n=0,i=0,r="title"===e?t.config.title.floating:t.config.subtitle.floating,a=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(e,"-text"));if(null!==a&&!r){var o=a.getBoundingClientRect();n=o.width,i=t.globals.axisCharts?o.height+5:o.height}return{width:n,height:i}}},{key:"getLegendsRect",value:function(){var e=this.w,t=e.globals.dom.elLegendWrap;e.config.legend.height||"top"!==e.config.legend.position&&"bottom"!==e.config.legend.position||(t.style.maxHeight=e.globals.svgHeight/2+"px");var n=Object.assign({},_.getBoundingClientRect(t));return null!==t&&!e.config.legend.floating&&e.config.legend.show?this.dCtx.lgRect={x:n.x,y:n.y,height:n.height,width:0===n.height?0:n.width}:this.dCtx.lgRect={x:0,y:0,height:0,width:0},"left"!==e.config.legend.position&&"right"!==e.config.legend.position||1.5*this.dCtx.lgRect.width>e.globals.svgWidth&&(this.dCtx.lgRect.width=e.globals.svgWidth/1.5),this.dCtx.lgRect}},{key:"getLargestStringFromMultiArr",value:function(e,t){var n=e;if(this.w.globals.isMultiLineX){var i=t.map((function(e,t){return Array.isArray(e)?e.length:1})),r=Math.max.apply(Math,v(i));n=t[i.indexOf(r)]}return n}}]),e}(),se=function(){function e(t){s(this,e),this.w=t.w,this.dCtx=t}return c(e,[{key:"getxAxisLabelsCoords",value:function(){var e,t=this.w,n=t.globals.labels.slice();if(t.config.xaxis.convertedCatToNumeric&&0===n.length&&(n=t.globals.categoryLabels),t.globals.timescaleLabels.length>0){var i=this.getxAxisTimeScaleLabelsCoords();e={width:i.width,height:i.height},t.globals.rotateXLabels=!1}else{this.dCtx.lgWidthForSideLegends="left"!==t.config.legend.position&&"right"!==t.config.legend.position||t.config.legend.floating?0:this.dCtx.lgRect.width;var r=t.globals.xLabelFormatter,a=_.getLargestStringFromArr(n),o=this.dCtx.dimHelpers.getLargestStringFromMultiArr(a,n);
130t.globals.isBarHorizontal&&(o=a=t.globals.yAxisScale[0].result.reduce((function(e,t){return e.length>t.length?e:t}),0));var s=new P(this.dCtx.ctx),l=a;a=s.xLabelFormat(r,a,l,{i:void 0,dateFormatter:new D(this.dCtx.ctx).formatDate,w:t}),o=s.xLabelFormat(r,o,l,{i:void 0,dateFormatter:new D(this.dCtx.ctx).formatDate,w:t}),(t.config.xaxis.convertedCatToNumeric&&void 0===a||""===String(a).trim())&&(o=a="1");var c=new k(this.dCtx.ctx),u=c.getTextRects(a,t.config.xaxis.labels.style.fontSize),d=u;if(a!==o&&(d=c.getTextRects(o,t.config.xaxis.labels.style.fontSize)),(e={width:u.width>=d.width?u.width:d.width,height:u.height>=d.height?u.height:d.height}).width*n.length>t.globals.svgWidth-this.dCtx.lgWidthForSideLegends-this.dCtx.yAxisWidth-this.dCtx.gridPad.left-this.dCtx.gridPad.right&&0!==t.config.xaxis.labels.rotate||t.config.xaxis.labels.rotateAlways){if(!t.globals.isBarHorizontal){t.globals.rotateXLabels=!0;var h=function(e){return c.getTextRects(e,t.config.xaxis.labels.style.fontSize,t.config.xaxis.labels.style.fontFamily,"rotate(".concat(t.config.xaxis.labels.rotate," 0 0)"),!1)};u=h(a),a!==o&&(d=h(o)),e.height=(u.height>d.height?u.height:d.height)/1.5,e.width=u.width>d.width?u.width:d.width}}else t.globals.rotateXLabels=!1}return t.config.xaxis.labels.show||(e={width:0,height:0}),{width:e.width,height:e.height}}},{key:"getxAxisGroupLabelsCoords",value:function(){var e,t=this.w;if(!t.globals.hasXaxisGroups)return{width:0,height:0};var n,i=(null===(e=t.config.xaxis.group.style)||void 0===e?void 0:e.fontSize)||t.config.xaxis.labels.style.fontSize,r=t.globals.groups.map((function(e){return e.title})),a=_.getLargestStringFromArr(r),o=this.dCtx.dimHelpers.getLargestStringFromMultiArr(a,r),s=new k(this.dCtx.ctx),l=s.getTextRects(a,i),c=l;return a!==o&&(c=s.getTextRects(o,i)),n={width:l.width>=c.width?l.width:c.width,height:l.height>=c.height?l.height:c.height},t.config.xaxis.labels.show||(n={width:0,height:0}),{width:n.width,height:n.height}}},{key:"getxAxisTitleCoords",value:function(){var e=this.w,t=0,n=0;if(void 0!==e.config.xaxis.title.text){var i=new k(this.dCtx.ctx).getTextRects(e.config.xaxis.title.text,e.config.xaxis.title.style.fontSize);t=i.width,n=i.height}return{width:t,height:n}}},{key:"getxAxisTimeScaleLabelsCoords",value:function(){var e,t=this.w;this.dCtx.timescaleLabels=t.globals.timescaleLabels.slice();var n=this.dCtx.timescaleLabels.map((function(e){return e.value})),i=n.reduce((function(e,t){return void 0===e?(console.error("You have possibly supplied invalid Date format. Please supply a valid JavaScript Date"),0):e.length>t.length?e:t}),0);return 1.05*(e=new k(this.dCtx.ctx).getTextRects(i,t.config.xaxis.labels.style.fontSize)).width*n.length>t.globals.gridWidth&&0!==t.config.xaxis.labels.rotate&&(t.globals.overlappingXLabels=!0),e}},{key:"additionalPaddingXLabels",value:function(e){var t=this,n=this.w,i=n.globals,r=n.config,a=r.xaxis.type,o=e.width;i.skipLastTimelinelabel=!1,i.skipFirstTimelinelabel=!1;var s=n.config.yaxis[0].opposite&&n.globals.isBarHorizontal,l=function(e,s){r.yaxis.length>1&&function(e){return-1!==i.collapsedSeriesIndices.indexOf(e)}(s)||function(e){if(t.dCtx.timescaleLabels&&t.dCtx.timescaleLabels.length){var s=t.dCtx.timescaleLabels[0],l=t.dCtx.timescaleLabels[t.dCtx.timescaleLabels.length-1].position+o/1.75-t.dCtx.yAxisWidthRight,c=s.position-o/1.75+t.dCtx.yAxisWidthLeft,u="right"===n.config.legend.position&&t.dCtx.lgRect.width>0?t.dCtx.lgRect.width:0;l>i.svgWidth-i.translateX-u&&(i.skipLastTimelinelabel=!0),c<-(e.show&&!e.floating||"bar"!==r.chart.type&&"candlestick"!==r.chart.type&&"rangeBar"!==r.chart.type&&"boxPlot"!==r.chart.type?10:o/1.75)&&(i.skipFirstTimelinelabel=!0)}else"datetime"===a?t.dCtx.gridPad.right<o&&!i.rotateXLabels&&(i.skipLastTimelinelabel=!0):"datetime"!==a&&t.dCtx.gridPad.right<o/2-t.dCtx.yAxisWidthRight&&!i.rotateXLabels&&!n.config.xaxis.labels.trim&&("between"!==n.config.xaxis.tickPlacement||n.globals.isBarHorizontal)&&(t.dCtx.xPadRight=o/2+1)}(e)};r.yaxis.forEach((function(e,n){s?(t.dCtx.gridPad.left<o&&(t.dCtx.xPadLeft=o/2+1),t.dCtx.xPadRight=o/2+1):l(e,n)}))}}]),e}(),le=function(){function e(t){s(this,e),this.w=t.w,this.dCtx=t}
130return c(e,[{key:"getyAxisLabelsCoords",value:function(){var e=this,t=this.w,n=[],i=10,r=new U(this.dCtx.ctx);return t.config.yaxis.map((function(a,o){var s={seriesIndex:o,dataPointIndex:-1,w:t},l=t.globals.yAxisScale[o],c=0;if(!r.isYAxisHidden(o)&&a.labels.show&&void 0!==a.labels.minWidth&&(c=a.labels.minWidth),!r.isYAxisHidden(o)&&a.labels.show&&l.result.length){var u=t.globals.yLabelFormatters[o],d=l.niceMin===Number.MIN_VALUE?0:l.niceMin,h=l.result.reduce((function(e,t){var n,i;return(null===(n=String(u(e,s)))||void 0===n?void 0:n.length)>(null===(i=String(u(t,s)))||void 0===i?void 0:i.length)?e:t}),d),f=h=u(h,s);if(void 0!==h&&0!==h.length||(h=l.niceMax),t.globals.isBarHorizontal){i=0;var p=t.globals.labels.slice();h=_.getLargestStringFromArr(p),h=u(h,{seriesIndex:o,dataPointIndex:-1,w:t}),f=e.dCtx.dimHelpers.getLargestStringFromMultiArr(h,p)}var m=new k(e.dCtx.ctx),g="rotate(".concat(a.labels.rotate," 0 0)"),v=m.getTextRects(h,a.labels.style.fontSize,a.labels.style.fontFamily,g,!1),b=v;h!==f&&(b=m.getTextRects(f,a.labels.style.fontSize,a.labels.style.fontFamily,g,!1)),n.push({width:(c>b.width||c>v.width?c:b.width>v.width?b.width:v.width)+i,height:b.height>v.height?b.height:v.height})}else n.push({width:0,height:0})})),n}},{key:"getyAxisTitleCoords",value:function(){var e=this,t=this.w,n=[];return t.config.yaxis.map((function(t,i){if(t.show&&void 0!==t.title.text){var r=new k(e.dCtx.ctx),a="rotate(".concat(t.title.rotate," 0 0)"),o=r.getTextRects(t.title.text,t.title.style.fontSize,t.title.style.fontFamily,a,!1);n.push({width:o.width,height:o.height})}else n.push({width:0,height:0})})),n}},{key:"getTotalYAxisWidth",value:function(){var e=this.w,t=0,n=0,i=0,r=e.globals.yAxisScale.length>1?10:0,a=new U(this.dCtx.ctx),o=function(o,s){var l=e.config.yaxis[s].floating,c=0;o.width>0&&!l?(c=o.width+r,function(t){return e.globals.ignoreYAxisIndexes.indexOf(t)>-1}(s)&&(c=c-o.width-r)):c=l||a.isYAxisHidden(s)?0:5,e.config.yaxis[s].opposite?i+=c:n+=c,t+=c};return e.globals.yLabelsCoords.map((function(e,t){o(e,t)})),e.globals.yTitleCoords.map((function(e,t){o(e,t)})),e.globals.isBarHorizontal&&!e.config.yaxis[0].floating&&(t=e.globals.yLabelsCoords[0].width+e.globals.yTitleCoords[0].width+15),this.dCtx.yAxisWidthLeft=n,this.dCtx.yAxisWidthRight=i,t}}]),e}(),ce=function(){function e(t){s(this,e),this.w=t.w,this.dCtx=t}return c(e,[{key:"gridPadForColumnsInNumericAxis",value:function(e){var t=this.w;if(t.globals.noData||t.globals.allSeriesCollapsed)return 0;var n=function(e){return"bar"===e||"rangeBar"===e||"candlestick"===e||"boxPlot"===e},i=t.config.chart.type,r=0,a=n(i)?t.config.series.length:1;if(t.globals.comboBarCount>0&&(a=t.globals.comboBarCount),t.globals.collapsedSeries.forEach((function(e){n(e.type)&&(a-=1)})),t.config.chart.stacked&&(a=1),(n(i)||t.globals.comboBarCount>0)&&t.globals.isXNumeric&&!t.globals.isBarHorizontal&&a>0){var o,s,l=Math.abs(t.globals.initialMaxX-t.globals.initialMinX);l<=3&&(l=t.globals.dataPoints),o=l/e,t.globals.minXDiff&&t.globals.minXDiff/o>0&&(s=t.globals.minXDiff/o),s>e/2&&(s/=2),(r=s/a*parseInt(t.config.plotOptions.bar.columnWidth,10)/100)<1&&(r=1),r=r/(a>1?1:1.5)+5,t.globals.barPadForNumericAxis=r}return r}},{key:"gridPadFortitleSubtitle",value:function(){var e=this,t=this.w,n=t.globals,i=this.dCtx.isSparkline||!t.globals.axisCharts?0:10;["title","subtitle"].forEach((function(n){void 0!==t.config[n].text?i+=t.config[n].margin:i+=e.dCtx.isSparkline||!t.globals.axisCharts?0:5})),!t.config.legend.show||"bottom"!==t.config.legend.position||t.config.legend.floating||t.globals.axisCharts||(i+=10);var r=this.dCtx.dimHelpers.getTitleSubtitleCoords("title"),a=this.dCtx.dimHelpers.getTitleSubtitleCoords("subtitle");n.gridHeight=n.gridHeight-r.height-a.height-i,n.translateY=n.translateY+r.height+a.height+i}},{key:"setGridXPosForDualYAxis",value:function(e,t){var n=this.w,i=new U(this.dCtx.ctx);n.config.yaxis.map((function(r,a){-1!==n.globals.ignoreYAxisIndexes.indexOf(a)||r.floating||i.isYAxisHidden(a)||(r.opposite&&(n.globals.translateX=n.globals.translateX-(t[a].width+e[a].width)-parseInt(n.config.yaxis[a].labels.style.fontSize,10)/1.2-12),n.globals.translateX<2&&(n.globals.translateX=2))}))}}]),e}(),ue=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.lgRect={},this.yAxisWidth=0,this.yAxisWidthLeft=0,this.yAxisWidthRight=0,this.xAxisHeight=0,this.isSparkline=this.w.config.chart.sparkline.enabled,this.dimHelpers=new oe(this),this.dimYAxis=new le(this),this.dimXAxis=new se(this),this.dimGrid=new ce(this),this.lgWidthForSideLegends=0,this.gridPad=this.w.config.grid.padding,this.xPadRight=0,this.xPadLeft=0}return c(e,[{key:"plotCoords",value:function(){var e=this,t=this.w,n=t.globals;this.lgRect=this.dimHelpers.getLegendsRect(),this.isSparkline&&((t.config.markers.discrete.length>0||t.config.markers.size>
1300)&&Object.entries(this.gridPad).forEach((function(t){var n=g(t,2),i=n[0],r=n[1];e.gridPad[i]=Math.max(r,e.w.globals.markers.largestSize/1.5)})),this.gridPad.top=Math.max(t.config.stroke.width/2,this.gridPad.top),this.gridPad.bottom=Math.max(t.config.stroke.width/2,this.gridPad.bottom)),n.axisCharts?this.setDimensionsForAxisCharts():this.setDimensionsForNonAxisCharts(),this.dimGrid.gridPadFortitleSubtitle(),n.gridHeight=n.gridHeight-this.gridPad.top-this.gridPad.bottom,n.gridWidth=n.gridWidth-this.gridPad.left-this.gridPad.right-this.xPadRight-this.xPadLeft;var i=this.dimGrid.gridPadForColumnsInNumericAxis(n.gridWidth);n.gridWidth=n.gridWidth-2*i,n.translateX=n.translateX+this.gridPad.left+this.xPadLeft+(i>0?i+4:0),n.translateY=n.translateY+this.gridPad.top}},{key:"setDimensionsForAxisCharts",value:function(){var e=this,t=this.w,n=t.globals,i=this.dimYAxis.getyAxisLabelsCoords(),r=this.dimYAxis.getyAxisTitleCoords();t.globals.yLabelsCoords=[],t.globals.yTitleCoords=[],t.config.yaxis.map((function(e,n){t.globals.yLabelsCoords.push({width:i[n].width,index:n}),t.globals.yTitleCoords.push({width:r[n].width,index:n})})),this.yAxisWidth=this.dimYAxis.getTotalYAxisWidth();var a=this.dimXAxis.getxAxisLabelsCoords(),o=this.dimXAxis.getxAxisGroupLabelsCoords(),s=this.dimXAxis.getxAxisTitleCoords();this.conditionalChecksForAxisCoords(a,s,o),n.translateXAxisY=t.globals.rotateXLabels?this.xAxisHeight/8:-4,n.translateXAxisX=t.globals.rotateXLabels&&t.globals.isXNumeric&&t.config.xaxis.labels.rotate<=-45?-this.xAxisWidth/4:0,t.globals.isBarHorizontal&&(n.rotateXLabels=!1,n.translateXAxisY=parseInt(t.config.xaxis.labels.style.fontSize,10)/1.5*-1),n.translateXAxisY=n.translateXAxisY+t.config.xaxis.labels.offsetY,n.translateXAxisX=n.translateXAxisX+t.config.xaxis.labels.offsetX;var l=this.yAxisWidth,c=this.xAxisHeight;n.xAxisLabelsHeight=this.xAxisHeight-s.height,n.xAxisGroupLabelsHeight=n.xAxisLabelsHeight-a.height,n.xAxisLabelsWidth=this.xAxisWidth,n.xAxisHeight=this.xAxisHeight;var u=10;("radar"===t.config.chart.type||this.isSparkline)&&(l=0,c=n.goldenPadding),this.isSparkline&&(this.lgRect={height:0,width:0}),(this.isSparkline||"treemap"===t.config.chart.type)&&(l=0,c=0,u=0),this.isSparkline||this.dimXAxis.additionalPaddingXLabels(a);var d=function(){n.translateX=l,n.gridHeight=n.svgHeight-e.lgRect.height-c-(e.isSparkline||"treemap"===t.config.chart.type?0:t.globals.rotateXLabels?10:15),n.gridWidth=n.svgWidth-l};switch("top"===t.config.xaxis.position&&(u=n.xAxisHeight-t.config.xaxis.axisTicks.height-5),t.config.legend.position){case"bottom":n.translateY=u,d();break;case"top":n.translateY=this.lgRect.height+u,d();break;case"left":n.translateY=u,n.translateX=this.lgRect.width+l,n.gridHeight=n.svgHeight-c-12,n.gridWidth=n.svgWidth-this.lgRect.width-l;break;case"right":n.translateY=u,n.translateX=l,n.gridHeight=n.svgHeight-c-12,n.gridWidth=n.svgWidth-this.lgRect.width-l-5;break;default:throw new Error("Legend position not supported")}this.dimGrid.setGridXPosForDualYAxis(r,i),new Z(this.ctx).setYAxisXPosition(i,r)}},{key:"setDimensionsForNonAxisCharts",value:function(){var e=this.w,t=e.globals,n=e.config,i=0;e.config.legend.show&&!e.config.legend.floating&&(i=20);var r="pie"===n.chart.type||"polarArea"===n.chart.type||"donut"===n.chart.type?"pie":"radialBar",a=n.plotOptions[r].offsetY,o=n.plotOptions[r].offsetX;if(!n.legend.show||n.legend.floating)return t.gridHeight=t.svgHeight-n.grid.padding.left+n.grid.padding.right,t.gridWidth=t.gridHeight,t.translateY=a,void(t.translateX=o+(t.svgWidth-t.gridWidth)/2);switch(n.legend.position){case"bottom":t.gridHeight=t.svgHeight-this.lgRect.height-t.goldenPadding,t.gridWidth=t.svgWidth,t.translateY=a-10,t.translateX=o+(t.svgWidth-t.gridWidth)/2;break;case"top":t.gridHeight=t.svgHeight-this.lgRect.height-t.goldenPadding,t.gridWidth=t.svgWidth,t.translateY=this.lgRect.height+a+10,t.translateX=o+(t.svgWidth-t.gridWidth)/2;break;case"left":t.gridWidth=t.svgWidth-this.lgRect.width-i,t.gridHeight="auto"!==n.chart.height?t.svgHeight:t.gridWidth,t.translateY=a,t.translateX=o+this.lgRect.width+i;break;case"right":t.gridWidth=t.svgWidth-this.lgRect.width-i-5,t.gridHeight="auto"!==n.chart.height?t.svgHeight:t.gridWidth,t.translateY=a,t.translateX=o+10;break;default:throw new Error("Legend position not supported")}}},{key:"conditionalChecksForAxisCoords",value:function(e,t,n){var i=this.w,r=i.globals.hasXaxisGroups?2:1,a=n.height+e.height+t.height,o=i.globals.isMultiLineX?1.2:i.globals.LINE_HEIGHT_RATIO,s=i.globals.rotateXLabels?22:10,l=i.globals.rotateXLabels&&"bottom"===i.config.legend.position?10:0;this.xAxisHeight=a*o+r*s+l,this.xAxisWidth=e.width,this.xAxisHeight-t.height>i.config.xaxis.labels.maxHeight&&(this.xAxisHeight=i.config.xaxis.labels.maxHeight),i.config.xaxis.labels.minHeight&&this.xAxisHeight<i.config.xaxis.labels.minHeight&&(this.xAxisHeight=i.config.xaxis.labels.minHeight),i.config.xaxis.floating&&(this.xAxisHeight=0);var c=0,u=0;i.config.yaxis.forEach((function(e){c+=e.labels.minWidth,u+=e.labels.maxWidth})),this.yAxisWidth<c&&(this.yAxisWidth=c),this.yAxisWidth>u&&(this.yAxisWidth=u)}}]),e}(),de=function(){function e(t){s(this,e),this.w=t.w,this.lgCtx=t}return c(e,[{key:"getLegendStyles",value:function(){var e,t,n,i=document.createElement("style");i.setAttribute("type","text/css");var r=(null===(e=this.lgCtx.ctx)||void 0===e||null===(t=e.opts)||void 0===t||null===(n=t.chart)||void 0===n?void 0:n.nonce)||this.w.config.chart.nonce;r&&i.setAttribute("nonce",r);var a=document.createTextNode("\t\n \t\n .apexcharts-legend {\t\n display: flex;\t\n overflow: auto;\t\n padding: 0 10px;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom, .apexcharts-legend.apx-legend-position-top {\t\n flex-wrap: wrap\t\n }\t\n .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {\t\n flex-direction: column;\t\n bottom: 0;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-left, .apexcharts-legend.apx-legend-position-top.apexcharts-align-left, .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {\t\n justify-content: flex-start;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-center, .apexcharts-legend.apx-legend-position-top.apexcharts-align-center {\t\n justify-content: center; \t\n }\t\n .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-right, .apexcharts-legend.apx-legend-position-top.apexcharts-align-right {\t\n justify-content: flex-end;\t\n }\t\n .apexcharts-legend-series {\t\n cursor: pointer;\t\n line-height: normal;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom .apexcharts-legend-series, .apexcharts-legend.apx-legend-position-top .apexcharts-legend-series{\t\n display: flex;\t\n align-items: center;\t\n }\t\n .apexcharts-legend-text {\t\n position: relative;\t\n font-size: 14px;\t\n }\t\n .apexcharts-legend-text *, .apexcharts-legend-marker * {\t\n pointer-events: none;\t\n }\t\n .apexcharts-legend-marker {\t\n position: relative;\t\n display: inline-block;\t\n cursor: pointer;\t\n margin-right: 3px;\t\n border-style: solid;\n }\t\n \t\n .apexcharts-legend.apexcharts-align-right .apexcharts-legend-series, .apexcharts-legend.apexcharts-align-left .apexcharts-legend-series{\t\n display: inline-block;\t\n }\t\n .apexcharts-legend-series.apexcharts-no-click {\t\n cursor: auto;\t\n }\t\n .apexcharts-legend .apexcharts-hidden-zero-series, .apexcharts-legend .apexcharts-hidden-null-series {\t\n display: none !important;\t\n }\t\n .apexcharts-inactive-legend {\t\n opacity: 0.45;\t\n }");return i.appendChild(a),i}},{key:"getLegendBBox",value:function(){var e=this.w.globals.dom.baseEl.querySelector(".apexcharts-legend").getBoundingClientRect(),t=e.width;
130return{clwh:e.height,clww:t}}},{key:"appendToForeignObject",value:function(){this.w.globals.dom.elLegendForeign.appendChild(this.getLegendStyles())}},{key:"toggleDataSeries",value:function(e,t){var n=this,i=this.w;if(i.globals.axisCharts||"radialBar"===i.config.chart.type){i.globals.resized=!0;var r=null,a=null;i.globals.risingSeries=[],i.globals.axisCharts?(r=i.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(e,"']")),a=parseInt(r.getAttribute("data:realIndex"),10)):(r=i.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(e+1,"']")),a=parseInt(r.getAttribute("rel"),10)-1),t?[{cs:i.globals.collapsedSeries,csi:i.globals.collapsedSeriesIndices},{cs:i.globals.ancillaryCollapsedSeries,csi:i.globals.ancillaryCollapsedSeriesIndices}].forEach((function(e){n.riseCollapsedSeries(e.cs,e.csi,a)})):this.hideSeries({seriesEl:r,realIndex:a})}else{var o=i.globals.dom.Paper.select(" .apexcharts-series[rel='".concat(e+1,"'] path")),s=i.config.chart.type;if("pie"===s||"polarArea"===s||"donut"===s){var l=i.config.plotOptions.pie.donut.labels;new k(this.lgCtx.ctx).pathMouseDown(o.members[0],null),this.lgCtx.ctx.pie.printDataLabelsInner(o.members[0].node,l)}o.fire("click")}}},{key:"hideSeries",value:function(e){var t=e.seriesEl,n=e.realIndex,i=this.w,r=_.clone(i.config.series);if(i.globals.axisCharts){var a=!1;if(i.config.yaxis[n]&&i.config.yaxis[n].show&&i.config.yaxis[n].showAlways&&(a=!0,i.globals.ancillaryCollapsedSeriesIndices.indexOf(n)<0&&(i.globals.ancillaryCollapsedSeries.push({index:n,data:r[n].data.slice(),type:t.parentNode.className.baseVal.split("-")[1]}),i.globals.ancillaryCollapsedSeriesIndices.push(n))),!a){i.globals.collapsedSeries.push({index:n,data:r[n].data.slice(),type:t.parentNode.className.baseVal.split("-")[1]}),i.globals.collapsedSeriesIndices.push(n);var o=i.globals.risingSeries.indexOf(n);i.globals.risingSeries.splice(o,1)}}else i.globals.collapsedSeries.push({index:n,data:r[n]}),i.globals.collapsedSeriesIndices.push(n);for(var s=t.childNodes,l=0;l<s.length;l++)s[l].classList.contains("apexcharts-series-markers-wrap")&&(s[l].classList.contains("apexcharts-hide")?s[l].classList.remove("apexcharts-hide"):s[l].classList.add("apexcharts-hide"));i.globals.allSeriesCollapsed=i.globals.collapsedSeries.length===i.config.series.length,r=this._getSeriesBasedOnCollapsedState(r),this.lgCtx.ctx.updateHelpers._updateSeries(r,i.config.chart.animations.dynamicAnimation.enabled)}},{key:"riseCollapsedSeries",value:function(e,t,n){var i=this.w,r=_.clone(i.config.series);if(e.length>0){for(var a=0;a<e.length;a++)e[a].index===n&&(i.globals.axisCharts?(r[n].data=e[a].data.slice(),e.splice(a,1),t.splice(a,1),i.globals.risingSeries.push(n)):(r[n]=e[a].data,e.splice(a,1),t.splice(a,1),i.globals.risingSeries.push(n)));r=this._getSeriesBasedOnCollapsedState(r),this.lgCtx.ctx.updateHelpers._updateSeries(r,i.config.chart.animations.dynamicAnimation.enabled)}}},{key:"_getSeriesBasedOnCollapsedState",value:function(e){var t=this.w;return t.globals.axisCharts?e.forEach((function(n,i){t.globals.collapsedSeriesIndices.indexOf(i)>-1&&(e[i].data=[])})):e.forEach((function(n,i){t.globals.collapsedSeriesIndices.indexOf(i)>-1&&(e[i]=0)})),e}}]),e}(),he=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.onLegendClick=this.onLegendClick.bind(this),this.onLegendHovered=this.onLegendHovered.bind(this),this.isBarsDistributed="bar"===this.w.config.chart.type&&this.w.config.plotOptions.bar.distributed&&1===this.w.config.series.length,this.legendHelpers=new de(this)}return c(e,[{key:"init",value:function(){var e=this.w,t=e.globals,n=e.config;if((n.legend.showForSingleSeries&&1===t.series.length||this.isBarsDistributed||t.series.length>1||!t.axisCharts)&&n.legend.show){for(;t.dom.elLegendWrap.firstChild;)t.dom.elLegendWrap.removeChild(t.dom.elLegendWrap.firstChild);this.drawLegends(),_.isIE11()?document.getElementsByTagName("head")[0].appendChild(this.legendHelpers.getLegendStyles()):this.legendHelpers.appendToForeignObject(),"bottom"===n.legend.position||"top"===n.legend.position?this.legendAlignHorizontal():"right"!==n.legend.position&&"left"!==n.legend.position||this.legendAlignVertical()}}},{key:"drawLegends",value:function(){var e=this,t=this.w,n=t.config.legend.fontFamily,i=t.globals.seriesNames,r=t.globals.colors.slice();if("heatmap"===t.config.chart.type){var a=t.config.plotOptions.heatmap.colorScale.ranges;i=a.map((function(e){return e.name?e.name:e.from+" - "+e.to})),r=a.map((function(e){return e.color}))}else this.isBarsDistributed&&(i=t.globals.labels.slice());t.config.legend.customLegendItems.length&&(i=t.config.legend.customLegendItems);for(var o=t.globals.legendFormatter,s=t.config.legend.inverseOrder,l=s?i.length-1:0;s?l>=0:l<=i.length-1;s?l--:l++){var c,u=o(i[l],{seriesIndex:l,w:t}),d=!1,h=!1;if(t.globals.collapsedSeries.length>0)for(var f=0;f<t.globals.collapsedSeries.length;f++)t.globals.collapsedSeries[f].index===l&&(d=!0);if(t.globals.ancillaryCollapsedSeriesIndices.length>0)for(var p=0;p<t.globals.ancillaryCollapsedSeriesIndices.length;p++)t.globals.ancillaryCollapsedSeriesIndices[p]===l&&(h=!0);var m=document.createElement("span");m.classList.add("apexcharts-legend-marker");var g=t.config.legend.markers.offsetX,v=t.config.legend.markers.offsetY,b=t.config.legend.markers.height,y=t.config.legend.markers.width,x=t.config.legend.markers.strokeWidth,w=t.config.legend.markers.strokeColor,M=t.config.legend.markers.radius,L=m.style;L.background=r[l],L.color=r[l],L.setProperty("background",r[l],"important"),t.config.legend.markers.fillColors&&t.config.legend.markers.fillColors[l]&&(L.background=t.config.legend.markers.fillColors[l]),void 0!==t.globals.seriesColors[l]&&(L.background=t.globals.seriesColors[l],L.color=t.globals.seriesColors[l]),L.height=Array.isArray(b)?parseFloat(b[l])+"px":parseFloat(b)+"px",L.width=Array.isArray(y)?parseFloat(y[l])+"px":parseFloat(y)+"px",L.left=(Array.isArray(g)?parseFloat(g[l]):parseFloat(g))+"px",L.top=(Array.isArray(v)?parseFloat(v[l]):parseFloat(v))+"px",L.borderWidth=Array.isArray(x)?x[l]:x,L.borderColor=Array.isArray(w)?w[l]:w,L.borderRadius=Array.isArray(M)?parseFloat(M[l])+"px":parseFloat(M
130)+"px",t.config.legend.markers.customHTML&&(Array.isArray(t.config.legend.markers.customHTML)?t.config.legend.markers.customHTML[l]&&(m.innerHTML=t.config.legend.markers.customHTML[l]()):m.innerHTML=t.config.legend.markers.customHTML()),k.setAttrs(m,{rel:l+1,"data:collapsed":d||h}),(d||h)&&m.classList.add("apexcharts-inactive-legend");var A=document.createElement("div"),O=document.createElement("span");O.classList.add("apexcharts-legend-text"),O.innerHTML=Array.isArray(u)?u.join(" "):u;var C=t.config.legend.labels.useSeriesColors?t.globals.colors[l]:Array.isArray(t.config.legend.labels.colors)?null===(c=t.config.legend.labels.colors)||void 0===c?void 0:c[l]:t.config.legend.labels.colors;C||(C=t.config.chart.foreColor),O.style.color=C,O.style.fontSize=parseFloat(t.config.legend.fontSize)+"px",O.style.fontWeight=t.config.legend.fontWeight,O.style.fontFamily=n||t.config.chart.fontFamily,k.setAttrs(O,{rel:l+1,i:l,"data:default-text":encodeURIComponent(u),"data:collapsed":d||h}),A.appendChild(m),A.appendChild(O);var T=new S(this.ctx);t.config.legend.showForZeroSeries||0===T.getSeriesTotalByIndex(l)&&T.seriesHaveSameValues(l)&&!T.isSeriesNull(l)&&-1===t.globals.collapsedSeriesIndices.indexOf(l)&&-1===t.globals.ancillaryCollapsedSeriesIndices.indexOf(l)&&A.classList.add("apexcharts-hidden-zero-series"),t.config.legend.showForNullSeries||T.isSeriesNull(l)&&-1===t.globals.collapsedSeriesIndices.indexOf(l)&&-1===t.globals.ancillaryCollapsedSeriesIndices.indexOf(l)&&A.classList.add("apexcharts-hidden-null-series"),t.globals.dom.elLegendWrap.appendChild(A),t.globals.dom.elLegendWrap.classList.add("apexcharts-align-".concat(t.config.legend.horizontalAlign)),t.globals.dom.elLegendWrap.classList.add("apx-legend-position-"+t.config.legend.position),A.classList.add("apexcharts-legend-series"),A.style.margin="".concat(t.config.legend.itemMargin.vertical,"px ").concat(t.config.legend.itemMargin.horizontal,"px"),t.globals.dom.elLegendWrap.style.width=t.config.legend.width?t.config.legend.width+"px":"",t.globals.dom.elLegendWrap.style.height=t.config.legend.height?t.config.legend.height+"px":"",k.setAttrs(A,{rel:l+1,seriesName:_.escapeString(i[l]),"data:collapsed":d||h}),(d||h)&&A.classList.add("apexcharts-inactive-legend"),t.config.legend.onItemClick.toggleDataSeries||A.classList.add("apexcharts-no-click")}t.globals.dom.elWrap.addEventListener("click",e.onLegendClick,!0),t.config.legend.onItemHover.highlightDataSeries&&0===t.config.legend.customLegendItems.length&&(t.globals.dom.elWrap.addEventListener("mousemove",e.onLegendHovered,!0),t.globals.dom.elWrap.addEventListener("mouseout",e.onLegendHovered,!0))}},{key:"setLegendWrapXY",value:function(e,t){var n=this.w,i=n.globals.dom.elLegendWrap,r=i.getBoundingClientRect(),a=0,o=0;if("bottom"===n.config.legend.position)o+=n.globals.svgHeight-r.height/2;else if("top"===n.config.legend.position){var s=new ue(this.ctx),l=s.dimHelpers.getTitleSubtitleCoords("title").height,c=s.dimHelpers.getTitleSubtitleCoords("subtitle").height;o=o+(l>0?l-10:0)+(c>0?c-10:0)}i.style.position="absolute",a=a+e+n.config.legend.offsetX,o=o+t+n.config.legend.offsetY,i.style.left=a+"px",i.style.top=o+"px","bottom"===n.config.legend.position?(i.style.top="auto",i.style.bottom=5-n.config.legend.offsetY+"px"):"right"===n.config.legend.position&&(i.style.left="auto",i.style.right=25+n.config.legend.offsetX+"px"),["width","height"].forEach((function(e){i.style[e]&&(i.style[e]=parseInt(n.config.legend[e],10)+"px")}))}},{key:"legendAlignHorizontal",value:function(){var e=this.w;e.globals.dom.elLegendWrap.style.right=0;var t=this.legendHelpers.getLegendBBox(),n=new ue(this.ctx),i=n.dimHelpers.getTitleSubtitleCoords("title"),r=n.dimHelpers.getTitleSubtitleCoords("subtitle"),a=0;"bottom"===e.config.legend.position?a=-t.clwh/1.8:"top"===e.config.legend.position&&(a=i.height+r.height+e.config.title.margin+e.config.subtitle.margin-10),this.setLegendWrapXY(20,a)}},{key:"legendAlignVertical",value:function(){var e=this.w,t=this.legendHelpers.getLegendBBox(),n=0;"left"===e.config.legend.position&&(n=20),"right"===e.config.legend.position&&(n=e.globals.svgWidth-t.clww-10),this.setLegendWrapXY(n,20)}},{key:"onLegendHovered",value:function(e){var t=this.w,n=e.target.classList.contains("apexcharts-legend-series")||e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker");if("heatmap"===t.config.chart.type||this.isBarsDistributed){if(n){var i=parseInt(e.target.getAttribute("rel"),10)-1;this.ctx.events.fireEvent("legendHover",[this.ctx,i,this.w]),new V(this.ctx).highlightRangeInSeries(e,e.target)}}else!e.target.classList.contains("apexcharts-inactive-legend")&&n&&new V(this.ctx).toggleSeriesOnHover(e,e.target)}},{key:"onLegendClick",value:function(e){var t=this.w;if(!t.config.legend.customLegendItems.length&&(e.target.classList.contains("apexcharts-legend-series")||e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker"))){var n=parseInt(e.target.getAttribute("rel"),10)-1,i="true"===e.target.getAttribute("data:collapsed"),r=this.w.config.chart.events.legendClick;"function"==typeof r&&r(this.ctx,n,this.w),this.ctx.events.fireEvent("legendClick",[this.ctx,n,this.w]);var a=this.w.config.legend.markers.onClick;"function"==typeof a&&e.target.classList.contains("apexcharts-legend-marker")&&(a(this.ctx,n,this.w),this.ctx.events.fireEvent("legendMarkerClick",[this.ctx,n,this.w])),"treemap"!==t.config.chart.type&&"heatmap"!==t.config.chart.type&&!this.isBarsDistributed&&t.config.legend.onItemClick.toggleDataSeries&&this.legendHelpers.toggleDataSeries(n,i)}}}]),e}(),fe=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w;var n=this.w;this.ev=this.w.config.chart.events,this.selectedClass="apexcharts-selected",this.localeValues=this.w.globals.locale.toolbar,this.minX=n.globals.minX,this.maxX=n.globals.maxX}return c(e,[{key:"createToolbar",value:function(){var e=this,t=this.w,n=function(){return document.createElement("div")},i=n();if(i.setAttribute("class","apexcharts-toolbar"),i.style.top=t.config.chart.toolbar.offsetY+"px",i.style.right=3-t.config.chart.toolbar.offsetX+"px",t.globals.dom.elWrap.appendChild(i),this.elZoom=n(),this.elZoomIn=n(),this.elZoomOut=n(),this.elPan=n(),this.elSelection=n(),this.elZoomReset=n(),this.elMenuIcon=n(),this.elMenu=n(),this.elCustomIcons=[],this.t=t.config.chart.toolbar.tools,Array.isArray(this.t.customIcons))for(var r=0;r<this.t.customIcons.length;r++)this.elCustomIcons.push(n());var a=[],o=function(n,i,r){var o=n.toLowerCase();e.t[o]&&t.config.chart.zoom.enabled&&a.push({el:i,icon:"string"==typeof e.t[o]?e.t[o]:r,title:e.localeValues[n],class:"apexcharts-".concat(o,"-icon")})};o("zoomIn",this.elZoomIn,'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <path d="M0 0h24v24H0z" fill="none"/>\n <path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>\n</svg>\n'),o("zoomOut",this.elZoomOut,'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <path d="M0 0h24v24H0z" fill="none"/>\n <path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>\n</svg>\n');var s=function(n){e.t[n]&&t.config.chart[n].enabled&&a.push({el:"zoom"===n?e.elZoom:e.elSelection,icon:"string"==typeof e.t[n]?e.t[n]:"zoom"===n?'<svg xmlns="http://www.w3.org/2000/svg" fill="#000000" height="24" viewBox="0 0 24 24" width="24">\n <path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>\n <path d="M0 0h24v24H0V0z" fill="none"/>\n <path d="M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"/>\n</svg>':'<svg fill="#6E8192" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <path d="M0 0h24v24H0z" fill="none"/>\n <path d="M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2z"/>\n</svg>',title:e.localeValues["zoom"===n?"selectionZoom":"selection"],class:t.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-".concat(n,"-icon")})};s("zoom"),s("selection"),this.t.pan&&t.config.chart.zoom.enabled&&a.push({el:this.elPan,icon:"string"==typeof this.t.pan?this.t.pan:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000" height="24" viewBox="0 0 24 24" width="24">\n <defs>\n <path d="M0 0h24v24H0z" id="a"/>\n </defs>\n <clipPath id="b">\n <use overflow="visible" xlink:href="#a"/>\n </clipPath>\n <path clip-path="url(#b)" d="M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08
1300-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5z"/>\n</svg>',title:this.localeValues.pan,class:t.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-pan-icon"}),o("reset",this.elZoomReset,'<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>\n <path d="M0 0h24v24H0z" fill="none"/>\n</svg>'),this.t.download&&a.push({el:this.elMenuIcon,icon:"string"==typeof this.t.download?this.t.download:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg>',title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var l=0;l<this.elCustomIcons.length;l++)a.push({el:this.elCustomIcons[l],icon:this.t.customIcons[l].icon,title:this.t.customIcons[l].title,index:this.t.customIcons[l].index,class:"apexcharts-toolbar-custom-icon "+this.t.customIcons[l].class});a.forEach((function(e,t){e.index&&_.moveIndexInArray(a,t,e.index)}));for(var c=0;c<a.length;c++)k.setAttrs(a[c].el,{class:a[c].class,title:a[c].title}),a[c].el.innerHTML=a[c].icon,i.appendChild(a[c].el);this._createHamburgerMenu(i),t.globals.zoomEnabled?this.elZoom.classList.add(this.selectedClass):t.globals.panEnabled?this.elPan.classList.add(this.selectedClass):t.globals.selectionEnabled&&this.elSelection.classList.add(this.selectedClass),this.addToolbarEventListeners()}},{key:"_createHamburgerMenu",value:function(e){this.elMenuItems=[],e.appendChild(this.elMenu),k.setAttrs(this.elMenu,{class:"apexcharts-menu"});for(var t=[{name:"exportSVG",title:this.localeValues.exportToSVG},{name:"exportPNG",title:this.localeValues.exportToPNG},{name:"exportCSV",title:this.localeValues.exportToCSV}],n=0;n<t.length;n++)this.elMenuItems.push(document.createElement("div")),this.elMenuItems[n].innerHTML=t[n].title,k.setAttrs(this.elMenuItems[n],{class:"apexcharts-menu-item ".concat(t[n].name),title:t[n].title}),this.elMenu.appendChild(this.elMenuItems[n])}},{key:"addToolbarEventListeners",value:function(){var e=this;this.elZoomReset.addEventListener("click",this.handleZoomReset.bind(this)),this.elSelection.addEventListener("click",this.toggleZoomSelection.bind(this,"selection")),this.elZoom.addEventListener("click",this.toggleZoomSelection.bind(this,"zoom")),this.elZoomIn.addEventListener("click",this.handleZoomIn.bind(this)),this.elZoomOut.addEventListener("click",this.handleZoomOut.bind(this)),this.elPan.addEventListener("click",this.togglePanning.bind(this)),this.elMenuIcon.addEventListener("click",this.toggleMenu.bind(this)),this.elMenuItems.forEach((function(t){t.classList.contains("exportSVG")?t.addEventListener("click",e.handleDownload.bind(e,"svg")):t.classList.contains("exportPNG")?t.addEventListener("click",e.handleDownload.bind(e,"png")):t.classList.contains("exportCSV")&&t.addEventListener("click",e.handleDownload.bind(e,"csv"))}));for(var t=0;t<this.t.customIcons.length;t++)this.elCustomIcons[t].addEventListener("click",this.t.customIcons[t].click.bind(this,this.ctx,this.ctx.w))}},{key:"toggleZoomSelection",value:function(e){this.ctx.getSyncedCharts().forEach((function(t){t.ctx.toolbar.toggleOtherControls();var n="selection"===e?t.ctx.toolbar.elSelection:t.ctx.toolbar.elZoom,i="selection"===e?"selectionEnabled":"zoomEnabled";t.w.globals[i]=!t.w.globals[i],n.classList.contains(t.ctx.toolbar.selectedClass)?n.classList.remove(t.ctx.toolbar.selectedClass):n.classList.add(t.ctx.toolbar.selectedClass)}))}},{key:"getToolbarIconsReference",value:function(){var e=this.w;this.elZoom||(this.elZoom=e.globals.dom.baseEl.querySelector(".apexcharts-zoom-icon")),this.elPan||(this.elPan=e.globals.dom.baseEl.querySelector(".apexcharts-pan-icon")),this.elSelection||(this.elSelection=e.globals.dom.baseEl.querySelector(".apexcharts-selection-icon"))}},{key:"enableZoomPanFromToolbar",value:function(e){this.toggleOtherControls(),"pan"===e?this.w.globals.panEnabled=!0:this.w.globals.zoomEnabled=!0;var t="pan"===e?this.elPan:this.elZoom,n="pan"===e?this.elZoom:this.elPan;t&&t.classList.add(this.selectedClass),n&&n.classList.remove(this.selectedClass)}},{key:"togglePanning",value:function(){this.ctx.getSyncedCharts().forEac
130h((function(e){e.ctx.toolbar.toggleOtherControls(),e.w.globals.panEnabled=!e.w.globals.panEnabled,e.ctx.toolbar.elPan.classList.contains(e.ctx.toolbar.selectedClass)?e.ctx.toolbar.elPan.classList.remove(e.ctx.toolbar.selectedClass):e.ctx.toolbar.elPan.classList.add(e.ctx.toolbar.selectedClass)}))}},{key:"toggleOtherControls",value:function(){var e=this,t=this.w;t.globals.panEnabled=!1,t.globals.zoomEnabled=!1,t.globals.selectionEnabled=!1,this.getToolbarIconsReference(),[this.elPan,this.elSelection,this.elZoom].forEach((function(t){t&&t.classList.remove(e.selectedClass)}))}},{key:"handleZoomIn",value:function(){var e=this.w;e.globals.isRangeBar&&(this.minX=e.globals.minY,this.maxX=e.globals.maxY);var t=(this.minX+this.maxX)/2,n=(this.minX+t)/2,i=(this.maxX+t)/2,r=this._getNewMinXMaxX(n,i);e.globals.disableZoomIn||this.zoomUpdateOptions(r.minX,r.maxX)}},{key:"handleZoomOut",value:function(){var e=this.w;if(e.globals.isRangeBar&&(this.minX=e.globals.minY,this.maxX=e.globals.maxY),!("datetime"===e.config.xaxis.type&&new Date(this.minX).getUTCFullYear()<1e3)){var t=(this.minX+this.maxX)/2,n=this.minX-(t-this.minX),i=this.maxX-(t-this.maxX),r=this._getNewMinXMaxX(n,i);e.globals.disableZoomOut||this.zoomUpdateOptions(r.minX,r.maxX)}}},{key:"_getNewMinXMaxX",value:function(e,t){var n=this.w.config.xaxis.convertedCatToNumeric;return{minX:n?Math.floor(e):e,maxX:n?Math.floor(t):t}}},{key:"zoomUpdateOptions",value:function(e,t){var n=this.w;if(void 0!==e||void 0!==t){if(!(n.config.xaxis.convertedCatToNumeric&&(e<1&&(e=1,t=n.globals.dataPoints),t-e<2))){var i={min:e,max:t},r=this.getBeforeZoomRange(i);r&&(i=r.xaxis);var a={xaxis:i},o=_.clone(n.globals.initialConfig.yaxis);n.config.chart.zoom.autoScaleYaxis&&(o=new J(this.ctx).autoScaleY(this.ctx,o,{xaxis:i})),n.config.chart.group||(a.yaxis=o),this.w.globals.zoomed=!0,this.ctx.updateHelpers._updateOptions(a,!1,this.w.config.chart.animations.dynamicAnimation.enabled),this.zoomCallback(i,o)}}else this.handleZoomReset()}},{key:"zoomCallback",value:function(e,t){"function"==typeof this.ev.zoomed&&this.ev.zoomed(this.ctx,{xaxis:e,yaxis:t})}},{key:"getBeforeZoomRange",value:function(e,t){var n=null;return"function"==typeof this.ev.beforeZoom&&(n=this.ev.beforeZoom(this,{xaxis:e,yaxis:t})),n}},{key:"toggleMenu",value:function(){var e=this;window.setTimeout((function(){e.elMenu.classList.contains("apexcharts-menu-open")?e.elMenu.classList.remove("apexcharts-menu-open"):e.elMenu.classList.add("apexcharts-menu-open")}),0)}},{key:"handleDownload",value:function(e){var t=this.w,n=new X(this.ctx);switch(e){case"svg":n.exportToSVG(this.ctx);break;case"png":n.exportToPng(this.ctx);break;case"csv":n.exportToCSV({series:t.config.series,columnDelimiter:t.config.chart.toolbar.export.csv.columnDelimiter})}}},{key:"handleZoomReset",value:function(e){this.ctx.getSyncedCharts().forEach((function(e){var t=e.w;if(t.globals.lastXAxis.min=t.globals.initialConfig.xaxis.min,t.globals.lastXAxis.max=t.globals.initialConfig.xaxis.max,e.updateHelpers.revertDefaultAxisMinMax(),"function"==typeof t.config.chart.events.beforeResetZoom){var n=t.config.chart.events.beforeResetZoom(e,t);n&&e.updateHelpers.revertDefaultAxisMinMax(n)}"function"==typeof t.config.chart.events.zoomed&&e.ctx.toolbar.zoomCallback({min:t.config.xaxis.min,max:t.config.xaxis.max}),t.globals.zoomed=!1;var i=e.ctx.series.emptyCollapsedSeries(_.clone(t.globals.initialSeries));e.updateHelpers._updateSeries(i,t.config.chart.animations.dynamicAnimation.enabled)}))}},{key:"destroy",value:function(){this.elZoom=null,this.elZoomIn=null,this.elZoomOut=null,this.elPan=null,this.elSelection=null,this.elZoomReset=null,this.elMenuIcon=null}}]),e}(),pe=function(e){d(n,e);var t=m(n);function n(e){var i;return s(this,n),(i=t.call(this,e)).ctx=e,i.w=e.w,i.dragged=!1,i.graphics=new k(i.ctx),i.eventList=["mousedown","mouseleave","mousemove","touchstart","touchmove","mouseup","touchend"],i.clientX=0,i.clientY=0,i.startX=0,i.endX=0,i.dragX=0,i.startY=0,i.endY=0,i.dragY=0,i.moveDirection="none",i}return c(n,[{key:"init",value:function(e){var t=this,n=e.xyRatios,i=this.w,r=this;this.xyRatios=n,this.zoomRect=this.graphics.drawRect(0,0,0,0),this.selectionRect=this.graphics.drawRect(0,0,0,0),this.gridRect=i.globals.dom.baseEl.querySelector(".apexcharts-grid"),this.zoomRect.node.classList.add("apexcharts-zoom-rect"),this.selectionRect.node.classList.add("apexcharts-selection-rect"),i.globals.dom.elGraphical.add(this.zoomRect),i.globals.dom.elGraphical.add(this.selectionRect),"x"===i.config.chart.selection.type?this.slDraggableRect=this.selectionRect.draggable({minX:0,minY:0,maxX:i.globals.gridWidth,maxY:i.globals.gridHeight}).on("dragmove",this.selectionDragging.bind(this,"dragging")):"y"===i.config.chart.selection.type?this.slDraggableRect=this.selectionRect.draggable({minX:0,maxX:i.globals.gridWidth}).on("dragmove",this.selectionDragging.bind(this,"dragging")):this.slDraggableRect=this.selectionRect.draggable().on("dragmove",this.selectionDragging.bind(this,"dragging")),this.preselectedSelection(),this.hoverArea=i.globals.dom.baseEl.querySelector("".concat(i.globals.chartClass," .apexcharts-svg")),this.hoverArea.classList.add("apexcharts-zoomable"),this.eventList.forEach((function(e){t.hoverArea.addEventListener(e,r.svgMouseEvents.bind(r,n),{capture:!1,passive:!0})}
130))}},{key:"destroy",value:function(){this.slDraggableRect&&(this.slDraggableRect.draggable(!1),this.slDraggableRect.off(),this.selectionRect.off()),this.selectionRect=null,this.zoomRect=null,this.gridRect=null}},{key:"svgMouseEvents",value:function(e,t){var n=this.w,i=this,r=this.ctx.toolbar,a=n.globals.zoomEnabled?n.config.chart.zoom.type:n.config.chart.selection.type,o=n.config.chart.toolbar.autoSelected;if(t.shiftKey?(this.shiftWasPressed=!0,r.enableZoomPanFromToolbar("pan"===o?"zoom":"pan")):this.shiftWasPressed&&(r.enableZoomPanFromToolbar(o),this.shiftWasPressed=!1),t.target){var s,l=t.target.classList;if(t.target.parentNode&&null!==t.target.parentNode&&(s=t.target.parentNode.classList),!(l.contains("apexcharts-selection-rect")||l.contains("apexcharts-legend-marker")||l.contains("apexcharts-legend-text")||s&&s.contains("apexcharts-toolbar"))){if(i.clientX="touchmove"===t.type||"touchstart"===t.type?t.touches[0].clientX:"touchend"===t.type?t.changedTouches[0].clientX:t.clientX,i.clientY="touchmove"===t.type||"touchstart"===t.type?t.touches[0].clientY:"touchend"===t.type?t.changedTouches[0].clientY:t.clientY,"mousedown"===t.type&&1===t.which){var c=i.gridRect.getBoundingClientRect();i.startX=i.clientX-c.left,i.startY=i.clientY-c.top,i.dragged=!1,i.w.globals.mousedown=!0}if(("mousemove"===t.type&&1===t.which||"touchmove"===t.type)&&(i.dragged=!0,n.globals.panEnabled?(n.globals.selection=null,i.w.globals.mousedown&&i.panDragging({context:i,zoomtype:a,xyRatios:e})):(i.w.globals.mousedown&&n.globals.zoomEnabled||i.w.globals.mousedown&&n.globals.selectionEnabled)&&(i.selection=i.selectionDrawing({context:i,zoomtype:a}))),"mouseup"===t.type||"touchend"===t.type||"mouseleave"===t.type){var u=i.gridRect.getBoundingClientRect();i.w.globals.mousedown&&(i.endX=i.clientX-u.left,i.endY=i.clientY-u.top,i.dragX=Math.abs(i.endX-i.startX),i.dragY=Math.abs(i.endY-i.startY),(n.globals.zoomEnabled||n.globals.selectionEnabled)&&i.selectionDrawn({context:i,zoomtype:a}),n.globals.panEnabled&&n.config.xaxis.convertedCatToNumeric&&i.delayedPanScrolled()),n.globals.zoomEnabled&&i.hideSelectionRect(this.selectionRect),i.dragged=!1,i.w.globals.mousedown=!1}this.makeSelectionRectDraggable()}}}},{key:"makeSelectionRectDraggable",value:function(){var e=this.w;if(this.selectionRect){var t=this.selectionRect.node.getBoundingClientRect();t.width>0&&t.height>0&&this.slDraggableRect.selectize({points:"l, r",pointSize:8,pointType:"rect"}).resize({constraint:{minX:0,minY:0,maxX:e.globals.gridWidth,maxY:e.globals.gridHeight}}).on("resizing",this.selectionDragging.bind(this,"resizing"))}}},{key:"preselectedSelection",value:function(){var e=this.w,t=this.xyRatios;if(!e.globals.zoomEnabled)if(void 0!==e.globals.selection&&null!==e.globals.selection)this.drawSelectionRect(e.globals.selection);else if(void 0!==e.config.chart.selection.xaxis.min&&void 0!==e.config.chart.selection.xaxis.max){var n=(e.config.chart.selection.xaxis.min-e.globals.minX)/t.xRatio,i=e.globals.gridWidth-(e.globals.maxX-e.config.chart.selection.xaxis.max)/t.xRatio-n;e.globals.isRangeBar&&(n=(e.config.chart.selection.xaxis.min-e.globals.yAxisScale[0].niceMin)/t.invertedYRatio,i=(e.config.chart.selection.xaxis.max-e.config.chart.selection.xaxis.min)/t.invertedYRatio);var r={x:n,y:0,width:i,height:e.globals.gridHeight,translateX:0,translateY:0,selectionEnabled:!0};this.drawSelectionRect(r),this.makeSelectionRectDraggable(),"function"==typeof e.config.chart.events.selection&&e.config.chart.events.selection(this.ctx,{xaxis:{min:e.config.chart.selection.xaxis.min,max:e.config.chart.selection.xaxis.max},yaxis:{}})}}},{key:"drawSelectionRect",value:function(e){var t=e.x,n=e.y,i=e.width,r=e.height,a=e.translateX,o=void 0===a?0:a,s=e.translateY,l=void 0===s?0:s,c=this.w,u=this.zoomRect,d=this.selectionRect;if(this.dragged||null!==c.globals.selection){var h={transform:"translate("+o+", "+l+")"};c.globals.zoomEnabled&&this.dragged&&(i<0&&(i=1),u.attr({x:t,y:n,width:i,height:r,fill:c.config.chart.zoom.zoomedArea.fill.color,"fill-opacity":c.config.chart.zoom.zoomedArea.fill.opacity,stroke:c.config.chart.zoom.zoomedArea.stroke.color,"stroke-width":c.config.chart.zoom.zoomedArea.stroke.width,"stroke-opacity":c.config.chart.zoom.zoomedArea.stroke.opacity}),k.setAttrs(u.node,h)),c.globals.selectionEnabled&&(d.attr({x:t,y:n,width:i>0?i:0,height:r>0?r:0,fill:c.config.chart.selection.fill.color,"fill-opacity":c.config.chart.selection.fill.opacity,stroke:c.config.chart.selection.stroke.color,"stroke-width":c.config.chart.selection.stroke.width,"stroke-dasharray":c.config.chart.selection.stroke.dashArray,"stroke-opacity":c.config.chart.selection.stroke.opacity}),k.setAttrs(d.node,h))}}},{key:"hideSelectionRect",value:function(e){e&&e.attr({x:0,y:0,width:0,height:0})}},{key:"selectionDrawing",value:function(e){var t,n=e.context,i=e.zoomtype,r=this.w,a=n,o=this.gridRect.getBoundingClientRect(),s=a.startX-1,l=a.startY,c=!1,u=!1,d=a.clientX-o.left-s,h=a.clientY-o.top-l;return Math.abs(d+s)>r.globals.gridWidth?d=r.globals.gridWidth-s:a.clientX-o.left<0&&(d=s),s>a.clientX-o.left&&(c=!0,d=Math.abs(d)),l>
130a.clientY-o.top&&(u=!0,h=Math.abs(h)),t="x"===i?{x:c?s-d:s,y:0,width:d,height:r.globals.gridHeight}:"y"===i?{x:0,y:u?l-h:l,width:r.globals.gridWidth,height:h}:{x:c?s-d:s,y:u?l-h:l,width:d,height:h},a.drawSelectionRect(t),a.selectionDragging("resizing"),t}},{key:"selectionDragging",value:function(e,t){var n=this,i=this.w,r=this.xyRatios,a=this.selectionRect,o=0;"resizing"===e&&(o=30);var s=function(e){return parseFloat(a.node.getAttribute(e))},l={x:s("x"),y:s("y"),width:s("width"),height:s("height")};i.globals.selection=l,"function"==typeof i.config.chart.events.selection&&i.globals.selectionEnabled&&(clearTimeout(this.w.globals.selectionResizeTimer),this.w.globals.selectionResizeTimer=window.setTimeout((function(){var e,t,o,s,l=n.gridRect.getBoundingClientRect(),c=a.node.getBoundingClientRect();i.globals.isRangeBar?(e=i.globals.yAxisScale[0].niceMin+(c.left-l.left)*r.invertedYRatio,t=i.globals.yAxisScale[0].niceMin+(c.right-l.left)*r.invertedYRatio,o=0,s=1):(e=i.globals.xAxisScale.niceMin+(c.left-l.left)*r.xRatio,t=i.globals.xAxisScale.niceMin+(c.right-l.left)*r.xRatio,o=i.globals.yAxisScale[0].niceMin+(l.bottom-c.bottom)*r.yRatio[0],s=i.globals.yAxisScale[0].niceMax-(c.top-l.top)*r.yRatio[0]);var u={xaxis:{min:e,max:t},yaxis:{min:o,max:s}};i.config.chart.events.selection(n.ctx,u),i.config.chart.brush.enabled&&void 0!==i.config.chart.events.brushScrolled&&i.config.chart.events.brushScrolled(n.ctx,u)}),o))}},{key:"selectionDrawn",value:function(e){var t=e.context,n=e.zoomtype,i=this.w,r=t,a=this.xyRatios,o=this.ctx.toolbar;if(r.startX>r.endX){var s=r.startX;r.startX=r.endX,r.endX=s}if(r.startY>r.endY){var l=r.startY;r.startY=r.endY,r.endY=l}var c=void 0,u=void 0;i.globals.isRangeBar?(c=i.globals.yAxisScale[0].niceMin+r.startX*a.invertedYRatio,u=i.globals.yAxisScale[0].niceMin+r.endX*a.invertedYRatio):(c=i.globals.xAxisScale.niceMin+r.startX*a.xRatio,u=i.globals.xAxisScale.niceMin+r.endX*a.xRatio);var d=[],h=[];if(i.config.yaxis.forEach((function(e,t){d.push(i.globals.yAxisScale[t].niceMax-a.yRatio[t]*r.startY),h.push(i.globals.yAxisScale[t].niceMax-a.yRatio[t]*r.endY)})),r.dragged&&(r.dragX>10||r.dragY>10)&&c!==u)if(i.globals.zoomEnabled){var f=_.clone(i.globals.initialConfig.yaxis),p=_.clone(i.globals.initialConfig.xaxis);if(i.globals.zoomed=!0,i.config.xaxis.convertedCatToNumeric&&(c=Math.floor(c),u=Math.floor(u),c<1&&(c=1,u=i.globals.dataPoints),u-c<2&&(u=c+1)),"xy"!==n&&"x"!==n||(p={min:c,max:u}),"xy"!==n&&"y"!==n||f.forEach((function(e,t){f[t].min=h[t],f[t].max=d[t]})),i.config.chart.zoom.autoScaleYaxis){var m=new J(r.ctx);f=m.autoScaleY(r.ctx,f,{xaxis:p})}if(o){var g=o.getBeforeZoomRange(p,f);g&&(p=g.xaxis?g.xaxis:p,f=g.yaxis?g.yaxis:f)}var v={xaxis:p};i.config.chart.group||(v.yaxis=f),r.ctx.updateHelpers._updateOptions(v,!1,r.w.config.chart.animations.dynamicAnimation.enabled),"function"==typeof i.config.chart.events.zoomed&&o.zoomCallback(p,f)}else if(i.globals.selectionEnabled){var b,y=null;b={min:c,max:u},"xy"!==n&&"y"!==n||(y=_.clone(i.config.yaxis)).forEach((function(e,t){y[t].min=h[t],y[t].max=d[t]})),i.globals.selection=r.selection,"function"==typeof i.config.chart.events.selection&&i.config.chart.events.selection(r.ctx,{xaxis:b,yaxis:y})}}},{key:"panDragging",value:function(e){var t=e.context,n=this.w,i=t;if(void 0!==n.globals.lastClientPosition.x){var r=n.globals.lastClientPosition.x-i.clientX,a=n.globals.lastClientPosition.y-i.clientY;Math.abs(r)>Math.abs(a)&&r>0?this.moveDirection="left":Math.abs(r)>Math.abs(a)&&r<0?this.moveDirection="right":Math.abs(a)>Math.abs(r)&&a>0?this.moveDirection="up":Math.abs(a)>Math.abs(r)&&a<0&&(this.moveDirection="down")}n.globals.lastClientPosition={x:i.clientX,y:i.clientY};var o=n.globals.isRangeBar?n.globals.minY:n.globals.minX,s=n.globals.isRangeBar?n.globals.maxY:n.globals.maxX;n.config.xaxis.convertedCatToNumeric||i.panScrolled(o,s)}},{key:"delayedPanScrolled",value:function(){var e=this.w,t=e.globals.minX,n=e.globals.maxX,i=(e.globals.maxX-e.globals.minX)/2;"left"===this.moveDirection?(t=e.globals.minX+i,n=e.globals.maxX+i):"right"===this.moveDirection&&(t=e.globals.minX-i,n=e.globals.maxX-i),t=Math.floor(t),n=Math.floor(n),this.updateScrolledChart({xaxis:{min:t,max:n}},t,n)}},{key:"panScrolled",value:function(e,t){var n=this.w,i=this.xyRatios,r=_.clone(n.globals.initialConfig.yaxis),a=i.xRatio,o=n.globals.minX,s=n.globals.maxX;n.globals.isRangeBar&&(a=i.invertedYRatio,o=n.globals.minY,s=n.globals.maxY),"left"===this.moveDirection?(e=
130o+n.globals.gridWidth/15*a,t=s+n.globals.gridWidth/15*a):"right"===this.moveDirection&&(e=o-n.globals.gridWidth/15*a,t=s-n.globals.gridWidth/15*a),n.globals.isRangeBar||(e<n.globals.initialMinX||t>n.globals.initialMaxX)&&(e=o,t=s);var l={min:e,max:t};n.config.chart.zoom.autoScaleYaxis&&(r=new J(this.ctx).autoScaleY(this.ctx,r,{xaxis:l}));var c={xaxis:{min:e,max:t}};n.config.chart.group||(c.yaxis=r),this.updateScrolledChart(c,e,t)}},{key:"updateScrolledChart",value:function(e,t,n){var i=this.w;this.ctx.updateHelpers._updateOptions(e,!1,!1),"function"==typeof i.config.chart.events.scrolled&&i.config.chart.events.scrolled(this.ctx,{xaxis:{min:t,max:n}})}}]),n}(fe),me=function(){function e(t){s(this,e),this.w=t.w,this.ttCtx=t,this.ctx=t.ctx}return c(e,[{key:"getNearestValues",value:function(e){var t=e.hoverArea,n=e.elGrid,i=e.clientX,r=e.clientY,a=this.w,o=n.getBoundingClientRect(),s=o.width,l=o.height,c=s/(a.globals.dataPoints-1),u=l/a.globals.dataPoints,d=this.hasBars();!a.globals.comboCharts&&!d||a.config.xaxis.convertedCatToNumeric||(c=s/a.globals.dataPoints);var h=i-o.left-a.globals.barPadForNumericAxis,f=r-o.top;h<0||f<0||h>s||f>l?(t.classList.remove("hovering-zoom"),t.classList.remove("hovering-pan")):a.globals.zoomEnabled?(t.classList.remove("hovering-pan"),t.classList.add("hovering-zoom")):a.globals.panEnabled&&(t.classList.remove("hovering-zoom"),t.classList.add("hovering-pan"));var p=Math.round(h/c),m=Math.floor(f/u);d&&!a.config.xaxis.convertedCatToNumeric&&(p=Math.ceil(h/c),p-=1);var g=null,v=null,b=a.globals.seriesXvalues.map((function(e){return e.filter((function(e){return _.isNumber(e)}))})),y=a.globals.seriesYvalues.map((function(e){return e.filter((function(e){return _.isNumber(e)}))}));if(a.globals.isXNumeric){var x=this.ttCtx.getElGrid().getBoundingClientRect(),w=h*(x.width/s),k=f*(x.height/l);g=(v=this.closestInMultiArray(w,k,b,y)).index,p=v.j,null!==g&&(b=a.globals.seriesXvalues[g],p=(v=this.closestInArray(w,b)).index)}return a.globals.capturedSeriesIndex=null===g?-1:g,(!p||p<1)&&(p=0),a.globals.isBarHorizontal?a.globals.capturedDataPointIndex=m:a.globals.capturedDataPointIndex=p,{capturedSeries:g,j:a.globals.isBarHorizontal?m:p,hoverX:h,hoverY:f}}},{key:"closestInMultiArray",value:function(e,t,n,i){var r=this.w,a=0,o=null,s=-1;r.globals.series.length>1?a=this.getFirstActiveXArray(n):o=0;var l=n[a][0],c=Math.abs(e-l);if(n.forEach((function(t){t.forEach((function(t,n){var i=Math.abs(e-t);i<=c&&(c=i,s=n)}))})),-1!==s){var u=i[a][s],d=Math.abs(t-u);o=a,i.forEach((function(e,n){var i=Math.abs(t-e[s]);i<=d&&(d=i,o=n)}))}return{index:o,j:s}}},{key:"getFirstActiveXArray",value:function(e){for(var t=this.w,n=0,i=e.map((function(e,t){return e.length>0?t:-1})),r=0;r<i.length;r++)if(-1!==i[r]&&-1===t.globals.collapsedSeriesIndices.indexOf(r)&&-1===t.globals.ancillaryCollapsedSeriesIndices.indexOf(r)){n=i[r];break}return n}},{key:"closestInArray",value:function(e,t){for(var n=t[0],i=null,r=Math.abs(e-n),a=0;a<t.length;a++){var o=Math.abs(e-t[a]);o<r&&(r=o,i=a)}return{index:i}}},{key:"isXoverlap",value:function(e){var t=[],n=this.w.globals.seriesX.filter((function(e){return void 0!==e[0]}));if(n.length>0)for(var i=0;i<n.length-1;i++)void 0!==n[i][e]&&void 0!==n[i+1][e]&&n[i][e]!==n[i+1][e]&&t.push("unEqual");return 0===t.length}},{key:"isInitialSeriesSameLen",value:function(){for(var e=!0,t=this.w.globals.initialSeries,n=0;n<t.length-1;n++)if(t[n].data.length!==t[n+1].data.length){e=!1;break}return e}},{key:"getBarsHeight",value:function(e){return v(e).reduce((function(e,t){return e+t.getBBox().height}),0)}},{key:"getElMarkers",value:function(e){return"number"==typeof e?this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-series-markers-wrap > *")):this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers-wrap > *")}},{key:"getAllMarkers",value:function(){var e=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers-wrap");(e=v(e)).sort((function(e,t){var n=Number(e.getAttribute("data:realIndex")),i=Number(t.getAttribute("data:realIndex"));return i<n?1:i>n?-1:0}));var t=[];return e.forEach((function(e){t.push(e.querySelector(".apexcharts-marker"))})),t}},{key:"hasMarkers",value:function(e){return this.getElMarkers(e).length>0}},{key:"getElBars",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-series, .apexcharts-candlestick-series, .apexcharts-boxPlot-series, .apexcharts-rangebar-series")}},{key:"hasBars",value:function(){return this.getElBars().length>0}},{key:"getHoverMarkerSize",value:function(e){var t=this.w,n=t.config.markers.hover.size;return void 0===n&&(n=t.globals.markers.size[e]+t.config.markers.hover.sizeOffset),n}},{key:"toggleAllTooltipSeriesGroups",value:function(e){var t=this.w,n=this.ttCtx;0===n.allTooltipSeriesGroups.length&&(n.allTooltipSeriesGroups=t.globals.dom.baseEl.querySelectorAll(".apexcharts-tooltip-series-group"));for(var i=n.allTooltipSeriesGroups,r=0;r<i.length;r++)"enable"===e?(i[r].classList.add("apexcharts-active"),i[r].style.display=t.config.tooltip.items.display):(i[r].classList.remove("apexcharts-active"),i[r].style.display="none")}}]),e}(),ge=function(){function e(t){s(this,e),this.w=t.w,this.ctx=t.ctx,this.ttCtx=t,this.tooltipUtil=new me(t)}return c(e,[{key:"drawSeriesTexts",value:function(e){var t=e.shared,n=void 0===t||t,i=e.ttItems,r=e.i,a=void 0===r?0:r,o=e.j,s=void 0===o?null:o,l=e.y1,c=e.y2,u=e.e,d=this.w;void 0!==d.config.tooltip.custom?this.handleCustomTooltip({i:a,j:s,y1:l,y2:c,w:d}):this.toggleActiveInactiveSeries(n);var h=this.getValuesToPrint({i:a,j:s});this.printLabels({i:a,j:s,values:h,ttItems:i,shared:n,e:u});var f=this.ttCtx.getElTooltip();this.ttCtx.tooltipRect.ttWidth=f.getBoundingClientRect().width,this.ttCtx.tooltipRect.ttHeight=f.getBoundingClientRect().height}},{key:"printLabels",value:function(e){var t,n=this,i=e.i,r=e.j,o=e.values,s=e.ttItems,l=e.shared,c=e.e,u=this.w,d=[],h=function(e){return u.globals.seriesGoals[e]&&u.globals.seriesGoals[e][r]&&Array.isArray(u.globals.seriesGoals[e][r])},f=o.xVal,p=o.zVal,m=o.xAxisTTVal,g="",v=u.globals.colors[i];null!==r&&u.config.plotOptions.bar.distributed&&(v=u.globals.colors[r]);for(var b=function(e,o){var b=n.getFormatters(i);
130g=n.getSeriesName({fn:b.yLbTitleFormatter,index:i,seriesIndex:i,j:r}),"treemap"===u.config.chart.type&&(g=b.yLbTitleFormatter(String(u.config.series[i].data[r].x),{series:u.globals.series,seriesIndex:i,dataPointIndex:r,w:u}));var y=u.config.tooltip.inverseOrder?o:e;if(u.globals.axisCharts){var _=function(e){var t,n,i,a;return u.globals.isRangeData?b.yLbFormatter(null===(t=u.globals.seriesRangeStart)||void 0===t||null===(n=t[e])||void 0===n?void 0:n[r],{series:u.globals.seriesRangeStart,seriesIndex:e,dataPointIndex:r,w:u})+" - "+b.yLbFormatter(null===(i=u.globals.seriesRangeEnd)||void 0===i||null===(a=i[e])||void 0===a?void 0:a[r],{series:u.globals.seriesRangeEnd,seriesIndex:e,dataPointIndex:r,w:u}):b.yLbFormatter(u.globals.series[e][r],{series:u.globals.series,seriesIndex:e,dataPointIndex:r,w:u})};if(l)b=n.getFormatters(y),g=n.getSeriesName({fn:b.yLbTitleFormatter,index:y,seriesIndex:i,j:r}),v=u.globals.colors[y],t=_(y),h(y)&&(d=u.globals.seriesGoals[y][r].map((function(e){return{attrs:e,val:b.yLbFormatter(e.value,{seriesIndex:y,dataPointIndex:r,w:u})}})));else{var x,w=null==c||null===(x=c.target)||void 0===x?void 0:x.getAttribute("fill");w&&(v=-1!==w.indexOf("url")?document.querySelector(w.substr(4).slice(0,-1)).childNodes[0].getAttribute("stroke"):w),t=_(i),h(i)&&Array.isArray(u.globals.seriesGoals[i][r])&&(d=u.globals.seriesGoals[i][r].map((function(e){return{attrs:e,val:b.yLbFormatter(e.value,{seriesIndex:i,dataPointIndex:r,w:u})}})))}}null===r&&(t=b.yLbFormatter(u.globals.series[i],a(a({},u),{},{seriesIndex:i,dataPointIndex:i}))),n.DOMHandling({i:i,t:y,j:r,ttItems:s,values:{val:t,goalVals:d,xVal:f,xAxisTTVal:m,zVal:p},seriesName:g,shared:l,pColor:v})},y=0,_=u.globals.series.length-1;y<u.globals.series.length;y++,_--)b(y,_)}},{key:"getFormatters",value:function(e){var t,n=this.w,i=n.globals.yLabelFormatters[e];return void 0!==n.globals.ttVal?Array.isArray(n.globals.ttVal)?(i=n.globals.ttVal[e]&&n.globals.ttVal[e].formatter,t=n.globals.ttVal[e]&&n.globals.ttVal[e].title&&n.globals.ttVal[e].title.formatter):(i=n.globals.ttVal.formatter,"function"==typeof n.globals.ttVal.title.formatter&&(t=n.globals.ttVal.title.formatter)):t=n.config.tooltip.y.title.formatter,"function"!=typeof i&&(i=n.globals.yLabelFormatters[0]?n.globals.yLabelFormatters[0]:function(e){return e}),"function"!=typeof t&&(t=function(e){return e}),{yLbFormatter:i,yLbTitleFormatter:t}}},{key:"getSeriesName",value:function(e){var t=e.fn,n=e.index,i=e.seriesIndex,r=e.j,a=this.w;return t(String(a.globals.seriesNames[n]),{series:a.globals.series,seriesIndex:i,dataPointIndex:r,w:a})}},{key:"DOMHandling",value:function(e){e.i;var t=e.t,n=e.j,i=e.ttItems,r=e.values,a=e.seriesName,o=e.shared,s=e.pColor,l=this.w,c=this.ttCtx,u=r.val,d=r.goalVals,h=r.xVal,f=r.xAxisTTVal,p=r.zVal,m=null;m=i[t].children,l.config.tooltip.fillSeriesColor&&(i[t].style.backgroundColor=s,m[0].style.display="none"),c.showTooltipTitle&&(null===c.tooltipTitle&&(c.tooltipTitle=l.globals.dom.baseEl.querySelector(".apexcharts-tooltip-title")),c.tooltipTitle.innerHTML=h),c.isXAxisTooltipEnabled&&(c.xaxisTooltipText.innerHTML=""!==f?f:h);var g=i[t].querySelector(".apexcharts-tooltip-text-y-label");g&&(g.innerHTML=a||"");var v=i[t].querySelector(".apexcharts-tooltip-text-y-value");v&&(v.innerHTML=void 0!==u?u:""),m[0]&&m[0].classList.contains("apexcharts-tooltip-marker")&&(l.config.tooltip.marker.fillColors&&Array.isArray(l.config.tooltip.marker.fillColors)&&(s=l.config.tooltip.marker.fillColors[t]),m[0].style.backgroundColor=s),l.config.tooltip.marker.show||(m[0].style.display="none");var b=i[t].querySelector(".apexcharts-tooltip-text-goals-label"),y=i[t].querySelector(".apexcharts-tooltip-text-goals-value");if(d.length&&l.globals.seriesGoals[t]){var _=function(){var e="<div >",t="<div>";d.forEach((function(n,i){e+=' <div style="display: flex"><span class="apexcharts-tooltip-marker" style="background-color: '.concat(n.attrs.strokeColor,'; height: 3px; border-radius: 0; top: 5px;"></span> ').concat(n.attrs.name,"</div>"),t+="<div>".concat(n.val,"</div>")})),b.innerHTML=e+"</div>",y.innerHTML=t+"</div>"};o?l.globals.seriesGoals[t][n]&&Array.isArray(l.globals.seriesGoals[t][n])?_():(b.innerHTML="",y.innerHTML=""):_()}else b.innerHTML="",y.innerHTML="";if(null!==p&&(i[t].querySelector(".apexcharts-tooltip-text-z-label").innerHTML=l.config.tooltip.z.title,i[t].querySelector(".apexcharts-tooltip-text-z-value").innerHTML=void 0!==p?p:""),o&&m[0]){if(l.config.tooltip.hideEmptySeries){var x=i[t].querySelector(".apexcharts-tooltip-marker"),w=i[t].querySelector(".apexcharts-tooltip-text");0==parseFloat(u)?(x.style.display="none",w.style.display="none"):(x.style.display="block",w.style.display="block")}null==u||l.globals.ancillaryCollapsedSeriesIndices.indexOf(t)>-1||l.globals.collapsedSeriesIndices.indexOf(t)>-1?m[0].parentNode.style.display="none":m[0].parentNode.style.display=l.config.tooltip.items.display}}},{key:"toggleActiveInactiveSeries",value:function(e){var t=this.w;if(e)this.tooltipUtil.toggleAllTooltipSeriesGroups("enable");else{this.tooltipUtil.toggleAllTooltipSeriesGroups("disable");var n=t.globals.dom.baseEl.querySelector(".apexcharts-tooltip-series-group");n&&(n.classList.add("apexcharts-active"),n.style.display=t.config.tooltip.items.display)}}},{key:"getValuesToPrint",value:function(e){var t=e.i,n=e.j,i=this.w,r=this.ctx.series.filteredSeriesX(),a="",o="",s=null,l=null,c={series:i.globals.series,seriesIndex:t,dataPointIndex:n,w:i},u=i.globals.ttZFormatter;null===n?l=i.globals.series[t]:i.globals.isXNumeric&&"treemap"!==i.config.chart.type?(a=r[t][n],0===r[t].length&&(a=r[this.tooltipUtil.getFirstActiveXArray(r)][n])):a=void 0!==i.globals.labels[n]?i.globals.labels[n]:"";var d=a;return a=i.globals.isXNumeric&&"datetime"===i.config.xaxis.type?new P(this.ctx).xLabelFormat(i.globals.ttKeyFormatter,d,d,{i:void 0,dateFormatter:new D(this.ctx).formatDate,w:this.w}
130):i.globals.isBarHorizontal?i.globals.yLabelFormatters[0](d,c):i.globals.xLabelFormatter(d,c),void 0!==i.config.tooltip.x.formatter&&(a=i.globals.ttKeyFormatter(d,c)),i.globals.seriesZ.length>0&&i.globals.seriesZ[t].length>0&&(s=u(i.globals.seriesZ[t][n],i)),o="function"==typeof i.config.xaxis.tooltip.formatter?i.globals.xaxisTooltipFormatter(d,c):a,{val:Array.isArray(l)?l.join(" "):l,xVal:Array.isArray(a)?a.join(" "):a,xAxisTTVal:Array.isArray(o)?o.join(" "):o,zVal:s}}},{key:"handleCustomTooltip",value:function(e){var t=e.i,n=e.j,i=e.y1,r=e.y2,a=e.w,o=this.ttCtx.getElTooltip(),s=a.config.tooltip.custom;Array.isArray(s)&&s[t]&&(s=s[t]),o.innerHTML=s({ctx:this.ctx,series:a.globals.series,seriesIndex:t,dataPointIndex:n,y1:i,y2:r,w:a})}}]),e}(),ve=function(){function e(t){s(this,e),this.ttCtx=t,this.ctx=t.ctx,this.w=t.w}return c(e,[{key:"moveXCrosshairs",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.ttCtx,i=this.w,r=n.getElXCrosshairs(),a=e-n.xcrosshairsWidth/2,o=i.globals.labels.slice().length;if(null!==t&&(a=i.globals.gridWidth/o*t),null===r||i.globals.isBarHorizontal||(r.setAttribute("x",a),r.setAttribute("x1",a),r.setAttribute("x2",a),r.setAttribute("y2",i.globals.gridHeight),r.classList.add("apexcharts-active")),a<0&&(a=0),a>i.globals.gridWidth&&(a=i.globals.gridWidth),n.isXAxisTooltipEnabled){var s=a;"tickWidth"!==i.config.xaxis.crosshairs.width&&"barWidth"!==i.config.xaxis.crosshairs.width||(s=a+n.xcrosshairsWidth/2),this.moveXAxisTooltip(s)}}},{key:"moveYCrosshairs",value:function(e){var t=this.ttCtx;null!==t.ycrosshairs&&k.setAttrs(t.ycrosshairs,{y1:e,y2:e}),null!==t.ycrosshairsHidden&&k.setAttrs(t.ycrosshairsHidden,{y1:e,y2:e})}},{key:"moveXAxisTooltip",value:function(e){var t=this.w,n=this.ttCtx;if(null!==n.xaxisTooltip&&0!==n.xcrosshairsWidth){n.xaxisTooltip.classList.add("apexcharts-active");var i,r=n.xaxisOffY+t.config.xaxis.tooltip.offsetY+t.globals.translateY+1+t.config.xaxis.offsetY;e-=n.xaxisTooltip.getBoundingClientRect().width/2,isNaN(e)||(e+=t.globals.translateX,i=new k(this.ctx).getTextRects(n.xaxisTooltipText.innerHTML),n.xaxisTooltipText.style.minWidth=i.width+"px",n.xaxisTooltip.style.left=e+"px",n.xaxisTooltip.style.top=r+"px")}}},{key:"moveYAxisTooltip",value:function(e){var t=this.w,n=this.ttCtx;null===n.yaxisTTEls&&(n.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));var i=parseInt(n.ycrosshairsHidden.getAttribute("y1"),10),r=t.globals.translateY+i,a=n.yaxisTTEls[e].getBoundingClientRect().height,o=t.globals.translateYAxisX[e]-2;t.config.yaxis[e].opposite&&(o-=26),r-=a/2,-1===t.globals.ignoreYAxisIndexes.indexOf(e)?(n.yaxisTTEls[e].classList.add("apexcharts-active"),n.yaxisTTEls[e].style.top=r+"px",n.yaxisTTEls[e].style.left=o+t.config.yaxis[e].tooltip.offsetX+"px"):n.yaxisTTEls[e].classList.remove("apexcharts-active")}},{key:"moveTooltip",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=this.w,r=this.ttCtx,a=r.getElTooltip(),o=r.tooltipRect,s=null!==n?parseFloat(n):1,l=parseFloat(e)+s+5,c=parseFloat(t)+s/2;if(l>i.globals.gridWidth/2&&(l=l-o.ttWidth-s-10),l>i.globals.gridWidth-o.ttWidth-10&&(l=i.globals.gridWidth-o.ttWidth),l<-20&&(l=-20),i.config.tooltip.followCursor){var u=r.getElGrid().getBoundingClientRect();(l=r.e.clientX-u.left)>i.globals.gridWidth/2&&(l-=r.tooltipRect.ttWidth),(c=r.e.clientY+i.globals.translateY-u.top)>i.globals.gridHeight/2&&(c-=r.tooltipRect.ttHeight)}else i.globals.isBarHorizontal||o.ttHeight/2+c>i.globals.gridHeight&&(c=i.globals.gridHeight-o.ttHeight+i.globals.translateY);isNaN(l)||(l+=i.globals.translateX,a.style.left=l+"px",a.style.top=c+"px")}},{key:"moveMarkers",value:function(e,t){var n=this.w,i=this.ttCtx;if(n.globals.markers.size[e]>0)for(var r=n.globals.dom.baseEl.querySelectorAll(" .apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-marker")),a=0;a<r.length;a++)parseInt(r[a].getAttribute("rel"),10)===t&&(i.marker.resetPointsSize(),i.marker.enlargeCurrentPoint(t,r[a]));else i.marker.resetPointsSize(),this.moveDynamicPointOnHover(t,e)}},{key:"moveDynamicPointOnHover",value:function(e,t){var n,i,r=this.w,a=this.ttCtx,o=r.globals.pointsArray,s=a.tooltipUtil.getHoverMarkerSize(t),l=r.config.series[t].type;if(!l||"column"!==l&&"candlestick"!==l&&"boxPlot"!==l){n=o[t][e][0],i=o[t][e][1]?o[t][e][1]:0;var c=r.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(t,"'] .apexcharts-series-markers circle"));c&&i<r.globals.gridHeight&&i>0&&(c.setAttribute("r",s),c.setAttribute("cx",n),c.setAttribute("cy",i)),this.moveXCrosshairs(n),a.fixedTooltip||this.moveTooltip(n,i,s)}}},{key:"moveDynamicPointsOnHover",value:function(e){var t,n=this.ttCtx,i=n.w,r=0,a=0,o=i.globals.pointsArray;t=new V(this.ctx).getActiveConfigSeriesIndex("asc",["line","area","scatter","bubble"]);var s=n.tooltipUtil.getHoverMarkerSize(t);o[t]&&(r=o[t][e][0],a=o[t][e][1]);var l=n.tooltipUtil.getAllMarkers();if(null!==l)for(var c=0;c<i.globals.series.length;c++){var u=o[c];if(i.globals.comboCharts&&void 0===u&&l.splice(c,0,null),u&&u.length){var d=o[c][e][1],h=void 0;if(l[c].setAttribute("cx",r),"rangeArea"===i.config.chart.type&&!i.globals.comboCharts){var f=e+i.globals.series[c].length;h=o[c][f][1],d-=Math.abs(d-h)/2}null!==d&&!isNaN(d)&&d<i.globals.gridHeight+s&&d+s>0?(l[c]&&l[c].setAttribute("r",s),l[c]&&l[c].setAttribute("cy",d)):l[c]&&l[c].setAttribute("r",0)}}this.moveXCrosshairs(r),n.fixedTooltip||this.moveTooltip(r,a||i.globals.gridHeight,s)}},{key:"moveStickyTooltipOverBars",value:function(e,t){var n=this.w,i=this.ttCtx,r=n.globals.columnSeries?n.globals.columnSeries.length:n.globals.series.length,a=r>=2&&r%2==0?Math.floor(r/2):Math.floor(r/2)+1;n.globals.isBarHorizontal&&(a=new V(this.ctx).getActiveConfigSeriesIndex("desc")+1);var o=n.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[rel='".concat(a,"'] path[j='").concat(e,"'], .apexcharts-candlestick-series .apexcharts-series[rel='").concat(a,"'] path[j='").concat(e,"'], .apexcharts-boxPlot-series .apexcharts-series[rel='").concat(a,"'] path[j='").concat(e,"'], .apexcharts-rangebar-series .apexcharts-series[rel='").concat(a,"'] path[j='").concat(e,"']"));o||"number"!=typeof t||(o=n.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[data\\:realIndex='".concat(t,"'] path[j='").concat(e,"'],\n .apexcharts-candlestick-series .apexcharts-series[data\\:realIndex='").concat(t,"'] path[j='").concat(e,"'],\n .apexcharts-boxPlot-series .apexcharts-series[data\\:realIndex='").concat(t,"'] path[j='").concat(e,"'],\n .apexcharts-rangebar-series .apexcharts-series[data\\:realIndex='").concat(t,"'] path[j='").concat(e,"']")));var s=o?parseFloat(o.getAttribute("cx")):0,l=o?parseFloat(o.getAttribute("cy")):0,c=o?parseFloat(o.getAttribute("barWidth")):0,u=i.getElGrid().getBoundingClientRect(),d=o&&(o.classList.contains("apexcharts-candlestick-area")||o.classList.contains("apexcharts-boxPlot-area"));n.globals.isXNumeric?(o&&!d&&(s-=r%2!=0?c/2:0),o&&d&&n.globals.comboCharts&&(s-=c/2)):n.globals.isBarHorizontal||(s=i.xAxisTicksPositions[e-1]+i.dataPointsDividedWidth/2,isNaN(s)&&(s=i.xAxisTicksPositions[e]-i.dataPointsDividedWidth/2)),n.globals.isBarHorizontal?l-=i.tooltipRect.ttHeight:n.config.tooltip.followCursor?l=i.e.clientY-u.top-i.tooltipRect.ttHeight/2:l+i.tooltipRect.ttHeight+15>n.globals.gridHeight&&(l=n.globals.gridHeight),n.globals.isBarHorizontal||this.moveXCrosshairs(s),i.fixedTooltip||this.moveTooltip(s,l||n.globals.gridHeight)}}]),e}(),be=function(){function e(t){s(this,e),this.w=t.w,this.ttCtx=t,this.ctx=t.ctx,this.tooltipPosition=new ve(t)}return c(e,[{key:"drawDynamicPoints",value:function(){var e=this.w,t=new k(this.ctx),n=new z(this.ctx),i=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");i=v(i),e.config.chart.stacked&&i.sort((function(e,t){return parseFloat(e.getAttribute("data:realIndex"))-parseFloat(t.getAttribute("data:realIndex"))}));for(var r=0;r<i.length;r++){var a=i[r].querySelector(".apexcharts-series-markers-wrap");if(null!==a){var o=void 0,s="apexcharts-marker w".concat((Math.random()+1).toString(36).substring(4));"line"!==e.config.chart.type&&"area"!==e.config.chart.type||e.globals.comboCharts||e.config.tooltip.intersect||(s+=" no-pointer-events");var l=n.getMarkerConfig({cssClass:s,seriesIndex:Number(a.getAttribute("data:realIndex"))});(o=t.drawMarker(0,0,l)).node.setAttribute("default-marker-size",0);var c=document.createElementNS(e.globals.SVGNS,"g");c.classList.add("apexcharts-series-markers"),c.appendChild(o.node),a.appendChild(c)}}}},{key:"enlargeCurrentPoint",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=this.w;"bubble"!==r.config.chart.type&&this.newPointSize(e,t);var a=t.getAttribute("cx"),o=t.getAttribute("cy");if(null!==n&&null!==i&&(a=n,o=i),this.tooltipPosition.moveXCrosshairs(a),!this.fixedTooltip){if("radar"===r.config.chart.type){var s=this.ttCtx.getElGrid().getBoundingClientRect();a=this.ttCtx.e.clientX-s.left}this.tooltipPosition.moveTooltip(a,o,r.config.markers.hover.size)}}},{key:"enlargePoints",value:function(e){for(var t=this.w,n=this,i=this.ttCtx,r=e,a=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),o=t.config.markers.hover.size,s=0;s<a.length;s++){var l=a[s].getAttribute("rel"),c=a[s].getAttribute("index");if(void 0===o&&(o=t.globals.markers.size[c]+t.config.markers.hover.sizeOffset),r===parseInt(l,10)){n.newPointSize(r,a[s]);var u=a[s].getAttribute("cx"),d=a[s].getAttribute("cy");n.tooltipPosition.moveXCrosshairs(u),i.fixedTooltip||n.tooltipPosition.moveTooltip(u,d,o)}else n.oldPointSize(a[s])}}},{key:"newPointSize",value:function(e,t){var n=this.w,i=n.config.markers.hover.size,r=0===e?t.parentNode.firstChild:t.parentNode.lastChild;if("0"!==r.getAttribute("default-marker-size")){var a=parseInt(r.getAttribute("index"),10);void 0===i&&(i=n.globals.markers.size[a]+n.config.markers.hover.sizeOffset),i<0&&(i=0),r.setAttribute("r",i)}}},{key:"oldPointSize",value:function(e){var t=parseFloat(e.getAttribute("default-marker-size"));e.setAttribute("r",t)}},{key:"resetPointsSize",value:function(){for(var e=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),t=0;t<e.length;t++){var n=parseFloat(e[t].getAttribute("default-marker-size"));_.isNumber(n)&&n>=0?e[t].setAttribute("r",n):e[t].setAttribute("r",0)}}}]),e}(),ye=function(){function e(t){s(this,e),this.w=t.w;var n=this.w;this.ttCtx=t,this.isVerticalGroupedRangeBar=!n.globals.isBarHorizontal&&"rangeBar"===n.config.chart.type&&n.config.plotOptions.bar.rangeBarGroupRows}return c(e,[{key:"getAttr",value:function(e,t){return parseFloat(e.target.getAttribute(t))}},{key:"handleHeatTreeTooltip",value:function(e){var t=e.e,n=e.opt,i=e.x,r=e.y,a=e.type,o=this.ttCtx,s=this.w;if(t.target.classList.contains("apexcharts-".concat(a,"-rect"))){var l=this.getAttr(t,"i"),c=this.getAttr(t,"j"),u=this.getAttr(t,"cx"),d=this.getAttr(t,"cy"),h=this.getAttr(t,"width"),f=this.getAttr(t,"height");if(o.tooltipLabels.drawSeriesTexts({ttItems:n.ttItems,i:l,j:c,shared:!1,e:t}),s.globals.capturedSeriesIndex=l,s.globals.capturedDataPointIndex=c,i=u+o.tooltipRect.ttWidth/2+h,r=d+o.tooltipRect.ttHeight/2-f/2,o.tooltipPosition.moveXCrosshairs(u+h/2),i>s.globals.gridWidth/2&&(i=u-o.tooltipRect.ttWidth/2+h),o.w.config.tooltip.followCursor){var p=s.globals.dom.elWrap.getBoundingClientRect();i=s.globals.clientX-p.left-(i>s.globals.gridWidth/2?o.tooltipRect.ttWidth:0),r=s.globals.clientY-p.top-(r>s.globals.gridHeight/2?o.tooltipRect.ttHeight:0)}}return{x:i,y:r}}},{key:"handleMarkerTooltip",value:function(e){var t,n,i=e.e,r=e.opt,a=e.x,o=e.y,s=this.w,l=this.ttCtx;if(i.target.classList.contains("apexcharts-marker")){var c=parseInt(r.paths.getAttribute("cx"),10),u=parseInt(r.paths.getAttribute("cy"),10),d=parseFloat(r.paths.getAttribute("val"));if(n=parseInt(r.paths.getAttribute("rel"),10),t=parseInt(r.paths.parentNode.parentNode.parentNode.getAttribute("rel"),10)-1,l.intersect){var h=_.findAnce
130stor(r.paths,"apexcharts-series");h&&(t=parseInt(h.getAttribute("data:realIndex"),10))}if(l.tooltipLabels.drawSeriesTexts({ttItems:r.ttItems,i:t,j:n,shared:!l.showOnIntersect&&s.config.tooltip.shared,e:i}),"mouseup"===i.type&&l.markerClick(i,t,n),s.globals.capturedSeriesIndex=t,s.globals.capturedDataPointIndex=n,a=c,o=u+s.globals.translateY-1.4*l.tooltipRect.ttHeight,l.w.config.tooltip.followCursor){var f=l.getElGrid().getBoundingClientRect();o=l.e.clientY+s.globals.translateY-f.top}d<0&&(o=u),l.marker.enlargeCurrentPoint(n,r.paths,a,o)}return{x:a,y:o}}},{key:"handleBarTooltip",value:function(e){var t,n,i=e.e,r=e.opt,a=this.w,o=this.ttCtx,s=o.getElTooltip(),l=0,c=0,u=0,d=this.getBarTooltipXY({e:i,opt:r});t=d.i;var h=d.barHeight,f=d.j;a.globals.capturedSeriesIndex=t,a.globals.capturedDataPointIndex=f,a.globals.isBarHorizontal&&o.tooltipUtil.hasBars()||!a.config.tooltip.shared?(c=d.x,u=d.y,n=Array.isArray(a.config.stroke.width)?a.config.stroke.width[t]:a.config.stroke.width,l=c):a.globals.comboCharts||a.config.tooltip.shared||(l/=2),isNaN(u)&&(u=a.globals.svgHeight-o.tooltipRect.ttHeight);var p=parseInt(r.paths.parentNode.getAttribute("data:realIndex"),10),m=a.globals.isMultipleYAxis?a.config.yaxis[p]&&a.config.yaxis[p].reversed:a.config.yaxis[0].reversed;if(c+o.tooltipRect.ttWidth>a.globals.gridWidth&&!m?c-=o.tooltipRect.ttWidth:c<0&&(c=0),o.w.config.tooltip.followCursor){var g=o.getElGrid().getBoundingClientRect();u=o.e.clientY-g.top}null===o.tooltip&&(o.tooltip=a.globals.dom.baseEl.querySelector(".apexcharts-tooltip")),a.config.tooltip.shared||(a.globals.comboBarCount>0?o.tooltipPosition.moveXCrosshairs(l+n/2):o.tooltipPosition.moveXCrosshairs(l)),!o.fixedTooltip&&(!a.config.tooltip.shared||a.globals.isBarHorizontal&&o.tooltipUtil.hasBars())&&(m&&(c-=o.tooltipRect.ttWidth)<0&&(c=0),!m||a.globals.isBarHorizontal&&o.tooltipUtil.hasBars()||(u=u+h-2*(a.globals.series[t][f]<0?h:0)),u=u+a.globals.translateY-o.tooltipRect.ttHeight/2,s.style.left=c+a.globals.translateX+"px",s.style.top=u+"px")}},{key:"getBarTooltipXY",value:function(e){var t=this,n=e.e,i=e.opt,r=this.w,a=null,o=this.ttCtx,s=0,l=0,c=0,u=0,d=0,h=n.target.classList;if(h.contains("apexcharts-bar-area")||h.contains("apexcharts-candlestick-area")||h.contains("apexcharts-boxPlot-area")||h.contains("apexcharts-rangebar-area")){var f=n.target,p=f.getBoundingClientRect(),m=i.elGrid.getBoundingClientRect(),g=p.height;d=p.height;var v=p.width,b=parseInt(f.getAttribute("cx"),10),y=parseInt(f.getAttribute("cy"),10);u=parseFloat(f.getAttribute("barWidth"));var _="touchmove"===n.type?n.touches[0].clientX:n.clientX;a=parseInt(f.getAttribute("j"),10),s=parseInt(f.parentNode.getAttribute("rel"),10)-1;var x=f.getAttribute("data-range-y1"),w=f.getAttribute("data-range-y2");r.globals.comboCharts&&(s=parseInt(f.parentNode.getAttribute("data:realIndex"),10));var k=function(e){return r.globals.isXNumeric?b-v/2:t.isVerticalGroupedRangeBar?b+v/2:b-o.dataPointsDividedWidth+v/2},S=function(){return y-o.dataPointsDividedHeight+g/2-o.tooltipRect.ttHeight/2};o.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:s,j:a,y1:x?parseInt(x,10):null,y2:w?parseInt(w,10):null,shared:!o.showOnIntersect&&r.config.tooltip.shared,e:n}),r.config.tooltip.followCursor?r.globals.isBarHorizontal?(l=_-m.left+15,c=S()):(l=k(),c=n.clientY-m.top-o.tooltipRect.ttHeight/2-15):r.globals.isBarHorizontal?((l=b)<o.xyRatios.baseLineInvertedY&&(l=b-o.tooltipRect.ttWidth),c=S()):(l=k(),c=y)}return{x:l,y:c,barHeight:d,barWidth:u,i:s,j:a}}}]),e}(),_e=function(){function e(t){s(this,e),this.w=t.w,this.ttCtx=t}return c(e,[{key:"drawXaxisTooltip",value:function(){var e=this.w,t=this.ttCtx,n="bottom"===e.config.xaxis.position;t.xaxisOffY=n?e.globals.gridHeight+1:-e.globals.xAxisHeight-e.config.xaxis.axisTicks.height+3;var i=n?"apexcharts-xaxistooltip apexcharts-xaxistooltip-bottom":"apexcharts-xaxistooltip apexcharts-xaxistooltip-top",r=e.globals.dom.elWrap;t.isXAxisTooltipEnabled&&null===e.globals.dom.baseEl.querySelector(".apexcharts-xaxistooltip")&&(t.xaxisTooltip=document.createElement("div"),t.xaxisTooltip.setAttribute("class",i+" apexcharts-theme-"+e.config.tooltip.theme),r.appendChild(t.xaxisTooltip),t.xaxisTooltipText=document.createElement("div"),t.xaxisTooltipText.classList.add("apexcharts-xaxistooltip-text"),t.xaxisTooltipText.style.fontFamily=e.config.xaxis.tooltip.style.fontFamily||e.config.chart.fontFamily,t.xaxisTooltipText.style.fontSize=e.config.xaxis.tooltip.style.fontSize,t.xaxisTooltip.appendChild(t.xaxisTooltipText))}},{key:"drawYaxisTooltip",value:function(){for(var e=this.w,t=this.ttCtx,n=function(n){var i=e.config.yaxis[n].opposite||e.config.yaxis[n].crosshairs.opposite;t.yaxisOffX=i?e.globals.gridWidth+1:1;var r="apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(n,i?" apexcharts-yaxistooltip-right":" apexcharts-yaxistooltip-left");e.globals.yAxisSameScaleIndices.map((function(t,i){t.map((function(t,i){i===n&&(r+=e.config.yaxis[i].show?" ":" apexcharts-yaxistooltip-hidden")}))}
130));var a=e.globals.dom.elWrap;null===e.globals.dom.baseEl.querySelector(".apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(n))&&(t.yaxisTooltip=document.createElement("div"),t.yaxisTooltip.setAttribute("class",r+" apexcharts-theme-"+e.config.tooltip.theme),a.appendChild(t.yaxisTooltip),0===n&&(t.yaxisTooltipText=[]),t.yaxisTooltipText[n]=document.createElement("div"),t.yaxisTooltipText[n].classList.add("apexcharts-yaxistooltip-text"),t.yaxisTooltip.appendChild(t.yaxisTooltipText[n]))},i=0;i<e.config.yaxis.length;i++)n(i)}},{key:"setXCrosshairWidth",value:function(){var e=this.w,t=this.ttCtx,n=t.getElXCrosshairs();if(t.xcrosshairsWidth=parseInt(e.config.xaxis.crosshairs.width,10),e.globals.comboCharts){var i=e.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(null!==i&&"barWidth"===e.config.xaxis.crosshairs.width){var r=parseFloat(i.getAttribute("barWidth"));t.xcrosshairsWidth=r}else if("tickWidth"===e.config.xaxis.crosshairs.width){var a=e.globals.labels.length;t.xcrosshairsWidth=e.globals.gridWidth/a}}else if("tickWidth"===e.config.xaxis.crosshairs.width){var o=e.globals.labels.length;t.xcrosshairsWidth=e.globals.gridWidth/o}else if("barWidth"===e.config.xaxis.crosshairs.width){var s=e.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(null!==s){var l=parseFloat(s.getAttribute("barWidth"));t.xcrosshairsWidth=l}else t.xcrosshairsWidth=1}e.globals.isBarHorizontal&&(t.xcrosshairsWidth=0),null!==n&&t.xcrosshairsWidth>0&&n.setAttribute("width",t.xcrosshairsWidth)}},{key:"handleYCrosshair",value:function(){var e=this.w,t=this.ttCtx;t.ycrosshairs=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs"),t.ycrosshairsHidden=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs-hidden")}},{key:"drawYaxisTooltipText",value:function(e,t,n){var i=this.ttCtx,r=this.w,a=r.globals.yLabelFormatters[e];if(i.yaxisTooltips[e]){var o=i.getElGrid().getBoundingClientRect(),s=(t-o.top)*n.yRatio[e],l=r.globals.maxYArr[e]-r.globals.minYArr[e],c=r.globals.minYArr[e]+(l-s);i.tooltipPosition.moveYCrosshairs(t-o.top),i.yaxisTooltipText[e].innerHTML=a(c),i.tooltipPosition.moveYAxisTooltip(e)}}}]),e}(),xe=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w;var n=this.w;this.tConfig=n.config.tooltip,this.tooltipUtil=new me(this),this.tooltipLabels=new ge(this),this.tooltipPosition=new ve(this),this.marker=new be(this),this.intersect=new ye(this),this.axesTooltip=new _e(this),this.showOnIntersect=this.tConfig.intersect,this.showTooltipTitle=this.tConfig.x.show,this.fixedTooltip=this.tConfig.fixed.enabled,this.xaxisTooltip=null,this.yaxisTTEls=null,this.isBarShared=!n.globals.isBarHorizontal&&this.tConfig.shared,this.lastHoverTime=Date.now()}return c(e,[{key:"getElTooltip",value:function(e){return e||(e=this),e.w.globals.dom.baseEl?e.w.globals.dom.baseEl.querySelector(".apexcharts-tooltip"):null}},{key:"getElXCrosshairs",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-xcrosshairs")}},{key:"getElGrid",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-grid")}},{key:"drawTooltip",value:function(e){var t=this.w;this.xyRatios=e,this.isXAxisTooltipEnabled=t.config.xaxis.tooltip.enabled&&t.globals.axisCharts,this.yaxisTooltips=t.config.yaxis.map((function(e,n){return!!(e.show&&e.tooltip.enabled&&t.globals.axisCharts)})),this.allTooltipSeriesGroups=[],t.globals.axisCharts||(this.showTooltipTitle=!1);var n=document.createElement("div");if(n.classList.add("apexcharts-tooltip"),t.config.tooltip.cssClass&&n.classList.add(t.config.tooltip.cssClass),n.classList.add("apexcharts-theme-".concat(this.tConfig.theme)),t.globals.dom.elWrap.appendChild(n),t.globals.axisCharts){this.axesTooltip.drawXaxisTooltip(),this.axesTooltip.drawYaxisTooltip(),this.axesTooltip.setXCrosshairWidth(),this.axesTooltip.handleYCrosshair();var i=new G(this.ctx);this.xAxisTicksPositions=i.getXAxisTicksPositions()}if(!t.globals.comboCharts&&!this.tConfig.intersect&&"rangeBar"!==t.config.chart.type||this.tConfig.shared||(this.showOnIntersect=!0),0!==t.config.markers.size&&0!==t.globals.markers.largestSize||this.marker.drawDynamicPoints(this),t.globals.collapsedSeries.length!==t.globals.series.length){this.dataPointsDividedHeight=t.globals.gridHeight/t.globals.dataPoints,this.dataPointsDividedWidth=t.globals.gridWidth/t.globals.dataPoints,this.showTooltipTitle&&(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.classList.add("apexcharts-tooltip-title"),this.tooltipTitle.style.fontFamily=this.tConfig.style.fontFamily||t.config.chart.fontFamily,this.tooltipTitle.style.fontSize=this.tConfig.style.fontSize,n.appendChild(this.tooltipTitle));var r=t.globals.series.length;
130(t.globals.xyCharts||t.globals.comboCharts)&&this.tConfig.shared&&(r=this.showOnIntersect?1:t.globals.series.length),this.legendLabels=t.globals.dom.baseEl.querySelectorAll(".apexcharts-legend-text"),this.ttItems=this.createTTElements(r),this.addSVGEvents()}}},{key:"createTTElements",value:function(e){for(var t=this,n=this.w,i=[],r=this.getElTooltip(),a=function(a){var o=document.createElement("div");o.classList.add("apexcharts-tooltip-series-group"),o.style.order=n.config.tooltip.inverseOrder?e-a:a+1,t.tConfig.shared&&t.tConfig.enabledOnSeries&&Array.isArray(t.tConfig.enabledOnSeries)&&t.tConfig.enabledOnSeries.indexOf(a)<0&&o.classList.add("apexcharts-tooltip-series-group-hidden");var s=document.createElement("span");s.classList.add("apexcharts-tooltip-marker"),s.style.backgroundColor=n.globals.colors[a],o.appendChild(s);var l=document.createElement("div");l.classList.add("apexcharts-tooltip-text"),l.style.fontFamily=t.tConfig.style.fontFamily||n.config.chart.fontFamily,l.style.fontSize=t.tConfig.style.fontSize,["y","goals","z"].forEach((function(e){var t=document.createElement("div");t.classList.add("apexcharts-tooltip-".concat(e,"-group"));var n=document.createElement("span");n.classList.add("apexcharts-tooltip-text-".concat(e,"-label")),t.appendChild(n);var i=document.createElement("span");i.classList.add("apexcharts-tooltip-text-".concat(e,"-value")),t.appendChild(i),l.appendChild(t)})),o.appendChild(l),r.appendChild(o),i.push(o)},o=0;o<e;o++)a(o);return i}},{key:"addSVGEvents",value:function(){var e=this.w,t=e.config.chart.type,n=this.getElTooltip(),i=!("bar"!==t&&"candlestick"!==t&&"boxPlot"!==t&&"rangeBar"!==t),r="area"===t||"line"===t||"scatter"===t||"bubble"===t||"radar"===t,a=e.globals.dom.Paper.node,o=this.getElGrid();o&&(this.seriesBound=o.getBoundingClientRect());var s,l=[],c=[],u={hoverArea:a,elGrid:o,tooltipEl:n,tooltipY:l,tooltipX:c,ttItems:this.ttItems};if(e.globals.axisCharts&&(r?s=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:longestSeries='true'] .apexcharts-marker"):i?s=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-bar-area, .apexcharts-series .apexcharts-candlestick-area, .apexcharts-series .apexcharts-boxPlot-area, .apexcharts-series .apexcharts-rangebar-area"):"heatmap"!==t&&"treemap"!==t||(s=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-heatmap, .apexcharts-series .apexcharts-treemap")),s&&s.length))for(var d=0;d<s.length;d++)l.push(s[d].getAttribute("cy")),c.push(s[d].getAttribute("cx"));if(e.globals.xyCharts&&!this.showOnIntersect||e.globals.comboCharts&&!this.showOnIntersect||i&&this.tooltipUtil.hasBars()&&this.tConfig.shared)this.addPathsEventListeners([a],u);else if(i&&!e.globals.comboCharts||r&&this.showOnIntersect)this.addDatapointEventsListeners(u);else if(!e.globals.axisCharts||"heatmap"===t||"treemap"===t){var h=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");this.addPathsEventListeners(h,u)}if(this.showOnIntersect){var f=e.globals.dom.baseEl.querySelectorAll(".apexcharts-line-series .apexcharts-marker, .apexcharts-area-series .apexcharts-marker");f.length>0&&this.addPathsEventListeners(f,u),this.tooltipUtil.hasBars()&&!this.tConfig.shared&&this.addDatapointEventsListeners(u)}}},{key:"drawFixedTooltipRect",value:function(){var e=this.w,t=this.getElTooltip(),n=t.getBoundingClientRect(),i=n.width+10,r=n.height+10,a=this.tConfig.fixed.offsetX,o=this.tConfig.fixed.offsetY,s=this.tConfig.fixed.position.toLowerCase();return s.indexOf("right")>-1&&(a=a+e.globals.svgWidth-i+10),s.indexOf("bottom")>-1&&(o=o+e.globals.svgHeight-r-10),t.style.left=a+"px",t.style.top=o+"px",{x:a,y:o,ttWidth:i,ttHeight:r}}},{key:"addDatapointEventsListeners",value:function(e){var t=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers .apexcharts-marker, .apexcharts-bar-area, .apexcharts-candlestick-area, .apexcharts-boxPlot-area, .apexcharts-rangebar-area");this.addPathsEventListeners(t,e)}},{key:"addPathsEventListeners",value:function(e,t){for(var n=this,i=function(i){var r={paths:e[i],tooltipEl:t.tooltipEl,tooltipY:t.tooltipY,tooltipX:t.tooltipX,elGrid:t.elGrid,hoverArea:t.hoverArea,ttItems:t.ttItems};["mousemove","mouseup","touchmove","mouseout","touchend"].map((function(t){return e[i].addEventListener(t,n.onSeriesHover.bind(n,r),{capture:!1,passive:!0})}
130))},r=0;r<e.length;r++)i(r)}},{key:"onSeriesHover",value:function(e,t){var n=this,i=Date.now()-this.lastHoverTime;i>=100?this.seriesHover(e,t):(clearTimeout(this.seriesHoverTimeout),this.seriesHoverTimeout=setTimeout((function(){n.seriesHover(e,t)}),100-i))}},{key:"seriesHover",value:function(e,t){var n=this;this.lastHoverTime=Date.now();var i=[],r=this.w;r.config.chart.group&&(i=this.ctx.getGroupedCharts()),r.globals.axisCharts&&(r.globals.minX===-1/0&&r.globals.maxX===1/0||0===r.globals.dataPoints)||(i.length?i.forEach((function(i){var r=n.getElTooltip(i),a={paths:e.paths,tooltipEl:r,tooltipY:e.tooltipY,tooltipX:e.tooltipX,elGrid:e.elGrid,hoverArea:e.hoverArea,ttItems:i.w.globals.tooltip.ttItems};i.w.globals.minX===n.w.globals.minX&&i.w.globals.maxX===n.w.globals.maxX&&i.w.globals.tooltip.seriesHoverByContext({chartCtx:i,ttCtx:i.w.globals.tooltip,opt:a,e:t})})):this.seriesHoverByContext({chartCtx:this.ctx,ttCtx:this.w.globals.tooltip,opt:e,e:t}))}},{key:"seriesHoverByContext",value:function(e){var t=e.chartCtx,n=e.ttCtx,i=e.opt,r=e.e,a=t.w,o=this.getElTooltip();o&&(n.tooltipRect={x:0,y:0,ttWidth:o.getBoundingClientRect().width,ttHeight:o.getBoundingClientRect().height},n.e=r,!n.tooltipUtil.hasBars()||a.globals.comboCharts||n.isBarShared||this.tConfig.onDatasetHover.highlightDataSeries&&new V(t).toggleSeriesOnHover(r,r.target.parentNode),n.fixedTooltip&&n.drawFixedTooltipRect(),a.globals.axisCharts?n.axisChartsTooltips({e:r,opt:i,tooltipRect:n.tooltipRect}):n.nonAxisChartsTooltips({e:r,opt:i,tooltipRect:n.tooltipRect}))}},{key:"axisChartsTooltips",value:function(e){var t,n,i=e.e,r=e.opt,a=this.w,o=r.elGrid.getBoundingClientRect(),s="touchmove"===i.type?i.touches[0].clientX:i.clientX,l="touchmove"===i.type?i.touches[0].clientY:i.clientY;if(this.clientY=l,this.clientX=s,a.globals.capturedSeriesIndex=-1,a.globals.capturedDataPointIndex=-1,l<o.top||l>o.top+o.height)this.handleMouseOut(r);else{if(Array.isArray(this.tConfig.enabledOnSeries)&&!a.config.tooltip.shared){var c=parseInt(r.paths.getAttribute("index"),10);if(this.tConfig.enabledOnSeries.indexOf(c)<0)return void this.handleMouseOut(r)}var u=this.getElTooltip(),d=this.getElXCrosshairs(),h=a.globals.xyCharts||"bar"===a.config.chart.type&&!a.globals.isBarHorizontal&&this.tooltipUtil.hasBars()&&this.tConfig.shared||a.globals.comboCharts&&this.tooltipUtil.hasBars();if("mousemove"===i.type||"touchmove"===i.type||"mouseup"===i.type){if(a.globals.collapsedSeries.length+a.globals.ancillaryCollapsedSeries.length===a.globals.series.length)return;null!==d&&d.classList.add("apexcharts-active");var f=this.yaxisTooltips.filter((function(e){return!0===e}));if(null!==this.ycrosshairs&&f.length&&this.ycrosshairs.classList.add("apexcharts-active"),h&&!this.showOnIntersect)this.handleStickyTooltip(i,s,l,r);else if("heatmap"===a.config.chart.type||"treemap"===a.config.chart.type){var p=this.intersect.handleHeatTreeTooltip({e:i,opt:r,x:t,y:n,type:a.config.chart.type});t=p.x,n=p.y,u.style.left=t+"px",u.style.top=n+"px"}else this.tooltipUtil.hasBars()&&this.intersect.handleBarTooltip({e:i,opt:r}),this.tooltipUtil.hasMarkers()&&this.intersect.handleMarkerTooltip({e:i,opt:r,x:t,y:n});if(this.yaxisTooltips.length)for(var m=0;m<a.config.yaxis.length;m++)this.axesTooltip.drawYaxisTooltipText(m,l,this.xyRatios);r.tooltipEl.classList.add("apexcharts-active")}else"mouseout"!==i.type&&"touchend"!==i.type||this.handleMouseOut(r)}}},{key:"nonAxisChartsTooltips",value:function(e){var t=e.e,n=e.opt,i=e.tooltipRect,r=this.w,a=n.paths.getAttribute("rel"),o=this.getElTooltip(),s=r.globals.dom.elWrap.getBoundingClientRect();if("mousemove"===t.type||"touchmove"===t.type){o.classList.add("apexcharts-active"),this.tooltipLabels.drawSeriesTexts({ttItems:n.ttItems,i:parseInt(a,10)-1,shared:!1});var l=r.globals.clientX-s.left-i.ttWidth/2,c=r.globals.clientY-s.top-i.ttHeight-10;if(o.style.left=l+"px",o.style.top=c+"px",r.config.legend.tooltipHoverFormatter){var u=a-1,d=(0,r.config.legend.tooltipHoverFormatter)(this.legendLabels[u].getAttribute("data:default-text"),{seriesIndex:u,dataPointIndex:u,w:r});this.legendLabels[u].innerHTML=d}}else"mouseout"!==t.type&&"touchend"!==t.type||(o.classList.remove("apexcharts-active"),r.config.legend.tooltipHoverFormatter&&this.legendLabels.forEac
130h((function(e){var t=e.getAttribute("data:default-text");e.innerHTML=decodeURIComponent(t)})))}},{key:"handleStickyTooltip",value:function(e,t,n,i){var r=this.w,a=this.tooltipUtil.getNearestValues({context:this,hoverArea:i.hoverArea,elGrid:i.elGrid,clientX:t,clientY:n}),o=a.j,s=a.capturedSeries;r.globals.collapsedSeriesIndices.includes(s)&&(s=null);var l=i.elGrid.getBoundingClientRect();if(a.hoverX<0||a.hoverX>l.width)this.handleMouseOut(i);else if(null!==s)this.handleStickyCapturedSeries(e,s,i,o);else if(this.tooltipUtil.isXoverlap(o)||r.globals.isBarHorizontal){var c=r.globals.series.findIndex((function(e,t){return!r.globals.collapsedSeriesIndices.includes(t)}));this.create(e,this,c,o,i.ttItems)}}},{key:"handleStickyCapturedSeries",value:function(e,t,n,i){var r=this.w;if(this.tConfig.shared||null!==r.globals.series[t][i]){if(void 0!==r.globals.series[t][i])this.tConfig.shared&&this.tooltipUtil.isXoverlap(i)&&this.tooltipUtil.isInitialSeriesSameLen()?this.create(e,this,t,i,n.ttItems):this.create(e,this,t,i,n.ttItems,!1);else if(this.tooltipUtil.isXoverlap(i)){var a=r.globals.series.findIndex((function(e,t){return!r.globals.collapsedSeriesIndices.includes(t)}));this.create(e,this,a,i,n.ttItems)}}else this.handleMouseOut(n)}},{key:"deactivateHoverFilter",value:function(){for(var e=this.w,t=new k(this.ctx),n=e.globals.dom.Paper.select(".apexcharts-bar-area"),i=0;i<n.length;i++)t.pathMouseLeave(n[i])}},{key:"handleMouseOut",value:function(e){var t=this.w,n=this.getElXCrosshairs();if(e.tooltipEl.classList.remove("apexcharts-active"),this.deactivateHoverFilter(),"bubble"!==t.config.chart.type&&this.marker.resetPointsSize(),null!==n&&n.classList.remove("apexcharts-active"),null!==this.ycrosshairs&&this.ycrosshairs.classList.remove("apexcharts-active"),this.isXAxisTooltipEnabled&&this.xaxisTooltip.classList.remove("apexcharts-active"),this.yaxisTooltips.length){null===this.yaxisTTEls&&(this.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));for(var i=0;i<this.yaxisTTEls.length;i++)this.yaxisTTEls[i].classList.remove("apexcharts-active")}
130t.config.legend.tooltipHoverFormatter&&this.legendLabels.forEach((function(e){var t=e.getAttribute("data:default-text");e.innerHTML=decodeURIComponent(t)}))}},{key:"markerClick",value:function(e,t,n){var i=this.w;"function"==typeof i.config.chart.events.markerClick&&i.config.chart.events.markerClick(e,this.ctx,{seriesIndex:t,dataPointIndex:n,w:i}),this.ctx.events.fireEvent("markerClick",[e,this.ctx,{seriesIndex:t,dataPointIndex:n,w:i}])}},{key:"create",value:function(e,t,n,i,r){var o,s,l,c,u,d,h,f,p,m,g,v,b,y,_,x,w=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,S=this.w,M=t;"mouseup"===e.type&&this.markerClick(e,n,i),null===w&&(w=this.tConfig.shared);var L=this.tooltipUtil.hasMarkers(n),A=this.tooltipUtil.getElBars();if(S.config.legend.tooltipHoverFormatter){var O=S.config.legend.tooltipHoverFormatter,C=Array.from(this.legendLabels);C.forEach((function(e){var t=e.getAttribute("data:default-text");e.innerHTML=decodeURIComponent(t)}));for(var T=0;T<C.length;T++){var E=C[T],D=parseInt(E.getAttribute("i"),10),P=decodeURIComponent(E.getAttribute("data:default-text")),j=O(P,{seriesIndex:w?D:n,dataPointIndex:i,w:S});if(w)E.innerHTML=S.globals.collapsedSeriesIndices.indexOf(D)<0?j:P;else if(E.innerHTML=D===n?j:P,n===D)break}}var Y=a(a({ttItems:r,i:n,j:i},void 0!==(null===(o=S.globals.seriesRange)||void 0===o||null===(s=o[n])||void 0===s||null===(l=s[i])||void 0===l||null===(c=l.y[0])||void 0===c?void 0:c.y1)&&{y1:null===(u=S.globals.seriesRange)||void 0===u||null===(d=u[n])||void 0===d||null===(h=d[i])||void 0===h||null===(f=h.y[0])||void 0===f?void 0:f.y1}),void 0!==(null===(p=S.globals.seriesRange)||void 0===p||null===(m=p[n])||void 0===m||null===(g=m[i])||void 0===g||null===(v=g.y[0])||void 0===v?void 0:v.y2)&&{y2:null===(b=S.globals.seriesRange)||void 0===b||null===(y=b[n])||void 0===y||null===(_=y[i])||void 0===_||null===(x=_.y[0])||void 0===x?void 0:x.y2});if(w){if(M.tooltipLabels.drawSeriesTexts(a(a({},Y),{},{shared:!this.showOnIntersect&&this.tConfig.shared})),L)S.globals.markers.largestSize>0?M.marker.enlargePoints(i):M.tooltipPosition.moveDynamicPointsOnHover(i);else if(this.tooltipUtil.hasBars()&&(this.barSeriesHeight=this.tooltipUtil.getBarsHeight(A),this.barSeriesHeight>0)){var I=new k(this.ctx),R=S.globals.dom.Paper.select(".apexcharts-bar-area[j='".concat(i,"']"));this.deactivateHoverFilter(),this.tooltipPosition.moveStickyTooltipOverBars(i,n);for(var H=0;H<R.length;H++)I.pathMouseEnter(R[H])}}else M.tooltipLabels.drawSeriesTexts(a({shared:!1},Y)),this.tooltipUtil.hasBars()&&M.tooltipPosition.moveStickyTooltipOverBars(i,n),L&&M.tooltipPosition.moveMarkers(n,i)}}]),e}(),we=function(){function e(t){s(this,e),this.w=t.w,this.barCtx=t,this.totalFormatter=this.w.config.plotOptions.bar.dataLabels.total.formatter,this.totalFormatter||(this.totalFormatter=this.w.config.dataLabels.formatter)}return c(e,[{key:"handleBarDataLabels",value:function(e){var t=e.x,n=e.y,i=e.y1,r=e.y2,a=e.i,o=e.j,s=e.realIndex,l=e.groupIndex,c=e.series,u=e.barHeight,d=e.barWidth,h=e.barXPosition,f=e.barYPosition,p=e.visibleSeries,m=e.renderedPath,g=this.w,v=new k(this.barCtx.ctx),b=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[s]:this.barCtx.strokeWidth,y=t+parseFloat(d*p),_=n+parseFloat(u*p);g.globals.isXNumeric&&!g.globals.isBarHorizontal&&(y=t+parseFloat(d*(p+1)),_=n+parseFloat(u*(p+1))-b);var x,w,S=null,M=t,L=n,A=g.config.dataLabels,O=this.barCtx.barOptions.dataLabels,C=this.barCtx.barOptions.dataLabels.total;void 0!==f&&this.barCtx.isRangeBar&&(_=f,L=f),void 0!==h&&this.barCtx.isVerticalGroupedRangeBar&&(y=h,M=h);var T=A.offsetX,E=A.offsetY,D={width:0,height:0};if(g.config.dataLabels.enabled){var P=this.barCtx.series[a][o];D=v.getTextRects(g.globals.yLabelFormatters[0](P),parseFloat(A.style.fontSize))}var j={x:t,y:n,i:a,j:o,realIndex:s,groupIndex:l||-1,renderedPath:m,bcx:y,bcy:_,barHeight:u,barWidth:d,textRects:D,strokeWidth:b,dataLabelsX:M,dataLabelsY:L,dataLabelsConfig:A,barDataLabelsConfig:O,barTotalDataLabelsConfig:C,offX:T,offY:E};return w=this.barCtx.isHorizontal?this.calculateBarsDataLabelsPosition(j):this.calculateColumnsDataLabelsPosition(j),m.attr({cy:w.bcy,cx:w.bcx,j:o,val:c[a][o],barHeight:u,barWidth:d}),x=this.drawCalculatedDataLabels({x:w.dataLabelsX,y:w.dataLabelsY,val:this.barCtx.isRangeBar?[i,r]:c[a][o],i:s,j:o,barWidth:d,barHeight:u,textRects:D,dataLabelsConfig:A}),g.config.chart.stacked&&C.enabled&&(S=this.drawTotalDataLabels({x:w.totalDataLabelsX,y:w.totalDataLabelsY,barWidth:d,barHeight:u,realIndex:s,textAnchor:w.totalDataLabelsAnchor,val:this.getStackedTotalDataLabel({realIndex:s,j:o}),dataLabelsConfig:A,barTotalDataLabelsConfig:C})),{dataLabels:x,totalDataLabels:S}}},{key:"getStackedTotalDataLabel",value:function(e){var t=e.realIndex,n=e.j,i=this.w,r=this.barCtx.stackedSeriesTotals[n];return this.totalFormatter&&(r=this.totalFormatter(r,a(a({},i),{},{seriesIndex:t,dataPointIndex:n,w:i}))),r}},{key:"calculateColumnsDataLabelsPosition",value:function(e){var t,n,i=this.w,r=e.i,a=e.j,o=e.realIndex,s=e.groupIndex,l=e.y,c=e.bcx,u=e.barWidth,d=e.barHeight,h=e.textRects,f=e.dataLabelsX,p=e.dataLabelsY,m=e.dataLabelsConfig,g=e.barDataLabelsConfig,v=e.barTotalDataLabelsConfig,b=e.strokeWidth,y=e.offX,_=e.offY;d=Math.abs(d);var x="vertical"===i.config.plotOptions.bar.dataLabels.orientation,w=this.barCtx.barHelpers.getZeroValueEncounters({i:r,j:a}).zeroEncounters;c=c-b/2+(-1!==s?s*u:0);var S=i.globals.gridWidth/i.globals.dataPoints;this.barCtx.isVerticalGroupedRangeBar?f+=u/2:(f=i.globals.isXNumeric?c-u/2+y:c-S+u/2+y,w>0&&i.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(f-=u*w)),x&&(f=f+h.height/2-b/2-2);var M=this.barCtx.series[r][a]<0,L=l;switch(this.barCtx.isReversed&&(L=l-d+(M?2*d:0),l-=d),g.position){case"center":p=x?M?L-d/2+_:L+d/2-_:M?L-d/2+h.height/2+_:L+d/2+h.height/2-_;break;case"bottom":p=x?M?L-d+_:L+d-_:M?L-d+h.height+b+_:L+d-h.height/2+b-_;break;case"top":p=x?M?L+_:L-_:M?L-h.height/2-_:L+h.height+_}if(this.barCtx.lastActiveBarSerieIndex===o&&v.enabled){var A=new k(this.barCtx.ctx).getTextRects(this.getStackedTotalDataLabel({realIndex:o,j:a}),m.fontSize);t=M?L-A.height/2-_-v.offsetY+18:L+A.height+_+v.offsetY-18,n=f+v.offsetX}return i.config.chart.stacked||(p<0?p=0+b:p+h.height/3>i.globals.gridHeight&&(p=i.globals.gridHeight-b)),{bcx:c,bcy:l,dataLabelsX:f,dataLabelsY:p,totalDataLabelsX:n,totalDataLabelsY:t,totalDataLabelsAnchor:"middle"}}},{key:"calculateBarsDataLabelsPosition",value:function(e){var t=this.w,n=e.x,i=e.i,r=e.j,a=e.realIndex,o=e.groupIndex,s=e.bcy,l=e.barHeight,c=e.barWidth,u=e.textRects,d=e.dataLabelsX,h=e.strokeWidth,f=e.dataLabelsConfig,p=e.barDataLabelsConfig,m=e.barTotalDataLabelsConfig,g=e.offX,v=e.offY,b=t.globals.gridHeight/t.globals.dataPoints;c=Math.abs(c);var y,_,x=(s+=-1!==o?o*l:0)-(this.barCtx.isRangeBar?0:b)+l/2+u.height/2+v-3,w="start",S=this.barCtx.series[i][r]<0,M=n;switch(this.barCtx.isReversed&&(M=n+c-(S?2*c:0),n=t.globals.gridWidth-c),p.position){case"center":d=S?M+c/2-g:Math.max(u.width/2,M-c/2)+g;break;case"bottom":d=S?M+c-h-Math.round(u.width/2)-g:M-c+h+Math.round(u.width/2)+g;break;case"top":d=S?M-h+Math.round(u.width/2)-g:M-h-Math.round(u.width/2)+g}if(this.barCtx.lastActiveBarSerieIndex===a&&m.enabled){var L=new k(this.barCtx.ctx).getTextRects(this.getStackedTotalDataLabel({realIndex:a,j:r}),f.fontSize);S?(y=M-h+Math.round(L.width/2)-g-m.offsetX-15,w="end"):y=M-h-Math.round(L.width/2)+g+m.offsetX+15,_=x+m.offsetY}return t.config.chart.stacked||(d<0?d=d+u.width+h:d+u.width/2>t.globals.gridWidth&&(d=t.globals.gridWidth-u.width-h)),{bcx:n,bcy:s,dataLabelsX:d,dataLabelsY:x,totalDataLabelsX:y,totalDataLabelsY:_,totalDataLabelsAnchor:w}}},{key:"drawCalculatedDataLabels",value:function(e){var t=e.x,n=e.y,i=e.val,r=e.i,o=e.j,s=e.textRects,l=e.barHeight,c=e.barWidth,u=e.dataLabelsConfig,d=this.w,h="rotate(0)";"vertical"===d.config.plotOptions.bar.dataLabels.orientation&&(h="rotate(-90, ".concat(t,", ").concat(n,")"));var f=new W(this.barCtx.ctx),p=new k(this.barCtx.ctx),m=u.formatter,g=null,v=d.globals.collapsedSeriesIndices.indexOf(r)>-1;if(u.enabled&&!v){g=p.group({class:"apexcharts-data-labels",transform:h});var b="";void 0!==i&&(b=m(i,a(a({},d),{},{seriesIndex:r,dataPointIndex:o,w:d}))),!i&&d.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(b="");var y=d.globals.series[r][o]<0,_=d.config.plotOptions.bar.dataLabels.position;"vertical"===d.config.plotOptions.bar.dataLabels.orientation&&("top"===_&&(u.textAnchor=y?"end":"start"),"center"===_&&(u.textAnchor="middle"),"bottom"===_&&(u.textAnchor=y?"end":"start")),this.barCtx.isRangeBar&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&c<p.getTextRects(b,parseFloat(u.style.fontSize)).width&&(b=""),d.config.chart.stacked&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&(this.barCtx.isHorizontal?s.width/1.6>Math.abs(c)&&(b=""):s.height/1.6>Math.abs(l)&&(b=""));var x=a({},u);this.barCtx.isHorizontal&&i<0&&("start"===u.textAnchor?x.textAnchor="end":"end"===u.textAnchor&&(x.textAnchor="start")),f.plotDataLabelsText({x:t,y:n,text:b,i:r,j:o,parent:g,dataLabelsConfig:x,alwaysDrawDataLabel:!0,offsetCorrection:!0}
130)}return g}},{key:"drawTotalDataLabels",value:function(e){var t,n=e.x,i=e.y,r=e.val,a=e.barWidth,o=e.barHeight,s=e.realIndex,l=e.textAnchor,c=e.barTotalDataLabelsConfig,u=this.w,d=new k(this.barCtx.ctx);return c.enabled&&void 0!==n&&void 0!==i&&this.barCtx.lastActiveBarSerieIndex===s&&(t=d.drawText({x:n-(!u.globals.isBarHorizontal&&u.globals.seriesGroups.length?a/u.globals.seriesGroups.length:0),y:i-(u.globals.isBarHorizontal&&u.globals.seriesGroups.length?o/u.globals.seriesGroups.length:0),foreColor:c.style.color,text:r,textAnchor:l,fontFamily:c.style.fontFamily,fontSize:c.style.fontSize,fontWeight:c.style.fontWeight})),t}}]),e}(),ke=function(){function e(t){s(this,e),this.w=t.w,this.barCtx=t}return c(e,[{key:"initVariables",value:function(e){var t=this.w;this.barCtx.series=e,this.barCtx.totalItems=0,this.barCtx.seriesLen=0,this.barCtx.visibleI=-1,this.barCtx.visibleItems=1;for(var n=0;n<e.length;n++)if(e[n].length>0&&(this.barCtx.seriesLen=this.barCtx.seriesLen+1,this.barCtx.totalItems+=e[n].length),t.globals.isXNumeric)for(var i=0;i<e[n].length;i++)t.globals.seriesX[n][i]>t.globals.minX&&t.globals.seriesX[n][i]<t.globals.maxX&&this.barCtx.visibleItems++;else this.barCtx.visibleItems=t.globals.dataPoints;0===this.barCtx.seriesLen&&(this.barCtx.seriesLen=1),this.barCtx.zeroSerieses=[],t.globals.comboCharts||this.checkZeroSeries({series:e})}},{key:"initialPositions",value:function(){var e,t,n,i,r,a,o,s,l=this.w,c=l.globals.dataPoints;this.barCtx.isRangeBar&&(c=l.globals.labels.length);var u=this.barCtx.seriesLen;if(l.config.plotOptions.bar.rangeBarGroupRows&&(u=1),this.barCtx.isHorizontal)r=(n=l.globals.gridHeight/c)/u,l.globals.isXNumeric&&(r=(n=l.globals.gridHeight/this.barCtx.totalItems)/this.barCtx.seriesLen),r=r*parseInt(this.barCtx.barOptions.barHeight,10)/100,-1===String(this.barCtx.barOptions.barHeight).indexOf("%")&&(r=parseInt(this.barCtx.barOptions.barHeight,10)),s=this.barCtx.baseLineInvertedY+l.globals.padHorizontal+(this.barCtx.isReversed?l.globals.gridWidth:0)-(this.barCtx.isReversed?2*this.barCtx.baseLineInvertedY:0),this.barCtx.isFunnel&&(s=l.globals.gridWidth/2),t=(n-r*this.barCtx.seriesLen)/2;else{if(i=l.globals.gridWidth/this.barCtx.visibleItems,l.config.xaxis.convertedCatToNumeric&&(i=l.globals.gridWidth/l.globals.dataPoints),a=i/u*parseInt(this.barCtx.barOptions.columnWidth,10)/100,l.globals.isXNumeric){var d=this.barCtx.xRatio;l.config.xaxis.convertedCatToNumeric&&(d=this.barCtx.initialXRatio),l.globals.minXDiff&&.5!==l.globals.minXDiff&&l.globals.minXDiff/d>0&&(i=l.globals.minXDiff/d),(a=i/u*parseInt(this.barCtx.barOptions.columnWidth,10)/100)<1&&(a=1)}-1===String(this.barCtx.barOptions.columnWidth).indexOf("%")&&(a=parseInt(this.barCtx.barOptions.columnWidth,10)),o=l.globals.gridHeight-this.barCtx.baseLineY[this.barCtx.yaxisIndex]-(this.barCtx.isReversed?l.globals.gridHeight:0)+(this.barCtx.isReversed?2*this.barCtx.baseLineY[this.barCtx.yaxisIndex]:0),e=l.globals.padHorizontal+(i-a*this.barCtx.seriesLen)/2}return l.globals.barHeight=r,l.globals.barWidth=a,{x:e,y:t,yDivision:n,xDivision:i,barHeight:r,barWidth:a,zeroH:o,zeroW:s}}},{key:"initializeStackedPrevVars",value:function(e){var t=e.w;t.globals.hasSeriesGroups?t.globals.seriesGroups.forEach((function(t){e[t]||(e[t]={}),e[t].prevY=[],e[t].prevX=[],e[t].prevYF=[],e[t].prevXF=[],e[t].prevYVal=[],e[t].prevXVal=[]})):(e.prevY=[],e.prevX=[],e.prevYF=[],e.prevXF=[],e.prevYVal=[],e.prevXVal=[])}},{key:"initializeStackedXYVars",value:function(e){var t=e.w;t.globals.hasSeriesGroups?t.globals.seriesGroups.forEach((function(t){e[t]||(e[t]={}),e[t].xArrj=[],e[t].xArrjF=[],e[t].xArrjVal=[],e[t].yArrj=[],e[t].yArrjF=[],e[t].yArrjVal=[]})):(e.xArrj=[],e.xArrjF=[],e.xArrjVal=[],e.yArrj=[],e.yArrjF=[],e.yArrjVal=[])}},{key:"getPathFillColor",value:function(e,t,n,i){var r,a,o,s,l=this.w,c=new F(this.barCtx.ctx),u=null,d=this.barCtx.barOptions.distributed?n:t;return this.barCtx.barOptions.colors.ranges.length>0&&this.barCtx.barOptions.colors.ranges.map((function(i){e[t][n]>=i.from&&e[t][n]<=i.to&&(u=i.color)})),l.config.series[t].data[n]&&l.config.series[t].data[n].fillColor&&(u=l.config.series[t].data[n].fillColor),c.fillPath({seriesNumber:this.barCtx.barOptions.distributed?d:i,dataPointIndex:n,color:u,value:e[t][n],fillConfig:null===(r=l.config.series[t].data[n])||void 0===r?void 0:r.fill,fillType:null!==(a=l.config.series[t].data[n])&&void 0!==a&&null!==(o=a.fill)&&void 0!==o&&o.type?null===(s=l.config.series[t].data[n])||void 0===s?void 0:s.fill.type:Array.isArray(l.config.fill.type)?l.config.fill.type[t]:l.config.fill.type})}},{key:"getStrokeWidth",value:function(e,t,n){var i=0,r=this.w;return this.barCtx.series[e][t]?this.barCtx.isNullValue=!1:this.barCtx.isNullValue=!0,r.config.stroke.show&&(this.barCtx.isNullValue||(i=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[n]:this.barCtx.strokeWidth)),i}},{key:"shouldApplyRadius",value:function(e){var t=this.w,n=!1;return t.config.plotOptions.bar.borderRadius>0&&(t.config.chart.stacked&&"last"===t.config.plotOptions.bar.borderRadiusWhenStacked?this.barCtx.lastActiveBarSerieIndex===e&&(n=!0):n=!0),n}}
130,{key:"barBackground",value:function(e){var t=e.j,n=e.i,i=e.x1,r=e.x2,a=e.y1,o=e.y2,s=e.elSeries,l=this.w,c=new k(this.barCtx.ctx),u=new V(this.barCtx.ctx).getActiveConfigSeriesIndex();if(this.barCtx.barOptions.colors.backgroundBarColors.length>0&&u===n){t>=this.barCtx.barOptions.colors.backgroundBarColors.length&&(t%=this.barCtx.barOptions.colors.backgroundBarColors.length);var d=this.barCtx.barOptions.colors.backgroundBarColors[t],h=c.drawRect(void 0!==i?i:0,void 0!==a?a:0,void 0!==r?r:l.globals.gridWidth,void 0!==o?o:l.globals.gridHeight,this.barCtx.barOptions.colors.backgroundBarRadius,d,this.barCtx.barOptions.colors.backgroundBarOpacity);s.add(h),h.node.classList.add("apexcharts-backgroundBar")}}},{key:"getColumnPaths",value:function(e){var t,n=e.barWidth,i=e.barXPosition,r=e.y1,a=e.y2,o=e.strokeWidth,s=e.seriesGroup,l=e.realIndex,c=e.i,u=e.j,d=e.w,h=new k(this.barCtx.ctx);(o=Array.isArray(o)?o[l]:o)||(o=0);var f=n,p=i;null!==(t=d.config.series[l].data[u])&&void 0!==t&&t.columnWidthOffset&&(p=i-d.config.series[l].data[u].columnWidthOffset/2,f=n+d.config.series[l].data[u].columnWidthOffset);var m=p,g=p+f;r+=.001,a+=.001;var v=h.move(m,r),b=h.move(m,r),y=h.line(g-o,r);if(d.globals.previousPaths.length>0&&(b=this.barCtx.getPreviousPath(l,u,!1)),v=v+h.line(m,a)+h.line(g-o,a)+h.line(g-o,r)+("around"===d.config.plotOptions.bar.borderRadiusApplication?" Z":" z"),b=b+h.line(m,r)+y+y+y+y+y+h.line(m,r)+("around"===d.config.plotOptions.bar.borderRadiusApplication?" Z":" z"),this.shouldApplyRadius(l)&&(v=h.roundPathCorners(v,d.config.plotOptions.bar.borderRadius)),d.config.chart.stacked){var _=this.barCtx;d.globals.hasSeriesGroups&&s&&(_=this.barCtx[s]),_.yArrj.push(a),_.yArrjF.push(Math.abs(r-a)),_.yArrjVal.push(this.barCtx.series[c][u])}return{pathTo:v,pathFrom:b}}},{key:"getBarpaths",value:function(e){var t,n=e.barYPosition,i=e.barHeight,r=e.x1,a=e.x2,o=e.strokeWidth,s=e.seriesGroup,l=e.realIndex,c=e.i,u=e.j,d=e.w,h=new k(this.barCtx.ctx);(o=Array.isArray(o)?o[l]:o)||(o=0);var f=n,p=i;null!==(t=d.config.series[l].data[u])&&void 0!==t&&t.barHeightOffset&&(f=n-d.config.series[l].data[u].barHeightOffset/2,p=i+d.config.series[l].data[u].barHeightOffset);var m=f,g=f+p;r+=.001,a+=.001;var v=h.move(r,m),b=h.move(r,m);d.globals.previousPaths.length>0&&(b=this.barCtx.getPreviousPath(l,u,!1));var y=h.line(r,g-o);if(v=v+h.line(a,m)+h.line(a,g-o)+y+("around"===d.config.plotOptions.bar.borderRadiusApplication?" Z":" z"),b=b+h.line(r,m)+y+y+y+y+y+h.line(r,m)+("around"===d.config.plotOptions.bar.borderRadiusApplication?" Z":" z"),this.shouldApplyRadius(l)&&(v=h.roundPathCorners(v,d.config.plotOptions.bar.borderRadius)),d.config.chart.stacked){var _=this.barCtx;d.globals.hasSeriesGroups&&s&&(_=this.barCtx[s]),_.xArrj.push(a),_.xArrjF.push(Math.abs(r-a)),_.xArrjVal.push(this.barCtx.series[c][u])}return{pathTo:v,pathFrom:b}}},{key:"checkZeroSeries",value:function(e){for(var t=e.series,n=this.w,i=0;i<t.length;i++){for(var r=0,a=0;a<t[n.globals.maxValsInArrayIndex].length;a++)r+=t[i][a];0===r&&this.barCtx.zeroSerieses.push(i)}}},{key:"getXForValue",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?null:t;return null!=e&&(n=t+e/this.barCtx.invertedYRatio-2*(this.barCtx.isReversed?e/this.barCtx.invertedYRatio:0)),n}},{key:"getYForValue",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?null:t;return null!=e&&(n=t-e/this.barCtx.yRatio[this.barCtx.yaxisIndex]+2*(this.barCtx.isReversed?e/this.barCtx.yRatio[this.barCtx.yaxisIndex]:0)),n}},{key:"getGoalValues",value:function(e,t,n,i,r){var o=this,s=this.w,l=[],c=function(i,r){var a;l.push((u(a={},e,"x"===e?o.getXForValue(i,t,!1):o.getYForValue(i,n,!1)),u(a,"attrs",r),a))};if(s.globals.seriesGoals[i]&&s.globals.seriesGoals[i][r]&&Array.isArray(s.globals.seriesGoals[i][r])&&s.globals.seriesGoals[i][r].forEach((function(e){c(e.value,e)})),this.barCtx.barOptions.isDumbbell&&s.globals.seriesRange.length){var d=this.barCtx.barOptions.dumbbellColors?this.barCtx.barOptions.dumbbellColors:s.globals.colors,h={strokeHeight:"x"===e?0:s.globals.markers.size[i],strokeWidth:"x"===e?s.globals.markers.size[i]:0,strokeDashArray:0,strokeLineCap:"round",strokeColor:Array.isArray(d[i])?d[i][0]:d[i]};c(s.globals.seriesRangeStart[i][r],h),c(s.globals.seriesRangeEnd[i][r],a(a({},h),{},{strokeColor:Array.isArray(d[i])?d[i][1]:d[i]}))}return l}},{key:"drawGoalLine",value:function(e){var t=e.barXPosition,n=e.barYPosition,i=e.goalX,r=e.goalY,a=e.barWidth,o=e.barHeight,s=new k(this.barCtx.ctx),l=s.group({className:"apexcharts-bar-goals-groups"});l.node.classList.add("apexcharts-element-hidden"),this.barCtx.w.globals.delayedElements.push({el:l.node}),l.attr("clip-path","url(#gridRectMarkerMask".concat(this.barCtx.w.globals.cuid,")"));var c=null;
130return this.barCtx.isHorizontal?Array.isArray(i)&&i.forEach((function(e){var t=void 0!==e.attrs.strokeHeight?e.attrs.strokeHeight:o/2,i=n+t+o/2;c=s.drawLine(e.x,i-2*t,e.x,i,e.attrs.strokeColor?e.attrs.strokeColor:void 0,e.attrs.strokeDashArray,e.attrs.strokeWidth?e.attrs.strokeWidth:2,e.attrs.strokeLineCap),l.add(c)})):Array.isArray(r)&&r.forEach((function(e){var n=void 0!==e.attrs.strokeWidth?e.attrs.strokeWidth:a/2,i=t+n+a/2;c=s.drawLine(i-2*n,e.y,i,e.y,e.attrs.strokeColor?e.attrs.strokeColor:void 0,e.attrs.strokeDashArray,e.attrs.strokeHeight?e.attrs.strokeHeight:2,e.attrs.strokeLineCap),l.add(c)})),l}},{key:"drawBarShadow",value:function(e){var t=e.prevPaths,n=e.currPaths,i=e.color,r=this.w,a=t.x,o=t.x1,s=t.barYPosition,l=n.x,c=n.x1,u=n.barYPosition,d=s+n.barHeight,h=new k(this.barCtx.ctx),f=new _,p=h.move(o,d)+h.line(a,d)+h.line(l,u)+h.line(c,u)+h.line(o,d)+("around"===r.config.plotOptions.bar.borderRadiusApplication?" Z":" z");return h.drawPath({d:p,fill:f.shadeColor(.5,_.rgb2hex(i)),stroke:"none",strokeWidth:0,fillOpacity:1,classes:"apexcharts-bar-shadows"})}},{key:"getZeroValueEncounters",value:function(e){var t=e.i,n=e.j,i=this.w,r=0,a=0;return i.globals.seriesPercent.forEach((function(e,i){e[n]&&r++,i<t&&0===e[n]&&a++})),{nonZeroColumns:r,zeroEncounters:a}}}]),e}(),Se=function(){function e(t,n){s(this,e),this.ctx=t,this.w=t.w;var i=this.w;this.barOptions=i.config.plotOptions.bar,this.isHorizontal=this.barOptions.horizontal,this.strokeWidth=i.config.stroke.width,this.isNullValue=!1,this.isRangeBar=i.globals.seriesRange.length&&this.isHorizontal,this.isVerticalGroupedRangeBar=!i.globals.isBarHorizontal&&i.globals.seriesRange.length&&i.config.plotOptions.bar.rangeBarGroupRows,this.isFunnel=this.barOptions.isFunnel,this.xyRatios=n,null!==this.xyRatios&&(this.xRatio=n.xRatio,this.initialXRatio=n.initialXRatio,this.yRatio=n.yRatio,this.invertedXRatio=n.invertedXRatio,this.invertedYRatio=n.invertedYRatio,this.baseLineY=n.baseLineY,this.baseLineInvertedY=n.baseLineInvertedY),this.yaxisIndex=0,this.seriesLen=0,this.pathArr=[];var r=new V(this.ctx);this.lastActiveBarSerieIndex=r.getActiveConfigSeriesIndex("desc",["bar","column"]);var a=r.getBarSeriesIndices(),o=new S(this.ctx);this.stackedSeriesTotals=o.getStackedSeriesTotals(this.w.config.series.map((function(e,t){return-1===a.indexOf(t)?t:-1})).filter((function(e){return-1!==e}))),this.barHelpers=new ke(this)}return c(e,[{key:"draw",value:function(e,t){var n=this.w,i=new k(this.ctx),r=new S(this.ctx,n);e=r.getLogSeries(e),this.series=e,this.yRatio=r.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e);var o=i.group({class:"apexcharts-bar-series apexcharts-plot-series"});n.config.dataLabels.enabled&&this.totalItems>this.barOptions.dataLabels.maxItems&&console.warn("WARNING: DataLabels are enabled but there are too many to display. This may cause performance issue when rendering - ApexCharts");for(var s=0,l=0;s<e.length;s++,l++){var c,u,d,h,f=void 0,p=void 0,m=[],g=[],v=n.globals.comboCharts?t[s]:s,b=i.group({class:"apexcharts-series",rel:s+1,seriesName:_.escapeString(n.globals.seriesNames[v]),"data:realIndex":v});this.ctx.series.addCollapsedClassToSeries(b,v),e[s].length>0&&(this.visibleI=this.visibleI+1);var y=0,x=0;this.yRatio.length>1&&(this.yaxisIndex=v),this.isReversed=n.config.yaxis[this.yaxisIndex]&&n.config.yaxis[this.yaxisIndex].reversed;var w=this.barHelpers.initialPositions();p=w.y,y=w.barHeight,u=w.yDivision,h=w.zeroW,f=w.x,x=w.barWidth,c=w.xDivision,d=w.zeroH,this.horizontal||g.push(f+x/2);var M=i.group({class:"apexcharts-datalabels","data:realIndex":v});n.globals.delayedElements.push({el:M.node}),M.node.classList.add("apexcharts-element-hidden");var L=i.group({class:"apexcharts-bar-goals-markers"}),A=i.group({class:"apexcharts-bar-shadows"});n.globals.delayedElements.push({el:A.node}),A.node.classList.add("apexcharts-element-hidden");for(var O=0;O<n.globals.dataPoints;O++){var C=this.barHelpers.getStrokeWidth(s,O,v),T=null,E={indexes:{i:s,j:O,realIndex:v,bc:l},x:f,y:p,strokeWidth:C,elSeries:b};this.isHorizontal?(T=this.drawBarPaths(a(a({},E),{},{barHeight:y,zeroW:h,yDivision:u})),x=this.series[s][O]/this.invertedYRatio):(T=this.drawColumnPaths(a(a({},E),{},{xDivision:c,barWidth:x,zeroH:d})),y=this.series[s][O]/this.yRatio[this.yaxisIndex]);var D=this.barHelpers.getPathFillColor(e,s,O,v);if(this.isFunnel&&this.barOptions.isFunnel3d&&this.pathArr.length&&O>0){var P=this.barHelpers.drawBarShadow({color:"string"==typeof D&&-1===(null==D?void 0:D.indexOf("url"))?D:_.hexToRgba(n.globals.colors[s]),prevPaths:this.pathArr[this.pathArr.length-1],currPaths:T});P&&A.add(P)}this.pathArr.push(T);var j=this.barHelpers.drawGoalLine({barXPosition:T.barXPosition,barYPosition:T.barYPosition,goalX:T.goalX,goalY:T.goalY,barHeight:y,barWidth:x});j&&L.add(j),p=T.y,f=T.x,O>0&&g.push(f+x/2),m.push(p),this.renderSeries({realIndex:v,pathFill:D,j:O,i:s,pathFrom:T.pathFrom,pathTo:T.pathTo,strokeWidth:C,elSeries:b,x:f,y:p,series:e,barHeight:T.barHeight?T.barHeight:y,barWidth:T.barWidth?T.barWidth:x,elDataLabelsWrap:M,elGoalsMarkers:L,elBarShadows:A,visibleSeries:this.visibleI,type:"bar"})}n.globals.seriesXvalues[v]=g,n.globals.seriesYvalues[v]=m,o.add(b)}return o}},{key:"renderSeries",value:function(e){var t=e.realIndex,n=e.pathFill,i=e.lineFill,r=e.j,a=e.i,o=e.groupIndex,s=e.pathFrom,l=e.pathTo,c=e.strokeWidth,u=e.elSeries,d=e.x,h=e.y,f=e.y1,p=e.y2,m=e.series,g=e.barHeight,v=e.barWidth,b=e.barXPosition,y=e.barYPosition,_=e.elDataLabelsWrap,x=e.elGoalsMarkers,S=e.elBarShadows,M=e.visibleSeries,L=e.type,A=this.w,O=new k(this.ctx);i||(i=this.barOptions.distributed?A.globals.stroke.colors[r]:A.globals.stroke.colors[t]),A.config.series[a].data[r]&&A.config.series[a].data[r].strokeColor&&(i=A.config.series[a].data[r].strokeColor),this.isNullValue&&(n="none");var C=r/A.config.chart.animations.animateGradually.delay*(A.config.chart.animations.speed/A.globals.dataPoints)/2.4,T=O.renderPaths({i:a,j:r,realIndex:t,pathFrom:s,pathTo:l,stroke:i,strokeWidth:c,strokeLineCap:A.config.stroke.lineCap,fill:n,animationDelay:C,initialSpeed:A.config.chart.animations.speed,dataChangeSpeed:A.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(L,"-area")});T.attr("clip-path","url(#gridRectMask".concat(A.globals.cuid,")"));var E=A.config.forecastDataPoints;E.count>0&&r>=A.globals.dataPoints-E.count&&(T.node.setAttribute("stroke-dasharray",E.dashArray),T.node.setAttribute("stroke-width",E.strokeWidth),T.node.setAttribute("fill-opacity",E.fillOpacity)),void 0!==f&&void 0!==p&&(T.attr("data-range-y1",f),T.attr("data-range-y2",p)),new w(this.ctx).setSelectionFilter(T,t,r),u.add(T);var D=new we(this).handleBarDataLabels({x:d,y:h,y1:f,y2:p,i:a,j:r,series:m,realIndex:t,groupIndex:o,barHeight:g,barWidth:v,barXPosition:b,barYPosition:y,renderedPath:T,visibleSeries:M});return null!==D.dataLabels&&_.add(D.dataLabels),D.totalDataLabels&&_.add(D.totalDataLabels),u.add(_),x&&u.add(x),S&&u.add(S),u}},{key:"drawBarPaths",value:function(e){var t,n=e.indexes,i=e.barHeight,r=e.strokeWidth,a=e.zeroW,o=e.x,s=e.y,l=e.yDivision,c=e.elSeries,u=this.w,d=n.i,h=n.j;if(u.globals.isXNumeric)t=(s=(u.globals.seriesX[d][h]-u.globals.minX)/this.invertedXRatio-i)+i*this.visibleI;else if(u.config.plotOptions.bar.hideZeroBarsWhenGrouped){var f=0,p=0;u.globals.seriesPercent.forEach((function(e,t){e[h]&&f++,t<d&&0===e[h]&&p++})),f>0&&(i=this.seriesLen*i/f),t=s+i*this.visibleI,t-=i*p}else t=s+i*this.visibleI;this.isFunnel&&(a-=(this.barHelpers.getXForValue(this.series[d][h],a)-a)/2),o=this.barHelpers.getXForValue(this.series[d][h],a);var m=this.barHelpers.getBarpaths({barYPosition:t,barHeight:i,x1:a,x2:o,strokeWidth:r,series:this.series,realIndex:n.realIndex,i:d,j:h,w:u});return u.globals.isXNumeric||(s+=l),this.barHelpers.barBackgroun
130d({j:h,i:d,y1:t-i*this.visibleI,y2:i*this.seriesLen,elSeries:c}),{pathTo:m.pathTo,pathFrom:m.pathFrom,x1:a,x:o,y:s,goalX:this.barHelpers.getGoalValues("x",a,null,d,h),barYPosition:t,barHeight:i}}},{key:"drawColumnPaths",value:function(e){var t,n=e.indexes,i=e.x,r=e.y,a=e.xDivision,o=e.barWidth,s=e.zeroH,l=e.strokeWidth,c=e.elSeries,u=this.w,d=n.realIndex,h=n.i,f=n.j,p=n.bc;if(u.globals.isXNumeric){var m=this.getBarXForNumericXAxis({x:i,j:f,realIndex:d,barWidth:o});i=m.x,t=m.barXPosition}else if(u.config.plotOptions.bar.hideZeroBarsWhenGrouped){var g=this.barHelpers.getZeroValueEncounters({i:h,j:f}),v=g.nonZeroColumns,b=g.zeroEncounters;v>0&&(o=this.seriesLen*o/v),t=i+o*this.visibleI,t-=o*b}else t=i+o*this.visibleI;r=this.barHelpers.getYForValue(this.series[h][f],s);var y=this.barHelpers.getColumnPaths({barXPosition:t,barWidth:o,y1:s,y2:r,strokeWidth:l,series:this.series,realIndex:n.realIndex,i:h,j:f,w:u});return u.globals.isXNumeric||(i+=a),this.barHelpers.barBackground({bc:p,j:f,i:h,x1:t-l/2-o*this.visibleI,x2:o*this.seriesLen+l/2,elSeries:c}),{pathTo:y.pathTo,pathFrom:y.pathFrom,x:i,y:r,goalY:this.barHelpers.getGoalValues("y",null,s,h,f),barXPosition:t,barWidth:o}}},{key:"getBarXForNumericXAxis",value:function(e){var t=e.x,n=e.barWidth,i=e.realIndex,r=e.j,a=this.w,o=i;return a.globals.seriesX[i].length||(o=a.globals.maxValsInArrayIndex),a.globals.seriesX[o][r]&&(t=(a.globals.seriesX[o][r]-a.globals.minX)/this.xRatio-n*this.seriesLen/2),{barXPosition:t+n*this.visibleI,x:t}}},{key:"getPreviousPath",value:function(e,t){for(var n,i=this.w,r=0;r<i.globals.previousPaths.length;r++){var a=i.globals.previousPaths[r];a.paths&&a.paths.length>0&&parseInt(a.realIndex,10)===parseInt(e,10)&&void 0!==i.globals.previousPaths[r].paths[t]&&(n=i.globals.previousPaths[r].paths[t].d)}return n}}]),e}(),Me=function(e){d(n,e);var t=m(n);function n(){return s(this,n),t.apply(this,arguments)}return c(n,[{key:"draw",value:function(e,t){var n=this,i=this.w;this.graphics=new k(this.ctx),this.bar=new Se(this.ctx,this.xyRatios);var r=new S(this.ctx,i);e=r.getLogSeries(e),this.yRatio=r.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e),"100%"===i.config.chart.stackType&&(e=i.globals.seriesPercent.slice()),this.series=e,this.barHelpers.initializeStackedPrevVars(this);for(var o=this.graphics.group({class:"apexcharts-bar-series apexcharts-plot-series"}),s=0,l=0,c=function(r,c){var u=void 0,d=void 0,h=void 0,f=void 0,p=-1;n.groupCtx=n,i.globals.seriesGroups.forEach((function(e,t){e.indexOf(i.config.series[r].name)>-1&&(p=t)})),-1!==p&&(n.groupCtx=n[i.globals.seriesGroups[p]]);var m=[],g=[],v=i.globals.comboCharts?t[r]:r;n.yRatio.length>1&&(n.yaxisIndex=v),n.isReversed=i.config.yaxis[n.yaxisIndex]&&i.config.yaxis[n.yaxisIndex].reversed;var b=n.graphics.group({class:"apexcharts-series",seriesName:_.escapeString(i.globals.seriesNames[v]),rel:r+1,"data:realIndex":v});n.ctx.series.addCollapsedClassToSeries(b,v);var y=n.graphics.group({class:"apexcharts-datalabels","data:realIndex":v}),x=n.graphics.group({class:"apexcharts-bar-goals-markers"}),w=0,k=0,S=n.initialPositions(s,l,u,d,h,f);l=S.y,w=S.barHeight,d=S.yDivision,f=S.zeroW,s=S.x,k=S.barWidth,u=S.xDivision,h=S.zeroH,i.globals.barHeight=w,i.globals.barWidth=k,n.barHelpers.initializeStackedXYVars(n),1===n.groupCtx.prevY.length&&n.groupCtx.prevY[0].every((function(e){return isNaN(e)}))&&(n.groupCtx.prevY[0]=n.groupCtx.prevY[0].map((function(e){return h})),n.groupCtx.prevYF[0]=n.groupCtx.prevYF[0].map((function(e){return 0})));for(var M=0;M<i.globals.dataPoints;M++){var L=n.barHelpers.getStrokeWidth(r,M,v),A={indexes:{i:r,j:M,realIndex:v,bc:c},strokeWidth:L,x:s,y:l,elSeries:b,groupIndex:p,seriesGroup:i.globals.seriesGroups[p]},O=null;n.isHorizontal?(O=n.drawStackedBarPaths(a(a({},A),{},{zeroW:f,barHeight:w,yDivision:d})),k=n.series[r][M]/n.invertedYRatio):(O=n.drawStackedColumnPaths(a(a({},A),{},{xDivision:u,barWidth:k,zeroH:h})),w=n.series[r][M]/n.yRatio[n.yaxisIndex]);var C=n.barHelpers.drawGoalLine({barXPosition:O.barXPosition,barYPosition:O.barYPosition,goalX:O.goalX,goalY:O.goalY,barHeight:w,barWidth:k});C&&x.add(C),l=O.y,s=O.x,m.push(s),g.push(l);var T=n.barHelpers.getPathFillColor(e,r,M,v);b=n.renderSeries({realIndex:v,pathFill:T,j:M,i:r,groupIndex:p,pathFrom:O.pathFrom,pathTo:O.pathTo,strokeWidth:L,elSeries:b,x:s,y:l,series:e,barHeight:w,barWidth:k,elDataLabelsWrap:y,elGoalsMarkers:x,type:"bar",visibleSeries:0})}i.globals.seriesXvalues[v]=m,i.globals.seriesYvalues[v]=g,n.groupCtx.prevY.push(n.groupCtx.yArrj),n.groupCtx.prevYF.push(n.groupCtx.yArrjF),n.groupCtx.prevYVal.push(n.groupCtx.yArrjVal),n.groupCtx.prevX.push(n.groupCtx.xArrj),n.groupCtx.prevXF.push(n.groupCtx.xArrjF),n.groupCtx.prevXVal.push(n.groupCtx.xArrjVal),o.add(b)},u=0,d=0;u<e.length;u++,d++)c(u,d);return o}},{key:"initialPositions",value:function(e,t,n,i,r,a){var o,s,l,c,u=this.w;return this.isHorizontal?(l=(l=i=u.globals.gridHeight/u.globals.dataPoints)*parseInt(u.config.plotOptions.bar.barHeight,10)/100,-1===String(u.config.plotOptions.bar.barHeight).indexOf("%")&&(l=parseInt(u.config.plotOptions.bar.barHeight,10)),a=this.baseLineInvertedY+u.globals.padHorizontal+(this.isReversed?u.globals.gridWidth:0)-(this.isReversed?2*this.baseLineInvertedY:0),t=(i-l)/2):(c=n=u.globals.gridWidth/u.globals.dataPoints,c=u.globals.isXNumeric&&u.globals.dataPoints>1?(n=u.globals.minXDiff/this.xRatio)*parseInt(this.barOptions.columnWidth,10)/100:c*parseInt(u.config.plotOptions.bar.columnWidth,10)/100,-1===String(u.config.plotOptions.bar.columnWidth).indexOf("%")&&(c=parseInt(u.config.plotOptions.bar.columnWidth,10)),r=u.globals.gridHeight-this.baseLineY[this.yaxisIndex]-(this.isReversed?u.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),e=u.globals.padHorizontal+(n-c)/2),{x:e,y:t,yDivision:i,xDivision:n,barHeight:null!==(o=u.globals.seriesGroups)&&void 0!==o&&o.length?l/u.globals.seriesGroups.length:l,barWidth:null!==(s=u.globals.seriesGroups)&&void 0!==s&&s.length?c/u.globals.seriesGroups.length:c,zeroH:r,zeroW:a}}},{key:"drawStackedBarPaths",value:function(e){for(var t,n=e.indexes,i=e.barHeight,r=e.strokeWidth,a=e.zeroW,o=e.x,s=e.y,l=e.groupIndex,c=e.seriesGroup,u=e.yDivision,d=e.elSeries,h=this.w,f=s+(-1!==l?l*i:0),p=n.i,m=n.j,g=0,v=0;v<this.groupCtx.prevXF.length;v++)g+=this.groupCtx.prevXF[v][m];var b=p;if(c&&(b=c.indexOf(h.config.series[p].name)),b>0){var y=a;this.groupCtx.prevXVal[b-1][m]<0?y=this.series[p][m]>=0?this.groupCtx.prevX[b-1][m]+g-2*(this.isReversed?g:0):this.groupCtx.prevX[b-1][m]:this.groupCtx.prevXVal[b-1][m]>=0&&(y=this.series[p][m]>=0?this.groupCtx.prevX[b-1][m]:this.groupCtx.prevX[b-1][m]-g+2*(this.isReversed?g:0)),t=y}else t=a;o=null===this.series[p][m]?t:t+this.series[p][m]/this.invertedYRatio-2*(this.isReversed?this.series[p][m]/this.invertedYRatio:0);var _=this.barHelpers.getBarpaths({barYPosition:f,barHeight:i,x1:t,x2:o,strokeWidth:r,series:this.series,realIndex:n.realIndex,seriesGroup:c,i:p,j:m,w:h});
130return this.barHelpers.barBackground({j:m,i:p,y1:f,y2:i,elSeries:d}),s+=u,{pathTo:_.pathTo,pathFrom:_.pathFrom,goalX:this.barHelpers.getGoalValues("x",a,null,p,m),barYPosition:f,x:o,y:s}}},{key:"drawStackedColumnPaths",value:function(e){var t=e.indexes,n=e.x,i=e.y,r=e.xDivision,a=e.barWidth,o=e.zeroH,s=e.groupIndex,l=e.seriesGroup,c=e.elSeries,u=this.w,d=t.i,h=t.j,f=t.bc;if(u.globals.isXNumeric){var p=u.globals.seriesX[d][h];p||(p=0),n=(p-u.globals.minX)/this.xRatio-a/2,u.globals.seriesGroups.length&&(n=(p-u.globals.minX)/this.xRatio-a/2*u.globals.seriesGroups.length)}for(var m,g=n+(-1!==s?s*a:0),v=0,b=0;b<this.groupCtx.prevYF.length;b++)v+=isNaN(this.groupCtx.prevYF[b][h])?0:this.groupCtx.prevYF[b][h];var y=d;if(l&&(y=l.indexOf(u.config.series[d].name)),y>0&&!u.globals.isXNumeric||y>0&&u.globals.isXNumeric&&u.globals.seriesX[d-1][h]===u.globals.seriesX[d][h]){var _,x,w,k=Math.min(this.yRatio.length+1,d+1);if(void 0!==this.groupCtx.prevY[y-1]&&this.groupCtx.prevY[y-1].length)for(var S=1;S<k;S++){var M;if(!isNaN(null===(M=this.groupCtx.prevY[y-S])||void 0===M?void 0:M[h])){w=this.groupCtx.prevY[y-S][h];break}}for(var L=1;L<k;L++){var A,O;if((null===(A=this.groupCtx.prevYVal[y-L])||void 0===A?void 0:A[h])<0){x=this.series[d][h]>=0?w-v+2*(this.isReversed?v:0):w;break}if((null===(O=this.groupCtx.prevYVal[y-L])||void 0===O?void 0:O[h])>=0){x=this.series[d][h]>=0?w:w+v-2*(this.isReversed?v:0);break}}void 0===x&&(x=u.globals.gridHeight),m=null!==(_=this.groupCtx.prevYF[0])&&void 0!==_&&_.every((function(e){return 0===e}))&&this.groupCtx.prevYF.slice(1,y).every((function(e){return e.every((function(e){return isNaN(e)}))}))?o:x}else m=o;i=this.series[d][h]?m-this.series[d][h]/this.yRatio[this.yaxisIndex]+2*(this.isReversed?this.series[d][h]/this.yRatio[this.yaxisIndex]:0):m;var C=this.barHelpers.getColumnPaths({barXPosition:g,barWidth:a,y1:m,y2:i,yRatio:this.yRatio[this.yaxisIndex],strokeWidth:this.strokeWidth,series:this.series,seriesGroup:l,realIndex:t.realIndex,i:d,j:h,w:u});return this.barHelpers.barBackground({bc:f,j:h,i:d,x1:g,x2:a,elSeries:c}),n+=r,{pathTo:C.pathTo,pathFrom:C.pathFrom,goalY:this.barHelpers.getGoalValues("y",null,o,d,h),barXPosition:g,x:u.globals.isXNumeric?n-r:n,y:i}}}]),n}(Se),Le=function(e){d(n,e);var t=m(n);function n(){return s(this,n),t.apply(this,arguments)}return c(n,[{key:"draw",value:function(e,t,n){var i=this,r=this.w,o=new k(this.ctx),s=r.globals.comboCharts?t:r.config.chart.type,l=new F(this.ctx);this.candlestickOptions=this.w.config.plotOptions.candlestick,this.boxOptions=this.w.config.plotOptions.boxPlot,this.isHorizontal=r.config.plotOptions.bar.horizontal;var c=new S(this.ctx,r);e=c.getLogSeries(e),this.series=e,this.yRatio=c.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e);for(var u=o.group({class:"apexcharts-".concat(s,"-series apexcharts-plot-series")}),d=function(t){i.isBoxPlot="boxPlot"===r.config.chart.type||"boxPlot"===r.config.series[t].type;var s,c,d,h,f,p,m=void 0,g=void 0,v=[],b=[],y=r.globals.comboCharts?n[t]:t,x=o.group({class:"apexcharts-series",seriesName:_.escapeString(r.globals.seriesNames[y]),rel:t+1,"data:realIndex":y});i.ctx.series.addCollapsedClassToSeries(x,y),e[t].length>0&&(i.visibleI=i.visibleI+1),i.yRatio.length>1&&(i.yaxisIndex=y);var w=i.barHelpers.initialPositions();g=w.y,f=w.barHeight,c=w.yDivision,h=w.zeroW,m=w.x,p=w.barWidth,s=w.xDivision,d=w.zeroH,b.push(m+p/2);for(var k=o.group({class:"apexcharts-datalabels","data:realIndex":y}),S=function(n){var o=i.barHelpers.getStrokeWidth(t,n,y),u=null,_={indexes:{i:t,j:n,realIndex:y},x:m,y:g,strokeWidth:o,elSeries:x};u=i.isHorizontal?i.drawHorizontalBoxPaths(a(a({},_),{},{yDivision:c,barHeight:f,zeroW:h})):i.drawVerticalBoxPaths(a(a({},_),{},{xDivision:s,barWidth:p,zeroH:d})),g=u.y,m=u.x,n>0&&b.push(m+p/2),v.push(g),u.pathTo.forEach((function(a,s){var c=!i.isBoxPlot&&i.candlestickOptions.wick.useFillColor?u.color[s]:r.globals.stroke.colors[t],d=l.fillPath({seriesNumber:y,dataPointIndex:n,color:u.color[s],value:e[t][n]});i.renderSeries({realIndex:y,pathFill:d,lineFill:c,j:n,i:t,pathFrom:u.pathFrom,pathTo:a,strokeWidth:o,elSeries:x,x:m,y:g,series:e,barHeight:f,barWidth:p,elDataLabelsWrap:k,visibleSeries:i.visibleI,type:r.config.chart.type})}))},M=0;M<r.globals.dataPoints;M++)S(M);r.globals.seriesXvalues[y]=b,r.globals.seriesYvalues[y]=v,u.add(x)},h=0;h<e.length;h++)d(h);return u}},{key:"drawVerticalBoxPaths",value:function(e){var t=e.indexes,n=e.x;e.y;var i=e.xDivision,r=e.barWidth,a=e.zeroH,o=e.strokeWidth,s=this.w,l=new k(this.ctx),c=t.i,u=t.j,d=!0,h=s.config.plotOptions.candlestick.colors.upward,f=s.config.plotOptions.candlestick.colors.downward,p="";this.isBoxPlot&&(p=[this.boxOptions.colors.lower,this.boxOptions.colors.upper]);var m=this.yRatio[this.yaxisIndex],g=t.realIndex,v=this.getOHLCValue(g,u),b=a,y=a;v.o>v.c&&(d=!1);var _=Math.min(v.o,v.c),x=Math.max(v.o,v.c),w=v.m;s.globals.isXNumeric&&(n=(s.globals.seriesX[g][u]-s.globals.minX)/this.xRatio-r/2);var S=n+r*this.visibleI;void 0===this.series[c][u]||null===this.series[c][u]?(_=a,x=a):(_=a-_/m,x=a-x/m,b=a-v.h/m,y=a-v.l/m,w=a-v.m/m);var M=l.move(S,a),L=l.move(S+r/2,_);return s.globals.previousPaths.length>0&&(L=this.getPreviousPath(g,u,!0)),M=this.isBoxPlot?[l.move(S,_)+l.line(S+r/2,_)+l.line(S+r/2,b)+l.line(S+r/4,b)+l.line(S+r-r/4,b)+l.line(S+r/2,b)+l.line(S+r/2,_)+l.line(S+r,_)+l.line(S+r,w)+l.line(S,w)+l.line(S,_+o/2),l.move(S,w)+l.line(S+r,w)+l.line(S+r,x)+l.line(S+r/2,x)+l.line(S+r/2,y)+l.line(S+r-r/4,y)+l.line(S+r/4,y)+l.line(S+r/2,y)+l.line(S+r/2,x)+l.line(S,x)+l.line(S,w)+"z"]:[l.move(S,x)+l.line(S+r/2,x)+l.line(S+r/2,b)+l.line(S+r/2,x)+l.line(S+r,x)+l.line(S+r,_)+l.line(S+r/2,_)+l.line(S+r/2,y)+l.line(S+r/2,_)+l.line(S,_)+l.line(S,x-o/2)],L+=l.move(S,_),s.globals.isXNumeric||(n+=i),{pathTo:M,pathFrom:L,x:n,y:x,barXPosition:S,color:this.isBoxPlot?p:d?[h]:[f]}}},{key:"drawHorizontalBoxPaths",value:function(e){var t=e.indexes;e.x;var n=e.y,i=e.yDivision,r=e.barHeight,a=e.zeroW,o=e.strokeWidth,s=this.w,l=new k(this.ctx),c=t.i,u=t.j,d=this.boxOptions.colors.lower;this.isBoxPlot&&(d=[this.boxOptions.colors.lower,this.boxOptions.colors.upper]);var h=this.invertedYRatio,f=t.realIndex,p=this.getOHLCValue(f,u),m=a,g=a,v=Math.min(p.o,p.c),b=Math.max(p.o,p.c),y=p.m;s.globals.isXNumeric&&(n=(s.globals.seriesX[f][u]-s.globals.minX)/this.invertedXRatio-r/2);var _=n+r*this.visibleI;void 0===this.series[c][u]||null===this.series[c][u]?(v=a,b=a):(v=a+v/h,b=a+b/h,m=a+p.h/h,g=a+p.l/h,y=a+p.m/h);var x=l.move(a,_),w=l.move(v,_+r/2);return s.globals.previousPaths.length>0&&(w=this.getPreviousPath(f,u,!0)),x=[l.move(v,_)+l.line(v,_+r/2)+l.line(m,_+r/2)+l.line(m,_+r/2-r/4)+l.line(m,_+r/2+r/4)+l.line(m,_+r/2)+l.line(v,_+r/2)+l.line(v,_+r)+l.line(y,_+r)+l.line(y,_)+l.line(v+o/2,_),l.move(y,_)+l.line(y,_+r)+l.line(b,_+r)+l.line(b,_+r/2)+l.line(g,_+r/2)+l.line(g,_+r-r/4)+l.line(g,_+r/4)+l.line(g,_+r/2)+l.line(b,_+r/2)+l.line(b,_)+l.line(y,_)+"z"],w+=l.move(v,_),s.globals.isXNumeric||(n+=i),{pathTo:x,pathFrom:w,x:b,y:n,barYPosition:_,color:d}}},{key:"getOHLCValue",value:function(e,t){var n=this.w;return{o:this.isBoxPlot?n.globals.seriesCandleH[e][t]:n.globals.seriesCandleO[e][t],h:this.isBoxPlot?n.globals.seriesCandleO[e][t]:n.globals.seriesCandleH[e][t],m:n.globals.seriesCandleM[e][t],l:this.isBoxPlot?n.globals.seriesCandleC[e][t]:n.globals.seriesCandleL[e][t],c:this.isBoxPlot?n.globals.seriesCandleL[e][t]:n.globals.seriesCandleC[e][t]}}}]),n}(Se),Ae=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"checkColorRange",value:function(){var e=this.w,t=!1,n=e.config.plotOptions[e.config.chart.type];return n.colorScale.ranges.length>0&&n.colorScale.ranges.map((function(e,n){e.from<=0&&(t=!0)})),t}},{key:"getShadeColor",value:function(e,t,n,i){var r=this.w,a=1,o=r.config.plotOptions[e].shadeIntensity,s=this.determineColor(e,t,n);r.globals.hasNegs||i?a=r.config.plotOptions[e].reverseNegativeShade?s.percent<0?s.percent/100*(1.25*o):(1-s.percent/100)*(1.25*o):s.percent<=0?1-(1+s.percent/100)*o:(1-s.percent/100)*o:(a=1-s.percent/100,"treemap"===e&&(a=(1-s.percent/100)*(1.25*o)));var l=s.color,c=new _;return r.config.plotOptions[e].enableShades&&(l="dark"===this.w.config.theme.mode?_.hexToRgba(c.shadeColor(-1*a,s.color),r.config.fill.opacity):_.hexToRgba(c.shadeColor(a,s.color),r.config.fill.opacity)),{color:l,colorProps:s}}},{key:"determineColor",value:function(e,t,n){var i=this.w,r=i.globals.series[t][n],a=i.config.plotOptions[e],o=a.colorScale.inverse?n:t;a.distributed&&"treemap"===i.config.chart.type&&(o=n);var s=i.globals.colors[o],l=null,c=Math.min.apply(Math,v(i.globals.series[t])),u=Math.max.apply(Math,v(i.globals.series[t]));a.distributed||"heatmap"!==e||(c=i.globals.minY,u=i.globals.maxY),void 0!==a.colorScale.min&&(c=a.colorScale.min<i.globals.minY?a.colorScale.min:i.globals.minY,u=a.colorScale.max>i.globals.maxY?a.colorScale.max:i.globals.maxY);var d=Math.abs(u)+Math.abs(c),h=100*r/(0===d?d-1e-6:d);return a.colorScale.ranges.length>0&&a.colorScale.ranges.map((function(e,t){if(r>=e.from&&r<=e.to){s=e.color,l=e.foreColor?e.foreColor:null,c=e.from,u=e.to;var n=Math.abs(u)+Math.abs(c);h=100*r/(0===n?n-1e-6:n)}})),{color:s,foreColor:l,percent:h}}},{key:"calculateDataLabels",value:function(e){var t=e.text,n=e.x,i=e.y,r=e.i,a=e.j,o=e.colorProps,s=e.fontSize,l=this.w.config.dataLabels,c=new k(this.ctx),u=new W(this.ctx),d=null;if(l.enabled){d=c.group({class:"apexcharts-data-labels"});var h=l.offsetX,f=l.offsetY,p=n+h,m=i+parseFloat(l.style.fontSize)/3+f;u.plotDataLabelsText({x:p,y:m,text:t,i:r,j:a,color:o.foreColor,parent:d,fontSize:s,dataLabelsConfig:l})}return d}},{key:"addListeners",value:function(e){var t=new k(this.ctx);e.node.addEventListener("mouseenter",t.pathMouseEnter.bind(this,e)),e.node.addEventListener("mouseleave",t.pathMouseLeave.bind(this,e)),e.node.addEventListener("mousedown",t.pathMouseDown.bind(this,e))}}]),e}(),Oe=function(){function e(t,n){s(this,e),this.ctx=t,this.w=t.w,this.xRatio=n.xRatio,this.yRatio=n.yRatio,this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.helpers=new Ae(t),this.rectRadius=this.w.config.plotOptions.heatmap.radius,this.strokeWidth=this.w.config.stroke.show?this.w.config.stroke.width:0}return c(e,[{key:"draw",value:function(e){var t=this.w,n=new k(this.ctx),i=n.group({class:"apexcharts-heatmap"});i.attr("clip-path","url(#gridRectMask".concat(t.globals.cuid,")"));var r=t.globals.gridWidth/t.globals.dataPoints,a=t.globals.gridHeight/t.globals.series.length,o=0,s=!1;this.negRange=this.helpers.checkColorRange();var l=e.slice();t.config.yaxis[0].reversed&&(s=!0,l.reverse());for(var c=s?0:l.length-1;s?c<l.length:c>=0;s?c++:c--){var u=n.group({class:"apexcharts-series apexcharts-heatmap-series",seriesName:_.escapeString(t.globals.seriesNames[c]),rel:c+1,"data:realIndex":c});if(this.ctx.series.addCollapsedClassToSeries(u,c),t.config.chart.dropShadow.enabled){var d=t.config.chart.dropShadow;new w(this.ctx).dropShadow(u,d,c)}for(var h=0,f=t.config.plotOptions.heatmap.shadeIntensity,p=0;p<l[c].length;p++){var m=this.helpers.getShadeColor(t.config.chart.type,c,p,this.negRange),g=m.color,v=m.colorProps;
130"image"===t.config.fill.type&&(g=new F(this.ctx).fillPath({seriesNumber:c,dataPointIndex:p,opacity:t.globals.hasNegs?v.percent<0?1-(1+v.percent/100):f+v.percent/100:v.percent/100,patternID:_.randomId(),width:t.config.fill.image.width?t.config.fill.image.width:r,height:t.config.fill.image.height?t.config.fill.image.height:a}));var b=this.rectRadius,y=n.drawRect(h,o,r,a,b);if(y.attr({cx:h,cy:o}),y.node.classList.add("apexcharts-heatmap-rect"),u.add(y),y.attr({fill:g,i:c,index:c,j:p,val:e[c][p],"stroke-width":this.strokeWidth,stroke:t.config.plotOptions.heatmap.useFillColorAsStroke?g:t.globals.stroke.colors[0],color:g}),this.helpers.addListeners(y),t.config.chart.animations.enabled&&!t.globals.dataChanged){var x=1;t.globals.resized||(x=t.config.chart.animations.speed),this.animateHeatMap(y,h,o,r,a,x)}if(t.globals.dataChanged){var S=1;if(this.dynamicAnim.enabled&&t.globals.shouldAnimate){S=this.dynamicAnim.speed;var M=t.globals.previousPaths[c]&&t.globals.previousPaths[c][p]&&t.globals.previousPaths[c][p].color;M||(M="rgba(255, 255, 255, 0)"),this.animateHeatColor(y,_.isColorHex(M)?M:_.rgb2hex(M),_.isColorHex(g)?g:_.rgb2hex(g),S)}}var L=(0,t.config.dataLabels.formatter)(t.globals.series[c][p],{value:t.globals.series[c][p],seriesIndex:c,dataPointIndex:p,w:t}),A=this.helpers.calculateDataLabels({text:L,x:h+r/2,y:o+a/2,i:c,j:p,colorProps:v,series:l});null!==A&&u.add(A),h+=r}o+=a,i.add(u)}var O=t.globals.yAxisScale[0].result.slice();return t.config.yaxis[0].reversed?O.unshift(""):O.push(""),t.globals.yAxisScale[0].result=O,i}},{key:"animateHeatMap",value:function(e,t,n,i,r,a){var o=new x(this.ctx);o.animateRect(e,{x:t+i/2,y:n+r/2,width:0,height:0},{x:t,y:n,width:i,height:r},a,(function(){o.animationCompleted(e)}))}},{key:"animateHeatColor",value:function(e,t,n,i){e.attr({fill:t}).animate(i).attr({fill:n})}}]),e}(),Ce=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"drawYAxisTexts",value:function(e,t,n,i){var r=this.w,a=r.config.yaxis[0],o=r.globals.yLabelFormatters[0];return new k(this.ctx).drawText({x:e+a.labels.offsetX,y:t+a.labels.offsetY,text:o(i,n),textAnchor:"middle",fontSize:a.labels.style.fontSize,fontFamily:a.labels.style.fontFamily,foreColor:Array.isArray(a.labels.style.colors)?a.labels.style.colors[n]:a.labels.style.colors})}}]),e}(),Te=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w;var n=this.w;this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animBeginArr=[0],this.animDur=0,this.donutDataLabels=this.w.config.plotOptions.pie.donut.labels,this.lineColorArr=void 0!==n.globals.stroke.colors?n.globals.stroke.colors:n.globals.colors,this.defaultSize=Math.min(n.globals.gridWidth,n.globals.gridHeight),this.centerY=this.defaultSize/2,this.centerX=n.globals.gridWidth/2,"radialBar"===n.config.chart.type?this.fullAngle=360:this.fullAngle=Math.abs(n.config.plotOptions.pie.endAngle-n.config.plotOptions.pie.startAngle),this.initialAngle=n.config.plotOptions.pie.startAngle%this.fullAngle,n.globals.radialSize=this.defaultSize/2.05-n.config.stroke.width-(n.config.chart.sparkline.enabled?0:n.config.chart.dropShadow.blur),this.donutSize=n.globals.radialSize*parseInt(n.config.plotOptions.pie.donut.size,10)/100,this.maxY=0,this.sliceLabels=[],this.sliceSizes=[],this.prevSectorAngleArr=[]}return c(e,[{key:"draw",value:function(e){var t=this,n=this.w,i=new k(this.ctx);if(this.ret=i.group({class:"apexcharts-pie"}),n.globals.noData)return this.ret;for(var r=0,a=0;a<e.length;a++)r+=_.negToZero(e[a]);var o=[],s=i.group();0===r&&(r=1e-5),e.forEach((function(e){t.maxY=Math.max(t.maxY,e)})),n.config.yaxis[0].max&&(this.maxY=n.config.yaxis[0].max),"back"===n.config.grid.position&&"polarArea"===this.chartType&&this.drawPolarElements(this.ret);for(var l=0;l<e.length;l++){var c=this.fullAngle*_.negToZero(e[l])/r;o.push(c),"polarArea"===this.chartType?(o[l]=this.fullAngle/e.length,this.sliceSizes.push(n.globals.radialSize*e[l]/this.maxY)):this.sliceSizes.push(n.globals.radialSize)}if(n.globals.dataChanged){for(var u,d=0,h=0;h<n.globals.previousPaths.length;h++)d+=_.negToZero(n.globals.previousPaths[h]);for(var f=0;f<n.globals.previousPaths.length;f++)u=this.fullAngle*_.negToZero(n.globals.previousPaths[f])/d,this.prevSectorAngleArr.push(u)}this.donutSize<0&&(this.donutSize=0);var p=n.config.plotOptions.pie.customScale,m=n.globals.gridWidth/2,g=n.globals.gridHeight/2,v=m-n.globals.gridWidth/2*p,b=g-n.globals.gridHeight/2*p;if("donut"===this.chartType){var y=i.drawCircle(this.donutSize);y.attr({cx:this.centerX,cy:this.centerY,fill:n.config.plotOptions.pie.donut.background?n.config.plotOptions.pie.donut.background:"transparent"}),s.add(y)}var x=this.drawArcs(o,e);
130if(this.sliceLabels.forEach((function(e){x.add(e)})),s.attr({transform:"translate(".concat(v,", ").concat(b,") scale(").concat(p,")")}),s.add(x),this.ret.add(s),this.donutDataLabels.show){var w=this.renderInnerDataLabels(this.donutDataLabels,{hollowSize:this.donutSize,centerX:this.centerX,centerY:this.centerY,opacity:this.donutDataLabels.show,translateX:v,translateY:b});this.ret.add(w)}return"front"===n.config.grid.position&&"polarArea"===this.chartType&&this.drawPolarElements(this.ret),this.ret}},{key:"drawArcs",value:function(e,t){var n=this.w,i=new w(this.ctx),r=new k(this.ctx),a=new F(this.ctx),o=r.group({class:"apexcharts-slices"}),s=this.initialAngle,l=this.initialAngle,c=this.initialAngle,u=this.initialAngle;this.strokeWidth=n.config.stroke.show?n.config.stroke.width:0;for(var d=0;d<e.length;d++){var h=r.group({class:"apexcharts-series apexcharts-pie-series",seriesName:_.escapeString(n.globals.seriesNames[d]),rel:d+1,"data:realIndex":d});o.add(h),l=u,c=(s=c)+e[d],u=l+this.prevSectorAngleArr[d];var f=c<s?this.fullAngle+c-s:c-s,p=a.fillPath({seriesNumber:d,size:this.sliceSizes[d],value:t[d]}),m=this.getChangedPath(l,u),g=r.drawPath({d:m,stroke:Array.isArray(this.lineColorArr)?this.lineColorArr[d]:this.lineColorArr,strokeWidth:0,fill:p,fillOpacity:n.config.fill.opacity,classes:"apexcharts-pie-area apexcharts-".concat(this.chartType.toLowerCase(),"-slice-").concat(d)});if(g.attr({index:0,j:d}),i.setSelectionFilter(g,0,d),n.config.chart.dropShadow.enabled){var v=n.config.chart.dropShadow;i.dropShadow(g,v,d)}this.addListeners(g,this.donutDataLabels),k.setAttrs(g.node,{"data:angle":f,"data:startAngle":s,"data:strokeWidth":this.strokeWidth,"data:value":t[d]});var b={x:0,y:0};"pie"===this.chartType||"polarArea"===this.chartType?b=_.polarToCartesian(this.centerX,this.centerY,n.globals.radialSize/1.25+n.config.plotOptions.pie.dataLabels.offset,(s+f/2)%this.fullAngle):"donut"===this.chartType&&(b=_.polarToCartesian(this.centerX,this.centerY,(n.globals.radialSize+this.donutSize)/2+n.config.plotOptions.pie.dataLabels.offset,(s+f/2)%this.fullAngle)),h.add(g);var y=0;if(!this.initialAnim||n.globals.resized||n.globals.dataChanged?this.animBeginArr.push(0):(0==(y=f/this.fullAngle*n.config.chart.animations.speed)&&(y=1),this.animDur=y+this.animDur,this.animBeginArr.push(this.animDur)),this.dynamicAnim&&n.globals.dataChanged?this.animatePaths(g,{size:this.sliceSizes[d],endAngle:c,startAngle:s,prevStartAngle:l,prevEndAngle:u,animateStartingPos:!0,i:d,animBeginArr:this.animBeginArr,shouldSetPrevPaths:!0,dur:n.config.chart.animations.dynamicAnimation.speed}):this.animatePaths(g,{size:this.sliceSizes[d],endAngle:c,startAngle:s,i:d,totalItems:e.length-1,animBeginArr:this.animBeginArr,dur:y}),n.config.plotOptions.pie.expandOnClick&&"polarArea"!==this.chartType&&g.click(this.pieClicked.bind(this,d)),void 0!==n.globals.selectedDataPoints[0]&&n.globals.selectedDataPoints[0].indexOf(d)>-1&&this.pieClicked(d),n.config.dataLabels.enabled){var x=b.x,S=b.y,M=100*f/this.fullAngle+"%";if(0!==f&&n.config.plotOptions.pie.dataLabels.minAngleToShowLabel<e[d]){var L=n.config.dataLabels.formatter;
130void 0!==L&&(M=L(n.globals.seriesPercent[d][0],{seriesIndex:d,w:n}));var A=n.globals.dataLabels.style.colors[d],O=r.group({class:"apexcharts-datalabels"}),C=r.drawText({x:x,y:S,text:M,textAnchor:"middle",fontSize:n.config.dataLabels.style.fontSize,fontFamily:n.config.dataLabels.style.fontFamily,fontWeight:n.config.dataLabels.style.fontWeight,foreColor:A});if(O.add(C),n.config.dataLabels.dropShadow.enabled){var T=n.config.dataLabels.dropShadow;i.dropShadow(C,T)}C.node.classList.add("apexcharts-pie-label"),n.config.chart.animations.animate&&!1===n.globals.resized&&(C.node.classList.add("apexcharts-pie-label-delay"),C.node.style.animationDelay=n.config.chart.animations.speed/940+"s"),this.sliceLabels.push(O)}}}return o}},{key:"addListeners",value:function(e,t){var n=new k(this.ctx);e.node.addEventListener("mouseenter",n.pathMouseEnter.bind(this,e)),e.node.addEventListener("mouseleave",n.pathMouseLeave.bind(this,e)),e.node.addEventListener("mouseleave",this.revertDataLabelsInner.bind(this,e.node,t)),e.node.addEventListener("mousedown",n.pathMouseDown.bind(this,e)),this.donutDataLabels.total.showAlways||(e.node.addEventListener("mouseenter",this.printDataLabelsInner.bind(this,e.node,t)),e.node.addEventListener("mousedown",this.printDataLabelsInner.bind(this,e.node,t)))}},{key:"animatePaths",value:function(e,t){var n=this.w,i=t.endAngle<t.startAngle?this.fullAngle+t.endAngle-t.startAngle:t.endAngle-t.startAngle,r=i,a=t.startAngle,o=t.startAngle;void 0!==t.prevStartAngle&&void 0!==t.prevEndAngle&&(a=t.prevEndAngle,r=t.prevEndAngle<t.prevStartAngle?this.fullAngle+t.prevEndAngle-t.prevStartAngle:t.prevEndAngle-t.prevStartAngle),t.i===n.config.series.length-1&&(i+o>this.fullAngle?t.endAngle=t.endAngle-(i+o):i+o<this.fullAngle&&(t.endAngle=t.endAngle+(this.fullAngle-(i+o)))),i===this.fullAngle&&(i=this.fullAngle-.01),this.animateArc(e,a,o,i,r,t)}},{key:"animateArc",value:function(e,t,n,i,r,a){var o,s=this,l=this.w,c=new x(this.ctx),u=a.size;(isNaN(t)||isNaN(r))&&(t=n,r=i,a.dur=0);var d=i,h=n,f=t<n?this.fullAngle+t-n:t-n;l.globals.dataChanged&&a.shouldSetPrevPaths&&a.prevEndAngle&&(o=s.getPiePath({me:s,startAngle:a.prevStartAngle,angle:a.prevEndAngle<a.prevStartAngle?this.fullAngle+a.prevEndAngle-a.prevStartAngle:a.prevEndAngle-a.prevStartAngle,size:u}),e.attr({d:o})),0!==a.dur?e.animate(a.dur,l.globals.easing,a.animBeginArr[a.i]).afterAll((function(){"pie"!==s.chartType&&"donut"!==s.chartType&&"polarArea"!==s.chartType||this.animate(l.config.chart.animations.dynamicAnimation.speed).attr({"stroke-width":s.strokeWidth}),a.i===l.config.series.length-1&&c.animationCompleted(e)})).during((function(l){d=f+(i-f)*l,a.animateStartingPos&&(d=r+(i-r)*l,h=t-r+(n-(t-r))*l),o=s.getPiePath({me:s,startAngle:h,angle:d,size:u}),e.node.setAttribute("data:pathOrig",o),e.attr({d:o})})):(o=s.getPiePath({me:s,startAngle:h,angle:i,size:u}),a.isTrack||(l.globals.animationEnded=!0),e.node.setAttribute("data:pathOrig",o),e.attr({d:o,"stroke-width":s.strokeWidth}))}},{key:"pieClicked",value:function(e){var t,n=this.w,i=this,r=i.sliceSizes[e]+(n.config.plotOptions.pie.expandOnClick?4:0),a=n.globals.dom.Paper.select(".apexcharts-".concat(i.chartType.toLowerCase(),"-slice-").concat(e)).members[0];if("true"!==a.attr("data:pieClicked")){var o=n.globals.dom.baseEl.getElementsByClassName("apexcharts-pie-area");Array.prototype.forEach.call(o,(function(e){e.setAttribute("data:pieClicked","false");var t=e.getAttribute("data:pathOrig");t&&e.setAttribute("d",t)})),a.attr("data:pieClicked","true");var s=parseInt(a.attr("data:startAngle"),10),l=parseInt(a.attr("data:angle"),10);t=i.getPiePath({me:i,startAngle:s,angle:l,size:r}),360!==l&&a.plot(t)}else{a.attr({"data:pieClicked":"false"}),this.revertDataLabelsInner(a.node,this.donutDataLabels);var c=a.attr("data:pathOrig");a.attr({d:c})}}},{key:"getChangedPath",value:function(e,t){var n="";return this.dynamicAnim&&this.w.globals.dataChanged&&(n=this.getPiePath({me:this,startAngle:e,angle:t-e,size:this.size})),n}},{key:"getPiePath",value:function(e){var t,n=e.me,i=e.startAngle,r=e.angle,a=e.size,o=new k(this.ctx),s=i,l=Math.PI*(s-90)/180,c=r+i;Math.ceil(c)>=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle&&(c=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle-.01),Math.ceil(c)>this.fullAngle&&(c-=this.fullAngle);var u=Math.PI*(c-90)/180,d=n.centerX+a*Math.cos(l),h=n.centerY+a*Math.sin(l),f=n.centerX+a*Math.cos(u),p=n.centerY+a*Math.sin(u),m=_.polarToCartesian(n.centerX,n.centerY,n.donutSize,c),g=_.polarToCartesian(n.centerX,n.centerY,n.donutSize,s),v=r>180?1:0,b=["M",d,h,"A",a,a,0,v,1,f,p];return t="donut"===n.chartType?[].concat(b,["L",m.x,m.y,"A",n.donutSize,n.donutSize,0,v,0,g.x,g.y,"L",d,h,"z"]).join(" "):"pie"===n.chartType||"polarArea"===n.chartType?[].concat(b,["L",n.centerX,n.centerY,"L",d,h]).join(" "):[].concat(b).join(" "),o.roundPathCorners(t,2*this.strokeWidth)}},{key:"drawPolarElements",value:function(e){var t=this.w,n=new J(this.ctx),i=new k(this.ctx),r=new Ce(this.ctx),a=i.group(),o=i.group(),s=n.niceScale(0,Math.ceil(this.maxY),t.config.yaxis[0].tickAmount,0,!0),l=s.result.reverse(),c=s.result.length;this.maxY=s.niceMax;for(var u=t.globals.radialSize,d=u/(c-1),h=0;h<c-1;h++){var f=i.drawCircle(u);if(f.attr({cx:this.centerX,cy:this.centerY,fill:"none","stroke-width":t.config.plotOptions.polarArea.r
130ings.strokeWidth,stroke:t.config.plotOptions.polarArea.rings.strokeColor}),t.config.yaxis[0].show){var p=r.drawYAxisTexts(this.centerX,this.centerY-u+parseInt(t.config.yaxis[0].labels.style.fontSize,10)/2,h,l[h]);o.add(p)}a.add(f),u-=d}this.drawSpokes(e),e.add(a),e.add(o)}},{key:"renderInnerDataLabels",value:function(e,t){var n=this.w,i=new k(this.ctx),r=i.group({class:"apexcharts-datalabels-group",transform:"translate(".concat(t.translateX?t.translateX:0,", ").concat(t.translateY?t.translateY:0,") scale(").concat(n.config.plotOptions.pie.customScale,")")}),a=e.total.show;r.node.style.opacity=t.opacity;var o,s,l=t.centerX,c=t.centerY;o=void 0===e.name.color?n.globals.colors[0]:e.name.color;var u=e.name.fontSize,d=e.name.fontFamily,h=e.name.fontWeight;s=void 0===e.value.color?n.config.chart.foreColor:e.value.color;var f=e.value.formatter,p="",m="";if(a?(o=e.total.color,u=e.total.fontSize,d=e.total.fontFamily,h=e.total.fontWeight,m=e.total.label,p=e.total.formatter(n)):1===n.globals.series.length&&(p=f(n.globals.series[0],n),m=n.globals.seriesNames[0]),m&&(m=e.name.formatter(m,e.total.show,n)),e.name.show){var g=i.drawText({x:l,y:c+parseFloat(e.name.offsetY),text:m,textAnchor:"middle",foreColor:o,fontSize:u,fontWeight:h,fontFamily:d});g.node.classList.add("apexcharts-datalabel-label"),r.add(g)}if(e.value.show){var v=e.name.show?parseFloat(e.value.offsetY)+16:e.value.offsetY,b=i.drawText({x:l,y:c+v,text:p,textAnchor:"middle",foreColor:s,fontWeight:e.value.fontWeight,fontSize:e.value.fontSize,fontFamily:e.value.fontFamily});b.node.classList.add("apexcharts-datalabel-value"),r.add(b)}return r}},{key:"printInnerLabels",value:function(e,t,n,i){var r,a=this.w;i?r=void 0===e.name.color?a.globals.colors[parseInt(i.parentNode.getAttribute("rel"),10)-1]:e.name.color:a.globals.series.length>1&&e.total.show&&(r=e.total.color);var o=a.globals.dom.baseEl.querySelector(".apexcharts-datalabel-label"),s=a.globals.dom.baseEl.querySelector(".apexcharts-datalabel-value");n=(0,e.value.formatter)(n,a),i||"function"!=typeof e.total.formatter||(n=e.total.formatter(a));var l=t===e.total.label;t=e.name.formatter(t,l,a),null!==o&&(o.textContent=t),null!==s&&(s.textContent=n),null!==o&&(o.style.fill=r)}},{key:"printDataLabelsInner",value:function(e,t){var n=this.w,i=e.getAttribute("data:value"),r=n.globals.seriesNames[parseInt(e.parentNode.getAttribute("rel"),10)-1];n.globals.series.length>1&&this.printInnerLabels(t,r,i,e);var a=n.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");null!==a&&(a.style.opacity=1)}},{key:"drawSpokes",value:function(e){var t=this,n=this.w,i=new k(this.ctx),r=n.config.plotOptions.polarArea.spokes;if(0!==r.strokeWidth){for(var a=[],o=360/n.globals.series.length,s=0;s<n.globals.series.length;s++)a.push(_.polarToCartesian(this.centerX,this.centerY,n.globals.radialSize,n.config.plotOptions.pie.startAngle+o*s));a.forEach((function(n,a){var o=i.drawLine(n.x,n.y,t.centerX,t.centerY,Array.isArray(r.connectorColors)?r.connectorColors[a]:r.connectorColors);e.add(o)}))}}},{key:"revertDataLabelsInner",value:function(e,t,n){var i=this,r=this.w,a=r.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group"),o=!1,s=r.globals.dom.baseEl.getElementsByClassName("apexcharts-pie-area"),l=function(e){var n=e.makeSliceOut,r=e.printLabel;Array.prototype.forEach.call(s,(function(e){"true"===e.getAttribute("data:pieClicked")&&(n&&(o=!0),r&&i.printDataLabelsInner(e,t))}))};if(l({makeSliceOut:!0,printLabel:!1}),t.total.show&&r.globals.series.length>1)o&&!t.total.showAlways?l({makeSliceOut:!1,printLabel:!0}):this.printInnerLabels(t,t.total.label,t.total.formatter(r));else if(l({makeSliceOut:!1,printLabel:!0}),!o)if(r.globals.selectedDataPoints.length&&r.globals.series.length>1)if(r.globals.selectedDataPoints[0].length>0){var c=r.globals.selectedDataPoints[0],u=r.globals.dom.baseEl.querySelector(".apexcharts-".concat(this.chartType.toLowerCase(),"-slice-").concat(c));this.printDataLabelsInner(u,t)}else a&&r.globals.selectedDataPoints.length&&0===r.globals.selectedDataPoints[0].length&&(a.style.opacity=0);else a&&r.globals.series.length>1&&(a.style.opacity=0)}}]),e}(),Ee=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animDur=0;var n=this.w;this.graphics=new k(this.ctx),this.lineColorArr=void 0!==n.globals.stroke.colors?n.globals.stroke.colors:n.globals.colors,this.defaultSize=n.globals.svgHeight<n.globals.svgWidth?n.globals.gridHeight+1.5*n.globals.goldenPadding:n.globals.gridWidth,this.isLog=n.config.yaxis[0].logarithmic,this.coreUtils=new S(this.ctx),this.maxValue=this.isLog?this.coreUtils.getLogVal(n.globals.maxY,0):n.globals.maxY,this.minValue=this.isLog?this.coreUtils.getLogVal(this.w.globals.minY,0):n.globals.minY,this.polygons=n.config.plotOptions.radar.polygons,this.strokeWidth=n.config.stroke.show?n.config.stroke.width:0,this.size=this.defaultSize/2.1-this.strokeWidth-n.config.chart.dropShadow.blur,n.config.xaxis.labels.show&&(this.size=this.size-n.globals.xAxisLabelsWidth/1.75),void 0!==n.config.plotOptions.radar.size&&(this.size=n.config.plotOptions.radar.size),this.dataRadiusOfPercent=[],this.dataRadius=[],this.angleArr=[],this.yaxisLabelsTextsPos=[]}return c(e,[{key:"draw",value:function(e){var t=this,n=this.w,i=new F(this.ctx),r=[],o=new W(this.ctx);e.length&&(this.dataPointsLen=e[n.globals.maxValsInArrayIndex].length),this.disAngle=2*Math.PI/this.dataPointsLen;var s=n.globals.gridWidth/2,l=n.globals.gridHeight/2,c=s+n.config.plotOptions.radar.offsetX,u=l+n.config.plotOptions.radar.offsetY,d=this.graphics.group({class:"apexcharts-radar-series apexcharts-plot-series",transform:"translate(".concat(c||0,", ").concat(u||0,")")}),h=[],f=null,p=null;if(this.yaxisLabels=this.graphics.group({class:"apexcharts-yaxis"}),e.forEach((function(e,s){var l=e.length===n.globals.dataPoints,c=t.graphics.group().attr({class:"apexcharts-series","data:longestSeries":l,seriesName:_.escapeString(n.globals.seriesNames[s]),rel:s+1,"data:realIndex":s});t.dataRadiusOfPercent[s]=[],t.dataRadius[s]=[],t.angleArr[s]=[],e.forEach((function(e,n){var i=Math.abs(t.maxValue-t.minValue);e+=Math.abs(t.minValue),t.isLog&&(e=t.coreUtils.getLogVal(e,0)),t.dataRadiusOfPercent[s][n]=e/i,t.dataRadius[s][n]=t.dataRadiusOfPercent[s][n]*t.size,t.angleArr[s][n]=n*t.disAngle})),h=t.getDataPointsPos(t.dataRadius[s],t.angleArr[s]);var u=t.createPaths(h,{x:0,y:0});f=t.graphics.group({class:"apexcharts-series-markers-wrap apexcharts-element-hidden"}),p=t.graphics.group({class:"apexcharts-datalabels","data:realIndex":s}),n.globals.delayedElements.push({el:f.node,index:s});var d={i:s,realIndex:s,animationDelay:s,initialSpeed:n.config.chart.animations.speed,dataChangeSpeed:n.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-radar",shouldClipToGrid:!1,bindEventsOnPaths:!1,stroke:n.globals.stroke.colors[s],strokeLineCap:n.config.stroke.lineCap},m=null;n.globals.previousPaths.length>0&&(m=t.getPreviousPath(s));for(var g=0;g<u.linePathsTo.length;g++){var v=t.graphics.renderPaths(a(a({},d),{},{pathFrom:null===m?u.linePathsFrom[g]:m,pathTo:u.linePathsTo[g],strokeWidth:Array.isArray(t.strokeWidth)?t.strokeWidth[s]:t.strokeWidth,fill:"none",drawShadow:!1}));c.add(v);var b=i.fillPath({seriesNumber:s}),y=t.graphics.renderPaths(a(a({},d),{},{pathFrom:null===m?u.areaPathsFrom[g]:m,pathTo:u.areaPathsTo[g],strokeWidth:0,fill:b,drawShadow:!1}));if(n.config.chart.dropShadow.enabled){var x=new w(t.ctx),k=n.config.chart.dropShadow;x.dropShadow(y,Object.assign({},k,{noUserSpaceOnUse:!0}),s)}c.add(y)}e.forEach((function(e,i){var r=new z(t.ctx).getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:s,dataPointIndex:i}),l=t.graphics.drawMarker(h[i].x,h[i].y,r);l.attr("rel",i),l.attr("j",i),l.attr("index",s),l.node.setAttribute("default-marker-size",r.pSize);var u=t.graphics.group({class:"apexcharts-series-markers"});u&&u.add(l),f.add(u),c.add(f);var d=n.config.dataLabels;if(d.enabled){var m=d.formatter(n.globals.series[s][i],{seriesIndex:s,dataPointIndex:i,w:n});o.plotDataLabelsText({x:h[i].x,y:h[i].y,text:m,textAnchor:"middle",i:s,j:s,parent:p,offsetCorrection:!1,dataLabelsConfig:a({},d)})}c.add(p)})),r.push(c)})),this.drawPolygons({parent:d}),n.config.xaxis.labels.show){var m=this.drawXAxisTexts();d.add(m)}return r.forEach((function(e){d.add(e)})),d.add(this.yaxisLabels),d}},{key:"drawPolygons",value:function(e){for(var t=this,n=this.w,i=e.parent,r=new Ce(this.ctx),a=n.globals.yAxisScale[0].result.reverse(),o=a.length,s=[],l=this.size/(o-1),c=0;c<o;c++)s[c]=l*c;s.reverse();var u=[],d=[];
130s.forEach((function(e,n){var i=_.getPolygonPos(e,t.dataPointsLen),r="";i.forEach((function(e,i){if(0===n){var a=t.graphics.drawLine(e.x,e.y,0,0,Array.isArray(t.polygons.connectorColors)?t.polygons.connectorColors[i]:t.polygons.connectorColors);d.push(a)}0===i&&t.yaxisLabelsTextsPos.push({x:e.x,y:e.y}),r+=e.x+","+e.y+" "})),u.push(r)})),u.forEach((function(e,r){var a=t.polygons.strokeColors,o=t.polygons.strokeWidth,s=t.graphics.drawPolygon(e,Array.isArray(a)?a[r]:a,Array.isArray(o)?o[r]:o,n.globals.radarPolygons.fill.colors[r]);i.add(s)})),d.forEach((function(e){i.add(e)})),n.config.yaxis[0].show&&this.yaxisLabelsTextsPos.forEach((function(e,n){var i=r.drawYAxisTexts(e.x,e.y,n,a[n]);t.yaxisLabels.add(i)}))}},{key:"drawXAxisTexts",value:function(){var e=this,t=this.w,n=t.config.xaxis.labels,i=this.graphics.group({class:"apexcharts-xaxis"}),r=_.getPolygonPos(this.size,this.dataPointsLen);return t.globals.labels.forEach((function(o,s){var l=t.config.xaxis.labels.formatter,c=new W(e.ctx);if(r[s]){var u=e.getTextPos(r[s],e.size),d=l(o,{seriesIndex:-1,dataPointIndex:s,w:t});c.plotDataLabelsText({x:u.newX,y:u.newY,text:d,textAnchor:u.textAnchor,i:s,j:s,parent:i,color:Array.isArray(n.style.colors)&&n.style.colors[s]?n.style.colors[s]:"#a8a8a8",dataLabelsConfig:a({textAnchor:u.textAnchor,dropShadow:{enabled:!1}},n),offsetCorrection:!1})}})),i}},{key:"createPaths",value:function(e,t){var n=this,i=[],r=[],a=[],o=[];if(e.length){r=[this.graphics.move(t.x,t.y)],o=[this.graphics.move(t.x,t.y)];var s=this.graphics.move(e[0].x,e[0].y),l=this.graphics.move(e[0].x,e[0].y);e.forEach((function(t,i){s+=n.graphics.line(t.x,t.y),l+=n.graphics.line(t.x,t.y),i===e.length-1&&(s+="Z",l+="Z")})),i.push(s),a.push(l)}return{linePathsFrom:r,linePathsTo:i,areaPathsFrom:o,areaPathsTo:a}}},{key:"getTextPos",value:function(e,t){var n="middle",i=e.x,r=e.y;return Math.abs(e.x)>=10?e.x>0?(n="start",i+=10):e.x<0&&(n="end",i-=10):n="middle",Math.abs(e.y)>=t-10&&(e.y<0?r-=10:e.y>0&&(r+=10)),{textAnchor:n,newX:i,newY:r}}},{key:"getPreviousPath",value:function(e){for(var t=this.w,n=null,i=0;i<t.globals.previousPaths.length;i++){var r=t.globals.previousPaths[i];r.paths.length>0&&parseInt(r.realIndex,10)===parseInt(e,10)&&void 0!==t.globals.previousPaths[i].paths[0]&&(n=t.globals.previousPaths[i].paths[0].d)}return n}},{key:"getDataPointsPos",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.dataPointsLen;e=e||[],t=t||[];for(var i=[],r=0;r<n;r++){var a={};a.x=e[r]*Math.sin(t[r]),a.y=-e[r]*Math.cos(t[r]),i.push(a)}return i}}]),e}(),De=function(e){d(n,e);var t=m(n);function n(e){var i;s(this,n),(i=t.call(this,e)).ctx=e,i.w=e.w,i.animBeginArr=[0],i.animDur=0;var r=i.w;return i.startAngle=r.config.plotOptions.radialBar.startAngle,i.endAngle=r.config.plotOptions.radialBar.endAngle,i.totalAngle=Math.abs(r.config.plotOptions.radialBar.endAngle-r.config.plotOptions.radialBar.startAngle),i.trackStartAngle=r.config.plotOptions.radialBar.track.startAngle,i.trackEndAngle=r.config.plotOptions.radialBar.track.endAngle,i.barLabels=i.w.config.plotOptions.radialBar.barLabels,i.donutDataLabels=i.w.config.plotOptions.radialBar.dataLabels,i.radialDataLabels=i.donutDataLabels,i.trackStartAngle||(i.trackStartAngle=i.startAngle),i.trackEndAngle||(i.trackEndAngle=i.endAngle),360===i.endAngle&&(i.endAngle=359.99),i.margin=parseInt(r.config.plotOptions.radialBar.track.margin,10),i.onBarLabelClick=i.onBarLabelClick.bind(p(i)),i}return c(n,[{key:"draw",value:function(e){var t=this.w,n=new k(this.ctx),i=n.group({class:"apexcharts-radialbar"});if(t.globals.noData)return i;var r=n.group(),a=this.defaultSize/2,o=t.globals.gridWidth/2,s=this.defaultSize/2.05;t.config.chart.sparkline.enabled||(s=s-t.config.stroke.width-t.config.chart.dropShadow.blur);var l=t.globals.fill.colors;if(t.config.plotOptions.radialBar.track.show){var c=this.drawTracks({size:s,centerX:o,centerY:a,colorArr:l,series:e});r.add(c)}var u=this.drawArcs({size:s,centerX:o,centerY:a,colorArr:l,series:e}),d=360;t.config.plotOptions.radialBar.startAngle<0&&(d=this.totalAngle);var h=(360-d)/360;if(t.globals.radialSize=s-s*h,this.radialDataLabels.value.show){var f=Math.max(this.radialDataLabels.value.offsetY,this.radialDataLabels.name.offsetY);t.globals.radialSize+=f*h}return r.add(u.g),"front"===t.config.plotOptions.radialBar.hollow.position&&(u.g.add(u.elHollow),u.dataLabels&&u.g.add(u.dataLabels)),i.add(r),i}},{key:"drawTracks",value:function(e){var t=this.w,n=new k(this.ctx),i=n.group({class:"apexcharts-tracks"}),r=new w(this.ctx),a=new F(this.ctx),o=this.getStrokeWidth(e);e.size=e.size-o/2;for(var s=0;s<e.series.length;s++){var l=n.group({class:"apexcharts-radialbar-track apexcharts-track"});i.add(l),l.attr({rel:s+1}),e.size=e.size-o-this.margin;var c=t.config.plotOptions.radialBar.track,u=a.fillPath({seriesNumber:0,size:e.size,fillColors:Array.isArray(c.background)?c.background[s]:c.background,solid:!0}),d=this.trackStartAngle,h=this.trackEndAngle;Math.abs(h)+Math.abs(d)>=360&&(h=360-Math.abs(this.startAngle)-.1);var f=n.drawPath({d:"",stroke:u,strokeWidth:o*parseInt(c.strokeWidth,10)/100,fill:"none",strokeOpacity:c.op
130acity,classes:"apexcharts-radialbar-area"});if(c.dropShadow.enabled){var p=c.dropShadow;r.dropShadow(f,p)}l.add(f),f.attr("id","apexcharts-radialbarTrack-"+s),this.animatePaths(f,{centerX:e.centerX,centerY:e.centerY,endAngle:h,startAngle:d,size:e.size,i:s,totalItems:2,animBeginArr:0,dur:0,isTrack:!0,easing:t.globals.easing})}return i}},{key:"drawArcs",value:function(e){var t=this.w,n=new k(this.ctx),i=new F(this.ctx),r=new w(this.ctx),a=n.group(),o=this.getStrokeWidth(e);e.size=e.size-o/2;var s=t.config.plotOptions.radialBar.hollow.background,l=e.size-o*e.series.length-this.margin*e.series.length-o*parseInt(t.config.plotOptions.radialBar.track.strokeWidth,10)/100/2,c=l-t.config.plotOptions.radialBar.hollow.margin;void 0!==t.config.plotOptions.radialBar.hollow.image&&(s=this.drawHollowImage(e,a,l,s));var u=this.drawHollow({size:c,centerX:e.centerX,centerY:e.centerY,fill:s||"transparent"});if(t.config.plotOptions.radialBar.hollow.dropShadow.enabled){var d=t.config.plotOptions.radialBar.hollow.dropShadow;r.dropShadow(u,d)}var h=1;!this.radialDataLabels.total.show&&t.globals.series.length>1&&(h=0);var f=null;this.radialDataLabels.show&&(f=this.renderInnerDataLabels(this.radialDataLabels,{hollowSize:l,centerX:e.centerX,centerY:e.centerY,opacity:h})),"back"===t.config.plotOptions.radialBar.hollow.position&&(a.add(u),f&&a.add(f));var p=!1;t.config.plotOptions.radialBar.inverseOrder&&(p=!0);for(var m=p?e.series.length-1:0;p?m>=0:m<e.series.length;p?m--:m++){var g=n.group({class:"apexcharts-series apexcharts-radial-series",seriesName:_.escapeString(t.globals.seriesNames[m])});a.add(g),g.attr({rel:m+1,"data:realIndex":m}),this.ctx.series.addCollapsedClassToSeries(g,m),e.size=e.size-o-this.margin;var v=i.fillPath({seriesNumber:m,size:e.size,value:e.series[m]}),b=this.startAngle,y=void 0,x=_.negToZero(e.series[m]>100?100:e.series[m])/100,S=Math.round(this.totalAngle*x)+this.startAngle,M=void 0;t.globals.dataChanged&&(y=this.startAngle,M=Math.round(this.totalAngle*_.negToZero(t.globals.previousPaths[m])/100)+y),Math.abs(S)+Math.abs(b)>=360&&(S-=.01),Math.abs(M)+Math.abs(y)>=360&&(M-=.01);var L=S-b,A=Array.isArray(t.config.stroke.dashArray)?t.config.stroke.dashArray[m]:t.config.stroke.dashArray,O=n.drawPath({d:"",stroke:v,strokeWidth:o,fill:"none",fillOpacity:t.config.fill.opacity,classes:"apexcharts-radialbar-area apexcharts-radialbar-slice-"+m,strokeDashArray:A});if(k.setAttrs(O.node,{"data:angle":L,"data:value":e.series[m]}),t.config.chart.dropShadow.enabled){var C=t.config.chart.dropShadow;r.dropShadow(O,C,m)}if(r.setSelectionFilter(O,0,m),this.addListeners(O,this.radialDataLabels),g.add(O),O.attr({index:0,j:m}),this.barLabels.enabled){var T=_.polarToCartesian(e.centerX,e.centerY,e.size,b),E=this.barLabels.formatter(t.globals.seriesNames[m],{seriesIndex:m,w:t}),D=["apexcharts-radialbar-label"];this.barLabels.onClick||D.push("apexcharts-no-click");var P=this.barLabels.useSeriesColors?t.globals.colors[m]:t.config.chart.foreColor;P||(P=t.config.chart.foreColor);var j=T.x-this.barLabels.margin,Y=T.y,I=n.drawText({x:j,y:Y,text:E,textAnchor:"end",dominantBaseline:"middle",fontFamily:this.barLabels.fontFamily,fontWeight:this.barLabels.fontWeight,fontSize:this.barLabels.fontSize,foreColor:P,cssClass:D.join(" ")});I.on("click",this.onBarLabelClick),I.attr({rel:m+1}),0!==b&&I.attr({"transform-origin":"".concat(j," ").concat(Y),transform:"rotate(".concat(b," 0 0)")}),g.add(I)}var R=0;!this.initialAnim||t.globals.resized||t.globals.dataChanged||(R=t.config.chart.animations.speed),t.globals.dataChanged&&(R=t.config.chart.animations.dynamicAnimation.speed),this.animDur=R/(1.2*e.series.length)+this.animDur,this.animBeginArr.push(this.animDur),this.animatePaths(O,{centerX:e.centerX,centerY:e.centerY,endAngle:S,startAngle:b,prevEndAngle:M,prevStartAngle:y,size:e.size,i:m,totalItems:2,animBeginArr:this.animBeginArr,dur:R,shouldSetPrevPaths:!0,easing:t.globals.easing})}return{g:a,elHollow:u,dataLabels:f}}},{key:"drawHollow",value:function(e){var t=new k(this.ctx).drawCircle(2*e.size);return t.attr({class:"apexcharts-radialbar-hollow",cx:e.centerX,cy:e.centerY,r:e.size,fill:e.fill}),t}},{key:"drawHollowImage",value:function(e,t,n,i){var r=this.w,a=new F(this.ctx),o=_.randomId(),s=r.config.plotOptions.radialBar.hollow.image;if(r.config.plotOptions.radialBar.hollow.imageClipped)a.clippedImgArea({width:n,height:n,image:s,patternID:"pattern".concat(r.globals.cuid).concat(o)}),i="url(#pattern".concat(r.globals.cuid).concat(o,")");else{var l=r.config.plotOptions.radialBar.hollow.imageWidth,c=r.config.plotOptions.radialBar.hollow.imageHeight;if(void 0===l&&void 0===c){var u=r.globals.dom.Paper.image(s).loaded((function(t){this.move(e.centerX-t.width/2+r.config.plotOptions.radialBar.hollow.imageOffsetX,e.centerY-t.height/2+r.config.plotOptions.radialBar.hollow.imageOffsetY)}));t.add(u)}else{var d=r.globals.dom.Paper.image(s).loaded((function(t){this.move(e.centerX-l/2+r.config.plotOptions.radialBar.hollow.imageOffsetX,e.centerY-c/2+r.config.plotOptions.radialBar.hollow.imageOffsetY),this.size(l,c)}));t.add(d)}}return i}},{key:"getStrokeWidth",value:function(e){var t=this.w;return e.size*(100-parseInt(t.config.plotOptions.radialBar.hollow.size,10))/100/(e.series.length+1)-this.margin}},{key:"onBarLabelClick",value:function(e){var t=parseInt(e.target.getAttribute("rel"),10)-1,n=this.barLabels.onClick,i=this.w;n&&n(i.globals.seriesNames[t],{w:i,seriesIndex:t})}}]),n}(Te),Pe=function(e){d(n,e);var t=m(n);function n(){return s(this,n),t.apply(this,arguments)}return c(n,[{key:"draw",value:function(e,t){var n=this.w,i=new k(this.ctx);this.rangeBarOptions=this.w.config.plotOptions.rangeBar,this.series=e,this.seriesRangeStart=n.globals.seriesRangeStart,this.seriesRangeEnd=n.globals.seriesRangeEnd,this.barHelpers.initVariables(e);for(var r=i.group({class:"apexcharts-rangebar-series apexcharts-plot-series"}),o=0;o<e.length;o++){var s,l,c,d,h=void 0,f=void 0,p=n.globals.comboCharts?t[o]:o,m=i.group({class:"apexcharts-series",seriesName:_.escapeString(n.globals.seriesNames[p]),rel:o+1,"data:realIndex":p});this.ctx.series.addCollapsedClassToSeries(m,p),e[o].length>0&&(this.visibleI=this.visibleI+1);var g=0,v=0;this.yRatio.length>1&&(this.yaxisIndex=p);var b=this.barHelpers.initialPositions();f=b.y,d=b.zeroW,h=b.x,v=b.barWidth,g=b.barHeight,s=b.xDivision,l=b.yDivision,c=b.zeroH;for(var y=i.group({class:"apexcharts-datalabels","data:realIndex":p}),x=i.group({class:"apexcharts-rangebar-goals-markers"}),w=0;w<n.globals.dataPoints;w++){var S,M=this.barHelpers.getStrokeWidth(o,w,p),L=this.seriesRangeStart[o][w],A=this.seriesRangeEnd[o][w],O=null,C=null,T=null,E={x:h,y:f,strokeWidth:M,elSeries:m},D=this.seriesLen;if(n.config.plotOptions.bar.rangeBarGroupRows&&(D=1),void 0===n.config.series[o].data[w])break;if(this.isHorizontal){T=f+g*this.visibleI;var P=(l-g*D)/2;if(n.config.series[o].data[w].x){var j=this.detectOverlappingBars({i:o,j:w,barYPosition:T,srty:P,barHeight:g,yDivision:l,initPositions:b});g=j.barHeight,T=j.barYPosition}v=(O=this.drawRangeBarPaths(a({indexes:{i:o,j:w,realIndex:p}
130,barHeight:g,barYPosition:T,zeroW:d,yDivision:l,y1:L,y2:A},E))).barWidth}else{n.globals.isXNumeric&&(h=(n.globals.seriesX[o][w]-n.globals.minX)/this.xRatio-v/2),C=h+v*this.visibleI;var Y=(s-v*D)/2;if(n.config.series[o].data[w].x){var I=this.detectOverlappingBars({i:o,j:w,barXPosition:C,srtx:Y,barWidth:v,xDivision:s,initPositions:b});v=I.barWidth,C=I.barXPosition}g=(O=this.drawRangeColumnPaths(a({indexes:{i:o,j:w,realIndex:p},barWidth:v,barXPosition:C,zeroH:c,xDivision:s},E))).barHeight}var R=this.barHelpers.drawGoalLine({barXPosition:O.barXPosition,barYPosition:T,goalX:O.goalX,goalY:O.goalY,barHeight:g,barWidth:v});R&&x.add(R),f=O.y,h=O.x;var H=this.barHelpers.getPathFillColor(e,o,w,p),N=n.globals.stroke.colors[p];this.renderSeries((u(S={realIndex:p,pathFill:H,lineFill:N,j:w,i:o,x:h,y:f,y1:L,y2:A,pathFrom:O.pathFrom,pathTo:O.pathTo,strokeWidth:M,elSeries:m,series:e,barHeight:g,barWidth:v,barXPosition:C,barYPosition:T},"barWidth",v),u(S,"elDataLabelsWrap",y),u(S,"elGoalsMarkers",x),u(S,"visibleSeries",this.visibleI),u(S,"type","rangebar"),S))}r.add(m)}return r}},{key:"detectOverlappingBars",value:function(e){var t=e.i,n=e.j,i=e.barYPosition,r=e.barXPosition,a=e.srty,o=e.srtx,s=e.barHeight,l=e.barWidth,c=e.yDivision,u=e.xDivision,d=e.initPositions,h=this.w,f=[],p=h.config.series[t].data[n].rangeName,m=h.config.series[t].data[n].x,g=Array.isArray(m)?m.join(" "):m,v=h.globals.labels.map((function(e){return Array.isArray(e)?e.join(" "):e})).indexOf(g),b=h.globals.seriesRange[t].findIndex((function(e){return e.x===g&&e.overlaps.length>0}));return this.isHorizontal?(i=h.config.plotOptions.bar.rangeBarGroupRows?a+c*v:a+s*this.visibleI+c*v,b>-1&&!h.config.plotOptions.bar.rangeBarOverlap&&(f=h.globals.seriesRange[t][b].overlaps).indexOf(p)>-1&&(i=(s=d.barHeight/f.length)*this.visibleI+c*(100-parseInt(this.barOptions.barHeight,10))/100/2+s*(this.visibleI+f.indexOf(p))+c*v)):(v>-1&&(r=h.config.plotOptions.bar.rangeBarGroupRows?o+u*v:o+l*this.visibleI+u*v),b>-1&&!h.config.plotOptions.bar.rangeBarOverlap&&(f=h.globals.seriesRange[t][b].overlaps).indexOf(p)>-1&&(r=(l=d.barWidth/f.length)*this.visibleI+u*(100-parseInt(this.barOptions.barWidth,10))/100/2+l*(this.visibleI+f.indexOf(p))+u*v)),{barYPosition:i,barXPosition:r,barHeight:s,barWidth:l}}},{key:"drawRangeColumnPaths",value:function(e){var t=e.indexes,n=e.x,i=e.xDivision,r=e.barWidth,a=e.barXPosition,o=e.zeroH,s=this.w,l=t.i,c=t.j,u=this.yRatio[this.yaxisIndex],d=t.realIndex,h=this.getRangeValue(d,c),f=Math.min(h.start,h.end),p=Math.max(h.start,h.end);void 0===this.series[l][c]||null===this.series[l][c]?f=o:(f=o-f/u,p=o-p/u);var m=Math.abs(p-f),g=this.barHelpers.getColumnPaths({barXPosition:a,barWidth:r,y1:f,y2:p,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,realIndex:t.realIndex,i:d,j:c,w:s});if(s.globals.isXNumeric){var v=this.getBarXForNumericXAxis({x:n,j:c,realIndex:d,barWidth:r});n=v.x,a=v.barXPosition}else n+=i;return{pathTo:g.pathTo,pathFrom:g.pathFrom,barHeight:m,x:n,y:p,goalY:this.barHelpers.getGoalValues("y",null,o,l,c),barXPosition:a}}},{key:"drawRangeBarPaths",value:function(e){var t=e.indexes,n=e.y,i=e.y1,r=e.y2,a=e.yDivision,o=e.barHeight,s=e.barYPosition,l=e.zeroW,c=this.w,u=l+i/this.invertedYRatio,d=l+r/this.invertedYRatio,h=Math.abs(d-u),f=this.barHelpers.getBarpaths({barYPosition:s,barHeight:o,x1:u,x2:d,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,i:t.realIndex,realIndex:t.realIndex,j:t.j,w:c});return c.globals.isXNumeric||(n+=a),{pathTo:f.pathTo,pathFrom:f.pathFrom,barWidth:h,x:d,goalX:this.barHelpers.getGoalValues("x",l,null,t.realIndex,t.j),y:n}}},{key:"getRangeValue",value:function(e,t){var n=this.w;return{start:n.globals.seriesRangeStart[e][t],end:n.globals.seriesRangeEnd[e][t]}}}]),n}(Se),je=function(){function e(t){s(this,e),this.w=t.w,this.lineCtx=t}return c(e,[{key:"sameValueSeriesFix",value:function(e,t){var n=this.w;if(("gradient"===n.config.fill.type||"gradient"===n.config.fill.type[e])&&new S(this.lineCtx.ctx,n).seriesHaveSameValues(e)){var i=t[e].slice();i[i.length-1]=i[i.length-1]+1e-6,t[e]=i}return t}},{key:"calculatePoints",value:function(e){var t=e.series,n=e.realIndex,i=e.x,r=e.y,a=e.i,o=e.j,s=e.prevY,l=this.w,c=[],u=[];
130if(0===o){var d=this.lineCtx.categoryAxisCorrection+l.config.markers.offsetX;l.globals.isXNumeric&&(d=(l.globals.seriesX[n][0]-l.globals.minX)/this.lineCtx.xRatio+l.config.markers.offsetX),c.push(d),u.push(_.isNumber(t[a][0])?s+l.config.markers.offsetY:null),c.push(i+l.config.markers.offsetX),u.push(_.isNumber(t[a][o+1])?r+l.config.markers.offsetY:null)}else c.push(i+l.config.markers.offsetX),u.push(_.isNumber(t[a][o+1])?r+l.config.markers.offsetY:null);return{x:c,y:u}}},{key:"checkPreviousPaths",value:function(e){for(var t=e.pathFromLine,n=e.pathFromArea,i=e.realIndex,r=this.w,a=0;a<r.globals.previousPaths.length;a++){var o=r.globals.previousPaths[a];("line"===o.type||"area"===o.type)&&o.paths.length>0&&parseInt(o.realIndex,10)===parseInt(i,10)&&("line"===o.type?(this.lineCtx.appendPathFrom=!1,t=r.globals.previousPaths[a].paths[0].d):"area"===o.type&&(this.lineCtx.appendPathFrom=!1,n=r.globals.previousPaths[a].paths[0].d,r.config.stroke.show&&r.globals.previousPaths[a].paths[1]&&(t=r.globals.previousPaths[a].paths[1].d)))}return{pathFromLine:t,pathFromArea:n}}},{key:"determineFirstPrevY",value:function(e){var t,n,i=e.i,r=e.series,a=e.prevY,o=e.lineYPosition,s=this.w,l=s.config.chart.stacked&&!s.globals.comboCharts||s.config.chart.stacked&&s.globals.comboCharts&&(!this.w.config.chart.stackOnlyBar||"bar"===(null===(t=this.w.config.series[i])||void 0===t?void 0:t.type));if(void 0!==(null===(n=r[i])||void 0===n?void 0:n[0]))a=(o=l&&i>0?this.lineCtx.prevSeriesY[i-1][0]:this.lineCtx.zeroY)-r[i][0]/this.lineCtx.yRatio[this.lineCtx.yaxisIndex]+2*(this.lineCtx.isReversed?r[i][0]/this.lineCtx.yRatio[this.lineCtx.yaxisIndex]:0);else if(l&&i>0&&void 0===r[i][0])for(var c=i-1;c>=0;c--)if(null!==r[c][0]&&void 0!==r[c][0]){a=o=this.lineCtx.prevSeriesY[c][0];break}return{prevY:a,lineYPosition:o}}}]),e}(),Ye=function(e,t){for(var n="",i=0;i<e.length;i++){var r=e[i],a=e[i-1],o=r.length,s=null==a?void 0:a.length;i>1&&Math.abs(r[o-2]-a[s-2])<t/25?n+="L".concat(r[2],", ").concat(r[3]):o>4?(n+="C".concat(r[0],", ").concat(r[1]),n+=", ".concat(r[2],", ").concat(r[3]),n+=", ".concat(r[4],", ").concat(r[5])):o>2&&(n+="S".concat(r[0],", ").concat(r[1]),n+=", ".concat(r[2],", ").concat(r[3]))}return n},Ie=function(e){var t=function(e){for(var t,n,i,r,a=function(e){for(var t=[],n=e[0],i=e[1],r=t[0]=Re(n,i),a=1,o=e.length-1;a<o;a++)n=i,i=e[a+1],t[a]=.5*(r+(r=Re(n,i)));return t[a]=r,t}(e),o=e.length-1,s=[],l=0;l<o;l++)i=Re(e[l],e[l+1]),Math.abs(i)<1e-6?a[l]=a[l+1]=0:(r=(t=a[l]/i)*t+(n=a[l+1]/i)*n)>9&&(r=3*i/Math.sqrt(r),a[l]=r*t,a[l+1]=r*n);for(var c=0;c<=o;c++)r=(e[Math.min(o,c+1)][0]-e[Math.max(0,c-1)][0])/(6*(1+a[c]*a[c])),s.push([r||0,a[c]*r||0]);return s}(e),n=e[1],i=e[0],r=[],a=t[1],o=t[0];r.push(i,[i[0]+o[0],i[1]+o[1],n[0]-a[0],n[1]-a[1],n[0],n[1]]);for(var s=2,l=t.length;s<l;s++){var c=e[s],u=t[s];r.push([c[0]-u[0],c[1]-u[1],c[0],c[1]])}return r};function Re(e,t){return(t[1]-e[1])/(t[0]-e[0])}var He=function(){function e(t,n,i){s(this,e),this.ctx=t,this.w=t.w,this.xyRatios=n,this.pointsChart=!("bubble"!==this.w.config.chart.type&&"scatter"!==this.w.config.chart.type)||i,this.scatter=new B(this.ctx),this.noNegatives=this.w.globals.minX===Number.MAX_VALUE,this.lineHelpers=new je(this),this.markers=new z(this.ctx),this.prevSeriesY=[],this.categoryAxisCorrection=0,this.yaxisIndex=0}return c(e,[{key:"draw",value:function(e,t,n,i){var r,o=this.w,s=new k(this.ctx),l=o.globals.comboCharts?t:o.config.chart.type,c=s.group({class:"apexcharts-".concat(l,"-series apexcharts-plot-series")}),u=new S(this.ctx,o);this.yRatio=this.xyRatios.yRatio,this.zRatio=this.xyRatios.zRatio,this.xRatio=this.xyRatios.xRatio,this.baseLineY=this.xyRatios.baseLineY,e=u.getLogSeries(e),this.yRatio=u.getLogYRatios(this.yRatio);for(var d=[],h=0;h<e.length;h++){e=this.lineHelpers.sameValueSeriesFix(h,e);var f=o.globals.comboCharts?n[h]:h;this._initSerieVariables(e,h,f);var p=[],m=[],g=[],v=o.globals.padHorizontal+this.categoryAxisCorrection;this.ctx.series.addCollapsedClassToSeries(this.elSeries,f),o.globals.isXNumeric&&o.globals.seriesX.length>0&&(v=(o.globals.seriesX[f][0]-o.globals.minX)/this.xRatio),g.push(v);var b=v,y=this.zeroY,_=this.zeroY;y=this.lineHelpers.determineFirstPrevY({i:h,series:e,prevY:y,lineYPosition:0}).prevY,"smooth"===o.config.stroke.curve&&null===e[h][0]?p.push(null):p.push(y),"rangeArea"===l&&(_=this.lineHelpers.determineFirstPrevY({i:h,series:i,prevY:_,lineYPosition:0}).prevY,m.push(_));var x={type:l,series:e,realIndex:f,i:h,x:v,y:1,pathsFrom:this._calculatePathsFrom({type:l,series:e,i:h,realIndex:f,prevX:b,prevY:y,prevY2:_}),linePaths:[],areaPaths:[],seriesIndex:n,lineYPosition:0,xArrj:g,yArrj:p,y2Arrj:m,seriesRangeEnd:i},w=this._iterateOverDataPoints(a(a({},x),{},{iterations:"rangeArea"===l?e[h].length-1:void 0,isRangeStart:!0}));if("rangeArea"===l){var M=this._calculatePathsFrom({series:i,i:h,realIndex:f,prevX:b,prevY:_}),L=this._iterateOverDataPoints(a(a({},x),{},{series:i,pathsFrom:M,iterations:i[h].length-1,isRangeStart:!1}));w.linePaths[0]=L.linePath+w.linePath,w.pathFromLine=L.pathFromLine+w.pathFromLine}this._handlePaths({type:l,realIndex:f,i:h,paths:w}),this.elSeries.add(this.elPointsMain),this.elSeries.add(this.elDataLabelsWrap),d.push(this.elSeries)}if(void 0!==(null===(r=o.config.series[0])||void 0===r?void 0:r.zIndex)&&d.sort((function(e,t){return Number(e.node.getAttribute("zIndex"))-Number(t.
130node.getAttribute("zIndex"))})),o.config.chart.stacked)for(var A=d.length;A>0;A--)c.add(d[A-1]);else for(var O=0;O<d.length;O++)c.add(d[O]);return c}},{key:"_initSerieVariables",value:function(e,t,n){var i=this.w,r=new k(this.ctx);this.xDivision=i.globals.gridWidth/(i.globals.dataPoints-("on"===i.config.xaxis.tickPlacement?1:0)),this.strokeWidth=Array.isArray(i.config.stroke.width)?i.config.stroke.width[n]:i.config.stroke.width,this.yRatio.length>1&&(this.yaxisIndex=n),this.isReversed=i.config.yaxis[this.yaxisIndex]&&i.config.yaxis[this.yaxisIndex].reversed,this.zeroY=i.globals.gridHeight-this.baseLineY[this.yaxisIndex]-(this.isReversed?i.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),this.areaBottomY=this.zeroY,(this.zeroY>i.globals.gridHeight||"end"===i.config.plotOptions.area.fillTo)&&(this.areaBottomY=i.globals.gridHeight),this.categoryAxisCorrection=this.xDivision/2,this.elSeries=r.group({class:"apexcharts-series",zIndex:void 0!==i.config.series[n].zIndex?i.config.series[n].zIndex:n,seriesName:_.escapeString(i.globals.seriesNames[n])}),this.elPointsMain=r.group({class:"apexcharts-series-markers-wrap","data:realIndex":n}),this.elDataLabelsWrap=r.group({class:"apexcharts-datalabels","data:realIndex":n});var a=e[t].length===i.globals.dataPoints;this.elSeries.attr({"data:longestSeries":a,rel:t+1,"data:realIndex":n}),this.appendPathFrom=!0}},{key:"_calculatePathsFrom",value:function(e){var t,n,i,r,a=e.type,o=e.series,s=e.i,l=e.realIndex,c=e.prevX,u=e.prevY,d=e.prevY2,h=this.w,f=new k(this.ctx);if(null===o[s][0]){for(var p=0;p<o[s].length;p++)if(null!==o[s][p]){c=this.xDivision*p,u=this.zeroY-o[s][p]/this.yRatio[this.yaxisIndex],t=f.move(c,u),n=f.move(c,this.areaBottomY);break}}else t=f.move(c,u),"rangeArea"===a&&(t=f.move(c,d)+f.line(c,u)),n=f.move(c,this.areaBottomY)+f.line(c,u);if(i=f.move(-1,this.zeroY)+f.line(-1,this.zeroY),r=f.move(-1,this.zeroY)+f.line(-1,this.zeroY),h.globals.previousPaths.length>0){var m=this.lineHelpers.checkPreviousPaths({pathFromLine:i,pathFromArea:r,realIndex:l});i=m.pathFromLine,r=m.pathFromArea}return{prevX:c,prevY:u,linePath:t,areaPath:n,pathFromLine:i,pathFromArea:r}}},{key:"_handlePaths",value:function(e){var t=e.type,n=e.realIndex,i=e.i,r=e.paths,o=this.w,s=new k(this.ctx),l=new F(this.ctx);this.prevSeriesY.push(r.yArrj),o.globals.seriesXvalues[n]=r.xArrj,o.globals.seriesYvalues[n]=r.yArrj;var c=o.config.forecastDataPoints;if(c.count>0&&"rangeArea"!==t){var u=o.globals.seriesXvalues[n][o.globals.seriesXvalues[n].length-c.count-1],d=s.drawRect(u,0,o.globals.gridWidth,o.globals.gridHeight,0);o.globals.dom.elForecastMask.appendChild(d.node);var h=s.drawRect(0,0,u,o.globals.gridHeight,0);o.globals.dom.elNonForecastMask.appendChild(h.node)}this.pointsChart||o.globals.delayedElements.push({el:this.elPointsMain.node,index:n});var f={i:i,realIndex:n,animationDelay:i,initialSpeed:o.config.chart.animations.speed,dataChangeSpeed:o.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(t)};if("area"===t)for(var p=l.fillPath({seriesNumber:n}),m=0;m<r.areaPaths.length;m++){var g=s.renderPaths(a(a({},f),{},{pathFrom:r.pathFromArea,pathTo:r.areaPaths[m],stroke:"none",strokeWidth:0,strokeLineCap:null,fill:p}));this.elSeries.add(g)}if(o.config.stroke.show&&!this.pointsChart){var v=null;if("line"===t)v=l.fillPath({seriesNumber:n,i:i});else if("solid"===o.config.stroke.fill.type)v=o.globals.stroke.colors[n];else{var b=o.config.fill;o.config.fill=o.config.stroke.fill,v=l.fillPath({seriesNumber:n,i:i}),o.config.fill=b}for(var y=0;y<r.linePaths.length;y++){var _=v;"rangeArea"===t&&(_=l.fillPath({seriesNumber:n}));var x=a(a({},f),{},{pathFrom:r.pathFromLine,pathTo:r.linePaths[y],stroke:v,strokeWidth:this.strokeWidth,strokeLineCap:o.config.stroke.lineCap,fill:"rangeArea"===t?_:"none"}),w=s.renderPaths(x);if(this.elSeries.add(w),w.attr("fill-rule","evenodd"),c.count>0&&"rangeArea"!==t){var S=s.renderPaths(x);S.node.setAttribute("stroke-dasharray",c.dashArray),c.strokeWidth&&S.node.setAttribute("stroke-width",c.strokeWidth),this.elSeries.add(S),S.attr("clip-path","url(#forecastMask".concat(o.globals.cuid,")")),w.attr("clip-path","url(#nonForecastMask".concat(o.globals.cuid,")"))}}}}},{key:"_iterateOverDataPoints",value:function(e){var t,n=this,i=e.type,r=e.series,a=e.iterations,o=e.realIndex,s=e.i,l=e.x,c=e.y,u=e.pathsFrom,d=e.linePaths,h=e.areaPaths,f=e.seriesIndex,p=e.lineYPosition,m=e.xArrj,g=e.yArrj,v=e.y2Arrj,b=e.isRangeStart,y=e.seriesRangeEnd,x=this.w,w=new k(this.ctx),S=this.yRatio,M=u.prevY,L=u.linePath,A=u.areaPath,O=u.pathFromLine,C=u.pathFromArea,T=_.isNumber(x.globals.minYArr[o])?x.globals.minYArr[o]:x.globals.minY;a||(a=x.globals.dataPoints>1?x.globals.dataPoints-1:x.globals.dataPoints);for(var E=function(e,t){return t-e/S[n.yaxisIndex]+2*(n.isReversed?e/S[n.yaxisIndex]:0)},D=c,P=x.config.chart.stacked&&!x.globals.comboCharts||x.config.chart.stacked&&x.globals.comboCharts&&(!this.w.config.chart.stackOnlyBar||"bar"===(null===(t=this.w.config.series[o])||void 0===t?void 0:t.type)),j=0;j<a;j++){var Y=void 0===r[s][j+1]||null===r[s][j+1];if(x.globals.isXNumeric){var I=x.globals.seriesX[o][j+1];void 0===x.globals.seriesX[o][j+1]&&(I=x.globals.seriesX[o][a-1]
130),l=(I-x.globals.minX)/this.xRatio}else l+=this.xDivision;p=P&&s>0&&x.globals.collapsedSeries.length<x.config.series.length-1?this.prevSeriesY[function(e){for(var t=e,n=0;n<x.globals.series.length;n++)if(x.globals.collapsedSeriesIndices.indexOf(e)>-1){t--;break}return t>=0?t:0}(s-1)][j+1]:this.zeroY,Y?c=E(T,p):(c=E(r[s][j+1],p),"rangeArea"===i&&(D=E(y[s][j+1],p))),m.push(l),Y&&"smooth"===x.config.stroke.curve?g.push(null):g.push(c),v.push(D);var R=this.lineHelpers.calculatePoints({series:r,x:l,y:c,realIndex:o,i:s,j:j,prevY:M}),H=this._createPaths({type:i,series:r,i:s,realIndex:o,j:j,x:l,y:c,y2:D,xArrj:m,yArrj:g,y2Arrj:v,linePath:L,areaPath:A,linePaths:d,areaPaths:h,seriesIndex:f,isRangeStart:b});h=H.areaPaths,d=H.linePaths,A=H.areaPath,L=H.linePath,!this.appendPathFrom||"smooth"===x.config.stroke.curve&&"rangeArea"===i||(O+=w.line(l,this.zeroY),C+=w.line(l,this.zeroY)),this.handleNullDataPoints(r,R,s,j,o),this._handleMarkersAndLabels({type:i,pointsPos:R,i:s,j:j,realIndex:o,isRangeStart:b})}return{yArrj:g,xArrj:m,pathFromArea:C,areaPaths:h,pathFromLine:O,linePaths:d,linePath:L,areaPath:A}}},{key:"_handleMarkersAndLabels",value:function(e){var t=e.type,n=e.pointsPos,i=e.isRangeStart,r=e.i,a=e.j,o=e.realIndex,s=this.w,l=new W(this.ctx);if(this.pointsChart)this.scatter.draw(this.elSeries,a,{realIndex:o,pointsPos:n,zRatio:this.zRatio,elParent:this.elPointsMain});else{s.globals.series[r].length>1&&this.elPointsMain.node.classList.add("apexcharts-element-hidden");var c=this.markers.plotChartMarkers(n,o,a+1);null!==c&&this.elPointsMain.add(c)}var u=l.drawDataLabel({type:t,isRangeStart:i,pos:n,i:o,j:a+1});null!==u&&this.elDataLabelsWrap.add(u)}},{key:"_createPaths",value:function(e){var t=e.type,n=e.series,i=e.i,r=e.realIndex,a=e.j,o=e.x,s=e.y,l=e.xArrj,c=e.yArrj,u=e.y2,d=e.y2Arrj,h=e.linePath,f=e.areaPath,p=e.linePaths,m=e.areaPaths,g=e.seriesIndex,v=e.isRangeStart,b=this.w,y=new k(this.ctx),_=b.config.stroke.curve,x=this.areaBottomY;if(Array.isArray(b.config.stroke.curve)&&(_=Array.isArray(g)?b.config.stroke.curve[g[i]]:b.config.stroke.curve[i]),"rangeArea"===t&&(b.globals.hasNullValues||b.config.forecastDataPoints.count>0)&&"smooth"===_&&(_="straight"),"smooth"===_){var w="rangeArea"===t?l.length===b.globals.dataPoints:a===n[i].length-2,S=l.map((function(e,t){return[l[t],c[t]]})).filter((function(e){return null!==e[1]}));if(w&&S.length>1){var M=Ie(S);if(h+=Ye(M,b.globals.gridWidth),null===n[i][0]?f=h:f+=Ye(M,b.globals.gridWidth),"rangeArea"===t&&v){h+=y.line(l[l.length-1],d[d.length-1]);var L=l.slice().reverse(),A=d.slice().reverse(),O=L.map((function(e,t){return[L[t],A[t]]})),C=Ie(O);f=h+=Ye(C,b.globals.gridWidth)}else f+=y.line(S[S.length-1][0],x)+y.line(S[0][0],x)+y.move(S[0][0],S[0][1])+"z";p.push(h),m.push(f)}}else{if(null===n[i][a+1]){h+=y.move(o,s);var T=b.globals.isXNumeric?(b.globals.seriesX[r][a]-b.globals.minX)/this.xRatio:o-this.xDivision;f=f+y.line(T,x)+y.move(o,s)+"z"}null===n[i][a]&&(h+=y.move(o,s),f+=y.move(o,x)),"stepline"===_?(h=h+y.line(o,null,"H")+y.line(null,s,"V"),f=f+y.line(o,null,"H")+y.line(null,s,"V")):"straight"===_&&(h+=y.line(o,s),f+=y.line(o,s)),a===n[i].length-2&&(f=f+y.line(o,x)+y.move(o,s)+"z","rangeArea"===t&&v?h=h+y.line(o,u)+y.move(o,u)+"z":(p.push(h),m.push(f)))}return{linePaths:p,areaPaths:m,linePath:h,areaPath:f}}},{key:"handleNullDataPoints",value:function(e,t,n,i,r){var a=this.w;if(null===e[n][i]&&a.config.markers.showNullDataPoints||1===e[n].length){var o=this.markers.plotChartMarkers(t,r,i+1,this.strokeWidth-a.config.markers.strokeWidth/2,!0);null!==o&&this.elPointsMain.add(o)}}}]),e}();window.TreemapSquared={},window.TreemapSquared.generate=function(){function e(t,n,i,r){this.xoffset=t,this.yoffset=n,this.height=r,this.width=i,this.shortestEdge=function(){return Math.min(this.height,this.width)},this.getCoordinates=function(e){var t,n=[],i=this.xoffset,r=this.yoffset,o=a(e)/this.height,s=a(e)/this.width;if(this.width>=this.height)for(t=0;t<e.length;t++)n.push([i,r,i+o,r+e[t]/o]),r+=e[t]/o;else for(t=0;t<e.length;t++)n.push([i,r,i+e[t]/s,r+s]),i+=e[t]/s;return n},this.cutArea=function(t){var n;if(this.width>=this.height){var i=t/this.height,r=this.width-i;n=new e(this.xoffset+i,this.yoffset,r,this.height)}else{var a=t/this.width,o=this.height-a;n=new e(this.xoffset,this.yoffset+a,this.width,o)}return n}}function t(t,i,r,o,s){return o=void 0===o?0:o,s=void 0===s?0:s,function(e){var t,n,i=[];for(t=0;t<e.length;t++)for(n=0;n<e[t].length;n++)i.push(e[t][n]);return i}(n(function(e,t){var n,i=[],r=t/a(e);for(n=0;n<e.length;n++)i[n]=e[n]*r;return i}(t,i*r),[],new e(o,s,i,r),[]))}function n(e,t,r,o){var s,l,c;if(0!==e.length)return s=r.shortestEdge(),function(e,t,n){var r;return 0===e.length||((r=e.slice()).push(t),i(e,n)>=i(r,n))}(t,l=e[0],s)?(t.push(l),n(e.slice(1),t,r,o)):(c=r.cutArea(a(t),o),o.push(r.getCoordinates(t)),n(e,[],c,o)),o;o.push(r.getCoordinates(t))}function i(e,t){var n=Math.min.apply(Math,e),i=Math.max.apply(Math,e),r=a(e);return Math.max(Math.pow(t,2)*i/Math.pow(r,2),Math.pow(r,2)/(Math.pow(t,2)*n))}function r(e){return e&&e.constructor===Array}function a(e){var t,n=0;for(t=0;t<e.length;t++)n+=e[t];return n}function o(e){var t,n=0;if(r(e[0]))for(t=0;t<e.length;t++)n+=o(e[t]);else n=a(e);return n}return function e(n,i,a,s,l){s=void 0===s?0:s,l=void 0===l?0:l;var c,u,d=[],h=[];if(r(n[0])){for(u=0;
130u<n.length;u++)d[u]=o(n[u]);for(c=t(d,i,a,s,l),u=0;u<n.length;u++)h.push(e(n[u],c[u][2]-c[u][0],c[u][3]-c[u][1],c[u][0],c[u][1]))}else h=t(n,i,a,s,l);return h}}();var Ne,Fe,ze=function(){function e(t,n){s(this,e),this.ctx=t,this.w=t.w,this.strokeWidth=this.w.config.stroke.width,this.helpers=new Ae(t),this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.labels=[]}return c(e,[{key:"draw",value:function(e){var t=this,n=this.w,i=new k(this.ctx),r=new F(this.ctx),a=i.group({class:"apexcharts-treemap"});if(n.globals.noData)return a;var o=[];return e.forEach((function(e){var t=e.map((function(e){return Math.abs(e)}));o.push(t)})),this.negRange=this.helpers.checkColorRange(),n.config.series.forEach((function(e,n){e.data.forEach((function(e){Array.isArray(t.labels[n])||(t.labels[n]=[]),t.labels[n].push(e.x)}))})),window.TreemapSquared.generate(o,n.globals.gridWidth,n.globals.gridHeight).forEach((function(o,s){var l=i.group({class:"apexcharts-series apexcharts-treemap-series",seriesName:_.escapeString(n.globals.seriesNames[s]),rel:s+1,"data:realIndex":s});if(n.config.chart.dropShadow.enabled){var c=n.config.chart.dropShadow;new w(t.ctx).dropShadow(a,c,s)}var u=i.group({class:"apexcharts-data-labels"});o.forEach((function(a,o){var c=a[0],u=a[1],d=a[2],h=a[3],f=i.drawRect(c,u,d-c,h-u,0,"#fff",1,t.strokeWidth,n.config.plotOptions.treemap.useFillColorAsStroke?m:n.globals.stroke.colors[s]);f.attr({cx:c,cy:u,index:s,i:s,j:o,width:d-c,height:h-u});var p=t.helpers.getShadeColor(n.config.chart.type,s,o,t.negRange),m=p.color;void 0!==n.config.series[s].data[o]&&n.config.series[s].data[o].fillColor&&(m=n.config.series[s].data[o].fillColor);var g=r.fillPath({color:m,seriesNumber:s,dataPointIndex:o});f.node.classList.add("apexcharts-treemap-rect"),f.attr({fill:g}),t.helpers.addListeners(f);var v={x:c+(d-c)/2,y:u+(h-u)/2,width:0,height:0},b={x:c,y:u,width:d-c,height:h-u};if(n.config.chart.animations.enabled&&!n.globals.dataChanged){var y=1;n.globals.resized||(y=n.config.chart.animations.speed),t.animateTreemap(f,v,b,y)}if(n.globals.dataChanged){var _=1;t.dynamicAnim.enabled&&n.globals.shouldAnimate&&(_=t.dynamicAnim.speed,n.globals.previousPaths[s]&&n.globals.previousPaths[s][o]&&n.globals.previousPaths[s][o].rect&&(v=n.globals.previousPaths[s][o].rect),t.animateTreemap(f,v,b,_))}var x=t.getFontSize(a),w=n.config.dataLabels.formatter(t.labels[s][o],{value:n.globals.series[s][o],seriesIndex:s,dataPointIndex:o,w:n});"truncate"===n.config.plotOptions.treemap.dataLabels.format&&(x=parseInt(n.config.dataLabels.style.fontSize,10),w=t.truncateLabels(w,x,c,u,d,h));var k=t.helpers.calculateDataLabels({text:w,x:(c+d)/2,y:(u+h)/2+t.strokeWidth/2+x/3,i:s,j:o,colorProps:p,fontSize:x,series:e});n.config.dataLabels.enabled&&k&&t.rotateToFitLabel(k,x,w,c,u,d,h),l.add(f),null!==k&&l.add(k)})),l.add(u),a.add(l)})),a}},{key:"getFontSize",value:function(e){var t,n,i=this.w,r=function e(t){var n,i=0;if(Array.isArray(t[0]))for(n=0;n<t.length;n++)i+=e(t[n]);else for(n=0;n<t.length;n++)i+=t[n].length;return i}(this.labels)/function e(t){var n,i=0;if(Array.isArray(t[0]))for(n=0;n<t.length;n++)i+=e(t[n]);else for(n=0;n<t.length;n++)i+=1;return i}(this.labels);return t=(e[2]-e[0])*(e[3]-e[1]),n=Math.pow(t,.5),Math.min(n/r,parseInt(i.config.dataLabels.style.fontSize,10))}},{key:"rotateToFitLabel",value:function(e,t,n,i,r,a,o){var s=new k(this.ctx),l=s.getTextRects(n,t);if(l.width+this.w.config.stroke.width+5>a-i&&l.width<=o-r){var c=s.rotateAroundCenter(e.node);e.node.setAttribute("transform","rotate(-90 ".concat(c.x," ").concat(c.y,") translate(").concat(l.height/3,")"))}}},{key:"truncateLabels",value:function(e,t,n,i,r,a){var o=new k(this.ctx),s=o.getTextRects(e,t).width+this.w.config.stroke.width+5>r-n&&a-i>r-n?a-i:r-n,l=o.getTextBasedOnMaxWidth({text:e,maxWidth:s,fontSize:t});return e.length!==l.length&&s/t<5?"":l}},{key:"animateTreemap",value:function(e,t,n,i){var r=new x(this.ctx);r.animateRect(e,{x:t.x,y:t.y,width:t.width,height:t.height},{x:n.x,y:n.y,width:n.width,height:n.height},i,(function(){r.animationCompleted(e)}))}}]),e}(),Be=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.timeScaleArray=[],this.utc=this.w.config.xaxis.labels.datetimeUTC}return c(e,[{key:"calculateTimeScaleTicks",value:function(e,t){var n=this,i=this.w;if(i.globals.allSeriesCollapsed)return i.globals.labels=[],i.globals.timescaleLabels=[],[];var r=new D(this.ctx),o=(t-e)/864e5;this.determineInterval(o),i.globals.disableZoomIn=!1,i.globals.disableZoomOut=!1,o<.00011574074074074075?i.globals.disableZoomIn=!0:o>5e4&&(i.globals.disableZoomOut=!0);var s=r.getTimeUnitsfromTimestamp(e,t,this.utc),l=i.globals.gridWidth/o,c=l/24,u=c/60,d=u/60,h=Math.floor(24*o),f=Math.floor(1440*o),p=Math.floor(86400*o),m=Math.floor(o),g=Math.floor(o/30),v=Math.floor(o/365),b={minMillisecond:s.minMillisecond,minSecond:s.minSecond,minMinute:s.minMinute,minHour:s.minHour,minDate:s.minDate,minMonth:s.minMonth,minYear:s.minYear},y={firstVal:b,currentMillisecond:b.minMillisecond,currentSecond:b.minSecond,currentMinute:b.minMinute,currentHour:b.minHour,currentMonthDate:b.minDate,currentDate:b.minDate,currentMonth:b.minMonth,currentYear:b.minYear,daysWidthOnXAxis:l,hoursWidthOnXAxis:c,minutesWidthOnXAxis:u,secondsWidthOnXAxis:d,numberOfSeconds:p,numberOfMinutes:f,numberOfHours:h,numberOfDays:m,numberOfMonths:g,numberOfYears:v};switch(this.tickInterval){case"years":this.generateYearScale(y);break;case"months":case"half_year":this.generateMonthScale(y);break;case"months_days":case"months_fortnight":case"days":case"week_days":this.generateDayScale(y);break;case"hours":this.generateHourScale(y);break;case"minutes_fives":case"minutes":this.generateMinuteScale(y);break;case"seconds_tens":case"seconds_fives":case"seconds":this.generateSecondScale(y)}var _=this.timeScaleArray.map((function(e){var t={position:e.position,unit:e.unit,year:e.year,day:e.day?e.day:1,hour:e.hour?e.hour:0,month:e.month+1};return"month"===e.unit?a(a({},t),{},{day:1,value:e.value+1}):"day"===e.unit||"hour"===e.unit?a(a({},t),{},{value:e.value}):"minute"===e.unit?a(a({},t),{},{value:e.value,minute:e.value}):"second"===e.unit?a(a({},t),{},{value:e.value,minute:e.minute,second:e.second}):e}));return _.filter((function(e){var t=1,r=Math.ceil(i.globals.gridWidth/120),a=e.value;void 0!==i.config.xaxis.tickAmount&&(r=i.config.xaxis.tickAmount),_.length>r&&(t=Math.floor(_.length/r));var o=!1,s=!1;switch(n.tickInterval){case"years":"year"===e.unit&&(o=!0);break;case"half_year":t=7,"year"===e.unit&&(o=!0);break;case"months":t=1,"year"===e.unit&&(o=!0);break;case"months_fortnight":t=15,"year"!==e.unit&&"month"!==e.unit||(o=!0),30===a&&(s=!0);break;case"months_days":t=10,"month"===e.unit&&(o=!0),30===a&&(s=!0);break;case"week_days":t=8,"month"===e.unit&&(o=!0);break;case"days":t=1,"month"===e.unit&&(o=!0);break;case"hours":"day"===e.unit&&(o=!0);break;case"minutes_fives":case"seconds_fives":a%5!=0&&(s=!0);break;case"seconds_tens":a%10!=0&&(s=!0)}if("hours"===n.tickInterval||"minutes_fives"===n.tickInterval||"seconds_tens"===n.tickInterval||"seconds_fives"===n.tickInterval){if(!s)return!0}
130else if((a%t==0||o)&&!s)return!0}))}},{key:"recalcDimensionsBasedOnFormat",value:function(e,t){var n=this.w,i=this.formatDates(e),r=this.removeOverlappingTS(i);n.globals.timescaleLabels=r.slice(),new ue(this.ctx).plotCoords()}},{key:"determineInterval",value:function(e){var t=24*e,n=60*t;switch(!0){case e/365>5:this.tickInterval="years";break;case e>800:this.tickInterval="half_year";break;case e>180:this.tickInterval="months";break;case e>90:this.tickInterval="months_fortnight";break;case e>60:this.tickInterval="months_days";break;case e>30:this.tickInterval="week_days";break;case e>2:this.tickInterval="days";break;case t>2.4:this.tickInterval="hours";break;case n>15:this.tickInterval="minutes_fives";break;case n>5:this.tickInterval="minutes";break;case n>1:this.tickInterval="seconds_tens";break;case 60*n>20:this.tickInterval="seconds_fives";break;default:this.tickInterval="seconds"}}},{key:"generateYearScale",value:function(e){var t=e.firstVal,n=e.currentMonth,i=e.currentYear,r=e.daysWidthOnXAxis,a=e.numberOfYears,o=t.minYear,s=0,l=new D(this.ctx),c="year";if(t.minDate>1||t.minMonth>0){var u=l.determineRemainingDaysOfYear(t.minYear,t.minMonth,t.minDate);s=(l.determineDaysOfYear(t.minYear)-u+1)*r,o=t.minYear+1,this.timeScaleArray.push({position:s,value:o,unit:c,year:o,month:_.monthMod(n+1)})}else 1===t.minDate&&0===t.minMonth&&this.timeScaleArray.push({position:s,value:o,unit:c,year:i,month:_.monthMod(n+1)});for(var d=o,h=s,f=0;f<a;f++)d++,h=l.determineDaysOfYear(d-1)*r+h,this.timeScaleArray.push({position:h,value:d,unit:c,year:d,month:1})}},{key:"generateMonthScale",value:function(e){var t=e.firstVal,n=e.currentMonthDate,i=e.currentMonth,r=e.currentYear,a=e.daysWidthOnXAxis,o=e.numberOfMonths,s=i,l=0,c=new D(this.ctx),u="month",d=0;if(t.minDate>1){l=(c.determineDaysOfMonths(i+1,t.minYear)-n+1)*a,s=_.monthMod(i+1);var h=r+d,f=_.monthMod(s),p=s;0===s&&(u="year",p=h,f=1,h+=d+=1),this.timeScaleArray.push({position:l,value:p,unit:u,year:h,month:f})}else this.timeScaleArray.push({position:l,value:s,unit:u,year:r,month:_.monthMod(i)});for(var m=s+1,g=l,v=0,b=1;v<o;v++,b++){0===(m=_.monthMod(m))?(u="year",d+=1):u="month";var y=this._getYear(r,m,d);g=c.determineDaysOfMonths(m,y)*a+g;var x=0===m?y:m;this.timeScaleArray.push({position:g,value:x,unit:u,year:y,month:0===m?1:m}),m++}}},{key:"generateDayScale",value:function(e){var t=e.firstVal,n=e.currentMonth,i=e.currentYear,r=e.hoursWidthOnXAxis,a=e.numberOfDays,o=new D(this.ctx),s="day",l=t.minDate+1,c=l,u=function(e,t,n){return e>o.determineDaysOfMonths(t+1,n)?(c=1,s="month",h=t+=1,t):t},d=(24-t.minHour)*r,h=l,f=u(c,n,i);0===t.minHour&&1===t.minDate?(d=0,h=_.monthMod(t.minMonth),s="month",c=t.minDate):1!==t.minDate&&0===t.minHour&&0===t.minMinute&&(d=0,l=t.minDate,h=l,f=u(c=l,n,i)),this.timeScaleArray.push({position:d,value:h,unit:s,year:this._getYear(i,f,0),month:_.monthMod(f),day:c});for(var p=d,m=0;m<a;m++){s="day",f=u(c+=1,f,this._getYear(i,f,0));var g=this._getYear(i,f,0);p=24*r+p;var v=1===c?_.monthMod(f):c;this.timeScaleArray.push({position:p,value:v,unit:s,year:g,month:_.monthMod(f),day:v})}}},{key:"generateHourScale",value:function(e){var t=e.firstVal,n=e.currentDate,i=e.currentMonth,r=e.currentYear,a=e.minutesWidthOnXAxis,o=e.numberOfHours,s=new D(this.ctx),l="hour",c=function(e,t){return e>s.determineDaysOfMonths(t+1,r)&&(m=1,t+=1),{month:t,date:m}},u=function(e,t){return e>s.determineDaysOfMonths(t+1,r)?t+=1:t},d=60-(t.minMinute+t.minSecond/60),h=d*a,f=t.minHour+1,p=f;60===d&&(h=0,p=f=t.minHour);var m=n;p>=24&&(p=0,m+=1,l="day");var g=c(m,i).month;g=u(m,g),this.timeScaleArray.push({position:h,value:f,unit:l,day:m,hour:p,year:r,month:_.monthMod(g)}),p++;for(var v=h,b=0;b<o;b++){l="hour",p>=24&&(p=0,l="day",g=c(m+=1,g).month,g=u(m,g));var y=this._getYear(r,g,0);v=60*a+v;var x=0===p?m:p;this.timeScaleArray.push({position:v,value:x,unit:l,hour:p,day:m,year:y,month:_.monthMod(g)}),p++}}},{key:"generateMinuteScale",value:function(e){for(var t=e.currentMillisecond,n=e.currentSecond,i=e.currentMinute,r=e.currentHour,a=e.currentDate,o=e.currentMonth,s=e.currentYear,l=e.minutesWidthOnXAxis,c=e.secondsWidthOnXAxis,u=e.numberOfMinutes,d=i+1,h=a,f=o,p=s,m=r,g=(60-n-t/1e3)*c,v=0;v<u;v++)d>=60&&(d=0,24===(m+=1)&&(m=0)),this.timeScaleArray.push({position:g,value:d,unit:"minute",hour:m,minute:d,day:h,year:this._getYear(p,f,0),month:_.monthMod(f)}),g+=l,d++}},{key:"generateSecondScale",value:function(e){for(var t=e.currentMillisecond,n=e.currentSecond,i=e.currentMinute,r=e.currentHour,a=e.currentDate,o=e.currentMonth,s=e.currentYear,l=e.secondsWidthOnXAxis,c=e.numberOfSeconds,u=n+1,d=i,h=a,f=o,p=s,m=r,g=(1e3-t)/1e3*l,v=0;v<c;v++)u>=60&&(u=0,++d>=60&&(d=0,24==++m&&(m=0))),this.timeScaleArray.push({position:g,value:u,unit:"second",hour:m,minute:d,second:u,day:h,year:this._getYear(p,f,0),month:_.monthMod(f)}),g+=l,u++}},{key:"createRawDateString",value:function(e,t){var n=e.year;return 0===e.month&&(e.month=1),n+="-"+("0"+e.month.toString()).slice(-2),"day"===e.unit?n+="day"===e.unit?"-"+("0"+t).slice(-2):"-01":n+="-"+("0"+(e.day?e.day:"1")).slice(-2),"hour"===e.unit?n+="hour"===e.unit?"T"+("0"+t).slice(-2):"T00":n+="T"+("0"+(e.hour?e.hour:"0")).slice(-2),"minute"===e.unit?n+=":"+("0"+t).slice(-2):n+=":"+(e.minute?("0"+e.minute).slice(-2):"00"),"second"===e.unit?n+=":"+("0"+t).slice(-2):n+=":00",this.utc&&(n+=".000Z"),n}},{key:"formatDates",value:function(e){var t=this,n=this.w;return e.map((function(e){var i=e.value.toString(),r=new D(t.ctx),a=t.createRawDateString(e,i),o=r.getDate(r.parseDate(a));if(t.utc||(o=r.getDate(r.parseDateWithTimezone(a))),void 0===n.config.xaxis.labels.format){var s="dd MMM",l=n.config.xaxis.labels.datetimeFormatter;"year"===e.unit&&(s=l.year),"month"===e.unit&&(s=l.month),"day"===e.unit&&(s=l.day),"hour"===e.unit&&(s=l.hour),"minute"===e.unit&&(s=l.minute),"second"===e.unit&&(s=l.second),i=r.formatDate(o,s)}else i=r.formatDate(o,n.config.xaxis.labels.format);return{dateString:a,position:e.position,value:i,unit:e.unit,year:e.year,month:e.month}}))}},{key:"removeOverlappingTS",value:function(e){var t,n=this,i=new k(this.ctx),r=!1;e.length>0&&e[0].value&&e.every((function(t){return t.value.length===e[0].value.length}))&&(r=!0,t=i.getTextRects(e[0].value).width);var a=0,o=e.map((function(o,s){if(s>0&&n.w.config.xaxis.labels.hideOverlappingLabels){var l=r?t:i.getTextRects(e[a].value).width,c=e[a].position;return o.position>c+l+10?(a=s,o):null}return o}
130));return o.filter((function(e){return null!==e}))}},{key:"_getYear",value:function(e,t,n){return e+Math.floor(t/12)+n}}]),e}(),We=function(){function e(t,n){s(this,e),this.ctx=n,this.w=n.w,this.el=t}return c(e,[{key:"setupElements",value:function(){var e=this.w.globals,t=this.w.config,n=t.chart.type;e.axisCharts=["line","area","bar","rangeBar","rangeArea","candlestick","boxPlot","scatter","bubble","radar","heatmap","treemap"].indexOf(n)>-1,e.xyCharts=["line","area","bar","rangeBar","rangeArea","candlestick","boxPlot","scatter","bubble"].indexOf(n)>-1,e.isBarHorizontal=("bar"===t.chart.type||"rangeBar"===t.chart.type||"boxPlot"===t.chart.type)&&t.plotOptions.bar.horizontal,e.chartClass=".apexcharts"+e.chartID,e.dom.baseEl=this.el,e.dom.elWrap=document.createElement("div"),k.setAttrs(e.dom.elWrap,{id:e.chartClass.substring(1),class:"apexcharts-canvas "+e.chartClass.substring(1)}),this.el.appendChild(e.dom.elWrap),e.dom.Paper=new window.SVG.Doc(e.dom.elWrap),e.dom.Paper.attr({class:"apexcharts-svg","xmlns:data":"ApexChartsNS",transform:"translate(".concat(t.chart.offsetX,", ").concat(t.chart.offsetY,")")}),e.dom.Paper.node.style.background="dark"!==t.theme.mode||t.chart.background?t.chart.background:"rgba(0, 0, 0, 0.8)",this.setSVGDimensions(),e.dom.elLegendForeign=document.createElementNS(e.SVGNS,"foreignObject"),k.setAttrs(e.dom.elLegendForeign,{x:0,y:0,width:e.svgWidth,height:e.svgHeight}),e.dom.elLegendWrap=document.createElement("div"),e.dom.elLegendWrap.classList.add("apexcharts-legend"),e.dom.elLegendWrap.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),e.dom.elLegendForeign.appendChild(e.dom.elLegendWrap),e.dom.Paper.node.appendChild(e.dom.elLegendForeign),e.dom.elGraphical=e.dom.Paper.group().attr({class:"apexcharts-inner apexcharts-graphical"}),e.dom.elDefs=e.dom.Paper.defs(),e.dom.Paper.add(e.dom.elGraphical),e.dom.elGraphical.add(e.dom.elDefs)}},{key:"plotChartType",value:function(e,t){var n=this.w,i=n.config,r=n.globals,a={series:[],i:[]},o={series:[],i:[]},s={series:[],i:[]},l={series:[],i:[]},c={series:[],i:[]},u={series:[],i:[]},d={series:[],i:[]},h={series:[],i:[]},f={series:[],seriesRangeEnd:[],i:[]};r.series.map((function(t,p){var m=0;void 0!==e[p].type?("column"===e[p].type||"bar"===e[p].type?(r.series.length>1&&i.plotOptions.bar.horizontal&&console.warn("Horizontal bars are not supported in a mixed/combo chart. Please turn off `plotOptions.bar.horizontal`"),c.series.push(t),c.i.push(p),m++,n.globals.columnSeries=c.series):"area"===e[p].type?(o.series.push(t),o.i.push(p),m++):"line"===e[p].type?(a.series.push(t),a.i.push(p),m++):"scatter"===e[p].type?(s.series.push(t),s.i.push(p)):"bubble"===e[p].type?(l.series.push(t),l.i.push(p),m++):"candlestick"===e[p].type?(u.series.push(t),u.i.push(p),m++):"boxPlot"===e[p].type?(d.series.push(t),d.i.push(p),m++):"rangeBar"===e[p].type?(h.series.push(t),h.i.push(p),m++):"rangeArea"===e[p].type?(f.series.push(r.seriesRangeStart[p]),f.seriesRangeEnd.push(r.seriesRangeEnd[p]),f.i.push(p),m++):console.warn("You have specified an unrecognized chart type. Available types for this property are line/area/column/bar/scatter/bubble/candlestick/boxPlot/rangeBar/rangeArea"),m>1&&(r.comboCharts=!0)):(a.series.push(t),a.i.push(p))}));var p=new He(this.ctx,t),m=new Le(this.ctx,t);this.ctx.pie=new Te(this.ctx);var g=new De(this.ctx);this.ctx.rangeBar=new Pe(this.ctx,t);var v=new Ee(this.ctx),b=[];if(r.comboCharts){if(o.series.length>0&&b.push(p.draw(o.series,"area",o.i)),c.series.length>0)if(n.config.chart.stacked){var y=new Me(this.ctx,t);b.push(y.draw(c.series,c.i))}else this.ctx.bar=new Se(this.ctx,t),b.push(this.ctx.bar.draw(c.series,c.i));if(f.series.length>0&&b.push(p.draw(f.series,"rangeArea",f.i,f.seriesRangeEnd)),a.series.length>0&&b.push(p.draw(a.series,"line",a.i)),u.series.length>0&&b.push(m.draw(u.series,"candlestick",u.i)),d.series.length>0&&b.push(m.draw(d.series,"boxPlot",d.i)),h.series.length>0&&b.push(this.ctx.rangeBar.draw(h.series,h.i)),s.series.length>0){var _=new He(this.ctx,t,!0);b.push(_.draw(s.series,"scatter",s.i))}if(l.series.length>0){var x=new He(this.ctx,t,!0);b.push(x.draw(l.series,"bubble",l.i))}}else switch(i.chart.type){case"line":b=p.draw(r.series,"line");break;case"area":b=p.draw(r.series,"area");break;case"bar":i.chart.stacked?b=new Me(this.ctx,t).draw(r.series):(this.ctx.bar=new Se(this.ctx,t),b=this.ctx.bar.draw(r.series));break;case"candlestick":b=new Le(this.ctx,t).draw(r.series,"candlestick");break;case"boxPlot":b=new Le(this.ctx,t).draw(r.series,i.chart.type);break;case"rangeBar":b=this.ctx.rangeBar.draw(r.series);break;case"rangeArea":b=p.draw(r.seriesRangeStart,"rangeArea",void 0,r.seriesRangeEnd);break;case"heatmap":b=new Oe(this.ctx,t).draw(r.series);break;case"treemap":b=new ze(this.ctx,t).draw(r.series);break;case"pie":case"donut":case"polarArea":b=this.ctx.pie.draw(r.series);break;case"radialBar":b=g.draw(r.series);break;case"radar":b=v.draw(r.series);break;default:b=p.draw(r.series)}return b}},{key:"setSVGDimensions",value:function(){var e=this.w.globals,t=this.w.config;e.svgWidth=t.chart.width,e.svgHeight=t.chart.height;var n=_.getDimensions(this.el),i=t.chart.width.toString().split(/[0-9]+/g).pop();"%"===i?_.isNumber(n[0])&&(0===n[0].width&&(n=_.getDimensions(this.el.parentNode)),e.svgWidth=n[0]*parseInt(t.chart.width,10)/100):"px"!==i&&""!==i||(e.svgWidth=parseInt(t.chart.width,10));var r=t.chart.height.toString().split(/[0-9]+/g).pop();if("auto"!==e.svgHeight&&""!==e.svgHeight)if("%"===r){var a=_.getDimensions(this.el.parentNode);e.svgHeight=a[1]*parseInt(t.chart.height,10)/100}else e.svgHeight=parseInt(t.chart.height,10);else e.axisCharts?e.svgHeight=e.svgWidth/1.61:e.svgHeight=e.svgWidth/1.2;if(e.svgWidth<0&&(e.svgWidth=0),e.svgHeight<0&&(e.svgHeight=0),k.setAttrs(e.dom.Paper.node,{width:e.svgWidth,height:e.svgHeight}),"%"!==r){var o=t.chart.sparkline.enabled?0:e.axisCharts?t.chart.parentHeightOffset:0;e.dom.Paper.node.parentNode.parentNode.style.minHeight=e.svgHeight+o+"px"}e.dom.elWrap.style.width=e.svgWidth+"px",e.dom.elWrap.style.height=e.svgHeight+"px"}},{key:"shiftGraphPosition",value:function(){var e=this.w.globals,t=e.translateY,n={transform:"translate("+e.translateX+", "+t+")"};k.setAttrs(e.dom.elGraphical.node,n)}},{key:"resizeNonAxisCharts",value:function(){var e=this.w,t=e.globals,n=0,i=e.config.chart.sparkline.enabled?1:15;i+=e.config.grid.padding.bottom,"top"!==e.config.legend.position&&"bottom"!==e.config.legend.position||!e.config.legend.show||e.config.legend.floating||(n=new he(this.ctx).legendHelpers.getLegendBBox().clwh+10);var r=e.globals.dom.baseEl.querySelector(".apexcharts-radialbar, .apexcharts-pie"),a=2.05*e.globals.radialSize;if(r&&!e.config.chart.sparkline.enabled&&0!==e.config.plotOptions.radialBar.startAngle){var o=_.getBoundingClientRect(r);a=o.bottom;var s=o.bottom-o.top;a=Math.max(2.05*e.globals.radialSize,s)}var l=a+t.translateY+n+i;t.dom.elLegendForeign&&t.dom.elLegendForeign.setAttribute("height",l),e.config.chart.height&&String(e.config.chart.height).indexOf("%")>0||(t.dom.elWrap.style.height=l+"px",k.setAttrs(t.dom.Paper.node,{height:l}),t.dom.Paper.node.parentNode.parentNode.style.minHeight=l+"px")}},{key:"coreCalculations",value:function(){new K(this.ctx).init()}},{key:"resetGlobals",value:function(){var e=this,t=function(){return e.w.config.series.map((function(e){return[]}))},n=new H,i=this.w.globals;n.initGlobalVars(i),i.seriesXvalues=t(),i.seriesYvalues=t()}},{key:"isMultipleY",value:function(){if(this.w.config.yaxis.constructor===Array&&this.w.config.yaxis.length>1)return this.w.globals.isMultipleYAxis=!0,!0}},{key:"xySettings",value:function(){var e=null,t=this.w;if(t.globals.axisCharts){if("back"===t.config.xaxis.crosshairs.position&&new ne(this.ctx).drawXCrosshairs(),"back"===t.config.yaxis[0].crosshairs.position&&new ne(this.ctx).drawYCrosshairs(),"datetime"===t.config.xaxis.type&&void 0===t.config.xaxis.labels.formatter){this.ctx.timeScale=new Be(this.ctx);var n=[];isFinite(t.globals.minX)&&isFinite(t.globals.maxX)&&!t.globals.isBarHorizontal?n=this.ctx.timeScale.calculateTimeScaleTicks(t.globals.minX,t.globals.maxX):t.globals.isBarHorizontal&&(n=this.ctx.timeScale.calculateTimeScaleTicks(t.globals.minY,t.globals.maxY)),this.ctx.timeScale.recalcDimensionsBasedOnFormat(n)}e=new S(this.ctx).getCalculatedRatios()}return e}},{key:"updateSourceChart",value:function(e){this.ctx.w.globals.selection=void 0,this.ctx.updateHelpers._updateOptions({chart:{selection:{xaxis:{min:e.w.globals.minX,max:e.w.globals.maxX}}}},!1,!1)}},{key:"setupBrushHandler",value:function(){var e=this,t=this.w;if(t.config.chart.brush.enabled&&"function"!=typeof t.config.chart.events.selection){var n=Array.isArray(t.config.chart.brush.targets)||[t.config.chart.brush.target];
130n.forEach((function(t){var n=ApexCharts.getChartByID(t);n.w.globals.brushSource=e.ctx,"function"!=typeof n.w.config.chart.events.zoomed&&(n.w.config.chart.events.zoomed=function(){e.updateSourceChart(n)}),"function"!=typeof n.w.config.chart.events.scrolled&&(n.w.config.chart.events.scrolled=function(){e.updateSourceChart(n)})})),t.config.chart.events.selection=function(e,i){n.forEach((function(e){var n=ApexCharts.getChartByID(e),r=_.clone(t.config.yaxis);if(t.config.chart.brush.autoScaleYaxis&&1===n.w.globals.series.length){var o=new J(n);r=o.autoScaleY(n,r,i)}var s=n.w.config.yaxis.reduce((function(e,t,i){return[].concat(v(e),[a(a({},n.w.config.yaxis[i]),{},{min:r[0].min,max:r[0].max})])}),[]);n.ctx.updateHelpers._updateOptions({xaxis:{min:i.xaxis.min,max:i.xaxis.max},yaxis:s},!1,!1,!1,!1)}))}}}}]),e}(),Ve=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"_updateOptions",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return new Promise((function(s){var l=[t.ctx];r&&(l=t.ctx.getSyncedCharts()),t.ctx.w.globals.isExecCalled&&(l=[t.ctx],t.ctx.w.globals.isExecCalled=!1),l.forEach((function(r,c){var u=r.w;if(u.globals.shouldAnimate=i,n||(u.globals.resized=!0,u.globals.dataChanged=!0,i&&r.series.getPreviousPaths()),e&&"object"===o(e)&&(r.config=new R(e),e=S.extendArrayProps(r.config,e,u),r.w.globals.chartID!==t.ctx.w.globals.chartID&&delete e.series,u.config=_.extend(u.config,e),a&&(u.globals.lastXAxis=e.xaxis?_.clone(e.xaxis):[],u.globals.lastYAxis=e.yaxis?_.clone(e.yaxis):[],u.globals.initialConfig=_.extend({},u.config),u.globals.initialSeries=_.clone(u.config.series),e.series))){for(var d=0;d<u.globals.collapsedSeriesIndices.length;d++){var h=u.config.series[u.globals.collapsedSeriesIndices[d]];u.globals.collapsedSeries[d].data=u.globals.axisCharts?h.data.slice():h}for(var f=0;f<u.globals.ancillaryCollapsedSeriesIndices.length;f++){var p=u.config.series[u.globals.ancillaryCollapsedSeriesIndices[f]];u.globals.ancillaryCollapsedSeries[f].data=u.globals.axisCharts?p.data.slice():p}r.series.emptyCollapsedSeries(u.config.series)}return r.update(e).then((function(){c===l.length-1&&s(r)}))}))}))}},{key:"_updateSeries",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return new Promise((function(r){var a,o=n.w;return o.globals.shouldAnimate=t,o.globals.dataChanged=!0,t&&n.ctx.series.getPreviousPaths(),o.globals.axisCharts?(0===(a=e.map((function(e,t){return n._extendSeries(e,t)}))).length&&(a=[{data:[]}]),o.config.series=a):o.config.series=e.slice(),i&&(o.globals.initialConfig.series=_.clone(o.config.series),o.globals.initialSeries=_.clone(o.config.series)),n.ctx.update().then((function(){r(n.ctx)}))}))}},{key:"_extendSeries",value:function(e,t){var n=this.w,i=n.config.series[t];return a(a({},n.config.series[t]),{},{name:e.name?e.name:null==i?void 0:i.name,color:e.color?e.color:null==i?void 0:i.color,type:e.type?e.type:null==i?void 0:i.type,group:e.group?e.group:null==i?void 0:i.group,data:e.data?e.data:null==i?void 0:i.data,zIndex:void 0!==e.zIndex?e.zIndex:t})}},{key:"toggleDataPointSelection",value:function(e,t){var n=this.w,i=null,r=".apexcharts-series[data\\:realIndex='".concat(e,"']");return n.globals.axisCharts?i=n.globals.dom.Paper.select("".concat(r," path[j='").concat(t,"'], ").concat(r," circle[j='").concat(t,"'], ").concat(r," rect[j='").concat(t,"']")).members[0]:void 0===t&&(i=n.globals.dom.Paper.select("".concat(r," path[j='").concat(e,"']")).members[0],"pie"!==n.config.chart.type&&"polarArea"!==n.config.chart.type&&"donut"!==n.config.chart.type||this.ctx.pie.pieClicked(e)),i?(new k(this.ctx).pathMouseDown(i,null),i.node?i.node:null):(console.warn("toggleDataPointSelection: Element not found"),null)}},{key:"forceXAxisUpdate",value:function(e){var t=this.w;if(["min","max"].forEach((function(n){void 0!==e.xaxis[n]&&(t.config.xaxis[n]=e.xaxis[n],t.globals.lastXAxis[n]=e.xaxis[n])})),e.xaxis.categories&&e.xaxis.categories.length&&(t.config.xaxis.categories=e.xaxis.categories),t.config.xaxis.convertedCatToNumeric){var n=new I(e);e=n.convertCatToNumericXaxis(e,this.ctx)}return e}},{key:"forceYAxisUpdate",value:function(e){return e.chart&&e.chart.stacked&&"100%"===e.chart.stackType&&(Array.isArray(e.yaxis)?e.yaxis.forEach((function(t,n){e.yaxis[n].min=0,e.yaxis[n].max=100})):(e.yaxis.min=0,e.yaxis.max=100)),e}},{key:"revertDefaultAxisMinMax",value:function(e){var t=this,n=this.w,i=n.globals.lastXAxis,r=n.globals.lastYAxis;e&&e.xaxis&&(i=e.xaxis),e&&e.yaxis&&(r=e.yaxis),n.config.xaxis.min=i.min,n.config.xaxis.max=i.max,n.config.yaxis.map((function(e,i){n.globals.zoomed||void 0!==r[i]?function(e){void 0!==r[e]&&(n.config.yaxis[e].min=r[e].min,n.config.yaxis[e].max=r[e].max)}(i):void 0!==t.ctx.opts.yaxis[i]&&(e.min=t.ctx.opts.yaxis[i].min,e.max=t.ctx.opts.yaxis[i].max)}))}}]),e}();Ne="undefined"!=typeof window?window:void 0,Fe=function(e,t){var n=(void 0!==this?this:e).SVG=function(e){if(n.supported)return e=new n.Doc(e),n.parser.draw||n.prepare(),e};if(n.ns="http://www.w3.org/2000/svg",n.xmlns="http://www.w3.org/2000/xmlns/",n.xlink="http://www.w3.org/1999/xlink",n.svgjs="http://svgjs.dev",n.supported=!0,!n.supported)return!1;n.did=1e3,n.eid=function(e){return"Svgjs"+d(e)+n.did++},n.create=function(e){var n=t.createElementNS(this.ns,e);return n.setAttribute("id",this.eid(e)),n},n.extend=function(){var e,t;t=(e=[].slice.call(arguments)).pop();for(var i=e.length-1;i>=0;i--)if(e[i])for(var r in t)e[i].prototype[r]=t[r];n.Set&&n.Set.inherit&&n.Set.inherit()},n.invent=function(e){var t="function"==typeof e.create?e.create:function(){this.constructor.call(this,n.create(e.create))};return e.inherit&&(t.prototype=new e.inherit),e.extend&&n.extend(t,e.extend),e.construct&&n.extend(e.parent||n.Container,e.construct),t},n.adopt=function(t){return t?t.instance?t.instance:((i="svg"==t.nodeName?t.parentNode instanceof e.SVGElement?new n.Nested:new n.Doc:"linearGradient"==t.nodeName?new n.Gradient("linear"):"radialGradient"==t.nodeName?new n.Gradient("radial"):n[d(t.nodeName)]?new(n[d(t.nodeName)]):new n.Element(t)).type=t.nodeName,i.node=t,t.instance=i,i instanceof n.Doc&&i.namespace().defs(),i.setData(JSON.parse(t.getAttribute("svgjs:data"))||{}),i):null;var i},n.prepare=function(){var e=t.getElementsByTagName("body")[0],i=(e?new n.Doc(e):n.adopt(t.documentElement).nested()).size(2,0);n.parser={body:e||t.documentElement,draw:i.style("opacity:0;position:absolute;
130left:-100%;top:-100%;overflow:hidden").node,poly:i.polyline().node,path:i.path().node,native:n.create("svg")}},n.parser={native:n.create("svg")},t.addEventListener("DOMContentLoaded",(function(){n.parser.draw||n.prepare()}),!1),n.regex={numberAndUnit:/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,hex:/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,rgb:/rgb\((\d+),(\d+),(\d+)\)/,reference:/#([a-z0-9\-_]+)/i,transforms:/\)\s*,?\s*/,whitespace:/\s/g,isHex:/^#[a-f0-9]{3,6}$/i,isRgb:/^rgb\(/,isCss:/[^:]+:[^;]+;?/,isBlank:/^(\s+)?$/,isNumber:/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,isPercent:/^-?[\d\.]+%$/,isImage:/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,delimiter:/[\s,]+/,hyphen:/([^e])\-/gi,pathLetters:/[MLHVCSQTAZ]/gi,isPathLetter:/[MLHVCSQTAZ]/i,numbersWithDots:/((\d?\.\d+(?:e[+-]?\d+)?)((?:\.\d+(?:e[+-]?\d+)?)+))+/gi,dots:/\./g},n.utils={map:function(e,t){for(var n=e.length,i=[],r=0;r<n;r++)i.push(t(e[r]));return i},filter:function(e,t){for(var n=e.length,i=[],r=0;r<n;r++)t(e[r])&&i.push(e[r]);return i},filterSVGElements:function(t){return this.filter(t,(function(t){return t instanceof e.SVGElement}))}},n.defaults={attrs:{"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","font-size":16,"font-family":"Helvetica, Arial, sans-serif","text-anchor":"start"}},n.Color=function(e){var t,i;this.r=0,this.g=0,this.b=0,e&&("string"==typeof e?n.regex.isRgb.test(e)?(t=n.regex.rgb.exec(e.replace(n.regex.whitespace,"")),this.r=parseInt(t[1]),this.g=parseInt(t[2]),this.b=parseInt(t[3])):n.regex.isHex.test(e)&&(t=n.regex.hex.exec(4==(i=e).length?["#",i.substring(1,2),i.substring(1,2),i.substring(2,3),i.substring(2,3),i.substring(3,4),i.substring(3,4)].join(""):i),this.r=parseInt(t[1],16),this.g=parseInt(t[2],16),this.b=parseInt(t[3],16)):"object"===o(e)&&(this.r=e.r,this.g=e.g,this.b=e.b))},n.extend(n.Color,{toString:function(){return this.toHex()},toHex:function(){return"#"+h(this.r)+h(this.g)+h(this.b)},toRgb:function(){return"rgb("+[this.r,this.g,this.b].join()+")"},brightness:function(){return this.r/255*.3+this.g/255*.59+this.b/255*.11},morph:function(e){return this.destination=new n.Color(e),this},at:function(e){return this.destination?(e=e<0?0:e>1?1:e,new n.Color({r:~~(this.r+(this.destination.r-this.r)*e),g:~~(this.g+(this.destination.g-this.g)*e),b:~~(this.b+(this.destination.b-this.b)*e)})):this}}),n.Color.test=function(e){return e+="",n.regex.isHex.test(e)||n.regex.isRgb.test(e)},n.Color.isRgb=function(e){return e&&"number"==typeof e.r&&"number"==typeof e.g&&"number"==typeof e.b},n.Color.isColor=function(e){return n.Color.isRgb(e)||n.Color.test(e)},n.Array=function(e,t){0==(e=(e||[]).valueOf()).length&&t&&(e=t.valueOf()),this.value=this.parse(e)},n.extend(n.Array,{toString:function(){return this.value.join(" ")},valueOf:function(){return this.value},parse:function(e){return e=e.valueOf(),Array.isArray(e)?e:this.split(e)}}),n.PointArray=function(e,t){n.Array.call(this,e,t||[[0,0]])},n.PointArray.prototype=new n.Array,n.PointArray.prototype.constructor=n.PointArray;for(var i={M:function(e,t,n){return t.x=n.x=e[0],t.y=n.y=e[1],["M",t.x,t.y]},L:function(e,t){return t.x=e[0],t.y=e[1],["L",e[0],e[1]]},H:function(e,t){return t.x=e[0],["H",e[0]]},V:function(e,t){return t.y=e[0],["V",e[0]]},C:function(e,t){return t.x=e[4],t.y=e[5],["C",e[0],e[1],e[2],e[3],e[4],e[5]]},Q:function(e,t){return t.x=e[2],t.y=e[3],["Q",e[0],e[1],e[2],e[3]]},S:function(e,t){return t.x=e[2],t.y=e[3],["S",e[0],e[1],e[2],e[3]]},Z:function(e,t,n){return t.x=n.x,t.y=n.y,["Z"]}},r="mlhvqtcsaz".split(""),a=0,s=r.length;a<s;++a)i[r[a]]=function(e){return function(t,n,r){if("H"==e)t[0]=t[0]+n.x;else if("V"==e)t[0]=t[0]+n.y;else if("A"==e)t[5]=t[5]+n.x,t[6]=t[6]+n.y;else for(var a=0,o=t.length;a<o;++a)t[a]=t[a]+(a%2?n.y:n.x);if(i&&"function"==typeof i[e])return i[e](t,n,r)}}(r[a].toUpperCase());n.PathArray=function(e,t){n.Array.call(this,e,t||[["M",0,0]])},n.PathArray.prototype=new n.Array,n.PathArray.prototype.constructor=n.PathArray,n.extend(n.PathArray,{toString:function(){return function(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t][0],null!=e[t][1]&&(i+=e[t][1],null!=e[t][2]&&(i+=" ",i+=e[t][2],null!=e[t][3]&&(i+=" ",i+=e[t][3],i+=" ",i+=e[t][4],null!=e[t][5]&&(i+=" ",i+=e[t][5],i+=" ",i+=e[t][6],null!=e[t][7]&&(i+=" ",i+=e[t][7])))));return i+" "}(this.value)},move:function(e,t){var n=this.bbox();return n.x,n.y,this},at:function(e){if(!this.destination)return this;for(var t=this.value,i=this.destination.value,r=[],a=new n.PathArray,o=0,s=t.length;o<s;o++){r[o]=[t[o][0]];for(var l=1,c=t[o].length;l<c;l++)r[o][l]=t[o][l]+(i[o][l]-t[o][l])*e;"A"===r[o][0]&&(r[o][4]=+(0!=r[o][4]),r[o][5]=+(0!=r[o][5]))}return a.value=r,a},parse:function(e){if(e instanceof n.PathArray)return e.valueOf();var t,r={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};e="string"==typeof e?e.replace(n.regex.numbersWithDots,c).replace(n.regex.pathLetters," $& ").replace(n.regex.hyphen,"$1 -").trim().split(n.regex.delimiter):e.reduce((function(e,t){return[].concat.call(e,t)}),[]);var a=[],o=new n.Point,s=new n.Point,l=0,u=e.length;do{n.regex.isPathLetter.test(e[l])?(t=e[l],++l):"M"==t?t="L":"m"==t&&(t="l"),a.push(i[t].call(null,e.slice(l,l+=r[t.toUpperCase()]).map(parseFloat),o,s))}while(u>l);return a},bbox:function(){return n.parser.draw||n.prepare(),n.parser.path.setAttribute("d",this.toString()),n.parser.path.getBBox()}}),n.Number=n.invent({create:function(e,t){this.value=0,this.unit=t||"","number"==typeof e?this.value=isNaN(e)?0:isFinite(e)?e:e<0?-34e37:34e37:"string"==typeof e?(t=e.match(n.regex.numberAndUnit))&&(this.value=parseFloat(t[1]),"%"==t[5]?this.value/=100:"s"==t[5]&&(this.value*=1e3),this.unit=t[5]):e instanceof n.Number&&(this.value=e.valueOf(),this.unit=e.unit)}
130,extend:{toString:function(){return("%"==this.unit?~~(1e8*this.value)/1e6:"s"==this.unit?this.value/1e3:this.value)+this.unit},toJSON:function(){return this.toString()},valueOf:function(){return this.value},plus:function(e){return e=new n.Number(e),new n.Number(this+e,this.unit||e.unit)},minus:function(e){return e=new n.Number(e),new n.Number(this-e,this.unit||e.unit)},times:function(e){return e=new n.Number(e),new n.Number(this*e,this.unit||e.unit)},divide:function(e){return e=new n.Number(e),new n.Number(this/e,this.unit||e.unit)},to:function(e){var t=new n.Number(this);return"string"==typeof e&&(t.unit=e),t},morph:function(e){return this.destination=new n.Number(e),e.relative&&(this.destination.value+=this.value),this},at:function(e){return this.destination?new n.Number(this.destination).minus(this).times(e).plus(this):this}}}),n.Element=n.invent({create:function(e){this._stroke=n.defaults.attrs.stroke,this._event=null,this.dom={},(this.node=e)&&(this.type=e.nodeName,this.node.instance=this,this._stroke=e.getAttribute("stroke")||this._stroke)},extend:{x:function(e){return this.attr("x",e)},y:function(e){return this.attr("y",e)},cx:function(e){return null==e?this.x()+this.width()/2:this.x(e-this.width()/2)},cy:function(e){return null==e?this.y()+this.height()/2:this.y(e-this.height()/2)},move:function(e,t){return this.x(e).y(t)},center:function(e,t){return this.cx(e).cy(t)},width:function(e){return this.attr("width",e)},height:function(e){return this.attr("height",e)},size:function(e,t){var i=f(this,e,t);return this.width(new n.Number(i.width)).height(new n.Number(i.height))},clone:function(e){this.writeDataToDom();var t=g(this.node.cloneNode(!0));return e?e.add(t):this.after(t),t},remove:function(){return this.parent()&&this.parent().removeElement(this),this},replace:function(e){return this.after(e).remove(),e},addTo:function(e){return e.put(this)},putIn:function(e){return e.add(this)},id:function(e){return this.attr("id",e)},show:function(){return this.style("display","")},hide:function(){return this.style("display","none")},visible:function(){return"none"!=this.style("display")},toString:function(){return this.attr("id")},classes:function(){var e=this.attr("class");return null==e?[]:e.trim().split(n.regex.delimiter)},hasClass:function(e){return-1!=this.classes().indexOf(e)},addClass:function(e){if(!this.hasClass(e)){var t=this.classes();t.push(e),this.attr("class",t.join(" "))}return this},removeClass:function(e){return this.hasClass(e)&&this.attr("class",this.classes().filter((function(t){return t!=e})).join(" ")),this},toggleClass:function(e){return this.hasClass(e)?this.removeClass(e):this.addClass(e)},reference:function(e){return n.get(this.attr(e))},parent:function(t){var i=this;if(!i.node.parentNode)return null;if(i=n.adopt(i.node.parentNode),!t)return i;for(;i&&i.node instanceof e.SVGElement;){if("string"==typeof t?i.matches(t):i instanceof t)return i;if(!i.node.parentNode||"#document"==i.node.parentNode.nodeName)return null;i=n.adopt(i.node.parentNode)}},doc:function(){return this instanceof n.Doc?this:this.parent(n.Doc)},parents:function(e){var t=[],n=this;do{if(!(n=n.parent(e))||!n.node)break;t.push(n)}while(n.parent);return t},matches:function(e){return function(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector).call(e,t)}(this.node,e)},native:function(){return this.node},svg:function(e){var i=t.createElement("svg");if(!(e&&this instanceof n.Parent))return i.appendChild(e=t.createElement("svg")),this.writeDataToDom(),e.appendChild(this.node.cloneNode(!0)),i.innerHTML.replace(/^<svg>/,"").replace(/<\/svg>$/,"");i.innerHTML="<svg>"+e.replace(/\n/,"").replace(/<([\w:-]+)([^<]+?)\/>/g,"<$1$2></$1>")+"</svg>";for(var r=0,a=i.firstChild.childNodes.length;r<a;r++)this.node.appendChild(i.firstChild.firstChild);return this},writeDataToDom:function(){return(this.each||this.lines)&&(this.each?this:this.lines()).each((function(){this.writeDataToDom()})),this.node.removeAttribute("svgjs:data"),Object.keys(this.dom).length&&this.node.setAttribute("svgjs:data",JSON.stringify(this.dom)),this},setData:function(e){return this.dom=e,this},is:function(e){return function(e,t){return e instanceof t}(this,e)}}}),n.easing={"-":function(e){return e},"<>":function(e){return-Math.cos(e*Math.PI)/2+.5},">":function(e){return Math.sin(e*Math.PI/2)},"<":function(e){return 1-Math.cos(e*Math.PI/2)}},n.morph=function(e){return function(t,i){return new n.MorphObj(t,i).at(e)}},n.Situation=n.invent({create:function(e){this.init=!1,this.reversed=!1,this.reversing=!1,this.duration=new n.Number(e.duration).valueOf(),this.delay=new n.Number(e.delay).valueOf(),this.start=+new Date+this.delay,this.finish=this.start+this.duration,this.ease=e.ease,this.loop=0,this.loops=!1,this.animations={},this.attrs={},this.styles={},this.transforms=[],this.once={}}}),n.FX=n.invent({create:function(e){this._target=e,this.situations=[],this.active=!1,this.situation=null,this.paused=!1,this.lastPos=0,this.pos=0,this.absPos=0,this._speed=1},extend:{animate:function(e,t,i){"object"===o(e)&&(t=e.ease,i=e.delay,e=e.duration);var r=new n.Situation({duration:e||1e3,delay:i||0,ease:n.easing[t||"-"]||t});return this.queue(r),this},target:function(e){return e&&e instanceof n.Element?(this._target=e,this):this._target},timeToAbsPos:function(e){return(e-this.situation.start)/(this.situation.duration/this._speed)},absPosToTime:function(e){return this.situation.duration/this._speed*e+this.situation.start}
130,startAnimFrame:function(){this.stopAnimFrame(),this.animationFrame=e.requestAnimationFrame(function(){this.step()}.bind(this))},stopAnimFrame:function(){e.cancelAnimationFrame(this.animationFrame)},start:function(){return!this.active&&this.situation&&(this.active=!0,this.startCurrent()),this},startCurrent:function(){return this.situation.start=+new Date+this.situation.delay/this._speed,this.situation.finish=this.situation.start+this.situation.duration/this._speed,this.initAnimations().step()},queue:function(e){return("function"==typeof e||e instanceof n.Situation)&&this.situations.push(e),this.situation||(this.situation=this.situations.shift()),this},dequeue:function(){return this.stop(),this.situation=this.situations.shift(),this.situation&&(this.situation instanceof n.Situation?this.start():this.situation.call(this)),this},initAnimations:function(){var e,t=this.situation;if(t.init)return this;for(var i in t.animations){e=this.target()[i](),Array.isArray(e)||(e=[e]),Array.isArray(t.animations[i])||(t.animations[i]=[t.animations[i]]);for(var r=e.length;r--;)t.animations[i][r]instanceof n.Number&&(e[r]=new n.Number(e[r])),t.animations[i][r]=e[r].morph(t.animations[i][r])}for(var i in t.attrs)t.attrs[i]=new n.MorphObj(this.target().attr(i),t.attrs[i]);for(var i in t.styles)t.styles[i]=new n.MorphObj(this.target().style(i),t.styles[i]);return t.initialTransformation=this.target().matrixify(),t.init=!0,this},clearQueue:function(){return this.situations=[],this},clearCurrent:function(){return this.situation=null,this},stop:function(e,t){var n=this.active;return this.active=!1,t&&this.clearQueue(),e&&this.situation&&(!n&&this.startCurrent(),this.atEnd()),this.stopAnimFrame(),this.clearCurrent()},after:function(e){var t=this.last();return this.target().on("finished.fx",(function n(i){i.detail.situation==t&&(e.call(this,t),this.off("finished.fx",n))})),this._callStart()},during:function(e){var t=this.last(),i=function(i){i.detail.situation==t&&e.call(this,i.detail.pos,n.morph(i.detail.pos),i.detail.eased,t)};return this.target().off("during.fx",i).on("during.fx",i),this.after((function(){this.off("during.fx",i)})),this._callStart()},afterAll:function(e){var t=function t(n){e.call(this),this.off("allfinished.fx",t)};return this.target().off("allfinished.fx",t).on("allfinished.fx",t),this._callStart()},last:function(){return this.situations.length?this.situations[this.situations.length-1]:this.situation},add:function(e,t,n){return this.last()[n||"animations"][e]=t,this._callStart()},step:function(e){var t,n,i;e||(this.absPos=this.timeToAbsPos(+new Date)),!1!==this.situation.loops?(t=Math.max(this.absPos,0),n=Math.floor(t),!0===this.situation.loops||n<this.situation.loops?(this.pos=t-n,i=this.situation.loop,this.situation.loop=n):(this.absPos=this.situation.loops,this.pos=1,i=this.situation.loop-1,this.situation.loop=this.situation.loops),this.situation.reversing&&(this.situation.reversed=this.situation.reversed!=Boolean((this.situation.loop-i)%2))):(this.absPos=Math.min(this.absPos,1),this.pos=this.absPos),this.pos<0&&(this.pos=0),this.situation.reversed&&(this.pos=1-this.pos);var r=this.situation.ease(this.pos);for(var a in this.situation.once)a>this.lastPos&&a<=r&&(this.situation.once[a].call(this.target(),this.pos,r),delete this.situation.once[a]);return this.active&&this.target().fire("during",{pos:this.pos,eased:r,fx:this,situation:this.situation}),this.situation?(this.eachAt(),1==this.pos&&!this.situation.reversed||this.situation.reversed&&0==this.pos?(this.stopAnimFrame(),this.target().fire("finished",{fx:this,situation:this.situation}),this.situations.length||(this.target().fire("allfinished"),this.situations.length||(this.target().off(".fx"),this.active=!1)),this.active?this.dequeue():this.clearCurrent()):!this.paused&&this.active&&this.startAnimFrame(),this.lastPos=r,this):this},eachAt:function(){var e,t=this,i=this.target(),r=this.situation;for(var a in r.animations)e=[].concat(r.animations[a]).map((function(e){return"string"!=typeof e&&e.at?e.at(r.ease(t.pos),t.pos):e})),i[a].apply(i,e);for(var a in r.attrs)e=[a].concat(r.attrs[a]).map((function(e){return"string"!=typeof e&&e.at?e.at(r.ease(t.pos),t.pos):e})),i.attr.apply(i,e);for(var a in r.styles)e=[a].concat(r.styles[a]).map((function(e){return"string"!=typeof e&&e.at?e.at(r.ease(t.pos),t.pos):e})),i.style.apply(i,e);if(r.transforms.length){e=r.initialTransformation,a=0;for(var o=r.transforms.length;a<o;a++){var s=r.transforms[a];s instanceof n.Matrix?e=s.relative?e.multiply((new n.Matrix).morph(s).at(r.ease(this.pos))):e.morph(s).at(r.ease(this.pos)):(s.relative||s.und
130o(e.extract()),e=e.multiply(s.at(r.ease(this.pos))))}i.matrix(e)}return this},once:function(e,t,n){var i=this.last();return n||(e=i.ease(e)),i.once[e]=t,this},_callStart:function(){return setTimeout(function(){this.start()}.bind(this),0),this}},parent:n.Element,construct:{animate:function(e,t,i){return(this.fx||(this.fx=new n.FX(this))).animate(e,t,i)},delay:function(e){return(this.fx||(this.fx=new n.FX(this))).delay(e)},stop:function(e,t){return this.fx&&this.fx.stop(e,t),this},finish:function(){return this.fx&&this.fx.finish(),this}}}),n.MorphObj=n.invent({create:function(e,t){return n.Color.isColor(t)?new n.Color(e).morph(t):n.regex.delimiter.test(e)?n.regex.pathLetters.test(e)?new n.PathArray(e).morph(t):new n.Array(e).morph(t):n.regex.numberAndUnit.test(t)?new n.Number(e).morph(t):(this.value=e,void(this.destination=t))},extend:{at:function(e,t){return t<1?this.value:this.destination},valueOf:function(){return this.value}}}),n.extend(n.FX,{attr:function(e,t,n){if("object"===o(e))for(var i in e)this.attr(i,e[i]);else this.add(e,t,"attrs");return this},plot:function(e,t,n,i){return 4==arguments.length?this.plot([e,t,n,i]):this.add("plot",new(this.target().morphArray)(e))}}),n.Box=n.invent({create:function(e,t,i,r){if(!("object"!==o(e)||e instanceof n.Element))return n.Box.call(this,null!=e.left?e.left:e.x,null!=e.top?e.top:e.y,e.width,e.height);var a;4==arguments.length&&(this.x=e,this.y=t,this.width=i,this.height=r),null==(a=this).x&&(a.x=0,a.y=0,a.width=0,a.height=0),a.w=a.width,a.h=a.height,a.x2=a.x+a.width,a.y2=a.y+a.height,a.cx=a.x+a.width/2,a.cy=a.y+a.height/2}}),n.BBox=n.invent({create:function(e){if(n.Box.apply(this,[].slice.call(arguments)),e instanceof n.Element){var i;try{if(!t.documentElement.contains){for(var r=e.node;r.parentNode;)r=r.parentNode;if(r!=t)throw new Error("Element not in the dom")}i=e.node.getBBox()}catch(t){if(e instanceof n.Shape){n.parser.draw||n.prepare();var a=e.clone(n.parser.draw.instance).show();a&&a.node&&"function"==typeof a.node.getBBox&&(i=a.node.getBBox()),a&&"function"==typeof a.remove&&a.remove()}else i={x:e.node.clientLeft,y:e.node.clientTop,width:e.node.clientWidth,height:e.node.clientHeight}}n.Box.call(this,i)}},inherit:n.Box,parent:n.Element,construct:{bbox:function(){return new n.BBox(this)}}}),n.BBox.prototype.constructor=n.BBox,n.Matrix=n.invent({create:function(e){var t=m([1,0,0,1,0,0]);e=null===e?t:e instanceof n.Element?e.matrixify():"string"==typeof e?m(e.split(n.regex.delimiter).map(parseFloat)):6==arguments.length?m([].slice.call(arguments)):Array.isArray(e)?m(e):e&&"object"===o(e)?e:t;for(var i=b.length-1;i>=0;--i)this[b[i]]=null!=e[b[i]]?e[b[i]]:t[b[i]]},extend:{extract:function(){var e=p(this,0,1);p(this,1,0);var t=180/Math.PI*Math.atan2(e.y,e.x)-90;return{x:this.e,y:this.f,transformedX:(this.e*Math.cos(t*Math.PI/180)+this.f*Math.sin(t*Math.PI/180))/Math.sqrt(this.a*this.a+this.b*this.b),transformedY:(this.f*Math.cos(t*Math.PI/180)+this.e*Math.sin(-t*Math.PI/180))/Math.sqrt(this.c*this.c+this.d*this.d),rotation:t,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f,matrix:new n.Matrix(this)}},clone:function(){return new n.Matrix(this)},morph:function(e){return this.destination=new n.Matrix(e),this},multiply:function(e){return new n.Matrix(this.native().multiply(function(e){return e instanceof n.Matrix||(e=new n.Matrix(e)),e}(e).native()))},inverse:function(){return new n.Matrix(this.native().inverse())},translate:function(e,t){return new n.Matrix(this.native().translate(e||0,t||0))},native:function(){for(var e=n.parser.native.createSVGMatrix(),t=b.length-1;t>=0;t--)e[b[t]]=this[b[t]];return e},toString:function(){return"matrix("+v(this.a)+","+v(this.b)+","+v(this.c)+","+v(this.d)+","+v(this.e)+","+v(this.f)+")"}},parent:n.Element,construct:{ctm:function(){return new n.Matrix(this.node.getCTM())},screenCTM:function(){if(this instanceof n.Nested){var e=this.rect(1,1),t=e.node.getScreenCTM();return e.remove(),new n.Matrix(t)}return new n.Matrix(this.node.getScreenCTM())}}}),n.Point=n.invent({create:function(e,t){var n;n=Array.isArray(e)?{x:e[0],y:e[1]}:"object"===o(e)?{x:e.x,y:e.y}:null!=e?{x:e,y:null!=t?t:e}:{x:0,y:0},this.x=n.x,this.y=n.y},extend:{clone:function(){return new n.Point(this)},morph:function(e,t){return this.destination=new n.Point(e,t),this}}}),n.extend(n.Element,{point:function(e,t){return new n.Point(e,t).transform(this.screenCTM().inverse())}}),n.extend(n.Element,{attr:function(e,t,i){if(null==e){for(e={},i=(t=this.node.attributes).length-1;i>=0;i--)e[t[i].nodeName]=n.regex.isNumber.test(t[i].nodeValue)?parseFloat(t[i].nodeValue):t[i].nodeValue;return e}if("object"===o(e))for(var r in e)this.attr(r,e[r]);else if(null===t)this.node.removeAttribute(e);else{if(null==t)return null==(t=this.node.getAttribute(e))?n.defaults.attrs[e]:n.regex.isNumber.test(t)?parseFloat(t):t;"stroke-width"==e?this.attr("stroke",parseFloat(t)>0?this._stroke:null):"stroke"==e&&(this._stroke=t),"fill"!=e&&"stroke"!=e||(n.regex.isImage.test(t)&&(t=this.doc().defs().image(t,0,0)),t instanceof n.Image&&(t=this.doc().defs().pattern(0,0,(function(){this.add(t)})))),"number"==typeof t?t=new n.Number(t):n.Color.isColor(t)?t=new n.Color(t):Array.isArray(t)&&(t=new n.Array(t)),"leading"==e?this.leading&&this.leading(t):"string"==typeof i?this.node.setAttributeNS(i,e,t.toString()):this.node.setAttribute(e,t.toString()),!this.rebuild||"font-size"!=e&&"x"!=e||this.rebuild(e,t)}return this}}),n.extend(n.Element,{transform:function(e,t){var i;return"object"!==o(e)?(i=new n.Matrix(this).extract(),"string"==typeof e?i[e]:i):(i=new n.Matrix(this),t=!!t||!!e.relative,null!=e.a&&(i=t?i.multiply(new n.Matrix(e)):new n.Matrix(e)),this.attr("transform",i))}}),n.extend(n.Element,{untransform:function(){return this.attr("transform",null)},matrixify:function(){return(this.attr("transform")||"").split(n.regex.transforms).slice(0,-1).map((function(e){var t=e.trim().split("(");return[t[0],t[1].split(n.regex.delimiter).map((function(e){return parseFloat(e)}))]})).reduce((function(e,t){return"matrix"==t[0]?e.multiply(m(t[1])):e[t[0]].apply(e,t[1])}),new n.Matrix)},toParent:function(e){if(this==e)return this;var t=this.screenCTM(),n=e.screenCTM().inverse();return this.addTo(e).untransform().transform(n.multiply(t)),this},toDoc:function(){return this.toParent(this.doc())}}),n.Transformation=n.invent({create:function(e,t){if(arguments.length>1&&"boolean"!=typeof t)return this.constructor.call(this,[].slice.call(arguments));if(Array.isArray(e))for(var n=0,i=this.arguments.length;n<i;++n)this[this.arguments[n]]=e[n];else if(e&&"object"===o(e))for(n=0,i=this.arguments.length;n<i;++n)this[this.arguments[n]]=e[this.arguments[n]];this.inversed=!1,!0===t&&(this.inversed=!0)}}),n.Translate=n.invent({parent:n.Matrix,inherit:n.Transformation,create:function(e,t){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["transformedX","transformedY"],method:"translate"}}),n.extend(n.Element,{style:function(e,t){if(0==arguments.length)return this.node.style.cssText||"";if(arguments.length<2)if("object"===o(e))for(var i in e)this.style(i,e[i]);else{if(!n.regex.isCss.test(e))return this.node.style[u(e)];for(e=e.split(/\s*;\s*/).filter((function(e){return!!e})).map((function(e){return e.split(/\s*:\s*/)}));t=e.pop();)this.style(t[0],t[1])}else this.node.style[u(e)]=null===t||n.regex.isBlank.test(t)?"":t;return this}}),n.Parent=n.invent({create:function(e){this.constructor.call(this,e)},inherit:n.Element,extend:{children:function(){return n.utils.map(n.utils.filterSVGElements(this.node.childNodes),(function(e){return n.adopt(e)}))},add:function(e,t){return null==t?this.node.appendChild(e.node):e.node!=this.node.childNodes[t]&&this.node.insertBefore(e.node,this.node.childNodes[t]),this},put:function(e,t){return this.add(e,t),e},has:function(e){return this.index(e)>
130=0},index:function(e){return[].slice.call(this.node.childNodes).indexOf(e.node)},get:function(e){return n.adopt(this.node.childNodes[e])},first:function(){return this.get(0)},last:function(){return this.get(this.node.childNodes.length-1)},each:function(e,t){for(var i=this.children(),r=0,a=i.length;r<a;r++)i[r]instanceof n.Element&&e.apply(i[r],[r,i]),t&&i[r]instanceof n.Container&&i[r].each(e,t);return this},removeElement:function(e){return this.node.removeChild(e.node),this},clear:function(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return delete this._defs,this},defs:function(){return this.doc().defs()}}}),n.extend(n.Parent,{ungroup:function(e,t){return 0===t||this instanceof n.Defs||this.node==n.parser.draw||(e=e||(this instanceof n.Doc?this:this.parent(n.Parent)),t=t||1/0,this.each((function(){return this instanceof n.Defs?this:this instanceof n.Parent?this.ungroup(e,t-1):this.toParent(e)})),this.node.firstChild||this.remove()),this},flatten:function(e,t){return this.ungroup(e,t)}}),n.Container=n.invent({create:function(e){this.constructor.call(this,e)},inherit:n.Parent}),n.ViewBox=n.invent({parent:n.Container,construct:{}}),["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","touchstart","touchmove","touchleave","touchend","touchcancel"].forEach((function(e){n.Element.prototype[e]=function(t){return n.on(this.node,e,t),this}})),n.listeners=[],n.handlerMap=[],n.listenerId=0,n.on=function(e,t,i,r,a){var o=i.bind(r||e.instance||e),s=(n.handlerMap.indexOf(e)+1||n.handlerMap.push(e))-1,l=t.split(".")[0],c=t.split(".")[1]||"*";n.listeners[s]=n.listeners[s]||{},n.listeners[s][l]=n.listeners[s][l]||{},n.listeners[s][l][c]=n.listeners[s][l][c]||{},i._svgjsListenerId||(i._svgjsListenerId=++n.listenerId),n.listeners[s][l][c][i._svgjsListenerId]=o,e.addEventListener(l,o,a||{passive:!0})},n.off=function(e,t,i){var r=n.handlerMap.indexOf(e),a=t&&t.split(".")[0],o=t&&t.split(".")[1],s="";if(-1!=r)if(i){if("function"==typeof i&&(i=i._svgjsListenerId),!i)return;n.listeners[r][a]&&n.listeners[r][a][o||"*"]&&(e.removeEventListener(a,n.listeners[r][a][o||"*"][i],!1),delete n.listeners[r][a][o||"*"][i])}else if(o&&a){if(n.listeners[r][a]&&n.listeners[r][a][o]){for(var l in n.listeners[r][a][o])n.off(e,[a,o].join("."),l);delete n.listeners[r][a][o]}}else if(o)for(var c in n.listeners[r])for(var s in n.listeners[r][c])o===s&&n.off(e,[c,o].join("."));else if(a){if(n.listeners[r][a]){for(var s in n.listeners[r][a])n.off(e,[a,s].join("."));delete n.listeners[r][a]}}else{for(var c in n.listeners[r])n.off(e,c);delete n.listeners[r],delete n.handlerMap[r]}},n.extend(n.Element,{on:function(e,t,i,r){return n.on(this.node,e,t,i,r),this},off:function(e,t){return n.off(this.node,e,t),this},fire:function(t,i){return t instanceof e.Event?this.node.dispatchEvent(t):this.node.dispatchEvent(t=new n.CustomEvent(t,{detail:i,cancelable:!0})),this._event=t,this},event:function(){return this._event}}),n.Defs=n.invent({create:"defs",inherit:n.Container}),n.G=n.invent({create:"g",inherit:n.Container,extend:{x:function(e){return null==e?this.transform("x"):this.transform({x:e-this.x()},!0)}},construct:{group:function(){return this.put(new n.G)}}}),n.Doc=n.invent({create:function(e){e&&("svg"==(e="string"==typeof e?t.getElementById(e):e).nodeName?this.constructor.call(this,e):(this.constructor.call(this,n.create("svg")),e.appendChild(this.node),this.size("100%","100%")),this.namespace().defs())},inherit:n.Container,extend:{namespace:function(){return this.attr({xmlns:n.ns,version:"1.1"}).attr("xmlns:xlink",n.xlink,n.xmlns).attr("xmlns:svgjs",n.svgjs,n.xmlns)},defs:function(){var e;return this._defs||((e=this.node.getElementsByTagName("defs")[0])?this._defs=n.adopt(e):this._defs=new n.Defs,this.node.appendChild(this._defs.node)),this._defs},parent:function(){return this.node.parentNode&&"#document"!=this.node.parentNode.nodeName?this.node.parentNode:null},remove:function(){return this.parent()&&this.parent().removeChild(this.node),this},clear:function(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return delete this._defs,n.parser.draw&&!n.parser.draw.parentNode&&this.node.appendChild(n.parser.draw),this},clone:function(e){this.writeDataToDom();var t=this.node,n=g(t.cloneNode(!0));return e?(e.node||e).appendChild(n.node):t.parentNode.insertBefore(n.node,t.nextSibling),n}}}),n.extend(n.Element,{}),n.Gradient=n.invent({create:function(e){this.constructor.call(this,n.create(e+"Gradient")),this.type=e},inherit:n.Container,extend:{at:function(e,t,i){return this.put(new n.Stop).update(e,t,i)},update:function(e){return this.clear(),"function"==typeof e&&e.call(this,this),this}
vendor: 5,762 bytes, line 130
130,fill:function(){return"url(#"+this.id()+")"},toString:function(){return this.fill()},attr:function(e,t,i){return"transform"==e&&(e="gradientTransform"),n.Container.prototype.attr.call(this,e,t,i)}},construct:{gradient:function(e,t){return this.defs().gradient(e,t)}}}),n.extend(n.Gradient,n.FX,{from:function(e,t){return"radial"==(this._target||this).type?this.attr({fx:new n.Number(e),fy:new n.Number(t)}):this.attr({x1:new n.Number(e),y1:new n.Number(t)})},to:function(e,t){return"radial"==(this._target||this).type?this.attr({cx:new n.Number(e),cy:new n.Number(t)}):this.attr({x2:new n.Number(e),y2:new n.Number(t)})}}),n.extend(n.Defs,{gradient:function(e,t){return this.put(new n.Gradient(e)).update(t)}}),n.Stop=n.invent({create:"stop",inherit:n.Element,extend:{update:function(e){return("number"==typeof e||e instanceof n.Number)&&(e={offset:arguments[0],color:arguments[1],opacity:arguments[2]}),null!=e.opacity&&this.attr("stop-opacity",e.opacity),null!=e.color&&this.attr("stop-color",e.color),null!=e.offset&&this.attr("offset",new n.Number(e.offset)),this}}}),n.Pattern=n.invent({create:"pattern",inherit:n.Container,extend:{fill:function(){return"url(#"+this.id()+")"},update:function(e){return this.clear(),"function"==typeof e&&e.call(this,this),this},toString:function(){return this.fill()},attr:function(e,t,i){return"transform"==e&&(e="patternTransform"),n.Container.prototype.attr.call(this,e,t,i)}},construct:{pattern:function(e,t,n){return this.defs().pattern(e,t,n)}}}),n.extend(n.Defs,{pattern:function(e,t,i){return this.put(new n.Pattern).update(i).attr({x:0,y:0,width:e,height:t,patternUnits:"userSpaceOnUse"})}}),n.Shape=n.invent({create:function(e){this.constructor.call(this,e)},inherit:n.Element}),n.Symbol=n.invent({create:"symbol",inherit:n.Container,construct:{symbol:function(){return this.put(new n.Symbol)}}}),n.Use=n.invent({create:"use",inherit:n.Shape,extend:{element:function(e,t){return this.attr("href",(t||"")+"#"+e,n.xlink)}},construct:{use:function(e,t){return this.put(new n.Use).element(e,t)}}}),n.Rect=n.invent({create:"rect",inherit:n.Shape,construct:{rect:function(e,t){return this.put(new n.Rect).size(e,t)}}}),n.Circle=n.invent({create:"circle",inherit:n.Shape,construct:{circle:function(e){return this.put(new n.Circle).rx(new n.Number(e).divide(2)).move(0,0)}}}),n.extend(n.Circle,n.FX,{rx:function(e){return this.attr("r",e)},ry:function(e){return this.rx(e)}}),n.Ellipse=n.invent({create:"ellipse",inherit:n.Shape,construct:{ellipse:function(e,t){return this.put(new n.Ellipse).size(e,t).move(0,0)}}}),n.extend(n.Ellipse,n.Rect,n.FX,{rx:function(e){return this.attr("rx",e)},ry:function(e){return this.attr("ry",e)}}),n.extend(n.Circle,n.Ellipse,{x:function(e){return null==e?this.cx()-this.rx():this.cx(e+this.rx())},y:function(e){return null==e?this.cy()-this.ry():this.cy(e+this.ry())},cx:function(e){return null==e?this.attr("cx"):this.attr("cx",e)},cy:function(e){return null==e?this.attr("cy"):this.attr("cy",e)},width:function(e){return null==e?2*this.rx():this.rx(new n.Number(e).divide(2))},height:function(e){return null==e?2*this.ry():this.ry(new n.Number(e).divide(2))},size:function(e,t){var i=f(this,e,t);return this.rx(new n.Number(i.width).divide(2)).ry(new n.Number(i.height).divide(2))}}),n.Line=n.invent({create:"line",inherit:n.Shape,extend:{array:function(){return new n.PointArray([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])},plot:function(e,t,i,r){return null==e?this.array():(e=void 0!==t?{x1:e,y1:t,x2:i,y2:r}:new n.PointArray(e).toLine(),this.attr(e))},move:function(e,t){return this.attr(this.array().move(e,t).toLine())},size:function(e,t){var n=f(this,e,t);return this.attr(this.array().size(n.width,n.height).toLine())}},construct:{line:function(e,t,i,r){return n.Line.prototype.plot.apply(this.put(new n.Line),null!=e?[e,t,i,r]:[0,0,0,0])}}}),n.Polyline=n.invent({create:"polyline",inherit:n.Shape,construct:{polyline:function(e){return this.put(new n.Polyline).plot(e||new n.PointArray)}}}),n.Polygon=n.invent({create:"polygon",inherit:n.Shape,construct:{polygon:function(e){return this.put(new n.Polygon).plot(e||new n.PointArray)}}}),n.extend(n.Polyline,n.Polygon,{array:function(){return this._array||(this._array=new n.PointArray(this.attr("points")))},plot:function(e){return null==e?this.array():this.clear().attr("points","string"==typeof e?e:this._array=new n.PointArray(e))},clear:function(){return delete this._array,this},move:function(e,t){return this.attr("points",this.array().move(e,t))},size:function(e,t){var n=f(this,e,t);return this.attr("points",this.array().size(n.width,n.height))}}),n.extend(n.Line,n.Polyline,n.Polygon,{morphArray:n.PointArray,x:function(e){return null==e?this.bbox().x:this.move(e,this.bbox().y)},y:function(e){return null==e?this.bbox().y:this.move(this.bbox().x,e)},width:function(e){var t=this.bbox();return null==e?t.width:this.size(e,t.height)},height:function(e){var t=this.bbox();return null==e?t.height:this.size(t.width,e)}}),n.Path=n.invent({create:"path",inherit:n.Shape,extend:{morphArray:n.PathArray,array:function(){return this._array||(this._array=new n.PathArray(this.attr("d")))},plot:function(e){return null==e?this.array():this.clear().attr("d","string"==typeof e?e:this._array=new n.PathArray(e))},clear:function(){return delete this._array,this}},construct:{path:function(e){return this.put(new n.Path).plot(e||new n.PathArray)}}}),n.Image=n.invent({create:"image",inherit:n.Shape,extend:{load:function(t){if(!t)return this;var i=this,r=new e.Image;return n.on(r,"load",(function(){n.off(r);var e=i.parent(n.Pattern);null!==e&&(0==i.width()&&0==i.height()&&i.size(r.width,r.height),e&&0==e.width()&&0==e.height()&&e.size(i.width(),i.height()),"function"==typeof i._loaded&&i._loaded.
130call(i,{width:r.width,height:r.height,ratio:r.width/r.height,url:t}))})),n.on(r,"error",(function(e){n.off(r),"function"==typeof i._error&&i._error.call(i,e)})),this.attr("href",r.src=this.src=t,n.xlink)},loaded:function(e){return this._loaded=e,this},error:function(e){return this._error=e,this}},construct:{image:function(e,t,i){return this.put(new n.Image).load(e).size(t||0,i||t||0)}}}),n.Text=n.invent({create:function(){this.constructor.call(this,n.create("text")),this.dom.leading=new n.Number(1.3),this._rebuild=!0,this._build=!1,this.attr("font-family",n.defaults.attrs["font-family"])},inherit:n.Shape,extend:{x:function(e){return null==e?this.attr("x"):this.attr("x",e)},text:function(e){if(void 0===e){e="";for(var t=this.node.childNodes,i=0,r=t.length;i<r;++i)0!=i&&3!=t[i].nodeType&&1==n.adopt(t[i]).dom.newLined&&(e+="\n"),e+=t[i].textContent;return e}if(this.clear().build(!0),"function"==typeof e)e.call(this,this);else{i=0;for(var a=(e=e.split("\n")).length;i<a;i++)this.tspan(e[i]).newLine()}return this.build(!1).rebuild()},size:function(e){return this.attr("font-size",e).rebuild()},leading:function(e){return null==e?this.dom.leading:(this.dom.leading=new n.Number(e),this.rebuild())},lines:function(){var e=(this.textPath&&this.textPath()||this).node,t=n.utils.map(n.utils.filterSVGElements(e.childNodes),(function(e){return n.adopt(e)}));return new n.Set(t)},rebuild:function(e){if("boolean"==typeof e&&(this._rebuild=e),this._rebuild){var t=this,i=0,r=this.dom.leading*new n.Number(this.attr("font-size"));this.lines().each((function(){this.dom.newLined&&(t.textPath()||this.attr("x",t.attr("x")),"\n"==this.text()?i+=r:(this.attr("dy",r+i),i=0))})),this.fire("rebuild")}return this},build:function(e){return this._build=!!e,this},setData:function(e){return this.dom=e,this.dom.leading=new n.Number(e.leading||1.3),this}},construct:{text:function(e){return this.put(new n.Text).text(e)},plain:function(e){return this.put(new n.Text).plain(e)}}}),n.Tspan=n.invent({create:"tspan",inherit:n.Shape,extend:{text:function(e){return null==e?this.node.textContent+(this.dom.newLined?"\n":""):("function"==typeof e?e.call(this,this):this.plain(e),this)},dx:function(e){return this.attr("dx",e)},dy:function(e){return this.attr("dy",e)},newLine:function(){var e=this.parent(n.Text);return this.dom.newLined=!0,this.dy(e.dom.leading*e.attr("font-size")).attr("x",e.x())}}}),n.extend(n.Text,n.Tspan,{plain:function(e){return!1===this._build&&this.clear(),this.node.appendChild(t.createTextNode(e)),this},tspan:function(e){var t=(this.textPath&&this.textPath()||this).node,i=new n.Tspan;return!1===this._build&&this.clear(),t.appendChild(i.node),i.text(e)},clear:function(){for(var e=(this.textPath&&this.textPath()||this).node;e.hasChildNodes();)e.removeChild(e.lastChild);return this},length:function(){return this.node.getComputedTextLength()}}),n.TextPath=n.invent({create:"textPath",inherit:n.Parent,parent:n.Text,construct:{morphArray:n.PathArray,array:function(){var e=this.track();return e?e.array():null},plot:function(e){var t=this.track(),n=null;return t&&(n=t.plot(e)),null==e?n:this},track:function(){var e=this.textPath();if(e)return e.reference("href")},textPath:function(){if(this.node.firstChild&&"textPath"==this.node.firstChild.nodeName)return n.adopt(this.node.firstChild)}}}),n.Nested=n.invent({create:function(){this.constructor.call(this,n.create("svg")),this.style("overflow","visible")},inherit:n.Container,construct:{nested:function(){return this.put(new n.Nested)}}});var l={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(e,t){return"color"==t?e:e+"-"+t}};function c(e,t,i,r){return i+r.replace(n.regex.dots," .")}function u(e){return e.toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))}function d(e){return e.charAt(0).toUpperCase()+e.slice(1)}function h(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function f(e,t,n){if(null==t||null==n){var i=e.bbox();null==t?t=i.width/i.height*n:null==n&&(n=i.height/i.width*t)}return{width:t,height:n}}function p(e,t,n){return{x:t*e.a+n*e.c+0,y:t*e.b+n*e.d+0}}function m(e){return{a:e[0],b:e[1],c:e[2],d:e[3],e:e[4],f:e[5]}}function g(t){for(var i=t.childNodes.length-1;i>=0;i--)t.childNodes[i]instanceof e.SVGElement&&g(t.childNodes[i]);return n.adopt(t).id(n.eid(t.nodeName))}function v(e){return Math.abs(e)>1e-37?e:0}["fill","stroke"].forEach((function(e){var t={};t[e]=function(t){if(void 0===t)return this;if("string"==typeof t||n.Color.isRgb(t)||t&&"function"==typeof t.fill)this.attr(e,t);else for(var i=l[e].length-1;i>=0;i--)null!=t[l[e][i]]&&this.attr(l.prefix(e,l[e][i]),t[l[e][i]]);return this},n.extend(n.Element,n.FX,t)})),n.extend(n.Element,n.FX,{translate:function(e,t){return this.transform({x:e,y:t})},matrix:function(e){return this.attr("transform",new n.Matrix(6==arguments.length?[].slice.call(arguments):e))},opacity:function(e){return this.attr("opacity",e)},dx:function(e){return this.x(new n.Number(e).plus(this instanceof n.FX?0:this.x()),!0)},dy:function(e){return this.y(new n.Number(e).plus(this instanceof n.FX?0:this.y()),!0)}}),n.extend(n.Path,{length:function(){return this.node.getTotalLength()},pointAt:function(e){return this.node.getPointAtLength(e)}}),n.Set=n.invent({create:function(e){Array.isArray(e)?this.members=e:this.clear()},extend:{add:function(){for(var e=[].slice.call(arguments),t=0,n=e.length;t<n;t++)this.members.push(e[t]);return this},remove:function(e){var t=this.index(e);return t>-1&&this.members.splice(t,1),this},each:function(e){for(var t=0,n=this.members.length;t<n;t++)e.apply(this.members[t],[t,this.members]);return this},clear:function(){return this.members=[],this},length:function(){return this.members.length},has:function(e){return this.index(e)>
130=0},index:function(e){return this.members.indexOf(e)},get:function(e){return this.members[e]},first:function(){return this.get(0)},last:function(){return this.get(this.members.length-1)},valueOf:function(){return this.members}},construct:{set:function(e){return new n.Set(e)}}}),n.FX.Set=n.invent({create:function(e){this.set=e}}),n.Set.inherit=function(){var e=[];for(var t in n.Shape.prototype)"function"==typeof n.Shape.prototype[t]&&"function"!=typeof n.Set.prototype[t]&&e.push(t);for(var t in e.forEach((function(e){n.Set.prototype[e]=function(){for(var t=0,i=this.members.length;t<i;t++)this.members[t]&&"function"==typeof this.members[t][e]&&this.members[t][e].apply(this.members[t],arguments);return"animate"==e?this.fx||(this.fx=new n.FX.Set(this)):this}})),e=[],n.FX.prototype)"function"==typeof n.FX.prototype[t]&&"function"!=typeof n.FX.Set.prototype[t]&&e.push(t);e.forEach((function(e){n.FX.Set.prototype[e]=function(){for(var t=0,n=this.set.members.length;t<n;t++)this.set.members[t].fx[e].apply(this.set.members[t].fx,arguments);return this}}))},n.extend(n.Element,{}),n.extend(n.Element,{remember:function(e,t){if("object"===o(arguments[0]))for(var n in e)this.remember(n,e[n]);else{if(1==arguments.length)return this.memory()[e];this.memory()[e]=t}return this},forget:function(){if(0==arguments.length)this._memory={};else for(var e=arguments.length-1;e>=0;e--)delete this.memory()[arguments[e]];return this},memory:function(){return this._memory||(this._memory={})}}),n.get=function(e){var i=t.getElementById(function(e){var t=(e||"").toString().match(n.regex.reference);if(t)return t[1]}(e)||e);return n.adopt(i)},n.select=function(e,i){return new n.Set(n.utils.map((i||t).querySelectorAll(e),(function(e){return n.adopt(e)})))},n.extend(n.Parent,{select:function(e){return n.select(e,this.node)}});var b="abcdef".split("");
130if("function"!=typeof e.CustomEvent){var y=function(e,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var i=t.createEvent("CustomEvent");return i.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),i};y.prototype=e.Event.prototype,n.CustomEvent=y}else n.CustomEvent=e.CustomEvent;return n},void 0!==(i=function(){return Fe(Ne,Ne.document)}.call(t,n,t,e))&&(e.exports=i), 131/*! svg.filter.js - v2.0.2 - 2016-02-24 132 * https://github.com/wout/svg.filter.js 133 * Copyright (c) 2016 Wout Fierens; Licensed MIT */ 134function(){SVG.Filter=SVG.invent({create:"filter",inherit:SVG.Parent,extend:{source:"SourceGraphic",sourceAlpha:"SourceAlpha",background:"BackgroundImage",backgroundAlpha:"BackgroundAlpha",fill:"FillPaint",stroke:"StrokePaint",autoSetIn:!0,put:function(e,t){return this.add(e,t),!e.attr("in")&&this.autoSetIn&&e.attr("in",this.source),e.attr("result")||e.attr("result",e),e},blend:function(e,t,n){return this.put(new SVG.BlendEffect(e,t,n))},colorMatrix:function(e,t){return this.put(new SVG.ColorMatrixEffect(e,t))},convolveMatrix:function(e){return this.put(new SVG.ConvolveMatrixEffect(e))},componentTransfer:function(e){return this.put(new SVG.ComponentTransferEffect(e))},composite:function(e,t,n){return this.put(new SVG.CompositeEffect(e,t,n))},flood:function(e,t){return this.put(new SVG.FloodEffect(e,t))},offset:function(e,t){return this.put(new SVG.OffsetEffect(e,t))},image:function(e){return this.put(new SVG.ImageEffect(e))},merge:function(){var e=[void 0];for(var t in arguments)e.push(arguments[t]);return this.put(new(SVG.MergeEffect.bind.apply(SVG.MergeEffect,e)))},gaussianBlur:function(e,t){return this.put(new SVG.GaussianBlurEffect(e,t))},morphology:function(e,t){return this.put(new SVG.MorphologyEffect(e,t))},diffuseLighting:function(e,t,n){return this.put(new SVG.DiffuseLightingEffect(e,t,n))},displacementMap:function(e,t,n,i,r){return this.put(new SVG.DisplacementMapEffect(e,t,n,i,r))},specularLighting:function(e,t,n,i){return this.put(new SVG.SpecularLightingEffect(e,t,n,i))},tile:function(){return this.put(new SVG.TileEffect)},turbulence:function(e,t,n,i,r){return this.put(new SVG.TurbulenceEffect(e,t,n,i,r))},toString:function(){return"url(#"+this.attr("id")+")"}}}),SVG.extend(SVG.Defs,{filter:function(e){var t=this.put(new SVG.Filter);return"function"==typeof e&&e.call(t,t),t}}),SVG.extend(SVG.Container,{filter:function(e){return this.defs().filter(e)}}),SVG.extend(SVG.Element,SVG.G,SVG.Nested,{filter:function(e){return this.filterer=e instanceof SVG.Element?e:this.doc().filter(e),this.doc()&&this.filterer.doc()!==this.doc()&&this.doc().defs().add(this.filterer),this.attr("filter",this.filterer),this.filterer},unfilter:function(e){return this.filterer&&!0===e&&this.filterer.remove(),delete this.filterer,this.attr("filter",null)}}),SVG.Effect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(e){return null==e?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",e)},result:function(e){return null==e?this.attr("result"):this.attr("result",e)},toString:function(){return this.result()}}}),SVG.ParentEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Parent,extend:{in:function(e){return null==e?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",e)},result:function(e){return null==e?this.attr("result"):this.attr("result",e)},toString:function(){return this.result()}}});var e={blend:function(e,t){return this.parent()&&this.parent().blend(this,e,t)},colorMatrix:function(e,t){return this.parent()&&this.parent().colorMatrix(e,t).in(this)},convolveMatrix:function(e){return this.parent()&&this.parent().convolveMatrix(e).in(this)},componentTransfer:function(e){return this.parent()&&this.parent().componentTransfer(e).in(this)},composite:function(e,t){return this.parent()&&this.parent().composite(this,e,t)},flood:function(e,t){return this.parent()&&this.parent().flood(e,t)},offset:function(e,t){return this.parent()&&this.parent().offset(e,t).in(this)},image:function(e){return this.parent()&&this.parent().image(e)},merge:function(){return this.parent()&&this.parent().merge.apply(this.parent(),[this].concat(arguments))},gaussianBlur:function(e,t){return this.parent()&&this.parent().gaussianBlur(e,t).in(this)},morphology:function(e,t){return this.parent()&&this.parent().morphology(e,t).in(this)},diffuseLighting:function(e,t,n){return this.parent()&&this.parent().diffuseLighting(e,t,n).in(this)},displacementMap:function(e,t,n,i){return this.parent()&&this.parent().displacementMap(this,e,t,n,i)},specularLighting:function(e,t,n,i){return this.parent()&&this.parent().specularLighting(e,t,n,i).in(this)},tile:function(){return this.parent()&&this.parent().tile().in(this)},turbulence:function(e,t,n,i,r){return this.parent()&&this.parent().turbulence(e,t,n,i,r).in(this)}};SVG.extend(SVG.Effect,e),SVG.extend(SVG.ParentEffect,e),SVG.ChildEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(e){this.attr("in",e)}}});var t={blend:function(e,t,n){this.attr({in:e,in2:t,mode:n||"normal"})},colorMatrix:function(e,t){"matrix"==e&&(t=r(t)),this.attr({type:e,values:void 0===t?null:t})},convolveMatrix:function(e){e=r(e),this.attr({order:Math.sqrt(e.split(" ").length),kernelMatrix:e})},composite:function(e,t,n){this.attr({in:e,in2:t,operator:n})},flood:function(e,t){this.attr("flood-color",e),null!=t&&this.attr("flood-opacity",t)},offset:function(e,t){this.attr({dx:e,dy:t})},image:function(e){this.attr("href",e,SVG.xlink)},displacementMap:function(e,t,n,i,r){this.attr({in:e,in2:t,scale:n,xChannelSelector:i,yChannelSelector:r})},gaussianBlur:function(e,t){null!=e||null!=t?this.attr("stdDeviation",function(e){if(!Array.isArray(e))return e;for(var t=0,n=e.length,i=[];t<n;t++)i.push(e[t]);return i.join(" ")}(Array.prototype.slice.call(arguments))):this.attr("stdDeviation","0 0")},morphology:function(e,t){this.attr({operator:e,radius:t})},tile:function(){},turbulence:function(e,t,n,i,r){this.attr({numOctaves:t,seed:n,stitchTiles:i,baseFrequency:e,type:r})}},n={merge:function(){var e;if(arguments[0]instanceof SVG.Set){var t=this;arguments[0].each((function(e){this instanceof SVG.MergeNode?t.put(this):(this instanceof SVG.Effect||this instanceof SVG.ParentEffect)&&t.put(new SVG.MergeNode(this))}))}else{e=Array.isArray(arguments[0])?arguments[0]:arguments;for(var n=0;n<e.length;n++)e[n]instanceof SVG.MergeNode?this.put(e[n]):this.put(new SVG.MergeNode(e[n]))}},componentTransfer:function(e){if(this.rgb=new SVG.Set,["r","g","b","a"].forEach(function(e){this[e]=new(SVG["Func"+e.toUpperCase()])("identity"),this.rgb.add(this[e]),this.node.appendChild(this[e].node)}.bind(this)),e)for(var t in e.rgb&&(["r","g","b"].forEach(function(t){this[t].attr(e.rgb)}.bind(this)),delete e.rgb),e)this[t].attr(e[t])},diffuseLighting:function(e,t,n){this.attr({surfaceScale:e,diffuseConstant:t,kernelUnitLength:n})},specularLighting:function(e,t,n,i){this.attr({surfaceScale:e,diffuseConstant:t,specularExponent:n,kernelUnitLength:i})}},i={distantLight:function(e,t){this.attr({azimuth:e,elevation:t})},pointLight:function(e,t,n){this.attr({x:e,y:t,z:n})},spotLight:function(e,t,n,i,r,a){this.attr({x:e,y:t,z:n,pointsAtX:i,pointsAtY:r,pointsAtZ:a})},mergeNode:function(e){this.attr("in",e)}};function r(e){return Array.isArray(e)&&(e=new SVG.Array(e)),e.toString().replace(/^\s+/,"").replace(/\s+$/,"").replace(/\s+/g," ")}function a(){var e=function(){};for(var t in"function"==typeof arguments[arguments.length-1]&&(e=arguments[arguments.length-1],Array.prototype.splice.call(arguments,arguments.length-1,1)),arguments)for(var n in arguments[t])e(arguments[t][n],n,arguments[t])}
134["r","g","b","a"].forEach((function(e){i["Func"+e.toUpperCase()]=function(e){switch(this.attr("type",e),e){case"table":this.attr("tableValues",arguments[1]);break;case"linear":this.attr("slope",arguments[1]),this.attr("intercept",arguments[2]);break;case"gamma":this.attr("amplitude",arguments[1]),this.attr("exponent",arguments[2]),this.attr("offset",arguments[2])}}})),a(t,(function(e,t){var n=t.charAt(0).toUpperCase()+t.slice(1);SVG[n+"Effect"]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+n)),e.apply(this,arguments),this.result(this.attr("id")+"Out")},inherit:SVG.Effect,extend:{}})})),a(n,(function(e,t){var n=t.charAt(0).toUpperCase()+t.slice(1);SVG[n+"Effect"]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+n)),e.apply(this,arguments),this.result(this.attr("id")+"Out")},inherit:SVG.ParentEffect,extend:{}})})),a(i,(function(e,t){var n=t.charAt(0).toUpperCase()+t.slice(1);SVG[n]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+n)),e.apply(this,arguments)},inherit:SVG.ChildEffect,extend:{}})})),SVG.extend(SVG.MergeEffect,{in:function(e){return e instanceof SVG.MergeNode?this.add(e,0):this.add(new SVG.MergeNode(e),0),this}}),SVG.extend(SVG.CompositeEffect,SVG.BlendEffect,SVG.DisplacementMapEffect,{in2:function(e){return null==e?this.parent()&&this.parent().select('[result="'+this.attr("in2")+'"]').get(0)||this.attr("in2"):this.attr("in2",e)}}),SVG.filter={sepiatone:[.343,.669,.119,0,0,.249,.626,.13,0,0,.172,.334,.111,0,0,0,0,0,1,0]}}.call(void 0),function(){function e(e,r,a,o,s,l,c){for(var u=e.slice(r,a||c),d=o.slice(s,l||c),h=0,f={pos:[0,0],start:[0,0]},p={pos:[0,0],start:[0,0]};u[h]=t.call(f,u[h]),d[h]=t.call(p,d[h]),u[h][0]!=d[h][0]||"M"==u[h][0]||"A"==u[h][0]&&(u[h][4]!=d[h][4]||u[h][5]!=d[h][5])?(Array.prototype.splice.apply(u,[h,1].concat(i.call(f,u[h]))),Array.prototype.splice.apply(d,[h,1].concat(i.call(p,d[h])))):(u[h]=n.call(f,u[h]),d[h]=n.call(p,d[h])),++h!=u.length||h!=d.length;)h==u.length&&u.push(["C",f.pos[0],f.pos[1],f.pos[0],f.pos[1],f.pos[0],f.pos[1]]),h==d.length&&d.push(["C",p.pos[0],p.pos[1],p.pos[0],p.pos[1],p.pos[0],p.pos[1]]);return{start:u,dest:d}}function t(e){switch(e[0]){case"z":case"Z":e[0]="L",e[1]=this.start[0],e[2]=this.start[1];break;case"H":e[0]="L",e[2]=this.pos[1];break;case"V":e[0]="L",e[2]=e[1],e[1]=this.pos[0];break;case"T":e[0]="Q",e[3]=e[1],e[4]=e[2],e[1]=this.reflection[1],e[2]=this.reflection[0];break;case"S":e[0]="C",e[6]=e[4],e[5]=e[3],e[4]=e[2],e[3]=e[1],e[2]=this.reflection[1],e[1]=this.reflection[0]}return e}function n(e){var t=e.length;return this.pos=[e[t-2],e[t-1]],-1!="SCQT".indexOf(e[0])&&(this.reflection=[2*this.pos[0]-e[t-4],2*this.pos[1]-e[t-3]]),e}function i(e){var t=[e];switch(e[0]){case"M":return this.pos=this.start=[e[1],e[2]],t;case"L":e[5]=e[3]=e[1],e[6]=e[4]=e[2],e[1]=this.pos[0],e[2]=this.pos[1];break;case"Q":e[6]=e[4],e[5]=e[3],e[4]=1*e[4]/3+2*e[2]/3,e[3]=1*e[3]/3+2*e[1]/3,e[2]=1*this.pos[1]/3+2*e[2]/3,e[1]=1*this.pos[0]/3+2*e[1]/3;break;case"A":e=(t=function(e,t){var n,i,r,a,o,s,l,c,u,d,h,f,p,m,g,v,b,y,_,x,w,k,S,M,L,A,O=Math.abs(t[1]),C=Math.abs(t[2]),T=t[3]%360,E=t[4],D=t[5],P=t[6],j=t[7],Y=new SVG.Point(e),I=new SVG.Point(P,j),R=[];if(0===O||0===C||Y.x===I.x&&Y.y===I.y)return[["C",Y.x,Y.y,I.x,I.y,I.x,I.y]];for((i=(n=new SVG.Point((Y.x-I.x)/2,(Y.y-I.y)/2).transform((new SVG.Matrix).rotate(T))).x*n.x/(O*O)+n.y*n.y/(C*C))>1&&(O*=i=Math.sqrt(i),C*=i),r=(new SVG.Matrix).rotate(T).scale(1/O,1/C).rotate(-T),Y=Y.transform(r),s=(a=[(I=I.transform(r)).x-Y.x,I.y-Y.y])[0]*a[0]+a[1]*a[1],o=Math.sqrt(s),a[0]/=o,a[1]/=o,l=s<4?Math.sqrt(1-s/4):0,E===D&&(l*=-1),c=new SVG.Point((I.x+Y.x)/2+l*-a[1],(I.y+Y.y)/2+l*a[0]),u=new SVG.Point(Y.x-c.x,Y.y-c.y),d=new SVG.Point(I.x-c.x,I.y-c.y),h=Math.acos(u.x/Math.sqrt(u.x*u.x+u.y*u.y)),u.y<0&&(h*=-1),f=Math.acos(d.x/Math.sqrt(d.x*d.x+d.y*d.y)),d.y<0&&(f*=-1),D&&h>f&&(f+=2*Math.PI),!D&&h<f&&(f-=2*Math.PI),v=[],b=h,p=(f-h)/(m=Math.ceil(2*Math.abs(h-f)/Math.PI)),g=4*Math.tan(p/4)/3,w=0;w<=m;w++)_=Math.cos(b),y=Math.sin(b),x=new SVG.Point(c.x+_,c.y+y),v[w]=[new SVG.Point(x.x+g*y,x.y-g*_),x,new SVG.Point(x.x-g*y,x.y+g*_)],b+=p;for(v[0][0]=v[0][1].clone(),v[v.length-1][2]=v[v.length-1][1].clone(),r=(new SVG.Matrix).rotate(T).scale(O,C).rotate(-T),w=0,k=v.length;w<k;w++)v[w][0]=v[w][0].transform(r),v[w][1]=v[w][1].transform(r),v[w][2]=v[w][2].transform(r);for(w=1,k=v.length;w<k;w++)S=(x=v[w-1][2]).x,M=x.y,L=(x=v[w][0]).x,A=x.y,P=(x=v[w][1]).x,j=x.y,R.push(["C",S,M,L,A,P,j]);return R}(this.pos,e))[0]}return e[0]="C",this.pos=[e[5],e[6]],this.reflection=[2*e[5]-e[3],2*e[6]-e[4]],t}function r(e,t){if(!1===t)return!1;for(var n=t,i=e.length;n<i;++n)if("M"==e[n][0])return n;return!1}SVG.extend(SVG.PathArray,{morph:function(t){for(var n=this.value,i=this.parse(t),a=0,o=0,s=!1,l=!1;!1!==a||!1!==o;){var c;s=r(n,!1!==a&&a+1),l=r(i,!1!==o&&o+1),!1===a&&(a=0==(c=new SVG.PathArray(u.start).bbox()).height||0==c.width?n.push(n[0])-1:n.push(["M",c.x+c.width/2,c.y+c.height/2])-1),!1===o&&(o=0==(c=new SVG.PathArray(u.dest).bbox()).height||0==c.width?i.push(i[0])-1:i.push(["M",c.x+c.width/2,c.y+c.height/2])-1);var u=e(n,a,s,i,o,l);n=n.slice(0,a).concat(u.start,!1===s?[]:n.slice(s)),i=i.slice(0,o).c
134oncat(u.dest,!1===l?[]:i.slice(l)),a=!1!==s&&a+u.start.length,o=!1!==l&&o+u.dest.length}return this.value=n,this.destination=new SVG.PathArray,this.destination.value=i,this}})}(), 135/*! svg.draggable.js - v2.2.2 - 2019-01-08 136 * https://github.com/svgdotjs/svg.draggable.js 137 * Copyright (c) 2019 Wout Fierens; Licensed MIT */ 138function(){function e(e){e.remember("_draggable",this),this.el=e}e.prototype.init=function(e,t){var n=this;this.constraint=e,this.value=t,this.el.on("mousedown.drag",(function(e){n.start(e)})),this.el.on("touchstart.drag",(function(e){n.start(e)}))},e.prototype.transformPoint=function(e,t){var n=(e=e||window.event).changedTouches&&e.changedTouches[0]||e;return this.p.x=n.clientX-(t||0),this.p.y=n.clientY,this.p.matrixTransform(this.m)},e.prototype.getBBox=function(){var e=this.el.bbox();return this.el instanceof SVG.Nested&&(e=this.el.rbox()),(this.el instanceof SVG.G||this.el instanceof SVG.Use||this.el instanceof SVG.Nested)&&(e.x=this.el.x(),e.y=this.el.y()),e},e.prototype.start=function(e){if("click"!=e.type&&"mousedown"!=e.type&&"mousemove"!=e.type||1==(e.which||e.buttons)){var t=this;if(this.el.fire("beforedrag",{event:e,handler:this}),!this.el.event().defaultPrevented){e.preventDefault(),e.stopPropagation(),this.parent=this.parent||this.el.parent(SVG.Nested)||this.el.parent(SVG.Doc),this.p=this.parent.node.createSVGPoint(),this.m=this.el.node.getScreenCTM().inverse();var n,i=this.getBBox();if(this.el instanceof SVG.Text)switch(n=this.el.node.getComputedTextLength(),this.el.attr("text-anchor")){case"middle":n/=2;break;case"start":n=0}this.startPoints={point:this.transformPoint(e,n),box:i,transform:this.el.transform()},SVG.on(window,"mousemove.drag",(function(e){t.drag(e)})),SVG.on(window,"touchmove.drag",(function(e){t.drag(e)})),SVG.on(window,"mouseup.drag",(function(e){t.end(e)})),SVG.on(window,"touchend.drag",(function(e){t.end(e)})),this.el.fire("dragstart",{event:e,p:this.startPoints.point,m:this.m,handler:this})}}},e.prototype.drag=function(e){var t=this.getBBox(),n=this.transformPoint(e),i=this.startPoints.box.x+n.x-this.startPoints.point.x,r=this.startPoints.box.y+n.y-this.startPoints.point.y,a=this.constraint,o=n.x-this.startPoints.point.x,s=n.y-this.startPoints.point.y;if(this.el.fire("dragmove",{event:e,p:n,m:this.m,handler:this}),this.el.event().defaultPrevented)return n;if("function"==typeof a){var l=a.call(this.el,i,r,this.m);"boolean"==typeof l&&(l={x:l,y:l}),!0===l.x?this.el.x(i):!1!==l.x&&this.el.x(l.x),!0===l.y?this.el.y(r):!1!==l.y&&this.el.y(l.y)}else"object"==typeof a&&(null!=a.minX&&i<a.minX?o=(i=a.minX)-this.startPoints.box.x:null!=a.maxX&&i>a.maxX-t.width&&(o=(i=a.maxX-t.width)-this.startPoints.box.x),null!=a.minY&&r<a.minY?s=(r=a.minY)-this.startPoints.box.y:null!=a.maxY&&r>a.maxY-t.height&&(s=(r=a.maxY-t.height)-this.startPoints.box.y),null!=a.snapToGrid&&(i-=i%a.snapToGrid,r-=r%a.snapToGrid,o-=o%a.snapToGrid,s-=s%a.snapToGrid),this.el instanceof SVG.G?this.el.matrix(this.startPoints.transform).transform({x:o,y:s},!0):this.el.move(i,r));return n},e.prototype.end=function(e){var t=this.drag(e);this.el.fire("dragend",{event:e,p:t,m:this.m,handler:this}),SVG.off(window,"mousemove.drag"),SVG.off(window,"touchmove.drag"),SVG.off(window,"mouseup.drag"),SVG.off(window,"touchend.drag")},SVG.extend(SVG.Element,{draggable:function(t,n){"function"!=typeof t&&"object"!=typeof t||(n=t,t=!0);var i=this.remember("_draggable")||new e(this);return(t=void 0===t||t)?i.init(n||{},t):(this.off("mousedown.drag"),this.off("touchstart.drag")),this}})}.call(void 0),function(){function e(e){this.el=e,e.remember("_selectHandler",this),this.pointSelection={isSelected:!1},this.rectSelection={isSelected:!1},this.pointsList={lt:[0,0],rt:["width",0],rb:["width","height"],lb:[0,"height"],t:["width",0],r:["width","height"],b:["width","height"],l:[0,"height"]},this.pointCoord=function(e,t,n){var i="string"!=typeof e?e:t[e];return n?i/2:i},this.pointCoords=function(e,t){var n=this.pointsList[e];return{x:this.pointCoord(n[0],t,"t"===e||"b"===e),y:this.pointCoord(n[1],t,"r"===e||"l"===e)}}}e.prototype.init=function(e,t){var n=this.el.bbox();this.options={};var i=this.el.selectize.defaults.points;for(var r in this.el.selectize.defaults)this.options[r]=this.el.selectize.defaults[r],void 0!==t[r]&&(this.options[r]=t[r]);var a=["points","pointsExclude"];for(var r in a){var o=this.options[a[r]];"string"==typeof o?o=o.length>0?o.split(/\s*,\s*/i):[]:"boolean"==typeof o&&"points"===a[r]&&(o=o?i:[]),this.options[a[r]]=o}this.options.points=[i,this.options.points].reduce((function(e,t){return e.filter((function(e){return t.indexOf(e)>-1}))}
138)),this.options.points=[this.options.points,this.options.pointsExclude].reduce((function(e,t){return e.filter((function(e){return t.indexOf(e)<0}))})),this.parent=this.el.parent(),this.nested=this.nested||this.parent.group(),this.nested.matrix(new SVG.Matrix(this.el).translate(n.x,n.y)),this.options.deepSelect&&-1!==["line","polyline","polygon"].indexOf(this.el.type)?this.selectPoints(e):this.selectRect(e),this.observe(),this.cleanup()},e.prototype.selectPoints=function(e){return this.pointSelection.isSelected=e,this.pointSelection.set||(this.pointSelection.set=this.parent.set(),this.drawPoints()),this},e.prototype.getPointArray=function(){var e=this.el.bbox();return this.el.array().valueOf().map((function(t){return[t[0]-e.x,t[1]-e.y]}))},e.prototype.drawPoints=function(){for(var e=this,t=this.getPointArray(),n=0,i=t.length;n<i;++n){var r=function(t){return function(n){(n=n||window.event).preventDefault?n.preventDefault():n.returnValue=!1,n.stopPropagation();var i=n.pageX||n.touches[0].pageX,r=n.pageY||n.touches[0].pageY;e.el.fire("point",{x:i,y:r,i:t,event:n})}}(n),a=this.drawPoint(t[n][0],t[n][1]).addClass(this.options.classPoints).addClass(this.options.classPoints+"_point").on("touchstart",r).on("mousedown",r);this.pointSelection.set.add(a)}},e.prototype.drawPoint=function(e,t){var n=this.options.pointType;switch(n){case"circle":return this.drawCircle(e,t);case"rect":return this.drawRect(e,t);default:if("function"==typeof n)return n.call(this,e,t);throw new Error("Unknown "+n+" point type!")}},e.prototype.drawCircle=function(e,t){return this.nested.circle(this.options.pointSize).center(e,t)},e.prototype.drawRect=function(e,t){return this.nested.rect(this.options.pointSize,this.options.pointSize).center(e,t)},e.prototype.updatePointSelection=function(){var e=this.getPointArray();this.pointSelection.set.each((function(t){this.cx()===e[t][0]&&this.cy()===e[t][1]||this.center(e[t][0],e[t][1])}))},e.prototype.updateRectSelection=function(){var e=this,t=this.el.bbox();if(this.rectSelection.set.get(0).attr({width:t.width,height:t.height}),this.options.points.length&&this.options.points.map((function(n,i){var r=e.pointCoords(n,t);e.rectSelection.set.get(i+1).center(r.x,r.y)})),this.options.rotationPoint){var n=this.rectSelection.set.length();this.rectSelection.set.get(n-1).center(t.width/2,20)}},e.prototype.selectRect=function(e){var t=this,n=this.el.bbox();function i(e){return function(n){(n=n||window.event).preventDefault?n.preventDefault():n.returnValue=!1,n.stopPropagation();var i=n.pageX||n.touches[0].pageX,r=n.pageY||n.touches[0].pageY;t.el.fire(e,{x:i,y:r,event:n})}}if(this.rectSelection.isSelected=e,this.rectSelection.set=this.rectSelection.set||this.parent.set(),this.rectSelection.set.get(0)||this.rectSelection.set.add(this.nested.rect(n.width,n.height).addClass(this.options.classRect)),this.options.points.length&&this.rectSelection.set.length()<2&&(this.options.points.map((function(e,r){var a=t.pointCoords(e,n),o=t.drawPoint(a.x,a.y).attr("class",t.options.classPoints+"_"+e).on("mousedown",i(e)).on("touchstart",i(e));t.rectSelection.set.add(o)})),this.rectSelection.set.each((function(){this.addClass(t.options.classPoints)}))),this.options.rotationPoint&&(this.options.points&&!this.rectSelection.set.get(9)||!this.options.points&&!this.rectSelection.set.get(1))){var r=function(e){(e=e||window.event).preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation();var n=e.pageX||e.touches[0].pageX,i=e.pageY||e.touches[0].pageY;t.el.fire("rot",{x:n,y:i,event:e})},a=this.drawPoint(n.width/2,20).attr("class",this.options.classPoints+"_rot").on("touchstart",r).on("mousedown",r);this.rectSelection.set.add(a)}},e.prototype.handler=function(){var e=this.el.bbox();this.nested.matrix(new SVG.Matrix(this.el).translate(e.x,e.y)),this.rectSelection.isSelected&&this.updateRectSelection(),this.pointSelection.isSelected&&this.updatePointSelection()},e.prototype.observe=function(){var e=this;if(MutationObserver)if(this.rectSelection.isSelected||this.pointSelection.isSelected)this.observerInst=this.observerInst||new MutationObserver((function(){e.handler()})),this.observerInst.observe(this.el.node,{attributes:!0});else try{this.observerInst.disconnect(),delete this.observerInst}catch(e){}else this.el.off("DOMAttrModified.select"),(this.rectSelection.isSelected||this.pointSelection.isSelected)&&this.el.on("DOMAttrModified.select",(function(){e.handler()}))},e.prototype.cleanup=function(){!this.rectSelection.isSelected&&this.rectSelection.set&&(this.rectSelection.set.each((function(){this.remove()})),this.rectSelection.set.clear(),delete this.rectSelection.set),
138!this.pointSelection.isSelected&&this.pointSelection.set&&(this.pointSelection.set.each((function(){this.remove()})),this.pointSelection.set.clear(),delete this.pointSelection.set),this.pointSelection.isSelected||this.rectSelection.isSelected||(this.nested.remove(),delete this.nested)},SVG.extend(SVG.Element,{selectize:function(t,n){return"object"==typeof t&&(n=t,t=!0),(this.remember("_selectHandler")||new e(this)).init(void 0===t||t,n||{}),this}}),SVG.Element.prototype.selectize.defaults={points:["lt","rt","rb","lb","t","r","b","l"],pointsExclude:[],classRect:"svg_select_boundingRect",classPoints:"svg_select_points",pointSize:7,rotationPoint:!0,deepSelect:!1,pointType:"circle"}}(),function(){(function(){function e(e){e.remember("_resizeHandler",this),this.el=e,this.parameters={},this.lastUpdateCall=null,this.p=e.doc().node.createSVGPoint()}e.prototype.transformPoint=function(e,t,n){return this.p.x=e-(this.offset.x-window.pageXOffset),this.p.y=t-(this.offset.y-window.pageYOffset),this.p.matrixTransform(n||this.m)},e.prototype._extractPosition=function(e){return{x:null!=e.clientX?e.clientX:e.touches[0].clientX,y:null!=e.clientY?e.clientY:e.touches[0].clientY}},e.prototype.init=function(e){var t=this;if(this.stop(),"stop"!==e){for(var n in this.options={},this.el.resize.defaults)this.options[n]=this.el.resize.defaults[n],void 0!==e[n]&&(this.options[n]=e[n]);this.el.on("lt.resize",(function(e){t.resize(e||window.event)})),this.el.on("rt.resize",(function(e){t.resize(e||window.event)})),this.el.on("rb.resize",(function(e){t.resize(e||window.event)})),this.el.on("lb.resize",(function(e){t.resize(e||window.event)})),this.el.on("t.resize",(function(e){t.resize(e||window.event)})),this.el.on("r.resize",(function(e){t.resize(e||window.event)})),this.el.on("b.resize",(function(e){t.resize(e||window.event)})),this.el.on("l.resize",(function(e){t.resize(e||window.event)})),this.el.on("rot.resize",(function(e){t.resize(e||window.event)})),this.el.on("point.resize",(function(e){t.resize(e||window.event)})),this.update()}},e.prototype.stop=function(){return this.el.off("lt.resize"),this.el.off("rt.resize"),this.el.off("rb.resize"),this.el.off("lb.resize"),this.el.off("t.resize"),this.el.off("r.resize"),this.el.off("b.resize"),this.el.off("l.resize"),this.el.off("rot.resize"),this.el.off("point.resize"),this},e.prototype.resize=function(e){var t=this;this.m=this.el.node.getScreenCTM().inverse(),this.offset={x:window.pageXOffset,y:window.pageYOffset};var n=this._extractPosition(e.detail.event);if(this.parameters={type:this.el.type,p:this.transformPoint(n.x,n.y),x:e.detail.x,y:e.detail.y,box:this.el.bbox(),rotation:this.el.transform().rotation},"text"===this.el.type&&(this.parameters.fontSize=this.el.attr()["font-size"]),void 0!==e.detail.i){var i=this.el.array().valueOf();this.parameters.i=e.detail.i,this.parameters.pointCoords=[i[e.detail.i][0],i[e.detail.i][1]]}switch(e.type){case"lt":this.calc=function(e,t){var n=this.snapToGrid(e,t);if(this.parameters.box.width-n[0]>0&&this.parameters.box.height-n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x+n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-n[0]);n=this.checkAspectRatio(n),this.el.move(this.parameters.box.x+n[0],this.parameters.box.y+n[1]).size(this.parameters.box.width-n[0],this.parameters.box.height-n[1])}};break;case"rt":this.calc=function(e,t){var n=this.snapToGrid(e,t,2);if(this.parameters.box.width+n[0]>0&&this.parameters.box.height-n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x-n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+n[0]);n=this.checkAspectRatio(n,!0),this.el.move(this.parameters.box.x,this.parameters.box.y+n[1]).size(this.parameters.box.width+n[0],this.parameters.box.height-n[1])}};break;case"rb":this.calc=function(e,t){var n=this.snapToGrid(e,t,0);if(this.parameters.box.width+n[0]>0&&this.parameters.box.height+n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x-n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+n[0]);n=this.checkAspectRatio(n),this.el.move(this.parameters.box.x,this.parameters.box.y).size(this.parameters.box.width+n[0],this.parameters.box.height+n[1])}};break;
138case"lb":this.calc=function(e,t){var n=this.snapToGrid(e,t,1);if(this.parameters.box.width-n[0]>0&&this.parameters.box.height+n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x+n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-n[0]);n=this.checkAspectRatio(n,!0),this.el.move(this.parameters.box.x+n[0],this.parameters.box.y).size(this.parameters.box.width-n[0],this.parameters.box.height+n[1])}};break;case"t":this.calc=function(e,t){var n=this.snapToGrid(e,t,2);if(this.parameters.box.height-n[1]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y+n[1]).height(this.parameters.box.height-n[1])}};break;case"r":this.calc=function(e,t){var n=this.snapToGrid(e,t,0);if(this.parameters.box.width+n[0]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y).width(this.parameters.box.width+n[0])}};break;case"b":this.calc=function(e,t){var n=this.snapToGrid(e,t,0);if(this.parameters.box.height+n[1]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y).height(this.parameters.box.height+n[1])}};break;case"l":this.calc=function(e,t){var n=this.snapToGrid(e,t,1);if(this.parameters.box.width-n[0]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x+n[0],this.parameters.box.y).width(this.parameters.box.width-n[0])}};break;case"rot":this.calc=function(e,t){var n=e+this.parameters.p.x,i=t+this.parameters.p.y,r=Math.atan2(this.parameters.p.y-this.parameters.box.y-this.parameters.box.height/2,this.parameters.p.x-this.parameters.box.x-this.parameters.box.width/2),a=Math.atan2(i-this.parameters.box.y-this.parameters.box.height/2,n-this.parameters.box.x-this.parameters.box.width/2),o=this.parameters.rotation+180*(a-r)/Math.PI+this.options.snapToAngle/2;this.el.center(this.parameters.box.cx,this.parameters.box.cy).rotate(o-o%this.options.snapToAngle,this.parameters.box.cx,this.parameters.box.cy)};break;case"point":this.calc=function(e,t){var n=this.snapToGrid(e,t,this.parameters.pointCoords[0],this.parameters.pointCoords[1]),i=this.el.array().valueOf();i[this.parameters.i][0]=this.parameters.pointCoords[0]+n[0],i[this.parameters.i][1]=this.parameters.pointCoords[1]+n[1],this.el.plot(i)}}this.el.fire("resizestart",{dx:this.parameters.x,dy:this.parameters.y,event:e}),SVG.on(window,"touchmove.resize",(function(e){t.update(e||window.event)})),SVG.on(window,"touchend.resize",(function(){t.done()})),SVG.on(window,"mousemove.resize",(function(e){t.update(e||window.event)})),SVG.on(window,"mouseup.resize",(function(){t.done()}))},e.prototype.update=function(e){if(e){var t=this._extractPosition(e),n=this.transformPoint(t.x,t.y),i=n.x-this.parameters.p.x,r=n.y-this.parameters.p.y;this.lastUpdateCall=[i,r],this.calc(i,r),this.el.fire("resizing",{dx:i,dy:r,event:e})}else this.lastUpdateCall&&this.calc(this.lastUpdateCall[0],this.lastUpdateCall[1])},e.prototype.done=function(){this.lastUpdateCall=null,SVG.off(window,"mousemove.resize"),SVG.off(window,"mouseup.resize"),SVG.off(window,"touchmove.resize"),SVG.off(window,"touchend.resize"),this.el.fire("resizedone")},e.prototype.snapToGrid=function(e,t,n,i){var r;return void 0!==i?r=[(n+e)%this.options.snapToGrid,(i+t)%this.options.snapToGrid]:(n=null==n?3:n,r=[(this.parameters.box.x+e+(1&n?0:this.parameters.box.width))%this.options.snapToGrid,(this.parameters.box.y+t+(2&n?0:this.parameters.box.height))%this.options.snapToGrid]),e<0&&(r[0]-=this.options.snapToGrid),t<0&&(r[1]-=this.options.snapToGrid),e-=Math.abs(r[0])<this.options.snapToGrid/2?r[0]:r[0]-(e<0?-this.options.snapToGrid:this.options.snapToGrid),t-=Math.abs(r[1])<this.options.snapToGrid/2?r[1]:r[1]-(t<0?-this.options.snapToGrid:this.options.snapToGrid),this.constraintToBox(e,t,n,i)},e.prototype.constraintToBox=function(e,t,n,i){var r,a,o=this.options.constraint||{};return void 0!==i?(r=n,a=i):(r=this.parameters.box.x+(1&n?0:this.parameters.box.width),a=this.parameters.box.y+(2&n?0:this.parameters.box.height)),void 0!==o.minX&&r+e<o.minX&&(e=o.minX-r),void 0!==o.maxX&&r+e>o.maxX&&(e=o.maxX-r),void 0!==o.minY&&a+t<o.minY&&(t=o.minY-a),void 0!==o.maxY&&a+t>o.maxY&&(t=o.maxY-a),[e,t]},e.prototype.checkAspectRatio=function(e,t){if(!this.options.saveAspectRatio)return e;var n=e.slice(),i=this.parameters.box.width/this.parameters.box.height,r=this.parameters.box.width+e[0],a=this.parameters.box.height-e[1],o=r/a;return o<i?(n[1]=r/i-this.parameters.box.height,t&&(n[1]=-n[1])):o>i&&(n[0]=this.parameters.box.width-a*i,t&&(n[0]=-n[0])),n},SVG.extend(SVG.Element,{resize:function(t){return(this.remember("_resizeHandler")||new e(this)).init(t||{}),this}}),SVG.Element.prototype.resize.defaults={snapToAngle:.1,snapToGri
138d:1,constraint:{},saveAspectRatio:!1}}).call(this)}(),void 0===window.Apex&&(window.Apex={});var $e=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"initModules",value:function(){this.ctx.publicMethods=["updateOptions","updateSeries","appendData","appendSeries","isSeriesHidden","toggleSeries","showSeries","hideSeries","setLocale","resetSeries","zoomX","toggleDataPointSelection","dataURI","exportToCSV","addXaxisAnnotation","addYaxisAnnotation","addPointAnnotation","clearAnnotations","removeAnnotation","paper","destroy"],this.ctx.eventList=["click","mousedown","mousemove","mouseleave","touchstart","touchmove","touchleave","mouseup","touchend"],this.ctx.animations=new x(this.ctx),this.ctx.axes=new te(this.ctx),this.ctx.core=new We(this.ctx.el,this.ctx),this.ctx.config=new R({}),this.ctx.data=new $(this.ctx),this.ctx.grid=new q(this.ctx),this.ctx.graphics=new k(this.ctx),this.ctx.coreUtils=new S(this.ctx),this.ctx.crosshairs=new ne(this.ctx),this.ctx.events=new Q(this.ctx),this.ctx.exports=new X(this.ctx),this.ctx.localization=new ee(this.ctx),this.ctx.options=new T,this.ctx.responsive=new ie(this.ctx),this.ctx.series=new V(this.ctx),this.ctx.theme=new re(this.ctx),this.ctx.formatters=new P(this.ctx),this.ctx.titleSubtitle=new ae(this.ctx),this.ctx.legend=new he(this.ctx),this.ctx.toolbar=new fe(this.ctx),this.ctx.tooltip=new xe(this.ctx),this.ctx.dimensions=new ue(this.ctx),this.ctx.updateHelpers=new Ve(this.ctx),this.ctx.zoomPanSelection=new pe(this.ctx),this.ctx.w.globals.tooltip=new xe(this.ctx)}}]),e}(),Ue=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"clear",value:function(e){var t=e.isUpdating;this.ctx.zoomPanSelection&&this.ctx.zoomPanSelection.destroy(),this.ctx.toolbar&&this.ctx.toolbar.destroy(),this.ctx.animations=null,this.ctx.axes=null,this.ctx.annotations=null,this.ctx.core=null,this.ctx.data=null,this.ctx.grid=null,this.ctx.series=null,this.ctx.responsive=null,this.ctx.theme=null,this.ctx.formatters=null,this.ctx.titleSubtitle=null,this.ctx.legend=null,this.ctx.dimensions=null,this.ctx.options=null,this.ctx.crosshairs=null,this.ctx.zoomPanSelection=null,this.ctx.updateHelpers=null,this.ctx.toolbar=null,this.ctx.localization=null,this.ctx.w.globals.tooltip=null,this.clearDomElements({isUpdating:t})}},{key:"killSVG",value:function(e){e.each((function(e,t){this.removeClass("*"),this.off(),this.stop()}),!0),e.ungroup(),e.clear()}},{key:"clearDomElements",value:function(e){var t=this,n=e.isUpdating,i=this.w.globals.dom.Paper.node;i.parentNode&&i.parentNode.parentNode&&!n&&(i.parentNode.parentNode.style.minHeight="unset");var r=this.w.globals.dom.baseEl;r&&this.ctx.eventList.forEach((function(e){r.removeEventListener(e,t.ctx.events.documentEvent)}));var a=this.w.globals.dom;if(null!==this.ctx.el)for(;this.ctx.el.firstChild;)this.ctx.el.removeChild(this.ctx.el.firstChild);this.killSVG(a.Paper),a.Paper.remove(),a.elWrap=null,a.elGraphical=null,a.elLegendWrap=null,a.elLegendForeign=null,a.baseEl=null,a.elGridRect=null,a.elGridRectMask=null,a.elGridRectMarkerMask=null,a.elForecastMask=null,a.elNonForecastMask=null,a.elDefs=null}}]),e}(),Xe=new WeakMap;return function(){function e(t,n){s(this,e),this.opts=n,this.ctx=this,this.w=new N(n).init(),this.el=t,this.w.globals.cuid=_.randomId(),this.w.globals.chartID=this.w.config.chart.id?_.escapeString(this.w.config.chart.id):this.w.globals.cuid,new $e(this).initModules(),this.create=_.bind(this.create,this),this.windowResizeHandler=this._windowResizeHandler.bind(this),this.parentResizeHandler=this._parentResizeCallback.bind(this)}return c(e,[{key:"render",value:function(){var e=this;return new Promise((function(t,n){if(null!==e.el){void 0===Apex._chartInstances&&(Apex._chartInstances=[]),e.w.config.chart.id&&Apex._chartInstances.push({id:e.w.globals.chartID,group:e.w.config.chart.group,chart:e}),e.setLocale(e.w.config.chart.defaultLocale);var i=e.w.config.chart.events.beforeMount;if("function"==typeof i&&i(e,e.w),e.events.fireEvent("beforeMount",[e,e.w]),window.addEventListener("resize",e.windowResizeHandler),function(e,t){var n=!1;if(e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE){var i=e.getBoundingClientRect();"none"!==e.style.display&&0!==i.width||(n=!0)}
138var r=new ResizeObserver((function(i){n&&t.call(e,i),n=!0}));e.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Array.from(e.children).forEach((function(e){return r.observe(e)})):r.observe(e),Xe.set(t,r)}(e.el.parentNode,e.parentResizeHandler),!e.css){var r=e.el.getRootNode&&e.el.getRootNode(),a=_.is("ShadowRoot",r),o=e.el.ownerDocument,s=o.getElementById("apexcharts-css");if(a||!s){var l;e.css=document.createElement("style"),e.css.id="apexcharts-css",e.css.textContent='@keyframes opaque {\n 0% {\n opacity: 0\n }\n\n to {\n opacity: 1\n }\n}\n\n@keyframes resizeanim {\n 0%,to {\n opacity: 0\n }\n}\n\n.apexcharts-canvas {\n position: relative;\n user-select: none\n}\n\n.apexcharts-canvas ::-webkit-scrollbar {\n -webkit-appearance: none;\n width: 6px\n}\n\n.apexcharts-canvas ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background-color: rgba(0,0,0,.5);\n box-shadow: 0 0 1px rgba(255,255,255,.5);\n -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5)\n}\n\n.apexcharts-inner {\n position: relative\n}\n\n.apexcharts-text tspan {\n font-family: inherit\n}\n\n.legend-mouseover-inactive {\n transition: .15s ease all;\n opacity: .2\n}\n\n.apexcharts-legend-text {\n padding-left: 15px;\n margin-left: -15px;\n}\n\n.apexcharts-series-collapsed {\n opacity: 0\n}\n\n.apexcharts-tooltip {\n border-radius: 5px;\n box-shadow: 2px 2px 6px -4px #999;\n cursor: default;\n font-size: 14px;\n left: 62px;\n opacity: 0;\n pointer-events: none;\n position: absolute;\n top: 20px;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n white-space: nowrap;\n z-index: 12;\n transition: .15s ease all\n}\n\n.apexcharts-tooltip.apexcharts-active {\n opacity: 1;\n transition: .15s ease all\n}\n\n.apexcharts-tooltip.apexcharts-theme-light {\n border: 1px solid #e3e3e3;\n background: rgba(255,255,255,.96)\n}\n\n.apexcharts-tooltip.apexcharts-theme-dark {\n color: #fff;\n background: rgba(30,30,30,.8)\n}\n\n.apexcharts-tooltip * {\n font-family: inherit\n}\n\n.apexcharts-tooltip-title {\n padding: 6px;\n font-size: 15px;\n margin-bottom: 4px\n}\n\n.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {\n background: #eceff1;\n border-bottom: 1px solid #ddd\n}\n\n.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title {\n background: rgba(0,0,0,.7);\n border-bottom: 1px solid #333\n}\n\n.apexcharts-tooltip-text-goals-value,.apexcharts-tooltip-text-y-value,.apexcharts-tooltip-text-z-value {\n display: inline-block;\n margin-left: 5px;\n font-weight: 600\n}\n\n.apexcharts-tooltip-text-goals-label:empty,.apexcharts-tooltip-text-goals-value:empty,.apexcharts-tooltip-text-y-label:empty,.apexcharts-tooltip-text-y-value:empty,.apexcharts-tooltip-text-z-value:empty,.apexcharts-tooltip-title:empty {\n display: none\n}\n\n.apexcharts-tooltip-text-goals-label,.apexcharts-tooltip-text-goals-value {\n padding: 6px 0 5px\n}\n\n.apexcharts-tooltip-goals-group,.apexcharts-tooltip-text-goals-label,.apexcharts-tooltip-text-goals-value {\n display: flex\n}\n\n.apexcharts-tooltip-text-goals-label:not(:empty),.apexcharts-tooltip-text-goals-value:not(:empty) {\n margin-top: -6px\n}\n\n.apexcharts-tooltip-marker {\n width: 12px;\n height: 12px;\n position: relative;\n top: 0;\n margin-right: 10px;\n border-radius: 50%\n}\n\n.apexcharts-tooltip-series-group {\n padding: 0 10px;\n display: none;\n text-align: left;\n justify-content: left;\n align-items: center\n}\n\n.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker {\n opacity: 1\n}\n\n.apexcharts-tooltip-series-group.apexcharts-active,.apexcharts-tooltip-series-group:last-child {\n padding-bottom: 4px\n}\n\n.apexcharts-tooltip-series-group-hidden {\n opacity: 0;\n height: 0;\n line-height: 0;\n padding: 0!important\n}\n\n.apexcharts-tooltip-y-group {\n padding: 6px 0 5px\n}\n\n.apexcharts-custom-tooltip,.apexcharts-tooltip-box {\n padding: 4px 8px\n}\n\n.apexcharts-tooltip-boxPlot {\n display: flex;\n flex-direction: column-reverse\n}\n\n.apexcharts-tooltip-box>div {\n margin: 4px 0\n}\n\n.apexcharts-tooltip-box span.value {\n font-weight: 700\n}\n\n.apexcharts-tooltip-rangebar {\n padding: 5px 8px\n}\n\n.apexcharts-tooltip-rangebar .category {\n font-weight: 600;\n color: #777\n}\n\n.apexcharts-tooltip-rangebar .series-name {\n font-weight: 700;\n display: block;\n margin-bottom: 5px\n}\n\n.apexcharts-xaxistooltip,.apexcharts-yaxistooltip {\n opacity: 0;\n pointer-events: none;\n color: #373d3f;\n font-size: 13px;\n text-align: center;\n border-radius: 2px;\n position: absolute;\n z-index: 10;\n background: #eceff1;\n border: 1px solid #90a4ae\n}\n\n.apexcharts-xaxistooltip {\n padding: 9px 10px;\n transition: .15s ease all\n}\n\n.apexcharts-xaxistooltip.apexcharts-theme-dark {\n background: rgba(0,0,0,.7);\n border: 1px solid rgba(0,0,0,.5);\n color: #fff\n}\n\n.apexcharts-xaxistooltip:after,.apexcharts-xaxistooltip:before {\n left: 50%;\n border: solid transparent;\n content: " ";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none\n}\n\n.apexcharts-xaxistooltip:after {\n border-color: transparent;\n border-width: 6px;\n margin-left: -6px\n}\n\n.apexcharts-xaxistooltip:before {\n border-color: transparent;\n border-width: 7px;\n margin-left: -7px\n}\n\n.apexcharts-xaxistooltip-bottom:after,.apexcharts-xaxistooltip-bottom:before {\n bottom: 100%\n}\n\n.apexcharts-xaxistooltip-top:after,.apexcharts-xaxistooltip-top:before {\n top: 100%\n}\n\n.apexcharts-xaxistooltip-bottom:after {\n border-bottom-color: #eceff1\n}\n\n.apexcharts-xaxistooltip-bottom:before {\n border-bottom-color: #90a4ae\n}\n\n.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after,.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before {\n border-bottom-color: rgba(0,0,0,.5)\n}\n\n.apexcharts-xaxistooltip-top:after {\n border-top-color: #eceff1\n}\n\n.apexcharts-xaxistooltip-top:before {\n border-top-color: #90a4ae\n}\n\n.apexcharts-xaxistooltip-top.apexcharts-theme-dark:after,.apexcharts-xaxistooltip-top.apexcharts-theme-dark:before {\n border-top-color: rgba(0,0,0,.5)\n}\n\n.apexcharts-xaxistooltip.apexcharts-active {\n opacity: 1;\n transition: .15s ease all\n}\n\n.apexcharts-yaxistooltip {\n padding: 4px 10px\n}\n\n.apexcharts-yaxistooltip.apexcharts-theme-dark {\n background: rgba(0,0,0,.7);\n border: 1px solid rgba(0,0,0,.5);\n color: #fff\n}\n\n.apexcharts-yaxistooltip:after,.apexcharts-yaxistooltip:before {\n top: 50%;\n border: solid transparent;\n content: " ";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none\n}\n\n.apexcharts-yaxistooltip:after {\n border-color: transparent;\n border-width: 6px;\n margin-top: -6px\n}\n\n.apexcharts-yaxistooltip:before {\n border-color: transparent;\n border-width: 7px;\n margin-top: -7px\n}\n\n.apexcharts-yaxistooltip-left:after,.apexcharts-yaxistooltip-left:before {\n left: 100%\n}\n\n.apexcharts-yaxistooltip-right:after,.apexcharts-yaxistooltip-right:before {\n right: 100%\n}\n\n.apexcharts-yaxistooltip-left:after {\n border-left-color: #eceff1\n}\n\n.apexcharts-yaxistooltip-left:before {\n border-left-color: #90a4ae\n}\n\n.apexcharts-yaxistooltip-left.apexcharts-theme-dark:after,.apexcharts-yaxistooltip-left.apexcharts-theme-dark:before {\n border-left-color: rgba(0,0,0,.5)\n}\n\n.apexcharts-yaxistooltip-right:after {\n border-right-color: #eceff1\n}\n\n.apexcharts-yaxistooltip-right:before {\n border-right-color: #90a4ae\n}\n\n.apexcharts-yaxistooltip-right.apexcharts-theme-dark:after,.apexcharts-yaxistooltip-right.apexcharts-theme-dark:before {\n border-right-color: rgba(0,0,0,.5)\n}\n\n.apexcharts-yaxistooltip.apexcharts-active {\n opacity: 1\n}\n\n.apexcharts-yaxistooltip-hidden {\n display: none\n}
138\n\n.apexcharts-xcrosshairs,.apexcharts-ycrosshairs {\n pointer-events: none;\n opacity: 0;\n transition: .15s ease all\n}\n\n.apexcharts-xcrosshairs.apexcharts-active,.apexcharts-ycrosshairs.apexcharts-active {\n opacity: 1;\n transition: .15s ease all\n}\n\n.apexcharts-ycrosshairs-hidden {\n opacity: 0\n}\n\n.apexcharts-selection-rect {\n cursor: move\n}\n\n.svg_select_boundingRect,.svg_select_points_rot {\n pointer-events: none;\n opacity: 0;\n visibility: hidden\n}\n\n.apexcharts-selection-rect+g .svg_select_boundingRect,.apexcharts-selection-rect+g .svg_select_points_rot {\n opacity: 0;\n visibility: hidden\n}\n\n.apexcharts-selection-rect+g .svg_select_points_l,.apexcharts-selection-rect+g .svg_select_points_r {\n cursor: ew-resize;\n opacity: 1;\n visibility: visible\n}\n\n.svg_select_points {\n fill: #efefef;\n stroke: #333;\n rx: 2\n}\n\n.apexcharts-svg.apexcharts-zoomable.hovering-zoom {\n cursor: crosshair\n}\n\n.apexcharts-svg.apexcharts-zoomable.hovering-pan {\n cursor: move\n}\n\n.apexcharts-menu-icon,.apexcharts-pan-icon,.apexcharts-reset-icon,.apexcharts-selection-icon,.apexcharts-toolbar-custom-icon,.apexcharts-zoom-icon,.apexcharts-zoomin-icon,.apexcharts-zoomout-icon {\n cursor: pointer;\n width: 20px;\n height: 20px;\n line-height: 24px;\n color: #6e8192;\n text-align: center\n}\n\n.apexcharts-menu-icon svg,.apexcharts-reset-icon svg,.apexcharts-zoom-icon svg,.apexcharts-zoomin-icon svg,.apexcharts-zoomout-icon svg {\n fill: #6e8192\n}\n\n.apexcharts-selection-icon svg {\n fill: #444;\n transform: scale(.76)\n}\n\n.apexcharts-theme-dark .apexcharts-menu-icon svg,.apexcharts-theme-dark .apexcharts-pan-icon svg,.apexcharts-theme-dark .apexcharts-reset-icon svg,.apexcharts-theme-dark .apexcharts-selection-icon svg,.apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg,.apexcharts-theme-dark .apexcharts-zoom-icon svg,.apexcharts-theme-dark .apexcharts-zoomin-icon svg,.apexcharts-theme-dark .apexcharts-zoomout-icon svg {\n fill: #f3f4f5\n}\n\n.apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg,.apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,.apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg {\n fill: #008ffb\n}\n\n.apexcharts-theme-light .apexcharts-menu-icon:hover svg,.apexcharts-theme-light .apexcharts-reset-icon:hover svg,.apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,.apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,.apexcharts-theme-light .apexcharts-zoomin-icon:hover svg,.apexcharts-theme-light .apexcharts-zoomout-icon:hover svg {\n fill: #333\n}\n\n.apexcharts-menu-icon,.apexcharts-selection-icon {\n position: relative\n}\n\n.apexcharts-reset-icon {\n margin-left: 5px\n}\n\n.apexcharts-menu-icon,.apexcharts-reset-icon,.apexcharts-zoom-icon {\n transform: scale(.85)\n}\n\n.apexcharts-zoomin-icon,.apexcharts-zoomout-icon {\n transform: scale(.7)\n}\n\n.apexcharts-zoomout-icon {\n margin-right: 3px\n}\n\n.apexcharts-pan-icon {\n transform: scale(.62);\n position: relative;\n left: 1px;\n top: 0\n}\n\n.apexcharts-pan-icon svg {\n fill: #fff;\n stroke: #6e8192;\n stroke-width: 2\n}\n\n.apexcharts-pan-icon.apexcharts-selected svg {\n stroke: #008ffb\n}\n\n.apexcharts-pan-icon:not(.apexcharts-selected):hover svg {\n stroke: #333\n}\n\n.apexcharts-toolbar {\n position: absolute;\n z-index: 11;\n max-width: 176px;\n text-align: right;\n border-radius: 3px;\n padding: 0 6px 2px;\n display: flex;\n justify-content: space-between;\n align-items: center\n}\n\n.apexcharts-menu {\n background: #fff;\n position: absolute;\n top: 100%;\n border: 1px solid #ddd;\n border-radius: 3px;\n padding: 3px;\n right: 10px;\n opacity: 0;\n min-width: 110px;\n transition: .15s ease all;\n pointer-events: none\n}\n\n.apexcharts-menu.apexcharts-menu-open {\n opacity: 1;\n pointer-events: all;\n transition: .15s ease all\n}\n\n.apexcharts-menu-item {\n padding: 6px 7px;\n font-size: 12px;\n cursor: pointer\n}\n\n.apexcharts-theme-light .apexcharts-menu-item:hover {\n background: #eee\n}\n\n.apexcharts-theme-dark .apexcharts-menu {\n background: rgba(0,0,0,.7);\n color: #fff\n}\n\n@media screen and (min-width:768px) {\n .apexcharts-canvas:hover .apexcharts-toolbar {\n opacity: 1\n }\n}\n\n.apexcharts-canvas .apexcharts-element-hidden,.apexcharts-datalabel.apexcharts-element-hidden,.apexcharts-hide .apexcharts-series-points {\n opacity: 0\n}\n\n.apexcharts-hidden-element-shown {\n opacity: 1;\n transition: 0.25s ease all;\n}\n.apexcharts-datalabel,.apexcharts-datalabel-label,.apexcharts-datalabel-value,.apexcharts-datalabels,.apexcharts-pie-label {\n cursor: default;\n pointer-events: none\n}\n\n.apexcharts-pie-label-delay {\n opacity: 0;\n animation-name: opaque;\n animation-duration: .3s;\n animation-fill-mode: forwards;\n animation-timing-function: ease\n}\n\n.apexcharts-radialbar-label {\n cursor: pointer;\n}\n\n.apexcharts-annotation-rect,.apexcharts-area-series .apexcharts-area,.apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,.apexcharts-gridline,.apexcharts-line,.apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,.apexcharts-point-annotation-label,.apexcharts-radar-series path,.apexcharts-radar-series polygon,.apexcharts-toolbar svg,.apexcharts-tooltip .apexcharts-marker,.apexcharts-xaxis-annotation-label,.apexcharts-yaxis-annotation-label,.apexcharts-zoom-rect {\n pointer-events: none\n}\n\n.apexcharts-marker {\n transition: .15s ease all\n}\n\n.resize-triggers {\n animation: 1ms resizeanim;\n visibility: hidden;\n opacity: 0;\n height: 100%;\n width: 100%;\n overflow: hidden\n}\n\n.contract-trigger:before,.resize-triggers,.resize-triggers>
138div {\n content: " ";\n display: block;\n position: absolute;\n top: 0;\n left: 0\n}\n\n.resize-triggers>div {\n height: 100%;\n width: 100%;\n background: #eee;\n overflow: auto\n}\n\n.contract-trigger:before {\n overflow: hidden;\n width: 200%;\n height: 200%\n}\n\n.apexcharts-bar-goals-markers{\n pointer-events: none\n}\n\n.apexcharts-bar-shadows{\n pointer-events: none\n}\n\n.apexcharts-rangebar-goals-markers{\n pointer-events: none\n}';var c=(null===(l=e.opts.chart)||void 0===l?void 0:l.nonce)||e.w.config.chart.nonce;c&&e.css.setAttribute("nonce",c),a?r.prepend(e.css):o.head.appendChild(e.css)}}var u=e.create(e.w.config.series,{});if(!u)return t(e);e.mount(u).then((function(){"function"==typeof e.w.config.chart.events.mounted&&e.w.config.chart.events.mounted(e,e.w),e.events.fireEvent("mounted",[e,e.w]),t(u)})).catch((function(e){n(e)}))}else n(new Error("Element not found"))}))}},{key:"create",value:function(e,t){var n=this.w;new $e(this).initModules();var i=this.w.globals;if(i.noData=!1,i.animationEnded=!1,this.responsive.checkResponsiveConfig(t),n.config.xaxis.convertedCatToNumeric&&new I(n.config).convertCatToNumericXaxis(n.config,this.ctx),null===this.el)return i.animationEnded=!0,null;if(this.core.setupElements(),"treemap"===n.config.chart.type&&(n.config.grid.show=!1,n.config.yaxis[0].show=!1),0===i.svgWidth)return i.animationEnded=!0,null;var r=S.checkComboSeries(e);i.comboCharts=r.comboCharts,i.comboBarCount=r.comboBarCount;var a=e.every((function(e){return e.data&&0===e.data.length}));(0===e.length||a)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(e),this.theme.init(),new z(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),i.noData&&i.collapsedSeries.length!==i.series.length&&!n.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),i.axisCharts&&(this.core.coreCalculations(),"category"!==n.config.xaxis.type&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=n.globals.minX,this.ctx.toolbar.maxX=n.globals.maxX),this.formatters.heatmapLabelFormatters(),new S(this).getLargestMarkerSize(),this.dimensions.plotCoords();var o=this.core.xySettings();this.grid.createGridMask();var s=this.core.plotChartType(e,o),l=new W(this);return l.bringForward(),n.config.dataLabels.background.enabled&&l.dataLabelsBackground(),this.core.shiftGraphPosition(),{elGraph:s,xyRatios:o,dimensions:{plot:{left:n.globals.translateX,top:n.globals.translateY,width:n.globals.gridWidth,height:n.globals.gridHeight}}}}},{key:"mount",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=this,i=n.w;return new Promise((function(r,a){if(null===n.el)return a(new Error("Not enough data to display or target element not found"));(null===t||i.globals.allSeriesCollapsed)&&n.series.handleNoData(),n.grid=new q(n);var o,s,l=n.grid.drawGrid();if(n.annotations=new E(n),n.annotations.drawImageAnnos(),n.annotations.drawTextAnnos(),"back"===i.config.grid.position&&(l&&i.globals.dom.elGraphical.add(l.el),null!=l&&null!==(o=l.elGridBorders)&&void 0!==o&&o.node&&i.globals.dom.elGraphical.add(l.elGridBorders)),Array.isArray(t.elGraph))for(var c=0;c<t.elGraph.length;c++)i.globals.dom.elGraphical.add(t.elGraph[c]);else i.globals.dom.elGraphical.add(t.elGraph);"front"===i.config.grid.position&&(l&&i.globals.dom.elGraphical.add(l.el),null!=l&&null!==(s=l.elGridBorders)&&void 0!==s&&s.node&&i.globals.dom.elGraphical.add(l.elGridBorders)),"front"===i.config.xaxis.crosshairs.position&&n.crosshairs.drawXCrosshairs(),"front"===i.config.yaxis[0].crosshairs.position&&n.crosshairs.drawYCrosshairs(),"treemap"!==i.config.chart.type&&n.axes.drawAxis(i.config.chart.type,l);var u=new G(e.ctx,l),d=new Z(e.ctx,l);if(null!==l&&(u.xAxisLabelCorrections(l.xAxisTickWidth),d.setYAxisTextAlignments(),i.config.yaxis.map((function(e,t){-1===i.globals.ignoreYAxisIndexes.indexOf(t)&&d.yAxisTitleRotate(t,e.opposite)}))),n.annotations.drawAxesAnnotations(),!i.globals.noData){if(i.config.tooltip.enabled&&!i.globals.noData&&n.w.globals.tooltip.drawTooltip(t.xyRatios),i.globals.axisCharts&&(i.globals.isXNumeric||i.config.xaxis.convertedCatToNumeric||i.globals.isRangeBar))(i.config.chart.zoom.enabled||i.config.chart.selection&&i.config.chart.selection.enabled||i.config.chart.pan&&i.config.chart.pan.enabled)&&n.zoomPanSelection.init({xyRatios:t.xyRatios});else{var h=i.config.chart.toolbar.tools;["zoom","zoomin","zoomout","selection","pan","reset"].forEach((function(e){h[e]=!1}))}i.config.chart.toolbar.show&&!i.globals.allSeriesCollapsed&&n.toolbar.createToolbar()}i.globals.memory.methodsToExec.length>
1380&&i.globals.memory.methodsToExec.forEach((function(e){e.method(e.params,!1,e.context)})),i.globals.axisCharts||i.globals.noData||n.core.resizeNonAxisCharts(),r(n)}))}},{key:"destroy",value:function(){var e,t;window.removeEventListener("resize",this.windowResizeHandler),this.el.parentNode,e=this.parentResizeHandler,(t=Xe.get(e))&&(t.disconnect(),Xe.delete(e));var n=this.w.config.chart.id;n&&Apex._chartInstances.forEach((function(e,t){e.id===_.escapeString(n)&&Apex._chartInstances.splice(t,1)})),new Ue(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=this.w;return o.globals.selection=void 0,e.series&&(this.series.resetSeries(!1,!0,!1),e.series.length&&e.series[0].data&&(e.series=e.series.map((function(e,n){return t.updateHelpers._extendSeries(e,n)}))),this.updateHelpers.revertDefaultAxisMinMax()),e.xaxis&&(e=this.updateHelpers.forceXAxisUpdate(e)),e.yaxis&&(e=this.updateHelpers.forceYAxisUpdate(e)),o.globals.collapsedSeriesIndices.length>0&&this.series.clearPreviousPaths(),e.theme&&(e=this.theme.updateThemeOptions(e)),this.updateHelpers._updateOptions(e,n,i,r,a)}},{key:"updateSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(e,t,n)}},{key:"appendSeries",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=this.w.config.series.slice();return i.push(e),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(i,t,n)}},{key:"appendData",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this;n.w.globals.dataChanged=!0,n.series.getPreviousPaths();for(var i=n.w.config.series.slice(),r=0;r<i.length;r++)if(null!==e[r]&&void 0!==e[r])for(var a=0;a<e[r].data.length;a++)i[r].data.push(e[r].data[a]);return n.w.config.series=i,t&&(n.w.globals.initialSeries=_.clone(n.w.config.series)),this.update()}},{key:"update",value:function(e){var t=this;return new Promise((function(n,i){new Ue(t.ctx).clear({isUpdating:!0});var r=t.create(t.w.config.series,e);if(!r)return n(t);t.mount(r).then((function(){"function"==typeof t.w.config.chart.events.updated&&t.w.config.chart.events.updated(t,t.w),t.events.fireEvent("updated",[t,t.w]),t.w.globals.isDirty=!0,n(t)})).catch((function(e){i(e)}))}))}},{key:"getSyncedCharts",value:function(){var e=this.getGroupedCharts(),t=[this];return e.length&&(t=[],e.forEach((function(e){t.push(e)}))),t}},{key:"getGroupedCharts",value:function(){var e=this;return Apex._chartInstances.filter((function(e){if(e.group)return!0})).map((function(t){return e.w.config.chart.group===t.group?t.chart:e}))}},{key:"toggleSeries",value:function(e){return this.series.toggleSeries(e)}},{key:"highlightSeriesOnLegendHover",value:function(e,t){return this.series.toggleSeriesOnHover(e,t)}},{key:"showSeries",value:function(e){this.series.showSeries(e)}},{key:"hideSeries",value:function(e){this.series.hideSeries(e)}},{key:"isSeriesHidden",value:function(e){this.series.isSeriesHidden(e)}},{key:"resetSeries",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.series.resetSeries(e,t)}},{key:"addEventListener",value:function(e,t){this.events.addEventListener(e,t)}},{key:"removeEventListener",value:function(e,t){this.events.removeEventListener(e,t)}},{key:"addXaxisAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=this;n&&(i=n),i.annotations.addXaxisAnnotationExternal(e,t,i)}},{key:"addYaxisAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=this;n&&(i=n),i.annotations.addYaxisAnnotationExternal(e,t,i)}},{key:"addPointAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=this;n&&(i=n),i.annotations.addPointAnnotationExternal(e,t,i)}},{key:"clearAnnotations",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=this;e&&(t=e),t.annotations.clearAnnotations(t)}},{key:"removeAnnotation",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=this;t&&(n=t),n.annotations.removeAnnotation(n,e)}},{key:"getChartArea",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner")}},{key:"getSeriesTotalXRange",value:function(e,t){return this.coreUtils.getSeriesTotalsXRange(e,t)}},{key:"getHighestValueInSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new K(this.ctx).getMinYMaxY(e).highestY}},{key:"getLowestValueInSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new K(this.ctx).getMinYMaxY(e).lowestY}},{key:"getSeriesTotal",value:function(){return this.w.globals.seriesTotals}},{key:"toggleDataPointSelection",value:function(e,t){return this.updateHelpers.toggleDataPointSelection(e,t)}},{key:"zoomX",value:function(e,t){this.ctx.toolbar.zoomUpdateOptions(e,t)}},{key:"setLocale",value:function(e){this.localization.setCurrentLocaleValues(e)}},{key:"dataURI",value:function(e){return new X(this.ctx).dataURI(e)}},{key:"exportToCSV",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new X(this.ctx).exportToCSV(e)}},{key:"paper",value:function(){return this.w.globals.dom.Paper}},{key:"_parentResizeCallback",value:function(){this.w.globals.animationEnded&&this.w.config.chart.redrawOnParentResize&&this._windowResize()}},{key:"_windowResize",value:function(){var e=this;clearTimeout(this.w.globals.resizeTimer),this.w.globals.resizeTimer=window.setTimeout((function(){e.w.globals.resized=!0,e.w.globals.dataChanged=!1,e.ctx.update()}),150)}},{key:"_windowResizeHandler",value:function(){var e=this.w.config.chart.redrawOnWindowResize;"function"==typeof e&&(e=e()),e&&this._windowResize()}}],[{key:"getChartByID",value:function(e){var t=_.escapeString(e);if(Apex._chartInstances){var n=Apex._chartInstances.filter((function(e){return e.id===t}))[0];return n&&n.chart}}},{key:"initOnLoad",value:function(){for(var t=document.querySelectorAll("[data-apexcharts]"),n=0;n<t.length;n++)new e(t[n],JSON.parse(t[n].getAttribute("data-options"))).render()}},{key:"exec",value:function(e,t){var n=this.getChartByID(e);if(n){n.w.globals.isExecCalled=!0;var i=null;if(-1!==n.publicMethods.indexOf(t)){for(var r=arguments.length,a=new Array(r>2?r-2:0),o=2;o<r;o++)a[o-2]=arguments[o];i=n[t].apply(n,a)}return i}}},{key:"merge",value:function(e,t){return _.extend(e,t)}}]),e}()}()},PSin:function(e,t,n){"use strict";n.r(t);var i=function(){return(0,this._self._c)("base-item-group",{attrs:{"no-action":"","sub-group":"",item:this.item}})};i._withStripped=!0;
138var r={name:"ItemSubGroup",props:{item:{type:Object,default:function(){return{avatar:void 0,group:void 0,title:void 0,children:[]}}}}},a=(n("4Gk9"),n("KHd+")),o=Object(a.a)(r,i,[],!1,null,null,null);t.default=o.exports},PYYD:function(e,t,n){},PaZL:function(e,t,n){},PeUW:function(e,t,n){!function(e){"use strict"; 139//! moment.js locale configuration 140var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"à¯",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","à¯":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"à®à®©à®µà®°à®¿_பிபà¯à®°à®µà®°à®¿_மாரà¯à®à¯_à®à®ªà¯à®°à®²à¯_à®®à¯_à®à¯à®©à¯_à®à¯à®²à¯_à®à®à®¸à¯à®à¯_à®à¯à®ªà¯à®à¯à®®à¯à®ªà®°à¯_à® à®à¯à®à¯à®¾à®ªà®°à¯_நவமà¯à®ªà®°à¯_à®à®¿à®à®®à¯à®ªà®°à¯".split("_"),monthsShort:"à®à®©à®µà®°à®¿_பிபà¯à®°à®µà®°à®¿_மாரà¯à®à¯_à®à®ªà¯à®°à®²à¯_à®®à¯_à®à¯à®©à¯_à®à¯à®²à¯_à®à®à®¸à¯à®à¯_à®à¯à®ªà¯à®à¯à®®à¯à®ªà®°à¯_à® à®à¯à®à¯à®¾à®ªà®°à¯_நவமà¯à®ªà®°à¯_à®à®¿à®à®®à¯à®ªà®°à¯".split("_"),weekdays:"à®à®¾à®¯à®¿à®±à¯à®±à¯à®à¯à®à®¿à®´à®®à¯_திà®à¯à®à®à¯à®à®¿à®´à®®à¯_à®à¯à®µà¯à®µà®¾à®¯à¯à®à®¿à®´à®®à¯_பà¯à®¤à®©à¯à®à®¿à®´à®®à¯_வியாழà®à¯à®à®¿à®´à®®à¯_வà¯à®³à¯à®³à®¿à®à¯à®à®¿à®´à®®à¯_à®à®©à®¿à®à¯à®à®¿à®´à®®à¯".split("_"),weekdaysShort:"à®à®¾à®¯à®¿à®±à¯_திà®à¯à®à®³à¯_à®à¯à®µà¯à®µà®¾à®¯à¯_பà¯à®¤à®©à¯_வியாழனà¯_வà¯à®³à¯à®³à®¿_à®à®©à®¿".split("_"),weekdaysMin:"à®à®¾_தி_à®à¯_பà¯_வி_வà¯_à®".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[à®à®©à¯à®±à¯] LT",nextDay:"[நாளà¯] LT",nextWeek:"dddd, LT",lastDay:"[நà¯à®±à¯à®±à¯] LT",lastWeek:"[à®à®à®¨à¯à®¤ வாரமà¯] dddd, LT",sameElse:"L"},relativeTime:{future:"%s à®à®²à¯",past:"%s à®®à¯à®©à¯",s:"à®à®°à¯ à®à®¿à®² விநாà®à®¿à®à®³à¯",ss:"%d விநாà®à®¿à®à®³à¯",m:"à®à®°à¯ நிமிà®à®®à¯",mm:"%d நிமிà®à®à¯à®à®³à¯",h:"à®à®°à¯ மணி நà¯à®°à®®à¯",hh:"%d மணி நà¯à®°à®®à¯",d:"à®à®°à¯ நாளà¯",dd:"%d நாà®à¯à®à®³à¯",M:"à®à®°à¯ மாதமà¯",MM:"%d மாதà®à¯à®à®³à¯",y:"à®à®°à¯ வரà¯à®à®®à¯",yy:"%d à®à®£à¯à®à¯à®à®³à¯"},dayOfMonthOrdinalParse:/\d{1,2}வதà¯/,ordinal:function(e){return e+"வதà¯"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬à¯à¯®à¯¯à¯¦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமமà¯|வà¯à®à®±à¯|à®à®¾à®²à¯|நணà¯à®ªà®à®²à¯|à®à®±à¯à®ªà®¾à®à¯|மாலà¯/,meridiem:function(e,t,n){return e<2?" யாமமà¯":e<6?" வà¯à®à®±à¯":e<10?" à®à®¾à®²à¯":e<14?" நணà¯à®ªà®à®²à¯":e<18?" à®à®±à¯à®ªà®¾à®à¯":e<22?" மாலà¯":" யாமமà¯"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமமà¯"===t?e<2?e:e+12:"வà¯à®à®±à¯"===t||"à®à®¾à®²à¯"===t||"நணà¯à®ªà®à®²à¯"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n("wd/R"))},PhtW:function(e,t,n){"use strict";n.r(t),t.default={path:"submissions/:id/reviews",name:"reviewers",component:function(){return n.e(173).then(n.bind(null,"QYrg"))},children:[{name:"FindReviewerMatches",path:"match",component:function(){return Promise.all([n.e(37),n.e(36),n.e(268)]).then(n.bind(null,"z82b"))}}]}},Pl9e:function(e,t,n){},PpIw:function(e,t,n){!function(e){"use strict";
141//! moment.js locale configuration 142var t={1:"à³§",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"à³",8:"à³®",9:"೯",0:"೦"},n={"à³§":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","à³":"7","à³®":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"à²à²¨à²µà²°à²¿_ಫà³à²¬à³à²°à²µà²°à²¿_ಮಾರà³à²à³_à²à²ªà³à²°à²¿à²²à³_ಮà³à³_à²à³à²¨à³_à²à³à²²à³à³_à²à²à²¸à³à²à³_ಸà³à²ªà³à²à³à²à²¬à²°à³_ಠà²à³à²à³à³à³à²¬à²°à³_ನವà³à²à²¬à²°à³_ಡಿಸà³à²à²¬à²°à³".split("_"),monthsShort:"à²à²¨_ಫà³à²¬à³à²°_ಮಾರà³à²à³_à²à²ªà³à²°à²¿à²²à³_ಮà³à³_à²à³à²¨à³_à²à³à²²à³à³_à²à²à²¸à³à²à³_ಸà³à²ªà³à²à³à²_ಠà²à³à²à³à³à³_ನವà³à²_ಡಿಸà³à²".split("_"),monthsParseExact:!0,weekdays:"à²à²¾à²¨à³à²µà²¾à²°_ಸà³à³à³à²®à²µà²¾à²°_ಮà²à²à²³à²µà²¾à²°_ಬà³à²§à²µà²¾à²°_à²à³à²°à³à²µà²¾à²°_ಶà³à²à³à²°à²µà²¾à²°_ಶನಿವಾರ".split("_"),weekdaysShort:"à²à²¾à²¨à³_ಸà³à³à³à²®_ಮà²à²à²³_ಬà³à²§_à²à³à²°à³_ಶà³à²à³à²°_ಶನಿ".split("_"),weekdaysMin:"à²à²¾_ಸà³à³à³_ಮà²_ಬà³_à²à³_ಶà³_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[à²à²à²¦à³] LT",nextDay:"[ನಾಳà³] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನà³à²¨à³] LT",lastWeek:"[à²à³à³à²¨à³à²¯] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನà²à²¤à²°",past:"%s ಹಿà²à²¦à³",s:"à²à³à²²à²µà³ à²à³à²·à²£à²à²³à³",ss:"%d ಸà³à²à³à²à²¡à³à²à²³à³",m:"à²à²à²¦à³ ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"à²à²à²¦à³ à²à²à²à³",hh:"%d à²à²à²à³",d:"à²à²à²¦à³ ದಿನ",dd:"%d ದಿನ",M:"à²à²à²¦à³ ತಿà²à²à²³à³",MM:"%d ತಿà²à²à²³à³",y:"à²à²à²¦à³ ವರà³à²·",yy:"%d ವರà³à²·"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬à³à³®à³¯à³¦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತà³à²°à²¿|ಬà³à²³à²¿à²à³à²à³|ಮಧà³à²¯à²¾à²¹à³à²¨|ಸà²à²à³/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತà³à²°à²¿"===t?e<4?e:e+12:"ಬà³à²³à²¿à²à³à²à³"===t?e:"ಮಧà³à²¯à²¾à²¹à³à²¨"===t?e>=10?e:e+12:"ಸà²à²à³"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತà³à²°à²¿":e<10?"ಬà³à²³à²¿à²à³à²à³":e<17?"ಮಧà³à²¯à²¾à²¹à³à²¨":e<20?"ಸà²à²à³":"ರಾತà³à²°à²¿"},dayOfMonthOrdinalParse:/\d{1,2}(ನà³à³)/,ordinal:function(e){return e+"ನà³à³"},week:{dow:0,doy:6}})}(n("wd/R"))},Pqjd:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("transition",{attrs:{name:"expand"},on:{"before-enter":e.beforeEnter,enter:e.enter,leave:e.leave}},[e.c_value?t("v-card",e._b({class:e.newCommentWrapperClass,attrs:{ripple:!1,elevation:"0",tabindex:"0"},on:{focusin:function(t){return e.declareFocus(!0)},focusout:function(t){return e.declareFocus(!1)},click:e.focusEditorFromWrapper}},"v-card",e.$attrs,!1),[e.showCancelButton?[t("div",{staticClass:"d-flex CancelButton"},[t("v-spacer"),e._v(" "),t("v-icon",{attrs:{small:"",color:"primary"},on:{click:function(t){e.c_value=!1}}},[e._v("\n mdi-close\n ")])],1)]:e._e(),e._v(" "),e.hideTypeInfo?e._e():[t("div",{staticClass:"NewCommentTypeWrapper"},[t("VBetterSelect",{ref:"newCommentOptionset",staticClass:"NewCommentType",attrs:{items:e.allowedCreateCommentTypes,"item-text":"name","item-value":"id",label:e.optionsetLabel},scopedSlots:e._u([{key:"selection",fn:function(n){var i=n.item;return[t("v-chip",{attrs:{small:"",color:i.colorHex}},[i.icon?[t("v-icon",[e._v(e._s(i.icon))])]:e._e(),e._v(" "),t("span",{style:"color:"+e.getContrastYIQ(i.colorHex)},[e._v(e._s(i.name))])],2)]}}],null,!1,514191133),model:{value:e.newCommentType,callback:function(t){e.newCommentType=t},expression:"newCommentType"}})],1)],e._v(" "),e.label?[t("label",{class:e.labelClass,domProps:{textContent:e._s(e.label)},on:{click:e.focusEditorFromWrapper}})]:e._e(),e._v(" "),t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.newComment.text,expression:"newComment.text"}],ref:"editor",class:e.newCommentClass,style:e.textareaStyle,attrs:{rows:e.rows,disabled:e.isLoading},domProps:{value:e.newComment.text},on:{input:function(t){t.target.composing||e.$set(e.newComment,"text",t.target.value)}}}),e._v(" "),t("div",{staticClass:"d-flex"},[t("v-spacer"),e._v(" "),t("v-btn",{attrs:{fab:"",text:"","x-small":"",disabled:!e.hasComment},on:{click:e.saveComment}},[e.isLoading?[t("i",{staticClass:"icon-spin icon-2x icon-spinner"})]:[t("v-icon",{attrs:{color:"primary"}},[e._v("\n mdi-send\n ")])]],2)],1)],2):e._e()],1)};i._withStripped=!0;var r=n("J4zp"),a=n.n(r),o=n("lSNA"),s=n.n(o),l=n("wMS7"),c=n.n(l),u=n("Puqe"),d=n.n(u),h=n("BkRI"),f=n.n(h),p=n("OaaX");function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
142t%2?m(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=Object(p.useGraphCommentsComposable)().generateGraphComment,b={name:"NewComment",props:{value:{type:Boolean,default:!1},label:{type:String,default:""},optionsetLabel:{type:String,default:"New Comment Type"},isLoading:{type:Boolean,default:!1},hideTypeInfo:{type:Boolean,default:!1},rows:{type:Number,default:2},filled:{type:Boolean,default:!1},defaultComment:{type:Object,default:function(){return null}},localCommentTypePermissions:{type:Array,default:function(){return[]}},showCancelButton:{type:Boolean,default:!1},minHeight:{type:String,default:""},disableTransitions:{type:Boolean,default:!1}},data:function(){return{newComment:v(),newCommentOptionset:void 0,newCommentType:"",isSaving:!1,isFocused:!1,editor:void 0}},computed:{allowedCreateCommentTypes:function(){return this.localCommentTypePermissions.filter((function(e){return e.canCreate}))},articleId:function(){var e,t;return null===(e=this.controllerVars)||void 0===e||null===(t=e.stage)||void 0===t?void 0:t.articleId},version:function(){var e,t;return null===(e=this.controllerVars)||void 0===e||null===(t=e.stage)||void 0===t?void 0:t.version},actionUuid:function(){var e,t;return null===(e=this.controllerVars)||void 0===e||null===(t=e.action)||void 0===t?void 0:t.uuid},textareaStyle:function(){return this.minHeight?{minHeight:this.minHeight}:{}},c_value:{get:function(){return this.value},set:function(e){this.$emit("input",e)}},labelClass:function(){return["NewCommentLabel",{hideType:this.hideTypeInfo},{"primary--text":this.isFocused},{"grey--text text--darken-2":!this.isLoading&&!this.isFocused},{"grey--text text--lighten-1":this.isLoading},{isFocused:!this.isLoading&&this.isFocused||this.newComment.text}]},newCommentClass:function(){return["NewComment",{hideType:this.hideTypeInfo}]},newCommentWrapperClass:function(){return["NewCommentWrapper","mb-2",{filled:this.filled},{hideType:this.hideTypeInfo},{isDisabled:this.isLoading}]},cleanComment:function(){return c.a.sanitize(this.newComment.text).replace(/>/g,">")},selectedComment:function(){var e=this;return this.hideTypeInfo||(""!==this.newCommentType?this.localCommentTypePermissions.find((function(t){return t.id===e.newCommentType})):void 0)},hasComment:function(){return!!this.cleanComment&&!!this.selectedComment}},methods:{generateDefaultComment:function(){var e;return null!==(e=f()(this.defaultComment))&&void 0!==e?e:v(this.articleId)},focusEditorFromWrapper:function(e){var t,n;null!==(t=this.newCommentOptionset)&&void 0!==t&&t.$el.contains(null==e?void 0:e.target)||(null===(n=this.editor)||void 0===n||n.focus())},saveComment:function(){var e;this.hasComment&&(this.$emit("save-comment",g(g({},d()(this.newComment,["text"])),{},{text:this.cleanComment},this.hideTypeInfo?{}:{commentType:"/api/v2/graph_comment_type_configs/".concat(null===(e=this.selectedComment)||void 0===e?void 0:e.uuid)})),this.newComment=this.generateDefaultComment(),this.newCommentType="",this.isSaving=!0,this.c_value=!1)},declareFocus:function(e){var t=this;this.isLoading||(this.isFocused=e),this.$nextTick((function(){var n;e||null===(n=t.newCommentOptionset)||void 0===n||n.blur()}))},beforeEnter:function(e){this.disableTransitions||(e.style.height=e.style.opacity="0",e.style.overflow="hidden")},enter:function(e){this.disableTransitions||(e.style.height=e.scrollHeight+"px",e.style.opacity="1",e.style.transition="opacity 0.3s ease, height 0.3s ease",e.addEventListener("transitionend",(function(){e.style.height=e.style.overflow=""}),{once:!0}))},leave:function(e){this.disableTransitions||(e.style.height=e.scrollHeight+"px",e.offsetHeight,e.style.height=e.style.opacity="0",e.style.transition="opacity 0.3s ease, height 0.3s ease, transform 0.3s ease",e.style.overflow="hidden",this.isSaving&&(e.style.transform="translateX(50%)",this.isSaving=!1))}},mounted:function(){var e=this;this.defaultComment?Object.entries(this.defaultComment).forEach((function(t){var n=a()(t,2),i=n[0],r=n[1];e.newComment[i]=r})):this.newComment=this.generateDefaultComment()}},y=(n("2b5Q"),n("KHd+")),_=n("ZUTo"),x=n.n(_),w=n("gzZi"),k=n("sK+t"),S=n("zCDB"),M=n("Ey0z"),L=n("L6Q5"),A=Object(y.a)(b,i,[],!1,null,"c574c278",null);
142t.default=A.exports;x()(A,{VBtn:w.a,VCard:k.a,VChip:S.a,VIcon:M.a,VSpacer:L.a})},Ptxk:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("v-card",{staticClass:"pa-6 text-center",attrs:{color:e.color,dark:e.dark,elevation:"0"}},[t("h2",{staticClass:"mb-4"},[e._v(e._s(e.title))]),e._v(" "),e.subtitle?t("p",{staticClass:"mb-6"},[e._v(e._s(e.subtitle))]):e._e(),e._v(" "),e._l(e.buttons,(function(n){var i=n.id,r=n.component,a=n.vBinds,o=n.classes;return t(r,e._b({key:i,tag:"component",staticClass:"mr-2",class:o},"component",a,!1))}))],2)};i._withStripped=!0;var r={__name:"HeaderWithCTA",props:{title:{type:String,required:!0},color:{type:String,default:"white"},dark:{type:Boolean,default:!1},component:{type:String,default:"v-btn"},subtitle:{type:String,default:""},buttons:{type:Array}},setup:function(e){return{__sfc:!0,props:e}}},a=n("KHd+"),o=n("ZUTo"),s=n.n(o),l=n("sK+t"),c=Object(a.a)(r,i,[],!1,null,null,null);t.default=c.exports;s()(c,{VCard:l.a})},Puqe:function(e,t,n){var i=n("eUgh"),r=n("OBhP"),a=n("S7Xf"),o=n("4uTw"),s=n("juv8"),l=n("4Oe1"),c=n("xs/l"),u=n("G6z8"),d=c((function(e,t){var n={};if(null==e)return n;var c=!1;t=i(t,(function(t){return t=o(t,e),c||(c=t.length>1),t})),s(e,u(e),n),c&&(n=r(n,7,l));for(var d=t.length;d--;)a(n,t[d]);return n}));e.exports=d},PzpI:function(e,t,n){"use strict";n.r(t);var i=n("H+RQ"),r=n("hNiC");t.default=[{path:"/open-advances",name:"advancesJournalsLanding",component:i.default,children:[{path:"/open-advances",component:function(){return n.e(341).then(n.bind(null,"5kLW"))}}]},{path:"/pricing/institutions",name:"pricinginstitutions",component:r.default,children:[{path:"/",component:function(){return Promise.all([n.e(63),n.e(226)]).then(n.bind(null,"Svx0"))}}]},{path:"/pricing",name:"pricing",component:r.default,children:[{path:"/pricing",component:function(){return n.e(209).then(n.bind(null,"HFDr"))},meta:{title:"Pricing",metaTags:[{name:"description",content:"Fees for individuals and institutional affiliations. Optional add ons, such as language editing and non-commercial copyright licenses."},{property:"og:description",content:"Fees for individuals and institutional affiliations. Optional add ons, such as language editing and non-commercial copyright licenses."}]}}]}]},Q1l4:function(e,t){e.exports=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t}},Q6Zl:function(e,t,n){"use strict";n("7ClH"),n("PYYD");var i=n("w3qa"),r=n("YEyi"),a=n("WN+I");const o=Object(a.a)(r.a,i.a);t.a=o.extend({name:"v-radio-group",provide(){return{radioGroup:this}},props:{column:{type:Boolean,default:!0},height:{type:[Number,String],default:"auto"},name:String,row:Boolean,value:null},computed:{classes(){return{...i.a.options.computed.classes.call(this),"v-input--selection-controls v-input--radio-group":!0,"v-input--radio-group--column":this.column&&!this.row,"v-input--radio-group--row":this.row}}},methods:{genDefaultSlot(){return this.$createElement("div",{staticClass:"v-input--radio-group__input",attrs:{id:this.id,role:"radiogroup","aria-labelledby":this.computedId}},i.a.options.methods.genDefaultSlot.call(this))},genInputSlot(){const e=i.a.options.methods.genInputSlot.call(this);return delete e.data.on.click,e},genLabel(){const e=i.a.options.methods.genLabel.call(this);return e?(e.data.attrs.id=this.computedId,delete e.data.attrs.for,e.tag="legend",e):null},onClick:r.a.options.methods.onClick},render(e){const t=i.a.options.render.call(this,e);return this._b(t.data,"div",this.attrs$),t}})},QILm:function(e,t,n){var i=n("8OQS");e.exports=function(e,t){if(null==e)return{};var n,r,a=i(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},QIyF:function(e,t,n){var i=n("Kz5y");e.exports=function(){return i.Date.now()}},QJZv:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("Kw5r"),r=function(){var e;return(null===(e=Object(i.getCurrentInstance)().proxy)||void 0===e?void 0:e.$vuetify)||void 0}},QPvM:function(e,t,n){"use strict";n.r(t),t.default={path:"/",name:"submissionsDashboard",component:{render:function(e){return e("router-view")}},children:[{path:"/submissions/dashboard",name:"submissionDashboardPage",component:function(){return Promise.all([n.e(0),n.e(1),n.e(6),n.e(2),n.e(1093)]).then(n.bind(null,"Rpzk"))}}]}},QcOe:function(e,t,n){var i=n("GoyQ"),r=n("6sVZ"),a=n("7Ix3"),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return a(e);var t=r(e),n=[];
142for(var s in e)("constructor"!=s||!t&&o.call(e,s))&&n.push(s);return n}},QfBk:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("div",[t("v-menu",{attrs:{"offset-y":""},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,r=n.attrs;return[t("v-btn",e._g(e._b({staticClass:"mr-2",attrs:{outlined:"",small:"",block:"",color:e.selected?"primary":"secondary"}},"v-btn",r,!1),i),[e.selected?t("span",[e._v(e._s(e.options[e.options.findIndex((function(t){return t.slug==e.selected}))].title))]):t("span",[e._v(e._s(e.title))]),t("v-icon",{attrs:{right:""}},[e._v("mdi-menu-down")])],1)]}}])},[e._v(" "),t("v-list",{attrs:{dense:""}},e._l(e.options,(function(n,i){return t("v-list-item",{key:i,on:{click:function(t){return t.preventDefault(),e.emitClick(n.slug)}}},[e.selected?t("v-list-item-icon",[e.selected===n.slug?t("v-icon",{attrs:{color:"primary"}},[e._v("mdi-check-circle")]):t("span",[e._v("Â ")])],1):e._e(),e._v(" "),t("v-list-item-title",[e._v(e._s(n.name))])],1)})),1)],1)],1)};i._withStripped=!0;var r=n("bbSu"),a=n("O0D+"),o={props:{param:String,title:String,items:{},selected:String|Number},data:function(){return{show:!1}},beforeDestroy:function(){document.removeEventListener("click",this.closeDropdown)},methods:{closeDropdown:function(e){this.$el.contains(e.target)||(this.show=!1)},dropdownClicked:function(){this.show=!this.show,document.addEventListener("click",this.closeDropdown)},emitClick:function(e){this.show=!1,document.removeEventListener("click",this.closeDropdown),e!==this.selected&&r.a.$emit(a.default.SEARCH_QUERY_PARAM_CHANGE,{param:this.param,val:e})}},computed:{options:function(){return this.items}}},s=(n("cKyj"),n("KHd+")),l=n("ZUTo"),c=n.n(l),u=n("gzZi"),d=n("Ey0z"),h=n("iGBT"),f=n("2hOt"),p=n("NMP6"),m=n("XSMC"),g=n("5Emp"),v=Object(s.a)(o,i,[],!1,null,"1aed696c",null);t.default=v.exports;c()(v,{VBtn:u.a,VIcon:d.a,VList:h.a,VListItem:f.a,VListItemIcon:p.a,VListItemTitle:m.d,VMenu:g.a})},Qj4J:function(e,t,n){!function(e){"use strict";
143//! moment.js locale configuration 144e.defineLocale("ar-kw",{months:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±".split("_"),monthsShort:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥ØªÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø§ØØ¯_اتÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_اربعاء_Ø®Ù ÙØ³_ج٠عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اÙÙÙ٠عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[أ٠س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ ",dd:"%d Ø£ÙØ§Ù ",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},week:{dow:0,doy:12}})}(n("wd/R"))},Qr4B:function(e,t,n){"use strict";n("3XkK")},R1d8:function(e,t,n){"use strict";n("PaZL")},RAwQ:function(e,t,n){!function(e){"use strict";
145//! moment.js locale configuration 146function t(e,t,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[n][0]:r[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},RBan:function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},RF1r:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"b",(function(){return c}));var i=n("Kw5r"),r=n("jsnD");function a(e,t){var n={};if(Array.isArray(t))t.forEach((function(t){n[t]=function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r.a.dispatch.apply(r.a,["".concat(e,"/").concat(t)].concat(i))}}));else{var i=function(i){n[i]=function(){for(var n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return r.a.dispatch.apply(r.a,["".concat(e,"/").concat(t[i])].concat(a))}};for(var a in t)i(a)}return n}function o(e,t){var n={};if(Array.isArray(t))t.forEach((function(t){n[t]=Object(i.computed)((function(){return r.a.getters["".concat(e,"/").concat(t)]}))}));else{var a=function(a){n[a]=Object(i.computed)((function(){return r.a.getters["".concat(e,"/").concat(t[a])]}))};for(var o in t)a(o)}return n}function s(e){var t={};if(Array.isArray(e))e.forEach((function(e){t[e]=Object(i.computed)((function(){return r.a.getters[e]}))}));else{var n=function(n){t[n]=Object(i.computed)((function(){return r.a.getters[e[n]]}))};for(var a in e)n(a)}return t}function l(e,t){var n={};if(Array.isArray(t))t.forEach((function(t){n[t]=Object(i.computed)({get:function(){return r.a.state[e][t]},set:function(n){return r.a.commit("".concat(e,"/setField"),{field:t,value:n})}})}));else{var a=function(a){n[a]=Object(i.computed)({get:function(){return r.a.state[e][t[a]]},set:function(n){return r.a.commit("".concat(e,"/setField"),{field:t[a],value:n})}})};for(var o in t)a(o)}return n}function c(e){var t=function(){r.a.state[e]={allIds:[],byIri:{},byId:{},error:"",isLoading:!1,resetList:!1}};return{clearState:t}}},RFP9:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"v-application col-flex js-vue-article-timeline",staticStyle:{background:"transparent !important"},attrs:{"data-article-uri":e.articleUri}},[e.timelineData&&e.timelineData.length?t("div",e._l(e.timelineData,(function(n,i){return t("div",{key:JSON.stringify(n),staticClass:"mb-n5px"},[t("div",{staticClass:"d-flex justify-space-between article-timeline"},[t("popper",{attrs:{trigger:"hover",options:{placement:"top"}}},[t("div",{staticClass:"popper cursor-copy",on:{click:function(t){return e.copyRevisionIdToClipboard(n.revisionId)}}},[t("div",[e._v(e._s(n.popoverText||n.text)+" revision")]),e._v(" "),t("div",[e._v(e._s(n.revisionId))])]),e._v(" "),t("a",{staticClass:"top w-full",attrs:{slot:"reference",href:"#"},slot:"reference"},[t("v-chip",{key:i,staticClass:"text-uppercase rounded-0 fixed-width mr-1",attrs:{"x-small":"",label:"","text-color":e.timelineItemTextColor(n.text),color:e.timelineItemChipColor
146(n.text)},on:{click:function(t){return e.copyRevisionIdToClipboard(n.revisionId)}}},[e._v(e._s(n.text)+"\n ")])],1)]),e._v(" "),t("popper",{attrs:{trigger:"hover",options:{placement:"top"}}},[t("div",{staticClass:"popper"},[t("span",[e._v(e._s(e.formattedDate(n.date)))])]),e._v(" "),t("a",{staticClass:"top",staticStyle:{color:"black",cursor:"default"},attrs:{slot:"reference",href:"#"},slot:"reference"},[n.link?t("a",{staticClass:"caption",attrs:{href:n.link}},[e._v(e._s(e.dateLabel(n.date)))]):t("span",{staticClass:"caption"},[e._v(e._s(e.dateLabel(n.date)))])])])],1)])})),0):e._e()])};i._withStripped=!0;var r=n("o0o1"),a=n.n(r),o=n("yXPU"),s=n.n(o),l=n("Um5y"),c=n.n(l),u=(n("oQFu"),n("HwHE")),d={name:"ArticleTimeline",components:{Popper:c.a},props:{articleUri:{required:!0,type:String}},data:function(){return{data:[]}},mounted:function(){this.fetchTimelineData()},computed:{timelineData:function(){return this.data}},methods:{fetchTimelineData:function(){var e=this;return s()(a.a.mark((function t(){var n,i,r,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.articleUri.split("/")[3],i="".concat(e.apiEntrypoint,"/revision_timelines?id=").concat(n),t.prev=2,t.next=5,fetch(i);case 5:return r=t.sent,t.next=8,r.json();case 8:o=t.sent,e.data=o["hydra:member"][0].timelineData,t.next=15;break;case 12:t.prev=12,t.t0=t.catch(2),console.log("Error fetching timeline data",t.t0);case 15:case"end":return t.stop()}}),t,null,[[2,12]])})))()},dateLabel:function(e){var t=new Date(e),n=(new Date).getTime()-t.getTime(),i=Math.round(n/36e5);return isNaN(i)?"":i>23?"".concat(Math.floor(i/24),"d"):"".concat(i,"h")},formattedDate:function(e){return new Date(e).toLocaleString("en-GB",{year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"})},copyRevisionIdToClipboard:function(e){return s()(a.a.mark((function t(){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,navigator.clipboard.writeText(e);case 3:t.next=8;break;case 5:t.prev=5,t.t0=t.catch(0),console.error("Failed to copy: ",t.t0);case 8:case"end":return t.stop()}}),t,null,[[0,5]])})))()},timelineItemTextColor:function(e){var t;return"gray"===(null===(t=u.find((function(t){return(null==t?void 0:t.text)===e})))||void 0===t?void 0:t.color)?"black":"white"},timelineItemChipColor:function(e){var t,n=null===(t=u.find((function(t){return t.text===e})))||void 0===t?void 0:t.color;return n?n+" darken-3":"gray"}}},h=(n("ap0N"),n("KHd+")),f=n("ZUTo"),p=n.n(f),m=n("zCDB"),g=Object(h.a)(d,i,[],!1,null,null,null);t.default=g.exports;p()(g,{VChip:m.a})},RLp7:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return l}));var i,r=n("Kw5r"),a=n("jE9Z"),o=console.warn,s="method can only be used inside setup() or functional components";function l(){var e=Object(r.getCurrentInstance)();if(e)return e.proxy.$root.$router;o(s)}function c(){var e=l();if(e)return i||Object(r.effectScope)(!0).run((function(){i=Object(r.reactive)(u({},e.currentRoute)),e.afterEach((function(e){u(i,e)}))})),i}function u(e,t){for(var n=0,i=Object.keys(t);n<i.length;n++){var r=i[n];e[r]=t[r]}return e}function d(e){var t=Object(r.getCurrentInstance)();if(t){var n=t.proxy.constructor.options,i=n.beforeRouteUpdate||[];i.push(e),n.beforeRouteUpdate=i}else o(s)}a.a.prototype.isReady=function(){var e=this;return new Promise((function(t,n){e.onReady(t,n)}))}},RY00:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("figure",{staticClass:"pj-image",class:e.imgClass,style:n.figureStyle},[t("img",{style:n.autoSizeImageStyle,attrs:{src:e.src,alt:e.caption,width:e.width,height:e.height}}),e._v(" "),e.caption?t("figcaption",{staticClass:"grey--text text--darken-1 mt-1"},[e._v("\n "+e._s(e.caption)+"\n ")]):e._e()])};i._withStripped=!0;var r=n("Kw5r"),a={__name:"Image",props:{src:{type:String,default:""},width:{type:String,default:"100%"},height:{type:String},imgClass:{type:String},caption:{type:String,default:""}},setup:function(e){var t=e,n=Object(r.computed)((function(){return{display:"block",width:t.width||"100%",height:t.height||"auto",margin:0,padding:0}})),i=Object(r.computed)((function(){return t.width||t.height?"":"display:block; width:100%; height:auto;"}));return{__sfc:!0,props:t,figureStyle:n,autoSizeImageStyle:i}}},o=(n("Sa7X"),n("KHd+")),s=Object(o.a)(a,i,[],!1,null,"f9ebe5be",null);t.default=s.exports},RbiO:function(e,t,n){"use strict";
146Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=(0,n("eO9T").regex)("numeric",/^[0-9]*$/);t.default=i},RhzJ:function(e,t,n){"use strict";(function(e){var i=n("GaUR"),r=n("N/XM");function a(e,t,n){let a;a=r.isRef(n)?{evaluating:n}:n||{};const{lazy:o=!1,evaluating:s,shallow:l=!0,onError:c=i.noop}=a,u=r.ref(!o),d=l?r.shallowRef(t):r.ref(t);let h=0;return r.watchEffect(async t=>{if(!u.value)return;h++;const n=h;let i=!1;s&&Promise.resolve().then(()=>{s.value=!0});try{const r=await e(e=>{t(()=>{s&&(s.value=!1),i||e()})});n===h&&(d.value=r)}catch(e){c(e)}finally{s&&n===h&&(s.value=!1),i=!0}}),o?r.computed(()=>(u.value=!0,d.value)):d}function o(e){const t={};for(const n in e)t[i.camelize(n)]=e[n];return t}const s=i.isClient?window:void 0,l=i.isClient?window.document:void 0,c=i.isClient?window.navigator:void 0,u=i.isClient?window.location:void 0;function d(e){var t;const n=i.toValue(e);return null!=(t=null==n?void 0:n.$el)?t:n}function h(...e){let t,n,a,o;if("string"==typeof e[0]||Array.isArray(e[0])?([n,a,o]=e,t=s):[t,n,a,o]=e,!t)return i.noop;Array.isArray(n)||(n=[n]),Array.isArray(a)||(a=[a]);const l=[],c=()=>{l.forEach(e=>e()),l.length=0},u=r.watch(()=>[d(t),i.toValue(o)],([e,t])=>{if(c(),!e)return;const r=i.isObject(t)?{...t}:t;l.push(...n.flatMap(t=>a.map(n=>((e,t,n,i)=>(e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)))(e,t,n,r))))},{immediate:!0,flush:"post"}),h=()=>{u(),c()};return i.tryOnScopeDispose(h),h}let f=!1;function p(...e){let t,n,r={};3===e.length?(t=e[0],n=e[1],r=e[2]):2===e.length?"object"==typeof e[1]?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:a=s,eventName:o="keydown",passive:l=!1,dedupe:c=!1}=r,u="function"==typeof(d=t)?d:"string"==typeof d?e=>e.key===d:Array.isArray(d)?e=>d.includes(e.key):()=>!0;var d;return h(a,o,e=>{e.repeat&&i.toValue(c)||u(e)&&n(e)},l)}function m(){const e=r.ref(!1),t=r.getCurrentInstance();return t&&r.onMounted(()=>{e.value=!0},r.isVue2?void 0:t),e}function g(e){const t=m();return r.computed(()=>(t.value,Boolean(e())))}function v(e,t,n={}){const{window:a=s,...o}=n;let l;const c=g(()=>a&&"MutationObserver"in a),u=()=>{l&&(l.disconnect(),l=void 0)},h=r.computed(()=>{const t=i.toValue(e),n=(Array.isArray(t)?t:[t]).map(d).filter(i.notNullish);return new Set(n)}),f=r.watch(()=>h.value,e=>{u(),c.value&&e.size&&(l=new MutationObserver(t),e.forEach(e=>l.observe(e,o)))},{immediate:!0,flush:"post"}),p=()=>{f(),u()};return i.tryOnScopeDispose(p),{isSupported:c,stop:p,takeRecords:()=>null==l?void 0:l.takeRecords()}}function b(e={}){var t;const{window:n=s,deep:i=!0,triggerOnRemoval:a=!1}=e,o=null!=(t=e.document)?t:null==n?void 0:n.document,l=r.ref(),c=()=>{l.value=(()=>{var e;let t=null==o?void 0:o.activeElement;if(i)for(;null==t?void 0:t.shadowRoot;)t=null==(e=null==t?void 0:t.shadowRoot)?void 0:e.activeElement;return t})()};return n&&(h(n,"blur",e=>{null===e.relatedTarget&&c()},!0),h(n,"focus",c,!0)),a&&v(o,e=>{e.filter(e=>e.removedNodes.length).map(e=>Array.from(e.removedNodes)).flat().forEach(e=>{e===l.value&&c()})},{childList:!0,subtree:!0}),c(),l}function y(e,t={}){const{immediate:n=!0,fpsLimit:a,window:o=s}=t,l=r.ref(!1),c=a?1e3/a:null;let u=0,d=null;function h(t){if(!l.value||!o)return;u||(u=t);const n=t-u;c&&n<c||(u=t,e({delta:n,timestamp:t})),d=o.requestAnimationFrame(h)}function f(){!l.value&&o&&(l.value=!0,u=0,d=o.requestAnimationFrame(h))}function p(){l.value=!1,null!=d&&o&&(o.cancelAnimationFrame(d),d=null)}return n&&f(),i.tryOnScopeDispose(p),{isActive:r.readonly(l),pause:p,resume:f}}function _(e){return new Promise((t,n)=>{const i=new Error("aborted");e.aborted?n(i):e.addEventListener("abort",()=>n(i),{once:!0})})}function x(e,t,n){const{immediate:a=!0,delay:o=0,onError:s=i.noop,onSuccess:l=i.noop,resetOnExecute:c=!0,shallow:u=!0,throwError:d}=null!=n?n:{},h=u?r.shallowRef(t):r.ref(t),f=r.ref(!1),p=r.ref(!1),m=r.shallowRef(void 0);async function g(n=0,...r){c&&(h.value=t),m.value=void 0,f.value=!1,p.value=!0,n>0&&await i.promiseTimeout(n);const a="function"==typeof e?e(...r):e;try{const e=await a;h.value=e,f.value=!0,l(e)}catch(e){if(m.value=e,s(e),d)throw e}finally{p.value=!1}return h.value}a&&g(o);const v={state:h,isReady:f,isLoading:p,error:m,execute:g};return{...v,then:(e,t)=>new Promise((e,t)=>
146{i.until(p).toBe(!1).then(()=>e(v)).catch(t)}).then(e,t)}}const w=e=>JSON.stringify(e),k=e=>JSON.stringify(e),S=e=>JSON.stringify(Array.from(e)),M=e=>JSON.stringify(Object.fromEntries(e)),L=()=>"";function A(e){return new Promise((t,n)=>{const i=new FileReader;i.onload=e=>{t(e.target.result)},i.onerror=n,i.readAsDataURL(e)})}function O(e,t={}){const{window:n=s}=t,a=g(()=>n&&"matchMedia"in n&&"function"==typeof n.matchMedia);let o;const l=r.ref(!1),c=e=>{l.value=e.matches},u=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",c):o.removeListener(c))},d=r.watchEffect(()=>{a.value&&(u(),o=n.matchMedia(i.toValue(e)),"addEventListener"in o?o.addEventListener("change",c):o.addListener(c),l.value=o.matches)});return i.tryOnScopeDispose(()=>{d(),u(),o=void 0}),l}const C={xs:0,sm:600,md:960,lg:1264,xl:1904},T=C;const E=["hash","host","hostname","href","pathname","port","protocol","search"];function D(e,t={}){const{controls:n=!1,navigator:a=c}=t,o=g(()=>a&&"permissions"in a),s=r.shallowRef(),l="string"==typeof e?{name:e}:e,u=r.shallowRef(),d=()=>{var e,t;u.value=null!=(t=null==(e=s.value)?void 0:e.state)?t:"prompt"};h(s,"change",d);const f=i.createSingletonPromise(async()=>{if(o.value){if(!s.value)try{s.value=await a.permissions.query(l)}catch(e){s.value=void 0}finally{d()}return n?r.toRaw(s.value):void 0}});return f(),n?{state:u,isSupported:o,query:f}:u}function P(e){return JSON.parse(JSON.stringify(e))}const j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},Y="__vueuse_ssr_handlers__",I=R();function R(){return Y in j||(j[Y]=j[Y]||{}),j[Y]}function H(e,t){return I[e]||t}function N(e){return O("(prefers-color-scheme: dark)",e)}function F(e){return null==e?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":"boolean"==typeof e?"boolean":"string"==typeof e?"string":"object"==typeof e?"object":Number.isNaN(e)?"any":"number"}const z={boolean:{read:e=>"true"===e,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}};function B(e,t,n,a={}){var o;const{flush:l="pre",deep:c=!0,listenToStorageChanges:u=!0,writeDefaults:d=!0,mergeDefaults:f=!1,shallow:p,window:m=s,eventFilter:g,onError:v=(e=>{console.error(e)}),initOnMounted:b}=a,y=(p?r.shallowRef:r.ref)("function"==typeof t?t():t);if(!n)try{n=H("getDefaultStorage",()=>{var e;return null==(e=s)?void 0:e.localStorage})()}catch(e){v(e)}if(!n)return y;const _=i.toValue(t),x=F(_),w=null!=(o=a.serializer)?o:z[x],{pause:k,resume:S}=i.pausableWatch(y,()=>function(t){try{const i=n.getItem(e);if(null==t)M(i,null),n.removeItem(e);else{const r=w.write(t);i!==r&&(n.setItem(e,r),M(i,r))}}catch(e){v(e)}}(y.value),{flush:l,deep:c,eventFilter:g});function M(t,i){if(m){const r={key:e,oldValue:t,newValue:i,storageArea:n};m.dispatchEvent(n instanceof Storage?new StorageEvent("storage",r):new CustomEvent("vueuse-storage",{detail:r}))}}function L(t){if(!t||t.storageArea===n)if(t&&null==t.key)y.value=_;else if(!t||t.key===e){k();try{(null==t?void 0:t.newValue)!==w.write(y.value)&&(y.value=function(t){const i=t?t.newValue:n.getItem(e);if(null==i)return d&&null!=_&&n.setItem(e,w.write(_)),_;if(!t&&f){const e=w.read(i);return"function"==typeof f?f(e,_):"object"!==x||Array.isArray(e)?e:{..._,...e}}return"string"!=typeof i?i:w.read(i)}(t))}catch(e){v(e)}finally{t?r.nextTick(S):S()}}}function A(e){L(e.detail)}return m&&u&&i.tryOnMounted(()=>{n instanceof Storage?h(m,"storage",L):h(m,"vueuse-storage",A),b&&L()}),b||L(),y}function W(e={}){const{selector:t="html",attribute:n="class",initialValue:a="auto",window:o=s,storage:l,storageKey:c="vueuse-color-scheme",listenToStorageChanges:u=!0,storageRef:h,emitAuto:f,disableTransition:p=!0}=e,m={auto:"",light:"light",dark:"dark",...e.modes||{}},g=N({window:o}),v=r.computed(()=>g.value?"dark":"light"),b=h||(null==c?i.toRef(a):B(c,a,l,{window:o,listenToStorageChanges:u})),y=r.computed(()=>"auto"===b.value?v.value:b.value),_=H("updateHTMLAttrs",(e,t,n)=>{const i="string"==typeof e?null==o?void 0:o.document.querySelector(e):d(e);if(!i)return;const r=new Set,a=new Set;let s,l=null;if("class"===t){const e=n.split(/\s/g);Object.values(m).flatMap(e=>
146(e||"").split(/\s/g)).filter(Boolean).forEach(t=>{e.includes(t)?r.add(t):a.add(t)})}else l={key:t,value:n};if(0!==r.size||0!==a.size||null!==l){p&&(s=o.document.createElement("style"),s.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),o.document.head.appendChild(s));for(const e of r)i.classList.add(e);for(const e of a)i.classList.remove(e);l&&i.setAttribute(l.key,l.value),p&&(o.getComputedStyle(s).opacity,document.head.removeChild(s))}});function x(e){var i;_(t,n,null!=(i=m[e])?i:e)}function w(t){e.onChanged?e.onChanged(t,x):x(t)}r.watch(y,w,{flush:"post",immediate:!0}),i.tryOnMounted(()=>w(y.value));const k=r.computed({get:()=>f?b.value:y.value,set(e){b.value=e}});try{return Object.assign(k,{store:b,system:v,state:y})}catch(e){return k}}function V(e,t,n={}){const{window:a=s,initialValue:o,observe:l=!1}=n,c=r.ref(o),u=r.computed(()=>{var e;return d(t)||(null==(e=null==a?void 0:a.document)?void 0:e.documentElement)});function h(){var t;const n=i.toValue(e),r=i.toValue(u);if(r&&a&&n){const e=null==(t=a.getComputedStyle(r).getPropertyValue(n))?void 0:t.trim();c.value=e||o}}return l&&v(u,h,{attributeFilter:["style","class"],window:a}),r.watch([u,()=>i.toValue(e)],(e,t)=>{t[0]&&t[1]&&t[0].style.removeProperty(t[1]),h()},{immediate:!0}),r.watch(c,t=>{var n;const r=i.toValue(e);(null==(n=u.value)?void 0:n.style)&&r&&(null==t?u.value.style.removeProperty(r):u.value.style.setProperty(r,t))}),c}function $(e){const t=r.getCurrentInstance(),n=i.computedWithControl(()=>null,()=>e?d(e):t.proxy.$el);return r.onUpdated(n.trigger),r.onMounted(n.trigger),n}function U(e){return e}function X(e,t){return e.value=t}function G(e){return e?"function"==typeof e?e:P:U}function q(e){return e?"function"==typeof e?e:P:U}function J(e,t={}){const{clone:n=!1,dump:a=G(n),parse:o=q(n),setSource:s=X}=t;function l(){return r.markRaw({snapshot:a(e.value),timestamp:i.timestamp()})}const c=r.ref(l()),u=r.ref([]),d=r.ref([]),h=t=>{s(e,o(t.snapshot)),c.value=t},f=r.computed(()=>[c.value,...u.value]),p=r.computed(()=>u.value.length>0),m=r.computed(()=>d.value.length>0);return{source:e,undoStack:u,redoStack:d,last:c,history:f,canUndo:p,canRedo:m,clear:()=>{u.value.splice(0,u.value.length),d.value.splice(0,d.value.length)},commit:()=>{u.value.unshift(c.value),c.value=l(),t.capacity&&u.value.length>t.capacity&&u.value.splice(t.capacity,Number.POSITIVE_INFINITY),d.value.length&&d.value.splice(0,d.value.length)},reset:()=>{h(c.value)},undo:()=>{const e=u.value.shift();e&&(d.value.unshift(c.value),h(e))},redo:()=>{const e=d.value.shift();e&&(u.value.unshift(c.value),h(e))}}}function K(e,t={}){const{deep:n=!1,flush:r="pre",eventFilter:a}=t,{eventFilter:o,pause:s,resume:l,isActive:c}=i.pausableFilter(a),{ignoreUpdates:u,ignorePrevAsyncUpdates:d,stop:h}=i.watchIgnorable(e,g,{deep:n,flush:r,eventFilter:o});const f=J(e,{...t,clone:t.clone||n,setSource:function(e,t){d(),u(()=>{e.value=t})}}),{clear:p,commit:m}=f;function g(){d(),m()}return{...f,isTracking:c,pause:s,resume:function(e){l(),e&&g()},commit:g,batch:function(e){let t=!1;const n=()=>t=!0;u(()=>{e(n)}),t||g()},dispose:function(){h(),p()}}}function Z(e={}){const{window:t=s}=e,n=g(()=>t&&"DeviceOrientationEvent"in t),i=r.ref(!1),a=r.ref(null),o=r.ref(null),l=r.ref(null);return t&&n.value&&h(t,"deviceorientation",e=>{i.value=e.absolute,a.value=e.alpha,o.value=e.beta,l.value=e.gamma}),{isSupported:n,isAbsolute:i,alpha:a,beta:o,gamma:l}}function Q(e={}){const{document:t=l}=e;if(!t)return r.ref("visible");const n=r.ref(t.visibilityState);return h(t,"visibilitychange",()=>{n.value=t.visibilityState}),n}function ee(e,t,n={}){const{window:a=s,...o}=n;let l;const c=g(()=>a&&"ResizeObserver"in a),u=()=>{l&&(l.disconnect(),l=void 0)},h=r.computed(()=>{const t=i.toValue(e);return Array.isArray(t)?t.map(e=>d(e)):[d(t)]}),f=r.watch(h,e=>
146{if(u(),c.value&&a){l=new ResizeObserver(t);for(const t of e)t&&l.observe(t,o)}},{immediate:!0,flush:"post"}),p=()=>{u(),f()};return i.tryOnScopeDispose(p),{isSupported:c,stop:p}}function te(e,t={width:0,height:0},n={}){const{window:a=s,box:o="content-box"}=n,l=r.computed(()=>{var t,n;return null==(n=null==(t=d(e))?void 0:t.namespaceURI)?void 0:n.includes("svg")}),c=r.ref(t.width),u=r.ref(t.height),{stop:h}=ee(e,([t])=>{const n="border-box"===o?t.borderBoxSize:"content-box"===o?t.contentBoxSize:t.devicePixelContentBoxSize;if(a&&l.value){const t=d(e);if(t){const e=t.getBoundingClientRect();c.value=e.width,u.value=e.height}}else if(n){const e=Array.isArray(n)?n:[n];c.value=e.reduce((e,{inlineSize:t})=>e+t,0),u.value=e.reduce((e,{blockSize:t})=>e+t,0)}else c.value=t.contentRect.width,u.value=t.contentRect.height},n);i.tryOnMounted(()=>{const n=d(e);n&&(c.value="offsetWidth"in n?n.offsetWidth:t.width,u.value="offsetHeight"in n?n.offsetHeight:t.height)});const f=r.watch(()=>d(e),e=>{c.value=e?t.width:0,u.value=e?t.height:0});return{width:c,height:u,stop:function(){h(),f()}}}function ne(e,t,n={}){const{root:a,rootMargin:o="0px",threshold:l=0,window:c=s,immediate:u=!0}=n,h=g(()=>c&&"IntersectionObserver"in c),f=r.computed(()=>{const t=i.toValue(e);return(Array.isArray(t)?t:[t]).map(d).filter(i.notNullish)});let p=i.noop;const m=r.ref(u),v=h.value?r.watch(()=>[f.value,d(a),m.value],([e,n])=>{if(p(),!m.value)return;if(!e.length)return;const r=new IntersectionObserver(t,{root:d(n),rootMargin:o,threshold:l});e.forEach(e=>e&&r.observe(e)),p=()=>{r.disconnect(),p=i.noop}},{immediate:u,flush:"post"}):i.noop,b=()=>{p(),v(),m.value=!1};return i.tryOnScopeDispose(b),{isSupported:h,isActive:m,pause(){p(),m.value=!1},resume(){m.value=!0},stop:b}}function ie(e,t={}){const{window:n=s,scrollTarget:i,threshold:a=0}=t,o=r.ref(!1);return ne(e,e=>{let t=o.value,n=0;for(const i of e)i.time>=n&&(n=i.time,t=i.isIntersecting);o.value=t},{root:i,window:n,threshold:a}),o}const re=new Map;const ae={json:"application/json",text:"text/plain"};function oe(e){return e&&i.containsProp(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}const se=/^(?:[a-z][a-z\d+\-.]*:)?\/\//i;function le(e){return"undefined"!=typeof Headers&&e instanceof Headers?Object.fromEntries(e.entries()):e}function ce(e,...t){return"overwrite"===e?async e=>{const n=t[t.length-1];return n?{...e,...await n(e)}:e}:async e=>{for(const n of t)n&&(e={...e,...await n(e)});return e}}function ue(e,...t){var n;const a="function"==typeof AbortController;let o={},l={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const c={method:"GET",type:"text",payload:void 0};t.length>0&&(oe(t[0])?l={...l,...t[0]}:o=t[0]),t.length>1&&oe(t[1])&&(l={...l,...t[1]});const{fetch:u=(null==(n=s)?void 0:n.fetch),initialData:d,timeout:h}=l,f=i.createEventHook(),p=i.createEventHook(),m=i.createEventHook(),g=r.ref(!1),v=r.ref(!1),b=r.ref(!1),y=r.ref(null),_=r.shallowRef(null),x=r.shallowRef(null),w=r.shallowRef(d||null),k=r.computed(()=>a&&v.value);let S,M;const L=()=>{a&&(null==S||S.abort(),S=new AbortController,S.signal.onabort=()=>b.value=!0,o={...o,signal:S.signal})},A=e=>{v.value=e,g.value=!e};h&&(M=i.useTimeoutFn(L,h,{immediate:!1}));let O=0;const C=async(t=!1)=>{var n,r;L(),A(!0),x.value=null,y.value=null,b.value=!1,O+=1;const a=O,s={method:c.method,headers:{}};if(c.payload){const e=le(s.headers),t=i.toValue(c.payload);c.payloadType||!t||Object.getPrototypeOf(t)!==Object.prototype||t instanceof FormData||(c.payloadType="json"),c.payloadType&&(e["Content-Type"]=null!=(n=ae[c.payloadType])?n:c.payloadType),s.body="json"===c.payloadType?JSON.stringify(t):t}let h=!1;const g={url:i.toValue(e),options:{...s,...o},cancel:()=>{h=!0}};if(l.beforeFetch&&Object.assign(g,await l.beforeFetch(g)),h||!u)return A(!1),Promise.resolve(null);let v=null;return M&&M.start(),u(g.url,{...s,...g.options,headers:{...le(s.headers),...le(null==(r=g.options)?void 0:r.headers)}}).then(async e=>{if(_.value=e,y.value=e.status,v=await e.clone()[c.type](),!e.ok)throw w.value=d||null,new Error(e.statusText);return l.afterFetch&&({data:v}=await l.afterFetch({data:v,response:e})),w.value=v,f.trigger(e),e}).catch(async e=>{let n=e.message||e.name;if(l.onFetchError&&({error:n,data:v}=await l.onFetchError({data:v,error:e,response:_.value})),x.value=n,l.updateDataOnError&&(w.value=v),p.trigger(e),t)throw e;return null}).finally(()=>{a===O&&A(!1),M&&M.stop(),m.trigger(null)})},T=i.toRef(l.refetch);r.watch([T,i.toRef(e)],([e])=>e&&C(),{deep:!0});const E={isFinished:r.readonly(g),isFetching:r.readonly(v),statusCode:y,response:_,error:x,data:w,canAbort:k,aborted:b,abort:L,execute:C,onFetchResponse:f.on,onFetchError:p.on,onFetchFinally:m.on,get:D("GET"),put:D("PUT"),post:D("POST"),delete:D("DELETE"),patch:D("PATCH"),head:D("HEAD"),options:D("OPTIONS"),json:j("json"),text:j("text"),blob:j("blob"),arrayBuffer:j("arrayBuffer"),formData:j("formData")};function D(e){return(t,n)=>{if(!v.value)return c.method=e,c.payload=t,c.payloadType=n,r.isRef(c.payload)&&r.watch([T,i.toRef(c.payload)],([e])=>e&&C(),{deep:!0}),{...E,then:(e,t)=>P().then(e,t)}}}function P(){return new Promise((e,t)=>
146{i.until(g).toBe(!0).then(()=>e(E)).catch(e=>t(e))})}function j(e){return()=>{if(!v.value)return c.type=e,{...E,then:(e,t)=>P().then(e,t)}}}return l.immediate&&Promise.resolve().then(()=>C()),{...E,then:(e,t)=>P().then(e,t)}}const de={multiple:!0,accept:"*",reset:!1,directory:!1};const he=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];const fe=["mousemove","mousedown","resize","keydown","touchstart","wheel"];function pe(e){return"undefined"!=typeof Window&&e instanceof Window?e.document.documentElement:"undefined"!=typeof Document&&e instanceof Document?e.documentElement:e}function me(e,t={}){const{throttle:n=0,idle:a=200,onStop:o=i.noop,onScroll:l=i.noop,offset:c={left:0,right:0,top:0,bottom:0},eventListenerOptions:u={capture:!1,passive:!0},behavior:f="auto",window:p=s,onError:m=(e=>{console.error(e)})}=t,g=r.ref(0),v=r.ref(0),b=r.computed({get:()=>g.value,set(e){_(e,void 0)}}),y=r.computed({get:()=>v.value,set(e){_(void 0,e)}});function _(t,n){var r,a,o,s;if(!p)return;const l=i.toValue(e);if(!l)return;null==(o=l instanceof Document?p.document.body:l)||o.scrollTo({top:null!=(r=i.toValue(n))?r:y.value,left:null!=(a=i.toValue(t))?a:b.value,behavior:i.toValue(f)});const c=(null==(s=null==l?void 0:l.document)?void 0:s.documentElement)||(null==l?void 0:l.documentElement)||l;null!=b&&(g.value=c.scrollLeft),null!=y&&(v.value=c.scrollTop)}const x=r.ref(!1),w=r.reactive({left:!0,right:!1,top:!0,bottom:!1}),k=r.reactive({left:!1,right:!1,top:!1,bottom:!1}),S=e=>{x.value&&(x.value=!1,k.left=!1,k.right=!1,k.top=!1,k.bottom=!1,o(e))},M=i.useDebounceFn(S,n+a),L=e=>{var t;if(!p)return;const n=(null==(t=null==e?void 0:e.document)?void 0:t.documentElement)||(null==e?void 0:e.documentElement)||d(e),{display:i,flexDirection:r}=getComputedStyle(n),a=n.scrollLeft;k.left=a<g.value,k.right=a>g.value;const o=Math.abs(a)<=(c.left||0),s=Math.abs(a)+n.clientWidth>=n.scrollWidth-(c.right||0)-1;"flex"===i&&"row-reverse"===r?(w.left=s,w.right=o):(w.left=o,w.right=s),g.value=a;let l=n.scrollTop;e!==p.document||l||(l=p.document.body.scrollTop),k.top=l<v.value,k.bottom=l>v.value;const u=Math.abs(l)<=(c.top||0),h=Math.abs(l)+n.clientHeight>=n.scrollHeight-(c.bottom||0)-1;"flex"===i&&"column-reverse"===r?(w.top=h,w.bottom=u):(w.top=u,w.bottom=h),v.value=l},A=e=>{var t;if(!p)return;const n=null!=(t=e.target.documentElement)?t:e.target;L(n),x.value=!0,M(e),l(e)};return h(e,"scroll",n?i.useThrottleFn(A,n,!0,!1):A,u),i.tryOnMounted(()=>{try{const t=i.toValue(e);if(!t)return;L(t)}catch(e){m(e)}}),h(e,"scrollend",S,u),{x:b,y:y,isScrolling:x,arrivedState:w,directions:k,measure(){const t=i.toValue(e);p&&t&&L(t)}}}const ge=["mousedown","mouseup","keydown","keyup"];const ve={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function be(e,t){i.toValue(e)&&t(i.toValue(e))}function ye(e){return Array.from(e).map(({label:e,kind:t,language:n,mode:i,activeCues:r,cues:a,inBandMetadataTrackDispatchType:o},s)=>({id:s,label:e,kind:t,language:n,mode:i,activeCues:r,cues:a,inBandMetadataTrackDispatchType:o}))}const _e={src:"",tracks:[]};const xe={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function we(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:i=!1,initialValue:a={x:0,y:0},window:o=s,target:l=o,scroll:c=!0,eventFilter:u}=e;let d=null;const f=r.ref(a.x),p=r.ref(a.y),m=r.ref(null),g="function"==typeof t?t:xe[t],v=e=>{const t=g(e);d=e,t&&([f.value,p.value]=t,m.value="mouse")},b=e=>{if(e.touches.length>0){const t=g(e.touches[0]);t&&([f.value,p.value]=t,m.value="touch")}},y=()=>{if(!d||!o)return;const e=g(d);d instanceof MouseEvent&&e&&(f.value=e[0]+o.scrollX,p.value=e[1]+o.scrollY)},_=()=>{f.value=a.x,p.value=a.y},x=u?e=>u(()=>v(e),{}):e=>v(e),w=u?e=>u(()=>b(e),{}):e=>b(e),k=u?()=>u(()=>y(),{}):()=>y();if(l){const e={passive:!0};h(l,["mousemove","dragover"],x,e),n&&"movement"!==t&&(h(l,["touchstart","touchmove"],w,e),i&&h(l,"touchend",_,e)),c&&"page"===t&&h(o,"scroll",k,{passive:!0})}return{x:f,y:p,sourceType:m}}function ke(e,t={}){const{handleOutside:n=!0,window:i=s}=t,a=t.type||"page",{x:o,y:l,sourceType:c}=we(t),u=r.ref(null!=e?e:null==i?void 0:i.document.body),f=r.ref(0),p=r.ref(0),m=r.ref(0),g=r.ref(0),v=r.ref(0),b=r.ref(0),y=r.ref(!0);let _=()=>{};return i&&(_=r.watch([u,o,l],()=>{const e=d(u);if(!(e&&e instanceof Element))return;const{left:t,top:r,width:s,height:c}=e.getBoundingClientRect();m.value=t+("page"===a?i.pageXOffset:0),g.value=r+("page"===a?i.pageYOffset:0),v.value=c,b.value=s;const h=o.value-m.value,_=l.value-g.value;
146y.value=0===s||0===c||h<0||_<0||h>s||_>c,!n&&y.value||(f.value=h,p.value=_)},{immediate:!0}),h(document,"mouseleave",()=>{y.value=!0})),{x:o,y:l,sourceType:c,elementX:f,elementY:p,elementPositionX:m,elementPositionY:g,elementHeight:v,elementWidth:b,isOutside:y,stop:_}}function Se(e={}){const{window:t=s}=e,n=null==t?void 0:t.navigator,i=g(()=>n&&"connection"in n),a=r.ref(!0),o=r.ref(!1),l=r.ref(void 0),c=r.ref(void 0),u=r.ref(void 0),d=r.ref(void 0),f=r.ref(void 0),p=r.ref(void 0),m=r.ref("unknown"),v=i.value&&n.connection;function b(){n&&(a.value=n.onLine,l.value=a.value?void 0:Date.now(),c.value=a.value?Date.now():void 0,v&&(u.value=v.downlink,d.value=v.downlinkMax,p.value=v.effectiveType,f.value=v.rtt,o.value=v.saveData,m.value=v.type))}return t&&(h(t,"offline",()=>{a.value=!1,l.value=Date.now()}),h(t,"online",()=>{a.value=!0,c.value=Date.now()})),v&&h(v,"change",b,!1),b(),{isSupported:r.readonly(i),isOnline:r.readonly(a),saveData:r.readonly(o),offlineAt:r.readonly(l),onlineAt:r.readonly(c),downlink:r.readonly(u),downlinkMax:r.readonly(d),effectiveType:r.readonly(p),rtt:r.readonly(f),type:r.readonly(m)}}function Me(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}
146=e,a=r.ref(new Date),o=()=>a.value=new Date,s="requestAnimationFrame"===n?y(o,{immediate:!0}):i.useIntervalFn(o,n,{immediate:!0});return t?{now:a,...s}:a}function Le(e,t,n){if("function"==typeof e||r.isReadonly(e))return r.computed(()=>i.clamp(i.toValue(e),i.toValue(t),i.toValue(n)));const a=r.ref(e);return r.computed({get:()=>a.value=i.clamp(a.value,i.toValue(t),i.toValue(n)),set(e){a.value=i.clamp(e,i.toValue(t),i.toValue(n))}})}function Ae(e={}){const{window:t=s}=e,n=g(()=>t&&"screen"in t&&"orientation"in t.screen),i=n.value?t.screen.orientation:{},a=r.ref(i.type),o=r.ref(i.angle||0);n.value&&h(t,"orientationchange",()=>{a.value=i.type,o.value=i.angle});return{isSupported:n,orientation:a,angle:o,lockOrientation:e=>n.value&&"function"==typeof i.lock?i.lock(e):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{n.value&&"function"==typeof i.unlock&&i.unlock()}}}const Oe={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},Ce=Object.keys(Oe);function Te(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}function Ee(e){const t=e||window.event;return!function e(t){const n=window.getComputedStyle(t);if("scroll"===n.overflowX||"scroll"===n.overflowY||"auto"===n.overflowX&&t.clientWidth<t.scrollWidth||"auto"===n.overflowY&&t.clientHeight<t.scrollHeight)return!0;{const n=t.parentNode;return!(!n||"BODY"===n.tagName)&&e(n)}}(t.target)&&(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))}const De=new WeakMap;const Pe=(e,t)=>e.sort(t),je=(e,t)=>e-t;let Ye=0;const Ie=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],Re={justNow:"just now",past:e=>e.match(/\d/)?e+" ago":e,future:e=>e.match(/\d/)?"in "+e:e,month:(e,t)=>1===e?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>1===e?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>1===e?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>1===e?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function He(e){return e.toISOString().slice(0,10)}function Ne(e,t={},n=Date.now()){var i;const{max:r,messages:a=Re,fullDateFormatter:o=He,units:s=Ie,showSecond:l=!1,rounding:c="round"}=t,u="number"==typeof c?e=>+e.toFixed(c):Math[c],d=+n-+e,h=Math.abs(d);function f(e,t){return u(Math.abs(e)/t.value)}function p(e,t){const n=f(e,t),i=e>0,r=m(t.name,n,i);return m(i?"past":"future",r,i)}function m(e,t,n){const i=a[e];return"function"==typeof i?i(t,n):i.replace("{0}",t.toString())}if(h<6e4&&!l)return a.justNow;if("number"==typeof r&&h>r)return o(new Date(e));if("string"==typeof r){const t=null==(i=s.find(e=>e.name===r))?void 0:i.max;if(t&&h>t)return o(new Date(e))}for(const[e,t]of s.entries()){if(f(d,t)<=0&&s[e-1])return p(d,s[e-1]);if(h<t.max)return p(d,t)}return a.invalid}const Fe={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]},ze=Object.assign({},{linear:i.identity},Fe);function Be([e,t,n,i]){const r=(e,t)=>1-3*t+3*e,a=(e,t)=>3*t-6*e,o=e=>3*e,s=(e,t,n)=>((r(t,n)*e+a(t,n))*e+o(t))*e;return l=>e===t&&n===i?l:s((t=>{let i=t;for(let d=0;d<4;++d){const d=(l=i,3*r(c=e,u=n)*l*l+2*a(c,u)*l+o(c));if(0===d)return i;i-=(s(i,e,n)-t)/d}var l,c,u;return i})(l),t,i)}function We(e,t,n){return e+n*(t-e)}function Ve(e){return("number"==typeof e?[e]:e)||[]}function $e(e,t,n,r={}){var a,o;const s=i.toValue(t),l=i.toValue(n),c=Ve(s),u=Ve(l),d=null!=(a=i.toValue(r.duration))?a:1e3,h=Date.now(),f=Date.now()+d,p="function"==typeof r.transition?r.transition:null!=(o=i.toValue(r.transition))?o:i.identity,m="function"==typeof p?p:Be(p);return new Promise(t=>{e.value=s;const n=()=>{var i;if(null==(i=r.abort)?void 0:i.call(r))return void t();const a=Date.now(),o=m((a-h)/d),s=Ve(e.value).map((e,t)=>We(c[t],u[t],o));Array.isArray(e.value)?e.value=s.map((e,t)=>{var n,i;return We(null!=(n=c[t])?n:0,null!=(i=u[t])?i:0,o)}):"number"==typeof e.value&&(e.value=s[0]),a<f?requestAnimationFrame(n):(e.value=l,t())};n()})}function Ue(e,t,n,a={}){var o,s,l,c,u;const{clone:d=!1,passive:h=!1,eventName:f,deep:p=!1,defaultValue:m,shouldEmit:g}=a,v=r.getCurrentInstance(),b=n||(null==v?void 0:v.emit)||(null==(o=null==v?void 0:v.$emit)?void 0:o.bind(v))||(null==(l=null==(s=null==v?void 0:v.proxy)?void 0:s.$emit)?void 0:l.bind(null==v?void 0:v.proxy));let y=f;if(!t)if(r.isVue2){const e=null==(u=null==(c=null==v?void 0:v.proxy)?void 0:c.$options)?void 0:u.model;t=(null==e?void 0:e.value)||"value",f||(y=(null==e?void 0:e.event)||"input")}else t="modelValue";y=y||"update:"+t.toString();const _=e=>d?"function"==typeof d?d(e):P(e):e,x=()=>i.isDef(e[t])?_(e[t]):m,w=e=>{g?g(e)&&b(y,e):b(y,e)};if(h){const n=x(),i=r.ref(n);let a=!1;return r.watch(()=>e[t],e=>{a||(a=!0,i.value=_(e),r.nextTick(()=>a=!1))}),r.watch(i,n=>{a||n===e[t]&&!p||w(n)},{deep:p}),i}return r.computed({get:()=>x(),set(e){w(e)}})}function Xe(e){const t=r.ref(null),n=te(t),i=r.ref([]),a=r.shallowRef(e);return{state:r.ref({start:0,end:10}),source:a,currentList:i,size:n,containerRef:t}}function Ge(e,t,n){return i=>{if("number"==typeof n)return Math.ceil(i/n);const{start:r=0}=e.value;let a=0,o=0;for(let e=r;e<t.value.length;e++){if(a+=n(e),o=e,a>i)break}return o-r}}function qe(e,t){return n=>{if("number"==typeof t)return Math.floor(n/t)+1;let i=0,r=0;for(let a=0;a<e.value.length;a++){if(i+=t(a),i>=n){r=a;break}}return r+1}}function Je(e,t,n,i,{containerRef:r,state:a,currentList:o,source:s}){return()=>{const l=r.value;if(l){const r=n("vertical"===e?l.scrollTop:l.scrollLeft),c=i("vertical"===e?l.clientHeight:l.clientWidth),u=r-t,d=r+c+t;a.value={start:u<0?0:u,end:d>s.value.length?s.value.length:d},o.value=s.value.slice(a.value.start,a.value.end).map((e,t)=>({data:e,index:t+a.value.start}))}}}function Ke(e,t){return n=>{if("number"==typeof e){return n*e}return t.value.slice(0,n).reduce((t,n,i)=>t+e(i),0)}}function Ze(e,t,n,i){r.watch([e.width,e.height,t,n],()=>{i()})}function Qe(e,t){return r.computed(()=>"number"==typeof e?t.value.length*e:t.value.reduce((t,n,i)=>t+e(i),0))}const et={horizontal:"scrollLeft",vertical:"scrollTop"};function tt(e,t,n,i){return r=>{i.value&&(i.value[et[e]]=n(r),t())}}const nt="ping";function it(e){return!0===e?{}:e}function rt(e){return t=>{const n=t.data[0];return Promise.resolve(e.apply(void 0,n)).then(e=>{postMessage(["SUCCESS",e])}).catch(e=>{postMessage(["ERROR",e])})}}function at(e,t,n){const i=`${function(e,t){if(0===e.length&&0===t.length)return"";const n=e.map(e=>`'${e}'`).toString(),i=t.filter(e=>"function"==typeof e).map(e=>{const t=e.toString();if(t.trim().startsWith("function"))return t;return`const ${e.name} = ${t}`}).join(";"),r=`importScripts(${n});`;return`${""===n.trim()?"":r} ${i}`}(t,n)}; onmessage=(${rt})(${e})`,r=new Blob([i],{type:"text/javascript"});return URL.createObjectURL(r)}t.DefaultMagicKeysAliasMap=ve,t.StorageSerializers=z,t.TransitionPresets=ze,t.asyncComputed=a,t.breakpointsAntDesign={xs:480,sm:576,md:768,lg:992,xl:1200,xxl:1600},t.breakpointsBootstrapV5={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400},t.breakpointsMasterCss={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},t.breakpointsPrimeFlex={sm:576,md:768,lg:992,xl:1200},t.breakpointsQuasar={xs:0,sm:600,md:1024,lg:1440,xl:1920},t.breakpointsSematic={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptop:1024,laptopL:1440,desktop4K:2560}
146,t.breakpointsTailwind={sm:640,md:768,lg:1024,xl:1280,"2xl":1536},t.breakpointsVuetify=T,t.breakpointsVuetifyV2=C,t.breakpointsVuetifyV3={xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560},t.cloneFnJSON=P,t.computedAsync=a,t.computedInject=function(e,t,n,i){let a=r.inject(e);return n&&(a=r.inject(e,n)),i&&(a=r.inject(e,n,i)),"function"==typeof t?r.computed(e=>t(a,e)):r.computed({get:e=>t.get(a,e),set:t.set})},t.createFetch=function(e={}){const t=e.combination||"chain",n=e.options||{},a=e.fetchOptions||{};return function(o,...s){const l=r.computed(()=>{const t=i.toValue(e.baseUrl),n=i.toValue(o);return t&&!function(e){return se.test(e)}(n)?(a=n,(r=t).endsWith("/")||a.startsWith("/")?`${r}${a}`:`${r}/${a}`):n;var r,a});let c=n,u=a;return s.length>0&&(oe(s[0])?c={...c,...s[0],beforeFetch:ce(t,n.beforeFetch,s[0].beforeFetch),afterFetch:ce(t,n.afterFetch,s[0].afterFetch),onFetchError:ce(t,n.onFetchError,s[0].onFetchError)}:u={...u,...s[0],headers:{...le(u.headers)||{},...le(s[0].headers)||{}}}),s.length>1&&oe(s[1])&&(c={...c,...s[1],beforeFetch:ce(t,n.beforeFetch,s[1].beforeFetch),afterFetch:ce(t,n.afterFetch,s[1].afterFetch),onFetchError:ce(t,n.onFetchError,s[1].onFetchError)}),ue(l,u,c)}},t.createReusableTemplate=function(e={}){if(!r.isVue3&&!r.version.startsWith("2.7."))return void 0;const{inheritAttrs:t=!0}=e,n=r.shallowRef(),a=r.defineComponent({setup:(e,{slots:t})=>()=>{n.value=t.default}}),s=r.defineComponent({inheritAttrs:t,setup:(e,{attrs:i,slots:r})=>()=>{var e;n.value;const a=null==(e=n.value)?void 0:e.call(n,{...o(i),$slots:r});return t&&1===(null==a?void 0:a.length)?a[0]:a}});return i.makeDestructurable({define:a,reuse:s},[a,s])},t.createTemplatePromise=function(e={}){if(!r.isVue3)return void 0;let t=0;const n=r.ref([]),i=r.defineComponent((t,{slots:i})=>{const a=()=>n.value.map(e=>{var t;return r.h(r.Fragment,{key:e.key},null==(t=i.default)?void 0:t.call(i,e))});return e.transition?()=>r.h(r.TransitionGroup,e.transition,a):a});return i.start=function(...i){return e.singleton&&n.value.length>0?n.value[0].promise:function(...i){const a=r.shallowReactive({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(a),a.promise=new Promise((e,t)=>{a.resolve=t=>(a.isResolving=!0,e(t)),a.reject=t}).finally(()=>{a.promise=void 0;const e=n.value.indexOf(a);-1!==e&&n.value.splice(e,1)}),a.promise}(...i)},i},t.createUnrefFn=function(e){return function(...t){return e.apply(this,t.map(e=>i.toValue(e)))}},t.customStorageEventName="vueuse-storage",t.defaultDocument=l,t.defaultLocation=u,t.defaultNavigator=c,t.defaultWindow=s,t.executeTransition=$e,t.formatTimeAgo=Ne,t.getSSRHandler=H,t.mapGamepadToXbox360Controller=function(e){return r.computed(()=>e.value?{buttons:{a:e.value.buttons[0],b:e.value.buttons[1],x:e.value.buttons[2],y:e.value.buttons[3]},bumper:{left:e.value.buttons[4],right:e.value.buttons[5]},triggers:{left:e.value.buttons[6],right:e.value.buttons[7]},stick:{left:{horizontal:e.value.axes[0],vertical:e.value.axes[1],button:e.value.buttons[10]},right:{horizontal:e.value.axes[2],vertical:e.value.axes[3],button:e.value.buttons[11]}},dpad:{up:e.value.buttons[12],down:e.value.buttons[13],left:e.value.buttons[14],right:e.value.buttons[15]},back:e.value.buttons[8],start:e.value.buttons[9]}:null)},t.onClickOutside=function(e,t,n={}){const{window:r=s,ignore:a=[],capture:o=!0,detectIframe:l=!1}=n;if(!r)return i.noop;i.isIOS&&!f&&(f=!0,Array.from(r.document.body.children).forEach(e=>e.addEventListener("click",i.noop)),r.document.documentElement.addEventListener("click",i.noop));let c=!0;const u=e=>i.toValue(a).some(t=>{if("string"==typeof t)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{const n=d(t);return n&&(e.target===n||e.composedPath().includes(n))}});let p=!1;const m=[h(r,"click",n=>{p||(p=!0,setTimeout(()=>{p=!1},0),(n=>{const i=d(e);i&&i!==n.target&&!n.composedPath().includes(i)&&(0===n.detail&&(c=!u(n)),c?t(n):c=!0)})(n))},{passive:!0,capture:o}),h(r,"pointerdown",t=>{const n=d(e);c=!u(t)&&!(!n||t.composedPath().includes(n))},{passive:!0}),l&&h(r,"blur",n=>{setTimeout(()=>{var i;const a=d(e);"IFRAME"!==(null==(i=r.document.activeElement)?void 0:i.tagName)||(null==a?void 0:a.contains(r.document.activeElement))||t(n)},0)}
146)].filter(Boolean);return()=>m.forEach(e=>e())},t.onKeyDown=function(e,t,n={}){return p(e,t,{...n,eventName:"keydown"})},t.onKeyPressed=function(e,t,n={}){return p(e,t,{...n,eventName:"keypress"})},t.onKeyStroke=p,t.onKeyUp=function(e,t,n={}){return p(e,t,{...n,eventName:"keyup"})},t.onLongPress=function(e,t,n){var i,a;const o=r.computed(()=>d(e));let s,l,c,u=!1;function f(){s&&(clearTimeout(s),s=void 0),l=void 0,c=void 0,u=!1}const p={capture:null==(i=null==n?void 0:n.modifiers)?void 0:i.capture,once:null==(a=null==n?void 0:n.modifiers)?void 0:a.once},m=[h(o,"pointerdown",(function(e){var i,r,a,d;(null==(i=null==n?void 0:n.modifiers)?void 0:i.self)&&e.target!==o.value||(f(),(null==(r=null==n?void 0:n.modifiers)?void 0:r.prevent)&&e.preventDefault(),(null==(a=null==n?void 0:n.modifiers)?void 0:a.stop)&&e.stopPropagation(),l={x:e.x,y:e.y},c=e.timeStamp,s=setTimeout(()=>{u=!0,t(e)},null!=(d=null==n?void 0:n.delay)?d:500))}),p),h(o,"pointermove",(function(e){var t,i,r,a;if((null==(t=null==n?void 0:n.modifiers)?void 0:t.self)&&e.target!==o.value)return;if(!l||!1===(null==n?void 0:n.distanceThreshold))return;(null==(i=null==n?void 0:n.modifiers)?void 0:i.prevent)&&e.preventDefault(),(null==(r=null==n?void 0:n.modifiers)?void 0:r.stop)&&e.stopPropagation();const s=e.x-l.x,c=e.y-l.y;Math.sqrt(s*s+c*c)>=(null!=(a=null==n?void 0:n.distanceThreshold)?a:10)&&f()}),p),h(o,["pointerup","pointerleave"],(function(e){var t,i,r;const[a,s,d]=[c,l,u];if(f(),!(null==n?void 0:n.onMouseUp)||!s||!a)return;if((null==(t=null==n?void 0:n.modifiers)?void 0:t.self)&&e.target!==o.value)return;(null==(i=null==n?void 0:n.modifiers)?void 0:i.prevent)&&e.preventDefault(),(null==(r=null==n?void 0:n.modifiers)?void 0:r.stop)&&e.stopPropagation();const h=e.x-s.x,p=e.y-s.y,m=Math.sqrt(h*h+p*p);n.onMouseUp(e.timeStamp-a,m,d)}),p)];return()=>m.forEach(e=>e())},t.onStartTyping=function(e,t={}){const{document:n=l}=t;n&&h(n,"keydown",t=>{!function(){const{activeElement:e,body:t}=document;if(!e)return!1;if(e===t)return!1;switch(e.tagName){case"INPUT":case"TEXTAREA":return!0}return e.hasAttribute("contenteditable")}()&&function({keyCode:e,metaKey:t,ctrlKey:n,altKey:i}){return!(t||n||i)&&(e>=48&&e<=57||(e>=65&&e<=90||e>=97&&e<=122))}(t)&&e(t)},{passive:!0})},t.setSSRHandler=function(e,t){I[e]=t},t.templateRef=function(e,t=null){const n=r.getCurrentInstance();let a=()=>{};const o=r.customRef((i,r)=>(a=r,{get(){var r,a;return i(),null!=(a=null==(r=null==n?void 0:n.proxy)?void 0:r.$refs[e])?a:t},set(){}}));return i.tryOnMounted(a),r.onUpdated(a),o},t.unrefElement=d,t.useActiveElement=b,t.useAnimate=function(e,t,n){let a,o;i.isObject(n)?(a=n,o=i.objectOmit(n,["window","immediate","commitStyles","persist","onReady","onError"])):(a={duration:n},o=n);const{window:l=s,immediate:c=!0,commitStyles:u,persist:f,playbackRate:p=1,onReady:m,onError:v=(e=>{console.error(e)})}=a,b=g(()=>l&&HTMLElement&&"animate"in HTMLElement.prototype),_=r.shallowRef(void 0),x=r.shallowReactive({startTime:null,currentTime:null,timeline:null,playbackRate:p,pending:!1,playState:c?"idle":"paused",replaceState:"active"}),w=r.computed(()=>x.pending),k=r.computed(()=>x.playState),S=r.computed(()=>x.replaceState),M=r.computed({get:()=>x.startTime,set(e){x.startTime=e,_.value&&(_.value.startTime=e)}}),L=r.computed({get:()=>x.currentTime,set(e){x.currentTime=e,_.value&&(_.value.currentTime=e,P())}}),A=r.computed({get:()=>x.timeline,set(e){x.timeline=e,_.value&&(_.value.timeline=e)}}),O=r.computed({get:()=>x.playbackRate,set(e){x.playbackRate=e,_.value&&(_.value.playbackRate=e)}}),C=()=>{var e;try{null==(e=_.value)||e.cancel(),j()}catch(e){v(e)}};function T(n){const r=d(e);b.value&&r&&(_.value||(_.value=r.animate(i.toValue(t),o)),f&&_.value.persist(),1!==p&&(_.value.playbackRate=p),n&&!c?_.value.pause():P(),null==m||m(_.value))}r.watch(()=>d(e),e=>{e&&T()}),r.watch(()=>t,t=>{_.value&&T(),!d(e)&&_.value&&(_.value.effect=new KeyframeEffect(d(e),i.toValue(t),o))},{deep:!0}),i.tryOnMounted(()=>T(!0),!1),i.tryOnScopeDispose(C),h(_,["cancel","finish","remove"],j),h(_,"finish",()=>{var e;u&&(null==(e=_.value)||e.commitStyles())});const{resume:E,pause:D}=y(()=>{_.value&&(x.pending=_.value.pending,x.playState=_.value.playState,x.replaceState=_.value.replaceState,x.startTime=_.value.startTime,x.currentTime=_.value.currentTime,x.timeline=_.value.timeline,x.playbackRate=_.value.playbackRate)},{immediate:!1});function P(){b.value&&E()}function j(){b.value&&l&&l.requestAnimationFrame(D)}return{isSupported:b,animate:_,play:()=>
146{if(_.value)try{_.value.play(),P()}catch(e){j(),v(e)}else T()},pause:()=>{var e;try{null==(e=_.value)||e.pause(),j()}catch(e){v(e)}},reverse:()=>{var e;_.value||T();try{null==(e=_.value)||e.reverse(),P()}catch(e){j(),v(e)}},finish:()=>{var e;try{null==(e=_.value)||e.finish(),j()}catch(e){v(e)}},cancel:C,pending:w,playState:k,replaceState:S,startTime:M,currentTime:L,timeline:A,playbackRate:O}},t.useAsyncQueue=function(e,t){const{interrupt:n=!0,onError:a=i.noop,onFinished:o=i.noop,signal:s}=t||{},l="aborted",c="fulfilled",u="pending",d="rejected",h=Array.from(Array.from({length:e.length}),()=>({state:u,data:null})),f=r.reactive(h),p=r.ref(-1);if(!e||0===e.length)return o(),{activeIndex:p,result:f};function m(e,t){p.value++,f[p.value].data=t,f[p.value].state=e}return e.reduce((t,i)=>t.then(t=>{var r;if(null==s?void 0:s.aborted)return void m(l,new Error("aborted"));if((null==(r=f[p.value])?void 0:r.state)===d&&n)return void o();const a=i(t).then(t=>(m(c,t),p.value===e.length-1&&o(),t));return s?Promise.race([a,_(s)]):a}).catch(e=>(null==s?void 0:s.aborted)?(m(l,e),e):(m(d,e),a(),e)),Promise.resolve()),{activeIndex:p,result:f}},t.useAsyncState=x,t.useBase64=function(e,t){const n=r.ref(""),a=r.ref();function o(){if(i.isClient)return a.value=new Promise((n,r)=>{try{const a=i.toValue(e);if(null==a)n("");else if("string"==typeof a)n(A(new Blob([a],{type:"text/plain"})));else if(a instanceof Blob)n(A(a));else if(a instanceof ArrayBuffer)n(window.btoa(String.fromCharCode(...new Uint8Array(a))));else if(a instanceof HTMLCanvasElement)n(a.toDataURL(null==t?void 0:t.type,null==t?void 0:t.quality));else if(a instanceof HTMLImageElement){const e=a.cloneNode(!1);e.crossOrigin="Anonymous",function(e){return new Promise((t,n)=>{e.complete?t():(e.onload=()=>{t()},e.onerror=n)})}(e).then(()=>{const i=document.createElement("canvas"),r=i.getContext("2d");i.width=e.width,i.height=e.height,r.drawImage(e,0,0,i.width,i.height),n(i.toDataURL(null==t?void 0:t.type,null==t?void 0:t.quality))}).catch(r)}else{if("object"==typeof a){const e=((null==t?void 0:t.serializer)||function(e){return e?e instanceof Map?M:e instanceof Set?S:Array.isArray(e)?w:k:L}(a))(a);return n(A(new Blob([e],{type:"application/json"})))}r(new Error("target is unsupported types"))}}catch(e){r(e)}}),a.value.then(e=>n.value=e),a.value}return r.isRef(e)||"function"==typeof e?r.watch(e,o,{immediate:!0}):o(),{base64:n,promise:a,execute:o}},t.useBattery=function(e={}){const{navigator:t=c}=e,n=["chargingchange","chargingtimechange","dischargingtimechange","levelchange"],i=g(()=>t&&"getBattery"in t&&"function"==typeof t.getBattery),a=r.ref(!1),o=r.ref(0),s=r.ref(0),l=r.ref(1);let u;function d(){a.value=this.charging,o.value=this.chargingTime||0,s.value=this.dischargingTime||0,l.value=this.level}return i.value&&t.getBattery().then(e=>{u=e,d.call(u),h(u,n,d,{passive:!0})}),{isSupported:i,charging:a,chargingTime:o,dischargingTime:s,level:l}},t.useBluetooth=function(e){let{acceptAllDevices:t=!1}=e||{};const{filters:n,optionalServices:a,navigator:o=c}=e||{},s=g(()=>o&&"bluetooth"in o),l=r.shallowRef(void 0),u=r.shallowRef(null);r.watch(l,()=>{!async function(){if(u.value=null,l.value&&l.value.gatt){l.value.addEventListener("gattserverdisconnected",()=>{});try{d.value=await l.value.gatt.connect()}catch(e){u.value=e}}}()});const d=r.ref(),h=r.computed(()=>{var e;return(null==(e=d.value)?void 0:e.connected)||!1});return i.tryOnMounted(()=>{var e;l.value&&(null==(e=l.value.gatt)||e.connect())}),i.tryOnScopeDispose(()=>{var e;l.value&&(null==(e=l.value.gatt)||e.disconnect())}),{isSupported:s,isConnected:h,device:l,requestDevice:async function(){if(s.value){u.value=null,n&&n.length>0&&(t=!1);try{l.value=await(null==o?void 0:o.bluetooth.requestDevice({acceptAllDevices:t,filters:n,optionalServices:a}))}catch(e){u.value=e}}},server:d,error:u}},t.useBreakpoints=function(e,t={}){function n(t,n){let r=i.toValue(e[i.toValue(t)]);return null!=n&&(r=i.increaseWithUnit(r,n)),"number"==typeof r&&(r+="px"),r}const{window:a=s,strategy:o="min-width"}=t;function l(e){return!!a&&a.matchMedia(e).matches}const c=e=>O(()=>`(min-width: ${n(e)})`,t),u=e=>O(()=>`(max-width: ${n(e)})`,t),d=Object.keys(e).reduce((e,t)=>
146(Object.defineProperty(e,t,{get:()=>"min-width"===o?c(t):u(t),enumerable:!0,configurable:!0}),e),{});function h(){const t=Object.keys(e).map(e=>[e,c(e)]);return r.computed(()=>t.filter(([,e])=>e.value).map(([e])=>e))}return Object.assign(d,{greaterOrEqual:c,smallerOrEqual:u,greater:e=>O(()=>`(min-width: ${n(e,.1)})`,t),smaller:e=>O(()=>`(max-width: ${n(e,-.1)})`,t),between:(e,i)=>O(()=>`(min-width: ${n(e)}) and (max-width: ${n(i,-.1)})`,t),isGreater:e=>l(`(min-width: ${n(e,.1)})`),isGreaterOrEqual:e=>l(`(min-width: ${n(e)})`),isSmaller:e=>l(`(max-width: ${n(e,-.1)})`),isSmallerOrEqual:e=>l(`(max-width: ${n(e)})`),isInBetween:(e,t)=>l(`(min-width: ${n(e)}) and (max-width: ${n(t,-.1)})`),current:h,active(){const e=h();return r.computed(()=>0===e.value.length?"":e.value.at(-1))}})},t.useBroadcastChannel=function(e){const{name:t,window:n=s}=e,a=g(()=>n&&"BroadcastChannel"in n),o=r.ref(!1),l=r.ref(),c=r.ref(),u=r.shallowRef(null),d=()=>{l.value&&l.value.close(),o.value=!0};return a.value&&i.tryOnMounted(()=>{u.value=null,l.value=new BroadcastChannel(t),l.value.addEventListener("message",e=>{c.value=e.data},{passive:!0}),l.value.addEventListener("messageerror",e=>{u.value=e},{passive:!0}),l.value.addEventListener("close",()=>{o.value=!0})}),i.tryOnScopeDispose(()=>{d()}),{isSupported:a,channel:l,data:c,post:e=>{l.value&&l.value.postMessage(e)},close:d,error:u,isClosed:o}},t.useBrowserLocation=function(e={}){const{window:t=s}=e,n=Object.fromEntries(E.map(e=>[e,r.ref()]));for(const[e,a]of i.objectEntries(n))r.watch(a,n=>{(null==t?void 0:t.location)&&t.location[e]!==n&&(t.location[e]=n)});const a=e=>{var i;const{state:a,length:o}=(null==t?void 0:t.history)||{},{origin:s}=(null==t?void 0:t.location)||{};for(const e of E)n[e].value=null==(i=null==t?void 0:t.location)?void 0:i[e];return r.reactive({trigger:e,state:a,length:o,origin:s,...n})},o=r.ref(a("load"));return t&&(h(t,"popstate",()=>o.value=a("popstate"),{passive:!0}),h(t,"hashchange",()=>o.value=a("hashchange"),{passive:!0})),o},t.useCached=function(e,t=((e,t)=>e===t),n){const i=r.ref(e.value);return r.watch(()=>e.value,e=>{t(e,i.value)||(i.value=e)},n),i},t.useClipboard=function(e={}){const{navigator:t=c,read:n=!1,source:a,copiedDuring:o=1500,legacy:s=!1}=e,l=g(()=>t&&"clipboard"in t),u=D("clipboard-read"),d=D("clipboard-write"),f=r.computed(()=>l.value||s),p=r.ref(""),m=r.ref(!1),v=i.useTimeoutFn(()=>m.value=!1,o);function b(e){return"granted"===e||"prompt"===e}return f.value&&n&&h(["copy","cut"],(function(){var e,n,i;l.value&&b(u.value)?t.clipboard.readText().then(e=>{p.value=e}):p.value=null!=(i=null==(n=null==(e=null==document?void 0:document.getSelection)?void 0:e.call(document))?void 0:n.toString())?i:""})),{isSupported:f,text:p,copied:m,copy:async function(e=i.toValue(a)){f.value&&null!=e&&(l.value&&b(d.value)?await t.clipboard.writeText(e):function(e){const t=document.createElement("textarea");t.value=null!=e?e:"",t.style.position="absolute",t.style.opacity="0",document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove()}(e),p.value=e,m.value=!0,v.start())}}},t.useClipboardItems=function(e={}){const{navigator:t=c,read:n=!1,source:a,copiedDuring:o=1500}=e,s=g(()=>t&&"clipboard"in t),l=r.ref([]),u=r.ref(!1),d=i.useTimeoutFn(()=>u.value=!1,o);return s.value&&n&&h(["copy","cut"],(function(){s.value&&t.clipboard.read().then(e=>{l.value=e})})),{isSupported:s,content:l,copied:u,copy:async function(e=i.toValue(a)){s.value&&null!=e&&(await t.clipboard.write(e),l.value=e,u.value=!0,d.start())}}},t.useCloned=function(e,t={}){const n=r.ref({}),{manual:a,clone:o=P,deep:s=!0,immediate:l=!0}=t;function c(){n.value=o(i.toValue(e))}return a||!r.isRef(e)&&"function"!=typeof e?c():r.watch(e,c,{...t,deep:s,immediate:l}),{cloned:n,sync:c}},t.useColorMode=W,t.useConfirmDialog=function(e=r.ref(!1)){const t=i.createEventHook(),n=i.createEventHook(),a=i.createEventHook();let o=i.noop;return{isRevealed:r.computed(()=>e.value),reveal:t=>(a.trigger(t),e.value=!0,new Promise(e=>{o=e})),confirm:n=>{e.value=!1,t.trigger(n),o({data:n,isCanceled:!1})},cancel:t=>{e.value=!1,n.trigger(t),o({data:t,isCanceled:!0})},onReveal:a.on,onConfirm:t.on,onCancel:n.on}},t.useCssVar=V,t.useCurrentElement=$,t.useCycleList=function(e,t){const n=r.shallowRef(null!=(o=i.toValue(null!=(a=null==t?void 0:t.initialValue)?a:i.toValue(e)[0]))?o:void 0);var a,o;const s=i.toRef(e),l=r.computed({get(){var e;const i=s.value;let r=(null==t?void 0:t.getIndexOf)?t.getIndexOf(n.value,i):i.indexOf(n.value);return r<0&&(r=null!=(e=null==t?void 0:t.fallbackIndex)?e:0),r},set(e){c(e)}});function c(e){const t=s.value,i=t.length,r=t[(e%i+i)%i];return n.value=r,r}function u(e=1){return c(l.value+e)}return r.watch(s,()=>c(l.value)),{state:n,index:l,next:function(e=1){return u(e)},prev:function(e=1){return u(-e)},go:c}},t.useDark=function(e={}){const{valueDark:t="dark",valueLight:n="",window:i=s}=e,a=W({...e,onChanged:(t,n)=>{var i;e.onChanged?null==(i=e.onChanged)||i.call(e,"dark"===t,n,t):n(t)},modes:{dark:t,light:n}}),o=r.computed(()=>
146{if(a.system)return a.system.value;return N({window:i}).value?"dark":"light"});return r.computed({get:()=>"dark"===a.value,set(e){const t=e?"dark":"light";o.value===t?a.value="auto":a.value=t}})},t.useDebouncedRefHistory=function(e,t={}){const n=t.debounce?i.debounceFilter(t.debounce):void 0;return{...K(e,{...t,eventFilter:n})}},t.useDeviceMotion=function(e={}){const{window:t=s,eventFilter:n=i.bypassFilter}=e,a=r.ref({x:null,y:null,z:null}),o=r.ref({alpha:null,beta:null,gamma:null}),l=r.ref(0),c=r.ref({x:null,y:null,z:null});if(t){h(t,"devicemotion",i.createFilterWrapper(n,e=>{a.value=e.acceleration,c.value=e.accelerationIncludingGravity,o.value=e.rotationRate,l.value=e.interval}))}return{acceleration:a,accelerationIncludingGravity:c,rotationRate:o,interval:l}},t.useDeviceOrientation=Z,t.useDevicePixelRatio=function(e={}){const{window:t=s}=e,n=r.ref(1);if(t){let e,r=function(){n.value=t.devicePixelRatio,a(),e=t.matchMedia(`(resolution: ${n.value}dppx)`),e.addEventListener("change",r,{once:!0})},a=function(){null==e||e.removeEventListener("change",r)};r(),i.tryOnScopeDispose(a)}return{pixelRatio:n}},t.useDevicesList=function(e={}){const{navigator:t=c,requestPermissions:n=!1,constraints:i={audio:!0,video:!0},onUpdated:a}=e,o=r.ref([]),s=r.computed(()=>o.value.filter(e=>"videoinput"===e.kind)),l=r.computed(()=>o.value.filter(e=>"audioinput"===e.kind)),u=r.computed(()=>o.value.filter(e=>"audiooutput"===e.kind)),d=g(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),f=r.ref(!1);let p;async function m(){d.value&&(o.value=await t.mediaDevices.enumerateDevices(),null==a||a(o.value),p&&(p.getTracks().forEach(e=>e.stop()),p=null))}async function v(){if(!d.value)return!1;if(f.value)return!0;const{state:e,query:n}=D("camera",{controls:!0});return await n(),"granted"!==e.value?(p=await t.mediaDevices.getUserMedia(i),m(),f.value=!0):f.value=!0,f.value}return d.value&&(n&&v(),h(t.mediaDevices,"devicechange",m),m()),{devices:o,ensurePermissions:v,permissionGranted:f,videoInputs:s,audioInputs:l,audioOutputs:u,isSupported:d}},t.useDisplayMedia=function(e={}){var t;const n=r.ref(null!=(t=e.enabled)&&t),i=e.video,a=e.audio,{navigator:o=c}=e,s=g(()=>{var e;return null==(e=null==o?void 0:o.mediaDevices)?void 0:e.getDisplayMedia}),l={audio:a,video:i},u=r.shallowRef();async function d(){var e;if(s.value&&!u.value)return u.value=await o.mediaDevices.getDisplayMedia(l),null==(e=u.value)||e.getTracks().forEach(e=>e.addEventListener("ended",f)),u.value}async function h(){var e;null==(e=u.value)||e.getTracks().forEach(e=>e.stop()),u.value=void 0}function f(){h(),n.value=!1}return r.watch(n,e=>{e?d():h()},{immediate:!0}),{isSupported:s,stream:u,start:async function(){return await d(),u.value&&(n.value=!0),u.value},stop:f,enabled:n}},t.useDocumentVisibility=Q,t.useDraggable=function(e,t={}){var n,a;const{pointerTypes:o,preventDefault:l,stopPropagation:c,exact:u,onMove:d,onEnd:f,onStart:p,initialValue:m,axis:g="both",draggingElement:v=s,containerElement:b,handle:y=e,buttons:_=[0]}=t,x=r.ref(null!=(n=i.toValue(m))?n:{x:0,y:0}),w=r.ref(),k=e=>!o||o.includes(e.pointerType),S=e=>{i.toValue(l)&&e.preventDefault(),i.toValue(c)&&e.stopPropagation()},M=n=>{var r;if(!i.toValue(_).includes(n.button))return;if(i.toValue(t.disabled)||!k(n))return;if(i.toValue(u)&&n.target!==i.toValue(e))return;const a=i.toValue(b),o=null==(r=null==a?void 0:a.getBoundingClientRect)?void 0:r.call(a),s=i.toValue(e).getBoundingClientRect(),l={x:n.clientX-(a?s.left-o.left+a.scrollLeft:s.left),y:n.clientY-(a?s.top-o.top+a.scrollTop:s.top)};!1!==(null==p?void 0:p(l,n))&&(w.value=l,S(n))},L=n=>{if(i.toValue(t.disabled)||!k(n))return;if(!w.value)return;const r=i.toValue(b),a=i.toValue(e).getBoundingClientRect();let{x:o,y:s}=x.value;"x"!==g&&"both"!==g||(o=n.clientX-w.value.x,r&&(o=Math.min(Math.max(0,o),r.scrollWidth-a.width))),"y"!==g&&"both"!==g||(s=n.clientY-w.value.y,r&&(s=Math.min(Math.max(0,s),r.scrollHeight-a.height))),x.value={x:o,y:s},null==d||d(x.value,n),S(n)},A=e=>{!i.toValue(t.disabled)&&k(e)&&w.value&&(w.value=void 0,null==f||f(x.value,e),S(e))};if(i.isClient){const e={capture:null==(a=t.capture)||a};h(y,"pointerdown",M,e),h(v,"pointermove",L,e),h(v,"pointerup",A,e)}return{...i.toRefs(x),position:x,isDragging:r.computed(()=>!!w.value),style:r.computed(()=>`left:${x.value.x}px;top:${x.value.y}px;`)}
146},t.useDropZone=function(e,t={}){var n,a;const o=r.ref(!1),s=r.shallowRef(null);let l=0,c=!0;if(i.isClient){const i="function"==typeof t?{onDrop:t}:t,u=null==(n=i.multiple)||n,d=null!=(a=i.preventDefaultForUnhandled)&&a,f=e=>{var t,n;const i=Array.from(null!=(n=null==(t=e.dataTransfer)?void 0:t.files)?n:[]);return 0===i.length?null:u?i:[i[0]]},p=e=>{if(i.dataTypes){const t=r.unref(i.dataTypes);return"function"==typeof t?t(e):!t||t.some(t=>e.includes(t))}return!0},m=e=>{var t,n;const i=Array.from(null!=(n=null==(t=e.dataTransfer)?void 0:t.items)?n:[]),r=i.filter(e=>"file"===e.kind).map(e=>e.type),a=p(r),o=u||i.filter(e=>"file"===e.kind).length<=1;return a&&o},g=(e,t)=>{var n,r,a,u;if(c=m(e),!c)return d&&e.preventDefault(),void(e.dataTransfer&&(e.dataTransfer.dropEffect="none"));e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="copy");const h=f(e);switch(t){case"enter":l+=1,o.value=!0,null==(n=i.onEnter)||n.call(i,null,e);break;case"over":null==(r=i.onOver)||r.call(i,null,e);break;case"leave":l-=1,0===l&&(o.value=!1),null==(a=i.onLeave)||a.call(i,null,e);break;case"drop":l=0,o.value=!1,c&&(s.value=h,null==(u=i.onDrop)||u.call(i,h,e))}};h(e,"dragenter",e=>g(e,"enter")),h(e,"dragover",e=>g(e,"over")),h(e,"dragleave",e=>g(e,"leave")),h(e,"drop",e=>g(e,"drop"))}return{files:s,isOverDropZone:o}},t.useElementBounding=function(e,t={}){const{reset:n=!0,windowResize:a=!0,windowScroll:o=!0,immediate:s=!0,updateTiming:l="sync"}=t,c=r.ref(0),u=r.ref(0),f=r.ref(0),p=r.ref(0),m=r.ref(0),g=r.ref(0),b=r.ref(0),y=r.ref(0);function _(){const t=d(e);if(!t)return void(n&&(c.value=0,u.value=0,f.value=0,p.value=0,m.value=0,g.value=0,b.value=0,y.value=0));const i=t.getBoundingClientRect();c.value=i.height,u.value=i.bottom,f.value=i.left,p.value=i.right,m.value=i.top,g.value=i.width,b.value=i.x,y.value=i.y}function x(){"sync"===l?_():"next-frame"===l&&requestAnimationFrame(()=>_())}return ee(e,x),r.watch(()=>d(e),e=>!e&&x()),v(e,x,{attributeFilter:["style","class"]}),o&&h("scroll",x,{capture:!0,passive:!0}),a&&h("resize",x,{passive:!0}),i.tryOnMounted(()=>{s&&x()}),{height:c,bottom:u,left:f,right:p,top:m,width:g,x:b,y:y,update:x}},t.useElementByPoint=function(e){const{x:t,y:n,document:a=l,multiple:o,interval:s="requestAnimationFrame",immediate:c=!0}=e,u=g(()=>i.toValue(o)?a&&"elementsFromPoint"in a:a&&"elementFromPoint"in a),d=r.ref(null),h=()=>{var e,r;d.value=i.toValue(o)?null!=(e=null==a?void 0:a.elementsFromPoint(i.toValue(t),i.toValue(n)))?e:[]:null!=(r=null==a?void 0:a.elementFromPoint(i.toValue(t),i.toValue(n)))?r:null},f="requestAnimationFrame"===s?y(h,{immediate:c}):i.useIntervalFn(h,s,{immediate:c});return{isSupported:u,element:d,...f}},t.useElementHover=function(e,t={}){const{delayEnter:n=0,delayLeave:i=0,window:a=s}=t,o=r.ref(!1);let l;const c=e=>{const t=e?n:i;l&&(clearTimeout(l),l=void 0),t?l=setTimeout(()=>o.value=e,t):o.value=e};return a?(h(e,"mouseenter",()=>c(!0),{passive:!0}),h(e,"mouseleave",()=>c(!1),{passive:!0}),o):o},t.useElementSize=te,t.useElementVisibility=ie,t.useEventBus=function(e){const t=r.getCurrentScope();function n(n){var r;const a=re.get(e)||new Set;a.add(n),re.set(e,a);const o=()=>i(n);return null==(r=null==t?void 0:t.cleanups)||r.push(o),o}function i(t){const n=re.get(e);n&&(n.delete(t),n.size||a())}function a(){re.delete(e)}return{on:n,once:function(e){return n((function t(...n){i(t),e(...n)}))},off:i,emit:function(t,n){var i;null==(i=re.get(e))||i.forEach(e=>e(t,n))},reset:a}},t.useEventListener=h,t.useEventSource=function(e,t=[],n={}){const a=r.ref(null),o=r.ref(null),s=r.ref("CONNECTING"),l=r.ref(null),c=r.shallowRef(null),u=i.toRef(e),d=r.shallowRef(null);let f=!1,p=0;const{withCredentials:m=!1,immediate:g=!0}=n,v=()=>{i.isClient&&l.value&&(l.value.close(),l.value=null,s.value="CLOSED",f=!0)},b=()=>{if(f||void 0===u.value)return;const e=new EventSource(u.value,{withCredentials:m});s.value="CONNECTING",l.value=e,e.onopen=()=>{s.value="OPEN",c.value=null},e.onerror=t=>{if(s.value="CLOSED",c.value=t,2===e.readyState&&!f&&n.autoReconnect){e.close();const{retries:t=-1,delay:i=1e3,onFailed:r}=function(e){return!0===e?{}:e}(n.autoReconnect);p+=1,"number"==typeof t&&(t<0||p<t)||"function"==typeof t&&t()?setTimeout(b,i):null==r||r()}},e.onmessage=e=>{a.value=null,o.value=e.data,d.value=e.lastEventId};for(const n of t)h(e,n,e=>{a.value=n,o.value=e.data||null})},y=()=>{i.isClient&&(v(),f=!1,p=0,b())};return g&&r.watch(u,y,{immediate:!0}),i.tryOnScopeDispose(v),{eventSource:l,event:a,data:o,status:s,error:c,open:y,close:v,lastEventId:d}},t.useEyeDropper=function(e={}){const{initialValue:t=""}=e,n=g(()=>"undefined"!=typeof window&&"EyeDropper"in window),i=r.ref(t);return{isSupported:n,sRGBHex:i,open:async function(e){if(!n.value)return;const t=new window.EyeDropper,r=await t.open(e);return i.value=r.sRGBHex,r}}},t.useFavicon=function(e=null,t={}){const{baseUrl:n="",rel:a="icon",document:o=l}=t,s=i.toRef(e);return r.watch(s,(e,t)=>{"string"==typeof e&&e!==t&&(e=>{const t=null==o?void 0:o.head.querySelectorAll(`link[rel*="${a}"]`);if(t&&0!==t.length)null==t||t.forEach(t=>t.href=`${n}${e}`);else{const t=null==o?void 0:o.createElement("link");t&&(t.rel=a,t.href=`${n}${e}`,t.type="image/"+e.split(".").pop(),null==o||o.head.append(t))}})(e)},{immediate:!0}),s},t.useFetch=ue,t.useFileDialog=function(e={}){const{document:t=l}=e,n=r.ref(null),{on:a,trigger:o}
146=i.createEventHook(),{on:s,trigger:c}=i.createEventHook();let u;t&&(u=t.createElement("input"),u.type="file",u.onchange=e=>{const t=e.target;n.value=t.files,o(n.value)},u.oncancel=()=>{c()});const d=()=>{n.value=null,u&&u.value&&(u.value="",o(null))};return{files:r.readonly(n),open:t=>{if(!u)return;const n={...de,...e,...t};u.multiple=n.multiple,u.accept=n.accept,u.webkitdirectory=n.directory,i.hasOwn(n,"capture")&&(u.capture=n.capture),n.reset&&d(),u.click()},reset:d,onCancel:s,onChange:a}},t.useFileSystemAccess=function(e={}){const{window:t=s,dataType:n="Text"}=e,a=t,o=g(()=>a&&"showSaveFilePicker"in a&&"showOpenFilePicker"in a),l=r.ref(),c=r.ref(),u=r.ref(),d=r.computed(()=>{var e,t;return null!=(t=null==(e=u.value)?void 0:e.name)?t:""}),h=r.computed(()=>{var e,t;return null!=(t=null==(e=u.value)?void 0:e.type)?t:""}),f=r.computed(()=>{var e,t;return null!=(t=null==(e=u.value)?void 0:e.size)?t:0}),p=r.computed(()=>{var e,t;return null!=(t=null==(e=u.value)?void 0:e.lastModified)?t:0});async function m(t={}){if(o.value){if(l.value=await a.showSaveFilePicker({...e,...t}),c.value){const e=await l.value.createWritable();
146await e.write(c.value),await e.close()}await v()}}async function v(){var e;u.value=await(null==(e=l.value)?void 0:e.getFile())}async function b(){var e,t;await v();const r=i.toValue(n);"Text"===r?c.value=await(null==(e=u.value)?void 0:e.text()):"ArrayBuffer"===r?c.value=await(null==(t=u.value)?void 0:t.arrayBuffer()):"Blob"===r&&(c.value=u.value)}return r.watch(()=>i.toValue(n),b),{isSupported:o,data:c,file:u,fileName:d,fileMIME:h,fileSize:f,fileLastModified:p,open:async function(t={}){if(!o.value)return;const[n]=await a.showOpenFilePicker({...i.toValue(e),...t});l.value=n,await b()},create:async function(t={}){o.value&&(l.value=await a.showSaveFilePicker({...e,...t}),c.value=void 0,await b())},save:async function(e={}){if(o.value){if(!l.value)return m(e);if(c.value){const e=await l.value.createWritable();await e.write(c.value),await e.close()}await v()}},saveAs:m,updateData:b}},t.useFocus=function(e,t={}){const{initialValue:n=!1,focusVisible:i=!1,preventScroll:a=!1}=t,o=r.ref(!1),s=r.computed(()=>d(e));h(s,"focus",e=>{var t,n;i&&!(null==(n=(t=e.target).matches)?void 0:n.call(t,":focus-visible"))||(o.value=!0)}),h(s,"blur",()=>o.value=!1);const l=r.computed({get:()=>o.value,set(e){var t,n;!e&&o.value?null==(t=s.value)||t.blur():e&&!o.value&&(null==(n=s.value)||n.focus({preventScroll:a}))}});return r.watch(s,()=>{l.value=n},{immediate:!0,flush:"post"}),{focused:l}},t.useFocusWithin=function(e,t={}){const{window:n=s}=t,i=r.computed(()=>d(e)),a=r.ref(!1),o=r.computed(()=>a.value),l=b(t);return n&&l.value?(h(i,"focusin",()=>a.value=!0),h(i,"focusout",()=>a.value=!1),{focused:o}):{focused:o}},t.useFps=function(e){var t;const n=r.ref(0);if("undefined"==typeof performance)return n;const i=null!=(t=null==e?void 0:e.every)?t:10;let a=performance.now(),o=0;return y(()=>{if(o+=1,o>=i){const e=performance.now(),t=e-a;n.value=Math.round(1e3/(t/o)),a=e,o=0}}),n},t.useFullscreen=function(e,t={}){const{document:n=l,autoExit:a=!1}=t,o=r.computed(()=>{var t;return null!=(t=d(e))?t:null==n?void 0:n.querySelector("html")}),s=r.ref(!1),c=r.computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(e=>n&&e in n||o.value&&e in o.value)),u=r.computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(e=>n&&e in n||o.value&&e in o.value)),f=r.computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(e=>n&&e in n||o.value&&e in o.value)),p=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(e=>n&&e in n),m=g(()=>o.value&&n&&void 0!==c.value&&void 0!==u.value&&void 0!==f.value),v=()=>{if(f.value){if(n&&null!=n[f.value])return n[f.value];{const e=o.value;if(null!=(null==e?void 0:e[f.value]))return Boolean(e[f.value])}}return!1};async function b(){if(m.value&&s.value){if(u.value)if(null!=(null==n?void 0:n[u.value]))await n[u.value]();else{const e=o.value;null!=(null==e?void 0:e[u.value])&&await e[u.value]()}s.value=!1}}async function y(){if(!m.value||s.value)return;v()&&await b();const e=o.value;c.value&&null!=(null==e?void 0:e[c.value])&&(await e[c.value](),s.value=!0)}const _=()=>{const e=v();(!e||e&&p&&(null==n?void 0:n[p])===o.value)&&(s.value=e)};return h(n,he,_,!1),h(()=>d(o),he,_,!1),a&&i.tryOnScopeDispose(b),{isSupported:m,isFullscreen:s,enter:y,exit:b,toggle:async function(){await(s.value?b():y())}}},t.useGamepad=function(e={}){const{navigator:t=c}=e,n=g(()=>t&&"getGamepads"in t),a=r.ref([]),o=i.createEventHook(),s=i.createEventHook(),l=e=>{const t=[],n="vibrationActuator"in e?e.vibrationActuator:null;return n&&t.push(n),e.hapticActuators&&t.push(...e.hapticActuators),{id:e.id,index:e.index,connected:e.connected,mapping:e.mapping,timestamp:e.timestamp,vibrationActuator:e.vibrationActuator,hapticActuators:t,axes:e.axes.map(e=>e),buttons:e.buttons.map(e=>({pressed:e.pressed,touched:e.touched,value:e.value}))}},{isActive:u,pause:d,resume:f}=y(()=>{const e=(null==t?void 0:t.getGamepads())||[];for(const t of e)t&&a.value[t.index]&&(a.value[t.index]=l(t))}),p=e=>{a.value.some(({index:t})=>t===e.index)||(a.value.push(l(e)),o.trigger(e.index)),f()};return h("gamepadconnected",e=>p(e.gamepad)),h("gamepaddisconnected",e=>{return t=e.gamepad,a.value=a.value.filter(e=>e.index!==t.index),void s.trigger(t.index);var t}),i.tryOnMounted(()=>{const e=(null==t?void 0:t.getGamepads())||[];for(const t of e)t&&a.value[t.index]&&p(t)}),d(),{isSupported:n,onConnected:o.on,onDisconnected:s.on,gamepads:a,pause:d,resume:f,isActive:u}},t.useGeolocation=function(e={}){const{enableHighAccuracy:t=!0,maximumAge:n=3e4,timeout:a=27e3,navigator:o=c,immediate:s=!0}=e,l=g(()=>o&&"geolocation"in o),u=r.ref(null),d=r.shallowRef(null),h=r.ref({accuracy:0,latitude:Number.POSITIVE_INFINITY,longitude:Number.POSITIVE_INFINITY,altitude:null,altitudeAccuracy:null,heading:null,speed:null});function f(e){u.value=e.timestamp,h.value=e.coords,d.value=null}let p;function m(){l.value&&(p=o.geolocation.watchPosition(f,e=>d.value=e,{enableHighAccuracy:t,maximumAge:n,timeout:a}))}function v(){p&&o&&o.geolocation.clearWatch(p)}return s&&m(),i.tryOnScopeDispose(()=>{v()}),{isSupported:l,coords:h,locatedAt:u,error:d,resume:m,pause:v}}
146,t.useIdle=function(e=6e4,t={}){const{initialState:n=!1,listenForVisibilityChange:a=!0,events:o=fe,window:l=s,eventFilter:c=i.throttleFilter(50)}=t,u=r.ref(n),d=r.ref(i.timestamp());let f;const p=()=>{u.value=!1,clearTimeout(f),f=setTimeout(()=>u.value=!0,e)},m=i.createFilterWrapper(c,()=>{d.value=i.timestamp(),p()});if(l){const e=l.document;for(const e of o)h(l,e,m,{passive:!0});a&&h(e,"visibilitychange",()=>{e.hidden||m()}),p()}return{idle:u,lastActive:d,reset:p}},t.useImage=function(e,t={}){const n=x(()=>async function(e){return new Promise((t,n)=>{const i=new Image,{src:r,srcset:a,sizes:o,class:s,loading:l,crossorigin:c,referrerPolicy:u}=e;i.src=r,a&&(i.srcset=a),o&&(i.sizes=o),s&&(i.className=s),l&&(i.loading=l),c&&(i.crossOrigin=c),u&&(i.referrerPolicy=u),i.onload=()=>t(i),i.onerror=n})}(i.toValue(e)),void 0,{resetOnExecute:!0,...t});return r.watch(()=>i.toValue(e),()=>n.execute(t.delay),{deep:!0}),n},t.useInfiniteScroll=function(e,t,n={}){var a;const{direction:o="bottom",interval:s=100,canLoadMore:l=(()=>!0)}=n,c=r.reactive(me(e,{...n,offset:{[o]:null!=(a=n.distance)?a:0,...n.offset}})),u=r.ref(),d=r.computed(()=>!!u.value),h=r.computed(()=>pe(i.toValue(e))),f=ie(h);function p(){if(c.measure(),!h.value||!f.value||!l(h.value))return;const{scrollHeight:e,clientHeight:n,scrollWidth:i,clientWidth:a}=h.value,d="bottom"===o||"top"===o?e<=n:i<=a;(c.arrivedState[o]||d)&&(u.value||(u.value=Promise.all([t(c),new Promise(e=>setTimeout(e,s))]).finally(()=>{u.value=null,r.nextTick(()=>p())})))}const m=r.watch(()=>[c.arrivedState[o],f.value],p,{immediate:!0});return i.tryOnUnmounted(m),{isLoading:d,reset(){r.nextTick(()=>p())}}},t.useIntersectionObserver=ne,t.useKeyModifier=function(e,t={}){const{events:n=ge,document:i=l,initial:a=null}=t,o=r.ref(a);return i&&n.forEach(t=>{h(i,t,t=>{"function"==typeof t.getModifierState&&(o.value=t.getModifierState(e))})}),o},t.useLocalStorage=function(e,t,n={}){const{window:i=s}=n;return B(e,t,null==i?void 0:i.localStorage,n)},t.useMagicKeys=function(e={}){const{reactive:t=!1,target:n=s,aliasMap:a=ve,passive:o=!0,onEventFired:l=i.noop}=e,c=r.reactive(new Set),u={toJSON:()=>({}),current:c},d=t?r.reactive(u):u,f=new Set,p=new Set;function m(e,n){e in d&&(t?d[e]=n:d[e].value=n)}function g(){c.clear();for(const e of p)m(e,!1)}function v(e,t){var n,i;const r=null==(n=e.key)?void 0:n.toLowerCase(),a=[null==(i=e.code)?void 0:i.toLowerCase(),r].filter(Boolean);r&&(t?c.add(r):c.delete(r));for(const e of a)p.add(e),m(e,t);"meta"!==r||t?"function"==typeof e.getModifierState&&e.getModifierState("Meta")&&t&&[...c,...a].forEach(e=>f.add(e)):(f.forEach(e=>{c.delete(e),m(e,!1)}),f.clear())}h(n,"keydown",e=>(v(e,!0),l(e)),{passive:o}),h(n,"keyup",e=>(v(e,!1),l(e)),{passive:o}),h("blur",g,{passive:!0}),h("focus",g,{passive:!0});const b=new Proxy(d,{get(e,n,o){if("string"!=typeof n)return Reflect.get(e,n,o);if((n=n.toLowerCase())in a&&(n=a[n]),!(n in d))if(/[+_-]/.test(n)){const e=n.split(/[+_-]/g).map(e=>e.trim());d[n]=r.computed(()=>e.every(e=>i.toValue(b[e])))}else d[n]=r.ref(!1);const s=Reflect.get(e,n,o);return t?i.toValue(s):s}});return b},t.useManualRefHistory=J,t.useMediaControls=function(e,t={}){e=i.toRef(e),t={..._e,...t};const{document:n=l}=t,a=r.ref(0),o=r.ref(0),s=r.ref(!1),c=r.ref(1),u=r.ref(!1),d=r.ref(!1),f=r.ref(!1),p=r.ref(1),m=r.ref(!1),g=r.ref([]),v=r.ref([]),b=r.ref(-1),y=r.ref(!1),_=r.ref(!1),x=n&&"pictureInPictureEnabled"in n,w=i.createEventHook(),k=t=>{be(e,e=>{if(t){const n="number"==typeof t?t:t.id;e.textTracks[n].mode="disabled"}else for(let t=0;t<e.textTracks.length;++t)e.textTracks[t].mode="disabled";b.value=-1})};r.watchEffect(()=>{if(!n)return;const r=i.toValue(e);if(!r)return;const a=i.toValue(t.src);let o=[];a&&("string"==typeof a?o=[{src:a}]:Array.isArray(a)?o=a:i.isObject(a)&&(o=[a]),r.querySelectorAll("source").forEach(e=>{e.removeEventListener("error",w.trigger),e.remove()}),o.forEach(({src:e,type:t})=>{const i=n.createElement("source");i.setAttribute("src",e),i.setAttribute("type",t||""),i.addEventListener("error",w.trigger),r.appendChild(i)}),r.load())}),i.tryOnScopeDispose(()=>{const t=i.toValue(e);
146t&&t.querySelectorAll("source").forEach(e=>e.removeEventListener("error",w.trigger))}),r.watch([e,c],()=>{const t=i.toValue(e);t&&(t.volume=c.value)}),r.watch([e,_],()=>{const t=i.toValue(e);t&&(t.muted=_.value)}),r.watch([e,p],()=>{const t=i.toValue(e);t&&(t.playbackRate=p.value)}),r.watchEffect(()=>{if(!n)return;const r=i.toValue(t.tracks),a=i.toValue(e);r&&r.length&&a&&(a.querySelectorAll("track").forEach(e=>e.remove()),r.forEach(({default:e,kind:t,label:i,src:r,srcLang:o},s)=>{const l=n.createElement("track");l.default=e||!1,l.kind=t,l.label=i,l.src=r,l.srclang=o,l.default&&(b.value=s),a.appendChild(l)}))});const{ignoreUpdates:S}=i.watchIgnorable(a,t=>{const n=i.toValue(e);n&&(n.currentTime=t)}),{ignoreUpdates:M}=i.watchIgnorable(f,t=>{const n=i.toValue(e);n&&(t?n.play():n.pause())});h(e,"timeupdate",()=>S(()=>a.value=i.toValue(e).currentTime)),h(e,"durationchange",()=>o.value=i.toValue(e).duration),h(e,"progress",()=>g.value=function(e){let t=[];for(let n=0;n<e.length;++n)t=[...t,[e.start(n),e.end(n)]];return t}(i.toValue(e).buffered)),h(e,"seeking",()=>s.value=!0),h(e,"seeked",()=>s.value=!1),h(e,["waiting","loadstart"],()=>{u.value=!0,M(()=>f.value=!1)}),h(e,"loadeddata",()=>u.value=!1),h(e,"playing",()=>{u.value=!1,d.value=!1,M(()=>f.value=!0)}),h(e,"ratechange",()=>p.value=i.toValue(e).playbackRate),h(e,"stalled",()=>m.value=!0),h(e,"ended",()=>d.value=!0),h(e,"pause",()=>M(()=>f.value=!1)),h(e,"play",()=>M(()=>f.value=!0)),h(e,"enterpictureinpicture",()=>y.value=!0),h(e,"leavepictureinpicture",()=>y.value=!1),h(e,"volumechange",()=>{const t=i.toValue(e);t&&(c.value=t.volume,_.value=t.muted)});const L=[],A=r.watch([e],()=>{const t=i.toValue(e);t&&(A(),L[0]=h(t.textTracks,"addtrack",()=>v.value=ye(t.textTracks)),L[1]=h(t.textTracks,"removetrack",()=>v.value=ye(t.textTracks)),L[2]=h(t.textTracks,"change",()=>v.value=ye(t.textTracks)))});return i.tryOnScopeDispose(()=>L.forEach(e=>e())),{currentTime:a,duration:o,waiting:u,seeking:s,ended:d,stalled:m,buffered:g,playing:f,rate:p,volume:c,muted:_,tracks:v,selectedTrack:b,enableTrack:(t,n=!0)=>{be(e,e=>{const i="number"==typeof t?t:t.id;n&&k(),e.textTracks[i].mode="showing",b.value=i})},disableTrack:k,supportsPictureInPicture:x,togglePictureInPicture:()=>new Promise((t,i)=>{be(e,async e=>{x&&(y.value?n.exitPictureInPicture().then(t).catch(i):e.requestPictureInPicture().then(t).catch(i))})}),isPictureInPicture:y,onSourceError:w.on}},t.useMediaQuery=O,t.useMemoize=function(e,t){const n=(null==t?void 0:t.cache)?r.shallowReactive(t.cache):r.isVue2?function(){const e=r.shallowReactive({});return{get:t=>e[t],set:(t,n)=>r.set(e,t,n),has:t=>i.hasOwn(e,t),delete:t=>r.del(e,t),clear:()=>{Object.keys(e).forEach(t=>{r.del(e,t)})}}}():r.shallowReactive(new Map),a=(...e)=>(null==t?void 0:t.getKey)?t.getKey(...e):JSON.stringify(e),o=(t,...i)=>(n.set(t,e(...i)),n.get(t)),s=(...e)=>{const t=a(...e);return n.has(t)?n.get(t):o(t,...e)};return s.load=(...e)=>o(a(...e),...e),s.delete=(...e)=>{n.delete(a(...e))},s.clear=()=>{n.clear()},s.generateKey=a,s.cache=n,s},t.useMemory=function(e={}){const t=r.ref(),n=g(()=>"undefined"!=typeof performance&&"memory"in performance);if(n.value){const{interval:n=1e3}=e;i.useIntervalFn(()=>{t.value=performance.memory},n,{immediate:e.immediate,immediateCallback:e.immediateCallback})}return{isSupported:n,memory:t}},t.useMounted=m,t.useMouse=we,t.useMouseInElement=ke,t.useMousePressed=function(e={}){const{touch:t=!0,drag:n=!0,capture:i=!1,initialValue:a=!1,window:o=s}=e,l=r.ref(a),c=r.ref(null);if(!o)return{pressed:l,sourceType:c};const u=e=>()=>{l.value=!0,c.value=e},f=()=>{l.value=!1,c.value=null},p=r.computed(()=>d(e.target)||o);return h(p,"mousedown",u("mouse"),{passive:!0,capture:i}),h(o,"mouseleave",f,{passive:!0,capture:i}),h(o,"mouseup",f,{passive:!0,capture:i}),n&&(h(p,"dragstart",u("mouse"),{passive:!0,capture:i}),h(o,"drop",f,{passive:!0,capture:i}),h(o,"dragend",f,{passive:!0,capture:i})),t&&(h(p,"touchstart",u("touch"),{passive:!0,capture:i}),h(o,"touchend",f,{passive:!0,capture:i}),h(o,"touchcancel",f,{passive:!0,capture:i})),{pressed:l,sourceType:c}},t.useMutationObserver=v,t.useNavigatorLanguage=function(e={}){const{window:t=s}=e,n=null==t?void 0:t.navigator,i=g(()=>n&&"language"in n),a=r.ref(null==n?void 0:n.language);return h(t,"languagechange",()=>{n&&(a.value=n.language)}),{isSupported:i,language:a}},t.useNetwork=Se,t.useNow=Me,t.useObjectUrl=function(e){const t=r.ref(),n=()=>{t.value&&URL.revokeObjectURL(t.value),t.value=void 0};return r.watch(()=>i.toValue(e),e=>{n(),e&&(t.value=URL.createObjectURL(e))},{immediate:!0}),i.tryOnScopeDispose(n),r.readonly(t)},t.useOffsetPagination=function(e){const{total:t=Number.POSITIVE_INFINITY,pageSize:n=10,page:a=1,onPageChange:o=i.noop,onPageSizeChange:s=i.noop,onPageCountChange:l=i.noop}=e,c=Le(n,1,Number.POSITIVE_INFINITY),u=r.computed(()=>Math.max(1,Math.ceil(i.toValue(t)/i.toValue(c)))),d=Le(a,1,u),h=r.computed(()=>1===d.value),f=r.computed(()=>d.value===u.value);r.isRef(a)&&i.syncRef(a,d,{direction:r.isReadonly(a)?"ltr":"both"}),r.isRef(n)&&i.syncRef(n,c,{direction:r.isReadonly(n)?"ltr":"both"});const p={currentPage:d,currentPageSize:c,pageCount:u,isFirstPage:h,isLastPage:f,prev:function(){d.value--},next:function(){d.value++}};return r.watch(d,()=>{o(r.reactive(p))}),r.watch(c,()=>{s(r.reactive(p))}),r.watch(u,()=>{l(r.reactive(p))}),p},t.useOnline=function(e={}){const{isOnline:t}=Se(e);return t},t.usePageLeave=function(e={}){const{window:t=s}=e,n=r.ref(!1),i=e=>{if(!t)return;const i=(e=e||t.event).relatedTarget||e.toElement;n.value=!i};return t&&(h(t,"mouseout",i,{passive:!0}),h(t.document,"mouseleave",i,{passive:!0}),h(t.document,"mouseenter",i,{passive:!0})),n},t.useParallax=function(e,t={}){const{deviceOrientationTiltAdjust:n=(e=>e),deviceOrientationRollAdjust:i=(e=>e),mouseTiltAdjust:a=(e=>e),mouseRollAdjust:o=(e=>e),window:l=s}=t,c=r.reactive(Z({window:l})),u=r.reactive(Ae({window:l})),{elementX:d,elementY:h,elementWidth:f,elementHeight:p}=ke(e,{handleOutside:!1,window:l}),m=r.computed(()=>c.isSupported&&(null!=c.alpha&&0!==c.alpha||null!=c.gamma&&0!==c.gamma)?"deviceOrientation":"mouse");return{roll:r.computed(()=>
146{if("deviceOrientation"===m.value){let e;switch(u.orientation){case"landscape-primary":e=c.gamma/90;break;case"landscape-secondary":e=-c.gamma/90;break;case"portrait-primary":e=-c.beta/90;break;case"portrait-secondary":e=c.beta/90;break;default:e=-c.beta/90}return i(e)}{const e=-(h.value-p.value/2)/p.value;return o(e)}}),tilt:r.computed(()=>{if("deviceOrientation"===m.value){let e;switch(u.orientation){case"landscape-primary":e=c.beta/90;break;case"landscape-secondary":e=-c.beta/90;break;case"portrait-primary":e=c.gamma/90;break;case"portrait-secondary":e=-c.gamma/90;break;default:e=c.gamma/90}return n(e)}{const e=(d.value-f.value/2)/f.value;return a(e)}}),source:m}},t.useParentElement=function(e=$()){const t=r.shallowRef(),n=()=>{const n=d(e);n&&(t.value=n.parentElement)};return i.tryOnMounted(n),r.watch(()=>i.toValue(e),n),t},t.usePerformanceObserver=function(e,t){const{window:n=s,immediate:r=!0,...a}=e,o=g(()=>n&&"PerformanceObserver"in n);let l;const c=()=>{null==l||l.disconnect()},u=()=>{o.value&&(c(),l=new PerformanceObserver(t),l.observe(a))};return i.tryOnScopeDispose(c),r&&u(),{isSupported:o,start:u,stop:c}},t.usePermission=D,t.usePointer=function(e={}){const{target:t=s}=e,n=r.ref(!1),a=r.ref(e.initialValue||{});if(Object.assign(a.value,Oe,a.value),t){const r={passive:!0};h(t,["pointerdown","pointermove","pointerup"],t=>{n.value=!0,e.pointerTypes&&!e.pointerTypes.includes(t.pointerType)||(a.value=i.objectPick(t,Ce,!1))},r),h(t,"pointerleave",()=>n.value=!1,r)}return{...i.toRefs(a),isInside:n}},t.usePointerLock=function(e,t={}){const{document:n=l}=t,a=g(()=>n&&"pointerLockElement"in n),o=r.ref(),s=r.ref();let c;return a.value&&(h(n,"pointerlockchange",()=>{var e;const t=null!=(e=n.pointerLockElement)?e:o.value;c&&t===c&&(o.value=n.pointerLockElement,o.value||(c=s.value=null))}),h(n,"pointerlockerror",()=>{var e;const t=null!=(e=n.pointerLockElement)?e:o.value;if(c&&t===c){const e=n.pointerLockElement?"release":"acquire";throw new Error(`Failed to ${e} pointer lock.`)}})),{isSupported:a,element:o,triggerElement:s,lock:async function(t){var n;if(!a.value)throw new Error("Pointer Lock API is not supported by your browser.");if(s.value=t instanceof Event?t.currentTarget:null,c=t instanceof Event?null!=(n=d(e))?n:s.value:d(t),!c)throw new Error("Target element undefined.");return c.requestPointerLock(),await i.until(o).toBe(c)},unlock:async function(){return!!o.value&&(n.exitPointerLock(),await i.until(o).toBeNull(),!0)}}},t.usePointerSwipe=function(e,t={}){const n=i.toRef(e),{threshold:a=50,onSwipe:o,onSwipeEnd:s,onSwipeStart:l,disableTextSelect:c=!1}=t,u=r.reactive({x:0,y:0}),d=r.reactive({x:0,y:0}),f=(e,t)=>{d.x=e,d.y=t},p=r.computed(()=>u.x-d.x),m=r.computed(()=>u.y-d.y),{max:g,abs:v}=Math,b=r.computed(()=>g(v(p.value),v(m.value))>=a),y=r.ref(!1),_=r.ref(!1),x=r.computed(()=>b.value?v(p.value)>v(m.value)?p.value>0?"left":"right":m.value>0?"up":"down":"none"),w=e=>{var n,i,r;const a=0===e.buttons,o=1===e.buttons;return null==(r=null!=(i=null==(n=t.pointerTypes)?void 0:n.includes(e.pointerType))?i:a||o)||r},k=[h(e,"pointerdown",e=>{if(!w(e))return;_.value=!0;const t=e.target;null==t||t.setPointerCapture(e.pointerId);const{clientX:n,clientY:i}=e;((e,t)=>{u.x=e,u.y=t})(n,i),f(n,i),null==l||l(e)}),h(e,"pointermove",e=>{if(!w(e))return;if(!_.value)return;const{clientX:t,clientY:n}=e;f(t,n),!y.value&&b.value&&(y.value=!0),y.value&&(null==o||o(e))}),h(e,"pointerup",e=>{w(e)&&(y.value&&(null==s||s(e,x.value)),_.value=!1,y.value=!1)})];return i.tryOnMounted(()=>{var e,t,i,r,a,o,s,l;null==(t=null==(e=n.value)?void 0:e.style)||t.setProperty("touch-action","none"),c&&(null==(r=null==(i=n.value)?void 0:i.style)||r.setProperty("-webkit-user-select","none"),null==(o=null==(a=n.value)?void 0:a.style)||o.setProperty("-ms-user-select","none"),null==(l=null==(s=n.value)?void 0:s.style)||l.setProperty("user-select","none"))}),{isSwiping:r.readonly(y),direction:r.readonly(x),posStart:r.readonly(u),posEnd:r.readonly(d),distanceX:p,distanceY:m,stop:()=>k.forEach(e=>e())}},t.usePreferredColorScheme=function(e){const t=O("(prefers-color-scheme: light)",e),n=O("(prefers-color-scheme: dark)",e);return r.computed(()=>n.value?"dark":t.value?"light":"no-preference")},t.usePreferredContrast=function(e){const t=O("(prefers-contrast: more)",e),n=O("(prefers-contrast: less)",e),i=O("(prefers-contrast: custom)",e);return r.computed(()=>
146t.value?"more":n.value?"less":i.value?"custom":"no-preference")},t.usePreferredDark=N,t.usePreferredLanguages=function(e={}){const{window:t=s}=e;if(!t)return r.ref(["en"]);const n=t.navigator,i=r.ref(n.languages);return h(t,"languagechange",()=>{i.value=n.languages}),i},t.usePreferredReducedMotion=function(e){const t=O("(prefers-reduced-motion: reduce)",e);return r.computed(()=>t.value?"reduce":"no-preference")},t.usePrevious=function(e,t){const n=r.shallowRef(t);return r.watch(i.toRef(e),(e,t)=>{n.value=t},{flush:"sync"}),r.readonly(n)},t.useRafFn=y,t.useRefHistory=K,t.useResizeObserver=ee,t.useScreenOrientation=Ae,t.useScreenSafeArea=function(){const e=r.ref(""),t=r.ref(""),n=r.ref(""),a=r.ref("");if(i.isClient){const e=V("--vueuse-safe-area-top"),t=V("--vueuse-safe-area-right"),n=V("--vueuse-safe-area-bottom"),r=V("--vueuse-safe-area-left");e.value="env(safe-area-inset-top, 0px)",t.value="env(safe-area-inset-right, 0px)",n.value="env(safe-area-inset-bottom, 0px)",r.value="env(safe-area-inset-left, 0px)",o(),h("resize",i.useDebounceFn(o))}function o(){e.value=Te("--vueuse-safe-area-top"),t.value=Te("--vueuse-safe-area-right"),n.value=Te("--vueuse-safe-area-bottom"),a.value=Te("--vueuse-safe-area-left")}return{top:e,right:t,bottom:n,left:a,update:o}},t.useScriptTag=function(e,t=i.noop,n={}){const{immediate:a=!0,manual:o=!1,type:s="text/javascript",async:c=!0,crossOrigin:u,referrerPolicy:d,noModule:h,defer:f,document:p=l,attrs:m={}}=n,g=r.ref(null);let v=null;const b=(n=!0)=>(v||(v=(n=>new Promise((r,a)=>{const o=e=>(g.value=e,r(e),e);if(!p)return void r(!1);let l=!1,v=p.querySelector(`script[src="${i.toValue(e)}"]`);v?v.hasAttribute("data-loaded")&&o(v):(v=p.createElement("script"),v.type=s,v.async=c,v.src=i.toValue(e),f&&(v.defer=f),u&&(v.crossOrigin=u),h&&(v.noModule=h),d&&(v.referrerPolicy=d),Object.entries(m).forEach(([e,t])=>null==v?void 0:v.setAttribute(e,t)),l=!0),v.addEventListener("error",e=>a(e)),v.addEventListener("abort",e=>a(e)),v.addEventListener("load",()=>{v.setAttribute("data-loaded","true"),t(v),o(v)}),l&&(v=p.head.appendChild(v)),n||o(v)}))(n)),v),y=()=>
146{if(!p)return;v=null,g.value&&(g.value=null);const t=p.querySelector(`script[src="${i.toValue(e)}"]`);t&&p.head.removeChild(t)};return a&&!o&&i.tryOnMounted(b),o||i.tryOnUnmounted(y),{scriptTag:g,load:b,unload:y}},t.useScroll=me,t.useScrollLock=function(e,t=!1){const n=r.ref(t);let a=null,o="";r.watch(i.toRef(e),e=>{const t=pe(i.toValue(e));if(t){const e=t;if(De.get(e)||De.set(e,e.style.overflow),"hidden"!==e.style.overflow&&(o=e.style.overflow),"hidden"===e.style.overflow)return n.value=!0;if(n.value)return e.style.overflow="hidden"}},{immediate:!0});const s=()=>{const t=pe(i.toValue(e));t&&n.value&&(i.isIOS&&(null==a||a()),t.style.overflow=o,De.delete(t),n.value=!1)};return i.tryOnScopeDispose(s),r.computed({get:()=>n.value,set(t){t?(()=>{const t=pe(i.toValue(e));t&&!n.value&&(i.isIOS&&(a=h(t,"touchmove",e=>{Ee(e)},{passive:!1})),t.style.overflow="hidden",n.value=!0)})():s()}})},t.useSessionStorage=function(e,t,n={}){const{window:i=s}=n;return B(e,t,null==i?void 0:i.sessionStorage,n)},t.useShare=function(e={},t={}){const{navigator:n=c}=t,r=n,a=g(()=>r&&"canShare"in r);return{isSupported:a,share:async(t={})=>{if(a.value){const n={...i.toValue(e),...i.toValue(t)};let a=!0;if(n.files&&r.canShare&&(a=r.canShare({files:n.files})),a)return r.share(n)}}}},t.useSorted=function(...e){var t,n,a,o;const[s]=e;let l=je,c={};2===e.length?"object"==typeof e[1]?(c=e[1],l=null!=(t=c.compareFn)?t:je):l=null!=(n=e[1])?n:je:e.length>2&&(l=null!=(a=e[1])?a:je,c=null!=(o=e[2])?o:{});const{dirty:u=!1,sortFn:d=Pe}=c;return u?(r.watchEffect(()=>{const e=d(i.toValue(s),l);r.isRef(s)?s.value=e:s.splice(0,s.length,...e)}),s):r.computed(()=>d([...i.toValue(s)],l))},t.useSpeechRecognition=function(e={}){const{interimResults:t=!0,continuous:n=!0,maxAlternatives:a=1,window:o=s}=e,l=i.toRef(e.lang||"en-US"),c=r.ref(!1),u=r.ref(!1),d=r.ref(""),h=r.shallowRef(void 0),f=o&&(o.SpeechRecognition||o.webkitSpeechRecognition),p=g(()=>f);let m;return p.value&&(m=new f,m.continuous=n,m.interimResults=t,m.lang=i.toValue(l),m.maxAlternatives=a,m.onstart=()=>{u.value=!1},r.watch(l,e=>{m&&!c.value&&(m.lang=e)}),m.onresult=e=>{const t=e.results[e.resultIndex],{transcript:n}=t[0];u.value=t.isFinal,d.value=n,h.value=void 0},m.onerror=e=>{h.value=e},m.onend=()=>{c.value=!1,m.lang=i.toValue(l)},r.watch(c,()=>{c.value?m.start():m.stop()})),i.tryOnScopeDispose(()=>{c.value=!1}),{isSupported:p,isListening:c,isFinal:u,recognition:m,result:d,error:h,toggle:(e=!c.value)=>{c.value=e},start:()=>{c.value=!0},stop:()=>{c.value=!1}}},t.useSpeechSynthesis=function(e,t={}){const{pitch:n=1,rate:a=1,volume:o=1,window:l=s}=t,c=l&&l.speechSynthesis,u=g(()=>c),d=r.ref(!1),h=r.ref("init"),f=i.toRef(e||""),p=i.toRef(t.lang||"en-US"),m=r.shallowRef(void 0),v=e=>{e.lang=i.toValue(p),e.voice=i.toValue(t.voice)||null,e.pitch=i.toValue(n),e.rate=i.toValue(a),e.volume=o,e.onstart=()=>{d.value=!0,h.value="play"},e.onpause=()=>{d.value=!1,h.value="pause"},e.onresume=()=>{d.value=!0,h.value="play"},e.onend=()=>{d.value=!1,h.value="end"},e.onerror=e=>{m.value=e}},b=r.computed(()=>{d.value=!1,h.value="init";const e=new SpeechSynthesisUtterance(f.value);return v(e),e});return u.value&&(v(b.value),r.watch(p,e=>{b.value&&!d.value&&(b.value.lang=e)}),t.voice&&r.watch(t.voice,()=>{c.cancel()}),r.watch(d,()=>{d.value?c.resume():c.pause()})),i.tryOnScopeDispose(()=>{d.value=!1}),{isSupported:u,isPlaying:d,status:h,utterance:b,error:m,stop:()=>{c.cancel(),d.value=!1},toggle:(e=!d.value)=>{d.value=e},speak:()=>{c.cancel(),b&&c.speak(b.value)}}},t.useStepper=function(e,t){const n=r.ref(e),i=r.computed(()=>Array.isArray(n.value)?n.value:Object.keys(n.value)),a=r.ref(i.value.indexOf(null!=t?t:i.value[0])),o=r.computed(()=>d(a.value)),s=r.computed(()=>0===a.value),l=r.computed(()=>a.value===i.value.length-1),c=r.computed(()=>i.value[a.value+1]),u=r.computed(()=>i.value[a.value-1]);function d(e){return Array.isArray(n.value)?n.value[e]:n.value[i.value[e]]}function h(e){i.value.includes(e)&&(a.value=i.value.indexOf(e))}function f(e){return a.value>i.value.indexOf(e)}return{steps:n,stepNames:i,index:a,current:o,next:c,previous:u,isFirst:s,isLast:l,at:d,get:function(e){if(i.value.includes(e))return d(i.value.indexOf(e))},goTo:h,goToNext:function(){l.value||a.value++},goToPrevious:function(){s.value||a.value--},goBackTo:function(e){f(e)&&h(e)},isNext:function(e){return i.value.indexOf(e)===a.value+1},isPrevious:function(e){return i.value.indexOf(e)===a.value-1},isCurrent:function(e){return i.value.indexOf(e)===a.value},isBefore:function(e){return a.value<i.value.indexOf(e)},isAfter:f}},t.useStorage=B,t.useStorageAsync=function(e,t,n,a={}){var o;const{flush:l="pre",deep:c=!0,listenToStorageChanges:u=!0,writeDefaults:d=!0,mergeDefaults:f=!1,shallow:p,window:m=s,eventFilter:g,onError:v=(e=>{console.error(e)})}=a,b=i.toValue(t),y=F(b),_=(p?r.shallowRef:r.ref)(t),x=null!=(o=a.serializer)?o:z[y];if(!n)try{n=H("getDefaultStorageAsync",()=>{var e;return null==(e=s)?void 0:e.localStorage})()}catch(e){v(e)}async function w(t){if(n&&(!t||t.key===e))try{const i=t?t.newValue:await n.getItem(e);if(null==i)_.value=b,d&&null!==b&&await n.setItem(e,await x.write(b));else if(f){const e=await x.read(i);"function"==typeof f?_.value=f(e,b):"object"!==y||Array.isArray(e)?_.value=e:_.value={...b,...e}}else _.value=await x.read(i)}catch(e){v(e)}}return w(),m&&u&&h(m,"storage",e=>Promise.resolve().then(()=>w(e))),n&&i.watchWithFilter(_,async()=>{try{null==_.value?await n.removeItem(e):await n.setItem(e,await x.write(_.value))}catch(e){v(e)}},{flush:l,deep:c,eventFilter:g}),_},t.useStyleTag=function(e,t={}){const n=r.ref(!1),{document:a=l,immediate:o=!0,manual:s=!1,id:c="vueuse_styletag_"+ ++Ye}=t,u=r.ref(e);let d=()=>{};const h=()=>
146{if(!a)return;const e=a.getElementById(c)||a.createElement("style");e.isConnected||(e.id=c,t.media&&(e.media=t.media),a.head.appendChild(e)),n.value||(d=r.watch(u,t=>{e.textContent=t},{immediate:!0}),n.value=!0)},f=()=>{a&&n.value&&(d(),a.head.removeChild(a.getElementById(c)),n.value=!1)};return o&&!s&&i.tryOnMounted(h),s||i.tryOnScopeDispose(f),{id:c,css:u,unload:f,load:h,isLoaded:r.readonly(n)}},t.useSupported=g,t.useSwipe=function(e,t={}){const{threshold:n=50,onSwipe:a,onSwipeEnd:o,onSwipeStart:l,passive:c=!0,window:u=s}=t,d=r.reactive({x:0,y:0}),f=r.reactive({x:0,y:0}),p=r.computed(()=>d.x-f.x),m=r.computed(()=>d.y-f.y),{max:g,abs:v}=Math,b=r.computed(()=>g(v(p.value),v(m.value))>=n),y=r.ref(!1),_=r.computed(()=>b.value?v(p.value)>v(m.value)?p.value>0?"left":"right":m.value>0?"up":"down":"none"),x=e=>[e.touches[0].clientX,e.touches[0].clientY],w=(e,t)=>{f.x=e,f.y=t};let k;const S=function(e){if(!e)return!1;let t=!1;const n={get passive(){return t=!0,!1}};return e.addEventListener("x",i.noop,n),e.removeEventListener("x",i.noop),t}(null==u?void 0:u.document);k=c?S?{passive:!0}:{capture:!1}:S?{passive:!1,capture:!0}:{capture:!0};const M=[h(e,"touchstart",e=>{if(1!==e.touches.length)return;k.capture&&!k.passive&&e.preventDefault();const[t,n]=x(e);((e,t)=>{d.x=e,d.y=t})(t,n),w(t,n),null==l||l(e)},k),h(e,"touchmove",e=>{if(1!==e.touches.length)return;const[t,n]=x(e);w(t,n),!y.value&&b.value&&(y.value=!0),y.value&&(null==a||a(e))},k),h(e,["touchend","touchcancel"],e=>{y.value&&(null==o||o(e,_.value)),y.value=!1},k)];return{isPassiveEventSupported:S,isSwiping:y,direction:_,coordsStart:d,coordsEnd:f,lengthX:p,lengthY:m,stop:()=>M.forEach(e=>e())}},t.useTemplateRefsList=function(){const e=r.ref([]);return e.value.set=t=>{t&&e.value.push(t)},r.onBeforeUpdate(()=>{e.value.length=0}),e},t.useTextDirection=function(e={}){const{document:t=l,selector:n="html",observe:a=!1,initialValue:o="ltr"}=e;function s(){var e,i;return null!=(i=null==(e=null==t?void 0:t.querySelector(n))?void 0:e.getAttribute("dir"))?i:o}const c=r.ref(s());return i.tryOnMounted(()=>c.value=s()),a&&t&&v(t.querySelector(n),()=>c.value=s(),{attributes:!0}),r.computed({get:()=>c.value,set(e){var i,r;c.value=e,t&&(c.value?null==(i=t.querySelector(n))||i.setAttribute("dir",c.value):null==(r=t.querySelector(n))||r.removeAttribute("dir"))}})},t.useTextSelection=function(e={}){const{window:t=s}=e,n=r.ref(null),i=r.computed(()=>{var e,t;return null!=(t=null==(e=n.value)?void 0:e.toString())?t:""}),a=r.computed(()=>n.value?function(e){var t;const n=null!=(t=e.rangeCount)?t:0;return Array.from({length:n},(t,n)=>e.getRangeAt(n))}(n.value):[]),o=r.computed(()=>a.value.map(e=>e.getBoundingClientRect()));return t&&h(t.document,"selectionchange",(function(){n.value=null,t&&(n.value=t.getSelection())})),{text:i,rects:o,ranges:a,selection:n}},t.useTextareaAutosize=function(e){var t;const n=r.ref(null==e?void 0:e.element),a=r.ref(null==e?void 0:e.input),o=null!=(t=null==e?void 0:e.styleProp)?t:"height",s=r.ref(1),l=r.ref(0);function c(){var t;if(!n.value)return;let r="";n.value.style[o]="1px",s.value=null==(t=n.value)?void 0:t.scrollHeight;const a=i.toValue(null==e?void 0:e.styleTarget);a?a.style[o]=s.value+"px":r=s.value+"px",n.value.style[o]=r}return r.watch([a,n],()=>r.nextTick(c),{immediate:!0}),r.watch(s,()=>{var t;return null==(t=null==e?void 0:e.onResize)?void 0:t.call(e)}),ee(n,([{contentRect:e}])=>{l.value!==e.width&&(l.value=e.width,c())}),(null==e?void 0:e.watch)&&r.watch(e.watch,c,{immediate:!0,deep:!0}),{textarea:n,input:a,triggerResize:c}},t.useThrottledRefHistory=function(e,t={}){const{throttle:n=200,trailing:r=!0}=t,a=i.throttleFilter(n,r);return{...K(e,{...t,eventFilter:a})}},t.useTimeAgo=function(e,t={}){const{controls:n=!1,updateInterval:a=3e4}=t,{now:o,...s}=Me({interval:a,controls:!0}),l=r.computed(()=>Ne(new Date(i.toValue(e)),t,i.toValue(o)));return n?{timeAgo:l,...s}:l},t.useTimeoutPoll=function(e,t,n){const{start:a}=i.useTimeoutFn(s,t,{immediate:!1}),o=r.ref(!1);async function s(){o.value&&(await e(),a())}function l(){o.value||(o.value=!0,s())}function c(){o.value=!1}return(null==n?void 0:n.immediate)&&l(),i.tryOnScopeDispose(c),{isActive:o,pause:c,resume:l}},t.useTimestamp=function(e={}){const{controls:t=!1,offset:n=0,immediate:a=!0,interval:o="requestAnimationFrame",callback:s}=e,l=r.ref(i.timestamp()+n),c=()=>l.value=i.timestamp()+n,u=s?()=>{c(),s(l.value)}:c,d="requestAnimationFrame"===o?y(u,{immediate:a}):i.useIntervalFn(u,o,{immediate:a});return t?{timestamp:l,...d}:l},t.useTitle=function(e=null,t={}){var n,a,o;const{document:s=l,restoreOnUnmount:c=(e=>e)}=t,u=null!=(n=null==s?void 0:s.title)?n:"",d=i.toRef(null!=(a=null!=e?e:null==s?void 0:s.title)?a:null),h=e&&"function"==typeof e;function f(e){if(!("titleTemplate"in t))return e;const n=t.titleTemplate||"%s";return"function"==typeof n?n(e):i.toValue(n).replace(/%s/g,e)}return r.watch(d,(e,t)=>{e!==t&&s&&(s.title=f("string"==typeof e?e:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&s&&!h&&v(null==(o=s.head)?void 0:o.querySelector("title"),
146()=>{s&&s.title!==d.value&&(d.value=f(s.title))},{childList:!0}),i.tryOnBeforeUnmount(()=>{if(c){const e=c(u,d.value||"");null!=e&&s&&(s.title=e)}}),d},t.useTransition=function(e,t={}){let n=0;const a=()=>{const t=i.toValue(e);return"number"==typeof t?t:t.map(i.toValue)},o=r.ref(a());return r.watch(a,async e=>{var r,a;if(i.toValue(t.disabled))return;const s=++n;if(t.delay&&await i.promiseTimeout(i.toValue(t.delay)),s!==n)return;const l=Array.isArray(e)?e.map(i.toValue):i.toValue(e);null==(r=t.onStarted)||r.call(t),await $e(o,o.value,l,{...t,abort:()=>{var e;return s!==n||(null==(e=t.abort)?void 0:e.call(t))}}),null==(a=t.onFinished)||a.call(t)},{deep:!0}),r.watch(()=>i.toValue(t.disabled),e=>{e&&(n++,o.value=a())}),i.tryOnScopeDispose(()=>{n++}),r.computed(()=>i.toValue(t.disabled)?a():o.value)},t.useUrlSearchParams=function(e="history",t={}){const{initialValue:n={},removeNullishValues:a=!0,removeFalsyValues:o=!1,write:l=!0,window:c=s}=t;if(!c)return r.reactive(n);const u=r.reactive({});function d(){return new URLSearchParams(function(){if("history"===e)return c.location.search||"";if("hash"===e){const e=c.location.hash||"",t=e.indexOf("?");return t>0?e.slice(t):""}return(c.location.hash||"").replace(/^#/,"")}())}function f(e){const t=new Set(Object.keys(u));for(const n of e.keys()){const i=e.getAll(n);u[n]=i.length>1?i:e.get(n)||"",t.delete(n)}Array.from(t).forEach(e=>delete u[e])}const{pause:p,resume:m}=i.pausableWatch(u,()=>{const e=new URLSearchParams("");Object.keys(u).forEach(t=>{const n=u[t];Array.isArray(n)?n.forEach(n=>e.append(t,n)):a&&null==n||o&&!n?e.delete(t):e.set(t,n)}),g(e)},{deep:!0});function g(t,n){p(),n&&f(t),c.history.replaceState(c.history.state,c.document.title,c.location.pathname+function(t){const n=t.toString();if("history"===e)return`${n?"?"+n:""}${c.location.hash||""}`;if("hash-params"===e)return`${c.location.search||""}${n?"#"+n:""}`;const i=c.location.hash||"#",r=i.indexOf("?");return r>0?`${i.slice(0,r)}${n?"?"+n:""}`:`${i}${n?"?"+n:""}`}(t)),m()}function v(){l&&g(d(),!0)}h(c,"popstate",v,!1),"history"!==e&&h(c,"hashchange",v,!1);const b=d();return b.keys().next().value?f(b):Object.assign(u,n),u},t.useUserMedia=function(e={}){var t,n;const a=r.ref(null!=(t=e.enabled)&&t),o=r.ref(null==(n=e.autoSwitch)||n),s=r.ref(e.constraints),{navigator:l=c}=e,u=g(()=>{var e;return null==(e=null==l?void 0:l.mediaDevices)?void 0:e.getUserMedia}),d=r.shallowRef();function h(e){switch(e){case"video":if(s.value)return s.value.video||!1;break;case"audio":if(s.value)return s.value.audio||!1}}async function f(){if(u.value&&!d.value)return d.value=await l.mediaDevices.getUserMedia({video:h("video"),audio:h("audio")}),d.value}function p(){var e;null==(e=d.value)||e.getTracks().forEach(e=>e.stop()),d.value=void 0}function m(){p(),a.value=!1}
146async function v(){return await f(),d.value&&(a.value=!0),d.value}async function b(){return p(),await v()}return r.watch(a,e=>{e?f():p()},{immediate:!0}),r.watch(s,()=>{o.value&&d.value&&b()},{immediate:!0}),i.tryOnScopeDispose(()=>{m()}),{isSupported:u,stream:d,start:v,stop:m,restart:b,constraints:s,enabled:a,autoSwitch:o}},t.useVModel=Ue,t.useVModels=function(e,t,n={}){const i={};for(const r in e)i[r]=Ue(e,r,t,n);return i},t.useVibrate=function(e){const{pattern:t=[],interval:n=0,navigator:r=c}=e||{},a=g(()=>void 0!==r&&"vibrate"in r),o=i.toRef(t);let s;const l=(e=o.value)=>{a.value&&r.vibrate(e)};return n>0&&(s=i.useIntervalFn(l,n,{immediate:!1,immediateCallback:!1})),{isSupported:a,pattern:t,intervalControls:s,vibrate:l,stop:()=>{a.value&&r.vibrate(0),null==s||s.pause()}}},t.useVirtualList=function(e,t){const{containerStyle:n,wrapperProps:i,scrollTo:a,calculateRange:o,currentList:s,containerRef:l}="itemHeight"in t?function(e,t){const n=Xe(t),{state:i,source:a,currentList:o,size:s,containerRef:l}=n,{itemHeight:c,overscan:u=5}=e,d=Ge(i,a,c),h=qe(a,c),f=Je("vertical",u,h,d,n),p=Ke(c,a),m=r.computed(()=>p(i.value.start)),g=Qe(c,a);Ze(s,t,l,f);const v=tt("vertical",f,p,l),b=r.computed(()=>({style:{width:"100%",height:g.value-m.value+"px",marginTop:m.value+"px"}}));return{calculateRange:f,scrollTo:v,containerStyle:{overflowY:"auto"},wrapperProps:b,currentList:o,containerRef:l}}(t,e):function(e,t){const n=Xe(t),{state:i,source:a,currentList:o,size:s,containerRef:l}=n,{itemWidth:c,overscan:u=5}=e,d=Ge(i,a,c),h=qe(a,c),f=Je("horizontal",u,h,d,n),p=Ke(c,a),m=r.computed(()=>p(i.value.start)),g=Qe(c,a);Ze(s,t,l,f);const v=tt("horizontal",f,p,l),b=r.computed(()=>({style:{height:"100%",width:g.value-m.value+"px",marginLeft:m.value+"px",display:"flex"}}));return{scrollTo:v,calculateRange:f,wrapperProps:b,containerStyle:{overflowX:"auto"},currentList:o,containerRef:l}}(t,e);return{list:s,scrollTo:a,containerProps:{ref:l,onScroll:()=>{o()},style:n},wrapperProps:i}},t.useWakeLock=function(e={}){const{navigator:t=c,document:n=l}=e,a=r.ref(!1),o=r.shallowRef(null),s=Q({document:n}),u=g(()=>t&&"wakeLock"in t),d=r.computed(()=>!!o.value&&"visible"===s.value);async function f(e){var n;await(null==(n=o.value)?void 0:n.release()),o.value=u.value?await t.wakeLock.request(e):null}return u.value&&(h(o,"release",()=>{var e,t;a.value=null!=(t=null==(e=o.value)?void 0:e.type)&&t}),i.whenever(()=>"visible"===s.value&&"visible"===(null==n?void 0:n.visibilityState)&&a.value,e=>{a.value=!1,f(e)})),{sentinel:o,isSupported:u,isActive:d,request:async function(e){"visible"===s.value?await f(e):a.value=e},forceRequest:f,release:async function(){a.value=!1;const e=o.value;o.value=null,await(null==e?void 0:e.release())}}},t.useWebNotification=function(e={}){const{window:t=s,requestPermissions:n=!0}=e,a=e,o=g(()=>{if(!t||!("Notification"in t))return!1;try{new Notification("")}catch(e){return!1}return!0}),l=r.ref(o.value&&"permission"in Notification&&"granted"===Notification.permission),c=r.ref(null),u=async()=>{if(o.value){if(!l.value&&"denied"!==Notification.permission){"granted"===await Notification.requestPermission()&&(l.value=!0)}return l.value}},{on:d,trigger:f}=i.createEventHook(),{on:p,trigger:m}=i.createEventHook(),{on:v,trigger:b}=i.createEventHook(),{on:y,trigger:_}=i.createEventHook(),x=()=>{c.value&&c.value.close(),c.value=null};if(n&&i.tryOnMounted(u),i.tryOnScopeDispose(x),o.value&&t){const e=t.document;h(e,"visibilitychange",t=>{t.preventDefault(),"visible"===e.visibilityState&&x()})}return{isSupported:o,notification:c,ensurePermissions:u,permissionGranted:l,show:async e=>{if(!o.value||!l.value)return;const t=Object.assign({},a,e);return c.value=new Notification(t.title||"",t),c.value.onclick=f,c.value.onshow=m,c.value.onerror=b,c.value.onclose=_,c.value},close:x,onClick:d,onShow:p,onError:v,onClose:y}},t.useWebSocket=function(e,t={}){const{onConnected:n,onDisconnected:a,onError:o,onMessage:s,immediate:l=!0,autoClose:c=!0,protocols:u=[]}=t,d=r.ref(null),f=r.ref("CLOSED"),p=r.ref(),m=i.toRef(e);let g,v,b,y=!1,_=0,x=[];const w=()=>{if(x.length&&p.value&&"OPEN"===f.value){for(const e of x)p.value.send(e);x=[]}},k=()=>{clearTimeout(b),b=void 0},S=(e=1e3,t)=>{i.isClient&&p.value&&(y=!0,k(),null==g||g(),p.value.close(e,t),p.value=void 0)},M=(e,t=!0)=>p.value&&"OPEN"===f.value?(w(),p.value.send(e),!0):(t&&x.push(e),!1),L=()=>
146{if(y||void 0===m.value)return;const e=new WebSocket(m.value,u);p.value=e,f.value="CONNECTING",e.onopen=()=>{f.value="OPEN",_=0,null==n||n(e),null==v||v(),w()},e.onclose=n=>{if(f.value="CLOSED",null==a||a(e,n),!y&&t.autoReconnect&&e===p.value){const{retries:e=-1,delay:n=1e3,onFailed:i}=it(t.autoReconnect);"number"==typeof e&&(e<0||_<e)?(_+=1,setTimeout(L,n)):"function"==typeof e&&e()?setTimeout(L,n):null==i||i()}},e.onerror=t=>{null==o||o(e,t)},e.onmessage=n=>{if(t.heartbeat){k();const{message:e=nt,responseMessage:i=e}=it(t.heartbeat);if(n.data===i)return}d.value=n.data,null==s||s(e,n)}};if(t.heartbeat){const{message:e=nt,interval:n=1e3,pongTimeout:r=1e3}=it(t.heartbeat),{pause:a,resume:o}=i.useIntervalFn(()=>{M(e,!1),null==b&&(b=setTimeout(()=>{S(),y=!1},r))},n,{immediate:!1});g=a,v=o}c&&(i.isClient&&h("beforeunload",()=>S()),i.tryOnScopeDispose(S));const A=()=>{(i.isClient||i.isWorker)&&(S(),y=!1,_=0,L())};return l&&A(),r.watch(m,A),{data:d,status:f,close:S,send:M,open:A,ws:p}},t.useWebWorker=function(e,t,n){const{window:a=s}=null!=n?n:{},o=r.ref(null),l=r.shallowRef();return a&&(l.value="string"==typeof e?new Worker(e,t):"function"==typeof e?e():e,l.value.onmessage=e=>{o.value=e.data},i.tryOnScopeDispose(()=>{l.value&&l.value.terminate()})),{data:o,post:(...e)=>{l.value&&l.value.postMessage(...e)},terminate:function(){l.value&&l.value.terminate()},worker:l}},t.useWebWorkerFn=function(e,t={}){const{dependencies:n=[],localDependencies:a=[],timeout:o,window:l=s}=t,c=r.ref(),u=r.ref("PENDING"),d=r.ref({}),h=r.ref(),f=(e="PENDING")=>{c.value&&c.value._url&&l&&(c.value.terminate(),URL.revokeObjectURL(c.value._url),d.value={},c.value=void 0,l.clearTimeout(h.value),u.value=e)};return f(),i.tryOnScopeDispose(f),{workerFn:(...t)=>"RUNNING"===u.value?(console.error("[useWebWorkerFn] You can only run one instance of the worker at a time."),Promise.reject()):(c.value=(()=>{const t=at(e,n,a),i=new Worker(t);return i._url=t,i.onmessage=e=>{const{resolve:t=(()=>{}),reject:n=(()=>{})}=d.value,[i,r]=e.data;switch(i){case"SUCCESS":t(r),f(i);break;default:n(r),f("ERROR")}},i.onerror=e=>{const{reject:t=(()=>{})}=d.value;e.preventDefault(),t(e),f("ERROR")},o&&(h.value=setTimeout(()=>f("TIMEOUT_EXPIRED"),o)),i})(),((...e)=>new Promise((t,n)=>{var i;d.value={resolve:t,reject:n},null==(i=c.value)||i.postMessage([[...e]]),u.value="RUNNING"}))(...t)),workerStatus:u,workerTerminate:f}},t.useWindowFocus=function(e={}){const{window:t=s}=e;if(!t)return r.ref(!1);const n=r.ref(t.document.hasFocus());return h(t,"blur",()=>{n.value=!1}),h(t,"focus",()=>{n.value=!0}),n},t.useWindowScroll=function(e={}){const{window:t=s,behavior:n="auto"}=e;if(!t)return{x:r.ref(0),y:r.ref(0)};const i=r.ref(t.scrollX),a=r.ref(t.scrollY),o=r.computed({get:()=>i.value,set(e){scrollTo({left:e,behavior:n})}}),l=r.computed({get:()=>a.value,set(e){scrollTo({top:e,behavior:n})}});return h(t,"scroll",()=>{i.value=t.scrollX,a.value=t.scrollY},{capture:!1,passive:!0}),{x:o,y:l}},t.useWindowSize=function(e={}){const{window:t=s,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:a=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:l=!0,type:c="inner"}=e,u=r.ref(n),d=r.ref(a),f=()=>{t&&("outer"===c?(u.value=t.outerWidth,d.value=t.outerHeight):l?(u.value=t.innerWidth,d.value=t.innerHeight):(u.value=t.document.documentElement.clientWidth,d.value=t.document.documentElement.clientHeight))};if(f(),i.tryOnMounted(f),h("resize",f,{passive:!0}),o){const e=O("(orientation: portrait)");r.watch(e,()=>f())}return{width:u,height:d}}
146,Object.keys(i).forEach((function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})}))}).call(this,n("yLpj"))},RnhZ:function(e,t,n){var i={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn-bd":"loYQ","./bn-bd.js":"loYQ","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-in":"7C5Q","./en-in.js":"7C5Q","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./en-sg":"t+mt","./en-sg.js":"t+mt","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-mx":"tbfe","./es-mx.js":"tbfe","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fil":"1ppg","./fil.js":"1ppg","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./ga":"USCx","./ga.js":"USCx","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-deva":"qvJo","./gom-deva.js":"qvJo","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it-ch":"bxKX","./it-ch.js":"bxKX","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ku":"JCF/","./ku.js":"JCF/","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./oc-lnc":"Fnuy","./oc-lnc.js":"Fnuy","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tk":"Wv91","./tk.js":"Wv91","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-mo":"OmwH","./zh-mo.js":"OmwH","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function r(e){var t=a(e);return n(t)}function a(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id="RnhZ"},RryX:function(e,t,n){"use strict";
146Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("eO9T");t.default=function(e){return(0,i.withParams)({type:"maxValue",max:e},(function(t){return!(0,i.req)(t)||(!/\s/.test(t)||t instanceof Date)&&+t<=+e}))}},RvOg:function(e,t,n){},S6ln:function(e,t,n){!function(e){"use strict"; 147//! moment.js locale configuration 148function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return i+=1===e?"dan":"dana";case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"sijeÄnja_veljaÄe_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sijeÄanj_veljaÄa_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._Äet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_Äe_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juÄer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[proÅ¡lu] [nedjelju] [u] LT";case 3:return"[proÅ¡lu] [srijedu] [u] LT";case 6:return"[proÅ¡le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[proÅ¡li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},S7Xf:function(e,t,n){var i=n("4uTw"),r=n("RBan"),a=n("gpbi"),o=n("9Nap");e.exports=function(e,t){return t=i(t,e),null==(e=a(e,t))||delete e[o(r(t))]}},SFxW:function(e,t,n){!function(e){"use strict";
149//! moment.js locale configuration 150var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertÉsi_ÃÉrÅÉnbÉ axÅamı_ÃÉrÅÉnbÉ_CümÉ axÅamı_CümÉ_ÅÉnbÉ".split("_"),weekdaysShort:"Baz_BzE_ÃAx_ÃÉr_CAx_Cüm_ÅÉn".split("_"),weekdaysMin:"Bz_BE_ÃA_ÃÉ_CA_Cü_ÅÉ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gÉlÉn hÉftÉ] dddd [saat] LT",lastDay:"[dünÉn] LT",lastWeek:"[keçÉn hÉftÉ] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s ÉvvÉl",s:"bir neÃ§É saniyÉ",ss:"%d saniyÉ",m:"bir dÉqiqÉ",mm:"%d dÉqiqÉ",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecÉ|sÉhÉr|gündüz|axÅam/,isPM:function(e){return/^(gündüz|axÅam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecÉ":e<12?"sÉhÉr":e<17?"gündüz":"axÅam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},SKAX:function(e,t,n){var i=n("JC6p"),r=n("lQqw")(i);e.exports=r},SW4x:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("v-list-group",{staticClass:"pl-0",attrs:{"prepend-icon":e.item.icon,"sub-group":e.subGroup,"no-action":"",flat:"","active-class":"grey lighten-4"},scopedSlots:e._u([{key:"activator",fn:function(){return[e.text?t("v-list-item-icon",{staticClass:"v-list-item__icon--text",domProps:{textContent:e._s(e.computedText)}}):e._e(),e._v(" "),t("v-list-item-content",[t("v-list-item-title",{staticClass:"text-13",domProps:{textContent:e._s(e.title)}})],1)]},proxy:!0}]),model:{value:e.listModel,callback:function(t){e.listModel=t},expression:"listModel"}},[e._v(" "),e._l(e.children,(function(e,n){return[e.children?t("base-item-sub-group",{key:"sub-group-".concat(n),staticClass:"pl-0",attrs:{item:e}}):t("base-item",{key:"item-".concat(n),attrs:{item:e,text:!1}})]}))],2)};i._withStripped=!0;var r=n("lSNA"),a=n.n(r),o=n("L2JU"),s=n("N1om"),l=n.n(s);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={name:"ItemGroup",mixins:[n("dWAg").a],inheritAttrs:!1,data:function(){return{listModel:0}},props:{item:{type:Object,default:function(){return{avatar:void 0,group:void 0,title:void 0,subHeader:void 0,children:[]}}},subGroup:{type:Boolean,default:!1},text:{type:Boolean,default:!1}},computed:u(u({},Object(o.c)(["getThemeMode"])),{},{children:function(){return this.item.children.map((function(e){return u(u({},e),{},{to:e.to?"".concat(e.to):void 0})}))},title:function(){return this.item&&(this.item.text||this.item.title)?this.item.text?this.item.text:this.item.title:""},computedText:function(){if(!this.item||!this.item.title)return"";var e="";return this.item.title.split(" ").forEach((function(t){e+=t.substring(0,1)})),e},group:function(){return this.genGroup(this.item.children)}}),methods:{genGroup:function(e){var t=this;return e.filter((function(e){return e.to})).map((function(e){var n=e.group||t.item.group,i="".concat(n,"/").concat(l()(e.to));return e.children&&(i="".concat(i,"|").concat(t.genGroup(e.children))),i})).join("|")}}},h=n("KHd+"),f=n("ZUTo"),p=n.n(f),m=n("VrAw"),g=n("XSMC"),v=n("NMP6"),b=Object(h.a)(d,i,[],!1,null,null,null);t.default=b.exports;p()(b,{VListGroup:m.a,VListItemContent:g.b,VListItemIcon:v.a,VListItemTitle:g.d})},Sa7X:function(e,t,n){"use strict";n("evfG")},SatO:function(e,t,n){!function(e){"use strict";
151//! moment.js locale configuration 152e.defineLocale("zh-hk",{months:"䏿_äºæ_䏿_åæ_äºæ_å æ_䏿_å «æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå ".split("_"),weekdaysShort:"鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å ".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥dddd HH:mm",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(e,t){return 12===e&&(e=0),"忍"===t||"æ©ä¸"===t||"ä¸å"===t?e:"ä¸å"===t?e>=11?e:e+12:"ä¸å"===t||"æä¸"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"忍":i<900?"æ©ä¸":i<1200?"ä¸å":1200===i?"ä¸å":i<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©]LT",nextDay:"[æå¤©]LT",nextWeek:"[ä¸]ddddLT",lastDay:"[æ¨å¤©]LT",lastWeek:"[ä¸]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|é±)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"æ¥";case"M":return e+"æ";case"w":case"W":return e+"é±";default:return e}},relativeTime:{future:"%så¾",past:"%så",s:"å¹¾ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ",hh:"%d å°æ",d:"1 天",dd:"%d 天",M:"1 åæ",MM:"%d åæ",y:"1 å¹´",yy:"%d å¹´"}})}(n("wd/R"))},SksO:function(e,t){function n(t,i){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,i)}e.exports=n},T5xV:function(e,t,n){"use strict";n("eY0V")},THXi:function(e,t,n){"use strict";n("7FqK")},TJrt:function(e,t,n){"use strict";n.r(t);var i=n("J4zp"),r=n.n(i),a=n("lSNA"),o=n.n(a),s=n("WTW0"),l=n("Kw5r"),c=n("wVcz"),u=n("FYTm"),d=n("LvDl"),h=n("BkRI"),f=n.n(h);function p(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e,t){return function(e,t,n){var i=v({},e);return Object.keys(t).forEach((function(e){n.includes(e)||(i[e]=t[e])})),i}(e,t,["permissions","graphAction","graphActions","instances","versionId","versionTime"])},y=function(e,t,n,i){var r,a=(null===(r=e.versions[t])||void 0===r?void 0:r.actions)||{},o=Object.values(a).map((function(t){return function(e,t,n){var i=t.find((function(t){return t.type===e.type&&t.id===e.id}));return i?(function(e,t){var n;t.minInstances>0&&(null===(n=t.agentIds)||void 0===n?void 0:n.length)>0&&e("updateUserStoreList",t.agentIds[0])}(n,i),b(e,i)):e}(t,e.actions,i)}));return v(v({},e),{},{actions:n.getFlattenedActions(o)})},_={namespaced:!0,state:function(){return{articleAbstract:"",articleTitle:"",articleStatus:"new",contributorPermissions:{canView:["author"],canInvite:[]},currentRevisionNumber:null,currentVersionNumber:null,currentActionPermissions:[],currentAction:{},currentStage:{},currentUserNextGenAgent:{},currentDecision:null,previousDecision:null,currentDotVersion:null,viewingDotVersion:null,isCurrentVersion:!0,isViewingSubmissionScreen:!1,currentRevisionId:null,viewingRevisionId:null,journalName:"",userArticleRoles:[],flattenedActions:[],flattenedStages:[],versionTimeId:null,workflowDocument:[],selectedVersions:{},userId:null,userMapComputed:{},actionSaveEventFired:(new Date).getTime(),viewOverview:!1,pageIsLoaded:!1,isLoading:!1,questionsAreLoaded:!1,statusSummary:{}}},getters:{currentDecisionStageOption:function(e){var t,n;return(null===(t=e.currentAction)||void 0===t||null===(n=t.potentialResult)||void 0===n?void 0:n.decisionStage)||{}},currentVersionIsViewingDotVersion:function(e){return e.currentDotVersion===e.viewingDotVersion},latestActiveStage:function(e){return e.flattenedStages.find((function(e){return!(null!=e&&e.isStageCompleted)}))||null},getStatusSummary:function(e){return function(t){return!(!t||!e.statusSummary.hasOwnProperty(t))&&e.statusSummary[t]}},hasUnsavedChangesOnAPriorAction:function(e){for(var t=0,n=Object.entries(e.statusSummary);t<n.length;t++){var i=r()(n[t],2),a=i[0],o=i[1];if(a===e.currentAction.id)return!1;if("active"===o)return!0}return!1},currentActionFormattedAgent:function(e){var t,n,i,r,a,o;return(null===(t=e.currentAction)||void 0===t||null===(n=t.agent)||void 0===n?void 0:n.role)+(null!==(i=e.currentAction)&&void 0!==i&&null!==(r=i.agent)&&void 0!==r&&r.title?" - "+(null===(a=e.currentAction)||void 0===a||null===(o=a.agent)||void 0===o?void 0:o.title):"")},currentActionFormattedStatus:function(e){switch(!0){case!e.currentAction.graphAction:return"It has not been started yet";case"staged"===e.currentAction.actionStatus:return"its status is: <strong>".concat(e.currentAction.actionStatus,"</strong> (meaning it has been saved but has not been submitted)");default:return"its status is: <strong>".concat(e.currentAction.actionStatus,"</strong>")}},flattenedStagesRoles:function(e){return Object(d.chain)(e.flattenedStages).map((function(e){var t;return(null==e||null===(t=e.actions)||void 0===t?void 0:t.map((function(e){return null==e?void 0:e.agent})))||{}})).flatten().uniqWith(d.isEqual).value()},pageIsLoaded:function(e){return e.pageIsLoaded},questionsAreLoaded:function(e){return e.questionsAreLoaded},currentAction:function(e){return e.currentAction},currentGraphAction:function(e){var t;return null===(t=e.currentAction)||void 0===t?void 0:t.graphAction},currentStage:function(e){return e.currentStage},actionSaveEventFired:function(e){return e.actionSaveEventFired},getField:s.b,hasSavedGraphAction:function(e){var t,n=p(e.workflowDocument);try{for(n.s();!(t=n.n()).done;){var i,r=p(t.value.actions);try{for(r.s();!(i=r.n()).done;){if("active"!==i.value.status)return!0}}catch(e){r.e(e)}finally{r.f()}}}catch(e){n.e(e)}finally{n.f()}return!1},getVersionItems:function(e){return function(e){var t,n=Object.entries(e.versions);return null==n||null===(t=n.filter((function(e,t){var i,a=r()(e,2),o=(a[0],a[1]);return t===n.length-1||(null===(i=Object.values((null==o?void 0:o.actions)||{}))||void 0===i?void 0:i.find((function(e){return null==e?void 0:e.graphAction})))})))||void 0===t?void 0:t.map((function(e){var t=r()(e,2),n=t[0],i=t[1];return{text:"v".concat(i.revision,".").concat(i.version),value:n}}))}},getSelectedVersionText:function(e){return function(t){var n=t.ver
152sions[e.selectedVersions[t.id]];return n?"v".concat(n.revision,".").concat(n.version):"N/A"}},getFlattenedActions:function(){return function(e){if(!e)return[];var t=[];return e.forEach((function(e){e.instances&&Object.values(e.instances).length?Object.values(e.instances).forEach((function(n,i){var r=v(v({},e),n);r.instanceNumber=i+1,delete r.instances,t.push(r)})):t.push(e)})),t}},getStageVersionTimes:function(e){return Array.isArray(e.workflowDocument)?e.workflowDocument.map((function(t){var n=e.versionTimeId,i=t.versions[n];return o()({},t.id,{start:i?i.start:null,end:i?i.end:null})})):[]}},mutations:{setPageIsLoaded:function(e,t){e.pageIsLoaded=t},setQuestionsAreLoaded:function(e,t){e.questionsAreLoaded=t},setActionSaveEventFired:function(e,t){e.actionSaveEventFired=t},updateField:s.d,setUserId:function(e,t){e.userId=t},setArticleAbstract:function(e,t){e.articleAbstract=t},setArticleStatus:function(e,t){e.articleStatus=t},setArticleTitle:function(e,t){e.articleTitle=t},setJournalName:function(e,t){e.journalName=t},setContributorPermissions:function(e,t){e.contributorPermissions=t},setCurrentDecision:function(e,t){e.currentDecision=t},setPreviousDecision:function(e,t){e.previousDecision=t},setVersionTimeId:function(e,t){e.versionTimeId=parseInt(t)},setCurrentAction:function(e,t){e.currentAction=t},setCurrentActionPermissions:function(e,t){e.currentActionPermissions=t},setCurrentRevisionId:function(e,t){e.currentRevisionId=t},setViewingRevisionId:function(e,t){e.viewingRevisionId=t},setCurrentDotVersion:function(e,t){e.currentDotVersion=t},setIsCurrentVersion:function(e){e.isCurrentVersion=e.versionTimeId===e.currentStage.currentVersionId},setViewingDotVersion:function(e,t){e.viewingDotVersion=t},setCurrentStage:function(e,t){e.currentStage=t,(null==t?void 0:t.start)>0&&(e.currentRevisionNumber=t.revision,e.currentVersionNumber=t.version)},setCurrentActionAgent:function(e,t){e.currentUserNextGenAgent=t},setUserArticleRoles:function(e,t){e.userArticleRoles=t},setWorkflowDocument:function(e,t){e.workflowDocument=t},setFlattenedActions:function(e,t){e.flattenedActions=t},setFlattenedStages:function(e,t){e.flattenedStages=t},setSelectedVersion:function(e,t){e.selectedVersions=t},setUserMapComputed:function(e,t){e.userMapComputed=t},toggleViewingSubmissionScreen:function(e){e.isViewingSubmissionScreen=!e.isViewingSubmissionScreen},setIsViewingSubmissionScreen:function(e,t){e.isViewingSubmissionScreen=t},setViewOverview:function(e,t){e.viewOverview=t},setAcrossCurrentStageAndCurrentAction:function(e,t){for(var n in e.currentAction.id===t.id&&(e.currentAction=f()(t)),e.currentStage.actions)if(e.currentStage.actions[n].id===t.id)return void(e.currentStage.actions[n]=f()(t))},setStatusSummary:function(e,t){e.statusSummary=v({},null==t?void 0:t.reduce((function(e,t){return v(v({},e),{},o()({},t.id,null==t?void 0:t.actionStatus))}),{}))},setStatusSummaryAction:function(e,t){var n=t.actionId,i=t.status;n?e.statusSummary[n]=i:console.error("missing action:",n)}},actions:{updateStatusSummaryAction:function(e,t){(0,e.commit)("setStatusSummaryAction",{actionId:t.actionId,status:t.status})},updateStatusSummary:function(e,t){(0,e.commit)("setStatusSummary",t)},updateCurrentActionPermissions:function(e,t){(0,e.commit)("setCurrentActionPermissions",t)},updateViewOverview:function(e,t){(0,e.commit)("setViewOverview",t)},setPageIsLoaded:function(e,t){(0,e.commit)("setPageIsLoaded",t)},setQuestionsAreLoaded:function(e,t){(0,e.commit)("setQuestionsAreLoaded",t)},updateActionSaveEventFired:function(e){(0,e.commit)("setActionSaveEventFired",(new Date).getTime())},initWorkflowDocument:function(e,t){(0,e.commit)("setWorkflowDocument",t)},updateCurrentAction:function(e,t){var n=e.state,i=e.commit;i("setCurrentAction",t),n.workflowDocument.forEach((function(e){e.actions.forEach((function(r){r.id===t.id&&n.currentStage.id!==e.id&&i("setCurrentStage",e)}))})),i("setCurrentActionPermissions",t.permissions)},updateAcrossCurrentStageAndCurrentAction:function(e,t){(0,e.commit)("setAcrossCurrentStageAndCurrentAction",t)},updateCurrentStage:function(e,t){(0,e.commit)("setCurrentStage",t)},updateCurrentActionAgent:function(e,t){(0,e.commit)("setCurrentActionAgent",t)},updateUserArticleRoles:function(e,t){(0,e.commit)("setUserArticleRoles",t)},updateSelectedVersion:function(e,t){var n=e.commit,i=e.dispatch,r=t.stage,a=t.version;n("setVersionTimeId",a),n("setSelectedVersion",o()({},r.id,parseInt(a))),i("computeFlattenedStages")},updateFlattenedActions:function(e){var t=e.state;(0,e.commit)("setFlattenedActions",t.flattenedStages.map((function(e){return e.actions})).flat())},computeFlattenedStages:function(e){var t=e.state,n=e.commit,i=e.dispatch,r=e.getters;if(Array.isArray(t.workflowDocument)){var a=t.workflowDocument.map((function(e){return y(e,t.versionTimeId,r,i)}));a.forEach((function(e){!function(e,t,n,i,r){if(t.currentAction&&n.actions.some((function(e){return e.id===t.currentAction.id}))){var a;e("setCurrentStage",v(v({},n),{},{actions:i}));var o,s=i.find((function(e){return e.id===t.currentAction.id})),l=Object.values((null===(a=n.versions[r])||void 0===a?void 0:a.actions)||{}).find((function(e){return e.id===t.currentAction.id&&e.instances}));if(null!=l&&l.instances)s.graphAction=null===(o=Object.values(l.instances)[0])||void 0===o?void 0:o.graphAction;e("setCurrentAction",s),e("setCurrentActionPermissions",s.permissions);var c=n.versions[r];e("setViewingDotVersion","".concat(c.revision,".").concat(c.version)),e("setViewingRevisionId",c.revisionId),e("setCurrentDotVersion","".concat(n.revision,".").concat(n.version)),e("setCurrentRevisionId",n.currentRevisionId)}}(n,t,e,e.actions,t.versionTimeId)})),n("setFlattenedStages",a),n("setIsCurrentVersion")}else console.error("workflowDocument is not an array")},updateArticleTitle:function(e,t){(0,e.commit)("setArticleTitle",t)},updateArticleAbstract:function(e,t){(0,e.commit)("setArticleAbstract",t)},toggleIsViewingSubmissionScreen:function(e){(0,e.commit)("toggleViewingSubmissionScreen")}
152,updateIsViewingSubmissionScreen:function(e,t){(0,e.commit)("setIsViewingSubmissionScreen",t)},highlightAnnotation:function(e,t){console.log("Highlight annotations:",t)},stageCompleted:function(e,t){return!!t.actions&&t.actions.every((function(e){return"active"!==e.actionStatus}))},setupControllerVarsWatcher:function(e){var t=e.commit,n=e.dispatch,i=e.state,r=!1;Object(l.watch)(u.a,(function(e){if(e){t("setUserId",e.userId),t("setArticleStatus",e.articleStatus),t("setArticleAbstract",e.articleAbstract),t("setArticleTitle",e.articleTitle),t("setJournalName",e.journalName),t("setContributorPermissions",e.contributorPermissions),t("setCurrentDecision",e.currentDecision),t("setPreviousDecision",e.previousDecision),t("setVersionTimeId",e.versionTimeId),n("computeFlattenedStages");var a=Object(l.computed)((function(){return i.flattenedStages})),o=Object(l.ref)({});Object(l.watch)(a,(function(n){r||(n.forEach((function(t){o.value[t.id]=parseInt(e.versionTimeId)})),t("setSelectedVersion",o.value),r=!0)}),{immediate:!0})}}),{immediate:!0})},updateUserStoreList:function(e,t){var n=e.commit,i=Object(c.useMappedUserList)(),r=i.updateUserList,a=i.userMapComputed;r(t),n("setUserMapComputed",a.value)}}};t.default=_},TKb1:function(e,t,n){"use strict";n("/0TO");var i=n("Ey0z"),r=n("qa07"),a=n("dWAg"),o=n("8ud9"),s=n("9A1v"),l=n("/myT"),c=n("WN+I"),u=n("gNKD");t.a=Object(c.a)(r.a,Object(l.b)(["left","bottom"]),a.a,o.a,s.a).extend({name:"v-badge",props:{avatar:Boolean,bordered:Boolean,color:{type:String,default:"primary"},content:{required:!1},dot:Boolean,label:{type:String,default:"$vuetify.badge"},icon:String,inline:Boolean,offsetX:[Number,String],offsetY:[Number,String],overlap:Boolean,tile:Boolean,transition:{type:String,default:"scale-rotate-transition"},value:{default:!0}},computed:{classes(){return{"v-badge--avatar":this.avatar,"v-badge--bordered":this.bordered,"v-badge--bottom":this.bottom,"v-badge--dot":this.dot,"v-badge--icon":null!=this.icon,"v-badge--inline":this.inline,"v-badge--left":this.left,"v-badge--overlap":this.overlap,"v-badge--tile":this.tile,...this.themeClasses}},computedBottom(){return this.bottom?"auto":this.computedYOffset},computedLeft(){return this.isRtl?this.left?this.computedXOffset:"auto":this.left?"auto":this.computedXOffset},computedRight(){return this.isRtl?this.left?"auto":this.computedXOffset:this.left?this.computedXOffset:"auto"},computedTop(){return this.bottom?this.computedYOffset:"auto"},computedXOffset(){return this.calcPosition(this.offsetX)},computedYOffset(){return this.calcPosition(this.offsetY)},isRtl(){return this.$vuetify.rtl},offset(){return this.overlap?this.dot?8:12:this.dot?2:4},styles(){return this.inline?{}:{bottom:this.computedBottom,left:this.computedLeft,right:this.computedRight,top:this.computedTop}}},methods:{calcPosition(e){return`calc(100% - ${Object(u.h)(e||this.offset)})`},genBadge(){const e=this.$vuetify.lang,t=this.$attrs["aria-label"]||e.t(this.label),n=this.setBackgroundColor(this.color,{staticClass:"v-badge__badge",style:this.styles,attrs:{"aria-atomic":this.$attrs["aria-atomic"]||"true","aria-label":t,"aria-live":this.$attrs["aria-live"]||"polite",title:this.$attrs.title,role:this.$attrs.role||"status"},directives:[{name:"show",value:this.isActive}]}),i=this.$createElement("span",n,[this.genBadgeContent()]);return this.transition?this.$createElement("transition",{props:{name:this.transition,origin:this.origin,mode:this.mode}},[i]):i},genBadgeContent(){if(this.dot)return;const e=Object(u.s)(this,"badge");return e||(this.content?String(this.content):this.icon?this.$createElement(i.a,this.icon):void 0)},genBadgeWrapper(){return this.$createElement("span",{staticClass:"v-badge__wrapper"},[this.genBadge()])}},render(e){const t=[this.genBadgeWrapper()],n=[Object(u.s)(this)],{"aria-atomic":i,"aria-label":r,"aria-live":a,role:o,title:s,...l}=this.$attrs;return this.inline&&this.left?n.unshift(t):n.push(t),e("span",{staticClass:"v-badge",attrs:l,class:this.classes},n)}})},TKrE:function(e,t,n){var i=n("qRkn"),r=n("dt0z"),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
1527f]/g,o=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=r(e))&&e.replace(a,i).replace(o,"")}},"TL/8":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this._self._c;return e("v-card",{staticClass:"ma-4 d-flex",attrs:{elevation:"0",height:"60"},on:{click:this.viewUserProfile}},[e("v-img",{staticClass:"grey lighten-5 rounded-0",attrs:{transition:"fade-transition","lazy-src":"","min-width":"60","max-width":"60","max-height":"60",src:this.userImg,alt:this.name}}),this._v(" "),e("span",{staticClass:"ml-4"},[this._v(this._s(this.name))])],1)};i._withStripped=!0;var r={name:"EditorCard",props:{image:String,name:String,username:String},computed:{userImg:function(){return this.getUserImageSrc(this.image)}},methods:{getUserImageSrc:function(e){return null==e?this.imagePrefix+"images/peerJ_icon_await_fade.jpeg":"e_"===e.substring(0,2)?this.imagePrefix+"images/ae/"+e+".jpg":"https://s3.amazonaws.com/peerj_prod_upload/images/profile/"+e},viewUserProfile:function(){window.location.href="/".concat(this.username)}}},a=n("KHd+"),o=n("ZUTo"),s=n.n(o),l=n("sK+t"),c=n("rdoz"),u=Object(a.a)(r,i,[],!1,null,null,null);t.default=u.exports;s()(u,{VCard:l.a,VImg:c.a})},TSFr:function(e,t,n){"use strict";n("Un6n")},TYy9:function(e,t,n){var i=n("XGnz");e.exports=function(e){return(null==e?0:e.length)?i(e,1):[]}},Tlom:function(e,t,n){"use strict";n.r(t);var i=n("XPkG"),r=n("+knh"),a={collection:Object(r.default)({service:Object(i.default)("collections")}),collectionEditor:Object(r.default)({service:Object(i.default)("collection_editors")}),collectionNotification:Object(r.default)({service:Object(i.default)("collection_notifications")}),collectionStatus:Object(r.default)({service:Object(i.default)("collection_statuses")}),collectionStatusAvailable:Object(r.default)({service:Object(i.default)("collection_status_availables")}),collectionSubmission:Object(r.default)({service:Object(i.default)("collection_submissions")}),collectionSubmissionComment:Object(r.default)({service:Object(i.default)("collection_submission_comments")}),collectionSubmissionRating:Object(r.default)({service:Object(i.default)("collection_submission_ratings")}),collectionType:Object(r.default)({service:Object(i.default)("collection_types")})};t.default=a},TouX:function(e,t,n){"use strict";n("nkkU")},Tzra:function(e,t,n){},UDhR:function(e,t,n){!function(e){"use strict";
vendor: 1,248 bytes, lines 153-154
153//! moment.js locale configuration 154e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n("wd/R"))},USCx:function(e,t,n){!function(e){"use strict";
155//! moment.js locale configuration 156e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mÃ",MM:"%d mÃonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},UgCk:function(e,t,n){},Uhsw:function(e,t,n){"use strict";t.a={SUPPORT:"[email protected]",EDITORIAL_SUPPORT:"[email protected]"}},Um5y:function(e,t,n){e.exports=function(e){"use strict";function t(e,t,n){e&&t&&n&&(document.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n))}function n(e,t,n){e&&t&&(document.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n))}e=e&&e.hasOwnProperty("default")?e.default:e;var i={props:{tagName:{type:String,default:"span"},trigger:{type:String,default:"hover",validator:function(e){return["clickToOpen","click","clickToToggle","hover","focus"].indexOf(e)>-1}},delayOnMouseOver:{type:Number,default:10},delayOnMouseOut:{type:Number,default:10},disabled:{type:Boolean,default:!1},content:String,enterActiveClass:String,leaveActiveClass:String,boundariesSelector:String,reference:{},forceShow:{type:Boolean,default:!1},dataValue:{default:null},appendToBody:{type:Boolean,default:!1},visibleArrow:{type:Boolean,default:!0},transition:{type:String,default:""},stopPropagation:{type:Boolean,default:!1},preventDefault:{type:Boolean,default:!1},options:{type:Object,default:function(){return{}}},rootClass:{type:String,default:""}},data:function(){return{referenceElm:null,popperJS:null,showPopper:!1,currentPlacement:"",popperOptions:{placement:"bottom",computeStyle:{gpuAcceleration:!1}}}},watch:{showPopper:function(e){e?(this.$emit("show",this),this.popperJS&&this.popperJS.enableEventListeners(),this.updatePopper()):(this.popperJS&&this.popperJS.disableEventListeners(),this.$emit("hide",this))},forceShow:{handler:function(e){this[e?"doShow":"doClose"]()},immediate:!0},disabled:function(e){e&&(this.showPopper=!1)}},created:function(){this.appendedArrow=!1,this.appendedToBody=!1,this.popperOptions=Object.assign(this.popperOptions,this.options)},mounted:function(){switch(this.referenceElm=this.reference||this.$slots.reference[0].elm,this.popper=this.$slots.default[0].elm,this.trigger){case"clickToOpen":t(this.referenceElm,"click",this.doShow),t(document,"click",this.handleDocumentClick);break;case"click":case"clickToToggle":t(this.referenceElm,"click",this.doToggle),t(document,"click",this.handleDocumentClick);break;case"hover":t(this.referenceElm,"mouseover",this.onMouseOver),t(this.popper,"mouseover",this.onMouseOver),t(this.referenceElm,"mouseout",this.onMouseOut),t(this.popper,"mouseout",this.onMouseOut);break;case"focus":t(this.referenceElm,"focus",this.onMouseOver),t(this.popper,"focus",this.onMouseOver),t(this.referenceElm,"blur",this.onMouseOut),t(this.popper,"blur",this.onMouseOut)}},methods:{doToggle:function(e){this.stopPropagation&&e.stopPropagation(),this.preventDefault&&e.preventDefault(),this.forceShow||(this.showPopper=!this.showPopper)},doShow:function(){this.showPopper=!0},doClose:function(){this.showPopper=!1},doDestroy:function(){this.showPopper||(this.popperJS&&(this.popperJS.destroy(),this.popperJS=null),this.appendedToBody&&(this.appendedToBody=!1,document.body.removeChild(this.popper.parentElement)))},createPopper:function(){var t=this;this.$nextTick((function(){if(t.visibleArrow&&t.appendArrow(t.popper),t.appendToBody&&!t.appendedToBody&&(t.appendedToBody=!0,document.body.appendChild(t.popper.parentElement)),t.popperJS&&t.popperJS.destroy&&t.popperJS.destroy(),t.boundariesSelector){var n=document.querySelector(t.boun
156dariesSelector);n&&(t.popperOptions.modifiers=Object.assign({},t.popperOptions.modifiers),t.popperOptions.modifiers.preventOverflow=Object.assign({},t.popperOptions.modifiers.preventOverflow),t.popperOptions.modifiers.preventOverflow.boundariesElement=n)}t.popperOptions.onCreate=function(){t.$emit("created",t),t.$nextTick(t.updatePopper)},t.popperJS=new e(t.referenceElm,t.popper,t.popperOptions)}))},destroyPopper:function(){n(this.referenceElm,"click",this.doToggle),n(this.referenceElm,"mouseup",this.doClose),n(this.referenceElm,"mousedown",this.doShow),n(this.referenceElm,"focus",this.doShow),n(this.referenceElm,"blur",this.doClose),n(this.referenceElm,"mouseout",this.onMouseOut),n(this.referenceElm,"mouseover",this.onMouseOver),n(document,"click",this.handleDocumentClick),this.showPopper=!1,this.doDestroy()},appendArrow:function(e){if(!this.appendedArrow){this.appendedArrow=!0;var t=document.createElement("div");t.setAttribute("x-arrow",""),t.className="popper__arrow",e.appendChild(t)}},updatePopper:function(){this.popperJS?this.popperJS.scheduleUpdate():this.createPopper()},onMouseOver:function(){var e=this;clearTimeout(this._timer),this._timer=setTimeout((function(){e.showPopper=!0}),this.delayOnMouseOver)},onMouseOut:function(){var e=this;clearTimeout(this._timer),this._timer=setTimeout((function(){e.showPopper=!1}),this.delayOnMouseOut)},handleDocumentClick:function(e){this.$el&&this.referenceElm&&!this.elementContains(this.$el,e.target)&&!this.elementContains(this.referenceElm,e.target)&&this.popper&&!this.elementContains(this.popper,e.target)&&(this.$emit("documentClick",this),this.forceShow||(this.showPopper=!1))},elementContains:function(e,t){return"function"==typeof e.contains&&e.contains(t)}},destroyed:function(){this.destroyPopper()}};const r=i;return i.__file="popper.js.vue",function(e,t,n,i,r,a,o,s,l,c){"function"==typeof o&&(o,o=!1);const u="function"==typeof n?n.options:n;let d;if(e&&e.render&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),d)if(u.functional){const e=u.render;u.render=function(t,n){return d.call(n),e(t,n)}}else{const e=u.beforeCreate;u.beforeCreate=e?[].concat(e,d):[d]}return n}({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.tagName,{tag:"component"},[n("transition",{attrs:{name:e.transition,"enter-active-class":e.enterActiveClass,"leave-active-class":e.leaveActiveClass},on:{"after-leave":e.doDestroy}},[n("span",{directives:[{name:"show",rawName:"v-show",value:!e.disabled&&e.showPopper,expression:"!disabled && showPopper"}],ref:"popper",class:e.rootClass},[e._t("default",[e._v(e._s(e.content))])],2)]),e._v(" "),e._t("reference")],2)},staticRenderFns:[]},0,r,0,0,0,void 0)}(n("yv7h"))},UmW8:function(e,t,n){},Un6n:function(e,t,n){},UpQW:function(e,t,n){!function(e){"use strict";
vendor: 1,255 bytes, lines 157-158
157//! moment.js locale configuration 158var t=["جÙÙØ±Û","ÙØ±ÙرÛ","٠ارÚ","اپرÛÙ","٠ئÛ","جÙÙ","جÙÙØ§Ø¦Û","اگست","ست٠بر","Ø§Ú©ØªÙØ¨Ø±","ÙÙ٠بر","دس٠بر"],n=["Ø§ØªÙØ§Ø±","Ù¾ÛØ±","Ù ÙÚ¯Ù","بدھ","ج٠عرات","ج٠عÛ","ÛÙØªÛ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ddddØ D MMMM YYYY HH:mm"},meridiemParse:/صبØ|شا٠/,isPM:function(e){return"شا٠"===e},meridiem:function(e,t,n){return e<12?"صبØ":"شا٠"},calendar:{sameDay:"[آج بÙÙØª] LT",nextDay:"[ک٠بÙÙØª] LT",nextWeek:"dddd [بÙÙØª] LT",lastDay:"[Ú¯Ø°Ø´ØªÛ Ø±ÙØ² بÙÙØª] LT",lastWeek:"[گذشتÛ] dddd [بÙÙØª] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s ÙØ¨Ù",s:"ÚÙØ¯ سÛÚ©ÙÚ",ss:"%d سÛÚ©ÙÚ",m:"اÛÚ© Ù ÙÙ¹",mm:"%d Ù ÙÙ¹",h:"اÛÚ© Ú¯Ú¾ÙÙ¹Û",hh:"%d Ú¯Ú¾ÙÙ¹Û",d:"اÛÚ© دÙ",dd:"%d دÙ",M:"اÛÚ© ٠اÛ",MM:"%d ٠اÛ",y:"اÛÚ© ساÙ",yy:"%d ساÙ"},preparse:function(e){return e.replace(/Ø/g,",")},postformat:function(e){return e.replace(/,/g,"Ø")},week:{dow:1,doy:4}})}(n("wd/R"))},Ur1D:function(e,t,n){!function(e){"use strict";
159//! moment.js locale configuration 160e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},Urm0:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("div",[t("v-breadcrumbs",{class:e.layoutClass,attrs:{items:e.items},scopedSlots:e._u([{key:"divider",fn:function(){return[t("v-icon",{attrs:{size:"22"}},[e._v("mdi-chevron-right")])]},proxy:!0}])})],1)};i._withStripped=!0;var r={name:"Breadcrumb",props:["layoutClass"],data:function(){return{}},computed:{items:function(){for(var e=this.$route,t=e.path,n=e.matched,i=[{text:"Home",href:"/"}],r=n[n.length-1],a=0,o=n.length;a<o;a+=1){var s,l=n[a],c=o-1===a&&(null==r||null===(s=r.meta)||void 0===s?void 0:s.hideBreadcrumb);if(l.path&&l.name){var u=l.name;try{r.path===l.path&&this.$route.meta&&this.$route.meta(this.$route).breadcrumbTitle&&(u=this.$route.meta(this.$route).breadcrumbTitle)}catch(e){console.log("Error loading route meta"),console.log(e)}c||i.push({text:u,disabled:l.path===t||r.path===l.path,href:l.path})}}return i}}},a=(n("y/dr"),n("KHd+")),o=n("ZUTo"),s=n.n(o),l=n("K8WS"),c=n("Ey0z"),u=Object(a.a)(r,i,[],!1,null,null,null);t.default=u.exports;s()(u,{VBreadcrumbs:l.a,VIcon:c.a})},UxGI:function(e,t,n){"use strict";var i=n("VgeV"),r=n("Kw5r");t.a=r.default.extend({name:"rippleable",directives:{ripple:i.a},props:{ripple:{type:[Boolean,Object],default:!0}},methods:{genRipple(e={}){return this.ripple?(e.staticClass="v-input--selection-controls__ripple",e.directives=e.directives||[],e.directives.push({name:"ripple",value:{center:!0}}),this.$createElement("div",e)):null}}})},V2x9:function(e,t,n){!function(e){"use strict";
161//! moment.js locale configuration 162e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},VMbE:function(e,t,n){},VOtZ:function(e,t,n){var i=n("juv8"),r=n("MvSz");e.exports=function(e,t){return i(e,r(e),t)}},VUuK:function(e,t,n){"use strict";n.r(t);var i=n("PhtW"),r=n("WK/D");t.default={path:"/",name:"reviewersHome",component:{render:function(e){return e("router-view")}},children:[i.default,r.default]}},Vckv:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("div",[0!==e.index?t("v-divider",{staticClass:"my-8"}):e._e(),e._v(" "),t("div",{staticClass:"text-h6 pl-4"},[e._v(e._s(e.title))]),e._v(" "),t("v-list",{attrs:{dense:""}},e._l(e.displayableAggs,(function(n,i){return t("v-list-item",{key:i,on:{click:function(t){return e.emitClick(n.key)}}},[t("v-list-item-content",[t("v-list-item-title",{staticClass:"text-capitalize"},[e._v(e._s(e.formatKey(n.key)))])],1),e._v(" "),t("v-list-item-icon",[t("v-chip",{staticClass:"ml-2",attrs:{small:"",color:e.isSubjectFiltered(n.key)?"success darken-1":""}},[e._v(e._s(n.doc_count.toLocaleString())+"\n ")])],1)],1)})),1),e._v(" "),e.moreAvailable?t("v-btn",{staticClass:"ml-4 mt-4 p-2",attrs:{elevation:"0",block:""},on:{click:e.showAllOverlay}},[e._v(e._s(e.showMoreTitle)+"\n ")]):e._e(),e._v(" "),e.moreAvailable?t("v-dialog",{attrs:{transition:"slide-x-reverse-transition"},model:{value:e.modalOpen,callback:function(t){e.modalOpen=t},expression:"modalOpen"}},[t("v-card",{attrs:{elevation:"0"}},[t("v-toolbar",{attrs:{tile:"",elevation:"0",flat:"",dark:"",color:"primary"}},[t("v-spacer"),e._v(" "),t("v-toolbar-title",[e._v(e._s(e.title))]),e._v(" "),t("v-btn",{attrs:{icon:"",dark:""},on:{click:e.closeModal}},[t("v-icon",[e._v("mdi-close")])],1)],1),e._v(" "),t("v-card-text",[t("v-row",e._l(e.aggChunks,(function(n,i){return t("v-col",{key:i,attrs:{cols:"12",sm:"6",md:"4",lg:"3"}},[t("v-list",{attrs:{dense:""}},e._l(n,(function(n,i){return t("v-list-item",{key:i,on:{click:function(t){return e.emitClick(n.key)}}},[t("v-list-item-content",[t("v-list-item-title",{staticClass:"text-capitalize"},[e._v(e._s(e.formatKey(n.key)))])],1),e._v(" "),t("v-list-item-icon",[t("v-chip",{staticClass:"ml-2",attrs:{small:"",color:e.isSubjectFiltered(n.key)?"success darken-1":""}},[e._v("\n "+e._s(n.doc_count.toLocaleString())+"\n ")])],1)],1)})),1)],1)})),1)],1)],1)],1):e._e()],1)};i._withStripped=!0;var r=n("RIqP"),a=n.n(r),o=n("lSNA"),s=n.n(o),l=n("bbSu"),c=n("L2JU"),u=n("O0D+"),d=n("HZW1");function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p={components:{searchAppModal:d.a},props:{aggs:Array|Object,date:Boolean,title:String,param:String,limit:Number,alwaysCreateModal:Boolean,showMoreTitle:String,subjectFilters:Array,tagFilters:Array,index:Number},data:function(){return{allowedJournalTypes:["articles","preprints","editor","reference"],modalOpen:!1}},beforeMount:function(){l.a.$off(u.default.SHOW_MODAL)},mounted:function(){l.a.$on(u.default.SHOW_MODAL,this.triggerModalEvent)},beforeDestroy:function(){l.a.$off(u.default.SHOW_MODAL,this.triggerModalEvent)},computed:f(f(f({},Object(c.c)("search",["findJournalNameBySlug"])),Object(c.e)("search",["searchParams"])),{},{moreAvailable:function(){return!!this.alwaysCreateModal||this.aggs.length>this.limit},aggChunks:function(){if(this.moreAvailable){var e=Math.ceil(this.aggs.length/4);return t=this.aggs,n=e,t.reduce((function(e,t){return(e.length&&e[e.length-1].length!==n?e[e.length-1].push(t):e.push([t]))&&e}),[])}var t,n},displayableAggs:function(){var e=a()(this.aggs);return"journal"===this.param&&(e=e.filter((function(e){return["peerj","cs"].concat(/type=editor/.test(window.location.search)?[]:["pchem","ochem","ichem","achem","matsci"]).includes(e.ke
162y)}))),e.splice(0,this.limit)}}),methods:{getJournals:function(){return this.$store.state["search/journals"]},formatKey:function(e){return"journal"===this.param?this.findJournalNameBySlug(e):this.date?this.searchParams.DATE_KEYS[e]:"tag"===this.param?e:"research"===this.param?("expertrxiv"===e&&(e="ExpertRðiv"),"On "+e):"help"===this.param?"community"===e?"From the "+e:"From "+e:e=e.replace(/-/g," ")},triggerModalEvent:function(e){e===this.param&&this.showAllOverlay()},closeModal:function(){this.modalOpen=!1},showAllOverlay:function(){this.modalOpen=!0},isSubjectFiltered:function(e){return"subject"===this.param?~this.subjectFilters.indexOf(this.createSlug(e)):"tag"===this.param?~this.tagFilters.indexOf(this.createSlug(e)):void 0},createSlug:function(e){return["tag","country","research","help","assigned"].includes(this.param)?e:(e=(e=(e=(e=(e=e.replace(/\'/g,"")).replace(/\W+/g,"-")).replace("Authors & users","user")).replace("Publication","articles")).replace("Preprint","preprints")).toLowerCase()},emitClick:function(e){this.modalOpen&&this.closeModal(),l.a.$emit(u.default.SEARCH_QUERY_PARAM_CHANGE,{param:this.param,val:this.createSlug(e)})}}},m=(n("54wM"),n("KHd+")),g=n("ZUTo"),v=n.n(g),b=n("gzZi"),y=n("sK+t"),_=n("mdmw"),x=n("zCDB"),w=n("Yq0q"),k=n("FpqX"),S=n("zn5u"),M=n("Ey0z"),L=n("iGBT"),A=n("2hOt"),O=n("XSMC"),C=n("NMP6"),T=n("D9m0"),E=n("L6Q5"),D=n("cdmR"),P=n("Kn9U"),j=Object(m.a)(p,i,[],!1,null,"22b08016",null);t.default=j.exports;v()(j,{VBtn:b.a,VCard:y.a,VCardText:_.c,VChip:x.a,VCol:w.a,VDialog:k.a,VDivider:S.a,VIcon:M.a,VList:L.a,VListItem:A.a,VListItemContent:O.b,VListItemIcon:C.a,VListItemTitle:O.d,VRow:T.a,VSpacer:E.a,VToolbar:D.a,VToolbarTitle:P.b})},Vclq:function(e,t,n){!function(e){"use strict";
163//! moment.js locale configuration 164var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n("wd/R"))},W8MJ:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}e.exports=function(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}},WFr2:function(e,t,n){},"WK/D":function(e,t,n){"use strict";n.r(t),t.default={path:"reviewer-match",name:"reviewerVolunteerList",component:function(){return n.e(173).then(n.bind(null,"QYrg"))},children:[{name:"ReviewVolunteerRegister",path:"register",component:function(){return n.e(237).then(n.bind(null,"zyZk"))}},{name:"ReviewVolunteerDetailsUnknown",path:"u",component:function(){return Promise.all([n.e(1),n.e(56),n.e(58),n.e(93)]).then(n.bind(null,"fWa7"))}},{name:"ReviewVolunteerDetails",path:"u/:id",component:function(){return Promise.all([n.e(1),n.e(56),n.e(58),n.e(93)]).then(n.bind(null,"fWa7"))}}]}},WMpq:function(e,t,n){"use strict";(function(e){var i=n("PE4B"),r=n.n(i);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function h(e){return Array.isArray(e)}function f(e){return void 0===e}function p(e){return"object"===a(e)}function m(e){return"object"===a(e)&&null!==e}function g(e){return"function"==typeof e}var v=(function(){try{return!f(window)}catch(e){return!1}}()?window:e).console||{};function b(e){v&&v.warn&&v.warn(e)}var y=function(){return b("This vue app/component has no vue-meta configuration")},_={title:void 0,titleChunk:"",titleTemplate:"%s",htmlAttrs:{},bodyAttrs:{},headAttrs:{},base:[],link:[],meta:[],style:[],script:[],noscript:[],__dangerouslyDisableSanitizers:[],__dangerouslyDisableSanitizersByTagID:{}},x="metaInfo",w="data-vue-meta",k="data-vue-meta-server-rendered",S="vmid",M="content",L="template",A=!0,O=10,C="ssr",T=Object.keys(_),E=[T[12],T[13]],D=[T[1],T[2],"changed"].concat(E),P=[T[3],T[4],T[5]],j=["link","style","script"],Y=["base","meta","link"],I=["noscript","script","style"],R=["innerHTML","cssText","json"],H=["once","skip","template"],N=["body","pbody"],F=["allowfullscreen","amp","amp-boilerplate","async","autofocus","auto
164play","checked","compact","controls","declare","default","defaultchecked","defaultmuted","defaultselected","defer","disabled","enabled","formnovalidate","hidden","indeterminate","inert","ismap","itemscope","loop","multiple","muted","nohref","noresize","noshade","novalidate","nowrap","open","pauseonexit","readonly","required","reversed","scoped","seamless","selected","sortable","truespeed","typemustmatch","visible"],z=null;function B(e,t,n){var i=e.debounceWait;t._vueMeta.initialized||!t._vueMeta.initializing&&"watcher"!==n||(t._vueMeta.initialized=null),t._vueMeta.initialized&&!t._vueMeta.pausing&&function(e,t){if(!(t=void 0===t?10:t))return void e();clearTimeout(z),z=setTimeout((function(){e()}),t)}((function(){t.$meta().refresh()}),i)}function W(e,t,n){if(!Array.prototype.findIndex){for(var i=0;i<e.length;i++)if(t.call(n,e[i],i,e))return i;return-1}return e.findIndex(t,n)}function V(e){return Array.from?Array.from(e):Array.prototype.slice.call(e)}function $(e,t){if(!Array.prototype.includes){for(var n in e)if(e[n]===t)return!0;return!1}return e.includes(t)}var U=function(e,t){return(t||document).querySelectorAll(e)};function X(e,t){return e[t]||(e[t]=document.getElementsByTagName(t)[0]),e[t]}function G(e,t,n){var i=t.appId,r=t.attribute,a=t.type,o=t.tagIDKeyName;n=n||{};var s=["".concat(a,"[").concat(r,'="').concat(i,'"]'),"".concat(a,"[data-").concat(o,"]")].map((function(e){for(var t in n){var i=n[t],r=i&&!0!==i?'="'.concat(i,'"'):"";e+="[data-".concat(t).concat(r,"]")}return e}));return V(U(s.join(", "),e))}function q(e,t){e.removeAttribute(t)}function J(e){return(e=e||this)&&(!0===e._vueMeta||p(e._vueMeta))}function K(e,t){return e._vueMeta.pausing=!0,function(){return Z(e,t)}}function Z(e,t){if(e._vueMeta.pausing=!1,t||void 0===t)return e.$meta().refresh()}function Q(e){var t=e.$router;!e._vueMeta.navGuards&&t&&(e._vueMeta.navGuards=!0,t.beforeEach((function(t,n,i){K(e),i()})),t.afterEach((function(){e.$nextTick((function(){var t=Z(e).metaInfo;t&&g(t.afterNavigation)&&t.afterNavigation(t)}))})))}var ee=1;function te(e,t){var n=["activated","deactivated","beforeMount"],i=!1;return{beforeCreate:function(){var r=this,a=this.$root,o=this.$options,s=e.config.devtools;if(Object.defineProperty(this,"_hasMetaInfo",{configurable:!0,get:function(){return s&&!a._vueMeta.deprecationWarningShown&&(b("VueMeta DeprecationWarning: _hasMetaInfo has been deprecated and will be removed in a future version. Please use hasMetaInfo(vm) instead"),a._vueMeta.deprecationWarningShown=!0),J(this)}}),this===a&&a.$once("hook:beforeMount",(function(){if(!(i=this.$el&&1===this.$el.nodeType&&this.$el.hasAttribute("data-server-rendered"))&&a._vueMeta&&1===a._vueMeta.appId){var e=X({},"html");i=e&&e.hasAttribute(t.ssrAttribute)}})),!f(o[t.keyName])&&null!==o[t.keyName]){if(a._vueMeta||(a._vueMeta={appId:ee},ee++,s&&a.$options[t.keyName]&&this.$nextTick((function(){var e=function(e,t,n){if(Array.prototype.find)return e.find(t,n);for(var i=0;i<e.length;i++)if(t.call(n,e[i],i,e))return e[i]}(a.$children,(function(e){return e.$vnode&&e.$vnode.fnOptions}));e&&e.$vnode.fnOptions[t.keyName]&&b("VueMeta has detected a possible global mixin which adds a ".concat(t.keyName," property to all Vue components on the page. This could cause severe performance issues. If possible, use $meta().addApp to add meta information instead"))}))),!this._vueMeta){this._vueMeta=!0;for(var l=this.$parent;l&&l!==a;)f(l._vueMeta)&&(l._vueMeta=!1),l=l.$parent}g(o[t.keyName])&&(o.computed=o.computed||{},o.computed.$metaInfo=o[t.keyName],this.$isServer||this.$on("hook:created",(function(){this.$watch("$metaInfo",(function(){B(t,this.$root,"watcher")}))}))),f(a._vueMeta.initialized)&&(a._vueMeta.initialized=this.$isServer,a._vueMeta.initialized||(a._vueMeta.initializedSsr||(a._vueMeta.initializedSsr=!0,this.$on("hook:beforeMount",(function(){var e=this.$root;i&&(e._vueMeta.appId=t.ssrAppId)}))),this.$on("hook:mounted",(function(){var e=this.$root;e._vueMeta.initialized||(e._vueMeta.initializing=!0,this.$nextTick((function(){var n=e.$meta().refresh(),i=n.tags,r=n.metaInfo;!1===i&&null===e._vueMeta.initialized&&this.$nextTick((function(){return B(t,e,"init")})),e._vueMeta.initialized=!0,delete e._vueMeta.initializing,!t.refreshOnceOnNavigation&&r.afterNavigation&&Q(e)})))}
164)),t.refreshOnceOnNavigation&&Q(a))),this.$on("hook:destroyed",(function(){var e=this;this.$parent&&J(this)&&(delete this._hasMetaInfo,this.$nextTick((function(){if(t.waitOnDestroyed&&e.$el&&e.$el.offsetParent)var n=setInterval((function(){e.$el&&null!==e.$el.offsetParent||(clearInterval(n),B(t,e.$root,"destroyed"))}),50);else B(t,e.$root,"destroyed")})))})),this.$isServer||n.forEach((function(e){r.$on("hook:".concat(e),(function(){B(t,this.$root,e)}))}))}}}}function ne(e){return{keyName:(e=p(e)?e:{}).keyName||x,attribute:e.attribute||w,ssrAttribute:e.ssrAttribute||k,tagIDKeyName:e.tagIDKeyName||S,contentKeyName:e.contentKeyName||M,metaTemplateKeyName:e.metaTemplateKeyName||L,debounceWait:f(e.debounceWait)?O:e.debounceWait,waitOnDestroyed:f(e.waitOnDestroyed)?A:e.waitOnDestroyed,ssrAppId:e.ssrAppId||C,refreshOnceOnNavigation:!!e.refreshOnceOnNavigation}}function ie(e,t){return t&&p(e)?(h(e[t])||(e[t]=[]),e):h(e)?e:[]}var re=[[/&/g,"&"],[/</g,"<"],[/>/g,">"],[/"/g,"""],[/'/g,"'"]],ae=[[/&/g,"&"],[/</g,"<"],[/>/g,">"],[/"/g,'"'],[/'/g,"'"]];function oe(e,t,n){n=n||[];var i={doEscape:function(e){return n.reduce((function(e,t){return e.replace(t[0],t[1])}),e)}};return E.forEach((function(e,n){if(0===n)ie(t,e);else if(1===n)for(var r in t[e])ie(t[e],r);i[e]=t[e]})),function e(t,n,i,r){var a=n.tagIDKeyName,o=i.doEscape,s=void 0===o?function(e){return e}:o,l={};for(var c in t){var u=t[c];if($(D,c))l[c]=u;else{var d=E[0];if(i[d]&&$(i[d],c))l[c]=u;else{var f=t[a];if(f&&(d=E[1],i[d]&&i[d][f]&&$(i[d][f],c)))l[c]=u;else if("string"==typeof u?l[c]=s(u):h(u)?l[c]=u.map((function(t){return m(t)?e(t,n,i,!0):s(t)})):m(u)?l[c]=e(u,n,i,!0):l[c]=u,r){var p=s(c);c!==p&&(l[p]=l[c],delete l[c])}}}}return l}(t,e,i)}function se(e,t,n,i){var r=e.component,a=e.metaTemplateKeyName,o=e.contentKeyName;return!0!==n&&!0!==t[a]&&(f(n)&&t[a]&&(n=t[a],t[a]=!0),n?(f(i)&&(i=t[o]),t[o]=g(n)?n.call(r,i):n.replace(/%s/g,i),!0):(delete t[a],!1))}var le=!1;function ce(e,t,n){return n=n||{},void 0===t.title&&delete t.title,P.forEach((function(e){if(t[e])for(var n in t[e])n in t[e]&&void 0===t[e][n]&&($(F,n)&&!le&&(b("VueMeta: Please note that since v2 the value undefined is not used to indicate boolean attributes anymore, see migration guide for details"),le=!0),delete t[e][n])})),r()(e,t,{arrayMerge:function(e,t){return function(e,t,n){var i=e.component,r=e.tagIDKeyName,a=e.metaTemplateKeyName,o=e.contentKeyName,s=[];return t.length||n.length?(t.forEach((function(e,t){if(e[r]){var l=W(n,(function(t){return t[r]===e[r]})),c=n[l];if(-1!==l){if(o in c&&void 0===c[o]||"innerHTML"in c&&void 0===c.innerHTML)return s.push(e),void n.splice(l,1);if(null!==c[o]&&null!==c.innerHTML){var u=e[a];if(u){if(!c[a])return se({component:i,metaTemplateKeyName:a,contentKeyName:o},c,u),void(c.template=!0);c[o]||se({component:i,metaTemplateKeyName:a,contentKeyName:o},c,void 0,e[o])}}else n.splice(l,1)}else s.push(e)}else s.push(e)})),s.concat(n)):s}(n,e,t)}})}function ue(e,t){return function e(t,n,i){if(i=i||{},n._inactive)return i;var r=(t=t||{}).keyName,a=n.$metaInfo,o=n.$options,s=n.$children;if(o[r]){var l=a||o[r];p(l)&&(i=ce(i,l,t))}s.length&&s.forEach((function(n){(function(e){return(e=e||this)&&!f(e._vueMeta)})(n)&&(i=e(t,n,i))}));return i}(e||{},t,_)}var de=[];function he(e,t,n,i){var r=e.tagIDKeyName,a=!1;return n.forEach((function(e){e[r]&&e.callback&&(a=!0,function(e,t){1===arguments.length&&(t=e,e=""),de.push([e,t])}("".concat(t,"[data-").concat(r,'="').concat(e[r],'"]'),e.callback))})),i&&a?fe():a}function fe(){var e;"complete"!==(e||document).readyState?document.onreadystatechange=function(){pe()}:pe()}function pe(e){de.forEach((function(t){var n=t[0],i=t[1],r="".concat(n,'[onload="this.__vm_l=1"]'),a=[];e||(a=V(U(r))),e&&e.matches(r)&&(a=[e]),a.forEach((function(e){if(!e.__vm_cb){var t=function(){e.__vm_cb=!0,q(e,"onload"),i(e)};e.__vm_l?t():e.__vm_ev||(e.__vm_ev=!0,e.addEventListener("load",t))}}))}))}var me,ge={};function ve(e,t,n,i,r){var a=(t||{}).attribute,o=r.getAttribute(a);o&&(ge[n]=JSON.parse(decodeURI(o)),q(r,a));var s=ge[n]||{},l=[];for(var c in s)void 0!==s[c]&&e in s[c]&&(l.push(c),i[c]||delete s[c][e]);for(var u in i){var d=s[u];d&&d[e]===i[u]||(l.push(u),void 0!==i[u]&&(s[u]=s[u]||{},s[u][e]=i[u]))}for(var h=0,f=l;h<f.length;h++){var p=f[h],m=s[p],g=[];for(var v in m)Array.prototype.push.apply(g,[].concat(m[v]));if(g.length){var b=$(F,p)&&g.some(Boolean)?"":g.filter((function(e){return void 0!==e})).join(" ");r.setAttribute(p,b)}else q(r,p)}ge[n]=s}function be(e,t,n,i,r,a){var o=t||{},s=o.attribute,l=o.tagIDKeyName,c=N.slice();c.push(l);var u=[],d={appId:e,attribute:s,type:n,tagIDKeyName:l}
164,h={head:G(r,d),pbody:G(a,d,{pbody:!0}),body:G(a,d,{body:!0})};if(i.length>1){var f=[];i=i.filter((function(e){var t=JSON.stringify(e),n=!$(f,t);return f.push(t),n}))}i.forEach((function(t){if(!t.skip){var i=document.createElement(n);t.once||i.setAttribute(s,e),Object.keys(t).forEach((function(e){if(!$(H,e))if("innerHTML"!==e)if("json"!==e)if("cssText"!==e)if("callback"!==e){var n=$(c,e)?"data-".concat(e):e,r=$(F,e);if(!r||t[e]){var a=r?"":t[e];i.setAttribute(n,a)}}else i.onload=function(){return t[e](i)};else i.styleSheet?i.styleSheet.cssText=t.cssText:i.appendChild(document.createTextNode(t.cssText));else i.innerHTML=JSON.stringify(t.json);else i.innerHTML=t.innerHTML}));var r,a=h[function(e){var t=e.body,n=e.pbody;return t?"body":n?"pbody":"head"}(t)];a.some((function(e,t){return r=t,i.isEqualNode(e)}))&&(r||0===r)?a.splice(r,1):u.push(i)}}));var p=[];for(var m in h)Array.prototype.push.apply(p,h[m]);return p.forEach((function(e){e.parentNode.removeChild(e)})),u.forEach((function(e){e.hasAttribute("data-body")?a.appendChild(e):e.hasAttribute("data-pbody")?a.insertBefore(e,a.firstChild):r.appendChild(e)})),{oldTags:p,newTags:u}}function ye(e,t,n){var i=t=t||{},r=i.ssrAttribute,a=i.ssrAppId,o={},s=X(o,"html");if(e===a&&s.hasAttribute(r)){q(s,r);var l=!1;return j.forEach((function(e){n[e]&&he(t,e,n[e])&&(l=!0)})),l&&fe(),!1}var c,u={},d={};for(var f in n)if(!$(D,f))if("title"!==f){if($(P,f)){var p=f.substr(0,4);ve(e,t,f,n[f],X(o,p))}else if(h(n[f])){var m=be(e,t,f,n[f],X(o,"head"),X(o,"body")),g=m.oldTags,v=m.newTags;v.length&&(u[f]=v,d[f]=g)}}else((c=n.title)||""===c)&&(document.title=c);return{tagsAdded:u,tagsRemoved:d}}function _e(e,t,n){return{set:function(i){return function(e,t,n,i){if(e&&e.$el)return ye(t,n,i);(me=me||{})[t]=i}(e,t,n,i)},remove:function(){return function(e,t,n){if(e&&e.$el){var i,r={},a=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=u(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}(P);try{for(a.s();!(i=a.n()).done;){var o=i.value,s=o.substr(0,4);ve(t,n,o,{},X(r,s))}}catch(e){a.e(e)}finally{a.f()}return function(e,t){var n=e.attribute;V(U("[".concat(n,'="').concat(t,'"]'))).map((function(e){return e.remove()}))}(n,t)}me[t]&&(delete me[t],we())}(e,t,n)}}}function xe(){return me}function we(e){!e&&Object.keys(me).length||(me=void 0)}function ke(e,t,n,i){n=n||[];var r=(e=e||{}).tagIDKeyName;return t.title&&(t.titleChunk=t.title),t.titleTemplate&&"%s"!==t.titleTemplate&&se({component:i,contentKeyName:"title"},t,t.titleTemplate,t.titleChunk||""),t.base&&(t.base=Object.keys(t.base).length?[t.base]:[]),t.meta&&(t.meta=t.meta.filter((function(e,t,n){return!e[r]||t===W(n,(function(t){return t[r]===e[r]}))})),t.meta.forEach((function(t){return se(e,t)}))),oe(e,t,n)}function Se(e,t,n,i){var r=e||{},a=r.ssrAppId,o=r.attribute,s=r.tagIDKeyName,l=i||{},u=l.appId,d=l.isSSR,h=void 0===d||d,f=l.body,p=void 0!==f&&f,m=l.pbody,g=void 0!==m&&m,v=l.ln,b=void 0!==v&&v,y=[s].concat(c(N));return n&&n.length?n.reduce((function(e,n){if(n.skip)return e;if(0===Object.keys(n).length)return e;if(Boolean(n.body)!==p||Boolean(n.pbody)!==g)return e;var i=n.once?"":" ".concat(o,'="').concat(u||(!1===h?"1":a),'"');for(var r in n)if(!R.includes(r)&&!H.includes(r))if("callback"!==r){var s="";y.includes(r)&&(s="data-");var l=!s&&F.includes(r);l&&!n[r]||(i+=" ".concat(s).concat(r)+(l?"":'="'.concat(n[r],'"')))}else i+=' onload="this.__vm_l=1"';var c="";n.json&&(c=JSON.stringify(n.json));var d=n.innerHTML||n.cssText||c,f=!Y.includes(t),m=f&&I.includes(t);return"".concat(e,"<").concat(t).concat(i).concat(!m&&f?"/":"",">")+(m?"".concat(d,"</").concat(t,">"):"")+(b?"\n":"")}),""):""}function Me(e,t,n){var i={data:t,extraData:void 0,addInfo:function(e,t){this.extraData=this.extraData||{},this.extraData[e]=t},callInjectors:function(e){var t=this.injectors;return(e.body||e.pbody?"":t.title.text(e))+t.meta.text(e)+t.base.text(e)+t.link.text(e)+t.style.text(e)+t.script.text(e)+t.noscript.text(e)},injectors:{head:function(e){return i.callInjectors(l(l({},n),{},{ln:e}))},bodyPrepend:function(e){return i.callInjectors(l(l({},n),{},{ln:e,pbody:!0}
164))},bodyAppend:function(e){return i.callInjectors(l(l({},n),{},{ln:e,body:!0}))}}},r=function(t){if(D.includes(t))return"continue";i.injectors[t]={text:function(r){if(r=l(l({addSsrAttribute:!0===r},n),r),"title"===t)return function(e,t,n,i){var r=(i||{}).ln;return n?"<".concat(t,">").concat(n,"</").concat(t,">").concat(r?"\n":""):""}(0,t,i.data[t],r);if(P.includes(t)){var a={},s=i.data[t];if(s){var u=!1===r.isSSR?"1":e.ssrAppId;for(var d in s)a[d]=o({},u,s[d])}if(i.extraData)for(var h in i.extraData){var f=i.extraData[h][t];if(f)for(var p in f)a[p]=l(l({},a[p]),{},o({},h,f[p]))}return function(e,t,n,i){var r=i.addSsrAttribute,a=e||{},o=a.attribute,s=a.ssrAttribute,l="";for(var u in n){var d=n[u],h=[];for(var f in d)h.push.apply(h,c([].concat(d[f])));h.length&&(l+=F.includes(u)&&h.some(Boolean)?"".concat(u):"".concat(u,'="').concat(h.join(" "),'"'),l+=" ")}return l&&(l+="".concat(o,'="').concat(encodeURI(JSON.stringify(n)),'"')),"htmlAttrs"===t&&r?"".concat(s).concat(l?" ":"").concat(l):l}(e,t,a,r)}var m=Se(e,t,i.data[t],r);if(i.extraData)for(var g in i.extraData){var v=i.extraData[g][t],b=Se(e,t,v,l({appId:g},r));m="".concat(m).concat(b)}return m}}};for(var a in _)r(a);return i}function Le(e){e=e||{};var t=this.$root;return{getOptions:function(){return function(e){var t={};for(var n in e)t[n]=e[n];return t}(e)},setOptions:function(n){n&&n.refreshOnceOnNavigation&&(e.refreshOnceOnNavigation=!!n.refreshOnceOnNavigation,Q(t));if(n&&"debounceWait"in n){var i=parseInt(n.debounceWait);isNaN(i)||(e.debounceWait=i)}n&&"waitOnDestroyed"in n&&(e.waitOnDestroyed=!!n.waitOnDestroyed)},refresh:function(){return function(e,t){if(t=t||{},!e._vueMeta)return y(),{};var n=ke(t,ue(t,e),ae,e),i=ye(e._vueMeta.appId,t,n);i&&g(n.changed)&&(n.changed(n,i.tagsAdded,i.tagsRemoved),i={addedTags:i.tagsAdded,removedTags:i.tagsRemoved});var r=xe();if(r){for(var a in r)ye(a,t,r[a]),delete r[a];we(!0)}return{vm:e,metaInfo:n,tags:i}}(t,e)},inject:function(n){return function(e,t,n){if(!e._vueMeta)return y(),{};var i=Me(t,ke(t,ue(t,e),re,e),n),r=xe();if(r){for(var a in r)i.addInfo(a,r[a]),delete r[a];we(!0)}return i.injectors}(t,e,n)},pause:function(){return K(t)},resume:function(){return Z(t)},addApp:function(n){return _e(t,n,e)}}}var Ae={version:"2.4.0",install:function(e,t){e.__vuemeta_installed||(e.__vuemeta_installed=!0,t=ne(t),e.prototype.$meta=function(){return Le.call(this,t)},e.mixin(te(e,t)))},generate:function(e,t){return function(e,t){return Me(t=ne(t),ke(t,e,re)).injectors}(e,t)},hasMetaInfo:J};t.a=Ae}).call(this,n("yLpj"))},WTW0:function(e,t,n){"use strict";function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(e){r=!0,a=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.reduce((function(e,t){var n=t.split(".").slice(-1)[0];if(e[n])throw new Error("The key `".concat(n,"` is already in use."));return e[n]=t,e}),{})}function s(e){return function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var a="string"==typeof n[0]?[].concat(n):[""].concat(n),o=r(a,4),s=o[0],l=o[1],c=o[2],u=o[3];
164return s.length&&"/"!==s.charAt(s.length-1)&&(s+="/"),c="".concat(s).concat(c||"getField"),u="".concat(s).concat(u||"updateField"),e(s,l,c,u)}}function l(e){return function(t){return t.split(/[.[\]]+/).reduce((function(e,t){return e[t]}),e)}}function c(e,t){var n=t.path,i=t.value;n.split(/[.[\]]+/).reduce((function(e,t,n,r){return r.length===n+1&&(e[t]=i),e[t]}),e)}n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return c}));var u=s((function(e,t,n,i){var r=Array.isArray(t)?o(t):t;return Object.keys(r).reduce((function(e,t){var a=r[t],o={get:function(){return this.$store.getters[n](a)},set:function(e){this.$store.commit(i,{path:a,value:e})}};return e[t]=o,e}),{})})),d=s((function(e,t,n,i){var r=Array.isArray(t)?o(t):t;return Object.keys(r).reduce((function(e,t){var a=r[t];return e[t]={get:function(){var e,t=this.$store;return(e=t.getters[n](a),Object.keys(e).map((function(t){return[t,e[t]]}))).map((function(e){return Object.keys(e[1]).reduce((function(r,o){var s="".concat(a,"[").concat(e[0],"].").concat(o);return Object.defineProperty(r,o,{get:function(){return t.getters[n](s)},set:function(e){t.commit(i,{path:s,value:e})}})}),{})}))}},e}),{})})),h=function(e){var t,n=e.getterType,r=e.mutationType;return i(t={},n,l),i(t,r,c),i(t,"mapFields",s((function(e,t){return u(e,t,n,r)}))),i(t,"mapMultiRowFields",s((function(e,t){return d(e,t,n,r)}))),t}},WYrj:function(e,t,n){!function(e){"use strict";
vendor: 1,472 bytes, lines 165-166
165//! moment.js locale configuration 166var t=["ÞÞ¬ÞÞªÞÞ¦ÞÞ©","ÞÞ¬ÞÞ°ÞÞªÞÞ¦ÞÞ©","ÞÞ§ÞÞ¨ÞÞª","ÞÞÞÞ°ÞÞ©ÞÞª","ÞÞ","ÞÞ«ÞÞ°","ÞÞªÞÞ¦ÞÞ¨","ÞÞ¯ÞÞ¦ÞÞ°ÞÞª","ÞÞ¬ÞÞ°ÞÞ¬ÞÞ°ÞÞ¦ÞÞª","ÞÞ®ÞÞ°ÞÞ¯ÞÞ¦ÞÞª","ÞÞ®ÞÞ¬ÞÞ°ÞÞ¦ÞÞª","ÞÞ¨ÞÞ¬ÞÞ°ÞÞ¦ÞÞª"],n=["ÞÞ§ÞÞ¨ÞÞ°ÞÞ¦","ÞÞ¯ÞÞ¦","ÞÞ¦ÞÞ°ÞÞ§ÞÞ¦","ÞÞªÞÞ¦","ÞÞªÞÞ§ÞÞ°ÞÞ¦ÞÞ¨","ÞÞªÞÞªÞÞª","ÞÞ®ÞÞ¨ÞÞ¨ÞÞª"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"ÞÞ§ÞÞ¨_ÞÞ¯ÞÞ¦_ÞÞ¦ÞÞ°_ÞÞªÞÞ¦_ÞÞªÞÞ§_ÞÞªÞÞª_ÞÞ®ÞÞ¨".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ÞÞ|ÞÞ/,isPM:function(e){return"ÞÞ"===e},meridiem:function(e,t,n){return e<12?"ÞÞ":"ÞÞ"},calendar:{sameDay:"[ÞÞ¨ÞÞ¦ÞÞª] LT",nextDay:"[ÞÞ§ÞÞ¦ÞÞ§] LT",nextWeek:"dddd LT",lastDay:"[ÞÞ¨ÞÞ°ÞÞ¬] LT",lastWeek:"[ÞÞ§ÞÞ¨ÞÞªÞÞ¨] dddd LT",sameElse:"L"},relativeTime:{future:"ÞÞ¬ÞÞÞÞ¦ÞÞ¨ %s",past:"ÞÞªÞÞ¨ÞÞ° %s",s:"ÞÞ¨ÞÞªÞÞ°ÞÞªÞÞ®Þ Þ¬ÞÞ°",ss:"d% ÞÞ¨ÞÞªÞÞ°ÞÞª",m:"ÞÞ¨ÞÞ¨ÞÞ¬ÞÞ°",mm:"ÞÞ¨ÞÞ¨ÞÞª %d",h:"ÞÞ¦ÞÞ¨ÞÞ¨ÞÞ¬ÞÞ°",hh:"ÞÞ¦ÞÞ¨ÞÞ¨ÞÞª %d",d:"ÞÞªÞÞ¦ÞÞ¬ÞÞ°",dd:"ÞÞªÞÞ¦ÞÞ° %d",M:"ÞÞ¦ÞÞ¬ÞÞ°",MM:"ÞÞ¦ÞÞ° %d",y:"ÞÞ¦ÞÞ¦ÞÞ¬ÞÞ°",yy:"ÞÞ¦ÞÞ¦ÞÞª %d"},preparse:function(e){return e.replace(/Ø/g,",")},postformat:function(e){return e.replace(/,/g,"Ø")},week:{dow:7,doy:12}})}(n("wd/R"))},Wv91:function(e,t,n){!function(e){"use strict";
167//! moment.js locale configuration 168var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"Ãanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ãan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"ÃekÅenbe_DuÅenbe_SiÅenbe_ÃarÅenbe_PenÅenbe_Anna_Åenbe".split("_"),weekdaysShort:"Ãek_DuÅ_SiÅ_Ãar_Pen_Ann_Åen".split("_"),weekdaysMin:"Ãk_DÅ_SÅ_Ãr_Pn_An_Ån".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soÅ",past:"%s öÅ",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},WwFo:function(e,t,n){var i=n("juv8"),r=n("7GkX");e.exports=function(e,t){return e&&i(t,r(t),e)}},WxRl:function(e,t,n){!function(e){"use strict";
vendor: 1,948 bytes, lines 169-170
169//! moment.js locale configuration 170var t="vasárnap hétfÅn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,i){var r=e;switch(n){case"s":return i||t?"néhány másodperc":"néhány másodperce";case"ss":return r+(i||t)?" másodperc":" másodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return r+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" óra":" órája");case"hh":return r+(i||t?" óra":" órája");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return r+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" hónap":" hónapja");case"MM":return r+(i||t?" hónap":" hónapja");case"y":return"egy"+(i||t?" év":" éve");case"yy":return r+(i||t?" év":" éve")}return""}function i(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfÅ_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},X709:function(e,t,n){!function(e){"use strict";
171//! moment.js locale configuration 172e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n("wd/R"))},"XD+U":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("section",[e.title?t("h2",{staticClass:"font-weight-mid mb-2",attrs:{id:n.headingId}},[e._v("\n "+e._s(e.title)+"\n ")]):e._e(),e._v(" "),t("iframe",{staticClass:"video-panel",attrs:{src:n.videoUrl,title:e.title,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:"",width:"100%"}}),e._v(" "),e.description?t("p",{staticClass:"mt-4"},[e._v("\n "+e._s(e.description)+"\n ")]):e._e()])};i._withStripped=!0;var r=n("Kw5r"),a={__name:"YouTubePlayer",props:{videoId:{type:String,default:"XmQ8mZFqczw",required:!0},title:{type:String,default:""},description:{type:String},autoplay:{type:Boolean,default:!1}},setup:function(e){var t=e,n="video-title-".concat(null==t?void 0:t.videoId),i=Object(r.computed)((function(){return"https://www.youtube.com/embed/".concat(t.videoId,"?autoplay=").concat(t.autoplay)}));return{__sfc:!0,props:t,headingId:n,videoUrl:i}}},o=(n("FJ0J"),n("KHd+")),s=Object(o.a)(a,i,[],!1,null,"21cbee36",null);t.default=s.exports},XDpg:function(e,t,n){!function(e){"use strict";
vendor: 1,992 bytes, lines 173-174
173//! moment.js locale configuration 174e.defineLocale("zh-cn",{months:"䏿_äºæ_䏿_åæ_äºæ_å æ_䏿_å «æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå ".split("_"),weekdaysShort:"卿¥_å¨ä¸_å¨äº_å¨ä¸_å¨å_å¨äº_å¨å ".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥Ahç¹mmå",LLLL:"YYYYå¹´MæDæ¥ddddAhç¹mmå",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(e,t){return 12===e&&(e=0),"忍"===t||"æ©ä¸"===t||"ä¸å"===t?e:"ä¸å"===t||"æä¸"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"忍":i<900?"æ©ä¸":i<1130?"ä¸å":i<1230?"ä¸å":i<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©]LT",nextDay:"[æå¤©]LT",nextWeek:function(e){return e.week()!==this.week()?"[ä¸]dddLT":"[æ¬]dddLT"},lastDay:"[æ¨å¤©]LT",lastWeek:function(e){return this.week()!==e.week()?"[ä¸]dddLT":"[æ¬]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|å¨)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"æ¥";case"M":return e+"æ";case"w":case"W":return e+"å¨";default:return e}},relativeTime:{future:"%så",past:"%så",s:"å ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ¶",hh:"%d å°æ¶",d:"1 天",dd:"%d 天",w:"1 å¨",ww:"%d å¨",M:"1 个æ",MM:"%d 个æ",y:"1 å¹´",yy:"%d å¹´"},week:{dow:1,doy:4}})}(n("wd/R"))},XGnz:function(e,t,n){var i=n("CH3K"),r=n("BiGR");e.exports=function e(t,n,a,o,s){var l=-1,c=t.length;for(a||(a=r),s||(s=[]);++l<c;){var u=t[l];n>0&&a(u)?n>1?e(u,n-1,a,o,s):i(s,u):o||(s[s.length]=u)}return s}},XLvN:function(e,t,n){!function(e){"use strict";
175//! moment.js locale configuration 176e.defineLocale("te",{months:"à°à°¨à°µà°°à°¿_à°«à°¿à°¬à±à°°à°µà°°à°¿_మారà±à°à°¿_à°à°ªà±à°°à°¿à°²à±_à°®à±_à°à±à°¨à±_à°à±à°²à±_à°à°à°¸à±à°à±_à°¸à±à°ªà±à°à±à°à°¬à°°à±_à° à°à±à°à±à°¬à°°à±_నవà°à°¬à°°à±_à°¡à°¿à°¸à±à°à°¬à°°à±".split("_"),monthsShort:"à°à°¨._à°«à°¿à°¬à±à°°._మారà±à°à°¿_à°à°ªà±à°°à°¿._à°®à±_à°à±à°¨à±_à°à±à°²à±_à°à°._à°¸à±à°ªà±._à° à°à±à°à±._నవ._à°¡à°¿à°¸à±.".split("_"),monthsParseExact:!0,weekdays:"à°à°¦à°¿à°µà°¾à°°à°_à°¸à±à°®à°µà°¾à°°à°_à°®à°à°à°³à°µà°¾à°°à°_à°¬à±à°§à°µà°¾à°°à°_à°à±à°°à±à°µà°¾à°°à°_à°¶à±à°à±à°°à°µà°¾à°°à°_శనివారà°".split("_"),weekdaysShort:"à°à°¦à°¿_à°¸à±à°®_à°®à°à°à°³_à°¬à±à°§_à°à±à°°à±_à°¶à±à°à±à°°_శని".split("_"),weekdaysMin:"à°_à°¸à±_à°®à°_à°¬à±_à°à±_à°¶à±_à°¶".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[à°¨à±à°¡à±] LT",nextDay:"[à°°à±à°ªà±] LT",nextWeek:"dddd, LT",lastDay:"[నినà±à°¨] LT",lastWeek:"[à°à°¤] dddd, LT",sameElse:"L"},relativeTime:{future:"%s à°²à±",past:"%s à°à±à°°à°¿à°¤à°",s:"à°à±à°¨à±à°¨à°¿ à°à±à°·à°£à°¾à°²à±",ss:"%d à°¸à±à°à°¨à±à°²à±",m:"à°à° నిమిషà°",mm:"%d నిమిషాలà±",h:"à°à° à°à°à°",hh:"%d à°à°à°à°²à±",d:"à°à° à°°à±à°à±",dd:"%d à°°à±à°à±à°²à±",M:"à°à° à°¨à±à°²",MM:"%d à°¨à±à°²à°²à±",y:"à°à° à°¸à°à°µà°¤à±à°¸à°°à°",yy:"%d à°¸à°à°µà°¤à±à°¸à°°à°¾à°²à±"},dayOfMonthOrdinalParse:/\d{1,2}à°µ/,ordinal:"%dà°µ",meridiemParse:/రాతà±à°°à°¿|à°à°¦à°¯à°|మధà±à°¯à°¾à°¹à±à°¨à°|సాయà°à°¤à±à°°à°/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాతà±à°°à°¿"===t?e<4?e:e+12:"à°à°¦à°¯à°"===t?e:"మధà±à°¯à°¾à°¹à±à°¨à°"===t?e>=10?e:e+12:"సాయà°à°¤à±à°°à°"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాతà±à°°à°¿":e<10?"à°à°¦à°¯à°":e<17?"మధà±à°¯à°¾à°¹à±à°¨à°":e<20?"సాయà°à°¤à±à°°à°":"రాతà±à°°à°¿"},week:{dow:0,doy:6}})}(n("wd/R"))},XLwj:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"d-flex px-3"},[e._t("header"),e._v(" "),e.showDownload?t("div",[t("v-spacer"),e._v(" "),t("v-menu",{attrs:{left:"","offset-y":""},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,r=n.attrs;return[t("v-btn",e._g(e._b({staticClass:"white--text darken-4",attrs:{"x-small":"",color:"dark",elevation:"0",dark:"","aria-label":"Download chart"}},"v-btn",r,!1),i),[t("v-icon",{attrs:{size:"14"},domProps:{textContent:e._s(e.downloadIcon)}})],1)]}}],null,!1,1754775413)},[e._v(" "),t("v-list",e._l(e.chartDownloads,(function(n,i){return t("v-list-item",{key:i,on:{click:function(t){return e.downloadChart(n)}}},[t("v-list-item-title",[e._v("Download "+e._s(n))])],1)})),1)],1)],1):e._e()],2),e._v(" "),t("apexchart",{ref:"chart",attrs:{height:e.chartHeight,type:e.chartType,options:e.histogram.chartOptions,series:e.histogram.series}})],1)};i._withStripped=!0;var r=n("Kw5r"),a=n("EyHm"),o=n.n(a);r.default.use(o.a),r.default.component("apexchart",o.a);var s={name:"ChartComponent",props:{chartType:{type:String,required:!1,default:function(){return"line"}},series:{type:Array},yAxis:{type:Array|Object},xAxisCategories:{type:Array,required:!1},xAxisType:{type:String,required:!1,default:function(){return"datetime"}},fill:{type:String|Object,required:!1,default:function(){return{type:"solid"}}},chartHeight:{type:String,required:!1,default:function(){return"350"}},chartDownloads:{type:Array,required:!1,default:function(){return["PNG","CSV","SVG"]}},showDownload:{type:Boolean,required:!1},downloadIcon:{type:String,required:!1,default:function(){return"mdi-download"}}},computed:{colors:function(){return[this.$vuetify.theme.themes[this.theme].primary,this.$vuetify.theme.themes[this.theme].secondary,this.$vuetify.theme.themes[this.theme].info,"#ec6925","#eccb25",this.$vuetify.theme.themes[this.theme].error,this.$vuetify.theme.themes[this.theme].success,this.$vuetify.theme.themes[this.theme].greyBold]},histogram:function(){var e=this,t={total:0,series:this.series,chartOptions:{colors:[],plotOptions:{bar:{startingShape:"flat",endingShape:"rounded",columnWidth:"30%",dataLabels:{position:"top"}}}
176,chart:{height:this.chartHeight,type:this.chartType,toolbar:{show:!1},zoom:{enabled:!1,autoScaleYaxis:!0}},stroke:{width:[0,4],curve:"smooth"},dataLabels:{enabled:!1,enabledOnSeries:[1]},grid:{show:!0,borderColor:"#e4e4e4",strokeDashArray:0,position:"back",xaxis:{lines:{show:!1}},yaxis:{lines:{show:!0}}},yaxis:this.yAxis,markers:{size:6,radius:2},xaxis:{type:this.xAxisType,categories:this.xAxisCategories},fill:this.fill}},n=0;return t.series.forEach((function(i){t.chartOptions.colors.push(e.colors[n]),n++})),t}},data:function(){return{}},methods:{downloadChart:function(e){var t=this.$refs.chart.chart;switch(e){case"PNG":t.exports.exportToPng();break;case"SVG":t.exports.exportToSVG();break;case"CSV":t.exports.exportToCSV({series:t.config.series,columnDelimiter:","})}},toggleChartPeriod:function(){var e=this.histograms[this.chartDatePeriod],t=[],n=[];this.aggregations[e.aggName].status.buckets.map((function(e){t.push(e.doc_count),n.push(e.key)})),this.histogram.series.data=t,this.histogram.categories=n}}},l=n("KHd+"),c=n("ZUTo"),u=n.n(c),d=n("gzZi"),h=n("Ey0z"),f=n("iGBT"),p=n("2hOt"),m=n("XSMC"),g=n("5Emp"),v=n("L6Q5"),b=Object(l.a)(s,i,[],!1,null,null,null);t.default=b.exports;u()(b,{VBtn:d.a,VIcon:h.a,VList:f.a,VListItem:p.a,VListItemTitle:m.d,VMenu:g.a,VSpacer:v.a})},XPkG:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return r}));var i=n("Kena");function r(e){return{find:function(t){var n={};"string"!=typeof t&&(n={params:t.params},t=t.id);var r="string"==typeof t&&t.startsWith("/api")?t:e+"/"+t;return Object(i.default)(r,n)},findAll:function(t){return Object(i.default)(e,t)},create:function(t){return Object(i.default)(e,{method:"POST",body:JSON.stringify(t)})},del:function(e){return Object(i.default)(e["@id"],{method:"DELETE"})},patch:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object(i.default)(e["@id"],{method:"PATCH",body:JSON.stringify(e),hasEmbeddedUpdates:t,headers:{"Content-Type":"application/merge-patch+json"}})},update:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object(i.default)(e["@id"],{method:"PUT",body:JSON.stringify(e),hasEmbeddedUpdates:t})}}}},XUDj:function(e,t,n){},XXVU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=(0,n("eO9T").regex)("email",/(^$|^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$)/);t.default=i},"XYI+":function(e,t,n){"use strict";n.r(t);var i,r=n("lSNA"),a=n.n(r),o=n("WTW0"),s={SET_GROUPS:"SET_GROUPS",SET_USER_ME:"SET_USER_ME",SET_USER_ROLES:"SET_USER_ROLES",UPDATE_PHOTO:"UPDATE_PHOTO"};t.default={namespaced:!0,ACTIONS:s,state:function(){return{imageSetter:Function,account:[],_roles:[],appGroups:[],isViewingAs:!1,isAdmin:!1,isStaff:!1,isChecker:!1,isSectionEditor:!1,isEditor:!1,isUser:!1,isInstitutionAdmin:!1,isAimsAdmin:!1,isVendor:!1}},actions:{preLoad:function(e,t){var n=e.commit;t.appGroups&&n(s.SET_GROUPS,t.appGroups),t._roles&&n(s.SET_USER_ROLES,t._roles),t._me&&n(s.SET_USER_ME,t._me)},updatePhoto:function(e,t){(0,e.commit)(s.UPDATE_PHOTO,t)}},getters:{getField:o.b},mutations:(i={updateField:o.d},a()(i,s.SET_USER_ME,(function(e,t){if(t.photo=e.imageSetter(t.photo),e.account["@id"]===t["@id"]){var n=e.account.connectedAccount;t.connectedAccount||(t.connectedAccount=n)}e.account=t})),a()(i,s.SET_GROUPS,(function(e,t){e.appGroups=t})),a()(i,s.SET_USER_ROLES,(function(e,t){t.forEach((function(t){e._roles.includes(t)||(e._roles.push(t),"ROLE_ADMIN"==t&&(e.isAdmin=!0),"ROLE_STAFF"==t&&(e.isStaff=!0),"ROLE_EDITOR"==t&&(e.isEditor=!0),"ROLE_USER"==t&&(e.isUser=!0),"ROLE_CHECKER"==t&&(e.isChecker=!0),"ROLE_INSTITUTION_ACCOUNT_ADMIN"===t&&(e.isInstitutionAdmin=!0),"ROLE_SECTION_EDITOR"==t&&(e.isSectionEditor=!0),"ROLE_AIMS_ADMIN"==t&&(e.isAimsAdmin=!0),"ROLE_VENDOR"==t&&(e.isVendor=!0))}))})),a()(i,s.UPDATE_PHOTO,(function(e,t){e.account.photo=t})),i)}},XYm9:function(e,t,n){var i=n("+K+b");e.exports=function(e,t){var n=t?i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},XbO3:function(e,t,n){"use strict";
176Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("eO9T");t.default=function(e){return(0,i.withParams)({type:"minLength",min:e},(function(t){return!(0,i.req)(t)||(0,i.len)(t)>=e}))}},"Xfk+":function(e,t,n){},"XiM+":function(e,t,n){},Xvqi:function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var i=n("RIqP"),r=n.n(i),a=n("lwsE"),o=n.n(a),s=n("W8MJ"),l=n.n(s),c=n("7W2i"),u=n.n(c),d=n("a1gu"),h=n.n(d),f=n("Nsbk"),p=n.n(f),m=n("1IrZ"),g=n("2waU"),v=n("reo2");function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=p()(e);if(t){var r=p()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return h()(this,n)}}var y=function(e){u()(n,e);var t=b(n);function n(e){var i;return o()(this,n),(i=t.call(this,e)).accepted=e.accepted,i.declined=e.declined,i.sent=e.sent,i}return n}(m.a),_=n("6OTJ");function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=p()(e);if(t){var r=p()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return h()(this,n)}}var w=function(e){u()(n,e);var t=x(n);function n(e){var i;o()(this,n),(i=t.call(this,e)).admin=!!e&&e.admin,i.givenName=e?e.givenName:"",i.familyName=e?e.familyName:"",i.email=e?e.email:"",i.initials=e?e.initials:"",i.displayName=e?e.displayName:"",i.corresponding=!!e&&e.corresponding,i.equalContrib=!!e&&e.equalContrib,i.deceased=!!e&&e.deceased,i.invitation=e&&e.invitation?new y(e.invitation):null,i.profile=e&&e.profile?new _.a(e.profile):null,i.ordinal=e?e.ordinal:null;var r=e?e.addresses:[];return i.addresses=[],r.map((function(e){return i.addresses.push(new g.a(e))})),i}return l()(n,[{key:"profileNameMatch",get:function(){return!this.profile||this.displayName==this.profile.displayName}},{key:"getCopy",value:function(){var e=new n,t=Object.assign(e,this);return t.addresses=r()(this.addresses),t}}],[{key:"endpoints",get:function(){return{list:v.a.endpoints.get+"authors/",create:v.a.endpoints.get+"authors/",update:"authors/{id}/",getIri:function(e){return"/api/authors/".concat(e,"/")}}}}]),n}(m.a)},YB1K:function(e,t,n){"use strict";n.r(t),n.d(t,"ENTRYPOINT",(function(){return a})),n.d(t,"MERCURE_ENTRYPOINT",(function(){return s}));var i=n("kvwn"),r=document.getElementById(i.a.PEERJ_CORE_VUE_ROUTER_OUTLET_ID),a=r.getAttribute("data-api"),o=null;r.getAttribute("data-mercure")&&(o=r.getAttribute("data-mercure"));var s=o},YBne:function(e,t,n){},YIyx:function(e,t,n){},YO3V:function(e,t,n){var i=n("NykK"),r=n("LcsW"),a=n("ExA7"),o=Function.prototype,s=Object.prototype,l=o.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=i(e))return!1;var t=r(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},YOGE:function(e,t,n){},YRex:function(e,t,n){!function(e){"use strict";
177//! moment.js locale configuration 178e.defineLocale("ug-cn",{months:"ÙØ§ÙÛØ§Ø±_ÙÛÛØ±Ø§Ù_٠ارت_ئاپرÛÙ_٠اÙ_ئÙÙÛÙ_ئÙÙÛÙ_Ø¦Ø§ÛØºÛست_سÛÙØªÛØ¨ÙØ±_ئÛÙØªÛØ¨ÙØ±_ÙÙÙØ§Ø¨Ùر_دÛÙØ§Ø¨Ùر".split("_"),monthsShort:"ÙØ§ÙÛØ§Ø±_ÙÛÛØ±Ø§Ù_٠ارت_ئاپرÛÙ_٠اÙ_ئÙÙÛÙ_ئÙÙÛÙ_Ø¦Ø§ÛØºÛست_سÛÙØªÛØ¨ÙØ±_ئÛÙØªÛØ¨ÙØ±_ÙÙÙØ§Ø¨Ùر_دÛÙØ§Ø¨Ùر".split("_"),weekdays:"ÙÛÙØ´ÛÙØ¨Û_Ø¯ÛØ´ÛÙØ¨Û_سÛÙØ´ÛÙØ¨Û_ÚØ§Ø±Ø´ÛÙØ¨Û_Ù¾ÛÙØ´ÛÙØ¨Û_جÛÙ Û_Ø´ÛÙØ¨Û".split("_"),weekdaysShort:"ÙÛ_دÛ_سÛ_ÚØ§_Ù¾Û_جÛ_Ø´Û".split("_"),weekdaysMin:"ÙÛ_دÛ_سÛ_ÚØ§_Ù¾Û_جÛ_Ø´Û".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-ÙÙÙÙM-ئاÙÙÙÚD-ÙÛÙÙ",LLL:"YYYY-ÙÙÙÙM-ئاÙÙÙÚD-ÙÛÙÙØ HH:mm",LLLL:"ddddØ YYYY-ÙÙÙÙM-ئاÙÙÙÚD-ÙÛÙÙØ HH:mm"},meridiemParse:/ÙÛØ±ÙÙ ÙÛÚÛ|سÛÚ¾ÛØ±|ÚÛØ´ØªÙÙ Ø¨ÛØ±ÛÙ|ÚÛØ´|ÚÛØ´ØªÙÙ ÙÛÙÙÙ|ÙÛÚ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ÙÛØ±ÙÙ ÙÛÚÛ"===t||"سÛÚ¾ÛØ±"===t||"ÚÛØ´ØªÙÙ Ø¨ÛØ±ÛÙ"===t?e:"ÚÛØ´ØªÙÙ ÙÛÙÙÙ"===t||"ÙÛÚ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"ÙÛØ±ÙÙ ÙÛÚÛ":i<900?"سÛÚ¾ÛØ±":i<1130?"ÚÛØ´ØªÙÙ Ø¨ÛØ±ÛÙ":i<1230?"ÚÛØ´":i<1800?"ÚÛØ´ØªÙÙ ÙÛÙÙÙ":"ÙÛÚ"},calendar:{sameDay:"[بÛÚ¯ÛÙ Ø³Ø§Ø¦ÛØª] LT",nextDay:"[Ø¦ÛØªÛ Ø³Ø§Ø¦ÛØª] LT",nextWeek:"[ÙÛÙÛØ±ÙÙ] dddd [Ø³Ø§Ø¦ÛØª] LT",lastDay:"[تÛÙÛÚ¯ÛÙ] LT",lastWeek:"[Ø¦Ø§ÙØ¯ÙÙÙÙ] dddd [Ø³Ø§Ø¦ÛØª] LT",sameElse:"L"},relativeTime:{future:"%s ÙÛÙÙÙ",past:"%s Ø¨ÛØ±ÛÙ",s:"ÙÛÚÚÛ Ø³ÛÙÙÙØª",ss:"%d سÛÙÙÙØª",m:"Ø¨ÙØ± Ù ÙÙÛØª",mm:"%d Ù ÙÙÛØª",h:"Ø¨ÙØ± Ø³Ø§Ø¦ÛØª",hh:"%d Ø³Ø§Ø¦ÛØª",d:"Ø¨ÙØ± ÙÛÙ",dd:"%d ÙÛÙ",M:"Ø¨ÙØ± ئاÙ",MM:"%d ئاÙ",y:"Ø¨ÙØ± ÙÙÙ",yy:"%d ÙÙÙ"},dayOfMonthOrdinalParse:/\d{1,2}(-ÙÛÙÙ|-ئاÙ|-Ú¾ÛپتÛ)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-ÙÛÙÙ";case"w":case"W":return e+"-Ú¾ÛپتÛ";default:return e}},preparse:function(e){return e.replace(/Ø/g,",")},postformat:function(e){return e.replace(/,/g,"Ø")},week:{dow:1,doy:7}})}(n("wd/R"))},"Yhc+":function(e,t,n){"use strict";n.r(t),t.default={path:"/categories",name:"categories",component:function(){return n.e(332).then(n.bind(null,"1wc5"))},redirect:{name:"CategoryList"},children:[{name:"CategoryList",path:"",component:function(){return Promise.all([n.e(29),n.e(291)]).then(n.bind(null,"u4Wo"))}},{name:"CategoryCreate",path:"new",component:function(){return n.e(262).then(n.bind(null,"bisZ"))}},{name:"CategoryUpdate",path:":id/edit",component:function(){return n.e(264).then(n.bind(null,"e+An"))}},{name:"CategoryShow",path:":id",component:function(){return n.e(272).then(n.bind(null,"je9X"))}}]}},YjXl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=(0,n("eO9T").regex)("alpha",/^[a-zA-Z]*$/);t.default=i},Yo02:function(e,t,n){"use strict";n("Tzra")},YqYm:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("v-card",e._b({staticClass:"FourPartCard pb-2",attrs:{elevation:e.elevation,outlined:e.outlined}},"v-card",e.$attrs,!1),[e.bannerSrc?[t("v-img",{staticClass:"FourPartCard-image",attrs:{src:e.bannerSrc,alt:e.bannerAlt,height:"200"},scopedSlots:e._u([{key:"placeholder",fn:function(){return[t("v-img",{staticClass:"FourPartCard-image",attrs:{src:e.backupSrc,alt:e.bannerAlt,height:"200"}})]},proxy:!0}],null,!1,2475333423)})]:e._e(),e._v(" "),e.subtitle?[e._t("subtitle",(function(){return[t("v-card-subtitle",{class:n.c_subtitleClass},[e._v("\n "+e._s(e.subtitle)+"\n ")])]}),{subtitle:e.subtitle})]:e._e(),e._v(" "),e.title?[e._t("title",(function(){return[t("v-card-title",{class:n.c_titleClass},[e._v("\n "+e._s(e.title)+"\n ")])]}),{title:e.title})]:e._e(),e._v(" "),e.text?[e._t("text",(function(){return[t("v-card-text",{staticClass:"FourPartCard-text px-2 mb-2",attrs:{tabindex:"0"}},[e._v("\n "+e._s(e.text)+"\n ")])]}),{text:e.text})]:e._e(),e._v(" "),e.buttons||n.slot.buttons?[t("v-card-actions",{staticClass:"FourPartCard-buttons py-0"},[t("div",{staticClass:"d-flex"},[e.buttons.length?e._l(e.buttons,(function(n){return t(n.component,e._b({key:n._id,tag:"component"},"component",n.vBinds,!1))})):[e._t("buttons",null,{buttons:e.buttons})]],2)])]:e._e()],2)};i._withStripped=!0;var r=n("Kw5r"),a={__name:"FourPartCard",props:{bannerSrc:{type:String,default:""},backupSrc:{type:String,default:""},bannerAlt:{type:String,default:""},text:{type:String,default:""},subtitle:{type:String,default:""},title:{type:String,default:""},titleClass:{type:String,default:""},subtitleClass:{type:String,default:""},buttons:{type:Array,default:function(){return[]}},outlined:{type:Boolean,default:!0},elevation:{type:String,default:"0"}},setup:function(e){var t=e,n=Object(r.computed)((function(){return t.titleClass+" FourPartCard-title py-0 font-weight-mid"})),i=Object(r.computed)((function(){return t.subtitleClass+" FourPartCard-subtitle pb-1"})),a=Object(r.useSlots)();return{__sfc:!0,props:t,c_titleClass:n,c_subtitleClass:i,slot:a}}},o=(n("EWTM"),n("KHd+")),s=n("ZUTo"),l=n.n(s),c=n("sK+t"),u=n("mdmw"),d=n("rdoz"),h=Object(o.a)(a,i,[],!1,null,"760c3aec",null);t.default=h.exports;l()(h,{VCard:c.a,VCardActions:u.a,VCardSubtitle:u.b,VCardText:u.c,VCardTitle:u.d,VImg:d.a})},Z1Zl:function(e,t,n){},Z4QM:function(e,t,n){!function(e){"use strict";
179//! moment.js locale configuration 180var t=["جÙÙØ±Ù","ÙÙØ¨Ø±ÙرÙ","٠ارÚ","اپرÙÙ","٠ئÙ","جÙÙ","جÙÙØ§Ø¡Ù","آگسٽ","سÙپٽ٠بر","Ø¢ÚªÙ½ÙØ¨Ø±","ÙÙ٠بر","ÚØ³Ù بر"],n=["Ø¢ÚØ±","سÙ٠ر","اڱارÙ","اربع","Ø®Ù ÙØ³","ج٠ع","ÚÙÚØ±"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ddddØ D MMMM YYYY HH:mm"},meridiemParse:/صبØ|شا٠/,isPM:function(e){return"شا٠"===e},meridiem:function(e,t,n){return e<12?"صبØ":"شا٠"},calendar:{sameDay:"[اÚ] LT",nextDay:"[Ø³ÚØ§Ú»Ù] LT",nextWeek:"dddd [اڳÙÙ ÙÙØªÙ تÙ] LT",lastDay:"[ڪاÙÙÙ] LT",lastWeek:"[گزرÙÙ ÙÙØªÙ] dddd [تÙ] LT",sameElse:"L"},relativeTime:{future:"%s Ù¾ÙØ¡",past:"%s اڳ",s:"ÚÙØ¯ سÙÚªÙÚ",ss:"%d سÙÚªÙÚ",m:"ÙÚª Ù ÙÙ½",mm:"%d Ù ÙÙ½",h:"ÙÚª ÚªÙØ§Úª",hh:"%d ÚªÙØ§Úª",d:"ÙÚª ÚÙÙÙÙ",dd:"%d ÚÙÙÙÙ",M:"ÙÚª Ù ÙÙÙÙ",MM:"%d Ù ÙÙÙØ§",y:"ÙÚª ساÙ",yy:"%d ساÙ"},preparse:function(e){return e.replace(/Ø/g,",")},postformat:function(e){return e.replace(/,/g,"Ø")},week:{dow:1,doy:4}})}(n("wd/R"))},Z7Yp:function(e,t,n){"use strict";n("LGRd");var i=n("uoem"),r=n("nSar"),a=n("w3qa"),o=n("fiu3"),s=n("qa07"),l=n("ToLJ"),c=n("UxGI"),u=n("dWAg"),d=n("/gkr"),h=n("gNKD"),f=n("WN+I"),p=n("2fdy");const m=Object(f.a)(o.a,s.a,c.a,Object(l.a)("radioGroup"),u.a);t.a=m.extend().extend({name:"v-radio",inheritAttrs:!1,props:{disabled:{type:Boolean,default:null},id:String,label:String,name:String,offIcon:{type:String,default:"$radioOff"},onIcon:{type:String,default:"$radioOn"},readonly:{type:Boolean,default:null},value:{default:null}},data:()=>({isFocused:!1}),computed:{classes(){return{"v-radio--is-disabled":this.isDisabled,"v-radio--is-focused":this.isFocused,...this.themeClasses,...this.groupClasses}},computedColor(){if(!this.isDisabled)return d.a.options.computed.computedColor.call(this)},computedIcon(){return this.isActive?this.onIcon:this.offIcon},computedId(){return a.a.options.computed.computedId.call(this)},hasLabel:a.a.options.computed.hasLabel,hasState(){return(this.radioGroup||{}).hasState},isDisabled(){var e;return null!==(e=this.disabled)&&void 0!==e?e:!!this.radioGroup&&this.radioGroup.isDisabled},isReadonly(){var e;return null!==(e=this.readonly)&&void 0!==e?e:!!this.radioGroup&&this.radioGroup.isReadonly},computedName(){return this.name||!this.radioGroup?this.name:this.radioGroup.name||"radio-"+this.radioGroup._uid},rippleState(){return d.a.options.computed.rippleState.call(this)},validationState(){return(this.radioGroup||{}).validationState||this.computedColor}},methods:{genInput(e){return d.a.options.methods.genInput.call(this,"radio",e)},genLabel(){return this.hasLabel?this.$createElement(i.a,{on:{click:d.b},attrs:{for:this.computedId},props:{color:this.validationState,focused:this.hasState}},Object(h.s)(this,"label")||this.label):null},genRadio(){const{title:e,...t}=this.attrs$;return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.$createElement(r.a,this.setTextColor(this.validationState,{props:{dense:this.radioGroup&&this.radioGroup.dense}}),this.computedIcon),this.genInput({name:this.computedName,value:this.value,...t}),this.genRipple(this.setTextColor(this.rippleState))])},onFocus(e){this.isFocused=!0,this.$emit("focus",e)},onBlur(e){this.isFocused=!1,this.$emit("blur",e)},onChange(){this.isDisabled||this.isReadonly||this.isActive||this.toggle()},onKeydown:()=>{}},render(e){return e("div",{staticClass:"v-radio",class:this.classes,on:Object(p.c)({click:this.onChange},this.listeners$),attrs:{title:this.attrs$.title}},[this.genRadio(),this.genLabel()])}})},ZAMP:function(e,t,n){!function(e){"use strict";
181//! moment.js locale configuration 182e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},ZBfT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("eO9T");t.default=function(e){return(0,i.withParams)({type:"not"},(function(t,n){return!(0,i.req)(t)||!e.call(this,t,n)}))}},ZCpW:function(e,t,n){var i=n("lm/5"),r=n("O7RO"),a=n("IOzZ");e.exports=function(e){var t=r(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||i(n,e,t)}}},ZDqI:function(e,t,n){"use strict";t.a=function(e){var t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(atob(t).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""));return JSON.parse(n)}},ZRYv:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("lwsE"),r=n.n(i),a=function e(t){r()(this,e);try{this.count=t.count,this.total=t.total,this.maxPerPage=t.maxPerPage,this.links={first:t.links.first,last:t.links.last,next:t.links.next,prev:t.links.previous,self:t.links.self}}catch(e){throw new Error("Could not construct pagination data")}}},ZbYb:function(e,t,n){"use strict";n.r(t),t.default={path:"/notify",name:"notify",component:function(){return n.e(338).then(n.bind(null,"TAZB"))}}},Zchh:function(e,t,n){"use strict";n.r(t),n.d(t,"normalize",(function(){return c})),n.d(t,"normalizeEmbedded",(function(){return u}));var i=n("mwIZ"),r=n.n(i),a=n("OFL0"),o=n.n(a),s=n("noZS"),l=n.n(s);function c(e){return o()(e,"hydra:member")?(e["hydra:member"]=e["hydra:member"].map((function(e){return c(e)})),e):l()(e,(function(e){return Array.isArray(e)?e.map((function(e){return r()(e,"@id",e)})):r()(e,"@id",e)}))}function u(e){return o()(e,"hydra:member")?(e["hydra:member"]=e["hydra:member"].map((function(e){return c(e)})),e):e}},Zduo:function(e,t,n){!function(e){"use strict";
183//! moment.js locale configuration 184e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aÅgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aÅg_sept_okt_nov_dec".split("_"),weekdays:"dimanÄo_lundo_mardo_merkredo_ĵaÅdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaÅ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[HodiaÅ je] LT",nextDay:"[MorgaÅ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[HieraÅ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaÅ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},ZiaK:function(e,t,n){"use strict";n.r(t),n.d(t,"usePageBuilderComposable",(function(){return g}));var i=n("lSNA"),r=n.n(i),a=n("RIqP"),o=n.n(a),s=n("Kw5r"),l=n("x2tJ");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=0,h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"mc";return"".concat(e,"_").concat(Date.now(),"_").concat(d++)},f=null,p=null;function m(){var e=[],t=Object(s.ref)(-1),n=Object(s.ref)(0),i=!1,r=Object(s.computed)((function(){return t.value>0})),a=Object(s.computed)((function(){return t.value<n.value-1})),c=Object(s.ref)(!1),d=Object(s.ref)(!1),f=Object(s.ref)(!1),m=Object(s.ref)(!1),g=Object(s.ref)(!1),v=Object(s.ref)(!1),b=Object(s.ref)(!1),y=Object(s.ref)(!1),_=Object(s.ref)(!1),x=Object(s.ref)(!1),w=Object(s.ref)(!1),k=Object(s.ref)(!1),S=Object(s.ref)(!1),M=Object(s.ref)(null),L=Object(s.ref)(function(){try{var e=localStorage.getItem("mc-recent-components");return e?JSON.parse(e).slice(0,2):[]}catch(e){return console.error("Failed to load recent components:",e),[]}}()),A=Object(s.ref)({title:"",description:"",ogImage:"",noIndex:!1}),O=Object(s.ref)(null),C=Object(s.ref)(null),T=Object(s.ref)(""),E=Object(s.ref)(!1),D=!1,P=!1,j=Object(s.ref)([{id:"banner",type:"GenericPageBanner",label:"Page Banner",props:{bannerImageUrl:"https://images.pexels.com/photos/4254898/pexels-photo-4254898.jpeg",bannerImageAlt:"PeerJ logo",journal:"peerj",title:"Marketing Components",description:"Examples of possible components for marketing pages."}},{id:"cta",type:"J_AccentedCardSection",label:"CTA Cards",props:{cols:12,lg:3,md:6,rowClass:"py-10",cardClass:"CTASection",sectionTitle:"",sectionSubtitle:"",color:"accent",dark:!1,sectionButtons:[],items:[{id:"aims",icon:"mdi-bullseye",title:"Aims & Scope",text:"Discover the journal's research focus and publishing criteria.",height:210,buttons:[{id:"aims-btn",label:"Read Aims & Scope",href:"/about/aims-and-scope/"}]},{id:"guide",icon:"mdi-book-open-outline",title:"Submission Guidelines",text:"View Author instructions, policies and templates.",height:210,buttons:[{id:"guide-btn",label:"Read guidelines",href:"/about/author-instructions/"}]},{id:"fact",icon:"mdi-text-box-multiple",title:"Factsheet & Indexing",text:"A one-page journal overview for easy reference and sharing.",height:210,buttons:[{id:"fact-btn",label:"Download PDF",href:"https://d2pdyyx74uypu5.cloudfront.net/docs/peerj-life-journal-factsheet.pdf"}]},{id:"board",icon:"mdi-account-group",title:"Editorial Board",text:"Meet our diverse, dedicated, and highly experienced Editorial Board.",height:210,buttons:[{id:"board-btn",label:"Meet the Editors",href:"/search/?type=editor&journal=peerj"}]}]}},{id:"submit",type:"SubmitBanner",label:"Submit Banner",props:{}},{id:"testimonials",type:"H_SeeWhatAuthorsAreSaying",label:"Author Testimonials",props:{title:"What our Authors are Saying",testimonials:[{_id:"t1",quote:"PeerJ's main strengths include its commitment to high-quality and transparent peer review, efficient editorial processes, and its open access model that promotes broad dissemination of research.",author:"Author",authorTitle:"China, 2025"},{_id:"t2",quote:"PeerJ stands out for its strong support of open access, efficient and fair peer review, and a straightforward submission system that benef
184its authors.",author:"Author",authorTitle:"Mexico, 2025"},{_id:"t3",quote:"Transparency, high-quality peer review, and editorial process, combined with low open-access costs, make PeerJ an excellent choice for researchers.",author:"Author",authorTitle:"Australia, 2025"},{_id:"t4",quote:"PeerJ's commitment to scientific integrity and transparency in publishing is highly commendable, making it a trusted platform for researchers.",author:"Author",authorTitle:"Italy, 2025"}]}},{id:"stats",type:"J_AccentedCardSection",label:"Key Journal Stats",props:{color:"primary",dark:!0,cols:12,md:6,lg:4,cardClass:"primary lighten-1 white--text",rowClass:"my-0 py-10",sectionTitle:"Key Journal Statistics",sectionSubtitle:"Indicative operational metrics to help authors plan.",sectionButtons:[{id:"submit-now",label:"Submit now",href:"/new",icon:"mdi-arrow-right",color:"white primary--text",classes:"mr-4"}],items:[{id:"jif",title:"2.4 (2024)",text:"Journal impact factor",height:"95px",oneLine:!0,largeTitle:!0,vBinds:{class:"pt-5 pb-8 primary lighten-1 white--text"}},{id:"acceptance",title:"25%",text:"Acceptance rate",height:"95px",oneLine:!0,largeTitle:!0,vBinds:{class:"pt-5 pb-8 primary lighten-1 white--text"}},{id:"cite",title:"4.3 (2023)",text:"Cite score",height:"95px",oneLine:!0,largeTitle:!0,vBinds:{class:"pt-5 pb-8 primary lighten-1 white--text"}},{id:"days",title:"32 days",text:"Acceptance to publication",height:"95px",oneLine:!0,largeTitle:!0,vBinds:{class:"pt-5 pb-8 primary lighten-1 white--text"}},{id:"snip",title:"0.800 (2023)",text:"SNIP",height:"95px",oneLine:!0,largeTitle:!0,vBinds:{class:"pt-5 pb-8 primary lighten-1 white--text"}},{id:"apc",title:"$2155 (USD)",text:"Article processing charge",height:"95px",oneLine:!0,largeTitle:!0,vBinds:{class:"pt-5 pb-8 primary lighten-1 white--text"}}]}},{id:"ready",type:"J_ReadyToSubmit",label:"Ready to Submit",props:{submissionButtonLabel:"Submit article"}}]);e=[JSON.stringify({components:j.value,meta:A.value})],t.value=0,n.value=1;var Y=Object(s.computed)((function(){return JSON.stringify({__v:2,meta:A.value,components:j.value.map((function(e){return u({id:e.id,type:e.type,label:e.label,props:e.props},e.hidden?{hidden:!0}:{})}))},null,2)}));Object(s.watch)(j,(function(){i||((e=e.slice(0,t.value+1)).push(JSON.stringify({components:j.value,meta:A.value})),e.length>50&&e.shift(),t.value=e.length-1,n.value=e.length),D?D=!1:O.value&&(E.value=!0)}),{deep:!0,flush:"sync"}),Object(s.watch)(A,(function(){P?P=!1:O.value&&(E.value=!0)}),{deep:!0});return{editMode:c,previewMode:d,showAddDialog:f,showIconsDialog:m,showLoadConfigDialog:g,showImagesDialog:v,showColoursDialog:b,showApiConfigsDialog:y,showSaveConfigDialog:_,showNewConfigDialog:x,showUnsavedChangesDialog:w,showPageMetaDialog:k,showConfigOutputDialog:S,editingItem:M,componentList:j,configOutput:Y,pageMeta:A,activeConfigId:O,activeConfigSlug:C,activeConfigDescription:T,isDirty:E,setActiveConfig:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";O.value=e,C.value=t,T.value=n,E.value=!1},clearActiveConfig:function(){O.value=null,C.value=null,T.value="",E.value=!1},addComponent:function(e){var t=l.COMPONENT_REGISTRY[e];if(t){!function(e){var t=[e].concat(o()(L.value.filter((function(t){return t!==e})))).slice(0,2);L.value=t;try{localStorage.setItem("mc-recent-components",JSON.stringify(t))}catch(e){console.error("Failed to save recent components:",e)}}(e);var n={};if(t.defaultProps)try{n=JSON.parse(JSON.stringify(t.defaultProps))}catch(t){console.error("Failed to serialize defaultProps for ".concat(e,":"),t),n={}}j.value=[].concat(o()(j.value),[{id:h("mc"),type:e,label:t.label,props:n,hidden:!0}])}},duplicateComponent:function(e){var t=j.value.findIndex((function(t){return t.id===e}));if(-1!==t){var n=JSON.parse(JSON.stringify(j.value[t]));n.id=h("mc"),n.label=n.label+" (copy)";var i=o()(j.value);i.splice(t+1,0,n),j.value=i}},toggleVisibility:function(e){var t=j.value.findIndex((function(t){return t.id===e}));if(-1!==t){var n=o()(j.value);n[t]=u(u({},n[t]),{},{hidden:!n[t].hidden}),j.value=n}},renameComponent:function(e,t){var n=j.value.findIndex((function(t){return t.id===e}));if(-1!==n){var i=o()(j.value);i[n]=u(u({},i[n]),{},{label:t.trim()||i[n].label}),j.value=i}},removeComponent:function(e){j.value=j.value.filter((function(t){return t.id!==e}))}
184,moveComponent:function(e,t){var n=o()(j.value),i=n.findIndex((function(t){return t.id===e}));if("up"===t&&i>0){var r=[n[i],n[i-1]];n[i-1]=r[0],n[i]=r[1]}if("down"===t&&i<n.length-1){var a=[n[i+1],n[i]];n[i]=a[0],n[i+1]=a[1]}j.value=n},startEditing:function(e){M.value=JSON.parse(JSON.stringify(e))},saveEditing:function(){if(M.value){var e=j.value.findIndex((function(e){return e.id===M.value.id}));if(-1!==e){var t=o()(j.value);t[e]=u({},M.value),j.value=t}M.value=null}},cancelEditing:function(){M.value=null},loadConfig:function(r){D=!0,P=!0,i=!0;var a={title:"",description:"",ogImage:"",noIndex:!1};Array.isArray(r)?(j.value=JSON.parse(JSON.stringify(r)),A.value=u({},a)):2===(null==r?void 0:r.__v)?(j.value=JSON.parse(JSON.stringify(r.components||[])),A.value=u(u({},a),r.meta||{})):(j.value=[],A.value=u({},a)),e=[JSON.stringify({components:j.value,meta:A.value})],t.value=0,n.value=1,i=!1},canUndo:r,canRedo:a,undo:function(){if(r.value){i=!0,t.value--;var n=JSON.parse(e[t.value]);j.value=n.components,A.value=n.meta,i=!1}},redo:function(){if(a.value){i=!0,t.value++;var n=JSON.parse(e[t.value]);j.value=n.components,A.value=n.meta,i=!1}},triggerUnsavedChangesGuard:function(e){p=e,w.value=!0},resolveUnsavedChanges:function(e){w.value=!1;var t=p;p=null,e&&t&&t()},recentComponents:L}}var g=function(){return f||(f=m()),f}},ZxkM:function(e,t,n){"use strict";n("JLRx")},a1P0:function(e,t,n){"use strict";n("NqcE");var i=n("JLKi"),r=n("WN+I"),a=n("gNKD");t.a=Object(r.a)(i.a).extend({name:"v-responsive",props:{aspectRatio:[String,Number],contentClass:String},computed:{computedAspectRatio(){return Number(this.aspectRatio)},aspectStyle(){return this.computedAspectRatio?{paddingBottom:1/this.computedAspectRatio*100+"%"}:void 0},__cachedSizer(){return this.aspectStyle?this.$createElement("div",{style:this.aspectStyle,staticClass:"v-responsive__sizer"}):[]}},methods:{genContent(){return this.$createElement("div",{staticClass:"v-responsive__content",class:this.contentClass},Object(a.s)(this))}},render(e){return e("div",{staticClass:"v-responsive",style:this.measurableStyles,on:this.$listeners},[this.__cachedSizer,this.genContent()])}})},a1gu:function(e,t,n){var i=n("cDf5"),r=n("PJYZ");e.exports=function(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?r(e):t}},aIdf:function(e,t,n){!function(e){"use strict";
185//! moment.js locale configuration 186function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}var n=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],i=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,r=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:r,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:r,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n("wd/R"))},aIsn:function(e,t,n){!function(e){"use strict";
187//! moment.js locale configuration 188e.defineLocale("mi",{months:"Kohi-tÄte_Hui-tanguru_PoutÅ«-te-rangi_Paenga-whÄwhÄ_Haratua_Pipiri_HÅngoingoi_Here-turi-kÅkÄ_Mahuru_Whiringa-Ä-nuku_Whiringa-Ä-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_HÅngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"RÄtapu_Mane_TÅ«rei_Wenerei_TÄite_Paraire_HÄtarei".split("_"),weekdaysShort:"Ta_Ma_TÅ«_We_TÄi_Pa_HÄ".split("_"),weekdaysMin:"Ta_Ma_TÅ«_We_TÄi_Pa_HÄ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hÄkona ruarua",ss:"%d hÄkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},aPrH:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this._self._c;return e("v-card",{staticClass:"mx-auto",class:{"pa-4":this.padding,cardClass:this.cardClass},attrs:{elevation:"0",color:this.$vuetify.theme.dark&&"white"==this.color?"dark":this.color,dark:this.$vuetify.theme.dark,"max-width":"100%"}},[e("v-skeleton-loader",{attrs:{height:"100%",width:"100%",type:"card",loading:this.getThemeMode.isLoading}},[this._t("default")],2)],1)};i._withStripped=!0;var r=n("lSNA"),a=n.n(r),o=n("L2JU");function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var l={name:"Card",props:{color:{type:String,default:"white"},cardClass:{type:String,default:""},padding:{type:Boolean,default:!1}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(o.c)(["getThemeMode"]))},c=n("KHd+"),u=n("ZUTo"),d=n.n(u),h=n("sK+t"),f=n("MSko"),p=Object(c.a)(l,i,[],!1,null,null,null);t.default=p.exports;d()(p,{VCard:h.a,VSkeletonLoader:f.a})},aQkU:function(e,t,n){!function(e){"use strict";
189//! moment.js locale configuration 190e.defineLocale("mk",{months:"ÑанÑаÑи_ÑевÑÑаÑи_маÑÑ_апÑил_маÑ_ÑÑни_ÑÑли_авгÑÑÑ_ÑепÑемвÑи_окÑомвÑи_ноемвÑи_декемвÑи".split("_"),monthsShort:"Ñан_Ñев_маÑ_апÑ_маÑ_ÑÑн_ÑÑл_авг_Ñеп_окÑ_ное_дек".split("_"),weekdays:"недела_понеделник_вÑоÑник_ÑÑеда_ÑеÑвÑÑок_пеÑок_ÑабоÑа".split("_"),weekdaysShort:"нед_пон_вÑо_ÑÑе_ÑеÑ_пеÑ_Ñаб".split("_"),weekdaysMin:"нe_пo_вÑ_ÑÑ_Ñе_пе_Ña".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[ÐÐµÐ½ÐµÑ Ð²Ð¾] LT",nextDay:"[УÑÑе во] LT",nextWeek:"[Ðо] dddd [во] LT",lastDay:"[ÐÑеÑа во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[ÐзминаÑаÑа] dddd [во] LT";case 1:case 2:case 4:case 5:return"[ÐзминаÑиоÑ] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пÑед %s",s:"Ð½ÐµÐºÐ¾Ð»ÐºÑ ÑекÑнди",ss:"%d ÑекÑнди",m:"една минÑÑа",mm:"%d минÑÑи",h:"еден ÑаÑ",hh:"%d ÑаÑа",d:"еден ден",dd:"%d дена",M:"еден меÑеÑ",MM:"%d меÑеÑи",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|Ñи|ви|Ñи|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-Ñи":1===t?e+"-ви":2===t?e+"-Ñи":7===t||8===t?e+"-ми":e+"-Ñи"},week:{dow:1,doy:7}})}(n("wd/R"))},aScO:function(e,t,n){"use strict";var i=function(){return(0,this._self._c)("span",{staticClass:"spinner-grow",class:{"spinner-grow-sm":!this.large},attrs:{role:"status","aria-hidden":"true"}})};i._withStripped=!0;var r={props:{large:{type:Boolean,default:!1}}},a=n("KHd+"),o=Object(a.a)(r,i,[],!1,null,null,null);t.a=o.exports},afOK:function(e,t,n){e.exports=n("pZt1")},alwl:function(e,t,n){var i=n("eUgh"),r=n("ut/Y"),a=n("l9OW"),o=n("1LK5"),s=n("sEf8"),l=n("IWTy"),c=n("zZ0H");e.exports=function(e,t,n){var u=-1;t=i(t.length?t:[c],s(r));var d=a(e,(function(e,n,r){return{criteria:i(t,(function(t){return t(e)})),index:++u,value:e}}));return o(d,(function(e,t){return l(e,t,n)}))}},ap0N:function(e,t,n){"use strict";n("kCQ2")},asDA:function(e,t){e.exports=function(e,t,n,i){var r=-1,a=null==e?0:e.length;for(i&&a&&(n=e[++r]);++r<a;)n=t(n,e[r],r,e);return n}},asUI:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("ul",{staticClass:"nav pj-nav-search-row d-flex justify-space-between pl-0"},[e._l(e.searchNavRow,(function(n,i){return t("li",{key:i,staticClass:"nav-item mr-0 mr-sm-n1 main-search-nav",class:[{"pj-search-li-active":n.active},n.breakpoint]},[t("v-hover",{scopedSlots:e._u([{key:"default",fn:function(i){var r=i.hover;return[t("div",{staticStyle:{position:"relative"}},[t("v-expand-transition",[n.count&&r?t("div",{staticClass:"transition-fast-in-fast-out badge-count-reveal",staticStyle:{height:"100%"}},[t("v-chip",{attrs:{color:"primary","x-small":""}},[e._v(e._s(n.count))])],1):e._e()]),e._v(" "),t("a",{staticClass:"pl-0 pr-md-1 text-decoration-none",class:n.class,style:{color:"dark"===e.theme?"#eee":"#121212"},attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.searchNavClicked(n)}}},[t("v-icon",{domProps:{textContent:e._s(n.mdi)}}),e._v(" "+e._s(n.title)+"\n ")],1)],1)]}}],null,!0)})],1)})),e._v(" "),t("div",{staticClass:"d-flex"},[e.defaultType?e._e():t("div",[t("v-menu",{attrs:{"offset-y":"","open-on-hover":""},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,r=n.attrs;return[t("v-btn",e._g(e._b({attrs:{text:"",small:""}},"v-btn",r,!1),i),[t("v-icon",[e._v("mdi-dots-vertical")]),e._v(" More\n ")],1)]}}],null,!1,3222866794)},[e._v(" "),t("v-list",e._l(e.moreNav,(function(n,i){return t("v-list-item",{key:i,class:n.class,on:{click:function(t){return t.preventDefault(),e.searchNavClicked(n)}}},[t("v-list-item-icon",[t("v-icon",{domProps:{textContent:e._s(n.mdi)}}
190)],1),e._v(" "),t("v-list-item-title",[e._v(e._s(n.title)+" "),n.count?t("v-chip",{attrs:{"x-small":""}},[e._v(e._s(n.count))]):e._e()],1)],1)})),1)],1)],1),e._v(" "),t("div",[t("v-menu",{attrs:{"open-on-hover":"","offset-y":""},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,r=n.attrs;return[t("v-btn",e._g(e._b({attrs:{icon:"",small:"","aria-label":"Search help"}},"v-btn",r,!1),i),[t("v-icon",[e._v("mdi-help-box")])],1)]}}])},[e._v(" "),t("v-card",[t("v-card-title",[e._v("Search modifiers")]),e._v(" "),t("v-list",e._l(e.searchHelp,(function(n,i){return t("v-list-item",{key:i,attrs:{"three-line":""}},[t("v-list-item-content",[t("v-list-item-title",[e._v(e._s(n.title))]),e._v(" "),t("v-list-item-subtitle",{domProps:{innerHTML:e._s(n.subtitle)}})],1)],1)})),1)],1)],1)],1)])],2)};i._withStripped=!0;var r=n("lSNA"),a=n.n(r),o=n("L2JU");function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c={name:"SearchNav.vue",data:function(){return{moreNav:[],searchHelp:[{title:"Must include word",subtitle:'Put <span class="blue--text text--darken-1">+</span> in front of word. For example, <span class="blue--text text--darken-1">+human</span>'},{title:"Exclude a word",subtitle:'Put <span class="blue--text ext--darken-1">-</span> in front of word. For example, <span class="blue--text text--darken-1">genetics -plant</span>'},{title:"Search for exact word phrase",subtitle:'Put quotes around word or phrase. For example, <span class="blue--text text--darken-1">"human genetics"</span>'}],showMoreDropdown:!1}},beforeDestroy:function(){document.removeEventListener("click",this.closeDropdown)},computed:l(l({},Object(o.e)("search",["aggs","searchParams","localParams","defaultType","path","tidyQuery"])),{},{moreNavItemTypes:function(){var e=[],t=this.searchParams.CONFIG_SEARCH_NAV_ROW;for(var n in t)t[n].isMoreDropdownItem&&e.push(t[n].queryType);return e},searchNavRow:function(){var e=this.aggs,t=this.localParams.type;this.moreNav=[];var n=Object.assign({},this.searchParams.CONFIG_SEARCH_NAV_ROW);if(this.defaultType?n=a()({All:n.All},this.defaultType,n[this.defaultType]):n.All.active=!t||!this.searchParams.ES_QUERY_TYPES.includes(t),!this.defaultType){var i=[];e.type&&(i=e.type),e.editor&&e.editor.buckets&&(i=i.concat(e.editor.buckets)),n=this.fillNavSearchItems(n,i,t)}return this.defaultType&&(n[this.defaultType].active=!0,n.All.active=!1),n}}),methods:{closeDropdown:function(e){this.$el.contains(e.target)||(this.showMoreDropdown=!1)},dropdownClicked:function(){this.showMoreDropdown=!this.showMoreDropdown,document.addEventListener("click",this.closeDropdown)},fillNavSearchItems:function(e,t,n){var i=this.moreNavItemTypes;for(var r in e)if("All"!==r){var a=e[r],o=0;for(var s in t){var c=t[s];c.key===r&&c.doc_count>0&&(o=parseInt(c.doc_count)),a.addbucketSource&&c.key===a.addbucketSource&&(o+=parseInt(c.doc_count))}if(a){if(a.breakpoint="",a.count=o.toLocaleString(),a.class=0===o?this.searchParams.SEARCH_NAV_ZERO_RESULT_CLASS:"",a.active=n&&a.queryType===n,!a.active&&a.displaySize){if(!~i.indexOf(n)||!a.isMoreDropdownSwappable){var u=l({},a);u.class+=" d-"+a.displaySize+"-none",this.moreNav.unshift(u)}a.breakpoint=" d-none d-"+a.displaySize+"-block"}~i.indexOf(n)&&a.isMoreDropdownSwappable&&(this.moreNav.push(a),delete e[r]),~i.indexOf(a.queryType)&&a.queryType!==n&&(this.moreNav.push(a),delete e[r])}}return e},searchNavClicked:function(e){this.showMoreDropdown=!1,document.removeEventListener("click",this.closeDropdown),this.$store.dispatch("search/updatePath",e),this.$store.dispatch("search/updateParam",{param:"type",val:e.queryType}),this.$router.push({path:this.path,query:this.tidyQuery})}}},u=(n("xXF0"),n("KHd+")),d=n("ZUTo"),h=n.n(d),f=n("gzZi"),p=n("sK+t"),m=n("mdmw"),g=n("zCDB"),v=n("B4nN"),b=n("zoeD"),y=n("Ey0z"),_=n("iGBT"),x=n("2hOt"),w=n("XSMC"),k=n("NMP6"),S=n("5Emp"),M=Object(u.a)(c,i,[],!1,null,"6a3913ec",null);t.default=M.exports;h()(M,{VBtn:f.a,VCard:p.a,VCardTitle:m.d,VChip:g.a,VExpandTransition:v.a,VHover:b.a,VIcon:y.a,VList:_.a,VListItem:x.a,VListItemContent:w.b,VListItemIcon:k.a,VListItemSubtitle:w.c,VListItemTitle:w.d,VMenu:S.a})},b1Dy:function(e,t,n){!function(e){"use strict";
191//! moment.js locale configuration 192e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},b1ey:function(e,t,n){},b2z7:function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},b5oN:function(e,t,n){"use strict";function i(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function a(e){var t=r(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function o(e){return e instanceof r(e).Element||e instanceof Element}function s(e){return e instanceof r(e).HTMLElement||e instanceof HTMLElement}function l(e){return"undefined"!=typeof ShadowRoot&&(e instanceof r(e).ShadowRoot||e instanceof ShadowRoot)}function c(e){return e?(e.nodeName||"").toLowerCase():null}function u(e){return((o(e)?e.ownerDocument:e.document)||window.document).documentElement}function d(e){return i(u(e)).left+a(e).scrollLeft}function h(e){return r(e).getComputedStyle(e)}function f(e){var t=h(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function p(e,t,n){void 0===n&&(n=!1);var o,l,h=u(t),p=i(e),m=s(t),g={scrollLeft:0,scrollTop:0},v={x:0,y:0};return(m||!m&&!n)&&(("body"!==c(t)||f(h))&&(g=(o=t)!==r(o)&&s(o)?{scrollLeft:(l=o).scrollLeft,scrollTop:l.scrollTop}:a(o)),s(t)?((v=i(t)).x+=t.clientLeft,v.y+=t.clientTop):h&&(v.x=d(h))),{x:p.left+g.scrollLeft-v.x,y:p.top+g.scrollTop-v.y,width:p.width,height:p.height}}function m(e){var t=i(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function g(e){return"html"===c(e)?e:e.assignedSlot||e.parentNode||(l(e)?e.host:null)||u(e)}function v(e,t){var n;void 0===t&&(t=[]);var i=function e(t){return["html","body","#document"].indexOf(c(t))>=0?t.ownerDocument.body:s(t)&&f(t)?t:e(g(t))}(e),a=i===(null==(n=e.ownerDocument)?void 0:n.body),o=r(i),l=a?[o].concat(o.visualViewport||[],f(i)?i:[]):i,u=t.concat(l);return a?u:u.concat(v(g(l)))}function b(e){return["table","td","th"].indexOf(c(e))>=0}function y(e){return s(e)&&"fixed"!==h(e).position?e.offsetParent:null}function _(e){for(var t=r(e),n=y(e);n&&b(n)&&"static"===h(n).position;)n=y(n);return n&&("html"===c(n)||"body"===c(n)&&"static"===h(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&s(e)&&"fixed"===h(e).position)return null;for(var n=g(e);s(n)&&["html","body"].indexOf(c(n))<0;){var i=h(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}n.d(t,"b",(function(){return Xe}));var x="top",w="bottom",k="right",S="left",M=[x,w,k,S],L=M.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),A=[].concat(M,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),O=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function C(e){var t=new Map,n=new Set,i=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(r){n.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEac
vendor: 4,814 bytes, line 192
192h((function(i){if(!n.has(i)){var r=t.get(i);r&&e(r)}})),i.push(r)}(e)})),i}var T={placement:"bottom",modifiers:[],strategy:"absolute"};function E(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function D(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,r=t.defaultOptions,a=void 0===r?T:r;return function(e,t,n){void 0===n&&(n=a);var r,s,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},T,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,d={state:l,setOptions:function(n){h(),l.options=Object.assign({},a,l.options,n),l.scrollParents={reference:o(e)?v(e):e.contextElement?v(e.contextElement):[],popper:v(t)};var r=function(e){var t=C(e);return O.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(i,l.options.modifiers)));return l.orderedModifiers=r.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var a=r({state:l,name:t,instance:d,options:i});c.push(a||function(){})}})),d.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(E(t,n)){l.rects={reference:p(t,_(n),"fixed"===l.options.strategy),popper:m(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<l.orderedModifiers.length;i++)if(!0!==l.reset){var r=l.orderedModifiers[i],a=r.fn,o=r.options,s=void 0===o?{}:o,c=r.name;"function"==typeof a&&(l=a({state:l,options:s,name:c,instance:d})||l)}else l.reset=!1,i=-1}}},update:(r=function(){return new Promise((function(e){d.forceUpdate(),e(l)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(r())}))}))),s}),destroy:function(){h(),u=!0}};if(!E(e,t))return d;function h(){c.forEach((function(e){return e()})),c=[]}return d.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),d}}var P={passive:!0};var j={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,a=i.scroll,o=void 0===a||a,s=i.resize,l=void 0===s||s,c=r(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach((function(e){e.addEventListener("scroll",n.update,P)})),l&&c.addEventListener("resize",n.update,P),function(){o&&u.forEach((function(e){e.removeEventListener("scroll",n.update,P)})),l&&c.removeEventListener("resize",n.update,P)}},data:{}};function Y(e){return e.split("-")[0]}function I(e){return e.split("-")[1]}function R(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function H(e){var t,n=e.reference,i=e.element,r=e.placement,a=r?Y(r):null,o=r?I(r):null,s=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(a){case x:t={x:s,y:n.y-i.height};break;case w:t={x:s,y:n.y+n.height};break;case k:t={x:n.x+n.width,y:l};break;case S:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=a?R(a):null;if(null!=c){var u="y"===c?"height":"width";switch(o){case"start":t[c]=t[c]-(n[u]/2-i[u]/2);break;case"end":t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}var N={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=H({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},F=Math.max,z=Math.min,B=Math.round,W={top:"auto",right:"auto",bottom:"auto",left:"auto"};function V(e){var t,n=e.popper,i=e.popperRect,a=e.placement,o=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,f=!0===d?function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:B(B(t*i)/i)||0,y:B(B(n*i)/i)||0}}(o):"function"==typeof d?d(o):o,p=f.x,m=void 0===p?0:p,g=f.y,v=void 0===g?0:g,b=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),M=S,L=x,A=window;if(c){var O=_(n),C="clientHeight",T="clientWidth";O===r(n)&&"static"!==h(O=u(n)).position&&(C="scrollHeight",T="scrollWidth"),O=O,a===x&&(L=w,v-=O[C]-i.height,v*=l?1:-1),a===S&&(M=k,m-=O[T]-i.width,m*=l?1:-1)}var E,D=Object.assign({position:s},c&&W);return l?Object.assign({},D,((E={})[L]=y?"0":"",E[M]=b?"0":"",E.transform=(A.devicePixelRatio||1)<2?"translate("+m+"px, "+v+"px)":"translate3d("+m+"px, "+v+"px, 0)",E)):Object.assign({},D,((t={})[L]=y?v+"px":"",t[M]=b?m+"px":"",t.transform="",t))}var $={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;
vendor: 4,533 bytes, line 192
192Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},r=t.elements[e];s(r)&&c(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],r=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});s(i)&&c(i)&&(Object.assign(i.style,a),Object.keys(r).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};var U={left:"right",right:"left",bottom:"top",top:"bottom"};function X(e){return e.replace(/left|right|bottom|top/g,(function(e){return U[e]}))}var G={start:"end",end:"start"};function q(e){return e.replace(/start|end/g,(function(e){return G[e]}))}function J(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&l(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function K(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Z(e,t){return"viewport"===t?K(function(e){var t=r(e),n=u(e),i=t.visualViewport,a=n.clientWidth,o=n.clientHeight,s=0,l=0;return i&&(a=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=i.offsetLeft,l=i.offsetTop)),{width:a,height:o,x:s+d(e),y:l}}(e)):s(t)?function(e){var t=i(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):K(function(e){var t,n=u(e),i=a(e),r=null==(t=e.ownerDocument)?void 0:t.body,o=F(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=F(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-i.scrollLeft+d(e),c=-i.scrollTop;return"rtl"===h(r||n).direction&&(l+=F(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:l,y:c}}(u(e)))}function Q(e,t,n){var i="clippingParents"===t?function(e){var t=v(g(e)),n=["absolute","fixed"].indexOf(h(e).position)>=0&&s(e)?_(e):e;return o(n)?t.filter((function(e){return o(e)&&J(e,n)&&"body"!==c(e)})):[]}(e):[].concat(t),r=[].concat(i,[n]),a=r[0],l=r.reduce((function(t,n){var i=Z(e,n);return t.top=F(i.top,t.top),t.right=z(i.right,t.right),t.bottom=z(i.bottom,t.bottom),t.left=F(i.left,t.left),t}),Z(e,a));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function ee(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function te(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ne(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=void 0===r?e.placement:r,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,d=void 0===c?"viewport":c,h=n.elementContext,f=void 0===h?"popper":h,p=n.altBoundary,m=void 0!==p&&p,g=n.padding,v=void 0===g?0:g,b=ee("number"!=typeof v?v:te(v,M)),y="popper"===f?"reference":"popper",_=e.elements.reference,S=e.rects.popper,L=e.elements[m?y:f],A=Q(o(L)?L:L.contextElement||u(e.elements.popper),l,d),O=i(_),C=H({reference:O,element:S,strategy:"absolute",placement:a}),T=K(Object.assign({},S,C)),E="popper"===f?T:O,D={top:A.top-E.top+b.top,bottom:E.bottom-A.bottom+b.bottom,left:A.left-E.left+b.left,right:E.right-A.right+b.right},P=e.modifiersData.offset;if("popper"===f&&P){var j=P[a];Object.keys(D).forEach((function(e){var t=[k,w].indexOf(e)>=0?1:-1,n=[x,w].indexOf(e)>=0?"y":"x";D[e]+=j[n]*t}))}return D}function ie(e,t,n){return F(e,z(t,n))}function re(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ae(e){return[x,k,w,S].some((function(t){return e[t]>=0}))}var oe=D({defaultModifiers:[j,N,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=void 0===i||i,a=n.adaptive,o=void 0===a||a,s=n.roundOffsets,l=void 0===s||s,c={placement:Y(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,V(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roun
vendor: 5,245 bytes, line 192
192dOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,V(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},$,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.offset,a=void 0===r?[0,0]:r,o=A.reduce((function(e,n){return e[n]=function(e,t,n){var i=Y(e),r=[S,x].indexOf(i)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o=o||0,s=(s||0)*r,[S,k].indexOf(i)>=0?{x:s,y:o}:{x:o,y:s}}(n,t.rects,a),e}),{}),s=o[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=o}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var r=n.mainAxis,a=void 0===r||r,o=n.altAxis,s=void 0===o||o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,f=n.flipVariations,p=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,v=Y(g),b=l||(v===g||!p?[X(g)]:function(e){if("auto"===Y(e))return[];var t=X(e);return[q(e),t,q(t)]}(g)),y=[g].concat(b).reduce((function(e,n){return e.concat("auto"===Y(n)?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?A:l,u=I(i),d=u?s?L:L.filter((function(e){return I(e)===u})):M,h=d.filter((function(e){return c.indexOf(e)>=0}));0===h.length&&(h=d);var f=h.reduce((function(t,n){return t[n]=ne(e,{placement:n,boundary:r,rootBoundary:a,padding:o})[Y(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}):n)}),[]),_=t.rects.reference,O=t.rects.popper,C=new Map,T=!0,E=y[0],D=0;D<y.length;D++){var P=y[D],j=Y(P),R="start"===I(P),H=[x,w].indexOf(j)>=0,N=H?"width":"height",F=ne(t,{placement:P,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),z=H?R?k:S:R?w:x;_[N]>O[N]&&(z=X(z));var B=X(z),W=[];if(a&&W.push(F[j]<=0),s&&W.push(F[z]<=0,F[B]<=0),W.every((function(e){return e}))){E=P,T=!1;break}C.set(P,W)}if(T)for(var V=function(e){var t=y.find((function(t){var n=C.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},$=p?3:1;$>0;$--){if("break"===V($))break}t.placement!==E&&(t.modifiersData[i]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,a=void 0===r||r,o=n.altAxis,s=void 0!==o&&o,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,h=n.tether,f=void 0===h||h,p=n.tetherOffset,g=void 0===p?0:p,v=ne(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=Y(t.placement),y=I(t.placement),M=!y,L=R(b),A="x"===L?"y":"x",O=t.modifiersData.popperOffsets,C=t.rects.reference,T=t.rects.popper,E="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,D={x:0,y:0};if(O){if(a||s){var P="y"===L?x:S,j="y"===L?w:k,H="y"===L?"height":"width",N=O[L],B=O[L]+v[P],W=O[L]-v[j],V=f?-T[H]/2:0,$="start"===y?C[H]:T[H],U="start"===y?-T[H]:-C[H],X=t.elements.arrow,G=f&&X?m(X):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},J=q[P],K=q[j],Z=ie(0,C[H],G[H]),Q=M?C[H]/2-V-Z-J-E:$-Z-J-E,ee=M?-C[H]/2+V+Z+K+E:U+Z+K+E,te=t.elements.arrow&&_(t.elements.arrow),re=te?"y"===L?te.clientTop||0:te.clientLeft||0:0,ae=t.modifiersData.offset?t.modifiersData.offset[t.placement][L]:0,oe=O[L]+Q-ae-re,se=O[L]+ee-ae;if(a){var le=ie(f?z(B,oe):B,N,f?F(W,se):W);O[L]=le,D[L]=le-N}if(s){var ce="x"===L?x:S,ue="x"===L?w:k,de=O[A],he=de+v[ce],fe=de-v[ue],pe=ie(f?z(he,oe):he,de,f?F(fe,se):fe);O[A]=pe,D[A]=pe-de}}t.modifiersData[i]=D}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,r=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=Y(n.placement),l=R(s),c=[S,k].indexOf(s)>=0?"height":"width";if(a&&o){var u=function(e,t){return ee("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:te(e,M))}(r.padding,n),d=m(a),h="y"===l?x:S,f="y"===l?w:k,p=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],g=o[l]-n.rects.reference[l],v=_(a),b=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,y=p/2-g/2,L=u[h],A=b-d[c]-u[f],O=b/2-d[c]/2+y,C=ie(L,O,A),T=l;n.modifiersData[i]=((t={})[T]=C,t.centerOffset=C-O,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&J(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,a=t.modifiersData.preventOverflow,o=ne(t,{elementContext:"reference"}),s=ne(t,{altBoundary:!0}
vendor: 6,242 bytes, line 192
192),l=re(o,i),c=re(s,r,a),u=ae(l),d=ae(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),se={passive:!0,capture:!0};function le(e,t,n){if(Array.isArray(e)){var i=e[t];return null==i?Array.isArray(n)?n[t]:n:i}return e}function ce(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function ue(e,t){return"function"==typeof e?e.apply(void 0,t):e}function de(e,t){return 0===t?e:function(i){clearTimeout(n),n=setTimeout((function(){e(i)}),t)};var n}function he(e){return[].concat(e)}function fe(e,t){-1===e.indexOf(t)&&e.push(t)}function pe(e){return e.split("-")[0]}function me(e){return[].slice.call(e)}function ge(){return document.createElement("div")}function ve(e){return["Element","Fragment"].some((function(t){return ce(e,t)}))}function be(e){return ce(e,"MouseEvent")}function ye(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function _e(e){return ve(e)?[e]:function(e){return ce(e,"NodeList")}(e)?me(e):Array.isArray(e)?e:me(document.querySelectorAll(e))}function xe(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function we(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function ke(e){var t,n=he(e)[0];return(null==n||null==(t=n.ownerDocument)?void 0:t.body)?n.ownerDocument:document}function Se(e,t,n){var i=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[i](t,n)}))}var Me={isTouch:!1},Le=0;function Ae(){Me.isTouch||(Me.isTouch=!0,window.performance&&document.addEventListener("mousemove",Oe))}function Oe(){var e=performance.now();e-Le<20&&(Me.isTouch=!1,document.removeEventListener("mousemove",Oe)),Le=e}function Ce(){var e=document.activeElement;if(ye(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var Te="undefined"!=typeof window&&"undefined"!=typeof document?navigator.userAgent:"",Ee=/MSIE |Trident\//.test(Te);var De={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Pe=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},De,{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),je=Object.keys(Pe);function Ye(e){var t=(e.plugins||[]).reduce((function(t,n){var i=n.name,r=n.defaultValue;return i&&(t[i]=void 0!==e[i]?e[i]:r),t}),{});return Object.assign({},e,{},t)}function Ie(e,t){var n=Object.assign({},t,{content:ue(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Ye(Object.assign({},Pe,{plugins:t}))):je).reduce((function(t,n){var i=(e.getAttribute("data-tippy-"+n)||"").trim();if(!i)return t;if("content"===n)t[n]=i;else try{t[n]=JSON.parse(i)}catch(e){t[n]=i}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},Pe.aria,{},n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function Re(e,t){e.innerHTML=t}function He(e){var t=ge();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",ve(e)?t.appendChild(e):Re(t,e)),t}function Ne(e,t){ve(t.content)?(Re(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Re(e,t.content):e.textContent=t.content)}function Fe(e){var t=e.firstElementChild,n=me(t.children);return{box:t,content:n.find((function(e){return e.classList.contains("tippy-content")})),arrow:n.find((function(e){return e.classList.contains("tippy-arrow")||e.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(e){return e.classList.contains("tippy-backdrop")}))}}function ze(e){var t=ge(),n=ge();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=ge();function r(n,i){var r=Fe(t),a=r.box,o=r.content,s=r.arrow;i.theme?a.setAttribute("data-theme",i.theme):a.removeAttribute("data-theme"),"string"==typeof i.animation?a.setAttribute("data-animation",i.animation):a.removeAttribute("data-animation"),i.inertia?a.setAttribute("data-inertia",""):a.removeAttribute("data-inertia"),a.style.maxWidth="number"==typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?a.setAttribute("role",i.role):a.removeAttribute("role"),n.content===i.content&&n.allowHTML===i.allowHTML||Ne(o,e.props),i.arrow?s?n.arrow!==i.arrow&&(a.removeChild(s),a.appendChild(He(i.arrow))):a.appendChild(He(i.arrow)):s&&a.removeChild(s)}return i.className="tippy-content",i.setAttribute("data-state","hidden"),Ne(i,e.props),t.appendChild(n),n.appendChild(i),r(e.props,e.props),{popper:t,onUpdate:r}}ze.$$tippy=!0;var Be=1,We=[],Ve=[];function $e(e,t){var n,i,r,a,o,s,l,c,u,d=Ie(e,Object.assign({},Pe,{},Ye((n=t,Object.keys(n).reduce((function(e,t){return void 0!==n[t]&&(e[t]=n[t]),e}),{}))))),h=!1,f=!1,p=!1,m=!1,g=[],v=de(G,d.interactiveDebounce),b=Be++,y=(u=d.plugins).filter((function(e,t){return u.indexOf(e)===t})),_={id:b,reference:e,popper:ge(),popperInstance:null,props:d,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(i),clearTimeout(r),cancelAnimationFrame(a)},setProps:function(t){0;if(_.state.isDestroyed)return;j("onBeforeUpdate",[_,t]),U();var n=_.props,i=Ie(e,Object.assign({},_.props,{},t,{ignoreAttributes:!0}));_.props=i,$(),n.interactiveDebounce!==i.interactiveDebounce&&(R(),v=de(G,i.interactiveDebounce));n.triggerTarget&&!i.triggerTarget?he(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):i.triggerTarget&&e.removeAttribute("aria-expanded");I(),P(),k&&k(n,i);
vendor: 9,345 bytes, line 192
192_.popperInstance&&(Z(),ee().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));j("onAfterUpdate",[_,t])},setContent:function(e){_.setProps({content:e})},show:function(){0;var e=_.state.isVisible,t=_.state.isDestroyed,n=!_.state.isEnabled,i=Me.isTouch&&!_.props.touch,r=le(_.props.duration,0,Pe.duration);if(e||t||n||i)return;if(C().hasAttribute("disabled"))return;if(j("onShow",[_],!1),!1===_.props.onShow(_))return;_.state.isVisible=!0,O()&&(w.style.visibility="visible");P(),z(),_.state.isMounted||(w.style.transition="none");if(O()){var a=E(),o=a.box,s=a.content;xe([o,s],0)}l=function(){var e;if(_.state.isVisible&&!m){if(m=!0,w.offsetHeight,w.style.transition=_.props.moveTransition,O()&&_.props.animation){var t=E(),n=t.box,i=t.content;xe([n,i],r),we([n,i],"visible")}Y(),I(),fe(Ve,_),null==(e=_.popperInstance)||e.forceUpdate(),_.state.isMounted=!0,j("onMount",[_]),_.props.animation&&O()&&function(e,t){W(e,t)}(r,(function(){_.state.isShown=!0,j("onShown",[_])}))}},function(){var e,t=_.props.appendTo,n=C();e=_.props.interactive&&t===Pe.appendTo||"parent"===t?n.parentNode:ue(t,[n]);e.contains(w)||e.appendChild(w);Z(),!1}()},hide:function(){0;var e=!_.state.isVisible,t=_.state.isDestroyed,n=!_.state.isEnabled,i=le(_.props.duration,1,Pe.duration);if(e||t||n)return;if(j("onHide",[_],!1),!1===_.props.onHide(_))return;_.state.isVisible=!1,_.state.isShown=!1,m=!1,h=!1,O()&&(w.style.visibility="hidden");if(R(),B(),P(),O()){var r=E(),a=r.box,o=r.content;_.props.animation&&(xe([a,o],i),we([a,o],"hidden"))}Y(),I(),_.props.animation?O()&&function(e,t){W(e,(function(){!_.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&t()}))}(i,_.unmount):_.unmount()},hideWithInteractivity:function(e){0;T().addEventListener("mousemove",v),fe(We,v),v(e)},enable:function(){_.state.isEnabled=!0},disable:function(){_.hide(),_.state.isEnabled=!1},unmount:function(){0;_.state.isVisible&&_.hide();if(!_.state.isMounted)return;Q(),ee().forEach((function(e){e._tippy.unmount()})),w.parentNode&&w.parentNode.removeChild(w);Ve=Ve.filter((function(e){return e!==_})),_.state.isMounted=!1,j("onHidden",[_])},destroy:function(){0;if(_.state.isDestroyed)return;_.clearDelayTimeouts(),_.unmount(),U(),delete e._tippy,_.state.isDestroyed=!0,j("onDestroy",[_])}};if(!d.render)return _;var x=d.render(_),w=x.popper,k=x.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+_.id,_.popper=w,e._tippy=_,w._tippy=_;var S=y.map((function(e){return e.fn(_)})),M=e.hasAttribute("aria-expanded");return $(),I(),P(),j("onCreate",[_]),d.showOnCreate&&te(),w.addEventListener("mouseenter",(function(){_.props.interactive&&_.state.isVisible&&_.clearDelayTimeouts()})),w.addEventListener("mouseleave",(function(e){_.props.interactive&&_.props.trigger.indexOf("mouseenter")>=0&&(T().addEventListener("mousemove",v),v(e))})),_;function L(){var e=_.props.touch;return Array.isArray(e)?e:[e,0]}function A(){return"hold"===L()[0]}function O(){var e;return!!(null==(e=_.props.render)?void 0:e.$$tippy)}function C(){return c||e}function T(){var e=C().parentNode;return e?ke(e):document}function E(){return Fe(w)}function D(e){return _.state.isMounted&&!_.state.isVisible||Me.isTouch||o&&"focus"===o.type?0:le(_.props.delay,e?0:1,Pe.delay)}function P(){w.style.pointerEvents=_.props.interactive&&_.state.isVisible?"":"none",w.style.zIndex=""+_.props.zIndex}function j(e,t,n){var i;(void 0===n&&(n=!0),S.forEach((function(n){n[e]&&n[e].apply(void 0,t)})),n)&&(i=_.props)[e].apply(i,t)}function Y(){var t=_.props.aria;if(t.content){var n="aria-"+t.content,i=w.id;he(_.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(_.state.isVisible)e.setAttribute(n,t?t+" "+i:i);else{var r=t&&t.replace(i,"").trim();r?e.setAttribute(n,r):e.removeAttribute(n)}}))}}function I(){!M&&_.props.aria.expanded&&he(_.props.triggerTarget||e).forEach((function(e){_.props.interactive?e.setAttribute("aria-expanded",_.state.isVisible&&e===C()?"true":"false"):e.removeAttribute("aria-expanded")}))}function R(){T().removeEventListener("mousemove",v),We=We.filter((function(e){return e!==v}))}function H(e){if(!(Me.isTouch&&(p||"mousedown"===e.type)||_.props.interactive&&w.contains(e.target))){if(C().contains(e.target)){if(Me.isTouch)return;if(_.state.isVisible&&_.props.trigger.indexOf("click")>=0)return}else j("onClickOutside",[_,e]);!0===_.props.hideOnClick&&(_.clearDelayTimeouts(),_.hide(),f=!0,setTimeout((function(){f=!1})),_.state.isMounted||B())}}function N(){p=!0}function F(){p=!1}function z(){var e=T();e.addEventListener("mousedown",H,!0),e.addEventListener("touchend",H,se),e.addEventListener("touchstart",F,se),e.addEventListener("touchmove",N,se)}function B(){var e=T();e.removeEventListener("mousedown",H,!0),e.removeEventListener("touchend",H,se),e.removeEventListener("touchstart",F,se),e.removeEventListener("touchmove",N,se)}function W(e,t){var n=E().box;function i(e){e.target===n&&(Se(n,"remove",i),t())}if(0===e)return t();Se(n,"remove",s),Se(n,"add",i),s=i}function V(t,n,i){void 0===i&&(i=!1),he(_.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,i),g.push({node:e,eventType:t,handler:n,options:i})}))}function $(){var e;A()&&(V("touchstart",X,{passive:!0}),V("touchend",q,{passive:!0})),(e=_.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(V(e,X),e){case"mouseenter":V("mouseleave",q);break;case"focus":V(Ee?"focusout":"blur",J);break;case"focusin":V("focusout",J)}}))}function U(){g.forEach((function(e){var t=e.node,n=e.eventType,i=e.handler,r=e.options;t.removeEventListener(n,i,r)})),g=[]}function X(e){var t,n=!1;if(_.state.isEnabled&&!K(e)&&!f){var i="focus"===(null==(t=o)?void 0:t.type);o=e,c=e.currentTarget,I(),!_.state.isVisible&&be(e)&&We.forEach((function(t){return t(e)})),"click"===e.type&&(_.props.trigger.indexOf("mouseenter")<0||h)&&!1!==_.props.hideOnClick&&_.state.isVisible?n=!0:te(e),"click"===e.type&&(h=!n),n&&!i&&ne(e)}}function G(e){var t=e.target,n=C().contains(t)||w.contains(t);"mousemove"===e.type&&n||function(e,t){var n=t.clientX,i=t.clientY;return e.every((function(e){var t=e.popperRect,r=e.popperState,a=e.props.interactiveBorder,o=pe(r.placement),s=r.modifiersData.offset;if(!s)return!0;var l="bottom"===o?s.top.y:0,c="top"===o?s.bottom.y:0,u="right"===o?s.left.x:0,d="left"===o?s.right.x:0,h=t.top-i+l>a,f=i-t.bottom-c>a,p=t.left-n+u>a,m=n-t.right-d>a;return h||f||p||m}))}(ee().concat(w).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:d}:null})).filter(Boolean),e)&&(R(),ne(e))}function q(e){K(e)||_.props.trigger.indexOf("click")>=0&&h||(_.props.interactive?_.hideWithInteractivity(e):ne(e))}function J(e){_.props.trigger.indexOf("focusin")<0&&e.target!==C()||_.props.interactive&&e.relatedTarget&&w.contains(e.relatedTarget)||ne(e)}function K(e){return!!Me.isTouch&&A()!==e.type.indexOf("touch")>=0}function Z(){Q();var t=_.props,n=t.popperOptions,i=t.placement,r=t.offset,a=t.getReferenceClientRect,o=t.moveTransition,s=O()?Fe(w).arrow:null,c=a?{getBoundingClientRect:a,contextElement:a.contextElement||C()}:e,u=[{name:"offset",options:{offset:r}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!o}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(O()){var n=E().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];O()&&s&&u.push({name:"arrow",options:{element:s,padding:3}}),u.push.apply(u,(null==n?void 0:n.modifiers)||[]),_.popperInstance=oe(c,w,Object.assign({},n,{placement:i,onFirstUpdate:l,modifiers:u}))}function Q(){_.popperInstance&&(_.popperInstance.destroy(),_.popperInstance=null)}function ee(){return me(w.querySelectorAll("[data-tippy-root]"))}function te(e){_.clearDelayTimeouts(),e&&j("onTrigger",[_,e]),z();var t=D(!0),n=L(),r=n[0],a=n[1];Me.isTouch&&"hold"===r&&a&&(t=a),t?i=setTimeout((function(){_.show()}),t):_.show()}function ne(e){if(_.clearDelayTimeouts(),j("onUntrigger",[_,e]),_.state.isVisible){if(!(_.props.trigger.indexOf("mouseenter")>=0&&_.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&h)){var t=D(!1);t?r=setTimeout((function(){_.state.isVisible&&_.hide()}),t):a=requestAnimationFrame((function(){_.hide()}))}}else B()}}function Ue(e,t){void 0===t&&(t={});var n=Pe.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Ae,se),window.addEventListener("blur",Ce);var i=Object.assign({},t,{plugins:n}),r=_e(e).reduce((function(e,t){var n=t&&$e(t,i);return n&&e.push(n),e}),[]);return ve(e)?r[0]:r}Ue.defaultProps=Pe,Ue.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Pe[t]=e[t]}))},Ue.currentInput=Me;var Xe=function(e){var t=void 0===e?{}:e,n=t.exclude,i=t.duration;Ve.forEach((function(e){var t=!1;if(n&&(t=ye(n)?e.reference===n:e.popper===n.popper),!t){var r=e.props.duration;e.setProps({duration:i}),e.hide(),e.state.isDestroyed||e.setProps({duration:r})}}))};Object.assign({},$,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left
192:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});Ue.setDefaultProps({render:ze});t.a=Ue},b7uH:function(e,t,n){"use strict";n("w+dn")},b9f4:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{"font-size":"12px"}},[t("v-simple-table",{attrs:{dense:""}},[t("caption",[e._v(e._s(e.title))]),e._v(" "),t("thead",[t("tr",[t("th",{staticClass:"success"},[e._v("5th")]),e._v(" "),t("th",[e._v("25th")]),e._v(" "),t("th",{staticClass:"grey"},[e._v("Median")]),e._v(" "),t("th",[e._v("75th")]),e._v(" "),t("th",{staticClass:"error"},[e._v("95th")])])]),e._v(" "),t("tbody",[t("tr",[t("td",[e._v(e._s(e._f("formatFloat")(e.percentiles["5.0"])))]),e._v(" "),t("td",[e._v(e._s(e._f("formatFloat")(e.percentiles["25.0"])))]),e._v(" "),t("td",[e._v(e._s(e._f("formatFloat")(e.percentiles["50.0"])))]),e._v(" "),t("td",[e._v(e._s(e._f("formatFloat")(e.percentiles["75.0"])))]),e._v(" "),t("td",[e._v(e._s(e._f("formatFloat")(e.percentiles["95.0"])))])])])])],1)};i._withStripped=!0;var r={props:{aggPercentile:Object},data:function(){return{}},computed:{percentileKey:function(){for(var e in this.aggPercentile)if(e.includes("-rank"))return e},title:function(){var e=this.percentileKey.replace(/-/g," ");return e.replace(/rank/g,"percentiles").replace(/days/g,"Days")},percentiles:function(){return this.aggPercentile[this.percentileKey].values}},filters:{formatFloat:function(e){return e.toFixed(1)}}},a=n("KHd+"),o=n("ZUTo"),s=n.n(o),l=n("H09D"),c=Object(a.a)(r,i,[],!1,null,"945a4662",null);t.default=c.exports;s()(c,{VSimpleTable:l.a})},bKfa:function(e,t,n){},bOMt:function(e,t,n){!function(e){"use strict";
193//! moment.js locale configuration 194e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},bPE9:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("v-hover",{attrs:{"open-delay":"100"},scopedSlots:e._u([{key:"default",fn:function(n){var i=n.hover;return[t("v-btn",{staticClass:"border",class:[e.textColor,e.textHover,e.bgHover,e.borderColor],attrs:{elevation:i?8:0,outlined:"",color:e.color,block:e.block,large:e.large,rounded:e.rounded}},[e._v(e._s(e.text))])]}}])})};i._withStripped=!0;var r={name:"OutlineButton",props:{text:{type:String,default:""},color:{type:String,default:""},block:{type:Boolean,default:!1},large:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},textColor:{type:String,default:"white--text"},textHover:{type:String,default:"hover:white--text"},bgHover:{type:String,default:"primary"},borderColor:{type:String,default:""}}},a=n("KHd+"),o=n("ZUTo"),s=n.n(o),l=n("gzZi"),c=n("zoeD"),u=Object(a.a)(r,i,[],!1,null,null,null);t.default=u.exports;s()(u,{VBtn:l.a,VHover:c.a})},bXm7:function(e,t,n){!function(e){"use strict";
195//! moment.js locale configuration 196var t={0:"-ÑÑ",1:"-ÑÑ",2:"-ÑÑ",3:"-ÑÑ",4:"-ÑÑ",5:"-ÑÑ",6:"-ÑÑ",7:"-ÑÑ",8:"-ÑÑ",9:"-ÑÑ",10:"-ÑÑ",20:"-ÑÑ",30:"-ÑÑ",40:"-ÑÑ",50:"-ÑÑ",60:"-ÑÑ",70:"-ÑÑ",80:"-ÑÑ",90:"-ÑÑ",100:"-ÑÑ"};e.defineLocale("kk",{months:"ÒаңÑаÑ_аÒпан_наÑÑÑз_ÑÓÑÑÑ_мамÑÑ_маÑÑÑм_ÑÑлде_ÑамÑз_ÒÑÑкүйек_Òазан_ÒаÑаÑа_желÑоÒÑан".split("_"),monthsShort:"Òаң_аÒп_наÑ_ÑÓÑ_мам_маÑ_ÑÑл_Ñам_ÒÑÑ_Òаз_ÒаÑ_жел".split("_"),weekdays:"жекÑенбÑ_дүйÑенбÑ_ÑейÑенбÑ_ÑÓÑÑенбÑ_бейÑенбÑ_жұма_ÑенбÑ".split("_"),weekdaysShort:"жек_дүй_Ñей_ÑÓÑ_бей_жұм_Ñен".split("_"),weekdaysMin:"жк_дй_Ñй_ÑÑ_бй_жм_Ñн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ÐүгÑн ÑаÒаÑ] LT",nextDay:"[ÐÑÑең ÑаÒаÑ] LT",nextWeek:"dddd [ÑаÒаÑ] LT",lastDay:"[ÐеÑе ÑаÒаÑ] LT",lastWeek:"[Ó¨Ñкен апÑанÑÒ£] dddd [ÑаÒаÑ] LT",sameElse:"L"},relativeTime:{future:"%s ÑÑÑнде",past:"%s бұÑÑн",s:"бÑÑнеÑе ÑекÑнд",ss:"%d ÑекÑнд",m:"бÑÑ Ð¼Ð¸Ð½ÑÑ",mm:"%d минÑÑ",h:"бÑÑ ÑаÒаÑ",hh:"%d ÑаÒаÑ",d:"бÑÑ ÐºÒ¯Ð½",dd:"%d күн",M:"бÑÑ Ð°Ð¹",MM:"%d ай",y:"бÑÑ Ð¶Ñл",yy:"%d жÑл"},dayOfMonthOrdinalParse:/\d{1,2}-(ÑÑ|ÑÑ)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},bYM6:function(e,t,n){!function(e){"use strict";
197//! moment.js locale configuration 198e.defineLocale("ar-tn",{months:"جاÙÙÙ_ÙÙÙØ±Ù_٠ارس_Ø£ÙØ±ÙÙ_٠اÙ_Ø¬ÙØ§Ù_جÙÙÙÙØ©_Ø£ÙØª_سبت٠بر_Ø£ÙØªÙبر_ÙÙÙ٠بر_Ø¯ÙØ³Ù بر".split("_"),monthsShort:"جاÙÙÙ_ÙÙÙØ±Ù_٠ارس_Ø£ÙØ±ÙÙ_٠اÙ_Ø¬ÙØ§Ù_جÙÙÙÙØ©_Ø£ÙØª_سبت٠بر_Ø£ÙØªÙبر_ÙÙÙ٠بر_Ø¯ÙØ³Ù بر".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù ÙØ³_ج٠عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اÙÙÙ٠عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[أ٠س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ ",dd:"%d Ø£ÙØ§Ù ",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},week:{dow:1,doy:4}})}(n("wd/R"))},bahg:function(e,t){e.exports=function(e){return e.split("")}},bbSu:function(e,t,n){"use strict";var i=n("Kw5r");t.a=new i.default},bpih:function(e,t,n){!function(e){"use strict";
199//! moment.js locale configuration 200e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},bxKX:function(e,t,n){!function(e){"use strict";
201//! moment.js locale configuration 202e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},cDf5:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=i=function(e){return n(e)}:e.exports=i=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},i(t)}e.exports=i},cKyj:function(e,t,n){"use strict";n("AOl6")},cRix:function(e,t,n){!function(e){"use strict";
203//! moment.js locale configuration 204var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},cTRv:function(e,t,n){"use strict";n.r(t),t.default={path:"/",name:"mlp",component:function(){return Promise.all([n.e(42),n.e(223)]).then(n.bind(null,"mgWU"))},props:!0,children:[{path:"journals/:journalSlug/admin",name:"mlp-admin",component:function(){return Promise.all([n.e(42),n.e(49),n.e(64),n.e(60)]).then(n.bind(null,"7PRU"))},props:!0},{path:"journals/:journalSlug/:section/:subsection",name:"mlp-slug-subsection",component:function(){return Promise.all([n.e(42),n.e(64),n.e(89)]).then(n.bind(null,"IjlY"))},props:!0},{path:"journals/:journalSlug/:section",name:"mlp-slug",component:function(){return Promise.all([n.e(42),n.e(64),n.e(89)]).then(n.bind(null,"IjlY"))},props:!0},{path:"journals/:journalSlug/",name:"mlp-landing",component:function(){return Promise.all([n.e(42),n.e(64),n.e(89)]).then(n.bind(null,"IjlY"))},props:!0},{path:"journals/:journalSlug/campaigns/:slug",name:"mlp-campaign-landing",component:function(){return Promise.all([n.e(42),n.e(64),n.e(89)]).then(n.bind(null,"IjlY"))},props:!0}]}},cdmR:function(e,t,n){"use strict";n("XiM+");var i=n("jdmY"),r=n("rdoz"),a=n("gNKD"),o=n("2b3T");t.a=i.a.extend({name:"v-toolbar",props:{absolute:Boolean,bottom:Boolean,collapse:Boolean,dense:Boolean,extended:Boolean,extensionHeight:{default:48,type:[Number,String]},flat:Boolean,floating:Boolean,prominent:Boolean,short:Boolean,src:{type:[String,Object],default:""},tag:{type:String,default:"header"}},data:()=>({isExtended:!1}),computed:{computedHeight(){const e=this.computedContentHeight;if(!this.isExtended)return e;const t=parseInt(this.extensionHeight);return this.isCollapsed?e:e+(isNaN(t)?0:t)},computedContentHeight(){return this.height?parseInt(this.height):this.isProminent&&this.dense?96:this.isProminent&&this.short?112:this.isProminent?128:this.dense?48:this.short||this.$vuetify.breakpoint.smAndDown?56:64},classes(){return{...i.a.options.computed.classes.call(this),"v-toolbar":!0,"v-toolbar--absolute":this.absolute,"v-toolbar--bottom":this.bottom,"v-toolbar--collapse":this.collapse,"v-toolbar--collapsed":this.isCollapsed,"v-toolbar--dense":this.dense,"v-toolbar--extended":this.isExtended,"v-toolbar--flat":this.flat,"v-toolbar--floating":this.floating,"v-toolbar--prominent":this.isProminent}},isCollapsed(){return this.collapse},isProminent(){return this.prominent},styles(){return{...this.measurableStyles,height:Object(a.h)(this.computedHeight)}}},created(){[["app","<v-app-bar app>"],["manual-scroll",'<v-app-bar :value="false">'],["clipped-left","<v-app-bar clipped-left>"],["clipped-right","<v-app-bar clipped-right>"],["inverted-scroll","<v-app-bar inverted-scroll>"],["scroll-off-screen","<v-app-bar scroll-off-screen>"],["scroll-target","<v-app-bar scroll-target>"],["scroll-threshold","<v-app-bar scroll-threshold>"],["card","<v-app-bar flat>"]].forEach(([e,t])=>{this.$attrs.hasOwnProperty(e)&&Object(o.a)(e,t,this)})}
204,methods:{genBackground(){const e={height:Object(a.h)(this.computedHeight),src:this.src},t=this.$scopedSlots.img?this.$scopedSlots.img({props:e}):this.$createElement(r.a,{props:e});return this.$createElement("div",{staticClass:"v-toolbar__image"},[t])},genContent(){return this.$createElement("div",{staticClass:"v-toolbar__content",style:{height:Object(a.h)(this.computedContentHeight)}},Object(a.s)(this))},genExtension(){return this.$createElement("div",{staticClass:"v-toolbar__extension",style:{height:Object(a.h)(this.extensionHeight)}},Object(a.s)(this,"extension"))}},render(e){this.isExtended=this.extended||!!this.$scopedSlots.extension;const t=[this.genContent()],n=this.setBackgroundColor(this.color,{class:this.classes,style:this.styles,on:this.$listeners});return this.isExtended&&t.push(this.genExtension()),(this.src||this.$scopedSlots.img)&&t.unshift(this.genBackground()),e(this.tag,n,t)}})},"cq/+":function(e,t,n){var i=n("mc0g")();e.exports=i},cqKV:function(e,t,n){"use strict";var i=n("Hc5T");t.a={mixins:[i.validationMixin],watch:{"$v.$invalid":{deep:!0,handler:function(){this.$data._isValidFormData=!this.$v.$invalid,this.emitValidationStatus&&this.$emit("isValidForm",!this.$v.$invalid)}}},data:function(){return{_isValidFormData:!1,emitValidationStatus:!1,showValidationErrors:!1,serverValidationErrors:{}}},methods:{getValidationErrors:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;if(!this.showValidationErrors)return[];var n=[];if(e)var i=this.$v[e][t]||null;else i=this.$v[t]||null;var r=this.serverValidationErrors[e]?this.serverValidationErrors[e][t]:null;return i&&i.$error?i.$params.required&&!i.required?n.push("This field is required"):i.$params.email&&!i.email?n.push("Please enter a valid email address"):i.$params.hasOwnProperty("allCaps")&&!i.allCaps&&n.push("Capitalize the first letter of each name only e.g. 'Joycelyn' instead of 'JOYCELYN'"):r&&n.push(r),n},setServerValidationErrors:function(e,t){var n=this;this.serverValidationErrors[e]={},t.forEach((function(t){n.serverValidationErrors[e][t.name]=t.message}))},clearServerValidationErrors:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e?t&&this.serverValidationErrors.hasOwnProperty(e)?this.serverValidationErrors[e][t]=null:this.serverValidationErrors[e]={}:this.serverValidationErrors={}}}}},cvCv:function(e,t){e.exports=function(e){return function(){return e}}},cwXf:function(e,t,n){"use strict";n("4GuJ")},czMo:function(e,t,n){!function(e){"use strict";
205//! moment.js locale configuration 206e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n("wd/R"))},"d7+m":function(e,t,n){"use strict";n.r(t);var i=n("lSNA"),r=n.n(i);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.default=[{path:"/",name:"home",component:function(){return n.e(203).then(n.bind(null,"lXgH"))},meta:{title:"Peer-Reviewed Open Access Journals, Trusted by Researchers"}},{path:"/benefits",name:"benefits",component:function(){return Promise.all([n.e(31),n.e(38),n.e(212)]).then(n.bind(null,"v6/q"))},meta:{title:"Benefits"}},{path:"/journals/peerj",name:"peerjJournal",component:function(){return Promise.all([n.e(16),n.e(205)]).then(n.bind(null,"UUdJ"))}},{path:"journals/computer-science",name:"compSciJournal",component:function(){return Promise.all([n.e(16),n.e(206)]).then(n.bind(null,"HwKK"))}},{path:"journals/:journal/transfer",name:"transfer_your_article",component:function(){return n.e(207).then(n.bind(null,"e2ch"))},meta:{title:"Peer-Reviewed Open Access Journals, Trusted by Researchers"}},{path:"journals/:journal/:discipline",name:"peerjDiscipline",component:function(){return Promise.all([n.e(16),n.e(31),n.e(38),n.e(214)]).then(n.bind(null,"xYnO"))},props:!0},{path:"journals/:journal/:discipline/:researchArea",name:"peerjResearchArea",component:function(){return Promise.all([n.e(16),n.e(208)]).then(n.bind(null,"rm9f"))},props:!0},{path:"journals/:journal/:discipline/:researchArea/:subject",name:"peerjSubjects",component:function(){return Promise.all([n.e(16),n.e(210)]).then(n.bind(null,"V5BM"))},props:!0,meta:{title:"Journal Research Subject Page"}},{path:"/maintenance",name:"maintenance",component:function(){return n.e(342).then(n.bind(null,"Yvk8"))},meta:{title:"Maintenance Page"}},{path:"faqs",name:"faqs",component:function(){return Promise.all([n.e(0),n.e(1),n.e(238),n.e(4),n.e(1102)]).then(n.bind(null,"LdSS"))},meta:{title:"Frequently Asked Questions"}},{path:"/organic-chemistry/",name:"organic_chemistry_landing",component:function(){return n.e(43).then(n.bind(null,"YtME"))},props:!0,meta:{title:"Organic Chemistry Landing Page"}},{path:"/inorganic-chemistry/",name:"inorganic_chemistry_landing",component:function(){return n.e(43).then(n.bind(null,"YtME"))},props:!0,meta:{title:"Inorganic Chemistry Landing Page"}},{path:"/physical-chemistry/",name:"physical_chemistry_landing",component:function(){return n.e(43).then(n.bind(null,"YtME"))},props:!0,meta:{title:"Physical Chemistry Landing Page"}},{path:"/analytical-chemistry/",name:"analytical_chemistry_landing",component:function(){return n.e(43).then(n.bind(null,"YtME"))},props:!0,meta:{title:"Analytical Chemistry Landing Page"}},{path:"/materials-science/",name:"materials_science_landing",component:function(){return n.e(43).then(n.bind(null,"YtME"))},props:!0,meta:{title:"Materials Science Landing Page"}},{path:"/chemistry",name:"chemistry",component:function(){return n.e(43).then(n.bind(null,"YtME"))},props:!0,meta:{title:"Chemistry Landing Page"}},{path:"/editor/available/",name:"selfAssign",component:function(){return n.e(230).then(n.bind(null,"HVLA"))},meta:{title:"Editor Self-Assign Page"}},{path:"/new",name:"new_submission",component:function(){return n.e(217).then(n.bind(null,"fxJ1"))},props:!0,meta:{title:"PeerJ: Get Started"}},{path:"/sections",name:"sections",component:function(){return n.e(259).then(n.bind(null,"gjS9"))},props:!0,meta:{title:"Sections"}},{path:"/staff/marketing",name:"marketing_pages",component:function(){return Promise.all([n.e(54),n.e(15),n.e(34),n.e(41),n.e(371)]).then(n.bind(null,"nqz/"))},props:!0,meta:{title:"Marketing Pages",requiresStaff:!0}},{path:"/staff/marketing/:slug/edit",name:"marketing_page_edit",component:function(){return Promise.all([n.e(54),n.e(15),n.e(34),n.e(41),n.e(371)]).then(n.bind(null,"nqz/"))},props:!0,meta:{title:"Edit Marketing Page",requiresStaff:!0}},{path:"/marketing/:slug",name:"marketing_page",component:function(){return n.e(240).then(n.bind(null,"9ysw"))},props:!0}].map((function(e){return o(o({},e),{},{meta:o(o({},e.meta),{},{layout:"site2025"})})}))},dM05:function(e,t,n){"use strict";n.r(t),t.default={path:"/",name:"user-files",component:{render:function(e){return e("router-view")}},children:[{path:"files",name:"FilesIndex",component:function(){return Promise.all([n.e(7),n.e(287)]).then(n.bind(null,"yIyv"))}}]}},dNwA:function(e,t,n){!function(e){"use strict";
207//! moment.js locale configuration 208e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n("wd/R"))},dTAl:function(e,t,n){var i=n("GoyQ"),r=Object.create,a=function(){function e(){}return function(t){if(!i(t))return{};if(r)return r(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=a},dVn5:function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},dwWe:function(e,t,n){"use strict";t.a={setItem:function(e,t){return localStorage.setItem(e,t)},getItem:function(e){return localStorage.getItem(e)},removeItem:function(e){return localStorage.removeItem(e)},clear:function(){return localStorage.clear()}}},dy1E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=(0,n("eO9T").regex)("url",/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:[/?#]\S*)?$/i);t.default=i},"e+ae":function(e,t,n){!function(e){"use strict";
209//! moment.js locale configuration 210var t="január_február_marec_aprÃl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function i(e){return e>1&&e<5}function r(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"pár sekúnd":"pár sekundami";case"ss":return t||r?a+(i(e)?"sekundy":"sekúnd"):a+"sekundami";case"m":return t?"minúta":r?"minútu":"minútou";case"mm":return t||r?a+(i(e)?"minúty":"minút"):a+"minútami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?a+(i(e)?"hodiny":"hodÃn"):a+"hodinami";case"d":return t||r?"deÅ":"dÅom";case"dd":return t||r?a+(i(e)?"dni":"dnÃ"):a+"dÅami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?a+(i(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?a+(i(e)?"roky":"rokov"):a+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_Å¡tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_Å¡t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_Å¡t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo Å¡tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[vÄera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},eNcc:function(e,t,n){"use strict";var i=n("a1P0");t.a=i.a},eO9T:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"withParams",{enumerable:!0,get:function(){return r.default}}),t.regex=t.ref=t.len=t.req=void 0;var i,r=(i=n("h1BH"))&&i.__esModule?i:{default:i};function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=function(e){if(Array.isArray(e))return!!e.length;if(null==e)return!1;if(!1===e)return!0;if(e instanceof Date)return!isNaN(e.getTime());if("object"===a(e)){for(var t in e)return!0;return!1}return!!String(e).length};t.req=o;t.len=function(e){return Array.isArray(e)?e.length:"object"===a(e)?Object.keys(e).length:String(e).length};t.ref=function(e,t,n){return"function"==typeof e?e.call(t,n):n[e]};t.regex=function(e,t){return(0,r.default)({type:e},(function(e){return!o(e)||t.test(e)}))}},eY0V:function(e,t,n){},"ef+w":function(e,t,n){"use strict";var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",[n.d_items?[n.slots.label?[e._t("label")]:e._e(),e._v(" "),e.lockDrag?[t("div",{ref:"vueDraggable"},e._l(n.d_items,(function(i,r){return t("button",{key:i[e.iterationKey],class:n.computedItemClass,attrs:{id:"DraggableItem_".concat(i[e.iterationKey]),"aria-label":"Draggable Item, focused item's list index is currently set to: ".concat(n.d_items[r][e.ordinalKey]),"aria-description":n.draggableItemDescription,disabled:e.disabled},on:{click:n.emitItemClicked,keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:n.emitItemClicked.apply(null,arguments)}}},[e._t("item",null,{item:n.d_items[r]})],2)})),0)]:[t(n.VueDraggable,e._g(e._b({ref:"vueDraggable",attrs:{group:e.group},on:{update:n.listDragUpdate},model:{value:n.d_items,callback:function(e){n.d_items=e},expression:"d_items"}},"VueDraggable",n.attrs,!1),n.listeners),e._l(n.d_items,(function(i,r){return t("button",{key:i[e.iterationKey],class:n.computedItemClass,attrs:{id:"DraggableItem_".concat(i[e.iterationKey]),"aria-label":"List Item. The focused member's order is set to: ".concat(n.d_items[r][e.ordinalKey]+1),"aria-description":n.draggableItemDescription,disabled:e.disabled},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:n.decrementOrder(t,i)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:n.decrementOrder(t,i)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:n.incrementOrder(t,i)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button?null:n.incrementOrder(t,i)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:n.emitItemClicked(n.d_items[r])}],click:function(e){return n.emitItemClicked(n.d_items[r])}}},[e._t("item",null,{item:n.d_items[r],index:r})],2)})),0)]]:e._e()],2)};i._withStripped=!0;var r=n("J4zp"),a=n.n(r),o=n("cDf5"),s=n.n(o),l=n("RIqP"),c=n.n(l),u=n("o0o1"),d=n.n(u),h=n("yXPU"),f=n.n(h),p=n("lSNA"),m=n.n(p),g=n("t2rG"),v=n.n(g),b=n("Kw5r"),y=n("BkRI"),_=n.n(y),x=n("mNz5"),w=n.n(x),k=n("Y+p1"),S=n.n(k),M=n("RhzJ");function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
210t%2?L(Object(n),!0).forEach((function(t){m()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var O={__name:"VBetterDraggable",props:{items:{type:Array,required:!0},itemClass:{type:String|Array|Object,default:function(){return[]}},ordinalKey:{type:String,default:"ordinal"},lockDrag:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},group:{type:String,default:"items"},iterationKey:{default:"_id"}},emits:["input","update-items","item-clicked","last-element-moved","last-item-moved"],setup:function(e,t){var n=t.emit,i=e,r=Object(b.useAttrs)(),o=Object(b.useListeners)(),l=Object(b.useSlots)(),u=Object(b.ref)([]),h=Object(b.ref)(void 0);Object(b.onMounted)((function(){u.value=_()(i.items.map((function(e){return A(A({},e),{},{_id:w()()})})).sort((function(e,t){return e[i.ordinalKey]-t[i.ordinalKey]})))})),Object(b.watch)((function(){return i.items}),(function(e){u.value=_()(e.map((function(e){return A(A({},e),{},{_id:w()()})})))}),{deep:!0});var p=Object(b.ref)(!1);Object(M.watchDebounced)(p,function(){var e=f()(d.a.mark((function e(t){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n("update-items",u.value);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{debounce:500});var g=Object(b.computed)((function(){return"This is a member of a list of draggable ".concat(i.group,". You can change the list order by using the cursor keys, ")+"right and down move the current member down 1 step, left and up move the member up 1 step. Tab will advance you on to the next step (or if this is the last item in the list, advance you on to the next focusable element on the page/browser)."})),y=function(){var e=f()(d.a.mark((function e(t){var i,r;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(b.nextTick)();case 2:(i=h.value.$el.querySelectorAll(".DraggableItem"))[t]&&((r=i[t]).focus(),n("last-element-moved",r.id),n("last-item-moved",_()({item:u.value[t],index:t}))),p.value=!p.value;case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),x=function(){var e=f()(d.a.mark((function e(t,n){var r,a,o;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),!((r=u.value.findIndex((function(e){return S()(A({},e),n)})))>-1&&r<u.value.length-1)){e.next=10;break}return a=u.value[r],(o=c()(u.value)).splice(r,1),o.splice(++r,0,a),u.value=c()(o.map((function(e,t){return A(A({},e),{},m()({},i.ordinalKey,t))}))),e.next=10,y(r);case 10:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),k=function(){var e=f()(d.a.mark((function e(t,n){var r,a,o;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),!((r=u.value.findIndex((function(e){return S()(A({},e),n)})))>0)){e.next=10;break}return a=u.value[r],(o=c()(u.value)).splice(r,1),o.splice(--r,0,a),u.value=c()(o.map((function(e,t){return A(A({},e),{},m()({},i.ordinalKey,t))}))),e.next=10,y(r);case 10:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),L=Object(b.computed)((function(){var e=["DraggableItem",{"grey--text":i.disabled}];switch(!0){case Array.isArray(i.itemClass):return e.concat(i.itemClass);case"object"===s()(i.itemClass):return e.concat(Object.entries(i.itemClass).map((function(e){var t=a()(e,2),n=t[0],i=t[1];return m()({},n,i)})));case"string"==typeof i.itemClass:return e.concat(i.itemClass.split(" "));default:return e}})),O=function(){var e=f()(d.a.mark((function e(t){var n,r;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(n=t.newIndex,r=0;r<u.value.length;r++)u.value[r][i.ordinalKey]=r;return e.next=4,y(n);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return{__sfc:!0,attrs:r,listeners:o,slots:l,d_items:u,vueDraggable:h,props:i,emit:n,emitToggle:p,draggableItemDescription:g,focusListItem:y,incrementOrder:x,decrementOrder:k,computedItemClass:L,listDragUpdate:O,emitItemClicked:function(e){i.disabled||n("item-clicked",e)},VueDraggable:v.a}}},C=(n("FVqI"),n("KHd+")),T=Object(C.a)(O,i,[],!1,null,"84623072",null);t.a=T.exports},efIP:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("PJVuetify",[t("div",{staticClass:"my-4"},[e.isLoading?t("v-progress-circular",{attrs:{indeterminate:"",size:"32"}}
210):e._e(),e._v(" "),e.visibleEditors&&e.visibleEditors.length>0?t("div",e._l(e.visibleEditors,(function(n,i){return t("UserImpactCard",{key:i,staticClass:"mb-2 editor-impact",attrs:{user:n,isEditorOfWork:n.id==e.editor,isAcademicEditor:n.editorOrAdvisor,title:n.id==e.editor?"Academic Editor":e.editorCardTitle,contributorAltTitle:"",showCardHeadings:0===i||1===i&&e.hasVisiblePaperEditor,subject:e.randomSubject,"show-subject":n.id!=e.editor&&e.showSubject,"subheading-subject":!e.randomSubject},on:{impactProfileClicked:e.onProfileClick}})})),1):e._e(),e._v(" "),e.visibleUsers&&e.visibleUsers.length>0?t("div",e._l(e.visibleUsers,(function(n,i){return t("UserImpactCard",{key:i,staticClass:"mb-2 author-impact",attrs:{user:n,title:e.userCardTitle,contributorAltTitle:"",showCardHeadings:0===i,subject:e.randomSubject,"show-subject":e.showSubject,"subheading-subject":!e.randomSubject},on:{impactProfileClicked:e.onProfileClick}})})),1):e._e()],1)])};i._withStripped=!0;var r=n("lSNA"),a=n.n(r),o=n("L2JU"),s=n("WTW0"),l=n("9d2D"),c=n("wd/R"),u=n.n(c),d=n("Geaw");function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=document.getElementById("peerj-vue-user-impact-widget"),m={name:"UserWidget",mixins:[l.default],components:{UserImpactCard:d.default},data:function(){return{callNumber:0,title:"HIGHLY CITED",hideTitle:!1,stickyEditor:!1,editor:null,users:[],seenIds:[],showCardHeadings:!1,hasVisiblePaperEditor:!1,randomSubject:null,journal:null,section:null,publication:null}},mounted:function(){if(this.impactWidgetContainer&&this.$vuetify.breakpoint.lgAndUp){var e=this.impactWidgetContainer.getAttribute("data-section"),t=JSON.parse(this.impactWidgetContainer.getAttribute("data-subject")),n=JSON.parse(this.impactWidgetContainer.getAttribute("data-query")),i=this.impactWidgetContainer.getAttribute("data-min-cite"),r=this.impactWidgetContainer.getAttribute("data-title");r&&""!==r&&(this.title=r);var a=this.impactWidgetContainer.getAttribute("data-hide-title");a&&1==a&&(this.hideTitle=!0);var o=this.impactWidgetContainer.getAttribute("data-sticky-editor");o&&1==o&&(this.stickyEditor=!0);var s=this.impactWidgetContainer.getAttribute("data-editor");if(s&&""!==s&&(this.editor=s),this.stickyEditor&&this.editor&&(n.sticky=this.editor),"published-gte"in n||(n["published-gte"]=u()().year()-6),"citations-gte"in n||(n["citations-gte"]=i||3),"section"in n||""===e||null===e?"section"in n&&(this.section=n.section):n.section=this.section=e,!("subject"in n)&&t&&t.length>0){var l=this.randomNumberInRange(0,t.length-1);n["subject[]"]=this.randomSubject=t[l]}else"subject"in n&&(this.randomSubject=n.subject);"journal"in n&&(this.journal=n.journal),"key"in n&&(this.publication=n.key),Object.assign(this.filters,n),this.onUpdateOptions(),this.isLoading=!1}},computed:f(f(f({},Object(o.c)("userImpact",{items:"list",find:"find"})),Object(s.c)("userImpact",{deletedItem:"deleted",error:"error",isLoading:"isLoading",resetList:"resetList",totalItems:"totalItems",view:"view"})),{},{impactWidgetContainer:function(){if(p)return p},showTitle:function(){return!this.showCardHeadings&&!this.hideTitle},showSubject:function(){return!0},allUsers:function(){return this.users.length||this.getUsers(),this.users},visibleEditors:function(){var e=this;if(this.allUsers)return this.allUsers.filter((function(t){return t.editorOrAdvisor||t.id==e.editor}))},visibleUsers:function(){var e=this;if(this.allUsers)return this.allUsers.filter((function(t){return null===t.editorOrAdvisor&&t.id!=e.editor}))},editorCardTitle:function(){var e,t=this.visibleEditors.length,n="";return this.randomSubject?(e="Similar Academic Editor",n="Similar Academic Editors"):(e="Highly cited Academic Editor",n="Highly cited Academic Editors"),this.editor||1===t?e:n},userCardTitle:function(){var e,t=this.visibleUsers.length,n="";
210return this.randomSubject?(e="Similar author & highly cited",n="Similar authors & highly cited"):(e="Highly cited author",n="Highly cited authors"),1===t?e:n}}),methods:f(f({},Object(o.b)("userImpact",{getPage:"fetchAll",deleteItem:"del",retrieve:"load"})),{},{onProfileClick:function(e){Object.assign(e,{"journal-slug":this.journal,"Article-section":this.section,publicationId:this.publication,"Publication Id":this.publication}),e.Subjects=this.randomSubject?[this.randomSubject]:[];var t={category:"user-impact-widget",action:"profile-view",label:e["card-title"]};this.gaTrack(t),window.location.href="/user/"+e["card-profile"]},getUsers:function(){var e=this;this.items&&this.items.length>0&&(this.stickyEditor&&this.editor?(this.items.forEach((function(t){t.id==e.editor&&(e.users.push(t),e.showCardHeadings=!0,e.hasVisiblePaperEditor=!0)})),this.randomUsers(2,this.editor)):this.randomUsers())},randomUsers:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.items.length;if(1===n)return this.seenIds.push(0),void(this.items[0].id!=t&&this.users.push(this.items[0]));for((!e||e>n)&&(e=n);this.users.length<e&&this.seenIds.length<n&&this.callNumber<12;){var i=this.getRandomItem(n,t);i&&this.users.push(i)}},getRandomItem:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this.callNumber>12)return null;this.callNumber+=1;var n=this.randomNumberInRange(0,e);return this.seenIds.includes(n)?this.getRandomItem(e,t):(this.seenIds.push(n),t&&this.items[n].id==t?this.getRandomItem(e):!this.items[n].smallPhotoUrl||this.items[n].smallPhotoUrl.includes("peerJ_icon_await_fade")?this.getRandomItem(e,t):this.items[n])},randomNumberInRange:function(e,t){return Math.floor(Math.random()*(t-e)+e)}})},g=(n("THXi"),n("KHd+")),v=n("ZUTo"),b=n.n(v),y=n("SQoD"),_=Object(g.a)(m,i,[],!1,null,null,null);t.default=_.exports;b()(_,{VProgressCircular:y.a})},ejEX:function(e,t,n){"use strict";n.r(t);var i=n("XPkG"),r=n("+knh"),a={annotationActions:Object(r.default)({service:Object(i.default)("annotation_actions")}),annotationAnswers:Object(r.default)({service:Object(i.default)("annotation_answers")}),annotationReplies:Object(r.default)({service:Object(i.default)("annotation_replies")}),annotationVoteDowns:Object(r.default)({service:Object(i.default)("annotation_vote_downs")}),annotationVoteUps:Object(r.default)({service:Object(i.default)("annotation_vote_ups")}),faqQuestions:Object(r.default)({service:Object(i.default)("faq_questions")}),researchQuestions:Object(r.default)({service:Object(i.default)("research_questions")}),staffQuestions:Object(r.default)({service:Object(i.default)("staff_questions")})};t.default=a},evfG:function(e,t,n){},f3Hx:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("RIqP"),r=n.n(i),a=n("rVqX"),o=n("h7bV");function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,u=!1;e.forEach((function(e){if(e.id)var d=[document.getElementById(e.id)];else if(e.cssClass){d=document.getElementsByClassName(e.cssClass);d=r()(d)}if(d[0]){var h=0;d.forEach((function(r){e.id?r.id=e.id:r.id="vue_".concat(Date.now(),"_").concat(e.cssClass,"_").concat(h);var d={};e.props&&(d.props={},e.props.forEach((function(e){e in r.dataset&&(d.props[e]=r.dataset[e])})));var f="bootstrap-4-iso";if(c&&(f="vuetify-iso"),!u){u=!0;var p=document.createElement("div");p.classList.add(f),r.parentNode.insertBefore(p,r),p.appendChild(r)}var m={render:function(t){return t(e.component,d)}};n&&(m.store=n),i&&(m.router=i),s&&(m.vuetify=s),l&&(m.i18n=l);var g=e.delay?e.delay:0;setTimeout((function(){t.component("v-select",a.a),t.component("v-img",o.a),new t(m).$mount("#"+r.id)}),g*h),h++}))}}))}},f5xI:function(e,t,n){var i=n("S7Xf"),r=n("wJg7"),a=Array.prototype.splice;e.exports=function(e,t){for(var n=e?t.length:0,o=n-1;n--;){var s=t[n];if(n==o||s!==l){var l=s;r(s)?a.call(e,s,1):i(e,s)}}return e}},fBvu:function(e,t,n){"use strict";n("VMbE")},fHbr:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})); 211/*! 212 * vue2-transitions v0.3.0 213 * (c) 2019-present cristij <[email protected]> 214 * Released under the MIT License. 215 */ 216var i={inheritAttrs:!1,props:{duration:{type:[Number,Object],default:300},delay:{type:[Number,Object],default:0},group:Boolean,tag:{type:String,default:"span"},origin:{type:String,default:""},styles:{type:Object,default:function(){return{animationFillMode:"both",animationTimingFunction:"ease-
216out"}}}},computed:{componentType:function(){return this.group?"transition-group":"transition"},hooks:function(){return Object.assign({beforeEnter:this.beforeEnter,afterEnter:this.cleanUpStyles,beforeLeave:this.beforeLeave,leave:this.leave,afterLeave:this.cleanUpStyles},this.$listeners)}},methods:{beforeEnter:function(e){var t=this.duration.enter?this.duration.enter:this.duration;e.style.animationDuration=t+"ms";var n=this.delay.enter?this.delay.enter:this.delay;e.style.animationDelay=n+"ms",this.setStyles(e)},cleanUpStyles:function(e){var t=this;Object.keys(this.styles).forEach((function(n){t.styles[n]&&(e.style[n]="")})),e.style.animationDuration="",e.style.animationDelay=""},beforeLeave:function(e){var t=this.duration.leave?this.duration.leave:this.duration;e.style.animationDuration=t+"ms";var n=this.delay.leave?this.delay.leave:this.delay;e.style.animationDelay=n+"ms",this.setStyles(e)},leave:function(e){this.setAbsolutePosition(e)},setStyles:function(e){var t=this;this.setTransformOrigin(e),Object.keys(this.styles).forEach((function(n){var i=t.styles[n];i&&(e.style[n]=i)}))},setAbsolutePosition:function(e){return this.group&&(e.style.position="absolute"),this},setTransformOrigin:function(e){return this.origin&&(e.style.transformOrigin=this.origin),this}}};!function(){if("undefined"!=typeof document){var e=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style"),n=" @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .fadeIn { animation-name: fadeIn; } @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } .fadeOut { animation-name: fadeOut; } .fade-move { transition: transform .3s ease-out; } ";t.type="text/css",t.styleSheet?t.styleSheet.cssText=n:t.appendChild(document.createTextNode(n)),e.appendChild(t)}}();var r={render:function(){var e=this.$createElement;return(this._self._c||e)(this.componentType,this._g(this._b({tag:"component",attrs:{tag:this.tag,"enter-active-class":"fadeIn","move-class":"fade-move","leave-active-class":"fadeOut"}},"component",this.$attrs,!1),this.hooks),[this._t("default")],2)},staticRenderFns:[],name:"fade-transition",mixins:[i]};!function(){if("undefined"!=typeof document){var e=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style"),n=".zoom-move { transition: transform .3s ease-out; } @keyframes zoomIn { from { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); } 50% { opacity: 1; } } .zoomIn { animation-name: zoomIn; } @keyframes zoomOut { from { opacity: 1; } 50% { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); } to { opacity: 0; } } .zoomOut { animation-name: zoomOut; } ";t.type="text/css",t.styleSheet?t.styleSheet.cssText=n:t.appendChild(document.createTextNode(n)),e.appendChild(t)}}();var a={render:function(){var e=this.$createElement;return(this._self._c||e)(this.componentType,this._g(this._b({tag:"component",attrs:{tag:this.tag,"enter-active-class":"zoomIn","move-class":"zoom-move","leave-active-class":"zoomOut"}},"component",this.$attrs,!1),this.hooks),[this._t("default")],2)},staticRenderFns:[],name:"zoom-center-transition",mixins:[i]};!function(){if("undefined"!=typeof document){var e=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style"),n=".zoom-move { transition: transform .3s ease-out; } @keyframes zoomInX { from { opacity: 0; transform: scaleX(0); } 50% { opacity: 1; } } .zoomInX { animation-name: zoomInX; } @keyframes zoomOutX { from { opacity: 1; } 50% { opacity: 0; transform: scaleX(0); } to { opacity: 0; } } .zoomOutX { animation-name: zoomOutX; } ";t.type="text/css",t.styleSheet?t.styleSheet.cssText=n:t.appendChild(document.createTextNode(n)),e.appendChild(t)}}();var o={render:function(){var e=this.$createElement;return(this._self._c||e)(this.componentType,this._g(this._b({tag:"component",attrs:{tag:this.tag,"enter-active-class":"zoomInX","move-class":"zoom-move","leave-active-class":"zoomOutX"}},"component",this.$attrs,!1),this.hooks),[this._t("default")],2)},staticRenderFns:[],name:"zoom-x-transition",props:{styles:{type:Object,default:function(){return{animationFillMode:"both",animationTimingFunction:"cubic-bezier(.55,0,.1,1)"}}}},mixins:[i]};!function(){if("undefined"!=typeof document){var e=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style"),n=".zoom-move { transition: transform .3s ease-out; } @keyframes zoomInY { from { opacity: 0; transform: scaleY(0); } 50% { opacity: 1; tranform: scaleY(1); } } .zoomInY { animation-name: zoomInY; } @keyframes zoomOutY { from { opacity: 1; } 50% { opacity: 0; transform: scaleY(0); } to { opacity: 0; } } .zoomOutY { animation-name: zoomOutY; } ";
216t.type="text/css",t.styleSheet?t.styleSheet.cssText=n:t.appendChild(document.createTextNode(n)),e.appendChild(t)}}();var s={render:function(){var e=this.$createElement;return(this._self._c||e)(this.componentType,this._g(this._b({tag:"component",attrs:{tag:this.tag,"enter-active-class":"zoomInY","move-class":"zoom-move","leave-active-class":"zoomOutY"}},"component",this.$attrs,!1),this.hooks),[this._t("default")],2)},staticRenderFns:[],name:"zoom-y-transition",mixins:[i],props:{styles:{type:Object,default:function(){return{animationFillMode:"both",animationTimingFunction:"cubic-bezier(.55,0,.1,1)"}}}}};!function(){if("undefined"!=typeof document){var e=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style"),n=" .collapse-move { transition: transform .3s ease-in-out; } ";t.type="text/css",t.styleSheet?t.styleSheet.cssText=n:t.appendChild(document.createTextNode(n)),e.appendChild(t)}}();var l={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.componentType,e._g(e._b({tag:"component",attrs:{tag:e.tag,"move-class":"collapse-move"},on:{"before-enter":e.beforeEnter,"after-enter":e.afterEnter,enter:e.enter,"before-leave":e.beforeLeave,leave:e.leave,"after-leave":e.afterLeave}},"component",e.$attrs,!1),e.$listeners),[e._t("default")],2)},staticRenderFns:[],name:"collapse-transition",mixins:[i],methods:{transitionStyle:function(e){void 0===e&&(e=300);var t=e/1e3;return t+"s height ease-in-out, "+t+"s padding-top ease-in-out, "+t+"s padding-bottom ease-in-out"},beforeEnter:function(e){var t=this.duration.enter?this.duration.enter:this.duration;e.style.transition=this.transitionStyle(t),e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.style.height="0",e.style.paddingTop=0,e.style.paddingBottom=0,this.setStyles(e)},enter:function(e){e.dataset.oldOverflow=e.style.overflow,0!==e.scrollHeight?(e.style.height=e.scrollHeight+"px",e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom):(e.style.height="",e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom),e.style.overflow="hidden"},afterEnter:function(e){e.style.transition="",e.style.height="",e.style.overflow=e.dataset.oldOverflow},beforeLeave:function(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.dataset.oldOverflow=e.style.overflow,e.style.height=e.scrollHeight+"px",e.style.overflow="hidden",this.setStyles(e)},leave:function(e){var t=this.duration.leave?this.duration.leave:this.duration;0!==e.scrollHeight&&(e.style.transition=this.transitionStyle(t),e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0),this.setAbsolutePosition(e)},afterLeave:function(e){e.style.transition="",e.style.height="",e.style.overflow=e.dataset.oldOverflow,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom}}};!function(){if("undefined"!=typeof document){var e=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style"),n=" @keyframes scaleIn { from { opacity: 0; transform: scale(0) } to { opacity: 1; } } .scaleIn { animation-name: scaleIn; } @keyframes scaleOut { from { opacity: 1; } to { opacity: 0; transform: scale(0); } } .scaleOut { animation-name: scaleOut; } .scale-move { transition: transform .3s cubic-bezier(.25, .8, .50, 1); } ";t.type="text/css",t.styleSheet?t.styleSheet.cssText=n:t.appendChild(document.createTextNode(n)),e.appendChild(t)}}();var c={render:function(){var e=this.$createElement;return(this._self._c||e)(this.componentType,this._g(this._b({tag:"component",attrs:{tag:this.tag,"enter-active-class":"scaleIn","move-class":"scale-move","leave-active-class":"scaleOut"}},"component",this.$attrs,!1),this.hooks),[this._t("default")],2)},staticRenderFns:[],name:"scale-transition",mixins:[i],props:{origin:{type:String,default:"top left"},styles:{type:Object,default:function(){return{animationFillMode:"both",animationTimingFunction:"cubic-bezier(.25,.8,.50,1)"}}}}};!function(){if("undefined"!=typeof document){var e=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style"),n=".slide-move { transition: transform .3s; } @keyframes slideYIn { from { opacity: 0; transform: translateY(-15px); } to { opacity: 1; } } .slideYIn { animation-name: slideYIn; } @keyframes slideYOut { from { opacity: 1; } to { opacity: 0; transform: translateY(-15px); } } .slideYOut { animation-name: slideYOut; } ";
216t.type="text/css",t.styleSheet?t.styleSheet.cssText=n:t.appendChild(document.createTextNode(n)),e.appendChild(t)}}();var u={render:function(){var e=this.$createElement;return(this._self._c||e)(this.componentType,this._g(this._b({tag:"component",attrs:{tag:this.tag,type:"animation","enter-active-class":"slideYIn","move-class":"slide-move","leave-active-class":"slideYOut"}},"component",this.$attrs,!1),this.hooks),[this._t("default")],2)},staticRenderFns:[],name:"slide-y-up-transition",mixins:[i],props:{styles:{type:Object,default:function(){return{animationFillMode:"both",animationTimingFunction:"cubic-bezier(.25,.8,.50,1)"}}}}};!function(){if("undefined"!=typeof document){var e=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style"),n=".slide-move { transition: transform .3s; } @keyframes slideYDownIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; } } .slideYDownIn { animation-name: slideYDownIn; } @keyframes slideYDownOut { from { opacity: 1; } to { opacity: 0; transform: translateY(15px); } } .slideYDownOut { animation-name: slideYDownOut; } ";t.type="text/css",t.styleSheet?t.styleSheet.cssText=n:t.appendChild(document.createTextNode(n)),e.appendChild(t)}}();var d={render:function(){var e=this.$createElement;return(this._self._c||e)(this.componentType,this._g(this._b({tag:"component",attrs:{tag:this.tag,"enter-active-class":"slideYDownIn","leave-active-class":"slideYDownOut"}},"component",this.$attrs,!1),this.hooks),[this._t("default")],2)},staticRenderFns:[],name:"slide-y-down-transition",mixins:[i],props:{styles:{type:Object,default:function(){return{animationFillMode:"both",animationTimingFunction:"cubic-bezier(.25,.8,.50,1)"}}}}};!function(){if("undefined"!=typeof document){var e=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style"),n=".slide-move { transition: transform .3s; } @keyframes slideXLeftIn { from { opacity: 0; transform: translateX(-15px); } to { opacity: 1; } } .slideXLeftIn { animation-name: slideXLeftIn; } @keyframes slideXLeftOut { from { opacity: 1; } to { opacity: 0; transform: translateX(-15px); } } .slideXLeftOut { animation-name: slideXLeftOut; } ";t.type="text/css",t.styleSheet?t.styleSheet.cssText=n:t.appendChild(document.createTextNode(n)),e.appendChild(t)}}();var h={render:function(){var e=this.$createElement;return(this._self._c||e)(this.componentType,this._g(this._b({tag:"component",attrs:{tag:this.tag,"enter-active-class":"slideXLeftIn","move-class":"slide-move","leave-active-class":"slideXLeftOut"}},"component",this.$attrs,!1),this.hooks),[this._t("default")],2)},staticRenderFns:[],name:"slide-x-left-transition",mixins:[i],props:{styles:{type:Object,default:function(){return{animationFillMode:"both",animationTimingFunction:"cubic-bezier(.25,.8,.50,1)"}}}}};!function(){if("undefined"!=typeof document){var e=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style"),n=".slide-move { transition: transform .3s; } @keyframes slideXRightIn { from { opacity: 0; transform: translateX(15px); } to { opacity: 1; } } .slideXRightIn { animation-name: slideXRightIn; } @keyframes slideXRightOut { from { opacity: 1; } to { opacity: 0; transform: translateX(15px); } } .slideXRightOut { animation-name: slideXRightOut; } ";t.type="text/css",t.styleSheet?t.styleSheet.cssText=n:t.appendChild(document.createTextNode(n)),e.appendChild(t)}}();var f={render:function(){var e=this.$createElement;return(this._self._c||e)(this.componentType,this._g(this._b({tag:"component",attrs:{tag:this.tag,"enter-active-class":"slideXRightIn","move-class":"slide-move","leave-active-class":"slideXRightOut"}},"component",this.$attrs,!1),this.hooks),[this._t("default")],2)},staticRenderFns:[],name:"slide-x-right-transition",mixins:[i],props:{styles:{type:Object,default:function(){return{animationFillMode:"both",animationTimingFunction:"cubic-bezier(.25,.8,.50,1)"}}}}},p={};function m(e,t){t&&t.components?t.components.forEach((function(t){return e.component(t.name,p[t.name])})):Object.keys(p).forEach((function(t){e.component(t,p[t])}))}p[r.name]=r,p[a.name]=a,p[o.name]=o,p[s.name]=s,p[l.name]=l,p[c.name]=c,p[u.name]=u,p[d.name]=d,p[h.name]=h,p[f.name]=f,"undefined"!=typeof window&&window.Vue&&window.Vue.use({install:m})},fTik:function(e,t,n){"use strict";n.r(t),n.d(t,"formatDateTime",(function(){return a}));var i=n("wd/R"),r=n.n(i),a=function(e){return e?r()(e).format("DD/MM/YYYY"):null}},fYPL:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("base-card",{staticClass:"h-full"},[t("v-card-title",{staticClass:"d-flex justify-space-between"},[e.title?t("div",{staticClass:"mb-0 mr-4"},[t("p",{staticClass:"card-title mb-0"}
216,[e._v(e._s(e.title))])]):e._e(),e._v(" "),e.showButton?t("v-menu",{attrs:{left:"",bottom:""},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,r=n.attrs;return[e.buttonText?t("v-btn",e._g(e._b({attrs:{color:"grey lighten-3",small:"",depressed:""}},"v-btn",r,!1),i),[e._v("\n "+e._s(e.buttonText)+"\n "),t("v-icon",[e._v("mdi-chevron-down")])],1):e._e()]}}],null,!1,2091180619)},[e._v(" "),t("v-list",[t("v-list-item",[t("v-list-item-title",[e._v(" View Chart")])],1),e._v(" "),t("v-list-item",[t("v-list-item-title",[e._v(" Edit Chart")])],1),e._v(" "),t("v-list-item",[t("v-list-item-title",[e._v(" Delete Chart")])],1)],1)],1):e._e()],1),e._v(" "),t("v-divider"),e._v(" "),t("v-card-text",[e._t("chart")],2)],1)};i._withStripped=!0;var r={props:{title:{type:String,default:""},showButton:{type:Boolean,default:function(){return!0}},buttonText:{type:String,default:"More"}}},a=n("KHd+"),o=n("ZUTo"),s=n.n(o),l=n("gzZi"),c=n("mdmw"),u=n("zn5u"),d=n("Ey0z"),h=n("iGBT"),f=n("2hOt"),p=n("XSMC"),m=n("5Emp"),g=Object(a.a)(r,i,[],!1,null,null,null);t.default=g.exports;s()(g,{VBtn:l.a,VCardText:c.c,VCardTitle:c.d,VDivider:u.a,VIcon:d.a,VList:h.a,VListItem:f.a,VListItemTitle:p.d,VMenu:m.a})},flh2:function(e,t,n){},fo6e:function(e,t){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return n.test(e)}},fv03:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));n("YIyx");var i=n("nSar"),r=n("B4nN"),a=n("YEyi"),o=n("5M3a"),s=n("3CKS"),l=n("w/Ac"),c=n("WN+I"),u=n("gNKD");function d(e){const t=Math.abs(e);return Math.sign(e)*(t/((1/.501-2)*(1-t)+1))}function h(e,t,n,i){const r=e.clientWidth,a=n?t.content-e.offsetLeft-r:e.offsetLeft;n&&(i=-i);const o=t.wrapper+i,s=r+a,l=.4*r;return a<=i?i=Math.max(a-l,0):o<=s&&(i=Math.min(i-(o-s-l),t.content-t.wrapper)),n?-i:i}const f=Object(c.a)(a.a,o.a).extend({name:"base-slide-group",directives:{Resize:s.a,Touch:l.a},props:{activeClass:{type:String,default:"v-slide-item--active"},centerActive:Boolean,nextIcon:{type:String,default:"$next"},prevIcon:{type:String,default:"$prev"},showArrows:{type:[Boolean,String],validator:e=>"boolean"==typeof e||["always","never","desktop","mobile"].includes(e)}},data:()=>({isOverflowing:!1,resizeTimeout:0,startX:0,isSwipingHorizontal:!1,isSwiping:!1,scrollOffset:0,widths:{content:0,wrapper:0}}),computed:{canTouch:()=>"undefined"!=typeof window,__cachedNext(){return this.genTransition("next")},__cachedPrev(){return this.genTransition("prev")},classes(){return{...a.a.options.computed.classes.call(this),"v-slide-group":!0,"v-slide-group--has-affixes":this.hasAffixes,"v-slide-group--is-overflowing":this.isOverflowing}},hasAffixes(){switch(this.showArrows){case"always":return!0;case"desktop":return!this.isMobile;case!0:return this.isOverflowing||Math.abs(this.scrollOffset)>0;case"mobile":return this.isMobile||this.isOverflowing||Math.abs(this.scrollOffset)>0;case"never":return!1;default:return!this.isMobile&&(this.isOverflowing||Math.abs(this.scrollOffset)>0)}},hasNext(){if(!this.hasAffixes)return!1;const{content:e,wrapper:t}=this.widths;return e>Math.abs(this.scrollOffset)+t},hasPrev(){return this.hasAffixes&&0!==this.scrollOffset}},watch:{internalValue:"setWidths",isOverflowing:"setWidths",scrollOffset(e){this.$vuetify.rtl&&(e=-e);let t=e<=0?d(-e):e>this.widths.content-this.widths.wrapper?-(this.widths.content-this.widths.wrapper)+d(this.widths.content-this.widths.wrapper-e):-e;this.$vuetify.rtl&&(t=-t),this.$refs.content.style.transform=`translateX(${t}px)`}},mounted(){if("undefined"!=typeof ResizeObserver){const e=new ResizeObserver(()=>{this.onResize()});e.observe(this.$el),e.observe(this.$refs.content),this.$on("hook:destroyed",()=>{e.disconnect()})}else{let e=0;this.$on("hook:beforeUpdate",()=>{var t;e=((null===(t=this.$refs.content)||void 0===t?void 0:t.children)||[]).length}),this.$on("hook:updated",()=>{var t;e!==((null===(t=this.$refs.content)||void 0===t?void 0:t.children)||[]).length&&this.setWidths()})}},methods:{onScroll(){this.$refs.wrapper.scrollLeft=0},onFocusin(e){if(this.isOverflowing)for(const t of Object(u.g)(e))for(const e of this.items)if(e.$el===t)return void(this.scrollOffset=h(e.$el,this.widths,this.$vuetify.rtl,this.scrollOffset))}
216,genNext(){const e=this.$scopedSlots.next?this.$scopedSlots.next({}):Object(u.s)(this,"next")||this.__cachedNext;return this.$createElement("div",{staticClass:"v-slide-group__next",class:{"v-slide-group__next--disabled":!this.hasNext},on:{click:()=>this.onAffixClick("next")},key:"next"},[e])},genContent(){return this.$createElement("div",{staticClass:"v-slide-group__content",ref:"content",on:{focusin:this.onFocusin}},Object(u.s)(this))},genData(){return{class:this.classes,directives:[{name:"resize",value:this.onResize}]}},genIcon(e){let t=e;this.$vuetify.rtl&&"prev"===e?t="next":this.$vuetify.rtl&&"next"===e&&(t="prev");const n=this["has"+`${e[0].toUpperCase()}${e.slice(1)}`];return this.showArrows||n?this.$createElement(i.a,{props:{disabled:!n}},this[t+"Icon"]):null},genPrev(){const e=this.$scopedSlots.prev?this.$scopedSlots.prev({}):Object(u.s)(this,"prev")||this.__cachedPrev;return this.$createElement("div",{staticClass:"v-slide-group__prev",class:{"v-slide-group__prev--disabled":!this.hasPrev},on:{click:()=>this.onAffixClick("prev")},key:"prev"},[e])},genTransition(e){return this.$createElement(r.d,[this.genIcon(e)])},genWrapper(){return this.$createElement("div",{staticClass:"v-slide-group__wrapper",directives:[{name:"touch",value:{start:e=>this.overflowCheck(e,this.onTouchStart),move:e=>this.overflowCheck(e,this.onTouchMove),end:e=>this.overflowCheck(e,this.onTouchEnd)}}],ref:"wrapper",on:{scroll:this.onScroll}},[this.genContent()])},calculateNewOffset(e,t,n,i){const r=n?-1:1,a=r*i+("prev"===e?-1:1)*t.wrapper;return r*Math.max(Math.min(a,t.content-t.wrapper),0)},onAffixClick(e){this.$emit("click:"+e),this.scrollTo(e)},onResize(){this._isDestroyed||this.setWidths()},onTouchStart(e){const{content:t}=this.$refs;this.startX=this.scrollOffset+e.touchstartX,t.style.setProperty("transition","none"),t.style.setProperty("willChange","transform")},onTouchMove(e){if(this.canTouch){if(!this.isSwiping){const t=e.touchmoveX-e.touchstartX,n=e.touchmoveY-e.touchstartY;this.isSwipingHorizontal=Math.abs(t)>Math.abs(n),this.isSwiping=!0}this.isSwipingHorizontal&&(this.scrollOffset=this.startX-e.touchmoveX,document.documentElement.style.overflowY="hidden")}},onTouchEnd(){if(!this.canTouch)return;const{content:e,wrapper:t}=this.$refs,n=e.clientWidth-t.clientWidth;e.style.setProperty("transition",null),e.style.setProperty("willChange",null),this.$vuetify.rtl?this.scrollOffset>0||!this.isOverflowing?this.scrollOffset=0:this.scrollOffset<=-n&&(this.scrollOffset=-n):this.scrollOffset<0||!this.isOverflowing?this.scrollOffset=0:this.scrollOffset>=n&&(this.scrollOffset=n),this.isSwiping=!1,document.documentElement.style.removeProperty("overflow-y")},overflowCheck(e,t){e.stopPropagation(),this.isOverflowing&&t(e)},scrollIntoView(){if(!this.selectedItem&&this.items.length){const e=this.items[this.items.length-1].$el.getBoundingClientRect(),t=this.$refs.wrapper.getBoundingClientRect();(this.$vuetify.rtl&&t.right<e.right||!this.$vuetify.rtl&&t.left>e.left)&&this.scrollTo("prev")}this.selectedItem&&(0===this.selectedIndex||!this.centerActive&&!this.isOverflowing?this.scrollOffset=0:this.centerActive?this.scrollOffset=function(e,t,n){const{offsetLeft:i,clientWidth:r}=e;if(n){const e=t.content-i-r/2-t.wrapper/2;return-Math.min(t.content-t.wrapper,Math.max(0,e))}{const e=i+r/2-t.wrapper/2;return Math.min(t.content-t.wrapper,Math.max(0,e))}}(this.selectedItem.$el,this.widths,this.$vuetify.rtl):this.isOverflowing&&(this.scrollOffset=h(this.selectedItem.$el,this.widths,this.$vuetify.rtl,this.scrollOffset)))},scrollTo(e){this.scrollOffset=this.calculateNewOffset(e,{content:this.$refs.content?this.$refs.content.clientWidth:0,wrapper:this.$refs.wrapper?this.$refs.wrapper.clientWidth:0},this.$vuetify.rtl,this.scrollOffset)},setWidths(){window.requestAnimationFrame(()=>{if(this._isDestroyed)return;const{content:e,wrapper:t}=this.$refs;this.widths={content:e?e.clientWidth:0,wrapper:t?t.clientWidth:0},this.isOverflowing=this.widths.wrapper+1<this.widths.content,this.scrollIntoView()})}},render(e){return e("div",this.genData(),[this.genPrev(),this.genWrapper(),this.genNext(
216)])}});t.b=f.extend({name:"v-slide-group",provide(){return{slideGroup:this}}})},fzPg:function(e,t,n){!function(e){"use strict"; 217//! moment.js locale configuration 218e.defineLocale("yo",{months:"SẹÌrẹÌ_EÌreÌleÌ_ẸrẹÌnaÌ_IÌgbeÌ_EÌbibi_OÌkuÌdu_Agẹmo_OÌguÌn_Owewe_á»ÌwaÌraÌ_BeÌluÌ_á»ÌpẹÌÌ".split("_"),monthsShort:"SẹÌr_EÌrl_Ẹrn_IÌgb_EÌbi_OÌkuÌ_Agẹ_OÌguÌ_Owe_á»ÌwaÌ_BeÌl_á»ÌpẹÌÌ".split("_"),weekdays:"AÌiÌkuÌ_AjeÌ_IÌsẹÌgun_á»já»ÌruÌ_á»já»Ìbá»_ẸtiÌ_AÌbaÌmẹÌta".split("_"),weekdaysShort:"AÌiÌk_AjeÌ_IÌsẹÌ_á»jr_á»jb_ẸtiÌ_AÌbaÌ".split("_"),weekdaysMin:"AÌiÌ_Aj_IÌs_á»r_á»b_Ẹt_AÌb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[OÌniÌ ni] LT",nextDay:"[á»Ìla ni] LT",nextWeek:"dddd [á»sáº¹Ì toÌn'bá»] [ni] LT",lastDay:"[AÌna ni] LT",lastWeek:"dddd [á»sáº¹Ì toÌlá»Ì] [ni] LT",sameElse:"L"},relativeTime:{future:"niÌ %s",past:"%s ká»jaÌ",s:"iÌsẹjuÌ aayaÌ die",ss:"aayaÌ %d",m:"iÌsẹjuÌ kan",mm:"iÌsẹjuÌ %d",h:"waÌkati kan",hh:"waÌkati %d",d:"á»já»Ì kan",dd:"á»já»Ì %d",M:"osuÌ kan",MM:"osuÌ %d",y:"á»duÌn kan",yy:"á»duÌn %d"},dayOfMonthOrdinalParse:/á»já»Ì\s\d{1,2}/,ordinal:"á»já»Ì %d",week:{dow:1,doy:4}})}(n("wd/R"))},g0df:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this._self._c;this._self._setupProxy;return e("v-card",{staticClass:"rounded-0"},[e("h2",{staticClass:"headline pa-4 mb-0 pb-1"},[this._v("\n Overview\n ")]),this._v(" "),e("v-card-text",{directives:[{name:"markdown",rawName:"v-markdown",value:this.content,expression:"content"}]})],1)};i._withStripped=!0;var r={__name:"Overview",props:{content:String},setup:function(e){return{__sfc:!0,props:e}}},a=n("KHd+"),o=n("ZUTo"),s=n.n(o),l=n("sK+t"),c=n("mdmw"),u=Object(a.a)(r,i,[],!1,null,null,null);t.default=u.exports;s()(u,{VCard:l.a,VCardText:c.c})},gFfm:function(e,t){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}},gQMU:function(e,t,n){var i=n("0ZTe")("toUpperCase");e.exports=i},gVVK:function(e,t,n){!function(e){"use strict";
vendor: 2,362 bytes, lines 219-220
219//! moment.js locale configuration 220function t(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"ss":return r+=1===e?t?"sekundo":"sekundi":2===e?t||i?"sekundi":"sekundah":e<5?t||i?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return r+=1===e?t?"minuta":"minuto":2===e?t||i?"minuti":"minutama":e<5?t||i?"minute":"minutami":t||i?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return r+=1===e?t?"ura":"uro":2===e?t||i?"uri":"urama":e<5?t||i?"ure":"urami":t||i?"ur":"urami";case"d":return t||i?"en dan":"enim dnem";case"dd":return r+=1===e?t||i?"dan":"dnem":2===e?t||i?"dni":"dnevoma":t||i?"dni":"dnevi";case"M":return t||i?"en mesec":"enim mesecem";case"MM":return r+=1===e?t||i?"mesec":"mesecem":2===e?t||i?"meseca":"mesecema":e<5?t||i?"mesece":"meseci":t||i?"mesecev":"meseci";case"y":return t||i?"eno leto":"enim letom";case"yy":return r+=1===e?t||i?"leto":"letom":2===e?t||i?"leti":"letoma":e<5?t||i?"leta":"leti":t||i?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_Äetrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._Äet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_Äe_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[vÄeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejÅ¡njo] [nedeljo] [ob] LT";case 3:return"[prejÅ¡njo] [sredo] [ob] LT";case 6:return"[prejÅ¡njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejÅ¡nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"Äez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},gekB:function(e,t,n){!function(e){"use strict";
221//! moment.js locale configuration 222var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function i(e,i,r,a){var o="";switch(r){case"s":return a?"muutaman sekunnin":"muutama sekunti";case"ss":o=a?"sekunnin":"sekuntia";break;case"m":return a?"minuutin":"minuutti";case"mm":o=a?"minuutin":"minuuttia";break;case"h":return a?"tunnin":"tunti";case"hh":o=a?"tunnin":"tuntia";break;case"d":return a?"päivän":"päivä";case"dd":o=a?"päivän":"päivää";break;case"M":return a?"kuukauden":"kuukausi";case"MM":o=a?"kuukauden":"kuukautta";break;case"y":return a?"vuoden":"vuosi";case"yy":o=a?"vuoden":"vuotta"}return o=function(e,i){return e<10?i?n[e]:t[e]:e}(e,a)+" "+o}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},gjCT:function(e,t,n){!function(e){"use strict";
223//! moment.js locale configuration 224var t={1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "},n={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"};e.defineLocale("ar-sa",{months:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙÙ_ÙÙÙÙÙ_ÙÙÙÙÙ_أغسطس_سبت٠بر_Ø£ÙØªÙبر_ÙÙÙ٠بر_Ø¯ÙØ³Ù بر".split("_"),monthsShort:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙÙ_ÙÙÙÙÙ_ÙÙÙÙÙ_أغسطس_سبت٠بر_Ø£ÙØªÙبر_ÙÙÙ٠بر_Ø¯ÙØ³Ù بر".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù ÙØ³_ج٠عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù /,isPM:function(e){return"Ù "===e},meridiem:function(e,t,n){return e<12?"ص":"Ù "},calendar:{sameDay:"[اÙÙÙ٠عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[أ٠س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ ",dd:"%d Ø£ÙØ§Ù ",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/Ø/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"Ø")},week:{dow:0,doy:6}})}(n("wd/R"))},gpbi:function(e,t,n){var i=n("ZWtO"),r=n("KxBF");e.exports=function(e,t){return t.length<2?e:i(e,r(t,0,-1))}},gsRk:function(e,t,n){"use strict";n("9lFZ")},h1BH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i="web"===Object({NODE_ENV:"production",API_BASE_URL:"/api/",BASE_URL:"/",GTM_ID:"G-X28PWMHSEH"}).BUILD?n("y2mG").withParams:n("AjSV").withParams;t.default=i},h4Av:function(e,t,n){"use strict";n("YBne")},h7bV:function(e,t,n){"use strict";var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{staticClass:"accessible-image",class:{"is-loading":n.isLoading,"is-error":n.hasError},attrs:{"aria-busy":n.isLoading.toString()}},[n.hasError?e._e():t("img",{staticClass:"image",style:{minHeight:e.minHeight},attrs:{src:e.src,alt:e.alt,role:e.role,"aria-label":e.ariaLabel,width:e.width,height:e.height},on:{load:n.onLoad,error:n.onError}}),e._v(" "),n.hasError?t("div",{staticClass:"error",attrs:{role:"alert"}},[t("span",{staticClass:"sr-only"},[e._v("Failed to load image.")]),e._v(" "),e._t("error",(function(){return[t("p",[e._v("Image not available")])]}))],2):e._e()])};i._withStripped=!0;var r=n("Kw5r"),a={__name:"VBetterImage",props:{src:{type:String,required:!0},alt:{type:String,default:""},role:{type:String,default:"img"},ariaLabel:{type:String,default:null},width:{type:[String,Number],default:null},height:{type:[String,Number],default:null},minHeight:{type:[String,Number],default:null}},setup:function(e){var t=e,n=Object(r.ref)(!0),i=Object(r.ref)(!1);return{__sfc:!0,props:t,isLoading:n,hasError:i,onLoad:function(){n.value=!1},onError:function(){n.value=!1,i.value=!0}}}},o=(n("BVuI"),n("KHd+")),s=Object(o.a)(a,i,[],!1,null,"4da15610",null);t.a=s.exports},hKrs:function(e,t,n){!function(e){"use strict";
225//! moment.js locale configuration 226e.defineLocale("bg",{months:"ÑнÑаÑи_ÑевÑÑаÑи_маÑÑ_апÑил_май_Ñни_Ñли_авгÑÑÑ_ÑепÑемвÑи_окÑомвÑи_ноемвÑи_декемвÑи".split("_"),monthsShort:"ÑнÑ_Ñев_маÑ_апÑ_май_Ñни_Ñли_авг_Ñеп_окÑ_ное_дек".split("_"),weekdays:"неделÑ_понеделник_вÑоÑник_ÑÑÑда_ÑеÑвÑÑÑÑк_пеÑÑк_ÑÑбоÑа".split("_"),weekdaysShort:"нед_пон_вÑо_ÑÑÑ_ÑеÑ_пеÑ_ÑÑб".split("_"),weekdaysMin:"нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[ÐÐ½ÐµÑ Ð²] LT",nextDay:"[УÑÑе в] LT",nextWeek:"dddd [в] LT",lastDay:"[ÐÑеÑа в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[ÐиналаÑа] dddd [в] LT";case 1:case 2:case 4:case 5:return"[ÐиналиÑ] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"Ñлед %s",past:"пÑеди %s",s:"нÑколко ÑекÑнди",ss:"%d ÑекÑнди",m:"минÑÑа",mm:"%d минÑÑи",h:"ÑаÑ",hh:"%d ÑаÑа",d:"ден",dd:"%d дена",w:"ÑедмиÑа",ww:"%d ÑедмиÑи",M:"меÑеÑ",MM:"%d меÑеÑа",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|Ñи|ви|Ñи|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-Ñи":1===t?e+"-ви":2===t?e+"-Ñи":7===t||8===t?e+"-ми":e+"-Ñи"},week:{dow:1,doy:7}})}(n("wd/R"))},hNiC:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this._self._c;this._self._setupProxy;return e("div",[e("router-view")],1)};i._withStripped=!0;var r=n("o0o1"),a=n.n(r),o=n("yXPU"),s=n.n(o),l=n("Kw5r"),c=n("RLp7"),u={__name:"SiteWrapper2025",setup:function(e){var t=Object(c.b)();return Object(l.onMounted)(s()(a.a.mark((function e(){var n,i,r,o,s,c;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("site2025"!==(null==t||null===(n=t.meta)||void 0===n?void 0:n.layout)){e.next=14;break}return(i=document.querySelector("#wrap")).style.padding="0 !important",(r=i.querySelector(".container"))&&(r.style.display="none !important"),e.next=7,Object(l.nextTick)();case 7:o=document.querySelector(".legacy-b2-wrap"),(s=document.querySelector(".v-main__wrap")).style.marginTop="80px",(c=s.querySelector(".container"))&&(c.style.padding="0 !important"),document.querySelector("#MainContentVue").style.maxWidth="100% !important",o.remove();case 14:case"end":return e.stop()}}),e)})))),{__sfc:!0,route:t}}},d=(n("fBvu"),n("KHd+")),h=Object(d.a)(u,i,[],!1,null,null,null);t.default=h.exports},heNW:function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},hgQt:function(e,t,n){var i=n("Juji"),r=n("4sDh");e.exports=function(e,t){return null!=e&&r(e,t,i)}},honF:function(e,t,n){!function(e){"use strict";
227//! moment.js locale configuration 228var t={1:"á",2:"á",3:"á",4:"á",5:"á ",6:"á",7:"á",8:"á",9:"á",0:"á"},n={"á":"1","á":"2","á":"3","á":"4","á ":"5","á":"6","á":"7","á":"8","á":"9","á":"0"};e.defineLocale("my",{months:"áááºááá«áá®_áá±áá±á¬áºáá«áá®_áááº_á§áá¼á®_áá±_áá½ááº_áá°ááá¯ááº_áá¼áá¯ááº_á ááºáááºáá¬_á¡á±á¬ááºááá¯áá¬_ááá¯áááºáá¬_áá®áááºáá¬".split("_"),monthsShort:"áááº_áá±_áááº_áá¼á®_áá±_áá½ááº_ááá¯ááº_áá¼_á ááº_á¡á±á¬ááº_ááá¯_áá®".split("_"),weekdays:"ááááºá¹ááá½á±_ááááºá¹áá¬_á¡ááºá¹áá«_áá¯áá¹ááá°á¸_áá¼á¬áááá±á¸_áá±á¬áá¼á¬_á áá±".split("_"),weekdaysShort:"áá½á±_áá¬_áá«_áá°á¸_áá¼á¬_áá±á¬_áá±".split("_"),weekdaysMin:"áá½á±_áá¬_áá«_áá°á¸_áá¼á¬_áá±á¬_áá±".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ááá±.] LT [áá¾á¬]",nextDay:"[ááááºáá¼ááº] LT [áá¾á¬]",nextWeek:"dddd LT [áá¾á¬]",lastDay:"[ááá±.á] LT [áá¾á¬]",lastWeek:"[áá¼á®á¸áá²á·áá±á¬] dddd LT [áá¾á¬]",sameElse:"L"},relativeTime:{future:"áá¬áááºá· %s áá¾á¬",past:"áá½ááºáá²á·áá±á¬ %s á",s:"á áá¹áááº.á¡áááºá¸áááº",ss:"%d á áá¹ááá·áº",m:"áá áºáááá áº",mm:"%d áááá áº",h:"áá áºáá¬áá®",hh:"%d áá¬áá®",d:"áá áºáááº",dd:"%d áááº",M:"áá áºá",MM:"%d á",y:"áá áºáá¾á áº",yy:"%d áá¾á áº"},preparse:function(e){return e.replace(/[ááááá ááááá]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n("wd/R"))},hv63:function(e,t,n){"use strict";n.r(t);var i=n("J4zp"),r=n.n(i),a=n("WTW0");t.default={namespaced:!0,state:function(){return{show:!1,color:"error",text:"An error occurred",subText:"",timeout:6e3,isError:!1,showIcon:!1,errorIcon:"mdi-alert-outline",successIcon:"mdi-check-circle-outline"}},getters:{getField:a.b},mutations:{updateField:a.d,SHOW_NOTIFICATION:function(e){e.show=!0},HIDE_NOTIFICATION:function(e){e.show=!1},SET_NOTIFICATION:function(e,t){Object.entries(t).forEach((function(t){var n=r()(t,2),i=n[0],a=n[1];e[i]=a}))}},actions:{setNotification:function(e,t){(0,e.commit)("SET_NOTIFICATION",t)},show:function(e){(0,e.commit)("SHOW_NOTIFICATION")},hide:function(e){(0,e.commit)("HIDE_NOTIFICATION")}}}},hypo:function(e,t,n){var i=n("O0oS");e.exports=function(e,t,n){"__proto__"==t&&i?i(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},iEDd:function(e,t,n){!function(e){"use strict";
229//! moment.js locale configuration 230e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},iR7P:function(e,t,n){"use strict";n("F7OB");var i=n("nSar"),r=n("3CKS"),a=n("qa07"),o=n("3izR"),s=n("dWAg"),l=n("WN+I");t.a=Object(l.a)(a.a,Object(o.a)({onVisible:["init"]}),s.a).extend({name:"v-pagination",directives:{Resize:r.a},props:{circle:Boolean,disabled:Boolean,navigationColor:String,navigationTextColor:String,length:{type:Number,default:0,validator:e=>e%1==0},nextIcon:{type:String,default:"$next"},prevIcon:{type:String,default:"$prev"},totalVisible:[Number,String],value:{type:Number,default:0},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},wrapperAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.wrapper"}},data:()=>({maxButtons:0,selected:null}),computed:{classes(){return{"v-pagination":!0,"v-pagination--circle":this.circle,"v-pagination--disabled":this.disabled,...this.themeClasses}},items(){const e=parseInt(this.totalVisible,10);if(0===e||isNaN(this.length)||this.length>Number.MAX_SAFE_INTEGER)return[];const t=Math.min(Math.max(0,e)||this.length,Math.max(0,this.maxButtons)||this.length,this.length);if(this.length<=t)return this.range(1,this.length);const n=t%2==0?1:0,i=Math.floor(t/2),r=this.length-i+1+n;if(this.value>i&&this.value<r){const e=1,t=this.length,r=this.value-i+2,a=this.value+i-2-n,o=a+1===t-1?a+1:"...";return[1,r-1===e+1?2:"...",...this.range(r,a),o,this.length]}if(this.value===i){const e=this.value+i-1-n;return[...this.range(1,e),"...",this.length]}if(this.value===r){const e=this.value-i+1;return[1,"...",...this.range(e,this.length)]}return[...this.range(1,i),"...",...this.range(r,this.length)]}},watch:{value(){this.init()}},beforeMount(){this.init()},methods:{init(){this.selected=null,this.onResize(),this.$nextTick(this.onResize),setTimeout(()=>this.selected=this.value,100)},onResize(){const e=this.$el&&this.$el.parentElement?this.$el.parentElement.clientWidth:window.innerWidth;this.maxButtons=Math.floor((e-96)/42)},next(e){e.preventDefault(),this.$emit("input",this.value+1),this.$emit("next")},previous(e){e.preventDefault(),this.$emit("input",this.value-1),this.$emit("previous")},range(e,t){const n=[];for(let i=e=e>0?e:1;i<=t;i++)n.push(i);return n},genIcon(e,t,n,r,a){return e("li",[e("button",this.setBackgroundColor(this.navigationColor,{staticClass:"v-pagination__navigation",class:{"v-pagination__navigation--disabled":n},attrs:{disabled:n,type:"button","aria-label":a},on:n?{}:{click:r}}),[e(i.a,{props:{color:this.navigationTextColor}},[t])])])},genItem(e,t){const n=t===this.value&&(this.color||"primary"),i=t===this.value,r=i?this.currentPageAriaLabel:this.pageAriaLabel;
230return e("button",this.setBackgroundColor(n,{staticClass:"v-pagination__item",class:{"v-pagination__item--active":t===this.value},attrs:{type:"button","aria-current":i,"aria-label":this.$vuetify.lang.t(r,t)},on:{click:()=>this.$emit("input",t)}}),[t.toString()])},genItems(e){return this.items.map((t,n)=>e("li",{key:n},[isNaN(Number(t))?e("span",{class:"v-pagination__more"},[t.toString()]):this.genItem(e,t)]))},genList(e,t){return e("ul",{directives:[{modifiers:{quiet:!0},name:"resize",value:this.onResize}],class:this.classes},t)}},render(e){const t=[this.genIcon(e,this.$vuetify.rtl?this.nextIcon:this.prevIcon,this.value<=1,this.previous,this.$vuetify.lang.t(this.previousAriaLabel)),this.genItems(e),this.genIcon(e,this.$vuetify.rtl?this.prevIcon:this.nextIcon,this.value>=this.length,this.next,this.$vuetify.lang.t(this.nextAriaLabel))];return e("nav",{attrs:{role:"navigation","aria-label":this.$vuetify.lang.t(this.wrapperAriaLabel)}},[this.genList(e,t)])}})},iYuL:function(e,t,n){!function(e){"use strict"; 231//! moment.js locale configuration 232var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(n("wd/R"))},iarp:function(e,t,n){"use strict";n.r(t),n.d(t,"useUserDataComposable",(function(){return Nu}));var i=n("o0o1"),r=n.n(i),a=n("yXPU"),o=n.n(a),s=n("RIqP"),l=n.n(s),c=n("lSNA"),u=n.n(c),d=n("L2JU"),h=n("WTW0"),f=n("Kw5r"),p=n("3LiA"),m=n.n(p),g=n("nWMH"),v=n.n(g),b=(n("3rzL"),n("wjVM")),y=n("8wkQ"),_=n("FeVv"),x=n("gQMU"),w=n.n(x),k=n("u6S6"),S=n.n(k);function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var L,A=n("0fxA"),O=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return M(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}(A.keys());try{for(O.s();!(L=O.n()).done;){var C=L.value,T=A(C),E=C.replace(/index.js/,"").replace(/^\.\//,"").replace(/\.\w+$/,""),D=w()(S()(E));f.default.component("Base".concat(D),T.default||T)}}catch(e){O.e(e)}finally{O.f()}f.default.use(y.a);var P=new y.a({theme:_.b.theme,rtl:_.b.rtl,icons:{values:{xtwitter:{component:function(){return n.e(336).then(n.bind(null,"vn0s"))},props:{name:"fill"}},mastodon:{component:function(){return n.e(335).then(n.bind(null,"1x1S"))},props:{name:"fill"}},bluesky:{component:function(){return n.e(334).then(n.bind(null,"Z8Pf"))},props:{name:"fill"}}}}}),j=n("jsnD"),Y=n("jE9Z"),I=n("ZiaK"),R=n("kvwn"),H=function(){var e=this,t=e._self._c;return t("div",[e.articleLoading?t("div",[e._v("Loading...")]):e.articleError?t("div",[e._m(0)]):t("div",[t("div",{staticClass:"row"},[e._m(1),e._v(" "),t("div",{staticClass:"col-md-2"},[e.expandAllButtonVisible?t("router-link",{staticClass:"btn btn-light btn-block btn-small",attrs:{to:{name:"ArticleMessages",query:{page_system:1,limit_system:500,with_content:1}}}},[e._v("\n Expand All\n ")]):e._e(
232)],1)]),e._v(" "),t("ul",{staticClass:"nav nav-tabs mt-4"},[t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",class:{active:e.isSystemMessagesSelected},attrs:{to:{name:"ArticleMessages",query:e.$route.query}}},[t("h6",[e._v("System Messages\n "),t("span",{staticClass:"badge badge-primary"},[e.messagesLoading.system?t("span",[t("i",{staticClass:"icon-spin icon-spinner"})]):t("span",[e._v(e._s(e.systemMessagesCount))])])])])],1),e._v(" "),t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",class:{active:!e.isSystemMessagesSelected},attrs:{to:{name:"ArticleMessagesExternal",query:e.$route.query}}},[t("h6",[e._v("External Messages\n "),t("span",{staticClass:"badge badge-primary"},[e.messagesLoading.external?t("span",[t("i",{staticClass:"icon-spin icon-spinner"})]):t("span",[e._v(e._s(e.externalMessagesCount))])])])])],1),e._v(" "),t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",class:{active:!e.isSystemMessagesSelected},attrs:{to:{name:"ArticleMessagesLog",query:e.$route.query}}},[t("h6",[e._v("Log Messages")])])],1)]),e._v(" "),t("div",{staticClass:"mt-2"},[t("router-view")],1)])])};H._withStripped=!0;var N=function(){var e=this,t=e._self._c;return t("div",[e.messagesLoading.system?t("div",{staticClass:"mt-4"},[t("span",{staticClass:"text-muted"},[e._v(e._s(e.loadingMessage))])]):e.messagesError.system?t("div",{staticClass:"alert alert-danger"},[e._v("Error loading messages")]):e.messages.system.items.length?t("div",[e._l(e.messages.system.items,(function(e){return t("MessageListing",{key:e.id,staticClass:"mb-4 mt-4",attrs:{message:e}})})),e._v(" "),t("hr"),e._v(" "),t("PaginationControls",{attrs:{paginationData:e.messages.system.pagination,loading:e.messagesLoading.system,queryStringKey:"system"}})],2):t("div",{staticClass:"text-muted"},[e._v("\n There are no system messages\n ")])])};N._withStripped=!0;var F=function(){var e=this,t=e._self._c;return t("div",{staticClass:"message-container"},[t("div",{staticClass:"message-details row",on:{click:function(t){return e.toggleExpanded()}}},[t("div",{staticClass:"col-6"},[t("div",{staticClass:"pr-2 subject"},[e._v("\n "+e._s(e.message.subject)+"\n ")])]),e._v(" "),t("div",{staticClass:"col-1"},[t("PJTooltip",{attrs:{text:e.sentTime}},[e._v("\n "+e._s(e._f("dateFormat")(e.message.sent,"MMM dd, ''yy"))+"\n ")])],1),e._v(" "),t("div",{staticClass:"col-4 email-address-column"},[t("div",{staticClass:"d-flex"},[t("span",{staticClass:"email-label"},[e._v("To ")]),e._v(" "),t("div",e._l(e.message.recipients.items,(function(n){return t("div",{key:n.id},[t("span",{staticClass:"email-name"},[e._v(e._s(n.name))]),e._v(" "),t("span",{staticClass:"email-address"},[e._v(e._s(n.email))])])})),0)]),e._v(" "),t("div",[t("span",{staticClass:"email-label"},[e._v("From")]),e._v(" "),e.message.senderName?t("span",{staticClass:"email-sender"},[e._v(e._s(e.message.senderName))]):t("span",{staticClass:"email-sender"},[e._v("PeerJ")])])]),e._v(" "),t("div",{staticClass:"col-1 send-buttons-container"},[t("PJButton",{attrs:{type:"light",small:"",block:"",loading:e.resendLoading},nativeOn:{click:function(t){return t.stopPropagation(),e.confirmResend.apply(null,arguments)}}},[e._v("Resend")]),e._v(" "),t("PJButton",{attrs:{type:"light",small:"",block:"",loading:e.sendToMeLoading},nativeOn:{click:function(t){return t.stopPropagation(),e.confirmSendToMe.apply(null,arguments)}}},[e._v("Mail me")])],1)]),e._v(" "),t("transition",{attrs:{name:"transition-sli
232de-fade"}},[e.expanded?t("div",{staticClass:"mb-0 mt-2 row"},[t("div",{staticClass:"col-5"},[t("div",{staticClass:"btn-group-vertical email-format-selector mt-2 col-4 float-right"},[t("PJButton",{attrs:{type:e.txtOnlySelected?"light":"primary",small:""},nativeOn:{click:function(t){return e.setTxtOnly(!1)}}},[e._v("HTML")]),e._v(" "),t("PJButton",{attrs:{type:e.txtOnlySelected?"primary":"light",small:""},nativeOn:{click:function(t){return e.setTxtOnly(!0)}}},[e._v("TXT")])],1)]),e._v(" "),t("div",{staticClass:"p-0 col-7"},[t("div",{ref:"emailContainer",staticClass:"email-container"},[t("EmailView",{attrs:{message:e.message,txtOnly:e.txtOnlySelected}})],1)])]):e._e()])],1)};F._withStripped=!0;var z=function(){var e=this,t=e._self._c;return t("div",[e.loading[e.format]?t("div",[e._v("Loading "+e._s(e.format.toUpperCase())+" Email...")]):e.error[e.format]?t("div",[t("PJAlert",{attrs:{type:"danger",title:e.error[e.format].title,content:e.error[e.format].message}})],1):t("div",[t("div",{staticClass:"email-preview p-4",domProps:{innerHTML:e._s(e.selectedEmailContent)}})])])};z._withStripped=!0;var B={props:{message:Object,txtOnly:Boolean},data:function(){return{emailContent:{html:"",text:""},loading:{html:!1,text:!1},error:{html:!1,text:!1}}},computed:{format:function(){return this.txtOnly?"text":"html"},selectedEmailContent:function(){var e=this.emailContent[this.format];return this.txtOnly&&(e=e.replace(/\n/g,"<br />")),e}},methods:{getEmailContent:function(){var e=this;return o()(r.a.mark((function t(){var n,i,a,o;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n="Unexpected error when retrieving message body",i="Error",e.loading[e.format]=!0,e.error[e.format]=!1,t.prev=4,t.next=7,e.message.getEmailContent(e.format);case 7:e.emailContent[e.format]=t.sent,t.next=15;break;case 10:t.prev=10,t.t0=t.catch(4),e.error[e.format]=!0,t.t0.response&&(n="Network error when retrieving message body, if this continues to happen please contact [email protected] with this status text: "+t.t0.response.statusText,t.t0.response.status&&(i+=" "+t.t0.response.status,n+=" "+t.t0.response.status,a="You don't have permission to access this message, if refreshing the page fails please contact [email protected] with this status text: "+t.t0.response.statusText,o={401:a,403:a,404:"The "+e.format.toUpperCase()+" message body was not found"},t.t0.response.status in o&&(n=o[t.t0.response.status]))),e.error[e.format]={title:i,message:n};case 15:return t.prev=15,e.loading[e.format]=!1,t.finish(15);case 18:case"end":return t.stop()}}),t,null,[[4,10,15,18]])})))()}},watch:{txtOnly:function(){this.emailContent[this.format]||this.getEmailContent()}},created:function(){this.message.htmlContent?(this.emailContent.html=this.message.htmlContent,this.emailContent.text=this.message.textContent):this.getEmailContent()}},W=(n("LKqP"),n("KHd+")),V=Object(W.a)(B,z,[],!1,null,"3d6f3334",null).exports,$=n("bbSu"),U={components:{EmailView:V},props:{message:Object},data:function(){return{txtOnlySelected:!1,resendLoading:!1,sendToMeLoading:!1,expanded:!1,reSendCount:0,sentToMeCount:0}},computed:{sentTime:function(){return this.$options.filters.dateFormat(this.message.sent,"HH:mm'UTC'X")}},methods:{setTxtOnly:function(e){this.txtOnlySelected=e,this.$refs.emailContainer.scrollTop=0},confirmResend:function(){var e=this;if(!this.resendLoading){var t=this.reSendCount?"You have already re-sent this email, do you really want to resend again?":"Are you sure you want to resend this email?";this.showConfirmModal(t,(function(t){t&&e.resendEmail()}))}},confirmSendToMe:function(){var e=this;if(!this.sendToMeLoading){var t=this.sentToMeCount?"You have already sent this email to yourself. Send again?":"Are you sure you want to send this email to yourself?";this.showConfirmModal(t,(function(t){t&&e.sendToMe()}))}},resendEmail:function(){var e=this;return o()(r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.resendLoading=!0,t.prev=1,t.next=4,e.message.resendEmail();case 4:e.reSendCount++,e.showSendSuccess("The email was resent"),t.next=12;break;case 8:t.prev=8,t.t0=t.catch(1),console.log(t.t0),e.showSendError();case 12:return t.prev=12,e.resendLoading=!1,t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[1,8,12,15]])})))()},sendToMe:function(){var e=this;return o()(r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.sendToMeLoading=!0,t.prev=1,t.next=4,e.message.sendEmailToMe();case 4:e.sentToMeCount++,e.showSendSuccess("The email was sent to you"),t.next=12;break;case 8:t.prev=8,t.t0=t.catch(1),console.log(t.t0),e.showSendError();case 12:return t.prev=12,e.sendToMeLoading=!1,t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[1,8,12,15]])})))()},toggleExpanded:function(){this.expanded=!this.expanded},showSendSuccess:function(e){this.$store.dispatch("notificationAlerts/addNotification",{title:"Sent",message:e,type:"success"})},showSendError:function(){this.$store.dispatch("notificationAlerts/addNotification",{title:"Error",message:"The email could not be sent",type:"error"})}},created:function(){this.$route.query.with_content&&(this.expanded=!0)}},X=(n("lFuB"),Object(W.a)(U,F,[],!1,null,"766e357e",null).exports
232),G=function(){var e=this,t=e._self._c;return t("div",{staticClass:"message-container"},[t("div",{staticClass:"message-details",on:{click:function(t){return e.toggleExpanded()}}},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[t("div",{staticClass:"pr-2 subject"},[t("strong",[e._v(e._s(e.message.subject))]),e._v(" "),t("div",{staticClass:"badge ml-1",class:{"badge-success":"accepted"==e.message.status,"badge-secondary":"accepted"!=e.message.status}},[e._v(e._s(e.message.status))])])]),e._v(" "),t("div",{staticClass:"col-1"},[e._v("\n "+e._s(e._f("dateFormat")(e.message.messageDate,"MMM dd, ''yy"))+"\n ")]),e._v(" "),t("div",{staticClass:"col-1"},[e._v("\n "+e._s(e.message.source.toUpperCase())+"\n "),e.message.threadId?t("small",[t("br"),e._v("("+e._s(e.message.threadId)+")")]):e._e()]),e._v(" "),t("div",{staticClass:"col-4 email-address-column"},[t("div",{staticClass:"d-flex"},[t("span",{staticClass:"email-label"},[e._v("To ")]),e._v(" "),t("span",{staticClass:"email-recipient"},[e._v(e._s(e.recipients))])]),e._v(" "),t("div",[t("span",{staticClass:"email-label"},[e._v("From")]),e._v(" "),t("span",{staticClass:"email-sender"},[e._v(e._s(e.message.sender))])])])])]),e._v(" "),e.expanded?t("table",{staticClass:"table table-sm mb-0 mt-2"},[t("tr",[t("td",{staticClass:"p-0"},[t("div",{ref:"emailContainer",staticClass:"email-container"},[t("EmailView",{attrs:{message:e.message,txtOnly:!1}})],1)])])]):e._e()])};G._withStripped=!0;var q={components:{EmailView:V},props:{message:Object},data:function(){return{expanded:!1}},computed:{recipients:function(){return this.message.recipients.replace(/,/g,", ")}},methods:{toggleExpanded:function(){this.expanded=!this.expanded}}};n("cwXf");function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function K(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Z={props:{},components:{MessageListing:X,ExternalMessageListing:Object(W.a)(q,G,[],!1,null,"61bbebf0",null).exports},computed:K({},Object(d.e)("articleMessages",["messages","messagesLoading","messagesError","expandAllLoading"])),methods:K({},Object(d.d)("articleMessages",["setMessagesLoading","setMessagesError","setMessages","setExpandAllLoading","reset"]))},Q={mixins:[Z],computed:{loadingMessage:function(){var e="Loading...";return this.$route.query.with_content&&(e="Loading with content..."),e}}},ee=Object(W.a)(Q,N,[],!1,null,null,null).exports,te=function(){var e=this,t=e._self._c;return t("div",[e.messagesLoading.external?t("div",{staticClass:"text-muted"},[e._v("Loading...")]):e.messagesError.external?t("div",{staticClass:"alert alert-danger"},[e._v("Error loading external messages")]):e.messages.external.items.length?t("div",[e._l(e.messages.external.items,(function(e){return t("ExternalMessageListing",{key:e.id,staticClass:"mb-4 mt-4",attrs:{message:e}})})),e._v(" "),t("hr"),e._v(" "),t("PaginationControls",{attrs:{paginationData:e.messages.external.pagination,loading:e.messagesLoading.external,queryStringKey:"external"}})],2):t("div",{staticClass:"text-muted"},[e._v("\n There are no external messages\n ")])])};te._withStripped=!0;var ne={mixins:[Z]},ie=Object(W.a)(ne,te,[],!1,null,null,null).exports,re=n("reo2"),ae={mixins:[Z],data:function(){return{article:{},articleLoading:!1,articleError:!1,expandAllFinished:!1}},computed:{pageSystem:function(){return this.$route.query.page_system?this.$route.query.page_system:1},pageExternal:function(){return this.$route.query.page_external?this.$route.query.page_external:1},limitSystem:function(){return this.$route.query.limit_system?this.$route.query.limit_system:null},limitExternal:function(){return this.$route.query.limit_external?this.$route.query.limit_external:null},withContent:function(){return!!this.$route.query.with_content},systemMessagesCount:function(){return this.messagesError.system?"?":this.messages.system.pagination.total},externalMessagesCount:function(){return this.messagesError.system?"?":this.messages.external.pagination.total},isSystemMessagesSelected:function(){return"ArticleMessages"==this.$route.name},messagesSubPageComponent:function(){return this.isSystemMessagesSelected?ee:ie},expandAllButtonVisible:function(){return!(!this.isSystemMessagesSelected||this.$route.query.with_content)&&!this.messagesLoading.system}},methods:{getArticleAndMessages:function(){var e=this;return o()(r.a.mark((function t(){var n;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.articleLoading=!0,t.prev=1,n=e.$route.params.articleId,t.next=5,re.a.get({urlParam
232s:{id:n}});case 5:e.article=t.sent,e.getMessages("system"),e.getMessages("external"),t.next=14;break;case 10:t.prev=10,t.t0=t.catch(1),console.log("error getting article and messages",t.t0),e.articleError=t.t0;case 14:return t.prev=14,e.articleLoading=!1,t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[1,10,14,17]])})))()},getMessages:function(e){var t=this;return o()(r.a.mark((function n(){var i,a,o,s;return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,i=!!t.$route.query.with_content,t.setMessagesLoading({type:e,status:!0}),t.setMessagesError({type:e,status:!1}),a={system:t.pageSystem,external:t.pageExternal},o={system:t.limitSystem,external:t.limitExternal},n.next=8,t.article.getMessages(e,a[e],o[e],i);case 8:s=n.sent,t.setMessages({type:e,messages:s}),n.next=16;break;case 12:n.prev=12,n.t0=n.catch(0),t.setMessagesError({type:e,status:!0}),t.setMessagesLoading({type:e,status:!1});case 16:return n.prev=16,t.setMessagesLoading({type:e,status:!1}),i&&(t.expandAllFinished=!0,t.setExpandAllLoading(!1)),n.finish(16);case 20:case"end":return n.stop()}}),n,null,[[0,12,16,20]])})))()}},watch:{pageSystem:function(){this.getMessages("system"),this.scrollContainerTop(),this.expandAllFinished=!1},pageExternal:function(){this.getMessages("external"),this.scrollContainerTop()},limitSystem:function(){this.getMessages("system"),this.scrollContainerTop(),this.expandAllFinished=!1},limitExternal:function(){this.getMessages("external"),this.scrollContainerTop()}},created:function(){this.reset(),this.getArticleAndMessages()}},oe=(n("TSFr"),Object(W.a)(ae,H,[function(){var e=this._self._c;return e("div",[e("strong",[this._v("Error loading article")])])},function(){var e=this._self._c;return e("div",{staticClass:"col-md-10"},[e("h1",[this._v("Messages")])])}],!1,null,"320e6372",null).exports),se=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",[n.articleMessageLogList&&n.articleMessageLogList.length?t("v-data-table",{staticClass:"elevation-1",attrs:{headers:n.HEADERS,items:n.articleMessageLogList,"no-data-text":"No messages found","server-items-length":n.totalItems,"items-per-page":15,"footer-props":{showFirstLastPage:!0,disableItemsPerPage:!0}},on:{"update:options":n.onUpdateOptions},scopedSlots:e._u([{key:"item.sent",fn:function(i){var r=i.item;return[t(n.Popper,{attrs:{trigger:"hover",options:{placement:"top"}}},[t("div",{staticClass:"popper"},[e._v("\n "+e._s(e._f("formatDateToNow")(r.sent,"PPP @ kk:HH:mm"))+"\n ")]),e._v(" "),t("template",{slot:"reference"},[t("span",[e._v("\n "+e._s(e._f("formatDateToNow")(r.sent,"PPP"))+"\n ")])])],2)]}},{key:"item.message.recipients",fn:function(n){var i=n.item;return[t("span",[e._v("\n "+e._s(i.message.recipients[0].name)+"\n ")])]}},{key:"item.resend",fn:function(n){return[n.item.resend?t("v-icon",[e._v("mdi-check")]):t("v-icon",[e._v("mdi-cancel")])]}}],null,!1,1354610683)}):e._e()],1)};se._withStripped=!0;var le=n("89Ef"),ce=n("Um5y"),ue=n.n(ce),de=(n("oQFu"),{__name:"ArticleMessagesLog",props:{articleId:{type:String,required:!1},messageId:{type:String,required:!1}},setup:function(e){var t=e,n=Object(f.ref)([]),i=Object(f.ref)(0),a=function(){var e=o()(r.a.mark((function e(a){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("".concat(le.a.ARTICLE_MESSAGE_LOGS,"?article=").concat(t.articleId,"&itemsPerPage=15&page=").concat(a,"&order[sent]=desc")).then((function(e){return e.json()})).then((function(e){i.value=e["hydra:totalItems"],n.value=e["hydra:member"]}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),s=function(){var e=o()(r.a.mark((function e(t){var n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.page,e.next=3,a(n);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(f.onMounted)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a(1);case 2:case"end":return e.stop()}}),e)})))),{__sfc:!0,HEADERS:[{text:"Subject",align:"start",sortable:!1,value:"message.subject"},{text:"Sent Date",value:"sent",sortable:!1},{text:"Recipient",value:"message.recipients",sortable:!1},{text:"Resend",value:"resend",sortable:!1}],props:t,articleMessageLogList:n,totalItems:i,getData:a,onUpdateOptions:s,Popper:ue.a}}}),he=n("ZUTo"),fe=n.n(he),pe=n("j+oE"),me=n("Ey0z"),ge=Object(W.a)(de,se,[],!1,null,null,null),ve=ge.exports;fe()(ge,{VDataTable:pe.a,VIcon:me.a});var be=n("NJRi"),ye=n("GpL5"),_e=n("ujQY"),xe=n("4jR1"),we=n("p4KW"),ke=n("VUuK"),Se=n("4feY"),Me=n("GI//"),Le=n("FVf1"),Ae=n("lm1b"),Oe=function(){var e=this._self._c;return e("v-row",{staticClass:"manuscript-page-layout"},[e("v-col",{attrs:{cols:"12"}},[this.loading?e("div",[this._v("Loading...")]):e("router-view")],1)],1)};Oe._withStripped=!0;var Ce={data:function(){return{loading:!1}},methods:{getArticle:function(){var e=this;return o()(r.a.mark((function t(){var n,i;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,n=e.$router.currentRoute.params.id,t.next=5,re.a.get({urlParam
232s:{id:n}});case 5:i=t.sent,e.$store.commit("articleModel/set",i),e.loading=!1,t.next=14;break;case 10:t.prev=10,t.t0=t.catch(1),e.$store.dispatch("notificationAlerts/addNotification",{title:"Article Error",message:"Error loading article",type:"error"}),console.log("Error getting article",t.t0);case 14:case"end":return t.stop()}}),t,null,[[1,10]])})))()}},created:function(){this.getArticle()}},Te=n("Yq0q"),Ee=n("D9m0"),De=Object(W.a)(Ce,Oe,[],!1,null,"d8a260b0",null),Pe=De.exports;fe()(De,{VCol:Te.a,VRow:Ee.a});var je=function(){var e=this,t=e._self._c;return t("div",[t("FixedWidthBody",[t("div",{staticClass:"px-6 pb-10"},[t("ManuscriptSidebarLayout",{attrs:{title:"Authors",continueRoute:e.continueRoute,preventNavigation:e.navSingleAuthorConfirm},on:{continueButtonClick:e.showSingleAuthorConfirm},scopedSlots:e._u([{key:"main",fn:function(){return[e.loading?t("div",[e._v("Loading...")]):t("div",[e.showAddAuthor?t("div",{staticClass:"mb-6"},[e.article.hasPreviousDecision?e._e():t("p",[e._v("\n Only add authors that meet the\n "),t("PJPopover",{attrs:{position:"right"},scopedSlots:e._u([{key:"triggerContainer",fn:function(){return[t("div",{staticStyle:{display:"inline-block"}},[t("a",{attrs:{href:e.authorshipCriteriaUrl}},[e._v("authorship criteria")])])]},proxy:!0},{key:"contentContainer",fn:function(){return[t("div",{staticStyle:{width:"420px","white-space":"initial",background:"white"}},[t("b",[e._v("Authorship Criteria")]),e._v(" "),t("div",{staticClass:"mb-2 mt-2"},[e._v("An author must meet all 4 criteria:")]),e._v(" "),t("b",[t("ol",{staticClass:"mb-2 text-bold"},[t("li",[e._v("Made substantial contributions")]),e._v(" "),t("li",[e._v("Drafted or revised")]),e._v(" "),t("li",[e._v("Made final approval")]),e._v(" "),t("li",[e._v("Fully accountable")])])]),e._v(" "),t("div",[e._v("\n Contributors who do not meet these criteria can be included in the Acknowledgments section of\n your\n manuscript text (with their permission).\n These criteria have been set out by the International Committee of Medical Journal Editors.\n ")])])]},proxy:!0}],null,!1,2682914289)}),e._v("\n .\n Co-authors are sent an email to confirm authorship after you submit.\n ")],1),e._v(" "),e.article.hasPreviousDecision?t("div",[t("p",[t("v-chip",{staticClass:"mr-1",attrs:{label:"",small:"",color:"orange","text-color":"white"}},[t("b",[e._v("Important note")])]),e._v("\n\n Please make sure this is your final author list with all relevant details (for example: named\n authors,\n author order, equal co-first and corresponding author designations). Affiliations must be complete\n and\n cannot be added or removed after acceptance.\n ")],1),e._v(" "),t("p",[t("strong",[e._v("No changes of any kind will be permitted after acceptance.")])])]):e._e(),e._v(" "),e.showEqualAuthorsHint?t("p",[e._v("\n Equal first authors must be placed in the first and second OR the first and last position.\n ")]):e._e(),e._v(" "),e.showCorrespondingWarning?t("p",[e._v("\n You must set at least one corresponding author.\n ")]):e._e()]):t("div",{staticClass:"mb-6"},[e._v("\n This article has been submitted so you cannot edit the author or address lists.\n "),e.canEditAuthorEmails?t("span",[e._v("If necessary you can edit the emails of any unconfirmed authors and reinvite them.")]):e._e()]),e._v(" "),e.approvalRequired?t("div",{staticClass:"alert alert-warning mb-6 mt-n3"},[t("div",{staticClass:"d-flex justify-content-between"},[t("div",{staticClass:"mr-5"},[t("h2",[t("i",{staticClass:"icon icon-warning-sign"}),e._v(" Author approval needed")]),e._v(" "),t("div",[e._v("\n Some of your author changes must be approved by your co-authors.\n ")])]),e._v(" "),t("a",{staticClass:"btn btn-warning align-self-center",attrs:{href:e.approvalUrl}}
232,[e._v("Ask co-authors to approve")])])]):e._e(),e._v(" "),e.isStaff||e.isChecker?t("div",{staticClass:"pull-right"},[t("a",{attrs:{href:e.oldUrl}},[e._v("Staff view")])]):e._e(),e._v(" "),e.authors.length?t("div",{staticClass:"section"},[t("h4",{staticClass:"section-title"},[e._v("\n Authors\n ")]),e._v(" "),t("div",{staticStyle:{position:"relative"}},[t("AuthorPicker",{key:e.authorOrderLoading,attrs:{authors:e.authors,"can-edit-authors":e.canEditAuthors,"can-reorder-authors":e.canReorderAuthors,disabled:e.authorOrderLoading,"aria-busy":e.authorOrderLoading},on:{start:function(t){e.hidePopup=!0},end:function(t){e.hidePopup=!1},"item-clicked":e.openAuthorEditModal,"update-items":e.authorsOrderUpdate,"last-element-moved":function(t){e.authorElIdToFocusAfterSave=t}},scopedSlots:e._u([{key:"item",fn:function(n){var i=n.item;n.index;return[t("APListItem",{attrs:{author:i,article:e.article,"aria-busy":e.authorOrderLoading,disabled:e.authorOrderLoading,"hide-popup":e.hidePopup||!e.canEditAuthors,loading:e.authorOrderLoading,"ref-number":e.getAffiliationIds(i)}})]}}],null,!1,2588968563)})],1)]):e._e(),e._v(" "),e.affiliations.length?t("div",{staticClass:"section mt-5"},[t("h4",{staticClass:"section-title"},[e._v("Affiliations"),t("br"),e._v(" "),t("small",{staticClass:"ml-0 grey--text text--darken-2"},[t("span",[e._v("Click to "+e._s(e.canEditAuthors?"edit":"view"))])])]),e._v(" "),t("div",{staticClass:"d-flex flex-column"},e._l(e.orderedAffiliations,(function(e,n){return t("router-link",{key:n,staticClass:"item-container mb-2",attrs:{replace:"",to:{name:"AffiliationEdit",params:{affiliationId:e.id}}}},[t("AddressListItem",{attrs:{address:e,refNumber:n+1}})],1)})),1)]):e._e(),e._v(" "),t("div",{staticClass:"d-flex justify-content-end mt-3 pt-3 border-top add-buttons"},[e.showAddAuthor?t("v-btn",{attrs:{color:"primary"},on:{click:e.showAddAuthorModal}},[e._v("Add Author")]):e._e(),e._v(" "),e.showAddAffiliation?t("v-btn",{staticClass:"ml-1",attrs:{color:"primary"},on:{click:e.showAddAddressModal}},[e._v("Add\n Affiliation\n ")]):e._e()],1)])]},proxy:!0},{key:"sidebar",fn:function(){return[t("SectionChecklist",{attrs:{list:e.checklistItems}})]},proxy:!0}])}),e._v(" "),t("AddAuthorModal",{on:{saved:e.authorModalSaved,deleted:e.authorModalDeleted}}),e._v(" "),t("AddAddressModal"),e._v(" "),t("NonInstitutionalEmailModal")],1)])],1)};je._withStripped=!0;var Ye=n("t2rG"),Ie=n.n(Ye),Re=function(){var e=this,t=e._self._c;return t("div",{staticClass:"row"},[t("div",{staticClass:"col-8"},[e.title?t("div",[t("PageTitle",[e._v(e._s(e.title))])],1):e._e(),e._v(" "),e._t("main")],2),e._v(" "),t("div",{staticClass:"col-4"},[e._t("sidebar"),e._v(" "),e.continueRoute?t("div",{staticClass:"mt-3 float-right"},[t("router-link",{attrs:{to:{name:e.continueRoute},event:""},nativeOn:{click:function(t){return t.preventDefault(),e.continueClick(e.continueRoute)}}},[t("v-btn",{attrs:{color:"primary",loading:e.continueButtonLoading,disabled:e.continueButtonLoading}},[e._v("\n Save and Continue "),t("v-icon",[e._v("mdi-chevron-right")])],1)],1),e._v(" "),e.continueRouteTitle?t("div",{staticClass:"mb-2 mt-2 text-body-2 text-right grey--text text--darken-2"},[e._v("Next Section: "+e._s(e.continueRouteTitle))]):e._e()],1):e._e()],2)])};Re._withStripped=!0;var He=function(){return(0,this._self._c)("h1",{staticClass:"slim manuscript-page-title"},[this._t("default")],2)};He._withStripped=!0;var Ne={},Fe=(n("b7uH"),Object(W.a)(Ne,He,[],!1,null,"dc532f32",null).exports),ze={props:{title:{required:!1,type:String},continueRoute:{required:!1,type:String},preventNavigation:{type:Boolean,required:!1,default:!1}},components:{PageTitle:Fe},data:function(){return{continueButtonLoading:!1}},computed:{articleId:function(){return this.$store.state.articleModel.article.id},continueRouteTitle:function(){if(this.continueRoute){var e=this.$router.resolve({name:this.continueRoute});return e?e.route.meta.title:""}return""}},methods:{continueClick:function(e){this.preventNavigation?this.$emit("continueButtonClick",e):(this.$router.push({name:e}),this.continueButtonLoading=!0)}},mounted:function(){this.continueButtonLoading=!1}},Be=(n("N4SJ"),n("gzZi")),We=Object(W.a)(ze,Re,[],!1,null,"0ab70f22",null),Ve=We.exports;fe()(We,{VBtn:Be.a,VIcon:me.a});var $e=function(){var e=this,t=e._self._c;return t("div",{staticClass:"checklist-container"},[t("h2",{staticClass:"title slim mb-4"},[e._v("Checklist")]),e._v(" "),e._l(e.list,(function(n,i){return t("div",{key:i,staticClass:"item",style:{color:"dark"===e.theme?"#eee":"#121212"}},[n.icon?t("v-icon",{staticClass:"icon mr-3"},[e._v(e._s(n.icon))]):t("v-icon",{staticClass:"icon mr-3"},[e._v("mdi-check-circle")]),e._v(" "),t("div",{domProps:{innerHTML:e._s(n.text?n.text:n)}}
232)],1)}))],2)};$e._withStripped=!0;var Ue={props:{list:{required:!0,type:Array}},computed:{itemColor:function(){return"dark"===this.theme?"#eee":"#121212"}}},Xe=(n("qkxR"),Object(W.a)(Ue,$e,[],!1,null,"3d49ddfc",null)),Ge=Xe.exports;fe()(Xe,{VIcon:me.a});var qe=function(){var e=this,t=e._self._c;return t("div",{ref:"author-list-item",staticStyle:{position:"relative"}},[t("PJPopover",{attrs:{position:"top",disabled:!e.displayErrors,closeOnHover:!1,mouseDownPreventDefault:""},scopedSlots:e._u([{key:"triggerContainer",fn:function(){return[t(e.link?"router-link":"div",{tag:"component",staticClass:"author-list-item",class:{"author-warning":e.showErrors&&e.warnings.length,"author-error":e.showErrors&&e.errors.length},attrs:{to:{name:"AuthorEdit",params:{authorId:e.author.id}}}},[e.author.displayName.trim()?t("span",[e._v(e._s(e.author.displayName))]):t("span",[e._v(e._s(e.author.email))]),e._v(" "),t("sup",{staticClass:"ref-container"},[t("span",[e._v(e._s(e.refNumber))]),e._v(" "),t("span",[e.author.corresponding?t("v-icon",[e._v("mdi-email")]):e._e(),e._v(" "),e.author.deceased?t("span",{staticClass:"font-weight-black"},[e._v("â ")]):e._e(),e._v(" "),e.author.equalContrib?t("v-icon",[e._v("mdi-asterisk")]):e._e(),e._v(" "),e.author.admin?t("v-icon",[e._v("mdi-pencil")]):e._e()],1)]),e._v(" "),e.showDelete?t("div",{staticClass:"delete-icon",on:{click:function(t){return e.$emit("delete")}}},[t("i",{staticClass:"icon icon-remove-sign"})]):e._e()])]},proxy:!0},{key:"contentContainer",fn:function(){return[t("div",{staticStyle:{"max-width":"340px"}},[t("v-sheet",{staticClass:"py-2 author-error-popover",attrs:{color:e.theme,rounded:""}},[e._l(e.errors,(function(n,i){return t("div",{key:"e-"+i,staticClass:"author-error-list-item"},[t("i",{staticClass:"icon icon-warning-sign text-danger mr-1"}),e._v(" "+e._s(n)+"\n ")])})),e._v(" "),e._l(e.warnings,(function(n,i){return t("div",{key:"w-"+i,staticClass:"author-error-list-item"},["string"==typeof n?t("div",[t("i",{staticClass:"icon icon-warning-sign text-warning mr-1"}),e._v(" "+e._s(n)+"\n ")]):"profile"==n.type?t("div",[t("div",{staticStyle:{"white-space":"initial","min-width":"340px"}},[t("i",{staticClass:"icon icon-warning-sign text-warning mr-1"}),e._v("\n The name you entered ("),t("b",[e._v(e._s(e.author.displayName))]),e._v(") is different from the name this author entered on their profile page\n ("),t("b",[e._v(e._s(e.author.profile?e.author.profile.displayName:""))]),e._v("). These names must match.\n "),t("br"),t("br"),e._v("Please email the author to resolve:\n "),t("br"),e._v(" "),t("v-btn",{staticClass:"mt-2",attrs:{href:e.emailAuthorLink,color:"primary"}},[e._v("Email Author")])],1)]):e._e()])}))],2)],1)]},proxy:!0}])})],1)};qe._withStripped=!0;var Je=n("Xvqi"),Ke=n("AuB/"),Ze=function(e,t,n,i){return Ke.a.nl2HtmlEntity("Hello,\n\nI am working on our PeerJ submission: '".concat(e,"'.\n\nThe name I entered for you for this submission is:\n- ").concat(t,"\n\nBut the name you entered on your PeerJ profile is:\n- ").concat(n,"\n\nWhich version of your name do you want to use? They must be the same to publish.\n\nWe have 2 options:\n1) I can update your name on the submission to: ").concat(n,"\n2) Or you can update your profile name to: ").concat(t,"\n\nPlease let me know how you want to proceed.\n\nBest regards,\n\n").concat(i))},Qe={props:{author:{type:Object,required:!1},refNumber:{type:[String,Number],required:!1,default:""},showDelete:{type:Boolean,required:!1,default:!1},showErrors:{type:Boolean,required:!1,default:!1},popoverDisabled:{type:Boolean,required:!1,default:!1},link:{type:Boolean,required:!1}},computed:{article:function(){return this.$store.state.articleModel.article},user:function(){return this.$store.state.user.user},errors:function(){var e=[];return this.author.addresses.length||e.push("This author does not have an affiliation"),this.author.declined&&e.push("This author declined their invitation"),e},warnings:function(){var e=[];return this.approvalRequired&&e.push("This author change needs approval"),this.isConfirmed||!this.article.hasPreviousSubmission&&!this.article.currentRevisionSubmitted||e.push("This author has not confirmed"),this.author.profileNameMatch||e.push({type:"profile"}),e},displayErrors:function(){return!this.popoverDisabled&&this.showErrors&&(this.errors.length||this.warnings.length)},approvalRequired:function(){var e=this;return this.article.authorChanges.filter((function(t){return t._links.author==e.author.links.self&&!t.isApproved})).length},isConfirmed:function(){return!!this.author.invitation&&this.author.invitation.accepted},declined:function(){return!!this.author.invitation&&this.author.invitation.declined},emailAuthorLink:function(){var e=Ze(this.article.title,this.author.displayName,this.author.profile?this.author.profile.displayName:"",this.user.firstName);return"mailto:".concat(this.author.email,"?subject=Please%20update%20your%20profile%20name&body=").concat(e)}}},et=(n("Yo02"),n("jdmY")),tt=Object(W.a)(Qe,qe,[],!1,null,"05fc8b30",null),nt=tt.exports;fe()(tt,{VBtn:Be.a,VIcon:me.a,VSheet:et.a});var it=function(){var e=this,t=e._self._c;return t("div",[e.error?t("PJPopover",{attrs:{position:"top"},scopedSlots:e._u([{key:"triggerContainer",fn:function(){return[t("div",{staticClass:"address-list-item error"},[e._v(e._s(e.address.fullAddress))])]},proxy:!0},{key:"contentContainer",fn:function(){return[e._v("\n "+e._s(e.error)+"\n ")]},proxy:!0}],null,!1,1088991694)}
232):t("div",{staticClass:"address-list-item"},[e.refNumber?t("div",{staticClass:"ref-container"},[e._v(e._s(e.refNumber))]):e._e(),e._v(" "),t("span",[e._v(e._s(e.address.fullAddress))]),e._v(" "),e.showDelete?t("div",{staticClass:"delete-icon",on:{click:e.deleteItem}},[t("i",{staticClass:"icon icon-remove-sign"})]):e._e()])],1)};it._withStripped=!0;var rt=n("2waU"),at={props:{address:{type:rt.a|Object,required:!0},error:{type:String,required:!1,default:""},refNumber:{type:[String,Number],required:!1,default:null},showDelete:{type:Boolean,required:!1,default:!1}},methods:{deleteItem:function(){this.$emit("delete")}}},ot=(n("MfFS"),Object(W.a)(at,it,[],!1,null,"4e357b70",null).exports),st=function(){var e=this,t=e._self._c;return t("PJModalVuetify",{attrs:{persistent:"",title:e.title,icon:"mdi-account-details",saving:e.showSavingOverlay,closeCallback:e.checkForChangesBeforeClose},scopedSlots:e._u([{key:"body",fn:function(){return[t("v-row",{staticClass:"mt-5 mb-1"},[t("v-col",{attrs:{cols:"12"}},[e.canEdit("email")&&!e.canEdit("givenName")?t("div",[e._v("\n If necessary, edit and re-send this author's invitation.\n ")]):e._e(),e._v(" "),e.canEdit("email")||e.canEdit("givenName")?e._e():t("div",[e._v("\n This article has been submitted so you cannot edit this author.\n ")]),e._v(" "),e.canEdit("email")&&e.canEdit("givenName")?t("div",[e._v("\n Enter full author details for publication.\n ")]):e._e()])],1),e._v(" "),t("v-row",{staticClass:"pt-3",staticStyle:{"min-height":"344px"}},[t("v-col",{attrs:{cols:"6"}},[t("v-text-field",{ref:"firstNameInput",attrs:{disabled:!e.canEdit("givenName"),label:"First given name*",hint:"Enter first given name in full",required:"","error-messages":e.getValidationErrors("author","givenName")},model:{value:e.author.givenName,callback:function(t){e.$set(e.author,"givenName",t)},expression:"author.givenName"}}),e._v(" "),t("v-text-field",{staticClass:"mt-4",attrs:{disabled:!e.canEdit("initials"),label:"Middle name initial",hint:"Initials only, e.g. 'W' for Peter Ware Higgs"},model:{value:e.author.initials,callback:function(t){e.$set(e.author,"initials",t)},expression:"author.initials"}}),e._v(" "),t("v-text-field",{staticClass:"mt-4",attrs:{disabled:!e.canEdit("familyName"),label:"Family name (surname)*",hint:"Enter family name (surname) in full","error-messages":e.getValidationErrors("author","familyName"),required:""},model:{value:e.author.familyName,callback:function(t){e.$set(e.author,"familyName",t)},expression:"author.familyName"}}),e._v(" "),t("v-text-field",{staticClass:"mt-4",attrs:{disabled:!e.canEdit("email"),label:"Email*",hint:"Institutional email preferred","error-messages":e.getValidationErrors("author","email"),required:""},on:{keydown:function(t){return e.clearServerValidationErrors("author","email")},change:function(t){return e.clearServerValidationErrors("author","email")}},model:{value:e.author.email,callback:function(t){e.$set(e.author,"email",t)},expression:"author.email"}}),e._v(" "),t("v-checkbox",{staticClass:"mt-5 modal-checkbox",attrs:{disabled:!e.canEditCorresponding,label:"Corresponding author post publication"+(e.correspondingEnabled?"":" (Maximum of 2)")},scopedSlots:e._u([{key:"append",fn:function(){return[t("v-menu",{attrs:{"offset-y":"","open-on-hover":""},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,r=n.attrs;return[t("v-icon",e._g(e._b({},"v-icon",r,!1),i),[e._v("mdi-information")])]}}])},[e._v(" "),t("v-card",[t("v-card-text",{staticClass:"pa-4 checkbox-popover"},[e._v("\n On the published article, this author will be listed as a corresponding author and their email will\n be displayed.\n This setting does not allow the author to edit this manuscript.\n ")])],1)],1)]},proxy:!0}]),model:{value:e.author.corresponding,callback:function(t){e.$set(e.author,"corresponding",t)},expression:"author.corresponding"}}),e._v(" "),t("v-checkbox",{staticClass:"modal-checkbox",attrs:{disabled:!e.canEdit("equalContrib")||!e.equalContribEnabled,label:e.equalContribLabel},scopedSlots:e._u([{key:"append",fn:function(){return[t("v-menu",{attrs:{"offset-y":"","open-on-hover":""},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,r=n.attrs;return[t("v-icon",e._g(e._b({},"v-icon",r,!1),i),[e._v("mdi-information")])]}}])},[e._v(" "),t("v-card",[t("v-card-text",{staticClass:"pa-4 checkbox-popover"},[e._v('\n All equal first authors are labelled with "These authors contributed equally to this work" on the\n published article.\n The first author in your author list must be one of the equal first authors. 2 maximum.\n ')])],1)],1)]},proxy:!0}]),model:{value:e.author.equalContrib,callback:function(t){e.$set(e.author,"equalContrib",t)},expression:"author.equalContrib"}}),e._v(" "),t("div",{staticStyle:{position:"relative"}}
232,[t("v-checkbox",{staticClass:"modal-checkbox",attrs:{disabled:!e.canEditDeceased,label:"Deceased"},scopedSlots:e._u([{key:"append",fn:function(){return[t("v-menu",{attrs:{"offset-y":"","open-on-hover":""},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,r=n.attrs;return[t("v-icon",e._g(e._b({},"v-icon",r,!1),i),[e._v("mdi-information")])]}}])},[e._v(" "),e.canEditDeceased?t("v-card",[t("v-card-text",{staticClass:"pa-4 checkbox-popover"},[e._v("\n The next of kin must give permission to publish the deceased's name.\n We will contact you with instructions for how to do this.\n ")])],1):e._e()],1)]},proxy:!0}]),model:{value:e.author.deceased,callback:function(t){e.$set(e.author,"deceased",t)},expression:"author.deceased"}}),e._v(" "),e.canEditDeceased?t("div",{staticClass:"deceased-trigger",on:{mousedown:function(t){return e.confirmDeceased()}}}):e._e()],1)],1),e._v(" "),t("v-col",{attrs:{cols:"6",id:"aff-col"}},[t("div",{staticClass:"mb-1"},[e._v("Affiliations")]),e._v(" "),t("div",{staticClass:"d-flex justify-content-between"},[t("v-btn",{staticClass:"mr-2",staticStyle:{width:"49%"},attrs:{color:"grey darken-2",dark:!e.affiliationNewDisabled,disabled:e.affiliationNewDisabled},on:{click:function(t){return e.addNewAffiliation(!1)}}},[e._v("\n Add New\n ")]),e._v(" "),t("div",{staticStyle:{width:"49%"}},[t("v-menu",{attrs:{right:"","offset-y":"","max-height":"80vh","max-width":"92%",dense:""},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,r=n.attrs;return[t("v-btn",e._g(e._b({attrs:{block:"",color:"grey darken-2",dark:!e.affiliationLinkDisabled,disabled:e.affiliationLinkDisabled}},"v-btn",r,!1),i),[e._v("\n Link\n "),t("v-icon",[e._v("mdi-chevron-down")])],1)]}}])},[e._v(" "),t("v-list",e._l(e.remainingAffiliations,(function(n,i){return t("v-list-item",{key:i,on:{click:function(t){return e.addAffiliation(n)}}},[t("v-list-item-title",{staticStyle:{"white-space":"no-wrap"}},[n.department||n.institution?t("span",[n.department?t("span",[e._v(e._s(n.department)+", ")]):e._e(),e._v(e._s(n.institution)+"\n ")]):t("span",[e._v(e._s(n.country))])])],1)})),1)],1)],1)],1),e._v(" "),t("v-divider",{staticClass:"my-2"}),e._v(" "),e._l(e.author.addresses,(function(n,i){return t("div",{key:i,staticClass:"mb-1"},[t("AddressListItem",{attrs:{address:e.getAffiliation(n.apiId),showDelete:e.canEdit("addresses")},on:{delete:function(t){return e.removeAffiliation(n.apiId)}}})],1)}))],2)],1),e._v(" "),t("PJSaveChangesModal",{attrs:{text:"Save changes to author?"},on:{save:function(t){return e.save(!1)},discard:function(t){return e.hide()},cancel:e.toggleSaveConfirm},model:{value:e.saveConfirmOpen,callback:function(t){e.saveConfirmOpen=t},expression:"saveConfirmOpen"}}),e._v(" "),t("PJSaveChangesModal",{attrs:{title:"Author replace"},on:{save:function(t){return e.confirmReplace()},discard:function(t){return e.hide()},cancel:function(t){e.replaceModalOpen=!1}},model:{value:e.replaceModalOpen,callback:function(t){e.replaceModalOpen=t},expression:"replaceModalOpen"}},[t("p",[e._v("It looks like you want to replace this author? This is not permitted at this stage.")]),e._v(" "),t("p",[e._v("Please delete this author and add a new author instead.")]),e._v(" "),t("p",[e._v("If you are not replacing this author, save and continue as normal.")])]),e._v(" "),t("PJDialogue",{attrs:{title:"Affiliation Missing"},scopedSlots:e._u([{key:"buttons",fn:function(){return[t("v-btn",{attrs:{color:"primary",outlined:""},on:{click:function(t){return e.hideNoAffiliationModal(!0,!1)}}},[e._v("Save")]),e._v(" "),t("v-btn",{attrs:{color:"primary",outlined:""},on:{click:function(t){return e.hideNoAffiliationModal(!1,!0)}}},[e._v("Add Affiliation")])]},proxy:!0}]),model:{value:e.noAffiliationModalOpen,callback:function(t){e.noAffiliationModalOpen=t},expression:"noAffiliationModalOpen"}},[e._v("\n This author does not have an affiliation\n "),t("br"),t("br"),e._v("All authors must have at least one affiliation\n "),t("br"),e._v("("),t("span",{staticClass:"text-decoration-underline blue--text",staticStyle:{cursor:"pointer"},on:{click:function(t){return e.toggleIndieResearcherInfo()}}},[e._v("\n including independent researchers\n ")]),e._v(")\n\n "),t("transition",{attrs:{name:"transition-fade"}},[e.indieResearcherInfoVisible?t("IndependentResearcherInfo",{staticClass:"mt-4"}):e._e()],1)],1)]},proxy:!0},{key:"buttons-left",fn:function(){return[e.showDeleteButton?t("v-btn",{staticClass:"mr-2",attrs:{color:"red dar
232ken-4",outlined:"",loading:e.deleting},on:{click:e.deleteConfirm}},[e._v("Delete Author\n ")]):e._e()]},proxy:!0},{key:"buttons",fn:function(){return[e.deleting?e._e():t("v-btn",{attrs:{color:"primary",loading:e.saving,disabled:e.saving||!e.canSave||e.canInvite()&&!e.emailChanged},on:{click:function(t){return e.save(!1)}}},[e._v("Save"+e._s(e.canInvite()?" and invite":"")+"\n ")])]},proxy:!0}]),model:{value:e.open,callback:function(t){e.open=t},expression:"open"}})};st._withStripped=!0;var lt=n("xweI"),ct=n.n(lt),ut=n("u8Zi"),dt=n("7Kgv"),ht=n("ta7f"),ft=n("cqKV"),pt=n("BkRI"),mt=n.n(pt),gt={mixins:[ft.a],components:{AddressListItem:ot,IndependentResearcherInfo:dt.a},validations:{author:{givenName:{allCaps:function(e){return this.isValidName(e)}},familyName:{allCaps:function(e){return this.isValidName(e)}},email:{required:ht.required,email:ht.email}}},data:function(){return{changed:!1,open:!1,author:{},authorEditable:{},saving:!1,deleting:!1,affiliationMenuOpen:!1,institutionEmailModalOpen:!1,saveConfirmOpen:!1,replaceModalOpen:!1,authorOriginal:{},disableNoAffiliationModal:!1,noAffiliationModalOpen:!1,indieResearcherInfoVisible:!1}},computed:{affiliations:function(){return this.$store.state.articleModel.affiliations.all},articleAuthors:function(){return this.$store.state.articleModel.authors.all},remainingAffiliations:function(){var e=this.author.addresses.map((function(e){return e.apiId})),t=this.affiliations.filter((function(t){return!e.includes(t.apiId)}));return ct()(t,(function(e){return e.department?e.department:e.institution}))},title:function(){return this.author.id?"Author edit":"Add Author"},showSavingOverlay:function(){return!(!this.saving&&!this.deleting)},loadingOverlayText:function(){return this.deleting?"Deleting...":"Saving..."},showDeleteButton:function(){return!this.saving&&this.author.id&&this.author.allowedActions.self&&this.author.allowedActions.self.delete},correspondingEnabled:function(){var e=this,t=this.articleAuthors.filter((function(t){return t.corresponding&&t.id!=e.author.id})).length;if(this.author.corresponding&&t>1)return!0;var n=t<2;return!!this.userIsStaff||n},equalAuthorCount:function(){var e=this;return this.articleAuthors.filter((function(t){return t.equalContrib&&t.id!=e.author.id})).length},equalContribEnabled:function(){var e=this.equalAuthorCount;if(this.author.equalContrib&&e>1&&0!=this.getArrayPos)return!0;var t=[1,this.articleAuthors.length-1].includes(this.getArrayPos),n=e<2&&t;return!!this.userIsStaff||n},equalContribLabel:function(){var e="Equal first author";return this.equalContrib>=2&&!this.userIsStaff?e+=" (Maximum of 2)":0==this.getArrayPos&&this.author.equalContrib&&!this.userIsStaff?e+=" (Removed when other equal authors are unchecked)":0!=this.getArrayPos||this.author.equalContrib||this.userIsStaff?this.equalContribEnabled||this.userIsStaff||(e+=" (Can only be set on 1st, 2nd or last author)"):e+=" (Auto checked when adding another equal first author)",e},userIsStaff:function(){return this.$store.state.user.user.hasRole("ROLE_STAFF")},getArrayPos:function(){var e=this;return this.articleAuthors.findIndex((function(t){return t.id===e.author.id}))},deceased:function(){return this.author.deceased},canCreateAddresses:function(){var e=this.$store.state.articleModel.article;return e.allowedActions.hasOwnProperty("authorAddresses")&&e.allowedActions.authorAddresses.createResource},canSave:function(){if(this.author.id)return this.author.allowedActions.hasOwnProperty("self")&&this.author.allowedActions.self.updateResource;var e=this.$store.state.articleModel.article;return e.allowedActions.hasOwnProperty("authors")&&e.allowedActions.authors.createResource},emailChanged:function(){return this.authorOriginal.email!=this.author.email},affiliationLinkDisabled:function(){return!this.canEdit("addresses")||!this.remainingAffiliations.length},affiliationNewDisabled:function(){return!this.canEdit("addresses")||!this.canCreateAddresses},canEditDeceased:function(){return!this.author.corresponding&&!this.author.admin&&this.canEdit("deceased")},canEditCorresponding:function(){return!(this.author.deceased||!this.correspondingEnabled)&&this.canEdit("corresponding")}},methods:{confirmDeceased:function(){var e=this;this.author.deceased?this.author.deceased=!1:(this.author.deceased=!1,this.showConfirmModal({vuetify:!0,title:"Important Confirmation",icon:"mdi-alert-circle",iconColor:"error",question:"\n You are about to mark this author as deceased.\n <br><br>Are you sure you want to do this?\n <br><br>The next of kin must give permission to publish the deceased's name.\n We will email you with instructions for how to do this, after you submit.\n ",confirmLabel:"Mark as deceased",confirmColor:"primary",callback:function(t){e.author.deceased=t}}))},canEdit:function(e){return!this.author.id||this.author.allowedActions.hasOwnProperty(e)&&this.author.allowedActions[e].update},reset:function(){var e=this;this.author=new Je.a,this.authorOriginal=this.author,setTimeout((function(){e.changed=!1}),500),this.authorEditable={},this.affiliationMenuOpen=!1,this.saving=!1,this.deleting=!1,this.showValidationErrors=!1,this.clearServerValidationErrors(),this.disableNoAffiliationModal=!1,this.noAffiliationModalOpen=!1,this.indieResearcherInfoVisible=!1},showAddMode:function(){var e=this;this.reset(),this.open=!0,setTimeout((function(){e.$refs.firstNameInput.focus()}),200)},showEditMode:function(e){this.reset(),this.author=new Je.a(e),this.authorOriginal=e,this.open=!0},hide:function(){this.open=!1,this.author.id&&this.$router.replace({name:"ManuscriptAuthors"}),this.author=new Je.a},addNewAffiliation:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];$.a.$emit(ut.a.MANUSCRIPT_SHOW_ADD_ADDRESS_MODAL,{hideAuthors:!0,showIndieResearcherInfo:e})},addAffiliation:function(e){this.affiliationMenuOpen=!1,-1==this.author.addresses.findIndex((function(t){return t.apiId==e.apiId}))&&this.author.addresses.push(e)},removeAffiliation:function(e){var t=this.author.addresses.findIndex((function(t){return t.apiId==e}));t>-1&&this.author.addresses.splice(t,1)},getAffiliation:function(e){var t=this.affiliations.filter((function(t){return t.links.self==e}));return t.length?t[0]:null},deleteConfirm:function(){var e=this;this.showConfirmModal({vuetify:!0,question:"Are you sure you want to delete this author?",confirmLabel:"Delete Author",confirmColor:"red",callback:function(t){t&&e.deleteAuthor()}})},deleteAuthor:function(){var e=this;return o()(r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.deleting=!0,t.prev=1,t.next=4,e.author.delete();case 4:e.$store.commit("articleModel/authors/remove",e.author),e.$store.dispatch("notificationAlerts/addNotification",{title:"Author Deleted",message:"The author was deleted",type:"success"}),e.deleting=!1,e.hide(),e.$emit("deleted",e.author),t.next=15;break;case 11:t.prev=11,t.t0=t.catch(1),e.$store.dispatch("notificationAlerts/addNotification",{title:"Error Deleting Author",message:"The author could not be deleted",type:"error"}),e.deleting=!1;case 15:case"end":return t.stop()}}),t,null,[[1,11]])})))()},save:function(){var e=arguments,t=this;return o()(r.a.mark((function n(){var i,a,o,s;return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(i=e.length>0&&void 0!==e[0]&&e[0],t.showValidationErrors=!1,t.$v.$touch(),!t.$v.$invali
232d){n.next=6;break}return t.showValidationErrors=!0,n.abrupt("return");case 6:if(!t.author.id||i){n.next=13;break}if(!t.author.invitation){n.next=13;break}if(["givenName","familyName","email"].map((function(e){return t.author[e].toLowerCase()!=t.authorOriginal[e].toLowerCase()})).includes(!1)){n.next=13;break}return t.replaceModalOpen=!0,n.abrupt("return");case 13:if(t.author.addresses.length||t.disableNoAffiliationModal){n.next=16;break}return t.showNoAffiliationModal(),n.abrupt("return");case 16:if(t.saving=!0,a=t.$router.currentRoute.params.id,n.prev=18,!t.author.id){n.next=28;break}return o=t.canInvite()?{queryParams:{invite:!0}}:{},n.next=23,t.author.update(o);case 23:s=n.sent,t.$store.commit("articleModel/authors/update",s),t.$store.dispatch("notificationAlerts/addNotification",{title:"Author Updated",message:"The author was updated",type:"success"}),n.next=34;break;case 28:return t.author.ordinal=t.articleAuthors.length,n.next=31,t.author.save({urlParams:{id:a}});case 31:s=n.sent,t.$store.commit("articleModel/authors/add",s),t.$store.dispatch("notificationAlerts/addNotification",{title:"Author Created",message:"The author was added to the article",type:"success"});case 34:t.$emit("saved",s),t.hide(),n.next=43;break;case 38:n.prev=38,n.t0=n.catch(18),console.log("Error saving author",n.t0),n.t0.data.problemDetails&&(t.setServerValidationErrors("author",n.t0.data.problemDetails),t.showValidationErrors=!0),t.$store.dispatch("notificationAlerts/addNotification",{title:"Error",message:t.author.id?"The author could not be updated":"The author could not be added to the article",type:"error"});case 43:return n.prev=43,t.saving=!1,n.finish(43);case 46:case"end":return n.stop()}}),n,null,[[18,38,43,46]])})))()},confirmReplace:function(){this.replaceModalOpen=!1,this.save(!0)},toggleAffiliationMenuOpen:function(){this.affiliationMenuOpen=!this.affiliationMenuOpen},showConfirmInstitutionEmailModal:function(){$.a.$emit(ut.a.MANUSCRIPT_SHOW_INSTITUTIONAL_EMAIL_MODAL,this.author)},toggleSaveConfirm:function(){this.saveConfirmOpen=!this.saveConfirmOpen},checkForChangesBeforeClose:function(){this.changed?this.toggleSaveConfirm():this.hide()},canInvite:function(){return this.canEdit("email")&&this.emailChanged&&(this.userIsStaff||this.author.invitation&&!this.author.invitation.accepted&&!this.author.invitation.declined)},isValidName:function(e){return!(e&&e.length>1)||Ke.a.isNotAllCaps(e)},showNoAffiliationModal:function(){this.noAffiliationModalOpen=!0},hideNoAffiliationModal:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.noAffiliationModalOpen=!1,e&&(this.disableNoAffiliationModal=!0,this.save()),t&&this.addNewAffiliation(this.indieResearcherInfoVisible)},toggleIndieResearcherInfo:function(){this.indieResearcherInfoVisible=!this.indieResearcherInfoVisible}},watch:{author:{handler:function(){this.changed=!0},deep:!0}},created:function(){this.reset()},mounted:function(){$.a.$on(ut.a.MANUSCRIPT_SHOW_ADD_AUTHOR_MODAL,this.showAddMode),$.a.$on(ut.a.MANUSCRIPT_SHOW_EDIT_AUTHOR_MODAL,this.showEditMode),$.a.$on(ut.a.MANUSCRIPT_ADDRESS_ADDED_FROM_AUTHOR_MODAL,this.addAffiliation)},beforeMount:function(){$.a.$off(ut.a.MANUSCRIPT_SHOW_ADD_AUTHOR_MODAL),$.a.$off(ut.a.MANUSCRIPT_SHOW_EDIT_AUTHOR_MODAL),$.a.$off(ut.a.MANUSCRIPT_ADDRESS_ADDED_FROM_AUTHOR_MODAL)},beforeDestroy:function(){$.a.$off(ut.a.MANUSCRIPT_SHOW_ADD_AUTHOR_MODAL),$.a.$off(ut.a.MANUSCRIPT_SHOW_EDIT_AUTHOR_MODAL),$.a.$off(ut.a.MANUSCRIPT_ADDRESS_ADDED_FROM_AUTHOR_MODAL)}},vt=(n("Af5B"),n("sK+t")),bt=n("mdmw"),yt=n("rHzn"),_t=n("zn5u"),xt=n("iGBT"),wt=n("2hOt"),kt=n("XSMC"),St=n("5Emp"),Mt=n("hlRy"),Lt=Object(W.a)(gt,st,[],!1,null,"18e20c42",null),At=Lt.exports;fe()(Lt,{VBtn:Be.a,VCard:vt.a,VCardText:bt.c,VCheckbox:yt.a,VCol:Te.a,VDivider:_t.a,VIcon:me.a,VList:xt.a,VListItem:wt.a,VListItemTitle:kt.d,VMenu:St.a,VRow:Ee.a,VTextField:Mt.a});var Ot=function(){var e=this,t=e._self._c;return t("PJModalVuetify",{attrs:{persistent:"",title:e.title,icon:"mdi-domain",loading:e.saving,loadingText:"Saving....",closeCallback:e.checkForChangesBeforeClose},scopedSlots:e._u([{key:"body",fn:function(){return[t("v-row",{staticClass:"mt-5 mb-1"},[t("v-col",{attrs:{cols:"6"}},[e.showIndieResearcherInfo?t("IndieResearcherInfo"):t("div",[e._v("Enter full affiliation details for publication.")])],1),e._v(" "),t("v-col",{attrs:{cols:"6"}},[t("v-alert",{attrs:{color:"primary",icon:"mdi-information",text:""}}
232,[e._v("\n Street addresses, building codes, PO boxes, zip codes, etc are not permitted in the Affiliations.\n ")])],1)],1),e._v(" "),t("v-row",{staticClass:"pt-3",staticStyle:{"min-height":"344px"}},[t("v-col",{attrs:{cols:e.hideAuthors?12:6}},[t("VBetterCombobox",{ref:"institutionInput",attrs:{disabled:!e.canEdit("institution"),label:"Institution*",hint:"Enter full title, e.g. 'Arizona State University' instead of 'ASU'. If unaffiliated enter: 'Unaffiliated'","persistent-hint":"",items:e.institutionSuggestions,"search-input":e.institutionSearch,"item-value":"name","item-text":"name",required:"",dense:!0,"menu-props":{maxHeight:125}},on:{"update:searchInput":function(t){e.institutionSearch=t},"update:search-input":function(t){e.institutionSearch=t},input:e.handleInstitutionInput},scopedSlots:e._u([{key:"item",fn:function(n){n.parent;var i=n.item;return[t("v-list-item-content",[t("v-list-item-title",{domProps:{innerHTML:e._s("".concat(e.genFilteredText(i.name)))}}),e._v(" "),t("v-list-item-subtitle",[e._v(e._s(i.country))])],1)]}}]),model:{value:e.localInstitution,callback:function(t){e.localInstitution=t},expression:"localInstitution"}}),e._v(" "),t("v-text-field",{staticClass:"mt-3",attrs:{disabled:!e.canEdit("department"),label:"Department / Faculty / School / etc",hint:"Enter full title, e.g. 'Department of Bioscience' instead of 'Bioscience'. Do not enter general info e.g. 'Masters program', 'Undergraduate' etc.",required:""},model:{value:e.address.department,callback:function(t){e.$set(e.address,"department",t)},expression:"address.department"}}),e._v(" "),t("v-text-field",{staticClass:"mt-3",attrs:{disabled:!e.canEdit("city"),label:"City*",hint:"Enter full city (or town/village) name, e.g. New York instead of NY",required:""},model:{value:e.address.city,callback:function(t){e.$set(e.address,"city",t)},expression:"address.city"}}),e._v(" "),t("v-text-field",{staticClass:"mt-3",attrs:{disabled:!e.canEdit("state"),label:"State / Region",hint:"Enter full state name, e.g. 'Arizona' instead of 'Ariz'",required:""},model:{value:e.address.state,callback:function(t){e.$set(e.address,"state",t)},expression:"address.state"}}),e._v(" "),t("CountryList",{attrs:{address:e.address,$v:e.$v}})],1),e._v(" "),e.hideAuthors?e._e():t("v-col",{attrs:{cols:"6"}},[t("div",{staticClass:"mb-1"},[e._v("Authors")]),e._v(" "),t("v-menu",{attrs:{"offset-y":"","max-height":"80vh"},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,r=n.attrs;return[t("v-btn",e._g(e._b({attrs:{color:"grey darken-2",width:"100%",dark:e.canAttachAuthors,disabled:!e.canAttachAuthors}},"v-btn",r,!1),i),[e._v("\n Link author\n "),t("v-icon",[e._v("mdi-chevron-down")])],1)]}}],null,!1,3537744830)},[e._v(" "),t("v-list",e._l(e.remainingAuthors,(function(n,i){return t("v-list-item",{key:i,on:{click:function(t){return e.attachAuthor(n)}}},[n.displayName.length>1?t("v-list-item-title",{staticClass:"!black-text"},[e._v(e._s(n.displayName)+"\n ")]):t("v-list-item-title",[e._v(e._s(n.email))])],1)})),1)],1),e._v(" "),t("v-divider",{staticClass:"my-2"}),e._v(" "),t("div",{staticClass:"author-list"},e._l(e.attachedAuthors,(function(n,i){return t("div",{key:i,staticClass:"mb-1"},[t("AuthorListItem",{staticClass:"w-100",attrs:{author:n,showDelete:e.canEditAuthor(n)},on:{delete:function(t){return e.removeAttachedAuthor(n,i)}}})],1)})),0)],1)],1),e._v(" "),t("PJSaveChangesModal",{attrs:{text:"Save changes to affiliation?"},on:{save:e.save,discard:e.hide,cancel:e.toggleSaveConfirm},model:{value:e.saveConfirmOpen,callback:function(t){e.saveConfirmOpen=t},expression:"saveConfirmOpen"}})]},proxy:!0},{key:"buttons-left",fn:function(){return[e.showDeleteButton?t("v-btn",{staticClass:"mr-2",attrs:{color:"red darken-2",outlined:"",loading:e.deleting},on:{click:e.deleteConfirm}},[e._v("Delete Affiliation\n ")]):e._e()]},proxy:!0},{key:"buttons",fn:function(){return[e.deleting?e._e():t("v-btn",{attrs:{color:"primary",loading:e.saving,disabled:e.saving||!e.canSave},on:{click:e.save}},[e._v("Save\n ")])]},proxy:!0}]),model:{value:e.open,callback:function(t){e.open=t},expression:"open"}})};Ot._withStripped=!0;var Ct=n("cDf5"),Tt=n.n(Ct),Et=n("/hMX"),Dt=n("koCO"),Pt=n("lwsE"),jt=n.n(Pt),Yt=n("W8MJ"),It=n.n(Yt),Rt=n("7W2i"),Ht=n.n(Rt),Nt=n("a1gu"),Ft=n.n(Nt),zt=n("Nsbk"),Bt=n.n(zt);function Wt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=Bt()(e);if(t){var r=Bt()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return Ft()(this,n)}}var Vt=function(e){Ht()(n,e);var t=Wt(n);function n(e){var i;return jt()(this,n),(i=t.call(this,e)).name=e?e.name:"",i.shortName=e?e.shortName:"",i.localName=e?e.localName:"",i.country=e?e.country:"",i}return It()(n,null,[{key:"endpoints",get:function(){return{list:"institutions/"}}}]),n}(n("1IrZ").a),$t=n("6Gjz");function Ut(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Xt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Xt(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function Xt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var Gt={"&":"&","<":"<",">":">"},qt={mixins:[ft.a],components:{AuthorListItem:nt,IndieResearcherInfo:dt.a,CountryList:$t.default},validations:{address:{country:{required:ht.required}}},data:function(){return{changed:!1,open:!1,address:{},saving:!1,deleting:!1,authorMenuOpen:!1,attachedAuthors:[],removedAuthors:[],hideAuthors:!1,saveConfirmOpen:!1,institutionSearch:"",institutionSuggestions:[],showIndieResearcherInfo:!1,localInstitution:""}},computed:{authors:function(){return this.$store.state.articleModel.authors.all},remainingAuthors:function(){var e=this;return this.authors.filter((function(t){for(var n=0;n<e.attachedAuthors.length;n++)if(t.apiId==e.attachedAuthors[n].apiId)return!1;return!0}))},title:function(){return this.address.id?"Affiliation edit":"Add Affiliation"},showDeleteButton:function(){return!this.saving&&this.address.id&&this.address.allowedActions.self&&this.address.allowedActions.self.delete},canSave:function(){if(this.address.id)return this.address.allowedActions.hasOwnProperty("self")&&this.address.allowedActions.self.updateResource;var e=this.$store.state.articleModel.article;return e.allowedActions.hasOwnProperty("authorAddresses")&&e.allowedActions.authorAddresses.createResource},canAttachAuthors:function(){var e=this;return this.remainingAuthors.findIndex((function(t){return e.canEditAuthor(t)}))>-1},findMatchingAddress:function(){var e,t=this.address.addressHash,n=Ut(this.$store.state.articleModel.affiliations.all);try{for(n.s();!(e=n.n()).done;){var i=e.value;if(t.toLowerCase()===i.addressHash.toLowerCase())return i}}catch(e){n.e(e)}finally{n.f()}return null}},methods:{genFilteredText:function(e){var t=this.getMaskedCharacters(e),n=t.start,i=t.middle,r=t.end;return t.found?"".concat(this.escapeHTML(n)).concat(this.genHighlight(i)).concat(this.escapeHTML(r)):"".concat(this.escapeHTML(n)).concat(this.escapeHTML(i)).concat(this.escapeHTML(r))},genHighlight:function(e){return'<span style="background-color: yellow; color: black;">
232'.concat(this.escapeHTML(e),"</span>")},escapeHTML:function(e){return e.replace(/[&<>]/g,(function(e){return Gt[e]||e}))},getMaskedCharacters:function(e){var t=(this.institutionSearch||"").toString().toLocaleLowerCase(),n=e.toLocaleLowerCase().indexOf(t);if(n<0)return{start:e,middle:"",end:""};return{start:e.slice(0,n),middle:e.slice(n,n+t.length),end:e.slice(n+t.length),found:!0}},canEdit:function(e){return!this.address.id||this.address.allowedActions.hasOwnProperty(e)&&this.address.allowedActions[e].update},canEditAuthor:function(e){return e.allowedActions.hasOwnProperty("addresses")&&e.allowedActions.addresses.update},reset:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.address=new rt.a,setTimeout((function(){e.changed=!1}),500),this.authorMenuOpen=!1,this.attachedAuthors=[],this.deleting=!1,this.hideAuthors=!!t.hideAuthors&&t.hideAuthors,this.showIndieResearcherInfo=!!t.showIndieResearcherInfo&&t.showIndieResearcherInfo,this.removedAuthors=[],this.showValidationErrors=!1,this.clearServerValidationErrors()},showAddMode:function(e){var t=this;this.reset(e),this.open=!0,setTimeout((function(){var e,n,i,r;null===(e=t.$refs)||void 0===e||null===(n=e.institutionInput)||void 0===n||null===(i=n.$el)||void 0===i||null===(r=i.querySelector("input"))||void 0===r||r.focus()}),200)},showEditMode:function(e){var t=this;this.reset(),this.address=Object.assign(this.address,e),this.authors.forEach((function(n){n.addresses.forEach((function(i){e.apiId==i.apiId&&t.attachedAuthors.push(n)}))})),this.open=!0,this.localInstitution=this.address.institution,this.institutionSearch=this.address.institution},hide:function(){this.open=!1,this.address.id&&this.$router.replace({name:"ManuscriptAuthors"})},toggleAuthorMenuOpen:function(){this.authorMenuOpen=!this.authorMenuOpen},attachAuthor:function(e){this.attachedAuthors.push(e),this.authorMenuOpen=!1;for(var t=0;t<this.removedAuthors.length;t++)if(this.removedAuthors[t].id==e.id){this.removedAuthors.splice(t,1);break}},removeAttachedAuthor:function(e,t){this.removedAuthors.push(e),this.attachedAuthors.splice(t,1)},deleteConfirm:function(){var e=this;this.showConfirmModal({vuetify:!0,question:"Are you sure you want to delete this affiliation?",confirmLabel:"Delete Affiliation",confirmColor:"red",callback:function(t){t&&e.deleteAddress()}})},deleteAddress:function(){var e=this;return o()(r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.deleting=!0,t.prev=1,t.next=4,e.address.delete();case 4:e.$store.commit("articleModel/authors/removeAffiliationFromAll",e.address),e.$store.commit("articleModel/affiliations/remove",e.address),e.hide(),e.$store.dispatch("notificationAlerts/addNotification",{title:"Affiliation Deleted",message:"The affiliation was deleted",type:"success"}),e.deleting=!1,t.next=15;break;case 11:t.prev=11,t.t0=t.catch(1),e.$store.dispatch("notificationAlerts/addNotification",{title:"Error Deleting Affiliation",message:"The affiliation could not be deleted",type:"error"}),e.deleting=!1;case 15:case"end":return t.stop()}}),t,null,[[1,11]])})))()},save:function(){var e=this;return o()(r.a.mark((function t(){var n,i,a,s,l;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.showValidationErrors=!1,e.$v.$touch(),!e.$v.$invali
232d){t.next=5;break}return e.showValidationErrors=!0,t.abrupt("return");case 5:if(e.saving=!0,n=e.$router.currentRoute.params.id,i=!1,t.prev=8,a=null,!e.address.id){t.next=17;break}return t.next=13,e.address.update();case 13:a=t.sent,e.$store.commit("articleModel/affiliations/update",a),t.next=27;break;case 17:if(!(s=e.findMatchingAddress)){t.next=23;break}a=s,i=!0,t.next=27;break;case 23:return t.next=25,e.address.save({urlParams:{id:n}});case 25:a=t.sent,e.$store.commit("articleModel/affiliations/add",a);case 27:return l=a.apiId,t.next=30,Promise.all(e.attachedAuthors.map(function(){var e=o()(r.a.mark((function e(t){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return-1==t.addresses.findIndex((function(e){return e.apiId==l}))&&t.addresses.push(a),e.next=4,t.update();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 30:return t.next=32,Promise.all(e.removedAuthors.map(function(){var e=o()(r.a.mark((function e(t){var n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=t.addresses.findIndex((function(e){return e.apiId==l})))>
232-1&&t.addresses.splice(n,1),e.next=4,t.update();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 32:$.a.$emit(ut.a.MANUSCRIPT_ADDRESS_ADDED_FROM_AUTHOR_MODAL,a),e.$store.dispatch("notificationAlerts/addNotification",{title:e.address.id||i?"Affiliation Updated":"Affiliation Created",message:e.address.id||i?"The affiliation was updated":"The affiliation was added to the article",type:"success"}),e.hide(),t.next=42;break;case 37:t.prev=37,t.t0=t.catch(8),console.log("Error saving affiliation",t.t0),t.t0.data.problemDetails&&(e.setServerValidationErrors("address",t.t0.data.problemDetails),e.showValidationErrors=!0),e.$store.dispatch("notificationAlerts/addNotification",{title:"Error",message:e.address.id?"The affiliation could not be updated":"The affiliation could not be added to the article",type:"error"});case 42:return t.prev=42,e.saving=!1,t.finish(42);case 45:case"end":return t.stop()}}),t,null,[[8,37,42,45]])})))()},toggleSaveConfirm:function(){this.saveConfirmOpen=!this.saveConfirmOpen},checkForChangesBeforeClose:function(){this.changed?this.toggleSaveConfirm():this.hide()},searchInstitutions:function(){var e=this;return o()(r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.institutionsLoading=!0;try{Et.a.call({url:"institutions/?q="+e.institutionSearch}).then((function(t){var n=new Dt.a(t.data,Vt);e.institutionSuggestions=n.items}))}catch(e){console.log("Error searching institutions",e)}case 2:case"end":return t.stop()}}),t)})))()},getSuggestionTitle:function(e,t){var n=e.genFilteredText(t.name);return t.shortName&&(n+=" (".concat(t.shortName,")")),n},handleInstitutionInput:function(e){var t,n;e&&"object"===Tt()(e)&&e.name?(this.address.institution=e.name,this.address.institutionCanonical=e,this.address.country=e.country,this.address.city=null!==(t=e.city)&&void 0!==t?t:null,this.address.state=null!==(n=e.state)&&void 0!==n?n:null):(this.address.institution=e,this.address.institutionCanonical&&this.address.institutionCanonical.name!==e&&(this.address.institutionCanonical=null))}},watch:{address:{handler:function(){this.changed=!0},deep:!0},localInstitution:{handler:function(e){var t,n;e&&"object"===Tt()(e)&&e.name?(this.address.institution=e.name,this.address.institutionCanonical=e,this.address.country=e.country,this.address.city=null!==(t=e.city)&&void 0!==t?t:null,this.address.state=null!==(n=e.state)&&void 0!==n?n:null):(this.address.institution=e,this.address.institutionCanonical&&this.address.institutionCanonical.name!==e&&(this.address.institutionCanonical=null))},immediate:!0},"address.institution":{handler:function(e){this.localInstitution!==e&&(this.localInstitution=e)},immediate:!0},attachedAuthors:{handler:function(){this.changed=!0}},institutionSearch:function(e){"string"==typeof e&&this.handleInstitutionInput(e),e&&e.length>3&&this.searchInstitutions()}},created:function(){var e=this;return o()(r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.reset();case 1:case"end":return t.stop()}}),t)})))()},mounted:function(){$.a.$on(ut.a.MANUSCRIPT_SHOW_ADD_ADDRESS_MODAL,this.showAddMode),$.a.$on(ut.a.MANUSCRIPT_SHOW_EDIT_ADDRESS_MODAL,this.showEditMode)},beforeDestroy:function(){$.a.$off(ut.a.MANUSCRIPT_SHOW_ADD_ADDRESS_MODAL),$.a.$off(ut.a.MANUSCRIPT_SHOW_EDIT_ADDRESS_MODAL)}},Jt=n("B5h7"),Kt=Object(W.a)(qt,Ot,[],!1,null,null,null),Zt=Kt.exports;fe()(Kt,{VAlert:Jt.a,VBtn:Be.a,VCol:Te.a,VDivider:_t.a,VIcon:me.a,VList:xt.a,VListItem:wt.a,VListItemContent:kt.b,VListItemSubtitle:kt.c,VListItemTitle:kt.d,VMenu:St.a,VRow:Ee.a,VTextField:Mt.a});var Qt=function(){var e=this,t=e._self._c;return t("PJModalVuetify",{scopedSlots:e._u([{key:"body",fn:function(){return[t("div",{staticClass:"text-center"},[t("div",{staticClass:"text-uppercase mb-2"},[e._v("Confirm Institution")]),e._v(" "),t("h2",{staticClass:"mb-1"},[e._v("Does this author have an institutional email account?")])]),e._v(" "),t("v-row",{staticClass:"py-3"},[t("v-col",{attrs:{cols:"6"}},[t("v-sheet",{staticClass:"rounded px-4 py-4",staticStyle:{height:"100%"},attrs:{color:"amber lighten-5"}},[t("h3",{staticClass:"text-center mb-1"},[e._v("YES")]),e._v(" "),t("ol",[t("li",{staticClass:"mb-4"},[e._v("This author must compose an email in their "),t("b",[e._v("institutional email account")]),e._v(".")]),e._v(" "),t("li",{staticClass:"mb-4"},[e._v("Paste this text into the email:\n "),t("br"),t("b",[e._v("I am "+e._s(e.author.displayName)+" confirming my institutional email. Article ID: "+e._s(e.article.i
232d))])]),e._v(" "),t("li",[e._v("Send email to: "),t("a",{attrs:{href:"mailto:"+e.companyEmails.EDITORIAL_SUPPORT}},[e._v(e._s(e.companyEmails.EDITORIAL_SUPPORT))])])])])],1),e._v(" "),t("v-col",{attrs:{cols:"6"}},[t("v-sheet",{staticClass:"rounded px-4 py-4",attrs:{color:"amber lighten-5"}},[t("h3",{staticClass:"text-center mb-1"},[e._v("NO")]),e._v(" "),t("div",[e._v("\n Upload (as a "),t("a",{attrs:{href:e.filesPageUrl,target:"_blank"}},[e._v("supplemental file")]),e._v(") a photo of one of the following:\n "),t("ul",{staticClass:"mt-4"},[t("li",{staticClass:"mb-4"},[t("b",[e._v("Institutional ID card")]),e._v(" - With name, affiliation and photo displayed.")]),e._v(" "),t("li",[t("b",[e._v("Signed department letter")]),e._v(" - On Institution-header paper and signed by department head.")])]),e._v(" "),t("div",{staticClass:"mt-4"},[e._v("\n Or "),t("a",{attrs:{href:"mailto:"+e.companyEmails.EDITORIAL_SUPPORT}},[e._v("email us a link ")]),e._v(" to their departmental webpage displaying the email: "),t("b",[e._v(e._s(e.author.email))]),e._v(".\n ")])])])],1)],1)]},proxy:!0}]),model:{value:e.open,callback:function(t){e.open=t},expression:"open"}})};Qt._withStripped=!0;var en=n("Uhsw"),tn={data:function(){return{open:!1,author:{}}},computed:{user:function(){return this.$store.state.user.user},article:function(){return this.$store.state.articleModel.article},filesPageUrl:function(){return"/manuscripts/".concat(this.article.id,"/files#peerj-supplemental-container")}},methods:{show:function(e){this.open=!0,this.author=e}},created:function(){this.companyEmails=en.a},mounted:function(){$.a.$on(ut.a.MANUSCRIPT_SHOW_INSTITUTIONAL_EMAIL_MODAL,this.show)},beforeMount:function(){$.a.$off(ut.a.MANUSCRIPT_SHOW_INSTITUTIONAL_EMAIL_MODAL)},beforeDestroy:function(){$.a.$off(ut.a.MANUSCRIPT_SHOW_INSTITUTIONAL_EMAIL_MODAL)}},nn=Object(W.a)(tn,Qt,[],!1,null,null,null),rn=nn.exports;fe()(nn,{VCol:Te.a,VRow:Ee.a,VSheet:et.a});var an=n("uOAK"),on=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",[n.d_authors?[t("VBetterDraggable",e._g({staticClass:"d-flex flex-wrap",attrs:{items:n.d_authors,group:"authors","ghost-class":"drag-ghost",animation:200,"lock-drag":!e.canReorderAuthors||e.disabled,disabled:!e.canEditAuthors||e.disabled,"item-class":"AuthorItem","iteration-key":"id"},on:{"item-clicked":n.itemClicked,"update-items":function(e){return n.emit("update-items",e)}},scopedSlots:e._u([{key:"label",fn:function(){return[t(n.APLabel,{attrs:{"can-edit-authors":e.canEditAuthors,"can-reorder-authors":e.canReorderAuthors}})]},proxy:!0},{key:"item",fn:function(t){var n=t.item,i=t.index;return[e._t("item",null,{item:n,index:i})]}}],null,!0)},n.listeners))]:e._e()],2)};on._withStripped=!0;var sn=n("RLp7"),ln=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("small",{staticClass:"ml-0 grey--text text--darken-2"},[t("span",[e._v("Click to "+e._s(e.canEditAuthors?"edit":"view")+".")]),e._v(" "),e.canReorderAuthors?[t("span",[e._v("Drag to re-order.")])]:e._e(),e._v(" "),t("span",{staticClass:"faux-link",on:{click:function(e){n.keyOpen=!n.keyOpen}}},[e._v("\n "+e._s(n.keyOpen?"Hide key":"View key")+"\n ")]),e._v(" "),t("transition",{attrs:{name:"transition-fade"}},[n.keyOpen?[t("v-sheet",{staticClass:"d-flex mt-2 mb-3",attrs:{rounded:"",outlined:""}},[t("v-sheet",{staticClass:"py-2 px-3 d-flex align-items-center mr-2",attrs:{color:"grey darken-2",dark:""}},[t("strong",[e._v("Key")])]),e._v(" "),t("div",{staticClass:"d-flex align-center text--secondary key-items-container"},e._l(n.authorKeyItems,(function(n){return t("div",{key:n.label,staticClass:"d-flex align-items-center pr-6"},[n.icon?[t("v-icon",{staticClass:"mr-1",attrs:{small:""}},[e._v("\n mdi-"+e._s(n.icon)+"\n ")])]:n.entity?[t("div",{staticClass:"mr-1 font-weight-black",domProps:{innerHTML:e._s(n.entity)}})]:e._e(),e._v(" "),t("span",{domProps:{textContent:e._s(n.label)}})],2)})),0),e._v(" "),t("v-sheet",{staticClass:"d-flex border-1 align-items-center ml-auto",staticStyle:{cursor:"pointer"},on:{click:function(e){n.keyOpen=!n.keyOpen}}},[t("v-icon",[e._v("mdi-close")])],1)],1)]:e._e()],2)],2)};ln._withStripped=!0;var cn={__name:"APLabel",props:{canEditAuthors:{type:Boolean,default:!1},canReorderAuthors:{type:Boolean,default:!1}},setup:function(e){return{__sfc:!0,props:e,keyOpen:Object(f.ref)(!1),authorKeyItems:Object(f.computed)((function(){return[{icon:"email",label:"Corresponding"},{entity:"†",label:"Deceased"},{icon:"asterisk",label:"Equal first author"},{icon:"pencil",label:"Admin"}]}))}}},un=Object(W.a)(cn,ln,[],!1,null,null,null),dn=un.exports;fe()(un,{VIcon:me.a,VSheet:et.a});var hn={__name:"AuthorPicker",props:{authors:{type:Array,required:!0},canEditAuthors:{type:Boolean,default:!1},canReorderAuthors:{type:Boolean,default:!1},showDelete:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["item-clicked","update-items"],setup:function(e,t){var n=t.emit,
232i=e,r=Object(f.useListeners)(),a=Object(sn.c)(),o=Object(f.ref)(null);return Object(f.onMounted)((function(){o.value=mt()(i.authors)})),{__sfc:!0,listeners:r,emit:n,router:a,props:i,itemClicked:function(e){i.canEditAuthors&&n("item-click",e)},d_authors:o,APLabel:dn}}},fn=(n("ZxkM"),Object(W.a)(hn,on,[],!1,null,"5f0ab308",null).exports),pn=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.APListItemAlert,{attrs:{"show-alert":n.showAlert&&!e.hidePopup&&!e.loading,errors:!e.hidePopup&&!e.loading&&n.errors,warnings:!e.hidePopup&&!e.loading&&n.warnings,id:"error_".concat(e.author.id),"email-author-link":n.emailAuthorLink}},[t("div",{class:n.authorListItemClass,attrs:{"aria-invalid":n.showAlert,"aria-describedby":n.showAlert?"error_".concat(e.author.id):"","aria-errormessage":n.showAlert?"error_".concat(e.author.id):""}},[e.loading?[t("div",{staticClass:"loader"},[t("v-icon",{staticClass:"mdi-spin"},[e._v("\n mdi-loading\n ")])],1)]:e._e(),e._v(" "),e.author.displayName.trim()?t("span",[e._v(e._s(e.author.displayName))]):t("span",[e._v(e._s(e.author.email))]),e._v(" "),t("sup",{staticClass:"ref-container"},[t("span",[e._v(e._s(e.refNumber))]),e._v(" "),e._l(n.icons,(function(n){var i=n.key,r=n.icon,a=void 0===r?void 0:r,o=n.html,s=void 0===o?void 0:o;return t("span",{key:i},[e.author[i]?[a?[t("v-icon",{attrs:{"x-small":""}},[e._v(e._s(a))])]:[t("span",{domProps:{innerHTML:e._s(s)}})]]:e._e()],2)}))],2),e._v(" "),e.showDelete?t("div",{staticClass:"delete-icon",on:{click:function(e){return n.emit("delete")}}},[t("i",{staticClass:"icon icon-remove-sign"})]):e._e()],2)])};pn._withStripped=!0;var mn=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("PJPopover",{staticClass:"APListItemAlert",attrs:{position:"top","close-on-hover":!1,disabled:!e.showAlert,"mouse-down-prevent-default":""},scopedSlots:e._u([{key:"triggerContainer",fn:function(){return[e._t("default")]},proxy:!0},{key:"contentContainer",fn:function(){return[t("div",{staticClass:"APListItemAlert-popover",attrs:{id:n.attrs.id,role:"alert"}},[t("v-sheet",{staticClass:"pl-5 pr-5"},[e.errors?e._l(e.errors,(function(n){return t("div",{key:n,staticClass:"author-error-list-item error--text text--darken-2"},[t("i",{staticClass:"icon icon-warning-sign text-danger mr-1"}),e._v(" "+e._s(n)+"\n ")])})):e._e(),e._v(" "),e.warnings?e._l(e.warnings,(function(n){return t("div",{key:e.warnings,staticClass:"author-error-list-item warning--text text--darken-2"},["string"==typeof n?[t("div",[t("i",{staticClass:"icon icon-warning-sign text-warning mr-1"}),e._v(" "+e._s(n)+"\n ")])]:e._e(),e._v(" "),"profile"===n.type?[t("div",{staticStyle:{"white-space":"initial","min-width":"340px"}},[t("i",{staticClass:"icon icon-warning-sign text-warning mr-1"}),e._v("\n The name you entered ("),t("b",[e._v(e._s(e.author.displayName))]),e._v(") is different from the name this author\n entered\n on their profile page\n ("),t("b",[e._v(e._s(e.author.profile?e.author.profile.displayName:""))]),e._v("). These names must match.\n "),t("br"),t("br"),e._v("Please email the author to resolve:\n "),t("br"),e._v(" "),t("v-btn",{staticClass:"mt-2",attrs:{href:e.emailAuthorLink,color:"primary"}},[e._v("Email Author")])],1)]:e._e()],2)})):e._e()],2)],1)]},proxy:!0}],null,!0)})};mn._withStripped=!0;var gn={__name:"APListItemAlert",props:{showAlert:{type:Boolean,default:!1},color:{type:String,default:""},errors:{type:Array|Boolean,default:function(){return[]}},warnings:{type:Array|Boolean,default:function(){return[]}},emailAuthorLink:{type:String,default:""}},setup:function(e){var t=e;return{__sfc:!0,attrs:Object(f.useAttrs)(),props:t}}},vn=(n("6zbO"),Object(W.a)(gn,mn,[],!1,null,"2b8884ba",null)),bn=vn.exports;fe()(vn,{VBtn:Be.a,VSheet:et.a});var yn=n("RF1r"),_n={__name:"APListItem",props:{author:{type:Object,required:!0},article:{type:Object,required:!0},showDelete:{type:Boolean,default:!1},refNumber:{},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hidePopup:{type:Boolean,default:!1}}
232,emits:["delete"],setup:function(e,t){var n=t.emit,i=e,r=Object(f.computed)((function(){var e,t,n,r=[];return null!==(e=i.author)&&void 0!==e&&null!==(t=e.addresses)&&void 0!==t&&t.length||r.push("This author does not have an affiliation"),null!==(n=i.author)&&void 0!==n&&n.declined&&r.push("This author declined their invitation"),!!r.length&&r})),a=Object(f.computed)((function(){var e,t,n,r,a,o,s,l,c,u,d=[];return null!==(e=i.article)&&void 0!==e&&null!==(t=e.authorChanges)&&void 0!==t&&null!==(n=t.filter((function(e){return!e.isApproved})))&&void 0!==n&&n.length&&d.push("This author change needs approval"),null!==(r=i.author)&&void 0!==r&&null!==(a=r.invitation)&&void 0!==a&&a.accepted||!(null!==(o=i.article)&&void 0!==o&&o.hasPreviousSubmission||null!==(s=i.article)&&void 0!==s&&s.currentRevisionSubmitted)||d.push("This author has not confirmed"),!(null!==(l=i.author)&&void 0!==l&&l.displayName)===(null===(c=i.author)||void 0===c||null===(u=c.profile)||void 0===u?void 0:u.displayName)&&d.push({type:"profile"}),!!d.length&&d})),o=Object(f.computed)((function(){return!(!r.value&&!a.value)})),s=Object(f.computed)((function(){return["author-list-item",{isDisabled:i.disabled},{"error lighten-4":r.value},{"warning lighten-1":a.value}]})),l=Object(f.computed)((function(){return[{key:"corresponding",icon:"mdi-email"},{key:"deceased",html:"†"},{key:"equalContrib",icon:"mdi-asterisk"},{key:"admin",icon:"mdi-pencil"}]})),c=Object(yn.e)("user",["user"]).user,u=Object(f.computed)((function(){var e=Ze(i.article.title,i.author.displayName,i.author.profile?i.author.profile.displayName:"",c.value.firstName);return"mailto:".concat(i.author.email,"?subject=Please%20update%20your%20profile%20name&body=").concat(e)}));return{__sfc:!0,props:i,errors:r,warnings:a,showAlert:o,authorListItemClass:s,emit:n,icons:l,user:c,emailAuthorLink:u,APListItemAlert:bn}}},xn=(n("0Gc7"),Object(W.a)(_n,pn,[],!1,null,"65daddaf",null)),wn=xn.exports;fe()(xn,{VIcon:me.a});var kn=n("CRKT");function Sn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Mn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sn(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ln=!1,An=!1,On={beforeRouteUpdate:function(e,t,n){e.params.authorId?this.showEditAuthorModalFromRoute(e):e.params.affiliationId&&this.showEditAddressModalFromRoute(e),n()},components:{FixedWidthBody:kn.default,APListItem:wn,AuthorPicker:fn,ManuscriptSidebarLayout:Ve,SectionChecklist:Ge,AuthorListItem:nt,AddressListItem:ot,VueDraggable:Ie.a,AddAuthorModal:At,AddAddressModal:Zt,NonInstitutionalEmailModal:rn},data:function(){return{authorsLoading:!1,authorOrderLoading:!1,affiliationsLoading:!1,keyOpen:!1,authorPopoverDisabled:!1,authorElIdToFocusAfterSave:void 0,hidePopup:!1}},computed:Mn(Mn({},Object(d.e)({article:function(e){return e.articleModel.article},affiliations:function(e){return e.articleModel.affiliations.all}})),{},{authors:{get:function(){return this.$store.state.articleModel.authors.all},set:function(e){this.$store.commit("articleModel/authors/set",e)}},navSingleAuthorConfirm:function(){return 1==this.authors.length},articleId:function(){return this.$router.currentRoute.params.id},loading:function(){return this.authorsLoading+this.affiliationsLoading},orderedAffiliations:function(){var e=this,t=[];this.authors.forEach((function(e){e.addresses.forEach((function(e){t.includes(e.apiId)||t.push(e.apiId)}))}));var n=[];return t.forEach((function(t){e.affiliations.forEach((function(e){e.apiId==t&&n.push(e)}))})),this.affiliations.forEach((function(e){t.includes(e.apiId)||n.push(e)})),n},isStaff:function(){return this.$store.state.user.user.roles.includes("ROLE_STAFF")},isChecker:function(){return this.$store.state.user.user.roles.includes("ROLE_CHECKER")},oldUrl:function(){return this.$router.currentRoute.path+"staff"},approvalRequired:function(){return this.article.authorChanges.filter((function(e){return!e.isApproved})).length},approvalUrl:function(){return"/manuscripts/"+this.articleId+"/validate"},showCorrespondingWarning:function(){return!this.authors.filter((function(e){return e.corresponding})).length},showAddAuthor:function(){return this.article.allowedActions.authors.hasOwnProperty("createResource")&&this.article.allowedActions.authors.createResource},showAddAffiliation:function(){return this.article.allowedActions.authorAddresses.hasOwnProperty("createResource")&&this.article.allowedActions.authorAddresses.createResource},settingsUrl:function(){return"/manuscripts/"+this.articleId+"/settings"},continueRoute:function(){var e="",t=this.headerVars.showSubjects;return t&&this.article.allowedActions.subjects.update?e="ManuscriptSubjects":t||(e="ManuscriptKeywords"),e},canEditAuthors:function(){return this.canEditAllAuthorProperties||this.canEditAuthorEmails},canEditAllAuthorProperties:function(){return this.authors.filter((function(e){return e._allowedActions.self.updateResource})).length>0},canEditAuthorEmails:function(){return this.authors.filter((function(e){return!e._allowedActions.givenName.update&&e._allowedActions.email.update})).length>0},showEqualAuthorsHint:function(){return this.authors.filter((function(e){return e.equalContrib})).length},canReorderAuthors:function(){return this.article._allowedActions.authors.order}}),methods:{openAuthorEditModal:function(e){this.$router.push({name:"AuthorEdit",params:{authorId:e.id}})},toggleKey:function(){this.keyOpen=!this.keyOpen},getAuthors:function(){var e=this;return o()(r.a.mark((function t(){var n;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.authorsLoading=!0,t.prev=1,t.next=4,Je.a.list({urlParam
232s:{id:e.articleId}});case 4:n=(n=t.sent).items.filter((function(e){return!(null==e.givenName||null==e.familyName)})),e.$store.commit("articleModel/authors/set",n),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(1),console.log("Error getting authors",t.t0);case 12:return t.prev=12,e.authorsLoading=!1,t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[1,9,12,15]])})))()},getAffiliations:function(){var e=this;return o()(r.a.mark((function t(){var n,i;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.affiliationsLoading=!0,t.prev=1,t.next=4,rt.a.list({url:e.article.links.authorAddresses});case 4:n=t.sent,i=n.sortBy("department","asc"),e.$store.commit("articleModel/affiliations/set",i.items),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(1),console.log("Error getting affiliations",t.t0);case 12:return t.prev=12,e.affiliationsLoading=!1,t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[1,9,12,15]])})))()},getAffiliationIds:function(e){var t=this,n=[];return e.addresses.forEach((function(e){t.orderedAffiliations.forEach((function(t,i){e.apiId==t.apiId&&n.push(i+1)}))})),n.sort((function(e,t){return e-t})),n.join(", ")},getAuthorError:function(e){return this.getAffiliationIds(e)?"":"No affiliations attached"},disableAuthorPopovers:function(){this.authorPopoverDisabled=!0},enableAuthorPopovers:function(){this.authorPopoverDisabled=!1},authorDragStart:function(e){this.originalAuthorsArray=l()(this.authors)},authorsMove:function(e,t){if(this.isStaff||this.isChecker)return!0;Ln=!1,An=!1;var n=e.draggedContext.element,i=e.draggedContext.index,r=e.draggedContext.futureIndex,a=this.authors[r],o=[0,1,this.authors.length-1];return n.equalContrib&&0==i&&this.authors.length>1&&!this.authors[1].equalContrib?(console.log("Equal first author must remain in position 1"),An=!0,!1):a.equalContrib&&!n.equalContrib?(Ln=!0,!1):!(0==r&&a.equalContrib&&!n.equalContrib)&&(!(n.equalContrib&&!o.includes(r))||(Ln=!0,!1))},authorDragEnd:function(){var e=this;Ln?(this.authors=this.originalAuthorsArray,this.$store.dispatch("notificationAlerts/addNotification",{title:"",message:"Equal first authors must be in first, second or last position",type:"warning"})):An&&(this.authors=this.originalAuthorsArray,this.$store.dispatch("notificationAlerts/addNotification",{title:"",message:"An equal first author must remain in the first position",type:"warning"})),setTimeout((function(){e.authorPopoverDisabled=!1}),50)},authorsOrderUpdate:function(e){var t=this;return o()(r.a.mark((function n(){var i,a,o,s;return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!e){n.next=22;break}return i=mt()(t.authors),n.prev=2,t.authorOrderLoading=!0,a=e.map((function(e){return Je.a.endpoints.getIri(e.id)})),t.authors=l()(e.map((function(e){return new Je.a(e)}))),n.next=8,Et.a.call({url:Je.a.endpoints.list+"order/",urlParams:{id:t.article.id},method:"POST",data:a});case 8:n.next=15;break;case 10:n.prev=10,n.t0=n.catch(2),t.$store.dispatch("notificationAlerts/addNotification",{title:"Error Saving Order",message:"The author order was not saved",type:"error"}),console.log(n.t0),t.authors=l()(i);case 15:if(n.prev=15,t.authorOrderLoading=!1,!t.authorElIdToFocusAfterSave){n.next=21;break}return n.next=20,t.$nextTick();case 20:null!==(o=document.activeElement)&&void 0!==o&&null!==(s=o.classList)&&void 0!==s&&s.contains("DraggableItem")||document.getElementById(t.authorElIdToFocusAfterSave).focus();case 21:return n.finish(15);case 22:case"end":return n.stop()}}),n,null,[[2,10,15,22]])})))()},showAddAuthorModal:function(){$.a.$emit(ut.a.MANUSCRIPT_SHOW_ADD_AUTHOR_MODAL)},showAddAddressModal:function(){$.a.$emit(ut.a.MANUSCRIPT_SHOW_ADD_ADDRESS_MODAL)},showEditAuthorModal:function(e){$.a.$emit(ut.a.MANUSCRIPT_SHOW_EDIT_AUTHOR_MODAL,e)},showEditAddressModal:function(e){$.a.$emit(ut.a.MANUSCRIPT_SHOW_EDIT_ADDRESS_MODAL,e)},showEditAuthorModalFromRoute:function(e){var t=this.authors.find((function(t){return t.id==e.params.authorId}));t?this.showEditAuthorModal(t):(console.log("Author not found",e.params.authorId),this.$store.dispatch("notificationAlerts/addNotification",{title:"Error",message:"The author was not found",type:"error"}))},showEditAddressModalFromRoute:function(e){var t=this.orderedAffiliations.find((function(t){return t.id==e.params.affiliationId}));t?this.showEditAddressModal(t):(console.log("Affiliation not found",e.params.affiliationId),this.$store.dispatch("notificationAlerts/addNotification",{title:"Error",message:"The affiliation was not found",type:"error"}))},getEqualAuthorCount:function(){var e=this;return this.authors.filter((function(t){return t.equalContrib&&t.id!=e.authors[0].id})).length},updateFirstAuthorEqualContrib:function(e){var t=this.authors[0].getCopy();
232t.equalContrib=e,t.update(),this.$store.commit("articleModel/authors/update",t)},authorModalSaved:function(e){e.equalContrib&&!this.authors[0].equalContrib?this.updateFirstAuthorEqualContrib(!0):!e.equalContrib&&this.authors[0].equalContrib&&this.getEqualAuthorCount()<1&&this.updateFirstAuthorEqualContrib(!1);var t=this.authors.findIndex((function(t){return t.id===e.id}));t>-1&&(this.authors[t]=new Je.a(Mn(Mn({},this.authors[t]),e))),this.refreshArticle()},authorModalDeleted:function(e){this.authors.length&&this.authors[0].equalContrib&&this.getEqualAuthorCount()<1&&this.updateFirstAuthorEqualContrib(!1),this.refreshArticle()},refreshArticle:function(){var e=this;return o()(r.a.mark((function t(){var n;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.authorOrderLoading=!0,t.prev=1,t.next=4,re.a.get({urlParams:{id:e.articleId}});case 4:n=t.sent,e.$store.commit("articleModel/set",n),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(1),console.log("Could not refresh author changes",t.t0);case 11:return t.prev=11,e.authorOrderLoading=!1,t.finish(11);case 14:case"end":return t.stop()}}),t,null,[[1,8,11,14]])}
232)))()},showSingleAuthorConfirm:function(e){var t=this;this.showConfirmModal({question:"You are the only author. Is this correct?",confirmLabel:"Yes",cancelLabel:"Add authors",confirmColor:"primary",vuetify:!0,callback:function(n){n?t.$router.push({name:e}):t.showAddAuthorModal()}})}},mounted:function(){this.getAuthors(),this.getAffiliations()},created:function(){this.authorshipCriteriaUrl="/about/policies-and-procedures/#authorship-criteria",this.checklistItems=["We will only use the information provided here, not information from source documents, for publication.",'Make changes to any <span class="red--text text--darken-2">authors highlighted in red</span> before you submit. Resolve author name issues highlighted in <span class="orange--text">yellow</span>.',"Check authors are in the correct order (drag to re-order).",{icon:"mdi-information",text:'You may add an author to edit this submission. Co-authors will receive an author confirmation email when you submit. You may then <a href="'.concat(this.settingsUrl,'">add a confirmed author as a submission admin</a>.')},{icon:"mdi-information",text:"Enter group authors on the declarations page."}],this.authorKeyItems=[{icon:"email",label:"Corresponding"},{entity:"†",label:"Deceased"},{icon:"asterisk",label:"Equal first author"},{icon:"pencil",label:"Admin"}],this.helpId=an.a.FEATURE_AUTHORS_PAGE},watch:{loading:function(){this.loading||(this.$router.currentRoute.params.authorId?this.showEditAuthorModalFromRoute(this.$router.currentRoute):this.$router.currentRoute.params.affiliationId&&this.showEditAddressModalFromRoute(this.$router.currentRoute))}}},Cn=(n("T5xV"),n("zCDB")),Tn=Object(W.a)(On,je,[],!1,null,"0bb5758a",null),En=Tn.exports;fe()(Tn,{VBtn:Be.a,VChip:Cn.a});var Dn={beforeRouteEnter:function(e,t,n){window.location.pathname!==e.path&&(window.location.href=e.path)},render:function(){}},Pn=Object(W.a)(Dn,void 0,void 0,!1,null,null,null).exports,jn={path:"/manuscripts/:id/",component:Pe,children:[{path:"authors",name:"ManuscriptAuthors",component:En,meta:{title:"Authors",newFeatureNotificationData:{id:"new-authors-page",content:"Welcome to the new authors page!",expiry:new Date(2020,11,24)},scrollCancel:!0},children:[{path:":authorId",name:"AuthorEdit",meta:{title:"Edit Author",scrollCancel:!0}},{path:"affiliation/:affiliationId",name:"AffiliationEdit",meta:{title:"Edit Affiliation",scrollCancel:!0}}]},{path:"subject-areas",name:"ManuscriptSubjects",component:Pn,meta:{title:"Subjects"}},{path:"keywords",name:"ManuscriptKeywords",component:Pn,meta:{title:"Keywords"}}]},Yn=n("jzzs"),In=n("/X4S"),Rn=n("4PtR"),Hn=n("pIxj"),Nn=n("dwWe"),Fn={id:null,content:null,notificationAlertElementId:"feature-notification-alert",dismissButtonId:"feature-notification-dismiss",get storageId(){return"feature-dismiss-"+this.id},get dismissed(){return Nn.a.getItem(this.storageId)},init:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,n=e.content,i=e.expiry;this.clear();var r=(new Date).getTime();if(i&&r>i.getTime())return!1;this.id=t,this.content=n,this.dismissed||this.show()},clear:function(){var e=document.getElementById(this.notificationAlertElementId);e&&e.parentNode.removeChild(e)},show:function(){var e=document.createElement("div");e.id=this.notificationAlertElementId,e.className="alert",e.style="display: flex;background:#5dac53;border:0; border-radius: 0; color: white;text-shadow: none; font-size:20px; margin-top:-20px;",e.innerHTML='\n <div class="container">\n <div class="d-flex" style="align-items:center; justify-content:center;">\n <b>'.concat(this.content,'</b> \x3c!--<span class="ml-1" style="opacity:0.7">Email [email protected] for help if required.</span>--\x3e\n <button id="').concat(this.helpButtonId,'" type="button" class="btn btn-success btn-sm ml-5" style="').concat("\n background: rgba(255,255,255,0.2);\n border-color: rgba(0,0,0,0.3);\n color: white;\n padding: 4px 16px;\n color: white;\n text-transform: uppercase;\n letter-spacing:1px;\n outline: none !important;",'">Help</button>\n </div>\n </div>\n <button id="').concat(this.dismissButtonId,'" type="button" class="btn" data-dismiss="alert" style="').concat("color: white; box-shadow: none; font-size:16px;background:transparent;border:0",'">\n <i class="icon icon-remove"></i>\n </button>\n ');var t=document.getElementById("nav-pad");t.parentNode.insertBefore(e,t.nextSibling),document.getElementById(this.dismissButtonId).addEventListener("click",this.dismiss.bind(this)),document.getElementById(this.helpButtonId).addEventListener("click",this.helpClick.bind(this))},dismiss:function(){Nn.a.setItem(this.storageId,1)}
232,helpClick:function(){$.a.$emit(ut.a.NEW_FEATURE_SHOW_HELP_MODAL,this.id)}};f.default.use(Y.a);var zn=new Y.a({mode:"history",base:"/",scrollBehavior:function(e,t,n){var i={x:0,y:0};if(!e.hash){var r=document.getElementById(R.a.PEERJ_CORE_VUE_ROUTER_OUTLET_ID);return r&&(i={x:0,y:r.offsetTop-64}),!e.meta.scrollCancel&&!t.meta.scrollCancelBack&&(n||i)}var a=document.getElementById(e.hash.substring(1));a&&a.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})},routes:[ye.default,we.default,Me.default,_e.default,Le.default,jn,xe.default,ke.default,Se.default,Yn.default,be.default,Ae.default,{path:"/submissions/:articleId/messages",component:oe,meta:{title:"Messages"},children:[{path:"/",name:"ArticleMessages",component:ee,meta:{title:"System Messages"}},{path:"external",name:"ArticleMessagesExternal",component:ie,meta:{title:"External Messages"}},{path:"log",name:"ArticleMessagesLog",component:ve,meta:{title:"Log Messages"},props:!0}]},Rn.default,In.default,Hn.default]});zn.beforeEach((function(e,t,n){if(t.name&&["marketing_page_edit","marketing_pages"].includes(t.name))try{var i=Object(I.usePageBuilderComposable)(),r=i.isDirty,a=i.editMode,o=i.triggerUnsavedChangesGuard;if(r.value&&a.value)return void o((function(){return n()}))}catch(e){}if(e.meta.requiresStaff&&null!==t.name){var s=j.a.state.me;if(!s.isStaff&&!s.isAdmin)return void(window.location.href="/error/403")}e.meta.title&&(document.title="PeerJ - "+e.meta.title),e.meta.metaTags&&e.meta.metaTags.map((function(e){var t=document.createElement("meta");return Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])})),t})).forEach((function(e){return document.head.appendChild(e)})),e.meta.newFeatureNotificationData?Fn.init(e.meta.newFeatureNotificationData):Fn.clear(),n()})),zn.afterEach((function(e,t){e.hash&&e.path!=t.path&&f.default.nextTick().then((function(){setTimeout((function(){var t=document.getElementById(e.hash.substring(1));t&&t.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})}),400)}))})),f.default.mixin({beforeRouteLeave:function(e,t,n){window.itemObject&&delete window.itemObject,n()}});var Bn=zn,Wn=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"]; 233/*! 234 * vue-i18n v8.22.4 235 * (c) 2021 kazuya kawaguchi 236 * Released under the MIT License. 237 */function Vn(e,t){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}var $n=Array.isArray;function Un(e){return null!==e&&"object"==typeof e}function Xn(e){return"string"==typeof e}var Gn=Object.prototype.toString;function qn(e){return"[object Object]"===Gn.call(e)}function Jn(e){return null==e}function Kn(e){return"function"==typeof e}function Zn(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=null,i=null;return 1===e.length?Un(e[0])||$n(e[0])?i=e[0]:"string"==typeof e[0]&&(n=e[0]):2===e.length&&("string"==typeof e[0]&&(n=e[0]),(Un(e[1])||$n(e[1]))&&(i=e[1])),{locale:n,params:i}}function Qn(e){return JSON.parse(JSON.stringify(e))}function ei(e,t){return!!~e.indexOf(t)}var ti=Object.prototype.hasOwnProperty;function ni(e,t){return ti.call(e,t)}function ii(e){for(var t=arguments,n=Object(e),i=1;i<arguments.length;i++){var r=t[i];if(null!=r){var a=void 0;for(a in r)ni(r,a)&&(Un(r[a])?n[a]=ii(n[a],r[a]):n[a]=r[a])}}return n}function ri(e,t){if(e===t)return!0;var n=Un(e),i=Un(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var r=$n(e),a=$n(t);if(r&&a)return e.length===t.length&&e.every((function(e,n){return ri(e,t[n])}));if(r||a)return!1;var o=Object.keys(e),s=Object.keys(t);return o.length===s.length&&o.every((function(n){return ri(e[n],t[n])}))}catch(e){return!1}}function ai(e){return null!=e&&Object.keys(e).forEach((function(t){"string"==typeof e[t]&&(e[t]=e[t].replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"))})),e}var oi={beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18n?{}
237:null),e.i18n)if(e.i18n instanceof Yi){if(e.__i18n)try{var t=e.i18n&&e.i18n.messages?e.i18n.messages:{};e.__i18n.forEach((function(e){t=ii(t,JSON.parse(e))})),Object.keys(t).forEach((function(n){e.i18n.mergeLocaleMessage(n,t[n])}))}catch(e){0}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(qn(e.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Yi?this.$root.$i18n:null;if(n&&(e.i18n.root=this.$root,e.i18n.formatter=n.formatter,e.i18n.fallbackLocale=n.fallbackLocale,e.i18n.formatFallbackMessages=n.formatFallbackMessages,e.i18n.silentTranslationWarn=n.silentTranslationWarn,e.i18n.silentFallbackWarn=n.silentFallbackWarn,e.i18n.pluralizationRules=n.pluralizationRules,e.i18n.preserveDirectiveContent=n.preserveDirectiveContent),e.__i18n)try{var i=e.i18n&&e.i18n.messages?e.i18n.messages:{};e.__i18n.forEach((function(e){i=ii(i,JSON.parse(e))})),e.i18n.messages=i}catch(e){0}var r=e.i18n.sharedMessages;r&&qn(r)&&(e.i18n.messages=ii(e.i18n.messages,r)),this._i18n=new Yi(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Yi?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof Yi&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n?(e.i18n instanceof Yi||qn(e.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Yi||e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof Yi)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick((function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher)}))}}},si={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var n=t.data,i=t.parent,r=t.props,a=t.slots,o=i.$i18n;if(o){var s=r.path,l=r.locale,c=r.places,u=a(),d=o.i(s,l,function(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}(u)||c?function(e,t){var n=t?function(e){0;return Array.isArray(e)?e.reduce(ci,{}):Object.assign({},e)}(t):{};if(!e)return n;var i=(e=e.filter((function(e){return e.tag||""!==e.text.trim()}))).every(ui);0;return e.reduce(i?li:ci,n)}(u.default,c):u),h=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return h?e(h,n,d):d}}};function li(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function ci(e,t,n){return e[n]=t,e}function ui(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var di,hi={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var n=t.props,i=t.parent,r=t.data,a=i.$i18n;if(!a)return null;var o=null,s=null;Xn(n.format)?o=n.format:Un(n.format)&&(n.format.key&&(o=n.format.key),s=Object.keys(n.format).reduce((function(e,t){var i;return ei(Wn,t)?Object.assign({},e,((i={})[t]=n.format[t],i)):e}),null));var l=n.locale||a.locale,c=a._ntp(n.value,l,o,s),u=c.map((function(e,t){var n,i=r.scopedSlots&&r.scopedSlots[e.type];return i?i(((n={})[e.type]=e.value,n.index=t,n.parts=c,n)):e.value})),d=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return d?e(d,{attrs:r.attrs,class:r.class,staticClass:r.staticClass},u):u}};function fi(e,t,n){gi(e,n)&&vi(e,t,n)}function pi(e,t,n,i){if(gi(e,n)){var r=n.context.$i18n;(function(e,t){var n=t.context;return e._locale===n.$i18n.locale}
237)(e,n)&&ri(t.value,t.oldValue)&&ri(e._localeMessage,r.getLocaleMessage(r.locale))||vi(e,t,n)}}function mi(e,t,n,i){if(n.context){var r=n.context.$i18n||{};t.modifiers.preserve||r.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e._vt,e._locale=void 0,delete e._locale,e._localeMessage=void 0,delete e._localeMessage}else Vn("Vue instance does not exists in VNode context")}function gi(e,t){var n=t.context;return n?!!n.$i18n||(Vn("VueI18n instance does not exists in Vue instance"),!1):(Vn("Vue instance does not exists in VNode context"),!1)}function vi(e,t,n){var i,r,a=function(e){var t,n,i,r;Xn(e)?t=e:qn(e)&&(t=e.path,n=e.locale,i=e.args,r=e.choice);return{path:t,locale:n,args:i,choice:r}}(t.value),o=a.path,s=a.locale,l=a.args,c=a.choice;if(o||s||l)if(o){var u=n.context;e._vt=e.textContent=null!=c?(i=u.$i18n).tc.apply(i,[o,c].concat(bi(s,l))):(r=u.$i18n).t.apply(r,[o].concat(bi(s,l))),e._locale=u.$i18n.locale,e._localeMessage=u.$i18n.getLocaleMessage(u.$i18n.locale)}else Vn("`path` is required in v-t directive");else Vn("value type not supported")}function bi(e,t){var n=[];return e&&n.push(e),t&&(Array.isArray(t)||qn(t))&&n.push(t),n}function yi(e){yi.installed=!0;(di=e).version&&Number(di.version.split(".")[0]);(function(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[e,i.locale,i._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){for(var n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];var r=this.$i18n;return r._tc.apply(r,[e,r.locale,r._getMessages(),this,t].concat(n))},e.prototype.$te=function(e,t){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),t)},e.prototype.$d=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(t=this.$i18n).d.apply(t,[e].concat(n))},e.prototype.$n=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(t=this.$i18n).n.apply(t,[e].concat(n))}})(di),di.mixin(oi),di.directive("t",{bind:fi,update:pi,unbind:mi}),di.component(si.name,si),di.component(hi.name,hi),di.config.optionMergeStrategies.i18n=function(e,t){return void 0===t?e:t}}var _i=function(){this._caches=Object.create(null)};_i.prototype.interpolate=function(e,t){if(!t)return[e];var n=this._caches[e];return n||(n=function(e){var t=[],n=0,i="";for(;n<e.length;){var r=e[n++];if("{"===r){i&&t.push({type:"text",value:i}),i="";var a="";for(r=e[n++];void 0!==r&&"}"!==r;)a+=r,r=e[n++];var o="}"===r,s=xi.test(a)?"list":o&&wi.test(a)?"named":"unknown";t.push({value:a,type:s})}else"%"===r?"{"!==e[n]&&(i+=r):i+=r}return i&&t.push({type:"text",value:i}),t}(e),this._caches[e]=n),function(e,t){var n=[],i=0,r=Array.isArray(t)?"list":Un(t)?"named":"unknown";if("unknown"===r)return n;for(;i<e.length;){var a=e[i];switch(a.type){case"text":n.push(a.value);break;case"list":n.push(t[parseInt(a.value,10)]);break;case"named":"named"===r&&n.push(t[a.value]);break;case"unknown":0}i++}return n}(n,t)};var xi=/^(?:\d)+/,wi=/^(?:\w)+/;var ki=[];ki[0]={ws:[0],ident:[3,0],"[":[4],eof:[7]},ki[1]={ws:[1],".":[2],"[":[4],eof:[7]},ki[2]={ws:[2],ident:[3,0],0:[3,0],number:[3,0]},ki[3]={ident:[3,0],0:[3,0],number:[3,0],ws:[1,1],".":[2,1],"[":[4,1],eof:[7,1]},ki[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],eof:8,else:[4,0]},ki[5]={"'":[4,0],eof:8,else:[5,0]},ki[6]={'"':[4,0],eof:8,else:[6,0]};var Si=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Mi(e){if(null==e)return"eof";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function Li(e){var t,n,i,r=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(i=r,Si.test(i)?(n=(t=r).charCodeAt(0))!==t.charCodeAt(t.length-1)||34!==n&&39!==n?t:t.slice(1,-1):"*"+r)}var Ai=function(){this._cache=Object.create(null)};Ai.prototype.parsePath=function(e){var t=this._cache[e];return t||(t=function(e){var t,n,i,r,a,o,s,l=[],c=-1,u=0,d=0,h=[];function f(){var t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,i="\\"+t,h[0](),!0}for(h[1]=function(){void 0!==n&&(l.push(n),n=void 0)},h[0]=function(){void 0===n?n=i:n+=i},h[2]=function(){h[0](),d++},h[3]=function(){if(d>0)d--,u=4,h[0]();else{if(d=0,void 0===n)return!1;if(!1===(n=Li(n)))return!1;h[1]()}};null!==u;)if(c++,"\\"!==(t=e[c])||!f()){if(r=Mi(t),8===(a=(s=ki[u])[r]||s.else||8))return;if(u=a[0],(o=h[a[1]])&&(i=void 0===(i=a[2])?t:i,!1===o()))return;if(7===u)return l}}(e))&&(this._cache[e]=t),t||[]},Ai.prototype.getPathValue=function(e,t){if(!Un(e))return null;var n=this.parsePath(t);if(0===n.length)return null;for(var i=n.length,r=e,a=0;a<i;){var o=r[n[a]];if(void 0===o)return null;r=o,a++}return r};var Oi,Ci=/<\/?[\w\s="/.':;#-\/]+>/,Ti=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,Ei=/^@(?:\.([a-z]+))?:/,Di=/[()]/g,Pi={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()},capitalize:function(e){return""+e.charAt(0).toLocaleUpperCase()+e.substr(1)}},ji=new _i,Yi=function(e){var t=this;void 0===e&&(e={}),!di&&"undefined"!=typeof window&&window.Vue&&yi(window.Vue);var n=e.locale||"en-US",i=!1!==e.fallbackLocale&&(e.fallbackLocale||"en-US"),r=e.messages||{},a=e.dateTimeFormats||{},o=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||ji,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new Ai,this._dataListeners=[],this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,this.getChoiceIndex=function(e,n){var i=Object.getPrototypeOf(t);if(i&&i.getChoiceIndex)return i.getChoiceIndex.call(t,e,n);var r,a;return t.locale in t.pluralizationRules?t.pluralizationRules[t.locale].apply(t,[e,n]):(r=e,a=n,r=Math.abs(r),2===a?r?r>1?1:0:1:r?Math.min(r,2):0)},this._exist=function(e,n){return!(!e||!n)&&(!Jn(t._path.getPathValue(e,n))||!!e[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(r).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,r[e])})),this._initVM({locale:n,fallbackLocale:i,messages:r,dateTimeFormats:a,numberFormats:o})},Ii={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0}};Yi.prototype._checkLocaleMessage=function(e,t,n){var i=function(e,t,n,r){if(qn(n))Object.keys(n).forEac
237h((function(a){var o=n[a];qn(o)?(r.push(a),r.push("."),i(e,t,o,r),r.pop(),r.pop()):(r.push(a),i(e,t,o,r),r.pop())}));else if($n(n))n.forEach((function(n,a){qn(n)?(r.push("["+a+"]"),r.push("."),i(e,t,n,r),r.pop(),r.pop()):(r.push("["+a+"]"),i(e,t,n,r),r.pop())}));else if(Xn(n)){if(Ci.test(n)){var a="Detected HTML in message '"+n+"' of keypath '"+r.join("")+"' at '"+t+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?Vn(a):"error"===e&&function(e,t){"undefined"!=typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}(a)}}};i(t,e,n,[])},Yi.prototype._initVM=function(e){var t=di.config.silent;di.config.silent=!0,this._vm=new di({data:e}),di.config.silent=t},Yi.prototype.destroyVM=function(){this._vm.$destroy()},Yi.prototype.subscribeDataChanging=function(e){this._dataListeners.push(e)},Yi.prototype.unsubscribeDataChanging=function(e){!function(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)e.splice(n,1)}}(this._dataListeners,e)},Yi.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",(function(){for(var t=e._dataListeners.length;t--;)di.nextTick((function(){e._dataListeners[t]&&e._dataListeners[t].$forceUpdate()}))}),{deep:!0})},Yi.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var e=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){e.$set(e,"locale",t),e.$forceUpdate()}),{immediate:!0})},Yi.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)},Ii.vm.get=function(){return this._vm},Ii.messages.get=function(){return Qn(this._getMessages())},Ii.dateTimeFormats.get=function(){return Qn(this._getDateTimeFormats())},Ii.numberFormats.get=function(){return Qn(this._getNumberFormats())},Ii.availableLocales.get=function(){return Object.keys(this.messages).sort()},Ii.locale.get=function(){return this._vm.locale},Ii.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},Ii.fallbackLocale.get=function(){return this._vm.fallbackLocale},Ii.fallbackLocale.set=function(e){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",e)},Ii.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Ii.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},Ii.missing.get=function(){return this._missing},Ii.missing.set=function(e){this._missing=e},Ii.formatter.get=function(){return this._formatter},Ii.formatter.set=function(e){this._formatter=e},Ii.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Ii.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},Ii.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Ii.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},Ii.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Ii.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},Ii.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Ii.warnHtmlInMessage.set=function(e){var t=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,n!==e&&("warn"===e||"error"===e)){var i=this._getMessages();
237Object.keys(i).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,i[e])}))}},Ii.postTranslation.get=function(){return this._postTranslation},Ii.postTranslation.set=function(e){this._postTranslation=e},Yi.prototype._getMessages=function(){return this._vm.messages},Yi.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Yi.prototype._getNumberFormats=function(){return this._vm.numberFormats},Yi.prototype._warnDefault=function(e,t,n,i,r,a){if(!Jn(n))return n;if(this._missing){var o=this._missing.apply(null,[e,t,i,r]);if(Xn(o))return o}else 0;if(this._formatFallbackMessages){var s=Zn.apply(void 0,r);return this._render(t,a,s.params,t)}return t},Yi.prototype._isFallbackRoot=function(e){return!e&&!Jn(this._root)&&this._fallbackRoot},Yi.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},Yi.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},Yi.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},Yi.prototype._interpolate=function(e,t,n,i,r,a,o){if(!t)return null;var s,l=this._path.getPathValue(t,n);if($n(l)||qn(l))return l;if(Jn(l)){if(!qn(t))return null;if(!Xn(s=t[n])&&!Kn(s))return null}else{if(!Xn(l)&&!Kn(l))return null;s=l}return Xn(s)&&(s.indexOf("@:")>=0||s.indexOf("@.")>=0)&&(s=this._link(e,t,s,i,"raw",a,o)),this._render(s,r,a,n)},Yi.prototype._link=function(e,t,n,i,r,a,o){var s=n,l=s.match(Ti);for(var c in l)if(l.hasOwnProperty(c)){var u=l[c],d=u.match(Ei),h=d[0],f=d[1],p=u.replace(h,"").replace(Di,"");if(ei(o,p))return s;o.push(p);var m=this._interpolate(e,t,p,i,"raw"===r?"string":r,"raw"===r?void 0:a,o);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var g=this._root.$i18n;m=g._translate(g._getMessages(),g.locale,g.fallbackLocale,p,i,r,a)}m=this._warnDefault(e,p,m,i,$n(a)?a:[a],r),this._modifiers.hasOwnProperty(f)?m=this._modifiers[f](m):Pi.hasOwnProperty(f)&&(m=Pi[f](m)),o.pop(),s=m?s.replace(u,m):s}return s},Yi.prototype._createMessageContext=function(e){var t=$n(e)?e:[],n=Un(e)?e:{};return{list:function(e){return t[e]},named:function(e){return n[e]}}},Yi.prototype._render=function(e,t,n,i){if(Kn(e))return e(this._createMessageContext(n));var r=this._formatter.interpolate(e,n,i);return r||(r=ji.interpolate(e,n,i)),"string"!==t||Xn(r)?r:r.join("")},Yi.prototype._appendItemToChain=function(e,t,n){var i=!1;return ei(e,t)||(i=!0,t&&(i="!"!==t[t.length-1],t=t.replace(/!/g,""),e.push(t),n&&n[t]&&(i=n[t]))),i},Yi.prototype._appendLocaleToChain=function(e,t,n){var i,r=t.split("-");do{var a=r.join("-");i=this._appendItemToChain(e,a,n),r.splice(-1,1)}while(r.length&&!0===i);return i},Yi.prototype._appendBlockToChain=function(e,t,n){for(var i=!0,r=0;r<t.length&&"boolean"==typeof i;r++){var a=t[r];Xn(a)&&(i=this._appendLocaleToChain(e,a,n))}return i},Yi.prototype._getLocaleChain=function(e,t){if(""===e)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[e];if(!n){t||(t=this.fallbackLocale),n=[];for(var i,r=[e];$n(r);)r=this._appendBlockToChain(n,r,t);(r=Xn(i=$n(t)?t:Un(t)?t.default?t.default:null:t)?[i]:i)&&this._appendBlockToChain(n,r,null),this._localeChainCache[e]=n}return n},Yi.prototype._translate=function(e,t,n,i,r,a,o){for(var s,l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var u=l[c];if(!Jn(s=this._interpolate(u,e[u],i,r,a,o,[i])))return s}return null},Yi.prototype._t=function(e,t,n,i){for(var r,a=[],o=arguments.length-4;o-- >0;)a[o]=arguments[o+4];if(!e)return"";var s=Zn.apply(void 0,a);this._escapeParameterHtml&&(s.params=ai(s.params));var l=s.locale||t,c=this._translate(n,l,this.fallbackLocale,e,i,"string",s.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(r=this._root).$t.apply(r,[e].concat(a))}return c=this._warnDefault(l,e,c,i,a,"string"),this._postTranslation&&null!=c&&(c=this._postTranslation(c,e)),c},Yi.prototype.t=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(n))},Yi.prototype._i=function(e,t,n,i,r){var a=this._translate(n,t,this.fallbackLocale,e,i,"raw",r);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,r)}return this._warnDefault(t,e,a,i,[r],"raw")},Yi.prototype.i=function(e,t,n){return e?(Xn(t)||(t=this.locale),this._i(e,t,this._getMessages(),null,n)):""},Yi.prototype._tc=function(e,t,n,i,r){for(var a,o=[],s=arguments.length-5;s-- >0;)o[s]=arguments[s+5];if(!e)return"";void 0===r&&(r=1);var l={count:r,n:r},c=Zn.apply(void 0,o);return c.params=Object.assign(l,c.params),o=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((a=this)._t.apply(a,[e,t,n,i].concat(o)),r)},Yi.prototype.fetchChoice=function(e,t){if(!e||!Xn(e))return null;var n=e.split("|");return n[t=this.getChoiceIndex(t,n.length)]?n[t].trim():e},Yi.prototype.tc=function(e,t){for(var n,i=[],r=arguments.length-2;r-- >0;)i[r]=arguments[r+2];return(n=this)._tc.apply(n,[e,this.locale,this._getMessages(),null,t].concat(i))},Yi.prototype._te=function(e,t,n){for(var i=[],r=arguments.length-3;r-- >0;)i[r]=arguments[r+3];var a=Zn.apply(void 0,i).locale||t;return this._exist(n[a],e)},Yi.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},Yi.prototype.getLocaleMessage=function(e){return Qn(this._vm.messages[e]||{})},Yi.prototype.setLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,t)},Yi.prototype.mergeLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,ii(void 0!==this._vm.messages[e]&&Object.keys(this._vm.messages[e]).length?this._vm.messages[e]:{},t))},Yi.prototype.getDateTimeFormat=function(e){return Qn(this._vm.dateTimeFormats[e]||{})},Yi.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t),this._clearDateTimeFormat(e,t)},Yi.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,ii(this._vm.dateTimeFormats[e]||{},t)),this._clearDateTimeFormat(e,t)},Yi.prototype._clearDateTimeFormat=function(e,t){for(var n in t){var i=e+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}},Yi.prototype._localizeDateTime=function(e,t,n,i,r){for(var a=t,o=i[a],s=this._getLocaleChain(t,n),l=0;l<s.length;l++){var c=s[l];if(a=c,!Jn(o=i[c])&&!Jn(o[r]))break}if(Jn(o)||Jn(o[r]))return null;var u=o[r],d=a+"__"+r,h=this._dateTimeFormatters[d];return h||(h=this._dateTimeFormatters[d]=new Intl.DateTimeFormat(a,u)),h.format(e)},Yi.prototype._d=function(e,t,n){if(!n)return new Intl.DateTimeFormat(t).format(e);var i=this._localizeDateTime(e,t,this.fallbackLocale,this._getDateTimeFormats(),n);
237if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(e,n,t)}return i||""},Yi.prototype.d=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=this.locale,r=null;return 1===t.length?Xn(t[0])?r=t[0]:Un(t[0])&&(t[0].locale&&(i=t[0].locale),t[0].key&&(r=t[0].key)):2===t.length&&(Xn(t[0])&&(r=t[0]),Xn(t[1])&&(i=t[1])),this._d(e,i,r)},Yi.prototype.getNumberFormat=function(e){return Qn(this._vm.numberFormats[e]||{})},Yi.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t),this._clearNumberFormat(e,t)},Yi.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,ii(this._vm.numberFormats[e]||{},t)),this._clearNumberFormat(e,t)},Yi.prototype._clearNumberFormat=function(e,t){for(var n in t){var i=e+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}},Yi.prototype._getNumberFormatter=function(e,t,n,i,r,a){for(var o=t,s=i[o],l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var u=l[c];if(o=u,!Jn(s=i[u])&&!Jn(s[r]))break}if(Jn(s)||Jn(s[r]))return null;var d,h=s[r];if(a)d=new Intl.NumberFormat(o,Object.assign({},h,a));else{var f=o+"__"+r;(d=this._numberFormatters[f])||(d=this._numberFormatters[f]=new Intl.NumberFormat(o,h))}return d},Yi.prototype._n=function(e,t,n,i){if(!Yi.availabilities.numberFormat)return"";if(!n)return(i?new Intl.NumberFormat(t,i):new Intl.NumberFormat(t)).format(e);var r=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,i),a=r&&r.format(e);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(e,Object.assign({},{key:n,locale:t},i))}return a||""},Yi.prototype.n=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=this.locale,r=null,a=null;return 1===t.length?Xn(t[0])?r=t[0]:Un(t[0])&&(t[0].locale&&(i=t[0].locale),t[0].key&&(r=t[0].key),a=Object.keys(t[0]).reduce((function(e,n){var i;return ei(Wn,n)?Object.assign({},e,((i={})[n]=t[0][n],i)):e}),null)):2===t.length&&(Xn(t[0])&&(r=t[0]),Xn(t[1])&&(i=t[1])),this._n(e,i,r,a)},Yi.prototype._ntp=function(e,t,n,i){if(!Yi.availabilities.numberFormat)return[];if(!n)return(i?new Intl.NumberFormat(t,i):new Intl.NumberFormat(t)).formatToParts(e);var r=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,i),a=r&&r.formatToParts(e);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,n,i)}return a||[]},Object.defineProperties(Yi.prototype,Ii),Object.defineProperty(Yi,"availabilities",{get:function(){if(!Oi){var e="undefined"!=typeof Intl;Oi={dateTimeFormat:e&&void 0!==Intl.DateTimeFormat,numberFormat:e&&void 0!==Intl.NumberFormat}}return Oi}}),Yi.install=yi,Yi.version="8.22.4";var Ri=Yi,Hi=n("NsVE"),Ni=n("IpYp");Object.assign(Hi.default,Ni.default),f.default.use(Ri);var Fi=new Ri({locale:Object({NODE_ENV:"production",API_BASE_URL:"/api/",BASE_URL:"/",GTM_ID:"G-X28PWMHSEH"}).VUE_APP_I18N_LOCALE||"en",fallbackLocale:Object({NODE_ENV:"production",API_BASE_URL:"/api/",BASE_URL:"/",GTM_ID:"G-X28PWMHSEH"}).VUE_APP_I18N_FALLBACK_LOCALE||"en",messages:{en:Hi.default}}),zi=n("WMpq"),Bi=n("6HWo"),Wi=n("FFdM"),Vi=n("efIP"),$i=n("/CkT"),Ui=n("ZDqI"),Xi=function(){var e=this,t=e._self._c;return t("PJModal",{ref:"modal",attrs:{title:"Add Staff Note",loading:e.saving,loadingText:"Saving..."},scopedSlots:e._u([{key:"body",fn:function(){return[t("div",{staticClass:"row",staticStyle:{display:"flex"}},[t("div",{staticClass:"col-4"},[t("div",{staticClass:"header mb-1"},[e._v("Type")]),e._v(" "),t("div",{staticClass:"type-selection-container"},e._l(e.userAvailableNoteTypes,(function(n){return t("PJRadioButton",{key:n.name,staticClass:"mb-1",attrs:{label:n.displayName,value:n.name,selected:n.name==e.selectedNoteType},on:{click:function(t){return e.selectNoteType(n.name)}}})})),1)]),e._v(" "),t("div",{staticClass:"col",attrs:{id:"AddModalTextarea"}},[t("div",{staticClass:"header mb-1",attrs:{id:"AddModalTextarea-label"}},[e._v("Note")]),e._v(" "),t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.note
237Content,expression:"noteContent"}],ref:"noteInput",staticClass:"form-control note-textarea",class:{"is-invalid":e.errors.content},attrs:{disabled:e.saving,"aria-labelledby":"AddModalTextarea-label",id:"AddModalTextarea-body"},domProps:{value:e.noteContent},on:{focus:e.clearErrors,input:function(t){t.target.composing||(e.noteContent=t.target.value)}}}),e._v(" "),e.errors.content?t("span",{staticClass:"text-danger"},[e._v(e._s(e.errors.content))]):e._e()])])]},proxy:!0},{key:"buttons",fn:function(){return[t("PJButton",{attrs:{type:"primary",loading:e.saving},nativeOn:{click:function(t){return e.saveNote()}}},[e._v("Save")])]},proxy:!0}])})};Xi._withStripped=!0;n("vDqi");var Gi=n("IJJa"),qi={props:{noteOrderType:{type:String,required:!1,default:"default"}},data:function(){return{saving:!1,noteTypes:Gi.b,selectedNoteType:Object.keys(Gi.b)[0],noteContent:"",article:{},errors:{}}},computed:{noteOrder:function(){return Gi.d[this.noteOrderType]?Gi.d[this.noteOrderType]:Gi.d.default},canAddReviewNotes:function(){return!!this.currentUser.hasRole("ROLE_REVIEWER_SUPPORT")||(this.article&&this.article.allowedArticleNoteTypes||[]).includes(Gi.c.REVIEW)},userAvailableNoteTypes:function(){var e={};this.currentUser.hasRole("ROLE_STAFF")||(e[Gi.c.CHECK]=Gi.b[Gi.c.CHECK],this.canAddReviewNotes&&(e[Gi.c.REVIEW]=Gi.b[Gi.c.REVIEW])),this.currentUser.hasRole("ROLE_CHECKER")&&(e[Gi.c.CHECK]=Gi.b[Gi.c.CHECK],e[Gi.c.CRITICAL]=Gi.b[Gi.c.CRITICAL],e[Gi.c.GENERAL]=Gi.b[Gi.c.GENERAL],e[Gi.c.PRODUCTION]=Gi.b[Gi.c.PRODUCTION]);var t=Object.keys(e).length?e:Gi.b,n=[];return this.noteOrder.forEach((function(e){t[e]&&n.push({name:e,displayName:t[e]})})),n}},methods:{reset:function(){this.article={},this.saving=!1,this.noteContent="",this.selectedNoteType=Object.keys(this.userAvailableNoteTypes)[0],this.clearErrors()},clearErrors:function(){this.errors={}},showModal:function(e){var t=this;this.reset(),this.article=e.article,this.selectedNoteType=this.userAvailableNoteTypes[0].name,e.type&&this.userAvailableNoteTypes.forEach((function(n){n.name==e.type&&(t.selectedNoteType=n.name)})),this.$refs.modal.showModal(),this.$nextTick((function(){t.$refs.noteInput&&t.$refs.noteInput.focus(),setTimeout((function(){t.noteContent=""}),10)}))},hideModal:function(){this.$refs.modal.hideModal()},saveNote:function(){var e=this,t=new Gi.a({type:this.selectedNoteType,text:this.noteContent}),n=t.validate();if(!n.status)return this.errors=n.errors,!1;this.saving=!0,t.save({urlParams:{id:this.article.id}}).then((function(t){$.a.$emit(ut.a.ARTICLE_NOTES_ADD,t),e.$store.dispatch("notificationAlerts/addNotification",{title:"Note added",message:"Your note was added to the article",type:"success"})})).catch((function(t){e.$store.dispatch("notificationAlerts/addNotification",{title:"Unable to save note",message:"Did you choose the right note type?",type:"error"}),console.log("Error saving note",t)})).finally((function(){e.saving=!1,e.hideModal()}))},selectNoteType:function(e){var t=this;this.selectedNoteType=e,this.$nextTick((function(){t.$refs.noteInput.focus()}))}},mounted:function(){$.a.$on(ut.a.ARTICLE_NOTES_SHOW_MODAL,this.showModal)},beforeDestroy:function(){$.a.$off(ut.a.ARTICLE_NOTES_SHOW_MODAL,this.showModal)}},Ji=(n("A/Bh"),Object(W.a)(qi,Xi,[],!1,null,"13b3db24",null).exports),Ki=n("4VlR"),Zi=n("ojjI"),Qi=n("LT5t"),er=function(){var e=this._self._c;return e("div",{staticClass:"notification-alerts-container"},[e("transition-group",{attrs:{name:"list"}},this._l(this.notifications,(function(t){return e("NotificationAlert",{key:t.id,staticClass:"list-item",attrs:{notification:t}})})),1)],1)};er._withStripped=!0;var tr=function(){var e=this,t=e._self._c;return t("div",{staticClass:"notification-alert",class:e.cssClass},[e.notification.title?t("div",{staticClass:"header"},[e.notification.title?t("div",[e._v(e._s(e.notification.title))]):e._e()]):e._e(),e._v(" "),t("div",{staticClass:"body"},[e._v("\n "+e._s(e.notification.message)+"\n ")]),e._v(" "),t("div",{staticClass:"notification-close",on:{click:e.dismiss}},[t("i",{staticClass:"icon icon-remove"})])])};tr._withStripped=!0;var nr={props:{notification:Object},computed:{cssClass:function(){return"notification-alert-"+this.notification.type}},methods:{dismiss:function(){this.$store.commit("notificationAlerts/removeNotification",this.notification.id)}}};n("lUu7");function ir(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var rr,ar,or={components:{NotificationAlert:Object(W.a)(nr,tr,[],!1,null,"b0e50fd4",null).exports},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
237t%2?ir(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ir(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(d.e)("notificationAlerts",["notifications"]))},sr=(n("R1d8"),Object(W.a)(or,er,[],!1,null,"549a0d2f",null).exports),lr=n("IAQg"),cr=n("AwjU"),ur=n("KBoY"),dr=n("RFP9"),hr=[{name:"vue-notifications",id:"vue-notifications",component:sr},{name:"vue-hub-alert",id:"vue-hub-alert",component:Qi.default,props:["revision","slug","status","href","communitymembershipavailable","communitymembershipexpired","label"]},{name:"article-notes-modal",id:"vue-article-note-modal",component:Ji,props:["noteOrderType"]},{name:"vue-confirm-modal",id:"vue-confirm-modal",component:lr.a},{name:"articles-data-loader",id:"vue-articles-data-loader",component:Zi.default},{delay:100,name:"article-notes",cssClass:"js-vue-article-notes",component:Ki.default,props:["articleUri","allowedTypesString","hiddenTypesString","showFilters","selectedFilterInit","startMinified","fontAwesomeVersion","limitHeight","noteOrderType","useVuex"]},{name:"article-timeline",cssClass:"js-vue-article-timeline",component:dr.default,props:["articleUri"]},{name:"deadline-extension",id:"vue-deadline-extend",component:cr.default},{name:"user-add-card-modal",id:"user-add-card-modal",component:ur.default,props:["user"]}],fr=n("7WsP"),pr=n("jK73"),mr={inserted:function(e,t){var n=t.value;if("function"==typeof n){var i=function(t){var i=e.querySelectorAll('input, select, textarea, button, [tabindex]:not([tabindex="-1"])');if(Array.from(i).some((function(e){return e===document.activeElement}))){var r=t.target;n({event:t,scrolledElement:r,focusedElement:document.activeElement})}};e._scrollFocusHandler=i,window.addEventListener("scroll",i,{capture:!0})}else console.error("v-scroll-focus directive requires a function as value")},unbind:function(e){e._scrollFocusHandler&&(window.removeEventListener("scroll",e._scrollFocusHandler,{capture:!0}),delete e._scrollFocusHandler)}},gr={inserted:function(e,t){var n=t.value;rr=function(){var i;n({rect:e.getBoundingClientRect(),vApp:null===(i=document.querySelector(".v-main__wrap"))||void 0===i?void 0:i.getBoundingClientRect()}||null,t.arg)},window.addEventListener("resize",rr),rr()},unbind:function(){window.removeEventListener("resize",rr)}},vr={inserted:function(e,t){var n=t.value;ar=function(){var e,i=null===(e=document.querySelector(".v-main__wrap"))||void 0===e?void 0:e.getBoundingClientRect();n(i||null,t.arg)},window.addEventListener("resize",ar),ar()},unbind:function(){window.removeEventListener("resize",ar)}};function br(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return yr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yr(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function yr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var _r={bind:function(e,t){var n=new ResizeObserver((function(n){var i,r=br(n);try{for(r.s();!(i=r.n()).done;){var a=i.value;a.target===e&&t.value&&"function"==typeof t.value&&t.value(a.contentRect.height)}}catch(e){r.e(e)}finally{r.f()}}));n.observe(e),e._resizeObserver=n},unbind:function(e){e._resizeObserver&&(e._resizeObserver.disconnect(),delete e._resizeObserver)}},xr=n("f3Hx"),wr=n("6OTJ"),kr={inserted:function(e,t){var n=function(){t.value(window.location.hash)};e._hashChangeHandler=n,window.addEventListener("hashchange",n),t.modifiers.immediate&&n()},unbind:function(e){window.removeEventListener("hashchange",e._hashChangeHandler),delete e._hashChangeHandler}},Sr=n("rVqX"),Mr=n("0EQO"),Lr=n("ndF9"),Ar=n("ef+w"),Or=function(){function e(){this.keys=[],this.values=[]}var t=e.prototype;return t.get=function(e){return this.values[this.keys.indexOf(e)]},t.set=function(e,t){var n=this.keys,i=this.values,r=n.indexOf(e),a=-1===r?n.length:r;n[a]=e,i[a]=t},e}(),Cr=function(){function e(){this.object={}}var t=e.prototype;return t.get=function(e){return this.object[e]},t.set=function(e,t){this.object[e]=t},e}(),Tr="function"==typeof Map,Er=function(){function e(){}var t=e.prototype;return t.connect=function(e,t){this.prev=e,this.next=t,e&&(e.next=this),t&&(t.prev=this)},t.disconnect=function(){var e=this.prev,t=this.next;e&&(e.next=t),t&&(t.prev=e)},t.getIndex=function(){for(var e=this,t=-1;e;)e=e.prev,++t;return t},e}();var Dr=function(){function e(e,t,n,i,r,a,o,s){this.prevList=e,this.list=t,this.added=n,this.removed=i,this.changed=r,this.maintained=a,this.changedBeforeAdded=o,this.fixed=s}var t=e.prototype;return Object.defineProperty(t,"ordered",{get:function(){return this.cacheOrdered||this.caculateOrdered(),this.cacheOrdered},enumerable:!0,configurable:!0}),Object.defineProperty(t,"pureChanged",{get:function(){return this.cachePureChanged||this.caculateOrdered(),this.cachePureChanged},enumerable:!0,configurable:!0}),t.caculateOrdered=function(){var e=function(e,t){var n=[],i=[];return e.forEach((function(e){var t=e[0],r=e[1],a=new Er;n[t]=a,i[r]=a}
237)),n.forEach((function(e,t){e.connect(n[t-1])})),e.filter((function(e,n){return!t[n]})).map((function(e,t){var r=e[0],a=e[1];if(r===a)return[0,0];var o=n[r],s=i[a-1],l=o.getIndex();return o.disconnect(),s?o.connect(s,s.next):o.connect(void 0,n[0]),[l,o.getIndex()]}))}(this.changedBeforeAdded,this.fixed),t=this.changed,n=[];this.cacheOrdered=e.filter((function(e,i){var r=e[0],a=e[1],o=t[i],s=o[0],l=o[1];if(r!==a)return n.push([s,l]),!0})),this.cachePureChanged=n},e}();var Pr=function(){function e(e,t){void 0===e&&(e=[]),this.findKeyCallback=t,this.list=[].slice.call(e)}return e.prototype.update=function(e){var t=[].slice.call(e),n=function(e,t,n){var i=Tr?Map:n?Cr:Or,r=n||function(e){return e},a=[],o=[],s=[],l=e.map(r),c=t.map(r),u=new i,d=new i,h=[],f=[],p={},m=[],g=0,v=0;return l.forEach((function(e,t){u.set(e,t)})),c.forEach((function(e,t){d.set(e,t)})),l.forEach((function(e,t){var n=d.get(e);void 0===n?(++v,o.push(t)):p[n]=v})),c.forEach((function(e,t){var n=u.get(e);void 0===n?(a.push(t),++g):(s.push([n,t]),v=p[t]||0,h.push([n-v,t-g]),f.push(t===n),n!==t&&m.push([n,t]))})),o.reverse(),new Dr(e,t,a,o,m,s,h,f)}(this.list,t,this.findKeyCallback);return this.list=t,n},e}();function jr(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=a.next()).done;)o.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o}function Yr(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(jr(arguments[t]));return e}var Ir=function(e){return void 0===e},Rr=function(){function e(e,t){var n,i;if(this._canceled=!1,t)try{for(var r= 238/*! ***************************************************************************** 239Copyright (c) Microsoft Corporation. 240 241Permission to use, copy, modify, and/or distribute this software for any 242purpose with or without fee is hereby granted. 243 244THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 245REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 246AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 247INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 248LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 249OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 250PERFORMANCE OF THIS SOFTWARE. 251***************************************************************************** */ 252function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(Object.keys(t)),a=r.next();!a.done;a=r.next()){var o=a.value;
252this[o]=t[o]}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}this.eventType=e}var t=e.prototype;return t.stop=function(){this._canceled=!0},t.isCanceled=function(){return this._canceled},e}(),Hr=Rr,Nr=function(){function e(){this._eventHandler={}}var t=e.prototype;return t.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=e instanceof Rr?e.eventType:e,r=Yr(this._eventHandler[i]||[]);return r.length<=0||(e instanceof Rr?(e.currentTarget=this,r.forEach((function(t){t(e)}))):r.forEach((function(e){e.apply(void 0,Yr(t))}))),this},t.once=function(e,t){var n=this;if("object"==typeof e&&Ir(t)){var i=e;for(var r in i)this.once(r,i[r]);return this}if("string"==typeof e&&"function"==typeof t){var a=function(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];t.apply(void 0,Yr(i)),n.off(e,a)};this.on(e,a)}return this},t.hasOn=function(e){return!!this._eventHandler[e]},t.on=function(e,t){if("object"==typeof e&&Ir(t)){var n=e;for(var i in n)this.on(i,n[i]);return this}if("string"==typeof e&&"function"==typeof t){var r=this._eventHandler[e];Ir(r)&&(this._eventHandler[e]=[],r=this._eventHandler[e]),r.push(t)}return this},t.off=function(e,t){if(Ir(e))return this._eventHandler={},this;if(Ir(t)){if("string"==typeof e)return delete this._eventHandler[e],this;var n=e;for(var i in n)this.off(i,n[i]);return this}var r=this._eventHandler[e];if(r)for(var a=r.length,o=0;o<a;++o)if(r[o]===t){r.splice(o,1),a<=1&&delete this._eventHandler[e];break}return this},e.VERSION="3.0.5",e}();function Fr(e,t){for(var n=e.length,i=0;i<n;++i)if(t(e[i],i))return!0;return!1}function zr(e,t){for(var n=e.length,i=0;i<n;++i)if(t(e[i],i))return e[i];return null}function Br(e){var t=e;if(void 0===t){if("undefined"==typeof navigator||!navigator)return"";t=navigator.userAgent||""}return t.toLowerCase()}function Wr(e,t){try{return new RegExp(e,"g").exec(t)}catch(e){return null}}function Vr(){if("undefined"==typeof navigator||!navigator||!navigator.userAgentData)return!1;var e=navigator.userAgentData,t=e.brands||e.uaList;return!(!t||!t.length)}function $r(e){return e.replace(/_/g,".")}function Ur(e,t){var n=null,i="-1";return Fr(e,(function(e){var r=Wr("("+e.test+")((?:\\/|\\s|:)([0-9|\\.|_]+))?",t);return!(!r||e.brand)&&(n=e,i=r[3]||"-1",e.versionAlias?i=e.versionAlias:e.versionTest&&(i=function(e,t){var n=Wr("("+e+")((?:\\/|\\s|:)([0-9|\\.|_]+))",t);return n?n[3]:""}(e.versionTest.toLowerCase(),t)||i),i=$r(i),!0)})),{preset:n,version:i}}function Xr(e,t){var n={brand:"",version:"-1"};return Fr(e,(function(e){var i=Gr(t,e);return!!i&&(n.brand=e.id,n.version=e.versionAlias||i.version,"-1"!==n.version)})),n}function Gr(e,t){return zr(e,(function(e){var n=e.brand;return Wr(""+t.test,n.toLowerCase())}))}var qr=[{test:"phantomjs",id:"phantomjs"},{test:"whale",id:"whale"},{test:"edgios|edge|edg",id:"edge"},{test:"msie|trident|windows phone",id:"ie",versionTest:"iemobile|msie|rv"},{test:"miuibrowser",id:"miui browser"},{test:"samsungbrowser",id:"samsung internet"},{test:"samsung",id:"samsung internet",versionTest:"version"},{test:"chrome|crios",id:"chrome"},{test:"firefox|fxios",id:"firefox"},{test:"android",id:"android browser",versionTest:"version"},{test:"safari|iphone|ipad|ipod",id:"safari",versionTest:"version"}],Jr=[{test:"(?=.*applewebkit/(53[0-7]|5[0-2]|[0-4]))(?=.*\\schrome)",id:"chrome",versionTest:"chrome"},{test:"chromium",id:"chrome"},{test:"whale",id:"chrome",versionAlias:"-1",brand:!0}],Kr=[{test:"applewebkit",id:"webkit",versionTest:"applewebkit|safari"}],Zr=[{test:"(?=(iphone|ipad))(?!(.*version))",id:"webview"},{test:"(?=(android|iphone|ipad))(?=.*(naver|daum|; wv))",id:"webview"},{test:"webview",id:"webview"}],Qr=[{test:"windows phone",id:"windows phone"},{test:"windows 2000",id:"window",versionAlias:"5.0"},{test:"windows nt",id:"window"},{test:"win32|windows",id:"window"},{test:"iphone|ipad|ipod",id:"ios",versionTest:"iphone os|cpu os"},{test:"macos|macintel|mac os x",id:"mac"},{test:"android|linux armv81",id:"android"},{test:"tizen",id:"tizen"},{test:"webos|web0s",id:"webos"}];function ea(e){return!!Ur(Zr,e).preset}function ta(e){var t=navigator.userAgentData,n=(t.uaList||t.brands).slice(),i=e&&e.fullVersionList,r=t.mobile||!1,a=n[0],o=(e&&e.platform||t.platform||navigator.platform).toLowerCase(),s={name:a.brand,version:a.version,majorVersion:-1,webkit:!1,webkitVersion:"-1",chromium:!1,chromiumVersion:"-1",webview:!!Xr(Zr,n).brand||ea(Br())},l={name:"unknown",version:"-1",majorVersion:-1};
252s.webkit=!s.chromium&&Fr(Kr,(function(e){return Gr(n,e)}));var c=Xr(Jr,n);if(s.chromium=!!c.brand,s.chromiumVersion=c.version||"-1",!s.chromium){var u=Xr(Kr,n);s.webkit=!!u.brand,s.webkitVersion=u.version||"-1"}var d=zr(Qr,(function(e){return new RegExp(""+e.test,"g").exec(o)}));if(l.name=d?d.id:"",e&&(l.version=e.platformVersion||"-1"),i&&i.length){var h=Xr(qr,i);s.name=h.brand||s.name,s.version=h.version||s.version}else{var f=Xr(qr,n);s.name=f.brand||s.name,s.version=f.brand&&e?e.uaFullVersion:f.version}return s.webkit&&(l.name=r?"ios":"mac"),"ios"===l.name&&s.webview&&(s.version="-1"),l.version=$r(l.version),s.version=$r(s.version),l.majorVersion=parseInt(l.version,10),s.majorVersion=parseInt(s.version,10),{browser:s,os:l,isMobile:r,isHints:!0}}function na(e){return void 0===e&&Vr()?ta():function(e){var t=Br(e),n=!!/mobi/g.exec(t),i={name:"unknown",version:"-1",majorVersion:-1,webview:ea(t),chromium:!1,chromiumVersion:"-1",webkit:!1,webkitVersion:"-1"},r={name:"unknown",version:"-1",majorVersion:-1},a=Ur(qr,t),o=a.preset,s=a.version,l=Ur(Qr,t),c=l.preset,u=l.version,d=Ur(Jr,t);if(i.chromium=!!d.preset,i.chromiumVersion=d.version,!i.chromium){var h=Ur(Kr,t);i.webkit=!!h.preset,i.webkitVersion=h.version}return c&&(r.name=c.id,r.version=u,r.majorVersion=parseInt(u,10)),o&&(i.name=o.id,i.version=s,i.webview&&"ios"===r.name&&"safari"!==i.name&&(i.webview=!1)),i.majorVersion=parseInt(i.version,10),{browser:i,os:r,isMobile:n,isHints:!1}}(e)}var ia=na;function ra(e){return Object.keys(e)}function aa(e){return e.replace(/[\s-_]([a-z])/g,(function(e,t){return t.toUpperCase()}))}function oa(e){return"function"==typeof e}var sa=function(e,t){return(sa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function la(e,t,n){if(n||2===arguments.length)for(var i,r=0,a=t.length;r<a;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function ca(){Object.__CFCS_DETECTED_DEPENDENCIES__=Object.__CFCS_DETECTED_DEPENDENCIES__||{};var e=Object.__CFCS_DETECTED_DEPENDENCIES__;return e[1]=e[1]||[],e[1]}var ua=function(){function e(e){this._emitter=new Nr,this._current=e}var t=e.prototype;return Object.defineProperty(t,"current",{get:function(){var e,t=(e=ca())[e.length-1];return null==t||t.push(this),this._current},set:function(e){this._setCurrent(e)},enumerable:!1,configurable:!0}),t.subscribe=function(e){return this.current,this._emitter.on("update",e),this},t.unsubscribe=function(e){return this._emitter.off("update",e),this},t._setCurrent=function(e){var t=this._current,n=e!==t;this._current=e,n&&this._emitter.trigger("update",e,t)},t.toString=function(){return"".concat(this.current)},t.valueOf=function(){return this.current},e}(),da=function(e){function t(t){var n=e.call(this)||this;return n._computedCallback=t,n._registered=[],n._onCheckUpdate=function(){n._setCurrent(n.current)},n._current=n.current,n}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}sa(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e);var n=t.prototype;return Object.defineProperty(n,"current",{get:function(){var e,t,n,i,r=this;e=this,t=ca(),i={host:e,observers:n=[],push:function(t){e!==t&&-1===n.indexOf(t)&&n.push(t)}},t.push(i);var a=this._computedCallback(),o=ca().pop();return this._registered.forEach((function(e){e.unsubscribe(r._onCheckUpdate)})),o.observers.forEach((function(e){e.subscribe(r._onCheckUpdate)})),this._registered=o.observers,a},enumerable:!1,configurable:!0}),t}(ua);function ha(e,t,n){void 0===n&&(n=t);var i={configurable:!0,get:function(){return xa(this,n).current},set:function(e){xa(this,n,e).current=e}};Object.defineProperty(e,t,i),n!==t&&Object.defineProperty(e,n,{configurable:!0,get:function(){return xa(this,n).current}})}function fa(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length>1?ha(e[0],e[1]):function(t,n){return ha(t,n,e[0])}}function pa(e){e.subscribe=function(e,t){this[e],xa(this,e).subscribe(t)},e.unsubscribe=function(e,t){var n=this;
252e?e in this&&xa(this,e).unsubscribe(t):ra(_a(this)).forEach((function(e){n.unsubscribe(e)}))}}function ma(e){pa(e.prototype)}function va(e,t){var n=oa(e)?e():e,i={};return ya(i),ra(n).forEach((function(e){var t=n[e];ka(t)?wa(i,e,t):wa(i,e,ba(t)),fa(e)(i,e)})),pa(i),i}function ba(e){return new ua(e)}function ya(e){var t={};return Object.defineProperty(e,"__observers__",{get:function(){return t}}),t}function _a(e,t){var n,i;e.__observers__||ya(e);var r=e.__observers__;if(!t){var a=null===(i=null===(n=null==e?void 0:e.constructor)||void 0===n?void 0:n.prototype)||void 0===i?void 0:i.__computed__;a&&a.forEach((function(t){!(t in r)&&t in e&&e[t]}))}return r}function xa(e,t,n){var i=_a(e);return i[t]||(i[t]=ba(n)),i[t]}function wa(e,t,n){_a(e)[t]=n}function ka(e){return e&&function(e){return"object"==typeof e}(e)&&"current"in e&&"subscribe"in e&&"unsubscribe"in e}function Sa(e,t){var n=oa(e)?{setup:e}:e;function i(){var e,i,r,a,o;return null!==(o=null!==(r=null!==(e=null==t?void 0:t())&&void 0!==e?e:null===(i=n.props)||void 0===i?void 0:i.call(n))&&void 0!==r?r:null===(a=n.data)||void 0===a?void 0:a.call(n))&&void 0!==o?o:{}}var r=new Nr,a=[],o=[],s=[],l=[],c={current:null},u=[],d=null,h=[],f=[],p=function(e){a.push(e)},m=function(e){d=e},g=function(e){h=e},v=function(e){f=e};return n.setup&&(c.current=n.setup({getProps:i,setInitialState:m,setEvents:g,setMethods:v,onMounted:p,onDestroy:function(e){s.push(e)},onInit:function(e){o.push(e)},emit:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];r.trigger.apply(r,la([e],t,!1))},on:function(e){l.push(e)}})||null),n.created&&(c.current=n.created(i())||null),n.events&&g(n.events),n.state&&m(n.state),n.methods&&v(n.methods),n.mounted&&p(n.mounted),n.destroy&&s.push(n.destroy),n.init&&o.push(n.init),n.on&&l.push((function(e,t,i){var r=n.on(e,t,i);return function(){var a;r&&r(),null===(a=n.off)||void 0===a||a.call(n,e,t,i)}})),{events:function(){return h},state:function(){var e=c.current;if(d)return d;if(e){var t=_a(e);m(ra(t).reduce((function(e,n){return e[n]=t[n].current,e}),{}))}return d||{}},instance:function(){return c.current},mounted:function(){var e=i();a.forEach((function(t){c.current=t(e,c.current)||c.current}))},init:function(){var e=c.current,t=i();u=h.map((function(e){var t=function(){for(var t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];(t=r).trigger.apply(t,la([e],n,!1))},n=c.current;return l.map((function(i){return i(n,e,t)})).filter(Boolean)})),o.forEach((function(n){n(e,t)}))},destroy:function(){u.forEach((function(e){e.forEach((function(e){e()}))})),r.off();var e=c.current,t=i();s.forEach((function(n){n(e,t)}))},methods:function(){return function(e,t){var n={};return t?(t.forEach((function(t){n[t]=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=e.current||e.value;return r[t].apply(r,n)}})),n):n}(c,f)},on:function(e,t){r.on(e,t)},off:function(e,t){r.off(e,t)}}}function Ma(e,t,n){var i=n.get;var r={configurable:!0,get:function(){var e,n=_a(this,!0);
252return t in n||(n[t]=(e=i.bind(this),new da(e))),xa(this,t).current}};e.__computed__||(e.__computed__=[]);var a=e.__computed__;return-1===a.indexOf(t)&&a.push(t),Object.defineProperty(e,t,r),r} 253/*! ***************************************************************************** 254Copyright (c) Microsoft Corporation. All rights reserved. 255Licensed under the Apache License, Version 2.0 (the "License"); you may not use 256this file except in compliance with the License. You may obtain a copy of the 257License at http://www.apache.org/licenses/LICENSE-2.0 258 259THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 260KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 261WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 262MERCHANTABLITY OR NON-INFRINGEMENT. 263 264See the Apache Version 2.0 License for specific language governing permissions 265and limitations under the License. 266***************************************************************************** */var La=function(e,t){return(La=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function Aa(e,t){function n(){this.constructor=e}La(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Oa,Ca=function(){return(Ca=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function Ta(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}Oa="undefined"==typeof window?{navigator:{userAgent:""}}:window;var Ea={1:"left",2:"middle",3:"right"},Da="ontouchstart"in Oa&&"safari"===ia().browser.name,Pa=function(){if("undefined"==typeof document)return"";for(var e=(document.head||document.getElementsByTagName("head")[0]).style,t=["transform","webkitTransform","msTransform","mozTransform"],n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n];return""}(),ja={"-webkit-user-select":"none","-ms-user-select":"none","-moz-user-select":"none","user-select":"none","-webkit-user-drag":"none"},Ya=function(e){for(var t=[],n=0,i=e.length;n<i;n++)t.push(e[n]);return t},Ia=function(e,t){var n;if(void 0===t&&(t=!1),"string"==typeof e){if(e.match(/^<([a-z]+)\s*([^>]*)>/)){var i=document.createElement("div");i.innerHTML=e,n=Ya(i.childNodes)}else n=Ya(document.querySelectorAll(e));t||(n=n.length>=1?n[0]:void 0)}else e===Oa?n=e:"value"in e||"current"in e?n=e.value||e.current:!e.nodeName||1!==e.nodeType&&9!==e.nodeType?"jQuery"in Oa&&e instanceof jQuery||e.constructor.prototype.jquery?n=t?e.toArray():e.get(0):Array.isArray(e)&&(n=e.map((function(e){return Ia(e)})),t||(n=n.length>=1?n[0]:void 0)):n=e;return n},Ra=Oa.requestAnimationFrame||Oa.webkitRequestAnimationFrame,Ha=Oa.cancelAnimationFrame||Oa.webkitCancelAnimationFrame;if(Ra&&!Ha){var Na={},Fa=Ra;Ra=function(e){var t=Fa((function(n){Na[t]&&e(n)}));return Na[t]=!0,t},Ha=function(e){delete Na[e]}}else Ra&&Ha||(Ra=function(e){return Oa.setTimeout((function(){e(Oa.performance&&Oa.performance.now&&Oa.performance.now()||(new Date).getTime())}),16)},Ha=Oa.clearTimeout);var za=function(e,t){var n={};for(var i in e)i&&(n[i]=t(e[i],i));return n},Ba=function(e,t){var n={};for(var i in e)i&&t(e[i],i)&&(n[i]=e[i]);return n},Wa=function(e,t){for(var n in e)if(n&&!t(e[n],n))return!1;return!0},Va=function(e,t){return Wa(e,(function(e,n){return e===t[n]}))},$a={},Ua=function(e,t){return $a[t]||($a[t]=qa(t)),$a[t](e)},Xa=function(e,t){return e&&t?za(e,(function(e,n){return Ua(e,"number"==typeof t?t:t[n])})):e},Ga=function(e){if(!isFinite(e))return 0;var t="".concat(e);if(t.indexOf("e")>=0){for(var n=0,i=1;Math.round(e*i)/i!==e;)i*=10,n++;return n}return t.indexOf(".")>=0?t.length-t.indexOf(".")-1:0},qa=function(e){var t=e<1?Math.pow(10,Ga(e)):1;return function(n){return 0===e?0:Math.round(Math.round(n/e)*e*t)/t}},Ja=function(e,t){return 180*Math.atan2(t,e)/Math.PI},Ka=function(e){var t=!0;
266return Object.keys(ja).forEach((function(n){e&&e[n]===ja[n]||(t=!1)})),t},Za=function(e,t){return e&&t?30:e?6:t?24:1},Qa=function(e,t,n){return n?!!(30===t||t&e&&n&e):!!(t&e)},eo=function(e,t,n){var i,r=((i={})[1]="auto",i[30]="none",i[24]="pan-x",i[6]="pan-y",i),a={};if(e&&e.style){var o=t.touchAction?t.touchAction:r[n],s=Ca(Ca({},ja),{"touch-action":"none"===e.style["touch-action"]?"none":o});Object.keys(s).forEach((function(t){a[t]=e.style[t]})),Object.keys(s).forEach((function(t){e.style[t]=s[t]}))}return a},to=function(e,t){e&&e.style&&t&&Object.keys(t).forEach((function(n){e.style[n]=t[n]}))},no=function(){function e(e){this._axes=e,this.holdingCount=0}var t=e.prototype;return t.hold=function(e,t){var n=this._getRoundPos(e).roundPos;this._axes.trigger(new Hr("hold",{pos:n,input:t.input||null,inputEvent:t.event||null,isTrusted:!0}))},t.triggerRelease=function(e){var t=this._getRoundPos(e.destPos,e.depaPos),n=t.roundPos,i=t.roundDepa;e.destPos=n,e.depaPos=i,e.setTo=this._createUserControll(e.destPos,e.duration),this._axes.trigger(new Hr("release",Ca(Ca({},e),{bounceRatio:this._getBounceRatio(n)})))},t.triggerChange=function(e,t,n,i){var r=this;void 0===i&&(i=!1);var a=this.animationManager,o=a.axisManager,s=a.getEventInfo(),l=this._getRoundPos(e,t),c=l.roundPos,u=l.roundDepa,d=o.moveTo(c,u),h=(null==n?void 0:n.event)||(null==s?void 0:s.event)||null,f={pos:d.pos,delta:d.delta,bounceRatio:this._getBounceRatio(d.pos),holding:i,inputEvent:h,isTrusted:!!h,input
266:(null==n?void 0:n.input)||(null==s?void 0:s.input)||null,set:h?this._createUserControll(d.pos):function(){}},p=new Hr("change",f);return this._axes.trigger(p),Object.keys(d.pos).forEach((function(e){var t=d.pos[e];xa(r._axes,e,t).current=t})),h&&o.set(f.set().destPos),!p.isCanceled()},t.triggerAnimationStart=function(e){var t=this._getRoundPos(e.destPos,e.depaPos),n=t.roundPos,i=t.roundDepa;e.destPos=n,e.depaPos=i,e.setTo=this._createUserControll(e.destPos,e.duration);var r=new Hr("animationStart",e);return this._axes.trigger(r),!r.isCanceled()},t.triggerAnimationEnd=function(e){void 0===e&&(e=!1),this._axes.trigger(new Hr("animationEnd",{isTrusted:e}))},t.triggerFinish=function(e){void 0===e&&(e=!1),this._axes.trigger(new Hr("finish",{isTrusted:e}))},t.setAnimationManager=function(e){this.animationManager=e},t.destroy=function(){this._axes.off()},t._createUserControll=function(e,t){void 0===t&&(t=0);var n={destPos:Ca({},e),duration:t};return function(e,t){return e&&(n.destPos=Ca({},e)),void 0!==t&&(n.duration=t),n}},t._getRoundPos=function(e,t){var n=this._axes.options.round;return{roundPos:Xa(e,n),roundDepa:Xa(t,n)}},t._getBounceRatio=function(e){return this._axes.axisManager.map(e,(function(e,t){return e<t.range[0]&&0!==t.bounce[0]?(t.range[0]-e)/t.bounce[0]:e>t.range[1]&&0!==t.bounce[1]?(e-t.range[1])/t.bounce[1]:0}))},Ta([fa],e.prototype,"holdingCount",void 0),e}(),io=function(){function e(e){this._options=e,this._prevented=!1}var t=e.prototype;return t.isInterrupting=function(){return this._options.interruptable||this._prevented},t.isInterrupted=function(){return!this._options.interruptable&&this._prevented},t.setInterrupt=function(e){this._options.interruptable||(this._prevented=e)},e}(),ro=function(e,t,n,i){var r=e,a=[n[0]?t[0]:i?t[0]-i[0]:t[0],n[1]?t[1]:i?t[1]+i[1]:t[1]];return r=Math.max(a[0],r),r=Math.min(a[1],r)},ao=function(e,t){return e<t[0]||e>t[1]},oo=function(e,t,n){return n[1]&&e>t[1]||n[0]&&e<t[0]},so=function(e,t,n){var i=e,r=t[0],a=t[1],o=a-r;return n[1]&&e>a&&(i=(i-a)%o+r),n[0]&&e<r&&(i=(i-r)%o+a),i},lo=function(){function e(e){var t=this;this._axis=e,this._complementOptions(),this._pos=Object.keys(this._axis).reduce((function(e,n){return e[n]=t._axis[n].startPos,e}),{})}var t=e.prototype;return t.getDelta=function(e,t){var n=this.get(e);return za(this.get(t),(function(e,t){return e-n[t]}))},t.get=function(e){var t=this;return e&&Array.isArray(e)?e.reduce((function(e,n){return n&&n in t._pos&&(e[n]=t._pos[n]),e}),{}):Ca(Ca({},this._pos),e||{})},t.moveTo=function(e,t){void 0===t&&(t=this._pos);var n=za(this._pos,(function(n,i){return i in e&&i in t?e[i]-t[i]:0}));return this.set(this.map(e,(function(e,t){return t?so(e,t.range,t.circular):0}))),{pos:Ca({},this._pos),delta:n}},t.set=function(e){for(var t in e)t&&t in this._pos&&(this._pos[t]=e[t])},t.every=function(e,t){var n=this._axis;return Wa(e,(function(e,i){return t(e,n[i],i)}))},t.filter=function(e,t){var n=this._axis;return Ba(e,(function(e,i){return t(e,n[i],i)}))},t.map=function(e,t){var n=this._axis;return za(e,(function(e,i){return t(e,n[i],i)}))},t.isOutside=function(e){return!this.every(e?this.get(e):this._pos,(function(e,t){return!ao(e,t.range)}))},t.getAxisOptions=function(e){return this._axis[e]},t.setAxis=function(e){var t=this;Object.keys(e).forEach((function(n){if(!t._axis[n])throw new Error("Axis ".concat(n," does not exist in Axes instance"));t._axis[n]=Ca(Ca({},t._axis[n]),e[n])})),this._complementOptions()},t._complementOptions=function(){var e=this;
266Object.keys(this._axis).forEach((function(t){e._axis[t]=Ca({range:[0,100],startPos:e._axis[t].range[0],bounce:[0,0],circular:[!1,!1]},e._axis[t]),["bounce","circular"].forEach((function(n){var i=e._axis,r=i[t][n];/string|number|boolean/.test(typeof r)&&(i[t][n]=[r,r])}))}))},e}(),co="ontouchstart"in Oa,uo="PointerEvent"in Oa,ho=uo||"MSPointerEvent"in Oa,fo=function(e,t){return!!(!t||t.indexOf("any")>-1||t.indexOf("none")>-1&&!e.shiftKey&&!e.ctrlKey&&!e.altKey&&!e.metaKey||t.indexOf("shift")>-1&&e.shiftKey||t.indexOf("ctrl")>-1&&e.ctrlKey||t.indexOf("alt")>-1&&e.altKey||t.indexOf("meta")>-1&&e.metaKey)},po=function(){function e(){var e=this;this._stopContextMenu=function(t){t.preventDefault(),Oa.removeEventListener("contextmenu",e._stopContextMenu)}}var t=e.prototype;return t.extendEvent=function(e){var t,n=this.prevEvent,i=this._getCenter(e),r=n?this._getMovement(e):{x:0,y:0},a=n?this._getScale(e):1,o=n?Ja(i.x-n.center.x,i.y-n.center.y):0,s=n?n.deltaX+r.x:r.x,l=n?n.deltaY+r.y:r.y,c=r.x,u=r.y,d=this._latestInterval,h=Date.now(),f=d?h-d.timestamp:0,p=n?n.velocityX:0,m=n?n.velocityY:0,g=n?n.directionX:1,v=n?n.directionY:1;return c>0?g=1:c<0&&(g=-1),u>0?v=1:u<0&&(v=-1),(!d||f>=16)&&(d&&(p=(t=[(s-d.deltaX)/f,(l-d.deltaY)/f])[0],m=t[1]),this._latestInterval={timestamp:h,deltaX:s,deltaY:l}),{srcEvent:e,scale:a,angle:o,center:i,deltaX:s,deltaY:l,offsetX:c,offsetY:u,directionX:g,directionY:v,velocityX:p,velocityY:m,preventSystemEvent:!0}},t._getDistance=function(e,t){var n=t.clientX-e.clientX,i=t.clientY-e.clientY;return Math.sqrt(n*n+i*i)},t._getButton=function(e){var t={1:"left",2:"right",4:"middle"},n=this._isTouchEvent(e)?"left":t[e.buttons];return n||null},t._isTouchEvent=function(e){return e.type&&e.type.indexOf("touch")>-1},t._isValidButton=function(e,t){return t.indexOf(e)>-1},t._isValidEvent=function(e,t,n){return(!t||fo(e,t))&&(!n||this._isValidButton(this._getButton(e),n))},t._preventMouseButton=function(e,t){"right"===t?Oa.addEventListener("contextmenu",this._stopContextMenu):"middle"===t&&e.preventDefault()},e}(),mo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.start=["mousedown"],t.move=["mousemove"],t.end=["mouseup"],t}Aa(t,e);var n=t.prototype;return n.onEventStart=function(e,t,n){var i=this._getButton(e);return this._isValidEvent(e,t,n)?(this._preventMouseButton(e,i),this.extendEvent(e)):null},n.onEventMove=function(e,t,n){return this._isValidEvent(e,t,n)?this.extendEvent(e):null},n.onEventEnd=function(){},n.onRelease=function(){this.prevEvent=null},n.getTouches=function(e,t){return t&&this._isValidButton(Ea[e.which],t)&&-1===this.end.indexOf(e.type)?1:0},n._getScale=function(){return 1},n._getCenter=function(e){return{x:e.clientX,y:e.clientY}},n._getMovement=function(e){var t=this.prevEvent.srcEvent;return{x:e.clientX-t.clientX,y:e.clientY-t.clientY}},t}(po),go=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.start=["touchstart"],t.move=["touchmove"],t.end=["touchend","touchcancel"],t}Aa(t,e);var n=t.prototype;return n.onEventStart=function(e,t){return this._baseTouches=e.touches,this._isValidEvent(e,t)?this.extendEvent(e):null},n.onEventMove=function(e,t){return this._isValidEvent(e,t)?this.extendEvent(e):null},n.onEventEnd=function(e){this._baseTouches=e.touches},n.onRelease=function(){this.prevEvent=null,this._baseTouches=null},n.getTouches=function(e){return e.touches.length},n._getScale=function(e){return 2!==e.touches.length||this._baseTouches.length<2?null:this._getDistance(e.touches[0],e.touches[1])/this._getDistance(this._baseTouches[0],this._baseTouches[1])},n._getCenter=function(e){return{x:e.touches[0].clientX,y:e.touches[0].clientY}},n._getMovement=function(e){var t=this.prevEvent.srcEvent;return e.touches[0].identifier!==t.touches[0].identifier?{x:0,y:0}:{x:e.touches[0].clientX-t.touches[0].clientX,y:e.touches[0].clientY-t.touches[0].clientY}},t}(po),vo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.start=uo?["pointerdown"]:["MSPointerDown"],t.move=uo?["pointermove"]:["MSPointerMove"],t.end=uo?["pointerup","pointercancel"]:["MSPointerUp","MSPointerCancel"],t._firstInputs=[],t._recentInputs=[],t}Aa(t,e);var n=t.prototype;return n.onEventStart=function(e,t,n){var i=this._getButton(e);return this._isValidEvent(e,t,n)?(this._preventMouseButton(e,i),this._updatePointerEvent(e),this.extendEvent(e)):null},n.onEventMove=function(e,t,n){return this._isValidEvent(e,t,n)?(this._updatePointerEvent(e),this.extendEvent(e)):null},n.onEventEnd=function(e){this._removePointerEvent(e)},n.onRelease=function(){this.prevEvent=null,this._firstInputs=[],this._recentInputs=[]},n.getTouches=function(){return this._recentInputs.length},n._getScale=function(){return 2!==this._recentInputs.length?null:this._getDistance(this._recentInputs[0],this._recentInputs[1])/this._getDistance(this._firstInputs[0],this._firstInputs[1])},n._getCenter=function(e){return{x:e.clientX,y:e.clientY}},n._getMovement=function(e){var t=this.prevEvent.srcEvent;return e.pointerId!==t.pointerId?{x:0,y:0}:{x:e.clientX-t.clientX,y:e.clientY-t.clientY}},n._updatePointerEvent=function(e){var t=this,n=!1;
266this._recentInputs.forEach((function(i,r){i.pointerId===e.pointerId&&(n=!0,t._recentInputs[r]=e)})),n||(this._firstInputs.push(e),this._recentInputs.push(e))},n._removePointerEvent=function(e){this._firstInputs=this._firstInputs.filter((function(t){return t.pointerId!==e.pointerId})),this._recentInputs=this._recentInputs.filter((function(t){return t.pointerId!==e.pointerId}))},t}(po),bo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.start=["mousedown","touchstart"],t.move=["mousemove","touchmove"],t.end=["mouseup","touchend","touchcancel"],t}Aa(t,e);var n=t.prototype;return n.onEventStart=function(e,t,n){var i=this._getButton(e);return this._isTouchEvent(e)&&(this._baseTouches=e.touches),this._isValidEvent(e,t,n)?(this._preventMouseButton(e,i),this.extendEvent(e)):null},n.onEventMove=function(e,t,n){return this._isValidEvent(e,t,n)?this.extendEvent(e):null},n.onEventEnd=function(e){this._isTouchEvent(e)&&(this._baseTouches=e.touches)},n.onRelease=function(){this.prevEvent=null,this._baseTouches=null},n.getTouches=function(e,t){return this._isTouchEvent(e)?e.touches.length:this._isValidButton(Ea[e.which],t)&&-1===this.end.indexOf(e.type)?1:0},n._getScale=function(e){return this._isTouchEvent(e)?2!==e.touches.length||this._baseTouches.length<2?1:this._getDistance(e.touches[0],e.touches[1])/this._getDistance(this._baseTouches[0],this._baseTouches[1]):this.prevEvent.scale},n._getCenter=function(e){return this._isTouchEvent(e)?{x:e.touches[0].clientX,y:e.touches[0].clientY}:{x:e.clientX,y:e.clientY}},n._getMovement=function(e){var t=this,n=[e,this.prevEvent.srcEvent].map((function(e){return t._isTouchEvent(e)?{id:e.touches[0].identifier,x:e.touches[0].clientX,y:e.touches[0].clientY}:{id:null,x:e.clientX,y:e.clientY}})),i=n[0],r=n[1];return i.id===r.id?{x:i.x-r.x,y:i.y-r.y}:{x:0,y:0}},t}(po),yo=function(e,t){return t.reduce((function(t,n,i){return e[i]&&(t[e[i]]=n),t}),{})},_o=function(e){void 0===e&&(e=[]);var t=!1,n=!1,i=!1;return e.forEach((function(e){switch(e){case"mouse":n=!0;break;case"touch":t=co;break;case"pointer":i=ho}})),i?new vo:t&&n?new bo:t?new go:n?new mo:null};function xo(e){return e.indexOf("touch")>-1&&{passive:!1}}var wo=function(){function e(e){var t=e.options,n=e.interruptManager,i=e.eventManager,r=e.axisManager,a=e.animationManager;this._isOutside=!1,this._moveDistance=null,this._isStopped=!1,this.options=t,this._interruptManager=n,this._eventManager=i,this._axisManager=r,this._animationManager=a}var t=e.prototype;return t.get=function(e){return this._axisManager.get(e.axes)},t.hold=function(e,t){if(!this._interruptManager.isInterrupted()&&e.axes.length){var n={input:e,event:t};this._isStopped=!1,this._interruptManager.setInterrupt(!0),this._animationManager.stopAnimation(n),++this._eventManager.holdingCount,this._moveDistance||this._eventManager.hold(this._axisManager.get(),n),this._isOutside=this._axisManager.isOutside(e.axes),this._moveDistance=this._axisManager.get(e.axes)}},t.change=function(e,t,n,i){if(!this._isStopped&&this._interruptManager.isInterrupting()&&!this._axisManager.every(n,(function(e){return 0===e}))){var r=t.srcEvent?t.srcEvent:t;if(!r.__childrenAxesAlreadyChanged){var a,o=this._moveDistance||this._axisManager.get(e.axes);a=za(o,(function(e,t){return e+(n[t]||0)})),this._moveDistance&&(this._moveDistance=this._axisManager.map(a,(function(e,t){var n=t.circular,i=t.range;return n&&(n[0]||n[1])?so(e,i,n):e}))),this._isOutside&&this._axisManager.every(o,(function(e,t){return!ao(e,t.range)}))&&(this._isOutside=!1),o=this._atOutside(o),a=this._atOutside(a),this.options.nested&&this._isEndofAxis(n,o,a)||(r.__childrenAxesAlreadyChanged=!0);var s={input:e,event:t};if(i){var l=this._animationManager.getDuration(a,o);this._animationManager.animateTo(a,l,s)}else{!this._eventManager.triggerChange(a,o,s,!0)&&(this._isStopped=!0,this._moveDistance=null,this._animationManager.finish(!1))}}}},t.release=function(e,t,n,i){if(!this._isStopped&&this._interruptManager.isInterrupting()&&this._moveDistance){var r=t.srcEvent?t.srcEvent:t;r.__childrenAxesAlreadyReleased&&(n=n.map((function(){return 0})));var a=this._axisManager.get(e.axes),o=this._axisManager.get(),s=this._animationManager.getDisplacement(n),l=yo(e.axes,s),c=this._axisManager.get(this._axisManager.map(l,(function(e,t,n){return t.circular&&(t.circular[0]||t.circular[1])?a[n]+e:ro(a[n]+e,t.range,t.circular,t.bounce)})));r.__childrenAxesAlreadyReleased=!0;var u=this._animationManager.getDuration(c,a,i);0===u&&(c=Ca({},o));var d={depaPos:o,destPos:c,duration:u,delta:this._axisManager.getDelta(o,c),inputEvent:t,input:e,isTrusted:!0};--this._eventManager.holdingCount,this._eventManager.triggerRelease(d),0===this._eventManager.holdingCount&&(this._moveDistance=null);var h=this._animationManager.getUserControl(d),f=Va(h.destPos,o),p={input:e,event:t};f||0===h.duration?(f||this._eventManager.triggerChange(h.destPos,o,p,!0),this._interruptManager.setInterrupt(!1),this._axisManager.isOutside()?this._animationManager.restore(p):this._eventManager.triggerFinish(!0)):this._animationManager.animateTo(h.destPos,h.duration,p)}},t._atOutside=function(e){var t=this;return this._isOutside?this._axisManager.map(e,(function(e,t){var n=t.range[0]-t.bounce[0],i=t.range[1]+t.bounce[1];return e>i?i:e<n?n:e})):this._axisManager.map(e,(function(e,n){var i=n.range[0],r=n.range[1],a=n.bounce,o=n.circular;return o[0]&&e<i||o[1]&&e>r?e:e<i?i-t._animationManager.interpolate(i-e,a[0]):e>r?r+t._animationManager.interpolate(e-r,a[1]):e}))},t._isEndofAxis=function(e,t,n){return this._axisManager.every(t,(function(i,r,a){return 0===e[a]||t[a]===n[a]&&(o=i,s=r.range,l=r.bounce,!(c=r.circular)[0]&&o===s[0]-l[0]||!c[1]&&o===s[1]+l[1]);var o,s,l,c}))},e}(),ko=function(e,t,n){return Math.max(Math.min(e,n),t)},So=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._useDuration=!0,t}Aa(t,e);var n=t.prototype;return n.interpolate=function(e,t){var n=this._easing(1e-5)/1e-5;return this._easing(e/(t*n))*t},n.updateAnimation=function(e){var t,n=this._animateParam;if(n){var i=(new Date).getTime()-n.startTime,r=(null==e?void 0:e.destPos)||n.destPos,a=null!==(t=null==e?void 0:e.duration)&&void 0!==t?t:n.duration;if((null==e?void 0:e.restart)||a<=i)this.setTo(r,a-i);else{if(null==e?void 0:e.destPos){var o=this.axisManager.get();this._initialEasingPer=this._prevEasingPer,n.delta=this.axisManager.getDelta(o,r),n.destPos=r}if(null==e?void 0:e.duration){var s=(i+this._durationOffset)/n.duration;this._durationOffset=s*a-i,n.duration=a}}}},n._initState=function(e){return this._initialEasingPer=0,this._prevEasingPer=0,this._durationOffset=0,{pos:e.depaPos,easingPer:0,finished:!1}},n._getNextState=function(e){var t=this,n=this._animateParam,i=e.pos,r=n.destPos,a=za(i,(function(e,t){return e<=r[t]?1:-1})),o=((new Date).getTime()-n.startTime+this._durationOffset)/n.duration,s=this._easing(o),l=this.axisManager.map(i,(function(e,l,c){var u=o>=1?r[c]:e+n.delta[c]*(s-t._prevEasingPer)/(1-t._initialEasingPer),d=so(u,l.range,l.circular);if(u!==d){var h=a[c]*(l.range[1]-l.range[0]);r[c]-=h,i[c]-=h}return d}));return this._prevEasingPer=s,{pos:l,easingPer:s,finished:s>=1}},n._easing=function(e){return e>1?1:this._options.easing(e)},t}(function(){function e(e){var t=e.options,n=e.interruptManager,i=e.eventManager,r=e.axisManager;this._options=t,this.interruptManager=n,this.eventManager=i,this.axisManager=r,this.animationEnd=this.animationEnd.bind(this)}var t=e.prototype;return t.getDuration=function(e,t,n){var i,r=this;if(void 0!==n)i=n;else{var a=za(t,(function(t,n){return function(e,t){var n=Math.sqrt(e/t*2);return n<100?0:n}(Math.abs(t-e[n]),r._options.deceleration)}));i=Object.keys(a).reduce((function(e,t){return Math.max(e,a[t])}),-1/0)}return ko(i,this._options.minimumDuration,this._options.maximumDuration)},t.getDisplacement=function(e){var t=Math.pow(e.reduce((function(e,t){return e+t*t}),0),1/e.length),n=Math.abs(t/-this._options.deceleration);return e.map((function(e){return e/2*n}))},t.stopAnimation=function(e){if(this._animateParam){var t=this.axisManager.get(),n=this.axisManager.map(t,(function(e,t){return so(e,t.range,t.circular)}));Wa(n,(function(e,n){return t[n]===e}))||this.eventManager.triggerChange(n,t,e,!!e),this._animateParam=null,this._raf&&(i=this._raf,Ha(i)),this._raf=null,this.eventManager.triggerAnimationEnd(!!(null==e?void 0:e.event))}var i},t.getEventInfo=function(){return this._animateParam&&this._animateParam.input&&this._animateParam.inputEvent?{input:this._animateParam.input,event:this._animateParam.inputEvent}:null},t.restore=function(e){var t=this.axisManager.get(),n=this.axisManager.map(t,(function(e,t){return Math.min(t.range[1],Math.max(t.range[0],e))}));this.stopAnimation(),this.animateTo(n,this.getDuration(t,n),e)},t.animationEnd=function(){var e=this.getEventInfo();this._animateParam=null;var t=this.axisManager.filter(this.axisManager.get(),(function(e,t){return oo(e,t.range,t.circular)}));Object.keys(t).length>0&&this.setTo(this.axisManager.map(t,(function(e,t){return so(e,t.range,t.circular)}))),this.interruptManager.setInterrupt(!1),this.eventManager.triggerAnimationEnd(!!e),this.axisManager.isOutside()?this.restore(e):this.finish(!!e)},t.finish=function(e){this._animateParam=null,this.interruptManager.setInterrupt(!1),this.eventManager.triggerFinish(e)},t.getUserControl=function(e){var t=e.setTo();return t.destPos=this.axisManager.get(t.destPos),t.duration=ko(t.duration,this._options.minimumDuration,this._options.maximumDuration),t},t.animateTo=function(e,t,n){var i=this;this.stopAnimation();var r=this._createAnimationParam(e,t,n),a=Ca({},r.depaPos),o=this.eventManager.triggerAnimationStart(r),s=this.getUserControl(r);if(!o&&this.axisManager.every(s.destPos,(function(e,t){return oo(e,t.range,t.circular)}))&&console.warn("You can't stop the 'animation' event when 'circular' is true."),o&&!Va(s.destPos,a)){var l=(null==n?void 0:n.event)||null;this._animateLoop({depaPos:a,destPos:s.destPos,duration:s.duration,delta:this.axisManager.getDelta(a,s.destPos),isTrusted:!!l,inputEvent:l,input:(null==n?void 0:n.input)||null},(function(){return i.animationEnd()}))}},t.setTo=function(e,t){void 0===t&&(t=0);var n=Object.keys(e),i=this.axisManager.get(n);if(Va(e,i))return this;this.interruptManager.setInterrupt(!0);var r=Ba(e,(function(e,t){return i[t]!==e}));return Object.keys(r).length?(r=this.axisManager.map(r,(function(e,t){var n=t.range,i=t.circular;return i&&(i[0]||i[1])?e:ro(e,n,i)})),Va(r,i)||(t>0?this.animateTo(r,t):(this.stopAnimation(),this.eventManager.triggerChange(r),this.finish(!1))),this):this},t.setBy=function(e,t){return void 0===t&&(t=0),this.setTo(za(this.axisManager.get(Object.keys(e)),(function(t,n){return t+e[n]})),t)},t.setOptions=function(e){this._options=Ca(Ca({},this._options),e)},t._createAnimationParam=function(e,t,n){var i=this.axisManager.get(),r
266=e,a=(null==n?void 0:n.event)||null;return{depaPos:i,destPos:r,duration:ko(t,this._options.minimumDuration,this._options.maximumDuration),delta:this.axisManager.getDelta(i,r),inputEvent:a,input:(null==n?void 0:n.input)||null,isTrusted:!!a,done:this.animationEnd}},t._animateLoop=function(e,t){var n=this;if(e.duration){this._animateParam=Ca(Ca({},e),{startTime:(new Date).getTime()});var i=za(e.destPos,(function(e){return e})),r=this._initState(this._animateParam),a=function(){n._raf=null;var e=n._animateParam,o=n._getNextState(r),s=!n.eventManager.triggerChange(o.pos,r.pos);if(r=o,o.finished)return e.destPos=n._getFinalPos(e.destPos,i),Va(e.destPos,n.axisManager.get(Object.keys(e.destPos)))||n.eventManager.triggerChange(e.destPos,o.pos),void t();s?n.finish(!1):n._raf=Ra(a)};a()}else this.eventManager.triggerChange(e.destPos),t()},t._getFinalPos=function(e,t){var n=this;return za(e,(function(e,i){if(e>=t[i]-1e-6&&e<=t[i]+1e-6)return t[i];var r=n._getRoundUnit(e,i);return Ua(e,r)}))},t._getRoundUnit=function(e,t){var n,i=this._options.round,r=null;if(!i){var a=this.axisManager.getAxisOptions(t);n=Math.max(Ga(a.range[0]),Ga(a.range[1]),Ga(e)),r=1/Math.pow(10,n)}return r||i},e}()),Mo=function(e){function t(t,n,i){void 0===t&&(t={}),void 0===n&&(n={}),void 0===i&&(i={});var r=e.call(this)||this;return r.axis=t,r._inputs=[],r.options=Ca({easing:function(e){return 1-Math.pow(1-e,3)},interruptable:!0,maximumDuration:1/0,minimumDuration:0,deceleration:6e-4,round:null,nested:!1}
266,n),Object.keys(i).forEach((function(e){r.axis[e].startPos=i[e]})),r.interruptManager=new io(r.options),r.axisManager=new lo(r.axis),r.eventManager=new no(r),r.animationManager=new So(r),r.inputObserver=new wo(r),r.eventManager.setAnimationManager(r.animationManager),r.eventManager.triggerChange(r.axisManager.get()),r}Aa(t,e);var n=t.prototype;return Object.defineProperty(n,"holding",{get:function(){return this.eventManager.holdingCount>0},enumerable:!1,configurable:!0}),n.connect=function(e,t){var n;return n="string"==typeof e?e.split(" "):e.concat(),~this._inputs.indexOf(t)&&this.disconnect(t),t.mapAxes(n),t.connect(this.inputObserver),this._inputs.push(t),this},n.disconnect=function(e){if(e){var t=this._inputs.indexOf(e);t>=0&&(this._inputs[t].disconnect(),this._inputs.splice(t,1))}else this._inputs.forEach((function(e){return e.disconnect()})),this._inputs=[];return this},n.get=function(e){return this.axisManager.get(e)},n.setTo=function(e,t){return void 0===t&&(t=0),this.animationManager.setTo(e,t),this},n.setBy=function(e,t){return void 0===t&&(t=0),this.animationManager.setBy(e,t),this},n.setOptions=function(e){return this.options=Ca(Ca({},this.options),e),this.animationManager.setOptions(e),this},n.setAxis=function(e){return this.axisManager.setAxis(e),this},n.stopAnimation=function(){return this.animationManager.stopAnimation(),this.animationManager.finish(!1),this},n.updateAnimation=function(e){return this.animationManager.updateAnimation(e),this},n.isBounceArea=function(e){return this.axisManager.isOutside(e)},n.destroy=function(){this.disconnect(),this.eventManager.destroy()},t.VERSION="3.9.2",t.TRANSFORM=Pa,t.DIRECTION_NONE=1,t.DIRECTION_LEFT=2,t.DIRECTION_RIGHT=4,t.DIRECTION_UP=8,t.DIRECTION_DOWN=16,t.DIRECTION_HORIZONTAL=6,t.DIRECTION_VERTICAL=24,t.DIRECTION_ALL=30,Ta([Ma],t.prototype,"holding",null),t=Ta([ma],t)}(Nr),Lo=function(){function e(e,t){var n=this;this.axes=[],this.element=null,this._enabled=!1,this._activeEvent=null,this._atRightEdge=!1,this._rightEdgeTimer=0,this._dragged=!1,this._isOverThreshold=!1,this._preventClickWhenDragged=function(e){n._dragged&&(e.preventDefault(),e.stopPropagation()),n._dragged=!1},this._voidFunction=function(){},this.element=Ia(e),this.options=Ca({inputType:["touch","mouse","pointer"],inputKey:["any"],inputButton:["left"],scale:[1,1],thresholdAngle:45,threshold:0,preventClickOnDrag:!1,preventDefaultOnDrag:!1,iOSEdgeSwipeThreshold:30,releaseOnScroll:!1,touchAction:null},t),this._onPanstart=this._onPanstart.bind(this),this._onPanmove=this._onPanmove.bind(this),this._onPanend=this._onPanend.bind(this)}var t=e.prototype;return t.mapAxes=function(e){this._direction=Za(!!e[0],!!e[1]),this.axes=e},t.connect=function(e){return this._activeEvent&&(this._detachElementEvent(),this._detachWindowEvent(this._activeEvent)),this._attachElementEvent(e),this},t.disconnect=function(){return this._detachElementEvent(),this._detachWindowEvent(this._activeEvent),this._direction=1,this},t.destroy=function(){this.disconnect(),this.element=null},t.enable=function(){if(!_o(this.options.inputType))throw new Error("PanInput cannot be enabled if there is no available input event.");return this._enabled||(this._enabled=!0,this._originalCssProps=eo(this.element,this.options,this._direction)),this},t.disable=function(){return this._enabled&&(this._enabled=!1,Ka(this._originalCssProps)||to(this.element,this._originalCssProps)),this},t.isEnabled=function(){return this._enabled},t.release=function(){var e=this._activeEvent,t=e.prevEvent;return e.onRelease(),this._observer.release(this,t,[0,0]),this._detachWindowEvent(e),this},t._onPanstart=function(e){var t=this.options,n=t.inputKey,i=t.inputButton,r=t.preventDefaultOnDrag,a=this._activeEvent,o=a.onEventStart(e,n,i);if(o&&this._enabled&&!(a.getTouches(e,i)>1)&&!1!==o.srcEvent.cancelable){var s=this.options.iOSEdgeSwipeThreshold;this._dragged=!1,this._isOverThreshold=!1,this._observer.hold(this,o),this._atRightEdge=Da&&o.center.x>window.innerWidth-s,this._attachWindowEvent(a),r&&"touchstart"!==o.srcEvent.type&&o.srcEvent.preventDefault(),a.prevEvent=o}},t._onPanmove=function(e){var t=this,n=this.options,i=n.iOSEdgeSwipeThreshold,r=n.preventClickOnDrag,a=n.releaseOnScroll,o=n.inputKey,s=n.inputButton,l=n.threshold,c=n.thresholdAngle,u=this._activeEvent,d=u.onEventMove(e,o,s),h=u.getTouches(e,s);if(0===h||a&&d&&!d.srcEvent.cancelable)this._onPanend(e);
266else if(d&&this._enabled&&!(h>1)){var f=function(e,t){if(t<0||t>90)return 1;var n=Math.abs(e);return n>t&&n<180-t?24:6}(d.angle,c),p=Qa(6,this._direction,f),m=Qa(24,this._direction,f);if(u.prevEvent&&Da){if(d.center.x<0)return void this.release();this._atRightEdge&&(clearTimeout(this._rightEdgeTimer),d.deltaX<-i?this._atRightEdge=!1:this._rightEdgeTimer=window.setTimeout((function(){return t.release()}),100))}var g=this._getDistance([d.deltaX,d.deltaY],[p,m]),v=this._getOffset([d.offsetX,d.offsetY],[p,m]),b=v.some((function(e){return 0!==e}));b&&(!1!==d.srcEvent.cancelable&&d.srcEvent.preventDefault(),d.srcEvent.stopPropagation()),d.preventSystemEvent=b,b&&(this._isOverThreshold||g>=l)&&(this._dragged=r,this._isOverThreshold=!0,this._observer.change(this,d,yo(this.axes,v))),u.prevEvent=d}},t._onPanend=function(e){var t=this.options.inputButton,n=this._activeEvent;if(n.onEventEnd(e),this._enabled&&0===n.getTouches(e,t)){this._detachWindowEvent(n),clearTimeout(this._rightEdgeTimer);var i=n.prevEvent,r=this._isOverThreshold?this._getOffset([Math.abs(i.velocityX)*i.directionX,Math.abs(i.velocityY)*i.directionY],[Qa(6,this._direction),Qa(24,this._direction)]):[0,0];n.onRelease(),this._observer.release(this,i,r)}},t._attachWindowEvent=function(e){var t=this;null==e||e.move.forEach((function(e){window.addEventListener(e,t._onPanmove,xo(e))})),null==e||e.end.forEach((function(e){window.addEventListener(e,t._onPanend,xo(e))}))},t._detachWindowEvent=function(e){var t=this;null==e||e.move.forEach((function(e){window.removeEventListener(e,t._onPanmove)})),null==e||e.end.forEach((function(e){window.removeEventListener(e,t._onPanend)}))},t._getOffset=function(e,t){var n=this.options.scale;return[t[0]?e[0]*n[0]:0,t[1]?e[1]*n[1]:0]},t._getDistance=function(e,t){return Math.sqrt(Number(t[0])*Math.pow(e[0],2)+Number(t[1])*Math.pow(e[1],2))},t._attachElementEvent=function(e){var t=this,n=_o(this.options.inputType),i=this.element;if(n){if(!i)throw new Error("Element to connect input does not exist.");this._observer=e,this.enable(),this._activeEvent=n,i.addEventListener("click",this._preventClickWhenDragged,!0),n.start.forEach((function(e){i.addEventListener(e,t._onPanstart)})),n.move.forEach((function(e){i.addEventListener(e,t._voidFunction)}))}},t._detachElementEvent=function(){var e=this,t=this._activeEvent,n=this.element;n&&(n.removeEventListener("click",this._preventClickWhenDragged,!0),null==t||t.start.forEach((function(t){n.removeEventListener(t,e._onPanstart)})),null==t||t.move.forEach((function(t){n.removeEventListener(t,e._voidFunction)}))),this.disable(),this._observer=null},e}(),Ao=Mo;var Oo=function(e,t){return(Oo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function Co(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Oo(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var To=function(){return(To=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function Eo(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),r=0;for(t=0;t<n;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,r++)i[r]=a[o];return i}var Do="undefined"!=typeof window,Po=Do?window.navigator.userAgent:"",jo=!!Do&&!!("getComputedStyle"in window),Yo=/MSIE|Trident|Windows Phone|Edge/.test(Po),Io=!!Do&&!!("addEventListener"in document);function Ro(e,t){return e.getAttribute(t)||""}function Ho(e){return[].slice.call(e)}function No(e,t){return void 0===t&&(t="data-"),"loading"in e&&"lazy"===e.getAttribute("loading")||!!e.getAttribute(t+"lazy")}
266function Fo(e,t,n){Io?e.addEventListener(t,n,!1):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n}function zo(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=null}function Bo(e,t){var n=e["client"+t]||e["offset"+t];return parseFloat(n||function(e){return(jo?window.getComputedStyle(e):e.currentStyle)||{}}(e)[t.toLowerCase()])||0}var Wo=[];function Vo(e,t){!Wo.length&&Fo(window,"resize",Uo),e.__PREFIX__=t,Wo.push(e),$o(e)}function $o(e,t){void 0===t&&(t="data-");var n=e.__PREFIX__||t,i=parseInt(Ro(e,n+"width"),10)||0,r=parseInt(Ro(e,n+"height"),10)||0;if("height"===Ro(e,n+"fixed")){var a=Bo(e,"Height")||r;e.style.width=i/r*a+"px"}else{a=function(e){return Bo(e,"Width")}(e)||i;e.style.height=r/i*a+"px"}}function Uo(){Wo.forEach((function(e){$o(e)}))}var Xo=function(e){function t(t,n){void 0===n&&(n={});var i=e.call(this)||this;i.isReady=!1,i.isPreReady=!1,i.hasDataSize=!1,i.hasLoading=!1,i.isSkip=!1,i.onCheck=function(e){i.clear(),e&&"error"===e.type&&i.onError(i.element),i.hasLoading&&i.checkElement()||i.onReady()},i.options=To({prefix:"data-"},n),i.element=t;var r=i.options.prefix;return i.hasDataSize=function(e,t){return void 0===t&&(t="data-"),!!e.getAttribute(t+"width")}(t,r),i.isSkip=function(e,t){return void 0===t&&(t="data-"),!!e.getAttribute(t+"skip")}(t,r),i.hasLoading=No(t,r),i}Co(t,e);var n=t.prototype;return n.check=function(){return this.isSkip||!this.checkElement()?(this.onAlreadyReady(),!1):(this.hasDataSize&&Vo(this.element,this.options.prefix),(this.hasDataSize||this.hasLoading)&&this.onAlreadyPreReady(),!0)},n.addEvents=function(){var e=this,t=this.element;this.constructor.EVENTS.forEach((function(n){Fo(t,n,e.onCheck)}))},n.clear=function(){var e=this,t=this.element;this.constructor.EVENTS.forEach((function(n){zo(t,n,e.onCheck)})),this.removeAutoSizer()},n.destroy=function(){this.clear(),this.off()},n.removeAutoSizer=function(){if(this.hasDataSize){var e=this.options.prefix;!function(e,t){var n=Wo.indexOf(e);if(!(n<0)){var i=Ro(e,t+"fixed");delete e.__PREFIX__,e.style["height"===i?"width":"height"]="",Wo.splice(n,1),!Wo.length&&zo(window,"resize",Uo)}}(this.element,e)}},n.onError=function(e){this.trigger("error",{element:this.element,target:e})},n.onPreReady=function(){this.isPreReady||(this.isPreReady=!0,this.trigger("preReady",{element:this.element,hasLoading:this.hasLoading,isSkip:this.isSkip}))},n.onReady=function(){var e=this.isPreReady;this.isPreReady=!0,this.isReady||(this.removeAutoSizer(),this.isReady=!0,this.trigger("ready",{element:this.element,withPreReady:!e,hasLoading:this.hasLoading,isSkip:this.isSkip}))},n.onAlreadyError=function(e){var t=this;setTimeout((function(){t.onError(e)}))},n.onAlreadyPreReady=function(){var e=this;setTimeout((function(){e.onPreReady()}))},n.onAlreadyReady=function(){var e=this;setTimeout((function(){e.onReady()}))},t.EVENTS=[],t}(Nr),Go=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Co(t,e);var n=t.prototype;return n.setHasLoading=function(e){this.hasLoading=e},n.check=function(){return this.isSkip?(this.onAlreadyReady(),!1):(this.hasDataSize?(Vo(this.element,this.options.prefix),this.onAlreadyPreReady()):this.trigger("requestChildren"),!0)},n.checkElement=function(){return!0},n.destroy=function(){this.clear(),this.trigger("requestDestroy"),this.off()},n.onAlreadyPreReady=function(){e.prototype.onAlreadyPreReady.call(this),this.trigger("reqeustReadyChildren")},t.EVENTS=[],t}(Xo),qo=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.readyCount=0,n.preReadyCount=0,n.totalCount=0,n.totalErrorCount=0,n.isPreReadyOver=!0,n.elementInfos=[],n.options=To({loaders:{},prefix:"data-"},t),n}Co(t,e);var n=t.prototype;return n.check=function(e){var t=this,n=this.options.prefix;this.clear(),this.elementInfos=Ho(e).map((function(e,i){var r=t.getLoader(e,{prefix:n});return r.check(),r.on("error",(function(e){t.onError(i,e.target)})).on("preReady",(function(e){var n=t.elementInfos[i];n.hasLoading=e.hasLoading,n.isSkip=e.isSkip;var r=t.checkPreReady(i);t.onPreReadyElement(i),r&&t.onPreReady()})).on("ready",(function(e){var n=e.withPreReady,r=e.hasLoading,a=e.isSkip,o=t.elementInfos[i];o.hasLoading=r,o.isSkip=a;var s=n&&t.checkPreReady(i),l=t.checkReady(i);n&&t.onPreReadyElement(i),t.onReadyElement(i),s&&t.onPreReady(),l&&t.onReady()})),{loader:r,element:e,hasLoading:!1,hasError:!1,isPreReady:!1,isReady:!1,isSkip:!1}}));var i=this.elementInfos.length;return this.totalCount=i,i||setTimeout((function(){t.onPreReady(),t.onReady()})),this},n.getTotalCount=function(){return this.totalCount},n.isPreReady=function(){return this.elementInfos.every((function(e){return e.isPreReady}))},n.isReady=function(){return this.elementInfos.every((function(e){return e.isReady}))},n.hasError=function(){return this.totalErrorCount>0},n.clear=function(){this.isPreReadyOver=!1,this.totalCount=0,this.preReadyCount=0,this.readyCount=0,this.totalErrorCount=0,this.elementInfos.forEach((function(e){e.loader&&e.loader.destroy()})),this.elementInfos=[]},n.destroy=function(){this.clear(),this.off()},n.getLoader=function(e,t){var n=this,i=e.tagName.toLowerCase(),r=this.options.loaders,a=t.prefix,o=Object.keys(r);if(r[i])return new r[i](e,t);
266var s=new Go(e,t),l=Ho(e.querySelectorAll(o.join(", ")));s.setHasLoading(l.some((function(e){return No(e,a)})));var c=this.clone().on("error",(function(e){s.onError(e.target)})).on("ready",(function(){s.onReady()}));return s.on("requestChildren",(function(){var t=function(e,t,n){var i=Ho(e.querySelectorAll(Eo(["["+n+"skip] ["+n+"width]"],t.map((function(e){return["["+n+"skip] "+e,e+"["+n+"skip]","["+n+"width] "+e].join(", ")}))).join(", ")));return Ho(e.querySelectorAll("["+n+"width], "+t.join(", "))).filter((function(e){return-1===i.indexOf(e)}))}(e,o,n.options.prefix);c.check(t).on("preReady",(function(e){e.isReady||s.onPreReady()}))})).on("reqeustReadyChildren",(function(){c.check(l)})).on("requestDestroy",(function(){c.destroy()})),s},n.clone=function(){return new t(To({},this.options))},n.checkPreReady=function(e){return this.elementInfos[e].isPreReady=!0,++this.preReadyCount,!(this.preReadyCount<this.totalCount)},n.checkReady=function(e){return this.elementInfos[e].isReady=!0,++this.readyCount,!(this.readyCount<this.totalCount)},n.onError=function(e,t){var n=this.elementInfos[e];n.hasError=!0,this.trigger(new Hr("error",{element:n.element,index:e,target:t,errorCount:this.getErrorCount(),totalErrorCount:++this.totalErrorCount}))},n.onPreReadyElement=function(e){var t=this.elementInfos[e];this.trigger(new Hr("preReadyElement",{element:t.element,index:e,preReadyCount:this.preReadyCount,readyCount:this.readyCount,totalCount:this.totalCount,isPreReady:this.isPreReady(),isReady:this.isReady(),hasLoading:t.hasLoading,isSkip:t.isSkip}))},n.onPreReady=function(){this.isPreReadyOver=!0,this.trigger(new Hr("preReady",{readyCount:this.readyCount,totalCount:this.totalCount,isReady:this.isReady(),hasLoading:this.hasLoading()}))},n.onReadyElement=function(e){var t=this.elementInfos[e];this.trigger(new Hr("readyElement",{index:e,element:t.element,hasError:t.hasError,errorCount:this.getErrorCount(),totalErrorCount:this.totalErrorCount,preReadyCount:this.preReadyCount,readyCount:this.readyCount,totalCount:this.totalCount,isPreReady:this.isPreReady(),isReady:this.isReady(),hasLoading:t.hasLoading,isPreReadyOver:this.isPreReadyOver,isSkip:t.isSkip}))},n.onReady=function(){this.trigger(new Hr("ready",{errorCount:this.getErrorCount(),totalErrorCount:this.totalErrorCount,totalCount:this.totalCount}))},n.getErrorCount=function(){return this.elementInfos.filter((function(e){return e.hasError})).length},n.hasLoading=function(){return this.elementInfos.some((function(e){return e.hasLoading}))},t}(Nr),Jo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Co(t,e),t.prototype.checkElement=function(){var e=this.element,t=e.getAttribute("src");if(e.complete){if(t)return e.naturalWidth||this.onAlreadyError(e),!1;this.onAlreadyPreReady()}return this.addEvents(),Yo&&e.setAttribute("src",t),!0},t.EVENTS=["load","error"],t}(Xo),Ko=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Co(t,e),t.prototype.checkElement=function(){var e=this.element;return!(e.readyState>=1)&&(e.error?(this.onAlreadyError(e),!1):(this.addEvents(),!0))},t.EVENTS=["loadedmetadata","error"],t}(Xo),Zo=function(e){function t(t){return void 0===t&&(t={}),e.call(this,To({loaders:{img:Jo,video:Ko}},t))||this}return Co(t,e),t}(qo),Qo=Zo,es=function(e,t){return(es=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function ts(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}es(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ns=function(){return(ns=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function is(e,t,n,i){return new(n||(n=Promise))((function(r,a){function o(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((i=i.apply(e,t||[])).next())}))}function rs(e,t){var n,i,r,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]}
266,trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(r=2&s[0]?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){a.label=s[1];break}if(6===s[0]&&a.label<r[1]){a.label=r[1],r=s;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(s);break}r[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function as(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function os(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=a.next()).done;)o.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o}function ss(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(os(arguments[t]));return e}"function"==typeof SuppressedError&&SuppressedError;var ls,cs=0,us=1,ds=2,hs=3,fs=4,ps=5,ms=6,gs=7,vs=8,bs=9,ys=10,_s=11,xs=12,ws=function(e,t){return e+"("+typeof e+") is not a "+t.map((function(e){return'"'+e+'"'})).join(" or ")+"."},ks=function(e){return'Element with selector "'+e+'" not found.'},Ss=function(e,t){return t+" should be provided. Given: "+e},Ms='This module is not attached to the Flicking instance. "init()" should be called first.',Ls=function(e,t){return'Option "'+e+'" is not in correct format, given: '+t},As=function(e,t,n){return'Index "'+e+'" is out of range: should be between '+t+" and "+n+"."},Os=function(e){return'Position "'+e+'" is not reachable.'},Cs="Browser does not support CSS transform.",Ts="Event stop() is called by user.",Es="Animation is interrupted by user input.",Ds="Animation is already playing.",Ps="This behavior is not allowed in the frameworks like React, Vue, or Angular.",js="Flicking is not initialized yet, call init() first.",Ys={READY:"ready",BEFORE_RESIZE:"beforeResize",AFTER_RESIZE:"afterResize",HOLD_START:"holdStart",HOLD_END:"holdEnd",MOVE_START:"moveStart",MOVE:"move",MOVE_END:"moveEnd",WILL_CHANGE:"willChange",CHANGED:"changed",WILL_RESTORE:"willRestore",RESTORED:"restored",SELECT:"select",NEED_PANEL:"needPanel",VISIBLE_CHANGE:"visibleChange",REACH_EDGE:"reachEdge",PANEL_CHANGE:"panelChange"},Is="prev",Rs="center",Hs="next",Ns="PREV",Fs="NEXT",zs=null,Bs={SNAP:"snap",FREE_SCROLL:"freeScroll",STRICT:"strict"},Ws={VIEWPORT:"flicking-viewport",CAMERA:"flicking-camera",VERTICAL:"vertical",HIDDEN:"flicking-hidden",DEFAULT_VIRTUAL:"flicking-panel"},Vs="linear",$s="bound",Us="ltr",Xs="rtl",Gs=function(e,t,n){return Math.max(Math.min(e,n),t)},qs=function(e){if(!e)throw new gl(Ms,hs);return e},Js=function(e){return[].slice.call(e)},Ks=function(e,t){var n;if(al(e))switch(e){case Is:n=0;break;case Rs:n=.5*t;break;case Hs:n=t;break;default:if(null==(n=Zs(e,t)))throw new gl(Ls("align",e),fs)}else n=e;return n},Zs=function(e,t){var n=Qs(e);return null==n?null:n.percentage*t+n.absolute},Qs=function(e){var t=/(?:(\+|\-)\s*)?(\d+(?:\.\d+)?(%|px)?)/g;if("number"==typeof e)return{percentage:0,absolute:e};for(var n={percentage:0,absolute:0},i=0,r=t.exec(e);null!=r;){var a=r[1],o=r[2],s=r[3],l=parseFloat(o);if(i<=0&&(a=a||"+"),!a)return null;var c="+"===a?1:-1;"%"===s?n.percentage+=c*(l/100):n.absolute+=c*l,++i,r=t.exec(e)}return 0===i?null:n},el=function(e){return"object"==typeof e?e.panel:e},tl=function(e,t){return e===t?zs:e<t?Fs:Ns},nl=function(e){Array.isArray(e)||(e=[e]);var t=[];return e.forEach((function(e){if(al(e)){var n=document.createElement("div");for(n.innerHTML=e,t.push.apply(t,ss(Js(n.children)));n.firstChild;)n.removeChild(n.firstChild)}else{if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new gl(ws(e,["HTMLElement","string"]),cs);t.push(e)}})),t},il=function(e,t){return Gs(e<0?e+t:e,0,t)},rl=function(e,t){var n,i;try{for(var r=as(e),a=r.next();!a.done;a=r.next()){if(a.value===t)return!0}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return!1},al=function(e){return"string"==typeof e},ol=function(e,t,n){var i=n-t;if(e<t)e=n-(t-e)%i;else if(e>n){e=t+(e-n)%i}return e},sl=function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1},ll=function(e,t,n){return(e-t)/(n-t)},cl=function(e){return e?window.getComputedStyle(e)||e.currentStyle:{}}
266,ul=function(e,t){var n=t.width,i=t.height;e&&(null!=n&&(al(n)?e.style.width=n:e.style.width=n+"px"),null!=i&&(al(i)?e.style.height=i:e.style.height=i+"px"))},dl=function(e,t,n){return e>=t&&e<=n},hl=function(e,t){return e>=t?e%t:e<0?il((e+1)%t-1,t):e},fl=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=n;return t},pl=function(e){var t=e.el,n=e.horizontal,i=e.useFractionalSize,r=e.useOffset,a=e.style,o=0;if(i){var s=parseFloat(n?a.width:a.height)||0,l="border-box"===a.boxSizing,c=n?parseFloat(a.borderLeftWidth||"0")+parseFloat(a.borderRightWidth||"0"):parseFloat(a.borderTopWidth||"0")+parseFloat(a.borderBottomWidth||"0");if(l)o=r?s:s-c;else{var u=n?parseFloat(a.paddingLeft||"0")+parseFloat(a.paddingRight||"0"):parseFloat(a.paddingTop||"0")+parseFloat(a.paddingBottom||"0");o=r?s+u+c:s+u}}else{var d=n?"Width":"Height";o=r?t["offset"+d]:t["client"+d]}return Math.max(o,0)},ml=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},gl=function(e){function t(n,i){var r=e.call(this,n)||this;return ml(r,t.prototype),r.name="FlickingError",r.code=i,r}return ts(t,e),t}(Error),vl=function(){function e(e,t){this._flicking=e,this._el=t,this._width=0,this._height=0,this._padding={left:0,right:0,top:0,bottom:0},this._isBorderBoxSizing=!1}var t=e.prototype;return Object.defineProperty(t,"element",{get:function(){return this._el},enumerable:!1,configurable:!0}),Object.defineProperty(t,"width",{get:function(){return this._width-this._padding.left-this._padding.right},enumerable:!1,configurable:!0}),Object.defineProperty(t,"height",{get:function(){return this._height-this._padding.top-this._padding.bottom},enumerable:!1,configurable:!0}),Object.defineProperty(t,"padding",{get:function(){return this._padding},enumerable:!1,configurable:!0}),t.setSize=function(e){var t=e.width,n=e.height,i=this._el,r=this._padding,a=this._isBorderBoxSizing;if(null!=t)if(al(t))i.style.width=t;else{var o=a?t+r.left+r.right:t;i.style.width=o+"px"}if(null!=n)if(al(n))i.style.height=n;else{var s=a?n+r.top+r.bottom:n;i.style.height=s+"px"}this.resize()},t.resize=function(){var e=this._el,t=cl(e),n=this._flicking.useFractionalSize;this._width=pl({el:e,horizontal:!0,useFractionalSize:n,useOffset:!1,style:t}),this._height=pl({el:e,horizontal:!1,useFractionalSize:n,useOffset:!1,style:t}),this._padding={left:t.paddingLeft?parseFloat(t.paddingLeft):0,right:t.paddingRight?parseFloat(t.paddingRight):0,top:t.paddingTop?parseFloat(t.paddingTop):0,bottom:t.paddingBottom?parseFloat(t.paddingBottom):0},this._isBorderBoxSizing="border-box"===t.boxSizing},e}(),bl=function(){function e(e){var t,n=this;this._onResizeWrapper=function(){n._onResize([])},this._onResize=function(e){var t=n._flicking,i=t.resizeDebounce,r=t.maxResizeDebounce,a=t.element;if(e.find((function(e){return e.target===t.element}))&&1===e.length){var o={width:t.viewport.width,height:t.viewport.height},s={width:pl({el:a,horizontal:!0,useFractionalSize:n._flicking.useFractionalSize,useOffset:!1,style:cl(a)}),height:pl({el:a,horizontal:!1,useFractionalSize:n._flicking.useFractionalSize,useOffset:!1,style:cl(a)})};if(o.height===s.height&&o.width===s.width)return}i<=0?t.resize():(n._maxResizeDebounceTimer<=0&&r>0&&r>=i&&(n._maxResizeDebounceTimer=window.setTimeout(n._doScheduledResize,r)),n._resizeTimer>0&&(clearTimeout(n._resizeTimer),n._resizeTimer=0),n._resizeTimer=window.setTimeout(n._doScheduledResize,i))},this._doScheduledResize=function(){clearTimeout(n._resizeTimer),clearTimeout(n._maxResizeDebounceTimer),n._maxResizeDebounceTimer=-1,n._resizeTimer=-1,n._flicking.resize()},this._skipFirstResize=(t=!0,function(e){t?t=!1:n._onResize(e)}),this._flicking=e,this._enabled=!1,this._resizeObserver=null,this._resizeTimer=-1,this._maxResizeDebounceTimer=-1}var t=e.prototype;return Object.defineProperty(t,"enabled",{get:function(){return this._enabled},enumerable:!1,configurable:!0}),t.enable=function(){var e=this._flicking,t=e.viewport;if(this._enabled&&this.disable(),e.useResizeObserver&&window.ResizeObserver){var n=0!==t.width||0!==t.height?new ResizeObserver(this._skipFirstResize):new ResizeObserver(this._onResize);this._resizeObserver=n,this.observe(e.viewport.element),e.observePanelResize&&this.observePanels()}else window.addEventListener("resize",this._onResizeWrapper);return this._enabled=!0,this},t.observePanels=function(){var e=this;
266return this._flicking.panels.forEach((function(t){e.observe(t.element)})),this},t.unobservePanels=function(){var e=this;return this._flicking.panels.forEach((function(t){e.unobserve(t.element)})),this},t.observe=function(e){var t=this._resizeObserver;return t?(t.observe(e),this):this},t.unobserve=function(e){var t=this._resizeObserver;return t?(t.unobserve(e),this._flicking.observePanelResize&&this.unobservePanels(),this):this},t.disable=function(){if(!this._enabled)return this;var e=this._resizeObserver;return e?(e.disconnect(),this._resizeObserver=null):window.removeEventListener("resize",this._onResizeWrapper),this._enabled=!1,this},e}(),yl=function(){function e(e){this._element=e,this._rendered=!0}var t=e.prototype;return Object.defineProperty(t,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),Object.defineProperty(t,"rendered",{get:function(){return this._rendered},enumerable:!1,configurable:!0}),t.show=function(e){var t=this.element,n=e.camera.element;t.parentElement!==n&&(n.appendChild(t),this._rendered=!0)},t.hide=function(e){var t=this.element,n=e.camera.element;t.parentElement===n&&(n.removeChild(t),this._rendered=!1)},e}(),_l=function(){function e(e){this._flicking=e}var t=e.prototype;return Object.defineProperty(t,"element",{get:function(){return this._virtualElement.nativeElement},enumerable:!1,configurable:!0}),Object.defineProperty(t,"rendered",{get:function(){return this._virtualElement.visible},enumerable:!1,configurable:!0}),Object.defineProperty(t,"_virtualElement",{get:function(){var e=this._flicking,t=this._panel.elementIndex;return e.virtual.elements[t]},enumerable:!1,configurable:!0}),t.init=function(e){this._panel=e},t.show=function(){},t.hide=function(){},e}(),xl=function(){function e(e,t){var n,i,r,a;this._flicking=e,this._renderPanel=null!==(n=null==t?void 0:t.renderPanel)&&void 0!==n?n:function(){return""},this._initialPanelCount=null!==(i=null==t?void 0:t.initialPanelCount)&&void 0!==i?i:-1,this._cache=null!==(r=null==t?void 0:t.cache)&&void 0!==r&&r,this._panelClass=null!==(a=null==t?void 0:t.panelClass)&&void 0!==a?a:Ws.DEFAULT_VIRTUAL,this._elements=[]}var t=e.prototype;return Object.defineProperty(t,"elements",{get:function(){return this._elements},enumerable:!1,configurable:!0}),Object.defineProperty(t,"renderPanel",{get:function(){return this._renderPanel},set:function(e){this._renderPanel=e,this._flicking.renderer.panels.forEach((function(e){return e.uncacheRenderResult()}))},enumerable:!1,configurable:!0}),Object.defineProperty(t,"initialPanelCount",{get:function(){return this._initialPanelCount},enumerable:!1,configurable:!0}),Object.defineProperty(t,"cache",{get:function(){return this._cache},set:function(e){this._cache=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"panelClass",{get:function(){return this._panelClass},set:function(e){this._panelClass=e},enumerable:!1,configurable:!0}),t.init=function(){var e=this._flicking;if(e.virtualEnabled){e.externalRenderer||e.renderExternal||this._initVirtualElements();var t=e.camera.children;this._elements=t.map((function(e){return{nativeElement:e,visible:!0}}))}},t.show=function(e){var t=this._elements[e],n=t.nativeElement;t.visible=!0,n.style.display&&(n.style.display="")},t.hide=function(e){var t=this._elements[e],n=t.nativeElement;t.visible=!1,n.style.display="none"},t.append=function(e){void 0===e&&(e=1);var t=this._flicking;return this.insert(t.panels.length,e)},t.prepend=function(e){return void 0===e&&(e=1),this.insert(0,e)},t.insert=function(e,t){return void 0===t&&(t=1),t<=0?[]:this._flicking.renderer.batchInsert({index:e,elements:fl(t),hasDOMInElements:!1})},t.remove=function(e,t){return t<=0?[]:this._flicking.renderer.batchRemove({index:e,deleteCount:t,hasDOMInElements:!1})},t._initVirtualElements=function(){var e=this,t=this._flicking,n=t.camera.element,i=t.panelsPerView,r=document.createDocumentFragment();fl(i+1).map((function(t){var n=document.createElement("div");return n.className=e._panelClass,n.dataset.elementIndex=t.toString(),n})).forEach((function(e){r.appendChild(e)})),n.appendChild(r)},e}
266(),wl={HOLD:"hold",CHANGE:"change",RELEASE:"release",ANIMATION_END:"animationEnd",FINISH:"finish"};!function(e){e[e.IDLE=0]="IDLE",e[e.HOLDING=1]="HOLDING",e[e.DRAGGING=2]="DRAGGING",e[e.ANIMATING=3]="ANIMATING",e[e.DISABLED=4]="DISABLED"}(ls||(ls={}));var kl=function(){function e(){this._delta=0,this._targetPanel=null}var t=e.prototype;return Object.defineProperty(t,"delta",{get:function(){return this._delta},enumerable:!1,configurable:!0}),Object.defineProperty(t,"targetPanel",{get:function(){return this._targetPanel},set:function(e){this._targetPanel=e},enumerable:!1,configurable:!0}),t.onEnter=function(e){this._delta=e._delta,this._targetPanel=e._targetPanel},t.onHold=function(e){},t.onChange=function(e){},t.onRelease=function(e){},t.onAnimationEnd=function(e){},t.onFinish=function(e){},t._moveToChangedPosition=function(e){var t=e.flicking,n=e.axesEvent,i=e.transitTo,r=n.delta.flick;if(r){this._delta+=r;var a=t.camera,o=a.position,s=n.pos.flick,l=t.circularEnabled?ol(s,a.range.min,a.range.max):s;a.lookAt(l);var c=new Hr(Ys.MOVE,{isTrusted:n.isTrusted,holding:this.holding,direction:tl(0,n.delta.flick),axesEvent:n});t.trigger(c),c.isCanceled()&&(a.lookAt(o),i(ls.DISABLED))}},e}(),Sl=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.holding=!1,t.animating=!1,t}ts(t,e);var n=t.prototype;return n.onEnter=function(){this._delta=0,this._targetPanel=null},n.onHold=function(e){var t=e.flicking,n=e.axesEvent,i=e.transitTo;if(t.renderer.panelCount<=0)i(ls.DISABLED);else{var r=new Hr(Ys.HOLD_START,{axesEvent:n});t.trigger(r),r.isCanceled()?i(ls.DISABLED):i(ls.HOLDING)}},n.onChange=function(e){var t=e.flicking,n=e.axesEvent,i=e.transitTo,r=t.control.controller.animatingContext,a=new Hr(Ys.MOVE_START,{isTrusted:n.isTrusted,holding:this.holding,direction:tl(r.start,r.end),axesEvent:n});t.trigger(a),a.isCanceled()?i(ls.DISABLED):i(ls.ANIMATING).onChange(e)},t}(kl),Ml=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.holding=!0,t.animating=!1,t._releaseEvent=null,t}ts(t,e);var n=t.prototype;return n.onChange=function(e){var t=e.flicking,n=e.axesEvent,i=e.transitTo,r=n.inputEvent;if(r){var a=t.horizontal?r.offsetX:r.offsetY,o=new Hr(Ys.MOVE_START,{isTrusted:n.isTrusted,holding:this.holding,direction:tl(0,-a),axesEvent:n});t.trigger(o),o.isCanceled()?i(ls.DISABLED):i(ls.DRAGGING).onChange(e)}},n.onRelease=function(e){var t=e.flicking,n=e.axesEvent,i=e.transitTo;if(t.trigger(new Hr(Ys.HOLD_END,{axesEvent:n})),0!==n.delta.flick)return n.setTo({flick:t.camera.position},0),void i(ls.IDLE);this._releaseEvent=n},n.onFinish=function(e){var t,n,i=e.flicking;if((0,e.transitTo)(ls.IDLE),this._releaseEvent){var r,a=this._releaseEvent.inputEvent.srcEvent;if("touchend"===a.type){var o=a.changedTouches[0];r=document.elementFromPoint(o.clientX,o.clientY)}else r=a.target;var s=i.renderer.panels,l=null;try{for(var c=as(s),u=c.next();!u.done;u=c.next()){var d=u.value;if(d.contains(r)){l=d;break}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}if(l){var h=i.camera.position,f=l.position;i.trigger(new Hr(Ys.SELECT,{index:l.index,panel:l,direction:tl(h,f)}))}}},t}(kl),Ll=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.holding=!0,t.animating=!0,t}ts(t,e);var n=t.prototype;return n.onChange=function(e){this._moveToChangedPosition(e)},n.onRelease=function(e){var t,n=e.flicking,i=e.axesEvent,r=e.transitTo;if(n.trigger(new Hr(Ys.HOLD_END,{axesEvent:i})),n.renderer.panelCount<=0)r(ls.IDLE);else{r(ls.ANIMATING);var a=n.control,o=i.destPos.flick,s=Math.max(i.duration,n.duration);try{a.moveToPosition(o,s,i)}catch(e){r(ls.IDLE),i.setTo(((t={}).flick=n.camera.position,t),0)}}},t}(kl),Al=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.holding=!1,t.animating=!0,t}ts(t,e);var n=t.prototype;return n.onHold=function(e){var t=e.flicking,n=e.axesEvent,i=e.transitTo,r=this._targetPanel,a=t.control;this._delta=0,t.control.updateInput(),t.changeOnHold&&r&&a.setActive(r,a.activePanel,n.isTrusted);var o=new Hr(Ys.HOLD_START,{axesEvent:n});t.trigger(o),o.isCanceled()?i(ls.DISABLED):i(ls.DRAGGING)},n.onChange=function(e){this._moveToChangedPosition(e)},n.onFinish=function(e){var t=e.flicking,n=e.axesEvent,i=e.transitTo,r=t.control,a=r.controller.animatingContext;i(ls.IDLE),t.trigger(new Hr(Ys.MOVE_END,{isTrusted:n.isTrusted,direction:tl(a.start,a.end),axesEvent:n}));var o=this._targetPanel;o&&r.setActive(o,r.activePanel,n.isTrusted)},t}(kl),Ol=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.holding=!1,t.animating=!0,t}ts(t,e);var n=t.prototype;return n.onAnimationEnd=function(e){(0,e.transitTo)(ls.IDLE)},n.onChange=function(e){var t=e.axesEvent,n=e.transitTo;t.stop(),n(ls.IDLE)},n.onRelease=function(e){var t=e.axesEvent,n=e.transitTo;0===t.delta.flick&&n(ls.IDLE)},t}(kl),Cl=function(){function e(){var e=this;this.transitTo=function(t){var n;switch(t){case ls.IDLE:n=new Sl;break;case ls.HOLDING:n=new Ml;break;case ls.DRAGGING:n=new Ll;break;case ls.ANIMATING:n=new Al;break;case ls.DISABLED:n=new Ol}return n.onEnter(e._state),e._state=n,e._state},this._state=new Sl}var t=e.prototype;return Object.defineProperty(t,"state",{get:function(){return this._state}
266,enumerable:!1,configurable:!0}),t.fire=function(e,t){var n=this._state,i=ns(ns({},t),{transitTo:this.transitTo});switch(e){case wl.HOLD:n.onHold(i);break;case wl.CHANGE:n.onChange(i);break;case wl.RELEASE:n.onRelease(i);break;case wl.ANIMATION_END:n.onAnimationEnd(i);break;case wl.FINISH:n.onFinish(i)}},e}(),Tl=function(){function e(){var e=this;this._onAxesHold=function(){e._dragged=!1},this._onAxesChange=function(){var t;e._dragged=!!(null===(t=e._panInput)||void 0===t?void 0:t.isEnabled())},this._preventClickWhenDragged=function(t){e._dragged&&(t.preventDefault(),t.stopPropagation()),e._dragged=!1},this._resetInternalValues(),this._stateMachine=new Cl}var t=e.prototype;return Object.defineProperty(t,"axes",{get:function(){return this._axes},enumerable:!1,configurable:!0}),Object.defineProperty(t,"panInput",{get:function(){return this._panInput},enumerable:!1,configurable:!0}),Object.defineProperty(t,"stateMachine",{get:function(){return this._stateMachine},enumerable:!1,configurable:!0}),Object.defineProperty(t,"state",{get:function(){return this._stateMachine.state},enumerable:!1,configurable:!0}),Object.defineProperty(t,"animatingContext",{get:function(){return this._animatingContext},enumerable:!1,configurable:!0}),Object.defineProperty(t,"controlParams",{get:function(){var e=this._axes;if(!e)return{range:{min:0,max:0},position:0,circular:!1};var t=e.axis.flick;return{range:{min:t.range[0],max:t.range[1]},circular:t.circular[0],position:this.position}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"enabled",{get:function(){var e,t;return null!==(t=null===(e=this._panInput)||void 0===e?void 0:e.isEnabled())&&void 0!==t&&t},enumerable:!1,configurable:!0}),Object.defineProperty(t,"position",{get:function(){var e,t;return null!==(t=null===(e=this._axes)||void 0===e?void 0:e.get(["flick"]).flick)&&void 0!==t?t:0},enumerable:!1,configurable:!0}),Object.defineProperty(t,"range",{get:function(){var e,t;return null!==(t=null===(e=this._axes)||void 0===e?void 0:e.axis.flick.range)&&void 0!==t?t:[0,0]},enumerable:!1,configurable:!0}),Object.defineProperty(t,"bounce",{get:function(){var e;return null===(e=this._axes)||void 0===e?void 0:e.axis.flick.bounce},enumerable:!1,configurable:!0}),t.init=function(e){var t,n=this;this._flicking=e,this._axes=new Ao(((t={}).flick={range:[0,0],circular:!1,bounce:[0,0]},t),{deceleration:e.deceleration,interruptable:e.interruptable,nested:e.nested,easing:e.easing}),this._panInput=new Lo(e.viewport.element,{inputType:e.inputType,threshold:e.dragThreshold,iOSEdgeSwipeThreshold:e.iOSEdgeSwipeThreshold,preventDefaultOnDrag:e.preventDefaultOnDrag,scale:e.horizontal?[e.camera.panelOrder===Xs?1:-1,0]:[0,-1],releaseOnScroll:!0});var i=this._axes;i.connect(e.horizontal?["flick",""]:["","flick"],this._panInput);var r=function(t){var r=wl[t];i.on(r,(function(t){n._stateMachine.fire(r,{flicking:e,axesEvent:t})}))};for(var a in wl)r(a);return this},t.destroy=function(){var e;this._axes&&(this.removePreventClickHandler(),this._axes.destroy()),null===(e=this._panInput)||void 0===e||e.destroy(),this._resetInternalValues()},t.enable=function(){var e;return null===(e=this._panInput)||void 0===e||e.enable(),this},t.disable=function(){var e;return null===(e=this._panInput)||void 0===e||e.disable(),this},t.release=function(){var e;return null===(e=this._panInput)||void 0===e||e.release(),this},t.updateAnimation=function(e,t){var n,i;return this._animatingContext=ns(ns({},this._animatingContext),{end:e}),null===(i=this._axes)||void 0===i||i.updateAnimation({destPos:(n={},n.flick=e,n),duration:t}),this},t.stopAnimation=function(){var e;return null===(e=this._axes)||void 0===e||e.stopAnimation(),this},t.update=function(e){var t,n=qs(this._flicking),i=n.camera,r=this._axes,a=r.axis.flick;return a.circular=[e.circular,e.circular],a.range=[e.range.min,e.range.max],a.bounce=function(e,t){var n;if(Array.isArray(e))n=e.map((function(e){return Zs(e,t)}));else{var i=Zs(e,t);n=[i,i]}return n.map((function(t){if(null==t)throw new gl(Ls("bounce",e),fs);return t}))}(n.bounce,i.size),r.axisManager.set(((t={}).flick=e.position,t)),this},t.addPreventClickHandler=function(){var e=qs(this._flicking),t=this._axes,n=e.camera.element;return t.on(wl.HOLD,this._onAxesHold),t.on(wl.CHANGE,this._onAxesChange),n.addEventListener("click",this._preventClickWhenDragged,!0),this},t.removePreventClickHandler=function(){var e=qs(this._flicking),t=this._axes,n=e.camera.element;return t.off(wl.HOLD,this._onAxesHold),t.off(wl.CHANGE,this._onAxesChange),n.removeEventListener("click",this._preventClickWhenDragged,!0),this},t.animateTo=function(e,t,n){var i,r=this,a=this._axes,o=this._stateMachine.state;if(!a)return Promise.reject(new gl(Ms,hs));var s=a.get(["flick"]).flick;if(s===e){var l=qs(this._flicking);return l.camera.lookAt(e),o.targetPanel&&l.control.setActive(o.targetPanel,l.control.activePanel,null!==(i=null==n?void 0:n.isTrusted)&&void 0!==i&&i),Promise.resolve()}this._animatingContext={start:s,end:e,offset:0};return new Promise((function(i,o){var s=function(){a.off(wl.HOLD,l),i()},l=function(){a.off(wl.FINISH,s),o(new gl(Es,bs))};a.once(wl.FINISH,s),a.once(wl.HOLD,l),function(){var i,o;a.once(wl.FINISH,(function(){r._animatingContext={start:0,end:0,offset:0}})),n?n.setTo(((i={}).flick=e,i),t):a.setTo(((o={}).flick=e,o),t)}()}))},t.updateDirection=function(){var e=qs(this._flicking),t=this._axes,n=this._panInput;t.disconnect(n),t.connect(e.horizontal?["flick",""]:["","flick"],n),n.options.scale=e.horizontal?[e.camera.panelOrder===Xs?1:-1,0]:[0,-1
266]},t._resetInternalValues=function(){this._flicking=null,this._axes=null,this._panInput=null,this._animatingContext={start:0,end:0,offset:0},this._dragged=!1},e}(),El=function(){function e(){this._flicking=null,this._controller=new Tl,this._activePanel=null}var t=e.prototype;return Object.defineProperty(t,"controller",{get:function(){return this._controller},enumerable:!1,configurable:!0}),Object.defineProperty(t,"activeIndex",{get:function(){var e,t;return null!==(t=null===(e=this._activePanel)||void 0===e?void 0:e.index)&&void 0!==t?t:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t,"activePanel",{get:function(){return this._activePanel},enumerable:!1,configurable:!0}),Object.defineProperty(t,"animating",{get:function(){return this._controller.state.animating},enumerable:!1,configurable:!0}),Object.defineProperty(t,"holding",{get:function(){return this._controller.state.holding},enumerable:!1,configurable:!0}),t.init=function(e){return this._flicking=e,this._controller.init(e),this},t.destroy=function(){this._controller.destroy(),this._flicking=null,this._activePanel=null},t.enable=function(){return this._controller.enable(),this},t.disable=function(){return this._controller.disable(),this},t.release=function(){return this._controller.release(),this},t.updateAnimation=function(e,t,n){var i=this._controller.state,r=this._getPosition(e,null!=n?n:zs);return i.targetPanel=e,this._controller.updateAnimation(r,t),this},t.stopAnimation=function(){return this._controller.state.targetPanel=null,this._controller.stopAnimation(),this},t.updatePosition=function(e){var t=qs(this._flicking).camera,n=this._activePanel;n&&t.lookAt(t.clampToReachablePosition(n.position))},t.updateInput=function(){var e=qs(this._flicking).camera;return this._controller.update(e.controlParams),this},t.resetActive=function(){return this._activePanel=null,this},t.moveToPanel=function(e,t){var n=t.duration,i=t.direction,r=void 0===i?zs:i,a=t.axesEvent;return is(this,void 0,void 0,(function(){var t;return rs(this,(function(i){return t=this._getPosition(e,r),this._triggerIndexChangeEvent(e,e.position,a,r),[2,this._animateToPosition({position:t,duration:n,newActivePanel:e,axesEvent:a})]}))}))},t.setActive=function(e,t,n){var i,r=qs(this._flicking);this._activePanel=e,this._nextPanel=null,r.camera.updateAdaptiveHeight(),e!==t?r.trigger(new Hr(Ys.CHANGED,{index:e.index,panel:e,prevIndex:null!==(i=null==t?void 0:t.index)&&void 0!==i?i:-1,prevPanel:t,isTrusted:n,direction:t?tl(t.position,e.position):zs})):r.trigger(new Hr(Ys.RESTORED,{isTrusted:n}))},t.copy=function(e){this._flicking=e._flicking,this._activePanel=e._activePanel,this._controller=e._controller},t._triggerIndexChangeEvent=function(e,t,n,i){var r,a=qs(this._flicking),o=e!==this._activePanel?Ys.WILL_CHANGE:Ys.WILL_RESTORE,s=a.camera,l=this._activePanel,c=new Hr(o,{index:e.index,panel:e,isTrusted:(null==n?void 0:n.isTrusted)||!1,direction:null!=i?i:tl(null!==(r=null==l?void 0:l.position)&&void 0!==r?r:s.position,t)});if(this._nextPanel=e,a.trigger(c),c.isCanceled())throw new gl(Ts,vs)},t._animateToPosition=function(e){var t=e.position,n=e.duration,i=e.newActivePanel,r=e.axesEvent;return is(this,void 0,void 0,(function(){var e,a,o=this;return rs(this,(function(s){return e=qs(this._flicking),a=function(){return o._controller.animateTo(t,n,r)},this._controller.state.targetPanel=i,n<=0?[2,a()]:[2,a().then((function(){return is(o,void 0,void 0,(function(){return rs(this,(function(t){switch(t.label){case 0:return e.initialized?[4,e.renderer.render()]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}
266))}))})).catch((function(e){if(!(r&&e instanceof gl&&e.code===bs))throw e}))]}))}))},t._getPosition=function(e,t){void 0===t&&(t=zs);var n=qs(this._flicking),i=n.camera,r=e.position,a=i.findNearestAnchor(r);if(e.removed||!a)throw new gl(Os(e.position),ms);if(i.canReach(e)){if(n.circularEnabled){var o=this._controller.position,s=i.rangeDiff,l=[r,r+s,r-s].filter((function(e){return t===zs||(t===Ns?e<=o:e>=o)}));r=l.reduce((function(e,t){return Math.abs(o-t)<Math.abs(o-e)?t:e}),1/0)}}else r=a.position,e=a.panel;return r},e}(),Dl=function(){function e(e){var t=e.index,n=e.position,i=e.panel;this._index=t,this._pos=n,this._panel=i}var t=e.prototype;return Object.defineProperty(t,"index",{get:function(){return this._index},enumerable:!1,configurable:!0}),Object.defineProperty(t,"position",{get:function(){return this._pos},enumerable:!1,configurable:!0}),Object.defineProperty(t,"panel",{get:function(){return this._panel},enumerable:!1,configurable:!0}),e}(),Pl=function(e){function t(t){var n=(void 0===t?{}:t).count,i=void 0===n?1/0:n,r=e.call(this)||this;return r._count=i,r}ts(t,e);var n=t.prototype;return Object.defineProperty(n,"count",{get:function(){return this._count},set:function(e){this._count=e},enumerable:!1,configurable:!0}),n.moveToPosition=function(e,t,n){var i=qs(this._flicking),r=i.camera,a=r.findActiveAnchor(),o=r.findNearestAnchor(r.position),s=this._controller.state;if(!a||!o)return Promise.reject(new gl(Os(e),ms));var l,c=this._calcSnapThreshold(i.threshold,e,a),u=i.animating?s.delta:e-r.position,d=Math.abs(u),h=n&&0!==n.delta.flick?Math.abs(n.delta.flick):d;if(h>=c&&h>0)l=this._findSnappedAnchor(e,o);else{if(!(d>=i.threshold&&d>0))return this.moveToPanel(o.panel,{duration:t,axesEvent:n});l=this._findAdjacentAnchor(e,u,o)}return this._triggerIndexChangeEvent(l.panel,e,n),this._animateToPosition({position:r.clampToReachablePosition(l.position),duration:t,newActivePanel:l.panel,axesEvent:n})},n._findSnappedAnchor=function(e,t){var n=qs(this._flicking),i=n.camera,r=this._count,a=i.position,o=i.clampToReachablePosition(e),s=i.findAnchorIncludePosition(o);if(!t||!s)throw new gl(Os(e),ms);if(!isFinite(r))return s;var l=n.panelCount,c=i.anchorPoints,u=Math.sign(e-a)*Math.floor(Math.abs(e-a)/i.rangeDiff);e>a&&s.index<t.index||s.position>t.position&&s.index===t.index?u+=1:(e<a&&s.index>t.index||s.position<t.position&&s.index===t.index)&&(u-=1);var d=u*l,h=s.index+d;if(Math.abs(h-t.index)<=r){var f=c[s.index];return new Dl({index:f.index,position:f.position+u*i.rangeDiff,panel:f.panel})}if(n.circularEnabled){var p=c[hl(t.index+Math.sign(e-a)*r,l)],m=Math.floor(r/l);return e>a&&p.index<t.index?m+=1:e<a&&p.index>t.index&&(m-=1),new Dl({index:p.index,position:p.position+m*i.rangeDiff,panel:p.panel})}return c[Gs(t.index+Math.sign(e-a)*r,0,c.length-1)]},n._findAdjacentAnchor=function(e,t,n){var i,r=qs(this._flicking).camera;if(r.circularEnabled){var a=r.findAnchorIncludePosition(e);if(a&&a.position!==n.position)return a}return null!==(i=t>0?r.getNextAnchor(n):r.getPrevAnchor(n))&&void 0!==i?i:n},n._calcSnapThreshold=function(e,t,n){var i=t>n.position,r=n.panel,a=r.size,o=r.alignPosition;return Math.max(e,i?a-o+r.margin.next:o+r.margin.prev)},t}(El),jl=function(e){function t(t){var n=(void 0===t?{}:t).stopAtEdge,i=void 0===n||n,r=e.call(this)||this;return r._stopAtEdge=i,r}ts(t,e);var n=t.prototype;return Object.defineProperty(n,"stopAtEdge",{get:function(){return this._stopAtEdge},set:function(e){this._stopAtEdge=e},enumerable:!1,configurable:!0}),n.updatePosition=function(e){var t=qs(this._flicking).camera,n=this._activePanel;if(n){var i=n.range,r=i.min+(i.max-i.min)*e;t.lookAt(t.clampToReachablePosition(r))}},n.moveToPosition=function(e,t,n){var i=qs(this._flicking).camera,r=i.clampToReachablePosition(e),a=i.findAnchorIncludePosition(r);if(!a)return Promise.reject(new gl(Os(e),ms));var o=a.panel;return o!==this._activePanel&&this._triggerIndexChangeEvent(o,e,n),this._animateToPosition({position:this._stopAtEdge?r:e,duration:t,newActivePanel:o,axesEvent:n})},t}(El),Yl=function(e){function t(t){var n=(void 0===t?{}:t).count,i=void 0===n?1:n,r=e.call(this)||this;return r.setActive=function(t,n,i){e.prototype.setActive.call(r,t,n,i),r.updateInput()},r._count=i,r._resetIndexRange(),r}ts(t,e);var n=t.prototype;return Object.defineProperty(n,"count",{get:function(){return this._count},set:function(e){this._count=e}
266,enumerable:!1,configurable:!0}),n.destroy=function(){e.prototype.destroy.call(this),this._resetIndexRange()},n.updateInput=function(){var e,t=qs(this._flicking),n=t.camera,i=t.renderer,r=this._controller,a=n.controlParams,o=this._count,s=r.state.animating?null===(e=n.findNearestAnchor(n.position))||void 0===e?void 0:e.panel:this._activePanel;if(!s)return r.update(a),this._resetIndexRange(),this;var l=a.range,c=s.position,u=s.index,d=i.panelCount,h=u-o,f=u+o;h<0&&(h=t.circularEnabled?il((h+1)%d-1,d):Gs(h,0,d-1)),f>=d&&(f=t.circularEnabled?f%d:Gs(f,0,d-1));var p=i.panels[h],m=i.panels[f],g=Math.max(p.position,l.min),v=Math.min(m.position,l.max);return g>c&&(g-=n.rangeDiff),v<c&&(v+=n.rangeDiff),a.range={min:g,max:v},a.circular&&(a.position<g&&(a.position+=n.rangeDiff),a.position>v&&(a.position-=n.rangeDiff)),a.circular=!1,r.update(a),this._indexRange={min:p.index,max:m.index},this},n.moveToPanel=function(t,n){return is(this,void 0,void 0,(function(){var i,r;return rs(this,(function(a){return i=qs(this._flicking),r=i.camera,this._controller.update(r.controlParams),[2,e.prototype.moveToPanel.call(this,t,n)]}))}))},n.moveToPosition=function(e,t,n){var i,r=qs(this._flicking),a=r.camera,o=null!==(i=this._nextPanel)&&void 0!==i?i:this._activePanel,s=this._controller.range,l=this._indexRange,c=a.range,u=this._controller.state,d=Gs(a.clampToReachablePosition(e),s[0],s[1]),h=a.findAnchorIncludePosition(d);if(!h||!o)return Promise.reject(new gl(Os(e),ms));var f,p,m=o.position,g=r.animating?u.delta:e-a.position,v=Math.abs(g)>=r.threshold,b=e>m?a.getNextAnchor(h):a.getPrevAnchor(h),y=a.anchorPoints,_=y[0],x=y[y.length-1],w=e<=c.min&&dl(_.panel.index,l.min,l.max),k=e>=c.max&&dl(x.panel.index,l.min,l.max),S=b&&(l.min<=l.max?dl(b.index,l.min,l.max):b.index>=l.min||b.index<=l.max);if(w||k){var M=e<c.min?_:x;p=M.panel,f=M.position}else if(v&&h.position!==o.position)p=h.panel,f=h.position;else{if(!v||!S){var L=a.findNearestAnchor(a.position);return L?this.moveToPanel(L.panel,{duration:t,axesEvent:n}):Promise.reject(new gl(Os(e),ms))}p=b.panel,f=b.position}return this._triggerIndexChangeEvent(p,e,n),this._animateToPosition({position:f,duration:t,newActivePanel:p,axesEvent:n})},n._resetIndexRange=function(){this._indexRange={min:0,max:0}},t}(El),Il=function(){function e(e){this._flicking=e}var t=e.prototype;return t.getAnchors=function(){return this._flicking.renderer.panels.map((function(e,t){return new Dl({index:t,position:e.position,panel:e})}))},t.findAnchorIncludePosition=function(e){return this._flicking.camera.anchorPoints.filter((function(t){return t.panel.includePosition(e,!0)})).reduce((function(t,n){return t&&Math.abs(t.position-e)<Math.abs(n.position-e)?t:n}),null)},t.findNearestAnchor=function(e){var t=this._flicking.camera.anchorPoints;if(t.length<=0)return null;for(var n=1/0,i=0;i<t.length;i++){var r=t[i],a=Math.abs(r.position-e);if(a>n)return t[i-1];n=a}return t[t.length-1]},t.clampToReachablePosition=function(e){var t=this._flicking.camera.range;return Gs(e,t.min,t.max)},t.getCircularOffset=function(){return 0},t.canReach=function(e){var t=this._flicking.camera.range;if(e.removed)return!1;var n=e.position;return n>=t.min&&n<=t.max},t.canSee=function(e){var t=this._flicking.camera.visibleRange;return e.isVisibleOnRange(t.min,t.max)},e}(),Rl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}ts(t,e);var n=t.prototype;return n.checkAvailability=function(){return!0},n.getRange=function(){var e,t,n=this._flicking.renderer,i=n.getPanel(0),r=n.getPanel(n.panelCount-1);return{min:null!==(e=null==i?void 0:i.position)&&void 0!==e?e:0,max:null!==(t=null==r?void 0:r.position)&&void 0!==t?t:0}},t}(Il),Hl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}ts(t,e);var n=t.prototype;return n.checkAvailability=function(){var e=this._flicking,t=e.renderer.panels;if(t.length<=0)return!1;var n=t[0],i=t[t.length-1],r=n.range.min-n.margin.prev,a=i.range.max+i.margin.next,o=e.camera.size,s=a-r;return t.every((function(e){return s-e.size>=o}))},n.getRange=function(){var e=this._flicking.renderer.panels;if(e.length<=0)return{min:0,max:0};var t=e[0],n=e[e.length-1];return{min:t.range.min-t.margin.prev,max:n.range.max+n.margin.next}},n.getAnchors=function(){return this._flicking.renderer.panels.map((function(e,t){return new Dl({index:t,position:e.position,panel:e})}))},n.findNearestAnchor=function(e){var t=this._flicking.camera,n=t.anchorPoints;if(n.length<=0)return null;for(var i=t.range,r=1/0,a=-1,o=0;o<n.length;o++){var s=n[o],l=Math.min(Math.abs(s.position-e),Math.abs(s.position-i.min+i.max-e),Math.abs(e-i.min+i.max-s.position));l<r&&(r=l,a=o)}return n[a]},n.findAnchorIncludePosition=function(t){var n=this._flicking.camera,i=n.range,r=n.anchorPoints,a=n.rangeDiff,o=r.length,s=ol(t,i.min,i.max),l=e.prototype.findAnchorIncludePosition.call(this,s);if(o>0&&(t===i.min||t===i.max)){var c=[l,new Dl({index:0,position:r[0].position+a,panel:r[0].panel}),new Dl({index:o-1,position:r[o-1].position-a,panel:r[o-1].panel})].filter((function(e){return!!e}));l=c.reduce((function(e,n){return e&&Math.abs(e.position-t)<Math.abs(n.position-t)?e:n}),null)}if(!l)return null;if(t<i.min){var u=-Math.floor((i.min-t)/a)-1;return new Dl({index:l.index,position:l.position+a*u,panel:l.panel})}if(t>i.max){u=Math.floor((t-i.max)/a)+1;return new Dl({index:l.index,position:l.position+a*u,panel:l.panel})}return l},n.getCircularOffset=function(){var e=this._flicking;if(!e.camera.circularEnabled)return 0;var t=e.panels.filter((function(e){return e.toggled})),n=t.filter((function(e){return e.toggleDirection===Ns})),i=t.filter((function(e){return e.toggleDirection===Fs}));return this._calcPanelAreaSum(n)-this._calcPanelAreaSum(i)},n.clampToReachablePosition=function(e){return e},n.canReach=function(e){return!e.removed},n.canSee=function(t){var n=this._flicking.camera,i=n.range,r=n.rangeDiff,a=n.visibleRange,o=e.prototype.canSee.call(this,t);return a.min<i.min?o||t.isVisibleOnRange(a.min+r,a.max+r):a.max>i.max?o||t.isVisibleOnRange(a.min-r,a.max-r):o},n._calcPanelAreaSum=function(e){return e.reduce((function(e,t){return e+t.sizeIncludingMargin}),0)},t}(Il),Nl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}ts(t,e);var n=t.prototype;return n.checkAvailability=function(){var e=this._flicking,t=e.renderer,n=t.getPanel(0),i=t.getPanel(t.panelCount-1);if(!n||!i)return!1;var r=e.camera.size,a=n.range.min;return r<i.range.max-a},n.getRange=function(){var e=this._flicking,t=e.renderer,n=e.camera.alignPosition,i=t.getPanel(0),r=t.getPanel(t.panelCount-1);if(!i||!r)return{min:0,max:0};var a=e.camera.size,o=i.range.min,s=r.range.max,l=o+n,c=s-a+n;if(a<s-o)return{min:l,max:c};var u=e.camera.align,d="object"==typeof u?u.camera:u,h=l+Ks(d,c-l);return{min:h,max:h}},n.getAnchors=function(){var e=this._flicking,t=e.camera,n=e.renderer.panels;if(n.length<=0)return[];var i=e.camera.range,r=n.filter((function(e){return t.canReach(e)}));if(r.length>0){var a=r[0].position!==i.min,o=r[r.length-1].position!==i.max,s=a?1:0,l=r.map((function(e,t){return new Dl({index:t+s,position:e.position,panel:e})}));return a&&l.splice(0,0,new Dl({index:0,position:i.min,panel:n[r[0].index-1]})),o&&l.push(new Dl({index:l.length,position:i.max,panel:n[r[r.length-1].index+1]})),l}if(i.min!==i.max){var c=this._findNearestPanel(i.min,n),u=c.index===n.length-1?c.prev():c,d=u.next();return[new Dl({index:0,position:i.min,panel:u}),new Dl({index:1,position:i.max,panel:d})]}return[new Dl({index:0,position:i.min,panel:this._findNearestPanel(i.min,n)})]},n.findAnchorIncludePosition=function(t){var n=this._flicking.camera,i=n.range,r=n.anchorPoints;return r.length<=0?null:t<=i.min?r[0]:t>=i.max?r[r.length-1]:e.prototype.findAnchorIncludePosition.call(this,t)},n._findNearestPanel=function(e,t){for(var n=1/0,i=0;i<t.length;i++){var r=t[i],a=Math.abs(r.position-e);if(a>n)return t[i-1];n=a}return t[t.length-1]},t}(Il),Fl=function(){function e(e,t){var n=this,i=(void 0===t?{}:t).align,r=void 0===i?Rs:i;this._lookedOffset=0,this._checkTranslateSupport=function(){var e,t,i=document.documentElement.style,r="";try{for(var a=as(["webkitTransform","msTransform","MozTransform","OTransform","transform"]),o=a.next();!o.done;o=a.next()){var s=o.value;s in i&&(r=s)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}if(!r)throw new gl(Cs,gs);n._transform=r},this._flicking=e,this._resetInternalValues(),this._align=r}var t=e.prototype;return Object.defineProperty(t,"element",{get:function(){return this._el}
266,enumerable:!1,configurable:!0}),Object.defineProperty(t,"children",{get:function(){return Js(this._el.children)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"position",{get:function(){return this._position},enumerable:!1,configurable:!0}),Object.defineProperty(t,"alignPosition",{get:function(){return this._alignPos},enumerable:!1,configurable:!0}),Object.defineProperty(t,"offset",{get:function(){return this._offset-this._circularOffset},enumerable:!1,configurable:!0}),Object.defineProperty(t,"circularEnabled",{get:function(){return this._circularEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mode",{get:function(){return this._mode},enumerable:!1,configurable:!0}),Object.defineProperty(t,"range",{get:function(){return this._range},enumerable:!1,configurable:!0}),Object.defineProperty(t,"rangeDiff",{get:function(){return this._range.max-this._range.min},enumerable:!1,configurable:!0}),Object.defineProperty(t,"visiblePanels",{get:function(){return this._visiblePanels},enumerable:!1,configurable:!0}),Object.defineProperty(t,"visibleRange",{get:function(){return{min:this._position-this._alignPos,max:this._position-this._alignPos+this.size}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"anchorPoints",{get:function(){return this._anchors},enumerable:!1,configurable:!0}),Object.defineProperty(t,"controlParams",{get:function(){return{range:this._range,position:this._position,circular:this._circularEnabled}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"atEdge",{get:function(){return this._position<=this._range.min||this._position>=this._range.max},enumerable:!1,configurable:!0}),Object.defineProperty(t,"size",{get:function(){var e=this._flicking;return e?e.horizontal?e.viewport.width:e.viewport.height:0},enumerable:!1,configurable:!0}),Object.defineProperty(t,"progress",{get:function(){var e=this._flicking,t=this._position+this._offset,n=this.findNearestAnchor(this._position);if(!e||!n)return NaN;var i=n.panel,r=i.position+i.offset,a=e.control.controller.bounce,o=this.range,s=o.min,l=o.max,c=this.rangeDiff;if(t===r)return i.index;if(t<r){var u=i.prev(),d=u?u.position+u.offset:s-a[0];return d>r&&(d-=c),i.index-1+ll(t,d,r)}var h=i.next(),f=h?h.position+h.offset:l+a[1];return f<r&&(f+=c),i.index+ll(t,r,f)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"panelOrder",{get:function(){return this._panelOrder},enumerable:!1,configurable:!0}),Object.defineProperty(t,"align",{get:function(){return this._align},set:function(e){this._align=e},enumerable:!1,configurable:!0}),t.init=function(){var e=this._flicking.viewport.element;return function(e,t){if(null==e)throw new gl(Ss(e,t),ds)}(e.firstElementChild,"First element child of the viewport element"),this._el=e.firstElementChild,this._checkTranslateSupport(),this._updateMode(),this.updatePanelOrder(),this},t.destroy=function(){return this._resetInternalValues(),this},t.lookAt=function(e){var t=this,n=this._offset,i=this._lookedOffset!==n,r=qs(this._flicking),a=this._position;this._position=e;var o=this._togglePanels(a,e);this._refreshVisiblePanels(),this._checkNeedPanel(),this._checkReachEnd(a,e),o?r.renderer.render().then((function(){t.updateOffset(),t._lookedOffset=t._offset})):i?(this.updateOffset(),this._lookedOffset=this._offset):this.applyTransform()},t.getPrevAnchor=function(e){if(this._circularEnabled&&0===e.index){var t=this._anchors,n=this.rangeDiff,i=t[t.length-1];return new Dl({index:i.index,position:i.position-n,panel:i.panel})}return this._anchors[e.index-1]||null},t.getNextAnchor=function(e){var t=this._anchors;if(this._circularEnabled&&e.index===t.length-1){var n=this.rangeDiff,i=t[0];return new Dl({index:i.index,position:i.position+n,panel:i.panel})}return t[e.index+1]||null},t.getProgressInPanel=function(e){var t=e.range;return(this._position-t.min)/(t.max-t.min)},t.findAnchorIncludePosition=function(e){return this._mode.findAnchorIncludePosition(e)},t.findNearestAnchor=function(e){return this._mode.findNearestAnchor(e)},t.findActiveAnchor=function(){var e,t=qs(this._flicking).control.activePanel;return t?null!==(e=function(e,t){var n,i;try{for(var r=as(e),a=r.next();!a.done;a=r.next()){var o=a.value;if(t(o))return o}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return null}(this._anchors,(function(e){return e.panel.index===t.index})))&&void 0!==e?e:this.findNearestAnchor(t.position):null},t.clampToReachablePosition=function(e){return this._mode.clampToReachablePosition(e)},t.canReach=function(e){return this._mode.canReach(e)},t.canSee=function(e){return this._mode.canSee(e)},t.updateRange=function(){var e=qs(this._flicking).renderer.panels;return this._updateMode(),this._range=this._mode.getRange(),e.forEach((function(e){return e.updateCircularToggleDirection()})),this},t.updateAlignPos=function(){var e=this._align,t="object"==typeof e?e.camera:e;return this._alignPos=Ks(t,this.size),this},t.updateAnchors=function(){return this._anchors=this._mode.getAnchors(),this},t.updateAdaptiveHeight=function(){var e=qs(this._flicking),t=e.control.activePanel,n=ss(e.visiblePanels);if(t&&n.push(t),e.horizontal&&e.adaptive&&n.length){var i=Math.max.apply(Math,ss(n.map((function(e){return e.height}))));e.viewport.setSize({height:i})}},t.updateOffset=function(){var e=qs(this._flicking),t=this._position,n=e.panels.filter((function(e){return!e.rendered}));return this._offset=n.filter((function(e){return e.position+e.offset<t})).reduce((function(e,t){return e+t.sizeIncludingMargin}),0),this._circularOffset=this._mode.getCircularOffset(),this.applyTransform(),this},t.updatePanelOrder=function(){var e=qs(this._flicking);if(!e.horizontal)return this;var t=this._el,n=cl(t).direction;return n!==this._panelOrder&&(this._panelOrder=n===Xs?Xs:Us,e.initialized&&e.control.controller.updateDirection()),this},t.resetNeedPanelHistory=function(){return this._needPanelTriggered={prev:!1,next:!1},this},t.applyTransform=function(){var e=this._el,t=qs(this._flicking);if(t.renderer.rendering||!t.initialized)return this;var n=this._position-this._alignPos-this._offset+this._circularOffset;return e.style[this._transform]=t.horizontal?"translate("+(this._panelOrder===Xs?n:-n)+"px)":"translate(0, "+-n+"px)",this},t._resetInternalValues=function(){this._position=0,this._lookedOffset=0,this._alignPos=0,this._offset=0,this._circularOffset=0,this._circularEnabled=!1,this._range={min:0,max:0},this._visiblePanels=[],this._anchors=[],this._needPanelTriggered={prev:!1,next:!1}},t._refreshVisiblePanels=function(){var e=this,t=qs(this._flicking),n=t.renderer.panels.filter((function(t){return e.canSee(t)})),i=this._visiblePanels;this._visiblePanels=n;var r=n.filter((function(e){return!rl(i,e)})),a=i.filter((function(e){return!rl(n,e)}));(r.length>0||a.length>0)&&t.renderer.render().then((function(){t.trigger(new Hr(Ys.VISIBLE_CHANGE,{added:r,removed:a,visiblePanels:n}))}))},t._checkNeedPanel=function(){var e=this._needPanelTriggered;if(!e.prev||!e.next){var t=qs(this._flicking),n=t.renderer.panels;if(n.length<=0)return e.prev||(t.trigger(new Hr(Ys.NEED_PANEL,{direction:Ns})),e.prev=!0),void(e.next||(t.trigger(new Hr(Ys.NEED_PANEL,{direction:Fs})),e.next=!0));var i=this._position,r=this.size,a=this._range,o=t.needPanelThreshold,s=i-this._alignPos,l=s+r,c=n[0],u=n[n.length-1];if(!e.prev)(s<=c.range.min+o||i<=a.min+o)&&(t.trigger(new Hr(Ys.NEED_PANEL,{direction:Ns})),e.prev=!0);if(!e.next)(l>=u.range.max-o||i>=a.max-o)&&(t.trigger(new Hr(Ys.NEED_PANEL,{direction:Fs})),e.next=!0)}},t._checkReachEnd=function(e,t){var n=qs(this._flicking),i=this._range,r=e>i.min&&e<i.max,a=t>i.min&&t<i.max;if(r&&!a){var o=t<=i.min?Ns:Fs;n.trigger(new Hr(Ys.REACH_EDGE,{direction:o}))}},t._updateMode=function(){var e=qs(this._flicking);if(e.circular){var t=new Hl(e),n=t.checkAvailability();if(n)this._mode=t;else{var i=e.circularFallback;
266this._mode=i===$s?new Nl(e):new Rl(e)}this._circularEnabled=n}else this._mode=e.bound?new Nl(e):new Rl(e),this._circularEnabled=!1},t._togglePanels=function(e,t){return t!==e&&qs(this._flicking).renderer.panels.map((function(n){return n.toggle(e,t)})).some((function(e){return e}))},e}(),zl=function(){function e(e){var t=e.align,n=void 0===t?Rs:t,i=e.strategy;this._flicking=null,this._panels=[],this._rendering=!1,this._align=n,this._strategy=i}var t=e.prototype;return Object.defineProperty(t,"panels",{get:function(){return this._panels},enumerable:!1,configurable:!0}),Object.defineProperty(t,"rendering",{get:function(){return this._rendering},enumerable:!1,configurable:!0}),Object.defineProperty(t,"panelCount",{get:function(){return this._panels.length},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strategy",{get:function(){return this._strategy},enumerable:!1,configurable:!0}),Object.defineProperty(t,"align",{get:function(){return this._align},set:function(e){this._align=e;var t=el(e);this._panels.forEach((function(e){e.align=t}))},enumerable:!1,configurable:!0}),t.init=function(e){return this._flicking=e,this._collectPanels(),this},t.destroy=function(){this._flicking=null,this._panels=[]},t.getPanel=function(e){return this._panels[e]||null},t.forceRenderAllPanels=function(){return this._panels.forEach((function(e){return e.markForShow()})),Promise.resolve()},t.updatePanelSize=function(){var e=qs(this._flicking),t=this._panels;if(t.length<=0)return this;if(e.panelsPerView>0){var n=t[0];n.resize(),this._updatePanelSizeByGrid(n,t)}else e.panels.forEach((function(e){return e.resize()}));return this},t.batchInsert=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.batchInsertDefer.apply(this,ss(e));return n.length<=0?[]:(this.updateAfterPanelChange(n,[]),n)},t.batchInsertDefer=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=this._panels,r=qs(this._flicking),a=i[0],o=el(this._align),s=t.reduce((function(t,n){var s,l=il(n.index,i.length),c=i.slice(l),u=n.elements.map((function(t,n){return e._createPanel(t,{index:l+n,align:o,flicking:r})}));if(i.splice.apply(i,ss([l,0],u)),n.hasDOMInElements&&e._insertPanelElements(u,null!==(s=c[0])&&void 0!==s?s:null),r.panelsPerView>0){var d=a||u[0].resize();e._updatePanelSizeByGrid(d,u)}else u.forEach((function(e){return e.resize()}));return c.forEach((function(e){e.increaseIndex(u.length),e.updatePosition()})),ss(t,u)}),[]);return s},t.batchRemove=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.batchRemoveDefer.apply(this,ss(e));return n.length<=0?[]:(this.updateAfterPanelChange([],n),n)},t.batchRemoveDefer=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=this._panels,r=qs(this._flicking),a=r.control,o=a.activePanel,s=t.reduce((function(t,n){var r=n.index,s=n.deleteCount,l=il(r,i.length),c=i.slice(l+s),u=i.splice(l,s);return u.length<=0?[]:(c.forEach((function(e){e.decreaseIndex(u.length),e.updatePosition()})),n.hasDOMInElements&&e._removePanelElements(u),u.forEach((function(e){return e.destroy()})),rl(u,o)&&a.resetActive(),ss(t,u))}),[]);return s},t.updateAfterPanelChange=function(e,t){var n,i=qs(this._flicking),r=i.camera,a=i.control,o=this._panels,s=a.activePanel;if(this._updateCameraAndControl(),i.autoResize&&i.useResizeObserver&&(e.forEach((function(e){e.element&&i.autoResizer.observe(e.element)})),t.forEach((function(e){e.element&&i.autoResizer.unobserve(e.element)}))),this.render(),!i.animating)if(!s||s.removed)if(o.length<=0)r.lookAt(0);else{var l=null!==(n=null==s?void 0:s.index)&&void 0!==n?n:0;l>o.length-1&&(l=o.length-1),a.moveToPanel(o[l],{duration:0}).catch((function(){}))}else a.moveToPanel(s,{duration:0}).catch((function(){}));i.camera.updateOffset(),(e.length>0||t.length>0)&&(i.trigger(new Hr(Ys.PANEL_CHANGE,{added:e,removed:t})),this.checkPanelContentsReady(ss(e,t)))},t.checkPanelContentsReady=function(e){var t=this,n=qs(this._flicking),i=n.resizeOnContentsReady,r=this._panels;if(i&&!n.virtualEnabled){if(!((e=e.filter((function(e){return function(e){return e.element&&!!e.element.querySelector("img, video")}(e)}))).length<=0)){var a=new Qo;e.forEach((function(e){e.loading=!0})),a.on("readyElement",(function(i){if(t._flicking){var o=e[i.index],s=n.camera,l=n.control,c=l.activePanel?s.getProgressInPanel(l.activePanel):0;
266o.loading=!1,o.resize(),r.slice(o.index+1).forEach((function(e){return e.updatePosition()})),n.initialized&&(s.updateRange(),s.updateOffset(),s.updateAnchors(),l.animating||(l.updatePosition(c),l.updateInput()))}else a.destroy()})),a.on("preReady",(function(e){t._flicking&&t.render(),e.readyCount===e.totalCount&&a.destroy()})),a.on("ready",(function(){t._flicking&&t.render(),a.destroy()})),a.check(e.map((function(e){return e.element})))}}},t._updateCameraAndControl=function(){var e=qs(this._flicking),t=e.camera,n=e.control;t.updateRange(),t.updateOffset(),t.updateAnchors(),t.resetNeedPanelHistory(),n.updateInput()},t._showOnlyVisiblePanels=function(e){var t=e.renderer.panels,n=e.camera.visiblePanels.reduce((function(e,t){return e[t.index]=!0,e}),{});t.forEach((function(t){t.index in n||t.loading?t.markForShow():e.holding||t.markForHide()}))},t._updatePanelSizeByGrid=function(e,t){var n=qs(this._flicking),i=n.panelsPerView;if(i<=0)throw new gl(Ls("panelsPerView",i),fs);if(!(t.length<=0)){var r=(n.camera.size-(e.margin.prev+e.margin.next)*(i-1))/i,a=n.horizontal?{width:r}:{height:r},o=ns({size:r,margin:e.margin},!n.horizontal&&{height:e.height});n.noPanelStyleOverride||this._strategy.updatePanelSizes(n,a),n.panels.forEach((function(e){return e.resize(o)}))}},t._removeAllChildsFromCamera=function(){for(var e=qs(this._flicking).camera.element;e.firstChild;)e.removeChild(e.firstChild)},t._insertPanelElements=function(e,t){void 0===t&&(t=null);var n=qs(this._flicking).camera.element,i=(null==t?void 0:t.element)||null,r=document.createDocumentFragment();e.forEach((function(e){return r.appendChild(e.element)})),n.insertBefore(r,i)},t._removePanelElements=function(e){var t=qs(this._flicking).camera.element;e.forEach((function(e){t.removeChild(e.element)}))},t._afterRender=function(){qs(this._flicking).camera.applyTransform()},e}(),Bl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}ts(t,e);var n=t.prototype;return n.render=function(){return is(this,void 0,void 0,(function(){var e,t;return rs(this,(function(n){return e=qs(this._flicking),(t=this._strategy).updateRenderingPanels(e),t.renderPanels(e),this._resetPanelElementOrder(),this._afterRender(),[2]}))}))},n._collectPanels=function(){var e=qs(this._flicking),t=e.camera;this._removeAllTextNodes(),this._panels=this._strategy.collectPanels(e,t.children)},n._createPanel=function(e,t){return this._strategy.createPanel(e,t)},n._resetPanelElementOrder=function(){var e=qs(this._flicking),t=e.camera.element,n=this._strategy.getRenderingElementsByOrder(e).reverse();n.forEach((function(e,i){var r=n[i-1]?n[i-1]:null;e.nextElementSibling!==r&&t.insertBefore(e,r)}))},n._removeAllTextNodes=function(){var e=qs(this._flicking).camera.element;Js(e.childNodes).forEach((function(t){t.nodeType===Node.TEXT_NODE&&e.removeChild(t)}))},t}(zl),Wl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}ts(t,e);var n=t.prototype;return n._removePanelElements=function(e){},n._removeAllChildsFromCamera=function(){},t}(zl),Vl=function(){function e(e){var t=e.index,n=e.align,i=e.flicking,r=e.elementProvider;this._index=t,this._flicking=i,this._elProvider=r,this._align=n,this._removed=!1,this._rendered=!0,this._loading=!1,this._resetInternalStates()}var t=e.prototype;return Object.defineProperty(t,"element",{get:function(){return this._elProvider.element},enumerable:!1,configurable:!0}),Object.defineProperty(t,"elementProvider",{get:function(){return this._elProvider},enumerable:!1,configurable:!0}),Object.defineProperty(t,"index",{get:function(){return this._index},enumerable:!1,configurable:!0}),Object.defineProperty(t,"position",{get:function(){return this._pos+this._alignPos},enumerable:!1,configurable:!0}),Object.defineProperty(t,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),Object.defineProperty(t,"sizeIncludingMargin",{get:function(){return this._size+this._margin.prev+this._margin.next},enumerable:!1,configurable:!0}),Object.defineProperty(t,"height",{get:function(){return this._height},enumerable:!1,configurable:!0}),Object.defineProperty(t,"margin",{get:function(){return this._margin}
266,enumerable:!1,configurable:!0}),Object.defineProperty(t,"alignPosition",{get:function(){return this._alignPos},enumerable:!1,configurable:!0}),Object.defineProperty(t,"removed",{get:function(){return this._removed},enumerable:!1,configurable:!0}),Object.defineProperty(t,"rendered",{get:function(){return this._rendered},enumerable:!1,configurable:!0}),Object.defineProperty(t,"loading",{get:function(){return this._loading},set:function(e){this._loading=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"range",{get:function(){return{min:this._pos,max:this._pos+this._size}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"toggled",{get:function(){return this._toggled},enumerable:!1,configurable:!0}),Object.defineProperty(t,"toggleDirection",{get:function(){return this._toggleDirection},enumerable:!1,configurable:!0}),Object.defineProperty(t,"offset",{get:function(){var e=this._toggleDirection,t=this._flicking.camera.rangeDiff;return e!==zs&&this._toggled?e===Ns?-t:t:0},enumerable:!1,configurable:!0}),Object.defineProperty(t,"progress",{get:function(){var e=this._flicking;return this.index-e.camera.progress},enumerable:!1,configurable:!0}),Object.defineProperty(t,"outsetProgress",{get:function(){var e=this.position+this.offset,t=this._alignPos,n=this._flicking.camera,i=n.position;if(i===e)return 0;if(i<e){var r=e+(n.size-n.alignPosition)+t;return-ll(i,e,r)}var a=e-(n.alignPosition+this._size-t);return 1-ll(i,a,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"visibleRatio",{get:function(){var e=this.range,t=this._size,n=this.offset,i=this._flicking.camera.visibleRange,r=e.min+n,a=e.max+n;if(a<=i.min||r>=i.max)return 0;var o=t;return i.min>r&&(o-=i.min-r),i.max<a&&(o-=a-i.max),o/t},enumerable:!1,configurable:!0}),Object.defineProperty(t,"align",{get:function(){return this._align},set:function(e){this._align=e,this._updateAlignPos()},enumerable:!1,configurable:!0}),t.markForShow=function(){this._rendered=!0,this._elProvider.show(this._flicking)},t.markForHide=function(){this._rendered=!1,this._elProvider.hide(this._flicking)},t.resize=function(e){var t,n=this.element,i=this._flicking,r=i.horizontal,a=i.useFractionalSize;if(!n)return this;if(e)this._size=e.size,this._margin=ns({},e.margin),this._height=null!==(t=e.height)&&void 0!==t?t:pl({el:n,horizontal:!1,useFractionalSize:a,useOffset:!0,style:cl(n)});else{var o=cl(n);this._size=pl({el:n,horizontal:r,useFractionalSize:a,useOffset:!0,style:o}),this._margin=r?{prev:parseFloat(o.marginLeft||"0"),next:parseFloat(o.marginRight||"0")}:{prev:parseFloat(o.marginTop||"0"),next:parseFloat(o.marginBottom||"0")},this._height=r?pl({el:n,horizontal:!1,useFractionalSize:a,useOffset:!0,style:o}):this._size}return this.updatePosition(),this._updateAlignPos(),this},t.setSize=function(e){return ul(this.element,e),this},t.contains=function(e){var t;return!!(null===(t=this.element)||void 0===t?void 0:t.contains(e))},t.destroy=function(){this._resetInternalStates(),this._removed=!0},t.includePosition=function(e,t){return void 0===t&&(t=!1),this.includeRange(e,e,t)},t.includeRange=function(e,t,n){void 0===n&&(n=!1);var i=this._margin,r=this.range;return n&&(r.min-=i.prev,r.max+=i.next),t>=r.min&&e<=r.max},t.isVisibleOnRange=function(e,t){var n=this.range;return t>n.min&&e<n.max},t.focus=function(e){return this._flicking.moveTo(this._index,e)},t.prev=function(){var e=this._index,t=this._flicking,n=t.renderer,i=n.panelCount;return 1===i?null:t.circularEnabled?n.getPanel(0===e?i-1:e-1):n.getPanel(e-1)},t.next=function(){var e=this._index,t=this._flicking,n=t.renderer,i=n.panelCount;return 1===i?null:t.circularEnabled?n.getPanel(e===i-1?0:e+1):n.getPanel(e+1)},t.increaseIndex=function(e){return this._index+=Math.max(e,0),this},t.decreaseIndex=function(e){return this._index-=Math.max(e,0),this},t.updatePosition=function(){var e=this._flicking.renderer.panels[this._index-1];return this._pos=e?e.range.max+e.margin.next+this._margin.prev:this._margin.prev,this},t.toggle=function(e,t){var n=this._toggleDirection,i=this._togglePosition;if(n===zs||t===e)return!1;var r=this._toggled;return t>e?i>=e&&i<=t&&(this._toggled=n===Fs):i<=e&&i>=t&&(this._toggled=n!==Fs),r!==this._toggled},t.updateCircularToggleDirection=function(){var e=this._flicking;if(!e.circularEnabled)return this._toggleDirection=zs,this._togglePosition=0,this._toggled=!1,this;var t=e.camera,n=t.range,i=t.alignPosition,r=t.visibleRange,a=r.max-r.min,o=n.min-i,s=n.max-i+a,l=this.includeRange(s-a,s,!1),c=this.includeRange(o,o+a,!1);return this._toggled=!1,l?(this._toggleDirection=Ns,this._togglePosition=this.range.max+n.min-n.max+i,this.toggle(1/0,t.position)):c?(this._toggleDirection=Fs,this._togglePosition=this.range.min+n.max-a+i,this.toggle(-1/0,t.position)):(this._toggleDirection=zs,this._togglePosition=0),this},t._updateAlignPos=function(){this._alignPos=Ks(this._align,this._size)},t._resetInternalStates=function(){this._size=0,this._pos=0,this._margin={prev:0,next:0},this._height=0,this._alignPos=0,this._toggled=!1,this._togglePosition=0,this._toggleDirection=zs},e}(),$l=function(){function e(e){var t=e.providerCtor;this._providerCtor=t}var t=e.prototype;return t.renderPanels=function(){},t.getRenderingIndexesByOrder=function(e){var t=e.renderer.panels.filter((function(e){return e.rendered})),n=t.filter((function(e){return e.toggled&&e.toggleDirection===Ns})),i=t.filter((function(e){return e.toggled&&e.toggleDirection===Fs}));return ss(n,t.filter((function(e){return!e.toggled})),i).map((function(e){return e.index}))},t.getRenderingElementsByOrder=function(e){var t=e.panels;return this.getRenderingIndexesByOrder(e).map((function(e){return t[e].element}))},t.updateRenderingPanels=function(e){e.renderOnlyVisible?this._showOnlyVisiblePanels(e):e.panels.forEac
266h((function(e){return e.markForShow()}))},t.collectPanels=function(e,t){var n=this,i=el(e.renderer.align);return t.map((function(t,r){return new Vl({index:r,elementProvider:new n._providerCtor(t),align:i,flicking:e})}))},t.createPanel=function(e,t){return new Vl(ns(ns({},t),{elementProvider:new this._providerCtor(e)}))},t.updatePanelSizes=function(e,t){e.panels.forEach((function(e){return e.setSize(t)}))},t._showOnlyVisiblePanels=function(e){var t=e.renderer.panels,n=e.camera,i=n.visiblePanels.reduce((function(e,t){return e[t.index]=!0,e}),{});t.forEach((function(t){t.index in i||t.loading?t.markForShow():e.holding||t.markForHide()})),n.updateOffset()},e}(),Ul=function(e){function t(t){var n=e.call(this,t)||this;return t.elementProvider.init(n),n._elProvider=t.elementProvider,n._cachedInnerHTML=null,n}ts(t,e);var n=t.prototype;return Object.defineProperty(n,"element",{get:function(){return this._elProvider.element},enumerable:!1,configurable:!0}),Object.defineProperty(n,"cachedInnerHTML",{get:function(){return this._cachedInnerHTML},enumerable:!1,configurable:!0}),Object.defineProperty(n,"elementIndex",{get:function(){var e=this._flicking,t=e.panelsPerView+1,n=e.panelCount,i=this._index;return this._toggled&&(i=this._toggleDirection===Fs?i+n:i-n),hl(i,t)},enumerable:!1,configurable:!0}),n.cacheRenderResult=function(e){this._cachedInnerHTML=e},n.uncacheRenderResult=function(){this._cachedInnerHTML=null},n.render=function(){var e=this._flicking.virtual,t=e.renderPanel,n=e.cache,i=this._elProvider.element,r=this._cachedInnerHTML||t(this,this._index);r!==i.innerHTML&&(i.innerHTML=r,n&&this.cacheRenderResult(r))},n.increaseIndex=function(t){return this.uncacheRenderResult(),e.prototype.increaseIndex.call(this,t)},n.decreaseIndex=function(t){return this.uncacheRenderResult(),e.prototype.decreaseIndex.call(this,t)},t}(Vl),Xl=function(){function e(){}var t=e.prototype;return t.renderPanels=function(e){var t=e.virtual,n=e.visiblePanels,i=fl(e.panelsPerView+1);n.forEach((function(e){var n=e.elementIndex;e.render(),t.show(n),i[n]=-1})),i.filter((function(e){return e>=0})).forEach((function(e){t.hide(e)}))},t.getRenderingIndexesByOrder=function(e){var t=e.virtual,n=ss(e.visiblePanels).filter((function(e){return e.rendered})).sort((function(e,t){return e.position+e.offset-(t.position+t.offset)}));return n.length<=0?t.elements.map((function(e,t){return t})):ss(n.map((function(e){return e.elementIndex})),t.elements.map((function(e,t){return ns(ns({},e),{idx:t})})).filter((function(e){return!e.visible})).map((function(e){return e.idx})))},t.getRenderingElementsByOrder=function(e){var t=e.virtual.elements;return this.getRenderingIndexesByOrder(e).map((function(e){return t[e].nativeElement}))},t.updateRenderingPanels=function(e){var t=e.renderer.panels,n=e.camera,i=n.visiblePanels.reduce((function(e,t){return e[t.index]=!0,e}),{});t.forEach((function(e){e.index in i||e.loading?e.markForShow():e.markForHide()})),n.updateOffset()},t.collectPanels=function(e){var t=el(e.renderer.align);return fl(e.virtual.initialPanelCount).map((function(n){return new Ul({index:n,elementProvider:new _l(e),align:t,flicking:e})}))},t.createPanel=function(e,t){return new Ul(ns(ns({},t),{elementProvider:new _l(t.flicking)}))},t.updatePanelSizes=function(e,t){e.virtual.elements.forEach((function(e){ul(e.nativeElement,t)})),e.panels.forEach((function(e){return e.setSize(t)}))},e}(),Gl=function(e){function t(t,n){var i=void 0===n?{}:n,r=i.align,a=void 0===r?Rs:r,o=i.defaultIndex,s=void 0===o?0:o,l=i.horizontal,c=void 0===l||l,u=i.circular,d=void 0!==u&&u,h=i.circularFallback,f=void 0===h?Vs:h,p=i.bound,m=void 0!==p&&p,g=i.adaptive,v=void 0!==g&&g,b=i.panelsPerView,y=void 0===b?-1:b,_=i.noPanelStyleOverride,x=void 0!==_&&_,w=i.resizeOnContentsReady,k=void 0!==w&&w,S=i.nested,M=void 0!==S&&S,L=i.needPanelThreshold,A=void 0===L?0:L,O=i.preventEventsBeforeInit,C=void 0===O||O,T=i.deceleration,E=void 0===T?.0075:T,D=i.duration,P=void 0===D?500:D,j=i.easing,Y=void 0===j?function(e){return 1-Math.pow(1-e,3)}:j,I=i.inputType,R=void 0===I?["mouse","touch"]:I,H=i.moveType,N=void 0===H?"snap":H,F=i.threshold,z=void 0===F?40:F,B=i.dragThreshold,W=void 0===B?1:B,V=i.interruptable,$=void 0===V||V,U=i.bounce,X=void 0===U?"20%":U,G=i.iOSEdgeSwipeThreshold,q=void 0===G?30:G,J=i.preventClickOnDrag,K=void 0===J||J,Z=i.preventDefaultOnDrag,Q=void 0!==Z&&Z,ee=i.disableOnInit,te=void 0!==ee&&ee,ne=i.changeOnHold,ie=void 0!==ne&&ne,re=i.renderOnlyVisible,ae=void 0!==re&&re,oe
266=i.virtual,se=void 0===oe?null:oe,le=i.autoInit,ce=void 0===le||le,ue=i.autoResize,de=void 0===ue||ue,he=i.useResizeObserver,fe=void 0===he||he,pe=i.resizeDebounce,me=void 0===pe?0:pe,ge=i.observePanelResize,ve=void 0!==ge&&ge,be=i.maxResizeDebounce,ye=void 0===be?100:be,_e=i.useFractionalSize,xe=void 0!==_e&&_e,we=i.externalRenderer,ke=void 0===we?null:we,Se=i.renderExternal,Me=void 0===Se?null:Se,Le=i.optimizeSizeUpdate,Ae=void 0!==Le&&Le,Oe=e.call(this)||this;return Oe._initialized=!1,Oe._plugins=[],Oe._isResizing=!1,Oe._align=a,Oe._defaultIndex=s,Oe._horizontal=c,Oe._circular=d,Oe._circularFallback=f,Oe._bound=m,Oe._adaptive=v,Oe._panelsPerView=y,Oe._noPanelStyleOverride=x,Oe._resizeOnContentsReady=k,Oe._nested=M,Oe._virtual=se,Oe._needPanelThreshold=A,Oe._preventEventsBeforeInit=C,Oe._deceleration=E,Oe._duration=P,Oe._easing=Y,Oe._inputType=R,Oe._moveType=N,Oe._threshold=z,Oe._dragThreshold=W,Oe._interruptable=$,Oe._bounce=X,Oe._iOSEdgeSwipeThreshold=q,Oe._preventClickOnDrag=K,Oe._preventDefaultOnDrag=Q,Oe._disableOnInit=te,Oe._changeOnHold=ie,Oe._renderOnlyVisible=ae,Oe._autoInit=ce,Oe._autoResize=de,Oe._useResizeObserver=fe,Oe._resizeDebounce=me,Oe._maxResizeDebounce=ye,Oe._observePanelResize=ve,Oe._useFractionalSize=xe,Oe._externalRenderer=ke,Oe._renderExternal=Me,Oe._optimizeSizeUpdate=Ae,Oe._viewport=new vl(Oe,function(e,t){var n=null;if(al(e)){var i=(t||document).querySelector(e);if(!i)throw new gl(ks(e),us);n=i}else e&&e.nodeType===Node.ELEMENT_NODE&&(n=e);if(!n)throw new gl(ws(e,["HTMLElement","string"]),cs);return n}(t)),Oe._autoResizer=new bl(Oe),Oe._renderer=Oe._createRenderer(),Oe._camera=Oe._createCamera(),Oe._control=Oe._createControl(),Oe._virtualManager=new xl(Oe,se),Oe._autoInit&&Oe.init(),Oe}ts(t,e);var n=t.prototype;return Object.defineProperty(n,"control",{get:function(){return this._control},enumerable:!1,configurable:!0}),Object.defineProperty(n,"camera",{get:function(){return this._camera},enumerable:!1,configurable:!0}),Object.defineProperty(n,"renderer",{get:function(){return this._renderer},enumerable:!1,configurable:!0}),Object.defineProperty(n,"viewport",{get:function(){return this._viewport},enumerable:!1,configurable:!0}),Object.defineProperty(n,"autoResizer",{get:function(){return this._autoResizer},enumerable:!1,configurable:!0}),Object.defineProperty(n,"initialized",{get:function(){return this._initialized},enumerable:!1,configurable:!0}),Object.defineProperty(n,"circularEnabled",{get:function(){return this._camera.circularEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(n,"virtualEnabled",{get:function(){return this._panelsPerView>0&&null!=this._virtual},enumerable:!1,configurable:!0}),Object.defineProperty(n,"index",{get:function(){return this._control.activeIndex},enumerable:!1,configurable:!0}),Object.defineProperty(n,"element",{get:function(){return this._viewport.element},enumerable:!1,configurable:!0}),Object.defineProperty(n,"currentPanel",{get:function(){return this._control.activePanel},enumerable:!1,configurable:!0}),Object.defineProperty(n,"panels",{get:function(){return this._renderer.panels},enumerable:!1,configurable:!0}),Object.defineProperty(n,"panelCount",{get:function(){return this._renderer.panelCount},enumerable:!1,configurable:!0}),Object.defineProperty(n,"visiblePanels",{get:function(){return this._camera.visiblePanels},enumerable:!1,configurable:!0}),Object.defineProperty(n,"animating",{get:function(){return this._control.animating},enumerable:!1,configurable:!0}),Object.defineProperty(n,"holding",{get:function(){return this._control.holding},enumerable:!1,configurable:!0}),Object.defineProperty(n,"activePlugins",{get:function(){return this._plugins},enumerable:!1,configurable:!0}),Object.defineProperty(n,"align",{get:function(){return this._align},set:function(e){this._align=e,this._renderer.align=e,this._camera.align=e,this.resize()},enumerable:!1,configurable:!0}),Object.defineProperty(n,"defaultIndex",{get:function(){return this._defaultIndex},set:function(e){this._defaultIndex=e},enumerable:!1,configurable:!0}),Object.defineProperty(n,"horizontal",{get:function(){return this._horizontal},set:function(e){this._horizontal=e,this._control.controller.updateDirection(),this.resize()}
266,enumerable:!1,configurable:!0}),Object.defineProperty(n,"circular",{get:function(){return this._circular},set:function(e){this._circular=e,this.resize()},enumerable:!1,configurable:!0}),Object.defineProperty(n,"circularFallback",{get:function(){return this._circularFallback},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bound",{get:function(){return this._bound},set:function(e){this._bound=e,this.resize()},enumerable:!1,configurable:!0}),Object.defineProperty(n,"adaptive",{get:function(){return this._adaptive},set:function(e){this._adaptive=e,this.resize()},enumerable:!1,configurable:!0}),Object.defineProperty(n,"panelsPerView",{get:function(){return this._panelsPerView},set:function(e){this._panelsPerView=e,this.resize()},enumerable:!1,configurable:!0}),Object.defineProperty(n,"noPanelStyleOverride",{get:function(){return this._noPanelStyleOverride},set:function(e){this._noPanelStyleOverride=e,this.resize()},enumerable:!1,configurable:!0}),Object.defineProperty(n,"resizeOnContentsReady",{get:function(){return this._resizeOnContentsReady},set:function(e){this._resizeOnContentsReady=e,e&&this._renderer.checkPanelContentsReady(this._renderer.panels)},enumerable:!1,configurable:!0}),Object.defineProperty(n,"nested",{get:function(){return this._nested},set:function(e){this._nested=e;var t=this._control.controller.axes;t&&(t.options.nested=e)},enumerable:!1,configurable:!0}),Object.defineProperty(n,"needPanelThreshold",{get:function(){return this._needPanelThreshold},set:function(e){this._needPanelThreshold=e},enumerable:!1,configurable:!0}),Object.defineProperty(n,"preventEventsBeforeInit",{get:function(){return this._preventEventsBeforeInit},set:function(e){this._preventEventsBeforeInit=e},enumerable:!1,configurable:!0}),Object.defineProperty(n,"deceleration",{get:function(){return this._deceleration},set:function(e){this._deceleration=e;var t=this._control.controller.axes;t&&(t.options.deceleration=e)},enumerable:!1,configurable:!0}),Object.defineProperty(n,"easing",{get:function(){return this._easing},set:function(e){this._easing=e;var t=this._control.controller.axes;t&&(t.options.easing=e)},enumerable:!1,configurable:!0}),Object.defineProperty(n,"duration",{get:function(){return this._duration},set:function(e){this._duration=e},enumerable:!1,configurable:!0}),Object.defineProperty(n,"inputType",{get:function(){return this._inputType},set:function(e){this._inputType=e;var t=this._control.controller.panInput;t&&(t.options.inputType=e)},enumerable:!1,configurable:!0}),Object.defineProperty(n,"moveType",{get:function(){return this._moveType},set:function(e){this._moveType=e;var t=this._control,n=this._createControl(),i=t.activePanel;n.copy(t);var r=i?this._camera.getProgressInPanel(i):0;this._control=n,this._control.updatePosition(r),this._control.updateInput()},enumerable:!1,configurable:!0}),Object.defineProperty(n,"threshold",{get:function(){return this._threshold},set:function(e){this._threshold=e},enumerable:!1,configurable:!0}),Object.defineProperty(n,"dragThreshold",{get:function(){return this._dragThreshold},set:function(e){this._dragThreshold=e;var t=this._control.controller.panInput;t&&(t.options.threshold=e)},enumerable:!1,configurable:!0}),Object.defineProperty(n,"interruptable",{get:function(){return this._interruptable},set:function(e){this._interruptable=e;var t=this._control.controller.axes;t&&(t.options.interruptable=e)},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bounce",{get:function(){return this._bounce},set:function(e){this._bounce=e,this._control.updateInput()},enumerable:!1,configurable:!0}),Object.defineProperty(n,"iOSEdgeSwipeThreshold",{get:function(){return this._iOSEdgeSwipeThreshold},set:function(e){this._iOSEdgeSwipeThreshold=e;var t=this._control.controller.panInput;t&&(t.options.iOSEdgeSwipeThreshold=e)},enumerable:!1,configurable:!0}),Object.defineProperty(n,"preventClickOnDrag",{get:function(){return this._preventClickOnDrag},set:function(e){if(e!==this._preventClickOnDrag){var t=this._control.controller;e?t.addPreventClickHandler():t.removePreventClickHandler(),this._preventClickOnDrag=e}}
266,enumerable:!1,configurable:!0}),Object.defineProperty(n,"preventDefaultOnDrag",{get:function(){return this._preventDefaultOnDrag},set:function(e){this._preventDefaultOnDrag=e;var t=this._control.controller.panInput;t&&(t.options.preventDefaultOnDrag=e)},enumerable:!1,configurable:!0}),Object.defineProperty(n,"disableOnInit",{get:function(){return this._disableOnInit},set:function(e){this._disableOnInit=e},enumerable:!1,configurable:!0}),Object.defineProperty(n,"changeOnHold",{get:function(){return this._changeOnHold},set:function(e){this._changeOnHold=e},enumerable:!1,configurable:!0}),Object.defineProperty(n,"renderOnlyVisible",{get:function(){return this._renderOnlyVisible},set:function(e){this._renderOnlyVisible=e,this._renderer.render()},enumerable:!1,configurable:!0}),Object.defineProperty(n,"virtual",{get:function(){return this._virtualManager},enumerable:!1,configurable:!0}),Object.defineProperty(n,"autoInit",{get:function(){return this._autoInit},enumerable:!1,configurable:!0}),Object.defineProperty(n,"autoResize",{get:function(){return this._autoResize},set:function(e){this._autoResize=e,this._initialized&&(e?this._autoResizer.enable():this._autoResizer.disable())},enumerable:!1,configurable:!0}),Object.defineProperty(n,"useResizeObserver",{get:function(){return this._useResizeObserver},set:function(e){this._useResizeObserver=e,this._initialized&&this._autoResize&&this._autoResizer.enable()},enumerable:!1,configurable:!0}),Object.defineProperty(n,"observePanelResize",{get:function(){return this._observePanelResize},set:function(e){this._observePanelResize=e,this._initialized&&this._autoResize&&(e?this._autoResizer.observePanels():this._autoResizer.unobservePanels())},enumerable:!1,configurable:!0}),Object.defineProperty(n,"resizeDebounce",{get:function(){return this._resizeDebounce},enumerable:!1,configurable:!0}),Object.defineProperty(n,"maxResizeDebounce",{get:function(){return this._maxResizeDebounce},enumerable:!1,configurable:!0}),Object.defineProperty(n,"useFractionalSize",{get:function(){return this._useFractionalSize},enumerable:!1,configurable:!0}),Object.defineProperty(n,"externalRenderer",{get:function(){return this._externalRenderer},enumerable:!1,configurable:!0}),Object.defineProperty(n,"renderExternal",{get:function(){return this._renderExternal},enumerable:!1,configurable:!0}),Object.defineProperty(n,"optimizeSizeUpdate",{get:function(){return this._optimizeSizeUpdate},set:function(e){this._optimizeSizeUpdate=e},enumerable:!1,configurable:!0}),n.init=function(){var e=this;if(this._initialized)return Promise.resolve();var t=this._camera,n=this._renderer,i=this._control,r=this._virtualManager,a=this.trigger,o=this._preventEventsBeforeInit;return t.init(),r.init(),n.init(this),i.init(this),o&&(this.trigger=function(){return e}),this._initialResize(),this._moveToInitialPanel(),this._autoResize&&this._autoResizer.enable(),this._preventClickOnDrag&&i.controller.addPreventClickHandler(),this._disableOnInit&&this.disableInput(),n.checkPanelContentsReady(n.panels),this._initialized=!0,n.render().then((function(){e._plugins.forEach((function(t){return t.init(e)})),o&&(e.trigger=a),e.trigger(new Hr(Ys.READY))}))},n.destroy=function(){this.off(),this._autoResizer.disable(),this._control.destroy(),this._camera.destroy(),this._renderer.destroy(),this._plugins.forEach((function(e){return e.destroy()})),this._initialized=!1},n.prev=function(e){var t,n,i;return void 0===e&&(e=this._duration),this.moveTo(null!==(i=null===(n=null===(t=this._control.activePanel)||void 0===t?void 0:t.prev())||void 0===n?void 0:n.index)&&void 0!==i?i:-1,e,Ns)},n.next=function(e){var t,n,i;return void 0===e&&(e=this._duration),this.moveTo(null!==(i=null===(n=null===(t=this._control.activePanel)||void 0===t?void 0:t.next())||void 0===n?void 0:n.index)&&void 0!==i?i:this._renderer.panelCount,e,Fs)},n.moveTo=function(e,t,n){void 0===t&&(t=this._duration),void 0===n&&(n=zs);var i=this._renderer,r=i.panelCount,a=i.getPanel(e);return a?this._control.animating?Promise.reject(new gl(Ds,ys)):(this._control.holding&&this._control.controller.release(),this._control.moveToPanel(a,{duration:t,direction:n})):Promise.reject(new gl(As(e,0,r-1),ps))},n.updateAnimation=function(e,t,n){if(this._control.animating){var i=this._renderer,r=i.panelCount,a=i.getPanel(e);
266if(!a)throw new gl(As(e,0,r-1),ps);this._control.updateAnimation(a,t,n)}},n.stopAnimation=function(){this._control.animating&&this._control.stopAnimation()},n.getPanel=function(e){return this._renderer.getPanel(e)},n.enableInput=function(){return this._control.enable(),this},n.disableInput=function(){return this._control.disable(),this},n.getStatus=function(e){var t,n,i=void 0===e?{}:e,r=i.index,a=void 0===r||r,o=i.position,s=void 0===o||o,l=i.includePanelHTML,c=void 0!==l&&l,u=i.visiblePanelsOnly,d=void 0!==u&&u,h=this._camera,f={panels:(d?this.visiblePanels:this.panels).map((function(e){var t={index:e.index};return c&&(t.html=e.element.outerHTML),t}))};if(a&&(f.index=this.index),s){var p=h.findNearestAnchor(h.position);p&&(f.position={panel:p.panel.index,progressInPanel:h.getProgressInPanel(p.panel)})}if(d){var m=this.visiblePanels;f.visibleOffset=null!==(n=null===(t=m[0])||void 0===t?void 0:t.index)&&void 0!==n?n:0}return f},n.setStatus=function(e){var t;if(!this._initialized)throw new gl(js,xs);var n=e.index,i=e.position,r=e.visibleOffset,a=e.panels,o=this._renderer,s=this._control;if((null===(t=a[0])||void 0===t?void 0:t.html)&&!this._renderExternal&&(o.batchRemove({index:0,deleteCount:this.panels.length,hasDOMInElements:!0}),o.batchInsert({index:0,elements:nl(a.map((function(e){return e.html}))),hasDOMInElements:!0})),null!=n){var l=r?n-r:n;this.moveTo(l,0).catch((function(){}))}if(i&&this._moveType===Bs.FREE_SCROLL){var c=i.panel,u=i.progressInPanel,d=(l=r?c-r:c,o.panels[l].range),h=d.min+(d.max-d.min)*u;s.moveToPosition(h,0).catch((function(){}))}},n.addPlugins=function(){for(var e,t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return this._initialized&&n.forEach((function(e){return e.init(t)})),(e=this._plugins).push.apply(e,ss(n)),this},n.removePlugins=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.forEach((function(t){var n=sl(e._plugins,(function(e){return e===t}));n>=0&&(t.destroy(),e._plugins.splice(n,1))})),this},n.resize=function(){return is(this,void 0,void 0,(function(){var e,t,n,i,r,a,o,s,l,c,u;return rs(this,(function(d){switch(d.label){case 0:return this._isResizing?[2]:(this._isResizing=!0,e=this._viewport,t=this._renderer,n=this._camera,i=this._control,r=i.activePanel,a=e.width,o=e.height,s=r?n.getProgressInPanel(r):0,this.trigger(new Hr(Ys.BEFORE_RESIZE,{width:a,height:o,element:e.element})),e.resize(),this._optimizeSizeUpdate?this.horizontal&&e.width!==a||!this.horizontal&&e.height!==o?[4,t.forceRenderAllPanels()]:[3,2]:[3,3]);case 1:d.sent(),d.label=2;case 2:return[3,5];case 3:return[4,t.forceRenderAllPanels()];case 4:d.sent(),d.label=5;case 5:return this._initialized?(t.updatePanelSize(),n.updateAlignPos(),n.updateRange(),n.updateAnchors(),n.updateAdaptiveHeight(),n.updatePanelOrder(),n.updateOffset(),[4,t.render()]):[2];case 6:return d.sent(),this._initialized?(i.animating||(i.updatePosition(s),i.updateInput()),l=e.width,c=e.height,u=l!==a||c!==o,this.trigger(new Hr(Ys.AFTER_RESIZE,{width:e.width,height:e.height,prev:{width:a,height:o},sizeChanged:u,element:e.element})),this._isResizing=!1,[2]):[2]}}))}))},n.append=function(e){return this.insert(this._renderer.panelCount,e)},n.prepend=function(e){return this.insert(0,e)},n.insert=function(e,t){if(this._renderExternal)throw new gl(Ps,_s);return this._renderer.batchInsert({index:e,elements:nl(t),hasDOMInElements:!0})},n.remove=function(e,t){if(void 0===t&&(t=1),this._renderExternal)throw new gl(Ps,_s);return this._renderer.batchRemove({index:e,deleteCount:t,hasDOMInElements:!0})},n._createControl=function(){var e,t=this._moveType,n=Object.keys(Bs).map((function(e){return Bs[e]})),i=Array.isArray(t)?t[0]:t,r=Array.isArray(t)&&null!==(e=t[1])&&void 0!==e?e:{};if(!rl(n,i))throw new gl(Ls("moveType",JSON.stringify(t)),fs);switch(i){case Bs.SNAP:return new Pl(r);case Bs.FREE_SCROLL:return new jl(r);case Bs.STRICT:return new Yl(r)}},n._createCamera=function(){return this._circular&&this._bound&&console.warn('"circular" and "bound" option cannot be used together, ignoring bound.'),new Fl(this,{align:this._align})},n._createRenderer=function(){var e=this._externalRenderer;
266return this._virtual&&this._panelsPerView<=0&&console.warn('"virtual" and "panelsPerView" option should be used together, ignoring virtual.'),e||(this._renderExternal?this._createExternalRenderer():this._createVanillaRenderer())},n._createExternalRenderer=function(){var e=this._renderExternal,t=e.renderer,n=e.rendererOptions;return new t(ns({align:this._align},n))},n._createVanillaRenderer=function(){var e=this.virtualEnabled;return new Bl({align:this._align,strategy:e?new Xl:new $l({providerCtor:yl})})},n._moveToInitialPanel=function(){var e=this._renderer,t=this._control,n=this._camera,i=e.getPanel(this._defaultIndex)||e.getPanel(0);if(i){var r=n.findNearestAnchor(i.position),a=r&&i.position!==r.panel.position&&i.index!==r.panel.index?r.panel:i;if(t.setActive(a,null,!1),!r)throw new gl(Os(a.position),ms);var o=a.position;n.canReach(a)||(o=r.position),n.lookAt(o),t.updateInput(),n.updateOffset()}},n._initialResize=function(){var e=this._viewport,t=this._renderer,n=this._camera,i=this._control;this.trigger(new Hr(Ys.BEFORE_RESIZE,{width:0,height:0,element:e.element})),e.resize(),t.updatePanelSize(),n.updateAlignPos(),n.updateRange(),n.updateAnchors(),n.updateOffset(),i.updateInput();var r=e.width,a=e.height,o=0!==r||0!==a;this.trigger(new Hr(Ys.AFTER_RESIZE,{width:e.width,height:e.height,prev:{width:0,height:0},sizeChanged:o,element:e.element}))},t.VERSION="4.14.1",t}(Nr),ql=function(e,t,n,i,r){return e.batchInsertDefer.apply(e,ss(t.added.slice(i,r).map((function(e,t){return{index:e,elements:[n[t]],hasDOMInElements:!1}}))))},Jl=function(e,t,n){var i=e.panels.slice(t,n);return e.batchRemoveDefer({index:t,deleteCount:i.length,hasDOMInElements:!1})},Kl=function(e,t,n){void 0===e&&(e=Rs),void 0===t&&(t=!0);var i=Zl(e),r=Ql(e);if(null==r)return"";var a="calc("+i+" - ("+(n||"0px")+" * "+r.percentage+") - "+r.absolute+"px)";return t?"translate("+a+")":"translate(0, "+a+")"},Zl=function(e){var t="object"==typeof e?e.camera:e;return ec(t)},Ql=function(e){var t="object"==typeof e?e.panel:e;return Qs(ec(t))},ec=function(e){if("number"==typeof e)return e+"px";switch(e){case Rs:return"50%";case Hs:return"100%";case Is:return"0%";default:return e}},tc=function(e){return!e.circular&&0===e.index},nc=function(e){return!e.circular&&e.index===e.panelCount-1},ic=function(e){return e.panelCount},rc=function(e){return e.index},ac=function(e){var t=e.camera,n=(t.position-t.range.min)/(t.range.max-t.range.min);return 100*Math.min(Math.max(n,0),1)},oc=function(e){var t,n,i,r,a=e.onInit,o=e.onDestroy,s=e.setMethods,l=e.getProps;s(["moveTo"]);var c=l().options,u=va({isReachStart:!(null==c?void 0:c.defaultIndex)||0===(null==c?void 0:c.defaultIndex),isReachEnd:!(!(null==c?void 0:c.totalPanelCount)||!(null==c?void 0:c.defaultIndex))&&c.defaultIndex===c.totalPanelCount-1,totalPanelCount:null!==(t=null==c?void 0:c.totalPanelCount)&&void 0!==t?t:0,currentPanelIndex:null!==(n=null==c?void 0:c.defaultIndex)&&void 0!==n?n:0,progress:0,indexProgress:null!==(i=null==c?void 0:c.defaultIndex)&&void 0!==i?i:0,moveTo:function(e){return null==r?Promise.reject(new Error("Flicking instance is not available")):(null==r?void 0:r.animating)?Promise.resolve():r.moveTo(e)}}),d=function(){void 0!==r&&(u.isReachStart=tc(r),u.isReachEnd=nc(r),u.currentPanelIndex=rc(r))},h=function(){void 0!==r&&(d(),u.totalPanelCount=ic(r))},f=function(){void 0!==r&&(u.progress=ac(r),u.indexProgress=function(e){var t=e.camera,n=t.anchorPoints,i=n.length,r=t.position,a=e.circularEnabled,o=0,s=t.range,l=s.min,c=s.max,u=n[0],d=c-n[i-1].position+(u.position-l);return n.some((function(e,t){var s=e.position,l=n[t+1];if(0===t&&r<=s)o=a?(r-s)/d:(r-s)/e.panel.size;else if(t===i-1&&r>=s)o=a?t+(r-s)/d:t+(r-s)/e.panel.size;else{if(!(l&&s<=r&&r<=l.position))return!1;o=t+(r-s)/(l.position-s)}return!0})),o}(r))};return a((function(e,t){void 0!==(r=t.flicking)&&(u.isReachStart=tc(r),u.isReachEnd=nc(r),u.currentPanelIndex=rc(r),u.progress=ac(r),u.totalPanelCount=ic(r),null==r||r.on("changed",d),null==r||r.on("panelChange",h),null==r||r.on("move",f))})),o((function(){null==r||r.off("changed",d),null==r||r.off("panelChange",h),null==r||r.off("move",f)})),u}
266,sc=function(e,t){return(sc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};var lc;function cc(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function uc(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=a.next()).done;)o.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o}function dc(e,t,n){if(n||2===arguments.length)for(var i,r=0,a=t.length;r<a;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var hc=[],fc=function(){function e(e){this.active=!0,this.effects=[],this.cleanups=[],this.vm=e}return e.prototype.run=function(e){if(this.active)try{return this.on(),e()}finally{this.off()}else 0},e.prototype.on=function(){this.active&&(hc.push(this),lc=this)},e.prototype.off=function(){this.active&&(hc.pop(),lc=hc[hc.length-1])},e.prototype.stop=function(){this.active&&(this.vm.$destroy(),this.effects.forEach((function(e){return e.stop()})),this.cleanups.forEach((function(e){return e()})),this.active=!1)},e}();!function(e){function t(t){void 0===t&&(t=!1);var n,i=void 0;return function(e){var t=bc;bc=!1;try{e()}finally{bc=t}}((function(){i=Hc(_c())})),n=e.call(this,i)||this,t||function(e,t){var n;if((t=t||lc)&&t.active)return void t.effects.push(e);var i=null===(n=kc())||void 0===n?void 0:n.proxy;i&&i.$on("hook:destroyed",(function(){return e.stop()}))}(n),n}(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}sc(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)})(t,e)}(fc);var pc=void 0;try{var mc=n("uxWi");mc&&yc(mc)?pc=mc:mc&&"default"in mc&&yc(mc.default)&&(pc=mc.default)}catch(e){}var gc=null,vc=null,bc=!0;function yc(e){return e&&Ic(e)&&"Vue"===e.name}function _c(){return gc}function xc(){return gc||pc}function wc(e){if(bc){var t=vc;null==t||t.scope.off(),null==(vc=e)||vc.scope.on()}}function kc(){return vc}var Sc=new WeakMap;function Mc(e){if(Sc.has(e))return Sc.get(e);var t={proxy:e,update:e.$forceUpdate,type:e.$options,uid:e._uid,emit:e.$emit.bind(e),parent:null,root:null};!function(e){if(!e.scope){var t=new fc(e.proxy);e.scope=t,e.proxy.$on("hook:destroyed",(function(){return t.stop()}))}e.scope}(t);return["data","props","attrs","refs","vnode","slots"].forEach((function(n){Cc(t,n,{get:function(){return e["$".concat(n)]}})})),Cc(t,"isMounted",{get:function(){return e._isMounted}}),Cc(t,"isUnmounted",{get:function(){return e._isDestroyed}}),Cc(t,"isDeactivated",{get:function(){return e._inactive}}),Cc(t,"emitted",{get:function(){return e._events}}),Sc.set(e,t),e.$parent&&(t.parent=Mc(e.$parent)),e.$root&&(t.root=Mc(e.$root)),t}function Lc(e){return"function"==typeof e&&/native code/.test(e.toString())}var Ac="undefined"!=typeof Symbol&&Lc(Symbol)&&"undefined"!=typeof Reflect&&Lc(Reflect.ownKeys),Oc=function(e){return e};function Cc(e,t,n){var i=n.get,r=n.set;Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:i||Oc,set:r||Oc})}function Tc(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}function Ec(e,t){return Object.hasOwnProperty.call(e,t)}function Dc(e){return Array.isArray(e)}Object.prototype.toString;function Pc(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)&&t<=4294967295}function jc(e){return null!==e&&"object"==typeof e}function Yc(e){return"[object Object]"===function(e){return Object.prototype.toString.call(e)}(e)}function Ic(e){return"function"==typeof e}function Rc(e,t){return t=t||kc()}function Hc(e,t){void 0===t&&(t={});var n=e.config.silent;e.config.silent=!0;var i=new e(t);return e.config.silent=n,i}function Nc(e,t){return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e.$scopedSlots[t])return e.$scopedSlots[t].apply(e,n)}}function Fc(e){return Ac?Symbol.for(e):e}Fc("composition-api.preFlushQueue"),Fc("composition-api.postFlushQueue");var zc="composition-api.refKey",Bc=new WeakMap,Wc=(new WeakMap,new WeakMap);var Vc=function(e){Cc(this,"value",{get:e.get,set:e.set})};
266function $c(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=new Vc(e);n&&(i.effect=!0);var r=Object.seal(i);return t&&Wc.set(r,!0),r}function Uc(e){var t;if(Xc(e))return e;var n=nu(((t={})[zc]=e,t));return $c({get:function(){return n[zc]},set:function(e){return n[zc]=e}})}function Xc(e){return e instanceof Vc}function Gc(e,t){t in e||function(e,t,n){var i=_c().util,r=(i.warn,i.defineReactive),a=e.__ob__;function o(){a&&jc(n)&&!Ec(n,"__ob__")&&eu(n)}if(Dc(e)){if(Pc(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),o(),n;if("length"===t&&n!==e.length)return e.length=n,null==a||a.dep.notify(),n}t in e&&!(t in Object.prototype)?(e[t]=n,o()):e._isVue||a&&a.vmCount||(a?(r(a.value,t,n),Zc(e,t,n),o(),a.dep.notify()):e[t]=n)}(e,t,void 0);var n=e[t];return Xc(n)?n:$c({get:function(){return e[t]},set:function(n){return e[t]=n}})}function qc(e){var t;return Boolean(e&&Ec(e,"__ob__")&&"object"==typeof e.__ob__&&(null===(t=e.__ob__)||void 0===t?void 0:t.__v_skip))}function Jc(e){var t;return Boolean(e&&Ec(e,"__ob__")&&"object"==typeof e.__ob__&&!(null===(t=e.__ob__)||void 0===t?void 0:t.__v_skip))}function Kc(e){if(!(!Yc(e)||qc(e)||Dc(e)||Xc(e)||function(e){var t=_c();return t&&e instanceof t}(e)||Bc.has(e))){Bc.set(e,!0);for(var t=Object.keys(e),n=0;n<t.length;n++)Zc(e,t[n])}}function Zc(e,t,n){if("__ob__"!==t&&!qc(e[t])){var i,r,a=Object.getOwnPropertyDescriptor(e,t);if(a){if(!1===a.configurable)return;i=a.get,r=a.set,i&&!r||2!==arguments.length||(n=e[t])}Kc(n),Cc(e,t,{get:function(){var r=i?i.call(e):n;return t!==zc&&Xc(r)?r.value:r},set:function(a){i&&!r||(t!==zc&&Xc(n)&&!Xc(a)?n.value=a:r?(r.call(e,a),n=a):n=a,Kc(a))}})}}function Qc(e){var t,n=xc();n.observable?t=n.observable(e):t=Hc(n,{data:{$$state:e}})._data.$$state;return Ec(t,"__ob__")||eu(t),t}function eu(e,t){var n,i;if(void 0===t&&(t=new Set),!t.has(e)&&!Ec(e,"__ob__")&&Object.isExtensible(e)){Tc(e,"__ob__",function(e){void 0===e&&(e={});return{value:e,dep:{notify:Oc,depend:Oc,addSub:Oc,removeSub:Oc}}}(e)),t.add(e);try{for(var r=cc(Object.keys(e)),a=r.next();!a.done;a=r.next()){var o=e[a.value];(Yc(o)||Dc(o))&&!qc(o)&&Object.isExtensible(o)&&eu(o,t)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}}}function tu(){return Qc({}).__ob__}function nu(e){if(!jc(e))return e;if(!Yc(e)&&!Dc(e)||qc(e)||!Object.isExtensible(e))return e;var t=Qc(e);return Kc(t),t}function iu(e){return function(t,n){var i,r=Rc("on".concat((i=e)[0].toUpperCase()+i.slice(1)),n);return r&&function(e,t,n,i){var r=t.proxy.$options,a=e.config.optionMergeStrategies[n],o=function(e,t){return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=kc();wc(e);try{return t.apply(void 0,dc([],uc(n),!1))}finally{wc(r)}}}(t,i);return r[n]=a(r[n],o),o}(_c(),r,e,t)}}iu("beforeMount");var ru=iu("mounted"),au=(iu("beforeUpdate"),iu("updated"),iu("beforeDestroy"),iu("destroyed"));iu("errorCaptured"),iu("activated"),iu("deactivated"),iu("serverPrefetch");var ou={set:function(e,t,n){(e.__composition_api_state__=e.__composition_api_state__||{})[t]=n},get:function(e,t){return(e.__composition_api_state__||{})[t]}};function su(e){var t=ou.get(e,"rawBindings")||{};if(t&&Object.keys(t).length){for(var n=e.$refs,i=ou.get(e,"refs")||[],r=0;r<i.length;r++){var a=t[l=i[r]];!n[l]&&a&&Xc(a)&&(a.value=null)}var o=Object.keys(n),s=[];for(r=0;r<o.length;r++){var l;a=t[l=o[r]];n[l]&&a&&Xc(a)&&(a.value=n[l],s.push(l))}ou.set(e,"refs",s)}}function lu(e){for(var t=[e._vnode];t.length;){var n=t.pop();if(n&&(n.context&&su(n.context),n.children))for(var i=0;i<n.children.length;++i)t.push(n.children[i])}}function cu(e,t){var n,i;if(e){var r=ou.get(e,"attrBindings");if(r||t){if(!r){var a=nu({});r={ctx:t,data:a},ou.set(e,"attrBindings",r),Cc(t,"attrs",{get:function(){return null==r?void 0:r.data},set:function(){}})}var o=e.$attrs,s=function(t){Ec(r.data,t)||Cc(r.data,t,{get:function(){return e.$attrs[t]}})};try{for(var l=cc(Object.keys(o)),c=l.next();!c.done;c=l.next()){s(c.value)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}}}function uu(e,t){var n=e.$options._parentVnode;if(n){for(var i=ou.get(e,"slots")||[],r=function(e,t){var n;if(e){if(e._normalized)return e._normalized;for(var i in n={},e)e[i]&&"$"!==i[0]&&(n[i]=!0)}else n={};for(var i in t)i in n||(n[i]=!0);return n}(n.data.scopedSlots,e.$slots),a=0;a<i.length;a++){r[s=i[a]]||delete t[s]}var o=Object.keys(r);for(a=0;a<o.length;a++){var s;t[s=o[a]]||(t[s]=Nc(e,s))}ou.set(e,"slots",o)}}function du(e,t,n){var i=kc();wc(e);try{return t(e)}catch(e){if(!n)throw e;n(e)}finally{wc(i)}}function hu(e){e.mixin({beforeCreate:function(){var e=this,t=e.$options,n=t.setup,i=t.render;i&&(t.render=function(){for(var t=this,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return du(Mc(e),(function(){return i.apply(t,n)}))});if(!n)return;if(!Ic(n))return void 0;var r=t.data;t.data=function(){return function(e,t){void 0===t&&(t={});var n,i=e.$options.setup,r=function(e){var t={slots:{}};["root","parent","refs","listeners","isServer","ssrContext"].forEach((function(n){var i="$".concat(n);Cc(t,n,{get:function(){return e[i]},set:function(){}})})),cu(e,t),["emit"].forEach((function(n){var i="$".concat(n);Cc(t,n,{get:function(){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=e[i];r.apply(e,t)}}})})),!1;return t}(e),a=Mc(e);if(a.setupContext=r,Tc(t,"__ob__",tu()),uu(e,r.slots),du(a,(function(){n=i(t,r)})),!n)return;if(Ic(n)){var o=n;return void(e.$options.render=function(){return uu(e,r.slots),du(a,(function(){return o()}))})}if(jc(n)){Jc(n)&&(n=function(e){if(!Yc(e))return e;var t={};for(var n in e)t[n]=Gc(e,n);return t}(n)),ou.set(e,"rawBindings",n);var s=n;
266return void Object.keys(s).forEach((function(t){var n=s[t];if(!Xc(n))if(Jc(n))Dc(n)&&(n=Uc(n));else if(Ic(n)){var i=n;n=n.bind(e),Object.keys(i).forEach((function(e){n[e]=i[e]}))}else jc(n)?function e(t,n){void 0===n&&(n=new Map);if(n.has(t))return n.get(t);if(n.set(t,!1),Dc(t)&&Jc(t))return n.set(t,!0),!0;if(!Yc(t)||qc(t)||Xc(t))return!1;return Object.keys(t).some((function(i){return e(t[i],n)}))}(n)&&function e(t,n){void 0===n&&(n=new Set);if(n.has(t))return;if(!Yc(t)||Xc(t)||Jc(t)||qc(t))return;var i=_c().util.defineReactive;Object.keys(t).forEach((function(r){var a=t[r];i(t,r,a),a&&(n.add(a),e(a,n))}))}(n):n=Uc(n);!function(e,t,n){var i=e.$options.props;t in e||i&&Ec(i,t)||(Xc(n)?Cc(e,t,{get:function(){return n.value},set:function(e){n.value=e}}):Cc(e,t,{get:function(){return Jc(n)&&n.__ob__.dep.depend(),n},set:function(e){n=e}}))}(e,t,n)}))}0}(e,e.$props),Ic(r)?r.call(e,e):r||{}}},mounted:function(){lu(this)},beforeUpdate:function(){cu(this)},updated:function(){lu(this)}})}function fu(e){(function(e){return gc&&Ec(e,"__composition_api_installed__")})(e)||(e.config.optionMergeStrategies.setup=function(e,t){return function(n,i){return function e(t,n){if(!t)return n;if(!n)return t;for(var i,r,a,o=Ac?Reflect.ownKeys(t):Object.keys(t),s=0;s<o.length;s++)"__ob__"!==(i=o[s])&&(r=n[i],a=t[i],Ec(n,i)?r!==a&&Yc(r)&&!Xc(r)&&Yc(a)&&!Xc(a)&&e(a,r):n[i]=a);return n}(Ic(e)?e(n,i)||{}:void 0,Ic(t)?t(n,i)||{}:void 0)}},function(e){gc=e,Object.defineProperty(e,"__composition_api_installed__",{configurable:!0,writable:!0,value:!0})}(e),hu(e))}var pu={install:function(e){return fu(e)}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(pu);var mu=function(){return(mu=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};var gu=function(e,t){return(gu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};var vu=function(){return(vu=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function bu(e,t,n,i){return new(n||(n=Promise))((function(r,a){function o(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((i=i.apply(e,t||[])).next())}))}function yu(e,t){var n,i,r,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(r=2&s[0]?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){a.label=s[1];break}if(6===s[0]&&a.label<r[1]){a.label=r[1],r=s;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(s);break}r[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function _u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=a.next()).done;)o.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o}function xu(e,t,n){if(n||2===arguments.length)for(var i,r=0,a=t.length;r<a;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var wu=function(e){function t(t){var n=e.call(this,t)||this;return n._vueFlicking=t.vueFlicking,n}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}gu(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e);var n=t.prototype;return n.render=function(){return bu(this,void 0,void 0,(function(){var e,t,n,i=this;return yu(this,(function(r){return e=qs(this._flicking),t=this._vueFlicking,(n=this._strategy).updateRenderingPanels(e),n.renderPanels(e),[2,new Promise((function(e){t.$once("render",(function(){i._afterRender(),e()})),t.$forceUpdate()}))]}))}))},n.forceRenderAllPanels=function(){return bu(this,void 0,void 0,(function(){var t;return yu(this,(function(n){switch(n.label){case 0:return t=this._vueFlicking,[4,e.prototype.forceRenderAllPanels.call(this)];case 1:return n.sent(),[2,new Promise((function(e){t.$once("render",e),t.$forceUpdate()}))]}}))}))},n._collectPanels=function(){var e=qs(this._flicking),t=this._vueFlicking.$children;this._panels=this._strategy.collectPanels(e,t)},n._createPanel=function(e,t){return this._strategy.createPanel(e,t)},t}(Wl),ku=f.default.extend({data:function(){return{hide:!1}},render:function(){var e;return this.hide?void 0:null!==(e=this.$slots.default)&&void 0!==e?e:[]},methods:{getElement:function(){return this.$el}}}),Su=function(){function e(e){this._el=e}var t=e.prototype;return Object.defineProperty(t,"element",{get:function(){return this._el.getElement()}
266,enumerable:!1,configurable:!0}),Object.defineProperty(t,"rendered",{get:function(){return!this._el.hide},enumerable:!1,configurable:!0}),t.show=function(){this._el.hide=!1},t.hide=function(){this._el.hide=!0},e}(),Mu={viewportTag:{type:String,default:"div",required:!1},cameraTag:{type:String,default:"div",required:!1},cameraClass:{type:String,default:"",required:!1},hideBeforeInit:{type:Boolean,default:!1,required:!1},firstPanelSize:{type:String,required:!1},options:{type:Object,default:function(){return{}},required:!1},plugins:{type:Array,default:function(){return[]},required:!1},status:{type:Object,required:!1}},Lu=function(e){var t,n;return null!==(n=null===(t=e.$slots.default)||void 0===t?void 0:t.filter((function(e){return e.tag})))&&void 0!==n?n:[]},Au=function(e){Lu(e).forEach((function(e,t){null==e.key&&(e.key="$_".concat(t))}))},Ou=f.default.extend({props:Mu,components:{Panel:ku},data:function(){return{}},created:function(){var e,t;this.diffResult=null,e=this,t="vanillaFlicking",[Nr.prototype,Gl.prototype].forEach((function(n){Object.getOwnPropertyNames(n).filter((function(t){return!e[t]&&0!==t.indexOf("_")&&"constructor"!==t})).forEach((function(i){var r=Object.getOwnPropertyDescriptor(n,i);if(r.value)Object.defineProperty(e,i,{value:function(){for(var e,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return(e=r.value).call.apply(e,ss([this[t]],n))}});else{var a={};r.get&&(a.get=function(){var e,n=this[t];return n&&(null===(e=r.get)||void 0===e?void 0:e.call(n))}),r.set&&(a.set=function(){for(var e,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return null===(e=r.set)||void 0===e?void 0:e.call.apply(e,ss([this[t]],n))}),Object.defineProperty(e,i,a)}}))}))},mounted:function(){var e,t=this,n=this.options,i=this.$el,r={vueFlicking:this,align:n.align,strategy:n.virtual&&(null!==(e=n.panelsPerView)&&void 0!==e?e:-1)>0?new Xl:new $l({providerCtor:Su})},a=new Gl(i,vu(vu({},n),{externalRenderer:new wu(r)}));this.vanillaFlicking=a,a.once(Ys.READY,(function(){t.$forceUpdate()}));var o=Lu(this);this.slotDiffer=new Pr(o,(function(e){return e.key})),this.pluginsDiffer=new Pr,this._bindEvents(),this._checkPlugins(),this.status&&a.setStatus(this.status)},beforeDestroy:function(){var e;null===(e=this.vanillaFlicking)||void 0===e||e.destroy()},beforeMount:function(){Au(this)},beforeUpdate:function(){Au(this),this.diffResult=this.slotDiffer.update(Lu(this))},updated:function(){var e=this.vanillaFlicking,t=this.diffResult;this._checkPlugins(),this.$emit("render"),t&&e.initialized&&(!function(e,t,n){var i=e.renderer,r=i.panels,a=ss(t.prevList),o=[],s=[];if(t.removed.length>0){var l=-1,c=-1;t.removed.forEach((function(e){l<0&&(l=e),c>=0&&e!==c-1?(s.push.apply(s,ss(Jl(i,c,l+1))),l=e,c=e):c=e,a.splice(e,1)})),s.push.apply(s,ss(Jl(i,c,l+1)))}if(t.ordered.forEach((function(e){var t=os(e,2),n=t[0],i=t[1],a=r.splice(n,1)[0];r.splice(i,0,a)})),t.ordered.length>0&&(r.forEach((function(e,t){var n=t-e.index;n>0?e.increaseIndex(n):e.decreaseIndex(-n)})),r.sort((function(e,t){return e.index-t.index})),r.forEach((function(e){e.updatePosition()}))),t.added.length>0){var u=-1,d=-1,h=n.slice(a.length);t.added.forEach((function(e,n){u<0&&(u=n),d>=0&&e!==d+1?(o.push.apply(o,ss(ql(i,t,h,u,n+1))),u=-1,d=-1):d=e})),u>=0&&o.push.apply(o,ss(ql(i,t,h,u)))}if(t.added.length>0||t.removed.length>0)i.updateAfterPanelChange(o,s);else if(t.ordered.length>0){var f=e.camera;f.updateRange(),f.updateOffset(),f.updateAnchors(),f.resetNeedPanelHistory()}}(e,t,this.$children),(t.added.length>0||t.removed.length>0)&&this.$forceUpdate(),this.diffResult=null)},render:function(e){var t,n,i,r=this.vanillaFlicking,a=this.options,o=!!this.diffResult&&r&&r.initialized,s={class:{"flicking-viewport":!0,vertical:!(r?r.horizontal:null===(n=a.horizontal)||void 0===n||n),"flicking-hidden":this.hideBeforeInit&&!o}},l={class:(t={"flicking-camera":!0},t[this.cameraClass]=!!this.cameraClass,t),style:!o&&this.firstPanelSize?{transform:Kl(a.align,a.horizontal,this.firstPanelSize)}:{}},c=a.virtual&&(null!==(i=a.panelsPerView)&&void 0!==i?i:-1)>0?this._getVirtualPanels(e,o):this._getPanels(e,o);return e(this.viewportTag,s,[e(this.cameraTag,l,c),this.$slots.viewport])},methods:{_getSlots:function(){var e,t;return null!==(t=null===(e=this.$slots.default)||void 0===e?void 0:e.filter((function(e){return e.tag})))&&void 0!==t?t:[]}
266,_fillKeys:function(){this._getSlots().forEach((function(e,t){null==e.key&&(e.key="$_".concat(t))}))},_bindEvents:function(){var e=this,t=this.vanillaFlicking;Object.keys(Ys).map((function(e){return Ys[e]})).forEach((function(n){t.on(n,(function(t){t.currentTarget=e,e.$emit(n.replace(/([A-Z])/g,"-$1").toLowerCase(),t)}))}))},_checkPlugins:function(){var e,t,n=this.pluginsDiffer.update(this.plugins),i=n.list,r=n.added,a=n.removed,o=n.prevList;(e=this.vanillaFlicking).addPlugins.apply(e,xu([],_u(r.map((function(e){return i[e]}))),!1)),(t=this.vanillaFlicking).removePlugins.apply(t,xu([],_u(a.map((function(e){return o[e]}))),!1))},_getPanels:function(e,t){var n,i,r,a;return(t?(n=this.vanillaFlicking,i=this.diffResult,r=i.removed.reduce((function(e,t){return e[t]=!0,e}),{}),a=i.maintained.reduce((function(e,t){var n=os(t,2),i=n[0],r=n[1];return e[i]=r,e}),{}),ss(n.panels.filter((function(e){return!r[e.index]})).sort((function(e,t){return e.position+e.offset-(t.position+t.offset)})).map((function(e){return i.list[a[e.index]]})),i.added.map((function(e){return i.list[e]})))):this._getSlots()).map((function(t){return e("Panel",{key:t.key},[t])}))},_getVirtualPanels:function(e,t){var n=this.options,i=n.virtual.panelClass,r=void 0===i?"flicking-panel":i,a=n.panelsPerView,o=this.vanillaFlicking,s=t?o.renderer.strategy.getRenderingIndexesByOrder(o):fl(a+1),l=o&&o.panels[0],c=l?o.horizontal?{width:l.size}:{height:l.size}:{};return s.map((function(t){return e("div",{key:t,staticClass:r,style:c,domProps:{"data-element-index":t}})}))}},watch:{options:{handler:function(e){var t=this.vanillaFlicking;if(t){e.virtual;var n=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}(e,["virtual"]);for(var i in n)i in t&&t[i]!==n[i]&&(t[i]=n[i])}},deep:!0,immediate:!0}}}),Cu={Flicking:Ou,install:function(e){e.component("Flicking",Ou)},version:"4.14.1",useFlickingReactiveAPI:function(e,t){return function(e,t){var n=Sa(e,t),i=n.state(),r=Object.keys(i),a={};for(var o in i)a[o]=Uc(i[o]);var s=n.methods();ru((function(){n.mounted();var e=n.instance();r.forEach((function(t){e.subscribe(t,(function(e){a[t].value=e}))})),n.init()})),au((function(){n.destroy()}));var l=n.events().reduce((function(e,t){return e[aa("on ".concat(t))]=function(e){n.on(t,e),au((function(){n.off(t,e)}))},e}),{});return mu(mu(mu({},a),s),l)}(oc,(function(){var n;return{flicking:null!==(n=e.value)&&void 0!==n?n:void 0,options:t}}))}};n("kBoR");function Tu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Eu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tu(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}n("OP9Q"),f.default.use(Cu);var Du=new f.default;f.default.use(m.a,{eventEmitter:Du,store:j.a,startAtIdle:!1,idleTime:3e5}),f.default.component("VBetterSelect",Sr.a),f.default.component("VBetterCombobox",Mr.a),f.default.component("VBetterAutocomplete",Lr.a),f.default.component("VBetterDraggable",Ar.a),f.default.use(zi.a);var Pu=document.body,ju=Pu.getAttribute("data-mp"),Yu=Pu.getAttribute("data-mp-debug");"undefined"!=typeof mixpanel&&mixpanel.init(ju,{debug:Yu,secure_cookie:!0},"vue_mp");var Iu=document.getElementById(R.a.PEERJ_CORE_VUE_ROUTER_OUTLET_ID),Ru=JSON.parse(Iu.getAttribute("data-userRoleData")),Hu=document.getElementById("peerj-vue-user-impact-widget"),Nu=function(){return{userData:Ru}};function Fu(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];f.default.prototype.$dockable=Object(f.reactive)({show:!1,component:Object(f.shallowRef)(void 0),vBinds:Object(f.reactive)({}),openInNewTabLink:"",resetToInitOnClose:!0,init:{width:void 0,height:void 0,minw:200,minh:100,left:256,top:10,locked:!0},events:{onClose:function(e){},onLockToggle:function(e){}},ghostOnScroll:!1}),f.default.directive("markup",fr.a),f.default.directive("markdown",pr.a),f.default.directive("bounding-client-rect",gr),f.default.directive("if-focused-element-detects-scroll-event",mr),f.default.directive("observe-height",_r),f.default.directive("click-outside",{bind:function(e,t,n){e.clickOutsideEvent=function(n){e===n.target||e.contains(n.target)||"function"==typeof t.value&&t.value(n)},document.body.addEventListener("click",e.clickOutsideEvent)},unbind:function(e){document.body.removeEventListener("click",e.clickOutsideEvent)}}),f.default.directive("app-bounding-client-rect",vr),f.default.directive("location-hash-change",kr),Bi.a.register(),f.default.component("vue-navigation-bar",b.a),f.default.component("
266VuePerfectScrollbar",v.a),f.default.mixin({data:function(){return{userRoleData:Ru,isDarkTheme:!1,isBetaTesting:Iu.getAttribute("data-betaTesting"),apiEntrypoint:Iu.getAttribute("data-api"),groupFilesRoot:Iu.getAttribute("data-groupFilesRoot"),groupFilesPrefix:Iu.getAttribute("data-groupFilesPrefix"),imagePrefix:Iu.getAttribute("data-imagePrefix"),staticFilePrefix:Iu.getAttribute("data-imagePrefix"),userImagePrefix:Iu.getAttribute("data-userImagePrefix")+"/",articleBasePrefix:Iu.getAttribute("data-articleBasePrefix"),recaptchaKey:Iu.getAttribute("data-recaptchaKey")}},computed:Eu(Eu({},Object(h.c)("me",["imageSetter","account","_roles","isEditor","isSectionEditor","isStaff","isInstitutionAdmin","isAdmin","isChecker","appGroups","isAimsAdmin","isVendor"])),{},{isVueRouterPage:function(){return!!this.$router.history.current.name},controllerVars:function(){return Pu.getAttribute("data-controllerVars")?JSON.parse(Pu.getAttribute("data-controllerVars")):null},headerVars:function(){return Pu.getAttribute("data-headerVars")?JSON.parse(Pu.getAttribute("data-headerVars")):null},symfonyRouteName:function(){if(Pu.getAttribute("data-symfony-route"))return Pu.getAttribute("data-symfony-route")},theme:function(){return"light"},hubImagePath:function(){return"images/hubs/hub-logo.svg"},storageId:function(){return this.account?this.account.isViewingAs?"-proxy":this.account.id:null},currentUser:function(){return j.a.state.user.user},cachedGroupFilesPrefix:function(){return this.groupFilesRoot?this.groupFilesPrefix+this.groupFilesRoot+"/":this.groupFilesPrefix}}),methods:Eu(Eu(Eu({},Object(d.b)("subscriptions",{subscribeToTopic:"subscribe",closeMercureSubscriber:"close",resumeMercureSubscriber:"resume"})),{},{mpTrack:function(e,t,n){"undefined"!=typeof mixpanel?mixpanel.track(e,t,n):n&&n()},gaTrack:function(e){var t=e.category,n=void 0===t?"Event":t,i=e.action,r=e.label,a=void 0===r?null:r,o=e.value,s=void 0===o?null:o,l=e.callback,c=void 0===l?null:l;if("undefined"!=typeof ga){if(s){var u=parseInt(s,10);s=isNaN(u)?0:u}ga("send",{hitType:"event",eventCategory:n,eventAction:i,eventLabel:a,eventValue:s,hitCallback:c})}},patchItem:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(t.length>0){var n,i={};for(n in e)e.hasOwnProperty(n)&&t.includes(n)&&(i[n]=e[n]);return i["@id"]=e["@id"],i}return e},setupMercureSubscription:function(t,n){e&&this.subscribeToTopic({topic:null,type:n,expires:0,renewJwtPath:t,staff:this.isStaff})},hashCode:function(e){var t=0,n=e.length,i=0;if(n>0)for(;i<n;)t=(t<<5)-t+e.charCodeAt(i++)|0;return t},getContrastYIQ:function(e){return e=e.replace("#",""),(299*parseInt(e.substr(0,2),16)+587*parseInt(e.substr(2,2),16)+114*parseInt(e.substr(4,2),16))/1e3>=128?"black":"white"},copyText:function(e){navigator.clipboard.writeText(e)},scrollContainerTop:function(){window.scrollTo(0,Iu.offsetTop-64)},scrollToTop:function(e){var t=-window.scrollY/(e/15),n=setInterval((function(){0!==window.scrollY?window.scrollBy(0,t):clearInterval(n)}),15)},naturalSort:function(e){var t=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return e.sort(t.compare)},getUserImageSrc:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return null==e?t?null:this.imagePrefix+"images/peerJ_icon_await_fade.jpeg":"e_"===e.substring(0,2)?this.imagePrefix+"images/ae/"+e+".jpg":e.includes("//s3.amazonaws.com/static.peerj.com/")?location.protocol+e:this.userImagePrefix+e},isResourceOwner:function(e){return e===this.account["@id"]}},Object(d.b)("me",{preLoadMe:"preLoad"})),{},{showConfirmModal:function(e,t){e.vuetify?$.a.$emit(ut.a.CONFIRM_VUETIFY,e):$.a.$emit(ut.a.CONFIRM,{data:e,callback:t})},truncate:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;if(e)return e.length>t?e.slice(0,t-1)+"...":e},updatePage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.$router.currentRoute.name!==e.name&&(this.isVueRouterPage?this.$router.push({name:e.name,params:t}):window.location.href=e.href)}}),filters:$i.a});var t=[{name:R.a.PEERJ_CORE_VUE_ROUTER_OUTLET_ID,id:R.a.PEERJ_CORE_VUE_ROUTER_OUTLET_ID,component:Wi.default}].concat(l()(hr));Hu&&t.push({name:"user-impact-widget",id:"peerj-vue-user-impact-widget",component:Vi.default});var n=!0;Object(xr.a)(t,f.default,j.a,Bn,P,Fi,n)}function zu(){return Ru._roles.length>0?Nn.a.getItem("jwt")?Nn.a.getItem("jwt"):j.a.dispatch("user/checkSignedIn"):null}function Bu(){return(Bu=o()(r.a.mark((function e(){var t,n,i;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,Bi.a.register(),e.next=4,zu();case 4:if(!(t=e.sent)){e.next=11;break}return n=Object(Ui.a)(t),j.a.commit("user/setToken",t),j.a.commit("user/setDecodedToken",n),e.next=11,wr.a.getOwnProfileData();case 11:Fu(),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(0),console.error("Main init error",e.t0);case 17:i={eventBus:$.a,constants:{events:ut.a},initApps:function(){console.log("Re-mount Vue apps"),$.a.$emit("REMOUNT_ARTICLE_NOTES"),Object(xr.a)(hr,f.default,j.a,Bn,P,Fi,!0)},store:j.a},window.PeerJ?window.PeerJ.Vue=i:window.PeerJ={Vue:i};case 19:case"end":return e.stop()}}),e,null,[[0,14]])}
266)))).apply(this,arguments)}!function(){Bu.apply(this,arguments)}()},jE9Z:function(e,t,n){"use strict"; 267/*! 268 * vue-router v3.1.3 269 * (c) 2019 Evan You 270 * @license MIT 271 */function i(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function r(e,t){return t instanceof e||t&&(t.name===e.name||t._name===e._name)}function a(e,t){for(var n in t)e[n]=t[n];return e}var o={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,i=t.children,r=t.parent,o=t.data;o.routerView=!0;for(var s=r.$createElement,l=n.name,c=r.$route,u=r._routerViewCache||(r._routerViewCache={}),d=0,h=!1;r&&r._routerRoot!==r;){var f=r.$vnode&&r.$vnode.data;f&&(f.routerView&&d++,f.keepAlive&&r._inactive&&(h=!0)),r=r.$parent}if(o.routerViewDepth=d,h)return s(u[l],o,i);var p=c.matched[d];if(!p)return u[l]=null,s();var m=u[l]=p.components[l];o.registerRouteInstance=function(e,t){var n=p.instances[l];(t&&n!==e||!t&&n===e)&&(p.instances[l]=t)},(o.hook||(o.hook={})).prepatch=function(e,t){p.instances[l]=t.componentInstance},o.hook.init=function(e){e.data.keepAlive&&e.componentInstance&&e.componentInstance!==p.instances[l]&&(p.instances[l]=e.componentInstance)};var g=o.props=function(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0;default:0}}(c,p.props&&p.props[l]);if(g){g=o.props=a({},g);var v=o.attrs=o.attrs||{};for(var b in g)m.props&&b in m.props||(v[b]=g[b],delete g[b])}return s(m,o,i)}};var s=/[!'()*]/g,l=function(e){return"%"+e.charCodeAt(0).toString(16)},c=/%2C/g,u=function(e){return encodeURIComponent(e).replace(s,l).replace(c,",")},d=decodeURIComponent;function h(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),i=d(n.shift()),r=n.length>0?d(n.join("=")):null;void 0===t[i]?t[i]=r:Array.isArray(t[i])?t[i].push(r):t[i]=[t[i],r]})),t):t}function f(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return u(t);if(Array.isArray(n)){var i=[];return n.forEach((function(e){void 0!==e&&(null===e?i.push(u(t)):i.push(u(t)+"="+u(e)))})),i.join("&")}return u(t)+"="+u(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var p=/\/?$/;function m(e,t,n,i){var r=i&&i.options.stringifyQuery,a=t.query||{};try{a=g(a)}catch(e){}var o={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:a,params:t.params||{},fullPath:y(t,r),matched:e?b(e):[]};return n&&(o.redirectedFrom=y(n,r)),Object.freeze(o)}function g(e){if(Array.isArray(e))return e.map(g);if(e&&"object"==typeof e){var t={};for(var n in e)t[n]=g(e[n]);return t}return e}var v=m(null,{path:"/"});function b(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function y(e,t){var n=e.path,i=e.query;void 0===i&&(i={});var r=e.hash;return void 0===r&&(r=""),(n||"/")+(t||f)(i)+r}function _(e,t){return t===v?e===t:!!t&&(e.path&&t.path?e.path.replace(p,"")===t.path.replace(p,"")&&e.hash===t.hash&&x(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&x(e.query,t.query)&&x(e.params,t.params)))}function x(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e),i=Object.keys(t);return n.length===i.length&&n.every((function(n){var i=e[n],r=t[n];return"object"==typeof i&&"object"==typeof r?x(i,r):String(i)===String(r)}))}function w(e,t,n){var i=e.charAt(0);if("/"===i)return e;if("?"===i||"#"===i)return t+e;var r=t.split("/");n&&r[r.length-1]||r.pop();for(var a=e.replace(/^\//,"").split("/"),o=0;o<a.length;o++){var s=a[o];".."===s?r.pop():"."!==s&&r.push(s)}return""!==r[0]&&r.unshift(""),r.join("/")}function k(e){return e.replace(/\/\//g,"/")}var S=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},M=N,L=E,A=function(e,t){return P(E(e,t))},O=P,C=H,T=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function E(e,t){for(var n,i=[],r=0,a=0,o="",s=t&&t.delimiter||"/";null!=(n=T.exec(e));){var l=n[0],c=n[1],u=n.index;if(o+=e.slice(a,u),a=u+l.length,c)o+=c[1];else{var d=e[a],h=n[2],f=n[3],p=n[4],m=n[5],g=n[6],v=n[7];o&&(i.push(o),o="");var b=null!=h&&null!=d&&d!==h,y="+"===g||"*"===g,_="?"===g||"*"===g,x=n[2]||s,w=p||m;i.push({name:f||r++,prefix:h||"",delimiter:x,optional:_,repeat:y,partial:b,asterisk:!!v,pattern:w?Y(w):v?".*":"[^"+j(x)+"]+?"})}}return a<e.length&&(o+=e.substr(a)),o&&i.push(o),i}function D(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function P(e){for(var t=new Array(e.length),n=0;n<e.length;n++)"object"==typeof e[n]&&(t[n]=new RegExp("^(?:"+e[n].pattern+")$"));return function(n,i){for(var r="",a=n||{},o=(i||{}).pretty?D:encodeURIComponent,s=0;s<e.length;s++){var l=e[s];if("string"!=typeof l){var c,u=a[l.name];if(null==u){if(l.optional){l.partial&&(r+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(S(u)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(u)+"`");if(0===u.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var d=0;d<u.length;d++){if(c=o(u[d]),!t[s].test(c))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(c)+"`");r+=(0===d?l.prefix:l.delimiter)+c}}else{if(c=l.asterisk?encodeURI(u).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):o(u),!t[s].test(c))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+c+'"');r+=l.prefix+c}}else r+=l}return r}}function j(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function Y(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function I(e,t){return e.keys=t,e}function R(e){return e.sensitive?"":"i"}function H(e,t,n){S(t)||(n=t||n,t=[]);for(var i=(n=n||{}).strict,r=!1!==n.end,a="",o=0;o<e.length;o++){var s=e[o];
271if("string"==typeof s)a+=j(s);else{var l=j(s.prefix),c="(?:"+s.pattern+")";t.push(s),s.repeat&&(c+="(?:"+l+c+")*"),a+=c=s.optional?s.partial?l+"("+c+")?":"(?:"+l+"("+c+"))?":l+"("+c+")"}}var u=j(n.delimiter||"/"),d=a.slice(-u.length)===u;return i||(a=(d?a.slice(0,-u.length):a)+"(?:"+u+"(?=$))?"),a+=r?"$":i&&d?"":"(?="+u+"|$)",I(new RegExp("^"+a,R(n)),t)}function N(e,t,n){return S(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.length;i++)t.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return I(e,t)}(e,t):S(e)?function(e,t,n){for(var i=[],r=0;r<e.length;r++)i.push(N(e[r],t,n).source);return I(new RegExp("(?:"+i.join("|")+")",R(n)),t)}(e,t,n):function(e,t,n){return H(E(e,n),t,n)}(e,t,n)}M.parse=L,M.compile=A,M.tokensToFunction=O,M.tokensToRegExp=C;var F=Object.create(null);function z(e,t,n){t=t||{};try{var i=F[e]||(F[e]=M.compile(e));return t.pathMatch&&(t[0]=t.pathMatch),i(t,{pretty:!0})}catch(e){return""}finally{delete t[0]}}function B(e,t,n,i){var r="string"==typeof e?{path:e}:e;if(r._normalized)return r;if(r.name)return a({},e);if(!r.path&&r.params&&t){(r=a({},r))._normalized=!0;var o=a(a({},t.params),r.params);if(t.name)r.name=t.name,r.params=o;else if(t.matched.length){var s=t.matched[t.matched.length-1].path;r.path=z(s,o,t.path)}else 0;return r}var l=function(e){var t="",n="",i=e.indexOf("#");i>=0&&(t=e.slice(i),e=e.slice(0,i));var r=e.indexOf("?");return r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),{path:e,query:n,hash:t}}(r.path||""),c=t&&t.path||"/",u=l.path?w(l.path,c,n||r.append):c,d=function(e,t,n){void 0===t&&(t={});var i,r=n||h;try{i=r(e||"")}catch(e){i={}}for(var a in t)i[a]=t[a];return i}(l.query,r.query,i&&i.options.parseQuery),f=r.hash||l.hash;return f&&"#"!==f.charAt(0)&&(f="#"+f),{_normalized:!0,path:u,query:d,hash:f}}var W,V=function(){},$={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:[String,Array],default:"click"}},render:function(e){var t=this,n=this.$router,i=this.$route,r=n.resolve(this.to,i,this.append),o=r.location,s=r.route,l=r.href,c={},u=n.options.linkActiveClass,d=n.options.linkExactActiveClass,h=null==u?"router-link-active":u,f=null==d?"router-link-exact-active":d,g=null==this.activeClass?h:this.activeClass,v=null==this.exactActiveClass?f:this.exactActiveClass,b=s.redirectedFrom?m(null,B(s.redirectedFrom),null,n):s;c[v]=_(i,b),c[g]=this.exact?c[v]:function(e,t){return 0===e.path.replace(p,"/").indexOf(t.path.replace(p,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var n in t)if(!(n in e))return!1;return!0}(e.query,t.query)}(i,b);var y=function(e){U(e)&&(t.replace?n.replace(o,V):n.push(o,V))},x={click:U};Array.isArray(this.event)?this.event.forEach((function(e){x[e]=y})):x[this.event]=y;var w={class:c},k=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:s,navigate:y,isActive:c[g],isExactActive:c[v]});if(k){if(1===k.length)return k[0];if(k.length>1||!k.length)return 0===k.length?e():e("span",{},k)}if("a"===this.tag)w.on=x,w.attrs={href:l};else{var S=function e(t){var n;if(t)for(var i=0;i<t.length;i++){if("a"===(n=t[i]).tag)return n;if(n.children&&(n=e(n.children)))return n}}(this.$slots.default);if(S){S.isStatic=!1;var M=S.data=a({},S.data);for(var L in M.on=M.on||{},M.on){var A=M.on[L];L in x&&(M.on[L]=Array.isArray(A)?A:[A])}for(var O in x)O in M.on?M.on[O].push(x[O]):M.on[O]=y;(S.data.attrs=a({},S.data.attrs)).href=l}else w.on=x}return e(this.tag,w,this.$slots.default)}};function U(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}var X="undefined"!=typeof window;function G(e,t,n,i){var r=t||[],a=n||Object.create(null),o=i||Object.create(null);e.forEach((function(e){!function e(t,n,i,r,a,o){var s=r.path,l=r.name;0;var c=r.pathToRegexpOptions||{},u=function(e,t,n){n||(e=e.replace(/\/$/,""));if("/"===e[0])return e;if(null==t)return e;return k(t.path+"/"+e)}
271(s,a,c.strict);"boolean"==typeof r.caseSensitive&&(c.sensitive=r.caseSensitive);var d={path:u,regex:q(u,c),components:r.components||{default:r.component},instances:{},name:l,parent:a,matchAs:o,redirect:r.redirect,beforeEnter:r.beforeEnter,meta:r.meta||{},props:null==r.props?{}:r.components?r.props:{default:r.props}};r.children&&r.children.forEach((function(r){var a=o?k(o+"/"+r.path):void 0;e(t,n,i,r,d,a)}));n[d.path]||(t.push(d.path),n[d.path]=d);if(void 0!==r.alias)for(var h=Array.isArray(r.alias)?r.alias:[r.alias],f=0;f<h.length;++f){0;var p={path:h[f],children:r.children};e(t,n,i,p,a,d.path||"/")}l&&(i[l]||(i[l]=d))}(r,a,o,e)}));for(var s=0,l=r.length;s<l;s++)"*"===r[s]&&(r.push(r.splice(s,1)[0]),l--,s--);return{pathList:r,pathMap:a,nameMap:o}}function q(e,t){return M(e,[],t)}function J(e,t){var n=G(e),i=n.pathList,r=n.pathMap,a=n.nameMap;function o(e,n,o){var s=B(e,n,!1,t),c=s.name;if(c){var u=a[c];if(!u)return l(null,s);var d=u.regex.keys.filter((function(e){return!e.optional})).map((function(e){return e.name}));if("object"!=typeof s.params&&(s.params={}),n&&"object"==typeof n.params)for(var h in n.params)!(h in s.params)&&d.indexOf(h)>-1&&(s.params[h]=n.params[h]);return s.path=z(u.path,s.params),l(u,s,o)}if(s.path){s.params={};for(var f=0;f<i.length;f++){var p=i[f],m=r[p];if(K(m.regex,s.path,s.params))return l(m,s,o)}}return l(null,s)}function s(e,n){var i=e.redirect,r="function"==typeof i?i(m(e,n,null,t)):i;if("string"==typeof r&&(r={path:r}),!r||"object"!=typeof r)return l(null,n);var s=r,c=s.name,u=s.path,d=n.query,h=n.hash,f=n.params;if(d=s.hasOwnProperty("query")?s.query:d,h=s.hasOwnProperty("hash")?s.hash:h,f=s.hasOwnProperty("params")?s.params:f,c){a[c];return o({_normalized:!0,name:c,query:d,hash:h,params:f},void 0,n)}if(u){var p=function(e,t){return w(e,t.parent?t.parent.path:"/",!0)}(u,e);return o({_normalized:!0,path:z(p,f),query:d,hash:h},void 0,n)}return l(null,n)}function l(e,n,i){return e&&e.redirect?s(e,i||n):e&&e.matchAs?function(e,t,n){var i=o({_normalized:!0,path:z(n,t.params)});if(i){var r=i.matched,a=r[r.length-1];return t.params=i.params,l(a,t)}return l(null,t)}(0,n,e.matchAs):m(e,n,i,t)}return{match:o,addRoutes:function(e){G(e,i,r,a)}}}function K(e,t,n){var i=t.match(e);if(!i)return!1;if(!n)return!0;for(var r=1,a=i.length;r<a;++r){var o=e.keys[r-1],s="string"==typeof i[r]?decodeURIComponent(i[r]):i[r];o&&(n[o.name||"pathMatch"]=s)}return!0}var Z=X&&window.performance&&window.performance.now?window.performance:Date;function Q(){return Z.now().toFixed(3)}var ee=Q();function te(){return ee}function ne(e){return ee=e}var ie=Object.create(null);function re(){var e=window.location.protocol+"//"+window.location.host,t=window.location.href.replace(e,"");window.history.replaceState({key:te()},"",t),window.addEventListener("popstate",(function(e){oe(),e.state&&e.state.key&&ne(e.state.key)}))}function ae(e,t,n,i){if(e.app){var r=e.options.scrollBehavior;r&&e.app.$nextTick((function(){var a=function(){var e=te();if(e)return ie[e]}(),o=r.call(e,t,n,i?a:null);o&&("function"==typeof o.then?o.then((function(e){de(e,a)})).catch((function(e){0})):de(o,a))}))}}function oe(){var e=te();e&&(ie[e]={x:window.pageXOffset,y:window.pageYOffset})}function se(e){return ce(e.x)||ce(e.y)}function le(e){return{x:ce(e.x)?e.x:window.pageXOffset,y:ce(e.y)?e.y:window.pageYOffset}}function ce(e){return"number"==typeof e}var ue=/^#\d/;function de(e,t){var n,i="object"==typeof e;if(i&&"string"==typeof e.selector){var r=ue.test(e.selector)?document.getElementById(e.selector.slice(1)):document.querySelector(e.selector);if(r){var a=e.offset&&"object"==typeof e.offset?e.offset:{};t=function(e,t){var n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{x:i.left-n.left-t.x,y:i.top-n.top-t.y}}(r,a={x:ce((n=a).x)?n.x:0,y:ce(n.y)?n.y:0})}else se(e)&&(t=le(e))}else i&&se(e)&&(t=le(e));t&&window.scrollTo(t.x,t.y)}var he,fe=X&&((-1===(he=window.navigator.userAgent).indexOf("Android 2.")&&-1===he.indexOf("Android 4.0")||-1===he.indexOf("Mobile Safari")||-1!==he.indexOf("Chrome")||-1!==he.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history);function pe(e,t){oe();var n=window.history;try{t?n.replaceState({key:te()},"",e):n.pushState({key:ne(Q())},"",e)}catch(n){window.location[t?"replace":"assign"](e)}}function me(e){pe(e,!0)}function ge(e,t,n){var i=function(r){r>=e.length?n():e[r]?t(e[r],(function(){i(r+1)})):i(r+1)};i(0)}function ve(e){return function(t,n,r){var a=!1,o=0,s=null;be(e,(function(e,t,n,l){if("function"==typeof e&&void 0===e.cid){a=!0,o++;var c,u=xe((function(t){var i;((i=t).__esModule||_e&&"Module"===i[Symbol.toStringTag])&&(t=t.default),e.resolved="function"==typeof t?t:W.extend(t),n.components[l]=t,--o<=0&&r()})),d=xe((function(e){var t="Failed to resolve async component "+l+": "+e;s||(s=i(e)?e:new Error(t),r(s))}));try{c=e(u,d)}catch(e){d(e)}if(c)if("function"==typeof c.then)c.then(u,d);else{var h=c.component;h&&"function"==typeof h.then&&h.then(u,d)}}})),a||r()}}function be(e,t){return ye(e.map((function(e){return Object.keys(e.components).map((function(n){return t(e.components[n],e.instances[n],e,n)}))})))}function ye(e){return Array.prototype.concat.apply([],e)}var _e="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function xe(e){var t=!1;return function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];if(!t)return t=!0,e.apply(this,n)}}var we=function(e){function t(t){e.call(this),this.name=this._name="NavigationDupl
271icated",this.message='Navigating to current location ("'+t.fullPath+'") is not allowed',Object.defineProperty(this,"stack",{value:(new e).stack,writable:!0,configurable:!0})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(Error);we._name="NavigationDuplicated";var ke=function(e,t){this.router=e,this.base=function(e){if(!e)if(X){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=v,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function Se(e,t,n,i){var r=be(e,(function(e,i,r,a){var o=function(e,t){"function"!=typeof e&&(e=W.extend(e));return e.options[t]}(e,t);if(o)return Array.isArray(o)?o.map((function(e){return n(e,i,r,a)})):n(o,i,r,a)}));return ye(i?r.reverse():r)}function Me(e,t){if(t)return function(){return e.apply(t,arguments)}}ke.prototype.listen=function(e){this.cb=e},ke.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},ke.prototype.onError=function(e){this.errorCbs.push(e)},ke.prototype.transitionTo=function(e,t,n){var i=this,r=this.router.match(e,this.current);this.confirmTransition(r,(function(){i.updateRoute(r),t&&t(r),i.ensureURL(),i.ready||(i.ready=!0,i.readyCbs.forEach((function(e){e(r)})))}),(function(e){n&&n(e),e&&!i.ready&&(i.ready=!0,i.readyErrorCbs.forEach((function(t){t(e)})))}))},ke.prototype.confirmTransition=function(e,t,n){var a=this,o=this.current,s=function(e){!r(we,e)&&i(e)&&(a.errorCbs.length?a.errorCbs.forEach((function(t){t(e)})):console.error(e)),n&&n(e)};if(_(e,o)&&e.matched.length===o.matched.length)return this.ensureURL(),s(new we(e));var l=function(e,t){var n,i=Math.max(e.length,t.length);for(n=0;n<i&&e[n]===t[n];n++);return{updated:t.slice(0,n),activated:t.slice(n),deactivated:e.slice(n)}}(this.current.matched,e.matched),c=l.updated,u=l.deactivated,d=l.activated,h=[].concat(function(e){return Se(e,"beforeRouteLeave",Me,!0)}(u),this.router.beforeHooks,function(e){return Se(e,"beforeRouteUpdate",Me)}(c),d.map((function(e){return e.beforeEnter})),ve(d));this.pending=e;var f=function(t,n){if(a.pending!==e)return s();try{t(e,o,(function(e){!1===e||i(e)?(a.ensureURL(!0),s(e)):"string"==typeof e||"object"==typeof e&&("string"==typeof e.path||"string"==typeof e.name)?(s(),"object"==typeof e&&e.replace?a.replace(e):a.push(e)):n(e)}))}catch(e){s(e)}};ge(h,f,(function(){var n=[];ge(function(e,t,n){return Se(e,"beforeRouteEnter",(function(e,i,r,a){return function(e,t,n,i,r){return function(a,o,s){return e(a,o,(function(e){"function"==typeof e&&i.push((function(){!function e(t,n,i,r){n[i]&&!n[i]._isBeingDestroyed?t(n[i]):r()&&setTimeout((function(){e(t,n,i,r)}),16)}(e,t.instances,n,r)})),s(e)}))}}(e,r,a,t,n)}))}(d,n,(function(){return a.current===e})).concat(a.router.resolveHooks),f,(function(){if(a.pending!==e)return s();a.pending=null,t(e),a.router.app&&a.router.app.$nextTick((function(){n.forEach((function(e){e()}))}))}))}))},ke.prototype.updateRoute=function(e){var t=this.current;this.current=e,this.cb&&this.cb(e),this.router.afterHooks.forEach((function(n){n&&n(e,t)}))};var Le=function(e){function t(t,n){var i=this;e.call(this,t,n);var r=t.options.scrollBehavior,a=fe&&r;a&&re();var o=Ae(this.base);window.addEventListener("popstate",(function(e){var n=i.current,r=Ae(i.base);i.current===v&&r===o||i.transitionTo(r,(function(e){a&&ae(t,e,n,!0)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,(function(e){pe(k(i.base+e.fullPath)),ae(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,(function(e){me(k(i.base+e.fullPath)),ae(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.ensureURL=function(e){if(Ae(this.base)!==this.current.fullPath){var t=k(this.base+this.current.fullPath);e?pe(t):me(t)}},t.prototype.getCurrentLocation=function(){return Ae(this.base)},t}(ke);function Ae(e){var t=decodeURI(window.location.pathname);
271return e&&0===t.indexOf(e)&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var Oe=function(e){function t(t,n,i){e.call(this,t,n),i&&function(e){var t=Ae(e);if(!/^\/#/.test(t))return window.location.replace(k(e+"/#"+t)),!0}(this.base)||Ce()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this,t=this.router.options.scrollBehavior,n=fe&&t;n&&re(),window.addEventListener(fe?"popstate":"hashchange",(function(){var t=e.current;Ce()&&e.transitionTo(Te(),(function(i){n&&ae(e.router,i,t,!0),fe||Pe(i.fullPath)}))}))},t.prototype.push=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,(function(e){De(e.fullPath),ae(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,(function(e){Pe(e.fullPath),ae(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;Te()!==t&&(e?De(t):Pe(t))},t.prototype.getCurrentLocation=function(){return Te()},t}(ke);function Ce(){var e=Te();return"/"===e.charAt(0)||(Pe("/"+e),!1)}function Te(){var e=window.location.href,t=e.indexOf("#");if(t<0)return"";var n=(e=e.slice(t+1)).indexOf("?");if(n<0){var i=e.indexOf("#");e=i>-1?decodeURI(e.slice(0,i))+e.slice(i):decodeURI(e)}else n>-1&&(e=decodeURI(e.slice(0,n))+e.slice(n));return e}function Ee(e){var t=window.location.href,n=t.indexOf("#");return(n>=0?t.slice(0,n):t)+"#"+e}function De(e){fe?pe(Ee(e)):window.location.hash=e}function Pe(e){fe?me(Ee(e)):window.location.replace(Ee(e))}var je=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var i=this;this.transitionTo(e,(function(e){i.stack=i.stack.slice(0,i.index+1).concat(e),i.index++,t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this;this.transitionTo(e,(function(e){i.stack=i.stack.slice(0,i.index).concat(e),t&&t(e)}),n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,(function(){t.index=n,t.updateRoute(i)}),(function(e){r(we,e)&&(t.index=n)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(ke),Ye=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=J(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!fe&&!1!==e.fallback,this.fallback&&(t="hash"),X||(t="abstract"),this.mode=t,t){case"history":this.history=new Le(this,e.base);break;case"hash":this.history=new Oe(this,e.base,this.fallback);break;case"abstract":this.history=new je(this,e.base);break;default:0}},Ie={currentRoute:{configurable:!0}};function Re(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}Ye.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},Ie.currentRoute.get=function(){return this.history&&this.history.current},Ye.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null)})),!this.app){this.app=e;var n=this.history;if(n instanceof Le)n.transitionTo(n.getCurrentLocation());else if(n instanceof Oe){var i=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},Ye.prototype.beforeEach=function(e){return Re(this.beforeHooks,e)},Ye.prototype.beforeResolve=function(e){return Re(this.resolveHooks,e)},Ye.prototype.afterEach=function(e){return Re(this.afterHooks,e)},Ye.prototype.onReady=function(e,t){this.history.onReady(e,t)},Ye.prototype.onError=function(e){this.history.onError(e)},Ye.prototype.push=function(e,t,n){var i=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){i.history.push(e,t,n
271)}));this.history.push(e,t,n)},Ye.prototype.replace=function(e,t,n){var i=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){i.history.replace(e,t,n)}));this.history.replace(e,t,n)},Ye.prototype.go=function(e){this.history.go(e)},Ye.prototype.back=function(){this.go(-1)},Ye.prototype.forward=function(){this.go(1)},Ye.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},Ye.prototype.resolve=function(e,t,n){var i=B(e,t=t||this.history.current,n,this),r=this.match(i,t),a=r.redirectedFrom||r.fullPath;return{location:i,route:r,href:function(e,t,n){var i="hash"===n?"#"+t:t;return e?k(e+"/"+i):i}(this.history.base,a,this.mode),normalizedTo:i,resolved:r}},Ye.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==v&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Ye.prototype,Ie),Ye.install=function e(t){if(!e.installed||W!==t){e.installed=!0,W=t;var n=function(e){return void 0!==e},i=function(e,t){var i=e.$options._parentVnode;n(i)&&n(i=i.data)&&n(i=i.registerRouteInstance)&&i(e,t)};t.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,i(this,this)},destroyed:function(){i(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",o),t.component("RouterLink",$);var r=t.config.optionMergeStrategies;r.beforeRouteEnter=r.beforeRouteLeave=r.beforeRouteUpdate=r.created}},Ye.version="3.1.3",X&&window.Vue&&window.Vue.use(Ye),t.a=Ye},jK73:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("wMS7"),r=n.n(i),a=n("AuB/");function o(e,t){var n=t.value,i=t.arg;if(null!=n){var o=a.a.markdownToHtml(n),s={};"inline"===i&&(s={FORBID_TAGS:["p"]}),e.innerHTML=r.a.sanitize(o,s)}}},jUeY:function(e,t,n){!function(e){"use strict";
272//! moment.js locale configuration 273e.defineLocale("el",{monthsNominativeEl:"ÎÎ±Î½Î¿Ï Î¬ÏιοÏ_ΦεβÏÎ¿Ï Î¬ÏιοÏ_ÎάÏÏιοÏ_ÎÏÏίλιοÏ_ÎάιοÏ_ÎοÏνιοÏ_ÎοÏλιοÏ_ÎÏÎ³Î¿Ï ÏÏοÏ_ΣεÏÏÎμβÏιοÏ_ÎκÏÏβÏιοÏ_ÎοÎμβÏιοÏ_ÎεκÎμβÏιοÏ".split("_"),monthsGenitiveEl:"ÎÎ±Î½Î¿Ï Î±ÏÎ¯Î¿Ï _ΦεβÏÎ¿Ï Î±ÏÎ¯Î¿Ï _ÎαÏÏÎ¯Î¿Ï _ÎÏÏÎ¹Î»Î¯Î¿Ï _ÎαÎÎ¿Ï _ÎÎ¿Ï Î½Î¯Î¿Ï _ÎÎ¿Ï Î»Î¯Î¿Ï _ÎÏ Î³Î¿ÏÏÏÎ¿Ï _ΣεÏÏεμβÏÎ¯Î¿Ï _ÎκÏÏβÏÎ¯Î¿Ï _ÎοεμβÏÎ¯Î¿Ï _ÎεκεμβÏÎ¯Î¿Ï ".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Îαν_Φεβ_ÎαÏ_ÎÏÏ_ÎαÏ_ÎÎ¿Ï Î½_ÎÎ¿Ï Î»_ÎÏ Î³_ΣεÏ_ÎκÏ_Îοε_Îεκ".split("_"),weekdays:"ÎÏ Ïιακή_ÎÎµÏ ÏÎÏα_ΤÏίÏη_ΤεÏάÏÏη_Î ÎμÏÏη_ΠαÏαÏÎºÎµÏ Î®_ΣάββαÏο".split("_"),weekdaysShort:"ÎÏ Ï_ÎÎµÏ _ΤÏι_ΤεÏ_Πεμ_ΠαÏ_Σαβ".split("_"),weekdaysMin:"ÎÏ _Îε_ΤÏ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ÎÎ":n?"Ïμ":"Î Î"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[Î Î]\.?Î?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[ΣήμεÏα {}] LT",nextDay:"[ÎÏÏιο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Î§Î¸ÎµÏ {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[Ïο ÏÏοηγοÏμενο] dddd [{}] LT";default:return"[Ïην ÏÏοηγοÏμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,i=this._calendarEl[e],r=t&&t.hours();return n=i,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(t)),i.replace("{}",r%12==1?"ÏÏη":"ÏÏιÏ")},relativeTime:{future:"Ïε %s",past:"%s ÏÏιν",s:"λίγα Î´ÎµÏ ÏεÏÏλεÏÏα",ss:"%d Î´ÎµÏ ÏεÏÏλεÏÏα",m:"Îνα λεÏÏÏ",mm:"%d λεÏÏά",h:"μία ÏÏα",hh:"%d ÏÏεÏ",d:"μία μÎÏα",dd:"%d μÎÏεÏ",M:"ÎÎ½Î±Ï Î¼Î®Î½Î±Ï",MM:"%d μήνεÏ",y:"ÎÎ½Î±Ï ÏÏÏνοÏ",yy:"%d ÏÏÏνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(e,t,n){!function(e){"use strict";
vendor: 2,136 bytes, lines 274-275
274//! moment.js locale configuration 275var t="styczeÅ_luty_marzec_kwiecieÅ_maj_czerwiec_lipiec_sierpieÅ_wrzesieÅ_październik_listopad_grudzieÅ".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrzeÅnia_października_listopada_grudnia".split("_"),i=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function r(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function a(e,t,n){var i=e+" ";switch(n){case"ss":return i+(r(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutÄ";case"mm":return i+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzinÄ";case"hh":return i+(r(e)?"godziny":"godzin");case"ww":return i+(r(e)?"tygodnie":"tygodni");case"MM":return i+(r(e)?"miesiÄ ce":"miesiÄcy");case"yy":return i+(r(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,i){return e?/D MMMM/.test(i)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"niedziela_poniedziaÅek_wtorek_Åroda_czwartek_piÄ tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_År_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_År_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DziÅ o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielÄ o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W ÅrodÄ o] LT";case 6:return"[W sobotÄ o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszÅÄ niedzielÄ o] LT";case 3:return"[W zeszÅÄ ÅrodÄ o] LT";case 6:return"[W zeszÅÄ sobotÄ o] LT";default:return"[W zeszÅy] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:a,m:a,mm:a,h:a,hh:a,d:"1 dzieÅ",dd:"%d dni",w:"tydzieÅ",ww:a,M:"miesiÄ c",MM:a,y:"rok",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jfSC:function(e,t,n){!function(e){"use strict";
vendor: 1,959 bytes, lines 276-277
276//! moment.js locale configuration 277var t={1:"Û±",2:"Û²",3:"Û³",4:"Û´",5:"Ûµ",6:"Û¶",7:"Û·",8:"Û¸",9:"Û¹",0:"Û°"},n={"Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9","Û°":"0"};e.defineLocale("fa",{months:"ÚØ§ÙÙÛÙ_ÙÙØ±ÛÙ_٠ارس_Ø¢ÙØ±ÛÙ_Ù Ù_ÚÙØ¦Ù_ÚÙØ¦ÛÙ_Ø§ÙØª_سپتا٠بر_اکتبر_ÙÙØ§Ù بر_دسا٠بر".split("_"),monthsShort:"ÚØ§ÙÙÛÙ_ÙÙØ±ÛÙ_٠ارس_Ø¢ÙØ±ÛÙ_Ù Ù_ÚÙØ¦Ù_ÚÙØ¦ÛÙ_Ø§ÙØª_سپتا٠بر_اکتبر_ÙÙØ§Ù بر_دسا٠بر".split("_"),weekdays:"ÛÚ©âØ´ÙØ¨Ù_Ø¯ÙØ´ÙبÙ_سÙâØ´ÙØ¨Ù_ÚÙØ§Ø±Ø´ÙبÙ_Ù¾ÙØ¬âØ´ÙØ¨Ù_ج٠عÙ_Ø´ÙØ¨Ù".split("_"),weekdaysShort:"ÛÚ©âØ´ÙØ¨Ù_Ø¯ÙØ´ÙبÙ_سÙâØ´ÙØ¨Ù_ÚÙØ§Ø±Ø´ÙبÙ_Ù¾ÙØ¬âØ´ÙØ¨Ù_ج٠عÙ_Ø´ÙØ¨Ù".split("_"),weekdaysMin:"Û_د_س_Ú_Ù¾_ج_Ø´".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ÙØ¨Ù از Ø¸ÙØ±|بعد از Ø¸ÙØ±/,isPM:function(e){return/بعد از Ø¸ÙØ±/.test(e)},meridiem:function(e,t,n){return e<12?"ÙØ¨Ù از Ø¸ÙØ±":"بعد از Ø¸ÙØ±"},calendar:{sameDay:"[Ø§Ù Ø±ÙØ² ساعت] LT",nextDay:"[ÙØ±Ø¯Ø§ ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[Ø¯ÛØ±Ùز ساعت] LT",lastWeek:"dddd [Ù¾ÛØ´] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s Ù¾ÛØ´",s:"ÚÙØ¯ ثاÙÛÙ",ss:"%d ثاÙÛÙ",m:"ÛÚ© دÙÛÙÙ",mm:"%d دÙÛÙÙ",h:"ÛÚ© ساعت",hh:"%d ساعت",d:"ÛÚ© Ø±ÙØ²",dd:"%d Ø±ÙØ²",M:"ÛÚ© ٠اÙ",MM:"%d ٠اÙ",y:"ÛÚ© ساÙ",yy:"%d ساÙ"},preparse:function(e){return e.replace(/[Û°-Û¹]/g,(function(e){return n[e]})).replace(/Ø/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"Ø")},dayOfMonthOrdinalParse:/\d{1,2}Ù /,ordinal:"%dÙ ",week:{dow:6,doy:12}})}(n("wd/R"))},jhst:function(e,t,n){},jnO4:function(e,t,n){!function(e){"use strict";
278//! moment.js locale configuration 279var t={1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "},n={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["Ø£Ù٠٠٠ثاÙÙØ©","ثاÙÙØ© ÙØ§ØØ¯Ø©",["ثاÙÙØªØ§Ù","ثاÙÙØªÙÙ"],"%d Ø«ÙØ§Ù","%d ثاÙÙØ©","%d ثاÙÙØ©"],m:["Ø£Ù٠٠٠دÙÙÙØ©","دÙÙÙØ© ÙØ§ØØ¯Ø©",["دÙÙÙØªØ§Ù","دÙÙÙØªÙÙ"],"%d Ø¯ÙØ§Ø¦Ù","%d دÙÙÙØ©","%d دÙÙÙØ©"],h:["Ø£Ù٠٠٠ساعة","ساعة ÙØ§ØØ¯Ø©",["ساعتاÙ","ساعتÙÙ"],"%d ساعات","%d ساعة","%d ساعة"],d:["Ø£ÙÙ Ù Ù ÙÙÙ ","ÙÙÙ ÙØ§ØØ¯",["ÙÙ٠اÙ","ÙÙÙ ÙÙ"],"%d Ø£ÙØ§Ù ","%d ÙÙÙ ÙØ§","%d ÙÙÙ "],M:["Ø£ÙÙ Ù Ù Ø´ÙØ±","Ø´ÙØ± ÙØ§ØØ¯",["Ø´ÙØ±Ø§Ù","Ø´ÙØ±ÙÙ"],"%d Ø£Ø´ÙØ±","%d Ø´ÙØ±Ø§","%d Ø´ÙØ±"],y:["Ø£Ù٠٠٠عا٠","Ø¹Ø§Ù ÙØ§ØØ¯",["عا٠اÙ","عا٠ÙÙ"],"%d Ø£Ø¹ÙØ§Ù ","%d Ø¹Ø§Ù ÙØ§","%d عا٠"]},a=function(e){return function(t,n,a,o){var s=i(t),l=r[e][i(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},o=["ÙÙØ§Ùر","ÙØ¨Ø±Ø§Ùر","٠ارس","أبرÙÙ","٠اÙÙ","ÙÙÙÙÙ","ÙÙÙÙÙ","أغسطس","سبت٠بر","Ø£ÙØªÙبر","ÙÙÙ٠بر","Ø¯ÙØ³Ù بر"];e.defineLocale("ar",{months:o,monthsShort:o,weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù ÙØ³_ج٠عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/âM/âYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù /,isPM:function(e){return"Ù "===e},meridiem:function(e,t,n){return e<12?"ص":"Ù "},calendar:{sameDay:"[اÙÙÙÙ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[ØºØ¯ÙØ§ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[أ٠س Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"Ù ÙØ° %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/Ø/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"Ø")},week:{dow:6,doy:12}})}(n("wd/R"))},jsnD:function(e,t,n){"use strict";var i=n("Kw5r"),r=n("L2JU"),a=n("XYI+"),o=n("550l"),s=n("hv63"),l={state:{sidebarToggleProperties:{isSideNavOpen:!0,isSecondarySideNavOpen:!1,isActiveSecondarySideNav:!1}},getters:{getSideBarToggleProperties:function(e){return e.sidebarToggleProperties}},actions:{changeSidebarProperties:function(e){(0,e.commit)("toggleSidebarProperties")},changeSecondarySidebarProperties:function(e){(0,e.commit)("toggleSecondarySidebarProperties")},changeSecondarySidebarPropertiesViaMenuItem:function(e,t){(0,e.commit)("toggleSecondarySidebarPropertiesViaMenuItem",t)},changeSecondarySidebarPropertiesViaOverlay:function(e){(0,e.commit)("toggleSecondarySidebarPropertiesViaOverlay")}},mutations:{toggleSidebarProperties:function(e){return e.sidebarToggleProperties.isSideNavOpen=!e.sidebarToggleProperties.isSideNavOpen},toggleSecondarySidebarProperties:function(e){return e.sidebarToggleProperties.isSecondarySideNavOpen=!e.sidebarToggleProperties.isSecondarySideNavOpen},toggleSecondarySidebarPropertiesViaMenuItem:function(e,t){e.sidebarToggleProperties.isSecondarySideNavOpen=t,e.sidebarToggleProperties.isActiveSecondarySideNav=t},toggleSecondarySidebarPropertiesViaOverlay:function(e){e.sidebarToggleProperties.isSecondarySideNavOpen=!e.sidebarToggleProperties.isSecondarySideNavOpen}}},c={state:{compactSidebarToggleProperties:{isSideNavOpen:!0,isActiveSecondarySideNav:!1},compactLeftSideBarBgColor:"sidebar-dark-purple"},getters:{getCompactSideBarToggleProperties:function(e){return e.compactSidebarToggleProperties},getcompactLeftSideBarBgColor:function(e){return e.compactLeftSideBarBgColor}},actions:{changeCompactSidebarProperties:function(e){(0,e.commit)("toggleCompactSidebarProperties")},changecompactLeftSideBarBgColor:function(e,t){(0,e.commit)("togglecompactLeftSideBarBgColor",t)}},mutations:{toggleCompactSidebarProperties:function(e){return e.compactSidebarToggleProperties.isSideNavOpen=!e.compactSidebarToggleProperties.isSideNavOpen},togglecompactLeftSideBarBgColor:function(e,t){e.compactLeftSideBarBgColor=t}}},u=n("FeVv"),d={largeSidebar:l,compactSidebar:c,themeConfig:{state:{themeMode:u.a,vuetifyPreset:u.b},getters:{getThemeMode:function(e){return e.themeMode},getVuetifyPreset:function(e){return e.vuetifyPreset}},actions:{changeThemeMode:function(e){(0,e.commit)("toggleThemeMode")},changeThemeDarkMode:function(e,t){(0,e.commit)("toggleThemeDarkMode",t)},changeThemeRtl:function(e){(0,e.commit)("toggleThemeRtl")},changeVerticalSidebarDrawer:function(e){(0,e.commit)("toggleVerticalSidebarDrawer")},changeVerticalSidebarDrawerColor:function(e,t){(0,e.commit)("toggleVerticalSidebarDrawerColor",t)},changeAppBarColor:function(e,t){(0,e.commit)("toggleAppBarColor",t)},changeCompactVerticalSidebarDrawer:function(e){(0,e.commit)("toggleCompactVerticalSidebarDrawer")},changeVerticalSidebarMini:function(e){(0,e.commit)("toggleVerticalSidebarMini")},changeThemeLoadingState:function(e,t){(0,e.commit)("toggleThemeLoadingState",t)}},mutations:{toggleThemeDarkMode:function(e,t){},toggleThemeRtl:function(e){e.themeMode.rtl=!e.themeMode.rtl},toggleThemeLoadingState:function(e,t){e.themeMode.isLoading=t},toggleVerticalSidebarDrawer:function(e){e.themeMode.verticalSidebarDrawer=!e.themeMode.verticalSidebarDrawer},toggleVerticalSidebarDrawerColor:function(e,t){e.themeMode.verticalSidebarDrawerColor=t},toggleAppBarColor:function(e,t){e.themeMode.appBarColor=u.a.appBarColor},toggleCompactVerticalSidebarDrawer:function(e){e.themeMode.verticalCompactSidebarDrawer=!e.themeMode.verticalCompactSidebarDrawer},toggleVerticalSidebarMini:function(e){e.themeMode.verticalSidebarMini=!e.themeMode.verticalSidebarMini}}},verticalSidebar:{state:{verticalSidebar:{isVerticalSidebar:!0,isVerticalCompact:!1,isMobileCompact:!0},verticalCompact:{isSidebarCompact:!1,isItemName:!1}},getters:{getVerticalSidebar:function(e){return e.verticalSidebar},getVerticalCompact:function(e){return e.verticalCompact}},actions:{switchSidebar:function(e,t){(0,e.commit)("SWITCH_SIDEBAR",t)},sidebarCompact:function(e,t){(0,e.commit)("SIDEBAR_COMPACT",t)},removeSidebarCompact:function(e,t){(0,e.commit)("REMOVE_SIDEBAR_COMPACT",t)},mobileSidebar:function(e,t){(0,e.commit)("MOBILE_SIDEBAR",t)}},mutations:{SWITCH_SIDEBAR:function(e,t){e.verticalSidebar.isVerticalSidebar=!e.verticalSidebar.isVerticalSidebar,e.verticalSidebar.isVerticalCompact=!e.verticalSidebar.isVerticalCompact,console.log("test")},SIDEBAR_COMPACT:function(e,t){0==e.verticalSidebar.isVerticalSidebar&&(e.verticalCompact.isSidebarCompact=!e.verticalCompact.isSidebarCompact,e.verticalCompact.isItemName=!e.verticalCompact.isItemName),console.log("test")},REMOVE_SIDEBAR_COMPACT:function(e,t){1==e.verticalCompact.isSidebarCompact&&(e.verticalCompact.isSidebarCompact=!e.verticalCompact.isSidebarCompact,e.verticalCompact.isItemName=!e.verticalCompact.isItemName)},MOBILE_SIDEBAR:function(e,t){e.verticalSidebar.isMobileCompact=!e.verticalSidebar.isMobileCompact}}}},h=n("o0o1"),f=n.n(h),p=n("yXPU"),m=n.n(p),g=n("/hMX"),v=n("dwWe"),b=(n("6OTJ"),{namespaced:!0,state:{user:null,token:null,decodedToken:{}},getters:{user:function(e){return e.user}},mutations:{setToken:function(e,t){e.token=t},setDecodedToken:function(e,t){e.decodedToken=t},setUser:function(e,t){e.user=t},setUserRolesFromDecodedToken:function(e){e.decodedToken.roles?e.user.roles=e.decodedToken.roles:e.user.roles=[]}},actions:{checkSignedIn:function(e){var t=e.commit;return new Promise((function(e,n){g.a.call({endpoint:"token"}).then((function(i){i.data.token?(t("setToken",i.data.token),v.a.setItem("jwt",i.data.token),e(i.data.token)):n(i)})).catch((function(e){n(e)}))}))}}});var y={namespaced:!0,state:{messages:{system:[],external:[]},messagesLoading:{system:!0,external:!0},messagesError:{system:!1,external:!1},expandAllLoading:!1},mutations:{reset:function(e){Object.assign(e,{messages:{system:[],external:[]},messagesLoading:{system:!0,external:!0},messagesError:{system:!1,external:!1},expandAllLoading:!1})},setMessages:function(e,t){var n=t.messages.sortBy("id","desc");e.messages[t.type]=n},setMessagesLoading:function(e,t){e.messagesLoading[t.type]=t.status},setMessagesError:function(e,t){e.messagesError[t.type]=t.status},setExpandAllLoading:function(e,t){e.expandAllLoading=t}}};var _={namespaced:!0,state:{all:[]},mutations:{reset:function(e){Object.assign(e,{all:[]}
279)},set:function(e,t){e.all=t},add:function(e,t){e.all.length&&e.all[e.all.length-1].equalContrib?e.all.splice(e.all.length-1,0,t):e.all.push(t)},addFirst:function(e,t){e.all.unshift(t)},remove:function(e,t){for(var n=0;n<e.all.length;n++)if(e.all[n].id==t.id){e.all.splice(n,1);break}},update:function(e,t){for(var n=0;n<e.all.length;n++)if(e.all[n].id==t.id){Object.assign(e.all[n],t);break}},removeAffiliationFromAll:function(e,t){e.all.map((function(e){for(var n=0;n<e.addresses.length;n++)if(t.id&&e.addresses[n].id==t.id){e.addresses.splice(n,1);break}}))}}};var x={namespaced:!0,state:{all:[]},mutations:{reset:function(e){Object.assign(e,{all:[]})},update:function(e,t){for(var n=0;n<e.all.length;n++)if(e.all[n].id==t.id){Object.assign(e.all[n],t);break}},set:function(e,t){e.all=t},add:function(e,t){e.all.unshift(t)},remove:function(e,t){for(var n=0;n<e.all.length;n++)if(t.id&&e.all[n].id==t.id){e.all.splice(n,1);break}}}},w=n("reo2");var k={namespaced:!0,state:{article:{}},modules:{authors:_,affiliations:x},mutations:{set:function(e,t){e.article=t}}},S={modules:{user:b,articleMessages:y,notificationAlerts:n("mkUh").a,articleModel:k},state:{articlesLoading:!0,articles:[]},mutations:{setArticlesLoading:function(e,t){e.articlesLoading=t},setArticles:function(e,t){e.articles=t}},actions:{getArticles:function(e){var t=arguments;return m()(f.a.mark((function n(){var i,r,a,o;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=e.commit,r=t.length>1&&void 0!==t[1]?t[1]:[],i("setArticlesLoading",!0),n.prev=3,a={},r.length&&(a.queryParams={articleIds:r.join(",")}),n.next=8,w.a.list(a);case 8:o=n.sent,i("setArticles",o.items),n.next=15;break;case 12:n.prev=12,n.t0=n.catch(3),console.log("Error loading article list",n.t0);case 15:return n.prev=15,i("setArticlesLoading",!1),n.finish(15);case 18:case"end":return n.stop()}}),n,null,[[3,12,15,18]])})))()}}},M=n("ejEX"),L=n("Tlom"),A=n("Awyw"),O=n("uUfQ"),C=n("1xW2"),T=n("A4fz"),E=n("CCgG"),D=n("zYHM"),P=n("wESL");i.default.use(r.a);var j=Object.assign({me:a.default,notifications:s.default,subscriptions:o.default,search:P.default},S.modules,d,M.default,A.default,L.default,O.default,C.default,T.default,E.default,D.default);t.a=new r.a.Store({modules:j,state:S.state,mutations:S.mutations,actions:S.actions})},juv8:function(e,t,n){var i=n("MrPd"),r=n("hypo");e.exports=function(e,t,n,a){var o=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=a?a(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),o?r(n,c,u):i(n,c,u)}return n}},jvwZ:function(e,t,n){},jzzs:function(e,t,n){"use strict";n.r(t);var i=n("C+Gu"),r=n("I/lt"),a=n("rTvM");t.default={path:"",component:function(){return n.e(289).then(n.bind(null,"XnlK"))},children:[{name:"search",path:i.default.CONFIG_SEARCH_NAV_ROW.All.path,component:r.default,props:function(e){return{properties:e.query}}},{name:"staffSearch",path:"/search/staff",component:r.default,props:function(e){return{properties:e.query}}},{path:"/articles",alias:"/research",component:r.default,props:function(e){return{properties:e.query,defaultType:"Publication"}}},{path:"/preprints",component:r.default,props:function(e){return{properties:e.query,defaultType:"Preprint"}}},{path:"/editors",alias:"/academic-editors",component:r.default,props:function(e){return{properties:e.query,defaultType:"editor"}}},{path:"/users",alias:"/researchers",component:r.default,props:function(e){return{properties:e.query,defaultType:"User"}}},{path:"/figures",component:r.default,props:function(e){return{properties:e.query,defaultType:"Figure"}}},{path:"/questions/staff",alias:"/staff/questions",component:r.default,props:function(e){return{properties:e.query,defaultType:"StaffQuestionAnnotation"}}},{path:"/questions",component:r.default,props:function(e){return{properties:e.query,defaultType:"PublicQuestionAnnotation"}}},{path:"/answers",component:r.default,props:function(e){return{properties:e.query,defaultType:"AnswerAnnotation"}}},{path:"/institutions/:id/:slug",name:"institution-id-slug",component:a.default,props:!0},{path:"/institutions/:id",name:"institution-id",component:a.default,props:!0},{path:"/institutions",component:r.default,props:function(e){return{properties:e.query,defaultType:"InstitutionPage"}}}]}},k9gj:function(e,t,n){"use strict";n("vfN1")},kBoR:function(e,t,n){},kCQ2:function(e,t,n){},kEOa:function(e,t,n){!function(e){"use strict";
280//! moment.js locale configuration 281var t={1:"à§§",2:"২",3:"à§©",4:"৪",5:"à§«",6:"৬",7:"à§",8:"à§®",9:"৯",0:"০"},n={"à§§":"1","২":"2","à§©":"3","৪":"4","à§«":"5","৬":"6","à§":"7","à§®":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"à¦à¦¾à¦¨à§à§à¦¾à¦°à¦¿_ফà§à¦¬à§à¦°à§à§à¦¾à¦°à¦¿_মারà§à¦_à¦à¦ªà§à¦°à¦¿à¦²_মà§_à¦à§à¦¨_à¦à§à¦²à¦¾à¦_à¦à¦à¦¸à§à¦_সà§à¦ªà§à¦à§à¦®à§à¦¬à¦°_ঠà¦à§à¦à§à¦¬à¦°_নà¦à§à¦®à§à¦¬à¦°_ডিসà§à¦®à§à¦¬à¦°".split("_"),monthsShort:"à¦à¦¾à¦¨à§_ফà§à¦¬à§à¦°à§_মারà§à¦_à¦à¦ªà§à¦°à¦¿à¦²_মà§_à¦à§à¦¨_à¦à§à¦²à¦¾à¦_à¦à¦à¦¸à§à¦_সà§à¦ªà§à¦_ঠà¦à§à¦à§_নà¦à§_ডিসà§".split("_"),weekdays:"রবিবার_সà§à¦®à¦¬à¦¾à¦°_মà¦à§à¦à¦²à¦¬à¦¾à¦°_বà§à¦§à¦¬à¦¾à¦°_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿à¦¬à¦¾à¦°_শà§à¦à§à¦°à¦¬à¦¾à¦°_শনিবার".split("_"),weekdaysShort:"রবি_সà§à¦®_মà¦à§à¦à¦²_বà§à¦§_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿_শà§à¦à§à¦°_শনি".split("_"),weekdaysMin:"রবি_সà§à¦®_মà¦à§à¦à¦²_বà§à¦§_বà§à¦¹_শà§à¦à§à¦°_শনি".split("_"),longDateFormat:{LT:"A h:mm সমà§",LTS:"A h:mm:ss সমà§",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সমà§",LLLL:"dddd, D MMMM YYYY, A h:mm সমà§"},calendar:{sameDay:"[à¦à¦] LT",nextDay:"[à¦à¦à¦¾à¦®à§à¦à¦¾à¦²] LT",nextWeek:"dddd, LT",lastDay:"[à¦à¦¤à¦à¦¾à¦²] LT",lastWeek:"[à¦à¦¤] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরà§",past:"%s à¦à¦à§",s:"à¦à§à§à¦ সà§à¦à§à¦¨à§à¦¡",ss:"%d সà§à¦à§à¦¨à§à¦¡",m:"à¦à¦ মিনিà¦",mm:"%d মিনিà¦",h:"à¦à¦ à¦à¦¨à§à¦à¦¾",hh:"%d à¦à¦¨à§à¦à¦¾",d:"à¦à¦ দিন",dd:"%d দিন",M:"à¦à¦ মাস",MM:"%d মাস",y:"à¦à¦ বà¦à¦°",yy:"%d বà¦à¦°"},preparse:function(e){return e.replace(/[১২৩৪৫৬à§à§®à§¯à§¦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সà¦à¦¾à¦²|দà§à¦ªà§à¦°|বিà¦à¦¾à¦²|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দà§à¦ªà§à¦°"===t&&e<5||"বিà¦à¦¾à¦²"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সà¦à¦¾à¦²":e<17?"দà§à¦ªà§à¦°":e<20?"বিà¦à¦¾à¦²":"রাত"},week:{dow:0,doy:6}})}(n("wd/R"))},kOpN:function(e,t,n){!function(e){"use strict";
282//! moment.js locale configuration 283e.defineLocale("zh-tw",{months:"䏿_äºæ_䏿_åæ_äºæ_å æ_䏿_å «æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå ".split("_"),weekdaysShort:"鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å ".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥dddd HH:mm",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(e,t){return 12===e&&(e=0),"忍"===t||"æ©ä¸"===t||"ä¸å"===t?e:"ä¸å"===t?e>=11?e:e+12:"ä¸å"===t||"æä¸"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"忍":i<900?"æ©ä¸":i<1130?"ä¸å":i<1230?"ä¸å":i<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©] LT",nextDay:"[æå¤©] LT",nextWeek:"[ä¸]dddd LT",lastDay:"[æ¨å¤©] LT",lastWeek:"[ä¸]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|é±)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"æ¥";case"M":return e+"æ";case"w":case"W":return e+"é±";default:return e}},relativeTime:{future:"%så¾",past:"%så",s:"å¹¾ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ",hh:"%d å°æ",d:"1 天",dd:"%d 天",M:"1 åæ",MM:"%d åæ",y:"1 å¹´",yy:"%d å¹´"}})}(n("wd/R"))},kXbb:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("v-card",{staticClass:"rounded-0"},[t("h2",{staticClass:"subtitle-1 grey--text text--darken-1 font-weight-bold px-4 pt-4 mb-0 pb-1"},[e._v("\n Contact\n ")]),e._v(" "),t("v-card-text",[t("a",{staticClass:"text-decoration-none",attrs:{href:"mailto:"+e.contactEmail}},[e._v(e._s(e.institutionName)+" Membership Manager")]),e._v(" "),t("div",{staticClass:"caption mt-2"},[e._v("PeerJ")]),e._v(" "),t("a",{staticClass:"text-decoration-none",attrs:{href:"mailto:"+n.peerjAimsEmail}},[e._v("PeerJ Support")])])],1)};i._withStripped=!0;var r={__name:"Contact",props:{institutionName:String,contactEmail:String},setup:function(e){return{__sfc:!0,peerjAimsEmail:"[email protected]",props:e}}},a=n("KHd+"),o=n("ZUTo"),s=n.n(o),l=n("sK+t"),c=n("mdmw"),u=Object(a.a)(r,i,[],!1,null,null,null);t.default=u.exports;s()(u,{VCard:l.a,VCardText:c.c})},kdPC:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("eO9T");t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":";return(0,i.withParams)({type:"macAddress"},(function(t){if(!(0,i.req)(t))return!0;if("string"!=typeof t)return!1;var n="string"==typeof e&&""!==e?t.split(e):12===t.length||16===t.length?t.match(/.{2}/g):null;return null!==n&&(6===n.length||8===n.length)&&n.every(r)}))};var r=function(e){return e.toLowerCase().match(/^[0-9a-f]{2}$/)}},koCO:function(e,t,n){"use strict";var i=n("lwsE"),r=n.n(i),a=n("W8MJ"),o=n.n(a),s=n("ZRYv"),l=function(){function e(t,n){var i=this;r()(this,e),this.items=[],t.pagerInfo?this.pagination=new s.a(t.pagerInfo):this.pagination=null,t.pagerItems?t.pagerItems.map((function(e){i.items.push(new n(e))})):Array.isArray(t)&&t.map((function(e){i.items.push(new n(e))}))}return o()(e,[{key:"sortBy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desc";function n(e,t){return function(n,i){if(!n.hasOwnProperty(e)||!i.hasOwnProperty(e))return 0;var r="string"==typeof n[e]?n[e].toUpperCase():n[e],a="string"==typeof i[e]?i[e].toUpperCase():i[e],o=0;return r>a?o=1:r<a&&(o=-1),"desc"==t?-1*o:o}}return this.items.sort(n(e,t)),this}}]),e}();t.a=l},kvwn:function(e,t,n){"use strict";t.a=Object.freeze({VUE_ROUTER_OUTLET_ID:"vue-router-outlet",PEERJ_CORE_VUE_ENTRY_DATA_ID:"vue-peerj-core-entry-data",PEERJ_APP_NAV_LAYOUT:"vue-peerj-app-nav-layout",PEERJ_CORE_VUE_ROUTER_OUTLET_ID:"vue-peerj-core-app"})},"kz2/":function(e,t,n){"use strict";n("b1ey")},l5ep:function(e,t,n){!function(e){"use strict";
284//! moment.js locale configuration 285e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n("wd/R"))},l9OW:function(e,t,n){var i=n("SKAX"),r=n("MMmD");e.exports=function(e,t){var n=-1,a=r(e)?Array(e.length):[];return i(e,(function(e,i,r){a[++n]=t(e,i,r)})),a}},lFuB:function(e,t,n){"use strict";n("5xko")},lHj7:function(e,t,n){"use strict";n("3bOJ")},"lKn/":function(e,t,n){},lQqw:function(e,t,n){var i=n("MMmD");e.exports=function(e,t){return function(n,r){if(null==n)return n;if(!i(n))return e(n,r);for(var a=n.length,o=t?a:-1,s=Object(n);(t?o--:++o<a)&&!1!==r(s[o],o,s););return n}}},lUu7:function(e,t,n){"use strict";n("CmJ3")},lXzo:function(e,t,n){!function(e){"use strict";
vendor: 6,560 bytes, lines 286-289
286//! moment.js locale configuration 287function t(e,t,n){var i,r;return"m"===n?t?"минÑÑа":"минÑÑÑ":e+" "+(i=+e,r={ss:t?"ÑекÑнда_ÑекÑндÑ_ÑекÑнд":"ÑекÑндÑ_ÑекÑндÑ_ÑекÑнд",mm:t?"минÑÑа_минÑÑÑ_минÑÑ":"минÑÑÑ_минÑÑÑ_минÑÑ",hh:"ÑаÑ_ÑаÑа_ÑаÑов",dd:"денÑ_днÑ_дней",ww:"неделÑ_недели_неделÑ",MM:"меÑÑÑ_меÑÑÑа_меÑÑÑев",yy:"год_года_леÑ"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}var n=[/^Ñнв/i,/^Ñев/i,/^маÑ/i,/^апÑ/i,/^ма[йÑ]/i,/^иÑн/i,/^иÑл/i,/^авг/i,/^Ñен/i,/^окÑ/i,/^ноÑ/i,/^дек/i];e.defineLocale("ru",{months:{format:"ÑнваÑÑ_ÑевÑалÑ_маÑÑа_апÑелÑ_маÑ_иÑнÑ_иÑлÑ_авгÑÑÑа_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ".split("_"),standalone:"ÑнваÑÑ_ÑевÑалÑ_маÑÑ_апÑелÑ_май_иÑнÑ_иÑлÑ_авгÑÑÑ_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ".split("_")},monthsShort:{format:"Ñнв._ÑевÑ._маÑ._апÑ._маÑ_иÑнÑ_иÑлÑ_авг._ÑенÑ._окÑ._ноÑб._дек.".split("_"),standalone:"Ñнв._ÑевÑ._маÑÑ_апÑ._май_иÑнÑ_иÑлÑ_авг._ÑенÑ._окÑ._ноÑб._дек.".split("_")},weekdays:{standalone:"воÑкÑеÑенÑе_понеделÑник_вÑоÑник_ÑÑеда_ÑеÑвеÑг_пÑÑниÑа_ÑÑббоÑа".split("_"),format:"воÑкÑеÑенÑе_понеделÑник_вÑоÑник_ÑÑедÑ_ÑеÑвеÑг_пÑÑниÑÑ_ÑÑббоÑÑ".split("_"),isFormat:/\[ ?[Ðв] ?(?:пÑоÑлÑÑ|ÑледÑÑÑÑÑ|ÑÑÑ)? ?] ?dddd/},weekdaysShort:"вÑ_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),weekdaysMin:"вÑ_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(ÑнваÑ[ÑÑ]|Ñнв\.?|ÑевÑал[ÑÑ]|ÑевÑ?\.?|маÑÑа?|маÑ\.?|апÑел[ÑÑ]|апÑ\.?|ма[йÑ]|иÑн[ÑÑ]|иÑн\.?|иÑл[ÑÑ]|иÑл\.?|авгÑÑÑа?|авг\.?|ÑенÑÑбÑ[ÑÑ]|ÑенÑ?\.?|окÑÑбÑ[ÑÑ]|окÑ\.?|ноÑбÑ[ÑÑ]|ноÑб?\.?|декабÑ[ÑÑ]|дек\.?)/i,monthsShortRegex:/^(ÑнваÑ[ÑÑ]|Ñнв\.?|ÑевÑал[ÑÑ]|ÑевÑ?\.?|маÑÑа?|маÑ\.?|апÑел[ÑÑ]|апÑ\.?|ма[йÑ]|иÑн[ÑÑ]|иÑн\.?|иÑл[ÑÑ]|иÑл\.?|авгÑÑÑа?|авг\.?|ÑенÑÑбÑ[ÑÑ]|ÑенÑ?\.?|окÑÑбÑ[ÑÑ]|окÑ\.?|ноÑбÑ[ÑÑ]|ноÑб?\.?|декабÑ[ÑÑ]|дек\.?)/i,monthsStrictRegex:/^(ÑнваÑ[ÑÑ]|ÑевÑал[ÑÑ]|маÑÑа?|апÑел[ÑÑ]|ма[Ñй]|иÑн[ÑÑ]|иÑл[ÑÑ]|авгÑÑÑа?|ÑенÑÑбÑ[ÑÑ]|окÑÑбÑ[ÑÑ]|ноÑбÑ[ÑÑ]|декабÑ[ÑÑ])/i,monthsShortStrictRegex:/^(Ñнв\.|ÑевÑ?\.|маÑ[Ñ.]|апÑ\.|ма[Ñй]|иÑн[ÑÑ.]|иÑл[ÑÑ.]|авг\.|ÑенÑ?\.|окÑ\.|ноÑб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[СегоднÑ, в] LT",nextDay:"[ÐавÑÑа, в] LT",lastDay:"[ÐÑеÑа, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Ðо] dddd, [в] LT":"[Ð] dddd, [в] LT";switch(this.day()){case 0:return"[Ð ÑледÑÑÑее] dddd, [в] LT";case 1:case 2:case 4:return"[Ð ÑледÑÑÑий] dddd, [в] LT";case 3:case 5:case 6:return"[Ð ÑледÑÑÑÑÑ] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Ðо] dddd, [в] LT":"[Ð] dddd, [в] LT";switch(this.day()){case 0:return"[РпÑоÑлое] dddd, [в] LT";case 1:case 2:case 4:return"[РпÑоÑлÑй] dddd, [в] LT";case 3:case 5:case 6:return"[РпÑоÑлÑÑ] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"ÑеÑез %s",past:"%s назад",s:"неÑколÑко ÑекÑнд",ss:t,m:t,mm:t,h:"ÑаÑ",hh:t,d:"денÑ",dd:t,w:"неделÑ",ww:t,M:"меÑÑÑ",MM:t,y:"год",yy:t},meridiemParse:/ноÑи|ÑÑÑа|днÑ|веÑеÑа/i,isPM:function(e){return/^(днÑ|веÑеÑа)$/.test(e)},meridiem:function(e,t,n){return e<4?"ноÑи":e<12?"ÑÑÑа":e<17?"днÑ":"веÑеÑа"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|Ñ)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-Ñ";default:return e}},week:{dow:1,doy:4}})}(n("wd/R"))},lYtQ:function(e,t,n){!function(e){"use strict"; 288//! moment.js locale configuration 289function t(e,t,n,i){switch(n){case"s":return t?"Ñ ÑÐ´Ñ Ñн ÑекÑнд":"Ñ ÑÐ´Ñ Ñн ÑекÑндÑн";case"ss":return e+(t?" ÑекÑнд":" ÑекÑндÑн");case"m":case"mm":return e+(t?" минÑÑ":" минÑÑÑн");case"h":case"hh":return e+(t?" Ñаг":" Ñагийн");case"d":case"dd":return e+(t?" өдөÑ":" өдÑийн");case"M":case"MM":return e+(t?" ÑаÑ":" ÑаÑÑн");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"ÐÑгдүгÑÑÑ ÑаÑ_ХоÑÑдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑÑавдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÓ©ÑөвдүгÑÑÑ ÑаÑ_ТавдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑÑгадÑÐ³Ð°Ð°Ñ ÑаÑ_ÐолдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐаймдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑдүгÑÑÑ ÑаÑ_ÐÑавдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑван нÑгдүгÑÑÑ ÑаÑ_ÐÑван Ñ Ð¾ÑÑдÑÐ³Ð°Ð°Ñ ÑаÑ".split("_"),monthsShort:"1 ÑаÑ_2 ÑаÑ_3 ÑаÑ_4 ÑаÑ_5 ÑаÑ_6 ÑаÑ_7 ÑаÑ_8 ÑаÑ_9 ÑаÑ_10 ÑаÑ_11 ÑаÑ_12 ÑаÑ".split("_"),monthsParseExact:!0,weekdays:"ÐÑм_Ðаваа_ÐÑгмаÑ_ÐÑ Ð°Ð³Ð²Ð°_ÐÒ¯ÑÑв_ÐааÑан_ÐÑмба".split("_"),weekdaysShort:"ÐÑм_Ðав_ÐÑг_ÐÑ Ð°_ÐÒ¯Ñ_Ðаа_ÐÑм".split("_"),weekdaysMin:"ÐÑ_Ðа_ÐÑ_ÐÑ _ÐÒ¯_Ðа_ÐÑ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY Ð¾Ð½Ñ MMMMÑн D",LLL:"YYYY Ð¾Ð½Ñ MMMMÑн D HH:mm",LLLL:"dddd, YYYY Ð¾Ð½Ñ MMMMÑн D HH:mm"},meridiemParse:/Ò®Ó¨|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"Ò®Ó¨":"ҮХ"},calendar:{sameDay:"[ӨнөөдөÑ] LT",nextDay:"[ÐаÑгааÑ] LT",nextWeek:"[ÐÑÑÑ ] dddd LT",lastDay:"[Ó¨ÑигдөÑ] LT",lastWeek:"[ӨнгөÑÑөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s даÑаа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөÑ/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөÑ";default:return e}}})}(n("wd/R"))},lgnt:function
vendor: 1,578 bytes, lines 289-291
289(e,t,n){!function(e){"use strict"; 290//! moment.js locale configuration 291var t={0:"-ÑÒ¯",1:"-Ñи",2:"-Ñи",3:"-ÑÒ¯",4:"-ÑÒ¯",5:"-Ñи",6:"-ÑÑ",7:"-Ñи",8:"-Ñи",9:"-ÑÑ",10:"-ÑÑ",20:"-ÑÑ",30:"-ÑÑ",40:"-ÑÑ",50:"-ÑÒ¯",60:"-ÑÑ",70:"-Ñи",80:"-Ñи",90:"-ÑÑ",100:"-ÑÒ¯"};e.defineLocale("ky",{months:"ÑнваÑÑ_ÑевÑалÑ_маÑÑ_апÑелÑ_май_иÑнÑ_иÑлÑ_авгÑÑÑ_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ".split("_"),monthsShort:"Ñнв_Ñев_маÑÑ_апÑ_май_иÑнÑ_иÑлÑ_авг_Ñен_окÑ_ноÑ_дек".split("_"),weekdays:"ÐекÑемби_ÐүйÑөмбү_ШейÑемби_ШаÑÑемби_ÐейÑемби_ÐÑма_ÐÑемби".split("_"),weekdaysShort:"Ðек_Ðүй_Шей_ШаÑ_Ðей_ÐÑм_ÐÑе".split("_"),weekdaysMin:"Ðк_Ðй_Шй_ШÑ_Ðй_Ðм_ÐÑ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ðүгүн ÑааÑ] LT",nextDay:"[ÐÑÑең ÑааÑ] LT",nextWeek:"dddd [ÑааÑ] LT",lastDay:"[ÐеÑÑÑ ÑааÑ] LT",lastWeek:"[Ó¨Ñкөн апÑанÑн] dddd [күнү] [ÑааÑ] LT",sameElse:"L"},relativeTime:{future:"%s иÑинде",past:"%s мÑÑÑн",s:"биÑнеÑе ÑекÑнд",ss:"%d ÑекÑнд",m:"Ð±Ð¸Ñ Ð¼Ò¯Ð½Ó©Ñ",mm:"%d мүнөÑ",h:"Ð±Ð¸Ñ ÑааÑ",hh:"%d ÑааÑ",d:"Ð±Ð¸Ñ ÐºÒ¯Ð½",dd:"%d күн",M:"Ð±Ð¸Ñ Ð°Ð¹",MM:"%d ай",y:"Ð±Ð¸Ñ Ð¶Ñл",yy:"%d жÑл"},dayOfMonthOrdinalParse:/\d{1,2}-(Ñи|ÑÑ|ÑÒ¯|ÑÑ)/,ordinal:function(e){
291return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},lhIi:function(e,t,n){"use strict";var i;n.d(t,"a",(function(){return L}));var r=new Uint8Array(16);function a(){if(!i&&!(i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(r)}var o=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var s=function(e){return"string"==typeof e&&o.test(e)},l=[],c=0;c<256;++c)l.push((c+256).toString(16).substr(1));var u,d,h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase();if(!s(n))throw TypeError("Stringified UUID is invalid");return n},f=0,p=0;var m=function(e){if(!s(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};var g=function(e,t,n){function i(e,i,r,a){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof i&&(i=m(i)),16!==i.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var o=new Uint8Array(16+e.length);if(o.set(i),o.set(e,i.length),(o=n(o))[6]=15&o[6]|t,o[8]=63&o[8]|128,r){a=a||0;for(var s=0;s<16;++s)r[a+s]=o[s];return r}return h(o)}try{i.name=e}catch(e){}return i.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",i.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",i};function v(e){return 14+(e+64>>>9<<4)+1}function b(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function y(e,t,n,i,r,a){return b((o=b(b(t,e),b(i,a)))<<(s=r)|o>>>32-s,n);var o,s}function _(e,t,n,i,r,a,o){return y(t&n|~t&i,e,t,r,a,o)}function x(e,t,n,i,r,a,o){return y(t&i|n&~i,e,t,r,a,o)}function w(e,t,n,i,r,a,o){return y(t^n^i,e,t,r,a,o)}function k(e,t,n,i,r,a,o){return y(n^(t|~i),e,t,r,a,o)}function S(e,t,n,i){switch(e){case 0:return t&n^~t&i;case 1:return t^n^i;case 2:return t&n^t&i^n&i;case 3:return t^n^i}}function M(e,t){return e<<t|e>>>32-t}var L={v1:function(e,t,n){var i=t&&n||0,r=t||new Array(16),o=(e=e||{}).node||u,s=void 0!==e.clockseq?e.clockseq:d;if(null==o||null==s){var l=e.random||(e.rng||a)();null==o&&(o=u=[1|l[0],l[1],l[2],l[3],l[4],l[5]]),null==s&&(s=d=16383&(l[6]<<8|l[7]))}var c=void 0!==e.msecs?e.msecs:Date.now(),m=void 0!==e.nsecs?e.nsecs:p+1,g=c-f+(m-p)/1e4;if(g<0&&void 0===e.clockseq&&(s=s+1&16383),(g<0||c>f)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");f=c,p=m,d=s;var v=(1e4*(268435455&(c+=122192928e5))+m)%4294967296;r[i++]=v>>>24&255,r[i++]=v>>>16&255,r[i++]=v>>>8&255,r[i++]=255&v;var b=c/4294967296*1e4&268435455;r[i++]=b>>>8&255,r[i++]=255&b,r[i++]=b>>>24&15|16,r[i++]=b>>>16&255,r[i++]=s>>>8|128,r[i++]=255&s;for(var y=0;y<6;++y)r[i+y]=o[y];return t||h(r)},v3:g("v3",48,(function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){for(var t=[],n=32*e.length,i=0;i<n;i+=8){var r=e[i>>5]>>>i%32&255,a=parseInt("0123456789abcdef".charAt(r>>>4&15)+"0123456789abcdef".charAt(15&r),16);t.push(a)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[v(t)-1]=t;
vendor: 3,769 bytes, line 291
291for(var n=1732584193,i=-271733879,r=-1732584194,a=271733878,o=0;o<e.length;o+=16){var s=n,l=i,c=r,u=a;n=_(n,i,r,a,e[o],7,-680876936),a=_(a,n,i,r,e[o+1],12,-389564586),r=_(r,a,n,i,e[o+2],17,606105819),i=_(i,r,a,n,e[o+3],22,-1044525330),n=_(n,i,r,a,e[o+4],7,-176418897),a=_(a,n,i,r,e[o+5],12,1200080426),r=_(r,a,n,i,e[o+6],17,-1473231341),i=_(i,r,a,n,e[o+7],22,-45705983),n=_(n,i,r,a,e[o+8],7,1770035416),a=_(a,n,i,r,e[o+9],12,-1958414417),r=_(r,a,n,i,e[o+10],17,-42063),i=_(i,r,a,n,e[o+11],22,-1990404162),n=_(n,i,r,a,e[o+12],7,1804603682),a=_(a,n,i,r,e[o+13],12,-40341101),r=_(r,a,n,i,e[o+14],17,-1502002290),i=_(i,r,a,n,e[o+15],22,1236535329),n=x(n,i,r,a,e[o+1],5,-165796510),a=x(a,n,i,r,e[o+6],9,-1069501632),r=x(r,a,n,i,e[o+11],14,643717713),i=x(i,r,a,n,e[o],20,-373897302),n=x(n,i,r,a,e[o+5],5,-701558691),a=x(a,n,i,r,e[o+10],9,38016083),r=x(r,a,n,i,e[o+15],14,-660478335),i=x(i,r,a,n,e[o+4],20,-405537848),n=x(n,i,r,a,e[o+9],5,568446438),a=x(a,n,i,r,e[o+14],9,-1019803690),r=x(r,a,n,i,e[o+3],14,-187363961),i=x(i,r,a,n,e[o+8],20,1163531501),n=x(n,i,r,a,e[o+13],5,-1444681467),a=x(a,n,i,r,e[o+2],9,-51403784),r=x(r,a,n,i,e[o+7],14,1735328473),i=x(i,r,a,n,e[o+12],20,-1926607734),n=w(n,i,r,a,e[o+5],4,-378558),a=w(a,n,i,r,e[o+8],11,-2022574463),r=w(r,a,n,i,e[o+11],16,1839030562),i=w(i,r,a,n,e[o+14],23,-35309556),n=w(n,i,r,a,e[o+1],4,-1530992060),a=w(a,n,i,r,e[o+4],11,1272893353),r=w(r,a,n,i,e[o+7],16,-155497632),i=w(i,r,a,n,e[o+10],23,-1094730640),n=w(n,i,r,a,e[o+13],4,681279174),a=w(a,n,i,r,e[o],11,-358537222),r=w(r,a,n,i,e[o+3],16,-722521979),i=w(i,r,a,n,e[o+6],23,76029189),n=w(n,i,r,a,e[o+9],4,-640364487),a=w(a,n,i,r,e[o+12],11,-421815835),r=w(r,a,n,i,e[o+15],16,530742520),i=w(i,r,a,n,e[o+2],23,-995338651),n=k(n,i,r,a,e[o],6,-198630844),a=k(a,n,i,r,e[o+7],10,1126891415),r=k(r,a,n,i,e[o+14],15,-1416354905),i=k(i,r,a,n,e[o+5],21,-57434055),n=k(n,i,r,a,e[o+12],6,1700485571),a=k(a,n,i,r,e[o+3],10,-1894986606),r=k(r,a,n,i,e[o+10],15,-1051523),i=k(i,r,a,n,e[o+1],21,-2054922799),n=k(n,i,r,a,e[o+8],6,1873313359),a=k(a,n,i,r,e[o+15],10,-30611744),r=k(r,a,n,i,e[o+6],15,-1560198380),i=k(i,r,a,n,e[o+13],21,1309151649),n=k(n,i,r,a,e[o+4],6,-145523070),a=k(a,n,i,r,e[o+11],10,-1120210379),r=k(r,a,n,i,e[o+2],15,718787259),i=k(i,r,a,n,e[o+9],21,-343485551),n=b(n,s),i=b(i,l),r=b(r,c),a=b(a,u)}return[n,i,r,a]}(function(e){if(0===e.length)return[];for(var t=8*e.length,n=new Uint32Array(v(t)),i=0;i<t;i+=8)n[i>>5]|=(255&e[i/8])<<i%32;return n}(e),8*e.length))})),v4:function(e,t,n){var i=(e=e||{}).random||(e.rng||a)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){n=n||0;for(var r=0;r<16;++r)t[n+r]=i[r];return t}return h(i)},v5:g("v5",80,(function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var i=unescape(encodeURIComponent(e));e=[];for(var r=0;r<i.length;++r)e.push(i.charCodeAt(r))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var a=e.length/4+2,o=Math.ceil(a/16),s=new Array(o),l=0;l<o;++l){for(var c=new Uint32Array(16),u=0;u<16;++u)c[u]=e[64*l+4*u]<<24|e[64*l+4*u+1]<<16|e[64*l+4*u+2]<<8|e[64*l+4*u+3];s[l]=c}s[o-1][14]=8*(e.length-1)/Math.pow(2,32),s[o-1][14]=Math.floor(s[o-1][14]),s[o-1][15]=8*(e.length-1)&4294967295;for(var d=0;d<o;++d){for(var h=new Uint32Array(80),f=0;f<16;++f)h[f]=s[d][f];for(var p=16;p<80;++p)h[p]=M(h[p-3]^h[p-8]^h[p-14]^h[p-16],1);for(var m=n[0],g=n[1],v=n[2],b=n[3],y=n[4],_=0;_<80;++_){var x=Math.floor(_/20),w=M(m,5)+S(x,g,v,b)+y+t[x]+h[_]>>>0;y=b,b=v,v=M(g,30)>>>0,g=m,m=w}n[0]=n[0]+m>>>0,n[1]=n[1]+g>>>0,n[2]=n[2]+v>>>0,n[3]=n[3]+b>>>0,n[4]=n[4]+y>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>
291>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}))}},"lm/5":function(e,t,n){var i=n("fmRc"),r=n("wF/u");e.exports=function(e,t,n,a){var o=n.length,s=o,l=!a;if(null==e)return!s;for(e=Object(e);o--;){var c=n[o];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++o<s;){var u=(c=n[o])[0],d=e[u],h=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var f=new i;if(a)var p=a(d,h,u,e,t,f);if(!(void 0===p?r(h,d,3,a,f):p))return!1}}return!0}},lm1b:function(e,t,n){"use strict";n.r(t);var i=n("otb+"),r=n("NCad");t.default={path:"/",name:"aims",component:{render:function(e){return e("router-view")}},children:[i.default,r.default]}},loYQ:function(e,t,n){!function(e){"use strict"; 292//! moment.js locale configuration 293var t={1:"à§§",2:"২",3:"à§©",4:"৪",5:"à§«",6:"৬",7:"à§",8:"à§®",9:"৯",0:"০"},n={"à§§":"1","২":"2","à§©":"3","৪":"4","à§«":"5","৬":"6","à§":"7","à§®":"8","৯":"9","০":"0"};e.defineLocale("bn-bd",{months:"à¦à¦¾à¦¨à§à§à¦¾à¦°à¦¿_ফà§à¦¬à§à¦°à§à§à¦¾à¦°à¦¿_মারà§à¦_à¦à¦ªà§à¦°à¦¿à¦²_মà§_à¦à§à¦¨_à¦à§à¦²à¦¾à¦_à¦à¦à¦¸à§à¦_সà§à¦ªà§à¦à§à¦®à§à¦¬à¦°_ঠà¦à§à¦à§à¦¬à¦°_নà¦à§à¦®à§à¦¬à¦°_ডিসà§à¦®à§à¦¬à¦°".split("_"),monthsShort:"à¦à¦¾à¦¨à§_ফà§à¦¬à§à¦°à§_মারà§à¦_à¦à¦ªà§à¦°à¦¿à¦²_মà§_à¦à§à¦¨_à¦à§à¦²à¦¾à¦_à¦à¦à¦¸à§à¦_সà§à¦ªà§à¦_ঠà¦à§à¦à§_নà¦à§_ডিসà§".split("_"),weekdays:"রবিবার_সà§à¦®à¦¬à¦¾à¦°_মà¦à§à¦à¦²à¦¬à¦¾à¦°_বà§à¦§à¦¬à¦¾à¦°_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿à¦¬à¦¾à¦°_শà§à¦à§à¦°à¦¬à¦¾à¦°_শনিবার".split("_"),weekdaysShort:"রবি_সà§à¦®_মà¦à§à¦à¦²_বà§à¦§_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿_শà§à¦à§à¦°_শনি".split("_"),weekdaysMin:"রবি_সà§à¦®_মà¦à§à¦à¦²_বà§à¦§_বà§à¦¹_শà§à¦à§à¦°_শনি".split("_"),longDateFormat:{LT:"A h:mm সমà§",LTS:"A h:mm:ss সমà§",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সমà§",LLLL:"dddd, D MMMM YYYY, A h:mm সমà§"},calendar:{sameDay:"[à¦à¦] LT",nextDay:"[à¦à¦à¦¾à¦®à§à¦à¦¾à¦²] LT",nextWeek:"dddd, LT",lastDay:"[à¦à¦¤à¦à¦¾à¦²] LT",lastWeek:"[à¦à¦¤] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরà§",past:"%s à¦à¦à§",s:"à¦à§à§à¦ সà§à¦à§à¦¨à§à¦¡",ss:"%d সà§à¦à§à¦¨à§à¦¡",m:"à¦à¦ মিনিà¦",mm:"%d মিনিà¦",h:"à¦à¦ à¦à¦¨à§à¦à¦¾",hh:"%d à¦à¦¨à§à¦à¦¾",d:"à¦à¦ দিন",dd:"%d দিন",M:"à¦à¦ মাস",MM:"%d মাস",y:"à¦à¦ বà¦à¦°",yy:"%d বà¦à¦°"},preparse:function(e){return e.replace(/[১২৩৪৫৬à§à§®à§¯à§¦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|à¦à§à¦°|সà¦à¦¾à¦²|দà§à¦ªà§à¦°|বিà¦à¦¾à¦²|সনà§à¦§à§à¦¯à¦¾|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"à¦à§à¦°"===t||"সà¦à¦¾à¦²"===t?e:"দà§à¦ªà§à¦°"===t?e>=3?e:e+12:"বিà¦à¦¾à¦²"===t||"সনà§à¦§à§à¦¯à¦¾"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"à¦à§à¦°":e<12?"সà¦à¦¾à¦²":e<15?"দà§à¦ªà§à¦°":e<18?"বিà¦à¦¾à¦²":e<20?"সনà§à¦§à§à¦¯à¦¾":"রাত"},week:{dow:0,doy:6}})}(n("wd/R"))},lrI9:function(e,t,n){var i={"./SearchResult":["9mcV"],"./SearchResult.vue":["9mcV"],"./SearchResultAggs":["Vckv"],"./SearchResultAggs.vue":["Vckv"],"./SearchResultAnswerAnnotation":["tjhl",133],"./SearchResultAnswerAnnotation.vue":["tjhl",133],"./SearchResultCategory":["i6qo",134],"./SearchResultCategory.vue":["i6qo",134],"./SearchResultFigure":["Bh2X",126],"./SearchResultFigure.vue":["Bh2X",126],"./SearchResultInstitutionMetrics":["kEBw",174],"./SearchResultInstitutionMetrics.vue":["kEBw",174],"./SearchResultInstitutionPage":["jeQT",124],"./SearchResultInstitutionPage.vue":["jeQT",124],"./SearchResultPublication":["TBKw",120],"./SearchResultPublication.vue":["TBKw",120],"./SearchResultPublicationMetrics":["CtWq",175],"./SearchResultPublicationMetrics.vue":["CtWq",175],"./SearchResultQuestionAnnotation":["i3ox",135],"./SearchResultQuestionAnnotation.vue":["i3ox",135],"./SearchResultUser":["G7+D",104],"./SearchResultUser.vue":["G7+D",104],"./staff/StaffSearchResultArticle":["KFDl",121],"./staff/StaffSearchResultArticle.vue":["KFDl",121],"./staff/StaffSearchResultAuthor":["D1p/",117],"./staff/StaffSearchResultAuthor.vue":["D1p/",117],"./staff/StaffSearchResultQuestionAnnotation":["HB9t",136],"./staff/StaffSearchResultQuestionAnnotation.vue":["HB9t",136],"./staff/StaffSearchResultReviewer":["Q8vS",137],"./staff/StaffSearchResultReviewer.vue":["Q8vS",137],"./staff/StaffSearchResultUser":["rHgz",112],"./staff/StaffSearchResultUser.vue":["rHgz",112]};function r(e){if(!n.o(i,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],r=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(r)}))}r.keys=function(){return Object.keys(i)},r.id="lrI9",e.exports=r},lvO4:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},lyxo:function(e,t,n){!function(e){"use strict";
294//! moment.js locale configuration 295function t(e,t,n){var i=" ";return(e%100>=20||e>=100&&e%100==0)&&(i=" de "),e+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"sÄptÄmâni",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminicÄ_luni_marÈi_miercuri_joi_vineri_sâmbÄtÄ".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmÄ",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o orÄ",hh:t,d:"o zi",dd:t,w:"o sÄptÄmânÄ",ww:t,M:"o lunÄ",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n("wd/R"))},m90I:function(e,t,n){"use strict";n.r(t),t.default={path:"/settings",name:"UserSettings",component:function(){return n.e(44).then(n.bind(null,"vHIv"))},redirect:{name:"UserSettingsDetails"},children:[{name:"UserSettingsDetails",path:"/settings/details",meta:{scrollCancel:!0,scrollCancelBack:!0},alias:"/settings/account",components:{default:function(){return n.e(44).then(n.bind(null,"vHIv"))},dialog:function(){return Promise.all([n.e(0),n.e(107),n.e(1132)]).then(n.bind(null,"gZKz"))}},props:function(e){return{previousPath:e.query.previousPath}}},{name:"UserSettingsInstitutions",path:"/settings/institutions",meta:{scrollCancel:!0,scrollCancelBack:!0},components:{default:function(){return n.e(44).then(n.bind(null,"vHIv"))},dialog:function(){return Promise.all([n.e(0),n.e(1),n.e(228),n.e(1134)]).then(n.bind(null,"ut8b"))}},props:function(e){var t=e.query.previousPath;if(t)return{previousPath:t}}},{name:"UserSettingsSubjects",path:"/settings/subjects",meta:{scrollCancel:!0,scrollCancelBack:!0},components:{default:function(){return n.e(44).then(n.bind(null,"vHIv"))},dialog:function(){return Promise.all([n.e(0),n.e(246)]).then(n.bind(null,"pqHE"))}}},{name:"UserSettingsWebsites",path:"/settings/websites",meta:{scrollCancel:!0,scrollCancelBack:!0},alias:"/settings/orcid",components:{default:function(){return n.e(44).then(n.bind(null,"vHIv"))},dialog:function(){return Promise.all([n.e(0),n.e(243),n.e(1137)]).then(n.bind(null,"DeDP"))}}},{name:"UserSettingsPassword",path:"/settings/password",meta:{scrollCancel:!0,scrollCancelBack:!0},components:{default:function(){return n.e(44).then(n.bind(null,"vHIv"))},dialog:function(){return Promise.all([n.e(0),n.e(251)]).then(n.bind(null,"5a77"))}}}]}},mNz5:function(e,t,n){var i=n("dt0z"),r=0;e.exports=function(e){var t=++r;return i(e)+t}},mTTR:function(e,t,n){var i=n("b80T"),r=n("QcOe"),a=n("MMmD");e.exports=function(e){return a(e)?i(e,!0):r(e)}},mc0g:function(e,t){e.exports=function(e){return function(t,n,i){for(var r=-1,a=Object(t),o=i(t),s=o.length;s--;){var l=o[e?s:++r];if(!1===n(a[l],l,a))break}return t}}},mkUh:function(e,t,n){"use strict";t.a={namespaced:!0,state:{notifications:[]},mutations:{_addNotification:function(e,t){e.notifications.push(t)},removeNotification:function(e,t){for(var n=0;n<e.notifications.length;n++)if(e.notifications[n].id==t){e.notifications.splice(n,1);break}}},actions:{addNotification:function(e,t){var n=e.commit,i=e.state;t.id=Date.now()+"_"+i.notifications.length,n("_addNotification",t),setTimeout((function(){n("removeNotification",t.id)}),6e3)}}}},"mlf+":function(e,t,n){},moDH:function(e,t,n){},"mv/X":function(e,t,n){var i=n("ljhN"),r=n("MMmD"),a=n("wJg7"),o=n("GoyQ");e.exports=function(e,t,n){if(!o(n))return!1;var s=typeof t;return!!("number"==s?r(n)&&a(t,n.length):"string"==s&&t in n)&&i(n[t],e)}},nWMH:function(e,t){e.exports=function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})}
295,t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=2)}([function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r<this.length;r++){var a=this[r][0];"number"==typeof a&&(i[a]=!0)}for(r=0;r<t.length;r++){var o=t[r];"number"==typeof o[0]&&i[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),e.push(o))}},e}},function(e,t,n){n(10);var i=n(7)(n(3),n(8),null,null);e.exports=i.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),r=n.n(i);t.default=r.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(6);t.default={name:"vue-perfect-scrollbar",props:{settings:{default:void 0},tagname:{type:String,default:"section"}},data:function(){return{ps:null}},methods:{update:function(){this.ps&&this.ps.update()},__init:function(){this.ps||(this.ps=new i.a(this.$el,this.settings))},__uninit:function(){this.ps&&(this.ps.destroy(),this.ps=null)}},watch:{$route:function(){this.update()}},mounted:function(){this.$isServer||this.__init()},updated:function(){this.$nextTick(this.update)},activated:function(){this.__init()},deactivated:function(){this.__uninit()},beforeDestroy:function(){this.__uninit()}}},function(e,t,n){(e.exports=n(0)()).push([e.i,".ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{height:15px;bottom:0}.ps__rail-x,.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;position:absolute}.ps__rail-y{width:15px;right:0}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y,.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y{opacity:.6}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:#eee;opacity:.9}.ps__thumb-x{transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px}.ps__thumb-x,.ps__thumb-y{background-color:#aaa;border-radius:6px;position:absolute}.ps__thumb-y{transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px}.ps__rail-x.ps--clicking .ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x:hover>.ps__thumb-x{background-color:#999;height:11px}.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style:none){.ps{overflow:auto!important}}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.ps{overflow:auto!important}}",""])},function(e,t,n){(t=e.exports=n(0)()).i(n(4),""),t.push([e.i,".ps-container{position:relative}",""])},function(e,t,n){"use strict"; 296/*! 297 * perfect-scrollbar v1.4.0 298 * (c) 2018 Hyunje Jun 299 * @license MIT 300 */function i(e){return getComputedStyle(e)}function r(e,t){for(var n in t){var i=t[n];"number"==typeof i&&(i+="px"),e.style[n]=i}return e}function a(e){var t=document.createElement("div");return t.className=e,t}function o(e,t){if(!v)throw new Error("No element matching method supported");return v.call(e,t)}function s(e){e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e)}function l(e,t){return Array.prototype.filter.call(e.children,(function(e){return o(e,t)}))}function c(e,t){var n=e.element.classList,i=b.state.scrolling(t);n.contains(i)?clearTimeout(y[t]):n.add(i)}function u(e,t){y[t]=setTimeout((function(){return e.isAlive&&e.element.classList.remove(b.state.scrolling(t))}),e.settings.scrollingThreshold)}function d(e,t){c(e,t),u(e,t)}function h(e){if("function"==typeof window.CustomEvent)return new CustomEvent(e);var t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}function f(e){return parseInt(e,10)||0}function p(e){return o(e,"input,[contenteditable]")||o(e,"select,[contenteditable]")||o(e,"textarea,[contenteditable]")||o(e,"button,[contenteditable]")}function m(e,t){return e.settings.minScrollbarLength&&(t=Math.max(t,e.settings.minScrollbarLength)),e.settings.maxScrollbarLength&&(t=Math.min(t,e.settings.maxScrollbarLength)),t}function g(e,t){function n(t){m[h]=g+y*(t[o]-v),c(e,f),M(e),t.stopPropagation(),t.preventDefault()}function i(){u(e,f),e[p].classList.remove(b.state.clicking),e.event.unbind(e.ownerDocument,"mousemove",n)}var r=t[0],a=t[1],o=t[2],s=t[3],l=t[4],d=t[5],h=t[6],f=t[7],p=t[8],m=e.element,g=null,v=null,y=null;e.event.bind(e[l],"mousedown",(function(t){g=m[h],v=t[o],y=(e[a]-e[r])/(e[s]-e[d]),e.event.bind(e.ownerDocument,"mousemove",n),e.event.once(e.ownerDocument,"mouseup",i),e[p].classList.add(b.state.clicking),t.stopPropagation(),t.preventDefault()}))}var v="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector),b={main:"ps",element:{thumb:function(e){return"ps__thumb-"+e},rail:function(e){return"ps__rail-"+e},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(e){return"ps--active-"+e},scrolling:function(e){return"ps--scrolling-"+e}}},y={x:null,y:null},_=function(e){this.element=e,this.handlers={}},x={isEmpty:{configurable:!0}};_.prototype.bind=function(e,t){void 0===this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t),this.element.addEventListener(e,t,!1)},_.prototype.unbind=function(e,t){var n=this;this.handlers[e]=this.handlers[e].filter((function(i){return!(!t||i===t)||(n.element.removeEventListener(e,i,!1),!1)}))},_.prototype.unbindAll=function(){for(var e in this.handlers)this.unbind(e)},x.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every((function(t){return 0===e.handlers[t].length}))},Object.defineProperties(_.prototype,x);var w=function(){this.eventElements=[]};w.prototype.eventElement=function(e){var t=this.eventElements.filter((function(t){return t.element===e}))[0];return t||(t=new _(e),this.eventElements.push(t)),t},w.prototype.bind=function(e,t,n){this.eventElement(e).bind(t,n)},w.prototype.unbind=function(e,t,n){var i=this.eventElement(e);i.unbind(t,n),i.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(i),1)}
300,w.prototype.unbindAll=function(){this.eventElements.forEach((function(e){return e.unbindAll()})),this.eventElements=[]},w.prototype.once=function(e,t,n){var i=this.eventElement(e),r=function(e){i.unbind(t,r),n(e)};i.bind(t,r)};var k=function(e,t,n,i,r){var a;if(void 0===i&&(i=!0),void 0===r&&(r=!1),"top"===t)a=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==t)throw new Error("A proper axis should be provided");a=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(e,t,n,i,r){var a=n[0],o=n[1],s=n[2],l=n[3],c=n[4],u=n[5];void 0===i&&(i=!0),void 0===r&&(r=!1);var f=e.element;e.reach[l]=null,f[s]<1&&(e.reach[l]="start"),f[s]>e[a]-e[o]-1&&(e.reach[l]="end"),t&&(f.dispatchEvent(h("ps-scroll-"+l)),t<0?f.dispatchEvent(h("ps-scroll-"+c)):t>0&&f.dispatchEvent(h("ps-scroll-"+u)),i&&d(e,l)),e.reach[l]&&(t||r)&&f.dispatchEvent(h("ps-"+l+"-reach-"+e.reach[l]))}(e,n,a,i,r)},S={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)},M=function(e){var t=e.element,n=Math.floor(t.scrollTop);e.containerWidth=t.clientWidth,e.containerHeight=t.clientHeight,e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight,t.contains(e.scrollbarXRail)||(l(t,b.element.rail("x")).forEach((function(e){return s(e)})),t.appendChild(e.scrollbarXRail)),t.contains(e.scrollbarYRail)||(l(t,b.element.rail("y")).forEach((function(e){return s(e)})),t.appendChild(e.scrollbarYRail)),!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset<e.contentWidth?(e.scrollbarXActive=!0,e.railXWidth=e.containerWidth-e.railXMarginWidth,e.railXRatio=e.containerWidth/e.railXWidth,e.scrollbarXWidth=m(e,f(e.railXWidth*e.containerWidth/e.contentWidth)),e.scrollbarXLeft=f((e.negativeScrollAdjustment+t.scrollLeft)*(e.railXWidth-e.scrollbarXWidth)/(e.contentWidth-e.containerWidth))):e.scrollbarXActive=!1,!e.settings.suppressScrollY&&e.containerHeight+e.settings.scrollYMarginOffset<e.contentHeight?(e.scrollbarYActive=!0,e.railYHeight=e.containerHeight-e.railYMarginHeight,e.railYRatio=e.containerHeight/e.railYHeight,e.scrollbarYHeight=m(e,f(e.railYHeight*e.containerHeight/e.contentHeight)),e.scrollbarYTop=f(n*(e.railYHeight-e.scrollbarYHeight)/(e.contentHeight-e.containerHeight))):e.scrollbarYActive=!1,e.scrollbarXLeft>=e.railXWidth-e.scrollbarXWidth&&(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight&&(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),function(e,t){var n={width:t.railXWidth},i=Math.floor(e.scrollTop);t.isRtl?n.left=t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth-t.contentWidth:n.left=e.scrollLeft,t.isScrollbarXUsingBottom?n.bottom=t.scrollbarXBottom-i:n.top=t.scrollbarXTop+i,r(t.scrollbarXRail,n);var a={top:i,height:t.railYHeight};t.isScrollbarYUsingRight?t.isRtl?a.right=t.contentWidth-(t.negativeScrollAdjustment+e.scrollLeft)-t.scrollbarYRight-t.scrollbarYOuterWidth:a.right=t.scrollbarYRight-e.scrollLeft:t.isRtl?a.left=t.negativeScrollAdjustment+e.scrollLeft+2*t.containerWidth-t.contentWidth-t.scrollbarYLeft-t.scrollbarYOuterWidth:a.left=t.scrollbarYLeft+e.scrollLeft,r(t.scrollbarYRail,a),r(t.scrollbarX,{left:t.scrollbarXLeft,width:t.scrollbarXWidth-t.railBorderXWidth}),r(t.scrollbarY,{top:t.scrollbarYTop,height:t.scrollbarYHeight-t.railBorderYWidth})}(t,e),e.scrollbarXActive?t.classList.add(b.state.active("x")):(t.classList.remove(b.state.active("x")),e.scrollbarXWidth=0,e.scrollbarXLeft=0,t.scrollLeft=0),e.scrollbarYActive?t.classList.add(b.state.active("y")):(t.classList.remove(b.state.active("y")),e.scrollbarYHeight=0,e.scrollbarYTop=0,t.scrollTop=0)},L={"click-rail":function(e){e.event.bind(e.scrollbarY,"mousedown",(function(e){return e.stopPropagation()})),e.event.bind(e.scrollbarYRail,"mousedown",(function(t){var n=t.pageY-window.pageYOffset-e.scrollbarYRail.getBoundingClientRect().top>e.scrollbarYTop?1:-1;e.element.scrollTop+=n*e.containerHeight,M(e),t.stopPropagation()})),e.event.bind(e.scrollbarX,"mousedown",(function(e){return e.stopPropagation()})),e.event.bind(e.scrollbarXRail,"mousedown",(function(t){var n=t.pageX-window.pageXOffset-e.scrollbarXRail.getBoundingClientRect().left>e.scrollbarXLeft?1:-1;e.element.scrollLeft+=n*e.containerWidth,M(e),t.stopPropagation()}))},"drag-thumb":function(e){g(e,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),g(e,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(e){var t=e.element,n=function(){return o(t,":hover")},i=function(){return o(e.scrollbarX,":focus")||o(e.scrollbarY,":focus")};e.event.bind(e.ownerDocument,"keydown",(function(r){if(!(r.isDefaultPrevented&&r.isDefaultPrevented()||r.defaultPrevented)&&(n()||i())){var a=document.activeElement?document.activeElement:e.ownerDocument.activeElement;
vendor: 7,870 bytes, line 300
300if(a){if("IFRAME"===a.tagName)a=a.contentDocument.activeElement;else for(;a.shadowRoot;)a=a.shadowRoot.activeElement;if(p(a))return}var o=0,s=0;switch(r.which){case 37:o=r.metaKey?-e.contentWidth:r.altKey?-e.containerWidth:-30;break;case 38:s=r.metaKey?e.contentHeight:r.altKey?e.containerHeight:30;break;case 39:o=r.metaKey?e.contentWidth:r.altKey?e.containerWidth:30;break;case 40:s=r.metaKey?-e.contentHeight:r.altKey?-e.containerHeight:-30;break;case 32:s=r.shiftKey?e.containerHeight:-e.containerHeight;break;case 33:s=e.containerHeight;break;case 34:s=-e.containerHeight;break;case 36:s=e.contentHeight;break;case 35:s=-e.contentHeight;break;default:return}e.settings.suppressScrollX&&0!==o||e.settings.suppressScrollY&&0!==s||(t.scrollTop-=s,t.scrollLeft+=o,M(e),function(n,i){var r=Math.floor(t.scrollTop);if(0===n){if(!e.scrollbarYActive)return!1;if(0===r&&i>0||r>=e.contentHeight-e.containerHeight&&i<0)return!e.settings.wheelPropagation}var a=t.scrollLeft;if(0===i){if(!e.scrollbarXActive)return!1;if(0===a&&n<0||a>=e.contentWidth-e.containerWidth&&n>0)return!e.settings.wheelPropagation}return!0}(o,s)&&r.preventDefault())}}))},wheel:function(e){function t(e,t,n){if(!S.isWebKit&&r.querySelector("select:focus"))return!0;if(!r.contains(e))return!1;for(var a=e;a&&a!==r;){if(a.classList.contains(b.element.consuming))return!0;var o=i(a);if([o.overflow,o.overflowX,o.overflowY].join("").match(/(scroll|auto)/)){var s=a.scrollHeight-a.clientHeight;if(s>0&&!(0===a.scrollTop&&n>0||a.scrollTop===s&&n<0))return!0;var l=a.scrollWidth-a.clientWidth;if(l>0&&!(0===a.scrollLeft&&t<0||a.scrollLeft===l&&t>0))return!0}a=a.parentNode}return!1}function n(n){var i=function(e){var t=e.deltaX,n=-1*e.deltaY;return void 0!==t&&void 0!==n||(t=-1*e.wheelDeltaX/6,n=e.wheelDeltaY/6),e.deltaMode&&1===e.deltaMode&&(t*=10,n*=10),t!=t&&n!=n&&(t=0,n=e.wheelDelta),e.shiftKey?[-n,-t]:[t,n]}(n),a=i[0],o=i[1];if(!t(n.target,a,o)){var s=!1;e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(o?r.scrollTop-=o*e.settings.wheelSpeed:r.scrollTop+=a*e.settings.wheelSpeed,s=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(a?r.scrollLeft+=a*e.settings.wheelSpeed:r.scrollLeft-=o*e.settings.wheelSpeed,s=!0):(r.scrollTop-=o*e.settings.wheelSpeed,r.scrollLeft+=a*e.settings.wheelSpeed),M(e),(s=s||function(t,n){var i=Math.floor(r.scrollTop),a=0===r.scrollTop,o=i+r.offsetHeight===r.scrollHeight,s=0===r.scrollLeft,l=r.scrollLeft+r.offsetWidth===r.scrollWidth;return!(Math.abs(n)>Math.abs(t)?a||o:s||l)||!e.settings.wheelPropagation}(a,o))&&!n.ctrlKey&&(n.stopPropagation(),n.preventDefault())}}var r=e.element;void 0!==window.onwheel?e.event.bind(r,"wheel",n):void 0!==window.onmousewheel&&e.event.bind(r,"mousewheel",n)},touch:function(e){function t(t,n){var i=Math.floor(u.scrollTop),r=u.scrollLeft,a=Math.abs(t),o=Math.abs(n);if(o>a){if(n<0&&i===e.contentHeight-e.containerHeight||n>0&&0===i)return 0===window.scrollY&&n>0&&S.isChrome}else if(a>o&&(t<0&&r===e.contentWidth-e.containerWidth||t>0&&0===r))return!0;return!0}function n(t,n){u.scrollTop-=n,u.scrollLeft-=t,M(e)}function r(e){return e.targetTouches?e.targetTouches[0]:e}function a(e){return!(e.pointerType&&"pen"===e.pointerType&&0===e.buttons||(!e.targetTouches||1!==e.targetTouches.length)&&(!e.pointerType||"mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))}function o(e){if(a(e)){var t=r(e);d.pageX=t.pageX,d.pageY=t.pageY,h=(new Date).getTime(),null!==p&&clearInterval(p)}}function s(e,t,n){if(!u.contains(e))return!1;for(var r=e;r&&r!==u;){if(r.classList.contains(b.element.consuming))return!0;var a=i(r);if([a.overflow,a.overflowX,a.overflowY].join("").match(/(scroll|auto)/)){var o=r.scrollHeight-r.clientHeight;if(o>0&&!(0===r.scrollTop&&n>0||r.scrollTop===o&&n<0))return!0;var s=r.scrollLeft-r.clientWidth;if(s>0&&!(0===r.scrollLeft&&t<0||r.scrollLeft===s&&t>0))return!0}r=r.parentNode}return!1}function l(e){if(a(e)){var i=r(e),o={pageX:i.pageX,pageY:i.pageY},l=o.pageX-d.pageX,c=o.pageY-d.pageY;if(s(e.target,l,c))return;n(l,c),d=o;var u=(new Date).getTime(),p=u-h;p>0&&(f.x=l/p,f.y=c/p,h=u),t(l,c)&&e.preventDefault()}}function c(){e.settings.swipeEasing&&(clearInterval(p),p=setInterval((function(){return e.isInitialized?void clearInterval(p):f.x||f.y?Math.abs(f.x)<.01&&Math.abs(f.y)<.01?void clearInterval(p):(n(30*f.x,30*f.y),f.x*=.8,void(f.y*=.8)):void clearInterval(p)}),10))}if(S.supportsTouch||S.supportsIePointer){var u=e.element,d={},h=0,f={},p=null;S.supportsTouch?(e.event.bind(u,"touchstart",o),e.event.bind(u,"touchmove",l),e.event.bind(u,"touchend",c)):S.supportsIePointer&&(window.PointerEvent?(e.event.bind(u,"pointerdown",o),e.event.bind(u,"pointermove",l),e.event.bind(u,"pointerup",c)):window.MSPointerEvent&&(e.event.bind(u,"MSPointerDown",o),e.event.bind(u,"MSPointerMove",l),e.event.bind(u,"MSPointerUp",c)))}}},A=function(e,t){var n=this;if(void 0===t&&(t={}),"string"==typeof e&&(e=document.querySelector(e)),!e||!e.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var o in this.element=e,e.classList.add(b.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},t)n.settings[o]=t[o];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var s=function(){return e.classList.add(b.state.focus)},l=function(){return e.classList.remove(b.state.focus)};this.isRtl="rtl"===i(e).direction,this.isNegativeScroll=function(){var t,n=e.scrollLeft;return e.scrollLeft=-1,t=e.scrollLeft<0,e.scrollLeft=n,t}(),this.negativeScrollAdjustment=this.isNegativeScroll?e.scrollWidth-e.clientWidth:0,this.event=new w,this.ownerDocument=e.ownerDocument||document,this.scrollbarXRail=a(b.element.rail("x")),e.appendChild(this.scrollbarXRail),this.scrollbarX=a(b.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",s),this.event.bind(this.scrollbarX,"blur",l),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var c=i(this.scrollbarXRail);this.scrollbarXBottom=parseInt(c.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=f(c.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=f(c.borderLeftWidth)+f(c.borderRightWidth),r(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=f(c.marginLeft)+f(c.marginRight),r(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=a(b.element.rail("y")),e.appendChild(this.scrollbarYRail),this.scrollbarY=a(b.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",s),this.event.bind(this.scrollbarY,"blur",l),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var u=i(this.scrollbarYRail);this.scrollbarYRight=parseInt(u.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=f(u.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(e){var t=i(e);return f(t.width)+f(t.paddingLeft)+f(t.paddingRight)+f(t.borderLeftWidth)+f(t.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=f(u.borderTopWidth)+f(u.borderBottomWidth),r(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=f(u.marginTop)+f(u.marginBottom),r(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:e.scrollLeft<=0?"start":e.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:e.scrollTop<=0?"start":e.scrollTop>=this.contentHeight-this.containerHeight?"end":null}
300,this.isAlive=!0,this.settings.handlers.forEach((function(e){return L[e](n)})),this.lastScrollTop=Math.floor(e.scrollTop),this.lastScrollLeft=e.scrollLeft,this.event.bind(this.element,"scroll",(function(e){return n.onScroll(e)})),M(this)};A.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,r(this.scrollbarXRail,{display:"block"}),r(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=f(i(this.scrollbarXRail).marginLeft)+f(i(this.scrollbarXRail).marginRight),this.railYMarginHeight=f(i(this.scrollbarYRail).marginTop)+f(i(this.scrollbarYRail).marginBottom),r(this.scrollbarXRail,{display:"none"}),r(this.scrollbarYRail,{display:"none"}),M(this),k(this,"top",0,!1,!0),k(this,"left",0,!1,!0),r(this.scrollbarXRail,{display:""}),r(this.scrollbarYRail,{display:""}))},A.prototype.onScroll=function(e){this.isAlive&&(M(this),k(this,"top",this.element.scrollTop-this.lastScrollTop),k(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},A.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),s(this.scrollbarX),s(this.scrollbarY),s(this.scrollbarXRail),s(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},A.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter((function(e){return!e.match(/^ps([-_].+|)$/)})).join(" ")},t.a=A},function(e,t){e.exports=function(e,t,n,i){var r,a=e=e||{},o=typeof e.default;"object"!==o&&"function"!==o||(r=e,a=e.default);var s="function"==typeof a?a.options:a;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),i){var l=s.computed||(s.computed={});
300Object.keys(i).forEach((function(e){var t=i[e];l[e]=function(){return t}}))}return{esModule:r,exports:a,options:s}}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.$props.tagname,e._g({tag:"section",staticClass:"ps-container",on:{"~mouseover":function(t){return e.update(t)}}},e.$listeners),[e._t("default")],2)},staticRenderFns:[]}},function(e,t){function n(e,t){for(var n=0;n<e.length;n++){var i=e[n],r=l[i.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](i.parts[o]);for(;o<i.parts.length;o++)r.parts.push(a(i.parts[o],t))}else{var s=[];for(o=0;o<i.parts.length;o++)s.push(a(i.parts[o],t));l[i.id]={id:i.id,refs:1,parts:s}}}}function i(e){for(var t=[],n={},i=0;i<e.length;i++){var r=e[i],a=r[0],o={css:r[1],media:r[2],sourceMap:r[3]};n[a]?n[a].parts.push(o):t.push(n[a]={id:a,parts:[o]})}return t}function r(e){var t=document.createElement("style");return t.type="text/css",function(e,t){var n=d(),i=p[p.length-1];if("top"===e.insertAt)i?i.nextSibling?n.insertBefore(t,i.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),p.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}(e,t),t}function a(e,t){var n,i,a;if(t.singleton){var l=f++;n=h||(h=r(t)),i=o.bind(null,n,l,!1),a=o.bind(null,n,l,!0)}else n=r(t),i=s.bind(null,n),a=function(){!function(e){e.parentNode.removeChild(e);var t=p.indexOf(e);t>=0&&p.splice(t,1)}(n)};return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else a()}}function o(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=m(t,r);else{var a=document.createTextNode(r),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(a,o[t]):e.appendChild(a)}}function s(e,t){var n=t.css,i=t.media,r=t.sourceMap;if(i&&e.setAttribute("media",i),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var l={},c=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}},u=c((function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())})),d=c((function(){return document.head||document.getElementsByTagName("head")[0]})),h=null,f=0,p=[];e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");void 0===(t=t||{}).singleton&&(t.singleton=u()),void 0===t.insertAt&&(t.insertAt="bottom");var r=i(e);return n(r,t),function(e){for(var a=[],o=0;o<r.length;o++){var s=r[o];(c=l[s.id]).refs--,a.push(c)}e&&n(i(e),t);for(o=0;o<a.length;o++){var c;if(0===(c=a[o]).refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete l[c.id]}}}};var m=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t,n){var i=n(5);"string"==typeof i&&(i=[[e.i,i,""]]),n(9)(i,{}),i.locals&&(e.exports=i.locals)}])},nb4T:function(e,t,n){"use strict";n("7uzI");var i=n("ToLJ"),r=n("WN+I"),a=n("2b3T");const o=n("Kw5r").default.extend({props:{activeClass:String,value:{required:!1},disabled:Boolean},data:()=>({isActive:!1}),methods:{toggle(){this.isActive=!this.isActive}},render(){if(!this.$scopedSlots.default)return Object(a.c)("v-item is missing a default scopedSlot",this),null;let e;return this.$scopedSlots.default&&(e=this.$scopedSlots.default({active:this.isActive,toggle:this.toggle})),Array.isArray(e)&&1===e.length&&(e=e[0]),e&&!Array.isArray(e)&&e.tag?(e.data=this._b(e.data||{},e.tag,{class:{[this.activeClass]:this.isActive,"v-item--disabled":this.disabled}}),this.disabled&&(e.data.attrs={...e.data.attrs,tabindex:-1}),e):(Object(a.c)("v-item should only contain a single element",this),e)}});Object(r.a)(o,Object(i.a)("itemGroup","v-item","v-item-group")).extend({name:"v-item"}),t.a=Object(r.a)(o,Object(i.a)("slideGroup")).extend({name:"v-slide-item"})},ndF9:function(e,t,n){"use strict";var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("v-autocomplete",e._g(e._b({directives:[{name:"click-outside",rawName:"v-click-outside",value:n.hideSearchIfSearchNotClicked,expression:"hideSearchIfSearchNotClicked"},{name:"if-focused-element-detects-scroll-event",rawName:"v-if-focused-element-detects-scroll-event",value:n.hideSearchIfExternalScroll,expression:"hideSearchIfExternalScroll"}],ref:"vBetterAutocomplete",on:{focus:n.enableHideEventAndAssignAriaAttrsToListbox},scopedSlots:e._u([n.slots["no-data"]?{key:"no-data",fn:function(){return[e._t("no-data")]},proxy:!0}:null,n.slots.selection?{key:"selection",fn:function(t){var n=t.attr,i=t.on,r=t.item,a=t.selected;return[e._t("selection",null,{attr:n,on:i,item:r,selected:a})]}}:null,n.slots.item?{key:"item",fn:function(t){var n=t.item;return[e._t("item",null,{item:n})]}}:null],null,!0)},"v-autocomplete",n.attrs,!1),n.listeners))};i._withStripped=!0;var r=n("o0o1"),a=n.n(r),o=n("yXPU"),s=n.n(o),l=n("Kw5r"),c=n("mwIZ"),u=n.n(c),d=n("Y+p1"),h=n.n(d),f=n("FAz/"),p={__name:"VBetterAutocomplete",props:{inputAriaLabel:{type:String,default:""}}
300,emits:["opened","closed"],setup:function(e,t){var n=t.emit,i=e,r=Object(l.useAttrs)(),o=Object(l.useListeners)(),c=Object(l.useSlots)(),d=Object(l.ref)(void 0),p=Object(f.a)().findChildAtAnyDepth,m=Object(l.ref)(!0);Object(l.onMounted)((function(){d.value.$el.removeAttribute("aria-label")}));var g=Object(l.ref)(void 0),v=function(){var e=s()(a.a.mark((function e(){var t,n,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=null===(t=d.value)||void 0===t||null===(n=t.$el)||void 0===n?void 0:n.querySelector(".v-input__slot"),g.value||(g.value=i.getAttribute("aria-owns"),i.setAttribute("aria-description","This is a search box. Start typing and results will appear in an associated list box")),e.next=4,Object(l.nextTick)();case 4:document.getElementById(g.value)?y():_();case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),b=function(){var e=s()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m.value=!0,e.next=3,v();case 3:setTimeout(s()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w();case 2:case"end":return e.stop()}}),e)}))),150),n("opened");case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),y=function(){var e,t,n=null===(e=d.value)||void 0===e||null===(t=e.$el)||void 0===t?void 0:t.querySelector(".v-input__slot");n.setAttribute("aria-owns",g.value),n.setAttribute("aria-controls",g.value),n.setAttribute("aria-haspopup","listbox"),n.setAttribute("aria-expanded","true"),n.setAttribute("role","combobox")},_=function(){var e,t,n=null===(e=d.value)||void 0===e||null===(t=e.$el)||void 0===t?void 0:t.querySelector(".v-input__slot");setTimeout((function(){n.removeAttribute("aria-owns"),n.removeAttribute("aria-controls"),n.removeAttribute("aria-haspopup"),n.removeAttribute("aria-expanded"),n.removeAttribute("role")}),150)},x=function(){var e,t,i,r=null===(e=d.value)||void 0===e||null===(t=e.$refs)||void 0===t||null===(i=t.menu)||void 0===i?void 0:i.$el;r&&(r.style.display="none"),d.value.blur(),m.value=!1,n("closed")},w=function(){var e=s()(a.a.mark((function e(){var t,n,i,r,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(l.nextTick)();case 2:g.value&&(t=document.getElementById(g.value))&&(r=null===(n=d.value)||void 0===n||null===(i=n.$el)||void 0===i?void 0:i.querySelector(".v-input__slot"),o=r.querySelector("input"),t.setAttribute("aria-labelledby",o.id));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(l.watch)((function(){return r}),s()(a.a.mark((function e(){var t,n,i,r,o=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=o.length>0&&void 0!==o[0]?o[0]:{value:void 0},!r.value||null!==(t=d.value)&&void 0!==t&&null!==(n=t.$el)&&void 0!==n&&null!==(i=n.querySelector(".v-input__slot"))&&void 0!==i&&i.getAttribute("aria-owns")){e.next=6;break}return e.next=4,v();case 4:return e.next=6,w();case 6:case"end":return e.stop()}}),e)}))),{deep:!0}),{__sfc:!0,attrs:r,listeners:o,slots:c,vBetterAutocomplete:d,findChildAtAnyDepth:p,enableHideEvent:m,hideSearchIfExternalScroll:function(e){var t=e.scrolledElement;if(m.value){var n,i,r=u()(d.value,"$refs.menu.$children[0].$el");h()(r,t)||h()(null===(n=d.value)||void 0===n||null===(i=n.$el)||void 0===i?void 0:i.querySelector("input"),t)||p(r,t)||x()}},listId:g,emit:n,setupAriaAttrs:v,enableHideEventAndAssignAriaAttrsToListbox:b,props:i,assignWrapperAttrs:y,unassignWrapperAttrs:_,hideSearchIfSearchNotClicked:function(e){var t=u()(d.value,"$refs.menu.$children[0].$el");e.target&&t&&!p(t,e.target)&&x()},hideSearch:x,assignAriaAttrsFromWrapperToInput:w}}},m=n("KHd+"),g=n("ZUTo"),v=n.n(g),b=n("xqZp"),y=n("Jpri"),_=n.n(y),x=n("opMy"),w=Object(m.a)(p,i,[],!1,null,null,null);t.a=w.exports;v()(w,{VAutocomplete:b.a}),_()(w,{ClickOutside:x.a})},nkkU:function(e,t,n){},noZS:function(e,t,n){var i=n("hypo"),r=n("JC6p"),a=n("ut/Y");e.exports=function(e,t){var n={};return t=a(t,3),r(e,(function(e,r,a){i(n,r,t(e,r,a))})),n}},nyYc:function(e,t,n){!function(e){"use strict";
301//! moment.js locale configuration 302var t=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex:/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourdâhui à ] LT",nextDay:"[Demain à ] LT",nextWeek:"dddd [à ] LT",lastDay:"[Hier à ] LT",lastWeek:"dddd [dernier à ] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},nzRS:function(e,t,n){"use strict";n.r(t),n.d(t,"previousAction",(function(){return u}));var i=n("J4zp"),r=n.n(i),a=n("BkRI"),o=n.n(a),s=n("Y+p1"),l=n.n(s),c=n("Kw5r"),u={namespaced:!0,state:function(){return{previousActions:[],initialActions:[],actionStateDiff:!1}},getters:{previousActions:function(e){return e.previousActions},initialActions:function(e){return e.initialActions},actionStateDiff:function(e){return e.actionStateDiff},getPreviousActionById:function(e){return function(t){var n;return o()(null===(n=e.previousActions)||void 0===n?void 0:n.find((function(e){var n;return(null===(n=e.result)||void 0===n?void 0:n.actionId)===t})))}},getInitialActionById:function(e){return function(t){var n;return o()(null===(n=e.initialActions)||void 0===n?void 0:n.find((function(e){var n;return(null===(n=e.result)||void 0===n?void 0:n.actionId)===t})))}},hasChangesOnAnyStep:function(e){return e.initialActions.some((function(t){var n=e.previousActions.find((function(e){return e.result.actionId===t.result.actionId}));return n&&!l()(n.result,t.result)}))}},mutations:{setActionStateDiff:function(e,t){e.actionStateDiff=t},setPreviousAction:function(e,t){var n,i=e.previousActions.findIndex((function(e){var n,i;return(null===(n=e.result)||void 0===n?void 0:n.actionId)===(null===(i=t.result)||void 0===i?void 0:i.actionId)})),a=i>-1?i:e.previousActions.length;e.previousActions.splice(a,1,o()(t)),Object.entries((null==t||null===(n=t.result)||void 0===n?void 0:n.fields)||{}).forEach((function(t){var n=r()(t,2),i=n[0],o=n[1];Array.isArray(null==o?void 0:o.data)&&c.default.set(e.previousActions[a].result.fields[i],"data",(null==o?void 0:o.data)||[])})),Array.isArray(null==t?void 0:t.visibleQuestions)&&t.visibleQuestions.forEach((function(t,n){c.default.set(e.previousActions[a].result.visibleQuestions,n,t)}))},setInitialAction:function(e,t){var n,i=e.initialActions.findIndex((function(e){var n,i;return(null===(n=e.result)||void 0===n?void 0:n.actionId)===(null===(i=t.result)||void 0===i?void 0:i.actionId)}));i>-1||e.initialActions.length;e.initialActions.splice(0,1,o()(t)),Object.entries((null==t||null===(n=t.result)||void 0===n?void 0:n.fields)||{}).forEach((function(t){var n=r()(t,2),i=n[0],a=n[1];Array.isArray(null==a?void 0:a.data)&&c.default.set(e.initialActions[0].result.fields[i],"data",(null==a?void 0:a.data)||[])}))}},actions:{updatePreviousAction:function(e,t){(0,e.commit)("setPreviousAction",t)},updateInitialAction:function(e,t){(0,e.commit)("setInitialAction",t)},updateActionStateDiff:function(e,t){(0,e.commit)("setActionStateDiff",t)}}}},o1bE:function(e,t,n){!function(e){"use strict";
303//! moment.js locale configuration 304var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["Ø£Ù٠٠٠ثاÙÙØ©","ثاÙÙØ© ÙØ§ØØ¯Ø©",["ثاÙÙØªØ§Ù","ثاÙÙØªÙÙ"],"%d Ø«ÙØ§Ù","%d ثاÙÙØ©","%d ثاÙÙØ©"],m:["Ø£Ù٠٠٠دÙÙÙØ©","دÙÙÙØ© ÙØ§ØØ¯Ø©",["دÙÙÙØªØ§Ù","دÙÙÙØªÙÙ"],"%d Ø¯ÙØ§Ø¦Ù","%d دÙÙÙØ©","%d دÙÙÙØ©"],h:["Ø£Ù٠٠٠ساعة","ساعة ÙØ§ØØ¯Ø©",["ساعتاÙ","ساعتÙÙ"],"%d ساعات","%d ساعة","%d ساعة"],d:["Ø£ÙÙ Ù Ù ÙÙÙ ","ÙÙÙ ÙØ§ØØ¯",["ÙÙ٠اÙ","ÙÙÙ ÙÙ"],"%d Ø£ÙØ§Ù ","%d ÙÙÙ ÙØ§","%d ÙÙÙ "],M:["Ø£ÙÙ Ù Ù Ø´ÙØ±","Ø´ÙØ± ÙØ§ØØ¯",["Ø´ÙØ±Ø§Ù","Ø´ÙØ±ÙÙ"],"%d Ø£Ø´ÙØ±","%d Ø´ÙØ±Ø§","%d Ø´ÙØ±"],y:["Ø£Ù٠٠٠عا٠","Ø¹Ø§Ù ÙØ§ØØ¯",["عا٠اÙ","عا٠ÙÙ"],"%d Ø£Ø¹ÙØ§Ù ","%d Ø¹Ø§Ù ÙØ§","%d عا٠"]},i=function(e){return function(i,r,a,o){var s=t(i),l=n[e][t(i)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,i)}},r=["جاÙÙÙ","ÙÙÙØ±Ù","٠ارس","Ø£ÙØ±ÙÙ","٠اÙ","Ø¬ÙØ§Ù","جÙÙÙÙØ©","Ø£ÙØª","سبت٠بر","Ø£ÙØªÙبر","ÙÙÙ٠بر","Ø¯ÙØ³Ù بر"];e.defineLocale("ar-dz",{months:r,monthsShort:r,weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù ÙØ³_ج٠عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/âM/âYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù /,isPM:function(e){return"Ù "===e},meridiem:function(e,t,n){return e<12?"ص":"Ù "},calendar:{sameDay:"[اÙÙÙÙ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[ØºØ¯ÙØ§ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[أ٠س Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"Ù ÙØ° %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(e){return e.replace(/,/g,"Ø")},week:{dow:0,doy:4}})}(n("wd/R"))},"oCl/":function(e,t,n){var i=n("CH3K"),r=n("LcsW"),a=n("MvSz"),o=n("0ycA"),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)i(t,a(e)),e=r(e);return t}:o;e.exports=s},oHej:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("v-row",[t("v-col",{attrs:{cols:"12"}},[e.filteredOnJournalAndSearchTerm?t("div",[t("v-card-title",{staticClass:"mb-4 pl-0"},[e._v("We're sorry you couldn't find what you were looking for in this journal.\n ")]),e._v(" "),t("v-card-subtitle",{staticClass:"pl-0"},[e._v("Explore our archived journals, where you'll likely find "),t("a",{attrs:{href:e.nonJournalFilteredSearchUrl}},[e._v("previously published articles")]),e._v(" in this research area.\n ")]),e._v(" "),t("v-card-subtitle",{staticClass:"pl-0"},[e._v("From January 2026, PeerJ has expanded into a multidisciplinary STM journal. We\n encourage you to "),t("a",{attrs:{href:"/new"}},[e._v("submit your research")]),e._v(", as we now welcome submissions across a broader range of subject areas.\n ")])],1):t("div",[t("v-card-title",{staticClass:"pl-0"},[e._v("We're sorry you couldn't find what you were looking for.")]),e._v(" "),t("v-card-subtitle",{staticClass:"pl-0"},[e._v("Try a different search or modify any set filters.")])],1)])],1)};i._withStripped=!0;var r={computed:{params:function(){return this.$store.state.search.localParams},filteredOnJournalAndSearchTerm:function(){var e;return null===(e=this.params)||void 0===e?void 0:e.q},nonJournalFilteredSearchUrl:function(){var e=this,t=["q","type"].reduce((function(t,n){var i=e.$route.query[n];return i&&t.push("".concat(n,"=").concat(i)),t}),[]).join("&");return t.length?"/search?".concat(t):"/search"}}},a=n("KHd+"),o=n("ZUTo"),s=n.n(o),l=n("mdmw"),c=n("Yq0q"),u=n("D9m0"),d=Object(a.a)(r,i,[],!1,null,null,null);t.default=d.exports;s()(d,{VCardSubtitle:l.b,VCardTitle:l.d,VCol:c.a,VRow:u.a})},oQFu:function(e,t,n){},oShl:function(e,t,n){var i=n("Nsbk"),r=n("SksO"),a=n("xfeJ"),o=n("sXyB");function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!a(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");
304if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return o(e,arguments,i(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),r(t,e)},s(t)}e.exports=s},oT9S:function(e,t,n){},ojjI:function(e,t,n){"use strict";n.r(t),t.default={render:function(){return!1},created:function(){for(var e=[],t=document.getElementsByClassName("js-article-item"),n=0;n<t.length;n++)e.push(t[n].dataset.articleId);e.length?this.$store.dispatch("getArticles",e):console.log("No article ids found to load data")}}},"otb+":function(e,t,n){"use strict";n.r(t),t.default={path:"/aims",component:function(){return n.e(169).then(n.bind(null,"6p0S"))},children:[{path:"/",name:"AimsAdminHome",component:function(){return Promise.all([n.e(51),n.e(547)]).then(n.bind(null,"u9zQ"))}},{path:"faqs",name:"AimsFaq",component:function(){return n.e(265).then(n.bind(null,"LTUs"))}}]}},"otv/":function(e,t,n){var i=n("nmnc"),r=i?i.prototype:void 0,a=r?r.valueOf:void 0;e.exports=function(e){return a?Object(a.call(e)):{}}},"p/rL":function(e,t,n){!function(e){"use strict";
305//! moment.js locale configuration 306e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_MÉkalo_ZuwÉnkalo_Zuluyekalo_Utikalo_SÉtanburukalo_ÉkutÉburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_MÉ_Zuw_Zul_Uti_SÉt_Éku_Now_Des".split("_"),weekdays:"Kari_NtÉnÉn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_NtÉ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lÉrÉ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lÉrÉ] HH:mm"},calendar:{sameDay:"[Bi lÉrÉ] LT",nextDay:"[Sini lÉrÉ] LT",nextWeek:"dddd [don lÉrÉ] LT",lastDay:"[Kunu lÉrÉ] LT",lastWeek:"dddd [tÉmÉnen lÉrÉ] LT",sameElse:"L"},relativeTime:{future:"%s kÉnÉ",past:"a bÉ %s bÉ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lÉrÉ kelen",hh:"lÉrÉ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},p4KW:function(e,t,n){"use strict";n.r(t);var i=n("RIqP"),r=n.n(i),a=n("hNiC"),o=n("d7+m"),s=n("7YQI"),l=n("6G98"),c=n("8p+3"),u=n("PzpI"),d=n("70G4");t.default={path:"/",component:a.default,children:[].concat(r()(o.default),r()(u.default),[s.default,l.default,c.default,d.default])}},pFRH:function(e,t,n){var i=n("cvCv"),r=n("O0oS"),a=n("zZ0H"),o=r?function(e,t){return r(e,"toString",{configurable:!0,enumerable:!1,value:i(t),writable:!0})}:a;e.exports=o},pIxj:function(e,t,n){"use strict";n.r(t),t.default={path:"/",name:"rootView",component:{render:function(e){return e("router-view")}},children:[{path:"payment",name:"payments",component:function(){return n.e(140).then(n.bind(null,"Qlf7"))}}]}},pPba:function(e,t,n){"use strict";n("CarZ")},pSOK:function(e,t,n){"use strict";n("IPaF"),n("S4Vr");var i=n("6PJS"),r=n("2fdy");t.a=Object(i.a)("container").extend({name:"v-container",functional:!0,props:{id:String,tag:{type:String,default:"div"},fluid:{type:Boolean,default:!1}},render(e,{props:t,data:n,children:i}){let a;const{attrs:o}=n;return o&&(n.attrs={},a=Object.keys(o).filter(e=>{if("slot"===e)return!1;const t=o[e];return e.startsWith("data-")?(n.attrs[e]=t,!1):t||"string"==typeof t})),t.id&&(n.domProps=n.domProps||{},n.domProps.id=t.id),e(t.tag,Object(r.a)(n,{staticClass:"container",class:Array({"container--fluid":t.fluid}).concat(a||[])}),i)}})},pZt1:function(e,t){e.exports=function(e){return e&&e.length?e[0]:void 0}},pdp4:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("figure",{staticClass:"pj-image",class:e.imgClass,style:n.figureStyle},[t("img",{style:n.autoSizeImageStyle,attrs:{src:e.src,alt:e.caption||e.alt,width:e.width,height:e.height}}),e._v(" "),e.caption?t("figcaption",{staticClass:"grey--text text--darken-1 mt-1"},[e._v("\n "+e._s(e.caption)+"\n ")]):e._e(),e._v(" "),e.buttonLabel?t("div",{staticClass:"mt-3",staticStyle:{"line-height":"1"}},[t("v-btn",{attrs:{href:e.buttonHref||void 0,color:e.buttonColor||"primary",depressed:""}},[e.buttonIcon?t("v-icon",{attrs:{left:"",small:""}},[e._v(e._s(e.buttonIcon))]):e._e(),e._v("\n "+e._s(e.buttonLabel)+"\n ")],1)],1):e._e()])};i._withStripped=!0;var r=n("Kw5r"),a={__name:"Image_CTA",props:{src:{type:String,default:""},alt:{type:String,default:""},width:{type:String,default:"100%"},height:{type:String},imgClass:{type:String},caption:{type:String,default:""},buttonLabel:{type:String,default:""},buttonHref:{type:String,default:""},buttonColor:{type:String,default:"primary"},buttonIcon:{type:String,default:""}},setup:function(e){var t=e,n=Object(r.computed)((function(){return{display:"block",width:t.width||"100%",height:t.height||"auto",margin:0,padding:0}})),i=Object(r.computed)((function(){return t.width||t.height?"":"display:block; width:100%; height:auto;"}));return{__sfc:!0,props:t,figureStyle:n,autoSizeImageStyle:i}}},o=(n("zrAn"),n("KHd+")),s=n("ZUTo"),l=n.n(s),c=n("gzZi"),u=n("Ey0z"),d=Object(o.a)(a,i,[],!1,null,"7628a574",null);t.default=d.exports;l()(d,{VBtn:c.a,VIcon:u.a})},pgmH:function(e,t,n){"use strict";n("flh2");var i=n("OGDc"),r=n("qa07"),a=n("WN+I");t.a=Object(a.a)(i.a,r.a).extend({name:"v-btn-toggle",props:{backgroundColor:String,borderless:Boolean,dense:Boolean,group:Boolean,rounded:Boolean,shaped:Boolean,tile:Boolean},computed:{classes(){return{...i.a.options.computed.classes.call(this),"v-btn-toggle":!0,"v-btn-toggle--borderless":this.borderless,"v-btn-toggle--dense":this.dense,"v-btn-toggle--group":this.group,"v-btn-toggle--rounded":this.rounded,"v-btn-toggle--shaped":this.shaped,"v-btn-toggle--tile":this.tile,...this.themeClasses}}},methods:{genData(){const e=this.setTextColor(this.color,{...i.a.options.methods.genData.call(this)});
306return this.group?e:this.setBackgroundColor(this.backgroundColor,e)}}})},pjTf:function(e,t,n){"use strict";n("C98l")},q9PU:function(e,t,n){},qEQh:function(e,t,n){"use strict";n("FoHa");var i=n("hlRy"),r=n("WN+I");const a=Object(r.a)(i.a);t.a=a.extend({name:"v-textarea",props:{autoGrow:Boolean,noResize:Boolean,rowHeight:{type:[Number,String],default:24,validator:e=>!isNaN(parseFloat(e))},rows:{type:[Number,String],default:5,validator:e=>!isNaN(parseInt(e,10))}},computed:{classes(){return{"v-textarea":!0,"v-textarea--auto-grow":this.autoGrow,"v-textarea--no-resize":this.noResizeHandle,...i.a.options.computed.classes.call(this)}},noResizeHandle(){return this.noResize||this.autoGrow}},watch:{autoGrow(e){this.$nextTick(()=>{var t;e?this.calculateInputHeight():null===(t=this.$refs.input)||void 0===t||t.style.removeProperty("height")})},lazyValue(){this.autoGrow&&this.$nextTick(this.calculateInputHeight)},rowHeight(){this.autoGrow&&this.$nextTick(this.calculateInputHeight)}},mounted(){setTimeout(()=>{this.autoGrow&&this.calculateInputHeight()},0)},methods:{calculateInputHeight(){const e=this.$refs.input;if(!e)return;e.style.height="0";const t=e.scrollHeight,n=parseInt(this.rows,10)*parseFloat(this.rowHeight);e.style.height=Math.max(n,t)+"px"},genInput(){const e=i.a.options.methods.genInput.call(this);return e.tag="textarea",delete e.data.attrs.type,e.data.attrs.rows=this.rows,e},onInput(e){i.a.options.methods.onInput.call(this,e),this.autoGrow&&this.calculateInputHeight()},onKeyDown(e){this.isFocused&&13===e.keyCode&&e.stopPropagation(),this.$emit("keydown",e)}}})},qRkn:function(e,t,n){var i=n("3cYt")({"Ã":"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","Å¿":"s"});e.exports=i},qkdH:function(e,t,n){"use strict"; 307/**! 308 * Sortable 1.10.2 309 * @author RubaXa <[email protected]> 310 * @author owenm <[email protected]> 311 * @license MIT 312 */ 313function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}
313)))),i.forEach((function(t){r(e,t,n[t])}))}return e}function s(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function l(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.r(t),n.d(t,"MultiDrag",(function(){return yt})),n.d(t,"Sortable",(function(){return Fe})),n.d(t,"Swap",(function(){return lt}));function c(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var u=c(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),d=c(/Edge/i),h=c(/firefox/i),f=c(/safari/i)&&!c(/chrome/i)&&!c(/android/i),p=c(/iP(ad|od|hone)/i),m=c(/chrome/i)&&c(/android/i),g={capture:!1,passive:!1};function v(e,t,n){e.addEventListener(t,n,!u&&g)}function b(e,t,n){e.removeEventListener(t,n,!u&&g)}function y(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function _(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function x(e,t,n,i){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&y(e,t):y(e,t))||i&&e===n)return e;if(e===n)break}while(e=_(e))}return null}var w,k=/\s+/g;function S(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var i=(" "+e.className+" ").replace(k," ").replace(" "+t+" "," ");e.className=(i+(n?" "+t:"")).replace(k," ")}}function M(e,t,n){var i=e&&e.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in i||-1!==t.indexOf("webkit")||(t="-webkit-"+t),i[t]=n+("string"==typeof n?"":"px")}}function L(e,t){var n="";if("string"==typeof e)n=e;else do{var i=M(e,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!t&&(e=e.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function A(e,t,n){if(e){var i=e.getElementsByTagName(t),r=0,a=i.length;if(n)for(;r<a;r++)n(i[r],r);return i}return[]}function O(){var e=document.scrollingElement;return e||document.documentElement}function C(e,t,n,i,r){if(e.getBoundingClientRect||e===window){var a,o,s,l,c,d,h;if(e!==window&&e!==O()?(o=(a=e.getBoundingClientRect()).top,s=a.left,l=a.bottom,c=a.right,d=a.height,h=a.width):(o=0,s=0,l=window.innerHeight,c=window.innerWidth,d=window.innerHeight,h=window.innerWidth),(t||n)&&e!==window&&(r=r||e.parentNode,!u))do{if(r&&r.getBoundingClientRect&&("none"!==M(r,"transform")||n&&"static"!==M(r,"position"))){var f=r.getBoundingClientRect();o-=f.top+parseInt(M(r,"border-top-width")),s-=f.left+parseInt(M(r,"border-left-width")),l=o+a.height,c=s+a.width;break}}while(r=r.parentNode);if(i&&e!==window){var p=L(r||e),m=p&&p.a,g=p&&p.d;p&&(l=(o/=g)+(d/=g),c=(s/=m)+(h/=m))}return{top:o,left:s,bottom:l,right:c,width:h,height:d}}}function T(e,t,n){for(var i=Y(e,!0),r=C(e)[t];i;){var a=C(i)[n];if(!("top"===n||"left"===n?r>=a:r<=a))return i;if(i===O())break;i=Y(i,!1)}return!1}function E(e,t,n){for(var i=0,r=0,a=e.children;r<a.length;){if("none"!==a[r].style.display&&a[r]!==Fe.ghost&&a[r]!==Fe.dragged&&x(a[r],n.draggable,e,!1)){if(i===t)return a[r];i++}r++}return null}function D(e,t){for(var n=e.lastElementChild;n&&(n===Fe.ghost||"none"===M(n,"display")||t&&!y(n,t));)n=n.previousElementSibling;return n||null}function P(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===Fe.clone||t&&!y(e,t)||n++;return n}function j(e){var t=0,n=0,i=O();if(e)do{var r=L(e),a=r.a,o=r.d;t+=e.scrollLeft*a,n+=e.scrollTop*o}while(e!==i&&(e=e.parentNode));return[t,n]}function Y(e,t){if(!e||!e.getBoundingClientRect)return O();var n=e,i=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=M(n);if(n.clientWidth<n.scrollWidth&&("auto"==r.overflowX||"scroll"==r.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==r.overflowY||"scroll"==r.overflowY)){if(!n.getBoundingClientRect||n===document.body)return O();if(i||t)return n;i=!0}}}while(n=n.parentNode);return O()}function I(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function R(e,t){return function(){if(!w){var n=arguments,i=this;1===n.length?e.call(i,n[0]):e.apply(i,n),w=setTimeout((function(){w=void 0}),t)}}}function H(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function N(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function F(e,t){M(e,"position","absolute"),M(e,"top",t.top),M(e,"left",t.left),M(e,"width",t.width),M(e,"height",t.height)}function z(e){M(e,"position",""),M(e,"top",""),M(e,"left",""),M(e,"width",""),M(e,"height","")}var B="Sortable"+(new Date).getTime();function W(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEac
vendor: 24,439 bytes, line 313
313h((function(e){if("none"!==M(e,"display")&&e!==Fe.ghost){t.push({target:e,rect:C(e)});var n=o({},t[t.length-1].rect);if(e.thisAnimationDuration){var i=L(e,!0);i&&(n.top-=i.f,n.left-=i.e)}e.fromRect=n}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var i in t)if(t.hasOwnProperty(i)&&t[i]===e[n][i])return Number(n);return-1}(t,{target:e}),1)},animateAll:function(n){var i=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof n&&n());var r=!1,a=0;t.forEach((function(e){var t=0,n=e.target,o=n.fromRect,s=C(n),l=n.prevFromRect,c=n.prevToRect,u=e.rect,d=L(n,!0);d&&(s.top-=d.f,s.left-=d.e),n.toRect=s,n.thisAnimationDuration&&I(l,s)&&!I(o,s)&&(u.top-s.top)/(u.left-s.left)==(o.top-s.top)/(o.left-s.left)&&(t=function(e,t,n,i){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*i.animation}(u,l,c,i.options)),I(s,o)||(n.prevFromRect=o,n.prevToRect=s,t||(t=i.options.animation),i.animate(n,u,s,t)),t&&(r=!0,a=Math.max(a,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),t),n.thisAnimationDuration=t)})),clearTimeout(e),r?e=setTimeout((function(){"function"==typeof n&&n()}),a):"function"==typeof n&&n(),t=[]},animate:function(e,t,n,i){if(i){M(e,"transition",""),M(e,"transform","");var r=L(this.el),a=r&&r.a,o=r&&r.d,s=(t.left-n.left)/(a||1),l=(t.top-n.top)/(o||1);e.animatingX=!!s,e.animatingY=!!l,M(e,"transform","translate3d("+s+"px,"+l+"px,0)"),function(e){e.offsetWidth}(e),M(e,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),M(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){M(e,"transition",""),M(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),i)}}}}var V=[],$={initializeByDefault:!0},U={mount:function(e){for(var t in $)$.hasOwnProperty(t)&&!(t in e)&&(e[t]=$[t]);V.push(e)},pluginEvent:function(e,t,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var r=e+"Global";V.forEach((function(i){t[i.pluginName]&&(t[i.pluginName][r]&&t[i.pluginName][r](o({sortable:t},n)),t.options[i.pluginName]&&t[i.pluginName][e]&&t[i.pluginName][e](o({sortable:t},n)))}))},initializePlugins:function(e,t,n,i){for(var r in V.forEach((function(i){var r=i.pluginName;if(e.options[r]||i.initializeByDefault){var o=new i(e,t,e.options);o.sortable=e,o.options=e.options,e[r]=o,a(n,o.defaults)}})),e.options)if(e.options.hasOwnProperty(r)){var o=this.modifyOption(e,r,e.options[r]);void 0!==o&&(e.options[r]=o)}},getEventProperties:function(e,t){var n={};return V.forEach((function(i){"function"==typeof i.eventProperties&&a(n,i.eventProperties.call(t[i.pluginName],e))})),n},modifyOption:function(e,t,n){var i;return V.forEach((function(r){e[r.pluginName]&&r.optionListeners&&"function"==typeof r.optionListeners[t]&&(i=r.optionListeners[t].call(e[r.pluginName],n))})),i}};function X(e){var t=e.sortable,n=e.rootEl,i=e.name,r=e.targetEl,a=e.cloneEl,s=e.toEl,l=e.fromEl,c=e.oldIndex,h=e.newIndex,f=e.oldDraggableIndex,p=e.newDraggableIndex,m=e.originalEvent,g=e.putSortable,v=e.extraEventProperties;if(t=t||n&&n[B]){var b,y=t.options,_="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||u||d?(b=document.createEvent("Event")).initEvent(i,!0,!0):b=new CustomEvent(i,{bubbles:!0,cancelable:!0}),b.to=s||n,b.from=l||n,b.item=r||n,b.clone=a,b.oldIndex=c,b.newIndex=h,b.oldDraggableIndex=f,b.newDraggableIndex=p,b.originalEvent=m,b.pullMode=g?g.lastPutMode:void 0;var x=o({},v,U.getEventProperties(i,t));for(var w in x)b[w]=x[w];n&&n.dispatchEvent(b),y[_]&&y[_].call(t,b)}}var G=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,r=s(n,["evt"]);U.pluginEvent.bind(Fe)(e,t,o({dragEl:J,parentEl:K,ghostEl:Z,rootEl:Q,nextEl:ee,lastDownEl:te,cloneEl:ne,cloneHidden:ie,dragStarted:ge,putSortable:ce,activeSortable:Fe.active,originalEvent:i,oldIndex:re,oldDraggableIndex:oe,newIndex:ae,newDraggableIndex:se,hideGhostForTarget:Ie,unhideGhostForTarget:Re,cloneNowHidden:function(){ie=!0},cloneNowShown:function(){ie=!1},dispatchSortableEvent:function(e){q({sortable:t,name:e,originalEvent:i})}},r))};function q(e){X(o({putSortable:ce,cloneEl:ne,targetEl:J,rootEl:Q,oldIndex:re,oldDraggableIndex:oe,newIndex:ae,newDraggableIndex:se},e))}var J,K,Z,Q,ee,te,ne,ie,re,ae,oe,se,le,ce,ue,de,he,fe,pe,me,ge,ve,be,ye,_e,xe=!1,we=!1,ke=[],Se=!1,Me=!1,Le=[],Ae=!1,Oe=[],Ce="undefined"!=typeof document,Te=p,Ee=d||u?"cssFloat":"float",De=Ce&&!m&&!p&&"draggable"in document.createElement("div"),Pe=function(){if(Ce){if(u)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),je=function(e,t){var n=M(e),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=E(e,0,t),a=E(e,1,t),o=r&&M(r),s=a&&M(a),l=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+C(r).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+C(a).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&o.float&&"none"!==o.float){var u="left"===o.float?"left":"right";return!a||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return r&&("block"===o.display||"flex"===o.display||"table"===o.display||"grid"===o.display||l>=i&&"none"===n[Ee]||a&&"none"===n[Ee]&&l+c>i)?"vertical":"horizontal"},Ye=function(e){function t(e,n){return function(i,r,a,o){var s=i.options.group.name&&r.options.group.name&&i.options.group.name===r.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(i,r,a,o),n)(i,r,a,o);var l=(n?i:r).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},r=e.group;r&&"object"==i(r)||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n},Ie=function(){!Pe&&Z&&M(Z,"display","none")},Re=function(){!Pe&&Z&&M(Z,"display","")};Ce&&document.addEventListener("click",(function(e){if(we)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),we=!1,!1}),!0);var He=function(e){if(J){e=e.touches?e.touches[0]:e;var t=(r=e.clientX,a=e.clientY,ke.some((function(e){if(!D(e)){var t=C(e),n=e[B].options.emptyInsertThreshold,i=r>=t.left-n&&r<=t.right+n,s=a>=t.top-n&&a<=t.bottom+n;return n&&i&&s?o=e:void 0}})),o);if(t){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[B]._onDragOver(n)}}var r,a,o},Ne=function(e){J&&J.parentNode[B]._isOutsideThisEl(e.target)};function Fe(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=a({},t),e[B]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return je(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Fe.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var i in U.initializePlugins(this,e,n),n)!(i in t)&&(t[i]=n[i]);for(var r in Ye(t),this)"_"===r.charAt(0)&&"function"==typeof this[r]&&(this[r]=this[r].bind(this));this.nativeDraggable=!t.forceFallback&&De,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?v(e,"pointerdown",this._onTapStart):(v(e,"mousedown",this._onTapStart),v(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(e,"dragover",this),v(e,"dragenter",this)),ke.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),a(this,W())}function ze(e,t,n,i,r,a,o,s){var l,c,h=e[B],f=h.options.onMove;return!window.CustomEvent||u||d?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=i,l.related=r||t,l.relatedRect=a||C(t),l.willInsertAfter=s,l.originalEvent=o,e.dispatchEvent(l),f&&(c=f.call(h,l,o)),c}function Be(e){e.draggable=!1}function We(){Ae=!1}function Ve(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,i=0;n--;)i+=t.charCodeAt(n);return i.toString(36)}function $e(e){return setTimeout(e,0)}function Ue(e){return clearTimeout(e)}Fe.prototype={constructor:Fe,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(ve=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,J):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,i=this.options,r=i.preventOnFilter,a=e.type,o=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(o||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,c=i.filter;if(function(e){Oe.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var i=t[n];i.checked&&Oe.push(i)}}(n),!J&&!(/mousedown|pointerdown/.test(a)&&0!==e.button||i.disabled||l.isContentEditable||(s=x(s,i.draggable,n,!1))&&s.animated||te===s)){if(re=P(s),oe=P(s,i.draggable),"function"==typeof c){if(c.call(this,e,s,this))return q({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),G("filter",t,{evt:e}),void(r&&e.cancelable&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(i){if(i=x(l,i.trim(),n,!1))return q({sortable:t,rootEl:i,name:"filter",targetEl:s,fromEl:n,toEl:n}),G("filter",t,{evt:e}),!0}))))return void(r&&e.cancelable&&e.preventDefault());i.handle&&!x(l,i.handle,n,!1)||this._prepareDragStart(e,o,s)}}},_prepareDragStart:function(e,t,n){var i,r=this,a=r.el,o=r.options,s=a.ownerDocument;if(n&&!J&&n.parentNode===a){var l=C(n);if(Q=a,K=(J=n).parentNode,ee=J.nextSibling,te=n,le=o.group,Fe.dragged=J,ue={target:J,clientX:(t||e).clientX,clientY:(t||e).clientY},pe=ue.clientX-l.left,me=ue.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,J.style["will-change"]="all",i=function(){G("delayEnded",r,{evt:e}),Fe.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!h&&r.nativeDraggable&&(J.draggable=!0),r._triggerDragStart(e,t),q({sortable:r,name:"choose",originalEvent:e}),S(J,o.chosenClass,!0))},o.ignore.split(",").forEach((function(e){A(J,e.trim(),Be)})),v(s,"dragover",He),v(s,"mousemove",He),v(s,"touchmove",He),v(s,"mouseup",r._onDrop),v(s,"touchend",r._onDrop),v(s,"touchcancel",r._onDrop),h&&this.nativeDraggable&&(this.options.touchStartThreshold=4,J.draggable=!0),G("delayStart",this,{evt:e}),!o.delay||o.delayOnTouchOnly&&!t||this.nativeDraggable&&(d||u))i();else{if(Fe.eventCanceled)return void this._onDrop();v(s,"mouseup",r._disableDelayedDrag),v(s,"touchend",r._disableDelayedDrag),v(s,"touchcancel",r._disableDelayedDrag),v(s,"mousemove",r._delayedDragTouchMoveHandler),v(s,"touchmove",r._delayedDragTouchMoveHandler),o.supportPointer&&v(s,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(i,o.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){J&&Be(J),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;b(e,"mouseup",this._disableDelayedDrag),b(e,"touchend",this._disableDelayedDrag),b(e,"touchcancel",this._disableDelayedDrag),b(e,"mousemove",this._delayedDragTouchMoveHandler),b(e,"touchmove",this._delayedDragTouchMoveHandler),b(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?v(document,"pointermove",this._onTouchMove):v(document,t?"touchmove":"mousemove",this._onTouchMove):(v(J,"dragend",this),v(Q,"dragstart",this._onDragStart));try{document.selection?$e((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(xe=!1,Q&&J){G("dragStarted",this,{evt:t}),this.nativeDraggable&&v(document,"dragover",Ne);var n=this.options;!e&&S(J,n.dragClass,!1),S(J,n.ghostClass,!0),Fe.active=this,e&&this._appendGhost(),q({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(de){this._lastX=de.clientX,this._lastY=de.clientY,Ie();for(var e=document.elementFromPoint(de.clientX,de.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(de.clientX,de.clientY))!==t;)t=e;if(J.parentNode[B]._isOutsideThisEl(e),t)do{if(t[B]){if(t[B]._onDragOver({clientX:de.clientX,clientY:de.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Re()}},_onTouchMove:function(e){if(ue){var t=this.options,n=t.fallbackTolerance,i=t.fallbackOffset,r=e.touches?e.touches[0]:e,a=Z&&L(Z,!0),o=Z&&a&&a.a,s=Z&&a&&a.d,l=Te&&_e&&j(_e),c=(r.clientX-ue.clientX+i.x)/(o||1)+(l?l[0]-Le[0]:0)/(o||1),u=(r.clientY-ue.clientY+i.y)/(s||1)+(l?l[1]-Le[1]:0)/(s||1);if(!Fe.active&&!xe){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(Z){a?(a.e+=c-(he||0),a.f+=u-(fe||0)):a={a:1,b:0,c:0,d:1,e:c,f:u};var d="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");M(Z,"webkitTransform",d),M(Z,"mozTransform",d),M(Z,"msTransform",d),M(Z,"transform",d),he=c,fe=u,de=r}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Z){var e=this.options.fallbackOnBody?document.body:Q,t=C(J,!0,Te,!0,e),n=this.options;if(Te){for(_e=e;"static"===M(_e,"position")&&"none"===M(_e,"transform")&&_e!==document;)_e=_e.parentNode;_e!==document.body&&_e!==document.documentElement?(_e===document&&(_e=O()),t.top+=_e.scrollTop,t.left+=_e.scrollLeft):_e=O(),Le=j(_e)}S(Z=J.cloneNode(!0),n.ghostClass,!1),S(Z,n.fallbackClass,!0),S(Z,n.dragClass,!0),M(Z,"transition",""),M(Z,"transform",""),M(Z,"box-sizing","border-box"),M(Z,"margin",0),M(Z,"top",t.top),M(Z,"left",t.left),M(Z,"width",t.width),M(Z,"height",t.height),M(Z,"opacity","0.8"),M(Z,"position",Te?"absolute":"fixed"),M(Z,"zIndex","100000"),M(Z,"pointerEvents","none"),Fe.ghost=Z,e.appendChild(Z),M(Z,"transform-origin",pe/parseInt(Z.style.width)*100+"% "+me/parseInt(Z.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,i=e.dataTransfer,r=n.options;G("dragStart",this,{evt:e}),Fe.eventCanceled?this._onDrop():(G("setupClone",this),Fe.eventCanceled||((ne=N(J)).draggable=!1,ne.style["will-change"]="",this._hideClone(),S(ne,this.options.chosenClass,!1),Fe.clone=ne),n.cloneId=$e((function(){G("clone",n),Fe.eventCanceled||(n.options.removeCloneOnHide||Q.insertBefore(ne,J),n._hideClone(),q({sortable:n,name:"clone"}))})),!t&&S(J,r.dragClass,!0),t?(we=!0,n._loopId=setInterval(n._emulateDragOver,50)):(b(document,"mouseup",n._onDrop),b(document,"touchend",n._onDrop),b(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(n,i,J)),v(document,"drop",n),M(J,"transform","translateZ(0)")),xe=!0,n._dragStartId=$e(n._dragStarted.bind(n,t,e)),v(document,"selectstart",n),ge=!0,f&&M(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,i,r,a=this.el,s=e.target,l=this.options,c=l.group,u=Fe.active,d=le===c,h=l.sort,f=ce||u,p=this,m=!1;if(!Ae){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),s=x(s,l.draggable,a,!0),I("dragOver"),Fe.eventCanceled)return m;if(J.contains(e.target)||s.animated&&s.animatingX&&s.animatingY||p._ignoreWhileAnimating===s)return N(!1);if(we=!1,u&&!l.disabled&&(d?h||(i=!Q.contains(J)):ce===this||(this.lastPutMode=le.checkPull(this,u,J,e))&&c.checkPut(this,u,J,e))){if(r="vertical"===this._getDirection(e,s),t=C(J),I("dragOverValid"),Fe.eventCanceled)return m;if(i)return K=Q,R(),this._hideClone(),I("revert"),Fe.eventCanceled||(ee?Q.insertBefore(J,ee):Q.appendChild(J)),N(!0);var g=D(a,l.draggable);if(!g||function(e,t,n){var i=C(D(n.el,n.options.draggable));return t?e.clientX>i.right+10||e.clientX<=i.right&&e.clientY>i.bottom&&e.clientX>=i.left:e.clientX>i.right&&e.clientY>i.top||e.clientX<=i.right&&e.clientY>i.bottom+10}(e,r,this)&&!g.animated){if(g===J)return N(!1);if(g&&a===e.target&&(s=g),s&&(n=C(s)),!1!==ze(Q,a,J,t,s,n,e,!!s))return R(),a.appendChild(J),K=a,F(),N(!0)}else if(s.parentNode===a){n=C(s);var v,b,y,_=J.parentNode!==a,w=!function(e,t,n){var i=n?e.left:e.top,r=n?e.right:e.bottom,a=n?e.width:e.height,o=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return i===o||r===s||i+a/2===o+l/2}(J.animated&&J.toRect||t,s.animated&&s.toRect||n,r),k=r?"top":"left",L=T(s,"top","top")||T(J,"top","top"),A=L?L.scrollTop:void 0;if(ve!==s&&(b=n[k],Se=!1,Me=!w&&l.invertSwap||_),0!==(v=function(e,t,n,i,r,a,o,s){var l=i?e.clientY:e.clientX,c=i?n.height:n.width,u=i?n.top:n.left,d=i?n.bottom:n.right,h=!1;if(!o)if(s&&ye<c*r){if(!Se&&(1===be?l>u+c*a/2:l<d-c*a/2)&&(Se=!0),Se)h=!0;else if(1===be?l<u+ye:l>d-ye)return-be}else if(l>u+c*(1-r)/2&&l<d-c*(1-r)/2)return function(e){return P(J)<P(e)?1:-1}(t);if((h=h||o)&&(l<u+c*a/2||l>d-c*a/2))return l>u+c/2?1:-1;return 0}(e,s,n,r,w?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Me,ve===s))){var O=P(J);do{O-=v,y=K.children[O]}while(y&&("none"===M(y,"display")||y===Z))}if(0===v||y===s)return N(!1);ve=s,be=v;var E=s.nextElementSibling,j=!1,Y=ze(Q,a,J,t,s,n,e,j=1===v);if(!1!==Y)return 1!==Y&&-1!==Y||(j=1===Y),Ae=!0,setTimeout(We,30),R(),j&&!E?a.appendChild(J):s.parentNode.insertBefore(J,j?E:s),L&&H(L,0,A-L.scrollTop),K=J.parentNode,void 0===b||Me||(ye=Math.abs(b-C(s)[k])),F(),N(!0)}if(a.contains(J))return N(!1)}return!1}function I(l,c){G(l,p,o({evt:e,isOwner:d,axis:r?"vertical":"horizontal",revert:i,dragRect:t,targetRect:n,canSort:h,fromSortable:f,target:s,completed:N,onMove:function(n,i){return ze(Q,a,J,t,n,C(n),e,i)},changed:F},c))}function R(){I("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function N(t){return I("dragOverCompleted",{insertion:t}),t&&(d?u._hideClone():u._showClone(p),p!==f&&(S(J,ce?ce.options.ghostClass:u.options.ghostClass,!1),S(J,l.ghostClass,!0)),ce!==p&&p!==Fe.active?ce=p:p===Fe.active&&ce&&(ce=null),f===p&&(p._ignoreWhileAnimating=s),p.animateAll((function(){I("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===J&&!J.animated||s===a&&!s.animated)&&(ve=null),l.dragoverBubble||e.rootEl||s===document||(J.parentNode[B]._isOutsideThisEl(e.target),!t&&He(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function F(){ae=P(J),se=P(J,l.draggable),q({sortable:p,name:"change",toEl:a,newIndex:ae,newDraggableIndex:se,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){b(document,"mousemove",this._onTouchMove),b(document,"touchmove",this._onTouchMove),b(document,"pointermove",this._onTouchMove),b(document,"dragover",He),b(document,"mousemove",He),b(document,"touchmove",He)},_offUpEvents:function(){var e=this.el.ownerDocument;b(e,"mouseup",this._onDrop),b(e,"touchend",this._onDrop),b(e,"pointerup",this._onDrop),b(e,"touchcancel",this._onDrop),b(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;ae=P(J),se=P(J,n.draggable),G("drop",this,{evt:e}),K=J&&J.parentNode,ae=P(J),se=P(J,n.draggable),Fe.eventCanceled||(xe=!1,Me=!1,Se=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Ue(this.cloneId),Ue(this._dragStartId),this.nativeDraggable&&(b(document,"drop",this),b(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),f&&M(document.body,"user-select",""),M(J,"transform",""),e&&(ge&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),Z&&Z.parentNode&&Z.parentNode.removeChild(Z),(Q===K||ce&&"clone"!==ce.lastPutMode)&&ne&&ne.parentNode&&ne.parentNode.removeChild(ne),J&&(this.nativeDraggable&&b(J,"dragend",this),Be(J),J.style["will-change"]="",ge&&!xe&&S(J,ce?ce.options.ghostClass:this.options.ghostClass,!1),S(J,this.options.chosenClass,!1),q({sortable:this,name:"unchoose",toEl:K,newIndex:null,newDraggableIndex:null,originalEvent:e}),Q!==K?(ae>=0&&(q({rootEl:K,name:"add",toEl:K,fromEl:Q,originalEvent:e}),q({sortable:this,name:"remove",toEl:K,originalEvent:e}),q({rootEl:K,name:"sort",toEl:K,fromEl:Q,originalEvent:e}),q({sortable:this,name:"sort",toEl:K,originalEvent:e})),ce&&ce.save()):ae!==re&&ae>=0&&(q({sortable:this,name:"update",toEl:K,originalEvent:e}),q({sortable:this,name:"sort",toEl:K,originalEvent:e})),Fe.active&&(null!=ae&&-1!==ae||(ae=re,se=oe),q({sortable:this,name:"end",toEl:K,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){G("nulling",this),Q=J=K=Z=ee=ne=te=ie=ue=de=ge=ae=se=re=oe=ve=be=ce=le=Fe.dragged=Fe.ghost=Fe.clone=Fe.active=null,Oe.forEach((function(e){e.checked=!0})),Oe.length=he=fe=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":J&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,i=0,r=n.length,a=this.options;i<r;i++)x(e=n[i],a.draggable,this.el,!1)&&t.push(e.getAttribute(a.dataIdAttr)||Ve(e));return t},sort:function(e){var t={},n=this.el;this.toArray().forEach((function(e,i){var r=n.children[i];x(r,this.options.draggable,n,!1)&&(t[e]=r)}),this),e.forEach((function(e){t[e]&&(n.removeChild(t[e]),n.appendChild(t[e]))}))},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return x(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var i=U.modifyOption(this,e,t);n[e]=void 0!==i?i:t,"group"===e&&Ye(n)},destroy:function(){G("destroy",this);var e=this.el;e[B]=null,b(e,"mousedown",this._onTapStart),b(e,"touchstart",this._onTapStart),b(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(b(e,"dragover",this),b(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),ke.splice(ke.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!ie){if(G("hideClone",this),Fe.eventCanceled)return;M(ne,"display","none"),this.options.removeCloneOnHide&&ne.parentNode&&ne.parentNode.removeChild(ne),ie=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(ie){if(G("showClone",this),Fe.eventCanceled)return;Q.contains(J)&&!this.options.group.revertClone?Q.insertBefore(ne,J):ee?Q.insertBefore(ne,ee):Q.appendChild(ne),this.options.group.revertClone&&this.animate(J,ne),M(ne,"display",""),ie=!1}}else this._hideClone()}},Ce&&v(document,"touchmove",(function(e){(Fe.active||xe)&&e.cancelable&&e.preventDefault()})),Fe.utils={on:v,off:b,css:M,find:A,is:function(e,t){return!!x(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:R,closest:x,toggleClass:S,clone:N,index:P,nextTick:$e,cancelNextTick:Ue,detectDirection:je,getChild:E},Fe.get=function(e){return e[B]},Fe.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(Fe.utils=o({}
313,Fe.utils,e.utils)),U.mount(e)}))},Fe.create=function(e,t){return new Fe(e,t)},Fe.version="1.10.2";var Xe,Ge,qe,Je,Ke,Ze,Qe=[],et=!1;function tt(){Qe.forEach((function(e){clearInterval(e.pid)})),Qe=[]}function nt(){clearInterval(Ze)}var it,rt=R((function(e,t,n,i){if(t.scroll){var r,a=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,l=t.scrollSpeed,c=O(),u=!1;Ge!==n&&(Ge=n,tt(),Xe=t.scroll,r=t.scrollFn,!0===Xe&&(Xe=Y(n,!0)));var d=0,h=Xe;do{var f=h,p=C(f),m=p.top,g=p.bottom,v=p.left,b=p.right,y=p.width,_=p.height,x=void 0,w=void 0,k=f.scrollWidth,S=f.scrollHeight,L=M(f),A=f.scrollLeft,T=f.scrollTop;f===c?(x=y<k&&("auto"===L.overflowX||"scroll"===L.overflowX||"visible"===L.overflowX),w=_<S&&("auto"===L.overflowY||"scroll"===L.overflowY||"visible"===L.overflowY)):(x=y<k&&("auto"===L.overflowX||"scroll"===L.overflowX),w=_<S&&("auto"===L.overflowY||"scroll"===L.overflowY));var E=x&&(Math.abs(b-a)<=s&&A+y<k)-(Math.abs(v-a)<=s&&!!A),D=w&&(Math.abs(g-o)<=s&&T+_<S)-(Math.abs(m-o)<=s&&!!T);if(!Qe[d])for(var P=0;P<=d;P++)Qe[P]||(Qe[P]={});Qe[d].vx==E&&Qe[d].vy==D&&Qe[d].el===f||(Qe[d].el=f,Qe[d].vx=E,Qe[d].vy=D,clearInterval(Qe[d].pid),0==E&&0==D||(u=!0,Qe[d].pid=setInterval(function(){i&&0===this.layer&&Fe.active._onTouchMove(Ke);var t=Qe[this.layer].vy?Qe[this.layer].vy*l:0,n=Qe[this.layer].vx?Qe[this.layer].vx*l:0;"function"==typeof r&&"continue"!==r.call(Fe.dragged.parentNode[B],n,t,e,Ke,Qe[this.layer].el)||H(Qe[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&h!==c&&(h=Y(h,!1)));et=u}}),30),at=function(e){var t=e.originalEvent,n=e.putSortable,i=e.dragEl,r=e.activeSortable,a=e.dispatchSortableEvent,o=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var l=n||r;o();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(c.clientX,c.clientY);s(),l&&!l.el.contains(u)&&(a("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function ot(){}function st(){}function lt(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;it=t},dragOverValid:function(e){var t=e.completed,n=e.target,i=e.onMove,r=e.activeSortable,a=e.changed,o=e.cancel;if(r.options.swap){var s=this.sortable.el,l=this.options;if(n&&n!==s){var c=it;!1!==i(n)?(S(n,l.swapClass,!0),it=n):it=null,c&&c!==it&&S(c,l.swapClass,!1)}a(),t(!0),o()}},drop:function(e){var t=e.activeSortable,n=e.putSortable,i=e.dragEl,r=n||this.sortable,a=this.options;it&&S(it,a.swapClass,!1),it&&(a.swap||n&&n.options.swap)&&i!==it&&(r.captureAnimationState(),r!==t&&t.captureAnimationState(),function(e,t){var n,i,r=e.parentNode,a=t.parentNode;if(!r||!a||r.isEqualNode(t)||a.isEqualNode(e))return;n=P(e),i=P(t),r.isEqualNode(a)&&n<i&&i++;r.insertBefore(t,r.children[n]),a.insertBefore(e,a.children[i])}(i,it),r.animateAll(),r!==t&&t.animateAll())},nulling:function(){it=null}},a(e,{pluginName:"swap",eventProperties:function(){return{swapItem:it}}})}ot.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=E(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(t,i):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:at},a(ot,{pluginName:"revertOnSpill"}),st.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:at},a(st,{pluginName:"removeOnSpill"});var ct,ut,dt,ht,ft,pt=[],mt=[],gt=!1,vt=!1,bt=!1;function yt(){function e(e){for(var t in this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this));e.options.supportPointer?v(document,"pointerup",this._deselectMultiDrag):(v(document,"mouseup",this._deselectMultiDrag),v(document,"touchend",this._deselectMultiDrag)),v(document,"keydown",this._checkKeyDown),v(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,
313setData:function(t,n){var i="";pt.length&&ut===e?pt.forEach((function(e,t){i+=(t?", ":"")+e.textContent})):i=n.textContent,t.setData("Text",i)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){var t=e.dragEl;dt=t},delayEnded:function(){this.isMultiDrag=~pt.indexOf(dt)},setupClone:function(e){var t=e.sortable,n=e.cancel;if(this.isMultiDrag){for(var i=0;i<pt.length;i++)mt.push(N(pt[i])),mt[i].sortableIndex=pt[i].sortableIndex,mt[i].draggable=!1,mt[i].style["will-change"]="",S(mt[i],this.options.selectedClass,!1),pt[i]===dt&&S(mt[i],this.options.chosenClass,!1);t._hideClone(),n()}},clone:function(e){var t=e.sortable,n=e.rootEl,i=e.dispatchSortableEvent,r=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||pt.length&&ut===t&&(_t(!0,n),i("clone"),r()))},showClone:function(e){var t=e.cloneNowShown,n=e.rootEl,i=e.cancel;this.isMultiDrag&&(_t(!1,n),mt.forEach((function(e){M(e,"display","")})),t(),ft=!1,i())},hideClone:function(e){var t=this,n=(e.sortable,e.cloneNowHidden),i=e.cancel;this.isMultiDrag&&(mt.forEach((function(e){M(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)})),n(),ft=!0,i())},dragStartGlobal:function(e){e.sortable;!this.isMultiDrag&&ut&&ut.multiDrag._deselectMultiDrag(),pt.forEach((function(e){e.sortableIndex=P(e)})),pt=pt.sort((function(e,t){return e.sortableIndex-t.sortableIndex})),bt=!0},dragStarted:function(e){var t=this,n=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){pt.forEach((function(e){e!==dt&&M(e,"position","absolute")}));var i=C(dt,!1,!0,!0);pt.forEach((function(e){e!==dt&&F(e,i)})),vt=!0,gt=!0}n.animateAll((function(){vt=!1,gt=!1,t.options.animation&&pt.forEach((function(e){z(e)})),t.options.sort&&xt()}))}},dragOver:function(e){var t=e.target,n=e.completed,i=e.cancel;vt&&~pt.indexOf(t)&&(n(!1),i())},revert:function(e){var t=e.fromSortable,n=e.rootEl,i=e.sortable,r=e.dragRect;pt.length>1&&(pt.forEach((function(e){i.addAnimationState({target:e,rect:vt?C(e):r}),z(e),e.fromRect=r,t.removeAnimationState(e)})),vt=!1,function(e,t){pt.forEach((function(n,i){var r=t.children[n.sortableIndex+(e?Number(i):0)];r?t.insertBefore(n,r):t.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,i=e.insertion,r=e.activeSortable,a=e.parentEl,o=e.putSortable,s=this.options;if(i){if(n&&r._hideClone(),gt=!1,s.animation&&pt.length>1&&(vt||!n&&!r.options.sort&&!o)){var l=C(dt,!1,!0,!0);pt.forEach((function(e){e!==dt&&(F(e,l),a.appendChild(e))})),vt=!0}if(!n)if(vt||xt(),pt.length>1){var c=ft;r._showClone(t),r.options.animation&&!ft&&c&&mt.forEach((function(e){r.addAnimationState({target:e,rect:ht}),e.fromRect=ht,e.thisAnimationDuration=null}))}else r._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,i=e.activeSortable;if(pt.forEach((function(e){e.thisAnimationDuration=null})),i.options.animation&&!n&&i.multiDrag.isMultiDrag){ht=a({},t);var r=L(dt,!0);ht.top-=r.f,ht.left-=r.e}},dragOverAnimationComplete:function(){vt&&(vt=!1,xt())},drop:function(e){var t=e.originalEvent,n=e.rootEl,i=e.parentEl,r=e.sortable,a=e.dispatchSortableEvent,o=e.oldIndex,s=e.putSortable,l=s||this.sortable;if(t){var c=this.options,u=i.children;if(!bt)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),S(dt,c.selectedClass,!~pt.indexOf(dt)),~pt.indexOf(dt))pt.splice(pt.indexOf(dt),1),ct=null,X({sortable:r,rootEl:n,name:"deselect",targetEl:dt,originalEvt:t});else{if(pt.push(dt),X({sortable:r,rootEl:n,name:"select",targetEl:dt,originalEvt:t}),t.shiftKey&&ct&&r.el.contains(ct)){var d,h,f=P(ct),p=P(dt);if(~f&&~p&&f!==p)for(p>f?(h=f,d=p):(h=p,d=f+1);h<d;h++)~pt.indexOf(u[h])||(S(u[h],c.selectedClass,!0),pt.push(u[h]),X({sortable:r,rootEl:n,name:"select",targetEl:u[h],originalEvt:t}))}else ct=dt;ut=l}if(bt&&this.isMultiDrag){if((i[B].options.sort||i!==n)&&pt.length>1){var m=C(dt),g=P(dt,":not(."+this.options.selectedClass+")");if(!gt&&c.animation&&(dt.thisAnimationDuration=null),l.captureAnimationState(),!gt&&(c.animation&&(dt.fromRect=m,pt.forEach((function(e){if(e.thisAnimationDuration=null,e!==dt){var t=vt?C(e):m;e.fromRect=t,l.addAnimationState({target:e,rect:t})}}))),xt(),pt.forEach((function(e){u[g]?i.insertBefore(e,u[g]):i.appendChild(e),g++})),o===P(dt))){var v=!1;pt.forEach((function(e){e.sortableIndex===P(e)||(v=!0)})),v&&a("update")}pt.forEach((function(e){z(e)})),l.animateAll()}ut=l}(n===i||s&&"clone"!==s.lastPutMode)&&mt.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=bt=!1,mt.length=0}
313,destroyGlobal:function(){this._deselectMultiDrag(),b(document,"pointerup",this._deselectMultiDrag),b(document,"mouseup",this._deselectMultiDrag),b(document,"touchend",this._deselectMultiDrag),b(document,"keydown",this._checkKeyDown),b(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==bt&&bt||ut!==this.sortable||e&&x(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;pt.length;){var t=pt[0];S(t,this.options.selectedClass,!1),pt.shift(),X({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},a(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[B];t&&t.options.multiDrag&&!~pt.indexOf(e)&&(ut&&ut!==t&&(ut.multiDrag._deselectMultiDrag(),ut=t),S(e,t.options.selectedClass,!0),pt.push(e))},deselect:function(e){var t=e.parentNode[B],n=pt.indexOf(e);t&&t.options.multiDrag&&~n&&(S(e,t.options.selectedClass,!1),pt.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return pt.forEach((function(i){var r;t.push({multiDragElement:i,index:i.sortableIndex}),r=vt&&i!==dt?-1:vt?P(i,":not(."+e.options.selectedClass+")"):P(i),n.push({multiDragElement:i,index:r})})),{items:l(pt),clones:[].concat(mt),oldIndicies:t,newIndicies:n}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function _t(e,t){mt.forEach((function(n,i){var r=t.children[n.sortableIndex+(e?Number(i):0)];r?t.insertBefore(n,r):t.appendChild(n)}))}function xt(){pt.forEach((function(e){e!==dt&&e.parentNode&&e.parentNode.removeChild(e)}))}Fe.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):this.options.supportPointer?v(document,"pointermove",this._handleFallbackAutoScroll):t.touches?v(document,"touchmove",this._handleFallbackAutoScroll):v(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?b(document,"dragover",this._handleAutoScroll):(b(document,"pointermove",this._handleFallbackAutoScroll),b(document,"touchmove",this._handleFallbackAutoScroll),b(document,"mousemove",this._handleFallbackAutoScroll)),nt(),tt(),clearTimeout(w),w=void 0},nulling:function(){Ke=Ge=Xe=et=Ze=qe=Je=null,Qe.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,i=(e.touches?e.touches[0]:e).clientX,r=(e.touches?e.touches[0]:e).clientY,a=document.elementFromPoint(i,r);if(Ke=e,t||d||u||f){rt(e,this.options,a,t);var o=Y(a,!0);!et||Ze&&i===qe&&r===Je||(Ze&&nt(),Ze=setInterval((function(){var a=Y(document.elementFromPoint(i,r),!0);a!==o&&(o=a,tt()),rt(e,n.options,a,t)}),10),qe=i,Je=r)}else{if(!this.options.bubbleScroll||Y(a,!0)===O())return void tt();rt(e,this.options,Y(a,!1),!1)}}},a(e,{pluginName:"scroll",initializeByDefault:!0})}),Fe.mount(st,ot),t.default=Fe},qkxR:function(e,t,n){"use strict";n("6359")},qoKy:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("eO9T");t.default=function(e){return(0,i.withParams)({type:"requiredIf",prop:e},(function(t,n){return!(0,i.ref)(e,this,n)||(0,i.req)(t)}))}},quyA:function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},qvJo:function(e,t,n){!function(e){"use strict";
314//! moment.js locale configuration 315function t(e,t,n,i){var r={s:["थà¥à¤¡à¤¯à¤¾ सॠà¤à¤à¤¡à¤¾à¤à¤¨à¥","थà¥à¤¡à¥ सॠà¤à¤à¤¡"],ss:[e+" सॠà¤à¤à¤¡à¤¾à¤à¤¨à¥",e+" सॠà¤à¤à¤¡"],m:["à¤à¤à¤¾ मिणà¤à¤¾à¤¨","à¤à¤ मिनà¥à¤"],mm:[e+" मिणà¤à¤¾à¤à¤¨à¥",e+" मिणà¤à¤¾à¤"],h:["à¤à¤à¤¾ वरान","à¤à¤ वर"],hh:[e+" वराà¤à¤¨à¥",e+" वराà¤"],d:["à¤à¤à¤¾ दिसान","à¤à¤ दà¥à¤¸"],dd:[e+" दिसाà¤à¤¨à¥",e+" दà¥à¤¸"],M:["à¤à¤à¤¾ मà¥à¤¹à¤¯à¤¨à¥à¤¯à¤¾à¤¨","à¤à¤ मà¥à¤¹à¤¯à¤¨à¥"],MM:[e+" मà¥à¤¹à¤¯à¤¨à¥à¤¯à¤¾à¤¨à¥",e+" मà¥à¤¹à¤¯à¤¨à¥"],y:["à¤à¤à¤¾ वरà¥à¤¸à¤¾à¤¨","à¤à¤ वरà¥à¤¸"],yy:[e+" वरà¥à¤¸à¤¾à¤à¤¨à¥",e+" वरà¥à¤¸à¤¾à¤"]};return i?r[n][0]:r[n][1]}e.defineLocale("gom-deva",{months:{standalone:"à¤à¤¾à¤¨à¥à¤µà¤¾à¤°à¥_फà¥à¤¬à¥à¤°à¥à¤µà¤¾à¤°à¥_मारà¥à¤_à¤à¤ªà¥à¤°à¥à¤²_मà¥_à¤à¥à¤¨_à¤à¥à¤²à¤¯_à¤à¤à¤¸à¥à¤_सपà¥à¤à¥à¤à¤¬à¤°_à¤à¤à¥à¤à¥à¤¬à¤°_नà¥à¤µà¥à¤¹à¥à¤à¤¬à¤°_डिसà¥à¤à¤¬à¤°".split("_"),format:"à¤à¤¾à¤¨à¥à¤µà¤¾à¤°à¥à¤à¥à¤¯à¤¾_फà¥à¤¬à¥à¤°à¥à¤µà¤¾à¤°à¥à¤à¥à¤¯à¤¾_मारà¥à¤à¤¾à¤à¥à¤¯à¤¾_à¤à¤ªà¥à¤°à¥à¤²à¤¾à¤à¥à¤¯à¤¾_मà¥à¤¯à¤¾à¤à¥à¤¯à¤¾_à¤à¥à¤¨à¤¾à¤à¥à¤¯à¤¾_à¤à¥à¤²à¤¯à¤¾à¤à¥à¤¯à¤¾_à¤à¤à¤¸à¥à¤à¤¾à¤à¥à¤¯à¤¾_सपà¥à¤à¥à¤à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾_à¤à¤à¥à¤à¥à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾_नà¥à¤µà¥à¤¹à¥à¤à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾_डिसà¥à¤à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"à¤à¤¾à¤¨à¥._फà¥à¤¬à¥à¤°à¥._मारà¥à¤_à¤à¤ªà¥à¤°à¥._मà¥_à¤à¥à¤¨_à¤à¥à¤²._à¤à¤._सपà¥à¤à¥à¤._à¤à¤à¥à¤à¥._नà¥à¤µà¥à¤¹à¥à¤._डिसà¥à¤.".split("_"),monthsParseExact:!0,weekdays:"à¤à¤¯à¤¤à¤¾à¤°_सà¥à¤®à¤¾à¤°_मà¤à¤à¤³à¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_बिरà¥à¤¸à¥à¤¤à¤¾à¤°_सà¥à¤à¥à¤°à¤¾à¤°_शà¥à¤¨à¤µà¤¾à¤°".split("_"),weekdaysShort:"à¤à¤¯à¤¤._सà¥à¤®._मà¤à¤à¤³._बà¥à¤§._बà¥à¤°à¥à¤¸à¥à¤¤._सà¥à¤à¥à¤°._शà¥à¤¨.".split("_"),weekdaysMin:"à¤_सà¥_मà¤_बà¥_बà¥à¤°à¥_सà¥_शà¥".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाà¤à¤¤à¤¾à¤]",LTS:"A h:mm:ss [वाà¤à¤¤à¤¾à¤]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाà¤à¤¤à¤¾à¤]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाà¤à¤¤à¤¾à¤]",llll:"ddd, D MMM YYYY, A h:mm [वाà¤à¤¤à¤¾à¤]"},calendar:{sameDay:"[à¤à¤¯à¤] LT",nextDay:"[फालà¥à¤¯à¤¾à¤] LT",nextWeek:"[फà¥à¤¡à¤²à¥] dddd[,] LT",lastDay:"[à¤à¤¾à¤²] LT",lastWeek:"[फाà¤à¤²à¥] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s à¤à¤¦à¥à¤",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वà¥à¤°)/,ordinal:function(e,t){switch(t){case"D":return e+"वà¥à¤°";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/रातà¥|सà¤à¤¾à¤³à¥à¤|दनपाराà¤|साà¤à¤à¥/,meridiemHour:function(e,t){return 12===e&&(e=0),"रातà¥"===t?e<4?e:e+12:"सà¤à¤¾à¤³à¥à¤"===t?e:"दनपाराà¤"===t?e>12?e:e+12:"साà¤à¤à¥"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रातà¥":e<12?"सà¤à¤¾à¤³à¥à¤":e<16?"दनपाराà¤":e<20?"साà¤à¤à¥":"रातà¥"}})}(n("wd/R"))},rHzn:function(e,t,n){"use strict";n("bKfa"),n("7ClH");var i=n("nSar"),r=n("w3qa"),a=n("/gkr");t.a=a.a.extend({name:"v-checkbox",props:{indeterminate:Boolean,indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},offIcon:{type:String,default:"$checkboxOff"},onIcon:{type:String,default:"$checkboxOn"}},data(){return{inputIndeterminate:this.indeterminate}},computed:{classes(){return{...r.a.options.computed.classes.call(this),"v-input--selection-controls":!0,"v-input--checkbox":!0,"v-input--indeterminate":this.inputIndeterminate}},computedIcon(){return this.inputIndeterminate?this.indeterminateIcon:this.isActive?this.onIcon:this.offIcon},validationState(){if(!this.isDisabled||this.inputIndeterminate)return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":null!==this.hasColor?this.computedColor:void 0}},watch:{indeterminate(e){this.$nextTick(()=>this.inputIndeterminate=e)},inputIndeterminate(e){this.$emit("update:indeterminate",e)},isActive(){this.indeterminate&&(this.inputIndeterminate=!1)}},methods:{genCheckbox(){const{title:e,...t}=this.attrs$;return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.$createElement(i.a,this.setTextColor(this.validationState,{props:{dense:this.dense,dark:this.dark,light:this.light}}),this.computedIcon),this.genInput("checkbox",{...t,"aria-checked":this.inputIndeterminate?"mixed":this.isActive.toString()}),this.genRipple(this.setTextColor(this.rippleState))])},genDefaultSlot(){return[this.genCheckbox(),this.genLabel()]}}})},rLC4:function(e,t,n){},rTvM:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return e.plansInstitutionPageAims&&e.plansInstitutionPageAims.length>0?t("v-card",{staticClass:"pt-4 pb-6 mx-auto",attrs:{elevation:"0","max-width":"1200",color:"transparent"}},[e.bannerImage?t("v-row",[t("v-col",{staticClass:"px-6",attrs:{cols:"12"}},[t("v-img",{attrs:{src:e.bannerImage,contain:"","max-height":"390"}}
315)],1)],1):e._e(),e._v(" "),t("v-row",{staticClass:"mx-1 mt-6 justify-space-between"},[t("v-col",{attrs:{cols:"12",md:"7"}},[e.isStaff?t("v-btn",{staticClass:"mb-6",attrs:{color:"primary",href:e.editInstitutionLink,text:""}},[t("v-icon",{attrs:{left:""}},[e._v("mdi-pencil")]),e._v("\n Edit institution\n ")],1):e._e(),e._v(" "),t("PublishingStatement",{attrs:{"publishing-text":e.publishingText,"institution-name":e.plan.institutionName,"submit-link":e.submitLink,"factsheet-link":e.factsheetLink,"approval-needed":e.approvalNeeded}}),e._v(" "),t("Overview",{staticClass:"mt-6",attrs:{content:e.plan.content}}),e._v(" "),t("Articles",{ref:"article-list",staticClass:"mt-6",attrs:{"institution-id":e.institutionIRI},on:{scrollToTop:e.scrollToTop}}),e._v(" "),t("Editors",{staticClass:"mt-6",attrs:{"institution-id":e.institutionIRI}})],1),e._v(" "),t("v-col",{attrs:{cols:"12",md:"5"}},[t("Membership",{attrs:{"institution-id":e.planId,"contact-email":e.plan.contactEmail,"start-date":e.plan.aimsMembershipStartDate,"end-date":e.plan.aimsMembershipEndDate,institutionName:e.plan.institutionName}}),e._v(" "),t("Contact",{staticClass:"mb-6",attrs:{"contact-email":e.plan.contactEmail,"institution-name":e.plan.institutionName}})],1)],1)],1):e._e()};i._withStripped=!0;var r=n("o0o1"),a=n.n(r),o=n("yXPU"),s=n.n(o),l=n("lSNA"),c=n.n(l),u=n("L2JU"),d=n("/IGq"),h=n("g0df"),f=n("kXbb"),p=n("KKAs"),m=n("+rrX"),g=n("zNrW");function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y={name:"Institution",components:{Articles:d.default,Overview:h.default,Contact:f.default,Membership:p.default,PublishingStatement:m.default,Editors:g.default},data:function(){return{config:null}},computed:b(b({},Object(u.c)("plansInstitutionPageAims",{plansInstitutionPageAims:"list"})),{},{institutionIRI:function(){return"/api/v2/plans_institution_pages/".concat(this.planId)},planId:function(){var e;return null===(e=this.controllerVars)||void 0===e?void 0:e.id},bannerImage:function(){var e;return null===(e=this.controllerVars)||void 0===e?void 0:e.banner_image},plan:function(){if(this.plansInstitutionPageAims)return this.plansInstitutionPageAims[0]},emailMatchBehaviour:function(){var e;return null===(e=this.plan)||void 0===e?void 0:e.emailMatchBehaviour},institutionMatchBehaviour:function(){var e;return null===(e=this.plan)||void 0===e?void 0:e.institutionMatchBehaviour},autoPublishing:function(){if(this.config)return this.config.publishingTexts.find((function(e){return"automatic"===e.type}))},manualPublishing:function(){if(this.config)return this.config.publishingTexts.find((function(e){return"manual"===e.type}))},submitLink:function(){var e,t;if(this.config)return"automatic"===this.emailMatchBehaviour||"automatic"===this.institutionMatchBehaviour?null===(e=this.autoPublishing)||void 0===e?void 0:e.submitLink:null===(t=this.manualPublishing)||void 0===t?void 0:t.submitLink.replace("<INSTITUTION_NAME>",this.plan.institutionName)},publishingText:function(){var e,t;return"automatic"===this.emailMatchBehaviour||"automatic"===this.institutionMatchBehaviour?null===(e=this.autoPublishing)||void 0===e?void 0:e.text.replaceAll("<INSTITUTION_NAME>",this.plan.institutionName):null===(t=this.manualPublishing)||void 0===t?void 0:t.text.replaceAll("<INSTITUTION_NAME>",this.plan.institutionName)},factsheetLink:function(){if(this.config)return this.config.factsheetLink},videoLink:function(){if(this.config)return this.config.videoLink},approvalNeeded:function(){return"automatic"!==this.emailMatchBehaviour&&"automatic"!==this.institutionMatchBehaviour},editInstitutionLink:function(){return"/institutions/".concat(this.planId,"/page/edit")}}),methods:b(b({},Object(u.b)("plansInstitutionPageAims",{fetchPlansInstitutionPageAims:"fetchAll"})),{},{scrollToTop:function(){var e=this.$refs["article-list"].$el.offsetTop;window.scrollTo({top:e,behavior:"smooth"})}}),created:function(){var e=this;return s()(a.a.mark((function t(){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.e(315).then(n.t.bind(null,"j7/J",3));case 2:return e.config=t.sent,t.next=5,e.fetchPlansInstitutionPageAims({institution:e.planId});case 5:case"end":return t.stop()}}),t)})))()}},_=(n("lHj7"),n("KHd+")),x=n("ZUTo"),w=n.n(x),k=n("gzZi"),S=n("sK+t"),M=n("Yq0q"),L=n("Ey0z"),A=n("rdoz"),O=n("D9m0"),C=Object(_.a)(y,i,[],!1,null,"0f468f16",null);t.default=C.exports;w()(C,{VBtn:k.a,VCard:S.a,VCol:M.a,VIcon:L.a,VImg:A.a,VRow:O.a})},rVqX:function(e,t,n){"use strict";var i=function(){var e=this._self._c,t=this._self._setupProxy;return e(t.VSelect,this._g(this._b({directives:[{name:"if-focused-element-detects-scroll-event",rawName:"v-if-focused-element-detects-scroll-event",value:t.hideSearchIfExternalScroll,expression:"hideSearchIfExternalScroll"}],ref:"VBetterSelect",on:{focus:t.enableHideEventAndAssignAriaAttrsToListbox,blur:function(e){return t.tidyUpInputWrapper(void 0)}}},"v-select",t.attrs,!1),t.listeners))};i._withStripped=!0;var r=n("o0o1"),a=n.n(r),o=n("yXPU"),s=n.n(o),l=n("Kw5r"),c=n("uXRr"),u=n("mwIZ"),d=n.n(u),h=n("Y+p1"),f=n.n(h),p=n("FAz/"),m={__name:"VBetterSelect",setup:function(e){var t=Object(l.useAttrs
315)(),n=Object(l.useListeners)(),i=Object(l.ref)(void 0),r=Object(p.a)().findChildAtAnyDepth,o=Object(l.ref)(!0),u=function(){var e,t,n,r=null===(e=i.value)||void 0===e||null===(t=e.$refs)||void 0===t||null===(n=t.menu)||void 0===n?void 0:n.$el;r&&(r.style.display="none"),i.value.blur(),o.value=!1},h=Object(l.ref)(void 0),m=function(){var e=s()(a.a.mark((function e(){var t,n,r,s,c,u;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.value=!0,s=null===(t=i.value)||void 0===t||null===(n=t.$el)||void 0===n?void 0:n.querySelector(".v-input__slot"),c=s.querySelector("input"),e.next=5,Object(l.nextTick)();case 5:return e.next=7,v();case 7:u=document.getElementById(h.value),null!==(r=u)&&void 0!==r&&r.getAttribute("aria-labelledby")||setTimeout((function(){(u=document.getElementById(h.value)).setAttribute("aria-labelledby",c.id)}),150);case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),g=function(){var e=s()(a.a.mark((function e(){var n,r,o,s,l;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=null===(n=i.value)||void 0===n||null===(r=n.$el)||void 0===r?void 0:r.querySelector(".v-input__slot"),s=null==o?void 0:o.getAttribute("aria-owns"),e.next=4,v(o);case 4:s&&(h.value=s,(l=o.querySelector("input"))&&!l.getAttribute("aria-controls")&&(l.setAttribute("aria-label",t.label),l.setAttribute("aria-controls",s),l.setAttribute("aria-haspopup","listbox")));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),v=function(){var e=s()(a.a.mark((function e(){var t,n,r,o=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=o.length>0&&void 0!==o[0]?o[0]:void 0,e.next=3,Object(l.nextTick)();case 3:(r=r||(null===(t=i.value)||void 0===t||null===(n=t.$el)||void 0===n?void 0:n.querySelector(".v-input__slot")))&&setTimeout((function(){r.removeAttribute("aria-owns"),r.removeAttribute("role"),r.removeAttribute("aria-haspopup"),r.removeAttribute("aria-expanded")}),150);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(l.onMounted)((function(){g()})),Object(l.watch)((function(){return t}),(function(e){g()}),{deep:!0}),{__sfc:!0,attrs:t,listeners:n,VBetterSelect:i,findChildAtAnyDepth:r,enableHideEvent:o,hideSearchIfExternalScroll:function(e){var t=e.scrolledElement;if(o.value){var n=d()(i.value,"$refs.menu.$children[0].$el");f()(n,t)||r(n,t)||u()}},hideSearch:u,listId:h,enableHideEventAndAssignAriaAttrsToListbox:m,assignAriaAttrsFromWrapperToInput:g,tidyUpInputWrapper:v,VSelect:c.a}}},g=n("KHd+"),v=n("ZUTo"),b=n.n(v),y=Object(g.a)(m,i,[],!1,null,null,null);t.a=y.exports;b()(y,{VSelect:c.a})},raLr:function(e,t,n){!function(e){"use strict";
316//! moment.js locale configuration 317function t(e,t,n){var i,r;return"m"===n?t?"Ñ Ð²Ð¸Ð»Ð¸Ð½Ð°":"Ñ Ð²Ð¸Ð»Ð¸Ð½Ñ":"h"===n?t?"година":"годинÑ":e+" "+(i=+e,r={ss:t?"ÑекÑнда_ÑекÑнди_ÑекÑнд":"ÑекÑндÑ_ÑекÑнди_ÑекÑнд",mm:t?"Ñ Ð²Ð¸Ð»Ð¸Ð½Ð°_Ñ Ð²Ð¸Ð»Ð¸Ð½Ð¸_Ñ Ð²Ð¸Ð»Ð¸Ð½":"Ñ Ð²Ð¸Ð»Ð¸Ð½Ñ_Ñ Ð²Ð¸Ð»Ð¸Ð½Ð¸_Ñ Ð²Ð¸Ð»Ð¸Ð½",hh:t?"година_години_годин":"годинÑ_години_годин",dd:"денÑ_днÑ_днÑв",MM:"мÑÑÑÑÑ_мÑÑÑÑÑ_мÑÑÑÑÑв",yy:"ÑÑк_Ñоки_ÑокÑв"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}function n(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"ÑÑÑнÑ_лÑÑого_беÑезнÑ_квÑÑнÑ_ÑÑавнÑ_ÑеÑвнÑ_липнÑ_ÑеÑпнÑ_веÑеÑнÑ_жовÑнÑ_лиÑÑопада_гÑÑднÑ".split("_"),standalone:"ÑÑÑенÑ_лÑÑий_беÑезенÑ_квÑÑенÑ_ÑÑавенÑ_ÑеÑвенÑ_липенÑ_ÑеÑпенÑ_веÑеÑенÑ_жовÑенÑ_лиÑÑопад_гÑÑденÑ".split("_")},monthsShort:"ÑÑÑ_лÑÑ_беÑ_квÑÑ_ÑÑав_ÑеÑв_лип_ÑеÑп_веÑ_жовÑ_лиÑÑ_гÑÑд".split("_"),weekdays:function(e,t){var n={nominative:"недÑлÑ_понедÑлок_вÑвÑоÑок_ÑеÑеда_ÑеÑвеÑ_пâÑÑниÑÑ_ÑÑбоÑа".split("_"),accusative:"недÑлÑ_понедÑлок_вÑвÑоÑок_ÑеÑедÑ_ÑеÑвеÑ_пâÑÑниÑÑ_ÑÑбоÑÑ".split("_"),genitive:"недÑлÑ_понедÑлка_вÑвÑоÑка_ÑеÑеди_ÑеÑвеÑга_пâÑÑниÑÑ_ÑÑбоÑи".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[ÐвУÑ]\]) ?dddd/.test(t)?"accusative":/\[?(?:минÑлоÑ|наÑÑÑпноÑ)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),weekdaysMin:"нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY Ñ.",LLL:"D MMMM YYYY Ñ., HH:mm",LLLL:"dddd, D MMMM YYYY Ñ., HH:mm"},calendar:{sameDay:n("[СÑÐ¾Ð³Ð¾Ð´Ð½Ñ "),nextDay:n("[ÐавÑÑа "),lastDay:n("[ÐÑоÑа "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[ÐинÑлоÑ] dddd [").call(this);case 1:case 2:case 4:return n("[ÐинÑлого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s ÑомÑ",s:"декÑлÑка ÑекÑнд",ss:t,m:t,mm:t,h:"годинÑ",hh:t,d:"денÑ",dd:t,M:"мÑÑÑÑÑ",MM:t,y:"ÑÑк",yy:t},meridiemParse:/ноÑÑ|ÑанкÑ|днÑ|веÑоÑа/,isPM:function(e){return/^(днÑ|веÑоÑа)$/.test(e)},meridiem:function(e,t,n){return e<4?"ноÑÑ":e<12?"ÑанкÑ":e<17?"днÑ":"веÑоÑа"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},rdoz:function(e,t,n){"use strict";n("jvwZ");var i=n("kKKM"),r=n("eNcc"),a=n("dWAg"),o=n("WN+I"),s=n("2fdy"),l=n("2b3T"),c=n("gNKD");const u="undefined"!=typeof window&&"IntersectionObserver"in window;t.a=Object(o.a)(r.a,a.a).extend({name:"v-img",directives:{intersect:i.a},props:{alt:String,contain:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},position:{type:String,default:"center center"},sizes:String,src:{type:[String,Object],default:""},srcset:String,transition:{type:[Boolean,String],default:"fade-transition"}},data:()=>({currentSrc:"",image:null,isLoading:!0,calculatedAspectRatio:void 0,naturalWidth:void 0,hasError:!1}),computed:{computedAspectRatio(){return Number(this.normalisedSrc.aspect||this.calculatedAspectRatio)},normalisedSrc(){return this.src&&"object"==typeof this.src?{src:this.src.src,srcset:this.srcset||this.src.srcset,lazySrc:this.lazySrc||this.src.lazySrc,aspect:Number(this.aspectRatio||this.src.aspect)}:{src:this.src,srcset:this.srcset,lazySrc:this.lazySrc,aspect:Number(this.aspectRatio||0)}}
317,__cachedImage(){if(!(this.normalisedSrc.src||this.normalisedSrc.lazySrc||this.gradient))return[];const e=[],t=this.isLoading?this.normalisedSrc.lazySrc:this.currentSrc;this.gradient&&e.push(`linear-gradient(${this.gradient})`),t&&e.push(`url("${t}")`);const n=this.$createElement("div",{staticClass:"v-image__image",class:{"v-image__image--preload":this.isLoading,"v-image__image--contain":this.contain,"v-image__image--cover":!this.contain},style:{backgroundImage:e.join(", "),backgroundPosition:this.position},key:+this.isLoading});return this.transition?this.$createElement("transition",{attrs:{name:this.transition,mode:"in-out"}},[n]):n}},watch:{src(){this.isLoading?this.loadImage():this.init(void 0,void 0,!0)},"$vuetify.breakpoint.width":"getSrc"},mounted(){this.init()},methods:{init(e,t,n){if(!u||n||this.eager){if(this.normalisedSrc.lazySrc){const e=new Image;e.src=this.normalisedSrc.lazySrc,this.pollForSize(e,null)}this.normalisedSrc.src&&this.loadImage()}},onLoad(){this.getSrc(),this.isLoading=!1,this.$emit("load",this.src),this.image&&(this.normalisedSrc.src.endsWith(".svg")||this.normalisedSrc.src.startsWith("data:image/svg+xml"))&&(this.image.naturalHeight&&this.image.naturalWidth?(this.naturalWidth=this.image.naturalWidth,this.calculatedAspectRatio=this.image.naturalWidth/this.image.naturalHeight):this.calculatedAspectRatio=1)},onError(){this.hasError=!0,this.$emit("error",this.src)},getSrc(){this.image&&(this.currentSrc=this.image.currentSrc||this.image.src)},loadImage(){const e=new Image;this.image=e,e.onload=()=>{e.decode?e.decode().catch(e=>{Object(l.c)("Failed to decode image, trying to render anyway\n\nsrc: "+this.normalisedSrc.src+(e.message?"\nOriginal error: "+e.message:""),this)}).then(this.onLoad):this.onLoad()},e.onerror=this.onError,this.hasError=!1,this.sizes&&(e.sizes=this.sizes),this.normalisedSrc.srcset&&(e.srcset=this.normalisedSrc.srcset),e.src=this.normalisedSrc.src,this.$emit("loadstart",this.normalisedSrc.src),this.aspectRatio||this.pollForSize(e),this.getSrc()},pollForSize(e,t=100){const n=()=>{const{naturalHeight:i,naturalWidth:r}=e;i||r?(this.naturalWidth=r,this.calculatedAspectRatio=r/i):e.complete||!this.isLoading||this.hasError||null==t||setTimeout(n,t)};n()},genContent(){const e=r.a.options.methods.genContent.call(this);return this.naturalWidth&&this._b(e.data,"div",{style:{width:this.naturalWidth+"px"}}),e},__genPlaceholder(){const e=Object(c.s)(this,"placeholder");if(e){const t=this.isLoading?[this.$createElement("div",{staticClass:"v-image__placeholder"},e)]:[];return this.transition?this.$createElement("transition",{props:{appear:!0,name:this.transition}},t):t[0]}}},render(e){const t=r.a.options.render.call(this,e),n=Object(s.a)(t.data,{staticClass:"v-image",attrs:{"aria-label":this.alt,role:this.alt?"img":void 0},class:this.themeClasses,directives:u?[{name:"intersect",modifiers:{once:!0},value:{handler:this.init,options:this.options}}]:void 0});return t.children=[this.__cachedSizer,this.__cachedImage,this.__genPlaceholder(),this.genContent()],e(t.tag,n,t.children)}})},reo2:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var i=n("lwsE"),r=n.n(i),a=n("W8MJ"),o=n.n(a),s=n("7W2i"),l=n.n(s),c=n("a1gu"),u=n.n(c),d=n("Nsbk"),h=n.n(d),f=n("2waU"),p=n("IJJa"),m=n("1IrZ"),g=n("6OTJ"),v=n("koCO");function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=h()(e);if(t){var r=h()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return u()(this,n)}}var y=function(e){l()(n,e);var t=b(n);function n(e){var i;return r()(this,n),(i=t.call(this,e)).minimumReviewers=e.minimum_reviewers,i.minimumReviews=e.minimum_reviews,i.title=e.title,i}return n}(m.a),_=n("/hMX");n("vDqi");function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=h()(e);if(t){var r=h()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return u()(this,n)}}var w=function(e){l()(n,e);var t=x(n);function n(e){var i;return r()(this,n),(i=t.call(this,e)).email=e.email,i.name=e.name,i.links={user:e._links.user},i}return n}(m.a);function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=h()(e);if(t){var r=h()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return u()(this,n)}}var S=function(e){l()(n,e);var t=k(n);function n(e){var i;return r()(this,n),(i=t.call(this,e)).id=e.id,i.subject=e.subject,i.sent=e.sent,i.recipients=new v.a(e.recipients,w),i.senderName=e.senderName,i.textContent=e.textContent?e.textContent:"",i.htmlContent=e.htmlContent?e.htmlContent:"",i.links={html:e._links.html,text:e._links.text,self:e._links.self},i}return o()(n,[{key:"getEmailContent",value:function(e){var t=this;return new Promise((function(n,i){_.a.call({url:t.links[e]}).then((function(e){n(e.data)})).catch((function(e){i(e)}))}))}},{key:"resendEmail",value:function(){var e=this;return new Promise((function(t,n){_.a.call({url:e.apiId,queryParams:{action:"resend"},method:"POST"}).then((function(e){t(e)})).catch((function(e){n(e)}))}))}},{key:"sendEmailToMe",value:function(){var e=this;return new Promise((function(t,n){_.a.call({url:e.apiId,queryParams:{action:"send-to-me"},method:"POST"}).then((function(e){t(e)})).catch((function(e){n(e)}))}))}}]),n}(m.a);function M(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=h()(e);if(t){var r=h()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return u()(this,n)}}var L=function(e){l()(n,e);var t=M(n);function n(e){var i;return r()(this,n),(i=t.call(this,e)).id=e.id,i.subject=e.subject,i.sender=e.sender,i.recipients=e.recipients,i.status=e.status,i.messageDate=e.messageDate,i.source=e.source,i.links={body:e._links.body},i}return o()(n,[{key:"getEmailContent",value:function(){var e=this;return new Promise((function(t,n){_.a.call({url:e.links.body}).then((function(e){t(e.data)})).catch((function(e){n(e)}))}))}}]),n}(m.a);function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=h()(e);if(t){var r=h()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return u()(this,n)}}var O=function(e){l()(n,e);var t=A(n);function n(e){var i;return r()(this,n),(i=t.call(this,e)).endpoints=n.endpoints,i.title=e.title,i.allowReviewerVolunteers=e.allowedReviewerVolunteers,i.status=e.status,i.checker=e.checker?new g.a(e.checker):null,i.hasPreviousSubmission=e.hasPreviousSubmission,i.hasPreviousDecision=e.hasPreviousDecision,i.authorChanges=e.authorChanges?e.authorChanges:[],i.currentRevisionSubmitted=e.currentRevisionSubmitted,i.links={authorAddresses:e._links.authorAddresses,currentRevision:e._links.currentRevision,revisions:e._links.revisions,externalMessages:e._links.externalMessages,messages:e._links.messages},e.hasOwnProperty("articleNotes")&&(i.articleNotes=new v.a(e.articleNotes,p.a)),i.allowedArticleNoteTypes=e.allowedArticleNoteTypes||[],i}return o()(n,[{key:"getMessages",value:function(e,t,n,i){return"system"==e?this.get
317SystemMessages(t,n,i):this.getExternalMessages(t,n)}},{key:"getSystemMessages",value:function(e,t,n){var i=this;return new Promise((function(r,a){S.get({url:i.links.messages,queryParams:{"include-content":n?1:0},paginationPage:e,paginationLimit:t}).then((function(e){r(e)})).catch((function(e){a(e)}))}))}},{key:"getExternalMessages",value:function(e,t){var n=this;return new Promise((function(i,r){L.get({url:n.links.externalMessages,paginationPage:e,paginationLimit:t}).then((function(e){i(e)})).catch((function(e){r(e)}))}))}},{key:"getCurrentRevision",value:function(){var e=this;return new Promise((function(t,n){y.get({url:e.links.currentRevision}).then((function(e){t(e)})).catch((function(e){n(e)}))}))}},{key:"getAuthorAddresses",value:function(e,t,n){var i=this;return new Promise((function(n,r){f.a.get({url:i.links.authorAddresses,paginationPage:e,paginationLimit:t}).then((function(e){n(e)})).catch((function(e){r(e)}))}))}}],[{key:"endpoints",get:function(){return{get:"articles/{id}/",list:"articles/"}}}]),n}(m.a)},rjHT:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("div",[e._l(e.singleQueryChips,(function(n,i){return t("v-chip",{key:i+n.value,staticClass:"mr-1 mb-1",attrs:{small:"",color:n.color},on:{click:function(t){return e.emitClick({param:n.name})}}},[e._v(e._s(n.value)),t("v-icon",{attrs:{right:"",small:"","aria-label":"remove ".concat(n.label," filter")}},[e._v("mdi-close-circle")])],1)})),e._v(" "),e._l(e.numberFiltersActive,(function(n,i){return t("v-chip",{key:"num",staticClass:"mr-1 mb-1",attrs:{small:"",color:"primary"},on:{click:function(t){return e.emitClick({param:n})}}},[e._v(e._s(e.numberParams[n].label)+" "+e._s(e.queryParams[n])+" "),t("v-icon",{attrs:{right:"",small:"","aria-label":e.numberParams[n].aria}},[e._v("mdi-close-circle")])],1)})),e._v(" "),t("div",e._l(e.subjectFilters,(function(n,i){return t("v-chip",{key:i+"sub",staticClass:"mr-1 mb-1",attrs:{small:"",color:"success darken-1"},on:{click:function(t){return t.preventDefault(),e.emitClick({param:"subject",val:n})}}},[e._v(e._s(e._f("formatString")(n))+" "),t("v-icon",{attrs:{right:"",small:"","aria-label":"remove subject filter"}},[e._v("mdi-close-circle")])],1)})),1),e._v(" "),t("div",e._l(e.tagFilters,(function(n,i){return t("v-chip",{key:i+"tag",staticClass:"mr-1 mb-1",attrs:{small:"",color:"deep-orange white--text"},on:{click:function(t){return t.preventDefault(),e.emitClick({param:"tag",val:n})}}},[e._v(e._s(e._f("formatString")(n))+" "),t("v-icon",{attrs:{right:"",small:"","aria-label":"remove tag filter"}},[e._v("mdi-close-circle")])],1)})),1)],2)};i._withStripped=!0;var r=n("lSNA"),a=n.n(r),o=n("bbSu"),s=n("L2JU"),l=n("O0D+");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={"version-number-gte":{paramName:"version-number-gte",label:"Version # >=",aria:"remove version # gte filter"},"version-number-lte":{paramName:"version-number-lte",label:"Version # <=",aria:"remove version # lte filter"},"revision-number-gte":{paramName:"revision-number-gte",label:"Revision # >=",aria:"remove revision # gte filter"},"revision-number-lte":{paramName:"revision-number-lte",label:"Revision # <=",aria:"remove revision # lte filter"},"downloads-gte":{paramName:"downloads-gte",label:"Downloads >=",aria:"remove downloads gte filter"},"downloads-lte":{paramName:"downloads-lte",label:"Downloads <=",aria:"remove downloads lte filter"},"citations-gte":{paramName:"citations-gte",label:"Citations >=",aria:"remove citations gte filter"},"citations-lte":{paramName:"citations-lte",label:"Citations <=",aria:"remove citations lte filter"},"published-gte":{paramName:"published-gte",label:"Year >=",aria:"remove year published gte filter"},"published-lte":{paramName:"published-lte",label:"Year <=",aria:"remove year published lte filter"},"votes-gte":{paramName:"votes-gte",label:"Votes >=",aria:"remove votes gte filter"},"votes-lte":{paramName:"votes-lte",label:"Votes <=",aria:"remove votes lte filter"},"answers-gte":{paramName:"answers-gte",label:"Answers >=",aria:"remove answers gte filter"},"answers-lte":{paramName:"answers-lte",label:"Answers <=",aria:"remove answers lte filter"}},h={props:{queryParams:Object,subjectFilters:Array,tagFilters:Array},data:function(){return{numberParams:d}},methods:{emitClick:function(e){o.a.$emit(l.default.SEARCH_QUERY_PARAM_CHANGE,e)},canDisplay:function(e){if(!this.queryParams[e])return!1;var t=this.searchParams.ALLOWED_TYPES_BY_PARAM,n=this.queryParams.type;return!n||!(!t[e]||!t[e].includes(n))}
317,formatString:function(e){if(e)return"expertrxiv"===(e=e.replace(/-/g," "))&&(e="ExpertRðiv"),e},formatTime:function(e){return this.searchParams.DATE_KEYS[e]}},computed:u(u(u({},Object(s.c)("search",["hasNumberFilterActive","numberFiltersActive","journalDisplayName"])),Object(s.e)("search",["searchParams"])),{},{singleQueryChips:function(){var e=this;return[{name:"journal",label:"journal",color:"primary",value:this.journalDisplayName},{name:"section",label:"section",color:"primary",value:this.queryParams.section},{name:"discipline",label:"section",color:"primary",value:this.queryParams.discipline},{name:"hub",label:"hub",color:"primary",value:this.queryParams.hub},{name:"reviewer-status",label:"status",color:"primary",value:this.queryParams["reviewer-status"]},{name:"status",label:"status",color:"primary",value:this.queryParams.status},{name:"manuscriptType",label:"manuscript type",color:"primary",value:this.formatString(this.queryParams.manuscriptType)},{name:"faqType",label:"FAQ type",color:"dark",value:"FAQ â "+this.queryParams.faqType},{name:"assigned",label:"assigned",color:"red darken-1",value:this.queryParams.assigned},{name:"team",label:"team",color:"dark",value:this.queryParams.team+" Team"},{name:"help",label:"help",color:"success",value:this.formatString(this.queryParams.help)+" help"},{name:"assigned",label:"assigned",color:"red darken-1",value:this.queryParams.assigned},{name:"research",label:"research",color:"success",value:this.formatString(this.queryParams.research)},{name:"country",label:"country",color:"primary",value:this.queryParams.country},{name:"t",label:"date type",color:"primary",value:this.formatTime(this.queryParams.t)}].filter((function(t){return e.canDisplay(t.name)}))}}),filters:{formatString:function(e){return"expertrxiv"===(e=e.replace(/-/g," "))&&(e="ExpertRðiv"),e}}},f=(n("2S71"),n("KHd+")),p=n("ZUTo"),m=n.n(p),g=n("zCDB"),v=n("Ey0z"),b=Object(f.a)(h,i,[],!1,null,"d854f232",null);t.default=b.exports;m()(b,{VChip:g.a,VIcon:v.a})},rslu:function(e,t,n){"use strict";n.r(t),t.default={path:"/brand-guidance/",name:"brand-guidance",component:function(){return n.e(242).then(n.bind(null,"BbwJ"))}}},"s+uk":function(e,t,n){!function(e){"use strict";
318//! moment.js locale configuration 319function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},sEfC:function(e,t,n){var i=n("GoyQ"),r=n("QIyF"),a=n("tLB3"),o=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,u,d,h,f,p=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=l,i=c;return l=c=void 0,p=t,d=e.apply(i,n)}function y(e){return p=e,h=setTimeout(x,t),m?b(e):d}function _(e){var n=e-f;return void 0===f||n>=t||n<0||g&&e-p>=u}function x(){var e=r();if(_(e))return w(e);h=setTimeout(x,function(e){var n=t-(e-f);return g?s(n,u-(e-p)):n}(e))}function w(e){return h=void 0,v&&l?b(e):(l=c=void 0,d)}function k(){var e=r(),n=_(e);if(l=arguments,c=this,f=e,n){if(void 0===h)return y(f);if(g)return clearTimeout(h),h=setTimeout(x,t),b(f)}return void 0===h&&(h=setTimeout(x,t)),d}return t=a(t)||0,i(n)&&(m=!!n.leading,u=(g="maxWait"in n)?o(a(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),k.cancel=function(){void 0!==h&&clearTimeout(h),p=0,l=f=c=h=void 0},k.flush=function(){return void 0===h?d:w(r())},k}},sNUu:function(e,t,n){"use strict";var i=n("PQko"),r=n("sWYD"),a=n("dLU1"),o=n("4+6U"),s=n("0UaF"),l=n("cb+M"),c=function(e){return e&&e.length<12&&(e+="T00:00:00+00:00"),Object(i.a)(e)};t.a={format:function(e,t){return Object(r.a)(c(e),t)},formatInTimeZone:function(e,t,n){return Object(r.a)(Object(l.a)(e,n),t,{timeZone:n})},addMonths:function(e,t){return Object(a.a)(Object(o.a)(e),t)},formatToNowVeryShort:function(e,t){var n=Object(s.a)(c(e),new Date,{unit:"minute"}).split(" ")[0];return 0==n?"< 1 min":1==n?"1m":n<60?n+"m":n<120?"1h":n<=1440?Math.floor(n/60)+"h":n<=10080?Math.floor(n/24/60)+"d":this.format(e,t)},formatDateToNowShort:function(e,t){var n=Object(s.a)(c(e),new Date,{unit:"minute"}).split(" ")[0];return 0==n?"< 1 min":1==n?"1 min":n<60?n+" min":n<120?"1 hr":n<=1440?Math.floor(n/60)+" hrs":n<=10080?Math.floor(n/24/60)+" days":this.format(e,t)},formatDateToNow:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=Object(s.a)(c(e),new Date,{unit:"minute"}),r=i.split(" "),a=r[0];return 0==a?"Less than a minute ago":1==a?"1 minute ago":a<60?a+" minutes ago":a<120?"1 hour ago":a<=1440?Math.floor(a/60)+" hours ago":n&&a<=10080?(t=t.split(", Y").shift(),this.format(e,t)):this.format(e,t)},formatDateToDaysAgo:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d MMM Y";if(!e||"string"!=typeof e)return"";var n=Object(s.a)(c(e),new Date,{unit:"minute"}),i=parseInt(n.split(" ")[0]);switch(!0){case 0===i:return"Less than a minute ago";case 1===i:return"1 minute ago";case i<60:return i+" minutes ago";case i<120:return"1 hour ago";case i<=1440:return Math.floor(i/60)+" hours ago";case i<=10080:var r=Math.ceil(i/1440);return"".concat(r," day").concat(r>1?"s":""," ago");default:return this.format(e,t)}}}},sXyB:function(e,t,n){var i=n("SksO");function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function a(t,n,o){return r()?e.exports=a=Reflect.construct:e.exports=a=function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&i(a,n.prototype),a},a.apply(null,arguments)}
319e.exports=a},sgoq:function(e,t,n){var i=n("asDA"),r=n("TKrE"),a=n("6nK8"),o=RegExp("['â]","g");e.exports=function(e){return function(t){return i(a(r(t).replace(o,"")),e,"")}}},shJy:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"pl-4 pb-4"},[t("search-selected-filters",{attrs:{queryParams:e.localParams,subjectFilters:e.subjectFilters,tagFilters:e.tagFilters}})],1),e._v(" "),t("transition",{attrs:{name:"transition-slide-fade"}},[e.showMoreFilters?t("div",[e.showRevisionFilters?t("div",[t("div",{staticClass:"text-h6 pl-4 mb-3"},[e._v("Revision number")]),e._v(" "),t("v-row",{staticClass:"mb-4 pl-4"},[t("v-col",{attrs:{cols:"6"}},[t("v-text-field",{staticClass:"col-12",attrs:{filled:"",dense:"",type:"number",placeholder:"Min"},model:{value:e.revisionNumberGte,callback:function(t){e.revisionNumberGte=e._n(t)},expression:"revisionNumberGte"}})],1),e._v(" "),t("v-col",{attrs:{cols:"6"}},[t("v-text-field",{staticClass:"col-12",attrs:{filled:"",dense:"",type:"number",placeholder:"Max"},model:{value:e.revisionNumberLte,callback:function(t){e.revisionNumberLte=e._n(t)},expression:"revisionNumberLte"}})],1)],1)],1):e._e(),e._v(" "),e.showVersionFilters?t("div",[t("div",{staticClass:"text-h6 pl-4 mb-3"},[e._v("Version number")]),e._v(" "),t("v-row",{staticClass:"mb-4 pl-4"},[t("v-col",{attrs:{cols:"6"}},[t("v-text-field",{staticClass:"col-12",attrs:{filled:"",dense:"",type:"number",placeholder:"Min"},model:{value:e.versionNumberGte,callback:function(t){e.versionNumberGte=e._n(t)},expression:"versionNumberGte"}})],1),e._v(" "),t("v-col",{attrs:{cols:"6"}},[t("v-text-field",{staticClass:"col-12",attrs:{filled:"",dense:"",type:"number",placeholder:"Max"},model:{value:e.versionNumberLte,callback:function(t){e.versionNumberLte=e._n(t)},expression:"versionNumberLte"}})],1)],1)],1):e._e(),e._v(" "),e.showCitationFilter?t("div",[t("div",{staticClass:"text-h6 pl-4 mb-3"},[e._v("Citations")]),e._v(" "),t("v-row",{staticClass:"mb-4 pl-4"},[t("v-col",{attrs:{cols:"6"}},[t("v-text-field",{staticClass:"col-12",attrs:{filled:"",dense:"",type:"number",placeholder:"Min"},model:{value:e.citationsGte,callback:function(t){e.citationsGte=e._n(t)},expression:"citationsGte"}})],1),e._v(" "),t("v-col",{attrs:{cols:"6"}},[t("v-text-field",{staticClass:"col-12",attrs:{filled:"",dense:"",type:"number",placeholder:"Max"},model:{value:e.citationsLte,callback:function(t){e.citationsLte=e._n(t)},expression:"citationsLte"}})],1)],1)],1):e._e(),e._v(" "),e.showDownloadsFilter?t("div",[t("div",{staticClass:"text-h6 pl-4 mb-3"},[e._v("Downloads")]),e._v(" "),t("v-row",{staticClass:"mb-4 pl-4"},[t("v-col",{attrs:{cols:"6"}},[t("v-text-field",{staticClass:"col-12",attrs:{filled:"",dense:"",type:"number",placeholder:"Min"},model:{value:e.downloadsGte,callback:function(t){e.downloadsGte=t},expression:"downloadsGte"}})],1),e._v(" "),t("v-col",{attrs:{cols:"6"}},[t("v-text-field",{staticClass:"col-12",attrs:{filled:"",dense:"",type:"number",placeholder:"Max"},model:{value:e.downloadsLte,callback:function(t){e.downloadsLte=t},expression:"downloadsLte"}})],1)],1)],1):e._e(),e._v(" "),e.showVotesFilter?t("div",[t("div",{staticClass:"text-h6 pl-4 mb-3"},[e._v("Votes")]),e._v(" "),t("v-row",{staticClass:"mb-4 pl-4"},[t("v-col",{attrs:{cols:"6"}},[t("v-text-field",{staticClass:"col-12",attrs:{filled:"",dense:"",type:"number",placeholder:"Min"},model:{value:e.votesGte,callback:function(t){e.votesGte=e._n(t)},expression:"votesGte"}})],1),e._v(" "),t("v-col",{attrs:{cols:"6"}},[t("v-text-field",{staticClass:"col-12",attrs:{filled:"",dense:"",type:"number",placeholder:"Max"},model:{value:e.votesLte,callback:function(t){e.votesLte=e._n(t)},expression:"votesLte"}})],1)],1)],1):e._e(),e._v(" "),e.showAnswersFilter?t("div",[t("div",{staticClass:"text-h6 pl-4 mb-3"},[e._v("Answers")]),e._v(" "),t("v-row",{staticClass:"mb-4 pl-4"},[t("v-col",{attrs:{cols:"6"}},[t("v-text-field",{staticClass:"col-12",attrs:{filled:"",dense:"",type:"number",placeholder:"Min"},model:{value:e.answersGte,callback:function(t){e.answersGte=e._n(t)},expression:"answersGte"}}
319)],1),e._v(" "),t("v-col",{attrs:{cols:"6"}},[t("v-text-field",{staticClass:"col-12",attrs:{filled:"",dense:"",type:"number",placeholder:"Max"},model:{value:e.answersLte,callback:function(t){e.answersLte=e._n(t)},expression:"answersLte"}})],1)],1)],1):e._e(),e._v(" "),e.showPublicationFilters?t("div",{staticClass:"mb-12"},[t("div",{staticClass:"text-h6 pl-4 mb-3"},[e._v("Published Years")]),e._v(" "),t("v-row",{staticClass:"mb-4 pl-4"},[t("v-col",{attrs:{cols:"6"}},[t("app-button-dropdown",{attrs:{param:"published-gte",title:"From",items:e.publicationYears,selected:e.localParams["published-gte"]},on:{click:e.updateParams}})],1),e._v(" "),t("v-col",{attrs:{cols:"6"}},[t("app-button-dropdown",{attrs:{param:"published-lte",title:"Until",items:e.publicationYears,selected:e.localParams["published-lte"]},on:{click:e.updateParams}})],1)],1)],1):e._e(),e._v(" "),t("v-divider",{staticClass:"mb-8"})],1):e._e()]),e._v(" "),t("div",{staticClass:"my-8"},e._l(e.percentileAggs,(function(e,n){return t("search-agg-percentile",{key:n,staticClass:"mb-2",attrs:{aggPercentile:e}})})),1),e._v(" "),e.loading?e._e():t("div",[Object.keys(e.highlightCollection).length>0?t("div",{staticClass:"mb-4 pl-lg-4"},[t("v-card",{staticClass:"mx-auto",attrs:{flat:""}},[t("v-img",{staticClass:"white--text align-end",attrs:{height:"200px",src:e.highlightCollection.image,alt:e.highlightCollection.title}},[t("v-card-title",{staticStyle:{"background-color":"#747474"}},[e._v("Related PeerJ Collection")])],1),e._v(" "),t("v-card-text",[t("p",{directives:[{name:"markdown",rawName:"v-markdown",value:e.highlightCollection.summaryText,expression:"highlightCollection.summaryText"}]})]),e._v(" "),t("v-card-actions",[t("v-btn",{attrs:{href:e.highlightCollection.fullPath,text:"",block:"",color:"primary"}},[e._v("See the collection")])],1)],1)],1):e._e(),e._v(" "),t("div",e._l(e.aggSections,(function(n,i,r){return t("app-aggs",{key:i,attrs:{aggs:n.aggs,title:n.title,date:n.date,alwaysCreateModal:n.alwaysCreateModal,param:i,limit:n.limit,showMoreTitle:n.showMoreTitle,subjectFilters:e.subjectFilters,tagFilters:e.tagFilters,index:r}})})),1)])],1)};i._withStripped=!0;var r=n("RIqP"),a=n.n(r),o=n("lSNA"),s=n.n(o),l=n("bbSu"),c=n("L2JU"),u=n("Vckv"),d=n("rjHT"),h=n("QfBk"),f=n("O0D+"),p=n("b9f4");function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v,b={name:"SearchSidebar.vue",components:{appButtonDropdown:h.default,searchSelectedFilters:d.default,searchAggPercentile:p.default,appAggs:u.default},props:{loading:Boolean,showMoreFilters:Boolean,queryParams:Object,aggSections:Object,subjectFilters:Array,tagFilters:Array,highlightCollection:Object},mounted:function(){l.a.$on("paramsUpdated",this.updateParams)},beforeDestroy:function(){l.a.$off("paramsUpdated",this.updateParams)},computed:g(g({},Object(c.e)("search",["searchParams","aggs"])),{},{localParams:{get:function(){return this.queryParams}},versionNumberGte:{get:function(){return this.localParams["version-number-gte"]},set:function(e){var t=this,n={param:"version-number-gte",val:e};clearTimeout(v),v=setTimeout((function(){t.updateParams(n)}),700)}},versionNumberLte:{get:function(){return this.localParams["version-number-lte"]},set:function(e){var t=this,n={param:"version-number-lte",val:e};clearTimeout(v),v=setTimeout((function(){t.updateParams(n)}),700)}},revisionNumberGte:{get:function(){return this.localParams["revision-number-gte"]},set:function(e){var t=this,n={param:"revision-number-gte",val:e};clearTimeout(v),v=setTimeout((function(){t.updateParams(n)}),700)}},revisionNumberLte:{get:function(){return this.localParams["revision-number-lte"]},set:function(e){var t=this,n={param:"revision-number-lte",val:e};clearTimeout(v),v=setTimeout((function(){t.updateParams(n)}),700)}},citationsGte:{get:function(){return this.localParams["citations-gte"]},set:function(e){var t=this,n={param:"citations-gte",val:e};clearTimeout(v),v=setTimeout((function(){t.updateParams(n)}),700)}},citationsLte:{get:function(){return this.localParams["citations-lte"]},set:function(e){var t=this,n={param:"citations-lte",val:e};clearTimeout(v),v=setTimeout((function(){t.updateParams(n)}),700)}},downloadsGte:{get:function(){return this.localParams["downloads-gte"]},set:function(e){var t=this,n={param:"downloads-gte",val:e};clearTimeout(v),v=setTimeout((function(){t.updateParams(n)}),700)}},downloadsLte:{get:function(){return this.localParams["downloads-lte"]},set:function(e){var t=this,n={param:"downloads-lte",val:e};clearTimeout(v),v=setTimeout((function(){t.updateParams(n)}),700)}},votesGte:{get:function(){return this.localParams["votes-gte"]},set:function(e){var t=this,n={param:"votes-gte",val:e};clearTimeout(v),v=setTimeout((function(){t.updateParams(n)}),700)}},votesLte:{get:function(){return this.localParams["votes-lte"]},set:function(e){var t=this,n={param:"votes-lte",val:e};clearTimeout(v),v=setTimeout((function(){t.updateParams(n)}),700)}},answersGte:{get:function(){return this.localParams["answers-gte"]},set:function(e){var t=this,n={param:"answers-gte",val:e};clearTimeout(v),v=setTimeout((function(){t.updateParams(n)}),700)}},answersLte:{get:function(){return this.localParams["answers-lte"]},set:function(e){var t=this,n={param:"answers-lte",val:e};clearTimeout(v),v=setTimeout((function(){t.updateParams(n)}),700)}},showRevisionFilters:function(){return!!this.searchParams.REVISION_FILTER_TYPES&&this.searchParams.REVISION_FILTER_TYPES.includes(this.localParams.type)},showVersionFilters:function(){return!!this.searchParams.VERSION_FILTER_TYPES&&this.searchParams.VERSION_FILTER_TYPES.includes(this.localParams.type)},showPublicationFilters:function(){return this.searchParams.PUBLICATION_FILTER_TYPES.includes(this.localParams.type)},showCitationFilter:function(){return this.searchParams.CITATION_FILTER_TYPES.includes(this.localParams.type)},showDownloadsFilter:function(){return this.searchParams.DOWNLOAD_FILTER_TYPES.includes(this.localParams.type)},showAnswersFilter:function(){return this.searchParams.ANSWER_FILTER_TYPES.includes(this.localParams.type)},showVotesFilter:function(){return this.searchParams.VOTE_FILTER_TYPES.includes(this.localParams.type)},publicationYears:function(){var e=(new Date).getFullYear(),t=Array.from({length:e+1-2013},(function(e,t){return t+2013})).map((function(e){return{name:e,title:e,slug:e}}));return[].concat([{name:"Any year",title:"Any year",slug:"Any year"}],a()(t))},percentileAggs:function(){var e=[];for(var t in this.aggs)if(t.includes("-rank"))if(this.aggs[t][t])e.pu
319sh(this.aggs[t]);else{var n={};n[t]=this.aggs[t],e.push(n)}return e}}),methods:{updateParams:function(e){l.a.$emit(f.default.SEARCH_QUERY_PARAM_CHANGE,e)}}},y=n("KHd+"),_=n("ZUTo"),x=n.n(_),w=n("gzZi"),k=n("sK+t"),S=n("mdmw"),M=n("Yq0q"),L=n("zn5u"),A=n("rdoz"),O=n("D9m0"),C=n("hlRy"),T=Object(y.a)(b,i,[],!1,null,"6ddecc8c",null);t.default=T.exports;x()(T,{VBtn:w.a,VCard:k.a,VCardActions:S.a,VCardText:S.c,VCardTitle:S.d,VCol:M.a,VDivider:L.a,VImg:A.a,VRow:O.a,VTextField:C.a})},sk1O:function(e,t,n){"use strict";n("Orck")},sp3z:function(e,t,n){!function(e){"use strict"; 320//! moment.js locale configuration 321e.defineLocale("lo",{months:"ມັàºàºàºàº_àºàº¸àº¡àºàº²_ມີàºàº²_à»àº¡àºªàº²_àºàº¶àºàºªàº°àºàº²_ມິàºàº¸àºàº²_àºà»àº¥àº°àºàº»àº_ສິàºàº«àº²_àºàº±àºàºàº²_àºàº¸àº¥àº²_àºàº°àºàº´àº_àºàº±àºàº§àº²".split("_"),monthsShort:"ມັàºàºàºàº_àºàº¸àº¡àºàº²_ມີàºàº²_à»àº¡àºªàº²_àºàº¶àºàºªàº°àºàº²_ມິàºàº¸àºàº²_àºà»àº¥àº°àºàº»àº_ສິàºàº«àº²_àºàº±àºàºàº²_àºàº¸àº¥àº²_àºàº°àºàº´àº_àºàº±àºàº§àº²".split("_"),weekdays:"àºàº²àºàº´àº_àºàº±àº_àºàº±àºàºàº²àº_àºàº¸àº_àºàº°àº«àº±àº_ສຸàº_à»àºªàº»àº²".split("_"),weekdaysShort:"àºàº´àº_àºàº±àº_àºàº±àºàºàº²àº_àºàº¸àº_àºàº°àº«àº±àº_ສຸàº_à»àºªàº»àº²".split("_"),weekdaysMin:"àº_àº_àºàº_àº_àºàº«_ສàº_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັàºdddd D MMMM YYYY HH:mm"},meridiemParse:/àºàºàºà»àºàº»à»àº²|àºàºàºà»àº¥àº/,isPM:function(e){return"àºàºàºà»àº¥àº"===e},meridiem:function(e,t,n){return e<12?"àºàºàºà»àºàº»à»àº²":"àºàºàºà»àº¥àº"},calendar:{sameDay:"[ມືà»àºàºµà»à»àº§àº¥àº²] LT",nextDay:"[ມືà»àºàº·à»àºà»àº§àº¥àº²] LT",nextWeek:"[ວັàº]dddd[à»à»àº²à»àº§àº¥àº²] LT",lastDay:"[ມືà»àº§àº²àºàºàºµà»à»àº§àº¥àº²] LT",lastWeek:"[ວັàº]dddd[à»àº¥à»àº§àºàºµà»à»àº§àº¥àº²] LT",sameElse:"L"},relativeTime:{future:"àºàºµàº %s",past:"%sàºà»àº²àºàº¡àº²",s:"àºà»à»à»àºàº»à»àº²à»àºàº§àº´àºàº²àºàºµ",ss:"%d ວິàºàº²àºàºµ",m:"1 àºàº²àºàºµ",mm:"%d àºàº²àºàºµ",h:"1 àºàº»à»àº§à»àº¡àº",hh:"%d àºàº»à»àº§à»àº¡àº",d:"1 ມືà»",dd:"%d ມືà»",M:"1 à»àºàº·àºàº",MM:"%d à»àºàº·àºàº",y:"1 àºàºµ",yy:"%d àºàºµ"},dayOfMonthOrdinalParse:/(àºàºµà»)\d{1,2}/,ordinal:function(e){return"àºàºµà»"+e}})}(n("wd/R"))},"t+mt":function(e,t,n){!function(e){"use strict";
322//! moment.js locale configuration 323e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"t/E1":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("v-card",{staticClass:"d-flex mb-4 article-card pa-4 py-6",attrs:{elevation:"0",href:e.articleUrl}},[t("v-row",[t("v-col",{attrs:{cols:"3"}},[t("v-img",{attrs:{src:e.article.imgSrc,"aspect-ratio":"1.5",width:"125"}})],1),e._v(" "),t("v-col",{attrs:{cols:"9"}},[t("v-card-title",{staticClass:"subtitle-2 font-weight-bold pa-0"},[e._v(e._s(e.article.title))]),e._v(" "),t("div",{staticClass:"d-flex justify-space-between caption mt-2"},[t("p",{staticClass:"mb-0 font-italic"},[e._v(e._s(e.article.journalName))]),e._v(" "),t("div",[t("p",{staticClass:"mb-0"},[e._v("doi: "+e._s(e.article.doi))]),e._v(" "),t("p",[e._v("Published: "+e._s(e._f("dateFormat")(e.article.publishedDate,"EEEE do MMMM yyyy")))])])]),e._v(" "),t("v-card-subtitle",{staticClass:"caption grey--text text--darken-2 px-0 pt-0"},[e._v("\n "+e._s(e.article.authors.join(", "))+"\n ")]),e._v(" "),t("v-chip",{attrs:{"x-small":""}},[e._v("\n "+e._s(e.article.views)+" pageviews\n ")])],1)],1)],1)};i._withStripped=!0;var r={name:"ArticleCard",props:{article:{type:Object,required:!0}},computed:{articleUrl:function(){return"/articles/".concat(this.article.id)}}},a=(n("xVPt"),n("KHd+")),o=n("ZUTo"),s=n.n(o),l=n("sK+t"),c=n("mdmw"),u=n("zCDB"),d=n("Yq0q"),h=n("rdoz"),f=n("D9m0"),p=Object(a.a)(r,i,[],!1,null,"794f52e0",null);t.default=p.exports;s()(p,{VCard:l.a,VCardSubtitle:c.b,VCardTitle:c.d,VChip:u.a,VCol:d.a,VImg:h.a,VRow:f.a})},t2rG:function(e,t,n){var i;"undefined"!=typeof self&&self,i=function(e){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"01f9":function(e,t,n){"use strict";var i=n("2d00"),r=n("5ca1"),a=n("2aba"),o=n("32e9"),s=n("84f2"),l=n("41a0"),c=n("7f20"),u=n("38fd"),d=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,p,m,g,v){l(n,t,p);var b,y,_,x=function(e){if(!h&&e in M)return M[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",k="values"==m,S=!1,M=e.prototype,L=M[d]||M["@@iterator"]||m&&M[m],A=L||x(m),O=m?k?x("entries"):A:void 0,C="Array"==t&&M.entries||L;if(C&&(_=u(C.call(new e)))!==Object.prototype&&_.next&&(c(_,w,!0),i||"function"==typeof _[d]||o(_,d,f)),k&&L&&"values"!==L.name&&(S=!0,A=function(){return L.call(this)}),i&&!v||!h&&!S&&M[d]||o(M,d,A),s[t]=A,s[w]=f,m)if(b={values:k?A:x("values"),keys:g?A:x("keys"),entries:O},v)for(y in b)y in M||a(M,y,b[y]);else r(r.P+r.F*(h||S),t,b);return b}},"02f4":function(e,t,n){var i=n("4588"),r=n("be13");e.exports=function(e){return function(t,n){var a,o,s=String(r(t)),l=i(n),c=s.length;return l<0||l>=c?e?"":void 0:(a=s.charCodeAt(l))<55296||a>56319||l+1===c||(o=s.charCodeAt(l+1))<56320||o>57343?e?s.charAt(l):a:e?s.slice(l,l+2):o-56320+(a-55296<<10)+65536}}},"0390":function(e,t,n){"use strict";var i=n("02f4")(!0);e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},"0bfb":function(e,t,n){"use strict";var i=n("cb7c");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,n){var i=n("ce10"),r=n("e11e");e.exports=Object.keys||function(e){return i(e,r)}},1495:function(e,t,n){var i=n("86cc"),r=n("cb7c"),a=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){r(e);for(var n,o=a(t),s=o.length,l=0;s>l;)i.f(e,n=o[l++],t[n]);return e}},"214f":function(e,t,n){"use strict";n("b0c5");var i=n("2aba"),r=n("32e9"),a=n("79e5"),o=n("be13"),s=n("2b4c"),l=n("520a"),c=s("species"),u=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=s(e),f=!a((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),p=f?!a((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={}
323,n.constructor[c]=function(){return n}),n[h](""),!t})):void 0;if(!f||!p||"replace"===e&&!u||"split"===e&&!d){var m=/./[h],g=n(o,h,""[e],(function(e,t,n,i,r){return t.exec===l?f&&!r?{done:!0,value:m.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}})),v=g[0],b=g[1];i(String.prototype,e,v),r(RegExp.prototype,h,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}}},"230e":function(e,t,n){var i=n("d3f4"),r=n("7726").document,a=i(r)&&i(r.createElement);e.exports=function(e){return a?r.createElement(e):{}}},"23c6":function(e,t,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:a?i(t):"Object"==(o=i(t))&&"function"==typeof t.callee?"Arguments":o}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"2aba":function(e,t,n){var i=n("7726"),r=n("32e9"),a=n("69a8"),o=n("ca5a")("src"),s=n("fa5b"),l=(""+s).split("toString");n("8378").inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(a(n,"name")||r(n,"name",t)),e[t]!==n&&(c&&(a(n,o)||r(n,o,e[t]?""+e[t]:l.join(String(t)))),e===i?e[t]=n:s?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[o]||s.call(this)}))},"2aeb":function(e,t,n){var i=n("cb7c"),r=n("1495"),a=n("e11e"),o=n("613b")("IE_PROTO"),s=function(){},l=function(){var e,t=n("230e")("iframe"),i=a.length;for(t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;i--;)delete l.prototype[a[i]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=i(e),n=new s,s.prototype=null,n[o]=e):n=l(),void 0===t?n:r(n,t)}},"2b4c":function(e,t,n){var i=n("5537")("wks"),r=n("ca5a"),a=n("7726").Symbol,o="function"==typeof a;(e.exports=function(e){return i[e]||(i[e]=o&&a[e]||(o?a:r)("Symbol."+e))}).store=i},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"2fdb":function(e,t,n){"use strict";var i=n("5ca1"),r=n("d2c8");i(i.P+i.F*n("5147")("includes"),"String",{includes:function(e){return!!~r(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(e,t,n){var i=n("86cc"),r=n("4630");e.exports=n("9e1e")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"38fd":function(e,t,n){var i=n("69a8"),r=n("4bf8"),a=n("613b")("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},"41a0":function(e,t,n){"use strict";var i=n("2aeb"),r=n("4630"),a=n("7f20"),o={};n("32e9")(o,n("2b4c")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=i(o,{next:r(1,n)}),a(e,t+" Iterator")}},"456d":function(e,t,n){var i=n("4bf8"),r=n("0d58");n("5eda")("keys",(function(){return function(e){return r(i(e))}}))},4588:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"4bf8":function(e,t,n){var i=n("be13");e.exports=function(e){return Object(i(e))}},5147:function(e,t,n){var i=n("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,!"/./"[e](t)}catch(e){}}return!0}},"520a":function(e,t,n){"use strict";var i,r,a=n("0bfb"),o=RegExp.prototype.exec,s=String.prototype.replace,l=o,c=(i=/a/,r=/b*/g,o.call(i,"a"),o.call(r,"a"),0!==i.lastIndex||0!==r.lastIndex),u=void 0!==/()??/.exec("")[1];(c||u)&&(l=function(e){var t,n,i,r,l=this;return u&&(n=new RegExp("^"+l.source+"$(?!\\s)",a.call(l))),c&&(t=l.lastIndex),i=o.call(l,e),c&&i&&(l.lastIndex=l.global?i.index+i[0].length:t),u&&i&&i.length>1&&s.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i}),e.exports=l},"52a7":function(e,t){t.f={}.propertyIsEnumerable},5537:function(e,t,n){var i=n("8378"),r=n("7726"),a=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(e,t,n){var i=n("7726"),r=n("8378"),a=n("32e9"),o=n("2aba"),s=n("9b43"),l=function(e,t,n){var c,u,d,h,f=e&l.F,p=e&l.G,m=e&l.S,g=e&l.P,v=e&l.B,b=p?i:m?i[t]||(i[t]={}):(i[t]||{}).prototype,y=p?r:r[t]||(r[t]={}),_=y.prototype||(y.prototype={});for(c in p&&(n=t),n)d=((u=!f&&b&&void 0!==b[c])?b:n)[c],h=v&&u?s(d,i):g&&"function"==typeof d?s(Function.call,d):d,b&&o(b,c,d,e&l.U),y[c]!=d&&a(y,c,h),g&&_[c]!=d&&(_[c]=d)};i.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},"5eda":function(e,t,n){var i=n("5ca1"),r=n("8378"),a=n("79e5");e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],o={};o[e]=t(n),i(i.S+i.F*a((function(){n(1)})),"Object",o)}},"5f1b":function(e,t,n){"use strict";var i=n("23c6"),r=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var a=n.call(e,t);if("object"!=typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==i(e))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},"613b":function(e,t,n){var i=n("5537")("keys"),r=n("ca5a");e.exports=function(e){return i[e]||(i[e]=r(e))}},"626a":function(e,t,n){var i=n("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},6762:function(e,t,n){"use strict";var i=n("5ca1"),r=n("c366")(!0);i(i.P,"Array",{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6821:function(e,t,n){var i=n("626a"),r=n("be13");e.exports=function(e){return i(r(e))}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"6a99":function(e,t,n){var i=n("d3f4");e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},7333:function(e,t,n){"use strict";var i=n("0d58"),r=n("2621"),a=n("52a7"),o=n("4bf8"),s=n("626a"),l=Object.assign;e.exports=!l||n("79e5")((function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=i}))?function(e,t){for(var n=o(e),l=arguments.length,c=1,u=r.f,d=a.f;l>c;)for(var h,f=s(arguments[c++]),p=u?i(f).concat(u(f)):i(f),m=p.length,g=0;m>g;)d.call(f,h=p[g++])&&(n[h]=f[h]);return n}:l},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(e,t,n){var i=n("4588"),r=Math.max,a=Math.min;e.exports=function(e,t){return(e=i(e))<0?r(e+t,0):a(e,t)}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"7f20":function(e,t,n){var i=n("86cc").f,r=n("69a8"),a=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,a)&&i(e,a,{configurable:!0,value:t})}},8378:function(e,t){var n=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"84f2":function(e,t){e.exports={}}
323,"86cc":function(e,t,n){var i=n("cb7c"),r=n("c69a"),a=n("6a99"),o=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(i(e),t=a(t,!0),i(n),r)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"9b43":function(e,t,n){var i=n("d8e8");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,n){var i=n("2b4c")("unscopables"),r=Array.prototype;null==r[i]&&n("32e9")(r,i,{}),e.exports=function(e){r[i][e]=!0}},"9def":function(e,t,n){var i=n("4588"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a352:function(t,n){t.exports=e},a481:function(e,t,n){"use strict";var i=n("cb7c"),r=n("4bf8"),a=n("9def"),o=n("4588"),s=n("0390"),l=n("5f1b"),c=Math.max,u=Math.min,d=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g;n("214f")("replace",2,(function(e,t,n,p){return[function(i,r){var a=e(this),o=null==i?void 0:i[t];return void 0!==o?o.call(i,a,r):n.call(String(a),i,r)},function(e,t){var r=p(n,e,this,t);if(r.done)return r.value;var d=i(e),h=String(this),f="function"==typeof t;f||(t=String(t));var g=d.global;if(g){var v=d.unicode;d.lastIndex=0}for(var b=[];;){var y=l(d,h);if(null===y)break;if(b.push(y),!g)break;""===String(y[0])&&(d.lastIndex=s(h,a(d.lastIndex),v))}for(var _,x="",w=0,k=0;k<b.length;k++){y=b[k];for(var S=String(y[0]),M=c(u(o(y.index),h.length),0),L=[],A=1;A<y.length;A++)L.push(void 0===(_=y[A])?_:String(_));var O=y.groups;if(f){var C=[S].concat(L,M,h);void 0!==O&&C.push(O);var T=String(t.apply(void 0,C))}else T=m(S,h,M,L,O,t);M>=w&&(x+=h.slice(w,M)+T,w=M+S.length)}return x+h.slice(w)}];function m(e,t,i,a,o,s){var l=i+e.length,c=a.length,u=f;return void 0!==o&&(o=r(o),u=h),n.call(s,u,(function(n,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,i);case"'":return t.slice(l);case"<":s=o[r.slice(1,-1)];break;default:var u=+r;if(0===u)return n;if(u>c){var h=d(u/10);return 0===h?n:h<=c?void 0===a[h-1]?r.charAt(1):a[h-1]+r.charAt(1):n}s=a[u-1]}return void 0===s?"":s}))}}))},aae3:function(e,t,n){var i=n("d3f4"),r=n("2d95"),a=n("2b4c")("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==r(e))}},ac6a:function(e,t,n){for(var i=n("cadf"),r=n("0d58"),a=n("2aba"),o=n("7726"),s=n("32e9"),l=n("84f2"),c=n("2b4c"),u=c("iterator"),d=c("toStringTag"),h=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(f),m=0;m<p.length;m++){var g,v=p[m],b=f[v],y=o[v],_=y&&y.prototype;if(_&&(_[u]||s(_,u,h),_[d]||s(_,d,v),l[v]=h,b))for(g in i)_[g]||a(_,g,i[g],!0)}},b0c5:function(e,t,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},be13:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},c366:function(e,t,n){var i=n("6821"),r=n("9def"),a=n("77f1");e.exports=function(e){return function(t,n,o){var s,l=i(t),c=r(l.length),u=a(o,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},c649:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"d",(function(){return l})),n("a481");var i,r,a="undefined"!=typeof window?window.console:e.console,o=/-(\w)/g,s=(i=function(e){return e.replace(o,(function(e,t){return t?t.toUpperCase():""}))},r=Object.create(null),function(e){return r[e]||(r[e]=i(e))});function l(e){null!==e.parentElement&&e.parentElement.removeChild(e)}
323function c(e,t,n){var i=0===n?e.children[0]:e.children[n-1].nextSibling;e.insertBefore(t,i)}}).call(this,n("c8ba"))},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},ca5a:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},cadf:function(e,t,n){"use strict";var i=n("9c6c"),r=n("d53b"),a=n("84f2"),o=n("6821");e.exports=n("01f9")(Array,"Array",(function(e,t){this._t=o(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),a.Arguments=a.Array,i("keys"),i("values"),i("entries")},cb7c:function(e,t,n){var i=n("d3f4");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},ce10:function(e,t,n){var i=n("69a8"),r=n("6821"),a=n("c366")(!1),o=n("613b")("IE_PROTO");e.exports=function(e,t){var n,s=r(e),l=0,c=[];for(n in s)n!=o&&i(s,n)&&c.push(n);for(;t.length>l;)i(s,n=t[l++])&&(~a(c,n)||c.push(n));return c}},d2c8:function(e,t,n){var i=n("aae3"),r=n("be13");e.exports=function(e,t,n){if(i(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},d3f4:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f559:function(e,t,n){"use strict";var i=n("5ca1"),r=n("9def"),a=n("d2c8"),o="".startsWith;i(i.P+i.F*n("5147")("startsWith"),"String",{startsWith:function(e){var t=a(this,e,"startsWith"),n=r(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return o?o.call(t,i,n):t.slice(n,n+i.length)===i}})},f6fd:function(e,t){!function(e){var t=e.getElementsByTagName("script");"currentScript"in e||Object.defineProperty(e,"currentScript",{get:function(){try{throw new Error}catch(i){var e,n=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in t)if(t[e].src==n||"interactive"==t[e].readyState)return t[e];return null}}})}(document)},f751:function(e,t,n){var i=n("5ca1");i(i.S+i.F,"Object",{assign:n("7333")})},fa5b:function(e,t,n){e.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(e,t,n){var i=n("7726").document;e.exports=i&&i.documentElement},fb15:function(e,t,n){"use strict";var i;function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function a(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(e){r=!0,a=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}}(e,t)||a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.r(t),"undefined"!=typeof window&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1])),n("f751"),n("f559"),n("ac6a"),n("cadf"),n("456d"),n("6762"),n("2fdb");var l=n("a352"),c=n.n(l),u=n("c649");function d(e,t){var n=this;this.$nextTick((function(){return n.$emit(e.toLowerCase(),t)}))}function h(e){var t=this;return function(n){null!==t.realList&&t["onDrag"+e](n),d.call(t,e,n)}}function f(e){return["transition-group","TransitionGroup"].includes(e)}function p(e,t,n){return e[n]||(t[n]?t[n]():void 0)}var m=["Start","Add","Remove","Update","End"],g=["Choose","Unchoose","Sort","Filter","Clone"],v=["Move"].concat(m,g).map((function(e){return"on"+e})),b=null,y={name:"draggable",inheritAttrs:!1,props:{options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(e){return e}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(e){var t=this.$slots.default;this.transitionMode=function(e){if(!e||1!==e.length)return!1;
323var t=o(e,1)[0].componentOptions;return!!t&&f(t.tag)}(t);var n=function(e,t,n){var i=0,r=0,a=p(t,n,"header");a&&(i=a.length,e=e?[].concat(s(a),s(e)):s(a));var o=p(t,n,"footer");return o&&(r=o.length,e=e?[].concat(s(e),s(o)):s(o)),{children:e,headerOffset:i,footerOffset:r}}(t,this.$slots,this.$scopedSlots),i=n.children,r=n.headerOffset,a=n.footerOffset;this.headerOffset=r,this.footerOffset=a;var l=function(e,t){var n=null,i=function(e,t){n=function(e,t,n){return void 0===n||((e=e||{})[t]=n),e}(n,e,t)};if(i("attrs",Object.keys(e).filter((function(e){return"id"===e||e.startsWith("data-")})).reduce((function(t,n){return t[n]=e[n],t}),{})),!t)return n;var r=t.on,a=t.props,o=t.attrs;return i("on",r),i("props",a),Object.assign(n.attrs,o),n}(this.$attrs,this.componentData);return e(this.getTag(),l,i)},created:function(){null!==this.list&&null!==this.value&&u.b.error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&u.b.warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&u.b.warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var e=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var t={};m.forEach((function(n){t["on"+n]=h.call(e,n)})),g.forEach((function(n){t["on"+n]=d.bind(e,n)}));var n=Object.keys(this.$attrs).reduce((function(t,n){return t[Object(u.a)(n)]=e.$attrs[n],t}),{}),i=Object.assign({},this.options,n,t,{onMove:function(t,n){return e.onDragMove(t,n)}});!("draggable"in i)&&(i.draggable=">*"),this._sortable=new c.a(this.rootContainer,i),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(e){this.updateOptions(e)},deep:!0},$attrs:{handler:function(e){this.updateOptions(e)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var e=this._vnode.fnOptions;return e&&e.functional},getTag:function(){return this.tag||this.element},updateOptions:function(e){for(var t in e){var n=Object(u.a)(t);-1===v.indexOf(n)&&this._sortable.option(n,e[t])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var e=this.$slots.default;return this.transitionMode?e[0].child.$slots.default:e},computeIndexes:function(){var e=this;this.$nextTick((function(){e.visibleIndexes=function(e,t,n,i){if(!e)return[];var r=e.map((function(e){return e.elm})),a=t.length-i,o=s(t).map((function(e,t){return t>=a?r.length:r.indexOf(e)}));return n?o.filter((function(e){return-1!==e})):o}(e.getChildrenNodes(),e.rootContainer.children,e.transitionMode,e.footerOffset)}))},getUnderlyingVm:function(e){var t=function(e,t){return e.map((function(e){return e.elm})).indexOf(t)}(this.getChildrenNodes()||[],e);return-1===t?null:{index:t,element:this.realList[t]}},getUnderlyingPotencialDraggableComponent:function(e){var t=e.__vue__;return t&&t.$options&&f(t.$options._componentTag)?t.$parent:!("realList"in t)&&1===t.$children.length&&"realList"in t.$children[0]?t.$children[0]:t},emitChanges:function(e){var t=this;this.$nextTick((function(){t.$emit("change",e)}))},alterList:function(e){if(this.list)e(this.list);else{var t=s(this.value);e(t),this.$emit("input",t)}},spliceList:function(){var e=arguments,t=function(t){return t.splice.apply(t,s(e))};this.alterList(t)},updatePosition:function(e,t){var n=function(n){return n.splice(t,0,n.splice(e,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(e){var t=e.to,n=e.related,i=this.getUnderlyingPotencialDraggableComponent(t);if(!i)return{component:i};var r=i.realList,a={list:r,component:i};if(t!==n&&r&&i.getUnderlyingVm){var o=i.getUnderlyingVm(n);if(o)return Object.assign(o,a)}return a},getVmIndex:function(e){var t=this.visibleIndexes,n=t.length;return e>n-1?n:t[e]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(e){if(this.noTransitionOnDrag&&this.transitionMode){this.getChildrenNodes()[e].data=null;var t=this.getComponent();t.children=[],t.kept=void 0}},onDragStart:function(e){this.context=this.getUnderlyingVm(e.item),e.item._underlying_vm_=this.clone(this.context.element),b=e.item},onDragAdd:function(e){var t=e.item._underlying_vm_;if(void 0!==t){Object(u.d)(e.item);var n=this.getVmIndex(e.newIndex);this.spliceList(n,0,t),this.computeIndexes();var i={element:t,newIndex:n};this.emitChanges({added:i})}},onDragRemove:function(e){if(Object(u.c)(this.rootContainer,e.item,e.oldIndex),"clone"!==e.pullMode){var t=this.context.
323index;this.spliceList(t,1);var n={element:this.context.element,oldIndex:t};this.resetTransitionData(t),this.emitChanges({removed:n})}else Object(u.d)(e.clone)},onDragUpdate:function(e){Object(u.d)(e.item),Object(u.c)(e.from,e.item,e.oldIndex);var t=this.context.index,n=this.getVmIndex(e.newIndex);this.updatePosition(t,n);var i={element:this.context.element,oldIndex:t,newIndex:n};this.emitChanges({moved:i})},updateProperty:function(e,t){e.hasOwnProperty(t)&&(e[t]+=this.headerOffset)},computeFutureIndex:function(e,t){if(!e.element)return 0;var n=s(t.to.children).filter((function(e){return"none"!==e.style.display})),i=n.indexOf(t.related),r=e.component.getVmIndex(i);return-1===n.indexOf(b)&&t.willInsertAfter?r+1:r},onDragMove:function(e,t){var n=this.move;if(!n||!this.realList)return!0;var i=this.getRelatedContextFromMoveEvent(e),r=this.context,a=this.computeFutureIndex(i,e);return Object.assign(r,{futureIndex:a}),n(Object.assign({},e,{relatedContext:i,draggedContext:r}),t)},onDragEnd:function(){this.computeIndexes(),b=null}}};"undefined"!=typeof window&&"Vue"in window&&window.Vue.component("draggable",y);var _=y;t.default=_}}).default},e.exports=i(n("qkdH"))},tGlX:function(e,t,n){!function(e){"use strict";
vendor: 1,814 bytes, lines 324-325
324//! moment.js locale configuration 325function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tLB3:function(e,t,n){var i=n("GoyQ"),r=n("/9aa"),a=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(r(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):o.test(e)?NaN:+e}},tT3J:function(e,t,n){!function(e){"use strict";
326//! moment.js locale configuration 327e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_É£wÅ¡t_Å¡wtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_É£wÅ¡t_Å¡wtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuá¸",mm:"%d minuá¸",h:"saÉa",hh:"%d tassaÉin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n("wd/R"))},tUCv:function(e,t,n){!function(e){"use strict";
328//! moment.js locale configuration 329e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tVKw:function(e,t,n){"use strict";n("FDpM")},ta7f:function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"alpha",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"alphaNum",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"numeric",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"between",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"email",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"ipAddress",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"macAddress",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"maxLength",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"minLength",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"required",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"requiredIf",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"requiredUnless",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"sameAs",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"url",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"or",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"and",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"not",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"minValue",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"maxValue",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"integer",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"decimal",{enumerable:!0,get:function(){return S.default}}),t.helpers=void 0;var r=A(n("YjXl")),a=A(n("OlTG")),o=A(n("RbiO")),s=A(n("7BF0")),l=A(n("XXVU")),c=A(n("yZ1b")),u=A(n("kdPC")),d=A(n("KhKh")),h=A(n("XbO3")),f=A(n("1PTn")),p=A(n("qoKy")),m=A(n("5lKX")),g=A(n("tsu9")),v=A(n("dy1E")),b=A(n("0pQ5")),y=A(n("M2AK")),_=A(n("ZBfT")),x=A(n("62b2")),w=A(n("RryX")),k=A(n("EzHr")),S=A(n("wwGG")),M=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=L();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n("eO9T"));function L(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return L=function(){return e},e}
329function A(e){return e&&e.__esModule?e:{default:e}}t.helpers=M},tbfe:function(e,t,n){!function(e){"use strict"; 330//! moment.js locale configuration 331var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(n("wd/R"))},tc4C:function(e,t,n){"use strict";n("Pl9e")},tsu9:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("eO9T");t.default=function(e){return(0,i.withParams)({type:"sameAs",eq:e},(function(t,n){return t===(0,i.ref)(e,this,n)}))}},u3GI:function(e,t,n){!function(e){"use strict";
332//! moment.js locale configuration 333function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},u6S6:function(e,t,n){var i=n("6acW"),r=n("sgoq")((function(e,t,n){return t=t.toLowerCase(),e+(n?i(t):t)}));e.exports=r},u8Zi:function(e,t,n){"use strict";t.a=Object.freeze({CONFIRM:"UI.confirm",CONFIRM_VUETIFY:"UI.confirm_vuetify",SHOW_DEADLINE_EXTENSION_SELECTOR:"UI.deadline_selector",DEADLINE_EXTENSION_RESPONSE:"UI.deadline_extension_response",NEW_FEATURE_SHOW_HELP_MODAL:"NEW.showHelpModal",SHOW_LOGIN_MODAL:"UI.showLoginModal",ARTICLE_NOTES_ADD:"ARTICLE.addNote",ARTICLE_NOTES_DELETE:"ARTICLE.deleteNote",ARTICLE_NOTES_UPDATE:"ARTICLE.updateNote",ARTICLE_NOTES_SHOW_MODAL:"ARTICLE.showNotesModal",ARTICLE_NOTES_KEYBOARD_SHORTCUT_ADD:"ARTICLE.keyboardShortcutAddNote",ARTICLE_NOTES_KEYBOARD_SHORTCUT_EXPAND_TOGGLE:"ARTICLE.keyboardShortcutExpandToggle",MANUSCRIPT_SHOW_ADD_AUTHOR_MODAL:"MANUSCRIPT.showAddAuthorModal",MANUSCRIPT_SHOW_ADD_ADDRESS_MODAL:"MANUSCRIPT.showAddAddressModal",MANUSCRIPT_SHOW_EDIT_AUTHOR_MODAL:"MANUSCRIPT.showEditAuthorModal",MANUSCRIPT_SHOW_EDIT_ADDRESS_MODAL:"MANUSCRIPT.showEditAddressModal",MANUSCRIPT_SHOW_INSTITUTIONAL_EMAIL_MODAL:"MANUSCRIPT.showInstitutionalEmailModal",MANUSCRIPT_ADDRESS_ADDED_FROM_AUTHOR_MODAL:"MANUSCRIPT.addressAddedFromAuthorModal",ONUNLOADEVENT_TOGGLE:"ONUNLOADEVENT_TOGGLE",ONUNLOADEVENT_ENABLE:"ONUNLOADEVENT_ENABLE",ONUNLOADEVENT_DISABLE:"ONUNLOADEVENT_DISABLE"})},uEye:function(e,t,n){!function(e){"use strict";
334//! moment.js locale configuration 335e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uOAK:function(e,t,n){"use strict";t.a=Object.freeze({FEATURE_AUTHORS_PAGE:"new-authors-page"})},uUfQ:function(e,t,n){"use strict";n.r(t);var i=n("XPkG"),r=n("+knh"),a={reviewerMatch:Object(r.default)({service:Object(i.default)("reviewer-matches")}),reviewVolunteer:Object(r.default)({service:Object(i.default)("review_volunteers")})};t.default=a},uXwI:function(e,t,n){!function(e){"use strict";
336//! moment.js locale configuration 337var t={ss:"sekundes_sekundÄm_sekunde_sekundes".split("_"),m:"minÅ«tes_minÅ«tÄm_minÅ«te_minÅ«tes".split("_"),mm:"minÅ«tes_minÅ«tÄm_minÅ«te_minÅ«tes".split("_"),h:"stundas_stundÄm_stunda_stundas".split("_"),hh:"stundas_stundÄm_stunda_stundas".split("_"),d:"dienas_dienÄm_diena_dienas".split("_"),dd:"dienas_dienÄm_diena_dienas".split("_"),M:"mÄneÅ¡a_mÄneÅ¡iem_mÄnesis_mÄneÅ¡i".split("_"),MM:"mÄneÅ¡a_mÄneÅ¡iem_mÄnesis_mÄneÅ¡i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function i(e,i,r){return e+" "+n(t[r],e,i)}function r(e,i,r){return n(t[r],e,i)}e.defineLocale("lv",{months:"janvÄris_februÄris_marts_aprÄ«lis_maijs_jÅ«nijs_jÅ«lijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jÅ«n_jÅ«l_aug_sep_okt_nov_dec".split("_"),weekdays:"svÄtdiena_pirmdiena_otrdiena_treÅ¡diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Å odien pulksten] LT",nextDay:"[RÄ«t pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[PagÄjuÅ¡Ä] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pÄc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažÄm sekundÄm"},ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uYef:function(e){e.exports=JSON.parse('[{"icon":"mdi-speaker-wireless","type":"audio"},{"icon":"mdi-image-outline","type":"figure"},{"icon":"mdi-file-table-outline","type":"table"},{"icon":"mdi-file-lock-outline","type":"confidential"},{"icon":"mdi-file-question-outline","type":"other"},{"icon":"mdi-file-document-outline","type":"rebuttal"},{"icon":"mdi-file-compare","type":"tracked-changes"},{"icon":"mdi-video","type":"video"}]')},uhXO:function(e,t,n){},ujQY:function(e,t,n){"use strict";n.r(t);var i=n("lSNA"),r=n.n(i),a=n("GJDo");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}t.default=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},a.default)},"ut/Y":function(e,t,n){var i=n("ZCpW"),r=n("GDhZ"),a=n("zZ0H"),o=n("Z0cm"),s=n("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?o(e)?r(e[0],e[1]):i(e):s(e)}},uxWi:function(e,t,n){e.exports=n("zS8L")},uzGW:function(e,t,n){"use strict";n("xuIR")},vQwB:function(e,t,n){},vYI4:function(e,t,n){"use strict";n("40zP")},vfN1:function(e,t,n){},"w+dn":function(e,t,n){},"w/Ac":function(e,t,n){"use strict";var i=n("gNKD");function r(e,t){const n=e.changedTouches[0];t.touchendX=n.clientX,t.touchendY=n.clientY,t.end&&t.end(Object.assign(e,t)),(e=>{const{touchstartX:t,touchendX:n,touchstartY:i,touchendY:r}=e;e.offsetX=n-t,e.offsetY=r-i,Math.abs(e.offsetY)<.5*Math.abs(e.offsetX)&&(e.left&&n<t-16&&e.left(e),e.right&&n>t+16&&e.right(e)),Math.abs(e.offsetX)<.5*Math.abs(e.offsetY)&&(e.up&&r<i-16&&e.up(e),e.down&&r>i+16&&e.down(e))})(t)}function a(e){const t={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:e.left,right:e.right,up:e.up,down:e.down,start:e.start,move:e.move,end:e.end};return{touchstart:e=>function(e,t){const n=e.changedTouches[0];t.touchstartX=n.clientX,t.touchstartY=n.clientY,t.start&&t.start(Object.assign(e,t))}(e,t),touchend:e=>r(e,t),touchmove:e=>function(e,t){const n=e.changedTouches[0];t.touchmoveX=n.clientX,t.touchmoveY=n.clientY,t.move&&t.move(Object.assign(e,t))}(e,t)}}const o={inserted:function(e,t,n){const r=t.value,o=r.parent?e.parentElement:e,s=r.options||{passive:!0};if(!o)return;const l=a(t.value);o._touchHandlers=Object(o._touchHandlers),o._touchHandlers[n.context._uid]=l,Object(i.z)(l).forEach(e
337=>{o.addEventListener(e,l[e],s)})},unbind:function(e,t,n){const r=t.value.parent?e.parentElement:e;if(!r||!r._touchHandlers)return;const a=r._touchHandlers[n.context._uid];Object(i.z)(a).forEach(e=>{r.removeEventListener(e,a[e])}),delete r._touchHandlers[n.context._uid]}};t.a=o},"w/wX":function(e,t,n){var i=n("QqLw"),r=n("ExA7");e.exports=function(e){return r(e)&&"[object Set]"==i(e)}},wBlg:function(e,t,n){"use strict";n("1FbP")},wESL:function(e,t,n){"use strict";n.r(t);var i=n("cDf5"),r=n.n(i),a=n("lSNA"),o=n.n(a),s=n("vDqi"),l=n.n(s),c=n("wWYo");function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}t.default={namespaced:!0,modules:{searchAggregations:c.default},state:{searchParams:{},endpoint:"/search-get/v2/",loading:!1,localParams:{},path:"",defaultType:"",tidyQuery:{},hasTidyQuerySet:!1,loadMasonry:!1,results:{},highlightCollection:{},pages:1,page:1,aggs:{},subjects:[],tags:[],totalResults:0,journals:[],journalIndex:0,reviewTypes:{},hideFilters:!1,hideLogo:!1,scoreTierEnabled:!1},getters:{getResetParams:function(e){return Object.assign({},e.searchParams.DEFAULT_PARAMS)},hasExtraFilterSet:function(e){var t,n,i=d(e.searchParams.EXTRA_PARAM_FILTERS);try{for(i.s();!(n=i.n()).done;)if(t=n.value,e.localParams[t]&&""!==e.localParams[t])return!0}catch(e){i.e(e)}finally{i.f()}return!1},numberFiltersActive:function(e){var t,n,i=e.searchParams.NUMBER_PARAM_FILTERS,r=e.searchParams.ALLOWED_TYPES_BY_PARAM,a=[],o=d(i);try{for(o.s();!(n=o.n()).done;)t=n.value,e.localParams[t]&&""!==e.localParams[t]&&r[t]&&~r[t].indexOf(e.localParams.type)&&a.push(t)}catch(e){o.e(e)}finally{o.f()}return a},hasNumberFilterActive:function(e,t){return t.numberFiltersActive.length>0},subjectFilterList:function(e){return e.localParams.subject&&""!==e.localParams.subject?e.localParams.subject.split("_"):[]},tagFilterList:function(e){return e.localParams.tag&&""!==e.localParams.tag?e.localParams.tag.split("_"):[]},journalDisplayName:function(e){if(e.journalIndex>-1)return e.journals[e.journalIndex].name},findJournalNameBySlug:function(e){return function(t){var n=e.journals.find((function(e){return e.slug===t}));if(n)return n.name}},disciplines:function(e){return e.journalIndex>-1?e.journals[e.journalIndex].disciplines:[]}},mutations:{setEndpoint:function(e,t){e.endpoint=t,l.a.defaults.url=t},setQueryResults:function(e,t){e.hasTidyQuerySet=!1,e.tidyQuery=e.highlightCollection={},t.aggs.length&&(e.aggs=JSON.parse(t.aggs)),t.total>0?(e.totalResults=t.total,e.pages=parseInt(t.pages),e.results=t.results,t.highlightCollection&&(e.highlightCollection=t.highlightCollection)):(e.totalResults=0,e.pages=0,e.results=[])},setJournals:function(e,t){t.unshift({id:-1,slug:"",name:"Any journal",title:"Any Journal"});var n={id:-1,slug:"",name:"Any discipline",title:"Any Discipline"};t=t.map((function(e){return e.disciplines&&e.disciplines.length>1&&e.disciplines.unshift(n),e})),e.journals=t},setLocalParams:function(e,t){e.localParams=t},setJournalIndex:function(e,t){if(t){var n=e.journals.map((function(e){return e.slug})).indexOf(t);if(n>-1)return e.journalIndex=n}e.journalIndex=0},setQueryParam:function(e,t){e.localParams[t.param]=t.val},setRoutePath:function(e,t){e.path=t},setStateDefaultType:function(e,t){t?(e.defaultType=t,e.localParams.type=e.searchParams.CONFIG_SEARCH_NAV_ROW[t].queryType):e.defaultType=""}
337,setSearchParams:function(e,t){e.searchParams=t,e.reviewTypes=t.REVIEW_TYPES},setLocalParamsDefault:function(e,t){e.localParams=t},clearDefaultType:function(e){e.defaultType=""},setTidyQuery:function(e){e.hasTidyQuerySet=!0;var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e.localParams),n=e.searchParams.ALLOWED_TYPES_BY_PARAM;for(var i in t)""!==t[i]&&void 0!==t[i]&&null!==t[i]||delete t[i],t.type&&n[i]&&!~n[i].indexOf(t.type)&&delete t[i];e.tidyQuery=t},setPageNumber:function(e,t){isNaN(t)&&(t=parseInt(t)),e.page=!t||""===t||void 0===t||t<1?1:t},setHideFilters:function(e,t){e.hideFilters=t},setHideLogo:function(e,t){e.hideLogo=t},setScoreTierEnabled:function(e,t){e.scoreTierEnabled=t}},actions:{runQuery:function(e,t){var n=e.commit,i=e.state;i.loadMasonry=i.searchParams.MASONRY_RESULT_TYPES.includes(i.localParams.type),i.loading=!0,i.defaultType&&(t.type=i.searchParams.CONFIG_SEARCH_NAV_ROW[i.defaultType].queryType),l.a.defaults.url=i.endpoint,l.a.request({params:t}).then((function(e){n("setQueryResults",e.data)})).catch((function(e){console.log(e)})).finally((function(){i.loading=!1}))},updateLocalData:function(e,t){var n=e.commit,i=(e.state,e.getters.getResetParams);if(Object.keys(t).length>0)for(var a in t){var o=r()(t[a]);["string","number","boolean"].includes(o)&&("page"===a?n("setPageNumber",parseInt(t[a])):i[a]=t[a])}n("setLocalParams",i),n("setJournalIndex",i.journal)},updateTidyQuery:function(e){(0,e.commit)("setTidyQuery")},updatePath:function(e,t){var n=e.commit;t.path&&n("setRoutePath",t.path)},updateParam:function(e,t){var n=e.commit,i=e.state,r=e.dispatch,a=e.getters;n("setPageNumber",null);var o=t.val?t.val:null,s=t.param,l={param:s,val:o};switch(s){case"journal":return n("setQueryParam",l),n("setJournalIndex",o),void r("updateParam",{param:"discipline",val:null});case"published-gte":case"published-lte":n("setQueryParam",{param:s,val:o=o===i.searchParams.ANY_YEAR?"":o});break;case"tag":var c=a.tagFilterList;-1===c.indexOf(o)?c.push(o):c.splice(c.indexOf(o),1),n("setQueryParam",{param:s,val:c.join("_")});break;case"subject":var u=a.subjectFilterList;-1===u.indexOf(o)?u.push(o):u.splice(u.indexOf(o),1),n("setQueryParam",{param:s,val:u.join("_")});break;case"type":o?o=isNaN(o)?o.replace("annotation",""):i.searchParams.REVIEW_TYPES[o].slug:n("clearDefaultType"),n("setQueryParam",{param:s,val:o});break;case"q":case"discipline":case"manuscriptType":case"t":case"country":case"section":case"status":case"citations-gte":case"citations-lte":case"downloads-gte":case"downloads-lte":case"answers-gte":case"answers-lte":case"votes-gte":case"votes-lte":default:n("setQueryParam",l)}r("updateTidyQuery")}}}},"wEy/":function(e,t,n){var i=n("ut/Y"),r=n("f5xI");e.exports=function(e,t){var n=[];if(!e||!e.length)return n;var a=-1,o=[],s=e.length;for(t=i(t,3);++a<s;){var l=e[a];t(l,a,e)&&(n.push(l),o.push(a))}return r(e,o),n}},wOc5:function(e,t,n){},wQk9:function(e,t,n){!function(e){"use strict";
338//! moment.js locale configuration 339e.defineLocale("tzm",{months:"âµâµâµâ´°âµ¢âµ_â´±âµâ´°âµ¢âµ_âµâ´°âµâµ_âµâ´±âµâµâµ_âµâ´°âµ¢âµ¢âµ_âµ¢âµâµâµ¢âµ_âµ¢âµâµâµ¢âµâµ£_âµâµâµâµ_âµâµâµâ´°âµâ´±âµâµ_â´½âµâµâ´±âµ_âµâµâµ¡â´°âµâ´±âµâµ_â´·âµâµâµâ´±âµâµ".split("_"),monthsShort:"âµâµâµâ´°âµ¢âµ_â´±âµâ´°âµ¢âµ_âµâ´°âµâµ_âµâ´±âµâµâµ_âµâ´°âµ¢âµ¢âµ_âµ¢âµâµâµ¢âµ_âµ¢âµâµâµ¢âµâµ£_âµâµâµâµ_âµâµâµâ´°âµâ´±âµâµ_â´½âµâµâ´±âµ_âµâµâµ¡â´°âµâ´±âµâµ_â´·âµâµâµâ´±âµâµ".split("_"),weekdays:"â´°âµâ´°âµâ´°âµ_â´°âµ¢âµâ´°âµ_â´°âµâµâµâ´°âµ_â´°â´½âµâ´°âµ_ⴰⴽⵡⴰâµ_â´°âµâµâµâµ¡â´°âµ_â´°âµâµâ´¹âµ¢â´°âµ".split("_"),weekdaysShort:"â´°âµâ´°âµâ´°âµ_â´°âµ¢âµâ´°âµ_â´°âµâµâµâ´°âµ_â´°â´½âµâ´°âµ_ⴰⴽⵡⴰâµ_â´°âµâµâµâµ¡â´°âµ_â´°âµâµâ´¹âµ¢â´°âµ".split("_"),weekdaysMin:"â´°âµâ´°âµâ´°âµ_â´°âµ¢âµâ´°âµ_â´°âµâµâµâ´°âµ_â´°â´½âµâ´°âµ_ⴰⴽⵡⴰâµ_â´°âµâµâµâµ¡â´°âµ_â´°âµâµâ´¹âµ¢â´°âµ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[â´°âµâ´·âµ â´´] LT",nextDay:"[â´°âµâ´½â´° â´´] LT",nextWeek:"dddd [â´´] LT",lastDay:"[â´°âµâ´°âµâµ â´´] LT",lastWeek:"dddd [â´´] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵠⵠⵢⴰⵠ%s",past:"ⵢⴰⵠ%s",s:"âµâµâµâ´½",ss:"%d âµâµâµâ´½",m:"âµâµâµâµâ´º",mm:"%d âµâµâµâµâ´º",h:"âµâ´°âµâ´°",hh:"%d âµâ´°âµâµâ´°âµâµâµ",d:"â´°âµâµ",dd:"%d oâµâµâ´°âµ",M:"â´°âµ¢oâµâµ",MM:"%d âµâµ¢âµ¢âµâµâµ",y:"â´°âµâ´³â´°âµ",yy:"%d âµâµâ´³â´°âµâµ"},week:{dow:6,doy:12}})}(n("wd/R"))},wVcz:function(e,t,n){"use strict";n.r(t),n.d(t,"useMappedUserList",(function(){return c}));var i=n("o0o1"),r=n.n(i),a=n("yXPU"),o=n.n(a),s=n("Kw5r"),l=n("RF1r");function c(){var e=Object(l.c)("users",{findUser:"find",listUsers:"list"}),t=e.findUser,n=e.listUsers,i=Object(l.a)("users",{retrieveUser:"load"}).retrieveUser,a=Object(s.ref)(new Set),c=function(){var e=o()(r.a.mark((function e(n){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n){e.next=11;break}if(n=n.toString(),t.value(n)||a.value.has(n)){e.next=11;break}return a.value.add(n),e.prev=5,e.next=8,i(n);case 8:return e.prev=8,a.value.delete(n),e.finish(8);case 11:case"end":return e.stop()}}),e,null,[[5,,8,11]])})));return function(t){return e.apply(this,arguments)}}(),u=Object(s.computed)((function(){var e={};return n.value.forEach((function(t){e[t.id]=t})),e}));return{findUser:t,listUsers:n,retrieveUser:i,updateUserList:c,userMapComputed:u}}},wWYo:function(e,t,n){"use strict";n.r(t),t.default={state:{},getters:{aggSections:function(e,t,n){var i=n.search.aggs;if(i.nested)for(var r in i.nested.nested)i[r]=i.nested.nested[r];var a=n.search.localParams.type,o=n.search.defaultType;!a&&o&&(a=n.search.searchParams.CONFIG_SEARCH_NAV_ROW[o].queryType);var s=[];n.search.localParams.journal&&s.push("journal"),n.search.localParams.manuscriptType&&s.push("manuscriptType"),n.search.localParams.manuscriptType&&s.push("country"),n.search.localParams.t&&s.push("t"),n.search.localParams.tag&&s.push("tag"),n.search.localParams.help&&s.push("help"),n.search.localParams.faqType&&s.push("faqType"),n.search.localParams.research&&s.push("research"),n.search.localParams.team&&s.push("team");var l=Object.assign({},n.search.searchParams.POSSIBLE_AGG_SECTIONS);for(var c in l)l[c].excludeIfSelfFiltered&&~s.indexOf(c)?delete l[c]:~l[c].showOnType.indexOf(a)?(l[c].aggs=[],c in i&&(i[c][c]&&i[c][c].buckets?l[c].aggs=i[c][c].buckets:i[c].value?l[c].aggs=i[c].value:l[c].aggs=i[c].buckets,0===l[c].aggs.length&&delete l[c])):delete l[c];return l}}}},wclG:function(e,t,n){var i=n("pFRH"),r=n("88Gu")(i);e.exports=r},"wd/R":function(e,t,n){(function(e){e.exports=function(){"use strict";var t,i;function r(){return t.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}function f(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,n,i){return Mt(e,t,n,i,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invali
vendor: 5,403 bytes, line 339
339dMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function g(e){if(null==e._isValid){var t=m(e),n=i.call(t.parsedDateParts,(function(e){return null!=e})),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function v(e){var t=p(NaN);return null!=e?f(m(t),e):m(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),i=n.length>>>0;for(t=0;t<i;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var b=r.momentProperties=[],y=!1;function _(e,t){var n,i,r;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=m(t)),c(t._locale)||(e._locale=t._locale),b.length>0)for(n=0;n<b.length;n++)c(r=t[i=b[n]])||(e[i]=r);return e}function x(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,r.updateOffset(this),y=!1)}function w(e){return e instanceof x||null!=e&&null!=e._isAMomentObject}function k(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var n=!0;return f((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,a,o,l=[];for(a=0;a<arguments.length;a++){if(i="","object"==typeof arguments[a]){for(o in i+="\n["+a+"] ",arguments[0])s(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[a];l.push(i)}k(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var M,L={};function A(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),L[e]||(k(t),L[e]=!0)}function O(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function C(e,t){var n,i=f({},e);for(n in t)s(t,n)&&(o(e[n])&&o(t[n])?(i[n]={},f(i[n],e[n]),f(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)s(e,n)&&!s(t,n)&&o(e[n])&&(i[n]=f({},i[n]));return i}function T(e){null!=e&&this.set(e)}function E(e,t,n){var i=""+Math.abs(e),r=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,M=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var D=/(\[[^\[]*\])|(\\)?([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,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,j={},Y={};function I(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(Y[e]=r),t&&(Y[t[0]]=function(){return E(r.apply(this,arguments),t[1],t[2])}),n&&(Y[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function R(e,t){return e.isValid()?(t=H(t,e.localeData()),j[t]=j[t]||function(e){var t,n,i,r=e.match(D);for(t=0,n=r.length;t<n;t++)Y[r[t]]?r[t]=Y[r[t]]:r[t]=(i=r[t]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(t){var i,a="";for(i=0;i<n;i++)a+=O(r[i])?r[i].call(t,e):r[i];return a}}(t),j[t](e)):e.localeData().invalidDate()}function H(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(P.lastIndex=0;n>=0&&P.test(e);)e=e.replace(P,i),P.lastIndex=0,n-=1;return e}var N={};function F(e,t){var n=e.toLowerCase();N[n]=N[n+"s"]=N[t]=e}function z(e){return"string"==typeof e?N[e]||N[e.toLowerCase()]:void 0}function B(e){var t,n,i={};for(n in e)s(e,n)&&(t=z(n))&&(i[t]=e[n]);return i}var W={};function V(e,t){W[e]=t}function $(e){return e%4==0&&e%100!=0||e%400==0}function U(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function X(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=U(t)),n}function G(e,t){return function(n){return null!=n?(J(this,e,n),r.updateOffset(this,t),this):q(this,e)}}function q(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function J(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&$(e.year())&&1===e.month()&&29===e.date()?(n=X(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),we(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var K,Z=/\d/,Q=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,ie=/\d\d?/,re=/\d\d\d\d?/,ae=/\d\d\d\d\d\d?/,oe=/\d{1,3}/,se=/\d{1,4}/,le=/[+-]?\d{1,6}/,ce=/\d+/,ue=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,he=/Z|[+-]\d\d(?::?\d\d)?/gi,fe=/[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;function pe(e,t,n){K[e]=O(t)?t:function(e,i){return e&&n?n:t}}function me(e,t){return s(K,e)?K[e](t._strict,t._locale):new RegExp(ge(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,i,r){return t||n||i||r}))))}function ge(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}K={};var ve,be={};function ye(e,t){var n,i=t;
vendor: 21,761 bytes, line 339
339for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=X(e)}),n=0;n<e.length;n++)be[e[n]]=i}function _e(e,t){ye(e,(function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)}))}function xe(e,t,n){null!=t&&s(be,e)&&be[e](t,n._a,n,e)}function we(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,i=(t%(n=12)+n)%n;return e+=(t-i)/12,1===i?$(e)?29:28:31-i%7%2}ve=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},I("M",["MM",2],"Mo",(function(){return this.month()+1})),I("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),I("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),F("month","M"),V("month",8),pe("M",ie),pe("MM",ie,Q),pe("MMM",(function(e,t){return t.monthsShortRegex(e)})),pe("MMMM",(function(e,t){return t.monthsRegex(e)})),ye(["M","MM"],(function(e,t){t[1]=X(e)-1})),ye(["MMM","MMMM"],(function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[1]=r:m(n).invalidMonth=e}));var ke="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Se="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Me=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Le=fe,Ae=fe;function Oe(e,t,n){var i,r,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=p([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=ve.call(this._shortMonthsParse,o))?r:null:-1!==(r=ve.call(this._longMonthsParse,o))?r:null:"MMM"===t?-1!==(r=ve.call(this._shortMonthsParse,o))||-1!==(r=ve.call(this._longMonthsParse,o))?r:null:-1!==(r=ve.call(this._longMonthsParse,o))||-1!==(r=ve.call(this._shortMonthsParse,o))?r:null}function Ce(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=X(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),we(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Te(e){return null!=e?(Ce(this,e),r.updateOffset(this,!0),this):q(this,"Month")}function Ee(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],a=[];for(t=0;t<12;t++)n=p([2e3,t]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(i.sort(e),r.sort(e),a.sort(e),t=0;t<12;t++)i[t]=ge(i[t]),r[t]=ge(r[t]);for(t=0;t<24;t++)a[t]=ge(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function De(e){return $(e)?366:365}I("Y",0,0,(function(){var e=this.year();return e<=9999?E(e,4):"+"+e})),I(0,["YY",2],0,(function(){return this.year()%100})),I(0,["YYYY",4],0,"year"),I(0,["YYYYY",5],0,"year"),I(0,["YYYYYY",6,!0],0,"year"),F("year","y"),V("year",1),pe("Y",ue),pe("YY",ie,Q),pe("YYYY",se,te),pe("YYYYY",le,ne),pe("YYYYYY",le,ne),ye(["YYYYY","YYYYYY"],0),ye("YYYY",(function(e,t){t[0]=2===e.length?r.parseTwoDigitYear(e):X(e)})),ye("YY",(function(e,t){t[0]=r.parseTwoDigitYear(e)})),ye("Y",(function(e,t){t[0]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return X(e)+(X(e)>68?1900:2e3)};var Pe=G("FullYear",!0);function je(e,t,n,i,r,a,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,i,r,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,a,o),s}function Ye(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ie(e,t,n){var i=7+t-n;return-(7+Ye(e,0,i).getUTCDay()-t)%7+i-1}function Re(e,t,n,i,r){var a,o,s=1+7*(t-1)+(7+n-i)%7+Ie(e,i,r);return s<=0?o=De(a=e-1)+s:s>De(e)?(a=e+1,o=s-De(e)):(a=e,o=s),{year:a,dayOfYear:o}}function He(e,t,n){var i,r,a=Ie(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?i=o+Ne(r=e.year()-1,t,n):o>Ne(e.year(),t,n)?(i=o-Ne(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function Ne(e,t,n){var i=Ie(e,t,n),r=Ie(e+1,t,n);return(De(e)-i+r)/7}function Fe(e,t){return e.slice(t,7).concat(e.slice(0,t))}I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),V("week",5),V("isoWeek",5),pe("w",ie),pe("ww",ie,Q),pe("W",ie),pe("WW",ie,Q),_e(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=X(e)})),I("d",0,"do","day"),I("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),I("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),I("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),pe("d",ie),pe("e",ie),pe("E",ie),pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),_e(["dd","ddd","dddd"],(function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:m(n).invalidWeekday=e})),_e(["d","e","E"],(function(e,t,n,i){t[i]=X(e)}));var ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Be="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),We="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ve=fe,$e=fe,Ue=fe;function Xe(e,t,n){var i,r,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=p([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=ve.call(this._weekdaysParse,o))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,o))?r:null:"dddd"===t?-1!==(r=ve.call(this._weekdaysParse,o))||-1!==(r=ve.call(this._shortWeekdaysParse,o))||-1!==(r=ve.call(this._minWeekdaysParse,o))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,o))||-1!==(r=ve.call(this._weekdaysParse,o))||-1!==(r=ve.call(this._minWeekdaysParse,o))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,o))||-1!==(r=ve.call(this._weekdaysParse,o))||-1!==(r=ve.call(this._shortWeekdaysParse,o))?r:null}function Ge(){function e(e,t){return t.length-e.length}var t,n,i,r,a,o=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=p([2e3,1]).day(t),i=ge(this.weekdaysMin(n,"")),r=ge(this.weekdaysShort(n,"")),a=ge(this.weekdays(n,"")),o.push(i),s.push(r),l.push(a),c.push(i),c.push(r),c.push(a);o.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function qe(){return this.hours()%12||12}function Je(e,t){I(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ke(e,t){return t._meridiemParse}I("H",["HH",2],0,"hour"),I("h",["hh",2],0,qe),I("k",["kk",2],0,(function(){return this.hours()||24})),I("hmm",0,0,(function(){return""+qe.apply(this)+E(this.minutes(),2)})),I("hmmss",0,0,(function(){return""+qe.apply(this)+E(this.minutes(),2)+E(this.seconds(),2)})),I("Hmm",0,0,(function(){return""+this.hours()+E(this.minutes(),2)})),I("Hmmss",0,0,(function(){return""+this.hours()+E(this.minutes(),2)+E(this.seconds(),2)})),Je("a",!0),Je("A",!1),F("hour","h"),V("hour",13),pe("a",Ke),pe("A",Ke),pe("H",ie),pe("h",ie),pe("k",ie),pe("HH",ie,Q),pe("hh",ie,Q),pe("kk",ie,Q),pe("hmm",re),pe("hmmss",ae),pe("Hmm",re),pe("Hmmss",ae),ye(["H","HH"],3),ye(["k","kk"],(function(e,t,n){var i=X(e);t[3]=24===i?0:i})),ye(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ye(["h","hh"],(function(e,t,n){t[3]=X(e),m(n).bigHour=!0})),ye("hmm",(function(e,t,n){var i=e.length-2;t[3]=X(e.substr(0,i)),t[4]=X(e.substr(i)),m(n).bigHour=!0})),ye("hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=X(e.substr(0,i)),t[4]=X(e.substr(i,2)),t[5]=X(e.substr(r)),m(n).bigHour=!0})),ye("Hmm",(function(e,t,n){var i=e.length-2;t[3]=X(e.substr(0,i)),t[4]=X(e.substr(i))})),ye("Hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=X(e.substr(0,i)),t[4]=X(e.substr(i,2)),t[5]=X(e.substr(r))}));var Ze,Qe=G("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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"},months:ke,monthsShort:Se,week:{dow:0,doy:6},weekdays:ze,weekdaysMin:We,weekdaysShort:Be,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function it(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function rt(e){return e?e.toLowerCase().replace("_","-"):e}function at(t){var i=null;if(void 0===tt[t]&&void 0!==e&&e&&e.exports)try{i=Ze._abbr,n("RnhZ")("./"+t),ot(i)}catch(e){tt[t]=null}return tt[t]}function ot(e,t){var n;return e&&((n=c(t)?lt(e):st(e,t))?Ze=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ze._abbr}function st(e,t){if(null!==t){var n,i=et;if(t.abbr=e,null!=tt[e])A("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])i=tt[t.parentLocale]._config;else{if(null==(n=at(t.parentLocale)))return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;i=n._config}return tt[e]=new T(C(i,t)),nt[e]&&nt[e].forEach((function(e){st(e.name,e.config)})),ot(e),tt[e]}return delete tt[e],null}function lt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ze;if(!a(e)){if(t=at(e))return t;e=[e]}return function(e){for(var t,n,i,r,a=0;a<e.length;){for(t=(r=rt(e[a]).split("-")).length,n=(n=rt(e[a+1]))?n.split("-"):null;t>0;){if(i=at(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&it(r,n)>=t-1)break;t--}a++}return Ze}(e)}function ct(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>we(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,m(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),m(e)._overflowWeeks&&-1===t&&(t=7),m(e)._overflowWeekday&&-1===t&&(t=8),m(e).overflow=t),e}var ut=/^\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)?)?$/,dt=/^\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)?)?$/,ht=/Z|[+-]\d\d(?::?\d\d)?/,ft=[["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]],pt=[["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/]],mt=/^\/?Date\((-?\d+)/i,gt=/^(?:(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}))$/,vt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function bt(e){var t,n,i,r,a,o,s=e._i,l=ut.exec(s)||dt.exec(s);if(l){for(m(e).iso=!0,t=0,n=ft.length;t<n;t++)if(ft[t][1].exec(l[1])){r=ft[t][0],i=!1!==ft[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(l[3])){a=(l[2]||" ")+pt[t][0];break}if(null==a)return void(e._isValid=!1)}if(!i&&null!=a)return void(e._isValid=!1);if(l[4]){if(!ht.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=r+(a||"")+(o||""),kt(e)}else e._isValid=!1}function yt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function _t(e){var t,n,i,r,a,o,s,l,c=gt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[4],i=c[3],r=c[2],a=c[5],o=c[6],s=c[7],l=[yt(n),Se.indexOf(i),parseInt(r,10),parseInt(a,10),parseInt(o,10)],s&&l.push(parseInt(s,10)),t=l,!function(e,t,n){return!e||Be.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(m(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return vt[e];if(t)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}(c[8],c[9],c[10]),e._d=Ye.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function xt(e,t,n){return null!=e?e:null!=t?t:n}function wt(e){var t,n,i,a,o,s=[];if(!e._d){for(i=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,i,r,a,o,s,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(a=1,o=4,n=xt(t.GG,e._a[0],He(Lt(),1,4).year),i=xt(t.W,1),((r=xt(t.E,1))<1||r>7)&&(l=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,c=He(Lt(),a,o),n=xt(t.gg,e._a[0],c.year),i=xt(t.w,c.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+a,(t.e<0||t.e>6)&&(l=!0)):r=a),i<1||i>Ne(n,a,o)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(s=Re(n,i,r,a,o),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(o=xt(e._a[0],i[0]),(e._dayOfYear>De(o)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=Ye(o,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ye:je).apply(null,s),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(m(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],m(e).empty=!0;var t,n,i,a,o,s,l=""+e._i,c=l.length,u=0;for(i=H(e._f,e._locale).match(D)||[],t=0;t<i.length;t++)a=i[t],(n=(l.match(me(a,e))||[])[0])&&((o=l.substr(0,l.indexOf(n))).length>0&&m(e).unusedInput.push(o),l=l.slice(l.indexOf(n)+n.length),u+=n.length),Y[a]?(n?m(e).empty=!1:m(e).unusedTokens.push(a),xe(a,n,e)):e._strict&&!n&&m(e).unusedTokens.push(a);m(e).charsLeftOver=c-u,l.length>0&&m(e).unusedInput.push(l),e._a[3]<=12&&!0===m(e).bigHour&&e._a[3]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=m(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),wt(e),ct(e)}else _t(e);else bt(e)}function St(e){var t=e._i,n=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new x(ct(t)):(d(t)?e._d=t:a(n)?function(e){var t,n,i,r,a,o,s=!1;if(0===e._f.length)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)a=0,o=!1,t=_({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],kt(t),g(t)&&(o=!0),a+=m(t).charsLeftOver,a+=10*m(t).unusedTokens.length,m(t).score=a,s?a<i&&(i=a,n=t):(null==i||a<i||o)&&(i=a,n=t,o&&(s=!0));f(e,n||t)}(e):n?kt(e):function(e){var t=e._i;c(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=mt.exec(e._i);null===t?(bt(e),!1===e._isValid&&(delete e._isValid,_t(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:r.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):a(t)?(e._a=h(t.slice(0),(function(e){return parseInt(e,10)})),wt(e)):o(t)?function(e){if(!e._d){var t=B(e._i),n=void 0===t.day?t.date:t.day;e._a=h([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),wt(e)}}(e):u(t)?e._d=new Date(t):r.createFromInputFallback(e)}(e),g(e)||(e._d=null),e))}function Mt(e,t,n,i,r){var s,c={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(o(e)&&l(e)||a(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=r,c._l=n,c._i=e,c._f=t,c._strict=i,(s=new x(ct(St(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Lt(e,t,n,i){return Mt(e,t,n,i,!1)}r.createFromInputFallback=S("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":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var At=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Lt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),Ot=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Lt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));function Ct(e,t){var n,i;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Lt();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Tt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Et(e){var t=B(e),n=t.year||0,i=t.quarter||0,r=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,l=t.hour||0,c=t.minute||0,u=t.second||0,d=t.millisecond||0;this._isValid=function(e){var t,n,i=!1;for(t in e)if(s(e,t)&&(-1===ve.call(Tt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Tt.length;++n)if(e[Tt[n]]){if(i)return!1;parseFloat(e[Tt[n]])!==X(e[Tt[n]])&&(i=!0)}return!0}(t),this._milliseconds=+d+1e3*u+6e4*c+1e3*l*60*60,this._days=+o+7*a,this._months=+r+3*i+12*n,this._data={},this._locale=lt(),this._bubble()}function Dt(e){return e instanceof Et}function Pt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function jt(e,t){I(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+E(~~(e/60),2)+t+E(~~e%60,2)}))}jt("Z",":"),jt("ZZ",""),pe("Z",he),pe("ZZ",he),ye(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=It(he,e)}));var Yt=/([\+\-]|\d\d)/gi;function It(e,t){var n,i,r=(t||"").match(e);return null===r?null:0===(i=60*(n=((r[r.length-1]||[])+"").match(Yt)||["-",0,0])[1]+X(n[2]))?0:"+"===n[0]?i:-i}function Rt(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(w(e)||d(e)?e.valueOf():Lt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):Lt(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}function Nt(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Ft=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Bt(e,t){var n,i,r,a,o,l,c=e,d=null;return Dt(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(c={},t?c[t]=+e:c.milliseconds=+e):(d=Ft.exec(e))?(n="-"===d[1]?-1:1,c={y:0,d:X(d[2])*n,h:X(d[3])*n,m:X(d[4])*n,s:X(d[5])*n,ms:X(Pt(1e3*d[6]))*n}):(d=zt.exec(e))?(n="-"===d[1]?-1:1,c={y:Wt(d[2],n),M:Wt(d[3],n),w:Wt(d[4],n),d:Wt(d[5],n),h:Wt(d[6],n),m:Wt(d[7],n),s:Wt(d[8],n)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(a=Lt(c.from),o=Lt(c.to),r=a.isValid()&&o.isValid()?(o=Rt(o,a),a.isBefore(o)?l=Vt(a,o):((l=Vt(o,a)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(c={}).ms=r.milliseconds,c.M=r.months),i=new Et(c),Dt(e)&&s(e,"_locale")&&(i._locale=e._locale),Dt(e)&&s(e,"_isValid")&&(i._isValid=e._isValid),i}function Wt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Vt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function $t(e,t){return function(n,i){var r;return null===i||isNaN(+i)||(A(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."),r=n,n=i,i=r),Ut(this,Bt(n,i),e),this}}function Ut(e,t,n,i){var a=t._milliseconds,o=Pt(t._days),s=Pt(t._months);e.isValid()&&(i=null==i||i,s&&Ce(e,q(e,"Month")+s*n),o&&J(e,"Date",q(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,o||s))}
339Bt.fn=Et.prototype,Bt.invalid=function(){return Bt(NaN)};var Xt=$t(1,"add"),Gt=$t(-1,"subtract");function qt(e){return"string"==typeof e||e instanceof String}function Jt(e){return w(e)||d(e)||qt(e)||u(e)||function(e){var t=a(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&qt(e)})).length),t&&n}(e)||function(e){var t,n,i=o(e)&&!l(e),r=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<a.length;t+=1)n=a[t],r=r||s(e,n);return i&&r}(e)||null==e}function Kt(e){var t,n=o(e)&&!l(e),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<r.length;t+=1)i=i||s(e,r[t]);return n&&i}function Zt(e,t){if(e.date()<t.date())return-Zt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function Qt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=lt(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var en=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function tn(){return this._locale}function nn(e,t){return(e%t+t)%t}function rn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function sn(){var e,t,n=[],i=[],r=[],a=[],o=this.eras();for(e=0,t=o.length;e<t;++e)i.push(ge(o[e].name)),n.push(ge(o[e].abbr)),r.push(ge(o[e].narrow)),a.push(ge(o[e].name)),a.push(ge(o[e].abbr)),a.push(ge(o[e].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function ln(e,t){I(0,[e,e.length],0,t)}function cn(e,t,n,i,r){var a;return null==e?He(this,i,r).year:(t>(a=Ne(e,i,r))&&(t=a),un.call(this,e,t,n,i,r))}function un(e,t,n,i,r){var a=Re(e,t,n,i,r),o=Ye(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}I("N",0,0,"eraAbbr"),I("NN",0,0,"eraAbbr"),I("NNN",0,0,"eraAbbr"),I("NNNN",0,0,"eraName"),I("NNNNN",0,0,"eraNarrow"),I("y",["y",1],"yo","eraYear"),I("y",["yy",2],0,"eraYear"),I("y",["yyy",3],0,"eraYear"),I("y",["yyyy",4],0,"eraYear"),pe("N",on),pe("NN",on),pe("NNN",on),pe("NNNN",(function(e,t){return t.erasNameRegex(e)})),pe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ye(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,i){var r=n._locale.erasParse(e,i,n._strict);r?m(n).era=r:m(n).invalidEra=e})),pe("y",ce),pe("yy",ce),pe("yyy",ce),pe("yyyy",ce),pe("yo",(function(e,t){return t._eraYearOrdinalRegex||ce})),ye(["y","yy","yyy","yyyy"],0),ye(["yo"],(function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,r):t[0]=parseInt(e,10)})),I(0,["gg",2],0,(function(){return this.weekYear()%100})),I(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),pe("G",ue),pe("g",ue),pe("GG",ie,Q),pe("gg",ie,Q),pe("GGGG",se,te),pe("gggg",se,te),pe("GGGGG",le,ne),pe("ggggg",le,ne),_e(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=X(e)})),_e(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),I("Q",0,"Qo","quarter"),F("quarter","Q"),V("quarter",7),pe("Q",Z),ye("Q",(function(e,t){t[1]=3*(X(e)-1)})),I("D",["DD",2],"Do","date"),F("date","D"),V("date",9),pe("D",ie),pe("DD",ie,Q),pe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ye(["D","DD"],2),ye("Do",(function(e,t){t[2]=X(e.match(ie)[0])}));var dn=G("Date",!0);I("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),V("dayOfYear",4),pe("DDD",oe),pe("DDDD",ee),ye(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=X(e)})),I("m",["mm",2],0,"minute"),F("minute","m"),V("minute",14),pe("m",ie),pe("mm",ie,Q),ye(["m","mm"],4);var hn=G("Minutes",!1);I("s",["ss",2],0,"second"),F("second","s"),V("second",15),pe("s",ie),pe("ss",ie,Q),ye(["s","ss"],5);var fn,pn,mn=G("Seconds",!1);for(I("S",0,0,(function(){return~~(this.millisecond()/100)})),I(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),I(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),I(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),I(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),I(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),I(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),F("millisecond","ms"),V("millisecond",16),pe("S",oe,Z),pe("SS",oe,Q),pe("SSS",oe,ee),fn="SSSS";fn.length<=9;fn+="S")pe(fn,ce);function gn(e,t){t[6]=X(1e3*("0."+e))}for(fn="S";fn.length<=9;fn+="S")ye(fn,gn);pn=G("Milliseconds",!1),I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var vn=x.prototype;function bn(e){return e}vn.add=Xt,vn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):Kt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Lt(),i=Rt(n,this).startOf("day"),a=r.calendarFormat(this,i)||"sameElse",o=t&&(O(t[a])?t[a].call(this,n):t[a]);
vendor: 4,735 bytes, line 339
339return this.format(o||this.localeData().calendar(a,this,Lt(n)))},vn.clone=function(){return new x(this)},vn.diff=function(e,t,n){var i,r,a;if(!this.isValid())return NaN;if(!(i=Rt(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=z(t)){case"year":a=Zt(this,i)/12;break;case"month":a=Zt(this,i);break;case"quarter":a=Zt(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:U(a)},vn.endOf=function(e){var t,n;if(void 0===(e=z(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:rn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},vn.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=R(this,e);return this.localeData().postformat(t)},vn.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Lt(e).isValid())?Bt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.fromNow=function(e){return this.from(Lt(),e)},vn.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Lt(e).isValid())?Bt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.toNow=function(e){return this.to(Lt(),e)},vn.get=function(e){return O(this[e=z(e)])?this[e]():this},vn.invalidAt=function(){return m(this).overflow},vn.isAfter=function(e,t){var n=w(e)?e:Lt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},vn.isBefore=function(e,t){var n=w(e)?e:Lt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},vn.isBetween=function(e,t,n,i){var r=w(e)?e:Lt(e),a=w(t)?t:Lt(t);return!!(this.isValid()&&r.isValid()&&a.isValid())&&(("("===(i=i||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(a,n):!this.isAfter(a,n)))},vn.isSame=function(e,t){var n,i=w(e)?e:Lt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},vn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},vn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},vn.isValid=function(){return g(this)},vn.lang=en,vn.locale=Qt,vn.localeData=tn,vn.max=Ot,vn.min=At,vn.parsingFlags=function(){return f({},m(this))},vn.set=function(e,t){if("object"==typeof e){var n,i=function(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:W[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=B(e));for(n=0;n<i.length;n++)this[i[n].unit](e[i[n].unit])}else if(O(this[e=z(e)]))return this[e](t);return this},vn.startOf=function(e){var t,n;if(void 0===(e=z(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:rn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=nn(t,6e4);break;case"second":t=this._d.valueOf(),t-=nn(t,1e3)}return this._d.setTime(t),r.updateOffset(this,!0),this},vn.subtract=Gt,vn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},vn.toObject=function(){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()}},vn.toDate=function(){return new Date(this.valueOf())},vn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;
vendor: 15,724 bytes, line 339
339return n.year()<0||n.year()>9999?R(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(n,"Z")):R(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},vn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,i="moment",r="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=r+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(vn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),vn.toJSON=function(){return this.isValid()?this.toISOString():null},vn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},vn.unix=function(){return Math.floor(this.valueOf()/1e3)},vn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},vn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},vn.eraName=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].name;if(i[e].until<=n&&n<=i[e].since)return i[e].name}return""},vn.eraNarrow=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].narrow;if(i[e].until<=n&&n<=i[e].since)return i[e].narrow}return""},vn.eraAbbr=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].abbr;if(i[e].until<=n&&n<=i[e].since)return i[e].abbr}return""},vn.eraYear=function(){var e,t,n,i,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,i=this.clone().startOf("day").valueOf(),a[e].since<=i&&i<=a[e].until||a[e].until<=i&&i<=a[e].since)return(this.year()-r(a[e].since).year())*n+a[e].offset;return this.year()},vn.year=Pe,vn.isLeapYear=function(){return $(this.year())},vn.weekYear=function(e){return cn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},vn.isoWeekYear=function(e){return cn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},vn.quarter=vn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},vn.month=Te,vn.daysInMonth=function(){return we(this.year(),this.month())},vn.week=vn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},vn.isoWeek=vn.isoWeeks=function(e){var t=He(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},vn.weeksInYear=function(){var e=this.localeData()._week;return Ne(this.year(),e.dow,e.doy)},vn.weeksInWeekYear=function(){var e=this.localeData()._week;return Ne(this.weekYear(),e.dow,e.doy)},vn.isoWeeksInYear=function(){return Ne(this.year(),1,4)},vn.isoWeeksInISOWeekYear=function(){return Ne(this.isoWeekYear(),1,4)},vn.date=dn,vn.day=vn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},vn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},vn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},vn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},vn.hour=vn.hours=Qe,vn.minute=vn.minutes=hn,vn.second=vn.seconds=mn,vn.millisecond=vn.milliseconds=pn,vn.utcOffset=function(e,t,n){var i,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=It(he,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Ht(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Ut(this,Bt(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Ht(this)},vn.utc=function(e){return this.utcOffset(0,e)},vn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this},vn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=It(de,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},vn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Lt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},vn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},vn.isLocal=function(){return!!this.isValid()&&!this._isUTC},vn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},vn.isUtc=Nt,vn.isUTC=Nt,vn.zoneAbbr=function(){return this._isUTC?"UTC":""},vn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},vn.dates=S("dates accessor is deprecated. Use date instead.",dn),vn.months=S("months accessor is deprecated. Use month instead",Te),vn.years=S("years accessor is deprecated. Use year instead",Pe),vn.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),vn.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return _(t,this),(t=St(t))._a?(e=t._isUTC?p(t._a):Lt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var i,r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&X(e[i])!==X(t[i]))&&o++;return o+a}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var yn=T.prototype;function _n(e,t,n,i){var r=lt(),a=p().set(i,t);return r[n](a,e)}function xn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return _n(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=_n(e,i,n,"month");return r}function wn(e,t,n,i){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var r,a=lt(),o=e?a._week.dow:0,s=[];if(null!=n)return _n(t,(n+o)%7,i,"day");for(r=0;r<7;r++)s[r]=_n(t,(r+o)%7,i,"day");return s}yn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return O(i)?i.call(t,n):i},yn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(D).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},yn.invalidDate=function(){return this._invalidDate},yn.ordinal=function(e){return this._ordinal.replace("%d",e)},yn.preparse=bn,yn.postformat=bn,yn.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return O(r)?r(e,t,n,i):r.replace(/%d/i,e)},yn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return O(n)?n(t):n.replace(/%s/i,t)},yn.set=function(e){var t,n;for(n in e)s(e,n)&&(O(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},yn.eras=function(e,t){var n,i,a,o=this._eras||lt("en")._eras;for(n=0,i=o.length;n<i;++n){switch(typeof o[n].since){case"string":a=r(o[n].since).startOf("day"),o[n].since=a.valueOf()}switch(typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":a=r(o[n].until).startOf("day").valueOf(),o[n].until=a.valueOf()}}return o},yn.erasParse=function(e,t,n){var i,r,a,o,s,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(a=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[i];break;case"NNNN":if(a===e)return l[i];break;case"NNNNN":if(s===e)return l[i]}else if([a,o,s].indexOf(e)>=0)return l[i]},yn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n},yn.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},yn.erasNameRegex=function(e){return s(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},yn.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},yn.months=function(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Me).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone},yn.monthsShort=function(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Me.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},yn.monthsParse=function(e,t,n){var i,r,a;if(this._monthsParseExact)return Oe.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=p([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},yn.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ee.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=Ae),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},yn.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ee.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Le),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},yn.week=function(e){return He(e,this._week.dow,this._week.doy).week},yn.firstDayOfYear=function(){return this._week.doy},yn.firstDayOfWeek=function(){return this._week.dow},yn.weekdays=function(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Fe(n,this._week.dow):e?n[e.day()]:n},yn.weekdaysMin=function(e){return!0===e?Fe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},yn.weekdaysShort=function(e){return!0===e?Fe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},yn.weekdaysParse=function(e,t,n){var i,r,a;if(this._weekdaysParseExact)return Xe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=p([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},yn.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Ve),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},yn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=$e),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},yn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ue),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},yn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},yn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ot("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;return e+(1===X(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=S("moment.lang is deprecated. Use moment.locale instead.",ot),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",lt);var kn=Math.abs;function Sn(e,t,n,i){var r=Bt(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function Mn(e){return e<0?Math.floor(e):Math.ceil(e)}function Ln(e){return 4800*e/146097}function An(e){return 146097*e/4800}function On(e){return function(){return this.as(e)}}var Cn=On("ms"),Tn=On("s"),En=On("m"),Dn=On("h"),Pn=On("d"),jn=On("w"),Yn=On("M"),In=On("Q"),Rn=On("y");function Hn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Nn=Hn("milliseconds"),Fn=Hn("seconds"),zn=Hn("minutes"),Bn=Hn("hours"),Wn=Hn("days"),Vn=Hn("months"),$n=Hn("years"),Un=Math.round,Xn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gn(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}var qn=Math.abs;function Jn(e){return(e>0)-(e<0)||+e}function Kn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,a,o,s,l=qn(this._milliseconds)/1e3,c=qn(this._days),u=qn(this._months),d=this.asSeconds();return d?(e=U(l/60),t=U(e/60),l%=60,e%=60,n=U(u/12),u%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",a=Jn(this._months)!==Jn(d)?"-":"",o=Jn(this._days)!==Jn(d)?"-":"",s=Jn(this._milliseconds)!==Jn(d)?"-":"",r+"P"+(n?a+n+"Y":"")+(u?a+u+"M":"")+(c?o+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+i+"S":"")):"P0D"}var Zn=Et.prototype;return Zn.isValid=function(){return this._isValid},Zn.abs=function(){var e=this._data;return this._milliseconds=kn(this._milliseconds),this._days=kn(this._days),this._months=kn(this._months),e.milliseconds=kn(e.milliseconds),e.seconds=kn(e.seconds),e.minutes=kn(e.minutes),e.hours=kn(e.hours),e.months=kn(e.months),e.years=kn(e.years),this},Zn.add=function(e,t){return Sn(this,e,t,1)},Zn.subtract=function(e,t){return Sn(this,e,t,-1)},Zn.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;
339if("month"===(e=z(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+Ln(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(An(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},Zn.asMilliseconds=Cn,Zn.asSeconds=Tn,Zn.asMinutes=En,Zn.asHours=Dn,Zn.asDays=Pn,Zn.asWeeks=jn,Zn.asMonths=Yn,Zn.asQuarters=In,Zn.asYears=Rn,Zn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*X(this._months/12):NaN},Zn._bubble=function(){var e,t,n,i,r,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*Mn(An(s)+o),o=0,s=0),l.milliseconds=a%1e3,e=U(a/1e3),l.seconds=e%60,t=U(e/60),l.minutes=t%60,n=U(t/60),l.hours=n%24,o+=U(n/24),r=U(Ln(o)),s+=r,o-=Mn(An(r)),i=U(s/12),s%=12,l.days=o,l.months=s,l.years=i,this},Zn.clone=function(){return Bt(this)},Zn.get=function(e){return e=z(e),this.isValid()?this[e+"s"]():NaN},Zn.milliseconds=Nn,Zn.seconds=Fn,Zn.minutes=zn,Zn.hours=Bn,Zn.days=Wn,Zn.weeks=function(){return U(this.days()/7)},Zn.months=Vn,Zn.years=$n,Zn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,a=Xn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(a=Object.assign({},Xn,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),n=this.localeData(),i=function(e,t,n,i){var r=Bt(e).abs(),a=Un(r.as("s")),o=Un(r.as("m")),s=Un(r.as("h")),l=Un(r.as("d")),c=Un(r.as("M")),u=Un(r.as("w")),d=Un(r.as("y")),h=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||u<=1&&["w"]||u<n.w&&["ww",u]),(h=h||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,h[3]=+e>0,h[4]=i,Gn.apply(null,h)}(this,!r,a,n),r&&(i=n.pastFuture(+this,i)),n.postformat(i)},Zn.toISOString=Kn,Zn.toString=Kn,Zn.toJSON=Kn,Zn.locale=Qt,Zn.localeData=tn,Zn.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Kn),Zn.lang=en,I("X",0,0,"unix"),I("x",0,0,"valueOf"),pe("x",ue),pe("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ye("x",(function(e,t,n){n._d=new Date(X(e))})), 340//! moment.js 341r.version="2.29.1",t=Lt,r.fn=vn,r.min=function(){var e=[].slice.call(arguments,0);return Ct("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return Ct("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=p,r.unix=function(e){return Lt(1e3*e)},r.months=function(e,t){return xn(e,t,"months")},r.isDate=d,r.locale=ot,r.invalid=v,r.duration=Bt,r.isMoment=w,r.weekdays=function(e,t,n){return wn(e,t,n,"weekdays")},r.parseZone=function(){return Lt.apply(null,arguments).parseZone()},r.localeData=lt,r.isDuration=Dt,r.monthsShort=function(e,t){return xn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return wn(e,t,n,"weekdaysMin")},r.defineLocale=st,r.updateLocale=function(e,t){if(null!=t){var n,i,r=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(C(tt[e]._config,t)):(null!=(i=at(e))&&(r=i._config),t=C(r,t),null==i&&(t.abbr=e),(n=new T(t)).parentLocale=tt[e],tt[e]=n),ot(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===ot()&&ot(e)):null!=tt[e]&&delete tt[e]);return tt[e]},r.locales=function(){return M(tt)},r.weekdaysShort=function(e,t,n){return wn(e,t,n,"weekdaysShort")},r.normalizeUnits=z,r.relativeTimeRounding=function(e){return void 0===e?Un:"function"==typeof e&&(Un=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Xn[e]&&(void 0===t?Xn[e]:(Xn[e]=t,"s"===e&&(Xn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=vn,r.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"},r}()}).call(this,n("YuTi")(e))},wjVM:function(e,t,n){"use strict";(function(e){var i=n("Dgc1"),r=n("b5oN"),a=n("fHbr");function o(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}function s(e,t,n,i,r,a,o,s,l,c){"boolean"!=typeof o&&(l=s,s=o,o=!1);var u,d="function"==typeof n?n.options:n;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,r&&(d.functional=!0)),i&&(d._scopeId=i),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=u):t&&(u=o?function(e){t.call(this,c(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),u)if(d.functional){var h=d.render;d.render=function(e,t){return u.call(t),h(e,t)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,u):[u]}return n}var l=s({},void 0,{name:"dynamic-link",render:function(e){return this.isLinkAction?e("div",{},this.$slots.default):this.isUsingVueRouter?this.path.name?e("router-link",{props:{to:{name:this.path.name}}},this.$slots.default):e("router-link",{props:{to:{path:this.path}}},this.$slots.default):e("a",{attrs:{href:this.path}},this.$slots.default)},props:{isUsingVueRouter:{type:Boolean,required:!0},path:{type:[String,Object],required:!0},isLinkAction:{type:Boolean,required:!0}}},void 0,void 0,void 0,!1,void 0,void 0,void 0),c={name:"brand-image",props:{options:{type:Object,required:!0}},data:function(){return{}},computed:{},methods:{},components:{DynamicLink:l}},u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vnb__brand-image-wrapper"},[n("dynamic-link",{staticClass:"vnb__brand-image-wrapper__link",attrs:{path:e.options.brandImagePath,isUsingVueRouter:e.options.isUsingVueRouter,"aria-label":"Homepage",isLinkAction:!1},nativeOn:{click:function(t){return e.$emit("vnb-item-clicked","brand-image")}}},[e.options.brandImage?n("img",{staticClass:"vnb-image vnb__brand-image-wrapper__link__image",attrs:{src:e.options.brandImage,alt:e.options.brandImageAltText}}
341):e._e()])],1)};u._withStripped=!0;var d=s({render:u,staticRenderFns:[]},void 0,c,void 0,!1,void 0,!1,void 0,void 0,void 0),h={name:"desktop-menu-item-link",props:{option:{type:Object,required:!0},options:{type:Object,required:!0}},data:function(){return{currentExpandedStatus:"closed"}},computed:{isExpanded:function(){return"open"===this.currentExpandedStatus}},methods:{subMenuItemSelected:function(e){this.closeAllTooltips()},subMenuItemTabbed:function(e){this.option.subMenuOptions[this.option.subMenuOptions.length-1].text===e&&this.closeAllTooltips()},menuShown:function(){this.currentExpandedStatus="open"},menuHidden:function(){this.currentExpandedStatus="closed"},closeAllTooltips:function(){Object(r.b)()},initTippy:function(){var e=this,t=document.getElementById("dropdown-menu-parent-"+this.option.id),n=document.getElementById("sub-menu-options-"+this.option.id);n.style.display="block",Object(r.a)(t,{theme:"light",content:n,interactive:!0,animation:this.options.tooltipAnimationType,role:"Menu",trigger:"click mouseenter focus",appendTo:"parent",arrow:!0,inertia:!1,placement:this.options.tooltipPlacement,popperOptions:{modifiers:[{name:"flip",options:{fallbackPlacements:[this.options.tooltipPlacement]}}]},onShow:function(t){Object(r.b)({exclude:t}),e.menuShown()},onHide:function(){e.menuHidden()}})}},mounted:function(){this.option.subMenuOptions&&this.option.subMenuOptions.length&&this.initTippy()},components:{DynamicLink:l}},f=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.option.subMenuOptions&&e.option.subMenuOptions.length?n("span",{staticClass:"vnb__menu-options__option__link",attrs:{id:"dropdown-menu-parent-"+e.option.id,"aria-haspopup":"true","aria-expanded":e.isExpanded?"true":"false","aria-label":e.option.text,tabindex:"0"}},[e.option.iconLeft?n("span",{staticClass:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--left",domProps:{innerHTML:e._s(e.option.iconLeft)}}):e._e(),e._v("\n "+e._s(e.option.text)+"\n "),e.option.iconRight?n("span",{staticClass:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--right",domProps:{innerHTML:e._s(e.option.iconRight)}}):e._e(),e._v(" "),n("svg",{class:["vnb__menu-options__option__arrow",{"vnb__menu-options__option__arrow--hover":e.isExpanded}],style:{fill:e.option.arrowColor},attrs:{height:"28pt",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 49 28",width:"49pt",xmlns:"http://www.w3.org/2000/svg"}},[n("title",[e._v("Toggle Arrow")]),e._v(" "),n("path",{attrs:{d:"m12 268c-7-7-12-17-12-23 0-13 232-245 245-245 6 0 64 54 129 119 119 119 132 142 90 158-11 4-44-23-113-91-53-53-101-96-106-96-6 0-53 43-105 95s-99 95-105 95-16-5-23-12z",transform:"matrix(.1 0 0 -.1 0 28)"}})]),e._v(" "),"link"===e.option.type?n("div",{staticClass:"vnb__sub-menu-options",attrs:{id:"sub-menu-options-"+e.option.id}},[n("div",{staticClass:"vnb__sub-menu-options__option",attrs:{tabindex:"-1"}},e._l(e.option.subMenuOptions,(function(t,i){return"link"===t.type?n("dynamic-link",{key:i,staticClass:"vnb__sub-menu-options__option__link",attrs:{path:t.path,isUsingVueRouter:e.options.isUsingVueRouter,"aria-label":t.text,tabindex:"0",isLinkAction:!!t.isLinkAction},nativeOn:{click:function(n){e.subMenuItemSelected(t.text),e.$emit("vnb-item-clicked",t.text)},keydown:function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"tab",9,n.key,"Tab")?null:e.subMenuItemTabbed(t.text)}}},[t.iconLeft?n("span",{staticClass:"vnb__sub-menu-options__option__link__icon vnb__sub-menu-options__option__link__icon--left",domProps:{innerHTML:e._s(t.iconLeft)}}):e._e(),e._v(" "),n("span",{staticClass:"vnb__sub-menu-options__option__link__text-wrapper"},[n("span",{staticClass:"vnb__sub-menu-options__option__link__text-wrapper__text"},[e._v(e._s(t.text))]),e._v(" "),t.subText?n("span",{staticClass:"vnb__sub-menu-options__option__link__text-wrapper__sub-text"},[e._v(e._s(t.subText))]):e._e()]),e._v(" "),t.iconRight?n("span",{staticClass:"vnb__sub-menu-options__option__link__icon vnb__sub-menu-options__option__link__icon--right",domProps:{innerHTML:e._s(t.iconRight)}}
341):e._e()]):n("hr",{staticClass:"vnb__sub-menu-options__option__hr",attrs:{tabindex:"-1"}})})),1)]):e._e()]):n("dynamic-link",{staticClass:"vnb__menu-options__option__link",attrs:{path:e.option.path,isUsingVueRouter:e.options.isUsingVueRouter,"aria-label":e.option.text,tabindex:"0",isLinkAction:!!e.option.isLinkAction},nativeOn:{click:function(t){return e.$emit("vnb-item-clicked",e.option.text)}}},[e.option.iconLeft?n("span",{staticClass:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--left",domProps:{innerHTML:e._s(e.option.iconLeft)}}):e._e(),e._v("\n "+e._s(e.option.text)+"\n "),e.option.iconRight?n("span",{staticClass:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--right",domProps:{innerHTML:e._s(e.option.iconRight)}}):e._e()])};f._withStripped=!0;var p=s({render:f,staticRenderFns:[]},void 0,h,void 0,!1,void 0,!1,void 0,void 0,void 0),m={name:"desktop-menu-item-button",props:{option:{type:Object,required:!0},options:{type:Object,required:!0}},data:function(){return{}},computed:{},methods:{},components:{DynamicLink:l}},g=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("dynamic-link",{class:["vnb__menu-options__option__button","vnb-button",e.option.class],attrs:{path:e.option.path,isUsingVueRouter:e.options.isUsingVueRouter,"aria-label":e.option.text,isLinkAction:!!e.option.isLinkAction},nativeOn:{click:function(t){return e.$emit("vnb-item-clicked",e.option.text)}}},[e.option.iconLeft?n("span",{staticClass:"vnb__menu-options__option__button__icon vnb__menu-options__option__button__icon--left",domProps:{innerHTML:e._s(e.option.iconLeft)}}):e._e(),e._v("\n "+e._s(e.option.text)+"\n "),e.option.iconRight?n("span",{staticClass:"vnb__menu-options__option__button__icon vnb__menu-options__option__button__icon--right",domProps:{innerHTML:e._s(e.option.iconRight)}}):e._e()])};g._withStripped=!0;var v=s({render:g,staticRenderFns:[]},void 0,m,void 0,!1,void 0,!1,void 0,void 0,void 0),b={name:"desktop-menu-item-spacer",props:{option:{type:Object,required:!0}},data:function(){return{}},computed:{},methods:{}},y=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"vnb__menu-options__option__spacer"})};y._withStripped=!0;var _=s({render:y,staticRenderFns:[]},void 0,b,void 0,!1,void 0,!1,void 0,void 0,void 0),x={name:"menu-options",mixins:[i.a.VueScreenSizeMixin],props:{options:{type:Object,required:!0},type:{type:String,required:!0}},data:function(){return{}},computed:{},methods:{vnbItemClicked:function(e){this.$emit("vnb-item-clicked",e)}},components:{DesktopMenuItemLink:p,DesktopMenuItemButton:v,DesktopMenuItemSpacer:_}},w=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.$vssWidth>e.options.mobileBreakpoint?n("div",{class:["vnb__menu-options",{"vnb__menu-options--left":"left"===e.type},{"vnb__menu-options--right":"right"===e.type}]},e._l("left"===e.type?e.options.menuOptionsLeft:e.options.menuOptionsRight,(function(t,i){return n("div",{key:i,staticClass:"vnb__menu-options__option"},["link"===t.type?n("desktop-menu-item-link",{attrs:{option:t,options:e.options},on:{"vnb-item-clicked":e.vnbItemClicked}}):"button"===t.type?n("desktop-menu-item-button",{attrs:{option:t,options:e.options},on:{"vnb-item-clicked":e.vnbItemClicked}}):n("desktop-menu-item-spacer",{attrs:{option:t}})],1)})),0):e._e()};w._withStripped=!0;var k=s({render:w,staticRenderFns:[]},void 0,x,void 0,!1,void 0,!1,void 0,void 0,void 0),S={name:"collapse-button",mixins:[i.a.VueScreenSizeMixin],props:{options:{type:Object,required:!0},menuIsVisible:{type:Boolean,required:!0}},data:function(){return{}},computed:{},methods:{collapseButtonClicked:function(){this.$emit("collapse-button-clicked")}}},M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.$vssWidth<e.options.mobileBreakpoint?n("button",{staticClass:"vnb__collapse-button",attrs:{type:"button","aria-expanded":e.menuIsVisible?"true":"false"},on:{click:e.collapseButtonClicked}},[e.options.collapseButtonImageOpen?n("img",{staticClass:"vnb__collapse-button__image",attrs:{src:e.options.collapseButtonImageOpen,alt:"Menu"}}):n("svg",{staticClass:"vnb__collapse-button__image",style:{fill:e.options.collapseButtonOpenColor},attrs:{height:"100pt",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 100 100",width:"100pt",xmlns:"http://www.w3.org/2000/svg"}},[n("title",[e._v("Menu")]),e._v(" "),n("g",{attrs:{transform:"matrix(.1 0 0 -.1 0 100)"}},[n("path",{attrs:{d:"m0 850v-40h500 500v40 40h-500-500z"}}),e._v(" "),n("path",{attrs:{d:"m0 495v-45h500 500v45 45h-500-500z"}}),e._v(" "),n("path",{attrs:{d:"m0 140v-40h500 500v40 40h-500-500z"}}
341)])])]):e._e()};M._withStripped=!0;var L=s({render:M,staticRenderFns:[]},void 0,S,void 0,!1,void 0,!1,void 0,void 0,void 0),A={name:"popup",props:{options:{type:Object,required:!0},menuIsVisible:{type:Boolean,required:!0}},data:function(){return{}},computed:{combinedMenuItems:function(){return this.options.menuOptionsLeft.concat(this.options.menuOptionsRight)}},methods:{closeButtonClicked:function(){this.$emit("close-button-clicked")},itemSelected:function(e){this.$emit("vnb-item-clicked",e.text),this.closeButtonClicked()}},components:{DynamicLink:l,SlideYDownTransition:a.a}},O=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("slide-y-down-transition",[e.menuIsVisible?n("div",{staticClass:"vnb__popup"},[n("div",{staticClass:"vnb__popup__top"},[e.options.showBrandImageInMobilePopup&&e.options.brandImage?n("img",{staticClass:"vnb-image vnb__popup__top__image",attrs:{src:e.options.brandImage,alt:e.options.brandImageAltText}}):e._e(),e._v(" "),n("button",{staticClass:"vnb__popup__top__close-button",attrs:{"aria-label":"Close Button",title:"Close","aria-expanded":e.menuIsVisible?"true":"false"},on:{click:e.closeButtonClicked}},[e.options.collapseButtonImageClose?n("img",{staticClass:"vnb__popup__top__close-button__image",attrs:{src:e.options.collapseButtonImageClose,alt:"Close button"}}):n("svg",{staticClass:"vnb__popup__top__close-button__image",style:{fill:e.options.collapseButtonCloseColor},attrs:{height:"100pt",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 100 100",width:"100pt",xmlns:"http://www.w3.org/2000/svg"}},[n("title",[e._v("Close button")]),e._v(" "),n("path",{attrs:{d:"m42 967c-12-13-22-27-22-33 0-5 93-102 207-216l208-208-208-208c-114-114-207-214-207-223 0-8 11-26 25-39l26-24 214 214 215 215 215-215 214-214 26 24c14 13 25 28 25 34s-92 103-205 216-205 209-205 215 92 102 205 215 205 210 205 216c0 12-42 54-55 54-5 0-104-94-220-210l-210-210-210 210c-115 116-212 210-216 210-3 0-15-10-27-23z",transform:"matrix(.1 0 0 -.1 0 100)"}})])])]),e._v(" "),n("div",{staticClass:"vnb__popup__bottom"},[this.$slots["custom-section"]?n("div",{staticClass:"vnb__popup__bottom__custom-section"},[e._t("custom-section")],2):e._e(),e._v(" "),n("ul",{staticClass:"vnb__popup__bottom__menu-options"},e._l(e.combinedMenuItems,(function(t,i){return n("li",{key:i,staticClass:"vnb__popup__bottom__menu-options__option"},[t.subMenuOptions?n("span",{staticClass:"vnb__popup__bottom__menu-options__option__link vnb__popup__bottom__menu-options__option__link--no-highlight"},[e._v(e._s(t.text))]):n("dynamic-link",{class:["vnb__popup__bottom__menu-options__option__link",t.class],attrs:{path:t.path,isUsingVueRouter:e.options.isUsingVueRouter,"aria-label":t.text,isLinkAction:!!t.isLinkAction},nativeOn:{click:function(n){return e.itemSelected(t)}}},[t.iconLeft?n("span",{staticClass:"vnb__popup__bottom__menu-options__option__link__icon vnb__popup__bottom__menu-options__option__link__icon--left",domProps:{innerHTML:e._s(t.iconLeft)}}):e._e(),e._v("\n "+e._s(t.text)+"\n "),t.iconRight?n("span",{staticClass:"vnb__popup__bottom__menu-options__option__link__icon vnb__popup__bottom__menu-options__option__link__icon--right",domProps:{innerHTML:e._s(t.iconRight)}}):e._e()]),e._v(" "),n("div",{staticClass:"vnb__popup__bottom__sub-menu-options"},e._l(t.subMenuOptions,(function(i,r){return n("div",{key:r,staticClass:"vnb__popup__bottom__sub-menu-options__option"},["link"===i.type?n("dynamic-link",{staticClass:"vnb__popup__bottom__sub-menu-options__option__link",attrs:{path:i.path,isUsingVueRouter:e.options.isUsingVueRouter,"aria-label":i.text,isLinkAction:!!t.isLinkAction},nativeOn:{click:function(t){return e.itemSelected(i)}}},[e._v("\n "+e._s(i.text)+"\n "),n("span",{staticClass:"vnb__popup__bottom__sub-menu-options__option__link__sub-text"},[e._v(e._s(i.subText))])]):e._e()],1)})),0)],1)})),0)])]):e._e()])};O._withStripped=!0;var C=s({render:O,staticRenderFns:[]},void 0,A,void 0,!1,void 0,!1,void 0,void 0,void 0),T={name:"vue-navigation-bar",mixins:[i.a.VueScreenSizeMixin],props:{options:{type:Object,required:!0}},data:function(){return{menuIsVisible:!1}},computed:{finalOptions:function(){if(this.options.menuOptionsLeft)for(var e=0;e<this.options.menuOptionsLeft.length;e++)this.$set(this.options.menuOptionsLeft[e],"id",o());if(this.options.menuOptionsRight)for(var t=0;t<this.options.menuOptionsRight.length;t++)this.$set(this.options.menuOptionsRight[t],"id",o());return{elementId:this.options.elementId?this.options.elementId:o(),isUsingVueRouter:!!this.options.isUsingVueRouter,mobileBreakpoint:this.options.mobileBreakpoint?this.options.mobileBreakpoint:992,brandImagePath:this.options.brandImagePath?this.options.brandImagePath:"/",brandImage:this.options.brandImage?this.options.brandImage:null,brandImageAltText:this.options.brandImageAltText?this.options.brandImageAltText:"brand-image",collapseButtonImageOpen:this.options.collapseButtonImageOpen?this.options.collapseButtonImageOpen:null,collapseButtonImageClose:this.options.collapseButtonImageClose?this.options.collapseButtonImageClose:null,collapseButtonOpenColor:this.options.collapseButtonOpenColor?this.options.collapseButtonOpenColor:"#373737",collapseButtonCloseColor:this.options.collapseButtonCloseColor?this.options.collapseButtonCloseColor:"#373737",showBrandImageInMobilePopup:!!this.options.showBrandImageInMobilePopup,ariaLabelMainNav:this.options.ariaLabelMainNav?this.options.ariaLabelMainNav:"Main Navigation",tooltipAnimationType:this.options.tooltipAnimationType?this.options.tooltipAnimationType:"shift-away",tooltipPlacement:this.options.tooltipPlacement||"bottom",menuOptionsLeft:this.options.menuOptionsLeft?this.options.menuOptionsLeft:[],menuOptionsRight:this.options.menuOptionsRight?this.options.menuOptionsRight:[]}}},methods:{closeMobilePopup:function(){this.menuIsVisible=!1,this.$emit("vnb-mobile-popup-hidden")},showMobilePopup:function(){this.menuIsVisible=!0,this.$emit("vnb-mobile-popup-shown")}
341,vnbItemClicked:function(e){this.$emit("vnb-item-clicked",e)}},components:{BrandImage:d,MenuOptions:k,CollapseButton:L,Popup:C}},E=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("nav",{staticClass:"vnb",attrs:{id:e.finalOptions.elementId,"aria-label":e.finalOptions.ariaLabelMainNav}},[n("brand-image",{attrs:{options:e.finalOptions},on:{"vnb-item-clicked":e.vnbItemClicked}}),e._v(" "),n("menu-options",{attrs:{options:e.finalOptions,type:"left"},on:{"vnb-item-clicked":e.vnbItemClicked}}),e._v(" "),e.$vssWidth>e.options.mobileBreakpoint?e._t("custom-section"):e._e(),e._v(" "),n("menu-options",{attrs:{options:e.finalOptions,type:"right"},on:{"vnb-item-clicked":e.vnbItemClicked}}),e._v(" "),e.finalOptions.menuOptionsLeft.length||e.finalOptions.menuOptionsRight.length?n("collapse-button",{attrs:{options:e.finalOptions,menuIsVisible:e.menuIsVisible},on:{"collapse-button-clicked":e.showMobilePopup}}):e._e(),e._v(" "),e.finalOptions.menuOptionsLeft.length||e.finalOptions.menuOptionsRight.length?n("popup",{attrs:{options:e.finalOptions,menuIsVisible:e.menuIsVisible},on:{"close-button-clicked":e.closeMobilePopup,"vnb-item-clicked":e.vnbItemClicked},scopedSlots:e._u([{key:"custom-section",fn:function(){return[e._t("custom-section")]},proxy:!0}],null,!0)}):e._e()],2)};E._withStripped=!0;var D=s({render:E,staticRenderFns:[]},void 0,T,void 0,!1,void 0,!1,void 0,void 0,void 0);var P={install:function e(t){e.installed||(e.installed=!0,t.component("VueNavigationBar",D))}},j=null;"undefined"!=typeof window?j=window.Vue:void 0!==e&&(j=e.Vue),j&&j.use(P),t.a=D}).call(this,n("yLpj"))},wrZu:function(e,t,n){var i=n("+K+b"),r=n("XYm9"),a=n("b2z7"),o=n("otv/"),s=n("yP5f");e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return i(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return r(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return a(e);case"[object Set]":return new l;case"[object Symbol]":return o(e)}}},wwGG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=(0,n("eO9T").regex)("decimal",/^[-]?\d*(\.\d+)?$/);t.default=i},wy8a:function(e,t,n){var i=n("KxBF");e.exports=function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:i(e,t,n)}},x2tJ:function(e,t,n){"use strict";n.r(t),n.d(t,"COMPONENT_REGISTRY",(function(){return y}));var i=n("QILm"),r=n.n(i),a=n("lSNA"),o=n.n(a),s=n("Kw5r");function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=function(){return Promise.resolve().then(n.bind(null,"AkwW"))},d=function(e){return e?e.component?e:{id:e.id,component:u,vBinds:{href:e.href,label:e.label,icon:e.icon||"mdi-arrow-right",color:e.color||void 0,classes:e.classes||void 0}}:null},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(d).filter(Boolean)},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e){return c(c({},e),{},{buttons:h(e.buttons||[])})}))},p=function(e){var t={};return e.forEach((function(e){e.key&&"itemList"!==e.type&&"columnPicker"!==e.type&&void 0!==e.default&&(t[e.key]=e.default)})),t},m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return c(c({},p(e)),t)},g=[{key:"id",label:"ID",type:"text",default:"",readonly:!0},{key:"label",label:"Button label",type:"text",default:""},{key:"href",label:"URL / href",type:"text",default:""},{key:"icon",label:"Icon (mdi-â¦)",type:"icon",default:""},{key:"color",label:"Colour class",type:"text",default:""},{key:"classes",label:"Extra CSS classes",type:"text",default:""}],v=function(){return{id:"btn_"+Date.now()+"_"+Math.random().toString(36).slice(2,6),label:"Button",href:"",icon:"",color:"",classes:""}},b=function(e){var t=e.schema,n=e.propsMapper,i=e.slotsMapper,a=e.paddingClass;return c(c(c(c(c({},r()(e,["schema","propsMapper","slotsMapper","paddingClass"])),{},{schema:t},n&&{propsMapper:n}),i&&{slotsMapper:i}),a&&{paddingClass:a}),{},{defaultProps:m(t,e.defaultPropsOverrides||{})})},y={GenericPageBanner:b({label:"Page Banner",icon:"mdi-page-layout-header",description:"Hero banner with title, description and background image",component:function(){return Promise.resolve().then(n.bind(null,"6hVe"))},propsMapper:function(e){return{bannerImageUrl:e.bannerImageUrl,bannerImageAlt:e.bannerImageAlt,journal:e.journal,showLogo:!1!==e.showLogo,showCTA:!0===e.showCTA,ctaLabel:e.ctaLabel,ctaHref:e.ctaHref,ctaIcon:e.ctaIcon,ctaColor:e.ctaColor,title:e.title,de
341scription:e.description}},slotsMapper:function(e){return c({title:function(){return e.title}},e.description&&{description:function(){return e.description}})},schema:[{key:"title",label:"Title",type:"text",default:"Page Title"},{key:"description",label:"Description",type:"textarea",default:""},{key:"bannerImageUrl",label:"Banner Image URL",type:"text",default:""},{key:"bannerImageAlt",label:"Banner Image Alt",type:"text",default:""},{key:"journal",label:"Journal",type:"select",options:[{text:"None",value:""},{text:"PeerJ Life & Environment",value:"peerj"},{text:"PeerJ Computer Science",value:"computer-science"},{text:"PeerJ Brand",value:"peerj-brand"}],default:""},{key:"showLogo",label:"Show journal logo",type:"boolean",default:!0},{key:"showCTA",label:"Show CTA button",type:"boolean",default:!0},{key:"ctaLabel",label:"CTA button label",type:"text",default:"Submit article"},{key:"ctaHref",label:"CTA button URL / href",type:"text",default:"/new/"},{key:"ctaIcon",label:"CTA button icon",type:"icon",default:""},{key:"ctaColor",label:"CTA button colour",type:"text",default:"primary"}],defaultPropsOverrides:{description:"Add a brief description of this page.",showLogo:!1}}),J_AccentedCardSection:b({label:"Accented Card Section",icon:"mdi-view-grid-outline",description:"Grid of icon+text cards with optional buttons",component:function(){return n.e("mc-cards").then(n.bind(null,"m6bF"))},propsMapper:function(e){return{items:f(e.items),buttons:h(e.sectionButtons),cols:e.cols,md:e.md,lg:e.lg,cardClass:e.cardClass,rowClass:e.rowClass,color:e.color,dark:e.dark,sectionTitle:e.sectionTitle,sectionSubtitle:e.sectionSubtitle,sectionButtons:e.sectionButtons}},slotsMapper:function(e){return c(c({},e.sectionTitle&&{title:function(){return Object(s.h)("h2",{class:e.dark?"font-weight-mid white--text":""},e.sectionTitle)}}),e.sectionSubtitle&&{subtitle:function(){return Object(s.h)("p",{class:e.dark?"white--text":""},e.sectionSubtitle)}})},schema:[{key:"sectionTitle",label:"Section Title",type:"text",default:"Section Title"},{key:"sectionSubtitle",label:"Section Subtitle",type:"text",default:"Add a brief description of this section."},{key:"rowClass",label:"Row CSS class",type:"text",default:"py-10"},{key:"cols",label:"Cols (base)",type:"number",default:12},{key:"md",label:"Cols (md breakpoint)",type:"number",default:6},{key:"lg",label:"Cols (lg breakpoint)",type:"number",default:4},{key:"cardClass",label:"Card CSS class",type:"text",default:""},{key:"color",label:"Background colour",type:"text",default:"accent"},{key:"dark",label:"Dark mode",type:"boolean",default:!1},{key:"items",label:"Cards / Stats Items",type:"itemList",itemSchema:[{key:"icon",label:"Icon (mdi-â¦)",type:"icon",default:""},{key:"title",label:"Title",type:"text",default:""},{key:"text",label:"Body text",type:"textarea",default:""},{key:"height",label:"Card height (e.g. 95px)",type:"text",default:""},{key:"oneLine",label:"Single-line card",type:"boolean",default:!1},{key:"largeTitle",label:"Large title",type:"boolean",default:!1},{key:"iconColor",label:"Icon colour class",type:"text",default:""},{key:"iconSize",label:"Icon size (px)",type:"number",default:24},{key:"buttons",label:"Card Buttons",type:"itemList",itemSchema:g,defaultItem:v}],defaultItem:function(){return{id:"item_"+Date.now()+"_"+Math.random().toString(36).slice(2,6),icon:"",title:"New Item",text:""}}},{key:"sectionButtons",label:"Section Buttons",type:"itemList",itemSchema:g,defaultItem:v}],defaultPropsOverrides:{sectionTitle:"Section Title",sectionSubtitle:"Add a brief description of this section.",items:[{id:"card_1",icon:"mdi-bullseye",title:"Feature One",text:"Describe the first feature or benefit here.",buttons:[]},{id:"card_2",icon:"mdi-star-outline",title:"Feature Two",text:"Describe the second feature or benefit here.",buttons:[]},{id:"card_3",icon:"mdi-rocket-launch-outline",title:"Feature Three",text:"Describe the third feature or benefit here.",buttons:[]}],sectionButtons:[]}}),SubmitBanner:b({label:"Submit Banner",icon:"mdi-send-circle-outline",description:"CTA banner with submission links and info cards",component:function(){return n.e("mc-submit").then(n.bind(null,"2Fqu"))},propsMapper:function(e){return{rowClass:e.rowClass,title:e.title}},paddingClass:function(){return"py-0"},schema:[{key:"rowClass",label:"Row CSS class",type:"text",default:"py-0"},{key:"title",label:"Title",type:"text",default:"Ready to Submit your Research?"}]}),H_SeeWhatAuthorsAreSaying:b({label:"Author Testimonials",icon:"mdi-account-voice",description:"Carousel of author quotes",component:function(){return n.e("mc-testimonials").then(n.bind(null,"MygL"))},propsMapper:function(e){return{title:e.title,testimonials:e.testimonials||[]}},paddingClass:function(){return"py-10"},schema:[{key:"title",label:"Section Title",type:"text",default:"What our Authors are Saying"},{key:"testimonials",label:"Testimonials",type:"itemList",itemSchema:[{key:"_id",label:"ID",type:"text",default:"",readonly:!0},{key:"quote",label:"Quote",type:"textarea",default:"",rows:4},{key:"author",label:"Author name",type:"text",default:""},{key:"authorTitle",label:"Author title / institution",type:"text",default:""},{key:"image",label:"Image URL (optional)",type:"text",default:""}],defaultItem:function(){return{_id:"tst_"+Date.now()+"_"+Math.random().toString(36).slice(2,6),quote:"",author:"",authorTitle:"",image:""}}
341}],defaultPropsOverrides:{testimonials:[{_id:"tst_1",quote:"Add an author quote here. Describe their positive experience with the journal.",author:"Author Name",authorTitle:"Country, Year",image:""},{_id:"tst_2",quote:"Add a second author quote here. Keep quotes concise and impactful.",author:"Author Name",authorTitle:"Country, Year",image:""}]}}),J_ReadyToSubmit:b({label:"Ready to Submit",icon:"mdi-check-circle-outline",description:"CTA block with a submit button",component:function(){return n.e("mc-ready").then(n.bind(null,"11Uy"))},propsMapper:function(e){return{submissionButtonLabel:e.submissionButtonLabel}},paddingClass:function(){return"py-10"},schema:[{key:"submissionButtonLabel",label:"Button Label",type:"text",default:"Submit article"}]}),J_ColumnLayout:b({label:"Column Layout",icon:"mdi-view-column-outline",description:"Responsive grid block with 1â4 configurable columns, each holding other components",component:function(){return n.e("mc-columns").then(n.bind(null,"HGGk"))},paddingClass:function(){return""},schema:[{key:"numColumns",label:"Number of Columns",type:"select",options:[1,2,3,4],default:2},{key:"padding",label:"Vertical Padding",type:"select",options:["","py-4","py-6","py-10","py-16"],default:"py-10"},{key:"columnItems",label:"Column Items",type:"columnPicker"}],defaultPropsOverrides:{columnItems:[[],[]]}}),YouTubePlayer:b({label:"YouTube Player",icon:"mdi-video-outline",description:"Embedded YouTube Player",component:function(){return Promise.resolve().then(n.bind(null,"XD+U"))},propsMapper:function(e){return{videoId:e.videoId,title:e.title,description:e.description}},paddingClass:function(e){return e.padding?"py-10":"py-0"},schema:[{key:"videoId",label:"Video ID",type:"text",default:"zlmeMc7P4gI"},{key:"title",label:"Title",type:"text",default:"Video Title"},{key:"description",label:"Description",type:"text",default:"Video Description"},{key:"autoplay",label:"Autoplay",type:"boolean",default:!1},{key:"padding",label:"Vertical Padding",type:"boolean",default:!1}],defaultPropsOverrides:{description:"Add a description of this video."}}),Image:b({label:"Image",icon:"mdi-image-outline",description:"Image with optional caption",component:function(){return Promise.resolve().then(n.bind(null,"RY00"))},propsMapper:function(e){return{src:e.src,alt:e.alt,caption:e.caption,width:e.width,height:e.height}},paddingClass:function(e){return e.padding?"py-10":"py-0"},schema:[{key:"src",label:"Image URL",type:"text",default:""},{key:"alt",label:"Alt text",type:"text",default:"Image description"},{key:"caption",label:"Caption",type:"text",default:""},{key:"width",label:"Width (e.g. 100% or 400px)",type:"text",default:"100%"},{key:"height",label:"Height (e.g. 300px)",type:"text",default:""},{key:"padding",label:"Vertical Padding",type:"boolean",default:!1}]}),Image_CTA:b({label:"Image with CTA Button",icon:"mdi-image-move",description:"Image with optional caption and a CTA button",component:function(){return Promise.resolve().then(n.bind(null,"pdp4"))},propsMapper:function(e){return{src:e.src,alt:e.alt,caption:e.caption,width:e.width,height:e.height,buttonLabel:e.buttonLabel,buttonHref:e.buttonHref,buttonColor:e.buttonColor,buttonIcon:e.buttonIcon}},paddingClass:function(e){return e.padding?"py-10":"py-0"},schema:[{key:"src",label:"Image URL",type:"text",default:""},{key:"alt",label:"Alt text",type:"text",default:""},{key:"caption",label:"Caption",type:"text",default:""},{key:"width",label:"Width",type:"text",default:"100%"},{key:"height",label:"Height",type:"text",default:""},{key:"buttonLabel",label:"Button label",type:"text",default:""},{key:"buttonHref",label:"Button URL / href",type:"text",default:""},{key:"buttonColor",label:"Button colour",type:"text",default:"primary"},{key:"buttonIcon",label:"Button icon",type:"icon",default:""},{key:"padding",label:"Vertical Padding",type:"boolean",default:!1}],defaultPropsOverrides:{alt:"Image description",buttonLabel:"Learn more",buttonIcon:"mdi-arrow-right",padding:!1}}),Header_Textbox_CTA:b({label:"Header Textbox with CTA Button",icon:"mdi-format-text",description:"Header textbox with CTA Button",component:function(){return Promise.resolve().then(n.bind(null,"Ptxk"))},propsMapper:function(e){return{title:e.title,subtitle:e.subtitle,buttons:h(e.sectionButtons),dark:e.dark,color:e.color}},paddingClass:function(e){return e.padding?"py-10":"py-0"},schema:[{key:"title",label:"Title",type:"text",default:"Section Title"},{key:"subtitle",label:"Subtitle",type:"text",default:"Subtitle"}
341,{key:"color",label:"Background colour",type:"text",default:"white"},{key:"dark",label:"Dark mode",type:"boolean",default:!1},{key:"padding",label:"Vertical Padding",type:"boolean",default:!1},{key:"sectionButtons",label:"Section Buttons",type:"itemList",itemSchema:g,defaultItem:v}],defaultPropsOverrides:{subtitle:"Add a brief description of this section.",sectionButtons:[]}}),MC_HtmlContentBlock:b({label:"Rich Text",icon:"mdi-text-box-outline",description:"PeerJ-styled formatted text block with headings, lists, links, and inline emphasis",component:function(){return n.e("mc-html").then(n.bind(null,"oAy7"))},propsMapper:function(e){return{html:e.html,maxWidth:e.maxWidth,align:e.align,colorClass:e.colorClass}},paddingClass:function(){return"py-10"},schema:[{key:"html",label:"Formatted Content",type:"html",default:"<h2>Section heading</h2><p>Add formatted marketing copy here.</p><ul><li>Use headings for structure</li><li>Use lists for key benefits</li><li><strong>Use bold</strong> or <em>italic</em> for emphasis</li></ul>",hint:"Supports headings, bold, italic, links, bullet lists, and numbered lists."},{key:"align",label:"Text alignment",type:"select",options:[{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}],default:"left"},{key:"maxWidth",label:"Max width",type:"text",default:"860px"},{key:"colorClass",label:"Wrapper colour class",type:"text",default:""}]}),Brevo_Marketing_Signup_Form:b({label:"Brevo Marketing Signup Form",icon:"mdi-email-outline",description:"Embed a Brevo Marketing Signup Form",component:function(){return n.e("mc-brevo").then(n.bind(null,"Roga"))},propsMapper:function(e){return{height:e.height,width:e.width}},paddingClass:function(e){return e.padding?"py-10":"py-0"},schema:[{key:"height",label:"Form height (e.g. 400px)",type:"text",default:"500px"},{key:"width",label:"Form width (e.g. 300px)",type:"text",default:"100%"},{key:"padding",label:"Vertical Padding",type:"boolean",default:!1}]})}},x6pH:function(e,t,n){!function(e){"use strict";
342//! moment.js locale configuration 343e.defineLocale("he",{months:"×× ××ר_פ×ר××ר_×רץ_×פר××_×××_××× ×_××××_××××ס×_ספ×××ר_×××§×××ר_× ××××ר_×צ××ר".split("_"),monthsShort:"×× ×׳_פ×ר׳_×רץ_×פר׳_×××_××× ×_××××_×××׳_ספ×׳_××ק׳_× ××׳_×צ×׳".split("_"),weekdays:"ר×ש××_×©× ×_ש××ש×_ר×××¢×_×××ש×_ש×ש×_ש×ת".split("_"),weekdaysShort:"×׳_×׳_×׳_×׳_×׳_×׳_ש׳".split("_"),weekdaysMin:"×_×_×_×_×_×_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [×]MMMM YYYY",LLL:"D [×]MMMM YYYY HH:mm",LLLL:"dddd, D [×]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[×××× ×Ö¾]LT",nextDay:"[××ר ×Ö¾]LT",nextWeek:"dddd [×שע×] LT",lastDay:"[×ת××× ×Ö¾]LT",lastWeek:"[××××] dddd [×××ר×× ×שע×] LT",sameElse:"L"},relativeTime:{future:"××¢×× %s",past:"××¤× × %s",s:"×ספר ×©× ××ת",ss:"%d ×©× ××ת",m:"××§×",mm:"%d ××§×ת",h:"שע×",hh:function(e){return 2===e?"שעת×××":e+" שע×ת"},d:"×××",dd:function(e){return 2===e?"××××××":e+" ××××"},M:"×××ש",MM:function(e){return 2===e?"×××ש×××":e+" ×××ש××"},y:"×©× ×",yy:function(e){return 2===e?"×©× ×ª×××":e%10==0&&10!==e?e+" ×©× ×":e+" ×©× ××"}},meridiemParse:/×××"צ|××¤× ×"צ|×××¨× ×צ×ר×××|××¤× × ×צ×ר×××|××¤× ×ת ××קר|×××קר|×ער×/i,isPM:function(e){return/^(×××"צ|×××¨× ×צ×ר×××|×ער×)$/.test(e)},meridiem:function(e,t,n){return e<5?"××¤× ×ת ××קר":e<10?"×××קר":e<12?n?'××¤× ×"צ':"××¤× × ×צ×ר×××":e<18?n?'×××"צ':"×××¨× ×צ×ר×××":"×ער×"}})}(n("wd/R"))},xVPt:function(e,t,n){"use strict";n("lKn/")},xXF0:function(e,t,n){"use strict";n("UgCk")},xYtH:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{staticClass:"GPB_Banner isMobile py-0 px-0 ma-6"},[t("div",{staticClass:"BannerCard white"},[e.journalImageUrl&&e.journalName?[t("img",{staticClass:"mb-2",attrs:{alt:"".concat(e.journalName," logo"),src:e.journalImageUrl,"aria-hidden":"true",height:"90",width:"90"}})]:n.slot.headingImage?[e._t("headingImage")]:e._e(),e._v(" "),t("h1",{staticClass:"mb-4 font-weight-bold mb-4 pl-0 primary--text"},[e._v("\n "+e._s(e.bannerTitle)+"\n ")]),e._v(" "),t("div",{staticClass:"mb-4"},[e._v("\n "+e._s(e.bannerDescription)+"\n ")]),e._v(" "),e._t("actions",(function(){return[t(n.H_GenericButton,{attrs:{href:"/new/",label:"Submit Now"}})]}))],2)])};i._withStripped=!0;var r=n("AkwW"),a=n("Kw5r"),o={__name:"GPB_Mobile",props:{journalImageUrl:{type:String,default:""},journalName:{type:String,default:""},bannerTitle:{type:String,default:""},bannerDescription:{type:String,default:""}},setup:function(e){return{__sfc:!0,props:e,slot:Object(a.useSlots)(),H_GenericButton:r.default}}},s=(n("kz2/"),n("KHd+")),l=Object(s.a)(o,i,[],!1,null,null,null);t.default=l.exports},xfeJ:function(e,t){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}},xqZp:function(e,t,n){"use strict";n("K/2z");var i=n("uXRr"),r=n("hlRy"),a=n("2fdy"),o=n("gNKD");const s={...i.b,offsetY:!0,offsetOverflow:!0,transition:!1};t.a=i.a.extend({name:"v-autocomplete",props:{autoSelectFirst:{type:Boolean,default:!1},filter:{type:Function,default:(e,t,n)=>n.toLocaleLowerCase().indexOf(t.toLocaleLowerCase())>-1},hideNoData:Boolean,menuProps:{type:i.a.options.props.menuProps.type,default:()=>s},noFilter:Boolean,searchInput:{type:String}},data(){return{lazySearch:this.searchInput}},computed:{classes(){return{...i.a.options.computed.classes.call(this),"v-autocomplete":!0,"v-autocomplete--is-selecting-index":this.selectedIndex>-1}},computedItems(){return this.filteredItems},selectedValues(){return this.selectedItems.map(e=>this.getValue(e))},hasDisplayedItems(){return this.hideSelected?this.filteredItems.some(e=>!this.hasItem(e)):this.filteredItems.length>0},currentRange(){return null==this.selectedItem?0:String(this.getText(this.selectedItem)).length},filteredItems(){return!this.isSearching||this.noFilter||null==this.internalSearch?this.allItems:this.allItems.filter(e=>{const t=Object(o.r)(e,this.itemText),n=null!=t?String(t):"";return this.filter(e,String(this.internalSearch),n)})},internalSearch:{get(){return this.lazySearch},set(e){this.lazySearch!==e&&(this.lazySearch=e,this.$emit("update:search-input",e))}}
343,isAnyValueAllowed:()=>!1,isDirty(){return this.searchIsDirty||this.selectedItems.length>0},isSearching(){return this.multiple&&this.searchIsDirty||this.searchIsDirty&&this.internalSearch!==this.getText(this.selectedItem)},menuCanShow(){return!!this.isFocused&&(this.hasDisplayedItems||!this.hideNoData)},$_menuProps(){const e=i.a.options.computed.$_menuProps.call(this);return e.contentClass=("v-autocomplete__content "+(e.contentClass||"")).trim(),{...s,...e}},searchIsDirty(){return null!=this.internalSearch&&""!==this.internalSearch},selectedItem(){return this.multiple?null:this.selectedItems.find(e=>this.valueComparator(this.getValue(e),this.getValue(this.internalValue)))},listData(){const e=i.a.options.computed.listData.call(this);return e.props={...e.props,items:this.virtualizedItems,noFilter:this.noFilter||!this.isSearching||!this.filteredItems.length,searchInput:this.internalSearch},e}},watch:{filteredItems:"onFilteredItemsChanged",internalValue:"setSearch",isFocused(e){e?(document.addEventListener("copy",this.onCopy),this.$refs.input&&this.$refs.input.select()):(document.removeEventListener("copy",this.onCopy),this.blur(),this.updateSelf())},isMenuActive(e){!e&&this.hasSlot&&(this.lazySearch=null)},items(e,t){t&&t.length||!this.hideNoData||!this.isFocused||this.isMenuActive||!e.length||this.activateMenu()},searchInput(e){this.lazySearch=e},internalSearch:"onInternalSearchChanged",itemText:"updateSelf"},created(){this.setSearch()},destroyed(){document.removeEventListener("copy",this.onCopy)},methods:{onFilteredItemsChanged(e,t){if(e!==t){if(!this.autoSelectFirst){const n=t[this.$refs.menu.listIndex];n?this.setMenuIndex(e.findIndex(e=>e===n)):this.setMenuIndex(-1),this.$emit("update:list-index",this.$refs.menu.listIndex)}this.$nextTick(()=>{this.internalSearch&&(1===e.length||this.autoSelectFirst)&&(this.$refs.menu.getTiles(),this.autoSelectFirst&&e.length&&(this.setMenuIndex(0),this.$emit("update:list-index",this.$refs.menu.listIndex)))})}},onInternalSearchChanged(){this.updateMenuDimensions()},updateMenuDimensions(){this.isMenuActive&&this.$refs.menu&&this.$refs.menu.updateDimensions()},changeSelectedIndex(e){this.searchIsDirty||(this.multiple&&e===o.y.left?-1===this.selectedIndex?this.selectedIndex=this.selectedItems.length-1:this.selectedIndex--:this.multiple&&e===o.y.right?this.selectedIndex>=this.selectedItems.length-1?this.selectedIndex=-1:this.selectedIndex++:e!==o.y.backspace&&e!==o.y.delete||this.deleteCurrentItem())},deleteCurrentItem(){const e=this.selectedIndex,t=this.selectedItems[e];if(!this.isInteractive||this.getDisabled(t))return;const n=this.selectedItems.length-1;if(-1===this.selectedIndex&&0!==n)return void(this.selectedIndex=n);const i=e!==this.selectedItems.length-1?e:e-1;this.selectedItems[i]?this.selectItem(t):this.setValue(this.multiple?[]:null),this.selectedIndex=i},clearableCallback(){this.internalSearch=null,i.a.options.methods.clearableCallback.call(this)},genInput(){const e=r.a.options.methods.genInput.call(this);return e.data=Object(a.a)(e.data,{attrs:{"aria-activedescendant":Object(o.p)(this.$refs.menu,"activeTile.id"),autocomplete:Object(o.p)(e.data,"attrs.autocomplete","off")},domProps:{value:this.internalSearch}}),e},genInputSlot(){const e=i.a.options.methods.genInputSlot.call(this);return e.data.attrs.role="combobox",e},genSelections(){return this.hasSlot||this.multiple?i.a.options.methods.genSelections.call(this):[]},onClick(e){this.isInteractive&&(this.selectedIndex>-1?this.selectedIndex=-1:this.onFocus(),this.isAppendInner(e.target)||this.activateMenu())},onInput(e){if(this.selectedIndex>-1||!e.target)return;const t=e.target,n=t.value;t.value&&this.activateMenu(),this.multiple||""!==n||this.deleteCurrentItem(),this.internalSearch=n,this.badInput=t.validity&&t.validity.badInput},onKeyDown(e){const t=e.keyCode;!e.ctrlKey&&[o.y.home,o.y.end].includes(t)||i.a.options.methods.onKeyDown.call(this,e),this.changeSelectedIndex(t)},onSpaceDown(e){},onTabDown(e){i.a.options.methods.onTabDown.call(this,e),this.updateSelf()},onUpDown(e){e.preventDefault(),this.activateMenu()},selectItem(e){i.a.options.methods.selectItem.call(this,e),this.setSearch()},setSelectedItems(){i.a.options.methods.setSelectedItems.call(this),this.isFocused||this.setSearch()},setSearch(){this.$nextTick(()=>{this.multiple&&this.internalSearch&&this.isMenuActive||(this.internalSearch=!this.selectedItems.length||this.multiple||this.hasSlot?null:this.getText(this.selectedItem))})},updateSelf(){(this.searchIsDirty||this.internalValue)&&(this.multiple||this.valueComparator(this.internalSearch,this.getValue(this.internalValue))||this.setSearch())},hasItem(e){return this.selectedValues.indexOf(this.getValue(e))>-1},onCopy(e){var t,n;if(-1===this.selectedIndex)return;const i=this.selectedItems[this.selectedIndex],r=this.getText(i);null===(t=e.clipboardData)||void 0===t||t.setData("text/plain",r),null===(n=e.clipboardData)||void 0===n||n.setData("text/vnd.vuetify.autocomplete.item+plain",r),e.preventDefault()}}})},"xs/l":function(e,t,n){var i=n("TYy9"),r=n("Ioao"),a=n("wclG");e.exports=function(e){return a(r(e,void 0,i),e+"")}},xuIR:function(e,t,n){},xweI:function(e,t,n){var i=n("XGnz"),r=n("alwl"),a=n("EA7m"),o=n("mv/X"),s=a((function(e,t){if(null==e)return[];var n=t.length;return n>1&&o(e,t[0],t[1])?t=[]:n>2&&o(t[0],t[1],t[2])&&(t=[t[0]]),r(e,i(t,1),[])}));e.exports=s},"y/dr":function(e,t,n){"use strict";n("XUDj")},y2mG:function(e,t,n){"use strict";(function(e){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
343Object.defineProperty(t,"__esModule",{value:!0}),t.withParams=void 0;var i="undefined"!=typeof window?window:void 0!==e?e:{},r=i.vuelidate?i.vuelidate.withParams:function(e,t){return"object"===n(e)&&void 0!==t?t:e((function(){}))};t.withParams=r}).call(this,n("yLpj"))},yHx3:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,i=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(i.index=e.index,i.input=e.input),i}},yP5f:function(e,t,n){var i=n("+K+b");e.exports=function(e,t){var n=t?i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},yPMs:function(e,t,n){!function(e){"use strict"; 344//! moment.js locale configuration 345e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},yZ1b:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("eO9T"),r=(0,i.withParams)({type:"ipAddress"},(function(e){if(!(0,i.req)(e))return!0;if("string"!=typeof e)return!1;var t=e.split(".");return 4===t.length&&t.every(a)}));t.default=r;var a=function(e){if(e.length>3||0===e.length)return!1;if("0"===e[0]&&"0"!==e)return!1;if(!e.match(/^\d+$/))return!1;var t=0|+e;return t>=0&&t<=255}},ynEo:function(e,t,n){},yue5:function(e,t,n){var i=n("/9aa");e.exports=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,a=e==e,o=i(e),s=void 0!==t,l=null===t,c=t==t,u=i(t);if(!l&&!u&&!o&&e>t||o&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!a)return 1;if(!r&&!o&&!u&&e<t||u&&n&&a&&!r&&!o||l&&n&&a||!s&&a||!c)return-1}return 0}},yv7h:function(e,t,n){"use strict";n.r(t),function(e){ 346/**! 347 * @fileOverview Kickass library to create and place poppers near their reference elements. 348 * @version 1.16.1 349 * @license 350 * Copyright (c) 2016 Federico Zivolo and contributors 351 * 352 * Permission is hereby granted, free of charge, to any person obtaining a copy 353 * of this software and associated documentation files (the "Software"), to deal 354 * in the Software without restriction, including without limitation the rights 355 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 356 * copies of the Software, and to permit persons to whom the Software is 357 * furnished to do so, subject to the following conditions: 358 * 359 * The above copyright notice and this permission notice shall be included in all 360 * copies or substantial portions of the Software. 361 * 362 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 363 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 364 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 365 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 366 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 367 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 368 * SOFTWARE. 369 */ 370var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,i=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var r=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),i))}};function a(e){return e&&"[object Function]"==={}.toString.call(e)}function o(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}
vendor: 4,365 bytes, line 370
370function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=o(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(n+r+i)?e:l(s(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function h(e){return 11===e?u:10===e?d:u||d}function f(e){if(!e)return document.documentElement;for(var t=h(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===o(n,"position")?f(n):n:e?e.ownerDocument.documentElement:document.documentElement}function p(e){return null!==e.parentNode?p(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,r=n?t:e,a=document.createRange();a.setStart(i,0),a.setEnd(r,0);var o,s,l=a.commonAncestorContainer;if(e!==l&&t!==l||i.contains(r))return"BODY"===(s=(o=l).nodeName)||"HTML"!==s&&f(o.firstElementChild)!==o?f(l):l;var c=p(e);return c.host?m(c.host,t):m(e,p(t).host)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",i=e.nodeName;if("BODY"===i||"HTML"===i){var r=e.ownerDocument.documentElement,a=e.ownerDocument.scrollingElement||r;return a[n]}return e[n]}function v(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=g(t,"top"),r=g(t,"left"),a=n?-1:1;return e.top+=i*a,e.bottom+=i*a,e.left+=r*a,e.right+=r*a,e}function b(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+i+"Width"])}function y(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],h(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function _(e){var t=e.body,n=e.documentElement,i=h(10)&&getComputedStyle(n);return{height:y("Height",t,n,i),width:y("Width",t,n,i)}}var x=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},w=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),k=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function M(e){return S({},e,{right:e.left+e.width,bottom:e.top+e.height})}function L(e){var t={};try{if(h(10)){t=e.getBoundingClientRect();var n=g(e,"top"),i=g(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(e){}var r={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===e.nodeName?_(e.ownerDocument):{},s=a.width||e.clientWidth||r.width,l=a.height||e.clientHeight||r.height,c=e.offsetWidth-s,u=e.offsetHeight-l;if(c||u){var d=o(e);c-=b(d,"x"),u-=b(d,"y"),r.width-=c,r.height-=u}return M(r)}function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=h(10),r="HTML"===t.nodeName,a=L(e),s=L(t),c=l(e),u=o(t),d=parseFloat(u.borderTopWidth),f=parseFloat(u.borderLeftWidth);n&&r&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var p=M({top:a.top-s.top-d,left:a.left-s.left-f,width:a.width,height:a.height});if(p.marginTop=0,p.marginLeft=0,!i&&r){var m=parseFloat(u.marginTop),g=parseFloat(u.marginLeft);p.top-=d-m,p.bottom-=d-m,p.left-=f-g,p.right-=f-g,p.marginTop=m,p.marginLeft=g}return(i&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(p=v(p,t)),p}function O(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=A(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),a=Math.max(n.clientHeight,window.innerHeight||0),o=t?0:g(n),s=t?0:g(n,"left"),l={top:o-i.top+i.marginTop,left
vendor: 9,951 bytes, line 370
370:s-i.left+i.marginLeft,width:r,height:a};return M(l)}function C(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===o(e,"position"))return!0;var n=s(e);return!!n&&C(n)}function T(e){if(!e||!e.parentElement||h())return document.documentElement;for(var t=e.parentElement;t&&"none"===o(t,"transform");)t=t.parentElement;return t||document.documentElement}function E(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a={top:0,left:0},o=r?T(e):m(e,c(t));if("viewport"===i)a=O(o,r);else{var u=void 0;"scrollParent"===i?"BODY"===(u=l(s(t))).nodeName&&(u=e.ownerDocument.documentElement):u="window"===i?e.ownerDocument.documentElement:i;var d=A(u,o,r);if("HTML"!==u.nodeName||C(o))a=d;else{var h=_(e.ownerDocument),f=h.height,p=h.width;a.top+=d.top-d.marginTop,a.bottom=f+d.top,a.left+=d.left-d.marginLeft,a.right=p+d.left}}var g="number"==typeof(n=n||0);return a.left+=g?n:n.left||0,a.top+=g?n:n.top||0,a.right-=g?n:n.right||0,a.bottom-=g?n:n.bottom||0,a}function D(e){return e.width*e.height}function P(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var o=E(n,i,a,r),s={top:{width:o.width,height:t.top-o.top},right:{width:o.right-t.right,height:o.height},bottom:{width:o.width,height:o.bottom-t.bottom},left:{width:t.left-o.left,height:o.height}},l=Object.keys(s).map((function(e){return S({key:e},s[e],{area:D(s[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function j(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=i?T(t):m(t,c(n));return A(n,r,i)}function Y(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),i=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function I(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function R(e,t,n){n=n.split("-")[0];var i=Y(e),r={width:i.width,height:i.height},a=-1!==["right","left"].indexOf(n),o=a?"top":"left",s=a?"left":"top",l=a?"height":"width",c=a?"width":"height";return r[o]=t[o]+t[l]/2-i[l]/2,r[s]=n===s?t[s]-i[c]:t[I(s)],r}function H(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function N(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var i=H(e,(function(e){return e[t]===n}));return e.indexOf(i)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&a(n)&&(t.offsets.popper=M(t.offsets.popper),t.offsets.reference=M(t.offsets.reference),t=n(t,e))})),t}function F(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=j(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=P(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=R(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=N(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function z(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function B(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var r=t[i],a=r?""+r+n:e;if(void 0!==document.body.style[a])return a}return null}function W(){return this.state.isDestroyed=!0,z(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[B("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function V(e){var t=e.ownerDocument;return t?t.defaultView:window}function $(e,t,n,i){n.updateBound=i,V(e).addEventListener("resize",n.updateBound,{passive:!0});var r=l(e);return function e(t,n,i,r){var a="BODY"===t.nodeName,o=a?t.ownerDocument.defaultView:t;o.addEventListener(n,i,{passive:!0}),a||e(l(o.parentNode),n,i,r),r.push(o)}(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function U(){this.state.eventsEnabled||(this.state=$(this.reference,this.options,this.state,this.scheduleUpdate))}function X(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,V(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function G(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function q(e,t){Object.keys(t).forEach((function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&G(t[n])&&(i="px"),e.style[n]=t[n]+i}))}var J=n&&/Firefox/i.test(navigator.userAgent);function K(e,t,n){var i=H(e,(function(e){return e.name===t})),r=!!i&&e.some((function(e){return e.name===n&&e.enabled&&e.order<i.order}));if(!r){var a="`"+t+"`",o="`"+n+"`";console.warn(o+" modifier is required by "+a+" modifier in order to work, be sure to include it before "+a+"!")}return r}var Z=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Q=Z.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Q.indexOf(e),i=Q.slice(n+1).concat(Q.slice(0,n));return t?i.reverse():i}var te="flip",ne="clockwise",ie="counterclockwise";function re(e,t,n,i){var r=[0,0],a=-1!==["right","left"].indexOf(i),o=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=o.indexOf(H(o,(function(e){return-1!==e.search(/,|\s/)})));o[s]&&-1===o[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[o.slice(0,s).concat([o[s].split(l)[0]]),[o[s].split(l)[1]].concat(o.slice(s+1))]:[o];return(c=c.map((function(e,i){var r=(1===i?!a:a)?"height":"width",o=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,o=!0,e):o?(e[e.length-1]+=t,o=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,i){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+r[1],o=r[2];if(!a)return e;if(0===o.indexOf("%")){var s=void 0;switch(o){case"%p":s=n;break;case"%":case"%r":default:s=i}return M(s)[t]/100*a}if("vh"===o||"vw"===o){return("vh"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*a}return a}(e,r,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,i){G(n)&&(r[t]+=n*("-"===e[i-1]?-1:1))}))})),r}var ae={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var r=e.offsets,a=r.reference,o=r.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:k({},l,a[l]),end:k({},l,a[l]+a[c]-o[c])};e.offsets.popper=S({},o,u[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,i=e.placement,r=e.offsets,a=r.popper,o=r.reference,s=i.split("-")[0],l=void 0;return l=G(+n)?[+n,0]:re(n,a,o,s),"left"===s?(a.top+=l[0],a.left-=l[1]):"right"===s?(a.top+=l[0],a.left+=l[1]):"top"===s?(a.left+=l[0],a.top-=l[1]):"bottom"===s&&(a.left+=l[0],a.top+=l[1]),e.popper=a,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||f(e.instance.popper);e.instance.reference===n&&(n=f(n));var i=B("transform"),r=e.instance.popper.style,a=r.top,o=r.left,s=r[i];r.top="",r.left="",r[i]="";var l=E(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=a,r.left=o,r[i]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),k({},e,n)},secondary:function(e){var n="right"===e?"left":"top",i=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(i=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),k({},n,i)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=S({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,r=e.placement.split("-")[0],a=Math.floor,o=-1!==["top","bottom"].indexOf(r),s=o?"right":"bottom",l=o?"left":"top",c=o?"width":"height";return n[s]<a(i[l])&&(e.offsets.popper[l]=a(i[l])-n[c]),n[l]>a(i[s])&&(e.offsets.popper[l]=a(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!K(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],a=e.offsets,s=a.popper,l=a.reference,c=-1!==["left","right"].indexOf(r),u=c?"height":"width",d=c?"Top":"Left",h=d.toLowerCase(),f=c?"left":"top",p=c?"bottom":"right",m=Y(i)[u];l[p]-m<s[h]&&(e.offsets.popper[h]-=s[h]-(l[p]-m)),l[h]+m>
vendor: 5,942 bytes, line 370
370s[p]&&(e.offsets.popper[h]+=l[h]+m-s[p]),e.offsets.popper=M(e.offsets.popper);var g=l[h]+l[u]/2-m/2,v=o(e.instance.popper),b=parseFloat(v["margin"+d]),y=parseFloat(v["border"+d+"Width"]),_=g-e.offsets.popper[h]-b-y;return _=Math.max(Math.min(s[u]-m,_),0),e.arrowElement=i,e.offsets.arrow=(k(n={},h,Math.round(_)),k(n,f,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(z(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=E(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],r=I(i),a=e.placement.split("-")[1]||"",o=[];switch(t.behavior){case te:o=[i,r];break;case ne:o=ee(i);break;case ie:o=ee(i,!0);break;default:o=t.behavior}return o.forEach((function(s,l){if(i!==s||o.length===l+1)return e;i=e.placement.split("-")[0],r=I(i);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,h="left"===i&&d(c.right)>d(u.left)||"right"===i&&d(c.left)<d(u.right)||"top"===i&&d(c.bottom)>d(u.top)||"bottom"===i&&d(c.top)<d(u.bottom),f=d(c.left)<d(n.left),p=d(c.right)>d(n.right),m=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),v="left"===i&&f||"right"===i&&p||"top"===i&&m||"bottom"===i&&g,b=-1!==["top","bottom"].indexOf(i),y=!!t.flipVariations&&(b&&"start"===a&&f||b&&"end"===a&&p||!b&&"start"===a&&m||!b&&"end"===a&&g),_=!!t.flipVariationsByContent&&(b&&"start"===a&&p||b&&"end"===a&&f||!b&&"start"===a&&g||!b&&"end"===a&&m),x=y||_;(h||v||x)&&(e.flipped=!0,(h||v)&&(i=o[l+1]),x&&(a=function(e){return"end"===e?"start":"start"===e?"end":e}(a)),e.placement=i+(a?"-"+a:""),e.offsets.popper=S({},e.offsets.popper,R(e.instance.popper,e.offsets.reference,e.placement)),e=N(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,r=i.popper,a=i.reference,o=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[o?"left":"top"]=a[n]-(s?r[o?"width":"height"]:0),e.placement=I(t),e.offsets.popper=M(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!K(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=H(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,r=e.offsets.popper,a=H(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==a&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var o=void 0!==a?a:t.gpuAcceleration,s=f(e.instance.popper),l=L(s),c={position:r.position},u=function(e,t){var n=e.offsets,i=n.popper,r=n.reference,a=Math.round,o=Math.floor,s=function(e){return e},l=a(r.width),c=a(i.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),h=t?u||d||l%2==c%2?a:o:s,f=t?a:s;return{left:h(l%2==1&&c%2==1&&!d&&t?i.left-1:i.left),top:f(i.top),bottom:f(i.bottom),right:h(i.right)}}(e,window.devicePixelRatio<2||!J),d="bottom"===n?"top":"bottom",h="right"===i?"left":"right",p=B("transform"),m=void 0,g=void 0;if(g="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===h?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,o&&p)c[p]="translate3d("+m+"px, "+g+"px, 0)",c[d]=0,c[h]=0,c.willChange="transform";else{var v="bottom"===d?-1:1,b="right"===h?-1:1;c[d]=g*v,c[h]=m*b,c.willChange=d+", "+h}var y={"x-placement":e.placement};return e.attributes=S({},y,e.attributes),e.styles=S({},c,e.styles),e.arrowStyles=S({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return q(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&q(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,r){var a=j(r,t,e,n.positionFixed),o=P(n.placement,a,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",o),q(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},oe=function(){function e(t,n){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};x(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=r(this.update.bind(this)),this.options=S({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){i.options.modifiers[t]=S({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return S({name:e},i.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&a(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return w(e,[{key:"update",value:function(){return F.call(this)}},{key:"destroy",value:function(){return W.call(this)}},{key:"enableEventListeners",value:function(){return U.call(this)}},{key:"disableEventListeners",value:function(){return X.call(this)}}]),e}();oe.Utils=("undefined"!=typeof window?window:e).PopperUtils,oe.placements=Z,oe.Defaults=ae,t.default=oe}.call(this,n("yLpj"))},z1FC:function(e,t,n){!function(e){"use strict";
vendor: 1,526 bytes, lines 371-372
371//! moment.js locale configuration 372function t(e,t,n,i){var r={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n mÃut","'iens mÃut"],mm:[e+" mÃuts",e+" mÃuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return i||t?r[n][0]:r[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à ] LT",nextDay:"[demà à ] LT",nextWeek:"dddd [à ] LT",lastDay:"[ieiri à ] LT",lastWeek:"[sür el] dddd [lasteu à ] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(e,t,n){!function(e){"use strict";
373//! moment.js locale configuration 374var t="pagh_waâ_chaâ_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,i,r){var a=function(e){var n=Math.floor(e%1e3/100),i=Math.floor(e%100/10),r=e%10,a="";return n>0&&(a+=t[n]+"vatlh"),i>0&&(a+=(""!==a?" ":"")+t[i]+"maH"),r>0&&(a+=(""!==a?" ":"")+t[r]),""===a?"pagh":a}(e);switch(i){case"ss":return a+" lup";case"mm":return a+" tup";case"hh":return a+" rep";case"dd":return a+" jaj";case"MM":return a+" jar";case"yy":return a+" DIS"}}e.defineLocale("tlh",{months:"teraâ jar waâ_teraâ jar chaâ_teraâ jar wej_teraâ jar loS_teraâ jar vagh_teraâ jar jav_teraâ jar Soch_teraâ jar chorgh_teraâ jar Hut_teraâ jar waâmaH_teraâ jar waâmaH waâ_teraâ jar waâmaH chaâ".split("_"),monthsShort:"jar waâ_jar chaâ_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar waâmaH_jar waâmaH waâ_jar waâmaH chaâ".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[waâleS] LT",nextWeek:"LLL",lastDay:"[waâHuâ] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Huâ":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"waâ tup",mm:n,h:"waâ rep",hh:n,d:"waâ jaj",dd:n,M:"waâ jar",MM:n,y:"waâ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},zEVN:function(e,t,n){var i=n("Gi0A"),r=n("sEf8"),a=n("mdPL"),o=a&&a.isMap,s=o?r(o):i;e.exports=s},zNrW:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return e.editors&&e.editors.length?t("v-card",{staticClass:"rounded-0 pb-1"},[t("h2",{staticClass:"subtitle-1 grey--text text--darken-1 font-weight-bold px-4 pt-4 mb-0 pb-1"},[e._v("\n Affiliated Editors or Advisors\n ")]),e._v(" "),t("v-row",{staticClass:"my-6"},[t("TransitionGroup",{staticClass:"d-flex flex-wrap"},e._l(e.editors,(function(e){return t("v-col",{key:e.id,attrs:{cols:"4"}},[t("EditorCard",{attrs:{image:e.mediumPhoto,name:e.name,username:e.usernameNotEmail}})],1)})),1)],1),e._v(" "),t("v-pagination",{staticClass:"my-8",attrs:{disabled:e.loading,length:e.paginationConfig.length,"total-visible":e.paginationConfig.visible,"next-icon":"mdi-menu-right","prev-icon":"mdi-menu-left",color:"primary"},on:{input:e.handlePageChange},model:{value:e.page,callback:function(t){e.page=t},expression:"page"}})],1):e._e()};i._withStripped=!0;var r=n("o0o1"),a=n.n(r),o=n("yXPU"),s=n.n(o),l=n("lSNA"),c=n.n(l),u=n("L2JU"),d=n("WTW0"),h=n("TL/8");function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m={name:"Editors",props:{institutionId:{type:String,required:!0}},data:function(){return{page:1,itemsPerPage:9}},components:{EditorCard:h.default},computed:p(p(p({},Object(u.c)("plansInstitutionEditor",{editors:"list"})),Object(d.c)("plansInstitutionEditor",{loading:"loading",error:"error",total:"totalItems",resetList:"resetList"})),{},{paginationConfig:function(){var e=Math.ceil(this.total/this.itemsPerPage),t=e<7?e:7;return{page:this.page,length:e,visible:t,perPage:this.itemsPerPage}}}),methods:p(p({},Object(u.b)("plansInstitutionEditor",{fetchPlansInstitutionEditors:"fetchAll"})),{},{handlePageChange:function(){var e=this;return s()(a.a.mark((function t(){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.resetList=!0,t.next=3,e.fetchPlansInstitutionEditors({institution:e.institutionId,page:e.page,itemsPerPage:e.itemsPerPage});case 3:case"end":return t.stop()}}),t)})))()}}),created:function(){var e=this;return s()(a.a.mark((function t(){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.fetchPlansInstitutionEditors({institution:e.institutionId,page:e.page,itemsPerPage:e.itemsPerPage});case 2:case"end":return t.stop()}}),t)})))()}},g=(n("pPba"),n("KHd+")),v=n("ZUTo"),b=n.n(v),y=n("sK+t"),_=n("Yq0q"),x=n("iR7P"),w=n("D9m0"),k=Object(g.a)(m,i,[],!1,null,null,null);t.default=k.exports;b()(k,{VCard:y.a,VCol:_.a,VPagination:x.a,VRow:w.a})},zS8L:function(e,t,n){"use strict";(function(t,n){ 375/*! 376 * Vue.js v2.7.14 377 * (c) 2014-2022 Evan You 378 * Released under the MIT License. 379 */ 380/*! 381 * Vue.js v2.7.14 382 * (c) 2014-2022 Evan You 383 * Released under the MIT License. 384 */ 385const i=Object.freeze({}),r=Array.isArray;function a(e){return null==e}function o(e){return null!=e}function s(e){return!0===e}function l(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function c(e){return"function"==typeof e}function u(e){return null!==e&&"object"==typeof e}const d=Object.prototype.toString;function h(e){return"[object Object]"===d.call(e)}function f(e){const t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function m(e){return null==e?"":Array.isArray(e)||h(e)&&e.toString===d?JSON.stringify(e,null,2):String(e)}function g(e){const t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){const n=Object.create(null),i=e.split(",");for(let e=0;e<i.length;e++)n[i[e]]=!0;return t?e=>n[e.toLowerCase()]:e=>n[e]}const b=v("key,ref,slot,slot-scope,is");function y(e,t){const n=e.length;if(n){if(t===e[n-1])return void(e.length=n-1);const i=e.indexOf(t);if(i>-1)return e.splice(i,1)}}const _=Object.prototype.hasOwnProperty;function x(e,t){return _.call(e,t)}function w(e){const t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}const k=/-(\w)/g,S=w(e=>e.replace(k,(e,t)=>t?t.toUpperCase():"")),M=w(e=>e.charAt(0).toUpperCase()+e.slice(1)),L=/\B([A-Z])/g,A=w(e=>
385e.replace(L,"-$1").toLowerCase()),O=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){const i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function C(e,t){t=t||0;let n=e.length-t;const i=new Array(n);for(;n--;)i[n]=e[n+t];return i}function T(e,t){for(const n in t)e[n]=t[n];return e}function E(e){const t={};for(let n=0;n<e.length;n++)e[n]&&T(t,e[n]);return t}function D(e,t,n){}const P=(e,t,n)=>!1,j=e=>e;function Y(e,t){if(e===t)return!0;const n=u(e),i=u(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{const n=Array.isArray(e),i=Array.isArray(t);if(n&&i)return e.length===t.length&&e.every((e,n)=>Y(e,t[n]));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(n||i)return!1;{const n=Object.keys(e),i=Object.keys(t);return n.length===i.length&&n.every(n=>Y(e[n],t[n]))}}catch(e){return!1}}function I(e,t){for(let n=0;n<e.length;n++)if(Y(e[n],t))return n;return-1}function R(e){let t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function H(e,t){return e===t?0===e&&1/e!=1/t:e==e||t==t}const N=["component","directive","filter"],F=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"];var z={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:P,isReservedAttr:P,isUnknownElement:P,getTagNamespace:D,parsePlatformTagName:j,mustUseProp:P,async:!0,_lifecycleHooks:F};function B(e){const t=(e+"").charCodeAt(0);return 36===t||95===t}function W(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}const V=new RegExp(`[^${/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/.source}.$_\\d]`),$="__proto__"in{},U="undefined"!=typeof window,X=U&&window.navigator.userAgent.toLowerCase(),G=X&&/msie|trident/.test(X),q=X&&X.indexOf("msie 9.0")>0,J=X&&X.indexOf("edge/")>0;X&&X.indexOf("android");const K=X&&/iphone|ipad|ipod|ios/.test(X);X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X);const Z=X&&X.match(/firefox\/(\d+)/),Q={}.watch;let ee,te=!1;if(U)try{const e={};Object.defineProperty(e,"passive",{get(){te=!0}}),window.addEventListener("test-passive",null,e)}catch(i){}const ne=()=>(void 0===ee&&(ee=!U&&void 0!==t&&t.process&&"server"===t.process.env.VUE_ENV),ee),ie=U&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function re(e){return"function"==typeof e&&/native code/.test(e.toString())}const ae="undefined"!=typeof Symbol&&re(Symbol)&&"undefined"!=typeof Reflect&&re(Reflect.ownKeys);let oe;oe="undefined"!=typeof Set&&re(Set)?Set:class{constructor(){this.set=Object.create(null)}has(e){return!0===this.set[e]}add(e){this.set[e]=!0}clear(){this.set=Object.create(null)}};let se=null;function le(e=null){e||se&&se._scope.off(),se=e,e&&e._scope.on()}class ce{constructor(e,t,n,i,r,a,o,s){this.tag=e,this.data=t,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=o,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}get child(){return this.componentInstance}}const ue=(e="")=>{const t=new ce;return t.text=e,t.isComment=!0,t};function de(e){return new ce(void 0,void 0,void 0,String(e))}function he(e){const t=new ce(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}let fe=0;const pe=[];class me{constructor(){this._pending=!1,this.id=fe++,this.subs=[]}addSub(e){this.subs.push(e)}removeSub(e){this.subs[this.subs.indexOf(e)]=null,this._pending||(this._pe
385nding=!0,pe.push(this))}depend(e){me.target&&me.target.addDep(this)}notify(e){const t=this.subs.filter(e=>e);for(let e=0,n=t.length;e<n;e++)t[e].update()}}me.target=null;const ge=[];function ve(e){ge.push(e),me.target=e}function be(){ge.pop(),me.target=ge[ge.length-1]}const ye=Array.prototype,_e=Object.create(ye);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){const t=ye[e];W(_e,e,(function(...n){const i=t.apply(this,n),r=this.__ob__;let a;switch(e){case"push":case"unshift":a=n;break;case"splice":a=n.slice(2)}return a&&r.observeArray(a),r.dep.notify(),i}))}));const xe=Object.getOwnPropertyNames(_e),we={};let ke=!0;function Se(e){ke=e}const Me={notify:D,depend:D,addSub:D,removeSub:D};class Le{constructor(e,t=!1,n=!1){if(this.value=e,this.shallow=t,this.mock=n,this.dep=n?Me:new me,this.vmCount=0,W(e,"__ob__",this),r(e)){if(!n)if($)e.__proto__=_e;else for(let t=0,n=xe.length;t<n;t++){const n=xe[t];W(e,n,_e[n])}t||this.observeArray(e)}else{const i=Object.keys(e);for(let r=0;r<i.length;r++)Oe(e,i[r],we,void 0,t,n)}}observeArray(e){for(let t=0,n=e.length;t<n;t++)Ae(e[t],!1,this.mock)}}function Ae(e,t,n){return e&&x(e,"__ob__")&&e.__ob__ instanceof Le?e.__ob__:!ke||!n&&ne()||!r(e)&&!h(e)||!Object.isExtensible(e)||e.__v_skip||Re(e)||e instanceof ce?void 0:new Le(e,t,n)}function Oe(e,t,n,i,a,o){const s=new me,l=Object.getOwnPropertyDescriptor(e,t);if(l&&!1===l.configurable)return;const c=l&&l.get,u=l&&l.set;c&&!u||n!==we&&2!==arguments.length||(n=e[t]);let d=!a&&Ae(n,!1,o);return Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){const t=c?c.call(e):n;return me.target&&(s.depend(),d&&(d.dep.depend(),r(t)&&Ee(t))),Re(t)&&!a?t.value:t},set:function(t){const i=c?c.call(e):n;if(H(i,t)){if(u)u.call(e,t);else{if(c)return;if(!a&&Re(i)&&!Re(t))return void(i.value=t);n=t}d=!a&&Ae(t,!1,o),s.notify()}}}),s}function Ce(e,t,n){if(Ie(e))return;const i=e.__ob__;return r(e)&&f(t)?(e.length=Math.max(e.length,t),e.splice(t,1,n),i&&!i.shallow&&i.mock&&Ae(n,!1,!0),n):t in e&&!(t in Object.prototype)?(e[t]=n,n):e._isVue||i&&i.vmCount?n:i?(Oe(i.value,t,n,void 0,i.shallow,i.mock),i.dep.notify(),n):(e[t]=n,n)}function Te(e,t){if(r(e)&&f(t))return void e.splice(t,1);const n=e.__ob__;e._isVue||n&&n.vmCount||Ie(e)||x(e,t)&&(delete e[t],n&&n.dep.notify())}function Ee(e){for(let t,n=0,i=e.length;n<i;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),r(t)&&Ee(t)}function De(e){return Pe(e,!0),W(e,"__v_isShallow",!0),e}function Pe(e,t){Ie(e)||Ae(e,t,ne())}function je(e){return Ie(e)?je(e.__v_raw):!(!e||!e.__ob__)}function Ye(e){return!(!e||!e.__v_isShallow)}function Ie(e){return!(!e||!e.__v_isReadonly)}function Re(e){return!(!e||!0!==e.__v_isRef)}function He(e,t){if(Re(e))return e;const n={};return W(n,"__v_isRef",!0),W(n,"__v_isShallow",t),W(n,"dep",Oe(n,"value",e,null,t,ne())),n}function Ne(e,t,n){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>{const e=t[n];if(Re(e))return e.value;{const t=e&&e.__ob__;return t&&t.dep.depend(),e}},set:e=>{const i=t[n];Re(i)&&!Re(e)?i.value=e:t[n]=e}})}function Fe(e,t,n){const i=e[t];if(Re(i))return i;const r={get value(){const i=e[t];return void 0===i?n:i},set value(n){e[t]=n}};return W(r,"__v_isRef",!0),r}function ze(e){return Be(e,!1)}function Be(e,t){if(!h(e))return e;if(Ie(e))return e;const n=t?"__v_rawToShallowReadonly":"__v_rawToReadonly",i=e[n];if(i)return i;const r=Object.create(Object.getPrototypeOf(e));W(e,n,r),W(r,"__v_isReadonly",!0),W(r,"__v_raw",e),Re(e)&&W(r,"__v_isRef",!0),(t||Ye(e))&&W(r,"__v_isShallow",!0);const a=Object.keys(e);for(let n=0;n<a.length;n++)We(r,e,a[n],t);return r}function We(e,t,n,i){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get(){const e=t[n];return i||!h(e)?e:ze(e)},set(){}})}function Ve(e,t){return Ue(e,null,{flush:"post"})}const $e={};function Ue(e,t,{immediate:n,deep:a,flush:o="pre",onTrack:s,onTrigger:l}=i){const u=se,d=(e,t,n=null)=>Yt(e,null,n,u,t);let h,f,p=!1,m=!1;if(Re(e)?(h=()=>e.value,p=Ye(e)):je(e)?(h=()=>(e.__ob__.dep.depend(),e),a=!0):r(e)?(m=!0,p=e.some(e=>je(e)||Ye(e)),h=()=>e.map(e=>Re(e)?e.value:je(e)?on(e):c(e)?d(e,"watcher getter"):void 0)):h=c(e)?t?()=>d(e,"watcher getter"):()=>
385{if(!u||!u._isDestroyed)return f&&f(),d(e,"watcher",[g])}:D,t&&a){const e=h;h=()=>on(e())}let g=e=>{f=v.onStop=()=>{d(e,"watcher cleanup")}};if(ne())return g=D,t?n&&d(t,"watcher callback",[h(),m?[]:void 0,g]):h(),D;const v=new cn(se,h,D,{lazy:!0});v.noRecurse=!t;let b=m?[]:$e;return v.run=()=>{if(v.active)if(t){const e=v.get();(a||p||(m?e.some((e,t)=>H(e,b[t])):H(e,b)))&&(f&&f(),d(t,"watcher callback",[e,b===$e?void 0:b,g]),b=e)}else v.get()},"sync"===o?v.update=v.run:"post"===o?(v.post=!0,v.update=()=>Cn(v)):v.update=()=>{if(u&&u===se&&!u._isMounted){const e=u._preWatchers||(u._preWatchers=[]);e.indexOf(v)<0&&e.push(v)}else Cn(v)},t?n?v.run():b=v.get():"post"===o&&u?u.$once("hook:mounted",()=>v.get()):v.get(),()=>{v.teardown()}}let Xe;class Ge{constructor(e=!1){this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Xe,!e&&Xe&&(this.index=(Xe.scopes||(Xe.scopes=[])).push(this)-1)}run(e){if(this.active){const t=Xe;try{return Xe=this,e()}finally{Xe=t}}}on(){Xe=this}off(){Xe=this.parent}stop(e){if(this.active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].teardown();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this.active=!1}}}function qe(e){const t=e._provided,n=e.$parent&&e.$parent._provided;return n===t?e._provided=Object.create(n):t}const Je=w(e=>{const t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),i="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=i?e.slice(1):e,once:n,capture:i,passive:t}});function Ke(e,t){function n(){const e=n.fns;if(!r(e))return Yt(e,null,arguments,t,"v-on handler");{const n=e.slice();for(let e=0;e<n.length;e++)Yt(n[e],null,arguments,t,"v-on handler")}}return n.fns=e,n}function Ze(e,t,n,i,r,o){let l,c,u,d;for(l in e)c=e[l],u=t[l],d=Je(l),a(c)||(a(u)?(a(c.fns)&&(c=e[l]=Ke(c,o)),s(d.once)&&(c=e[l]=r(d.name,c,d.capture)),n(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,e[l]=u));for(l in t)a(e[l])&&(d=Je(l),i(d.name,t[l],d.capture))}function Qe(e,t,n){let i;e instanceof ce&&(e=e.data.hook||(e.data.hook={}));const r=e[t];function l(){n.apply(this,arguments),y(i.fns,l)}a(r)?i=Ke([l]):o(r.fns)&&s(r.merged)?(i=r,i.fns.push(l)):i=Ke([r,l]),i.merged=!0,e[t]=i}function et(e,t,n,i,r){if(o(t)){if(x(t,n))return e[n]=t[n],r||delete t[n],!0;if(x(t,i))return e[n]=t[i],r||delete t[i],!0}return!1}function tt(e){return l(e)?[de(e)]:r(e)?function e(t,n){const i=[];let c,u,d,h;for(c=0;c<t.length;c++)u=t[c],a(u)||"boolean"==typeof u||(d=i.length-1,h=i[d],r(u)?u.length>0&&(u=e(u,`${n||""}_${c}`),nt(u[0])&&nt(h)&&(i[d]=de(h.text+u[0].text),u.shift()),i.push.apply(i,u)):l(u)?nt(h)?i[d]=de(h.text+u):""!==u&&i.push(de(u)):nt(u)&&nt(h)?i[d]=de(h.text+u.text):(s(t._isVList)&&o(u.tag)&&a(u.key)&&o(n)&&(u.key=`__vlist${n}_${c}__`),i.push(u)));return i}(e):void 0}function nt(e){return o(e)&&o(e.text)&&!1===e.isComment}function it(e,t){let n,i,a,s,l=null;if(r(e)||"string"==typeof e)for(l=new Array(e.length),n=0,i=e.length;n<i;n++)l[n]=t(e[n],n);else if("number"==typeof e)for(l=new Array(e),n=0;n<e;n++)l[n]=t(n+1,n);else if(u(e))if(ae&&e[Symbol.iterator]){l=[];const n=e[Symbol.iterator]();let i=n.next();for(;!i.done;)l.push(t(i.value,l.length)),i=n.next()}else for(a=Object.keys(e),l=new Array(a.length),n=0,i=a.length;n<i;n++)s=a[n],l[n]=t(e[s],s,n);return o(l)||(l=[]),l._isVList=!0,l}function rt(e,t,n,i){const r=this.$scopedSlots[e];let a;r?(n=n||{},i&&(n=T(T({},i),n)),a=r(n)||(c(t)?t():t)):a=this.$slots[e]||(c(t)?t():t);const o=n&&n.slot;return o?this.$createElement("template",{slot:o},a):a}function at(e){return Xn(this.$options,"filters",e)||j}function ot(e,t){return r(e)?-1===e.indexOf(t):e!==t}function st(e,t,n,i,r){const a=z.keyCodes[t]||n;return r&&i&&!z.keyCodes[t]?ot(r,i):a?ot(a,e):i?A(i)!==t:void 0===e}function lt(e,t,n,i,a){if(n&&u(n)){let o;r(n)&&(n=E(n));for(const r in n){if("class"===r||"style"===r||b(r))o=e;else{const n=e.attrs&&e.attrs.type;o=i||z.mustUseProp(t,n,r)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}const s=S(r),l=A(r);s in o||l in o||(o[r]=n[r],!a)||((e.on||(e.on={}))["update:"+r]=function(e){n[r]=e})}}return e}function ct(e,t){const n=this._staticTrees||(this._staticTrees=[]);let i=n[e];return i&&!t||(i=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),dt(i,"__static__"+e,!1)),i}function ut(e,t,n){return dt(e,`__once__${t}${n?"_"+n:""}`,!0),e}function dt(e,t,n){if(r(e))for(let i=0;i<e.length;i++)e[i]&&"string"!=typeof e[i]&&ht(e[i],`${t}_${i}`,n);else ht(e,t,n)}function ht(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function ft(e,t){if(t&&h(t)){const n=e.on=e.on?T({},e.on):{};for(const e in t){const i=n[e],r=t[e];n[e]=i?[].concat(i,r):r}}return e}function pt(e,t,n,i){t=t||{$stable:!n};for(let i=0;i<e.length;i++){const a=e[i];r(a)?pt(a,t,n):a&&(a.proxy&&(a.fn.proxy=!0),t[a.key]=a.fn)}return i&&(t.$key=i),t}function mt(e,t){for(let n=0;n<t.length;n+=2){const i=t[n];"string"==typeof i&&i&&(e[t[n]]=t[n+1])}return e}function gt(e,t){return"string"==typeof e?t+e:e}function vt(e){e._o=ut,e._n=g,e._s=m,e._l=it,e._t=rt,e._q=Y,e._i=I,e._m=ct,e._f=at,e._k=st,e._b=lt,e._v=de,e._e=ue,e._u=pt,e._g=ft,e._d=mt,e._p=gt}function bt(e,t){if(!e||!e.length)return{};const n={};for(let i=0,r=e.length;i<r;i++){const r=e[i],a=r.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,r.context!==t&&r.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(r);else{const e=a.slot,t=n[e]||(n[e]=[]);"template"===r.tag?t.push.apply(t,r.children||[]):t.push(r)}}for(const e in n)n[e].every(yt)&&delete n[e];return n}function yt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function _t(e){return e.isComment&&e.asyncFactory}function xt(e,t,n,r){let a;const o=Object.keys(n).length>0,s=t?!!t.$stable:!o,l=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&r&&r!==i&&l===r.$key&&!o&&!r.$hasNormal)return r;a={};for(const i in t)t[i]&&"$"!==i[0]&&(a[i]=wt(e,n,i,t[i]))}else a={};for(const e in n)e in a||(a[e]=kt(n,e));return t&&Object.isExtensible(t)&&(t._normalized=a),W(a,"$stable",s),W(a,"$key",l),W(a,"$hasNormal",o),a}function wt(e,t,n,i){const a=function(){const t=se;le(e);let n=arguments.length?i.apply(null,arguments):i({});n=n&&"object"==typeof n&&!r(n)?[n]:tt(n);const a=n&&n[0];return le(t),n&&(!a||1===n.length&&a.isComment&&!_t(a))?void 0:n};return i.proxy&&Object.defineProperty(t,n,{get:a,enumerable:!0,configurable:!0}),a}function kt(e,t){return()=>e[t]}function St(e){return{get attrs(){if(!e._attrsProxy){const t=e._attrsProxy={};W(t,"_v_attr_proxy",!0),Mt(t,e.$attrs,i,e,"$attrs")}return e._attrsProxy},get listeners(){return e._listenersProxy||Mt(e._listenersProxy={},e.$listeners,i,e,"$listeners"),e._listenersProxy},get slots(){return function(e){return e._slotsProxy||At(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}(e)},emit:O(e.$emit,e),expose(t){t&&Object.keys(t).forEach(n=>Ne(e,t,n))}}}function Mt(e,t,n,i,r){let a=!1;for(const o in t)o in e?t[o]!==n[o]&&(a=!0):(a=!0,Lt(e,o,i,r));for(const n in e)n in t||(a=!0,delete e[n]);return a}function Lt(e,t,n,i){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:()=>n[i][t]})}function At(e,t){for(const n in t)e[n]=t[n];for(const n in e)n in t||delete e[n]}function Ot(){const e=se;return e._setupContext||(e._setupContext=St(e))}let Ct=null;function Tt(e,t){return(e.__esModule||ae&&"Module"===e[Symbol.toStringTag])&&(e=e.default),u(e)?t.extend(e):e}function Et(e){if(r(e))for(let t=0;t<e.length;t++){const n=e[t];if(o(n)&&(o(n.componentOptions)||_t(n)))return n}}function Dt(e,t,n,i,a,d){return(r(n)||l(n))&&(a=i,i=n,n=void 0),s(d)&&(a=2),function(e,t,n,i,a){if(o(n)&&o(n.__ob__))return ue();if(o(n)&&o(n.is)&&(t=n.is),!t)return ue();let s,l;if(r(i)&&c(i[0])&&((n=n||{}).scopedSlots={default:i[0]},i.length=0),2===a?i=tt(i):1===a&&(i=function(e){for(let t=0;t<e.length;t++)if(r(e[t]))return Array.prototype.concat.apply([],e);return e}(i)),"string"==typeof t){let r;l=e.$vnode&&e.$vnode.ns||z.getTagNamespace(t),s=z.isReservedTag(t)?new ce(z.parsePlatformTagName(t),n,i,void 0,void 0,e):n&&n.pre||!o(r=Xn(e.$options,"components",t))?new ce(t,n,i,void 0,void 0,e):Rn(r,n,e,i,t)}else s=Rn(t,n,e,i);return r(s)?s:o(s)?(o(l)&&Pt(s,l),o(n)&&function(e){u(e.style)&&on(e.style),u(e.class)&&on(e.class)}(n),s):ue()}(e,t,n,i,a)}function Pt(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),o(e.children))for(let i=0,r=e.children.length;i<r;i++){const r=e.children[i];o(r.tag)&&(a(r.ns)||s(n)&&"svg"!==r.tag)&&Pt(r,t,n)}}function jt(e,t,n){ve();try{if(t){let i=t;for(;i=i.$parent;){const r=i.$options.errorCaptured;if(r)for(let a=0;a<r.length;a++)try{if(!1===r[a].call(i,e,t,n))return}catch(e){It(e,i,"errorCaptured hook")}}}It(e,t,n)}finally{be()}}function Yt(e,t,n,i,r){let a;try{a=n?e.apply(t,n):e.call(t),a&&!a._isVue&&p(a)&&!a._handled&&(a.catch(e=>jt(e,i,r+" (Promise/async)")),a._handled=!0)}catch(e){jt(e,i,r)}return a}function It(e,t,n){if(z.errorHandler)try{return z.errorHandler.call(null,e,t,n)}catch(t){t!==e&&Rt(t)}Rt(e)}function Rt(e,t,n){if(!U||"undefined"==typeof console)throw e;console.error(e)}let Ht=!1;const Nt=[];let Ft,zt=!1;function Bt(){zt=!1;const e=Nt.slice(0);Nt.length=0;for(let t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&re(Promise)){const e=Promise.resolve();Ft=()=>{e.then(Bt),K&&setTimeout(D)},Ht=!0}else if(G||"undefined"==typeof MutationObserver||!re(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Ft=void 0!==n&&re(n)?()=>{n(Bt)}:()=>{setTimeout(Bt,0)};else{let e=1;const t=new MutationObserver(Bt),n=document.createTextNode(String(e));t.observe(n,{characterData:!0}
385),Ft=()=>{e=(e+1)%2,n.data=String(e)},Ht=!0}function Wt(e,t){let n;if(Nt.push(()=>{if(e)try{e.call(t)}catch(e){jt(e,t,"nextTick")}else n&&n(t)}),zt||(zt=!0,Ft()),!e&&"undefined"!=typeof Promise)return new Promise(e=>{n=e})}function Vt(e){return(t,n=se)=>{if(n)return function(e,t,n){const i=e.$options;i[t]=Wn(i[t],n)}(n,e,t)}}const $t=Vt("beforeMount"),Ut=Vt("mounted"),Xt=Vt("beforeUpdate"),Gt=Vt("updated"),qt=Vt("beforeDestroy"),Jt=Vt("destroyed"),Kt=Vt("activated"),Zt=Vt("deactivated"),Qt=Vt("serverPrefetch"),en=Vt("renderTracked"),tn=Vt("renderTriggered"),nn=Vt("errorCaptured");var rn=Object.freeze({__proto__:null,version:"2.7.14",defineComponent:function(e){return e},ref:function(e){return He(e,!1)},shallowRef:function(e){return He(e,!0)},isRef:Re,toRef:Fe,toRefs:function(e){const t=r(e)?new Array(e.length):{};for(const n in e)t[n]=Fe(e,n);return t},unref:function(e){return Re(e)?e.value:e},proxyRefs:function(e){if(je(e))return e;const t={},n=Object.keys(e);for(let i=0;i<n.length;i++)Ne(t,e,n[i]);return t},customRef:function(e){const t=new me,{get:n,set:i}=e(()=>{t.depend()},()=>{t.notify()}),r={get value(){return n()},set value(e){i(e)}};return W(r,"__v_isRef",!0),r},triggerRef:function(e){e.dep&&e.dep.notify()},reactive:function(e){return Pe(e,!1),e},isReactive:je,isReadonly:Ie,isShallow:Ye,isProxy:function(e){return je(e)||Ie(e)},shallowReactive:De,markRaw:function(e){return Object.isExtensible(e)&&W(e,"__v_skip",!0),e},toRaw:function e(t){const n=t&&t.__v_raw;return n?e(n):t},readonly:ze,shallowReadonly:function(e){return Be(e,!0)},computed:function(e,t){let n,i;const r=c(e);r?(n=e,i=D):(n=e.get,i=e.set);const a=ne()?null:new cn(se,n,D,{lazy:!0}),o={effect:a,get value(){return a?(a.dirty&&a.evaluate(),me.target&&a.depend(),a.value):n()},set value(e){i(e)}};return W(o,"__v_isRef",!0),W(o,"__v_isReadonly",r),o},watch:function(e,t,n){return Ue(e,t,n)},watchEffect:function(e,t){return Ue(e,null,t)},watchPostEffect:Ve,watchSyncEffect:function(e,t){return Ue(e,null,{flush:"sync"})},EffectScope:Ge,effectScope:function(e){return new Ge(e)},onScopeDispose:function(e){Xe&&Xe.cleanups.push(e)},getCurrentScope:function(){return Xe},provide:function(e,t){se&&(qe(se)[e]=t)},inject:function(e,t,n=!1){const i=se;if(i){const r=i.$parent&&i.$parent._provided;if(r&&e in r)return r[e];if(arguments.length>1)return n&&c(t)?t.call(i):t}},h:function(e,t,n){return Dt(se,e,t,n,2,!0)},getCurrentInstance:function(){return se&&{proxy:se}},useSlots:function(){return Ot().slots},useAttrs:function(){return Ot().attrs},useListeners:function(){return Ot().listeners},mergeDefaults:function(e,t){const n=r(e)?e.reduce((e,t)=>(e[t]={},e),{}):e;for(const e in t){const i=n[e];i?r(i)||c(i)?n[e]={type:i,default:t[e]}:i.default=t[e]:null===i&&(n[e]={default:t[e]})}return n},nextTick:Wt,set:Ce,del:Te,useCssModule:function(e="$style"){if(!se)return i;return se[e]||i},useCssVars:function(e){if(!U)return;const t=se;t&&Ve(()=>{const n=t.$el,i=e(t,t._setupProxy);if(n&&1===n.nodeType){const e=n.style;for(const t in i)e.setProperty("--"+t,i[t])}})},defineAsyncComponent:function(e){c(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:r=200,timeout:a,suspensible:o=!1,onError:s}=e;let l=null,u=0;const d=()=>{let e;return l||(e=l=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),s)return new Promise((t,n)=>{s(e,()=>t((u++,l=null,d())),()=>n(e),u+1)});throw e}).then(t=>e!==l&&l?l:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),t)))};return()=>({component:d(),delay:r,timeout:a,error:i,loading:n})},onBeforeMount:$t,onMounted:Ut,onBeforeUpdate:Xt,onUpdated:Gt,onBeforeUnmount:qt,onUnmounted:Jt,onActivated:Kt,onDeactivated:Zt,onServerPrefetch:Qt,onRenderTracked:en,onRenderTriggered:tn,onErrorCaptured:function(e,t=se){nn(e,t)}});const an=new oe;function on(e){return function e(t,n){let i,a;const o=r(t);if(!(!o&&!u(t)||t.__v_skip||Object.isFrozen(t)||t instanceof ce)){if(t.__ob__){const e=t.__ob__.dep.id;if(n.has(e))return;n.add(e)}if(o)for(i=t.length;i--;)e(t[i],n);else if(Re(t))e(t.value,n);else for(a=Object.keys(t),i=a.length;i--;)e(t[a[i]],n)}}(e,an),an.clear(),e}let sn,ln=0;class cn{constructor(e,t,n,i,r){!function(e,t=Xe){t&&t.active&&t.effects.push(e)}(this,Xe&&!Xe._vm?Xe:e?e._scope:void 0),(this.vm=e)&&r&&(e._watcher=this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ln,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new oe,this.newDepIds=new oe,this.expression="",c(t)?this.getter=t:(this.getter=function(e){if(V.test(e))return;const t=e.split(".");return function(e){for(let n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}(t),this.getter||(this.getter=D)),this.value=this.lazy?void 0:this.get()}get(){let e;ve(this);const t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;jt(e,t,`getter for watcher "${this.expression}"`)}finally{this.deep&&on(e),be(),this.cleanupDeps()}return e}addDep(e){const t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))}cleanupDeps(){let e=this.deps.length;for(;e--;){const t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}let t=this.depIds;this.depIds=this.newDepIds,this.newDepIds=t,this.newDepIds.clear(),t=this.deps,this.deps=this.newDeps,this.newDeps=t,this.newDeps.length=0}update(){this.lazy?this.dirty=!0:this.sync?this.run():Cn(this)}run(){if(this.active){const e=this.get();if(e!==this.value||u(e)||this.deep){const t=this.value;if(this.value=e,this.user){const n=`callback for watcher "${this.expression}"`;Yt(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}}evaluate(){this.value=this.get(),this.dirty=!1}depend(){let e=this.deps.length;for(;e--;)this.deps[e].depend()}teardown(){if(this.vm&&!this.vm._isBeingDestroyed&&y(this.vm._scope.effects,this),this.active){let e=this.deps.length;for(;e--;)this.deps[e].removeSub(this);this.active=!1,this.onStop&&this.onStop()}}}function un(e,t){sn.$on(e,t)}function dn(e,t){sn.$off(e,t)}function hn(e,t){const n=sn;return function i(){const r=t.apply(null,arguments);null!==r&&n.$off(e,i)}}function fn(e,t,n){sn=e,Ze(t,n||{},un,dn,hn,e),sn=void 0}let pn=null;function mn(e){const t=pn;return pn=e,()=>{pn=t}}function gn(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function vn(e,t){if(t){if(e._directInactive=!1,gn(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(let t=0;t<e.$children.length;t++)vn(e.$children[t]);bn(e,"activated")}}function bn(e,t,n,i=!0){ve();const r=se;i&&le(e);const a=e.$options[t],o=t+" hook";if(a)for(let t=0,i=a.length;t<i;t++)Yt(a[t],e,n||null,e,o);e._hasHookEvent&&e.$emit("hook:"+t),i&&le(r),be()}const yn=[],_n=[];let xn={},wn=!1,kn=!1,Sn=0,Mn=0,Ln=Date.now;if(U&&!G){const e=window.performance;e&&"function"==typeof e.now&&Ln()>
385document.createEvent("Event").timeStamp&&(Ln=()=>e.now())}const An=(e,t)=>{if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function On(){let e,t;for(Mn=Ln(),kn=!0,yn.sort(An),Sn=0;Sn<yn.length;Sn++)e=yn[Sn],e.before&&e.before(),t=e.id,xn[t]=null,e.run();const n=_n.slice(),i=yn.slice();Sn=yn.length=_n.length=0,xn={},wn=kn=!1,function(e){for(let t=0;t<e.length;t++)e[t]._inactive=!0,vn(e[t],!0)}(n),function(e){let t=e.length;for(;t--;){const n=e[t],i=n.vm;i&&i._watcher===n&&i._isMounted&&!i._isDestroyed&&bn(i,"updated")}}(i),(()=>{for(let e=0;e<pe.length;e++){const t=pe[e];t.subs=t.subs.filter(e=>e),t._pending=!1}pe.length=0})(),ie&&z.devtools&&ie.emit("flush")}function Cn(e){const t=e.id;if(null==xn[t]&&(e!==me.target||!e.noRecurse)){if(xn[t]=!0,kn){let t=yn.length-1;for(;t>Sn&&yn[t].id>e.id;)t--;yn.splice(t+1,0,e)}else yn.push(e);wn||(wn=!0,Wt(On))}}function Tn(e,t){if(e){const n=Object.create(null),i=ae?Reflect.ownKeys(e):Object.keys(e);for(let r=0;r<i.length;r++){const a=i[r];if("__ob__"===a)continue;const o=e[a].from;if(o in t._provided)n[a]=t._provided[o];else if("default"in e[a]){const i=e[a].default;n[a]=c(i)?i.call(t):i}}return n}}function En(e,t,n,a,o){const l=o.options;let c;x(a,"_uid")?(c=Object.create(a),c._original=a):(c=a,a=a._original);const u=s(l._compiled),d=!u;this.data=e,this.props=t,this.children=n,this.parent=a,this.listeners=e.on||i,this.injections=Tn(l.inject,a),this.slots=()=>(this.$slots||xt(a,e.scopedSlots,this.$slots=bt(n,a)),this.$slots),Object.defineProperty(this,"scopedSlots",{enumerable:!0,get(){return xt(a,e.scopedSlots,this.slots())}}),u&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=xt(a,e.scopedSlots,this.$slots)),l._scopeId?this._c=(e,t,n,i)=>{const o=Dt(c,e,t,n,i,d);return o&&!r(o)&&(o.fnScopeId=l._scopeId,o.fnContext=a),o}:this._c=(e,t,n,i)=>Dt(c,e,t,n,i,d)}function Dn(e,t,n,i,r){const a=he(e);return a.fnContext=n,a.fnOptions=i,t.slot&&((a.data||(a.data={})).slot=t.slot),a}function Pn(e,t){for(const n in t)e[S(n)]=t[n]}function jn(e){return e.name||e.__name||e._componentTag}vt(En.prototype);const Yn={init(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){const t=e;Yn.prepatch(t,t)}else(e.componentInstance=function(e,t){const n={_isComponent:!0,_parentVnode:e,parent:t},i=e.data.inlineTemplate;return o(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns),new e.componentOptions.Ctor(n)}(e,pn)).$mount(t?e.elm:void 0,t)},prepatch(e,t){const n=t.componentOptions;!function(e,t,n,r,a){const o=r.data.scopedSlots,s=e.$scopedSlots,l=!!(o&&!o.$stable||s!==i&&!s.$stable||o&&e.$scopedSlots.$key!==o.$key||!o&&e.$scopedSlots.$key);let c=!!(a||e.$options._renderChildren||l);const u=e.$vnode;e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=a;const d=r.data.attrs||i;e._attrsProxy&&Mt(e._attrsProxy,d,u.data&&u.data.attrs||i,e,"$attrs")&&(c=!0),e.$attrs=d,n=n||i;const h=e.$options._parentListeners;if(e._listenersProxy&&Mt(e._listenersProxy,n,h||i,e,"$listeners"),e.$listeners=e.$options._parentListeners=n,fn(e,n,h),t&&e.$options.props){Se(!1);const n=e._props,i=e.$options._propKeys||[];for(let r=0;r<i.length;r++){const a=i[r],o=e.$options.props;n[a]=Gn(a,o,t,e)}Se(!0),e.$options.propsData=t}c&&(e.$slots=bt(a,r.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert(e){const{context:t,componentInstance:n}=e;var i;n._isMounted||(n._isMounted=!0,bn(n,"mounted")),e.data.keepAlive&&(t._isMounted?((i=n)._inactive=!1,_n.push(i)):vn(n,!0))},destroy(e){const{componentInstance:t}=e;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(!(n&&(t._directInactive=!0,gn(t))||t._inactive)){t._inactive=!0;for(let n=0;n<t.$children.length;n++)e(t.$children[n]);bn(t,"deactivated")}}(t,!0):t.$destroy())}},In=Object.keys(Yn);function Rn(e,t,n,l,c){if(a(e))return;const d=n.$options._base;if(u(e)&&(e=d.extend(e)),"function"!=typeof e)return;let h;if(a(e.cid)&&(h=e,void 0===(e=function(e,t){if(s(e.error)&&o(e.errorComp))return e.errorComp;if(o(e.resolved))return e.resolved;const n=Ct;if(n&&o(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),s(e.loading)&&o(e.loadingComp))return e.loadingComp;if(n&&!o(e.owners)){const i=e.owners=[n];let r=!0,s=null,l=null;n.$on("hook:destroyed",()=>y(i,n));const c=e=>{for(let e=0,t=i.length;e<t;e++)i[e].$forceUpdate();e&&(i.length=0,null!==s&&(clearTimeout(s),s=null),null!==l&&(clearTimeout(l),l=null))},d=R(n=>{e.resolved=Tt(n,t),r?i.length=0:c(!0)}),h=R(t=>{o(e.errorComp)&&(e.error=!0,c(!0))}),f=e(d,h);return u(f)&&(p(f)?a(e.resolved)&&f.then(d,h):p(f.component)&&(f.component.then(d,h),o(f.error)&&(e.errorComp=Tt(f.error,t)),o(f.loading)&&(e.loadingComp=Tt(f.loading,t),0===f.delay?e.loading=!0:s=setTimeout(()=>{s=null,a(e.resolved)&&a(e.error)&&(e.loading=!0,c(!1))},f.delay||200)),o(f.timeout)&&(l=setTimeout(()=>{l=null,a(e.resolved)&&h(null)},f.timeout)))),r=!1,e.loading?e.loadingComp:e.resolved}}(h,d))))return function(e,t,n,i,r){const a=ue();return a.asyncFactory=e,a.asyncMeta={data:t,context:n,children:i,tag:r},a}(h,t,n,l,c);t=t||{},li(e),o(t.model)&&function(e,t){const n=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;const a=t.on||(t.on={}),s=a[i],l=t.model.callback;o(s)?(r(s)?-1===s.indexOf(l):s!==l)&&(a[i]=[l].concat(s)):a[i]=l}(e.options,t);const f=function(e,t,n){const i=t.options.props;if(a(i))return;const r={},{attrs:s,props:l}=e;if(o(s)||o(l))for(const e in i){const t=A(e);et(r,l,e,t,!0)||et(r,s,e,t,!1)}return r}(t,e);if(s(e.options.functional))return function(e,t,n,a,s){const l=e.options,c={},u=l.props;if(o(u))for(const e in u)c[e]=Gn(e,u,t||i);else o(n.attrs)&&Pn(c,n.attrs),o(n.props)&&Pn(c,n.props);const d=new En(n,c,s,a,e),h=l.render.call(null,d._c,d);if(h instanceof ce)return Dn(h,n,d.parent,l);if(r(h)){const e=tt(h)||[],t=new Array(e.length);for(let i=0;i<e.length;i++)t[i]=Dn(e[i],n,d.parent,l);return t}}(e,f,t,n,l);const m=t.on;if(t.on=t.nativeOn,s(e.options.abstract)){const e=t.slot;t={},e&&(t.slot=e)}!function(e){const t=e.hook||(e.hook={});for(let e=0;e<In.length;e++){const n=In[e],i=t[n],r=Yn[n];i===r||i&&i._merged||(t[n]=i?Hn(r,i):r)}}(t);const g=jn(e.options)||c;return new ce(`vue-component-${e.cid}${g?"-"+g:""}`,t,void 0,void 0,void 0,n,{Ctor:e,propsData:f,listeners:m,tag:c,children:l},h)}function Hn(e,t){const n=(n,i)=>{e(n,i),t(n,i)};return n._merged=!0,n}let Nn=D;const Fn=z.optionMergeStrategies;function zn(e,t,n=!0){if(!t)return e;let i,r,a;const o=ae?Reflect.ownKeys(t):Object.keys(t);for(let s=0;s<o.length;s++)i=o[s],"__ob__"!==i&&(r=e[i],a=t[i],n&&x(e,i)?r!==a&&h(r)&&h(a)&&zn(r,a):Ce(e,i,a));return e}function Bn(e,t,n){return n?function(){const i=c(t)?t.call(n,n):t,r=c(e)?e.call(n,n):e;return i?zn(i,r):r}:t?e?function(){return zn(c(t)?t.call(this,this):t,c(e)?e.call(this,this):e)}:t:e}function Wn(e,t){const n=t?e?e.concat(t):r(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n<e.length;
385n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Vn(e,t,n,i){const r=Object.create(e||null);return t?T(r,t):r}Fn.data=function(e,t,n){return n?Bn(e,t,n):t&&"function"!=typeof t?e:Bn(e,t)},F.forEach(e=>{Fn[e]=Wn}),N.forEach((function(e){Fn[e+"s"]=Vn})),Fn.watch=function(e,t,n,i){if(e===Q&&(e=void 0),t===Q&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;const a={};T(a,e);for(const e in t){let n=a[e];const i=t[e];n&&!r(n)&&(n=[n]),a[e]=n?n.concat(i):r(i)?i:[i]}return a},Fn.props=Fn.methods=Fn.inject=Fn.computed=function(e,t,n,i){if(!e)return t;const r=Object.create(null);return T(r,e),t&&T(r,t),r},Fn.provide=function(e,t){return e?function(){const n=Object.create(null);return zn(n,c(e)?e.call(this):e),t&&zn(n,c(t)?t.call(this):t,!1),n}:t};const $n=function(e,t){return void 0===t?e:t};function Un(e,t,n){if(c(t)&&(t=t.options),function(e,t){const n=e.props;if(!n)return;const i={};let a,o,s;if(r(n))for(a=n.length;a--;)o=n[a],"string"==typeof o&&(s=S(o),i[s]={type:null});else if(h(n))for(const e in n)o=n[e],s=S(e),i[s]=h(o)?o:{type:o};e.props=i}(t),function(e,t){const n=e.inject;if(!n)return;const i=e.inject={};if(r(n))for(let e=0;e<n.length;e++)i[n[e]]={from:n[e]};else if(h(n))for(const e in n){const t=n[e];i[e]=h(t)?T({from:e},t):{from:t}}}(t),function(e){const t=e.directives;if(t)for(const e in t){const n=t[e];c(n)&&(t[e]={bind:n,update:n})}}(t),!t._base&&(t.extends&&(e=Un(e,t.extends,n)),t.mixins))for(let i=0,r=t.mixins.length;i<r;i++)e=Un(e,t.mixins[i],n);const i={};let a;for(a in e)o(a);for(a in t)x(e,a)||o(a);function o(r){const a=Fn[r]||$n;i[r]=a(e[r],t[r],n,r)}return i}function Xn(e,t,n,i){if("string"!=typeof n)return;const r=e[t];if(x(r,n))return r[n];const a=S(n);if(x(r,a))return r[a];const o=M(a);return x(r,o)?r[o]:r[n]||r[a]||r[o]}function Gn(e,t,n,i){const r=t[e],a=!x(n,e);let o=n[e];const s=Zn(Boolean,r.type);if(s>-1)if(a&&!x(r,"default"))o=!1;else if(""===o||o===A(e)){const e=Zn(String,r.type);(e<0||s<e)&&(o=!0)}if(void 0===o){o=function(e,t,n){if(!x(t,"default"))return;const i=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:c(i)&&"Function"!==Jn(t.type)?i.call(e):i}(i,r,e);const t=ke;Se(!0),Ae(o),Se(t)}return o}const qn=/^\s*function (\w+)/;function Jn(e){const t=e&&e.toString().match(qn);return t?t[1]:""}function Kn(e,t){return Jn(e)===Jn(t)}function Zn(e,t){if(!r(t))return Kn(t,e)?0:-1;for(let n=0,i=t.length;n<i;n++)if(Kn(t[n],e))return n;return-1}const Qn={enumerable:!0,configurable:!0,get:D,set:D};function ei(e,t,n){Qn.get=function(){return this[t][n]},Qn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Qn)}function ti(e){const t=e.$options;if(t.props&&function(e,t){const n=e.$options.propsData||{},i=e._props=De({}),r=e.$options._propKeys=[];e.$parent&&Se(!1);for(const a in t)r.push(a),Oe(i,a,Gn(a,t,n,e)),a in e||ei(e,"_props",a);Se(!0)}(e,t.props),function(e){const t=e.$options,n=t.setup;if(n){const i=e._setupContext=St(e);le(e),ve();const r=Yt(n,null,[e._props||De({}),i],e,"setup");if(be(),le(),c(r))t.render=r;else if(u(r))if(e._setupState=r,r.__sfc){const t=e._setupProxy={};for(const e in r)"__sfc"!==e&&Ne(t,r,e)}else for(const t in r)B(t)||Ne(e,r,t)}}(e),t.methods&&function(e,t){e.$options.props;for(const n in t)e[n]="function"!=typeof t[n]?D:O(t[n],e)}(e,t.methods),t.data)!function(e){let t=e.$options.data;t=e._data=c(t)?function(e,t){ve();try{return e.call(t,t)}catch(e){return jt(e,t,"data()"),{}}finally{be()}}(t,e):t||{},h(t)||(t={});const n=Object.keys(t),i=e.$options.props;e.$options.methods;let r=n.length;for(;r--;){const t=n[r];i&&x(i,t)||B(t)||ei(e,"_data",t)}const a=Ae(t);a&&a.vmCount++}(e);else{const t=Ae(e._data={});t&&t.vmCount++}t.computed&&function(e,t){const n=e._computedWatchers=Object.create(null),i=ne();for(const r in t){const a=t[r],o=c(a)?a:a.get;i||(n[r]=new cn(e,o||D,D,ni)),r in e||ii(e,r,a)}}(e,t.computed),t.watch&&t.watch!==Q&&function(e,t){for(const n in t){const i=t[n];if(r(i))for(let t=0;t<i.length;t++)oi(e,n,i[t]);else oi(e,n,i)}}(e,t.watch)}const ni={lazy:!0};function ii(e,t,n){const i=!ne();c(n)?(Qn.get=i?ri(t):ai(n),Qn.set=D):(Qn.get=n.get?i&&!1!==n.cache?ri(t):ai(n.get):D,Qn.set=n.set||D),Object.defineProperty(e,t,Qn)}function ri(e){return function(){const t=this._computedWatchers&&this._computedWatchers[e];
385if(t)return t.dirty&&t.evaluate(),me.target&&t.depend(),t.value}}function ai(e){return function(){return e.call(this,this)}}function oi(e,t,n,i){return h(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,i)}let si=0;function li(e){let t=e.options;if(e.super){const n=li(e.super);if(n!==e.superOptions){e.superOptions=n;const i=function(e){let t;const n=e.options,i=e.sealedOptions;for(const e in n)n[e]!==i[e]&&(t||(t={}),t[e]=n[e]);return t}(e);i&&T(e.extendOptions,i),t=e.options=Un(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function ci(e){this._init(e)}function ui(e){return e&&(jn(e.Ctor.options)||e.tag)}function di(e,t){return r(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===d.call(n)&&e.test(t));var n}function hi(e,t){const{cache:n,keys:i,_vnode:r}=e;for(const e in n){const a=n[e];if(a){const o=a.name;o&&!t(o)&&fi(n,e,i,r)}}}function fi(e,t,n,i){const r=e[t];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),e[t]=null,y(n,t)}!function(e){e.prototype._init=function(e){const t=this;t._uid=si++,t._isVue=!0,t.__v_skip=!0,t._scope=new Ge(!0),t._scope._vm=!0,e&&e._isComponent?function(e,t){const n=e.$options=Object.create(e.constructor.options),i=t._parentVnode;n.parent=t.parent,n._parentVnode=i;const r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Un(li(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){const t=e.$options;let n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._provided=n?n._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;const t=e.$options._parentListeners;t&&fn(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;const t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=bt(t._renderChildren,r),e.$scopedSlots=n?xt(e.$parent,n.data.scopedSlots,e.$slots):i,e._c=(t,n,i,r)=>Dt(e,t,n,i,r,!1),e.$createElement=(t,n,i,r)=>Dt(e,t,n,i,r,!0);const a=n&&n.data;Oe(e,"$attrs",a&&a.attrs||i,null,!0),Oe(e,"$listeners",t._parentListeners||i,null,!0)}(t),bn(t,"beforeCreate",void 0,!1),function(e){const t=Tn(e.$options.inject,e);t&&(Se(!1),Object.keys(t).forEach(n=>{Oe(e,n,t[n])}),Se(!0))}(t),ti(t),function(e){const t=e.$options.provide;if(t){const n=c(t)?t.call(e):t;if(!u(n))return;const i=qe(e),r=ae?Reflect.ownKeys(n):Object.keys(n);for(let e=0;e<r.length;e++){const t=r[e];Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(n,t))}}}(t),bn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(ci),function(e){Object.defineProperty(e.prototype,"$data",{get:function(){return this._data}}),Object.defineProperty(e.prototype,"$props",{get:function(){return this._props}}),e.prototype.$set=Ce,e.prototype.$delete=Te,e.prototype.$watch=function(e,t,n){const i=this;if(h(t))return oi(i,e,t,n);(n=n||{}).user=!0;const r=new cn(i,e,t,n);if(n.immediate){const e=`callback for immediate watcher "${r.expression}"`;ve(),Yt(t,i,[r.value],i,e),be()}return function(){r.teardown()}}}(ci),function(e){const t=/^hook:/;e.prototype.$on=function(e,n){const i=this;if(r(e))for(let t=0,r=e.length;t<r;t++)i.$on(e[t],n);else(i._events[e]||(i._events[e]=[])).push(n),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){const n=this;function i(){n.$off(e,i),t.apply(n,arguments)}return i.fn=t,n.$on(e,i),n},e.prototype.$off=function(e,t){const n=this;if(!arguments.length)return n._events=Object.create(null),n;if(r(e)){for(let i=0,r=e.length;i<r;i++)n.$off(e[i],t);return n}const i=n._events[e];if(!i)return n;if(!t)return n._events[e]=null,n;let a,o=i.length;for(;o--;)if(a=i[o],a===t||a.fn===t){i.splice(o,1);break}return n},e.prototype.$emit=function(e){const t=this;let n=t._events[e];if(n){n=n.length>1?C(n):n;
385const i=C(arguments,1),r=`event handler for "${e}"`;for(let e=0,a=n.length;e<a;e++)Yt(n[e],t,i,t,r)}return t}}(ci),function(e){e.prototype._update=function(e,t){const n=this,i=n.$el,r=n._vnode,a=mn(n);n._vnode=e,n.$el=r?n.__patch__(r,e):n.__patch__(n.$el,e,t,!1),a(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n);let o=n;for(;o&&o.$vnode&&o.$parent&&o.$vnode===o.$parent._vnode;)o.$parent.$el=o.$el,o=o.$parent},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){const e=this;if(e._isBeingDestroyed)return;bn(e,"beforeDestroy"),e._isBeingDestroyed=!0;const t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||y(t.$children,e),e._scope.stop(),e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),bn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}(ci),function(e){vt(e.prototype),e.prototype.$nextTick=function(e){return Wt(e,this)},e.prototype._render=function(){const e=this,{render:t,_parentVnode:n}=e.$options;let i;n&&e._isMounted&&(e.$scopedSlots=xt(e.$parent,n.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&At(e._slotsProxy,e.$scopedSlots)),e.$vnode=n;try{le(e),Ct=e,i=t.call(e._renderProxy,e.$createElement)}catch(t){jt(t,e,"render"),i=e._vnode}finally{Ct=null,le()}return r(i)&&1===i.length&&(i=i[0]),i instanceof ce||(i=ue()),i.parent=n,i}}(ci);const pi=[String,RegExp,Array];var mi={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:pi,exclude:pi,max:[String,Number]},methods:{cacheVNode(){const{cache:e,keys:t,vnodeToCache:n,keyToCache:i}=this;if(n){const{tag:r,componentInstance:a,componentOptions:o}=n;e[i]={name:ui(o),tag:r,componentInstance:a},t.push(i),this.max&&t.length>parseInt(this.max)&&fi(e,t[0],t,this._vnode),this.vnodeToCache=null}}},created(){this.cache=Object.create(null),this.keys=[]},destroyed(){for(const e in this.cache)fi(this.cache,e,this.keys)},mounted(){this.cacheVNode(),this.$watch("include",e=>{hi(this,t=>di(e,t))}),this.$watch("exclude",e=>{hi(this,t=>!di(e,t))})},updated(){this.cacheVNode()},render(){const e=this.$slots.default,t=Et(e),n=t&&t.componentOptions;if(n){const e=ui(n),{include:i,exclude:r}=this;if(i&&(!e||!di(i,e))||r&&e&&di(r,e))return t;const{cache:a,keys:o}=this,s=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[s]?(t.componentInstance=a[s].componentInstance,y(o,s),o.push(s)):(this.vnodeToCache=t,this.keyToCache=s),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){const t={get:()=>z};Object.defineProperty(e,"config",t),e.util={warn:Nn,extend:T,mergeOptions:Un,defineReactive:Oe},e.set=Ce,e.delete=Te,e.nextTick=Wt,e.observable=e=>(Ae(e),e),e.options=Object.create(null),N.forEach(t=>{e.options[t+"s"]=Object.create(null)}),e.options._base=e,T(e.options.components,mi),function(e){e.use=function(e){const t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;const n=C(arguments,1);return n.unshift(this),c(e.install)?e.install.apply(e,n):c(e)&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Un(this.options,e),this}}(e),function(e){e.cid=0;let t=1;e.extend=function(e){e=e||{};const n=this,i=n.cid,r=e._Ctor||(e._Ctor={});if(r[i])return r[i];const a=jn(e)||jn(n.options),o=function(e){this._init(e)};return(o.prototype=Object.create(n.prototype)).constructor=o,o.cid=t++,o.options=Un(n.options,e),o.super=n,o.options.props&&function(e){const t=e.options.props;for(const n in t)ei(e.prototype,"_props",n)}(o),o.options.computed&&function(e){const t=e.options.computed;for(const n in t)ii(e.prototype,n,t[n])}(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,N.forEach((function(e){o[e]=n[e]})),a&&(o.options.components[a]=o),o.superOptions=n.options,o.extendOptions=e,o.sealedOptions=T({},o.options),r[i]=o,o}}(e),function(e){N.forEach(t=>{e[t]=function(e,n){return n?("component"===t&&h(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&c(n)&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(ci),Object.defineProperty(ci.prototype,"$isServer",{get:ne}),Object.defineProperty(ci.prototype,"$ssrContext",{get(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ci,"FunctionalRenderContext",{value:En}),ci.version="2.7.14";const gi=v("style,class"),vi=v("input,textarea,option,select,progress"),bi=v("contenteditable,draggable,spellcheck"),yi=v("events,caret,typing,plaintext-only"),_i=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),xi="http://www.w3.org/1999/xlink",wi=e=>":"===e.charAt(5)&&"xlink"===e.slice(0,5),ki=e=>wi(e)?e.slice(6,e.length):"",Si=e=>null==e||!1===e;function Mi(e,t){return{staticClass:Li(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function Li(e,t){return e?t?e+" "+t:e:t||""}function Ai(e){return Array.isArray(e)?function(e){let t,n="";for(let i=0,r=e.length;i<r;i++)o(t=Ai(e[i]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):u(e)?function(e){let t="";for(const n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}const Oi={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Ci=v("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Ti=v("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ei=e=>Ci(e)||Ti(e),Di=Object.create(null),Pi=v("text,number,password,search,email,tel,url");var ji=Object.freeze({__proto__:null,createElement:function(e,t){const n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(e,t){return document.createElementNS(Oi[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),Yi={create(e,t){Ii(t)},update(e,t){e.data.ref!==t.data.ref&&(Ii(e,!0),Ii(t))},destroy(e){Ii(e,!0)}};function Ii(e,t){const n=e.data.ref;if(!o(n))return;const i=e.context,a=e.componentInstance||e.elm,s=t?null:a,l=t?void 0:a;if(c(n))return void Yt(n,i,[s],i,"template ref function");const u=e.data.refInFor,d="string"==typeof n||"number"==typeof n,h=Re(n),f=i.$refs;if(d||h)if(u){const e=d?f[n]:n.value;t?r(e)&&y(e,a):r(e)?e.includes(a)||e.push(a):d?(f[n]=[a],Ri(i,n,f[n])):n.value=[a]}else if(d){if(t&&f[n]!==a)return;f[n]=l,Ri(i,n,s)}else if(h){if(t&&n.value!==a)return;n.value=s}}function Ri({_setupState:e},t,n){e&&x(e,t)&&(Re(e[t])?e[t].value=n:e[t]=n)}const Hi=new ce("",{},[]),Ni=["create","activate","update","remove","destroy"];function Fi(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&o(e.data)===o(t.data)&&function(e,t){if("input"!==e.tag)return!0;let n;const i=o(n=e.data)&&o(n=n.attrs)&&n.type,r=o(n=t.data)&&o(n=n.attrs)&&n.type;return i===r||Pi(i)&&Pi(r)}(e,t)||s(e.isAsyncPlaceholder)&&a(t.asyncFactory.error))}function zi(e,t,n){let i,r;const a={};for(i=t;i<=n;++i)r=e[i].key,o(r)&&(a[r]=i);return a}var Bi={create:Wi,update:Wi,destroy:function(e){Wi(e,Hi)}};function Wi(e,t){(e.data.directives||t.data.directives)&&function(e,t){const n=e===Hi,i=t===Hi,r=$i(e.data.directives,e.context),a=$i(t.data.directives,t.context),o=[],s=[];let l,c,u;for(l in a)c=r[l],u=a[l],c?(u.oldValue=c.value,u.oldArg=c.arg,Xi(u,"update",t,e),u.def&&u.def.componentUpdated&&s.push(u)):(Xi(u,"bind",t,e),u.def&&u.def.inserted&&o.push(u));if(o.length){const i=()=>{for(let n=0;n<o.length;n++)Xi(o[n],"inserted",t,e)};n?Qe(t,"insert",i):i()}if(s.length&&Qe(t,"postpatch",()=>{for(let n=0;n<s.length;n++)Xi(s[n],"componentUpdated",t,e)}),!n)for(l in r)a[l]||Xi(r[l],"unbind",e,e,i)}(e,t)}const Vi=Object.create(null);function $i(e,t){const n=Object.create(null);if(!e)return n;let i,r;for(i=0;i<e.length;i++){if(r=e[i],r.modifiers||(r.modifiers=Vi),n[Ui(r)]=r,t._setupState&&t._setupState.__sfc){const e=r.def||Xn(t,"_setupState","v-"+r.name);r.def="function"==typeof e?{bind:e,update:e}:e}r.def=r.def||Xn(t.$options,"directives",r.name)}
385return n}function Ui(e){return e.rawName||`${e.name}.${Object.keys(e.modifiers||{}).join(".")}`}function Xi(e,t,n,i,r){const a=e.def&&e.def[t];if(a)try{a(n.elm,e,n,i,r)}catch(i){jt(i,n.context,`directive ${e.name} ${t} hook`)}}var Gi=[Yi,Bi];function qi(e,t){const n=t.componentOptions;if(o(n)&&!1===n.Ctor.options.inheritAttrs)return;if(a(e.data.attrs)&&a(t.data.attrs))return;let i,r,l;const c=t.elm,u=e.data.attrs||{};let d=t.data.attrs||{};for(i in(o(d.__ob__)||s(d._v_attr_proxy))&&(d=t.data.attrs=T({},d)),d)r=d[i],l=u[i],l!==r&&Ji(c,i,r,t.data.pre);for(i in(G||J)&&d.value!==u.value&&Ji(c,"value",d.value),u)a(d[i])&&(wi(i)?c.removeAttributeNS(xi,ki(i)):bi(i)||c.removeAttribute(i))}function Ji(e,t,n,i){i||e.tagName.indexOf("-")>-1?Ki(e,t,n):_i(t)?Si(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):bi(t)?e.setAttribute(t,((e,t)=>Si(t)||"false"===t?"false":"contenteditable"===e&&yi(t)?t:"true")(t,n)):wi(t)?Si(n)?e.removeAttributeNS(xi,ki(t)):e.setAttributeNS(xi,t,n):Ki(e,t,n)}function Ki(e,t,n){if(Si(n))e.removeAttribute(t);else{if(G&&!q&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){const t=n=>{n.stopImmediatePropagation(),e.removeEventListener("input",t)};e.addEventListener("input",t),e.__ieph=!0}e.setAttribute(t,n)}}var Zi={create:qi,update:qi};function Qi(e,t){const n=t.elm,i=t.data,r=e.data;if(a(i.staticClass)&&a(i.class)&&(a(r)||a(r.staticClass)&&a(r.class)))return;let s=function(e){let t=e.data,n=e,i=e;for(;o(i.componentInstance);)i=i.componentInstance._vnode,i&&i.data&&(t=Mi(i.data,t));for(;o(n=n.parent);)n&&n.data&&(t=Mi(t,n.data));return function(e,t){return o(e)||o(t)?Li(e,Ai(t)):""}(t.staticClass,t.class)}(t);const l=n._transitionClasses;o(l)&&(s=Li(s,Ai(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}var er={create:Qi,update:Qi};let tr;function nr(e,t,n){const i=tr;return function r(){const a=t.apply(null,arguments);null!==a&&ar(e,r,n,i)}}const ir=Ht&&!(Z&&Number(Z[1])<=53);function rr(e,t,n,i){if(ir){const e=Mn,n=t;t=n._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=e||t.timeStamp<=0||t.target.ownerDocument!==document)return n.apply(this,arguments)}}tr.addEventListener(e,t,te?{capture:n,passive:i}:n)}function ar(e,t,n,i){(i||tr).removeEventListener(e,t._wrapper||t,n)}function or(e,t){if(a(e.data.on)&&a(t.data.on))return;const n=t.data.on||{},i=e.data.on||{};tr=t.elm||e.elm,function(e){if(o(e.__r)){const t=G?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}o(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(n),Ze(n,i,rr,ar,nr,t.context),tr=void 0}var sr={create:or,update:or,destroy:e=>or(e,Hi)};let lr;function cr(e,t){if(a(e.data.domProps)&&a(t.data.domProps))return;let n,i;const r=t.elm,l=e.data.domProps||{};let c=t.data.domProps||{};for(n in(o(c.__ob__)||s(c._v_attr_proxy))&&(c=t.data.domProps=T({},c)),l)n in c||(r[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===l[n])continue;1===r.childNodes.length&&r.removeChild(r.childNodes[0])}if("value"===n&&"PROGRESS"!==r.tagName){r._value=i;const e=a(i)?"":String(i);ur(r,e)&&(r.value=e)}else if("innerHTML"===n&&Ti(r.tagName)&&a(r.innerHTML)){lr=lr||document.createElement("div"),lr.innerHTML=`<svg>${i}</svg>`;const e=lr.firstChild;for(;r.firstChild;)r.removeChild(r.firstChild);for(;e.firstChild;)r.appendChild(e.firstChild)}else if(i!==l[n])try{r[n]=i}catch(e){}}}function ur(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){let n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){const n=e.value,i=e._vModifiers;if(o(i)){if(i.number)return g(n)!==g(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var dr={create:cr,update:cr};const hr=w((function(e){const t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){const i=e.split(n);i.length>1&&(t[i[0].trim()]=i[1].trim())}})),t}));function fr(e){const t=pr(e.style);return e.staticStyle?T(e.staticStyle,t):t}function pr(e){return Array.isArray(e)?E(e):"string"==typeof e?hr(e):e}
385const mr=/^--/,gr=/\s*!important$/,vr=(e,t,n)=>{if(mr.test(t))e.style.setProperty(t,n);else if(gr.test(n))e.style.setProperty(A(t),n.replace(gr,""),"important");else{const i=_r(t);if(Array.isArray(n))for(let t=0,r=n.length;t<r;t++)e.style[i]=n[t];else e.style[i]=n}},br=["Webkit","Moz","ms"];let yr;const _r=w((function(e){if(yr=yr||document.createElement("div").style,"filter"!==(e=S(e))&&e in yr)return e;const t=e.charAt(0).toUpperCase()+e.slice(1);for(let e=0;e<br.length;e++){const n=br[e]+t;if(n in yr)return n}}));function xr(e,t){const n=t.data,i=e.data;if(a(n.staticStyle)&&a(n.style)&&a(i.staticStyle)&&a(i.style))return;let r,s;const l=t.elm,c=i.staticStyle,u=i.normalizedStyle||i.style||{},d=c||u,h=pr(t.data.style)||{};t.data.normalizedStyle=o(h.__ob__)?T({},h):h;const f=function(e,t){const n={};let i;{let t=e;for(;t.componentInstance;)t=t.componentInstance._vnode,t&&t.data&&(i=fr(t.data))&&T(n,i)}(i=fr(e.data))&&T(n,i);let r=e;for(;r=r.parent;)r.data&&(i=fr(r.data))&&T(n,i);return n}(t);for(s in d)a(f[s])&&vr(l,s,"");for(s in f)r=f[s],r!==d[s]&&vr(l,s,null==r?"":r)}var wr={create:xr,update:xr};const kr=/\s+/;function Sr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(kr).forEach(t=>e.classList.add(t)):e.classList.add(t);else{const n=` ${e.getAttribute("class")||""} `;n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Mr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(kr).forEach(t=>e.classList.remove(t)):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{let n=` ${e.getAttribute("class")||""} `;const i=" "+t+" ";for(;n.indexOf(i)>=0;)n=n.replace(i," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function Lr(e){if(e){if("object"==typeof e){const t={};return!1!==e.css&&T(t,Ar(e.name||"v")),T(t,e),t}return"string"==typeof e?Ar(e):void 0}}const Ar=w(e=>({enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"})),Or=U&&!q;let Cr="transition",Tr="transitionend",Er="animation",Dr="animationend";Or&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Cr="WebkitTransition",Tr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Er="WebkitAnimation",Dr="webkitAnimationEnd"));const Pr=U?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:e=>e();function jr(e){Pr(()=>{Pr(e)})}function Yr(e,t){const n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Sr(e,t))}function Ir(e,t){e._transitionClasses&&y(e._transitionClasses,t),Mr(e,t)}function Rr(e,t,n){const{type:i,timeout:r,propCount:a}=Nr(e,t);if(!i)return n();const o="transition"===i?Tr:Dr;let s=0;const l=()=>{e.removeEventListener(o,c),n()},c=t=>{t.target===e&&++s>=a&&l()};setTimeout(()=>{s<a&&l()},r+1),e.addEventListener(o,c)}const Hr=/\b(transform|all)(,|$)/;function Nr(e,t){const n=window.getComputedStyle(e),i=(n[Cr+"Delay"]||"").split(", "),r=(n[Cr+"Duration"]||"").split(", "),a=Fr(i,r),o=(n[Er+"Delay"]||"").split(", "),s=(n[Er+"Duration"]||"").split(", "),l=Fr(o,s);let c,u=0,d=0;return"transition"===t?a>0&&(c="transition",u=a,d=r.length):"animation"===t?l>0&&(c="animation",u=l,d=s.length):(u=Math.max(a,l),c=u>0?a>l?"transition":"animation":null,d=c?"transition"===c?r.length:s.length:0),{type:c,timeout:u,propCount:d,hasTransform:"transition"===c&&Hr.test(n[Cr+"Property"])}}function Fr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map((t,n)=>zr(t)+zr(e[n])))}function zr(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Br(e,t){const n=e.elm;o(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());const i=Lr(e.data.transition);if(a(i))return;if(o(n._enterCb)||1!==n.nodeType)return;const{css:r,type:s,enterClass:l,enterToClass:d,enterActiveClass:h,appearClass:f,appearToClass:p,appearActiveClass:m,beforeEnter:v,enter:b,afterEnter:y,enterCancelled:_,beforeAppear:x,appear:w,afterAppear:k,appearCancelled:S,duration:M}=i;let L=pn,A=pn.$vnode;for(;A&&A.parent;)L=A.context,A=A.parent;const O=!L._isMounted||!e.isRootInsert;if(O&&!w&&""!==w)return;const C=O&&f?f:l,T=O&&m?m:h,E=O&&p?p:d,D=O&&x||v,P=O&&c(w)?w:b,j=O&&k||y,Y=O&&S||_,I=g(u(M)?M.enter
385:M),H=!1!==r&&!q,N=$r(P),F=n._enterCb=R(()=>{H&&(Ir(n,E),Ir(n,T)),F.cancelled?(H&&Ir(n,C),Y&&Y(n)):j&&j(n),n._enterCb=null});e.data.show||Qe(e,"insert",()=>{const t=n.parentNode,i=t&&t._pending&&t._pending[e.key];i&&i.tag===e.tag&&i.elm._leaveCb&&i.elm._leaveCb(),P&&P(n,F)}),D&&D(n),H&&(Yr(n,C),Yr(n,T),jr(()=>{Ir(n,C),F.cancelled||(Yr(n,E),N||(Vr(I)?setTimeout(F,I):Rr(n,s,F)))})),e.data.show&&(t&&t(),P&&P(n,F)),H||N||F()}function Wr(e,t){const n=e.elm;o(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());const i=Lr(e.data.transition);if(a(i)||1!==n.nodeType)return t();if(o(n._leaveCb))return;const{css:r,type:s,leaveClass:l,leaveToClass:c,leaveActiveClass:d,beforeLeave:h,leave:f,afterLeave:p,leaveCancelled:m,delayLeave:v,duration:b}=i,y=!1!==r&&!q,_=$r(f),x=g(u(b)?b.leave:b),w=n._leaveCb=R(()=>{n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),y&&(Ir(n,c),Ir(n,d)),w.cancelled?(y&&Ir(n,l),m&&m(n)):(t(),p&&p(n)),n._leaveCb=null});function k(){w.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),h&&h(n),y&&(Yr(n,l),Yr(n,d),jr(()=>{Ir(n,l),w.cancelled||(Yr(n,c),_||(Vr(x)?setTimeout(w,x):Rr(n,s,w)))})),f&&f(n,w),y||_||w())}v?v(k):k()}function Vr(e){return"number"==typeof e&&!isNaN(e)}function $r(e){if(a(e))return!1;const t=e.fns;return o(t)?$r(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Ur(e,t){!0!==t.data.show&&Br(t)}const Xr=function(e){let t,n;const i={},{modules:c,nodeOps:u}=e;for(t=0;t<Ni.length;++t)for(i[Ni[t]]=[],n=0;n<c.length;++n)o(c[n][Ni[t]])&&i[Ni[t]].push(c[n][Ni[t]]);function d(e){const t=u.parentNode(e);o(t)&&u.removeChild(t,e)}function h(e,t,n,r,a,l,c){if(o(e.elm)&&o(l)&&(e=l[c]=he(e)),e.isRootInsert=!a,function(e,t,n,r){let a=e.data;if(o(a)){const l=o(e.componentInstance)&&a.keepAlive;if(o(a=a.hook)&&o(a=a.init)&&a(e,!1),o(e.componentInstance))return f(e,t),p(n,e.elm,r),s(l)&&function(e,t,n,r){let a,s=e;for(;s.componentInstance;)if(s=s.componentInstance._vnode,o(a=s.data)&&o(a=a.transition)){for(a=0;a<i.activate.length;++a)i.activate[a](Hi,s);t.push(s);break}p(n,e.elm,r)}(e,t,n,r),!0}}(e,t,n,r))return;const d=e.data,h=e.children,g=e.tag;o(g)?(e.elm=e.ns?u.createElementNS(e.ns,g):u.createElement(g,e),y(e),m(e,h,t),o(d)&&b(e,t),p(n,e.elm,r)):s(e.isComment)?(e.elm=u.createComment(e.text),p(n,e.elm,r)):(e.elm=u.createTextNode(e.text),p(n,e.elm,r))}function f(e,t){o(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,g(e)?(b(e,t),y(e)):(Ii(e),t.push(e))}function p(e,t,n){o(e)&&(o(n)?u.parentNode(n)===e&&u.insertBefore(e,t,n):u.appendChild(e,t))}function m(e,t,n){if(r(t))for(let i=0;i<t.length;++i)h(t[i],n,e.elm,null,!0,t,i);else l(e.text)&&u.appendChild(e.elm,u.createTextNode(String(e.text)))}function g(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return o(e.tag)}function b(e,n){for(let t=0;t<i.create.length;++t)i.create[t](Hi,e);t=e.data.hook,o(t)&&(o(t.create)&&t.create(Hi,e),o(t.insert)&&n.push(e))}function y(e){let t;if(o(t=e.fnScopeId))u.setStyleScope(e.elm,t);else{let n=e;for(;n;)o(t=n.context)&&o(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t),n=n.parent}o(t=pn)&&t!==e.context&&t!==e.fnContext&&o(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t)}function _(e,t,n,i,r,a){for(;i<=r;++i)h(n[i],a,e,t,!1,n,i)}function x(e){let t,n;const r=e.data;if(o(r))for(o(t=r.hook)&&o(t=t.destroy)&&t(e),t=0;t<i.destroy.length;++t)i.destroy[t](e);if(o(t=e.children))for(n=0;n<e.children.length;++n)x(e.children[n])}function w(e,t,n){for(;t<=n;++t){const n=e[t];o(n)&&(o(n.tag)?(k(n),x(n)):d(n.elm))}}function k(e,t){if(o(t)||o(e.data)){let n;const r=i.remove.length+1;for(o(t)?t.listeners+=r:t=function(e,t){function n(){0==--n.listeners&&d(e)}return n.listeners=t,n}(e.elm,r),o(n=e.componentInstance)&&o(n=n._vnode)&&o(n.data)&&k(n,t),n=0;n<i.remove.length;++n)i.remove[n](e,t);o(n=e.data.hook)&&o(n=n.remove)?n(e,t):t()}else d(e.elm)}function S(e,t,n,i){for(let r=n;r<i;r++){const n=t[r];if(o(n)&&Fi(e,n))return r}}function M(e,t,n,r,l,c){if(e===t)return;o(t.elm)&&o(r)&&(t=r[l]=he(t));const d=t.elm=e.elm;if(s(e.isAsyncPlaceholder))return void(o(t.asyncFactory.resolved)?O(e.elm,t,n):t.isAsyncPlaceholder=!0);if(s(t.isStatic)&&s(e.isStatic)&&t.key===e.key&&(s(t.isCloned)||s(t.isOnce)))return void(t.componentInstance=e.componentInstance);let f;const p=t.data;o(p)&&o(f=p.hook)&&o(f=f.prepatch)&&f(e,t);const m=e.children,v=t.children;if(o(p)&&g(t)){for(f=0;f<i.update.length;++f)i.update[f](e,t);o(f=p.hook)&&o(f=f.update)&&f(e,t)}a(t.text)?o(m)&&o(v)?m!==v&&function(e,t,n,i,r){let s,l,c,d,f=0,p=0,m=t.length-1,g=t[0],v=t[m],b=n.length-1,y=n[0],x=n[b];const k=!r;for(;f<=m&&p<=b;)a(g)?g=t[++f]:a(v)?v=t[--m]:Fi(g,y)?(M(g,y,i,n,p),g=t[++f],y=n[++p]):Fi(v,x)?(M(v,x,i,n,b),v=t[--m],x=n[--b]):Fi(g,x)?(M(g,x,i,n,b),k&&u.insertBefore(e,g.elm,u.nextSibling(v.elm)),g=t[++f],x=n[--b]):Fi(v,y)?(M(v,y,i,n,p),k&&u.insertBefore(e,v.elm,g.elm),v=t[--m],y=n[++p]):(a(s)&&(s=zi(t,f,m)),l=o(y.key)?s[y.key]:S(y,t,f,m),a(l)?h(y,i,e,g.elm,!1,n,p):(c=t[l],Fi(c,y)?(M(c,y,i,n,p),t[l]=void 0,k&&u.insertBefore(e,c.elm,g.elm)):h(y,i,e,g.elm,!1,n,p)),y=n[++p]);f>m?(d=a(n[b+1])?null:n[b+1].elm,_(e,d,n,p,b,i)):p>b&&w(t,f,m)}(d,m,v,n,c):o(v)?(o(e.text)&&u.setTextContent(d,""),_(d,null,v,0,v.length-1,n)):o(m)?w(m,0,m.length-1):o(e.text)&&u.setTextContent(d,""):e.text!==t.text&&u.setTextContent(d,t.text),o(p)&&o(f=p.hook)&&o(f=f.postpatch)&&f(e,t)}function L(e,t,n){if(s(n)&&o(e.parent))e.parent.data.pendingInsert=t;else for(let e=0;e<t.length;++e)t[e].data.hook.insert(t[e])}const A=v("attrs,class,staticClass,staticStyle,key");function O(e,t,n,i){let r;const{tag:a,data:l,children:c}=t;if(i=i||l&&l.pre,t.elm=e,s(t.isComment)&&o(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(o(l)&&(o(r=l.hook)&&o(r=r.init)&&r(t,!0),o(r=t.componentInstance)))return f(t,n),!0;if(o(a)){if(o(c))if(e.hasChildNodes())if(o(r=l)&&o(r=r.domProps)&&o(r=r.innerHTML)){if(r!==e.innerHTML)return!1}else{let t=!0,r=e.firstChild;for(let e=0;e<c.length;e++){if(!r||!O(r,c[e],n,i)){t=!1;break}r=r.nextSibling}if(!t||r)return!1}else m(t,c,n);if(o(l)){let e=!1;for(const i in l)if(!A(i)){e=!0,b(t,n);break}!e&&l.class&&on(l.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,r){if(a(t))return void(o(e)&&x(e));let l=!1;const c=[];if(a(e))l=!0,h(t,c);
385else{const a=o(e.nodeType);if(!a&&Fi(e,t))M(e,t,c,null,null,r);else{if(a){if(1===e.nodeType&&e.hasAttribute("data-server-rendered")&&(e.removeAttribute("data-server-rendered"),n=!0),s(n)&&O(e,t,c))return L(t,c,!0),e;d=e,e=new ce(u.tagName(d).toLowerCase(),{},[],void 0,d)}const r=e.elm,l=u.parentNode(r);if(h(t,c,r._leaveCb?null:l,u.nextSibling(r)),o(t.parent)){let e=t.parent;const n=g(t);for(;e;){for(let t=0;t<i.destroy.length;++t)i.destroy[t](e);if(e.elm=t.elm,n){for(let t=0;t<i.create.length;++t)i.create[t](Hi,e);const t=e.data.hook.insert;if(t.merged)for(let e=1;e<t.fns.length;e++)t.fns[e]()}else Ii(e);e=e.parent}}o(l)?w([e],0,0):o(e.tag)&&x(e)}}var d;return L(t,c,l),t.elm}}({nodeOps:ji,modules:[Zi,er,sr,dr,wr,U?{create:Ur,activate:Ur,remove(e,t){!0!==e.data.show?Wr(e,t):t()}}:{}].concat(Gi)});q&&document.addEventListener("selectionchange",()=>{const e=document.activeElement;e&&e.vmodel&&ta(e,"input")});const Gr={inserted(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?Qe(n,"postpatch",()=>{Gr.componentUpdated(e,t,n)}):qr(e,t,n.context),e._vOptions=[].map.call(e.options,Zr)):("textarea"===n.tag||Pi(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Qr),e.addEventListener("compositionend",ea),e.addEventListener("change",ea),q&&(e.vmodel=!0)))},componentUpdated(e,t,n){if("select"===n.tag){qr(e,t,n.context);const i=e._vOptions,r=e._vOptions=[].map.call(e.options,Zr);r.some((e,t)=>!Y(e,i[t]))&&(e.multiple?t.value.some(e=>Kr(e,r)):t.value!==t.oldValue&&Kr(t.value,r))&&ta(e,"change")}}};function qr(e,t,n){Jr(e,t),(G||J)&&setTimeout(()=>{Jr(e,t)},0)}function Jr(e,t,n){const i=t.value,r=e.multiple;if(r&&!Array.isArray(i))return;let a,o;for(let t=0,n=e.options.length;t<n;t++)if(o=e.options[t],r)a=I(i,Zr(o))>-1,o.selected!==a&&(o.selected=a);else if(Y(Zr(o),i))return void(e.selectedIndex!==t&&(e.selectedIndex=t));r||(e.selectedIndex=-1)}function Kr(e,t){return t.every(t=>!Y(t,e))}function Zr(e){return"_value"in e?e._value:e.value}function Qr(e){e.target.composing=!0}function ea(e){e.target.composing&&(e.target.composing=!1,ta(e.target,"input"))}function ta(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function na(e){return!e.componentInstance||e.data&&e.data.transition?e:na(e.componentInstance._vnode)}var ia={model:Gr,show:{bind(e,{value:t},n){const i=(n=na(n)).data&&n.data.transition,r=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;t&&i?(n.data.show=!0,Br(n,()=>{e.style.display=r})):e.style.display=t?r:"none"},update(e,{value:t,oldValue:n},i){!t!=!n&&((i=na(i)).data&&i.data.transition?(i.data.show=!0,t?Br(i,()=>{e.style.display=e.__vOriginalDisplay}):Wr(i,()=>{e.style.display="none"})):e.style.display=t?e.__vOriginalDisplay:"none")},unbind(e,t,n,i,r){r||(e.style.display=e.__vOriginalDisplay)}}};const ra={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function aa(e){const t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?aa(Et(t.children)):e}function oa(e){const t={},n=e.$options;for(const i in n.propsData)t[i]=e[i];const i=n._parentListeners;for(const e in i)t[S(e)]=i[e];return t}function sa(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}const la=e=>e.tag||_t(e),ca=e=>"show"===e.name;var ua={name:"transition",props:ra,abstract:!0,render(e){let t=this.$slots.default;if(!t)return;if(t=t.filter(la),!t.length)return;const n=this.mode,i=t[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;const r=aa(i);if(!r)return i;if(this._leaving)return sa(e,i);const a=`__transition-${this._uid}-`;r.key=null==r.key?r.isComment?a+"comment":a+r.tag:l(r.key)?0===String(r.key).indexOf(a)?r.key:a+r.key:r.key;const o=(r.data||(r.data={})).transition=oa(this),s=this._vnode,c=aa(s);if(r.data.directives&&r.data.directives.some(ca)&&(r.data.show=!0),c&&c.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(r,c)&&!_t(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){const t=c.data.transition=T({},o);if("out-in"===n)return this._leaving=!0,Qe(t,"afterLeave",()=>{this._leaving=!1,this.$forceUpdate()}),sa(e,i);if("in-out"===n){if(_t(r))return s;let e;const n=()=>{e()};Qe(o,"afterEnter",n),Qe(o,"enterCancelled",n),Qe(t,"delayLeave",t
385=>{e=t})}}return i}};const da=T({tag:String,moveClass:String},ra);function ha(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function fa(e){e.data.newPos=e.elm.getBoundingClientRect()}function pa(e){const t=e.data.pos,n=e.data.newPos,i=t.left-n.left,r=t.top-n.top;if(i||r){e.data.moved=!0;const t=e.elm.style;t.transform=t.WebkitTransform=`translate(${i}px,${r}px)`,t.transitionDuration="0s"}}delete da.mode;var ma={Transition:ua,TransitionGroup:{props:da,beforeMount(){const e=this._update;this._update=(t,n)=>{const i=mn(this);this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept,i(),e.call(this,t,n)}},render(e){const t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],a=this.children=[],o=oa(this);for(let e=0;e<r.length;e++){const t=r[e];t.tag&&null!=t.key&&0!==String(t.key).indexOf("__vlist")&&(a.push(t),n[t.key]=t,(t.data||(t.data={})).transition=o)}if(i){const r=[],a=[];for(let e=0;e<i.length;e++){const t=i[e];t.data.transition=o,t.data.pos=t.elm.getBoundingClientRect(),n[t.key]?r.push(t):a.push(t)}this.kept=e(t,null,r),this.removed=a}return e(t,null,a)},updated(){const e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(ha),e.forEach(fa),e.forEach(pa),this._reflow=document.body.offsetHeight,e.forEach(e=>{if(e.data.moved){const n=e.elm,i=n.style;Yr(n,t),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Tr,n._moveCb=function e(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Tr,e),n._moveCb=null,Ir(n,t))})}}))},methods:{hasMove(e,t){if(!Or)return!1;if(this._hasMove)return this._hasMove;const n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(e=>{Mr(n,e)}),Sr(n,t),n.style.display="none",this.$el.appendChild(n);const i=Nr(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}}};ci.config.mustUseProp=(e,t,n)=>"value"===n&&vi(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e,ci.config.isReservedTag=Ei,ci.config.isReservedAttr=gi,ci.config.getTagNamespace=function(e){return Ti(e)?"svg":"math"===e?"math":void 0},ci.config.isUnknownElement=function(e){if(!U)return!0;if(Ei(e))return!1;if(e=e.toLowerCase(),null!=Di[e])return Di[e];const t=document.createElement(e);return e.indexOf("-")>-1?Di[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Di[e]=/HTMLUnknownElement/.test(t.toString())},T(ci.options.directives,ia),T(ci.options.components,ma),ci.prototype.__patch__=U?Xr:D,ci.prototype.$mount=function(e,t){return function(e,t,n){let i;e.$el=t,e.$options.render||(e.$options.render=ue),bn(e,"beforeMount"),i=()=>{e._update(e._render(),n)},new cn(e,i,D,{before(){e._isMounted&&!e._isDestroyed&&bn(e,"beforeUpdate")}},!0),n=!1;const r=e._preWatchers;if(r)for(let e=0;e<r.length;e++)r[e].run();return null==e.$vnode&&(e._isMounted=!0,bn(e,"mounted")),e}(this,e=e&&U?function(e){return"string"==typeof e?document.querySelector(e)||document.createElement("div"):e}(e):void 0,t)},U&&setTimeout(()=>{z.devtools&&ie&&ie.emit("init",ci)},0),T(ci,rn),e.exports=ci}).call(this,n("yLpj"),n("URgk").setImmediate)},zYHM:function(e,t,n){"use strict";n.r(t);var i=n("XPkG"),r=n("+knh"),a={plansAimsArticleStatus:Object(r.default)({service:Object(i.default)("plans_aims_article_statuses")}),plansAimsArticle:Object(r.default)({service:Object(i.default)("plans_aims_articles")}),plansInstitution:Object(r.default)({service:Object(i.default)("plans_institutions")}),plansAimsUser:Object(r.default)({service:Object(i.default)("plans_aims_users")}),plansAimsMembership:Object(r.default)({service:Object(i.default)("plans_aims_memberships")}),plansAimsTier:Object(r.default)({service:Object(i.default)("plans_aims_tiers")}),plansAimsSetting:Object(r.default)({service:Object(i.default)("plans_aims_settings")}),plansFaq:Object(r.default)({service:Object(i.default)("plans_faqs")})};t.default=a},zZ0H:function(e,t){e.exports=function(e){return e}},zoeD:function(e,t,n){"use strict";var i=n("FrcG"),r=n("8ud9"),a=n("WN+I"),o=n("2b3T");t.a=Object(a.a)(i.a,r.a).extend({name:"v-hover",props:{disabled:{type:Boolean,default:!1},value:{type:Boolean,default:void 0}},methods:{onMouseEnter(){this.runDelay("open")},onMouseLeave(){this.runDelay("close")}}
385,render(){if(!this.$scopedSlots.default&&void 0===this.value)return Object(o.c)("v-hover is missing a default scopedSlot or bound value",this),null;let e;return this.$scopedSlots.default&&(e=this.$scopedSlots.default({hover:this.isActive})),Array.isArray(e)&&1===e.length&&(e=e[0]),e&&!Array.isArray(e)&&e.tag?(this.disabled||(e.data=e.data||{},this._g(e.data,{mouseenter:this.onMouseEnter,mouseleave:this.onMouseLeave})),e):(Object(o.c)("v-hover should only contain a single element",this),e)}})},zrAn:function(e,t,n){"use strict";n("UmW8")},zx6S:function(e,t,n){!function(e){"use strict"; 386//! moment.js locale configuration 387var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_Äetvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._Äet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_Äe_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juÄe u] LT",lastWeek:function(){return["[proÅ¡le] [nedelje] [u] LT","[proÅ¡log] [ponedeljka] [u] LT","[proÅ¡log] [utorka] [u] LT","[proÅ¡le] [srede] [u] LT","[proÅ¡log] [Äetvrtka] [u] LT","[proÅ¡log] [petka] [u] LT","[proÅ¡le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))}},[["iarp","runtime",211,361]]]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.