PageSourceSearch

https://www.tate.org.uk/static/js/TateOpenTimes.3f7e223e6c7eae515c56.chunk.js

js tate.org.uk collected 2026-09-24 08:25:34 UTC 1,433 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktate=self.webpackChunktate||[]).push([[839],{56734:function(e,t,a){a.r(t);var r=a(74692),i=function(){var e=this;r(document).ready(function(){e.init()})};i.prototype={init:function(){var e=null,t="undefined"==typeof pageProperties||void 0===pageProperties.lang?"en":pageProperties.lang,a={en:"Closed today",de:"Heute geschlossen",es:"Cerrado hoy",fr:"Fermé aujourd’hui",it:"Oggi chiuso"},i={en:"Open today",de:"Heute geöffnet",es:"Abierto hoy",fr:"Ouvert aujourd’hui",it:"Oggi aperto"};r(".current-open-times").each(function(){var n=function(r,n,s){if(e||(c=new Date,h=c.getDate()<10?"0"+c.getDate():c.getDate(),d=c.getMonth()+1,p=d<10?"0"+d:d,e={dateString:c.getFullYear()+"-"+p+"-"+h,day:["sun","mon","tue","wed","thu","fri","sat"][c.getDay()]}),n)for(var o=n.split(","),u=0;u<o.length;u++)if(o[u]==e.dateString)return a[t];var c,h,d,p;if(r){for(var f=r.split(","),l=0;l<f.length;l++){var g=f[l].split("/");if(g[0]==e.day){var v="";switch(t){case"en":v=g[1].replace(":",".")+"–"+g[2].replace(":",".");break;case"de":v=g[1]+" bis "+g[2]+" Uhr";break;case"es":v="de "+g[1]+" a "+g[2];break;case"fr":v="de "+g[1].replace(":"," h ").replace("h 00","h")+" à "+g[2].replace(":"," h ").replace("h 00","h");break;case"it":v=g[1]+"–"+g[2]}return i[t]+" "+v}}return a[t]}return s}(r(this).attr("data-open-times"),r(this).attr("data-closed-dates"),r(this).text());r(this).text(n)})}},t.default=i}}]);

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.