(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-40595e00"],{"0167":function(t,e,n){"use strict";(function(t){var a=n("c7eb"),i=n("1da1");e["a"]={save:function(e,n){return Object(i["a"])(Object(a["a"])().mark((function i(){var s;return Object(a["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,t.post("monitors/".concat(n,"/badge"),e);case 2:return s=a.sent,a.abrupt("return",s.data);case 4:case"end":return a.stop()}}),i)})))()},list:function(){return Object(i["a"])(Object(a["a"])().mark((function e(){var n;return Object(a["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.get("monitors/badge/index");case 3:return n=e.sent,e.abrupt("return",n.data);case 7:return e.prev=7,e.t0=e["catch"](0),e.abrupt("return",!1);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})))()},get:function(e){return Object(i["a"])(Object(a["a"])().mark((function n(){var i;return Object(a["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,t.get("monitors/".concat(e,"/badge"));case 3:return i=n.sent,n.abrupt("return",i.data);case 7:return n.prev=7,n.t0=n["catch"](0),n.abrupt("return",!1);case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()},delete:function(e){return Object(i["a"])(Object(a["a"])().mark((function n(){var i;return Object(a["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.delete("monitors/".concat(e,"/badge"));case 2:return i=n.sent,n.abrupt("return",i.data);case 4:case"end":return n.stop()}}),n)})))()}}}).call(this,n("bc3a"))},"0761":function(t,e,n){},"1c49":function(t,e,n){"use strict";n("0761")},"1c5a":function(t,e,n){"use strict";n("7a73")},"204b":function(t,e,n){"use strict";n("72f7")},"21fb":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"StatusPagesList"},[0===t.user.badges_number?n("StatusBadgeOnboarding"):t._e(),t.user.badges_number>0?[n("div",{staticClass:"top"},[n("div",{staticClass:"page-header"},[t._v(" Status Badges ")]),t.user.role!==t.role.Viewer&&t.user.role!==t.role.Accountant?n("div",{staticClass:"right"},[n("base-button",{ref:"newStatusPageButton",staticClass:"addNew",attrs:{color:"primary",icon:t.isMobile?"IconAdd":null},on:{click:t.goToNewBadgePage}},[t._v(" "+t._s(t.isMobile?"":"Create Badge")+" ")])],1):t._e()]),n("BadgePageList",{on:{"set-badges-length":function(e){t.badgesLength=e}}}),n("div",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}]},[n("hint-limit-exceeded",{ref:"limitExceeded"})],1)]:t._e()],2)},i=[],s=n("a11d"),o=s["a"],r=(n("4815"),n("2877")),c=Object(r["a"])(o,a,i,!1,null,"076650f8",null);e["default"]=c.exports},"2a07":function(t,e,n){t.exports=n.p+"img/monkey.0a54c8c1.png"},"2e1a":function(t,e,n){"use strict";n("cb26")},3143:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.monitor?n("div",{staticClass:"MonitorLabel"},[t.showFavicon?n("a",{staticClass:"favicon",attrs:{href:t.monitor.url,target:"_blank"}},[n("img",{attrs:{src:t._f("favicon")(t.monitor.url)}})]):t._e(),t.labelIsLink?n("router-link",{staticClass:"title font-weight-5",class:t.titleClasses,attrs:{to:t.monitorRoute}},[t._v(t._s(t._f("monitorNameOrUrl")(t.monitor)))]):[n("span",{staticClass:"title",class:t.titleClasses},[t._v(" "+t._s(t._f("monitorNameOrUrl")(t.monitor))+" ")])]],2):t._e()},i=[],s={props:{monitor:{required:!0,type:Object},labelIsLink:{required:!1,type:Boolean,default:!0},showFavicon:{required:!1,type:Boolean,default:!0}},computed:{monitorRoute:function(){return{name:"BadgePage",params:{id:this.monitor.id}}},titleClasses:function(){return[{"ml-2":this.showFavicon}]}}},o=s,r=(n("2e1a"),n("2877")),c=Object(r["a"])(o,a,i,!1,null,"6e8e517a",null);e["a"]=c.exports},3315:function(t,e,n){},4815:function(t,e,n){"use strict";n("4994")},4994:function(t,e,n){},"65ba":function(t,e,n){},"65bc":function(t,e,n){"use strict";(function(t){var a=n("5530");n("14d9");e["a"]={methods:{goToMonitorList:function(){this.$router.push({name:"monitors.list"})},goToNewStatusBadge:function(){this.$router.push({name:"BadgePage",params:{id:0}})}},computed:Object(a["a"])({},t("authentication",["user"]))}}).call(this,n("2f62")["mapState"])},"72f7":function(t,e,n){},"7a36":function(t,e,n){"use strict";n("65ba")},"7a73":function(t,e,n){},"7cd5":function(t,e,n){"use strict";n("b616")},"84b2":function(t,e,n){"use strict";(function(t){var a=n("5530"),i=(n("fb6a"),n("8c1e")),s=n("c64d"),o=n("3143"),r=n("c1df"),c=n.n(r),l=n("f9dd");e["a"]={components:{BadgePageActions:i["a"],BadgeMonitorLabel:o["a"]},props:{badge:{required:!0,type:Object}},data:function(){return{role:s["a"],apiLink:"https://api.pulsetic.com/"}},mounted:function(){l["a"].init({badge:this.badge,element_id:"badge-preview-"+this.badge.id,mode:this.badgeMode})},computed:Object(a["a"])({badgeMode:function(){return"https://api.pulsetic.com/"===this.apiLink?"production":"https://dev.pulsetic.com/"===this.apiLink?"dev":"http://localhost:3400/"===this.apiLink?"local":"dev"},created_at:function(){return c()(this.badge.created_at).format("MMMM DD, YYYY")},updated_at:function(){for(var t=["years","months","weeks","days","hours","minutes","second"],e=0;e<t.length;e++){var n=c()().diff(c()(this.badge.updated_at),t[e]);if(e===t.length-1&&!n)return"1 second ago";if(n)return n+" "+(1===n?t[e].slice(0,-1):t[e])+" ago"}return""}},t("authentication",["user"]))}}).call(this,n("2f62")["mapState"])},"87f8":function(t,e,n){"use strict";(function(t){var a=n("5530");e["a"]={computed:Object(a["a"])({},t("authentication",["user"]))}}).call(this,n("2f62")["mapState"])},"8c1e":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"StatusPageActions"},[n("div",{ref:"dots",staticClass:"dots-button"},[n("icon-dots-horizontal",{attrs:{width:"16",height:"16",color:"rgb(178, 182, 195)"}})],1),n("div",{ref:"dropdown"},[n("nav",{staticClass:"nav"},[n("router-link",{staticClass:"nav-item",attrs:{to:t.editRoute}},[t._v("Edit")]),n("a",{staticClass:"nav-item",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.onDelete(e)}}},[t._v("Delete")])],1)])])},i=[],s=n("c7eb"),o=n("1da1"),r=n("6f9a"),c=n("3d20"),l=n.n(c),u=n("0167"),d={props:{badge:{required:!0,type:Object}},data:function(){return{tippyInstance:null}},mounted:function(){this.initDropdown()},methods:{initDropdown:function(){this.tippyInstance=Object(r["a"])(this.$refs.dots,{content:this.$refs.dropdown,interactive:!0,theme:"light-border",animation:"shift-away-subtle",placement:"left",arrow:!0,inertia:!0,trigger:"click",maxWidth:"none"})},onDelete:function(){var t=this;return Object(o["a"])(Object(s["a"])().mark((function e(){return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:l.a.fire({html:"<h4>Are you sure that you want to permanently delete this badge?</h4>",title:"",showClass:{popup:""},hideClass:{popup:""},showCancelButton:!0,confirmButtonColor:"#eb5757",cancelButtonColor:"#9ca3a1",confirmButtonText:"Delete",cancelButtonText:"Cancel"}).then(function(){var e=Object(o["a"])(Object(s["a"])().mark((function e(n){return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!0!==n.value){e.next=12;break}return e.prev=1,t.tippyInstance.hide(),e.next=5,u["a"].delete(t.badge.monitor_id);case 5:t.$emit("delete"),e.next=12;break;case 8:return e.prev=8,e.t0=e["catch"](1),e.next=12,l.a.fire({title:"Oops",text:"Something went wrong ",showClass:{popup:""},hideClass:{popup:""},allowOutsideClick:!0});case 12:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})))()}},computed:{editRoute:function(){return{name:"BadgePage",params:{id:this.badge.monitor_id}}}}},p=d,f=(n("7cd5"),n("2877")),m=Object(f["a"])(p,a,i,!1,null,"1f487e78",null);e["a"]=m.exports},"912c":function(t,e,n){"use strict";n("3315")},"99f7":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"ItemPlaceholderList"},t._l(t.placeholders,(function(t){return n("item-placeholder",{key:t.id})})),1)},i=[],s=(n("a9e3"),n("14d9"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"ItemPlaceholder"},[t._t("default")],2)}),o=[],r=(n("204b"),n("2877")),c={},l=Object(r["a"])(c,s,o,!1,null,"0ef69582",null),u=l.exports,d={components:{ItemPlaceholder:u},props:{numberOfPlaceholders:{required:!1,type:Number,default:3}},data:function(){return{placeholders:[]}},created:function(){for(var t=0;t<this.numberOfPlaceholders;t++)this.placeholders.push({id:t})}},p=d,f=Object(r["a"])(p,a,i,!1,null,null,null);e["a"]=f.exports},"9ca3":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"StatusPageOnboarding"},[a("img",{staticClass:"image",attrs:{src:n("2a07")}}),a("div",{staticClass:"intro"},[a("div",{staticClass:"title"},[t._v(" Status Badges ")]),0===t.user.monitors_number?[a("div",{staticClass:"description"},[t._v(" You don't have any monitors. You need to create at least one monitor to show on the Status Badge. ")]),a("base-button",{staticClass:"cta-button",attrs:{color:"primary"},on:{click:t.goToMonitorList}},[t._v("Create a Monitor ->")])]:t._e(),t.user.monitors_number>0?[a("div",{staticClass:"description"},[t._v(" Status Badges are used for displaying status of your sites to your client or your team. ")]),a("base-button",{staticClass:"cta-button",attrs:{color:"primary"},on:{click:t.goToNewStatusBadge}},[t._v("Add Status Badge")])]:t._e()],2)])},i=[],s=n("65bc"),o=s["a"],r=(n("1c49"),n("2877")),c=Object(r["a"])(o,a,i,!1,null,"65904478",null);e["a"]=c.exports},a11d:function(t,e,n){"use strict";(function(t){var a=n("5530"),i=(n("14d9"),n("bdf7")),s=n("9ca3"),o=n("d969"),r=n("c64d"),c=n("6f9a");e["a"]={components:{BadgePageList:i["a"],StatusBadgeOnboarding:s["a"],HintLimitExceeded:o["a"]},metaInfo:{title:"Status Badges"},data:function(){return{tippy:null,role:r["a"],badgesLength:null}},methods:{goToNewBadgePage:function(){this.$router.push({name:"BadgePage",params:{id:0}})},showTippy:function(){this.tippy&&this.tippy.destroy(),this.tippy=Object(c["a"])(this.$refs.newStatusPageButton.$el,{allowHTML:!0,content:this.$refs.limitExceeded.$el,interactive:!0,arrow:!1,placement:"bottom-end",trigger:"manual",theme:"big-padding",animation:"shift-away-extreme"}),this.tippy.show()}},computed:Object(a["a"])(Object(a["a"])({},t("authentication",["user"])),{},{isMobile:function(){return window.innerWidth<767}})}}).call(this,n("2f62")["mapState"])},b616:function(t,e,n){},bdf7:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.loading?n("item-placeholder-list"):t._e(),n("div",{staticClass:"StatusPageList"},t._l(t.badges,(function(e){return n("BadgePageItem",{key:e.id,attrs:{badge:e},on:{delete:t.loadStatusBadges}})})),1)],1)},i=[],s=n("c7eb"),o=n("1da1"),r=(n("d81d"),n("99f7")),c=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"StatusPageItem-wrapper"},[n("div",{staticClass:"StatusPageItem"},[n("div",{staticClass:"container-fluid"},[n("div",{staticClass:"row align-items-center justify-content-sm-between"},[n("div",[n("BadgeMonitorLabel",{attrs:{monitor:t.badge.monitor}})],1),n("div",{staticClass:"d-flex justify-content-end status"},[n("BadgePageActions",{attrs:{badge:t.badge},on:{delete:function(e){return t.$emit("delete")}}})],1)]),n("div",{staticClass:"badge-item-wrapper"},[n("div",{staticClass:"row align-items-center justify-content-sm-between badge-item-info"},[n("div",{staticClass:"badge-item-info-item"},[n("div",{staticClass:"badge-item-title"},[t._v("status")]),n("div",{class:{"badge-item-status-active":"Connected"===t.badge.monitor_status,"badge-item-status-inactive":"Inactive"===t.badge.monitor_status}},[t._v(" "+t._s(t.badge.status)+" ")])]),n("div",{staticClass:"badge-item-info-item"},[n("div",{staticClass:"badge-item-title"},[t._v("updated")]),n("div",{staticClass:"badge-item-date"},[t._v(" "+t._s(t.updated_at)+" ")])]),n("div",{staticClass:"badge-item-info-item"},[n("div",{staticClass:"badge-item-title"},[t._v("created")]),n("div",{staticClass:"badge-item-date"},[t._v(" "+t._s(t.created_at)+" ")])])])]),n("div",{staticClass:"badge-item-preview-wrapper"},[n("div",{attrs:{id:"badge-preview-"+t.badge.id}})])])])])},l=[],u=n("84b2"),d=u["a"],p=(n("7a36"),n("2877")),f=Object(p["a"])(d,c,l,!1,null,"0a98747c",null),m=f.exports,b=n("0167"),g={components:{ItemPlaceholderList:r["a"],BadgePageItem:m},data:function(){return{badges:[],loading:!1}},created:function(){this.loadStatusBadges()},methods:{loadStatusBadges:function(){var t=this;return Object(o["a"])(Object(s["a"])().mark((function e(){var n;return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loading=!0,t.badges=[],e.prev=2,e.next=5,b["a"].list();case 5:n=e.sent,t.badges=n.map((function(t){return t.status||(t.status="Inactive"),t})),t.$emit("set-badges-length",t.badges.length),t.loading=!1,e.next=15;break;case 11:e.prev=11,e.t0=e["catch"](2),t.$emit("set-badges-length",0),t.loading=!1;case 15:case"end":return e.stop()}}),e,null,[[2,11]])})))()}}},h=g,v=(n("912c"),Object(p["a"])(h,a,i,!1,null,"afaf4772",null));e["a"]=v.exports},cb26:function(t,e,n){},d969:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"HintStatusPagesNumberExceeded"},[n("p",{staticClass:"title mb-2"},[t._v("You have exceeded the status pages number")]),n("p",[t._v(" You’ve reached the limit of "+t._s(t.user.subscription_plan.status_pages)+" status pages. To add more, consider upgrading your plan. ")])])},i=[],s=n("87f8"),o=s["a"],r=(n("1c5a"),n("2877")),c=Object(r["a"])(o,a,i,!1,null,"3c547c5a",null);e["a"]=c.exports},f9dd:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var a=n("c7eb"),i=n("5530"),s=n("53ca"),o=n("1da1");n("d9e2");function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var c=n("a38e");function l(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,Object(c["a"])(a.key),a)}}function u(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}n("d3b7"),n("99af"),n("b64b"),n("a15b"),n("b680");var d=function(){function t(){r(this,t)}return u(t,null,[{key:"init",value:function(){var t=Object(o["a"])(Object(a["a"])().mark((function t(e){var n,o,r,c,l,u,d,p,f,m,b,g,h,v,_,w,x,y,O,C,j,k,B;return Object(a["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.monitor_id,o=e.element_id,r=e.mode,c=e.badge,t.prev=1,l="",l="production"===r?"https://api.pulsetic.com":"dev"===r?"https://api.dev.pulsetic.com":"local"===r?"http://localhost:3400":"https://api.pulsetic.com",c){t.next=11;break}return t.next=7,fetch("".concat(l,"/monitors/").concat(n,"/public/badge"),{headers:{accept:"application/json, text/plain, */*"},method:"GET"});case 7:return u=t.sent,t.next=10,u.json();case 10:c=t.sent;case 11:if(d={},d.style=JSON.parse(c.style),d.symbol=JSON.parse(c.symbol),d.roundness=JSON.parse(c.roundness),d.font_style=JSON.parse(c.font_style),d.text_color=JSON.parse(c.text_color),d.symbol_color=JSON.parse(c.symbol_color),d.frame_background_color=JSON.parse(c.frame_background_color),d.frame_border_color=JSON.parse(c.frame_border_color),d.custom_text=JSON.parse(c.custom_text),d.inner_text_color=JSON.parse(c.inner_text_color),d.custom_css=JSON.parse(c.custom_css),c.badge_url&&(d.badge_url=JSON.parse(c.badge_url)),p="",p="online"===c.monitor_status?"operational":"offline"===c.monitor_status?"unavailable":"investigation",f=function(t){return d[t]&&d[t].default?d[t].collapsed?d[t].default[p]:d[t][p]:d[t]?d[t][p]:{}},m=function(){if(d.roundness){if(1===d.roundness.id)return"0";if(2===d.roundness.id)return"6px";if(3===d.roundness.id)return"100px"}return"0"},b=function(){return 1===d.style.id?"position: absolute; left: 14px; width: 10px; height: 10px;":2===d.style.id?"margin-right: 6px; width: 8px; height: 8px;":3===d.style.id?"margin-left: 6px; width: 12px;":void 0},g=function(){return 1===d.symbol.id?'\n              <svg style="'.concat(b(),'" width="18" height="16" viewBox="0 0 18 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n                <path d="M7.25168 1.14697C8.01369 -0.224651 9.9863 -0.224653 10.7483 1.14697L17.3493 13.0287C18.0899 14.3618 17.1259 16 15.601 16H2.39903C0.87406 16 -0.089876 14.3618 0.650714 13.0287L7.25168 1.14697Z" fill="#').concat(f("symbol_color").color,'"/>\n              </svg>\n          '):2===d.symbol.id?'\n              <svg style="'.concat(b(),'" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n                <circle cx="8" cy="8" r="8" fill="#').concat(f("symbol_color").color,'"/>\n              </svg>\n          '):3===d.symbol.id?'\n              <svg style="'.concat(b(),'" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n                <rect width="16" height="16" rx="4" fill="#').concat(f("symbol_color").color,'"/>\n              </svg>\n          '):void 0},h=d.font_style.collapsed?"":"\n        font-size: ".concat(d.font_style.textSize.title,"px;\n        font-weight: ").concat(d.font_style.weight.value,";\n        font-family: ").concat(d.font_style.font.value,", serif;\n      "),v=d.text_color.collapsed?"":"\n        color: #".concat(d.text_color[p].color,";\n      "),d.font_style.collapsed){t.next=42;break}return t.next=35,fetch("https://fonts.googleapis.com/css?family=".concat(d.font_style.font.family.split(" ").join("+")));case 35:return _=t.sent,w=document.createElement("style"),t.next=39,_.text();case 39:_=t.sent,w.innerHTML=_,document.body.appendChild(w);case 42:x=function(){return"\n            <style>\n                ".concat("object"!==Object(s["a"])(d.custom_css)?d.custom_css:d.custom_css&&!d.custom_css.collapsed&&d.custom_css.value?d.custom_css.value:"","\n            </style>\n        ")},y=document.createElement("div"),O=function(){return o?"text-decoration: none;":"position: absolute; bottom: 24px; right: 24px; text-decoration: none;"},d.inner_text_color||(d.inner_text_color=Object(i["a"])({},d.text_color)),C="\n          <a ".concat(d.badge_url&&!d.badge_url.collapsed&&d.badge_url.value?'href="'.concat(d.badge_url.value,'"'):"",' style="').concat(O(),'">\n              <div class="badge-container" style="\n                      position: relative;\n                      box-sizing: border-box;\n                      padding: 7px 14px 7px 32px;\n                      display: inline-flex;\n                      align-items: center;\n                      justify-content: center;\n                      min-height: 44px;\n                      background: #').concat(f("frame_background_color").color,";\n                      border-radius: ").concat(m(),";\n                      border: #").concat(f("frame_border_color").color," 1px solid;\n                      ").concat(v,"\n                      ").concat(h,'\n                  ">\n                  <div style="display: flex; align-items: center;">\n                      ').concat(g(),'\n                  </div>\n                  <div style="max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" class="badge-text">\n                      ').concat(f("custom_text")||"","\n                  </div>\n              </div>\n          </a>\n          ").concat(x(),"\n      "),j="\n          <a ".concat(d.badge_url&&!d.badge_url.collapsed&&d.badge_url.value?'href="'.concat(d.badge_url.value,'"'):"",' style="').concat(O(),'">\n              <div class="badge-container" style=" display: flex; align-items: center; min-height: 44px;">\n                  <div style="\n                          max-width: 80%;\n                          ').concat(v,"\n                          ").concat(h,'\n                      ">\n                      <div style="max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" class="badge-text">\n                          ').concat(f("custom_text")||"",'\n                      </div>\n                  </div>\n                  <div class="badge-body" style="\n                          padding: 0 6px;\n                          color: white;\n                          margin-left: 6px;\n                          font-weight: 500;\n                          display: flex;\n                          align-items: center;\n                          min-height: 24px;\n                          background: ').concat("#"+f("frame_background_color").color,";\n                          border-radius: ").concat(m(),';\n                      ">\n                      <div style="display: flex; align-items: center;">\n                          ').concat(g(),'\n                      </div>\n                      <div style="\n                              ').concat(d.inner_text_color&&d.inner_text_color.collapsed?"":"color: ".concat("#"+d.inner_text_color[p+"Inner"].color,";"),"\n                              ").concat(h,'\n                          ">\n                          ').concat(c.uptime?(c.whole_uptime_number?(100*c.uptime).toFixed(0):(100*c.uptime).toFixed(2))+"%":"N/A","\n                      </div>\n                  </div>\n              </div>\n          </a>\n          ").concat(x(),"\n      "),k="\n          <a ".concat(d.badge_url&&!d.badge_url.collapsed&&d.badge_url.value?'href="'.concat(d.badge_url.value,'"'):"",' style="').concat(O(),'">\n              <div class="badge-container" style="\n                      position: relative;\n                      display: flex;\n                      align-items: center;\n                      min-height: 44px;\n                      ').concat(v,"\n                      ").concat(h,'\n                  ">\n                  <div style="max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" class="badge-text">\n                      ').concat(f("custom_text")||"",'\n                  </div>\n                  <div style="display: flex; align-items: center;">\n                      ').concat(g(),"\n                  </div>\n              </div>\n          </a>\n          ").concat(x(),"\n      "),1===d.style.id?y.innerHTML=C:2===d.style.id?y.innerHTML=j:3===d.style.id&&(y.innerHTML=k),o?(B=document.getElementById(o),B.appendChild(y)):document.body.appendChild(y),t.next=56;break;case 53:t.prev=53,t.t0=t["catch"](1),console.log(t.t0);case 56:case"end":return t.stop()}}),t,null,[[1,53]])})));function e(e){return t.apply(this,arguments)}return e}()}]),t}()}}]);
//# sourceMappingURL=chunk-40595e00.8ac13f76.js.map