PageSourceSearch

https://www.rvvn.org/typo3conf/ext/rvvnsiteconfig/Resources/Public/js/tobii.min.1789549383.js

js rvvn.org collected 2026-09-25 08:43:14 UTC 21,848 bytes, 7 lines download raw bytes

1/*!
2 * @midzer/tobii 3.1.3
3 * Licensed under the MIT license.
4 * https://midzer.github.io/tobii/demo/
5 */
6
7!function(){class t{constructor(){this.figcaptionId=0,this.userSettings=null}init(t,e,i){this.userSettings=i;const n=document.createElement("figure"),r=document.createElement("img"),a=t.querySelector("img"),s=document.createElement("div");let o;if(n.tabIndex=-1,n.setAttribute("role","group"),n.style.opacity="0",a&&(r.alt=a.alt||""),r.setAttribute("data-src",t.href),t.hasAttribute("data-srcset")&&r.setAttribute("data-srcset",t.getAttribute("data-srcset")),t.hasAttribute("data-sizes")&&r.setAttribute("data-sizes",t.getAttribute("data-sizes")),n.appendChild(r),"function"==typeof this.userSettings.captionText?o=this.userSettings.captionText(t):"self"===this.userSettings.captionsSelector&&t.hasAttribute(this.userSettings.captionAttribute)?o=t.getAttribute(this.userSettings.captionAttribute):"img"===this.userSettings.captionsSelector&&a&&a.hasAttribute(this.userSettings.captionAttribute)&&(o=a.getAttribute(this.userSettings.captionAttribute)),this.userSettings.captions&&o){const t=document.createElement("figcaption");t.id=`tobii-figcaption-${this.figcaptionId}`;const e=document.createElement("span");if(this.userSettings.captionHTML?e.innerHTML=o:e.textContent=o,t.appendChild(e),this.userSettings.captionToggle){const i=window.innerWidth<768,n=document.createElement("button");n.className="caption-toggle",n.textContent=n.title=this.userSettings.captionToggleLabel[i?1:0],n.setAttribute("aria-controls",t.id),n.setAttribute("aria-expanded",!i),e.setAttribute("aria-hidden",i);const r=t=>{t.preventDefault(),t.stopPropagation()};n.addEventListener("pointerdown",t=>r(t)),n.addEventListener("pointerup",t=>r(t)),n.addEventListener("click",t=>{r(t);const i="true"===n.getAttribute("aria-expanded");n.textContent=n.title=i?this.userSettings.captionToggleLabel[1]:this.userSettings.captionToggleLabel[0],n.setAttribute("aria-expanded",!i),e.setAttribute("aria-hidden",i)}),t.appendChild(n)}n.appendChild(t),r.setAttribute("aria-labelledby",t.id),n.setAttribute("aria-label",e.textContent),++this.figcaptionId}e.appendChild(n),s.className="tobii__loader",s.setAttribute("role","progressbar"),s.setAttribute("aria-label",this.userSettings.loadingIndicatorLabel),e.appendChild(s),e.setAttribute("data-type","image"),e.classList.add("tobii-image")}onPreload(t){this.onLoad(t)}onLoad(t){const e=t.querySelector("img");if(!e.hasAttribute("data-src"))return;const i=t.querySelector("figure"),n=t.querySelector(".tobii__loader"),r=()=>{t.removeChild(n),i.style.opacity="1"};e.addEventListener("load",r),e.addEventListener("error",r),e.hasAttribute("data-srcset")&&(e.setAttribute("srcset",e.getAttribute("data-srcset")),e.removeAttribute("data-srcset")),e.hasAttribute("data-sizes")&&(e.setAttribute("sizes",e.getAttribute("data-sizes")),e.removeAttribute("data-sizes")),e.setAttribute("src",e.getAttribute("data-src")),e.removeAttribute("data-src")}onLeave(t){}onCleanup(t){}onReset(){this.figcaptionId=0}}class e{constructor(){this.userSettings=null}init(t,e,i){this.userSettings=i;const n=t.hasAttribute("data-target")?t.getAttribute("data-target"):t.getAttribute("href");e.setAttribute("data-HREF",n),t.hasAttribute("data-allow")&&e.setAttribute("data-allow",t.getAttribute("data-allow")),t.hasAttribute("data-width")&&e.setAttribute("data-width",`${t.getAttribute("data-width")}`),t.hasAttribute("data-height")&&e.setAttribute("data-height",`${t.getAttribute("data-height")}`),e.setAttribute("data-type","iframe"),e.classList.add("tobii-iframe")}onPreload(t){}onLoad(t){let e=t.querySelector("iframe");const i=document.createElement("div");if(i.className="tobii__loader",i.setAttribute("role","progressbar"),i.setAttribute("aria-label",this.userSettings.loadingIndicatorLabel),t.appendChild(i),null==e){e=document.createElement("iframe");const i=t.getAttribute("data-href");e.setAttribute("frameborder","0"),e.setAttribute("src",i);let n="fullscreen";i.includes("youtube.com")?n+="; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture":i.includes("vimeo.com")?n+="; autoplay; picture-in-picture":t.hasAttribute("data-allow")&&(n=t.getAttribute("data-allow")),e.setAttribute("allow",n),t.hasAttribute("data-width")&&(e.style.maxWidth=`${t.getAttribute("data-width")}`),t.hasAttribute("data-height")&&(e.style.maxHeight=`${t.getAttribute("data-height")}`),e.style.opacity="0",t.appendChild(e);const r=()=>{e.style.opacity="1";const i=t.querySelector(".tobii__loader");i&&t.removeChild(i)};e.addEventListener("load",r),e.addEventListener("error",r)}else e.setAttribute("src",t.getAttribute("data-href"))}onLeave(t){}onCleanup(t){const e=t.querySelector("iframe");e.removeAttribute("src"),e.style.opacity="0"}onReset(){}}class i{constructor(){this.userSettings=null}init(t,e,i){this.userSettings=i;const n=t.hasAttribute("data-target")?t.getAttribute("data-target"):t.getAttribute("href"),r=document.querySelector(n);if(!r)throw new Error(`Ups, I can't find the target ${n}.`);e.appendChild(r),e.setAttribute("data-type","html"),e.classList.add("tobii-html")}onPreload(t){}onLoad(t,e){const i=t.querySelector("video");i&&(i.hasAttribute("data-time")&&i.readyState>0&&(i.currentTime=i.getAttribute("data-time")),i.play());const n=t.querySelector("audio");n&&n.play(),t.classList.add("tobii-group-"+e)}onLeave(t){const e=t.querySelector("video");e&&(e.paused||e.pause(),e.readyState>0&&e.setAttribute("data-time",e.currentTime));const i=t.querySelector("audio");i&&(i.paused||i.pause())}onCleanup(t){const e=t.querySelector("video");if(e&&e.readyState>0&&e.readyState<3&&e.duration!==e.currentTime){const i=e.cloneNode(!0);this._removeSources(e),e.load(),e.parentNode.removeChild(e),t.appendChild(i)}}onReset(){}_removeSources(t){const e=t.querySelectorAll("src");e&&e.forEach(t=>{t.removeAttribute("src")})}}class n{constructor(){this.playerId=0,this.PLAYER=[],this.userSettings=null}init(t,e,i){this.userSettings=i;const n=document.createElement("div");e.appendChild(n),this.PLAYER[this.playerId]=new window.YT.Player(n,{host:"https://www.youtube-nocookie.com",height:t.getAttribute("data-height")||"360",width:t.getAttribute("data-width")||"640",videoId:t.getAttribute("data-id"),playerVars:{controls:t.getAttribute("data-controls")||1,rel:0,playsinline:1}}),e.setAttribute("data-player",this.playerId),e.setAttribute("data-type","youtube"),e.classList.add("tobii-youtube"),this.playerId++}onPreload(t){}onLoad(t){this.PLAYER[t.getAttribute("data-player")].playVideo()}onLeave(t){1===this.PLAYER[t.getAttribute("data-player")].getPlayerState()&&this.PLAYER[t.getAttribute("data-player")].pauseVideo()}onCleanup(t){1===this.PLAYER[t.getAttribute("data-player")].getPlayerState()&&this.PLAYER[t.getAttribute("data-player")].pauseVideo()}onReset(){}}
7function r(r){const a={image:new t,html:new i,iframe:new e,youtube:new n},s=['a[href]:not([tabindex^="-"]):not([inert])','area[href]:not([tabindex^="-"]):not([inert])',"input:not([disabled]):not([inert])","select:not([disabled]):not([inert])","textarea:not([disabled]):not([inert])","button:not([disabled]):not([inert])",'iframe:not([tabindex^="-"]):not([inert])','audio:not([tabindex^="-"]):not([inert])','video:not([tabindex^="-"]):not([inert])','[contenteditable]:not([tabindex^="-"]):not([inert])','[tabindex]:not([tabindex^="-"]):not([inert])'];let o={};const l=[],d={gallery:[],slider:null,sliderElements:[],elementsLength:0,currentIndex:0,x:0};let c=null,u=null,p=null,h=null,b=null,g=null,m=null,y=!1,f={},w=null,v=[],A=0;const x={element:null,originX:0,originY:0,translateX:0,translateY:0,scale:1},E={startX:0,startY:0,x:0,y:0,distance:0},L=t=>{if(null===document.querySelector('[data-type="youtube"]')||y)S(t);else{if(null===document.getElementById("iframe_api")){const t=document.createElement("script"),e=document.getElementsByTagName("script")[0];t.id="iframe_api",t.src="https://www.youtube.com/iframe_api",e.parentNode.insertBefore(t,e)}-1===l.indexOf(t)&&l.push(t),window.onYouTubePlayerAPIReady=()=>{l.forEach(t=>{S(t)}),y=!0}}},I=t=>t.hasAttribute("data-group")?t.getAttribute("data-group"):"default",S=t=>{const e=I(t);if(Object.prototype.hasOwnProperty.call(f,e)||(f[e]=JSON.parse(JSON.stringify(d)),f[e].slider=document.createElement("div"),f[e].slider.className="tobii__slider",f[e].slider.setAttribute("aria-hidden","true"),c.appendChild(f[e].slider)),-1!==f[e].gallery.indexOf(t))throw new Error("Ups, element already added.");{if(f[e].gallery.push(t),f[e].elementsLength++,o.zoom&&t.querySelector("img")&&"false"!==t.getAttribute("data-zoom")||"true"===t.getAttribute("data-zoom")){const e=document.createElement("div");e.className="tobii-zoom__icon",e.innerHTML=o.zoomText,t.classList.add("tobii-zoom"),t.appendChild(e)}t.addEventListener("click",U);const i=document.createElement("div"),n=document.createElement("div");i.className="tobii__slide",i.style.position="absolute",i.style.left=100*f[e].x+"%",i.setAttribute("aria-hidden","true"),C(t).init(t,n,o),i.appendChild(n),f[e].slider.appendChild(i),f[e].sliderElements.push(i),++f[e].x,ot()&&e===w&&(rt(),at())}},_=t=>{const e=I(t),i=f[e].gallery.indexOf(t);if(-1===i)throw new Error(`Ups, I can't find a slide for the element ${t}.`);const n=f[e].sliderElements[i];if(ot()&&e===w&&i===f[e].currentIndex){if(1===f[e].elementsLength)throw Y(),new Error("Ups, I've closed. There are no slides more to show.");0===f[e].currentIndex?q():N(),rt(),at()}if(f[e].gallery.splice(i,1),f[e].sliderElements.splice(i,1),f[e].elementsLength--,--f[e].x,o.zoom&&t.querySelector(".tobii-zoom__icon")){const e=t.querySelector(".tobii-zoom__icon");e.parentNode.classList.remove("tobii-zoom"),e.parentNode.removeChild(e)}t.removeEventListener("click",U),n.parentNode.removeChild(n)},C=t=>{const e=t.getAttribute("data-type");return void 0!==a[e]?a[e]:(t.hasAttribute("data-type")&&console.log("Unknown lightbox element type: "+e),a.image)},T=(t=0)=>{if(ot())throw new Error("Ups, I'm aleady open.");if(-1===t||t>=f[w].elementsLength)throw new Error(`Ups, I can't find slide ${t}.`);document.documentElement.classList.add("tobii-is-open"),document.body.classList.add("tobii-is-open"),document.body.classList.add("tobii-is-open-"+w),rt(),o.close||(h.disabled=!1,h.setAttribute("aria-hidden","true")),g=document.activeElement;const e=window.location.href;window.history.pushState({tobii:"close"},"Image",e),f[w].currentIndex=t,it(),M(f[w].currentIndex),f[w].slider.setAttribute("aria-hidden","false"),c.setAttribute("aria-hidden","false"),at(),X(f[w].currentIndex+1),X(f[w].currentIndex-1),f[w].slider.classList.add("tobii__slider--animate");const i=new window.CustomEvent("open",{detail:{group:w}});c.dispatchEvent(i)},Y=()=>{if(!ot())throw new Error("Ups, I'm already closed.");document.documentElement.classList.remove("tobii-is-open"),document.body.classList.remove("tobii-is-open"),document.body.classList.remove("tobii-is-open-"+w),nt(),null!==window.history.state&&"close"===window.history.state.tobii&&window.history.back(),g.focu
7s(),z(f[w].currentIndex),P(f[w].currentIndex),c.setAttribute("aria-hidden","true"),f[w].slider.setAttribute("aria-hidden","true"),f[w].currentIndex=0,f[w].slider.classList.remove("tobii__slider--animate");const t=new window.CustomEvent("close",{detail:{group:w}});c.dispatchEvent(t)},X=t=>{if(void 0===f[w].sliderElements[t])return;const e=f[w].sliderElements[t].querySelector("[data-type]");C(e).onPreload(e)},M=t=>{if(void 0===f[w].sliderElements[t])return;const e=f[w].sliderElements[t].querySelector("[data-type]"),i=C(e);f[w].sliderElements[t].classList.add("tobii__slide--is-active"),f[w].sliderElements[t].setAttribute("aria-hidden","false"),i.onLoad(e,w)},N=()=>{if(!ot())throw new Error("Ups, I'm closed.");f[w].currentIndex>0&&(z(f[w].currentIndex),M(--f[w].currentIndex),at("left"),P(f[w].currentIndex+1),X(f[w].currentIndex-1));const t=new window.CustomEvent("previous",{detail:{group:w}});c.dispatchEvent(t)},q=()=>{if(!ot())throw new Error("Ups, I'm closed.");f[w].currentIndex<f[w].elementsLength-1&&(z(f[w].currentIndex),M(++f[w].currentIndex),at("right"),P(f[w].currentIndex-1),X(f[w].currentIndex+1));const t=new window.CustomEvent("next",{detail:{group:w}});c.dispatchEvent(t)},z=t=>{if(void 0===f[w].sliderElements[t])return;const e=f[w].sliderElements[t].querySelector("[data-type]"),i=C(e);f[w].sliderElements[t].classList.remove("tobii__slide--is-active"),f[w].sliderElements[t].setAttribute("aria-hidden","true"),i.onLeave(e)},P=t=>{if(void 0===f[w].sliderElements[t])return;const e=f[w].sliderElements[t].querySelector("[data-type]");C(e).onCleanup(e),E.startX=0,E.startY=0,E.x=0,E.y=0,E.distance=0,A=0,K()&&et(),x.element=null},$=()=>{m=-f[w].currentIndex*c.offsetWidth,f[w].slider.style.transform=`translate(${m}px, 0)`},R=()=>{$()},U=t=>{t.preventDefault(),w=I(t.currentTarget),T(f[w].gallery.indexOf(t.currentTarget))},O=t=>{t.target===u?N():t.target===p?q():(t.target===h||t.target.classList.contains("tobii__slide")||t.target.classList.contains("tobii")&&o.docClose)&&Y(),t.stopPropagation()},k=(t,e,i)=>{t.setAttribute("aria-hidden",e?"true":"false"),t.disabled=i},H=t=>{const e=Array.prototype.slice.call(c.querySelectorAll(`.tobii__btn:not([disabled]), .tobii__slide--is-active ${s.join(", .tobii__slide--is-active ")}`)).filter(t=>!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)),i=e.indexOf(document.activeElement);"Tab"===t.code?t.shiftKey&&0===i?(e[e.length-1].focus(),t.preventDefault()):t.shiftKey||i!==e.length-1&&-1!==i||(e[0].focus(),t.preventDefault()):"Escape"===t.code?(t.preventDefault(),Y()):"ArrowLeft"===t.code?(t.preventDefault(),N()):"ArrowRight"===t.code&&(t.preventDefault(),q())},D=()=>{v=[],$(),f[w].slider.classList.remove("tobii__slider--is-"+(K()?"moving":"dragging"))},B=t=>{if(!dt(t.target)&&(t.preventDefault(),t.stopPropagation(),E.startX=E.x=t.clientX,E.startY=E.y=t.clientY,E.distance=0,v.push(t),2===v.length)){const{x:t,y:e}=tt(v[0].clientX,v[0].clientY,v[1].clientX,v[1].clientY);E.startX=E.x=t,E.startY=E.y=e,E.distance=Z(v[0].clientX-v[1].clientX,v[0].clientY-v[1].clientY)/x.scale}},j=t=>{if(!v.length)return;f[w].slider.classList.add("tobii__slider--is-"+(K()?"moving":"dragging"));const e=v.findIndex(e=>e.pointerId===t.pointerId);if(v[e]=t,2===v.length){const{x:e,y:i}=tt(v[0].clientX,v[0].clientY,v[1].clientX,v[1].clientY),n=Z(v[0].clientX-v[1].clientX,v[0].clientY-v[1].clientY)/E.distance;return Q(t.target,J(n,1,4),e,i,e-E.x,i-E.y),E.x=e,void(E.y=i)}if(K()&&F(t.clientX-E.x,t.clientY-E.y),E.x=t.clientX,E.y=t.clientY,!K()){const t=E.startX-E.x,e=E.startY-E.y;if(Z(t,e)<10)return;Math.abs(t)>Math.abs(e)&&f[w].elementsLength>1?f[w].slider.style.transform=`translate(${m-Math.round(t)}px, 0)`:o.swipeClose&&(f[w].slider.style.transform=`translate(${m}px, -${Math.round(e)}px)`)}},W=t=>{if(!v.length)return;f[w].slider.classList.remove("tobii__slider--is-"+(K()?"moving":"dragging"));const e=v.findIndex(e=>e.pointerId===t.pointerId);v.splice(e,1);const i=t.clientX,n=t.clientY,r=E.startX-i,a=E.startY-n,s=Math.abs(r),l=Math.abs(a);if(s>8||l>8)K()||(r<0&&s>o.threshold&&f[w].currentIndex>0?N():r>0&&s>o.threshold&&f[w].currentIndex!==f[w].elementsLength-1?q():a>0&&l>o.threshold&&o.swipeClose?Y():$());else{const e=Date.now(),r=e-A;r<500&&r>100?(t.preventDefault(),A=0,K()?et():Q(t.target,2,i,n,0,0)):(A=e,lt()&&window.setTimeout(()=>{const{left:e,top:r,bottom:a,right:s,width:o}=t.target.getBoundingClientRect();n<r||n>a||!A||(i>e&&i<e+o/2?N():i<s&&i>s-o/2&&q())},500))}},V=t=>{const e=Math.sign(t.deltaY)>0?-1:1;(K()||e)&&(t.preventDefault(),Q(t.target,J(x.scale+e/(10/x.scale),1,4),t.clientX,t.clientY,0,0))},G=(t,e)=>{const{element:i,scale:n,originX:r,originY:a}=x,s="x"===t,o=s?r:a,l=s?"offsetWidth":"offsetHeight",d=i.parentNode[l],c=i[l],u=i.getBoundingClientRect(),p=(o-c/2)*(n-1),h=Math.max(0,Math.round(s?u.width:u.height)-d),b=Math.round(h/2);return J(e,0-b+p,b+p)},J=(t,e,i)=>Math.max(Math.min(t,i),e),K=()=>1!==x.scale,F=(t,e)=>{0!==t&&(x.translateX=G("x",x.translateX+t)),0!==e&&(x.translateY=G("y",x.translateY+e));const{element:i,originX:n,originY:r,translateX:a,translateY:s,scale:o}=x;i.style.transformOrigin=`${n}px ${r}px`,i.style.transform=`translate(${a}px, ${s}px) scale(${o})`},Q=(t,e,i,n,r,a)=>{if("IMG"!==t.tagName)return;const{left:s,top:o}=t.getBoundingClientRect(),l=(i-s)/x.scale,d=(n-o)/x.scale;x.element=t,x.originX=l,x.originY=d,x.scale=e,F(r,a)},Z=(t,e)=>Math.hypot(t,e),tt=(t,e,i,n)=>({x:(t+i)/2,y:(e+n)/2}),et=()=>{x.scale=1,x.originX=0,x.originY=0,x.translateX=0,x.translateY=0,F(0,0)},it=()=>{o.keyboard&&window.addEventListener("keydown",H),window.addEventListener("resize",R),window.addEventListener("popstate",Y),ct("click",O),o.draggable&&(ct("pointerdown",B),ct("pointermove",j),ct("pointerup",W),ct("pointercancel",D),ct("pointerout",D),ct("pointerleave",D),ct("contextmenu",D)),ct("wheel",V)},nt=()=>{o.keyboard&&window.removeEventListener("keydown",H),window.removeEventListener("resize",R),window.removeEventListener("popstate",Y),ut("click",O),o.draggable&&(ut("pointerdown",B),ut("pointermove",j),ut("pointerup",W),ut("pointercancel",D),ut("pointerout",D),ut("pointerleave",D),ut("contextmenu",D)),ut("wheel",V)},rt=()=>{const t=f[w],e=t.slider;o.draggable&&!e.classList.contains("tobii__slider--is-draggable")&&e.classList.add("tobii__slider--is-draggable");const i=!o.nav||1===t.elementsLength||"auto"===o.nav&&lt();k(u,i,i),k(p,i,i),b.setAttribute("aria-hidden",o.counter&&1!==t.elementsLength?"false":"true")},at=(t=null)=>{$(),b.innerHTML=`<p>${f[w].currentIndex+1}/${f[w].elementsLength}</p>`,(t=>{const e=f[w],i=e.elementsLength>1;if(!0!==o.nav&&"auto"!==o.nav||lt()||!i?o.close&&h.focus():(k(u,!0,!0),k(p,!0,!0),0===e.currentIndex?(k(p,!1,!1),p.focus()):e.currentIndex===e.elementsLength-1?(k(u,!1,!1),u.focus()):(k(u,!1,!1),k(p,!1,!1),"left"===t?u.focus():p.focus())),i&&0!==e.currentIndex){const t=c.querySelector('.tobii__slide--is-active figure[tabindex="-1"]');t&&setTimeout(()=>{t.focus()},250)}})(t)},st=()=>{ot()&&Y(),Object.values(f).forEach(t=>
7t.gallery.forEach(_)),f={},w=null,Object.values(a).forEach(t=>t.onReset())},ot=()=>"false"===c.getAttribute("aria-hidden"),lt=()=>"ontouchstart"in window,dt=t=>-1!==["TEXTAREA","OPTION","INPUT","SELECT"].indexOf(t.tagName)||t===u||t===p||t===h,ct=(t,e)=>{c.addEventListener(t,e)},ut=(t,e)=>{c.removeEventListener(t,e)};return(t=>{if(o=(t=>({selector:".lightbox",captions:!0,captionsSelector:"img",captionAttribute:"alt",captionText:null,captionHTML:!1,captionToggle:!0,captionToggleLabel:["Hide caption","Show caption"],nav:"auto",navText:['<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path stroke="none" d="M0 0h24v24H0z"/><polyline points="15 6 9 12 15 18" /></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path stroke="none" d="M0 0h24v24H0z"/><polyline points="9 6 15 12 9 18" /></svg>'],navLabel:["Previous image","Next image"],close:!0,closeText:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path stroke="none" d="M0 0h24v24H0z"/><line x1="18" y1="6" x2="6" y2="18" /><line x1="6" y1="6" x2="18" y2="18" /></svg>',closeLabel:"Close lightbox",dialogTitle:"Lightbox",loadingIndicatorLabel:"Image loading",counter:!0,keyboard:!0,zoom:!1,zoomText:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path stroke="none" d="M0 0h24v24H0z"/><polyline points="16 4 20 4 20 8" /><line x1="14" y1="10" x2="20" y2="4" /><polyline points="8 20 4 20 4 16" /><line x1="4" y1="20" x2="10" y2="14" /><polyline points="16 20 20 20 20 16" /><line x1="14" y1="14" x2="20" y2="20" /><polyline points="8 4 4 4 4 8" /><line x1="4" y1="4" x2="10" y2="10" /></svg>',docClose:!0,swipeClose:!0,hideScrollbar:!0,draggable:!0,threshold:100,theme:"tobii--theme-default",...t}))(t),c=document.createElement("div"),c.setAttribute("role","dialog"),c.setAttribute("aria-hidden","true"),c.setAttribute("aria-modal","true"),c.setAttribute("aria-label",o.dialogTitle),c.classList.add("tobii"),c.classList.add(o.theme),u=document.createElement("button"),u.className="tobii__btn tobii__btn--previous",u.setAttribute("type","button"),u.setAttribute("aria-label",o.navLabel[0]),u.innerHTML=o.navText[0],c.appendChild(u),p=document.createElement("button"),p.className="tobii__btn tobii__btn--next",p.setAttribute("type","button"),p.setAttribute("aria-label",o.navLabel[1]),p.innerHTML=o.navText[1],c.appendChild(p),h=document.createElement("button"),h.className="tobii__btn tobii__btn--close",h.setAttribute("type","button"),h.setAttribute("aria-label",o.closeLabel),h.innerHTML=o.closeText,c.appendChild(h),b=document.createElement("div"),b.className="tobii__counter",c.appendChild(b),document.body.appendChild(c),!o.selector)return;const e=document.querySelectorAll(o.selector);if(!e)throw new Error(`Ups, I can't find the selector ${o.selector} on this website.`);e.forEach(t=>L(t))})(r),{open:T,previous:N,next:q,close:Y,add:L,remove:_,reset:st,destroy:()=>{st(),c.parentNode.removeChild(c)},isOpen:ot,slidesIndex:()=>f[w].currentIndex,select:t=>{const e=f[w].currentIndex;if(!ot())throw new Error("Ups, I'm closed.");if(ot()){if(!t&&0!==t)throw new Error("Ups, no slide specified.");if(t===f[w].currentIndex)throw new Error(`Ups, slide ${t} is already selected.`);if(-1===t||t>=f[w].elementsLength)throw new Error(`Ups, I can't find slide ${t}.`)}f[w].currentIndex=t,z(e),M(t),t<e&&(at("left"),P(e),X(t-1)),t>e&&(at("right"),P(e),X(t+1))},slidesCount:()=>f[w].elementsLength,selectGroup:t=>{if(ot())throw new Error("Ups, I'm open.");if(!t)throw new Error("Ups, no group specified.");if(t&&!Object.prototype.hasOwnProperty.call(f,t))throw new Error(`Ups, I don't have a group called "${t}".`);w=t},currentGroup:()=>w,on:ct,off:ut}}typeof module<"u"?module.exports=r:self.Tobii=r}();

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.