PageSourceSearch

https://gloucestercathedral.org.uk/_nuxt/36f7f89.js

js gloucestercathedral.org.uk collected 2026-09-24 21:54:40 UTC 18,874 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[57,40],{621:function(t,e,n){"use strict";e.a={mounted:function(){var t=this;this.$storybridge((function(){var e=new StoryblokBridge;e.on("input",(function(e){e.story.id===t.story.id&&(t.story.content=e.story.content)})),e.on(["published","change"],(function(e){t.$nuxt.$router.go({path:t.$nuxt.$router.currentRoute,force:!0})}))}))}}},623:function(t,e,n){"use strict";n(24),n(14),n(56);e.a={head:function(){var t=this.story||{},content=t.content||{},e=content.meta||{},title=content.title||t.name||"Gloucester Cathedral",desc=e.description||content.excerpt||content.description||content.intro||"Gloucester Cathedral stands for the glory of God in Jesus Christ and for the good of all people.",n="https://gloucestercathedral.org.uk",path=n+this.$route.path,image=e.og_image||content.image&&content.image.filename||n+"/ogimage.png",head={titleTemplate:"index"===this.$route.name?"%s":"".concat(e.title||content.title||title," | %s"),meta:[{hid:"og:title",property:"og:title",content:e.title||content.title||title},{hid:"og:image",property:"og:image",content:image},{hid:"og:url",property:"og:url",content:path},{hid:"og:description",name:"og:description",content:desc},{hid:"description",name:"description",content:desc}],link:[{hid:"canonical",rel:"canonical",href:path}],script:[]};return"PageArticle"===content.component&&head.meta.push({hid:"og:type",property:"og:type",content:"article"},{hid:"article:published_time",property:"article:published_time",content:t.published_at||""},{hid:"article:author",property:"article:author",content:content.author&&content.author.content?content.author.content.name:""}),"PageEvent"===content.component?head.script.push({hid:"ldjson",type:"application/ld+json",json:{"@context":"https://schema.org","@type":"Event",name:title,startDate:content.from_date||"",endDate:content.to_date||"",eventAttendanceMode:"https://schema.org/OfflineEventAttendanceMode",eventStatus:"https://schema.org/EventScheduled",location:{"@type":"Church",name:"Gloucester Cathedral",logo:{"@type":"ImageObject",url:"https://gloucestercathedral.org.uk/ogimage.png"},address:{"@type":"PostalAddress",streetAddress:"12 College Green",addressLocality:"Gloucester",postalCode:"GL1 2LX",addressCountry:"UK"}},image:image,description:desc,organizer:{"@type":"Organization",name:"Gloucester Cathedral",url:n}}}):"PageArticle"===content.component?head.script.push({hid:"ldjson",type:"application/ld+json",json:{"@context":"http://schema.org","@type":"NewsArticle",headline:title,url:path,image:content.image.filename,datePublished:content.date,author:{"@type":"Person",name:content.author&&content.author.content?content.author.content.name:""},articleBody:desc,mainEntityOfPage:path}}):head.script.push({hid:"ldjson",type:"application/ld+json",json:{"@context":"https://schema.org","@type":"Church",name:"Gloucester Cathedral",slogan:"In tune with Heaven, in touch with daily life",url:"https://gloucestercathedral.org.uk",logo:{"@type":"ImageObject",url:"https://gloucestercathedral.org.uk/ogimage.png"},image:"https://gloucestercathedral.org.uk/cloister.jpg",address:{"@type":"PostalAddress",streetAddress:"12 College Green",addressLocality:"Gloucester",postalCode:"GL1 2LX",addressCountry:"UK"},geo:{"@type":"GeoCoordinates",latitude:51.86725,longitude:-2.24668},email:"[email protected]",telephone:"01452528095",isAccessibleForFree:!0}}),head}}},634:function(t,e,n){"use strict";var r=n(1),o=n(635).start;r({target:"String",proto:!0,forced:n(636)},{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},635:function(t,e,n){var r=n(7),o=n(89),c=n(26),l=n(358),d=n(46),m=r(l),_=r("".slice),y=Math.ceil,h=function(t){return function(e,n,r){var l,h,f=c(d(e)),v=o(n),T=f.length,O=void 0===r?" ":c(r);return v<=T||""==O?f:((h=m(O,y((l=v-T)/O.length))).length>l&&(h=_(h,0,l)),t?f+h:h+f)}};t.exports={start:h(!1),end:h(!0)}},636:function(t,e,n){var r=n(70);t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},645:function(t,e,n){"use strict";n.r(e);n(24),n(17),n(14),n(16),n(20),n(13),n(21);var r=n(5),o=n(23),c=n(10),l=(n(45),n(25),n(53),n(6),n(43),n(44),n(33),n(360),n(63),n(40),n(361),n(166),n(634),n(28)),d=n(223);function m(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function _(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?m(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):m(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var y={data:function(){var t=new Date,e=t.toISOString().split("T")[0],n=t.toLocaleDateString("en-US",{weekday:"short"}).toLowerCase();return{storiesByToday:[],storiesByPick:[],storiesByClosure:[],storiesByWeekday:[],today:t,currentWeekday:n,todayDay:e,sort_by:"content.from_date:asc"}},fetch:function(){var t=this;return Object(c.a)(regeneratorRuntime.mark((function e(){var n,r,c,l,m,_,y,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="cdn/stories/",r=t.$nuxt.context,c=r.$config.storyBlokVersion,e.next=5,Promise.all([Object(d.c)(r.app.$storyapi,n,{version:c,starts_with:"whats-on/",is_startpage:!1,filter_query:{category:{not_like:"closure"},recurrent:{is:!0},weekdays:{in_array:t.currentWeekday}},sort_by:"sun"===t.currentWeekday?"position:asc":t.sort_by}),Object(d.c)(r.app.$storyapi,n,{version:c,starts_with:"whats-on/",is_startpage:!1,filter_query:{category:{not_like:"closure"},from_date:{lt_date:t.todayDay+" 23:59"},to_date:{gt_date:t.todayDay+" 00:00"},recurrent:{is:!1}},sort_by:t.sort_by}),Object(d.c)(r.app.$storyapi,n,{version:c,starts_with:"whats-on/",is_startpage:!1,filter_query:{category:{like:"closure"},from_date:{lt_date:t.todayDay+" 23:59"},to_date:{gt_date:t.todayDay+" 00:00"},recurrent:{is:!1}},sort_by:t.sort_by})]);case 5:l=e.sent,m=Object(o.a)(l,3),_=m[0],y=m[1],h=m[2],t.storiesByWeekday=_.data.stories,t.storiesByToday=y.data.stories,t.storiesByClosure=h.data.stories,"sun"===t.currentWeekday?t.storiesByPick=t.storiesByWeekday.concat(t.storiesByToday):t.storiesByPick=t.storiesByToday.concat(t.storiesByWeekday),t.storiesByPick=t.storiesByPick.sort((function(a,b){return t.getStoryTimeMinutes(a)-t.getStoryTimeMinutes(b)}));case 15:case"end":return e.stop()}}),e)})))()},computed:_(_({},Object(l.b)({global:function(t){return t.ui.global}})),{},{todayDateTime:function(){return this.today.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})},switchTimes:function(){return"sat"===this.currentWeekday?"saturday":"sun"===this.currentWeekday?"sunday":"weekdays"},isoToday:function(){return this.today?this.today.toISOString().split("T")[0]:(new Date).toISOString().split("T")[0]}}),methods:{formatTime:function(t){return new Date(t.replace(" ","T")).toLocaleTimeString("en-GB",{hour:"numeric",hour12:!0}).toLowerCase()},parseGlobalTimeRange:function(t){return t?t.split(/\s*[-–]\s*/).map((function(t){return t.trim()})):[]},parseTimeToMinutes:function(t){if(!t)return null;var e=t.replace(/12\s*noon/i,"12 PM").replace(/noon/i,"12 PM").match(/(\d{1,2})(?::(\d{2}))?\s?(AM|PM)/i);if(!e)return null;var n=parseInt(e[1]),r=parseInt(e[2]||0),o=e[3].toUpperCase();return"PM"===o&&12!==n&&(n+=12),"AM"===o&&12===n&&(n=0),60*n+r},getStoryTimeMinutes:function(t){var e,n,r=t.content.start_time;if(r){var o=this.parseTimeToMinutes(r);if(null!==o)return o}var c=null===(e=t.content.days)||void 0===e||null===(n=e[0])||void 0===n?void 0:n.time;if(c){var l=this.parseTimeToMinutes(c);if(null!==l)return l}return 9999},formatDisplayTime:function(t){if(!t)return"";var e=t.replace(/\s+(AM|PM)/i,"$1");return/^12PM$/i.test(e)||/^12\s*NOON$/i.test(t)?"12NOON":e},timeToISO:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!t)return"";var n=t.toUpperCase().replace("NOON","12PM").replace(/\s?(AM|PM)/,"$1"),r=n.match(/(\d{1,2})(?::(\d{2}))?(AM|PM)/);if(!r)return"";var o=parseInt(r[1]),c=parseInt(r[2]||0),l=r[3];"PM"===l&&12!==o&&(o+=12),"AM"===l&&12===o&&(o=0);var d=String(o).padStart(2,"0"),m=String(c).padStart(2,"0");return"".concat(e,"T").concat(d,":").concat(m)}}},h=y,f=n(4),component=Object(f.a)(h,(function(){var t=this,e=t._self._c;return e("section",{staticClass:"docket"},[e("div",{staticClass:"docket__head"},[e("hgroup",{staticClass:"docket__heading"},[t._m(0),t._v(" "),e("p",{staticClass:"title title--sm"},[t._v(t._s(t.todayDateTime))])])]),t._v(" "),e("div",{staticClass:"docket__content"},[e("ol",{staticClass:"docket__list"},[t.storiesByClosure.length?t._e():[t.global?e("li",{staticClass:"docket__item docket__item--accent"},["sunday"===t.switchTimes?[e("span",{staticClass:"label"},[e("time",{attrs:{datetime:t.timeToISO(t.global.sunday_am,t.isoToday)}},[t._v("\n                "+t._s(t.formatDisplayTime(t.global.sunday_am))+"\n              ")]),t._v(" "),e("br"),t._v(" "),e("time",{attrs:{datetime:t.timeToISO(t.global.sunday_pm,t.isoToday)}},[t._v("\n                "+t._s(t.formatDisplayTime(t.global.sunday_pm))+"\n              ")])])]:e("span",{staticClass:"label"},[t._l(t.parseGlobalTimeRange(t.global[t.switchTimes]),(function(time,n){return[e("time",{key:n,attrs:{datetime:t.timeToISO(time,t.isoToday)}},[t._v("\n                "+t._s(t.formatDisplayTime(time))+"\n              ")]),t._v(" "),0===n&&t.parseGlobalTimeRange(t.global[t.switchTimes]).length>1?[t._v("\n                –\n              ")]:t._e()]}))],2),t._v(" "),e("p",{staticClass:"title title--xxs"},[t._v("Visitor Opening Times")])],2):t._e()],t._v(" "),t.storiesByClosure.length?t._l(t.storiesByClosure,(function(n){return e("li",{key:n.id,staticClass:"docket__item docket__item--accent"},[n.content.start_time?e("span",{staticClass:"label"},[e("time",{attrs:{datetime:t.timeToISO(n.content.start_time,t.isoToday)}},[t._v("\n              "+t._s(t.formatDisplayTime(n.content.start_time))+"\n            ")]),t._v(" "),n.content.end_time?[t._v("\n              –\n              "),e("time",{attrs:{datetime:t.timeToISO(n.content.end_time,t.isoToday)}},[t._v("\n                "+t._s(t.formatDisplayTime(n.content.end_time))+"\n              ")])]:t._e(),t._v(" "),n.content.start_time_extra?[e("br"),t._v(" "),n.content.start_time_extra?e("time",{attrs:{datetime:t.timeToISO(n.content.start_time_extra,t.isoToday)}},[t._v("\n                "+t._s(t.formatDisplayTime(n.content.start_time_extra))+"\n              ")]):t._e(),t._v(" "),n.content.end_time_extra?[t._v("\n                –\n                "),e("time",{attrs:{datetime:t.timeToISO(n.content.end_time_extra,t.isoToday)}},[t._v("\n                  "+t._s(t.formatDisplayTime(n.content.end_time_extra))+"\n                ")])]:t._e()]:t._e()],2):t._e(),t._v(" "),e("nuxt-link",{staticClass:"btn-link",attrs:{to:n.full_slug}},[t._v("\n            "+t._s(n.content.title)+"\n          ")])],1)})):t._e(),t._v(" "),t._l(t.storiesByPick,(function(n){var r;return e("li",{key:n.id,staticClass:"docket__item"},[n.content.start_time?e("span",{staticClass:"label"},[e("time",{attrs:{datetime:t.timeToISO(n.content.start_time,t.isoToday)}},[t._v("\n            "+t._s(t.formatDisplayTime(n.content.start_time))+"\n          ")]),t._v(" "),n.content.end_time?[t._v("\n            –\n            "),e("time",{attrs:{datetime:t.timeToISO(n.content.end_time,t.isoToday)}},[t._v("\n              "+t._s(t.formatDisplayTime(n.content.end_time))+"\n            ")])]:t._e(),t._v(" "),n.content.start_time_extra?[e("br"),t._v(" "),e("time",{attrs:{datetime:t.timeToISO(n.content.start_time_extra,t.isoToday)}},[t._v("\n              "+t._s(t.formatDisplayTime(n.content.start_time_extra))+"\n            ")]),t._v(" "),n.content.end_time_extra?[t._v("\n              –\n              "),e("time",{attrs:{datetime:t.timeToISO(n.content.end_time_extra,t.isoToday)}},[t._v("\n                "+t._s(t.formatDisplayTime(n.content.end_time_extra))+"\n              ")])]:t._e()]:t._e()],2):null!==(r=n.content.days[0])&&void 0!==r&&r.time?e("span",{staticClass:"label"},[e("time",{attrs:{datetime:t.timeToISO(n.content.days[0].time,t.isoToday)}},[t._v("\n            "+t._s(t.formatDisplayTime(n.content.days[0].time))+"\n          ")])]):["sunday"===t.switchTimes?[e("span",{staticClass:"label"},[e("time",{attrs:{datetime:t.timeToISO(t.global.sunday_am,t.isoToday)}},[t._v("\n                "+t._s(t.formatDisplayTime(t.global.sunday_am))+"\n              ")]),t._v(" "),e("br"),t._v(" "),e("time",{attrs:{datetime:t.timeToISO(t.global.sunday_pm,t.isoToday)}},[t._v("\n                "+t._s(t.formatDisplayTime(t.global.sunday_pm))+"\n              ")])])]:e("span",{staticClass:"label"},[t._l(t.parseGlobalTimeRange(t.global[t.switchTimes]),(function(time,n){return[e("time",{key:n,attrs:{datetime:t.timeToISO(time,t.isoToday)}},[t._v("\n                "+t._s(t.formatDisplayTime(time))+"\n              ")]),t._v(" "),0===n&&t.parseGlobalTimeRange(t.global[t.switchTimes]).length>1?[t._v("\n                –\n              ")]:t._e()]}))],2)],t._v(" "),e("nuxt-link",{staticClass:"btn-link",attrs:{to:n.full_slug}},[t._v(t._s(n.name))])],2)}))],2)]),t._v(" "),e("div",{staticClass:"docket__foot"},[e("nuxt-link",{staticClass:"btn-ghost",attrs:{to:"/whats-on"}},[e("span",[t._v("View Full Calendar")])])],1)])}),[function(){var t=this,e=t._self._c;return e("h2",{staticClass:"label label--wide"},[t._v("Today "),e("br"),t._v("at Gloucester Cathedral")])}],!1,null,null,null);e.default=component.exports},663:function(t,e,n){"use strict";n.r(e);n(17),n(14),n(16),n(6),n(20),n(13),n(21),n(54),n(24),n(57),n(43),n(25),n(56),n(58),n(44);var r=n(5),o=n(10),c=(n(74),n(45),n(28)),l=n(621),d=n(223),m=n(623),_=n(267);function y(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];
1if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return h(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function f(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var v={name:"IndexPage",components:{Logotype:n.n(_).a},mixins:[l.a,m.a],asyncData:function(t){return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.a)("cdn/stories/homepage",t,{});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))()},data:function(){return{story:{content:{}}}},computed:function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?f(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):f(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},Object(c.b)({isSplashFired:function(t){return t.ui.splashFired}})),mounted:function(){var t=this;this.$refs.splash.classList.add("is-active"),!0===this.isSplashFired?(this.$refs.splash.classList.add("is-fired"),this.$refs.intro.classList.add("is-fired"),this.$refs.video.play(),setTimeout((function(){t.carouselSlider()}),2e3)):this.startIntro()},destroyed:function(){clearInterval(this.carouselTimer)},methods:{startIntro:function(){var t=this;setTimeout((function(){t.$refs.splash.classList.add("is-hidden"),t.$refs.intro.classList.remove("is-hidden"),t.$refs.video.play(),setTimeout((function(){t.carouselSlider(),t.$store.commit("ui/TURN_OFF_SPLASH")}),2e3)}),2e3)},carouselSlider:function(){var t=this,e=document.querySelectorAll(".timescript");document.querySelector(".timescript__item").classList.add("is-active");var n,r=y(e);try{var o=function(){var e=n.value;t.carouselTimer=setInterval((function(){var t=e.querySelector(".is-active"),n=t.nextElementSibling||e.firstElementChild;t.classList.remove("is-active"),setTimeout((function(){n.classList.add("is-active")}),3e3)}),14500)};for(r.s();!(n=r.n()).done;)o()}catch(t){r.e(t)}finally{r.f()}}}},T=v,O=n(4),component=Object(O.a)(T,(function(){var t=this,e=t._self._c;return e("main",{staticClass:"home"},[e("div",{ref:"splash",staticClass:"splash"},[t._m(0),t._v(" "),e("span",{staticClass:"splash__logo"},[e("Logotype")],1)]),t._v(" "),e("div",{ref:"intro",staticClass:"intro is-hidden"},[e("video",{ref:"video",staticClass:"intro__video",attrs:{"aria-label":"Intro Showcase",playsinline:"",muted:"",loop:""},domProps:{muted:!0}},[e("source",{attrs:{src:t.story.content.video.filename,type:"video/mp4"}})]),t._v(" "),e("div",{staticClass:"intro__inner"},[e("div",{staticClass:"intro__side"},[e("div",{staticClass:"timescript"},t._l(t.story.content.timescript,(function(n){return e("div",{key:n.id,staticClass:"timescript__item"},[e("div",{staticClass:"timescript__inner"},[e("span",{staticClass:"heading heading--small"},[t._v("A place for")]),t._v(" "),e("CoreRichText",{staticClass:"timescript__heading",attrs:{text:n.body}
1})],1)])})),0)]),t._v(" "),e("div",{staticClass:"intro__side"},[e("SectionSchedule")],1)])]),t._v(" "),e(t.story.content.component,{tag:"component",attrs:{blok:t.story.content}})],1)}),[function(){var t=this,e=t._self._c;return e("h1",{staticClass:"splash__text"},[e("span",{staticClass:"splash__title splash__title--top"},[t._v("In "),e("em",[t._v("Tune")]),t._v(" With "),e("span",[t._v("Heaven")])]),t._v(" "),e("span",{staticClass:"splash__title splash__title--bottom"},[t._v("In "),e("em",[t._v("Touch")]),t._v(" With "),e("span",[t._v("Daily life")])])])}],!1,null,null,null);e.default=component.exports;installComponents(component,{CoreRichText:n(357).default,SectionSchedule:n(645).default})}}]);

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.