PageSourceSearch

https://epaper.rheintaler.ch/3112.7060f9ea781d454d.js

js rheintaler.ch collected 2026-10-02 07:47:29 UTC 11,638 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([[3112],{2932:(S,x,r)=>{r.d(x,{h:()=>s,q:()=>m});var u=r(177),e=r(3953),f=r(8251),v=r(8890),o=r(6010),_=r(9516),i=r(9876),p=r(5927),c=r(6033);const l=["image"],E=(g,y,d)=>({imageResolutionStrategy:g,focalPoint:y,aspectRatio:d});function n(g,y){if(1&g){const d=e.RV6();e.j41(0,"img",2,0),e.bIt("error",function(){e.eBV(d);const a=e.XpG();return e.Njj(a.onError())}),e.k0s()}if(2&g){const d=e.XpG();e.Y8G("priority",d.lcpPrioritized())("ngSrc",d.imgSrc())("alt",d.alt)("title",d.title)("loaderParams",e.sMw(5,E,d.imageResolutionStrategy(),d.focalPoint,d.aspectRatio()))}}let s=(()=>{var g;class y{get regularSrc(){return this.domHelper.regularSelector(this.imgSrc())}get prefixedPostType(){return this.domHelper.prefixedSelector(this.imgSrc())}get regularLabel(){return this.domHelper.regularSelector(this.label())}get prefixedLabel(){return this.domHelper.prefixedSelector(this.label())}get regularResolutionStrategy(){return this.domHelper.regularSelector(this.imageResolutionStrategy())}get prefixedResolutionStrategy(){return this.domHelper.prefixedSelector(this.imageResolutionStrategy())}set image(t){t&&this.onLoad(t),this._image=t}get image(){return this._image}get regularAlt(){return this.domHelper.regularSelector(this.alt)}get prefixedAlt(){return this.domHelper.prefixedSelector(this.alt)}get regularTitle(){return this.domHelper.regularSelector(this.title)}get prefixedTitle(){return this.domHelper.prefixedSelector(this.title)}get regularFocalPoint(){return this.domHelper.regularSelector(this.focalPoint)}get prefixedFocalPoint(){return this.domHelper.prefixedSelector(this.focalPoint)}get regularHeightStrategy(){return this.domHelper.regularSelector(this.height())}get prefixedHeightStrategy(){return this.domHelper.prefixedSelector(this.height())}constructor(){this.changeDetectorRef=(0,e.WQX)(e.gRc),this.elementRef=(0,e.WQX)(e.aKT),this.subscriptions=(0,e.WQX)(f.v),this.platformId=(0,e.WQX)(e.Agw),this.contextService=(0,e.WQX)(_.V),this.purpleService=(0,e.WQX)(o.Wj),this.domHelper=(0,e.WQX)(p.S),this.src=(0,e.hFB)(),this.imgSrc=(0,e.uuI)(()=>this.src()),this.label=(0,e.hFB)(void 0),this.extendedThumbnail=(0,e.hFB)(void 0),this.imageResolutionStrategy=(0,e.hFB
1)(void 0),this.aspectRatio=(0,e.hFB)(void 0),this.lcpPrioritized=(0,e.hFB)(!1),this.error=(0,e.CGW)(),this.height=(0,e.hFB)(m.AUTO),(0,u.UE)(this.platformId)&&this.subscriptions.subscribe((0,v.eh)(this,this.elementRef),t=>this.load())}get empty(){return!this.imgSrc()}ngOnInit(){this.initProperties()}initProperties(){var t,a;const h=this.extendedThumbnail();this.alt=(null==h?void 0:h.properties.alt)||(null==h?void 0:h.properties.caption)||"",this.title=(null==h?void 0:h.properties.title)||this.alt,this.ariaLabel=null!==(t=this.label())&&void 0!==t?t:this.alt,this.focalPoint=null===(a=this.extendedThumbnail())||void 0===a?void 0:a.properties.focuspoint}initAndLoad(){this.initProperties(),this.load()}load(){this.loaded||(this.loaded=!0,this.imgSrc()&&this.update(),this.changeDetectorRef.detectChanges())}ngOnChanges(t){t.src&&this.loaded&&this.update()}update(){this.updateImageRatio()}onLoad(t){t.nativeElement.classList.add("loaded"),this.elementRef.nativeElement.classList.add("loaded"),this.changeDetectorRef.detectChanges(),t.nativeElement.addEventListener("load",()=>{this.updateImageRatio(!0,t),this.changeDetectorRef.markForCheck()}),t.nativeElement.addEventListener("error",function(){t.nativeElement.style.display="none",t.nativeElement.nextElementSibling&&(t.nativeElement.nextElementSibling.style.display="inline")})}onError(){if(!this.imgSrc())return;const t=this.purpleService.getAlternativeSrc(this.imgSrc());var a;t&&t!==this.imgSrc()?(this.imgSrc.set(this.contextService.toStorefrontResourceUrl(t)),this.changeDetectorRef.detectChanges()):(null===(a=this.image)||void 0===a||a.nativeElement.classList.add("error"),this.elementRef.nativeElement.classList.add("error"),this.error.emit(this))}updateImageRatio(t=!1,a=this.image){this.imageRatio=this.height()===m.AUTO?(0,i.z)(!t,null==a?void 0:a.nativeElement,this.imgSrc())+"%":void 0}}return(g=y).\u0275fac=function(t){return new(t||g)},g.\u0275cmp=e.VBU({type:g,selectors:[["storefront-image"]],viewQuery:function(t,a){if(1&t&&e.GBs(l,5),2&t){let h;e.mGM(h=e.lsd())&&(a.image=h.first)}},hostVars:18,hostBindings:function(t,a){2&t&&(e.BMQ("src",a.regularSrc)("data-pxp-src",a.prefixedPostType)("label",a.regularLabel)("data-pxp-label",a.prefixedLabel)("resolution-strategy",a.regularResolutionStrategy)("data-pxp-resolution-strategy",a.prefixedResolutionStrategy)("alt",a.regularAlt)("data-pxp-alt",a.prefixedAlt)("title",a.regularTitle)("data-pxp-title",a.prefixedTitle)("focal-point",a.regularFocalPoint)("data-pxp-focal-point",a.prefixedFocalPoint)("height-strategy",a.regularHeightStrategy)("data-pxp-height-strategy",a.prefixedHeightStrategy),e.xc7("padding-top",a.imageRatio),e.AVh("empty",a.empty))},inputs:{src:[1,"src"],label:[1,"label"],extendedThumbnail:[1,"extendedThumbnail"],imageResolutionStrategy:[1,"imageResolutionStrategy"],aspectRatio:[1,"aspectRatio"],lcpPrioritized:[1,"lcpPrioritized"],height:[1,"height"]},outputs:{error:"error"},standalone:!1,features:[e.Jv_([f.v,c.K,{provide:u.WM,useFactory:d=>t=>d.generateImageUrl(t),deps:[c.K]}]),e.OA$],decls:1,vars:1,consts:[["image",""],["fill","true","ngSrcset","300w, 600w, 900w, 1200w",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","ngSrcset","300w, 600w, 900w, 1200w",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(t,a){1&t&&e.DNE(0,n,2,9,"img",1),2&t&&e.vxM(a.imgSrc()?0:-1)},dependencies:[u.kt],styles:["storefront-image,.pxp-image{display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--imageLoadingColor);transition:.2s background-color ease-in}storefront-image[height-strategy=FIXED]>img,storefront-image[data-pxp-height-strategy=FIXED]>img,storefront-image[height-strategy=AUTO]>img,storefront-image[data-pxp-height-strategy=AUTO]>img,.pxp-image[height-strategy=FIXED]>img,.pxp-image[data-pxp-height-strategy=FIXED]>img,.pxp-image[height-strategy=AUTO]>img,.pxp-image[data-pxp-height-strategy=AUTO]>img{position:absolute;width:auto;max-width:100%;top:0;object-fit:contain}storefront-image[height-strategy=DEFAULT]>img,storefront-image[data-pxp-height-strategy=DEFAULT]>img,.pxp-image[height-strategy=DEFAULT]>img,.pxp-image[data-pxp-height-strategy=DEFAULT]>img{position:static!important}storefront-image.img-with-hidden-alt,.pxp-image.img-with-hidden-alt{content:attr(data-alt);display:none}storefront-image>img,.pxp-image>img{display:block;transition:opacity .2s ease-in,background-color .2s ease-in;background-color:#fff0;max-width:100%;max-height:100%;opacity:0}
1storefront-image>img.loaded,.pxp-image>img.loaded{opacity:1;background-color:var(--imageBackgroundColor)}storefront-image.loaded,.pxp-image.loaded{background:#fff0}\n"],encapsulation:2,changeDetection:0}),y})();var m=function(g){return g.AUTO="AUTO",g.FIXED="FIXED",g.DEFAULT="DEFAULT",g}(m||{})},1302:(S,x,r)=>{r.d(x,{x:()=>c});var u=r(8251),e=r(2932),f=r(177),v=r(6033),o=r(3953);const _=["class","pxp-image"],i=(l,E,n)=>({imageResolutionStrategy:l,focalPoint:E,aspectRatio:n});function p(l,E){if(1&l){const n=o.RV6();o.j41(0,"img",2,0),o.bIt("error",function(){o.eBV(n);const m=o.XpG();return o.Njj(m.onError())}),o.k0s()}if(2&l){const n=o.XpG();o.Y8G("priority",n.lcpPrioritized())("ngSrc",n.imgSrc())("alt",n.alt)("title",n.title)("loaderParams",o.sMw(5,i,n.imageResolutionStrategy(),n.focalPoint,n.aspectRatio()))}}let c=(()=>{var l;class E extends e.h{}return(l=E).\u0275fac=(()=>{let n;return function(m){return(n||(n=o.xGo(l)))(m||l)}})(),l.\u0275cmp=o.VBU({type:l,selectors:[["div",8,"pxp-image"]],standalone:!1,features:[o.Jv_([u.v,v.K,{provide:f.WM,useFactory:n=>s=>n.generateImageUrl(s),deps:[v.K]}]),o.Vt3],attrs:_,decls:1,vars:1,consts:[["image",""],["fill","true","ngSrcset","300w, 600w, 900w, 1200w",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","ngSrcset","300w, 600w, 900w, 1200w",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(s,m){1&s&&o.DNE(0,p,2,9,"img",1),2&s&&o.vxM(m.imgSrc()?0:-1)},dependencies:[f.kt],styles:["storefront-image,.pxp-image{display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--imageLoadingColor);transition:.2s background-color ease-in}storefront-image[height-strategy=FIXED]>img,storefront-image[data-pxp-height-strategy=FIXED]>img,storefront-image[height-strategy=AUTO]>img,storefront-image[data-pxp-height-strategy=AUTO]>img,.pxp-image[height-strategy=FIXED]>img,.pxp-image[data-pxp-height-strategy=FIXED]>img,.pxp-image[height-strategy=AUTO]>img,.pxp-image[data-pxp-height-strategy=AUTO]>img{position:absolute;width:auto;max-width:100%;top:0;object-fit:contain}storefront-image[height-strategy=DEFAULT]>img,storefront-image[data-pxp-height-strategy=DEFAULT]>img,.pxp-image[height-strategy=DEFAULT]>img,.pxp-image[data-pxp-height-strategy=DEFAULT]>img{position:static!important}storefront-image.img-with-hidden-alt,.pxp-image.img-with-hidden-alt{content:attr(data-alt);display:none}storefront-image>img,.pxp-image>img{display:block;transition:opacity .2s ease-in,background-color .2s ease-in;background-color:#fff0;max-width:100%;max-height:100%;opacity:0}storefront-image>img.loaded,.pxp-image>img.loaded{opacity:1;background-color:var(--imageBackgroundColor)}storefront-image.loaded,.pxp-image.loaded{background:#fff0}\n"],encapsulation:2,changeDetection:0}),E})()},4403:(S,x,r)=>{r.d(x,{U:()=>v});var u=r(177),e=r(4871),f=r(3953);let v=(()=>{var o;class _{}return(o=_).\u0275fac=function(p){return new(p||o)},o.\u0275mod=f.$C({type:o}),o.\u0275inj=f.G2t({imports:[u.MD,e.E]}),_})()},9876:(S,x,r)=>{r.d(x,{z:()=>v,G:()=>o});var u=r(3178);const e={type:"dynamic",mode:"width"};function v(_,i,p){return i?1/(_?function f(_,i=1){const p=parseInt((0,u.sF)(_,"w"),10),c=parseInt((0,u.sF)(_,"h"),10);return isNaN(p)||isNaN(c)?i:p/c}(p,0):i.naturalWidth/i.naturalHeight)*100:1}function o(_,i,p,c,l){if(!i||!p||isNaN(i)||isNaN(p))return(0,u.LS)(_,{w:!i||isNaN(i)?200:i,webp:1});const E=null!=c?c:e;let m,n=i,s=null;switch(E.type){case"fixed":break;case"dynamic":switch(s=p,E.mode){case"min":n<s?s=void 0:n=void 0;break;case"max":n<s?n=void 0:s=void 0;break;case"width":s=void 0;break;case"height":n=void 0}}if(l)try{const g=JSON.parse(l),y=g[0],d=g[1],a=g[3],h=i,T=p,R=Math.round(2*y/(1+g[2])),I=Math.round(2*d/(1-a));if(R/h>I/T){const D=Math.round(I*h/T),M=Math.round(Math.min(Math.max(y-D/2,0),R-D));m="".concat(M,"px,0px,").concat(D,"px,").concat(I,"px")}else{const D=Math.round(R*T/h),M=Math.round(Math.min(Math.max(d-D/2,0),I-D));m="0px,".concat(M,"px,").concat(R,"px,").concat(D,"px")}}catch(g){console.warn("Error parsing focal point: "+l)}return(0,u.LS)(_,{w:n,h:s,crop:m,webp:1})}},6033:(S,x,r)=>{r.d(x,{K:()=>o});var u=r(3953),e=r(9876),f=r(9516),v=r(6010);class o{constructor(){this.contextService=(0,u.WQX)(f.V),this.purpleService=(0,u.WQX)(v.Wj)}generateImageUrl(i){if(i.width){var p,c,l;const E=null==i||null===(p=i.loaderParams)||void 0===p?void 0:p.imageResolutionStrategy,n=(null==i||null===(c=i.loaderParams)||void 0===c?void 0:c.focalPoint)||"";let s=(null==i||null===(l=i.loaderParams)||void 0===l?void 0:l.aspectRatio)||1.33;s="object"==typeof s?this.parseAspectRatio(s):parseFloat(s);const m=this.contextService.toStorefrontResourceUrl((0,e.G)(i.src,i.width,Math.round(i.width/s),E,n)
1);return this.purpleService.addImageSrc(m),m}return""}parseAspectRatio(i){return parseFloat(i.width)/parseFloat(i.height)}}}}]);

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.