1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7279],{3209:function(t,a,e){e.r(a),e.d(a,{default:function(){return f}});var i=e(6252),n=e(3577);var s=e(7484),o=e.n(s),r=e(178),h=e.n(r),l=e(9387),u=e.n(l);o().extend(h()),o().extend(u());var d={mixins:[],props:{startDateUnix:{type:Number,default:null},endDateUnix:{type:Number,default:null},formatDay:{type:String,default:"D"},formatMonth:{type:String,default:"MMM"},formatYear:{type:String,default:"YYYY"},isAllDay:{type:Boolean,default:!1},isMultiDay:{type:Boolean,default:!1},tag:{type:String,default:"p"},isTodayTheEarliest:{type:Boolean,default:!1},showValid:{type:Boolean,default:!1},alwaysShowYear:{type:Boolean,default:!1}},data:function(){var t=("string"==typeof window.timezone?window.timezone.trim():"")||o().tz.guess();return{siteTimezone:t,currentYear:o()().tz(t).format(this.formatYear)}},methods:{},computed:{endDate:function(){return null!=this&&this.endDateUnix?o().unix(this.endDateUnix):null},isRange:function(){var t,a;return(!this.isAllDay||this.isAllDay&&this.isMultiDay)&&(null==this?void 0:this.startDate)&&(null==this?void 0:this.endDate)&&(null==this||null===(t=this.startDate)||void 0===t?void 0:t.tz(this.siteTimezone).format("".concat(this.formatDay," ").concat(this.formatMonth," ").concat(this.formatYear)))!==(null==this||null===(a=this.endDate)||void 0===a?void 0:a.tz(this.siteTimezone).format("".concat(this.formatDay," ").concat(this.formatMonth," ").concat(this.formatYear)))},showEndYear:function(){var t;return(null===(t=this.endDate)||void 0===t?void 0:t.tz(this.siteTimezone).format(this.formatYear))!==this.currentYear||(null==this?void 0:this.alwaysShowYear)},showStartYear:function(){var t;return(null===(t=this.startDate)||void 0===t?void 0:t.tz(this.siteTimezone).format(this.formatYear))!==this.currentYear||(null==this?void 0:this.alwaysShowYear)},startDate:function(){var t=null!=this&&this.startDateUnix?o().unix(this.startDateUnix):null;if(t&&this.isTodayTheEarliest){var a=o()().tz(this.siteTimezone).startOf("day");return this.endDate&&this.endDate<a?this.endDate:a>t?a:t}return t},headingText:function(){var t,a,e="";this.startDate&&(e=this.startDate.tz(this.siteTimezone).format("".concat(this.formatMonth," ").concat(this.formatDay)),(this.showStartYear||this.showEndYear)&&(e+=", ".concat(this.startDate.tz(this.siteTimezone).format(this.formatYear))),this.isRange&&(e+=" -",(null==this||null===(t=this.startDate)||void 0===t?void 0:t.tz(this.siteTimezone).format("".concat(this.formatMonth," ").concat(this.formatYear)))===(null==this||null===(a=this.endDate)||void 0===a?void 0:a.tz(this.siteTimezone).format("".concat(this.formatMonth," ").concat(this.formatYear)))&&!(null!=this&&this.alwaysShowYear)||(e+=" ".concat(this.endDate.tz(this.siteTimezone).format(this.formatMonth))),e+=" ".concat(this.endDate.tz(this.siteTimezone).format(this.formatDay)),(this.showEndYear||this.showStartYear)&&(e+=" ".concat(this.endDate.tz(this.siteTimezone).format(this.formatYear)))));return e}}};var f=(0,e(3744).Z)(d,[["render",function(t,a,e,s,o,r){return r.startDate?((0,i.wg)(),(0,i.j4)((0,i.LL)(e.tag),{key:0,class:"date-heading"},{default:(0,i.w5)((function(){return[(0,i.Uk)((0,n.zw)(e.showValid?"Valid From ":"")+(0,n.zw)(r.headingText),1)]})),_:1})):(0,i.kq)("",!0)}]])}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.