From 10fa4e6a073b5a01bb5c06b2a4cd2ceb57892d8c Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Tue, 29 Jun 2021 15:19:56 -0700 Subject: [PATCH] chore: upc js updated --- plugins/dynamix.my.servers/webComps/unraid.min.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dynamix.my.servers/webComps/unraid.min.js b/plugins/dynamix.my.servers/webComps/unraid.min.js index 6407398f6..f5b3ff744 100644 --- a/plugins/dynamix.my.servers/webComps/unraid.min.js +++ b/plugins/dynamix.my.servers/webComps/unraid.min.js @@ -82,4 +82,4 @@ avatar username } - }`}).subscribe({next(t){Dt.debug("[🪐 serverStateFromApi] serverOwnerSub: %o",t)},error:e=>(t.commit("SET_MY_SERVERS_ERROR",e),t.state.myServersError)}),Dt.debug("[🪐 serverStateFromApi] DONE %o",e.data),e.data},stopGraphqlClient:t=>Object.keys(zn).includes(t)?(Dt.debug("[getGraphqlClient] found existing client & stopping it"),zn[t]):Dt.debug("[getGraphqlClient] client does not exist for apikey %s",t)};o.default.use(b.a);var hi=new b.a.Store({state:wt,getters:It,mutations:Nt,actions:fi});var mi=g({i18n:mt,store:hi,name:"Authed",props:["propRegistered"],data:()=>({regChanged:!1,popUpClosedTimer:null}),computed:{...Object(b.e)(["state","registered","isPopUpOpen","signOutPayload","wizardWindow"]),...Object(b.c)(["stateData"]),computedReg(){return null===this.registered?!!this.propRegistered:this.registered},buttonPayload(){return this.stateData.error?this.wizardWindow:this.computedReg?this.signOutPayload:this.wizardWindow},buttonText(){return this.stateData.error?this.$t("fixError"):this.isPopUpOpen?this.$t("backToPopUp"):"ENOKEYFILE"===this.state?this.$t("getStarted"):this.computedReg?this.$t("signOut"):this.$t("signIn")},buttonTitle(){return this.$t("upc.opensNewHttpsWindow.base",[this.buttonText])}},watch:{isPopUpOpen(t){!t&&this.regChanged&&(Dt.debug("[REGISTERED CHANGED] 🔥 reload webGUI settings"),window.location.reload())},registered(t,e){null!==e&&t!==this.propRegistered&&(Dt.debug("[REGISTERED CHANGED]",{newVal:t,oldVal:e}),this.regChanged=!0,this.isPopUpOpen||(Dt.debug("[REGISTERED CHANGED] 🔥🔥 reload webGUI settings"),window.location.reload()))}},methods:{...Object(b.b)(["closePopUp","openPopUp"])}},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("transition",{attrs:{appear:"",name:"fade",mode:"out-in"}},[r("div",[r("button",{attrs:{type:"button",title:t.buttonTitle},on:{click:function(e){return t.openPopUp(t.buttonPayload)}}},[t._v(t._s(t.buttonText))]),r("transition",{attrs:{name:"fade",mode:"out-in"}},[t.isPopUpOpen?r("button",{staticClass:"ml-8px",attrs:{type:"button"},on:{click:function(e){return t.closePopUp()}}},[t._v(t._s(t.$t("closePopUp")))]):t._e()])],1)])}),[],!1,(function(t){var e=r("696d");e.__inject__&&e.__inject__(t)}),"0b24b7c6",null,!0).exports,vi=(g({name:"keyline",props:{color:{type:String,default:"grey"}},computed:{computedClass(){return"gradient"===this.color?"h-2px bg-gradient-r-red-orange":"h-1px bg-grey"}}},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("hr",{staticClass:"w-full shadow-none border-none rounded-none",class:t.computedClass})}),[],!1,null,null,null,!0).exports,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{staticClass:"unraid_sc_loader",style:t.styles,attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 133.52 76.97",height:t.height+"px",role:"img"}},[r("title",[t._v(t._s(t.title))]),r("desc",[t._v("Unraid logo animating with a wave like effect")]),r("defs",[r("linearGradient",{attrs:{id:t.random,x1:"23.76",y1:"81.49",x2:"109.76",y2:"-4.51",gradientUnits:"userSpaceOnUse"}},[r("stop",{attrs:{offset:"0","stop-color":t.gradientStart}}),r("stop",{attrs:{offset:"1","stop-color":t.gradientStop}})],1)],1),r("path",{staticClass:"unraid_sc_loader_9",attrs:{d:"m70,19.24zm57,0l6.54,0l0,38.49l-6.54,0l0,-38.49z",fill:"url(#"+t.random+")"}}),r("path",{staticClass:"unraid_sc_loader_8",attrs:{d:"m70,19.24zm47.65,11.9l-6.55,0l0,-23.79l6.55,0l0,23.79z",fill:"url(#"+t.random+")"}}),r("path",{staticClass:"unraid_sc_loader_7",attrs:{d:"m70,19.24zm31.77,-4.54l-6.54,0l0,-14.7l6.54,0l0,14.7z",fill:"url(#"+t.random+")"}}),r("path",{staticClass:"unraid_sc_loader_6",attrs:{d:"m70,19.24zm15.9,11.9l-6.54,0l0,-23.79l6.54,0l0,23.79z",fill:"url(#"+t.random+")"}}),r("path",{staticClass:"unraid_sc_loader_5",attrs:{d:"m63.49,19.24l6.51,0l0,38.49l-6.51,0l0,-38.49z",fill:"url(#"+t.random+")"}}),r("path",{staticClass:"unraid_sc_loader_4",attrs:{d:"m70,19.24zm-22.38,26.6l6.54,0l0,23.78l-6.54,0l0,-23.78z",fill:"url(#"+t.random+")"}}),r("path",{staticClass:"unraid_sc_loader_3",attrs:{d:"m70,19.24zm-38.26,43.03l6.55,0l0,14.73l-6.55,0l0,-14.73z",fill:"url(#"+t.random+")"}}),r("path",{staticClass:"unraid_sc_loader_2",attrs:{d:"m70,19.24zm-54.13,26.6l6.54,0l0,23.78l-6.54,0l0,-23.78z",fill:"url(#"+t.random+")"}}),r("path",{staticClass:"unraid_sc_loader_1",attrs:{d:"m70,19.24zm-63.46,38.49l-6.54,0l0,-38.49l6.54,0l0,38.49z",fill:"url(#"+t.random+")"}})])});var gi=g({name:"loading",props:{height:{type:Number,default:64},styles:{type:Object,default:()=>({})},gradientStart:{type:String,default:"#e32929"},gradientStop:{type:String,default:"#ff8d30"},title:{type:String,default:"Loading"}},data:()=>({random:Math.random().toString(36).substring(7)})},vi,[],!1,(function(t){var e=r("ef7a");e.__inject__&&e.__inject__(t)}),null,null,!0).exports,bi=(g({name:"logo",props:{gradientStart:{type:String,default:"#e32929"},gradientStop:{type:String,default:"#ff8d30"}},data:()=>({random:Math.random().toString(36).substring(7)})},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 222.36 39.04"}},[r("defs",[r("linearGradient",{attrs:{id:t.random,x1:"47.53",y1:"79.1",x2:"170.71",y2:"-44.08",gradientUnits:"userSpaceOnUse"}},[r("stop",{attrs:{offset:"0","stop-color":t.gradientStart}}),r("stop",{attrs:{offset:"1","stop-color":t.gradientStop}})],1)],1),r("title",[t._v("Unraid Logo")]),r("path",{attrs:{d:"M146.7,29.47H135l-3,9h-6.49L138.93,0h8l13.41,38.49h-7.09L142.62,6.93l-5.83,16.88h8ZM29.69,0V25.4c0,8.91-5.77,13.64-14.9,13.64S0,34.31,0,25.4V0H6.54V25.4c0,5.17,3.19,7.92,8.25,7.92s8.36-2.75,8.36-7.92V0ZM50.86,12v26.5H44.31V0h6.11l17,26.5V0H74V38.49H67.9ZM171.29,0h6.54V38.49h-6.54Zm51.07,24.69c0,9-5.88,13.8-15.17,13.8H192.67V0H207.3c9.18,0,15.06,4.78,15.06,13.8ZM215.82,13.8c0-5.28-3.3-8.14-8.52-8.14h-8.08V32.77h8c5.33,0,8.63-2.8,8.63-8.08ZM108.31,23.92c4.34-1.6,6.93-5.28,6.93-11.55C115.24,3.68,110.18,0,102.48,0H88.84V38.49h6.55V5.66h6.87c3.8,0,6.21,1.82,6.21,6.71s-2.41,6.76-6.21,6.76H98.88l9.21,19.36h7.53Z",fill:"url(#"+t.random+")"}})])}),[],!1,null,null,null,!0).exports,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 133.52 76.97"}},[r("title",[t._v("unraid-mark")]),r("defs",[r("linearGradient",{attrs:{id:t.random,x1:"23.76",y1:"81.49",x2:"109.76",y2:"-4.51",gradientUnits:"userSpaceOnUse"}},[r("stop",{attrs:{offset:"0","stop-color":t.gradientStart}}),r("stop",{attrs:{offset:"1","stop-color":t.gradientStop}})],1)],1),r("path",{attrs:{fill:"url(#"+t.random+")",d:"M63.49,19.24H70V57.73H63.49ZM6.54,57.73H0V19.24H6.54Zm25.2,4.54h6.55V77H31.74ZM15.87,45.84h6.54V69.62H15.87Zm31.75,0h6.54V69.62H47.62ZM127,19.24h6.54V57.73H127ZM101.77,14.7H95.23V0h6.54Zm15.88,16.44H111.1V7.35h6.55Zm-31.75,0H79.36V7.35H85.9Z"}})])}),yi=g({name:"logo",props:{gradientStart:{type:String,default:"#e32929"},gradientStop:{type:String,default:"#ff8d30"}},data:()=>({random:Math.random().toString(36).substring(7)})},bi,[],!1,null,null,null,!0).exports,_i=r("5d74"),wi=r.n(_i);o.default.use(wi.a,{url:(Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_SPRITE_URL_PREFIX?Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_SPRITE_URL_PREFIX:"")+"/assets/svg/sprite.svg",class:"svg-icon"});var xi=(g({name:"svg-icon",props:{symbol:{type:String,required:!0},symbolClass:String}},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("svg",{directives:[{name:"svg",rawName:"v-svg"}],staticClass:"unraid-svg-icon",class:t.symbolClass,attrs:{symbol:t.symbol,title:t.symbol,role:"presentation"}})}),[],!1,(function(t){var e=r("39a1");e.__inject__&&e.__inject__(t)}),"3b60bb54",null,!0).exports,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"text-center w-full"},[r("header",[r("h2",{staticClass:"text-24px md:text-30px",domProps:{innerHTML:t._s(t.stateData.heading?t.stateData.heading:t.stateData.error.heading)}}),r("div",{staticClass:"text-14px opacity-90 mt-12px mx-auto",class:{"text-center":t.stateData.messageCenter,"text-left":!t.stateData.messageCenter,"prose-2xl":!t.CAN_POST_MESSAGE,prose:t.CAN_POST_MESSAGE},domProps:{innerHTML:t._s(t.stateData.message?t.stateData.message:t.stateData.error.message)}},[t._t("default")],2)]),r("div",{staticClass:"ActionRequired flex flex-col justify-center mt-16px px-16px"},[t.isPopUpOpen?[r("ConditionalButton",{staticClass:"button button-alt w-full mt-8px",attrs:{text:t.$t("backToPopUp")},on:{"btn-click":function(e){return t.openPopUp(t.signInPayload)}}}),r("ConditionalButton",{staticClass:"button-fine-error text-grey-mid w-full mt-8px",attrs:{text:t.$t("closePopUp")},on:{"btn-click":function(e){return t.closePopUp()}}})]:[t.stateData.actions.includes("register")?[r("ConditionalButton",{staticClass:"button button-alt w-full mt-8px",attrs:{routeName:t.CAN_POST_MESSAGE?"SignIn":null,text:t.$t("signIn")},on:{"btn-click":function(e){return t.openPopUp(t.signInPayload)}}}),t.guidRegistered||t.forumaccount?t._e():r("ConditionalButton",{staticClass:"button button-alt w-full mt-8px",attrs:{routeName:t.CAN_POST_MESSAGE?"SignUp":null,text:t.$t("signUp")},on:{"btn-click":function(e){return t.openPopUp(t.signUpPayload)}}})]:t._e(),t.stateData.actions.includes("purchase")?r("ConditionalButton",{staticClass:"button button-alt w-full mt-8px",attrs:{hrefUrl:t.CAN_POST_MESSAGE?t.purchaseWindow.url:null,text:t.$t("actions.purchase")},on:{"btn-click":function(e){return t.openPopUp(t.purchaseWindow)}}}):t._e(),t.stateData.actions.includes("upgrade")?r("ConditionalButton",{staticClass:"button button-alt w-full mt-8px",attrs:{hrefUrl:t.CAN_POST_MESSAGE?t.purchaseWindow.url:null,text:t.$t("actions.upgrade")},on:{"btn-click":function(e){return t.openPopUp(t.purchaseWindow)}}}):t._e(),t.stateData.actions.includes("replace")&&t.replaceable?r("ConditionalButton",{staticClass:"button w-full mt-8px",attrs:{routeName:t.CAN_POST_MESSAGE?"ReplaceKey":null,text:t.$t("actions.replace")},on:{"btn-click":function(e){return t.openPopUp(t.replaceKeyPayload)}}}):t._e(),t.stateData.actions.includes("replace")&&!t.replaceable?r("ConditionalButton",{staticClass:"button w-full mt-8px",attrs:{text:t.$t("actions.replaceIneligible"),title:t.$t("stateData.EGUID.error.message.replacementIneligible"),disabled:""},on:{"btn-click":function(e){return t.niceTry()}}}):t._e(),t.stateData.actions.includes("recover")?r("ConditionalButton",{staticClass:"button w-full mt-8px",attrs:{routeName:t.CAN_POST_MESSAGE?"RecoverKey":null,text:t.$t("actions.recover")},on:{"btn-click":function(e){return t.openPopUp(t.recoverKeyPayload)}}}):t._e(),t.stateData.actions.includes("continueTrial")?r("ConditionalButton",{staticClass:"button w-full mt-8px",attrs:{text:t.$t("regWizPopUp.continueTrial")},on:{"btn-click":function(e){t.CAN_POST_MESSAGE?t.closePopUpFromPopUp():t.SET_IS_LAUNCHPAD_OPEN(!1)}}}):t._e(),t.stateData.actions.includes("extend")?r("ConditionalButton",{staticClass:"button w-full mt-8px",attrs:{routeName:t.CAN_POST_MESSAGE?"ExtendTrial":null,text:t.$t("actions.extend")},on:{"btn-click":function(e){return t.openPopUp(t.extendTrialPayload)}}}):t._e(),t.stateData.actions.includes("close")?r("ConditionalButton",{staticClass:"button w-full mt-8px",attrs:{text:t.$t("continueToUnraid")},on:{"btn-click":function(e){t.CAN_POST_MESSAGE?t.closePopUpFromPopUp():t.SET_IS_LAUNCHPAD_OPEN(!1)}}}):t._e(),t.stateData.actions.includes("signOut")&&t.CAN_POST_MESSAGE?r("ConditionalButton",{staticClass:"button-fine-error text-grey-mid w-full mt-8px",attrs:{routeName:t.CAN_POST_MESSAGE?"SignOut":null,text:t.$t("signOut")},on:{"btn-click":function(e){return t.openPopUp(t.signOutPayload)}}}):t._e()]],2)])}),Ei=g({props:{hrefUrl:{type:[Boolean,URL],default:!1},routeName:{type:String},text:{type:String,required:!0}},computed:{}},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.routeName?r("router-link",{attrs:{to:{name:t.routeName}}},[t._v(t._s(t.text))]):t.hrefUrl?r("a",{attrs:{href:t.hrefUrl}},[t._v(t._s(t.text))]):r("button",{on:{click:function(e){return t.$emit("btn-click")}}},[t._v(t._s(t.text))])}),[],!1,null,null,null,!0);var ki=g({components:{ConditionalButton:Ei.exports},data:()=>({CAN_POST_MESSAGE:Et}),computed:{...Object(b.c)(["stateData"]),...Object(b.e)(["isPopUpOpen","purchaseWindow","forumaccount","guidRegistered","extendTrialPayload","recoverKeyPayload","registered","replaceable","replaceKeyPayload","signOutPayload","signInPayload","signUpPayload","state","wizardWindow","messages"])},methods:{...Object(b.b)(["openPopUp","closePopUp","closePopUpFromPopUp"]),...Object(b.d)(["SET_IS_LAUNCHPAD_OPEN"]),niceTry(){alert("❌ Nice try you little sneak ❌")}}},xi,[],!1,(function(t){var e=r("2251");e.__inject__&&e.__inject__(t)}),null,null,!0).exports;var Si=g({i18n:mt,store:hi,name:"Launchpad",props:["serverstate","webguiTranslations"],components:{UnraidLoading:gi,LaunchpadActionRequired:ki},computed:{...Object(b.e)(["guid","isLaunchpadOpen","loading"]),...Object(b.c)(["server"])},methods:{...Object(b.b)(["setStateFromWebComponentProp","validateGuid"]),...Object(b.d)(["SET_IS_LAUNCHPAD_OPEN"])},watch:{signedOutWithKey(t,e){t&&!e&&this.validateGuid()}},created(){if(this.serverstate&&this.setStateFromWebComponentProp(this.serverstate),this.guid)this.validateGuid();else{const t=setInterval(()=>{this.guid&&(clearInterval(t),this.validateGuid())},250)}}},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("transition",{attrs:{appear:"",name:"fade",mode:"in-out"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:t.isLaunchpadOpen,expression:"isLaunchpadOpen"}],staticClass:"fixed inset-0 z-10 flex flex-col justify-start items-end mt-90px"},[r("transition",{attrs:{appear:"",name:"fade",mode:"in-out"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:t.isLaunchpadOpen,expression:"isLaunchpadOpen"}],staticClass:"absolute inset-0 z-0 bg-beta opacity-70 cursor-pointer",attrs:{title:t.$t("closeLaunchpad")},on:{click:function(e){return t.SET_IS_LAUNCHPAD_OPEN(!1)}}})]),r("transition",{attrs:{appear:"",name:"slideVerticalFade",mode:"in-out"}},[r("main",{directives:[{name:"show",rawName:"v-show",value:t.isLaunchpadOpen,expression:"isLaunchpadOpen"}],staticClass:"TopBlip text-beta bg-alpha border-grey-darkest text-center relative z-10 w-full max-w-4xl mr-8px p-24px md:p-32px lg:px-40px shadow-md rounded-lg"},[t.loading?r("UnraidLoading",{staticClass:"mx-auto",attrs:{height:64}}):r("LaunchpadActionRequired")],1)])],1)])}),[],!1,(function(t){var e=r("f153");e.__inject__&&e.__inject__(t)}),null,null,!0).exports;var Oi=g({i18n:mt,store:hi,name:"UpcTrigger",props:[],data:()=>({}),computed:{...Object(b.c)(["stateData","stateDataKeyActions"]),...Object(b.e)(["isPopUpOpen","registered","state","triggerUPC","wizardWindow"]),copy(){return this.registered?"BASIC"===this.state||"PLUS"===this.state?"To support more storage devices as your server grows, click Upgrade Key in the User Profile located at the top right of the webGUI on every page.":"Key actions are done in the User Profile located at the top right of the webGUI on every page.":"You must be signed in to Unraid.net to perform key actions."},buttonText(){return this.stateData.error?this.$t("fixError"):this.isPopUpOpen?this.$t("backToPopUp"):"ENOKEYFILE"===this.state?this.$t("getStarted"):this.registered?this.stateDataKeyActions?"Open User Profile":"":this.$t("signIn")},buttonTitle(){return this.stateDataKeyActions?"Open User Profile":this.$t("upc.opensNewHttpsWindow.base",[this.buttonText])}},methods:{...Object(b.b)(["jumpToUpc","closePopUp","openPopUp"]),btnClick(){return!this.registered||this.isPopUpOpen?this.openPopUp(this.wizardWindow):this.jumpToUpc()}}},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("transition",{attrs:{appear:"",name:"fade",mode:"out-in"}},[null!==t.registered&&t.buttonText?r("div",{staticClass:"flex flex-wrap pl-12px"},[r("p",{staticClass:"w-7/20 pr-12px"},[t._v(t._s(t.copy))]),r("div",{staticClass:"w-13/20 inline-flex flex-row"},[r("button",{attrs:{type:"button",title:t.buttonTitle,disabled:t.triggerUPC},on:{click:function(e){return t.btnClick()}}},[t._v(t._s(t.buttonText))]),r("transition",{attrs:{name:"fade",mode:"out-in"}},[t.isPopUpOpen?r("button",{staticClass:"ml-8px",attrs:{type:"button"},on:{click:function(e){return t.closePopUp()}}},[t._v(t._s(t.$t("closePopUp")))]):t._e()])],1)]):t._e()])}),[],!1,(function(t){var e=r("22c9");e.__inject__&&e.__inject__(t)}),null,null,!0).exports,Ti=r("ab14"),ji=r.n(Ti),Ci=r("c7db"),Ii=r("8a86"),Ai=r.n(Ii),Ri=r("a3b3"),Di=r.n(Ri),Ni=r("b2a0"),Pi=r.n(Ni),Mi=r("45b7"),Li=r.n(Mi),Ui=r("381c"),Fi=r.n(Ui),$i=g({props:{payload:{type:Object},text:{type:String},emphasize:{type:Boolean,default:!1},external:{type:Boolean,default:!0}},components:{UnraidSvgUiKey:Fi.a,UnraidSvgUtilNewWindow:Di.a},methods:{...Object(b.b)(["openPopUp"])}},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{staticClass:"group flex flex-row items-center justify-between",class:{"btn-emphasize":t.emphasize},attrs:{title:t.external?""+t.$t("upc.opensNewHttpsWindow.base",[t.text]):null},on:{click:function(e){return t.$emit("click")}}},[r("span",{staticClass:"inline-flex flex-row items-center"},[r("UnraidSvgUiKey",{staticClass:"fill-current w-12px h-12px mr-8px"}),t._v(" "+t._s(t.text)+" ")],1),t.external?r("UnraidSvgUtilNewWindow",{staticClass:"text-white opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"}):t._e()],1)}),[],!1,null,null,null,!0).exports,Vi=r("a190"),zi=r.n(Vi),qi=r("a313"),Bi=r.n(qi),Gi=r("94d0"),Hi=r.n(Gi),Qi=r("973e"),Yi=r.n(Qi),Wi=r("b045"),Ki=r.n(Wi),Ji=g({components:{UnraidLoading:gi,UnraidSvgUiWarningFill:zi.a,UnraidSvgUtilCheck:Bi.a,UnraidSvgUtilDelete:Hi.a,UnraidSvgUtilHelp:Yi.a,UnraidSvgUtilInfo:Ki.a,UnraidSvgUtilNewWindow:Di.a},props:["errorStateMessageVisible","hideotherservers","hideMyServers"],watch:{apikey(t,e){!e&&t&&(Dt.debug("[apikey set] connect to unraid-api"),this.fetchServers()),e&&!t&&this.hideMyServers&&(Dt.debug("[apikey removed] disconnect from unraid-api"),this.stopGraphqlClient(e))},registered(t,e){!e&&t&&(Dt.debug("[apikey set] connect to unraid-api"),this.fetchServers())},myServersError(t,e){!e||t||this.myServers.length||this.serversPlz()}},computed:{...Object(b.c)(["stateData","validApiKeyLength"]),...Object(b.e)(["apikey","guid","graphOnline","myServers","myServersLoading","myServersError","registered","servername","state","wanip"]),currentServer(){return this.myServers?this.myServers.filter(t=>t.guid===this.guid?t:null)[0]:{name:this.servername,status:"offline"}},currentServerStatus(){return this.currentServer?this.currentServer.status:"offline"},filteredServers(){return this.myServers?this.hideotherservers?[]:this.myServers.filter(t=>t.guid!==this.guid?t:null).sort((t,e)=>t.name.localeCompare(e.name,"en",{numeric:!0,sensitivity:"base"})):[]},errorToggleText(){return this.stateData.error.message?"EEXPIRED"===this.state?this.stateData.error.heading:this.$t("fixError"):this.myServersError?this.computedErrorHeading:""},errorToggleTitle(){if(this.stateData.error||this.stateData.message||this.myServersError){return`${this.stateData.error.message||this.stateData.message?this.stateData.humanReadable:this.computedErrorHeading} • ${this.errorStateMessageVisible?this.$t("upc.myServers.closeDetails"):this.$t("learnMore")}`}return""},computedErrorHeading(){return this.stateData.error.heading?this.stateData.error.heading:this.myServersError?this.myServersError.includes("Network error")?this.$t("upc.myServers.errors.unraidApi.heading"):this.$t("upc.myServers.errors.myServers.heading"):""},computedError(){return this.stateData.error.message?this.stateData.error.message:this.myServersError?this.myServersError.includes("Network error")?this.$t("upc.myServers.errors.unraidApi.message"):this.myServersError:""}},methods:{...Object(b.b)(["fetchServers","stopGraphqlClient"]),serversPlz(){return Dt.debug("[serversPlz]"),this.validApiKeyLength?this.fetchServers():Dt.error("[MyServers] invalid apikey")}},created(){!this.hideMyServers&&this.registered&&this.serversPlz()}},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"relative"},[r("ul",{staticClass:"relative"},[t.filteredServers.length&&t.myServersError?r("li",{staticClass:"text-red text-12px font-semibold px-16px pb-4px"},[r("em",[t._v(t._s(t.$t("upc.myServers.displayingLastKnown")))])]):t._e(),t.computedError?r("li",{key:"current-server-error",staticClass:"w-full"},[r("button",{staticClass:"btn-error group py-8px px-16px flex flex-col",attrs:{title:t.errorToggleTitle},on:{click:function(e){return t.$emit("toggle-error")}}},[r("div",{staticClass:"w-full flex flex-row justify-between items-center"},[r("span",{staticClass:"inline-flex flex-row items-center"},[r("UnraidSvgUiWarningFill",{staticClass:"fill-current w-12px h-12px"}),r("span",{staticClass:"font-semibold mx-8px"},[t._v(" "+t._s(t.servername)+" ")])],1),t.computedError&&t.errorStateMessageVisible?r("UnraidSvgUtilDelete",{staticClass:"text-current opacity-100 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"}):r("UnraidSvgUtilInfo",{staticClass:"text-current opacity-100 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1),r("transition",{attrs:{name:"fade",mode:"out-in"}},[t.computedError&&t.errorStateMessageVisible?r("div",{staticClass:"UnraidUPC-serverError"},[r("div",{staticClass:"text-14px font-semibold pt-4px"},[r("h3",{staticClass:"text-16px mb-4px"},[t._v(t._s(t.errorToggleText))]),r("p",{domProps:{innerHTML:t._s(t.computedError)}})])]):t._e()])],1)]):t._e(),r("transition",{attrs:{name:"fade",mode:"out-in"}},["EEXPIRED"!==t.state&&t.stateData.error&&t.errorStateMessageVisible?r("li",[r("a",{staticClass:"link-error group flex flex-row items-center justify-between",attrs:{title:t.$t("upc.opensNewHttpsWindow.base",[t.$t("contactSupport")])},on:{click:function(e){return t.$emit("contact-support")}}},[r("span",{staticClass:"inline-flex flex-row items-center"},[r("UnraidSvgUtilHelp",{staticClass:"fill-current w-12px h-12px mr-8px"}),t._v(" "+t._s(t.$t("contactSupport"))+" ")],1),r("UnraidSvgUtilNewWindow",{staticClass:"opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1)]):t._e()]),t.computedError?t._e():r("li",{key:"current-server",staticClass:"w-full py-8px px-16px flex flex-row items-center",class:{"text-beta":"online"===t.currentServerStatus,"text-orange cursor-not-allowed":"online"!==t.currentServerStatus},attrs:{title:t.$t("upc.myServers.accessLabels.current")+" • "+("online"!==t.currentServerStatus?t.$t("upc.myServers.mothership.notConnected"):t.$t("upc.myServers.mothership.connected"))}},["online"!==t.currentServerStatus?r("UnraidSvgUiWarningFill",{staticClass:"fill-current w-12px h-12px"}):r("UnraidSvgUtilCheck",{staticClass:"fill-current w-12px h-12px"}),r("span",{staticClass:"ml-8px select-all"},[t._v(t._s(t.currentServer?t.currentServer.name:t.servername))])],1),r("transition-group",{attrs:{name:"fade",mode:"out-in"}},[t.myServersLoading?r("UnraidLoading",{key:"gql-loading",staticClass:"w-36px my-8px mx-auto",attrs:{height:21,title:t.$t("upc.myServers.loading")}}):t._l(t.filteredServers,(function(e,n){return r("li",{key:"filteredServer_"+n},["online"===e.status&&t.wanip!==e.wanip&&e.remoteurl?r("a",{staticClass:"w-full flex flex-row items-center",attrs:{href:e.remoteurl,tabindex:"0",title:t.$t("upc.myServers.accessLabels.remote")}},[r("span",{staticClass:"block w-12px h-12px mr-8px bg-green rounded-full"}),r("span",{staticClass:"select-all"},[t._v(t._s(e.name))])]):"online"===e.status&&t.wanip===e.wanip&&e.localurl?r("a",{staticClass:"w-full flex flex-row items-center",attrs:{href:e.localurl,tabindex:"0",title:t.$t("upc.myServers.accessLabels.local")}},[r("span",{staticClass:"block w-12px h-12px mr-8px bg-green rounded-full"}),r("span",{staticClass:"select-all"},[t._v(t._s(e.name))])]):"never_connected"!==e.status?r("span",{staticClass:"w-full flex flex-row items-center px-16px py-8px opacity-50 cursor-not-allowed",attrs:{title:"online"===e.status?t.$t("upc.myServers.accessLabels.unavailable"):t.$t("upc.myServers.accessLabels.offline")}},[r("span",{staticClass:"text-red text-14px w-12px mr-8px"},[t._v("×")]),r("span",{staticClass:"select-all"},[t._v(t._s(e.name))])]):t._e()])}))],2)],1)])}),[],!1,null,null,null,!0).exports,Xi=r("5a0c"),Zi=r.n(Xi);const to=(t,e,r,n,i,o,a)=>({years:t,months:e,days:r,hours:n,minutes:i,seconds:o,firstDateWasLater:a});var eo=(t,e,r)=>{let n,i=Zi()(t),o=Zi()(e);if(i.isSame(o))return r?to(0,0,0,0,0,0,!1):"";if(i.isAfter(o)){const t=i;i=o,o=t,n=!0}else n=!1;let a=o.year()-i.year(),s=o.month()-i.month(),c=o.date()-i.date(),u=o.hour()-i.hour(),l=o.minute()-i.minute(),p=o.second()-i.second();if(p<0&&(p=60+p,l-=1),l<0&&(l=60+l,u-=1),u<0&&(u=24+u,c-=1),c<0){const t=Zi()(`${o.year()}-${o.month()+1}`).subtract(1,"M").daysInMonth();c=t{const r=t?Zi()(parseInt(t,10)):Zi()(),n=e?Zi()(parseInt(e,10)):Zi()();return eo(r,n,!0)};var no=(t,e)=>e?ro(t,""):ro("",t),io=r("23ad"),oo=r.n(io);r("e072"),r("6210"),r("e5b7");const ao=document.getElementsByTagName("unraid-user-profile")[0];if(ao){const t=ao.getAttribute("locale").slice(0,2);Zi.a.locale(t),Dt.debug("[formatDate] dayjs.locale()",Zi.a.locale())}Zi.a.extend(oo.a);var so,co=t=>Zi()(parseInt(t,10)).format("llll"),uo=g({data:()=>({interval:null,parsedUptime:"",parsedExpireTime:"",dateStrings:{year:mt.tc("year"),years:mt.tc("years"),month:mt.tc("month"),months:mt.tc("months"),day:mt.tc("day"),days:mt.tc("days"),hour:mt.tc("hour"),hours:mt.tc("hours"),minute:mt.tc("minute"),minutes:mt.tc("minutes"),second:mt.tc("second"),seconds:mt.tc("seconds"),firstDateWasLater:mt.tc("ago"),delimiter:" "}}),props:{expiretime:{type:[Number,String],default:null},uptime:{type:[Number,String],default:null}},computed:{...Object(b.e)(["registered","state"]),...Object(b.c)(["stateData"]),formattedUptime(){return co(this.uptime)},formattedExpireTime(){return co(this.expiretime)}},methods:{pluralize(t,e){return`${t} ${this.dateStrings[e+(1===t?"":"s")]}`},buildStringFromValues({years:t,months:e,days:r,hours:n,minutes:i,seconds:o,firstDateWasLater:a,displaySecondsInStringReturn:s}){const c=[];return t&&c.push(this.pluralize(t,"year")),e&&c.push(this.pluralize(e,"month")),r&&c.push(this.pluralize(r,"day")),n&&c.push(this.pluralize(n,"hour")),i&&c.push(this.pluralize(i,"minute")),!o||(t||e||r||n||i)&&!s||c.push(this.pluralize(o,"second")),a&&c.push(this.dateStrings.firstDateWasLater),c.join(this.dateStrings.delimiter)},runTimeDiff(){this.uptime&&(this.parsedUptime=this.buildStringFromValues(no(this.uptime,!0))),this.expiretime&&(this.parsedExpireTime=this.buildStringFromValues(no(this.expiretime,!1)))},letsGo(){this.runTimeDiff(),this.interval=setInterval(()=>{this.runTimeDiff()},1e3)}},created(){this.letsGo()},beforeDestroy(){clearInterval(this.interval)}},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"text-gamma text-12px text-right font-semibold leading-normal flex flex-row items-baseline justify-end pr-16px pt-4px"},["EEXPIRED"===t.state?r("p",{attrs:{title:t.$t("upc.meta.trial.expired.date",{date:t.formattedExpireTime})}},[t._v(" "+t._s(t.$t("upc.meta.trial.expired.timeDiff",{timeDiff:t.parsedExpireTime}))+" ")]):this.expiretime>0?r("p",{attrs:{title:t.$t("upc.meta.trial.active.date",{date:t.formattedExpireTime})}},[t._v(" "+t._s(t.$t("upc.meta.trial.active.timeDiff",{timeDiff:t.parsedExpireTime}))+" ")]):r("p",{staticClass:"select-all",attrs:{title:t.$t("upc.meta.uptime.date",{date:t.formattedUptime})}},[t._v(" "+t._s(t.$t("upc.meta.uptime.readable",{timeDiff:t.parsedUptime}))+" ")]),r("span",{staticClass:"px-12px"},[t._v("•")]),t.registered&&t.stateData.actions.includes("upgrade")?r("button",{staticClass:"text-12px text-gamma hover:text-alpha focus:text-alpha font-semibold transition-colors duration-150 ease-in-out border-t-0 border-l-0 border-r-0 border-b-2 border-transparent hover:border-orange-dark focus:border-orange-dark focus:outline-none",attrs:{title:t.$t("upc.opensNewHttpsWindow.upgrade")},on:{click:function(e){return t.$emit("upgrade")}}},[r("h5",[t._v("Unraid OS "),r("em",[r("strong",[t._v(t._s(t.stateData.humanReadable))])])])]):r("h5",[t._v("Unraid OS "),r("em",{class:{"text-red":t.stateData.error||"EEXPIRED"===t.state}},[r("strong",[t._v(t._s(t.stateData.humanReadable))])])]),t.registered&&t.stateData.actions.includes("purchase")?r("button",{staticClass:"text-12px text-orange-dark font-semibold hover:text-alpha focus:text-alpha ml-12px transition-colors duration-150 ease-in-out border-t-0 border-l-0 border-r-0 border-b-2 border-transparent hover:border-orange-dark focus:border-orange-dark focus:outline-none",attrs:{title:t.$t("upc.opensNewHttpsWindow.purchase")},on:{click:function(e){return t.$emit("purchase")}}},[t._v(t._s(t.$t("actions.purchase")))]):t._e()])}),[],!1,null,null,null,!0).exports,lo="6.5.1",po=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){so=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e2?e[2]:void 0;if(n){var i=_o,o=String(n);_o=o,Oo("history",{from:i,to:o})}return t.apply(this,e)}}}();break;case"error":Ro=wo.onerror,wo.onerror=function(t,e,r,n,i){return Oo("error",{column:n,error:i,line:r,msg:t,url:e}),!!Ro&&Ro.apply(this,arguments)};break;case"unhandledrejection":Do=wo.onunhandledrejection,wo.onunhandledrejection=function(t){return Oo("unhandledrejection",t),!Do||Do.apply(this,arguments)};break;default:wn.warn("unknown instrumentation type:",t)}}function So(t){t&&"string"==typeof t.type&&"function"==typeof t.callback&&(xo[t.type]=xo[t.type]||[],xo[t.type].push(t.callback),ko(t.type))}function Oo(t,e){var r,n;if(t&&xo[t])try{for(var i=Object(_e.i)(xo[t]||[]),o=i.next();!o.done;o=i.next()){var a=o.value;try{a(e)}catch(e){wn.error("Error while triggering instrumentation handler.\nType: "+t+"\nName: "+Object(vo.a)(a)+"\nError: "+e)}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function To(t){return void 0===t&&(t=[]),"Request"in wo&&Object(En.g)(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function jo(t){return void 0===t&&(t=[]),"string"==typeof t[0]?t[0]:"Request"in wo&&Object(En.g)(t[0],Request)?t[0].url:String(t[0])}var Co,Io;function Ao(t,e){return void 0===e&&(e=!1),function(r){if(r&&Io!==r&&!function(t){if("keypress"!==t.type)return!1;try{var e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(t){}return!0}(r)){var n="keypress"===r.type?"input":r.type;(void 0===Co||function(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(t){}return!1}(Io,r))&&(t({event:r,name:n,global:e}),Io=r),clearTimeout(Co),Co=wo.setTimeout((function(){Co=void 0}),1e3)}}}var Ro=null;var Do=null;var No=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){return t.__proto__=e,t}:function(t,e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r]);return t});var Po=function(t){function e(e){var r=this.constructor,n=t.call(this,e)||this;return n.message=e,n.name=r.prototype.constructor.name,No(n,r.prototype),n}return Object(_e.c)(e,t),e}(Error),Mo=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,Lo="Invalid Dsn",Uo=function(){function t(t){"string"==typeof t?this._fromString(t):this._fromComponents(t),this._validate()}return t.prototype.toString=function(t){void 0===t&&(t=!1);var e=this,r=e.host,n=e.path,i=e.pass,o=e.port,a=e.projectId;return e.protocol+"://"+e.publicKey+(t&&i?":"+i:"")+"@"+r+(o?":"+o:"")+"/"+(n?n+"/":n)+a},t.prototype._fromString=function(t){var e=Mo.exec(t);if(!e)throw new Po(Lo);var r=Object(_e.e)(e.slice(1),6),n=r[0],i=r[1],o=r[2],a=void 0===o?"":o,s=r[3],c=r[4],u=void 0===c?"":c,l="",p=r[5],d=p.split("/");if(d.length>1&&(l=d.slice(0,-1).join("/"),p=d.pop()),p){var f=p.match(/^\d+/);f&&(p=f[0])}this._fromComponents({host:s,pass:a,path:l,projectId:p,port:u,protocol:n,publicKey:i})},t.prototype._fromComponents=function(t){"user"in t&&!("publicKey"in t)&&(t.publicKey=t.user),this.user=t.publicKey||"",this.protocol=t.protocol,this.publicKey=t.publicKey||"",this.pass=t.pass||"",this.host=t.host,this.port=t.port||"",this.path=t.path||"",this.projectId=t.projectId},t.prototype._validate=function(){var t=this;if(["protocol","publicKey","host","projectId"].forEach((function(e){if(!t[e])throw new Po(Lo+": "+e+" missing")})),!this.projectId.match(/^\d+$/))throw new Po(Lo+": Invalid projectId "+this.projectId);if("http"!==this.protocol&&"https"!==this.protocol)throw new Po(Lo+": Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new Po(Lo+": Invalid port "+this.port)},t}(),Fo=[];function $o(t){return t.reduce((function(t,e){return t.every((function(t){return e.name!==t.name}))&&t.push(e),t}),[])}function Vo(t){var e={};return function(t){var e=t.defaultIntegrations&&Object(_e.g)(t.defaultIntegrations)||[],r=t.integrations,n=Object(_e.g)($o(e));Array.isArray(r)?n=Object(_e.g)(n.filter((function(t){return r.every((function(e){return e.name!==t.name}))})),$o(r)):"function"==typeof r&&(n=r(n),n=Array.isArray(n)?n:[n]);var i=n.map((function(t){return t.name})),o="Debug";return-1!==i.indexOf(o)&&n.push.apply(n,Object(_e.g)(n.splice(i.indexOf(o),1))),n}(t).forEach((function(t){e[t.name]=t,function(t){-1===Fo.indexOf(t.name)&&(t.setupOnce(Tn,Nn),Fo.push(t.name),wn.log("Integration installed: "+t.name))}(t)})),e}var zo,qo=function(){function t(t,e){this._integrations={},this._processing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=new Uo(e.dsn))}return t.prototype.captureException=function(t,e,r){var n=this,i=e&&e.event_id;return this._process(this._getBackend().eventFromException(t,e).then((function(t){return n._captureEvent(t,e,r)})).then((function(t){i=t}))),i},t.prototype.captureMessage=function(t,e,r,n){var i=this,o=r&&r.event_id,a=Object(En.i)(t)?this._getBackend().eventFromMessage(String(t),e,r):this._getBackend().eventFromException(t,r);return this._process(a.then((function(t){return i._captureEvent(t,r,n)})).then((function(t){o=t}))),o},t.prototype.captureEvent=function(t,e,r){var n=e&&e.event_id;return this._process(this._captureEvent(t,e,r).then((function(t){n=t}))),n},t.prototype.captureSession=function(t){"string"!=typeof t.release?wn.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1}))},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.flush=function(t){var e=this;return this._isClientProcessing(t).then((function(r){return e._getBackend().getTransport().close(t).then((function(t){return r&&t}))}))},t.prototype.close=function(t){var e=this;return this.flush(t).then((function(t){return e.getOptions().enabled=!1,t}))},t.prototype.setupIntegrations=function(){this._isEnabled()&&(this._integrations=Vo(this._options))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return wn.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(t,e){var r,n,i,o=!1,a=!1,s=e.exception&&e.exception.values;if(s){a=!0;try{for(var c=Object(_e.i)(s),u=c.next();!u.done;u=c.next()){var l=u.value.mechanism;if(l&&!1===l.handled){o=!0;break}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}}var p=e.user;if(!t.userAgent){var d=e.request?e.request.headers:{};for(var f in d)if("user-agent"===f.toLowerCase()){i=d[f];break}}t.update(Object(_e.a)(Object(_e.a)({},o&&{status:pn.Crashed}),{user:p,userAgent:i,errors:t.errors+Number(a||o)})),this.captureSession(t)},t.prototype._sendSession=function(t){this._getBackend().sendSession(t)},t.prototype._isClientProcessing=function(t){var e=this;return new kn((function(r){var n=0,i=setInterval((function(){0==e._processing?(clearInterval(i),r(!0)):(n+=1,t&&n>=t&&(clearInterval(i),r(!1)))}),1)}))},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},t.prototype._prepareEvent=function(t,e,r){var n=this,i=this.getOptions().normalizeDepth,o=void 0===i?3:i,a=Object(_e.a)(Object(_e.a)({},t),{event_id:t.event_id||(r&&r.event_id?r.event_id:Object(mn.i)()),timestamp:t.timestamp||Object(vn.a)()});this._applyClientOptions(a),this._applyIntegrationsMetadata(a);var s=e;r&&r.captureContext&&(s=Sn.clone(s).update(r.captureContext));var c=kn.resolve(a);return s&&(c=s.applyToEvent(a,r)),c.then((function(t){return"number"==typeof o&&o>0?n._normalizeEvent(t,o):t}))},t.prototype._normalizeEvent=function(t,e){if(!t)return null;var r=Object(_e.a)(Object(_e.a)(Object(_e.a)(Object(_e.a)(Object(_e.a)({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(t){return Object(_e.a)(Object(_e.a)({},t),t.data&&{data:Object(jn.d)(t.data,e)})}))}),t.user&&{user:Object(jn.d)(t.user,e)}),t.contexts&&{contexts:Object(jn.d)(t.contexts,e)}),t.extra&&{extra:Object(jn.d)(t.extra,e)});return t.contexts&&t.contexts.trace&&(r.contexts.trace=t.contexts.trace),r},t.prototype._applyClientOptions=function(t){var e=this.getOptions(),r=e.environment,n=e.release,i=e.dist,o=e.maxValueLength,a=void 0===o?250:o;"environment"in t||(t.environment="environment"in e?r:"production"),void 0===t.release&&void 0!==n&&(t.release=n),void 0===t.dist&&void 0!==i&&(t.dist=i),t.message&&(t.message=Object(fo.d)(t.message,a));var s=t.exception&&t.exception.values&&t.exception.values[0];s&&s.value&&(s.value=Object(fo.d)(s.value,a));var c=t.request;c&&c.url&&(c.url=Object(fo.d)(c.url,a))},t.prototype._applyIntegrationsMetadata=function(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=Object(_e.g)(t.sdk.integrations||[],e))},t.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},t.prototype._captureEvent=function(t,e,r){return this._processEvent(t,e,r).then((function(t){return t.event_id}),(function(t){wn.error(t)}))},t.prototype._processEvent=function(t,e,r){var n=this,i=this.getOptions(),o=i.beforeSend,a=i.sampleRate;if(!this._isEnabled())return kn.reject(new Po("SDK not enabled, will not send event."));var s="transaction"===t.type;return!s&&"number"==typeof a&&Math.random()>a?kn.reject(new Po("Discarding event because it's not included in the random sample (sampling rate = "+a+")")):this._prepareEvent(t,r,e).then((function(t){if(null===t)throw new Po("An event processor returned null, will not send event.");if(e&&e.data&&!0===e.data.__sentry__||s||!o)return t;var r=o(t,e);if(void 0===r)throw new Po("`beforeSend` method has to return `null` or a valid event.");return Object(En.m)(r)?r.then((function(t){return t}),(function(t){throw new Po("beforeSend rejected with "+t)})):r})).then((function(t){if(null===t)throw new Po("`beforeSend` returned `null`, will not send event.");var e=r&&r.getSession&&r.getSession();return!s&&e&&n._updateSessionFromEvent(e,t),n._sendEvent(t),t})).then(null,(function(t){if(t instanceof Po)throw t;throw n.captureException(t,{data:{__sentry__:!0},originalException:t}),new Po("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)}))},t.prototype._process=function(t){var e=this;this._processing+=1,t.then((function(t){return e._processing-=1,t}),(function(t){return e._processing-=1,t}))},t}();(function(t){t.Unknown="unknown",t.Skipped="skipped",t.Success="success",t.RateLimit="rate_limit",t.Invalid="invalid",t.Failed="failed"})(zo||(zo={})),function(t){t.fromHttpCode=function(e){return e>=200&&e<300?t.Success:429===e?t.RateLimit:e>=400&&e<500?t.Invalid:e>=500?t.Failed:t.Unknown}}(zo||(zo={}));var Bo,Go=function(){function t(){}return t.prototype.sendEvent=function(t){return kn.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:zo.Skipped})},t.prototype.close=function(t){return kn.resolve(!0)},t}(),Ho=function(){function t(t){this._options=t,this._options.dsn||wn.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new Po("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,r){throw new Po("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){this._transport.sendEvent(t).then(null,(function(t){wn.error("Error while sending event: "+t)}))},t.prototype.sendSession=function(t){this._transport.sendSession?this._transport.sendSession(t).then(null,(function(t){wn.error("Error while sending session: "+t)})):wn.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new Go},t}();(function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"})(Bo||(Bo={})),function(t){t.fromString=function(e){switch(e){case"debug":return t.Debug;case"info":return t.Info;case"warn":case"warning":return t.Warning;case"error":return t.Error;case"fatal":return t.Fatal;case"critical":return t.Critical;case"log":default:return t.Log}}}(Bo||(Bo={}));var Qo=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Yo=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Wo=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Ko=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Jo=/\((\S*)(?::(\d+))(?::(\d+))\)/,Xo=/Minified React error #\d+;/i;function Zo(t){var e=null,r=0;t&&("number"==typeof t.framesToPop?r=t.framesToPop:Xo.test(t.message)&&(r=1));try{if(e=function(t){if(!t||!t.stacktrace)return null;for(var e,r=t.stacktrace,n=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,i=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,o=r.split("\n"),a=[],s=0;s eval")>-1&&(e=Ko.exec(r[3]))?(r[1]=r[1]||"eval",r[3]=e[1],r[4]=e[2],r[5]=""):0!==a||r[5]||void 0===t.columnNumber||(i[0].column=t.columnNumber+1),n={url:r[3],func:r[1]||"?",args:r[2]?r[2].split(","):[],line:r[4]?+r[4]:null,column:r[5]?+r[5]:null}}!n.func&&n.line&&(n.func="?"),i.push(n)}return i.length?{message:ea(t),name:t.name,stack:i}:null}(t))return ta(e,r)}catch(t){}return{message:ea(t),name:t&&t.name,stack:[],failed:!0}}function ta(t,e){try{return Object(_e.a)(Object(_e.a)({},t),{stack:t.stack.slice(e)})}catch(e){return t}}function ea(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function ra(t){var e=ia(t.stack),r={type:t.name,value:t.message};return e&&e.length&&(r.stacktrace={frames:e}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function na(t){return{exception:{values:[ra(t)]}}}function ia(t){if(!t||!t.length)return[];var e=t,r=e[0].func||"",n=e[e.length-1].func||"";return-1===r.indexOf("captureMessage")&&-1===r.indexOf("captureException")||(e=e.slice(1)),-1!==n.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.slice(0,50).map((function(t){return{colno:null===t.column?void 0:t.column,filename:t.url||e[0].url,function:t.func||"?",in_app:!0,lineno:null===t.line?void 0:t.line}})).reverse()}function oa(t,e,r){var n;if(void 0===r&&(r={}),Object(En.e)(t)&&t.error)return n=na(Zo(t=t.error));if(Object(En.a)(t)||Object(En.b)(t)){var i=t,o=i.name||(Object(En.a)(i)?"DOMError":"DOMException"),a=i.message?o+": "+i.message:o;return n=aa(a,e,r),Object(mn.b)(n,a),"code"in i&&(n.tags=Object(_e.a)(Object(_e.a)({},n.tags),{"DOMException.code":""+i.code})),n}return Object(En.d)(t)?n=na(Zo(t)):Object(En.h)(t)||Object(En.f)(t)?(n=function(t,e,r){var n={exception:{values:[{type:Object(En.f)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:"Non-Error "+(r?"promise rejection":"exception")+" captured with keys: "+Object(jn.b)(t)}]},extra:{__serialized__:Object(jn.e)(t)}};if(e){var i=ia(Zo(e).stack);n.stacktrace={frames:i}}return n}(t,e,r.rejection),Object(mn.a)(n,{synthetic:!0}),n):(n=aa(t,e,r),Object(mn.b)(n,""+t,void 0),Object(mn.a)(n,{synthetic:!0}),n)}function aa(t,e,r){void 0===r&&(r={});var n={message:t};if(r.attachStacktrace&&e){var i=ia(Zo(e).stack);n.stacktrace={frames:i}}return n}function sa(t){if(t.metadata&&t.metadata.sdk){var e=t.metadata.sdk;return{name:e.name,version:e.version}}}function ca(t,e){return e?(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=Object(_e.g)(t.sdk.integrations||[],e.integrations||[]),t.sdk.packages=Object(_e.g)(t.sdk.packages||[],e.packages||[]),t):t}function ua(t,e){var r=sa(e),n="aggregates"in t?"sessions":"session";return{body:JSON.stringify(Object(_e.a)({sent_at:(new Date).toISOString()},r&&{sdk:r}))+"\n"+JSON.stringify({type:n})+"\n"+JSON.stringify(t),type:n,url:e.getEnvelopeEndpointWithUrlEncodedAuth()}}function la(t,e){var r=sa(e),n=t.type||"event",i="transaction"===n,o=t.debug_meta||{},a=o.transactionSampling,s=Object(_e.f)(o,["transactionSampling"]),c=a||{},u=c.method,l=c.rate;0===Object.keys(s).length?delete t.debug_meta:t.debug_meta=s;var p={body:JSON.stringify(r?ca(t,e.metadata.sdk):t),type:n,url:i?e.getEnvelopeEndpointWithUrlEncodedAuth():e.getStoreEndpointWithUrlEncodedAuth()};if(i){var d=JSON.stringify(Object(_e.a)({event_id:t.event_id,sent_at:(new Date).toISOString()},r&&{sdk:r}))+"\n"+JSON.stringify({type:t.type,sample_rates:[{id:u,rate:l}]})+"\n"+p.body;p.body=d}return p}var pa=function(){function t(t,e){void 0===e&&(e={}),this.dsn=t,this._dsnObject=new Uo(t),this.metadata=e}return t.prototype.getDsn=function(){return this._dsnObject},t.prototype.getBaseApiEndpoint=function(){var t=this._dsnObject,e=t.protocol?t.protocol+":":"",r=t.port?":"+t.port:"";return e+"//"+t.host+r+(t.path?"/"+t.path:"")+"/api/"},t.prototype.getStoreEndpoint=function(){return this._getIngestEndpoint("store")},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return this.getStoreEndpoint()+"?"+this._encodedAuth()},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return this._getEnvelopeEndpoint()+"?"+this._encodedAuth()},t.prototype.getStoreEndpointPath=function(){var t=this._dsnObject;return(t.path?"/"+t.path:"")+"/api/"+t.projectId+"/store/"},t.prototype.getRequestHeaders=function(t,e){var r=this._dsnObject,n=["Sentry sentry_version=7"];return n.push("sentry_client="+t+"/"+e),n.push("sentry_key="+r.publicKey),r.pass&&n.push("sentry_secret="+r.pass),{"Content-Type":"application/json","X-Sentry-Auth":n.join(", ")}},t.prototype.getReportDialogEndpoint=function(t){void 0===t&&(t={});var e=this._dsnObject,r=this.getBaseApiEndpoint()+"embed/error-page/",n=[];for(var i in n.push("dsn="+e.toString()),t)if("dsn"!==i)if("user"===i){if(!t.user)continue;t.user.name&&n.push("name="+encodeURIComponent(t.user.name)),t.user.email&&n.push("email="+encodeURIComponent(t.user.email))}else n.push(encodeURIComponent(i)+"="+encodeURIComponent(t[i]));return n.length?r+"?"+n.join("&"):r},t.prototype._getEnvelopeEndpoint=function(){return this._getIngestEndpoint("envelope")},t.prototype._getIngestEndpoint=function(t){return""+this.getBaseApiEndpoint()+this._dsnObject.projectId+"/"+t+"/"},t.prototype._encodedAuth=function(){var t={sentry_key:this._dsnObject.publicKey,sentry_version:"7"};return Object(jn.f)(t)},t}(),da=function(){function t(t){this._limit=t,this._buffer=[]}return t.prototype.isReady=function(){return void 0===this._limit||this.length()0&&r(!1)}),t);kn.all(e._buffer).then((function(){clearTimeout(n),r(!0)})).then(null,(function(){r(!0)}))}))},t}(),fa={event:"error",transaction:"transaction",session:"session",attachment:"attachment"},ha=function(){function t(t){this.options=t,this._buffer=new da(30),this._rateLimits={},this._api=new pa(t.dsn,t._metadata),this.url=this._api.getStoreEndpointWithUrlEncodedAuth()}return t.prototype.sendEvent=function(t){throw new Po("Transport Class has to implement `sendEvent` method")},t.prototype.close=function(t){return this._buffer.drain(t)},t.prototype._handleResponse=function(t){var e=t.requestType,r=t.response,n=t.headers,i=t.resolve,o=t.reject,a=zo.fromHttpCode(r.status);this._handleRateLimit(n)&&wn.warn("Too many requests, backing off until: "+this._disabledUntil(e)),a!==zo.Success?o(r):i({status:a})},t.prototype._disabledUntil=function(t){var e=fa[t];return this._rateLimits[e]||this._rateLimits.all},t.prototype._isRateLimited=function(t){return this._disabledUntil(t)>new Date(Date.now())},t.prototype._handleRateLimit=function(t){var e,r,n,i,o=Date.now(),a=t["x-sentry-rate-limits"],s=t["retry-after"];if(a){try{for(var c=Object(_e.i)(a.trim().split(",")),u=c.next();!u.done;u=c.next()){var l=u.value.split(":",2),p=parseInt(l[0],10),d=1e3*(isNaN(p)?60:p);try{for(var f=(n=void 0,Object(_e.i)(l[1].split(";"))),h=f.next();!h.done;h=f.next()){var m=h.value;this._rateLimits[m||"all"]=new Date(o+d)}}catch(t){n={error:t}}finally{try{h&&!h.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(e)throw e.error}}return!0}return!!s&&(this._rateLimits.all=new Date(o+Object(mn.g)(o,s)),!0)},t}();var ma=function(t){function e(e,r){void 0===r&&(r=function(){var t,e,r=Object(mn.e)();if(bo(r.fetch))return r.fetch.bind(r);var n=r.document,i=r.fetch;if("function"==typeof(null===(t=n)||void 0===t?void 0:t.createElement))try{var o=n.createElement("iframe");o.hidden=!0,n.head.appendChild(o),(null===(e=o.contentWindow)||void 0===e?void 0:e.fetch)&&(i=o.contentWindow.fetch),n.head.removeChild(o)}catch(t){wn.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return i.bind(r)}());var n=t.call(this,e)||this;return n._fetch=r,n}return Object(_e.c)(e,t),e.prototype.sendEvent=function(t){return this._sendRequest(la(t,this._api),t)},e.prototype.sendSession=function(t){return this._sendRequest(ua(t,this._api),t)},e.prototype._sendRequest=function(t,e){var r=this;if(this._isRateLimited(t.type))return Promise.reject({event:e,type:t.type,reason:"Transport locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429});var n={body:t.body,method:"POST",referrerPolicy:yo()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(n,this.options.fetchParameters),void 0!==this.options.headers&&(n.headers=this.options.headers),this._buffer.add(new kn((function(e,i){r._fetch(t.url,n).then((function(n){var o={"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")};r._handleResponse({requestType:t.type,response:n,headers:o,resolve:e,reject:i})})).catch(i)})))},e}(ha),va=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(_e.c)(e,t),e.prototype.sendEvent=function(t){return this._sendRequest(la(t,this._api),t)},e.prototype.sendSession=function(t){return this._sendRequest(ua(t,this._api),t)},e.prototype._sendRequest=function(t,e){var r=this;return this._isRateLimited(t.type)?Promise.reject({event:e,type:t.type,reason:"Transport locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429}):this._buffer.add(new kn((function(e,n){var i=new XMLHttpRequest;for(var o in i.onreadystatechange=function(){if(4===i.readyState){var o={"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")};r._handleResponse({requestType:t.type,response:i,headers:o,resolve:e,reject:n})}},i.open("POST",t.url),r.options.headers)r.options.headers.hasOwnProperty(o)&&i.setRequestHeader(o,r.options.headers[o]);i.send(t.body)})))},e}(ha),ga=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(_e.c)(e,t),e.prototype.eventFromException=function(t,e){return function(t,e,r){var n=oa(e,r&&r.syntheticException||void 0,{attachStacktrace:t.attachStacktrace});return Object(mn.a)(n,{handled:!0,type:"generic"}),n.level=Bo.Error,r&&r.event_id&&(n.event_id=r.event_id),kn.resolve(n)}(this._options,t,e)},e.prototype.eventFromMessage=function(t,e,r){return void 0===e&&(e=Bo.Info),function(t,e,r,n){void 0===r&&(r=Bo.Info);var i=aa(e,n&&n.syntheticException||void 0,{attachStacktrace:t.attachStacktrace});return i.level=r,n&&n.event_id&&(i.event_id=n.event_id),kn.resolve(i)}(this._options,t,e,r)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e=Object(_e.a)(Object(_e.a)({},this._options.transportOptions),{dsn:this._options.dsn,_metadata:this._options._metadata});return this._options.transport?new this._options.transport(e):go()?new ma(e):new va(e)},e}(Ho),ba=0;function ya(){return ba>0}function _a(){ba+=1,setTimeout((function(){ba-=1}))}function wa(t,e,r){if(void 0===e&&(e={}),"function"!=typeof t)return t;try{if(t.__sentry__)return t;if(t.__sentry_wrapped__)return t.__sentry_wrapped__}catch(e){return t}var n=function(){var n=Array.prototype.slice.call(arguments);try{r&&"function"==typeof r&&r.apply(this,arguments);var i=n.map((function(t){return wa(t,e)}));return t.handleEvent?t.handleEvent.apply(this,i):t.apply(this,i)}catch(t){throw _a(),$n((function(r){r.addEventProcessor((function(t){var r=Object(_e.a)({},t);return e.mechanism&&(Object(mn.b)(r,void 0,void 0),Object(mn.a)(r,e.mechanism)),r.extra=Object(_e.a)(Object(_e.a)({},r.extra),{arguments:n}),r})),Fn(t)})),t}};try{for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}catch(t){}t.prototype=t.prototype||{},n.prototype=t.prototype,Object.defineProperty(t,"__sentry_wrapped__",{enumerable:!1,value:n}),Object.defineProperties(n,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:t}});try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:function(){return t.name}})}catch(t){}return n}var xa=r("bc5b"),Ea=function(){function t(e){this.name=t.id,this._options=Object(_e.a)({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e)}return t.prototype.addSentryBreadcrumb=function(t){this._options.sentry&&Nn().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:Object(mn.d)(t)},{event:t})},t.prototype.setupOnce=function(){var t=this;this._options.console&&So({callback:function(){for(var e=[],r=0;r"}0!==e.length&&Nn().addBreadcrumb({category:"ui."+t.name,message:e},{event:t.event,name:t.name,global:t.global})},t.prototype._xhrBreadcrumb=function(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var e=t.xhr.__sentry_xhr__||{},r=e.method,n=e.url,i=e.status_code,o=e.body;Nn().addBreadcrumb({category:"xhr",data:{method:r,url:n,status_code:i},type:"http"},{xhr:t.xhr,input:o})}},t.prototype._fetchBreadcrumb=function(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?Nn().addBreadcrumb({category:"fetch",data:t.fetchData,level:Bo.Error,type:"http"},{data:t.error,input:t.args}):Nn().addBreadcrumb({category:"fetch",data:Object(_e.a)(Object(_e.a)({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))},t.prototype._historyBreadcrumb=function(t){var e=Object(mn.e)(),r=t.from,n=t.to,i=Object(mn.h)(e.location.href),o=Object(mn.h)(r),a=Object(mn.h)(n);o.path||(o=i),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),Nn().addBreadcrumb({category:"navigation",data:{from:r,to:n}})},t.id="Breadcrumbs",t}(),ka=function(t){function e(e){void 0===e&&(e={});return e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:lo}],version:lo},t.call(this,ga,e)||this}return Object(_e.c)(e,t),e.prototype.showReportDialog=function(t){void 0===t&&(t={}),Object(mn.e)().document&&(this._isEnabled()?function(t){if(void 0===t&&(t={}),t.eventId)if(t.dsn){var e=document.createElement("script");e.async=!0,e.src=new pa(t.dsn).getReportDialogEndpoint(t),t.onLoad&&(e.onload=t.onLoad),(document.head||document.body).appendChild(e)}else wn.error("Missing dsn option in showReportDialog call");else wn.error("Missing eventId option in showReportDialog call")}(Object(_e.a)(Object(_e.a)({},t),{dsn:t.dsn||this.getDsn()})):wn.error("Trying to call showReportDialog with Sentry Client disabled"))},e.prototype._prepareEvent=function(e,r,n){return e.platform=e.platform||"javascript",t.prototype._prepareEvent.call(this,e,r,n)},e.prototype._sendEvent=function(e){var r=this.getIntegration(Ea);r&&r.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},e}(qo),Sa=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Oa=function(){function t(e){this.name=t.id,this._options=Object(_e.a)({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=Object(mn.e)();(this._options.setTimeout&&Object(jn.c)(t,"setTimeout",this._wrapTimeFunction.bind(this)),this._options.setInterval&&Object(jn.c)(t,"setInterval",this._wrapTimeFunction.bind(this)),this._options.requestAnimationFrame&&Object(jn.c)(t,"requestAnimationFrame",this._wrapRAF.bind(this)),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&Object(jn.c)(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),this._options.eventTarget)&&(Array.isArray(this._options.eventTarget)?this._options.eventTarget:Sa).forEach(this._wrapEventTarget.bind(this))},t.prototype._wrapTimeFunction=function(t){return function(){for(var e=[],r=0;r0?e:Object(mn.f)();return 0===t.exception.values[0].stacktrace.frames.length&&t.exception.values[0].stacktrace.frames.push({colno:i,filename:a,function:"?",in_app:!0,lineno:o}),t},t.id="GlobalHandlers",t}(),ja=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._key=e.key||"cause",this._limit=e.limit||5}return t.prototype.setupOnce=function(){Tn((function(e,r){var n=Nn().getIntegration(t);return n?n._handler(e,r):e}))},t.prototype._handler=function(t,e){if(!(t.exception&&t.exception.values&&e&&Object(En.g)(e.originalException,Error)))return t;var r=this._walkErrorTree(e.originalException,this._key);return t.exception.values=Object(_e.g)(r,t.exception.values),t},t.prototype._walkErrorTree=function(t,e,r){if(void 0===r&&(r=[]),!Object(En.g)(t[e],Error)||r.length+1>=this._limit)return r;var n=ra(Zo(t[e]));return this._walkErrorTree(t[e],e,Object(_e.g)([n],r))},t.id="LinkedErrors",t}(),Ca=Object(mn.e)(),Ia=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){Tn((function(e){var r,n,i;if(Nn().getIntegration(t)){if(!Ca.navigator&&!Ca.location&&!Ca.document)return e;var o=(null===(r=e.request)||void 0===r?void 0:r.url)||(null===(n=Ca.location)||void 0===n?void 0:n.href),a=(Ca.document||{}).referrer,s=(Ca.navigator||{}).userAgent,c=Object(_e.a)(Object(_e.a)(Object(_e.a)({},null===(i=e.request)||void 0===i?void 0:i.headers),a&&{Referer:a}),s&&{"User-Agent":s}),u=Object(_e.a)(Object(_e.a)({},o&&{url:o}),{headers:c});return Object(_e.a)(Object(_e.a)({},e),{request:u})}return e}))},t.id="UserAgent",t}(),Aa=[new i.InboundFilters,new i.FunctionToString,new Oa,new Ea,new Ta,new ja,new Ia];function Ra(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=Aa),void 0===t.release){var e=Object(mn.e)();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),function(t,e){var r;!0===e.debug&&wn.enable();var n=Nn();null===(r=n.getScope())||void 0===r||r.update(e.initialScope);var i=new t(e);n.bindClient(i)}(ka,t),t.autoSessionTracking&&function(){if(void 0!==Object(mn.e)().document){var t=Nn();"function"==typeof t.startSession&&"function"==typeof t.captureSession&&(t.startSession({ignoreDuration:!0}),t.captureSession(),So({callback:function(e){var r=e.from,n=e.to;void 0!==r&&r!==n&&(t.startSession({ignoreDuration:!0}),t.captureSession())},type:"history"}))}else wn.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}()}var Da=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^/]+?|)(\.[^./]*|))(?:[/]*)$/;function Na(t,e){var r=function(t){var e=Da.exec(t);return e?e.slice(1):[]}(t)[2];return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r}var Pa={activate:["activated","deactivated"],create:["beforeCreate","created"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]},Ma=/(?:^|[-_/])(\w)/g,La="anonymous component";var Ua=function(){function t(t){var e=this;this._componentsCache={},this._applyTracingHooks=function(t){if(!t.$options.$_sentryPerfHook){t.$options.$_sentryPerfHook=!0;var r=e._getComponentName(t),n="root"===r,i={},o=function(r){var n=Object(vn.c)();e._rootSpan?e._finishRootSpan(n):t.$once("hook:"+r,(function(){var t=Fa();t&&(e._rootSpan=t.startChild({description:"Application Render",op:"Vue"}))}))},a=function(n,o){var a=Array.isArray(e._options.tracingOptions.trackComponents)?e._options.tracingOptions.trackComponents.indexOf(r)>-1:e._options.tracingOptions.trackComponents,s=e._rootSpan||Fa();if(s&&a){var c=Object(vn.c)(),u=i[o];u?(u.finish(),e._finishRootSpan(c)):t.$once("hook:"+n,(function(){s&&(i[o]=s.startChild({description:"Vue <"+r+">",op:o}))}))}};e._options.tracingOptions.hooks.forEach((function(r){var i=Pa[r];i?i.forEach((function(i){var s=n?o.bind(e,i):a.bind(e,i,r),c=t.$options[i];Array.isArray(c)?t.$options[i]=Object(_e.g)([s],c):t.$options[i]="function"==typeof c?[s,c]:[s]})):wn.warn("Unknown hook: "+r)}))}},this._options=t}return t.prototype.setup=function(){this._attachErrorHandler(),("tracesSampleRate"in this._options||"tracesSampler"in this._options)&&this._startTracing()},t.prototype._getComponentName=function(t){if(!t)return La;if(t.$root===t)return"root";if(!t.$options)return La;if(t.$options.name)return t.$options.name;if(t.$options._componentTag)return t.$options._componentTag;if(t.$options.__file){var e=Na(t.$options.__file.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"),".vue");return this._componentsCache[e]||(this._componentsCache[e]=e.replace(Ma,(function(t,e){return e?e.toUpperCase():""})))}return La},t.prototype._finishRootSpan=function(t){var e=this;this._rootSpanTimer&&clearTimeout(this._rootSpanTimer),this._rootSpanTimer=setTimeout((function(){e._rootSpan&&(e._rootSpan.finish(t),e._rootSpan=void 0)}),this._options.tracingOptions.timeout)},t.prototype._startTracing=function(){var t=this._applyTracingHooks,e=setTimeout((function(){wn.warn("Didn't apply tracing hooks, make sure you call Sentry.init before initialzing Vue!")}),500);this._options.Vue.mixin({beforeCreate:function(){clearTimeout(e),t(this)}})},t.prototype._attachErrorHandler=function(){var t=this,e=this._options.Vue.config.errorHandler;this._options.Vue.config.errorHandler=function(r,n,i){var o={};if(n)try{o.componentName=t._getComponentName(n),t._options.attachProps&&(o.propsData=n.$options.propsData)}catch(t){wn.warn("Unable to extract metadata from Vue component.")}i&&(o.lifecycleHook=i),setTimeout((function(){Nn().withScope((function(t){t.setContext("vue",o),Nn().captureException(r)}))})),"function"==typeof e&&e.call(t._options.Vue,r,n,i),t._options.logErrors&&(t._options.Vue.util&&t._options.Vue.util.warn("Error in "+i+': "'+(r&&r.toString())+'"',n),console.error(r))}},t}();function Fa(){var t;return null===(t=Nn().getScope())||void 0===t?void 0:t.getTransaction()}var $a=r("50ca"),Va=r.n($a);const za=(t,e,r=(()=>!0))=>Va()(t,(n,i,o)=>{const a=e(i,o,t),s=r(i,o,t);return n[o]=!1!==s&&null!==a&&"object"==typeof a?za(a,e,r):a,n});var qa=()=>{Dt.debug("[initSentry] 👃"),function(t){void 0===t&&(t={});var e=Object(_e.a)(Object(_e.a)({Vue:Object(mn.e)().Vue,attachProps:!0,logErrors:!1,tracing:!1},t),{tracingOptions:Object(_e.a)({hooks:["activate","mount","update"],timeout:2e3,trackComponents:!1},t.tracingOptions)});e._metadata=e._metadata||{},e._metadata.sdk={name:"sentry.javascript.vue",packages:[{name:"npm:@sentry/vue",version:lo}],version:lo},Ra(e),void 0===e.Vue?(wn.warn("No Vue instance was provided. Also there is no Vue instance on the `window` object."),wn.warn("We will only capture global unhandled errors.")):new Ua(e).setup()}({Vue:o.default,autoSessionTracking:!1,attachProps:!0,logErrors:!0,environment:vt,dsn:"https://3e312a60dbdf450b9b8a65d956beb95b@o454915.ingest.sentry.io/5630840",sampleRate:1,ignoreErrors:["dynamix","webGui/javascript/dynamix","trigger(webGui/javascript/dynamix)","n.parseJSON(webGui/javascript/dynamix)","Object.success(Apps)","Object.success(Docker)","Object.success(Main)","Object.success(Plugins)","Object.success(Settings)","Object.success(Shares)","Object.success(Tools)","Object.success(Tools/Syslog)","checkPorts(Settings/ManagementAccess)","disable(Settings/openvpnclient)","community.applications","community-applications","plugins/community.applications/javascript/libraries","plugins","Docker","Tools","Honey.safariextension","validateForm(Settings/openvpnclient)","disable(Settings/openvpnclient)","getLibvirtSchema","initab(Main)","disableTest(Settings/Notifications)","failure(Settings/ManagementAccess)"],denyUrls:["https://[REDACTED]/webGui/javascript/dynamix.js",`https://${window.location.host}/webGui/javascript/dynamix.js`,"https://[REDACTED]/plugins/community.applications/javascript/libraries.js",`https://${window.location.host}/plugins/community.applications/javascript/libraries.js`],beforeSend(t,e){const r=window.location.host,n=za(t,(t,e)=>"object"==typeof t?t:((t,e,r)=>String(t).includes(e)?String(t).replace(e,r):t)(t,r,"[REDACTED]")),i=e.originalException;Dt.debug("[sentry.beforeSend] %o",i);const o="UNRAID_SENTRY_GUEST_PERMISSIONS_ISSUE",a=sessionStorage.getItem(o);return i&&i.message&&i.message.includes('guest doesn\'t have permission to access "servers"')?(Dt.debug("[SPECIAL • SENTRY] ✨✨✨"),a?null:(sessionStorage.setItem(o,1),n)):n}})};var Ba=g({i18n:mt,store:hi,name:"UserProfile",mixins:[Ci.mixin],components:{UnraidLogoMark:yi,KeyAction:$i,MetaInfo:uo,MyServers:Ji,UnraidSvgUtilSelect:Ai.a,UnraidSvgUtilNewWindow:Di.a,UnraidSvgUtilEdit:Pi.a,UnraidSvgUiWarning:Li.a},props:{serverstate:String,serverdesc:String,displaydesc:{type:String,default:""},servermodel:String,serverupdate:Boolean,banner:{type:String,default:""},theme:{type:String,default:"black"},textcolor:String,bgcolor:[String,Number],metacolor:String,uptime:[Number,String],expiretime:[Number,String],apikey:String,regWizTime:String,hideotherservers:{type:String,default:""},locale:String,localeMessages:String,sendCrashInfo:String,csrf:String,hideMyServers:{type:String,default:null},plgPath:String},data:()=>({NODE_ENV:vt,dropdownVisible:!1,dropdownTimeout:"",errorStateMessageVisible:!0,avatarFail:!1}),computed:{...Object(b.e)(["avatar","isLaunchpadOpen","isPopUpOpen","guid","guidRegistered","popUpWindow","regAtOpen","purchaseWindow","registered","servername","serverip","state","username","darkTheme","lightTheme","extendTrialPayload","recoverKeyPayload","replaceKeyPayload","signedOutWithKey","signInPayload","signUpPayload","troubleshootPayload","wizardWindow","messages","myServersEnv","triggerUPC"]),...Object(b.c)(["stateData"]),darkMode(){return"black"===this.theme||"azure"===this.theme},usernameButtonText(){return"ENOKEYFILE"===this.state?this.$t("getStarted"):this.stateData.error&&this.stateData.error.signInToFix&&!this.registered?this.$t("signIn"):this.stateData.error&&!this.stateData.error.signInToFix&&"EEXPIRED"===!this.state?this.$t("fixError"):this.registered?this.username:this.$t("signIn")},usernameButtonTitle(){return"ENOKEYFILE"===this.state?this.$t("getStarted"):this.stateData.error&&this.stateData.error.signInToFix&&!this.registered?this.$t("upc.signInActions.resolve"):this.stateData.error&&!this.stateData.error.signInToFix?this.$t("learnMore"):this.isPopUpOpen&&this.isLaunchpadOpen?this.$t("upc.confirmClosure"):this.isLaunchpadOpen?this.$t("closeLaunchpad"):"EEXPIRED"===this.state?this.registered?this.$t("upc.trialHasExpiredSeeOptions"):this.stateData.actions.includes("extend")?this.$t("upc.signInActions.purchaseKeyOrExtendTrial"):this.$t("upc.signInActions.purchaseKey"):this.registered&&this.dropdownVisible?this.$t("upc.closeDropdown"):this.registered&&!this.dropdownVisible?this.$t("upc.openDropdown"):this.$t("upc.opensNewHttpsWindow.signIn")},displayKeylineBelowActions(){return!!(this.stateData.actions.includes("purchase")||this.stateData.actions.includes("upgrade")||this.stateData.actions.includes("recover")||this.stateData.actions.includes("replace")||this.stateData.actions.includes("extend"))},extraLinks(){return[...!this.hideMyServers||this.stateData.error.message?[{url:"",text:"",external:!1}]:[],...this.hideMyServers?[]:[{url:this.myServersEnv?"https://forums.unraid.net/my-servers-staging/":"https://forums.unraid.net/my-servers/",text:this.$t("upc.extraLinks.myServers"),external:!0,title:this.$t("upc.extraLinks.newTab",[this.$t("upc.extraLinks.myServers")])}],{url:"https://forums.unraid.net/",text:this.$t("upc.extraLinks.forums"),external:!0,title:this.$t("upc.extraLinks.newTab",[this.$t("upc.extraLinks.forums")])},{url:"https://forums.unraid.net/discord/invite/general/",text:"Join Unraid Discord",external:!0,title:this.$t("upc.extraLinks.newTab",["Join Unraid Discord"])},{url:"/Settings/ManagementAccess#"+(this.plgPath?"MyServersSettings":"UnraidNetSettings"),text:this.$t("upc.extraLinks.settings.text"),settings:!0,title:this.$t("upc.extraLinks.settings.title")},...this.hideMyServers?[{url:"",text:"",external:!1},{url:"https://wiki.unraid.net/My_Servers",text:"Install My Servers Beta",external:!0,title:this.$t("upc.extraLinks.newTab",["Install My Servers Beta"])}]:[]]},devEnv(){let t=vt;const e="UPC_ENV=",r=document.cookie.split(";");for(let n=0;n{this.dropdownVisible=!1},1e3)},autoTriggerLaunchpad(){setTimeout(()=>{const t=`${this.servername}_${this.guid?this.guid.slice(-12):"NO_GUID"}`;sessionStorage.getItem(t)||"ENOKEYFILE"!==this.state||(sessionStorage.setItem(t,"またね"),this.isLaunchpadOpen||this.toggleLaunchpad())},100)},toggleLaunchpad(){const t="unraid-launchpad";if(!document.getElementsByTagName(t).length){const e=document.getElementsByTagName("body")[0],r=document.createElement(t);e.appendChild(r)}const e=()=>{this.dropdownVisible&&(this.dropdownVisible=!1),this.isPopUpOpen&&this.closePopUp(),this.SET_IS_LAUNCHPAD_OPEN(!this.isLaunchpadOpen)};this.isPopUpOpen&&this.isLaunchpadOpen?window.confirm(this.$t("upc.pleaseConfirmClosureYouHaveOpenPopUp"))&&e():e()},onAvatarError(){Dt.error("Avatar failed to load %s",this.avatar),this.avatarFail=!0},async initUserProfile(){if(this.setStateFromWebComponentProp(this.serverstate),!this.registered){const t=`Sign In to your Unraid.net account to perform license key actions${this.hideMyServers?"":" and to receive real-time server monitoring with My Servers"}.`,e="Learn more at https://wiki.unraid.net/My_Servers.",r=["color: white","background: linear-gradient(to right, #E22828 0%, #FF8C2F 100%)","font-size: 10px","padding: 4px"].join(";");Dt.log("%c"+t,r),Dt.log("%c"+e,r)}if(this.apikey&&this.SET_API_KEY(this.apikey),"yes"===this.sendCrashInfo&&(this.SET_SENTRY_ENABLED(!0),qa()),this.expiretime&&this.SET_EXPIRE_TIME(this.expiretime),this.regWizTime&&this.SET_REGWIZ_TIME(this.regWizTime),this.localeMessages){Dt.debug("[this.locale] %o",this.locale);const[t,e]=Tt(decodeURIComponent(this.localeMessages));t&&Dt.error("[initUserProfile.localeMessages] %s","Unable to set locale and locale messages"),this.$i18n.locale=this.locale,this.$i18n.setLocaleMessage(this.locale,e[this.locale]),Dt.debug(`[initUserProfile.$i18n] ${this.$i18n.locale} locale & messages set %o`,e[this.locale]),this.SET_LOCALE(this.locale)}this.csrf&&this.SET_CSRF(this.csrf),this.plgPath&&this.SET_PLG_PATH(this.plgPath),this.hideMyServers?this.SET_HIDE_MY_SERVERS(this.hideMyServers):await this.updateServerState(),this.signedOutWithKey&&this.regWizTime?await this.validateGuid():this.autoTriggerLaunchpad(),this.SET_DARK_MODE(this.darkMode),window.addEventListener("message",t=>{this.receivePostMessage({inject:!1,event:t})},!1)}},watch:{signedOutWithKey(t,e){t&&!e&&this.regWizTime&&this.validateGuid()},isPopUpOpen(t,e){this.isLaunchpadOpen&&!t&&e&&!this.regAtOpen&&this.registered&&this.SET_IS_LAUNCHPAD_OPEN(!1)},triggerUPC(t){t&&setTimeout(()=>{this.dropdownVisible=!0},150)}},created(){this.initUserProfile()},beforeMount(){const t=document.getElementsByTagName("body")[0];let{alpha:e,beta:r,gamma:n}=this.darkMode?this.darkTheme:this.lightTheme;this.textcolor&&(e=this.textcolor),this.bgcolor&&(r=this.bgcolor,t.style.setProperty("--color-customgradient-start",ji()(r,0)),t.style.setProperty("--color-customgradient-end",ji()(r,.9))),this.metacolor&&(n=this.metacolor),t.style.setProperty("--color-alpha",e),t.style.setProperty("--color-beta",r),t.style.setProperty("--color-gamma",n)}},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"UnraidUPC",class:{"--hasBanner-default":t.banner&&!t.bgcolor,"--hasBanner-custom":t.banner&&t.bgcolor},attrs:{id:"UnraidUPC"}},[t.isPopUpOpen&&!t.isLaunchpadOpen?r("div",{staticClass:"absolute z-10 inset-0 flex flex-col items-end justify-center pr-6"},[r("div",{staticClass:"text-center inline-flex flex-col items-center justify-center"},[r("button",{staticClass:"text-14px button button-alt",on:{click:function(e){return t.openPopUp()}}},[t._v(t._s(t.$t("backToPopUp")))]),r("button",{staticClass:"hover:underline text-12px mt-4px",on:{click:function(e){return t.closePopUp()}}},[t._v(t._s(t.$t("closePopUp")))])])]):t._e(),r("MetaInfo",{class:{"blur opacity-30 pointer-events-none transition-all duration-150 ease-in-out":t.isPopUpOpen&&!t.isLaunchpadOpen},attrs:{uptime:t.uptime,expiretime:t.expiretime},on:{purchase:function(e){return t.openPopUp(t.purchaseWindow)},upgrade:function(e){return t.openPopUp(t.purchaseWindow)},signin:function(e){return t.openPopUp(t.signInPayload)}}}),r("div",{staticClass:"relative z-0 flex flex-row items-center justify-end h-full",class:{"blur opacity-30 pointer-events-none transition-all duration-150 ease-in-out":t.isPopUpOpen&&!t.isLaunchpadOpen}},[r("h1",{staticClass:"text-18px border-t-0 border-r-0 border-l-0 border-b-2 border-transparent"},[t.displaydesc?[r("span",{attrs:{title:t.servermodel}},[t._v(t._s(t.serverdesc))]),r("span",{staticClass:"text-grey-mid px-8px"},[t._v("•")])]:t._e(),r("span",{attrs:{title:t.$t("lanIp",[t.serverip])}},[t._v(t._s(t.servername))])],2),r("div",{staticClass:"block w-2px h-24px ml-16px bg-grey-mid"}),r("div",{directives:[{name:"on-clickaway",rawName:"v-on-clickaway",value:t.closeDropdown,expression:"closeDropdown"}],staticClass:"relative flex items-center justify-end h-full",on:{mouseenter:function(e){return t.dropdownMouseEnter()},mouseleave:function(e){return t.dropdownMouseLeave()}}},[r("button",{staticClass:"UnraidUPC-username group text-18px hover:text-alpha focus:text-alpha border border-transparent flex flex-row justify-end items-center h-full px-16px outline-none focus:outline-none",class:{"text-orange-dark":t.isLaunchpadOpen||!t.username&&!t.stateData.error,"text-alpha":t.username&&!t.isLaunchpadOpen,"text-red":t.stateData.error},attrs:{title:t.usernameButtonTitle},on:{click:function(e){return t.usernameAvatarButton()}}},[t.stateData.error||"EEXPIRED"===t.state?r("UnraidSvgUiWarning",{staticClass:"text-red fill-current relative w-24px h-24px mr-8px"}):t._e(),r("span",{staticClass:"inline-flex items-center bg-transparent border-t-0 border-l-0 border-r-0 border-b-2 border-transparent group-hover:border-orange-dark group-focus:border-orange-dark transition-colors duration-150 ease-in-out"},[t._v(" "+t._s(t.usernameButtonText)+" "),t.registered&&!t.isLaunchpadOpen?r("UnraidSvgUtilSelect",{staticClass:"fill-current w-8px h-8px ml-8px"}):t._e()],1),r("span",{staticClass:"relative z-0 flex items-center justify-center w-36px h-36px ml-8px rounded-full",class:{"bg-transparent":t.registered&&!t.avatarFail,"bg-gradient-to-r from-red to-orange":!t.registered||t.avatarFail}},[t.registered&&!t.avatarFail?r("img",{staticClass:"absolute z-10 inset-0 w-36px h-36px rounded-full overflow-hidden",attrs:{src:t.avatar,alt:""+t.$t("upc.avatarAlt",[t.username])},on:{error:t.onAvatarError}}):r("UnraidLogoMark",{staticClass:"relative z-0 w-28px",attrs:{"gradient-start":"#fff","gradient-stop":"#fff"}})],1)],1),r("transition",{attrs:{name:"slideVerticalFade",mode:"out-in"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:t.dropdownVisible,expression:"dropdownVisible"}],staticClass:"UnraidUPC-dropdown",class:{"border-grey-darkest":t.darkMode,"border-grey-light":!t.darkMode}},[t.hideMyServers?t._e():r("header",{staticClass:"text-14px pt-16px px-16px rounded-t"},[r("h5",{staticClass:"text-18px leading-none inline-flex flex-row items-center"},[r("span",{staticClass:"font-semibold"},[t._v(t._s(t.$t("upc.myServers.heading")))]),r("span",{staticClass:"text-grey-mid text-10px uppercase ml-8px py-4px px-6px border-2 border-grey-mid rounded-full"},[t._v(t._s(t.$t("upc.myServers.beta")))]),t.myServersEnv?r("span",{staticClass:"ml-8px",attrs:{title:"API • "+t.myServersEnv}},[t._v("⚙️")]):t._e(),t.devEnv?r("span",{staticClass:"ml-8px",attrs:{title:t.devEnv}},[t._v("⚠️")]):t._e()])]),r("ul",{staticClass:"list-reset my-8px p-0"},["development"===t.NODE_ENV?[r("li",[r("KeyAction",{attrs:{text:"[DEV] Launchpad",external:!1},on:{click:function(e){return t.toggleLaunchpad()}}})],1),r("li",[r("KeyAction",{attrs:{text:"[DEV] Pop-up"},on:{click:function(e){return t.openPopUp(t.wizardWindow)}}})],1)]:t._e(),t.displayKeylineBelowActions?[r("li",[t.stateData.actions.includes("purchase")?r("KeyAction",{attrs:{text:t.$t("actions.purchase")},on:{click:function(e){return t.openPopUp(t.purchaseWindow)}}}):t._e(),t.stateData.actions.includes("upgrade")?r("KeyAction",{attrs:{text:t.$t("actions.upgrade")},on:{click:function(e){return t.openPopUp(t.purchaseWindow)}}}):t._e(),t.stateData.actions.includes("recover")?r("KeyAction",{attrs:{text:t.$t("actions.recover")},on:{click:function(e){return t.openPopUp(t.recoverKeyPayload)}}}):t._e(),t.stateData.actions.includes("replace")?r("KeyAction",{attrs:{text:t.$t("actions.replace")},on:{click:function(e){return t.openPopUp(t.replaceKeyPayload)}}}):t._e(),t.stateData.actions.includes("extend")?r("KeyAction",{attrs:{text:t.$t("actions.extend")},on:{click:function(e){return t.openPopUp(t.extendTrialPayload)}}}):t._e()],1),r("li",{staticClass:"my-8px mx-12px"},[r("hr",{staticClass:"w-full h-2px bg-gradient-to-r from-red to-orange shadow-none border-none rounded-none"})])]:t._e(),!t.hideMyServers||t.stateData.error.message?r("MyServers",{attrs:{hideMyServers:t.hideMyServers,errorStateMessageVisible:t.errorStateMessageVisible,hideotherservers:t.hideotherservers},on:{"contact-support":function(e){return t.openPopUp(t.troubleshootPayload)},"toggle-error":function(e){t.errorStateMessageVisible=!t.errorStateMessageVisible}}}):t._e(),t._l(t.extraLinks,(function(e,n){return[e.url?r("li",{key:n},[r("a",{staticClass:"flex flex-row items-center",attrs:{href:e.url,target:e.external?"_blank":"",title:e.title}},[e.external?r("UnraidSvgUtilNewWindow",{staticClass:"fill-current w-12px h-12px mr-8px"}):t._e(),e.settings?r("UnraidSvgUtilEdit",{staticClass:"fill-current w-12px h-12px mr-8px"}):t._e(),t._v(" "+t._s(e.text)+" ")],1)]):r("div",{key:n,staticClass:"mx-12px"},[r("hr",{staticClass:"w-full h-2px my-8px bg-gradient-to-r from-red to-orange shadow-none border-none rounded-none"})])]}))],2)])])],1)])],1)}),[],!1,(function(t){var e=r("e519");e.__inject__&&e.__inject__(t)}),null,null,!0).exports;window.customElements.define("unraid-authed",v(o.default,mi)),window.customElements.define("unraid-launchpad",v(o.default,Si)),window.customElements.define("unraid-upc-trigger",v(o.default,Oi)),window.customElements.define("unraid-user-profile",v(o.default,Ba))},"5d74":function(t,e,r){t.exports={options:{},ssr:function(t,e){var r=t.data,n=r.attrs,i=n.symbol,o=n.size,a=this.getAttributes(o);a&&(r.attrs=Object.assign({},r.attrs,a)),o&&delete r.attrs.size,i&&delete r.attrs.symbol;var s=r.class,c=r.staticClass||"";c+=s?Object.keys(s).join(" "):"",this.hasClass(c)||(r.staticClass=r.staticClass?r.staticClass+" "+this.options.class:this.options.class);var u=t.context.$createElement("use",{attrs:{href:this.getHref(i)}});Array.isArray(t.children)?t.children.push(u):t.children=[u]},install:function(t,e){void 0===e&&(e={}),this.options.class=e.class||"icon",this.options.url=void 0===e.url?"/assets/svg/sprite.svg":e.url;var r=this;t.directive("svg",{bind:function(t,e,n){var i=e.value||n.data.attrs.symbol,o=n.data.attrs&&n.data.attrs.size,a=r.getAttributes(o);a&&(t.setAttribute("viewBox",a.viewBox),t.setAttribute("width",a.width),t.setAttribute("height",a.height)),i&&t.removeAttribute("symbol"),o&&t.removeAttribute("size");var s=t.getAttribute("class");if(r.hasClass(s)||t.setAttribute("class",s?s+" "+r.options.class:r.options.class),!t||null===t.querySelector("use")){var c=document.createElementNS("http://www.w3.org/2000/svg","use"),u=r.getHref(i);c.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u),c.setAttribute("href",u),t.appendChild(c)}},update:function(t,e,n){var i=r.getHref(e.value||n.data.attrs.symbol),o=t&&t.querySelector("use");if(o){if(o.getAttribute("href")===i)return!1;var a=document.createElementNS("http://www.w3.org/2000/svg","use");a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i),a.setAttribute("href",i),t.replaceChild(a,o)}}})},getAttributes:function(t){if(!t)return null;var e=t.toString().replace(/( |, |,)/g," ").split(" "),r=e.length;if(3===r||r>4)return console.warn('[vue-svg-sprite] size: "'+t+'" is not valid'),null;var n=[];n[0]=r<4?0:e[0],n[1]=r<4?0:e[1];var i=n[2]=r<4?e[0]:e[2];return{height:n[3]=e[r-1],viewBox:n.join(" "),width:i}},hasClass:function(t){var e=this.options.class;return!!t&&t.split(" ").some((function(t){var r=t.split(/(-|_)/)[0];return-1!==r.indexOf(e)&&r.length===e.length}))},getHref:function(t){return""===this.options.url?"#"+t:this.options.url+"#"+t}}},"5e2e":function(t,e,r){var n=r("28c9"),i=r("69d5"),o=r("b4c0"),a=r("fba5"),s=r("67ca");function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var s=e.shift();s&&s.applyMiddleware.apply(i,[t,o])}else r(t)};o()}(a(e.middlewares),e)}))},t.prototype.use=function(t){var e=this;return t.map((function(t){if("function"!=typeof t.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");e.middlewares.push(t)})),this},t.prototype.getConnectionParams=function(t){return function(){return new Promise((function(e,r){if("function"==typeof t)try{return e(t.call(null))}catch(t){return r(t)}e(t)}))}},t.prototype.executeOperation=function(t,e){var r=this;null===this.client&&this.connect();var n=this.generateOperationId();return this.operations[n]={options:t,handler:e},this.applyMiddlewares(t).then((function(t){r.checkOperationOptions(t,e),r.operations[n]&&(r.operations[n]={options:t,handler:e},r.sendMessage(n,b.default.GQL_START,t))})).catch((function(t){r.unsubscribe(n),e(r.formatErrors(t))})),n},t.prototype.getObserver=function(t,e,r){return"function"==typeof t?{next:function(e){return t(e)},error:function(t){return e&&e(t)},complete:function(){return r&&r()}}:t},t.prototype.createMaxConnectTimeGenerator=function(){var t=this.minWsTimeout,e=this.wsTimeout;return new u({min:t,max:e,factor:1.2})},t.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},t.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},t.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},t.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},t.prototype.setInactivityTimeout=function(){var t=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout((function(){0===Object.keys(t.operations).length&&t.close()}),this.inactivityTimeout))},t.prototype.checkOperationOptions=function(t,e){var r=t.query,n=t.variables,i=t.operationName;if(!r)throw new Error("Must provide a query.");if(!e)throw new Error("Must provide an handler.");if(!p.default(r)&&!h.getOperationAST(r,i)||i&&!p.default(i)||n&&!d.default(n))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},t.prototype.buildMessage=function(t,e,r){return{id:t,type:e,payload:r&&r.query?n(n({},r),{query:"string"==typeof r.query?r.query:f.print(r.query)}):r}},t.prototype.formatErrors=function(t){return Array.isArray(t)?t:t&&t.errors?this.formatErrors(t.errors):t&&t.message?[t]:[{name:"FormatedError",message:"Unknown error",originalError:t}]},t.prototype.sendMessage=function(t,e,r){this.sendMessageRaw(this.buildMessage(t,e,r))},t.prototype.sendMessageRaw=function(t){switch(this.status){case this.wsImpl.OPEN:var e=JSON.stringify(t);try{JSON.parse(e)}catch(e){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+t))}this.client.send(e);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(t);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(t)))}},t.prototype.generateOperationId=function(){return String(++this.nextOperationId)},t.prototype.tryReconnect=function(){var t=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach((function(e){t.unsentMessagesQueue.push(t.buildMessage(e,b.default.GQL_START,t.operations[e].options))})),this.reconnecting=!0),this.clearTryReconnectTimeout();var e=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout((function(){t.connect()}),e)}},t.prototype.flushUnsentMessagesQueue=function(){var t=this;this.unsentMessagesQueue.forEach((function(e){t.sendMessageRaw(e)})),this.unsentMessagesQueue=[]},t.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},t.prototype.checkMaxConnectTimeout=function(){var t=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout((function(){t.status!==t.wsImpl.OPEN&&(t.reconnecting=!0,t.close(!1,!0))}),this.maxConnectTimeGenerator.duration())},t.prototype.connect=function(){var t,e=this;this.client=new((t=this.wsImpl).bind.apply(t,a([void 0,this.url,this.wsProtocols],this.wsOptionArguments))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(e,void 0,void 0,(function(){var t,e;return o(this,(function(r){switch(r.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return t=r.sent(),this.sendMessage(void 0,b.default.GQL_CONNECTION_INIT,t),this.flushUnsentMessagesQueue(),[3,4];case 3:return e=r.sent(),this.sendMessage(void 0,b.default.GQL_CONNECTION_ERROR,e),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}}))}))},this.client.onclose=function(){e.closedByUser||e.close(!1,!1)},this.client.onerror=function(t){e.eventEmitter.emit("error",t)},this.client.onmessage=function(t){var r=t.data;e.processReceivedData(r)}},t.prototype.processReceivedData=function(t){var e,r;try{r=(e=JSON.parse(t)).id}catch(e){throw new Error("Message must be JSON-parseable. Got: "+t)}if(-1===[b.default.GQL_DATA,b.default.GQL_COMPLETE,b.default.GQL_ERROR].indexOf(e.type)||this.operations[r])switch(e.type){case b.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(e.payload);break;case b.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected",e.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case b.default.GQL_COMPLETE:var i=this.operations[r].handler;delete this.operations[r],i.call(this,null,null);break;case b.default.GQL_ERROR:this.operations[r].handler(this.formatErrors(e.payload),null),delete this.operations[r];break;case b.default.GQL_DATA:var o=e.payload.errors?n(n({},e.payload),{errors:this.formatErrors(e.payload.errors)}):e.payload;this.operations[r].handler(null,o);break;case b.default.GQL_CONNECTION_KEEP_ALIVE:var a=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,a&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(r)},t.prototype.unsubscribe=function(t){this.operations[t]&&(delete this.operations[t],this.setInactivityTimeout(),this.sendMessage(t,b.default.GQL_STOP,void 0))},t}();e.SubscriptionClient=y}).call(this,r("c8ba"))},"642a":function(t,e,r){var n=r("966f"),i=r("3bb4"),o=r("20ec");t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},"656b":function(t,e,r){var n=r("e2e4"),i=r("f4d6");t.exports=function(t,e){for(var r=0,o=(e=n(e,t)).length;null!=t&&r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function p(){for(var t=[],e=0;e{const n=i.key(t)||i.value(e),a=r.some(e=>e.test(t))||o.some(t=>t.test(e));return n||a};return{map:e=>n(e).map((function(e){a(this.key,e)&&this.update(t)})),forEach:e=>{n(e).forEach((function(e){a(this.key,e)&&this.update(t)}))}}}},a190:function(t,e){t.exports={functional:!0,render(t,e){const{_c:r,_v:n,data:i,children:o=[]}=e,{class:a,staticClass:s,style:c,staticStyle:u,attrs:l={},...p}=i;return r("svg",{class:[a,s],style:[c,u],attrs:Object.assign({"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},l),...p},o.concat([r("path",{attrs:{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"}})]))}}},a2be:function(t,e,r){var n=r("d612"),i=r("4284"),o=r("c584");t.exports=function(t,e,r,a,s,c){var u=1&r,l=t.length,p=e.length;if(l!=p&&!(u&&p>l))return!1;var d=c.get(t),f=c.get(e);if(d&&f)return d==e&&f==t;var h=-1,m=!0,v=2&r?new n:void 0;for(c.set(t,e),c.set(e,t);++h1,i=!1,o=arguments[1],a=o;return new r((function(r){return e.subscribe({next:function(e){var o=!i;if(i=!0,!o||n)try{a=t(a,e)}catch(t){return r.error(t)}else a=e},error:function(t){r.error(t)},complete:function(){if(!i&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})}))}},{key:"concat",value:function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n=0&&i.splice(t,1),a()}});i.push(o)},error:function(t){n.error(t)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach((function(t){return t.unsubscribe()})),o.unsubscribe()}}))}},{key:l,value:function(){return this}}],[{key:"from",value:function(e){var r="function"==typeof this?this:t;if(null==e)throw new TypeError(e+" is not an object");var n=d(e,l);if(n){var i=n.call(e);if(Object(i)!==i)throw new TypeError(i+" is not an object");return function(t){return t instanceof x}(i)&&i.constructor===r?i:new r((function(t){return i.subscribe(t)}))}if(s("iterator")&&(n=d(e,u)))return new r((function(t){m((function(){if(!t.closed){var r=!0,i=!1,o=void 0;try{for(var a,s=n.call(e)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value;if(t.next(c),t.closed)return}}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}t.complete()}}))}));if(Array.isArray(e))return new r((function(t){m((function(){if(!t.closed){for(var r=0;r2)return"[Array]";for(var r=Math.min(10,t.length),n=t.length-r,i=[],o=0;o1&&i.push("... ".concat(n," more items")),"["+i.join(", ")+"]"}(t,r);return function(t,e){var r=Object.keys(t);return 0===r.length?"{}":e.length>2?"["+function(t){var e=Object.prototype.toString.call(t).replace(/^\[object /,"").replace(/]$/,"");if("Object"===e&&"function"==typeof t.constructor){var r=t.constructor.name;if("string"==typeof r&&""!==r)return r}return e}(t)+"]":"{ "+r.map((function(r){return r+": "+a(t[r],e)})).join(", ")+" }"}(t,r)}(t,e);default:return String(t)}}function s(t){var e=t[String(n.a)];return"function"==typeof e?e:"function"==typeof t.inspect?t.inspect:void 0}},b045:function(t,e){t.exports={functional:!0,render(t,e){const{_c:r,_v:n,data:i,children:o=[]}=e,{class:a,staticClass:s,style:c,staticStyle:u,attrs:l={},...p}=i;return r("svg",{class:[a,s],style:[c,u],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},l),...p},o.concat([r("path",{attrs:{"fill-rule":"evenodd",d:"M8 16A8 8 0 118 0a8 8 0 010 16zM6.989 3v2.002h2V3h-2zM7 13h2V7H7a405.483 405.483 0 000 6z"}})]))}}},b047:function(t,e){t.exports=function(t){return function(e){return t(e)}}},b1e5:function(t,e,r){var n=r("a994"),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,o,a,s){var c=1&r,u=n(t),l=u.length;if(l!=n(e).length&&!c)return!1;for(var p=l;p--;){var d=u[p];if(!(c?d in e:i.call(e,d)))return!1}var f=s.get(t),h=s.get(e);if(f&&h)return f==e&&h==t;var m=!0;s.set(t,e),s.set(e,t);for(var v=c;++p-1&&t%1==0&&t<=9007199254740991}},b2a0:function(t,e){t.exports={functional:!0,render(t,e){const{_c:r,_v:n,data:i,children:o=[]}=e,{class:a,staticClass:s,style:c,staticStyle:u,attrs:l={},...p}=i;return r("svg",{class:[a,s],style:[c,u],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},l),...p},o.concat([r("path",{attrs:{"fill-rule":"evenodd",d:"M5.362 8.44l3-3.027L3.618.626A6.32 6.32 0 0110.86 1.88c1.958 1.977 2.373 4.923 1.243 7.31L16 13.126V16h-3.15l-3.745-3.78a6.32 6.32 0 01-7.242-1.256C-.095 8.987-.51 6.04.62 3.654L5.362 8.44z"}})]))}}},b4c0:function(t,e,r){var n=r("cb5a");t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},b5a7:function(t,e,r){var n=r("0b07")(r("2b3e"),"DataView");t.exports=n},ba10:function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty,i="~";function o(){}function a(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function s(t,e,r,n,o){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new a(r,n||t,o),c=i?i+e:e;return t._events[c]?t._events[c].fn?t._events[c]=[t._events[c],s]:t._events[c].push(s):(t._events[c]=s,t._eventsCount++),t}function c(t,e){0==--t._eventsCount?t._events=new o:delete t._events[e]}function u(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),u.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)n.call(t,e)&&r.push(i?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},u.prototype.listeners=function(t){var e=i?i+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,o=r.length,a=new Array(o);n ".length,s=void 0;e&&n++<5&&!("html"===(s=o(e))||n>1&&i+r.length*a+s.length>=80);)r.push(s),i+=s.length,e=e.parentNode;return r.reverse().join(" > ")}catch(t){return""}}function o(t){var e,r,i,o,a,s=t,c=[];if(!s||!s.tagName)return"";if(c.push(s.tagName.toLowerCase()),s.id&&c.push("#"+s.id),(e=s.className)&&Object(n.k)(e))for(r=e.split(/\s+/),a=0;a-1&&t%1==0&&t=0;n--){var i=t[n];"."===i?t.splice(n,1):".."===i?(t.splice(n,1),r++):r&&(t.splice(n,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}function n(t,e){if(t.filter)return t.filter(e);for(var r=[],n=0;n=-1&&!i;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,i="/"===a.charAt(0))}return(i?"/":"")+(e=r(n(e.split("/"),(function(t){return!!t})),!i).join("/"))||"."},e.normalize=function(t){var o=e.isAbsolute(t),a="/"===i(t,-1);return(t=r(n(t.split("/"),(function(t){return!!t})),!o).join("/"))||o||(t="."),t&&a&&(t+="/"),(o?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(n(t,(function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,r){function n(t){for(var e=0;e=0&&""===t[r];r--);return e>r?[]:t.slice(e,r-e+1)}t=e.resolve(t).substr(1),r=e.resolve(r).substr(1);for(var i=n(t.split("/")),o=n(r.split("/")),a=Math.min(i.length,o.length),s=a,c=0;c=1;--o)if(47===(e=t.charCodeAt(o))){if(!i){n=o;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"/":t.slice(0,n)},e.basename=function(t,e){var r=function(t){"string"!=typeof t&&(t+="");var e,r=0,n=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){r=e+1;break}}else-1===n&&(i=!1,n=e+1);return-1===n?"":t.slice(r,n)}(t);return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r},e.extname=function(t){"string"!=typeof t&&(t+="");for(var e=-1,r=0,n=-1,i=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===n&&(i=!1,n=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!i){r=a+1;break}}return-1===e||-1===n||0===o||1===o&&e===n-1&&e===r+1?"":t.slice(e,n)};var i="b"==="ab".substr(-1)?function(t,e,r){return t.substr(e,r)}:function(t,e,r){return e<0&&(e=t.length+e),t.substr(e,r)}}).call(this,r("4362"))},e072:function(t,e,r){t.exports=function(t){"use strict";var e=function(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}(t),r={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),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("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{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"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(t){return t+"º"}};return e.default.locale(r,null,!0),r}(r("5a0c"))},e24b:function(t,e,r){var n=r("49f4"),i=r("1efc"),o=r("bbc0"),a=r("7a48"),s=r("2524");function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e"}try{s.currentTarget=Object(o.c)(a.currentTarget)?Object(i.a)(a.currentTarget):Object.prototype.toString.call(a.currentTarget)}catch(t){s.currentTarget=""}for(var n in"undefined"!=typeof CustomEvent&&Object(o.g)(t,CustomEvent)&&(s.detail=a.detail),a)Object.prototype.hasOwnProperty.call(a,n)&&(s[n]=a);return s}return t}function d(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}function f(t,e,r){void 0===e&&(e=3),void 0===r&&(r=102400);var n=v(t,e);return d(n)>r?f(t,e-1,r):n}function h(e,r){return"domain"===r&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===r?"[DomainEmitter]":void 0!==t&&e===t?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":Object(o.l)(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: "+Object(s.a)(e)+"]":"symbol"==typeof e?"["+String(e)+"]":"bigint"==typeof e?"[BigInt: "+String(e)+"]":e}function m(t,e,r,n){if(void 0===r&&(r=1/0),void 0===n&&(n=new a.a),0===r)return function(t){var e=Object.prototype.toString.call(t);if("string"==typeof t)return t;if("[object Object]"===e)return"[Object]";if("[object Array]"===e)return"[Array]";var r=h(t);return Object(o.i)(r)?r:e}(e);if(null!=e&&"function"==typeof e.toJSON)return e.toJSON();var i=h(e,t);if(Object(o.i)(i))return i;var s=p(e),c=Array.isArray(e)?[]:{};if(n.memoize(e))return"[Circular ~]";for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(c[u]=m(u,s[u],r-1,n));return n.unmemoize(e),c}function v(t,e){try{return JSON.parse(JSON.stringify(t,(function(t,r){return m(t,r,e)})))}catch(t){return"**non-serializable**"}}function g(t,e){void 0===e&&(e=40);var r=Object.keys(p(t));if(r.sort(),!r.length)return"[object has no keys]";if(r[0].length>=e)return Object(c.d)(r[0],e);for(var n=r.length;n>0;n--){var i=r.slice(0,n).join(", ");if(!(i.length>e))return n===r.length?i:Object(c.d)(i,e)}return""}function b(t){var e,r;if(Object(o.h)(t)){var i=t,a={};try{for(var s=Object(n.i)(Object.keys(i)),c=s.next();!c.done;c=s.next()){var u=c.value;void 0!==i[u]&&(a[u]=b(i[u]))}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}return a}return Array.isArray(t)?t.map(b):t}}).call(this,r("c8ba"))},eac5:function(t,e){var r=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},ec69:function(t,e,r){var n=r("6fcd"),i=r("03dd"),o=r("30c9");t.exports=function(t){return o(t)?n(t):i(t)}},edfa:function(t,e){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},ef5d:function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},ef7a:function(t,e,r){"use strict";r.r(e);var n=r("945a");for(var i in n)["default"].indexOf(i)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(i)},efb6:function(t,e,r){var n=r("5e2e");t.exports=function(){this.__data__=new n,this.size=0}},f153:function(t,e,r){"use strict";r.r(e);var n=r("10f4");for(var i in n)["default"].indexOf(i)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(i)},f404:function(t,e,r){"use strict";function n(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return m(t,Error)}}function i(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)}function o(t){return"[object DOMError]"===Object.prototype.toString.call(t)}function a(t){return"[object DOMException]"===Object.prototype.toString.call(t)}function s(t){return"[object String]"===Object.prototype.toString.call(t)}function c(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function u(t){return"[object Object]"===Object.prototype.toString.call(t)}function l(t){return"undefined"!=typeof Event&&m(t,Event)}function p(t){return"undefined"!=typeof Element&&m(t,Element)}function d(t){return"[object RegExp]"===Object.prototype.toString.call(t)}function f(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function h(t){return u(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function m(t,e){try{return t instanceof e}catch(t){return!1}}r.d(e,"d",(function(){return n})),r.d(e,"e",(function(){return i})),r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return a})),r.d(e,"k",(function(){return s})),r.d(e,"i",(function(){return c})),r.d(e,"h",(function(){return u})),r.d(e,"f",(function(){return l})),r.d(e,"c",(function(){return p})),r.d(e,"j",(function(){return d})),r.d(e,"m",(function(){return f})),r.d(e,"l",(function(){return h})),r.d(e,"g",(function(){return m}))},f4d6:function(t,e,r){var n=r("ffd6");t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},f608:function(t,e,r){var n=r("6747"),i=r("ffd6"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!i(t))||a.test(t)||!o.test(t)||null!=e&&t in Object(e)}},f6fd:function(t,e){!function(t){var e="currentScript",r=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(n){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(n.stack)||[!1])[1];for(t in r)if(r[t].src==e||"interactive"==r[t].readyState)return r[t];return null}}})}(document)},f71e:function(t,e,r){"use strict";t.exports=function(t,e){e||(e={}),"function"==typeof e&&(e={cmp:e});var r="boolean"==typeof e.cycles&&e.cycles,n=e.cmp&&function(t){return function(e){return function(r,n){var i={key:r,value:e[r]},o={key:n,value:e[n]};return t(i,o)}}}(e.cmp),i=[];return function t(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0!==e){if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!=typeof e)return JSON.stringify(e);var o,a;if(Array.isArray(e)){for(a="[",o=0;o"}return t.event_id||""}function u(t){var e=o();if(!("console"in e))return t();var r=e.console,n={};["debug","info","warn","error","log","assert"].forEach((function(t){t in e.console&&r[t].__sentry_original__&&(n[t]=r[t],r[t]=r[t].__sentry_original__)}));var i=t();return Object.keys(n).forEach((function(t){r[t]=n[t]})),i}function l(t,e,r){t.exception=t.exception||{},t.exception.values=t.exception.values||[],t.exception.values[0]=t.exception.values[0]||{},t.exception.values[0].value=t.exception.values[0].value||e||"",t.exception.values[0].type=t.exception.values[0].type||r||"Error"}function p(t,e){void 0===e&&(e={});try{t.exception.values[0].mechanism=t.exception.values[0].mechanism||{},Object.keys(e).forEach((function(r){t.exception.values[0].mechanism[r]=e[r]}))}catch(t){}}function d(){try{return document.location.href}catch(t){return""}}function f(t,e){if(!e)return 6e4;var r=parseInt(""+e,10);if(!isNaN(r))return 1e3*r;var n=Date.parse(""+e);return isNaN(n)?6e4:n-t}}).call(this,r("c8ba"))},f80d:function(t,e,r){"use strict";(function(t,n){function i(){return"[object process]"===Object.prototype.toString.call(void 0!==t?t:0)}function o(t,e){return t.require(e)}r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return o}))}).call(this,r("4362"),r("dd40")(t))},f9af:function(t,e,r){var n=r("6e8b");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=r("35d6").default;t.exports.__inject__=function(t){i("296e8e3a",n,t)}},f9ce:function(t,e,r){var n=r("ef5d"),i=r("e3f8"),o=r("f608"),a=r("f4d6");t.exports=function(t){return o(t)?n(a(t)):i(t)}},fac5:function(t,e,r){(e=r("24fb")(!1)).push([t.i,".unraid_sc_loader_2,.unraid_sc_loader_4{-webkit-animation:mark_2 1.5s ease infinite;animation:mark_2 1.5s ease infinite}.unraid_sc_loader_3{-webkit-animation:mark_3 1.5s ease infinite;animation:mark_3 1.5s ease infinite}.unraid_sc_loader_6,.unraid_sc_loader_8{-webkit-animation:mark_6 1.5s ease infinite;animation:mark_6 1.5s ease infinite}.unraid_sc_loader_7{-webkit-animation:mark_7 1.5s ease infinite;animation:mark_7 1.5s ease infinite}@-webkit-keyframes mark_2{50%{-webkit-transform:translateY(-40px);transform:translateY(-40px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes mark_2{50%{-webkit-transform:translateY(-40px);transform:translateY(-40px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes mark_3{50%{-webkit-transform:translateY(-62px);transform:translateY(-62px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes mark_3{50%{-webkit-transform:translateY(-62px);transform:translateY(-62px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes mark_6{50%{-webkit-transform:translateY(40px);transform:translateY(40px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes mark_6{50%{-webkit-transform:translateY(40px);transform:translateY(40px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes mark_7{50%{-webkit-transform:translateY(62px);transform:translateY(62px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes mark_7{50%{-webkit-transform:translateY(62px);transform:translateY(62px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}",""]),t.exports=e},fba5:function(t,e,r){var n=r("cb5a");t.exports=function(t){return n(this.__data__,t)>-1}},fbdd:function(t,e,r){"use strict";r.d(e,"d",(function(){return i})),r.d(e,"c",(function(){return o})),r.d(e,"b",(function(){return a})),r.d(e,"a",(function(){return s}));var n=r("f404");function i(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function o(t,e){var r=t,n=r.length;if(n<=150)return r;e>n&&(e=n);var i=Math.max(e-60,0);i<5&&(i=0);var o=Math.min(i+140,n);return o>n-5&&(o=n),o===n&&(i=Math.max(o-140,0)),r=r.slice(i,o),i>0&&(r="'{snip} "+r),o(t.commit("SET_MY_SERVERS_ERROR",e),t.state.myServersError)}),Dt.debug("[🪐 serverStateFromApi] DONE %o",e.data),e.data},stopGraphqlClient:t=>Object.keys(zn).includes(t)?(Dt.debug("[getGraphqlClient] found existing client & stopping it"),zn[t]):Dt.debug("[getGraphqlClient] client does not exist for apikey %s",t)};o.default.use(b.a);var hi=new b.a.Store({state:wt,getters:It,mutations:Nt,actions:fi});var mi=g({i18n:mt,store:hi,name:"Authed",props:["propRegistered"],data:()=>({regChanged:!1,popUpClosedTimer:null}),computed:{...Object(b.e)(["state","registered","isPopUpOpen","signOutPayload","wizardWindow"]),...Object(b.c)(["stateData"]),computedReg(){return null===this.registered?!!this.propRegistered:this.registered},buttonPayload(){return this.stateData.error?this.wizardWindow:this.computedReg?this.signOutPayload:this.wizardWindow},buttonText(){return this.stateData.error?this.$t("fixError"):this.isPopUpOpen?this.$t("backToPopUp"):"ENOKEYFILE"===this.state?this.$t("getStarted"):this.computedReg?this.$t("signOut"):this.$t("signIn")},buttonTitle(){return this.$t("upc.opensNewHttpsWindow.base",[this.buttonText])}},watch:{isPopUpOpen(t){!t&&this.regChanged&&(Dt.debug("[REGISTERED CHANGED] 🔥 reload webGUI settings"),window.location.reload())},registered(t,e){null!==e&&t!==this.propRegistered&&(Dt.debug("[REGISTERED CHANGED]",{newVal:t,oldVal:e}),this.regChanged=!0,this.isPopUpOpen||(Dt.debug("[REGISTERED CHANGED] 🔥🔥 reload webGUI settings"),window.location.reload()))}},methods:{...Object(b.b)(["closePopUp","openPopUp"])}},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("transition",{attrs:{appear:"",name:"fade",mode:"out-in"}},[r("div",[r("button",{attrs:{type:"button",title:t.buttonTitle},on:{click:function(e){return t.openPopUp(t.buttonPayload)}}},[t._v(t._s(t.buttonText))]),r("transition",{attrs:{name:"fade",mode:"out-in"}},[t.isPopUpOpen?r("button",{staticClass:"ml-8px",attrs:{type:"button"},on:{click:function(e){return t.closePopUp()}}},[t._v(t._s(t.$t("closePopUp")))]):t._e()])],1)])}),[],!1,(function(t){var e=r("696d");e.__inject__&&e.__inject__(t)}),"0b24b7c6",null,!0).exports,vi=(g({name:"keyline",props:{color:{type:String,default:"grey"}},computed:{computedClass(){return"gradient"===this.color?"h-2px bg-gradient-r-red-orange":"h-1px bg-grey"}}},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("hr",{staticClass:"w-full shadow-none border-none rounded-none",class:t.computedClass})}),[],!1,null,null,null,!0).exports,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{staticClass:"unraid_sc_loader",style:t.styles,attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 133.52 76.97",height:t.height+"px",role:"img"}},[r("title",[t._v(t._s(t.title))]),r("desc",[t._v("Unraid logo animating with a wave like effect")]),r("defs",[r("linearGradient",{attrs:{id:t.random,x1:"23.76",y1:"81.49",x2:"109.76",y2:"-4.51",gradientUnits:"userSpaceOnUse"}},[r("stop",{attrs:{offset:"0","stop-color":t.gradientStart}}),r("stop",{attrs:{offset:"1","stop-color":t.gradientStop}})],1)],1),r("path",{staticClass:"unraid_sc_loader_9",attrs:{d:"m70,19.24zm57,0l6.54,0l0,38.49l-6.54,0l0,-38.49z",fill:"url(#"+t.random+")"}}),r("path",{staticClass:"unraid_sc_loader_8",attrs:{d:"m70,19.24zm47.65,11.9l-6.55,0l0,-23.79l6.55,0l0,23.79z",fill:"url(#"+t.random+")"}}),r("path",{staticClass:"unraid_sc_loader_7",attrs:{d:"m70,19.24zm31.77,-4.54l-6.54,0l0,-14.7l6.54,0l0,14.7z",fill:"url(#"+t.random+")"}}),r("path",{staticClass:"unraid_sc_loader_6",attrs:{d:"m70,19.24zm15.9,11.9l-6.54,0l0,-23.79l6.54,0l0,23.79z",fill:"url(#"+t.random+")"}}),r("path",{staticClass:"unraid_sc_loader_5",attrs:{d:"m63.49,19.24l6.51,0l0,38.49l-6.51,0l0,-38.49z",fill:"url(#"+t.random+")"}}),r("path",{staticClass:"unraid_sc_loader_4",attrs:{d:"m70,19.24zm-22.38,26.6l6.54,0l0,23.78l-6.54,0l0,-23.78z",fill:"url(#"+t.random+")"}}),r("path",{staticClass:"unraid_sc_loader_3",attrs:{d:"m70,19.24zm-38.26,43.03l6.55,0l0,14.73l-6.55,0l0,-14.73z",fill:"url(#"+t.random+")"}}),r("path",{staticClass:"unraid_sc_loader_2",attrs:{d:"m70,19.24zm-54.13,26.6l6.54,0l0,23.78l-6.54,0l0,-23.78z",fill:"url(#"+t.random+")"}}),r("path",{staticClass:"unraid_sc_loader_1",attrs:{d:"m70,19.24zm-63.46,38.49l-6.54,0l0,-38.49l6.54,0l0,38.49z",fill:"url(#"+t.random+")"}})])});var gi=g({name:"loading",props:{height:{type:Number,default:64},styles:{type:Object,default:()=>({})},gradientStart:{type:String,default:"#e32929"},gradientStop:{type:String,default:"#ff8d30"},title:{type:String,default:"Loading"}},data:()=>({random:Math.random().toString(36).substring(7)})},vi,[],!1,(function(t){var e=r("ef7a");e.__inject__&&e.__inject__(t)}),null,null,!0).exports,bi=(g({name:"logo",props:{gradientStart:{type:String,default:"#e32929"},gradientStop:{type:String,default:"#ff8d30"}},data:()=>({random:Math.random().toString(36).substring(7)})},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 222.36 39.04"}},[r("defs",[r("linearGradient",{attrs:{id:t.random,x1:"47.53",y1:"79.1",x2:"170.71",y2:"-44.08",gradientUnits:"userSpaceOnUse"}},[r("stop",{attrs:{offset:"0","stop-color":t.gradientStart}}),r("stop",{attrs:{offset:"1","stop-color":t.gradientStop}})],1)],1),r("title",[t._v("Unraid Logo")]),r("path",{attrs:{d:"M146.7,29.47H135l-3,9h-6.49L138.93,0h8l13.41,38.49h-7.09L142.62,6.93l-5.83,16.88h8ZM29.69,0V25.4c0,8.91-5.77,13.64-14.9,13.64S0,34.31,0,25.4V0H6.54V25.4c0,5.17,3.19,7.92,8.25,7.92s8.36-2.75,8.36-7.92V0ZM50.86,12v26.5H44.31V0h6.11l17,26.5V0H74V38.49H67.9ZM171.29,0h6.54V38.49h-6.54Zm51.07,24.69c0,9-5.88,13.8-15.17,13.8H192.67V0H207.3c9.18,0,15.06,4.78,15.06,13.8ZM215.82,13.8c0-5.28-3.3-8.14-8.52-8.14h-8.08V32.77h8c5.33,0,8.63-2.8,8.63-8.08ZM108.31,23.92c4.34-1.6,6.93-5.28,6.93-11.55C115.24,3.68,110.18,0,102.48,0H88.84V38.49h6.55V5.66h6.87c3.8,0,6.21,1.82,6.21,6.71s-2.41,6.76-6.21,6.76H98.88l9.21,19.36h7.53Z",fill:"url(#"+t.random+")"}})])}),[],!1,null,null,null,!0).exports,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 133.52 76.97"}},[r("title",[t._v("unraid-mark")]),r("defs",[r("linearGradient",{attrs:{id:t.random,x1:"23.76",y1:"81.49",x2:"109.76",y2:"-4.51",gradientUnits:"userSpaceOnUse"}},[r("stop",{attrs:{offset:"0","stop-color":t.gradientStart}}),r("stop",{attrs:{offset:"1","stop-color":t.gradientStop}})],1)],1),r("path",{attrs:{fill:"url(#"+t.random+")",d:"M63.49,19.24H70V57.73H63.49ZM6.54,57.73H0V19.24H6.54Zm25.2,4.54h6.55V77H31.74ZM15.87,45.84h6.54V69.62H15.87Zm31.75,0h6.54V69.62H47.62ZM127,19.24h6.54V57.73H127ZM101.77,14.7H95.23V0h6.54Zm15.88,16.44H111.1V7.35h6.55Zm-31.75,0H79.36V7.35H85.9Z"}})])}),yi=g({name:"logo",props:{gradientStart:{type:String,default:"#e32929"},gradientStop:{type:String,default:"#ff8d30"}},data:()=>({random:Math.random().toString(36).substring(7)})},bi,[],!1,null,null,null,!0).exports,_i=r("5d74"),wi=r.n(_i);o.default.use(wi.a,{url:(Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_SPRITE_URL_PREFIX?Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_SPRITE_URL_PREFIX:"")+"/assets/svg/sprite.svg",class:"svg-icon"});var xi=(g({name:"svg-icon",props:{symbol:{type:String,required:!0},symbolClass:String}},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("svg",{directives:[{name:"svg",rawName:"v-svg"}],staticClass:"unraid-svg-icon",class:t.symbolClass,attrs:{symbol:t.symbol,title:t.symbol,role:"presentation"}})}),[],!1,(function(t){var e=r("39a1");e.__inject__&&e.__inject__(t)}),"3b60bb54",null,!0).exports,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"text-center w-full"},[r("header",[r("h2",{staticClass:"text-24px md:text-30px",domProps:{innerHTML:t._s(t.stateData.heading?t.stateData.heading:t.stateData.error.heading)}}),r("div",{staticClass:"text-14px opacity-90 mt-12px mx-auto",class:{"text-center":t.stateData.messageCenter,"text-left":!t.stateData.messageCenter,"prose-2xl":!t.CAN_POST_MESSAGE,prose:t.CAN_POST_MESSAGE},domProps:{innerHTML:t._s(t.stateData.message?t.stateData.message:t.stateData.error.message)}},[t._t("default")],2)]),r("div",{staticClass:"ActionRequired flex flex-col justify-center mt-16px px-16px"},[t.isPopUpOpen?[r("ConditionalButton",{staticClass:"button button-alt w-full mt-8px",attrs:{text:t.$t("backToPopUp")},on:{"btn-click":function(e){return t.openPopUp(t.signInPayload)}}}),r("ConditionalButton",{staticClass:"button-fine-error text-grey-mid w-full mt-8px",attrs:{text:t.$t("closePopUp")},on:{"btn-click":function(e){return t.closePopUp()}}})]:[t.stateData.actions.includes("register")?[r("ConditionalButton",{staticClass:"button button-alt w-full mt-8px",attrs:{routeName:t.CAN_POST_MESSAGE?"SignIn":null,text:t.$t("signIn")},on:{"btn-click":function(e){return t.openPopUp(t.signInPayload)}}}),t.guidRegistered||t.forumaccount?t._e():r("ConditionalButton",{staticClass:"button button-alt w-full mt-8px",attrs:{routeName:t.CAN_POST_MESSAGE?"SignUp":null,text:t.$t("signUp")},on:{"btn-click":function(e){return t.openPopUp(t.signUpPayload)}}})]:t._e(),t.stateData.actions.includes("purchase")?r("ConditionalButton",{staticClass:"button button-alt w-full mt-8px",attrs:{hrefUrl:t.CAN_POST_MESSAGE?t.purchaseWindow.url:null,text:t.$t("actions.purchase")},on:{"btn-click":function(e){return t.openPopUp(t.purchaseWindow)}}}):t._e(),t.stateData.actions.includes("upgrade")?r("ConditionalButton",{staticClass:"button button-alt w-full mt-8px",attrs:{hrefUrl:t.CAN_POST_MESSAGE?t.purchaseWindow.url:null,text:t.$t("actions.upgrade")},on:{"btn-click":function(e){return t.openPopUp(t.purchaseWindow)}}}):t._e(),t.stateData.actions.includes("replace")&&t.replaceable?r("ConditionalButton",{staticClass:"button w-full mt-8px",attrs:{routeName:t.CAN_POST_MESSAGE?"ReplaceKey":null,text:t.$t("actions.replace")},on:{"btn-click":function(e){return t.openPopUp(t.replaceKeyPayload)}}}):t._e(),t.stateData.actions.includes("replace")&&!t.replaceable?r("ConditionalButton",{staticClass:"button w-full mt-8px",attrs:{text:t.$t("actions.replaceIneligible"),title:t.$t("stateData.EGUID.error.message.replacementIneligible"),disabled:""},on:{"btn-click":function(e){return t.niceTry()}}}):t._e(),t.stateData.actions.includes("recover")?r("ConditionalButton",{staticClass:"button w-full mt-8px",attrs:{routeName:t.CAN_POST_MESSAGE?"RecoverKey":null,text:t.$t("actions.recover")},on:{"btn-click":function(e){return t.openPopUp(t.recoverKeyPayload)}}}):t._e(),t.stateData.actions.includes("continueTrial")?r("ConditionalButton",{staticClass:"button w-full mt-8px",attrs:{text:t.$t("regWizPopUp.continueTrial")},on:{"btn-click":function(e){t.CAN_POST_MESSAGE?t.closePopUpFromPopUp():t.SET_IS_LAUNCHPAD_OPEN(!1)}}}):t._e(),t.stateData.actions.includes("extend")?r("ConditionalButton",{staticClass:"button w-full mt-8px",attrs:{routeName:t.CAN_POST_MESSAGE?"ExtendTrial":null,text:t.$t("actions.extend")},on:{"btn-click":function(e){return t.openPopUp(t.extendTrialPayload)}}}):t._e(),t.stateData.actions.includes("close")?r("ConditionalButton",{staticClass:"button w-full mt-8px",attrs:{text:t.$t("continueToUnraid")},on:{"btn-click":function(e){t.CAN_POST_MESSAGE?t.closePopUpFromPopUp():t.SET_IS_LAUNCHPAD_OPEN(!1)}}}):t._e(),t.stateData.actions.includes("signOut")&&t.CAN_POST_MESSAGE?r("ConditionalButton",{staticClass:"button-fine-error text-grey-mid w-full mt-8px",attrs:{routeName:t.CAN_POST_MESSAGE?"SignOut":null,text:t.$t("signOut")},on:{"btn-click":function(e){return t.openPopUp(t.signOutPayload)}}}):t._e()]],2)])}),Ei=g({props:{hrefUrl:{type:[Boolean,URL],default:!1},routeName:{type:String},text:{type:String,required:!0}},computed:{}},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.routeName?r("router-link",{attrs:{to:{name:t.routeName}}},[t._v(t._s(t.text))]):t.hrefUrl?r("a",{attrs:{href:t.hrefUrl}},[t._v(t._s(t.text))]):r("button",{on:{click:function(e){return t.$emit("btn-click")}}},[t._v(t._s(t.text))])}),[],!1,null,null,null,!0);var ki=g({components:{ConditionalButton:Ei.exports},data:()=>({CAN_POST_MESSAGE:Et}),computed:{...Object(b.c)(["stateData"]),...Object(b.e)(["isPopUpOpen","purchaseWindow","forumaccount","guidRegistered","extendTrialPayload","recoverKeyPayload","registered","replaceable","replaceKeyPayload","signOutPayload","signInPayload","signUpPayload","state","wizardWindow","messages"])},methods:{...Object(b.b)(["openPopUp","closePopUp","closePopUpFromPopUp"]),...Object(b.d)(["SET_IS_LAUNCHPAD_OPEN"]),niceTry(){alert("❌ Nice try you little sneak ❌")}}},xi,[],!1,(function(t){var e=r("2251");e.__inject__&&e.__inject__(t)}),null,null,!0).exports;var Si=g({i18n:mt,store:hi,name:"Launchpad",props:["serverstate","webguiTranslations"],components:{UnraidLoading:gi,LaunchpadActionRequired:ki},computed:{...Object(b.e)(["guid","isLaunchpadOpen","loading"]),...Object(b.c)(["server"])},methods:{...Object(b.b)(["setStateFromWebComponentProp","validateGuid"]),...Object(b.d)(["SET_IS_LAUNCHPAD_OPEN"])},watch:{signedOutWithKey(t,e){t&&!e&&this.validateGuid()}},created(){if(this.serverstate&&this.setStateFromWebComponentProp(this.serverstate),this.guid)this.validateGuid();else{const t=setInterval(()=>{this.guid&&(clearInterval(t),this.validateGuid())},250)}}},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("transition",{attrs:{appear:"",name:"fade",mode:"in-out"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:t.isLaunchpadOpen,expression:"isLaunchpadOpen"}],staticClass:"fixed inset-0 z-10 flex flex-col justify-start items-end mt-90px"},[r("transition",{attrs:{appear:"",name:"fade",mode:"in-out"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:t.isLaunchpadOpen,expression:"isLaunchpadOpen"}],staticClass:"absolute inset-0 z-0 bg-beta opacity-70 cursor-pointer",attrs:{title:t.$t("closeLaunchpad")},on:{click:function(e){return t.SET_IS_LAUNCHPAD_OPEN(!1)}}})]),r("transition",{attrs:{appear:"",name:"slideVerticalFade",mode:"in-out"}},[r("main",{directives:[{name:"show",rawName:"v-show",value:t.isLaunchpadOpen,expression:"isLaunchpadOpen"}],staticClass:"TopBlip text-beta bg-alpha border-grey-darkest text-center relative z-10 w-full max-w-4xl mr-8px p-24px md:p-32px lg:px-40px shadow-md rounded-lg"},[t.loading?r("UnraidLoading",{staticClass:"mx-auto",attrs:{height:64}}):r("LaunchpadActionRequired")],1)])],1)])}),[],!1,(function(t){var e=r("f153");e.__inject__&&e.__inject__(t)}),null,null,!0).exports;var Oi=g({i18n:mt,store:hi,name:"UpcTrigger",props:[],data:()=>({}),computed:{...Object(b.c)(["stateData","stateDataKeyActions"]),...Object(b.e)(["isPopUpOpen","registered","state","triggerUPC","wizardWindow"]),copy(){return this.registered?"BASIC"===this.state||"PLUS"===this.state?"To support more storage devices as your server grows, click Upgrade Key in the User Profile located at the top right of the webGUI on every page.":"Key actions are done in the User Profile located at the top right of the webGUI on every page.":"You must be signed in to Unraid.net to perform key actions."},buttonText(){return this.stateData.error?this.$t("fixError"):this.isPopUpOpen?this.$t("backToPopUp"):"ENOKEYFILE"===this.state?this.$t("getStarted"):this.registered?this.stateDataKeyActions?"Open User Profile":"":this.$t("signIn")},buttonTitle(){return this.stateDataKeyActions?"Open User Profile":this.$t("upc.opensNewHttpsWindow.base",[this.buttonText])}},methods:{...Object(b.b)(["jumpToUpc","closePopUp","openPopUp"]),btnClick(){return!this.registered||this.isPopUpOpen?this.openPopUp(this.wizardWindow):this.jumpToUpc()}}},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("transition",{attrs:{appear:"",name:"fade",mode:"out-in"}},[null!==t.registered&&t.buttonText?r("div",{staticClass:"flex flex-wrap pl-12px"},[r("p",{staticClass:"w-7/20 pr-12px"},[t._v(t._s(t.copy))]),r("div",{staticClass:"w-13/20 inline-flex flex-row"},[r("button",{attrs:{type:"button",title:t.buttonTitle,disabled:t.triggerUPC},on:{click:function(e){return t.btnClick()}}},[t._v(t._s(t.buttonText))]),r("transition",{attrs:{name:"fade",mode:"out-in"}},[t.isPopUpOpen?r("button",{staticClass:"ml-8px",attrs:{type:"button"},on:{click:function(e){return t.closePopUp()}}},[t._v(t._s(t.$t("closePopUp")))]):t._e()])],1)]):t._e()])}),[],!1,(function(t){var e=r("22c9");e.__inject__&&e.__inject__(t)}),null,null,!0).exports,Ti=r("ab14"),ji=r.n(Ti),Ci=r("c7db"),Ii=r("8a86"),Ai=r.n(Ii),Ri=r("a3b3"),Di=r.n(Ri),Ni=r("b2a0"),Pi=r.n(Ni),Mi=r("45b7"),Li=r.n(Mi),Ui=r("381c"),Fi=r.n(Ui),$i=g({props:{payload:{type:Object},text:{type:String},emphasize:{type:Boolean,default:!1},external:{type:Boolean,default:!0}},components:{UnraidSvgUiKey:Fi.a,UnraidSvgUtilNewWindow:Di.a},methods:{...Object(b.b)(["openPopUp"])}},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{staticClass:"group flex flex-row items-center justify-between",class:{"btn-emphasize":t.emphasize},attrs:{title:t.external?""+t.$t("upc.opensNewHttpsWindow.base",[t.text]):null},on:{click:function(e){return t.$emit("click")}}},[r("span",{staticClass:"inline-flex flex-row items-center"},[r("UnraidSvgUiKey",{staticClass:"fill-current w-12px h-12px mr-8px"}),t._v(" "+t._s(t.text)+" ")],1),t.external?r("UnraidSvgUtilNewWindow",{staticClass:"text-white opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"}):t._e()],1)}),[],!1,null,null,null,!0).exports,Vi=r("a190"),zi=r.n(Vi),qi=r("a313"),Bi=r.n(qi),Gi=r("94d0"),Hi=r.n(Gi),Qi=r("973e"),Yi=r.n(Qi),Wi=r("b045"),Ki=r.n(Wi),Ji=g({components:{UnraidLoading:gi,UnraidSvgUiWarningFill:zi.a,UnraidSvgUtilCheck:Bi.a,UnraidSvgUtilDelete:Hi.a,UnraidSvgUtilHelp:Yi.a,UnraidSvgUtilInfo:Ki.a,UnraidSvgUtilNewWindow:Di.a},props:["errorStateMessageVisible","hideotherservers","hideMyServers"],watch:{apikey(t,e){!e&&t&&(Dt.debug("[apikey set] connect to unraid-api"),this.fetchServers()),e&&!t&&this.hideMyServers&&(Dt.debug("[apikey removed] disconnect from unraid-api"),this.stopGraphqlClient(e))},registered(t,e){!e&&t&&(Dt.debug("[apikey set] connect to unraid-api"),this.fetchServers())},myServersError(t,e){!e||t||this.myServers.length||this.serversPlz()}},computed:{...Object(b.c)(["stateData","validApiKeyLength"]),...Object(b.e)(["apikey","guid","graphOnline","myServers","myServersLoading","myServersError","registered","servername","state","wanip"]),currentServer(){return this.myServers?this.myServers.filter(t=>t.guid===this.guid?t:null)[0]:{name:this.servername,status:"offline"}},currentServerStatus(){return this.currentServer?this.currentServer.status:"offline"},filteredServers(){return this.myServers?this.hideotherservers?[]:this.myServers.filter(t=>t.guid!==this.guid?t:null).sort((t,e)=>t.name.localeCompare(e.name,"en",{numeric:!0,sensitivity:"base"})):[]},errorToggleText(){return this.stateData.error.message?"EEXPIRED"===this.state?this.stateData.error.heading:this.$t("fixError"):this.myServersError?this.computedErrorHeading:""},errorToggleTitle(){if(this.stateData.error||this.stateData.message||this.myServersError){return`${this.stateData.error.message||this.stateData.message?this.stateData.humanReadable:this.computedErrorHeading} • ${this.errorStateMessageVisible?this.$t("upc.myServers.closeDetails"):this.$t("learnMore")}`}return""},computedErrorHeading(){return this.stateData.error.heading?this.stateData.error.heading:this.myServersError?this.myServersError.includes("Network error")?this.$t("upc.myServers.errors.unraidApi.heading"):this.$t("upc.myServers.errors.myServers.heading"):""},computedError(){return this.stateData.error.message?this.stateData.error.message:this.myServersError?this.myServersError.includes("Network error")?this.$t("upc.myServers.errors.unraidApi.message"):this.myServersError:""}},methods:{...Object(b.b)(["fetchServers","stopGraphqlClient"]),serversPlz(){return Dt.debug("[serversPlz]"),this.validApiKeyLength?this.fetchServers():Dt.error("[MyServers] invalid apikey")}},created(){!this.hideMyServers&&this.registered&&this.serversPlz()}},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"relative"},[r("ul",{staticClass:"relative"},[t.filteredServers.length&&t.myServersError?r("li",{staticClass:"text-red text-12px font-semibold px-16px pb-4px"},[r("em",[t._v(t._s(t.$t("upc.myServers.displayingLastKnown")))])]):t._e(),t.computedError?r("li",{key:"current-server-error",staticClass:"w-full"},[r("button",{staticClass:"btn-error group py-8px px-16px flex flex-col",attrs:{title:t.errorToggleTitle},on:{click:function(e){return t.$emit("toggle-error")}}},[r("div",{staticClass:"w-full flex flex-row justify-between items-center"},[r("span",{staticClass:"inline-flex flex-row items-center"},[r("UnraidSvgUiWarningFill",{staticClass:"fill-current w-12px h-12px"}),r("span",{staticClass:"font-semibold mx-8px"},[t._v(" "+t._s(t.servername)+" ")])],1),t.computedError&&t.errorStateMessageVisible?r("UnraidSvgUtilDelete",{staticClass:"text-current opacity-100 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"}):r("UnraidSvgUtilInfo",{staticClass:"text-current opacity-100 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1),r("transition",{attrs:{name:"fade",mode:"out-in"}},[t.computedError&&t.errorStateMessageVisible?r("div",{staticClass:"UnraidUPC-serverError"},[r("div",{staticClass:"text-14px font-semibold pt-4px"},[r("h3",{staticClass:"text-16px mb-4px"},[t._v(t._s(t.errorToggleText))]),r("p",{domProps:{innerHTML:t._s(t.computedError)}})])]):t._e()])],1)]):t._e(),r("transition",{attrs:{name:"fade",mode:"out-in"}},["EEXPIRED"!==t.state&&t.stateData.error&&t.errorStateMessageVisible?r("li",[r("a",{staticClass:"link-error group flex flex-row items-center justify-between",attrs:{title:t.$t("upc.opensNewHttpsWindow.base",[t.$t("contactSupport")])},on:{click:function(e){return t.$emit("contact-support")}}},[r("span",{staticClass:"inline-flex flex-row items-center"},[r("UnraidSvgUtilHelp",{staticClass:"fill-current w-12px h-12px mr-8px"}),t._v(" "+t._s(t.$t("contactSupport"))+" ")],1),r("UnraidSvgUtilNewWindow",{staticClass:"opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1)]):t._e()]),t.computedError?t._e():r("li",{key:"current-server",staticClass:"w-full py-8px px-16px flex flex-row items-center",class:{"text-beta":"online"===t.currentServerStatus,"text-orange cursor-not-allowed":"online"!==t.currentServerStatus},attrs:{title:t.$t("upc.myServers.accessLabels.current")+" • "+("online"!==t.currentServerStatus?t.$t("upc.myServers.mothership.notConnected"):t.$t("upc.myServers.mothership.connected"))}},["online"!==t.currentServerStatus?r("UnraidSvgUiWarningFill",{staticClass:"fill-current w-12px h-12px"}):r("UnraidSvgUtilCheck",{staticClass:"fill-current w-12px h-12px"}),r("span",{staticClass:"ml-8px select-all"},[t._v(t._s(t.currentServer?t.currentServer.name:t.servername))])],1),r("transition-group",{attrs:{name:"fade",mode:"out-in"}},[t.myServersLoading?r("UnraidLoading",{key:"gql-loading",staticClass:"w-36px my-8px mx-auto",attrs:{height:21,title:t.$t("upc.myServers.loading")}}):t._l(t.filteredServers,(function(e,n){return r("li",{key:"filteredServer_"+n},["online"===e.status&&t.wanip!==e.wanip&&e.remoteurl?r("a",{staticClass:"w-full flex flex-row items-center",attrs:{href:e.remoteurl,tabindex:"0",title:t.$t("upc.myServers.accessLabels.remote")}},[r("span",{staticClass:"block w-12px h-12px mr-8px bg-green rounded-full"}),r("span",{staticClass:"select-all"},[t._v(t._s(e.name))])]):"online"===e.status&&t.wanip===e.wanip&&e.localurl?r("a",{staticClass:"w-full flex flex-row items-center",attrs:{href:e.localurl,tabindex:"0",title:t.$t("upc.myServers.accessLabels.local")}},[r("span",{staticClass:"block w-12px h-12px mr-8px bg-green rounded-full"}),r("span",{staticClass:"select-all"},[t._v(t._s(e.name))])]):"never_connected"!==e.status?r("span",{staticClass:"w-full flex flex-row items-center px-16px py-8px opacity-50 cursor-not-allowed",attrs:{title:"online"===e.status?t.$t("upc.myServers.accessLabels.unavailable"):t.$t("upc.myServers.accessLabels.offline")}},[r("span",{staticClass:"text-red text-14px w-12px mr-8px"},[t._v("×")]),r("span",{staticClass:"select-all"},[t._v(t._s(e.name))])]):t._e()])}))],2)],1)])}),[],!1,null,null,null,!0).exports,Xi=r("5a0c"),Zi=r.n(Xi);const to=(t,e,r,n,i,o,a)=>({years:t,months:e,days:r,hours:n,minutes:i,seconds:o,firstDateWasLater:a});var eo=(t,e,r)=>{let n,i=Zi()(t),o=Zi()(e);if(i.isSame(o))return r?to(0,0,0,0,0,0,!1):"";if(i.isAfter(o)){const t=i;i=o,o=t,n=!0}else n=!1;let a=o.year()-i.year(),s=o.month()-i.month(),c=o.date()-i.date(),u=o.hour()-i.hour(),l=o.minute()-i.minute(),p=o.second()-i.second();if(p<0&&(p=60+p,l-=1),l<0&&(l=60+l,u-=1),u<0&&(u=24+u,c-=1),c<0){const t=Zi()(`${o.year()}-${o.month()+1}`).subtract(1,"M").daysInMonth();c=t{const r=t?Zi()(parseInt(t,10)):Zi()(),n=e?Zi()(parseInt(e,10)):Zi()();return eo(r,n,!0)};var no=(t,e)=>e?ro(t,""):ro("",t),io=r("23ad"),oo=r.n(io);r("e072"),r("6210"),r("e5b7");const ao=document.getElementsByTagName("unraid-user-profile")[0];if(ao){const t=ao.getAttribute("locale").slice(0,2);Zi.a.locale(t),Dt.debug("[formatDate] dayjs.locale()",Zi.a.locale())}Zi.a.extend(oo.a);var so,co=t=>Zi()(parseInt(t,10)).format("llll"),uo=g({data:()=>({interval:null,parsedUptime:"",parsedExpireTime:"",dateStrings:{year:mt.tc("year"),years:mt.tc("years"),month:mt.tc("month"),months:mt.tc("months"),day:mt.tc("day"),days:mt.tc("days"),hour:mt.tc("hour"),hours:mt.tc("hours"),minute:mt.tc("minute"),minutes:mt.tc("minutes"),second:mt.tc("second"),seconds:mt.tc("seconds"),firstDateWasLater:mt.tc("ago"),delimiter:" "}}),props:{expiretime:{type:[Number,String],default:null},uptime:{type:[Number,String],default:null}},computed:{...Object(b.e)(["registered","state"]),...Object(b.c)(["stateData"]),formattedUptime(){return co(this.uptime)},formattedExpireTime(){return co(this.expiretime)}},methods:{pluralize(t,e){return`${t} ${this.dateStrings[e+(1===t?"":"s")]}`},buildStringFromValues({years:t,months:e,days:r,hours:n,minutes:i,seconds:o,firstDateWasLater:a,displaySecondsInStringReturn:s}){const c=[];return t&&c.push(this.pluralize(t,"year")),e&&c.push(this.pluralize(e,"month")),r&&c.push(this.pluralize(r,"day")),n&&c.push(this.pluralize(n,"hour")),i&&c.push(this.pluralize(i,"minute")),!o||(t||e||r||n||i)&&!s||c.push(this.pluralize(o,"second")),a&&c.push(this.dateStrings.firstDateWasLater),c.join(this.dateStrings.delimiter)},runTimeDiff(){this.uptime&&(this.parsedUptime=this.buildStringFromValues(no(this.uptime,!0))),this.expiretime&&(this.parsedExpireTime=this.buildStringFromValues(no(this.expiretime,!1)))},letsGo(){this.runTimeDiff(),this.interval=setInterval(()=>{this.runTimeDiff()},1e3)}},created(){this.letsGo()},beforeDestroy(){clearInterval(this.interval)}},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"text-gamma text-12px text-right font-semibold leading-normal flex flex-row items-baseline justify-end pr-16px pt-4px"},["EEXPIRED"===t.state?r("p",{attrs:{title:t.$t("upc.meta.trial.expired.date",{date:t.formattedExpireTime})}},[t._v(" "+t._s(t.$t("upc.meta.trial.expired.timeDiff",{timeDiff:t.parsedExpireTime}))+" ")]):this.expiretime>0?r("p",{attrs:{title:t.$t("upc.meta.trial.active.date",{date:t.formattedExpireTime})}},[t._v(" "+t._s(t.$t("upc.meta.trial.active.timeDiff",{timeDiff:t.parsedExpireTime}))+" ")]):r("p",{staticClass:"select-all",attrs:{title:t.$t("upc.meta.uptime.date",{date:t.formattedUptime})}},[t._v(" "+t._s(t.$t("upc.meta.uptime.readable",{timeDiff:t.parsedUptime}))+" ")]),r("span",{staticClass:"px-12px"},[t._v("•")]),t.registered&&t.stateData.actions.includes("upgrade")?r("button",{staticClass:"text-12px text-gamma hover:text-alpha focus:text-alpha font-semibold transition-colors duration-150 ease-in-out border-t-0 border-l-0 border-r-0 border-b-2 border-transparent hover:border-orange-dark focus:border-orange-dark focus:outline-none",attrs:{title:t.$t("upc.opensNewHttpsWindow.upgrade")},on:{click:function(e){return t.$emit("upgrade")}}},[r("h5",[t._v("Unraid OS "),r("em",[r("strong",[t._v(t._s(t.stateData.humanReadable))])])])]):r("h5",[t._v("Unraid OS "),r("em",{class:{"text-red":t.stateData.error||"EEXPIRED"===t.state}},[r("strong",[t._v(t._s(t.stateData.humanReadable))])])]),t.registered&&t.stateData.actions.includes("purchase")?r("button",{staticClass:"text-12px text-orange-dark font-semibold hover:text-alpha focus:text-alpha ml-12px transition-colors duration-150 ease-in-out border-t-0 border-l-0 border-r-0 border-b-2 border-transparent hover:border-orange-dark focus:border-orange-dark focus:outline-none",attrs:{title:t.$t("upc.opensNewHttpsWindow.purchase")},on:{click:function(e){return t.$emit("purchase")}}},[t._v(t._s(t.$t("actions.purchase")))]):t._e()])}),[],!1,null,null,null,!0).exports,lo="6.5.1",po=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){so=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e2?e[2]:void 0;if(n){var i=_o,o=String(n);_o=o,Oo("history",{from:i,to:o})}return t.apply(this,e)}}}();break;case"error":Ro=wo.onerror,wo.onerror=function(t,e,r,n,i){return Oo("error",{column:n,error:i,line:r,msg:t,url:e}),!!Ro&&Ro.apply(this,arguments)};break;case"unhandledrejection":Do=wo.onunhandledrejection,wo.onunhandledrejection=function(t){return Oo("unhandledrejection",t),!Do||Do.apply(this,arguments)};break;default:wn.warn("unknown instrumentation type:",t)}}function So(t){t&&"string"==typeof t.type&&"function"==typeof t.callback&&(xo[t.type]=xo[t.type]||[],xo[t.type].push(t.callback),ko(t.type))}function Oo(t,e){var r,n;if(t&&xo[t])try{for(var i=Object(_e.i)(xo[t]||[]),o=i.next();!o.done;o=i.next()){var a=o.value;try{a(e)}catch(e){wn.error("Error while triggering instrumentation handler.\nType: "+t+"\nName: "+Object(vo.a)(a)+"\nError: "+e)}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function To(t){return void 0===t&&(t=[]),"Request"in wo&&Object(En.g)(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function jo(t){return void 0===t&&(t=[]),"string"==typeof t[0]?t[0]:"Request"in wo&&Object(En.g)(t[0],Request)?t[0].url:String(t[0])}var Co,Io;function Ao(t,e){return void 0===e&&(e=!1),function(r){if(r&&Io!==r&&!function(t){if("keypress"!==t.type)return!1;try{var e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(t){}return!0}(r)){var n="keypress"===r.type?"input":r.type;(void 0===Co||function(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(t){}return!1}(Io,r))&&(t({event:r,name:n,global:e}),Io=r),clearTimeout(Co),Co=wo.setTimeout((function(){Co=void 0}),1e3)}}}var Ro=null;var Do=null;var No=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){return t.__proto__=e,t}:function(t,e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r]);return t});var Po=function(t){function e(e){var r=this.constructor,n=t.call(this,e)||this;return n.message=e,n.name=r.prototype.constructor.name,No(n,r.prototype),n}return Object(_e.c)(e,t),e}(Error),Mo=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,Lo="Invalid Dsn",Uo=function(){function t(t){"string"==typeof t?this._fromString(t):this._fromComponents(t),this._validate()}return t.prototype.toString=function(t){void 0===t&&(t=!1);var e=this,r=e.host,n=e.path,i=e.pass,o=e.port,a=e.projectId;return e.protocol+"://"+e.publicKey+(t&&i?":"+i:"")+"@"+r+(o?":"+o:"")+"/"+(n?n+"/":n)+a},t.prototype._fromString=function(t){var e=Mo.exec(t);if(!e)throw new Po(Lo);var r=Object(_e.e)(e.slice(1),6),n=r[0],i=r[1],o=r[2],a=void 0===o?"":o,s=r[3],c=r[4],u=void 0===c?"":c,l="",p=r[5],d=p.split("/");if(d.length>1&&(l=d.slice(0,-1).join("/"),p=d.pop()),p){var f=p.match(/^\d+/);f&&(p=f[0])}this._fromComponents({host:s,pass:a,path:l,projectId:p,port:u,protocol:n,publicKey:i})},t.prototype._fromComponents=function(t){"user"in t&&!("publicKey"in t)&&(t.publicKey=t.user),this.user=t.publicKey||"",this.protocol=t.protocol,this.publicKey=t.publicKey||"",this.pass=t.pass||"",this.host=t.host,this.port=t.port||"",this.path=t.path||"",this.projectId=t.projectId},t.prototype._validate=function(){var t=this;if(["protocol","publicKey","host","projectId"].forEach((function(e){if(!t[e])throw new Po(Lo+": "+e+" missing")})),!this.projectId.match(/^\d+$/))throw new Po(Lo+": Invalid projectId "+this.projectId);if("http"!==this.protocol&&"https"!==this.protocol)throw new Po(Lo+": Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new Po(Lo+": Invalid port "+this.port)},t}(),Fo=[];function $o(t){return t.reduce((function(t,e){return t.every((function(t){return e.name!==t.name}))&&t.push(e),t}),[])}function Vo(t){var e={};return function(t){var e=t.defaultIntegrations&&Object(_e.g)(t.defaultIntegrations)||[],r=t.integrations,n=Object(_e.g)($o(e));Array.isArray(r)?n=Object(_e.g)(n.filter((function(t){return r.every((function(e){return e.name!==t.name}))})),$o(r)):"function"==typeof r&&(n=r(n),n=Array.isArray(n)?n:[n]);var i=n.map((function(t){return t.name})),o="Debug";return-1!==i.indexOf(o)&&n.push.apply(n,Object(_e.g)(n.splice(i.indexOf(o),1))),n}(t).forEach((function(t){e[t.name]=t,function(t){-1===Fo.indexOf(t.name)&&(t.setupOnce(Tn,Nn),Fo.push(t.name),wn.log("Integration installed: "+t.name))}(t)})),e}var zo,qo=function(){function t(t,e){this._integrations={},this._processing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=new Uo(e.dsn))}return t.prototype.captureException=function(t,e,r){var n=this,i=e&&e.event_id;return this._process(this._getBackend().eventFromException(t,e).then((function(t){return n._captureEvent(t,e,r)})).then((function(t){i=t}))),i},t.prototype.captureMessage=function(t,e,r,n){var i=this,o=r&&r.event_id,a=Object(En.i)(t)?this._getBackend().eventFromMessage(String(t),e,r):this._getBackend().eventFromException(t,r);return this._process(a.then((function(t){return i._captureEvent(t,r,n)})).then((function(t){o=t}))),o},t.prototype.captureEvent=function(t,e,r){var n=e&&e.event_id;return this._process(this._captureEvent(t,e,r).then((function(t){n=t}))),n},t.prototype.captureSession=function(t){"string"!=typeof t.release?wn.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1}))},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.flush=function(t){var e=this;return this._isClientProcessing(t).then((function(r){return e._getBackend().getTransport().close(t).then((function(t){return r&&t}))}))},t.prototype.close=function(t){var e=this;return this.flush(t).then((function(t){return e.getOptions().enabled=!1,t}))},t.prototype.setupIntegrations=function(){this._isEnabled()&&(this._integrations=Vo(this._options))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return wn.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(t,e){var r,n,i,o=!1,a=!1,s=e.exception&&e.exception.values;if(s){a=!0;try{for(var c=Object(_e.i)(s),u=c.next();!u.done;u=c.next()){var l=u.value.mechanism;if(l&&!1===l.handled){o=!0;break}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}}var p=e.user;if(!t.userAgent){var d=e.request?e.request.headers:{};for(var f in d)if("user-agent"===f.toLowerCase()){i=d[f];break}}t.update(Object(_e.a)(Object(_e.a)({},o&&{status:pn.Crashed}),{user:p,userAgent:i,errors:t.errors+Number(a||o)})),this.captureSession(t)},t.prototype._sendSession=function(t){this._getBackend().sendSession(t)},t.prototype._isClientProcessing=function(t){var e=this;return new kn((function(r){var n=0,i=setInterval((function(){0==e._processing?(clearInterval(i),r(!0)):(n+=1,t&&n>=t&&(clearInterval(i),r(!1)))}),1)}))},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},t.prototype._prepareEvent=function(t,e,r){var n=this,i=this.getOptions().normalizeDepth,o=void 0===i?3:i,a=Object(_e.a)(Object(_e.a)({},t),{event_id:t.event_id||(r&&r.event_id?r.event_id:Object(mn.i)()),timestamp:t.timestamp||Object(vn.a)()});this._applyClientOptions(a),this._applyIntegrationsMetadata(a);var s=e;r&&r.captureContext&&(s=Sn.clone(s).update(r.captureContext));var c=kn.resolve(a);return s&&(c=s.applyToEvent(a,r)),c.then((function(t){return"number"==typeof o&&o>0?n._normalizeEvent(t,o):t}))},t.prototype._normalizeEvent=function(t,e){if(!t)return null;var r=Object(_e.a)(Object(_e.a)(Object(_e.a)(Object(_e.a)(Object(_e.a)({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(t){return Object(_e.a)(Object(_e.a)({},t),t.data&&{data:Object(jn.d)(t.data,e)})}))}),t.user&&{user:Object(jn.d)(t.user,e)}),t.contexts&&{contexts:Object(jn.d)(t.contexts,e)}),t.extra&&{extra:Object(jn.d)(t.extra,e)});return t.contexts&&t.contexts.trace&&(r.contexts.trace=t.contexts.trace),r},t.prototype._applyClientOptions=function(t){var e=this.getOptions(),r=e.environment,n=e.release,i=e.dist,o=e.maxValueLength,a=void 0===o?250:o;"environment"in t||(t.environment="environment"in e?r:"production"),void 0===t.release&&void 0!==n&&(t.release=n),void 0===t.dist&&void 0!==i&&(t.dist=i),t.message&&(t.message=Object(fo.d)(t.message,a));var s=t.exception&&t.exception.values&&t.exception.values[0];s&&s.value&&(s.value=Object(fo.d)(s.value,a));var c=t.request;c&&c.url&&(c.url=Object(fo.d)(c.url,a))},t.prototype._applyIntegrationsMetadata=function(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=Object(_e.g)(t.sdk.integrations||[],e))},t.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},t.prototype._captureEvent=function(t,e,r){return this._processEvent(t,e,r).then((function(t){return t.event_id}),(function(t){wn.error(t)}))},t.prototype._processEvent=function(t,e,r){var n=this,i=this.getOptions(),o=i.beforeSend,a=i.sampleRate;if(!this._isEnabled())return kn.reject(new Po("SDK not enabled, will not send event."));var s="transaction"===t.type;return!s&&"number"==typeof a&&Math.random()>a?kn.reject(new Po("Discarding event because it's not included in the random sample (sampling rate = "+a+")")):this._prepareEvent(t,r,e).then((function(t){if(null===t)throw new Po("An event processor returned null, will not send event.");if(e&&e.data&&!0===e.data.__sentry__||s||!o)return t;var r=o(t,e);if(void 0===r)throw new Po("`beforeSend` method has to return `null` or a valid event.");return Object(En.m)(r)?r.then((function(t){return t}),(function(t){throw new Po("beforeSend rejected with "+t)})):r})).then((function(t){if(null===t)throw new Po("`beforeSend` returned `null`, will not send event.");var e=r&&r.getSession&&r.getSession();return!s&&e&&n._updateSessionFromEvent(e,t),n._sendEvent(t),t})).then(null,(function(t){if(t instanceof Po)throw t;throw n.captureException(t,{data:{__sentry__:!0},originalException:t}),new Po("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)}))},t.prototype._process=function(t){var e=this;this._processing+=1,t.then((function(t){return e._processing-=1,t}),(function(t){return e._processing-=1,t}))},t}();(function(t){t.Unknown="unknown",t.Skipped="skipped",t.Success="success",t.RateLimit="rate_limit",t.Invalid="invalid",t.Failed="failed"})(zo||(zo={})),function(t){t.fromHttpCode=function(e){return e>=200&&e<300?t.Success:429===e?t.RateLimit:e>=400&&e<500?t.Invalid:e>=500?t.Failed:t.Unknown}}(zo||(zo={}));var Bo,Go=function(){function t(){}return t.prototype.sendEvent=function(t){return kn.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:zo.Skipped})},t.prototype.close=function(t){return kn.resolve(!0)},t}(),Ho=function(){function t(t){this._options=t,this._options.dsn||wn.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new Po("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,r){throw new Po("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){this._transport.sendEvent(t).then(null,(function(t){wn.error("Error while sending event: "+t)}))},t.prototype.sendSession=function(t){this._transport.sendSession?this._transport.sendSession(t).then(null,(function(t){wn.error("Error while sending session: "+t)})):wn.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new Go},t}();(function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"})(Bo||(Bo={})),function(t){t.fromString=function(e){switch(e){case"debug":return t.Debug;case"info":return t.Info;case"warn":case"warning":return t.Warning;case"error":return t.Error;case"fatal":return t.Fatal;case"critical":return t.Critical;case"log":default:return t.Log}}}(Bo||(Bo={}));var Qo=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Yo=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Wo=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Ko=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Jo=/\((\S*)(?::(\d+))(?::(\d+))\)/,Xo=/Minified React error #\d+;/i;function Zo(t){var e=null,r=0;t&&("number"==typeof t.framesToPop?r=t.framesToPop:Xo.test(t.message)&&(r=1));try{if(e=function(t){if(!t||!t.stacktrace)return null;for(var e,r=t.stacktrace,n=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,i=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,o=r.split("\n"),a=[],s=0;s eval")>-1&&(e=Ko.exec(r[3]))?(r[1]=r[1]||"eval",r[3]=e[1],r[4]=e[2],r[5]=""):0!==a||r[5]||void 0===t.columnNumber||(i[0].column=t.columnNumber+1),n={url:r[3],func:r[1]||"?",args:r[2]?r[2].split(","):[],line:r[4]?+r[4]:null,column:r[5]?+r[5]:null}}!n.func&&n.line&&(n.func="?"),i.push(n)}return i.length?{message:ea(t),name:t.name,stack:i}:null}(t))return ta(e,r)}catch(t){}return{message:ea(t),name:t&&t.name,stack:[],failed:!0}}function ta(t,e){try{return Object(_e.a)(Object(_e.a)({},t),{stack:t.stack.slice(e)})}catch(e){return t}}function ea(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function ra(t){var e=ia(t.stack),r={type:t.name,value:t.message};return e&&e.length&&(r.stacktrace={frames:e}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function na(t){return{exception:{values:[ra(t)]}}}function ia(t){if(!t||!t.length)return[];var e=t,r=e[0].func||"",n=e[e.length-1].func||"";return-1===r.indexOf("captureMessage")&&-1===r.indexOf("captureException")||(e=e.slice(1)),-1!==n.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.slice(0,50).map((function(t){return{colno:null===t.column?void 0:t.column,filename:t.url||e[0].url,function:t.func||"?",in_app:!0,lineno:null===t.line?void 0:t.line}})).reverse()}function oa(t,e,r){var n;if(void 0===r&&(r={}),Object(En.e)(t)&&t.error)return n=na(Zo(t=t.error));if(Object(En.a)(t)||Object(En.b)(t)){var i=t,o=i.name||(Object(En.a)(i)?"DOMError":"DOMException"),a=i.message?o+": "+i.message:o;return n=aa(a,e,r),Object(mn.b)(n,a),"code"in i&&(n.tags=Object(_e.a)(Object(_e.a)({},n.tags),{"DOMException.code":""+i.code})),n}return Object(En.d)(t)?n=na(Zo(t)):Object(En.h)(t)||Object(En.f)(t)?(n=function(t,e,r){var n={exception:{values:[{type:Object(En.f)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:"Non-Error "+(r?"promise rejection":"exception")+" captured with keys: "+Object(jn.b)(t)}]},extra:{__serialized__:Object(jn.e)(t)}};if(e){var i=ia(Zo(e).stack);n.stacktrace={frames:i}}return n}(t,e,r.rejection),Object(mn.a)(n,{synthetic:!0}),n):(n=aa(t,e,r),Object(mn.b)(n,""+t,void 0),Object(mn.a)(n,{synthetic:!0}),n)}function aa(t,e,r){void 0===r&&(r={});var n={message:t};if(r.attachStacktrace&&e){var i=ia(Zo(e).stack);n.stacktrace={frames:i}}return n}function sa(t){if(t.metadata&&t.metadata.sdk){var e=t.metadata.sdk;return{name:e.name,version:e.version}}}function ca(t,e){return e?(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=Object(_e.g)(t.sdk.integrations||[],e.integrations||[]),t.sdk.packages=Object(_e.g)(t.sdk.packages||[],e.packages||[]),t):t}function ua(t,e){var r=sa(e),n="aggregates"in t?"sessions":"session";return{body:JSON.stringify(Object(_e.a)({sent_at:(new Date).toISOString()},r&&{sdk:r}))+"\n"+JSON.stringify({type:n})+"\n"+JSON.stringify(t),type:n,url:e.getEnvelopeEndpointWithUrlEncodedAuth()}}function la(t,e){var r=sa(e),n=t.type||"event",i="transaction"===n,o=t.debug_meta||{},a=o.transactionSampling,s=Object(_e.f)(o,["transactionSampling"]),c=a||{},u=c.method,l=c.rate;0===Object.keys(s).length?delete t.debug_meta:t.debug_meta=s;var p={body:JSON.stringify(r?ca(t,e.metadata.sdk):t),type:n,url:i?e.getEnvelopeEndpointWithUrlEncodedAuth():e.getStoreEndpointWithUrlEncodedAuth()};if(i){var d=JSON.stringify(Object(_e.a)({event_id:t.event_id,sent_at:(new Date).toISOString()},r&&{sdk:r}))+"\n"+JSON.stringify({type:t.type,sample_rates:[{id:u,rate:l}]})+"\n"+p.body;p.body=d}return p}var pa=function(){function t(t,e){void 0===e&&(e={}),this.dsn=t,this._dsnObject=new Uo(t),this.metadata=e}return t.prototype.getDsn=function(){return this._dsnObject},t.prototype.getBaseApiEndpoint=function(){var t=this._dsnObject,e=t.protocol?t.protocol+":":"",r=t.port?":"+t.port:"";return e+"//"+t.host+r+(t.path?"/"+t.path:"")+"/api/"},t.prototype.getStoreEndpoint=function(){return this._getIngestEndpoint("store")},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return this.getStoreEndpoint()+"?"+this._encodedAuth()},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return this._getEnvelopeEndpoint()+"?"+this._encodedAuth()},t.prototype.getStoreEndpointPath=function(){var t=this._dsnObject;return(t.path?"/"+t.path:"")+"/api/"+t.projectId+"/store/"},t.prototype.getRequestHeaders=function(t,e){var r=this._dsnObject,n=["Sentry sentry_version=7"];return n.push("sentry_client="+t+"/"+e),n.push("sentry_key="+r.publicKey),r.pass&&n.push("sentry_secret="+r.pass),{"Content-Type":"application/json","X-Sentry-Auth":n.join(", ")}},t.prototype.getReportDialogEndpoint=function(t){void 0===t&&(t={});var e=this._dsnObject,r=this.getBaseApiEndpoint()+"embed/error-page/",n=[];for(var i in n.push("dsn="+e.toString()),t)if("dsn"!==i)if("user"===i){if(!t.user)continue;t.user.name&&n.push("name="+encodeURIComponent(t.user.name)),t.user.email&&n.push("email="+encodeURIComponent(t.user.email))}else n.push(encodeURIComponent(i)+"="+encodeURIComponent(t[i]));return n.length?r+"?"+n.join("&"):r},t.prototype._getEnvelopeEndpoint=function(){return this._getIngestEndpoint("envelope")},t.prototype._getIngestEndpoint=function(t){return""+this.getBaseApiEndpoint()+this._dsnObject.projectId+"/"+t+"/"},t.prototype._encodedAuth=function(){var t={sentry_key:this._dsnObject.publicKey,sentry_version:"7"};return Object(jn.f)(t)},t}(),da=function(){function t(t){this._limit=t,this._buffer=[]}return t.prototype.isReady=function(){return void 0===this._limit||this.length()0&&r(!1)}),t);kn.all(e._buffer).then((function(){clearTimeout(n),r(!0)})).then(null,(function(){r(!0)}))}))},t}(),fa={event:"error",transaction:"transaction",session:"session",attachment:"attachment"},ha=function(){function t(t){this.options=t,this._buffer=new da(30),this._rateLimits={},this._api=new pa(t.dsn,t._metadata),this.url=this._api.getStoreEndpointWithUrlEncodedAuth()}return t.prototype.sendEvent=function(t){throw new Po("Transport Class has to implement `sendEvent` method")},t.prototype.close=function(t){return this._buffer.drain(t)},t.prototype._handleResponse=function(t){var e=t.requestType,r=t.response,n=t.headers,i=t.resolve,o=t.reject,a=zo.fromHttpCode(r.status);this._handleRateLimit(n)&&wn.warn("Too many requests, backing off until: "+this._disabledUntil(e)),a!==zo.Success?o(r):i({status:a})},t.prototype._disabledUntil=function(t){var e=fa[t];return this._rateLimits[e]||this._rateLimits.all},t.prototype._isRateLimited=function(t){return this._disabledUntil(t)>new Date(Date.now())},t.prototype._handleRateLimit=function(t){var e,r,n,i,o=Date.now(),a=t["x-sentry-rate-limits"],s=t["retry-after"];if(a){try{for(var c=Object(_e.i)(a.trim().split(",")),u=c.next();!u.done;u=c.next()){var l=u.value.split(":",2),p=parseInt(l[0],10),d=1e3*(isNaN(p)?60:p);try{for(var f=(n=void 0,Object(_e.i)(l[1].split(";"))),h=f.next();!h.done;h=f.next()){var m=h.value;this._rateLimits[m||"all"]=new Date(o+d)}}catch(t){n={error:t}}finally{try{h&&!h.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(e)throw e.error}}return!0}return!!s&&(this._rateLimits.all=new Date(o+Object(mn.g)(o,s)),!0)},t}();var ma=function(t){function e(e,r){void 0===r&&(r=function(){var t,e,r=Object(mn.e)();if(bo(r.fetch))return r.fetch.bind(r);var n=r.document,i=r.fetch;if("function"==typeof(null===(t=n)||void 0===t?void 0:t.createElement))try{var o=n.createElement("iframe");o.hidden=!0,n.head.appendChild(o),(null===(e=o.contentWindow)||void 0===e?void 0:e.fetch)&&(i=o.contentWindow.fetch),n.head.removeChild(o)}catch(t){wn.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return i.bind(r)}());var n=t.call(this,e)||this;return n._fetch=r,n}return Object(_e.c)(e,t),e.prototype.sendEvent=function(t){return this._sendRequest(la(t,this._api),t)},e.prototype.sendSession=function(t){return this._sendRequest(ua(t,this._api),t)},e.prototype._sendRequest=function(t,e){var r=this;if(this._isRateLimited(t.type))return Promise.reject({event:e,type:t.type,reason:"Transport locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429});var n={body:t.body,method:"POST",referrerPolicy:yo()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(n,this.options.fetchParameters),void 0!==this.options.headers&&(n.headers=this.options.headers),this._buffer.add(new kn((function(e,i){r._fetch(t.url,n).then((function(n){var o={"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")};r._handleResponse({requestType:t.type,response:n,headers:o,resolve:e,reject:i})})).catch(i)})))},e}(ha),va=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(_e.c)(e,t),e.prototype.sendEvent=function(t){return this._sendRequest(la(t,this._api),t)},e.prototype.sendSession=function(t){return this._sendRequest(ua(t,this._api),t)},e.prototype._sendRequest=function(t,e){var r=this;return this._isRateLimited(t.type)?Promise.reject({event:e,type:t.type,reason:"Transport locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429}):this._buffer.add(new kn((function(e,n){var i=new XMLHttpRequest;for(var o in i.onreadystatechange=function(){if(4===i.readyState){var o={"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")};r._handleResponse({requestType:t.type,response:i,headers:o,resolve:e,reject:n})}},i.open("POST",t.url),r.options.headers)r.options.headers.hasOwnProperty(o)&&i.setRequestHeader(o,r.options.headers[o]);i.send(t.body)})))},e}(ha),ga=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(_e.c)(e,t),e.prototype.eventFromException=function(t,e){return function(t,e,r){var n=oa(e,r&&r.syntheticException||void 0,{attachStacktrace:t.attachStacktrace});return Object(mn.a)(n,{handled:!0,type:"generic"}),n.level=Bo.Error,r&&r.event_id&&(n.event_id=r.event_id),kn.resolve(n)}(this._options,t,e)},e.prototype.eventFromMessage=function(t,e,r){return void 0===e&&(e=Bo.Info),function(t,e,r,n){void 0===r&&(r=Bo.Info);var i=aa(e,n&&n.syntheticException||void 0,{attachStacktrace:t.attachStacktrace});return i.level=r,n&&n.event_id&&(i.event_id=n.event_id),kn.resolve(i)}(this._options,t,e,r)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e=Object(_e.a)(Object(_e.a)({},this._options.transportOptions),{dsn:this._options.dsn,_metadata:this._options._metadata});return this._options.transport?new this._options.transport(e):go()?new ma(e):new va(e)},e}(Ho),ba=0;function ya(){return ba>0}function _a(){ba+=1,setTimeout((function(){ba-=1}))}function wa(t,e,r){if(void 0===e&&(e={}),"function"!=typeof t)return t;try{if(t.__sentry__)return t;if(t.__sentry_wrapped__)return t.__sentry_wrapped__}catch(e){return t}var n=function(){var n=Array.prototype.slice.call(arguments);try{r&&"function"==typeof r&&r.apply(this,arguments);var i=n.map((function(t){return wa(t,e)}));return t.handleEvent?t.handleEvent.apply(this,i):t.apply(this,i)}catch(t){throw _a(),$n((function(r){r.addEventProcessor((function(t){var r=Object(_e.a)({},t);return e.mechanism&&(Object(mn.b)(r,void 0,void 0),Object(mn.a)(r,e.mechanism)),r.extra=Object(_e.a)(Object(_e.a)({},r.extra),{arguments:n}),r})),Fn(t)})),t}};try{for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}catch(t){}t.prototype=t.prototype||{},n.prototype=t.prototype,Object.defineProperty(t,"__sentry_wrapped__",{enumerable:!1,value:n}),Object.defineProperties(n,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:t}});try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:function(){return t.name}})}catch(t){}return n}var xa=r("bc5b"),Ea=function(){function t(e){this.name=t.id,this._options=Object(_e.a)({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e)}return t.prototype.addSentryBreadcrumb=function(t){this._options.sentry&&Nn().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:Object(mn.d)(t)},{event:t})},t.prototype.setupOnce=function(){var t=this;this._options.console&&So({callback:function(){for(var e=[],r=0;r"}0!==e.length&&Nn().addBreadcrumb({category:"ui."+t.name,message:e},{event:t.event,name:t.name,global:t.global})},t.prototype._xhrBreadcrumb=function(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var e=t.xhr.__sentry_xhr__||{},r=e.method,n=e.url,i=e.status_code,o=e.body;Nn().addBreadcrumb({category:"xhr",data:{method:r,url:n,status_code:i},type:"http"},{xhr:t.xhr,input:o})}},t.prototype._fetchBreadcrumb=function(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?Nn().addBreadcrumb({category:"fetch",data:t.fetchData,level:Bo.Error,type:"http"},{data:t.error,input:t.args}):Nn().addBreadcrumb({category:"fetch",data:Object(_e.a)(Object(_e.a)({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))},t.prototype._historyBreadcrumb=function(t){var e=Object(mn.e)(),r=t.from,n=t.to,i=Object(mn.h)(e.location.href),o=Object(mn.h)(r),a=Object(mn.h)(n);o.path||(o=i),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),Nn().addBreadcrumb({category:"navigation",data:{from:r,to:n}})},t.id="Breadcrumbs",t}(),ka=function(t){function e(e){void 0===e&&(e={});return e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:lo}],version:lo},t.call(this,ga,e)||this}return Object(_e.c)(e,t),e.prototype.showReportDialog=function(t){void 0===t&&(t={}),Object(mn.e)().document&&(this._isEnabled()?function(t){if(void 0===t&&(t={}),t.eventId)if(t.dsn){var e=document.createElement("script");e.async=!0,e.src=new pa(t.dsn).getReportDialogEndpoint(t),t.onLoad&&(e.onload=t.onLoad),(document.head||document.body).appendChild(e)}else wn.error("Missing dsn option in showReportDialog call");else wn.error("Missing eventId option in showReportDialog call")}(Object(_e.a)(Object(_e.a)({},t),{dsn:t.dsn||this.getDsn()})):wn.error("Trying to call showReportDialog with Sentry Client disabled"))},e.prototype._prepareEvent=function(e,r,n){return e.platform=e.platform||"javascript",t.prototype._prepareEvent.call(this,e,r,n)},e.prototype._sendEvent=function(e){var r=this.getIntegration(Ea);r&&r.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},e}(qo),Sa=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Oa=function(){function t(e){this.name=t.id,this._options=Object(_e.a)({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=Object(mn.e)();(this._options.setTimeout&&Object(jn.c)(t,"setTimeout",this._wrapTimeFunction.bind(this)),this._options.setInterval&&Object(jn.c)(t,"setInterval",this._wrapTimeFunction.bind(this)),this._options.requestAnimationFrame&&Object(jn.c)(t,"requestAnimationFrame",this._wrapRAF.bind(this)),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&Object(jn.c)(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),this._options.eventTarget)&&(Array.isArray(this._options.eventTarget)?this._options.eventTarget:Sa).forEach(this._wrapEventTarget.bind(this))},t.prototype._wrapTimeFunction=function(t){return function(){for(var e=[],r=0;r0?e:Object(mn.f)();return 0===t.exception.values[0].stacktrace.frames.length&&t.exception.values[0].stacktrace.frames.push({colno:i,filename:a,function:"?",in_app:!0,lineno:o}),t},t.id="GlobalHandlers",t}(),ja=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._key=e.key||"cause",this._limit=e.limit||5}return t.prototype.setupOnce=function(){Tn((function(e,r){var n=Nn().getIntegration(t);return n?n._handler(e,r):e}))},t.prototype._handler=function(t,e){if(!(t.exception&&t.exception.values&&e&&Object(En.g)(e.originalException,Error)))return t;var r=this._walkErrorTree(e.originalException,this._key);return t.exception.values=Object(_e.g)(r,t.exception.values),t},t.prototype._walkErrorTree=function(t,e,r){if(void 0===r&&(r=[]),!Object(En.g)(t[e],Error)||r.length+1>=this._limit)return r;var n=ra(Zo(t[e]));return this._walkErrorTree(t[e],e,Object(_e.g)([n],r))},t.id="LinkedErrors",t}(),Ca=Object(mn.e)(),Ia=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){Tn((function(e){var r,n,i;if(Nn().getIntegration(t)){if(!Ca.navigator&&!Ca.location&&!Ca.document)return e;var o=(null===(r=e.request)||void 0===r?void 0:r.url)||(null===(n=Ca.location)||void 0===n?void 0:n.href),a=(Ca.document||{}).referrer,s=(Ca.navigator||{}).userAgent,c=Object(_e.a)(Object(_e.a)(Object(_e.a)({},null===(i=e.request)||void 0===i?void 0:i.headers),a&&{Referer:a}),s&&{"User-Agent":s}),u=Object(_e.a)(Object(_e.a)({},o&&{url:o}),{headers:c});return Object(_e.a)(Object(_e.a)({},e),{request:u})}return e}))},t.id="UserAgent",t}(),Aa=[new i.InboundFilters,new i.FunctionToString,new Oa,new Ea,new Ta,new ja,new Ia];function Ra(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=Aa),void 0===t.release){var e=Object(mn.e)();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),function(t,e){var r;!0===e.debug&&wn.enable();var n=Nn();null===(r=n.getScope())||void 0===r||r.update(e.initialScope);var i=new t(e);n.bindClient(i)}(ka,t),t.autoSessionTracking&&function(){if(void 0!==Object(mn.e)().document){var t=Nn();"function"==typeof t.startSession&&"function"==typeof t.captureSession&&(t.startSession({ignoreDuration:!0}),t.captureSession(),So({callback:function(e){var r=e.from,n=e.to;void 0!==r&&r!==n&&(t.startSession({ignoreDuration:!0}),t.captureSession())},type:"history"}))}else wn.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}()}var Da=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^/]+?|)(\.[^./]*|))(?:[/]*)$/;function Na(t,e){var r=function(t){var e=Da.exec(t);return e?e.slice(1):[]}(t)[2];return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r}var Pa={activate:["activated","deactivated"],create:["beforeCreate","created"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]},Ma=/(?:^|[-_/])(\w)/g,La="anonymous component";var Ua=function(){function t(t){var e=this;this._componentsCache={},this._applyTracingHooks=function(t){if(!t.$options.$_sentryPerfHook){t.$options.$_sentryPerfHook=!0;var r=e._getComponentName(t),n="root"===r,i={},o=function(r){var n=Object(vn.c)();e._rootSpan?e._finishRootSpan(n):t.$once("hook:"+r,(function(){var t=Fa();t&&(e._rootSpan=t.startChild({description:"Application Render",op:"Vue"}))}))},a=function(n,o){var a=Array.isArray(e._options.tracingOptions.trackComponents)?e._options.tracingOptions.trackComponents.indexOf(r)>-1:e._options.tracingOptions.trackComponents,s=e._rootSpan||Fa();if(s&&a){var c=Object(vn.c)(),u=i[o];u?(u.finish(),e._finishRootSpan(c)):t.$once("hook:"+n,(function(){s&&(i[o]=s.startChild({description:"Vue <"+r+">",op:o}))}))}};e._options.tracingOptions.hooks.forEach((function(r){var i=Pa[r];i?i.forEach((function(i){var s=n?o.bind(e,i):a.bind(e,i,r),c=t.$options[i];Array.isArray(c)?t.$options[i]=Object(_e.g)([s],c):t.$options[i]="function"==typeof c?[s,c]:[s]})):wn.warn("Unknown hook: "+r)}))}},this._options=t}return t.prototype.setup=function(){this._attachErrorHandler(),("tracesSampleRate"in this._options||"tracesSampler"in this._options)&&this._startTracing()},t.prototype._getComponentName=function(t){if(!t)return La;if(t.$root===t)return"root";if(!t.$options)return La;if(t.$options.name)return t.$options.name;if(t.$options._componentTag)return t.$options._componentTag;if(t.$options.__file){var e=Na(t.$options.__file.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"),".vue");return this._componentsCache[e]||(this._componentsCache[e]=e.replace(Ma,(function(t,e){return e?e.toUpperCase():""})))}return La},t.prototype._finishRootSpan=function(t){var e=this;this._rootSpanTimer&&clearTimeout(this._rootSpanTimer),this._rootSpanTimer=setTimeout((function(){e._rootSpan&&(e._rootSpan.finish(t),e._rootSpan=void 0)}),this._options.tracingOptions.timeout)},t.prototype._startTracing=function(){var t=this._applyTracingHooks,e=setTimeout((function(){wn.warn("Didn't apply tracing hooks, make sure you call Sentry.init before initialzing Vue!")}),500);this._options.Vue.mixin({beforeCreate:function(){clearTimeout(e),t(this)}})},t.prototype._attachErrorHandler=function(){var t=this,e=this._options.Vue.config.errorHandler;this._options.Vue.config.errorHandler=function(r,n,i){var o={};if(n)try{o.componentName=t._getComponentName(n),t._options.attachProps&&(o.propsData=n.$options.propsData)}catch(t){wn.warn("Unable to extract metadata from Vue component.")}i&&(o.lifecycleHook=i),setTimeout((function(){Nn().withScope((function(t){t.setContext("vue",o),Nn().captureException(r)}))})),"function"==typeof e&&e.call(t._options.Vue,r,n,i),t._options.logErrors&&(t._options.Vue.util&&t._options.Vue.util.warn("Error in "+i+': "'+(r&&r.toString())+'"',n),console.error(r))}},t}();function Fa(){var t;return null===(t=Nn().getScope())||void 0===t?void 0:t.getTransaction()}var $a=r("50ca"),Va=r.n($a);const za=(t,e,r=(()=>!0))=>Va()(t,(n,i,o)=>{const a=e(i,o,t),s=r(i,o,t);return n[o]=!1!==s&&null!==a&&"object"==typeof a?za(a,e,r):a,n});var qa=()=>{Dt.debug("[initSentry] 👃"),function(t){void 0===t&&(t={});var e=Object(_e.a)(Object(_e.a)({Vue:Object(mn.e)().Vue,attachProps:!0,logErrors:!1,tracing:!1},t),{tracingOptions:Object(_e.a)({hooks:["activate","mount","update"],timeout:2e3,trackComponents:!1},t.tracingOptions)});e._metadata=e._metadata||{},e._metadata.sdk={name:"sentry.javascript.vue",packages:[{name:"npm:@sentry/vue",version:lo}],version:lo},Ra(e),void 0===e.Vue?(wn.warn("No Vue instance was provided. Also there is no Vue instance on the `window` object."),wn.warn("We will only capture global unhandled errors.")):new Ua(e).setup()}({Vue:o.default,autoSessionTracking:!1,attachProps:!0,logErrors:!0,environment:vt,dsn:"https://3e312a60dbdf450b9b8a65d956beb95b@o454915.ingest.sentry.io/5630840",sampleRate:1,ignoreErrors:["dynamix","webGui/javascript/dynamix","trigger(webGui/javascript/dynamix)","n.parseJSON(webGui/javascript/dynamix)","Object.success(Apps)","Object.success(Docker)","Object.success(Main)","Object.success(Plugins)","Object.success(Settings)","Object.success(Shares)","Object.success(Tools)","Object.success(Tools/Syslog)","checkPorts(Settings/ManagementAccess)","disable(Settings/openvpnclient)","community.applications","community-applications","plugins/community.applications/javascript/libraries","plugins","Docker","Tools","Honey.safariextension","validateForm(Settings/openvpnclient)","disable(Settings/openvpnclient)","getLibvirtSchema","initab(Main)","disableTest(Settings/Notifications)","failure(Settings/ManagementAccess)"],denyUrls:["https://[REDACTED]/webGui/javascript/dynamix.js",`https://${window.location.host}/webGui/javascript/dynamix.js`,"https://[REDACTED]/plugins/community.applications/javascript/libraries.js",`https://${window.location.host}/plugins/community.applications/javascript/libraries.js`],beforeSend(t,e){const r=window.location.host,n=za(t,(t,e)=>"object"==typeof t?t:((t,e,r)=>String(t).includes(e)?String(t).replace(e,r):t)(t,r,"[REDACTED]")),i=e.originalException;Dt.debug("[sentry.beforeSend] %o",i);const o="UNRAID_SENTRY_GUEST_PERMISSIONS_ISSUE",a=sessionStorage.getItem(o);return i&&i.message&&i.message.includes('guest doesn\'t have permission to access "servers"')?(Dt.debug("[SPECIAL • SENTRY] ✨✨✨"),a?null:(sessionStorage.setItem(o,1),n)):n}})};var Ba=g({i18n:mt,store:hi,name:"UserProfile",mixins:[Ci.mixin],components:{UnraidLogoMark:yi,KeyAction:$i,MetaInfo:uo,MyServers:Ji,UnraidSvgUtilSelect:Ai.a,UnraidSvgUtilNewWindow:Di.a,UnraidSvgUtilEdit:Pi.a,UnraidSvgUiWarning:Li.a},props:{serverstate:String,serverdesc:String,displaydesc:{type:String,default:""},servermodel:String,serverupdate:Boolean,banner:{type:String,default:""},theme:{type:String,default:"black"},textcolor:String,bgcolor:[String,Number],metacolor:String,uptime:[Number,String],expiretime:[Number,String],apikey:String,regWizTime:String,hideotherservers:{type:String,default:""},locale:String,localeMessages:String,sendCrashInfo:String,csrf:String,hideMyServers:{type:String,default:null},plgPath:String},data:()=>({NODE_ENV:vt,dropdownVisible:!1,dropdownTimeout:"",errorStateMessageVisible:!0,avatarFail:!1}),computed:{...Object(b.e)(["avatar","isLaunchpadOpen","isPopUpOpen","guid","guidRegistered","popUpWindow","regAtOpen","purchaseWindow","registered","servername","serverip","state","username","darkTheme","lightTheme","extendTrialPayload","recoverKeyPayload","replaceKeyPayload","signedOutWithKey","signInPayload","signUpPayload","troubleshootPayload","wizardWindow","messages","myServersEnv","triggerUPC"]),...Object(b.c)(["stateData"]),darkMode(){return"black"===this.theme||"azure"===this.theme},usernameButtonText(){return"ENOKEYFILE"===this.state?this.$t("getStarted"):this.stateData.error&&this.stateData.error.signInToFix&&!this.registered?this.$t("signIn"):this.stateData.error&&!this.stateData.error.signInToFix&&"EEXPIRED"===!this.state?this.$t("fixError"):this.registered?this.username:this.$t("signIn")},usernameButtonTitle(){return"ENOKEYFILE"===this.state?this.$t("getStarted"):this.stateData.error&&this.stateData.error.signInToFix&&!this.registered?this.$t("upc.signInActions.resolve"):this.stateData.error&&!this.stateData.error.signInToFix?this.$t("learnMore"):this.isPopUpOpen&&this.isLaunchpadOpen?this.$t("upc.confirmClosure"):this.isLaunchpadOpen?this.$t("closeLaunchpad"):"EEXPIRED"===this.state?this.registered?this.$t("upc.trialHasExpiredSeeOptions"):this.stateData.actions.includes("extend")?this.$t("upc.signInActions.purchaseKeyOrExtendTrial"):this.$t("upc.signInActions.purchaseKey"):this.registered&&this.dropdownVisible?this.$t("upc.closeDropdown"):this.registered&&!this.dropdownVisible?this.$t("upc.openDropdown"):this.$t("upc.opensNewHttpsWindow.signIn")},displayKeylineBelowActions(){return!!(this.stateData.actions.includes("purchase")||this.stateData.actions.includes("upgrade")||this.stateData.actions.includes("recover")||this.stateData.actions.includes("replace")||this.stateData.actions.includes("extend"))},extraLinks(){return[...!this.hideMyServers||this.stateData.error.message?[{url:"",text:"",external:!1}]:[],...this.hideMyServers?[]:[{url:this.myServersEnv?"https://forums.unraid.net/my-servers-staging/":"https://forums.unraid.net/my-servers/",text:this.$t("upc.extraLinks.myServers"),external:!0,title:this.$t("upc.extraLinks.newTab",[this.$t("upc.extraLinks.myServers")])}],{url:"https://forums.unraid.net/",text:this.$t("upc.extraLinks.forums"),external:!0,title:this.$t("upc.extraLinks.newTab",[this.$t("upc.extraLinks.forums")])},{url:"https://forums.unraid.net/discord/invite/general/",text:"Join Unraid Discord",external:!0,title:this.$t("upc.extraLinks.newTab",["Join Unraid Discord"])},{url:"/Settings/ManagementAccess#"+(this.plgPath?"MyServersSettings":"UnraidNetSettings"),text:this.$t("upc.extraLinks.settings.text"),settings:!0,title:this.$t("upc.extraLinks.settings.title")},...this.hideMyServers?[{url:"",text:"",external:!1},{url:"https://wiki.unraid.net/My_Servers",text:"Install My Servers Beta",external:!0,title:this.$t("upc.extraLinks.newTab",["Install My Servers Beta"])}]:[]]},devEnv(){let t=vt;const e="UPC_ENV=",r=document.cookie.split(";");for(let n=0;n{this.dropdownVisible=!1},1e3)},autoTriggerLaunchpad(){setTimeout(()=>{const t=`${this.servername}_${this.guid?this.guid.slice(-12):"NO_GUID"}`;sessionStorage.getItem(t)||"ENOKEYFILE"!==this.state||(sessionStorage.setItem(t,"またね"),this.isLaunchpadOpen||this.toggleLaunchpad())},100)},toggleLaunchpad(){const t="unraid-launchpad";if(!document.getElementsByTagName(t).length){const e=document.getElementsByTagName("body")[0],r=document.createElement(t);e.appendChild(r)}const e=()=>{this.dropdownVisible&&(this.dropdownVisible=!1),this.isPopUpOpen&&this.closePopUp(),this.SET_IS_LAUNCHPAD_OPEN(!this.isLaunchpadOpen)};this.isPopUpOpen&&this.isLaunchpadOpen?window.confirm(this.$t("upc.pleaseConfirmClosureYouHaveOpenPopUp"))&&e():e()},onAvatarError(){Dt.error("Avatar failed to load %s",this.avatar),this.avatarFail=!0},async initUserProfile(){if(this.setStateFromWebComponentProp(this.serverstate),!this.registered){const t=`Sign In to your Unraid.net account to perform license key actions${this.hideMyServers?"":" and to receive real-time server monitoring with My Servers"}.`,e="Learn more at https://wiki.unraid.net/My_Servers.",r=["color: white","background: linear-gradient(to right, #E22828 0%, #FF8C2F 100%)","font-size: 10px","padding: 4px"].join(";");Dt.log("%c"+t,r),Dt.log("%c"+e,r)}if(this.apikey&&this.SET_API_KEY(this.apikey),"yes"===this.sendCrashInfo&&(this.SET_SENTRY_ENABLED(!0),qa()),this.expiretime&&this.SET_EXPIRE_TIME(this.expiretime),this.regWizTime&&this.SET_REGWIZ_TIME(this.regWizTime),this.localeMessages){Dt.debug("[this.locale] %o",this.locale);const[t,e]=Tt(decodeURIComponent(this.localeMessages));t&&Dt.error("[initUserProfile.localeMessages] %s","Unable to set locale and locale messages"),this.$i18n.locale=this.locale,this.$i18n.setLocaleMessage(this.locale,e[this.locale]),Dt.debug(`[initUserProfile.$i18n] ${this.$i18n.locale} locale & messages set %o`,e[this.locale]),this.SET_LOCALE(this.locale)}this.csrf&&this.SET_CSRF(this.csrf),this.plgPath&&this.SET_PLG_PATH(this.plgPath),this.hideMyServers?this.SET_HIDE_MY_SERVERS(this.hideMyServers):await this.updateServerState(),this.signedOutWithKey&&this.regWizTime?await this.validateGuid():this.autoTriggerLaunchpad(),this.SET_DARK_MODE(this.darkMode),window.addEventListener("message",t=>{this.receivePostMessage({inject:!1,event:t})},!1)}},watch:{signedOutWithKey(t,e){t&&!e&&this.regWizTime&&this.validateGuid()},isPopUpOpen(t,e){this.isLaunchpadOpen&&!t&&e&&!this.regAtOpen&&this.registered&&this.SET_IS_LAUNCHPAD_OPEN(!1)},triggerUPC(t){t&&setTimeout(()=>{this.dropdownVisible=!0},150)}},created(){this.initUserProfile()},beforeMount(){const t=document.getElementsByTagName("body")[0];let{alpha:e,beta:r,gamma:n}=this.darkMode?this.darkTheme:this.lightTheme;this.textcolor&&(e=this.textcolor),this.bgcolor&&(r=this.bgcolor,t.style.setProperty("--color-customgradient-start",ji()(r,0)),t.style.setProperty("--color-customgradient-end",ji()(r,.9))),this.metacolor&&(n=this.metacolor),t.style.setProperty("--color-alpha",e),t.style.setProperty("--color-beta",r),t.style.setProperty("--color-gamma",n)}},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"UnraidUPC",class:{"--hasBanner-default":t.banner&&!t.bgcolor,"--hasBanner-custom":t.banner&&t.bgcolor},attrs:{id:"UnraidUPC"}},[t.isPopUpOpen&&!t.isLaunchpadOpen?r("div",{staticClass:"absolute z-10 inset-0 flex flex-col items-end justify-center pr-6"},[r("div",{staticClass:"text-center inline-flex flex-col items-center justify-center"},[r("button",{staticClass:"text-14px button button-alt",on:{click:function(e){return t.openPopUp()}}},[t._v(t._s(t.$t("backToPopUp")))]),r("button",{staticClass:"hover:underline text-12px mt-4px",on:{click:function(e){return t.closePopUp()}}},[t._v(t._s(t.$t("closePopUp")))])])]):t._e(),r("MetaInfo",{class:{"blur opacity-30 pointer-events-none transition-all duration-150 ease-in-out":t.isPopUpOpen&&!t.isLaunchpadOpen},attrs:{uptime:t.uptime,expiretime:t.expiretime},on:{purchase:function(e){return t.openPopUp(t.purchaseWindow)},upgrade:function(e){return t.openPopUp(t.purchaseWindow)},signin:function(e){return t.openPopUp(t.signInPayload)}}}),r("div",{staticClass:"relative z-0 flex flex-row items-center justify-end h-full",class:{"blur opacity-30 pointer-events-none transition-all duration-150 ease-in-out":t.isPopUpOpen&&!t.isLaunchpadOpen}},[r("h1",{staticClass:"text-18px border-t-0 border-r-0 border-l-0 border-b-2 border-transparent"},[t.displaydesc?[r("span",{attrs:{title:t.servermodel}},[t._v(t._s(t.serverdesc))]),r("span",{staticClass:"text-grey-mid px-8px"},[t._v("•")])]:t._e(),r("span",{attrs:{title:t.$t("lanIp",[t.serverip])}},[t._v(t._s(t.servername))])],2),r("div",{staticClass:"block w-2px h-24px ml-16px bg-grey-mid"}),r("div",{directives:[{name:"on-clickaway",rawName:"v-on-clickaway",value:t.closeDropdown,expression:"closeDropdown"}],staticClass:"relative flex items-center justify-end h-full",on:{mouseenter:function(e){return t.dropdownMouseEnter()},mouseleave:function(e){return t.dropdownMouseLeave()}}},[r("button",{staticClass:"UnraidUPC-username group text-18px hover:text-alpha focus:text-alpha border border-transparent flex flex-row justify-end items-center h-full px-16px outline-none focus:outline-none",class:{"text-orange-dark":t.isLaunchpadOpen||!t.username&&!t.stateData.error,"text-alpha":t.username&&!t.isLaunchpadOpen,"text-red":t.stateData.error},attrs:{title:t.usernameButtonTitle},on:{click:function(e){return t.usernameAvatarButton()}}},[t.stateData.error||"EEXPIRED"===t.state?r("UnraidSvgUiWarning",{staticClass:"text-red fill-current relative w-24px h-24px mr-8px"}):t._e(),r("span",{staticClass:"inline-flex items-center bg-transparent border-t-0 border-l-0 border-r-0 border-b-2 border-transparent group-hover:border-orange-dark group-focus:border-orange-dark transition-colors duration-150 ease-in-out"},[t._v(" "+t._s(t.usernameButtonText)+" "),t.registered&&!t.isLaunchpadOpen?r("UnraidSvgUtilSelect",{staticClass:"fill-current w-8px h-8px ml-8px"}):t._e()],1),r("span",{staticClass:"relative z-0 flex items-center justify-center w-36px h-36px ml-8px rounded-full",class:{"bg-transparent":t.registered&&!t.avatarFail,"bg-gradient-to-r from-red to-orange":!t.registered||t.avatarFail}},[t.registered&&!t.avatarFail?r("img",{staticClass:"absolute z-10 inset-0 w-36px h-36px rounded-full overflow-hidden",attrs:{src:t.avatar,alt:""+t.$t("upc.avatarAlt",[t.username])},on:{error:t.onAvatarError}}):r("UnraidLogoMark",{staticClass:"relative z-0 w-28px",attrs:{"gradient-start":"#fff","gradient-stop":"#fff"}})],1)],1),r("transition",{attrs:{name:"slideVerticalFade",mode:"out-in"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:t.dropdownVisible,expression:"dropdownVisible"}],staticClass:"UnraidUPC-dropdown",class:{"border-grey-darkest":t.darkMode,"border-grey-light":!t.darkMode}},[t.hideMyServers?t._e():r("header",{staticClass:"text-14px pt-16px px-16px rounded-t"},[r("h5",{staticClass:"text-18px leading-none inline-flex flex-row items-center"},[r("span",{staticClass:"font-semibold"},[t._v(t._s(t.$t("upc.myServers.heading")))]),r("span",{staticClass:"text-grey-mid text-10px uppercase ml-8px py-4px px-6px border-2 border-grey-mid rounded-full"},[t._v(t._s(t.$t("upc.myServers.beta")))]),t.myServersEnv?r("span",{staticClass:"ml-8px",attrs:{title:"API • "+t.myServersEnv}},[t._v("⚙️")]):t._e(),t.devEnv?r("span",{staticClass:"ml-8px",attrs:{title:t.devEnv}},[t._v("⚠️")]):t._e()])]),r("ul",{staticClass:"list-reset my-8px p-0"},["development"===t.NODE_ENV?[r("li",[r("KeyAction",{attrs:{text:"[DEV] Launchpad",external:!1},on:{click:function(e){return t.toggleLaunchpad()}}})],1),r("li",[r("KeyAction",{attrs:{text:"[DEV] Pop-up"},on:{click:function(e){return t.openPopUp(t.wizardWindow)}}})],1)]:t._e(),t.displayKeylineBelowActions?[r("li",[t.stateData.actions.includes("purchase")?r("KeyAction",{attrs:{text:t.$t("actions.purchase")},on:{click:function(e){return t.openPopUp(t.purchaseWindow)}}}):t._e(),t.stateData.actions.includes("upgrade")?r("KeyAction",{attrs:{text:t.$t("actions.upgrade")},on:{click:function(e){return t.openPopUp(t.purchaseWindow)}}}):t._e(),t.stateData.actions.includes("recover")?r("KeyAction",{attrs:{text:t.$t("actions.recover")},on:{click:function(e){return t.openPopUp(t.recoverKeyPayload)}}}):t._e(),t.stateData.actions.includes("replace")?r("KeyAction",{attrs:{text:t.$t("actions.replace")},on:{click:function(e){return t.openPopUp(t.replaceKeyPayload)}}}):t._e(),t.stateData.actions.includes("extend")?r("KeyAction",{attrs:{text:t.$t("actions.extend")},on:{click:function(e){return t.openPopUp(t.extendTrialPayload)}}}):t._e()],1),r("li",{staticClass:"my-8px mx-12px"},[r("hr",{staticClass:"w-full h-2px bg-gradient-to-r from-red to-orange shadow-none border-none rounded-none"})])]:t._e(),!t.hideMyServers||t.stateData.error.message?r("MyServers",{attrs:{hideMyServers:t.hideMyServers,errorStateMessageVisible:t.errorStateMessageVisible,hideotherservers:t.hideotherservers},on:{"contact-support":function(e){return t.openPopUp(t.troubleshootPayload)},"toggle-error":function(e){t.errorStateMessageVisible=!t.errorStateMessageVisible}}}):t._e(),t._l(t.extraLinks,(function(e,n){return[e.url?r("li",{key:n},[r("a",{staticClass:"flex flex-row items-center",attrs:{href:e.url,target:e.external?"_blank":"",title:e.title}},[e.external?r("UnraidSvgUtilNewWindow",{staticClass:"fill-current w-12px h-12px mr-8px"}):t._e(),e.settings?r("UnraidSvgUtilEdit",{staticClass:"fill-current w-12px h-12px mr-8px"}):t._e(),t._v(" "+t._s(e.text)+" ")],1)]):r("div",{key:n,staticClass:"mx-12px"},[r("hr",{staticClass:"w-full h-2px my-8px bg-gradient-to-r from-red to-orange shadow-none border-none rounded-none"})])]}))],2)])])],1)])],1)}),[],!1,(function(t){var e=r("e519");e.__inject__&&e.__inject__(t)}),null,null,!0).exports;window.customElements.define("unraid-authed",v(o.default,mi)),window.customElements.define("unraid-launchpad",v(o.default,Si)),window.customElements.define("unraid-upc-trigger",v(o.default,Oi)),window.customElements.define("unraid-user-profile",v(o.default,Ba))},"5d74":function(t,e,r){t.exports={options:{},ssr:function(t,e){var r=t.data,n=r.attrs,i=n.symbol,o=n.size,a=this.getAttributes(o);a&&(r.attrs=Object.assign({},r.attrs,a)),o&&delete r.attrs.size,i&&delete r.attrs.symbol;var s=r.class,c=r.staticClass||"";c+=s?Object.keys(s).join(" "):"",this.hasClass(c)||(r.staticClass=r.staticClass?r.staticClass+" "+this.options.class:this.options.class);var u=t.context.$createElement("use",{attrs:{href:this.getHref(i)}});Array.isArray(t.children)?t.children.push(u):t.children=[u]},install:function(t,e){void 0===e&&(e={}),this.options.class=e.class||"icon",this.options.url=void 0===e.url?"/assets/svg/sprite.svg":e.url;var r=this;t.directive("svg",{bind:function(t,e,n){var i=e.value||n.data.attrs.symbol,o=n.data.attrs&&n.data.attrs.size,a=r.getAttributes(o);a&&(t.setAttribute("viewBox",a.viewBox),t.setAttribute("width",a.width),t.setAttribute("height",a.height)),i&&t.removeAttribute("symbol"),o&&t.removeAttribute("size");var s=t.getAttribute("class");if(r.hasClass(s)||t.setAttribute("class",s?s+" "+r.options.class:r.options.class),!t||null===t.querySelector("use")){var c=document.createElementNS("http://www.w3.org/2000/svg","use"),u=r.getHref(i);c.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u),c.setAttribute("href",u),t.appendChild(c)}},update:function(t,e,n){var i=r.getHref(e.value||n.data.attrs.symbol),o=t&&t.querySelector("use");if(o){if(o.getAttribute("href")===i)return!1;var a=document.createElementNS("http://www.w3.org/2000/svg","use");a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i),a.setAttribute("href",i),t.replaceChild(a,o)}}})},getAttributes:function(t){if(!t)return null;var e=t.toString().replace(/( |, |,)/g," ").split(" "),r=e.length;if(3===r||r>4)return console.warn('[vue-svg-sprite] size: "'+t+'" is not valid'),null;var n=[];n[0]=r<4?0:e[0],n[1]=r<4?0:e[1];var i=n[2]=r<4?e[0]:e[2];return{height:n[3]=e[r-1],viewBox:n.join(" "),width:i}},hasClass:function(t){var e=this.options.class;return!!t&&t.split(" ").some((function(t){var r=t.split(/(-|_)/)[0];return-1!==r.indexOf(e)&&r.length===e.length}))},getHref:function(t){return""===this.options.url?"#"+t:this.options.url+"#"+t}}},"5e2e":function(t,e,r){var n=r("28c9"),i=r("69d5"),o=r("b4c0"),a=r("fba5"),s=r("67ca");function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var s=e.shift();s&&s.applyMiddleware.apply(i,[t,o])}else r(t)};o()}(a(e.middlewares),e)}))},t.prototype.use=function(t){var e=this;return t.map((function(t){if("function"!=typeof t.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");e.middlewares.push(t)})),this},t.prototype.getConnectionParams=function(t){return function(){return new Promise((function(e,r){if("function"==typeof t)try{return e(t.call(null))}catch(t){return r(t)}e(t)}))}},t.prototype.executeOperation=function(t,e){var r=this;null===this.client&&this.connect();var n=this.generateOperationId();return this.operations[n]={options:t,handler:e},this.applyMiddlewares(t).then((function(t){r.checkOperationOptions(t,e),r.operations[n]&&(r.operations[n]={options:t,handler:e},r.sendMessage(n,b.default.GQL_START,t))})).catch((function(t){r.unsubscribe(n),e(r.formatErrors(t))})),n},t.prototype.getObserver=function(t,e,r){return"function"==typeof t?{next:function(e){return t(e)},error:function(t){return e&&e(t)},complete:function(){return r&&r()}}:t},t.prototype.createMaxConnectTimeGenerator=function(){var t=this.minWsTimeout,e=this.wsTimeout;return new u({min:t,max:e,factor:1.2})},t.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},t.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},t.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},t.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},t.prototype.setInactivityTimeout=function(){var t=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout((function(){0===Object.keys(t.operations).length&&t.close()}),this.inactivityTimeout))},t.prototype.checkOperationOptions=function(t,e){var r=t.query,n=t.variables,i=t.operationName;if(!r)throw new Error("Must provide a query.");if(!e)throw new Error("Must provide an handler.");if(!p.default(r)&&!h.getOperationAST(r,i)||i&&!p.default(i)||n&&!d.default(n))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},t.prototype.buildMessage=function(t,e,r){return{id:t,type:e,payload:r&&r.query?n(n({},r),{query:"string"==typeof r.query?r.query:f.print(r.query)}):r}},t.prototype.formatErrors=function(t){return Array.isArray(t)?t:t&&t.errors?this.formatErrors(t.errors):t&&t.message?[t]:[{name:"FormatedError",message:"Unknown error",originalError:t}]},t.prototype.sendMessage=function(t,e,r){this.sendMessageRaw(this.buildMessage(t,e,r))},t.prototype.sendMessageRaw=function(t){switch(this.status){case this.wsImpl.OPEN:var e=JSON.stringify(t);try{JSON.parse(e)}catch(e){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+t))}this.client.send(e);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(t);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(t)))}},t.prototype.generateOperationId=function(){return String(++this.nextOperationId)},t.prototype.tryReconnect=function(){var t=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach((function(e){t.unsentMessagesQueue.push(t.buildMessage(e,b.default.GQL_START,t.operations[e].options))})),this.reconnecting=!0),this.clearTryReconnectTimeout();var e=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout((function(){t.connect()}),e)}},t.prototype.flushUnsentMessagesQueue=function(){var t=this;this.unsentMessagesQueue.forEach((function(e){t.sendMessageRaw(e)})),this.unsentMessagesQueue=[]},t.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},t.prototype.checkMaxConnectTimeout=function(){var t=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout((function(){t.status!==t.wsImpl.OPEN&&(t.reconnecting=!0,t.close(!1,!0))}),this.maxConnectTimeGenerator.duration())},t.prototype.connect=function(){var t,e=this;this.client=new((t=this.wsImpl).bind.apply(t,a([void 0,this.url,this.wsProtocols],this.wsOptionArguments))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(e,void 0,void 0,(function(){var t,e;return o(this,(function(r){switch(r.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return t=r.sent(),this.sendMessage(void 0,b.default.GQL_CONNECTION_INIT,t),this.flushUnsentMessagesQueue(),[3,4];case 3:return e=r.sent(),this.sendMessage(void 0,b.default.GQL_CONNECTION_ERROR,e),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}}))}))},this.client.onclose=function(){e.closedByUser||e.close(!1,!1)},this.client.onerror=function(t){e.eventEmitter.emit("error",t)},this.client.onmessage=function(t){var r=t.data;e.processReceivedData(r)}},t.prototype.processReceivedData=function(t){var e,r;try{r=(e=JSON.parse(t)).id}catch(e){throw new Error("Message must be JSON-parseable. Got: "+t)}if(-1===[b.default.GQL_DATA,b.default.GQL_COMPLETE,b.default.GQL_ERROR].indexOf(e.type)||this.operations[r])switch(e.type){case b.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(e.payload);break;case b.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected",e.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case b.default.GQL_COMPLETE:var i=this.operations[r].handler;delete this.operations[r],i.call(this,null,null);break;case b.default.GQL_ERROR:this.operations[r].handler(this.formatErrors(e.payload),null),delete this.operations[r];break;case b.default.GQL_DATA:var o=e.payload.errors?n(n({},e.payload),{errors:this.formatErrors(e.payload.errors)}):e.payload;this.operations[r].handler(null,o);break;case b.default.GQL_CONNECTION_KEEP_ALIVE:var a=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,a&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(r)},t.prototype.unsubscribe=function(t){this.operations[t]&&(delete this.operations[t],this.setInactivityTimeout(),this.sendMessage(t,b.default.GQL_STOP,void 0))},t}();e.SubscriptionClient=y}).call(this,r("c8ba"))},"642a":function(t,e,r){var n=r("966f"),i=r("3bb4"),o=r("20ec");t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},"656b":function(t,e,r){var n=r("e2e4"),i=r("f4d6");t.exports=function(t,e){for(var r=0,o=(e=n(e,t)).length;null!=t&&r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function p(){for(var t=[],e=0;e{const n=i.key(t)||i.value(e),a=r.some(e=>e.test(t))||o.some(t=>t.test(e));return n||a};return{map:e=>n(e).map((function(e){a(this.key,e)&&this.update(t)})),forEach:e=>{n(e).forEach((function(e){a(this.key,e)&&this.update(t)}))}}}},a190:function(t,e){t.exports={functional:!0,render(t,e){const{_c:r,_v:n,data:i,children:o=[]}=e,{class:a,staticClass:s,style:c,staticStyle:u,attrs:l={},...p}=i;return r("svg",{class:[a,s],style:[c,u],attrs:Object.assign({"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},l),...p},o.concat([r("path",{attrs:{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"}})]))}}},a2be:function(t,e,r){var n=r("d612"),i=r("4284"),o=r("c584");t.exports=function(t,e,r,a,s,c){var u=1&r,l=t.length,p=e.length;if(l!=p&&!(u&&p>l))return!1;var d=c.get(t),f=c.get(e);if(d&&f)return d==e&&f==t;var h=-1,m=!0,v=2&r?new n:void 0;for(c.set(t,e),c.set(e,t);++h1,i=!1,o=arguments[1],a=o;return new r((function(r){return e.subscribe({next:function(e){var o=!i;if(i=!0,!o||n)try{a=t(a,e)}catch(t){return r.error(t)}else a=e},error:function(t){r.error(t)},complete:function(){if(!i&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})}))}},{key:"concat",value:function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n=0&&i.splice(t,1),a()}});i.push(o)},error:function(t){n.error(t)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach((function(t){return t.unsubscribe()})),o.unsubscribe()}}))}},{key:l,value:function(){return this}}],[{key:"from",value:function(e){var r="function"==typeof this?this:t;if(null==e)throw new TypeError(e+" is not an object");var n=d(e,l);if(n){var i=n.call(e);if(Object(i)!==i)throw new TypeError(i+" is not an object");return function(t){return t instanceof x}(i)&&i.constructor===r?i:new r((function(t){return i.subscribe(t)}))}if(s("iterator")&&(n=d(e,u)))return new r((function(t){m((function(){if(!t.closed){var r=!0,i=!1,o=void 0;try{for(var a,s=n.call(e)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value;if(t.next(c),t.closed)return}}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}t.complete()}}))}));if(Array.isArray(e))return new r((function(t){m((function(){if(!t.closed){for(var r=0;r2)return"[Array]";for(var r=Math.min(10,t.length),n=t.length-r,i=[],o=0;o1&&i.push("... ".concat(n," more items")),"["+i.join(", ")+"]"}(t,r);return function(t,e){var r=Object.keys(t);return 0===r.length?"{}":e.length>2?"["+function(t){var e=Object.prototype.toString.call(t).replace(/^\[object /,"").replace(/]$/,"");if("Object"===e&&"function"==typeof t.constructor){var r=t.constructor.name;if("string"==typeof r&&""!==r)return r}return e}(t)+"]":"{ "+r.map((function(r){return r+": "+a(t[r],e)})).join(", ")+" }"}(t,r)}(t,e);default:return String(t)}}function s(t){var e=t[String(n.a)];return"function"==typeof e?e:"function"==typeof t.inspect?t.inspect:void 0}},b045:function(t,e){t.exports={functional:!0,render(t,e){const{_c:r,_v:n,data:i,children:o=[]}=e,{class:a,staticClass:s,style:c,staticStyle:u,attrs:l={},...p}=i;return r("svg",{class:[a,s],style:[c,u],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},l),...p},o.concat([r("path",{attrs:{"fill-rule":"evenodd",d:"M8 16A8 8 0 118 0a8 8 0 010 16zM6.989 3v2.002h2V3h-2zM7 13h2V7H7a405.483 405.483 0 000 6z"}})]))}}},b047:function(t,e){t.exports=function(t){return function(e){return t(e)}}},b1e5:function(t,e,r){var n=r("a994"),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,o,a,s){var c=1&r,u=n(t),l=u.length;if(l!=n(e).length&&!c)return!1;for(var p=l;p--;){var d=u[p];if(!(c?d in e:i.call(e,d)))return!1}var f=s.get(t),h=s.get(e);if(f&&h)return f==e&&h==t;var m=!0;s.set(t,e),s.set(e,t);for(var v=c;++p-1&&t%1==0&&t<=9007199254740991}},b2a0:function(t,e){t.exports={functional:!0,render(t,e){const{_c:r,_v:n,data:i,children:o=[]}=e,{class:a,staticClass:s,style:c,staticStyle:u,attrs:l={},...p}=i;return r("svg",{class:[a,s],style:[c,u],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},l),...p},o.concat([r("path",{attrs:{"fill-rule":"evenodd",d:"M5.362 8.44l3-3.027L3.618.626A6.32 6.32 0 0110.86 1.88c1.958 1.977 2.373 4.923 1.243 7.31L16 13.126V16h-3.15l-3.745-3.78a6.32 6.32 0 01-7.242-1.256C-.095 8.987-.51 6.04.62 3.654L5.362 8.44z"}})]))}}},b4c0:function(t,e,r){var n=r("cb5a");t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},b5a7:function(t,e,r){var n=r("0b07")(r("2b3e"),"DataView");t.exports=n},ba10:function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty,i="~";function o(){}function a(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function s(t,e,r,n,o){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new a(r,n||t,o),c=i?i+e:e;return t._events[c]?t._events[c].fn?t._events[c]=[t._events[c],s]:t._events[c].push(s):(t._events[c]=s,t._eventsCount++),t}function c(t,e){0==--t._eventsCount?t._events=new o:delete t._events[e]}function u(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),u.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)n.call(t,e)&&r.push(i?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},u.prototype.listeners=function(t){var e=i?i+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,o=r.length,a=new Array(o);n ".length,s=void 0;e&&n++<5&&!("html"===(s=o(e))||n>1&&i+r.length*a+s.length>=80);)r.push(s),i+=s.length,e=e.parentNode;return r.reverse().join(" > ")}catch(t){return""}}function o(t){var e,r,i,o,a,s=t,c=[];if(!s||!s.tagName)return"";if(c.push(s.tagName.toLowerCase()),s.id&&c.push("#"+s.id),(e=s.className)&&Object(n.k)(e))for(r=e.split(/\s+/),a=0;a-1&&t%1==0&&t=0;n--){var i=t[n];"."===i?t.splice(n,1):".."===i?(t.splice(n,1),r++):r&&(t.splice(n,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}function n(t,e){if(t.filter)return t.filter(e);for(var r=[],n=0;n=-1&&!i;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,i="/"===a.charAt(0))}return(i?"/":"")+(e=r(n(e.split("/"),(function(t){return!!t})),!i).join("/"))||"."},e.normalize=function(t){var o=e.isAbsolute(t),a="/"===i(t,-1);return(t=r(n(t.split("/"),(function(t){return!!t})),!o).join("/"))||o||(t="."),t&&a&&(t+="/"),(o?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(n(t,(function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,r){function n(t){for(var e=0;e=0&&""===t[r];r--);return e>r?[]:t.slice(e,r-e+1)}t=e.resolve(t).substr(1),r=e.resolve(r).substr(1);for(var i=n(t.split("/")),o=n(r.split("/")),a=Math.min(i.length,o.length),s=a,c=0;c=1;--o)if(47===(e=t.charCodeAt(o))){if(!i){n=o;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"/":t.slice(0,n)},e.basename=function(t,e){var r=function(t){"string"!=typeof t&&(t+="");var e,r=0,n=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){r=e+1;break}}else-1===n&&(i=!1,n=e+1);return-1===n?"":t.slice(r,n)}(t);return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r},e.extname=function(t){"string"!=typeof t&&(t+="");for(var e=-1,r=0,n=-1,i=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===n&&(i=!1,n=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!i){r=a+1;break}}return-1===e||-1===n||0===o||1===o&&e===n-1&&e===r+1?"":t.slice(e,n)};var i="b"==="ab".substr(-1)?function(t,e,r){return t.substr(e,r)}:function(t,e,r){return e<0&&(e=t.length+e),t.substr(e,r)}}).call(this,r("4362"))},e072:function(t,e,r){t.exports=function(t){"use strict";var e=function(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}(t),r={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),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("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{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"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(t){return t+"º"}};return e.default.locale(r,null,!0),r}(r("5a0c"))},e24b:function(t,e,r){var n=r("49f4"),i=r("1efc"),o=r("bbc0"),a=r("7a48"),s=r("2524");function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e"}try{s.currentTarget=Object(o.c)(a.currentTarget)?Object(i.a)(a.currentTarget):Object.prototype.toString.call(a.currentTarget)}catch(t){s.currentTarget=""}for(var n in"undefined"!=typeof CustomEvent&&Object(o.g)(t,CustomEvent)&&(s.detail=a.detail),a)Object.prototype.hasOwnProperty.call(a,n)&&(s[n]=a);return s}return t}function d(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}function f(t,e,r){void 0===e&&(e=3),void 0===r&&(r=102400);var n=v(t,e);return d(n)>r?f(t,e-1,r):n}function h(e,r){return"domain"===r&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===r?"[DomainEmitter]":void 0!==t&&e===t?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":Object(o.l)(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: "+Object(s.a)(e)+"]":"symbol"==typeof e?"["+String(e)+"]":"bigint"==typeof e?"[BigInt: "+String(e)+"]":e}function m(t,e,r,n){if(void 0===r&&(r=1/0),void 0===n&&(n=new a.a),0===r)return function(t){var e=Object.prototype.toString.call(t);if("string"==typeof t)return t;if("[object Object]"===e)return"[Object]";if("[object Array]"===e)return"[Array]";var r=h(t);return Object(o.i)(r)?r:e}(e);if(null!=e&&"function"==typeof e.toJSON)return e.toJSON();var i=h(e,t);if(Object(o.i)(i))return i;var s=p(e),c=Array.isArray(e)?[]:{};if(n.memoize(e))return"[Circular ~]";for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(c[u]=m(u,s[u],r-1,n));return n.unmemoize(e),c}function v(t,e){try{return JSON.parse(JSON.stringify(t,(function(t,r){return m(t,r,e)})))}catch(t){return"**non-serializable**"}}function g(t,e){void 0===e&&(e=40);var r=Object.keys(p(t));if(r.sort(),!r.length)return"[object has no keys]";if(r[0].length>=e)return Object(c.d)(r[0],e);for(var n=r.length;n>0;n--){var i=r.slice(0,n).join(", ");if(!(i.length>e))return n===r.length?i:Object(c.d)(i,e)}return""}function b(t){var e,r;if(Object(o.h)(t)){var i=t,a={};try{for(var s=Object(n.i)(Object.keys(i)),c=s.next();!c.done;c=s.next()){var u=c.value;void 0!==i[u]&&(a[u]=b(i[u]))}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}return a}return Array.isArray(t)?t.map(b):t}}).call(this,r("c8ba"))},eac5:function(t,e){var r=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},ec69:function(t,e,r){var n=r("6fcd"),i=r("03dd"),o=r("30c9");t.exports=function(t){return o(t)?n(t):i(t)}},edfa:function(t,e){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},ef5d:function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},ef7a:function(t,e,r){"use strict";r.r(e);var n=r("945a");for(var i in n)["default"].indexOf(i)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(i)},efb6:function(t,e,r){var n=r("5e2e");t.exports=function(){this.__data__=new n,this.size=0}},f153:function(t,e,r){"use strict";r.r(e);var n=r("10f4");for(var i in n)["default"].indexOf(i)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(i)},f404:function(t,e,r){"use strict";function n(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return m(t,Error)}}function i(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)}function o(t){return"[object DOMError]"===Object.prototype.toString.call(t)}function a(t){return"[object DOMException]"===Object.prototype.toString.call(t)}function s(t){return"[object String]"===Object.prototype.toString.call(t)}function c(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function u(t){return"[object Object]"===Object.prototype.toString.call(t)}function l(t){return"undefined"!=typeof Event&&m(t,Event)}function p(t){return"undefined"!=typeof Element&&m(t,Element)}function d(t){return"[object RegExp]"===Object.prototype.toString.call(t)}function f(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function h(t){return u(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function m(t,e){try{return t instanceof e}catch(t){return!1}}r.d(e,"d",(function(){return n})),r.d(e,"e",(function(){return i})),r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return a})),r.d(e,"k",(function(){return s})),r.d(e,"i",(function(){return c})),r.d(e,"h",(function(){return u})),r.d(e,"f",(function(){return l})),r.d(e,"c",(function(){return p})),r.d(e,"j",(function(){return d})),r.d(e,"m",(function(){return f})),r.d(e,"l",(function(){return h})),r.d(e,"g",(function(){return m}))},f4d6:function(t,e,r){var n=r("ffd6");t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},f608:function(t,e,r){var n=r("6747"),i=r("ffd6"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!i(t))||a.test(t)||!o.test(t)||null!=e&&t in Object(e)}},f6fd:function(t,e){!function(t){var e="currentScript",r=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(n){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(n.stack)||[!1])[1];for(t in r)if(r[t].src==e||"interactive"==r[t].readyState)return r[t];return null}}})}(document)},f71e:function(t,e,r){"use strict";t.exports=function(t,e){e||(e={}),"function"==typeof e&&(e={cmp:e});var r="boolean"==typeof e.cycles&&e.cycles,n=e.cmp&&function(t){return function(e){return function(r,n){var i={key:r,value:e[r]},o={key:n,value:e[n]};return t(i,o)}}}(e.cmp),i=[];return function t(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0!==e){if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!=typeof e)return JSON.stringify(e);var o,a;if(Array.isArray(e)){for(a="[",o=0;o"}return t.event_id||""}function u(t){var e=o();if(!("console"in e))return t();var r=e.console,n={};["debug","info","warn","error","log","assert"].forEach((function(t){t in e.console&&r[t].__sentry_original__&&(n[t]=r[t],r[t]=r[t].__sentry_original__)}));var i=t();return Object.keys(n).forEach((function(t){r[t]=n[t]})),i}function l(t,e,r){t.exception=t.exception||{},t.exception.values=t.exception.values||[],t.exception.values[0]=t.exception.values[0]||{},t.exception.values[0].value=t.exception.values[0].value||e||"",t.exception.values[0].type=t.exception.values[0].type||r||"Error"}function p(t,e){void 0===e&&(e={});try{t.exception.values[0].mechanism=t.exception.values[0].mechanism||{},Object.keys(e).forEach((function(r){t.exception.values[0].mechanism[r]=e[r]}))}catch(t){}}function d(){try{return document.location.href}catch(t){return""}}function f(t,e){if(!e)return 6e4;var r=parseInt(""+e,10);if(!isNaN(r))return 1e3*r;var n=Date.parse(""+e);return isNaN(n)?6e4:n-t}}).call(this,r("c8ba"))},f80d:function(t,e,r){"use strict";(function(t,n){function i(){return"[object process]"===Object.prototype.toString.call(void 0!==t?t:0)}function o(t,e){return t.require(e)}r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return o}))}).call(this,r("4362"),r("dd40")(t))},f9af:function(t,e,r){var n=r("6e8b");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=r("35d6").default;t.exports.__inject__=function(t){i("296e8e3a",n,t)}},f9ce:function(t,e,r){var n=r("ef5d"),i=r("e3f8"),o=r("f608"),a=r("f4d6");t.exports=function(t){return o(t)?n(a(t)):i(t)}},fac5:function(t,e,r){(e=r("24fb")(!1)).push([t.i,".unraid_sc_loader_2,.unraid_sc_loader_4{-webkit-animation:mark_2 1.5s ease infinite;animation:mark_2 1.5s ease infinite}.unraid_sc_loader_3{-webkit-animation:mark_3 1.5s ease infinite;animation:mark_3 1.5s ease infinite}.unraid_sc_loader_6,.unraid_sc_loader_8{-webkit-animation:mark_6 1.5s ease infinite;animation:mark_6 1.5s ease infinite}.unraid_sc_loader_7{-webkit-animation:mark_7 1.5s ease infinite;animation:mark_7 1.5s ease infinite}@-webkit-keyframes mark_2{50%{-webkit-transform:translateY(-40px);transform:translateY(-40px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes mark_2{50%{-webkit-transform:translateY(-40px);transform:translateY(-40px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes mark_3{50%{-webkit-transform:translateY(-62px);transform:translateY(-62px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes mark_3{50%{-webkit-transform:translateY(-62px);transform:translateY(-62px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes mark_6{50%{-webkit-transform:translateY(40px);transform:translateY(40px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes mark_6{50%{-webkit-transform:translateY(40px);transform:translateY(40px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes mark_7{50%{-webkit-transform:translateY(62px);transform:translateY(62px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes mark_7{50%{-webkit-transform:translateY(62px);transform:translateY(62px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}",""]),t.exports=e},fba5:function(t,e,r){var n=r("cb5a");t.exports=function(t){return n(this.__data__,t)>-1}},fbdd:function(t,e,r){"use strict";r.d(e,"d",(function(){return i})),r.d(e,"c",(function(){return o})),r.d(e,"b",(function(){return a})),r.d(e,"a",(function(){return s}));var n=r("f404");function i(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function o(t,e){var r=t,n=r.length;if(n<=150)return r;e>n&&(e=n);var i=Math.max(e-60,0);i<5&&(i=0);var o=Math.min(i+140,n);return o>n-5&&(o=n),o===n&&(i=Math.max(o-140,0)),r=r.slice(i,o),i>0&&(r="'{snip} "+r),o