1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[89331],{68:(e,t,n)=>{n.d(t,{A:()=>s});class s{constructor(){this._request=null,this._errorHandlingInternal=!1}get(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"application/json",s=this._createPreparedRequest("GET",e,n);return this._sendRequest(s,null,t)}post(e,t,n){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";s=this._getContentType(t,s);let r=this._createPreparedRequest("POST",e,s);return this._sendRequest(r,t,n)}delete(e,t,n){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";s=this._getContentType(t,s);let r=this._createPreparedRequest("DELETE",e,s);return this._sendRequest(r,t,n)}patch(e,t,n){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";s=this._getContentType(t,s);let r=this._createPreparedRequest("PATCH",e,s);return this._sendRequest(r,t,n)}abort(){if(this._request)return this._request.abort()}setErrorHandlingInternal(e){this._errorHandlingInternal=e}_registerOnLoaded(e,t){t&&(!0===this._errorHandlingInternal?(e.addEventListener("load",()=>{t(e.responseText,e)}),e.addEventListener("abort",()=>{console.warn(`the request to ${e.responseURL} was aborted`)}),e.addEventListener("error",()=>{console.warn(`the request to ${e.responseURL} failed with status ${e.status}`)}),e.addEventListener("timeout",()=>{console.warn(`the request to ${e.responseURL} timed out`)})):e.addEventListener("loadend",()=>{t(e.responseText,e)}))}_sendRequest(e,t,n){return this._registerOnLoaded(e,n),e.send(t),e}_getContentType(e,t){return e instanceof FormData&&(t=!1),t}_createPreparedRequest(e,t,n){return this._request=new XMLHttpRequest,this._request.open(e,t),this._request.setRequestHeader("X-Requested-With","XMLHttpRequest"),n&&this._request.setRequestHeader("Content-type",n),this._request}}},331:(e,t,n)=>{n.r(t),n.d(t,{default:()=>o});var s=n(68);let r=window.PluginBaseClass;class o extends r{static #e=this.options={locale:document.documentElement.lang,intervalTimeout:1e3,from:"now",actionUrl:null};init(){let e=this.options.actionUrl,t=new Intl.RelativeTimeFormat(this.options.locale),n=new Date(this.options.from),r=this.el,o=new s.A(window.accessKey,window.contextToken);r.dataset.bsToggle||(r.innerText="---");let a="",i=setInterval(function(){let s=new Date,l=Math.floor((n.getTime()-s.getTime())/1e3);l<1&&e&&(clearInterval(i),setTimeout(()=>{o.get(e,e=>{(e=JSON.parse(e)).url?window.location.href=e.url:window.location.reload()})},5e3),l=0);let u=Math.trunc(l/86400),d=Math.trunc(l%86400/3600),h=Math.trunc(l%3600/60),c=Math.trunc(l%60);0!==u?a=t.format(u,"day"):0!==d?a=t.format(d,"hour"):0!==h?a=t.format(h,"minute"):0!==c&&(a=t.format(c,"second")),r.dataset.bsToggle?r.dataset.bsOriginalTitle=a:r.innerText=a},this.options.intervalTimeout)}}}}]);
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.