PageSourceSearch

https://www.redbullxalps.com/v3/resources/target/client/versions/9…/chunks/27451.86b5c5e11265ca9ba9e14482.js

js redbullxalps.com collected 2026-09-24 09:59:58 UTC 54,340 bytes, 13 lines download raw bytes

1"use strict";(self.rspackChunkrbgemc_rb3=self.rspackChunkrbgemc_rb3||[]).push([[27451],{84362(e,t,n){var i=n(31601),o=n.n(i),r=n(76314),a=(n.n(r))()(o());a.push([e.id,"@media (hover:hover){.pswp__container{transition:transform .4s cubic-bezier(.9,0,0,1)}}.pswp{touch-action:none;z-index:1500;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:none;width:100%;height:100%;display:none;position:absolute;top:0;left:0;overflow:hidden}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity .333s cubic-bezier(.4,0,.22,1)}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:grab}.pswp__bg{opacity:0;-webkit-backface-visibility:hidden;will-change:opacity;background:#000;width:100%;height:100%;position:absolute;top:0;left:0;transform:translateZ(0)}.pswp__scroll-wrap{width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden}.pswp__container,.pswp__zoom-wrap{touch-action:none;position:absolute;inset:0}.pswp__container,.pswp__img{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:#0000;-webkit-touch-callout:none}.pswp__zoom-wrap{transform-origin:0 0;width:100%;transition:transform .333s cubic-bezier(.4,0,.22,1);position:absolute}.pswp__bg{will-change:opacity;transition:opacity .333s cubic-bezier(.4,0,.22,1)}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__container,.pswp__zoom-wrap{-webkit-backface-visibility:hidden}.pswp__item{position:absolute;inset:0;overflow:hidden}.pswp__img{width:auto;height:auto;position:absolute;top:0;left:0}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{top:0;left:0;width:100%!important;height:auto!important}.pswp__error-msg{text-align:center;color:#ccc;width:100%;margin-top:-8px;font-size:14px;line-height:16px;position:absolute;top:50%;left:0}.pswp__error-msg a{color:#ccc;text-decoration:underline}",""]),n.d(t,{},{A:a})},5054(e,t,n){function i(e){return!!e&&["mobile","tablet"].includes(e)}function o(e){return!!e&&["desktop","hd"].includes(e)}function r(e){return{viewport:e,isMobile:"mobile"===e,isTablet:"tablet"===e,isDesktop:"desktop"===e,isHD:"hd"===e,isMobileOrTablet:i(e),isAboveDesktop:o(e)}}n.d(t,{K4:()=>o,Ws:()=>i,rb:()=>r})},30580(e,t,n){n.d(t,{S:()=>I});var i=n(85072),o=n.n(i),r=n(97825),a=n.n(r),s=n(44868),l=n.n(s),c=n(10540),u=n.n(c),d=n(41113),p=n.n(d),m=n(84362),f={attributes:{id:"84f990dc-cea7-4395-b0a2-e1714dafbf42",class:"rb3ca"}};f.styleTagTransform=p(),f.setAttributes=l(),f.insert=function(e){try{if(document.getElementById(e.id))return}catch(t){console.error(`insertStyles: document.getElementById for id ${e.id} failed`,t)}document.head.appendChild(e)},f.domAPI=a(),f.insertStyleElement=u(),o()(m.A,f),m.A&&m.A.locals&&m.A.locals;var h=n(50172),w=n(93378),g=n(1028),v=n(5054);let x=function(e,t,n,i){var o={features:null,bind:function(e,t,n,i){var o=(i?"remove":"add")+"EventListener";t=t.split(" ");for(var r=0;r<t.length;r++)t[r]&&e[o](t[r],n,!1)},isArray:function(e){return e instanceof Array},createEl:function(e,t){var n=document.createElement(t||"div");return e&&(n.className=e),n},getScrollY:function(){var e=window.pageYOffset;return void 0!==e?e:document.documentElement.scrollTop},unbind:function(e,t,n){o.bind(e,t,n,!0)},removeClass:function(e,t){var n=RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(e,t){o.hasClass(e,t)||(e.className+=(e.className?" ":"")+t)},hasClass:function(e,t){return e.className&&RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)},getChildByClass:function(e,t){for(var n=e.firstChild;n;){if(o.hasClass(n,t))return n;n=n.nextSibling}},arraySearch:function(e,t,n){for(var i=e.length;i--;)if(e[i][n]===t)return i;return -1},extend:function(e,t,n){for(var i in t)if(t.hasOwnProperty(i)){if(n&&e.hasOwnProperty(i))continue;e[i]=t[i]}},easing:{sine:{out:function(e){return Math.sin(Math.PI/2*e)},inOut:function(e){return-(Math.cos(Math.PI*e)-1)/2}},cubic:{out:function(e){return--e*e*e+1}}},detectFeatures:function(){if(o.features)return o.features;var e=o.createEl().style,t="",n={};if(n.oldIE=document.all&&!document.addEventListener,n.touch="ontouchstart"in window,window.requestAnimationFrame&&(n.raf=window.requestAnimationFrame,n.caf=window.cancelAnimationFrame),n.pointerEvent=navigator.pointerEnabled||navigator.msPointerEnabled,!n.pointerEvent){var i=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var r=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);r&&r.length>0&&(r=parseInt(r[1],10))>=1&&r<8&&(n.isOldIOSPhone=!0)}var a=i.match(/Android\s([0-9\.]*)/),s=a?a[1]:0;(s=parseFloat(s))>=1&&(s<4.4&&(n.isOldAndroid=!0),n.androidVersion=s),n.isMobileOpera=/opera mini|o
1pera mobi/i.test(i)}for(var l,c,u=["transform","perspective","animationName"],d=["","webkit","Moz","ms","O"],p=0;p<4;p++){t=d[p];for(var m=0;m<3;m++)l=u[m],c=t+(t?l.charAt(0).toUpperCase()+l.slice(1):l),!n[l]&&c in e&&(n[l]=c);t&&!n.raf&&(t=t.toLowerCase(),n.raf=window[t+"RequestAnimationFrame"],n.raf&&(n.caf=window[t+"CancelAnimationFrame"]||window[t+"CancelRequestAnimationFrame"]))}if(!n.raf){var f=0;n.raf=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-f)),i=window.setTimeout(function(){e(t+n)},n);return f=t+n,i},n.caf=function(e){clearTimeout(e)}}return n.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,o.features=n,n}};o.detectFeatures(),o.features.oldIE&&(o.bind=function(e,t,n,i){t=t.split(" ");for(var o,r=(i?"detach":"attach")+"Event",a=function(){n.handleEvent.call(n)},s=0;s<t.length;s++)if(o=t[s])if("object"==typeof n&&n.handleEvent){if(i){if(!n["oldIE"+o])return!1}else n["oldIE"+o]=a;e[r]("on"+o,n["oldIE"+o])}else e[r]("on"+o,n)});var r=this,a={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(e){return"A"===e.tagName},getDoubleTapZoom:function(e,t){return e||t.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};o.extend(a,i);var s,l,c,u,d,p,m,f,h,w,g,v,x,y,b,_,C,T,I,E,A,k,S,M,D,O,R,F,L,z,P,Z,N,U,$,H,K,B,W,q,Y,G,V,X,j,Q,J,ee,et,en,ei,eo,er,ea,es,el,ec=function(){return{x:0,y:0}},eu=ec(),ed=ec(),ep=ec(),em={},ef=0,eh={},ew=ec(),eg=0,ev=!0,ex=[],ey={},eb=!1,e_=function(e,t){o.extend(r,t.publicMethods),ex.push(e)},eC=function(e){var t=tL();return e>t-1?e-t:e<0?t+e:e},eT={},eI=function(e,t){return eT[e]||(eT[e]=[]),eT[e].push(t)},eE=function(e){var t=eT[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var i=0;i<t.length;i++)t[i].apply(r,n)}},eA=function(){return(new Date).getTime()},ek=function(e){ea=e,r.bg.style.opacity=e*a.bgOpacity},eS=function(e,t,n,i,o){(!eb||o&&o!==r.currItem)&&(i/=o?o.fitRatio:r.currItem.fitRatio),e[k]=v+t+"px, "+n+"px"+x+" scale("+i+")"},eM=function(e){et&&(e&&(w>r.currItem.fitRatio?eb||(tY(r.currItem,!1,!0),eb=!0):eb&&(tY(r.currItem),eb=!1)),eS(et,ep.x,ep.y,w))},eD=function(e){e.container&&eS(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},eO=function(e,t){t[k]=v+e+"px, 0px"+x},eR=function(e,t){if(!a.loop&&t){var n=u+(ew.x*ef-e)/ew.x,i=Math.round(e-ti.x);(n<0&&i>0||n>=tL()-1&&i<0)&&(e=ti.x+i*a.mainScrollEndFriction)}ti.x=e,eO(e,d)},eF=function(e,t){var n=to[e]-eh[e];return ed[e]+eu[e]+n-t/g*n},eL=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},ez=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},eP=null,eZ=function(){eP&&(o.unbind(document,"mousemove",eZ),o.addClass(e,"pswp--has_mouse"),a.mouseUsed=!0,eE("mouseUsed")),eP=setTimeout(function(){eP=null},100)},eN=function(){o.bind(document,"keydown",r),P.transform&&o.bind(r.scrollWrap,"click",r),a.mouseUsed||o.bind(document,"mousemove",eZ),o.bind(window,"resize scroll orientationchange",r),eE("bindEvents")},eU=function(){o.unbind(window,"resize scroll orientationchange",r),o.unbind(window,"scroll",h.scroll),o.unbind(document,"keydown",r),o.unbind(document,"mousemove",eZ),P.transform&&o.unbind(r.scrollWrap,"click",r),W&&o.unbind(window,m,r),clearTimeout(Z),eE("unbindEvents")},e$=function(e,t){var n=tH(r.currItem,em,e);return t&&(ee=n),n},eH=function(e){return e||(e=r.currItem),e.initialZoomLevel},eK=function(e){return e||(e=r.currItem),e.w>0?a.maxSpreadZoom:1},eB=function(e,t,n,i){return i===r.currItem.initialZoomLevel?(n[e]=r.currItem.initialPosition[e],!0):(n[e]=eF(e,i),n[e]>t.min[e])?(n[e]=t.min[e],!0):!!(n[e]<t.max[e])&&(n[e]=t.max[e],!0)},eW=function(){if(k){v="translate"+(P.perspective&&!M?"3d(":"("),x=P.perspective?", 0px)":")";return}k="left",o.addClass(e,"pswp--ie"),eO=function(e,t){t.left=e+"px"},eD=function(e){var t=e.fitRatio>1?1:e.fitRatio,n=e.container.style,i=t*e.w,o=t*e.h;n.width=i+"px",n.height=o+"px",n.left=e.initialPosition.x+"px",n.top=e.initialPosition.y+"px"}
1,eM=function(){if(et){var e=et,t=r.currItem,n=t.fitRatio>1?1:t.fitRatio,i=n*t.w,o=n*t.h;e.width=i+"px",e.height=o+"px",e.left=ep.x+"px",e.top=ep.y+"px"}}},eq=function(e){var t="";a.escKey&&27===e.keyCode?t="close":a.arrowKeys&&(37===e.keyCode?t="prev":39===e.keyCode&&(t="next")),!t||e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||(e.preventDefault?e.preventDefault():e.returnValue=!1,r[t]())},eY=function(e){e&&(G||Y||en||K)&&(e.preventDefault(),e.stopPropagation())},eG=function(){r.setScrollOffset(0,o.getScrollY())},eV={},eX=0,ej=function(e){eV[e]&&(eV[e].raf&&O(eV[e].raf),eX--,delete eV[e])},eQ=function(e){eV[e]&&ej(e),eV[e]||(eX++,eV[e]={})},eJ=function(){for(var e in eV)eV.hasOwnProperty(e)&&ej(e)},e0=function(e,t,n,i,o,r,a){var s,l=eA();eQ(e);var c=function(){if(eV[e]){if((s=eA()-l)>=i){ej(e),r(n),a&&a();return}r((n-t)*o(s/i)+t),eV[e].raf=D(c)}};c()},e1={},e3={},e2={},e5={},e4={},e6=[],e8={},e9=[],e7={},te=0,tt=ec(),tn=0,ti=ec(),to=ec(),tr=ec(),ta=function(e,t){return e7.x=Math.abs(e.x-t.x),e7.y=Math.abs(e.y-t.y),Math.sqrt(e7.x*e7.x+e7.y*e7.y)},ts=function(){V&&(O(V),V=null)},tl=function(){W&&(V=D(tl),tC())},tc=function(e,t){return!(!e||e===document||e.getAttribute("class")&&e.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(t(e)?e:tc(e.parentNode,t))},tu={},td=function(e,t){return tu.prevent=!tc(e.target,a.isClickableElement),eE("preventDragEvent",e,t,tu),tu.prevent},tp=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},tm=function(e,t,n){n.x=(e.x+t.x)*.5,n.y=(e.y+t.y)*.5},tf=function(e,t,n){if(e-U>50){var i=e9.length>2?e9.shift():{};i.x=t,i.y=n,e9.push(i),U=e}},th=function(){return 1-Math.abs((ep.y-r.currItem.initialPosition.y)/(em.y/2))},tw={},tg={},tv=[],tx=function(e){for(;tv.length>0;)tv.pop();return S?(el=0,e6.forEach(function(e){0===el?tv[0]=e:1===el&&(tv[1]=e),el++})):e.type.indexOf("touch")>-1?e.touches&&e.touches.length>0&&(tv[0]=tp(e.touches[0],tw),e.touches.length>1&&(tv[1]=tp(e.touches[1],tg))):(tw.x=e.pageX,tw.y=e.pageY,tw.id="",tv[0]=tw),tv},ty=function(e,t){var n,i,o,s,l=ep[e]+t[e],c=t[e]>0,u=ti.x+t.x,d=ti.x-e8.x;if(n=l>ee.min[e]||l<ee.max[e]?a.panEndFriction:1,l=ep[e]+t[e]*n,(a.allowPanToNext||w===r.currItem.initialZoomLevel)&&(et?"h"===ei&&"x"===e&&!Y&&(c?(l>ee.min[e]&&(n=a.panEndFriction,ee.min[e],i=ee.min[e]-ed[e]),(i<=0||d<0)&&tL()>1?(s=u,d<0&&u>e8.x&&(s=e8.x)):ee.min.x!==ee.max.x&&(o=l)):(l<ee.max[e]&&(n=a.panEndFriction,ee.max[e],i=ed[e]-ee.max[e]),(i<=0||d>0)&&tL()>1?(s=u,d>0&&u<e8.x&&(s=e8.x)):ee.min.x!==ee.max.x&&(o=l))):s=u,"x"===e))return void 0!==s&&(eR(s,!0),X=s!==e8.x),ee.min.x!==ee.max.x&&(void 0!==o?ep.x=o:X||(ep.x+=t.x*n)),void 0!==s;en||X||!(w>r.currItem.fitRatio)||(ep[e]+=t[e]*n)},tb=function(e){if("mousedown"!==e.type||!(e.button>0)){if(tR)return void e.preventDefault();if(!B||"mousedown"!==e.type){if(td(e,!0)&&e.preventDefault(),eE("pointerDown"),S){var t=o.arraySearch(e6,e.pointerId,"id");t<0&&(t=e6.length),e6[t]={x:e.pageX,y:e.pageY,id:e.pointerId}}var n=tx(e),i=n.length;j=null,eJ(),W&&1!==i||(W=eo=!0,o.bind(window,m,r),H=es=er=K=X=G=q=Y=!1,ei=null,eE("firstTouchStart",n),eL(ed,ep),eu.x=eu.y=0,eL(e5,n[0]),eL(e4,e5),e8.x=ew.x*ef,e9=[{x:e5.x,y:e5.y}],U=N=eA(),e$(w,!0),ts(),tl()),Q||!(i>1)||en||X||(g=w,Y=!1,Q=q=!0,eu.y=eu.x=0,eL(ed,ep),eL(e1,n[0]),eL(e3,n[1]),tm(e1,e3,tr),to.x=Math.abs(tr.x)-ep.x,to.y=Math.abs(tr.y)-ep.y,J=ta(e1,e3))}}},t_=function(e){if(e.preventDefault(),S){var t=o.arraySearch(e6,e.pointerId,"id");if(t>-1){var n=e6[t];n.x=e.pageX,n.y=e.pageY}}if(W){var i=tx(e);if(ei||G||Q)j=i;else if(ti.x!==ew.x*ef)ei="h";else{var r=Math.abs(i[0].x-e5.x)-Math.abs(i[0].y-e5.y);Math.abs(r)>=10&&(ei=r>0?"h":"v",j=i)}}},tC=function(){if(j){var e=j.length;if(0!==e)if(eL(e1,j[0]),e2.x=e1.x-e5.x,e2.y=e1.y-e5.y,Q&&e>1){if(e5.x=e1.x,e5.y=e1.y,!e2.x&&!e2.y&&(t=j[1],t.x===e3.x&&t.y===e3.y))return;eL(e3,j[1]),Y||(Y=!0,eE("zoomGestureStarted"));var t,n=tk(ta(e1,e3));n>r.currItem.initialZoomLevel+r.currItem.initialZoomLevel/15&&(es=!0);var i=1,o=eH(),s=eK();if(n<o)if(a.pinchToClose&&!es&&g<=r.currItem.initialZoomLevel){var l=1-(o-n)/(o/1.2);ek(l),eE("onPinchClose",l),er=!0}else(i=(o-n)/o)>1&&(i=1),n=o-o/3*i;else n>s&&((i=(n-s)/(6*o))>1&&(i=1),n=s+i*o);i<0&&(i=0),tm(e1,e3,tt),eu.x+=tt.x-tr.x,eu.y+=tt.y-tr.y,eL(tr,tt),ep.x=eF("x",n),ep.y=eF("y",n),H=n>w,w=n,eM()}else{if(!ei||(eo&&(eo=!1,Math.abs(e2.x)>=10&&(e2.x-=j[0].x-e4.x),Math.abs(e2.y)>=10&&(e2.y-=j[0].y-e4.y)),e5.x=e1.x,e5.y=e1.y,0===e2.x&&0===e2.y))return;if("v"===ei&&a.closeOnVerticalDrag&&"fit"===a.scaleMode&&w===r.currItem.initialZoomLevel){eu.y+=e2.y,ep.y+=e2.y;var c=th();K=!0,eE("onVerticalDrag",c),ek(c),eM();return}tf(eA(),e1.x,e1.y),G=!0,ee=r.currItem.bounds,ty("x",e2)||(ty("y",e2),ez(ep),eM())}}},tT=function(e){if(P.isOldAndroid){if(B&&"mouseup"===e.type)return;e.type.indexOf("touch")>-1&&(clearTimeout(B),B=setTimeout(function(){B=0},600))}if(eE("pointerUp"),td(e,!1)&&e.preventDefault(),S){var t=o.arraySearch(e6,e.pointerId,"id");t>-1&&(n=e6.splice(t,1)[0],navigator.pointerEnabled?n.type=e.pointerType||"mouse":(n.t
1ype=({4:"mouse",2:"touch",3:"pen"})[e.pointerType],n.type||(n.type=e.pointerType||"mouse")))}var n,i,s=tx(e),l=s.length;if("mouseup"===e.type&&(l=0),2===l)return j=null,!0;1===l&&eL(e4,s[0]),0!==l||ei||en||(!n&&("mouseup"===e.type?n={x:e.pageX,y:e.pageY,type:"mouse"}:e.changedTouches&&e.changedTouches[0]&&(n={x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY,type:"touch"})),eE("touchRelease",e,n));var c=-1;if(0===l&&(W=!1,o.unbind(window,m,r),ts(),Q?c=0:-1!==tn&&(c=eA()-tn)),tn=1===l?eA():-1,i=-1!==c&&c<150?"zoom":"swipe",Q&&l<2&&(Q=!1,1===l&&(i="zoomPointerUp"),eE("zoomGestureEnded")),j=null,G||Y||en||K){if(eJ(),$||($=tI()),$.calculateSwipeSpeed("x"),K){if(th()<a.verticalDragRange)r.close();else{var u=ep.y,d=ea;e0("verticalDrag",0,1,300,o.easing.cubic.out,function(e){ep.y=(r.currItem.initialPosition.y-u)*e+u,ek((1-d)*e+d),eM()}),eE("onVerticalDrag",1)}return}if((X||en)&&0===l){if(tA(i,$))return;i="zoomPointerUp"}if(!en){if("swipe"!==i)return void tS();!X&&w>r.currItem.fitRatio&&tE($)}}},tI=function(){var e,t,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(i){e9.length>1?(e=eA()-U+50,t=e9[e9.length-2][i]):(e=eA()-N,t=e4[i]),n.lastFlickOffset[i]=e5[i]-t,n.lastFlickDist[i]=Math.abs(n.lastFlickOffset[i]),n.lastFlickDist[i]>20?n.lastFlickSpeed[i]=n.lastFlickOffset[i]/e:n.lastFlickSpeed[i]=0,.1>Math.abs(n.lastFlickSpeed[i])&&(n.lastFlickSpeed[i]=0),n.slowDownRatio[i]=.95,n.slowDownRatioReverse[i]=1-n.slowDownRatio[i],n.speedDecelerationRatio[i]=1},calculateOverBoundsAnimOffset:function(e,t){!n.backAnimStarted[e]&&(ep[e]>ee.min[e]?n.backAnimDestination[e]=ee.min[e]:ep[e]<ee.max[e]&&(n.backAnimDestination[e]=ee.max[e]),void 0!==n.backAnimDestination[e]&&(n.slowDownRatio[e]=.7,n.slowDownRatioReverse[e]=1-n.slowDownRatio[e],n.speedDecelerationRatioAbs[e]<.05&&(n.lastFlickSpeed[e]=0,n.backAnimStarted[e]=!0,e0("bounceZoomPan"+e,ep[e],n.backAnimDestination[e],t||300,o.easing.sine.out,function(t){ep[e]=t,eM()}))))},calculateAnimOffset:function(e){n.backAnimStarted[e]||(n.speedDecelerationRatio[e]=n.speedDecelerationRatio[e]*(n.slowDownRatio[e]+n.slowDownRatioReverse[e]-n.slowDownRatioReverse[e]*n.timeDiff/10),n.speedDecelerationRatioAbs[e]=Math.abs(n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]),n.distanceOffset[e]=n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]*n.timeDiff,ep[e]+=n.distanceOffset[e])},panAnimLoop:function(){if(eV.zoomPan&&(eV.zoomPan.raf=D(n.panAnimLoop),n.now=eA(),n.timeDiff=n.now-n.lastNow,n.lastNow=n.now,n.calculateAnimOffset("x"),n.calculateAnimOffset("y"),eM(),n.calculateOverBoundsAnimOffset("x"),n.calculateOverBoundsAnimOffset("y"),n.speedDecelerationRatioAbs.x<.05&&n.speedDecelerationRatioAbs.y<.05)){ep.x=Math.round(ep.x),ep.y=Math.round(ep.y),eM(),ej("zoomPan");return}}};return n},tE=function(e){if(e.calculateSwipeSpeed("y"),ee=r.currItem.bounds,e.backAnimDestination={},e.backAnimStarted={},.05>=Math.abs(e.lastFlickSpeed.x)&&.05>=Math.abs(e.lastFlickSpeed.y))return e.speedDecelerationRatioAbs.x=e.speedDecelerationRatioAbs.y=0,e.calculateOverBoundsAnimOffset("x"),e.calculateOverBoundsAnimOffset("y"),!0;eQ("zoomPan"),e.lastNow=eA(),e.panAnimLoop()},tA=function(e,t){if(en||(te=u),"swipe"===e){var n,i,s,l,c=e5.x-e4.x,d=t.lastFlickDist.x<10;c>30&&(d||t.lastFlickOffset.x>20)?i=-1:c<-30&&(d||t.lastFlickOffset.x<-20)&&(i=1)}i&&((u+=i)<0?(u=a.loop?tL()-1:0,s=!0):u>=tL()&&(u=a.loop?0:tL()-1,s=!0),(!s||a.loop)&&(eg+=i,ef-=i,n=!0));var p=ew.x*ef,m=Math.abs(p-ti.x);return l=n||p>ti.x==t.lastFlickSpeed.x>0?Math.max(l=Math.min(l=Math.abs(t.lastFlickSpeed.x)>0?m/Math.abs(t.lastFlickSpeed.x):333,400),250):333,te===u&&(n=!1),en=!0,eE("mainScrollAnimStart"),e0("mainScroll",ti.x,p,l,o.easing.cubic.out,eR,function(){eJ(),en=!1,te=-1,(n||te!==u)&&r.updateCurrItem(),eE("mainScrollAnimComplete")}),n&&r.updateCurrItem(!0),n},tk=function(e){return 1/J*e*g},tS=function(){var e=w,t=eH(),n=eK();w<t?e=t:w>n&&(e=n);var i,a=ea;return er&&!H&&!es&&w<t?r.close():(er&&(i=function(e){ek((1-a)*e+a)}),r.zoomTo(e,0,200,o.easing.cubic.out,i)),!0};e_("Gestures",{publicMethods:{initGestures:function(){var e=function(e,t,n,i,o){T=e+t,I=e+n,E=e+i,A=o?e+o:""};(S=P.pointerEvent)&&P.touch&&(P.touch=!1),S?navigator.pointerEnabled?e("pointer","down","move","up","cancel"):e("MSPointer","Down","Move","Up","Cancel"):P.touch?(e("touch","start","move","end","cancel"),M=!0):e("mouse","down","move","up"),m=I+" "+E+" "+A,f=T,S&&!M&&(M=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),r.likelyTouchDevice=M,h[T]=tb,h[I]=t_,h[E]=tT,A&&(h[A]=h[E]),P.touch&&(f+=" mousedown",m+=" mousemove mouseup",h.mousedown=h[T],h.mousemove=h[I],h.mouseup=h[E]),M||(a.allowPanToNext=!1)}}});var tM,tD,tO,tR,tF,tL,tz=function(t,n,i,s){tM&&clearTimeout(tM),tR=!0,tO=!0,t.initialLayout?(p=t.initialLayout,t.initialLayout=null):p=a.getThumbBoundsFn&&a.getThumbBoundsFn(u);var l,d,p,m=i?a.hideAnimationDuration:a.showAnimationDuration,f=function(){ej("initialZoom"),i?(r.template.removeAttribute("style"),r.bg.removeAttribute("style")):(ek(1),n&&(n.style.display="block"),o.addClass(e,"pswp--animated-in"),eE("initialZoom"+(i?"OutEnd":"InEnd"))),s&&s(),tR=!1};if(!m||!p||void 0===p.x){eE("initialZoom"+(i?"Out":"In")),w=t.initialZoomLevel,eL(ep,t.initialPosition),eM(),e.style.opacity=+!i,ek(1),m?setTimeout(function(){f()},m):f();return}l=c,d=!r.currItem.src||r.currItem.loadError||a.showHideOpacity,t.miniImg&&(t.miniImg.style.webkitBackfaceVisibility="hidden"),i||(w=p.w/t.w,ep.x=p.x,ep.y=p.y-F,r[d?"template":"bg"].style.opacity=.001,eM()),eQ("initialZoom"),i&&
1!l&&o.removeClass(e,"pswp--animated-in"),d&&(i?o[(l?"remove":"add")+"Class"](e,"pswp--animate_opacity"):setTimeout(function(){o.addClass(e,"pswp--animate_opacity")},30)),tM=setTimeout(function(){if(eE("initialZoom"+(i?"Out":"In")),i){var n=p.w/t.w,r={x:ep.x,y:ep.y},a=w,s=ea,c=function(t){1===t?(w=n,ep.x=p.x,ep.y=p.y-z):(w=(n-a)*t+a,ep.x=(p.x-r.x)*t+r.x,ep.y=(p.y-z-r.y)*t+r.y),eM(),d?e.style.opacity=1-t:ek(s-t*s)};l?e0("initialZoom",0,1,m,o.easing.cubic.out,c,f):(c(1),tM=setTimeout(f,m+20))}else w=t.initialZoomLevel,eL(ep,t.initialPosition),eM(),ek(1),d?e.style.opacity=1:ek(1),tM=setTimeout(f,m+20)},i?25:90)},tP={},tZ=[],tN={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return tD.length}},tU=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},t$=function(e,t,n){var i=e.bounds;i.center.x=Math.round((tP.x-t)/2),i.center.y=Math.round((tP.y-n)/2)+e.vGap.top,i.max.x=t>tP.x?Math.round(tP.x-t):i.center.x,i.max.y=n>tP.y?Math.round(tP.y-n)+e.vGap.top:i.center.y,i.min.x=t>tP.x?0:i.center.x,i.min.y=n>tP.y?e.vGap.top:i.center.y},tH=function(e,t,n){if(!e.src||e.loadError)return e.w=e.h=0,e.initialZoomLevel=e.fitRatio=1,e.bounds=tU(),e.initialPosition=e.bounds.center,e.bounds;var i=!n;if(i&&(e.vGap||(e.vGap={top:0,bottom:0}),eE("parseVerticalMargin",e)),tP.x=t.x,tP.y=t.y-e.vGap.top-e.vGap.bottom,i){var o=tP.x/e.w,r=tP.y/e.h;e.fitRatio=o<r?o:r;var s=a.scaleMode;"orig"===s?n=1:"fit"===s&&(n=e.fitRatio),n>1&&(n=1),e.initialZoomLevel=n,e.bounds||(e.bounds=tU())}if(n)return t$(e,e.w*n,e.h*n),i&&n===e.initialZoomLevel&&(e.initialPosition=e.bounds.center),e.bounds}
1,tK=function(e,t,n,i,o,a){!t.loadError&&i&&(t.imageAppended=!0,tY(t,i,t===r.currItem&&eb),tq(t,i),n.appendChild(i),a&&setTimeout(function(){t&&t.loaded&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null)},500))},tB=function(e){e.loading=!0,e.loaded=!1;var t=e.img=o.createEl("pswp__img","img"),n=function(){e.loading=!1,e.loaded=!0,e.loadComplete?e.loadComplete(e):e.img=null,t.onload=t.onerror=null,t=null};return t.onload=n,t.onerror=function(){e.loadError=!0,n()},t.src=e.src,t},tW=function(e,t){if(e.src&&e.loadError&&e.container)return t&&(e.container.innerHTML=""),e.container.innerHTML=a.errorMsg.replace("%url%",e.src),!0},tq=function(e,t){(e.alt||""===e.alt)&&(t.alt=e.alt)},tY=function(e,t,n){if(e.src){t||(t=e.container.lastChild);var i=n?e.w:Math.round(e.w*e.fitRatio),o=n?e.h:Math.round(e.h*e.fitRatio);e.placeholder&&!e.loaded&&(e.placeholder.style.width=i+"px",e.placeholder.style.height=o+"px"),t.style.width=i+"px",t.style.height=o+"px"}},tG=function(){if(tZ.length){for(var e,t=0;t<tZ.length;t++)(e=tZ[t]).holder.index===e.index&&tK(e.index,e.item,e.baseDiv,e.img,!1,e.clearPlaceholder);tZ=[]}};e_("Controller",{publicMethods:{lazyLoadItem:function(e){e=eC(e);var t=tF(e);!t||(t.loaded||t.loading)&&!b||(eE("gettingData",e,t),t.src&&tB(t))},initController:function(){o.extend(a,tN,!0),r.items=tD=n,tF=r.getItemAt,tL=a.getNumItemsFn,a.loop,3>tL()&&(a.loop=!1),eI("beforeChange",function(e){var t,n=a.preload,i=null===e||e>=0,o=Math.min(n[0],tL()),s=Math.min(n[1],tL());for(t=1;t<=(i?s:o);t++)r.lazyLoadItem(u+t);for(t=1;t<=(i?o:s);t++)r.lazyLoadItem(u-t)}),eI("initialLayout",function(){r.currItem.initialLayout=a.getThumbBoundsFn&&a.getThumbBoundsFn(u)}),eI("mainScrollAnimComplete",tG),eI("initialZoomInEnd",tG),eI("destroy",function(){for(var e,t=0;t<tD.length;t++)(e=tD[t]).container&&(e.container=null),e.placeholder&&(e.placeholder=null),e.img&&(e.img=null),e.preloader&&(e.preloader=null),e.loadError&&(e.loaded=e.loadError=!1);tZ=null})},getItemAt:function(e){return e>=0&&void 0!==tD[e]&&tD[e]},allowProgressiveImg:function(){return a.forceProgressiveLoading||!M||a.mouseUsed||screen.width>1200},setContent:function(e,t){a.loop&&(t=eC(t));var n=r.getItemAt(e.index);n&&(n.container=null);var i,l=r.getItemAt(t);if(!l){e.el.innerHTML="";return}eE("gettingData",t,l),e.index=t,e.item=l;var c=l.container=o.createEl("pswp__zoom-wrap");if(!l.src&&l.html&&(l.html.tagName?c.appendChild(l.html):c.innerHTML=l.html),tW(l),tH(l,em),!l.src||l.loadError||l.loaded)l.src&&!l.loadError&&((i=o.createEl("pswp__img","img")).style.opacity=1,i.src=l.src,tY(l,i),tq(l,i),tK(t,l,c,i,!0));else{if(l.loadComplete=function(n){if(s){if(e&&e.index===t){if(tW(n,!0)){n.loadComplete=n.img=null,tH(n,em),eD(n),e.index===u&&r.updateCurrZoomItem();return}n.imageAppended?!tR&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null):P.transform&&(en||tR)?tZ.push({item:n,baseDiv:c,img:n.img,index:t,holder:e,clearPlaceholder:!0}):tK(t,n,c,n.img,en||tR,!0)}n.loadComplete=null,n.img=null,eE("imageLoadComplete",t,n)}},o.features.transform){var d="pswp__img pswp__img--placeholder";d+=l.msrc?"":" pswp__img--placeholder--blank";var p=o.createEl(d,l.msrc?"img":"");l.msrc&&(p.src=l.msrc),tY(l,p),tq(l,p),c.appendChild(p),l.placeholder=p}l.loading||tB(l),r.allowProgressiveImg()&&(!tO&&P.transform?tZ.push({item:l,baseDiv:c,img:l.img,index:t,holder:e}):tK(t,l,c,l.img,!0,!0))}tO||t!==u?eD(l):(et=c.style,tz(l,i||l.img)),e.el.innerHTML="",e.el.appendChild(c)},cleanSlide:function(e){e.img&&(e.img.onload=e.img.onerror=null),e.loaded=e.loading=e.img=e.imageAppended=!1}}});var tV,tX={},tj=function(e,t,n){var i=document.createEvent("CustomEvent"),o={origEvent:e,target:e.target,releasePoint:t,pointerType:n||"touch"};i.initCustomEvent("pswpTap",!0,!0,o),e.target.dispatchEvent(i)};e_("Tap",{publicMethods:{initTap:function(){eI("firstTouchStart",r.onTapStart),eI("touchRelease",r.onTapRelease),eI("destroy",function(){tX={},tV=null})},onTapStart:function(e){e.length>1&&(clearTimeout(tV),tV=null)},onTapRelease:function(e,t){if(t&&!G&&!q&&!eX){if(tV){var n;
1if(clearTimeout(tV),tV=null,n=tX,25>Math.abs(t.x-n.x)&&25>Math.abs(t.y-n.y))return void eE("doubleTap",t)}if("mouse"===t.type)return void tj(e,t,"mouse");if("BUTTON"===e.target.tagName.toUpperCase()||o.hasClass(e.target,"pswp__single-tap"))return void tj(e,t);eL(tX,t),tV=setTimeout(function(){tj(e,t),tV=null},300)}}}}),e_("DesktopZoom",{publicMethods:{initDesktopZoom:function(){L||(M?eI("mouseUsed",function(){r.setupDesktopZoom()}):r.setupDesktopZoom(!0))},setupDesktopZoom:function(t){tQ={};var n="wheel mousewheel DOMMouseScroll";eI("bindEvents",function(){o.bind(e,n,r.handleMouseWheel)}),eI("unbindEvents",function(){tQ&&o.unbind(e,n,r.handleMouseWheel)}),r.mouseZoomedIn=!1;var i,a=function(){r.mouseZoomedIn&&(o.removeClass(e,"pswp--zoomed-in"),r.mouseZoomedIn=!1),w<1?o.addClass(e,"pswp--zoom-allowed"):o.removeClass(e,"pswp--zoom-allowed"),s()},s=function(){i&&(o.removeClass(e,"pswp--dragging"),i=!1)};eI("resize",a),eI("afterChange",a),eI("pointerDown",function(){r.mouseZoomedIn&&(i=!0,o.addClass(e,"pswp--dragging"))}),eI("pointerUp",s),t||a()},handleMouseWheel:function(e){if(w<=r.currItem.fitRatio)return a.modal&&(!a.closeOnScroll||eX||W?e.preventDefault():k&&Math.abs(e.deltaY)>2&&(c=!0,r.close())),!0;if(e.stopPropagation(),tQ.x=0,"deltaX"in e)1===e.deltaMode?(tQ.x=18*e.deltaX,tQ.y=18*e.deltaY):(tQ.x=e.deltaX,tQ.y=e.deltaY);else if("wheelDelta"in e)e.wheelDeltaX&&(tQ.x=-.16*e.wheelDeltaX),e.wheelDeltaY?tQ.y=-.16*e.wheelDeltaY:tQ.y=-.16*e.wheelDelta;else{if(!("detail"in e))return;tQ.y=e.detail}e$(w,!0);var t=ep.x-tQ.x,n=ep.y-tQ.y;(a.modal||t<=ee.min.x&&t>=ee.max.x&&n<=ee.min.y&&n>=ee.max.y)&&e.preventDefault(),r.panTo(t,n)},toggleDesktopZoom:function(t){t=t||{x:em.x/2+eh.x,y:em.y/2+eh.y};var n=a.getDoubleTapZoom(!0,r.currItem),i=w===n;r.mouseZoomedIn=!i,r.zoomTo(i?r.currItem.initialZoomLevel:n,t,333),o[(!i?"add":"remove")+"Class"](e,"pswp--zoomed-in")}}});var tQ,tJ,t0,t1,t3,t2,t5,t4,t6,t8,t9,t7,ne,nt={history:!0,galleryUID:1},nn=function(){return t7.hash.substring(1)},ni=function(){tJ&&clearTimeout(tJ),t1&&clearTimeout(t1)},no=function(){var e=nn(),t={};if(e.length<5)return t;var n,i=e.split("&");for(n=0;n<i.length;n++)if(i[n]){var o=i[n].split("=");o.length<2||(t[o[0]]=o[1])}if(a.galleryPIDs){var r=t.pid;for(t.pid=0,n=0;n<tD.length;n++)if(tD[n].pid===r){t.pid=n;break}}else t.pid=parseInt(t.pid,10)-1;return t.pid<0&&(t.pid=0),t},nr=function(){if(t1&&clearTimeout(t1),eX||W){t1=setTimeout(nr,500);return}t3?clearTimeout(t0):t3=!0;var e=u+1,t=tF(u);t.hasOwnProperty("pid")&&(e=t.pid);var n=t4+"&gid="+a.galleryUID+"&pid="+e;t6||-1!==t7.hash.indexOf(n)||(t9=!0);var i=t7.href.split("#")[0]+"#"+n;ne?"#"+n!==window.location.hash&&history[t6?"replaceState":"pushState"]("",document.title,i):t6?t7.replace(i):t7.hash=n,t6=!0,t0=setTimeout(function(){t3=!1},60)};e_("History",{publicMethods:{initHistory:function(){if(o.extend(a,nt,!0),a.history){t7=window.location,t9=!1,t8=!1,t6=!1,t4=nn(),ne="pushState"in history,t4.indexOf("gid=")>-1&&(t4=(t4=t4.split("&gid=")[0]).split("?gid=")[0]),eI("afterChange",r.updateURL),eI("unbindEvents",function(){o.unbind(window,"hashchange",r.onHashChange)});var e=function(){t5=!0,t8||(t9?history.back():t4?t7.hash=t4:ne?history.pushState("",document.title,t7.pathname+t7.search):t7.hash=""),ni()};eI("unbindEvents",function(){c&&e()}),eI("destroy",function(){t5||e()}),eI("firstUpdate",function(){u=no().pid});var t=t4.indexOf("pid=");t>-1&&"&"===(t4=t4.substring(0,t)).slice(-1)&&(t4=t4.slice(0,-1)),setTimeout(function(){s&&o.bind(window,"hashchange",r.onHashChange)},40)}},onHashChange:function(){if(nn()===t4){t8=!0,r.close();return}t3||(t2=!0,r.goTo(no().pid),t2=!1)},updateURL:function(){ni(),t2||(t6?tJ=setTimeout(nr,800):nr())}}}),o.extend(r,{shout:eE,listen:eI,viewportSize:em,options:a,isMainScrollAnimating:function(){return en},getZoomLevel:function(){return w},getCurrentIndex:function(){return u},isDragging:function(){return W},isZooming:function(){return Q},setScrollOffset:function(e,t){eh.x=e,z=eh.y=t,eE("updateScrollOffset",eh)},applyZoomPan:function(e,t,n,i){ep.x=t,ep.y=n,w=e,eM(i)},init:function(){if(!s&&!l){r.framework=o,r.template=e,r.bg=o.getChildByClass(e,"pswp__bg"),R=e.className,s=!0,D=(P=o.detectFeatures()).raf,O=P.caf,k=P.transform,L=P.oldIE,r.scrollWrap=o.getChildByClass(e,"pswp__scroll-wrap"),r.container=o.getChildByClass(r.scrollWrap,"pswp__container"),d=r.container.style,r.itemHolders=_=[{el:r.container.children[0],wrap:0,index:-1},{el:r.container.children[1],wrap:0,index:-1},{el:r.container.children[2],wrap:0,index:-1}],_[0].el.style.display=_[2].el.style.display="none",eW(),h={resize:r.updateSize,orientationchange:function(){clearTimeout(Z),Z=setTimeout(function(){em.x!==r.scrollWrap.clientWidth&&r.updateSize()},500)},scroll:eG,keydown:eq,click:eY};var n,i=P.isOldIOSPhone||P.isOldAndroid||P.isMobileOpera;for(P.animationName&&P.transform&&!i||(a.showAnimationDuration=a.hideAnimationDuration=0),n=0;n<ex.length;n++)r["init"+ex[n]]();t&&(r.ui=new t(r,o)).init(),eE("firstUpdate"),(isNaN(u=u||a.index||0)||u<0||u>=tL())&&(u=0),r.currItem=tF(u),(P.isOldIOSPhone||P.isOldAndroid)&&(ev=!1),e.setAttribute("aria-hidden","false"),a.modal&&(ev?e.style.position="fixed":(e.style.position="absolute",e.style.top=o.getScrollY()+"px")),void 0===z&&(eE("initialLayout"),z=F=o.getScrollY());var c="pswp--open ";for(a.mainClass&&(c+=a.mainClass+" "),a.showHideOpacity&&(c+="pswp--animate_opacity "),c+=(M?"pswp--touch":"pswp--notouch")+(P.animationName?" pswp--css_animation":"")+(P.svg?" pswp--svg":""),o.addClass(e,c),r.updateSize(),p=-1,eg=null,n=0;n<3;n++)eO((n+p)*ew.x,_[n].el.style);L||o.bind(r.scrollWrap,f,r),eI("initialZoomInEnd",function(){r.setContent(_[0],u-1),r.setContent(_[2],u+1),_[0].el.style.display=_[2].el.style.display="block",a.focus&&e.focus(),eN()}),r.setContent(_[1],u),r.updateCurrItem(),eE("afterInit"),ev||(y=setInterval(function(){eX||W||Q||w!==r.currItem.initialZoomLevel||r.updateSize()},1e3)),o.addClass(e,"pswp--visible")}}
1,close:function(){s&&(s=!1,l=!0,eE("close"),eU(),tz(r.currItem,null,!0,r.destroy))},destroy:function(){eE("destroy"),tM&&clearTimeout(tM),e.setAttribute("aria-hidden","true"),e.className=R,y&&clearInterval(y),o.unbind(r.scrollWrap,f,r),o.unbind(window,"scroll",r),ts(),eJ(),eT=null},panTo:function(e,t,n){!n&&(e>ee.min.x?e=ee.min.x:e<ee.max.x&&(e=ee.max.x),t>ee.min.y?t=ee.min.y:t<ee.max.y&&(t=ee.max.y)),ep.x=e,ep.y=t,eM()},handleEvent:function(e){h[(e=e||window.event).type]&&h[e.type](e)},goTo:function(e){var t=(e=eC(e))-u;eg=t,r.currItem=tF(u=e),ef-=t,eR(ew.x*ef),eJ(),en=!1,r.updateCurrItem()},next:function(){r.goTo(u+1)},prev:function(){r.goTo(u-1)},updateCurrZoomItem:function(e){if(e&&eE("beforeChange",0),_[1].el.children.length){var t=_[1].el.children[0];et=o.hasClass(t,"pswp__zoom-wrap")?t.style:null}else et=null;ee=r.currItem.bounds,g=w=r.currItem.initialZoomLevel,ep.x=ee.center.x,ep.y=ee.center.y,e&&eE("afterChange")},invalidateCurrItems:function(){b=!0;for(var e=0;e<3;e++)_[e].item&&(_[e].item.needsUpdate=!0)},updateCurrItem:function(e){if(0!==eg){var t,n=Math.abs(eg);if(!e||!(n<2)){r.currItem=tF(u),eb=!1,eE("beforeChange",eg),n>=3&&(p+=eg+(eg>0?-3:3),n=3);for(var i=0;i<n;i++)eg>0?(t=_.shift(),_[2]=t,p++,eO((p+2)*ew.x,t.el.style),r.setContent(t,u-n+i+1+1)):(t=_.pop(),_.unshift(t),p--,eO(p*ew.x,t.el.style),r.setContent(t,u+n-i-1-1));if(et&&1===Math.abs(eg)){var o=tF(C);o.initialZoomLevel!==w&&(tH(o,em),tY(o),eD(o))}eg=0,r.updateCurrZoomItem(),C=u,eE("afterChange")}}},updateSize:function(t){if(!ev&&a.modal){var n,i,s,l=o.getScrollY();if(z!==l&&(e.style.top=l+"px",z=l),!t&&ey.x===window.innerWidth&&ey.y===window.innerHeight)return;ey.x=window.innerWidth,ey.y=window.innerHeight,e.style.height=ey.y+"px"}if(em.x=r.scrollWrap.clientWidth,em.y=r.scrollWrap.clientHeight,eG(),ew.x=em.x+Math.round(em.x*a.spacing),ew.y=em.y,eR(ew.x*ef),eE("beforeResize"),void 0!==p){for(var c=0;c<3;c++)n=_[c],eO((c+p)*ew.x,n.el.style),s=u+c-1,a.loop&&tL()>2&&(s=eC(s)),(i=tF(s))&&(b||i.needsUpdate||!i.bounds)?(r.cleanSlide(i),r.setContent(n,s),1===c&&(r.currItem=i,r.updateCurrZoomItem(!0)),i.needsUpdate=!1):-1===n.index&&s>=0&&r.setContent(n,s),i&&i.container&&(tH(i,em),tY(i),eD(i));b=!1}g=w=r.currItem.initialZoomLevel,(ee=r.currItem.bounds)&&(ep.x=ee.center.x,ep.y=ee.center.y,eM(!0)),eE("resize")},zoomTo:function(e,t,n,i,r){t&&(g=w,to.x=Math.abs(t.x)-ep.x,to.y=Math.abs(t.y)-ep.y,eL(ed,ep));var a=e$(e,!1),s={};eB("x",a,s,e),eB("y",a,s,e);var l=w,c={x:ep.x,y:ep.y};ez(s);var u=function(t){1===t?(w=e,ep.x=s.x,ep.y=s.y):(w=(e-l)*t+l,ep.x=(s.x-c.x)*t+c.x,ep.y=(s.y-c.y)*t+c.y),r&&r(t),eM(1===t)};n?e0("customZoomTo",0,1,n,i||o.easing.sine.inOut,u):u(1)}})},y=function(e,t){var n,i,o,r,a,s,l,c,u,d,p,m,f,h,w,g,v,x,y=this,b=!1,_=!0,C=!0,T={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(e,t){return e.title?(t.children[0].innerHTML=e.title,!0):(t.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return e.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return e.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},I=function(e){if(g)return!0;e=e||window.event,w.timeToIdle&&w.mouseUsed&&!u&&F();for(var n,i,o=(e.target||e.srcElement).getAttribute("class")||"",r=0;r<H.length;r++)(n=H[r]).onTap&&o.indexOf("pswp__"+n.name)>-1&&(n.onTap(),i=!0);i&&(e.stopPropagation&&e.stopPropagation(),g=!0,setTimeout(function(){g=!1},t.features.isOldAndroid?600:30))},E=function(e,n,i){t[(i?"add":"remove")+"Class"](e,"pswp__"+n)},A=function(){var e=1===w.getNumItemsFn();e!==h&&(E(i,"ui--one-slide",e),h=e)},k=function(){E(l,"share-modal--hidden",C)},S=function(){return(C=!C)?(t.removeClass(l,"pswp__share-modal--fade-in"),setTimeout(function(){C&&k()},300)):(k(),setTimeout(function(){C||t.addClass(l,"pswp__share-modal--fade-in")},30)),C||D(),!1},M=function(t){var n=(t=t||window.event).target||t.srcElement;return e.shout("shareLinkClick",t,n),!!n.href&&(!!n.hasAttribute("download")||(window.open(n.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),C||S(),!1))},D=function(){for(var e,t,n,i,o="",r=0;r<w.shareButtons.length;r++)e=w.shareButtons[r],t=w.getImageURLForShare(e),n=w.getPageURLForShare(e),i=w.getTextForShare(e),o+='<a href="'+e.url.replace("{{url}}",encodeURIComponent(n)).replace("{{image_url}}",encodeURIComponent(t)).replace("{{raw_image_url}}",t).replace("{{text}}",encodeURIComponent(i))+'" target="_blank" class="pswp__share--'+e.id+'"'+(e.download?"download":"")+">"+e.label+"</a>",w.parseShareButtonOut&&(o=w.parseShareButtonOut(e,o));l.children[0].innerHTML=o,l.children[0].onclick=M},O=function(e){for(var n=0;n<w.closeElClasses.length;n++)if(t.hasClass(e,"pswp__"+w.closeElClasses[n]))return!0},R=0,F=function(){clearTimeout(x),R=0,u&&y.setIdle(!1)},L=function(e){var t=(e=e||window.event).relatedTarget||e.toElement;t&&"HTML"!==t.nodeName||(clearTimeout(x),x=setTimeout(function(){y.setIdle(!0)},w.timeToIdleOutside))},z=function(){w.fullscreenEl&&!t.features.isOldAndroid&&(n||(n=y.getFullscreenAPI()),n?(t.bind(document,n.eventK,y.updateFullscreen),y.updateFullscreen(),t.addClass(e.template,"pswp--supports-fs")):t.removeClass(e.template,"pswp--supports-fs"))},P=function(){w.preloaderEl&&(Z(!0),d("beforeChange",function(){clearTimeout(f),f=setTimeout(function(){e.currItem&&e.currItem.loading?e.allowProgressiveImg()&&(!e.currItem.img||e.currItem.img.naturalWi
1dth)||Z(!1):Z(!0)},w.loadingIndicatorDelay)}),d("imageLoadComplete",function(t,n){e.currItem===n&&Z(!0)}))},Z=function(e){m!==e&&(E(p,"preloader--active",!e),m=e)},N=function(n){var a=n.vGap;if(!e.likelyTouchDevice||w.mouseUsed||screen.width>w.fitControlsWidth){var s=w.barsSize;w.captionEl&&"auto"===s.bottom?(r||((r=t.createEl("pswp__caption pswp__caption--fake")).appendChild(t.createEl("pswp__caption__center")),i.insertBefore(r,o),t.addClass(i,"pswp__ui--fit")),w.addCaptionHTMLFn(n,r,!0)?a.bottom=parseInt(r.clientHeight,10)||44:a.bottom=s.top):a.bottom="auto"===s.bottom?0:s.bottom,a.top=s.top}else a.top=a.bottom=0},U=function(){w.timeToIdle&&d("mouseUsed",function(){t.bind(document,"mousemove",F),t.bind(document,"mouseout",L),v=setInterval(function(){2==++R&&y.setIdle(!0)},w.timeToIdle/2)})},$=function(){var e;d("onVerticalDrag",function(e){_&&e<.95?y.hideControls():!_&&e>=.95&&y.showControls()}),d("onPinchClose",function(t){_&&t<.9?(y.hideControls(),e=!0):e&&!_&&t>.9&&y.showControls()}),d("zoomGestureEnded",function(){e=!1})},H=[{name:"caption",option:"captionEl",onInit:function(e){o=e}},{name:"share-modal",option:"shareEl",onInit:function(e){l=e},onTap:function(){S()}},{name:"button--share",option:"shareEl",onInit:function(e){s=e},onTap:function(){S()}},{name:"button--zoom",option:"zoomEl",onTap:e.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(e){a=e}},{name:"button--close",option:"closeEl",onTap:e.close},{name:"button--arrow--left",option:"arrowEl",onTap:e.prev},{name:"button--arrow--right",option:"arrowEl",onTap:e.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){n.isFullscreen()?n.exit():n.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(e){p=e}}],K=function(){var e,n,o,r=function(i){if(i)for(var r=i.length,a=0;a<r;a++){n=(e=i[a]).className;for(var s=0;s<H.length;s++)o=H[s],n.indexOf("pswp__"+o.name)>-1&&(w[o.option]?(t.removeClass(e,"pswp__element--disabled"),o.onInit&&o.onInit(e)):t.addClass(e,"pswp__element--disabled"))}};r(i.children);var a=t.getChildByClass(i,"pswp__top-bar");a&&r(a.children)};y.init=function(){t.extend(e.options,T,!0),w=e.options,i=t.getChildByClass(e.scrollWrap,"pswp__ui"),d=e.listen,$(),d("beforeChange",y.update),d("doubleTap",function(t){var n=e.currItem.initialZoomLevel;e.getZoomLevel()!==n?e.zoomTo(n,t,333):e.zoomTo(w.getDoubleTapZoom(!1,e.currItem),t,333)}),d("preventDragEvent",function(e,t,n){var i=e.target||e.srcElement;i&&i.getAttribute("class")&&e.type.indexOf("mouse")>-1&&(i.getAttribute("class").indexOf("__caption")>0||/(SMALL|STRONG|EM)/i.test(i.tagName))&&(n.prevent=!1)}),d("bindEvents",function(){t.bind(i,"pswpTap click",I),t.bind(e.scrollWrap,"pswpTap",y.onGlobalTap),e.likelyTouchDevice||t.bind(e.scrollWrap,"mouseover",y.onMouseOver)}),d("unbindEvents",function(){C||S(),v&&clearInterval(v),t.unbind(document,"mouseout",L),t.unbind(document,"mousemove",F),t.unbind(i,"pswpTap click",I),t.unbind(e.scrollWrap,"pswpTap",y.onGlobalTap),t.unbind(e.scrollWrap,"mouseover",y.onMouseOver),n&&(t.unbind(document,n.eventK,y.updateFullscreen),n.isFullscreen()&&(w.hideAnimationDuration=0,n.exit()),n=null)}),d("destroy",function(){w.captionEl&&(r&&i.removeChild(r),t.removeClass(o,"pswp__caption--empty")),l&&(l.children[0].onclick=null),t.removeClass(i,"pswp__ui--over-close"),t.addClass(i,"pswp__ui--hidden"),y.setIdle(!1)}),w.showAnimationDuration||t.removeClass(i,"pswp__ui--hidden"),d("initialZoomIn",function(){w.showAnimationDuration&&t.removeClass(i,"pswp__ui--hidden")}),d("initialZoomOut",function(){t.addClass(i,"pswp__ui--hidden")}),d("parseVerticalMargin",N),K(),w.shareEl&&s&&l&&(C=!0),A(),U(),z(),P()},y.setIdle=function(e){u=e,E(i,"ui--idle",e)},y.update=function(){_&&e.currItem?(y.updateIndexIndicator(),w.captionEl&&(w.addCaptionHTMLFn(e.currItem,o),E(o,"caption--empty",!e.currItem.title)),b=!0):b=!1,C||S(),A()},y.updateFullscreen=function(i){i&&setTimeout(function(){e.setScrollOffset(0,t.getScrollY())},50),t[(n.isFullscreen()?"add":"remove")+"Class"](e.template,"pswp--fs")},y.updateIndexIndicator=function(){w.counterEl&&(a.innerHTML=e.getCurrentIndex()+1+w.indexIndicatorSep+w.getNumItemsFn())},y.onGlobalTap=function(n){var i=(n=n||window.event).target||n.srcElement;if(!g){if(n.detail&&"mouse"===n.detail.pointerType){if(O(i))return void e.close();t.hasClass(i,"pswp__img")&&(1===e.getZoomLevel()&&e.getZoomLevel()<=e.currItem.fitRatio?w.clickToCloseNonZoomable&&e.close():e.toggleDesktopZoom(n.detail.releasePoint))}else if(w.tapToToggleControls&&(_?y.hideControls():y.showControls()),w.tapToClose&&(t.hasClass(i,"pswp__img")||O(i)))return void e.close()}},y.onMouseOver=function(e){var t=(e=e||window.event).target||e.srcElement;E(i,"ui--over-close",O(t))},y.hideControls=function(){t.addClass(i,"pswp__ui--hidden"),_=!1},y.showControls=function(){_=!0,b||y.update(),t.removeClass(i,"pswp__ui--hidden")},y.supportsFullscreen=function(){var e=document;return!!(e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen)},y.getFullscreenAPI=function(){var t,n=document.documentElement,i="fullscreenchange";return n.requestFullscreen?t={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:i}:n.mozRequestFullScreen?t={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+i}:n.webkitRequestFullscreen?t={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+i}:n.msRequestFullscreen&&(t={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}
1),t&&(t.enter=function(){if(c=w.closeOnScroll,w.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK)return e.template[this.enterK]();e.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},t.exit=function(){return w.closeOnScroll=c,document[this.exitK]()},t.isFullscreen=function(){return document[this.elementK]}),t}};var b=n(14733),_=n(62106);function C(e){let{width:t,height:n}=function(e){let t=(0,v.K4)((0,_.C)())?3e3:2e3,n=(0,w.A)(e)??{width:300,height:400};if("animated"===e.subType)return n;let i=n.width/n.height;return i>1&&n.width>t?{width:t,height:Math.round(t/i),aspectRatio:i}:i<1&&n.height>t?{width:Math.round(t*i),height:t,aspectRatio:i}:1===i&&n.width>t?{width:t,height:t,aspectRatio:i}:{width:n.width,height:n.height,aspectRatio:i}}(e),i="animated"===e.subType;return{src:(0,g.Z)(e,i?{original:i}:{width:t,intrinsicAspectRatio:!0}),msrc:(0,g.Z)(e,i?{original:i}:{width:150,intrinsicAspectRatio:!0}),alt:e.altText,w:t,h:n}}class T extends h.uA{constructor(){super(...arguments),this.refs={pswp:(0,h._3)()},this.isClosed=!1}componentDidMount(){this.createPhotoSwipe()}shouldComponentUpdate(){return!1}componentWillReceiveProps(e){this.imagesChanged(e.images)?(this.pswp?.destroy(),this.createPhotoSwipe()):this.pswp?.goTo(e.index??0)}componentWillUnmount(){this.isClosed||this.pswp?.destroy()}createPhotoSwipe(){let e=this.refs.pswp.current;if(!e){console.error("Unable to create photoswipe slideshow: No DOM reference available"),this.props.onClose();return}let t=new x(e,y,this.props.images.map(C),{bgOpacity:0,focus:!1,history:!1,index:this.props.index??0,modal:!1,arrowEl:!1,closeEl:!1,captionEl:!1,zoomEl:!1,shareEl:!1,counterEl:!1,fullscreenEl:!1,preloaderEl:!1,barsSize:{top:0,bottom:0}}),n=this.props.index;t.listen("beforeChange",()=>{let e=t.getCurrentIndex();n!==e&&(n=e,this.props.onNavigate(e))}),t.listen("close",()=>{this.isClosed=!0,this.props.onClose()}),t.init(),t.framework.bind(this.refs.pswp.current,"pswpTap",e=>{"mouse"!==e.detail.pointerType&&this.props.onTap()}),setTimeout(()=>t.updateSize(!0),100),this.pswp=t,this.isClosed=!1}imagesChanged(e){let t=this.props.images;return e.length!==t.length||e.some((e,n)=>e.id!==t[n]?.id)}render(){return(0,b.y4)({className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true",ref:this.refs.pswp},(0,b.y4)({className:"pswp__bg"}),(0,b.y4)({className:"pswp__scroll-wrap"},(0,b.y4)({className:"pswp__container"},(0,b.y4)({className:"pswp__item"}),(0,b.y4)({className:"pswp__item"}),(0,b.y4)({className:"pswp__item"})),(0,b.y4)({className:"pswp__ui pswp__ui--hidden"})))}}function I(e){return(0,h.h)(T,e)}},20359(e,t,n){let i={min:1600,max:1/0},o={min:1200,max:i.min-.001},r={min:1e3,max:o.min-.001},a={min:650,max:r.min-.001},s={min:0,max:a.min-.001};var l,c=((l=c||{}).Mobile="mobile",l.Tablet="tablet",l.Desktop="desktop",l.HD="hd",l.HDPlus="hdPlus",l);n.d(t,{E:()=>c},{A:{mobile:s,tablet:a,desktop:r,hd:o,hdPlus:i}})},62106(e,t,n){var i=n(36952);function o(){let e=new i.r,t=e.current;return e.destroy(),t}n.d(t,{C:()=>o})},36952(e,t,n){let i,o;var r=n(38221),a=n.n(r),s=n(20359);function l(e){return void 0!==e.addEventListener}class c{constructor({onChange:e}={}){const t=e&&a()(e,100);this.viewportMatchers=[u("mobile",t),u("tablet",t),u("desktop",t),u("hd",t)]}get current(){let e=this.viewportMatchers.find(e=>e.mediaMatcher.matches)?.viewport;return e||(console.error(`no viewport matcher for width: ${document.documentElement.clientWidth}`),"mobile")}destroy(){this.viewportMatchers.forEach(e=>{e.onChangeHandler&&(l(e.mediaMatcher)?e.mediaMatcher.removeEventListener("change",e.onChangeHandler):e.mediaMatcher.removeListener(e.onChangeHandler))})}}function u(e,t){let n,r,a=(r=o!==window,(!i||r)&&(i={mobile:window.matchMedia(`(max-width: ${s.A.mobile.max}px)`),tablet:window.matchMedia(`(min-width: ${s.A.tablet.min}px) and (max-width: ${s.A.tablet.max}px)`),desktop:window.matchMedia(`(min-width: ${s.A.desktop.min}px) and (max-width: ${s.A.desktop.max}px)`),hd:window.matchMedia(`(min-width: ${s.A.hd.min}px)`)},o=window),i[e]);return t&&(n=({matches:n})=>{n&&t(e)},l(a)?a.addEventListener("change",n):a.addListener(n)),{mediaMatcher:a,viewport:e,onChangeHandler:n}}n.d(t,{r:()=>c})}
1,43441(e,t,n){var i,o=((i=o||{}).CLOUDINARY="cloudinary",i.ABSOLUTE="absolute",i.SHOWCASE="showcase",i.REDBULLSHOP="redbullshop",i.RALLYTV="rallytv",i);n.d(t,{g:()=>o})},18843(e,t,n){var i=n(50172);function o(e){return(t,...n)=>(0,i.h)(e,t,n)}n.d(t,{fc:()=>o})},56575(e,t,n){var i=n(55378),o=n.n(i),r=n(62097);function a(e,t,n=.2){if(!t)return;let i=o()(t,(t,n)=>({value:t,divergence:Math.abs(function(e){if(!e.includes("x"))return Number.parseFloat(e);let[t,n]=e.split("x");return parseInt(t)/parseInt(n)}(n)/e-1)})).filter(r.Pe).sort((e,t)=>e.divergence-t.divergence)[0];if(i&&!(i.divergence>n))return i.value}n.d(t,{A:()=>a})},57552(e,t,n){n.d(t,{},{L:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="})},66434(e,t,n){n.d(t,{T:()=>f});var i=n(43441),o=n(62097),r=n(56575),a=n(57552),s=n(98574);function l(e){return e.preview?"20":!e.isLogo&&e.devicePixelRatio&&e.devicePixelRatio>=2?"auto:low":e.isLogo?"auto:best":"auto"}function c(e){let t=e[1].left-e[0].left,n=e[1].top-e[0].top;return`c_crop,x_${e[0].left},y_${e[0].top},h_${n},w_${t}`}function u(e,t,n,i,o){let r=[];return e&&(n?r.push("c_limit"+(e?`,w_${e}`:"")+(t?`,h_${t}`:"")):i?r.push(`w_${e}`):"number"==typeof t&&r.push(function(e,t,n){if(n?.cropping){let i=c(n.cropping);return`${i}/c_fill,w_${e},h_${t}`}return`c_fill,g_auto,w_${e},h_${t}`}(e,t,o))),r}function d(e,t){return e.replace("{op}",t.filter(o.Pe).join("/"))}let p=Object.fromEntries(["4x1","3x1","5x2","20x9","2x1","16x9","3x2","4x3","5x4","7x6","10x9","1x1","4x5","3x4","3x5","2x5"].map(e=>[e,e]));function m(e){return e.imageEssence.raw}let f={[i.g.ABSOLUTE]:{provider:function(e){return e.imageEssence.path},rawDimensions:function(e){return e.imageEssence.raw}},[i.g.CLOUDINARY]:{provider:function(e,t){let n,i,{original:o,contain:p,isLogo:m,intrinsicAspectRatio:f,preview:h,coverArtType:w,trim:g}=t,{hasBeenCapped:v,width:x,height:y}=(n=void 0===t.width?void 0:Math.min(Math.max(t.width,0),1e4),{width:n,height:i=void 0===t.height?void 0:Math.min(Math.max(t.height,0),1e4),hasBeenCapped:1e4===n||0===n||1e4===i||0===i});if(v&&(console.error("Invalid image dimensions requested:",{width:x,height:y}),0===x||0===y))return a.L;let b=l(t),_=function(e,t=!1){return e.preview?"webp":e.overrideAutoFormat?e.overrideAutoFormat:!t&&(e.width??0)*(e.height??0)>=1e6?"webp":"auto"}(t,"animated"===e.subType),C=`q_${b},f_${_}${h?",e_vectorize:30":""}`,T=e.imageEssence.imageURL;if("animated"===e.subType){let e;return d(T,(e=u(t.width,t.height,!!t.contain,t.intrinsicAspectRatio),t.preview??t.renderOnlyFirstFrame?[...e,"pg_1",C]:"gif"===t.overrideAutoFormat?[...e,"vs_0.04s",C]:["c_limit,w_1300","e_loop",C]))}if(o)return d(T,[C]);let I=function(e,t,n){if(n&&void 0!==t&&void 0!==e){let i=n.reduce((e,t)=>(e[t.ratioTextual]=t,e),{});return(0,r.A)(e/t,i,.25)}}(x,y,e.imageEssence.aspectRatios),E=I?.imageURL?I.imageURL:T;if(w)return d(E,[...function(e,t,n){if(!e)return[];let i=n?.find(e=>{switch(t){case s.n.Portrait:return"2x3"===e.ratioTextual;case s.n.Square:return"1x1"===e.ratioTextual}return!1});if(i?.cropping)return[c(i.cropping),`c_scale,w_${e}`];let o=t===s.n.Square?"ar_1:1":"ar_2:3";return[`c_fill,w_${e},${o}`]}(x,w,e.imageEssence.aspectRatios),C]);let A=u(x,y,!!p,f,I),k="c_limit,w_4000";if(m){var S,M;let e,t;return d(E,[k,"e_trim:1:transparent",...A,(S=x,M=y,e=void 0===(t=void 0===S?M:void 0===M?S:Math.min(S,M))?5:Math.min(5,Math.max(1,Math.round(.02*t))),`bo_${e}px_solid_rgb:00000000`),`q_${b},f_auto`])}return d(E,[g?`${k}/e_trim:0:transparent`:void 0,...A,C])},rawDimensions:function(e,t){return t?.useTrimmed&&e.imageEssence.trimmedDimensions?e.imageEssence.trimmedDimensions:e.imageEssence.raw}},[i.g.SHOWCASE]:{provider:function(e,t){var n,i,o,a;let s,l=e.imageEssence.color,{width:c,height:u}=function(e,t){let n=t.width/t.height;if(e.original)return{width:t.width,height:t.height};if(e.intrinsicAspectRatio){let i=e.width??t.width;return{width:i,height:i/n}}if(e.contain){if(n>(e.width&&e.height?e.width/e.height:1)){let i=e.width??t.width;return{width:i,height:i/n}}let i=e.height??t.height;return{width:i*n,height:i}}return{width:e.width??t.width,height:e.height??t.height}}(t,m(e)),d=function(e,t,n){if(e.imageEssence.showUsedCropping)return(0,r.A)(t/n,p)??"uncropped"}(e,c,u);return n=c,i=u,o=l,a=d,"data:image/svg+xml;utf8,"+encodeURIComponent(`<svg width='${n}' height='${i}' xmlns='http://www.w3.org/2000/svg'>
2            <rect x='-100%' y='-100%' height='300%' width='300%' fill='${o}' />
3            ${a?(s=.3*Math.min(i,n),`
4            <rect x='0' y='0' height='100%' width='100%'
5                stroke='black' stroke-width='2' fill='none' stroke-dasharray='4% 8%' />
6            <rect x='3%' y='3%' height='94%' width='94%'
7                stroke='darkgray' stroke-width='2' fill='none'/>
8            <rect x='6%' y='6%' height='88%' width='88%'
9                stroke='lightgray' stroke-width='2' fill='none' />
10            <text x='50%' y='50%' class='text' dominant-baseline='middle' text-anchor='middle'
11                color='black' font-size='${s}'>${a}</text>
12        `):""}
13        </svg>`)},rawDimensions:m},[i.g.REDBULLSHOP]:{provider:function(e,t){let n=l(t),i=`f_auto,q_${n}`,r=t.preview?"e_vectorize:30":void 0,a=t.isLogo?void 0:"b_rgb:e9ebec",s=[function({width:e,height:t}){return e?`c_scale,w_${e}`:t?`c_scale,h_${t}`:void 0}(t),r,a,i].filter(o.Pe);return e.imageEssence.imageUrl.replace("/{op}/",`/${s.join("/")}/`)},rawDimensions:function(){}}
13,[i.g.RALLYTV]:{provider:function(e,t){let n=l(t),i=`f_auto,q_${n}`,r=t.preview?"e_vectorize:30":void 0,a=[function({width:e,height:t}){let n=["c_auto","g_auto"];return e&&n.push(`w_${e}`),t&&n.push(`h_${t}`),n.join(",")}(t),r,i].filter(o.Pe).join("/");return e.imageEssence.imageUrl.replace("{im}",a)},rawDimensions:function(){}}}},93378(e,t,n){var i=n(66434);function o(e,t){if(!e)return;let n=e.imageEssence;return i.T[n.provider].rawDimensions(e,t)}n.d(t,{A:()=>o})},98574(e,t,n){var i,o=((i=o||{}).Portrait="portrait",i.Square="square",i);n.d(t,{n:()=>o})},1028(e,t,n){var i=n(57552),o=n(66434);function r(e){return!("contain"in e)&&"width"in e&&"height"in e}function a(e){return void 0!==e.aspectRatio}function s(e,t){return Math.ceil(e/t)*t}function l(e,t){try{let n,i;if((r(t)||a(t)||t.intrinsicAspectRatio)&&(n=t.disableStepSize?t.width:Math.max(50,s(t.width,t.overrideStepSize?.width??50)),r(t)||a(t))){let e=a(t)?t.aspectRatio:t.width/t.height,o=Math.round(n/e);i=s(o,t.overrideStepSize?.height??1)}let l=e.imageEssence,c=t.isLogo??"logo"===e.subType,u=Object.assign({...t,isLogo:c},void 0!==n?{width:n}:{},void 0!==i?{height:i}:{});return o.T[l.provider].provider(e,u)}catch(t){return console.error("error on resolving image url",e,t),i.L}}n.d(t,{Z:()=>l})}}]);

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.