PageSourceSearch

https://freiburger-nachrichten.ch/chunk-SZUMJECY.js

js freiburger-nachrichten.ch collected 2026-10-02 05:35:16 UTC 16,833 bytes, 1 lines download raw bytes

1import{a as nt}from"./chunk-FR7AAYHM.js";import{a as it}from"./chunk-IJPLYKZA.js";import{a as Q,b as W}from"./chunk-B35EBLKU.js";import{a as U,b as H,d as G}from"./chunk-2CVJ2LIS.js";import{a as R,b as z}from"./chunk-V6YXZNFL.js";import{a as tt}from"./chunk-YLERYF47.js";import{h as et}from"./chunk-NMWKTXOV.js";import{b as Z}from"./chunk-6STMQQI7.js";import{m as J,s as K}from"./chunk-INIXUFM7.js";import{d as X,e as Y}from"./chunk-RW5E77JB.js";import{$b as d,Cb as l,D as k,Db as c,Eb as b,Fb as E,Gb as T,Ib as P,Lb as y,Mb as r,Nd as q,Qc as V,Rc as j,Ub as D,Vb as B,Wb as $,Xa as s,Zb as h,a as S,ab as _,ac as g,bc as w,bd as N,fb as F,ga as A,gb as L,kb as u,oc as M,pc as I,rb as p,sa as x,ta as f,tc as v,ub as C}from"./chunk-FDDXLAYF.js";import{k as O}from"./chunk-Q762RTV7.js";var rt=["purchaseModal"];function st(n,a){n&1&&b(0,"mat-spinner",13)}function lt(n,a){if(n&1&&(l(0,"span"),d(1),c()),n&2){let i,e=r(3).$implicit,t=r(2);s(),w(" ",(i=e.translations==null||e.translations[t.session==null?null:t.session.activeLanguage]==null?null:e.translations[t.session==null?null:t.session.activeLanguage].title)!==null&&i!==void 0?i:e.title," ")}}function ct(n,a){if(n&1){let i=P();l(0,"button",11,1),y("click",function(){x(i);let t=r(2).$implicit,o=r(2);return f(o.purchaseItem(t))}),u(2,st,1,0,"mat-spinner",12)(3,lt,2,1,"ng-template",null,2,v),c()}if(n&2){let i,e=h(1),t=h(4),o=r(2).$implicit,m=r(2);C(o.cssFlags),p("disabled",!o.canPurchase||((i=m.purchaseService.isTransactionOngoing[o.id])!==null&&i!==void 0?i:!1)),s(2),p("ngIf",e.disabled)("ngIfElse",t)}}function pt(n,a){if(n&1){let i=P();l(0,"button",14,1),y("click",function(){x(i);let t=r(4);return f(t.manageSubscriptions())}),l(2,"span"),d(3),M(4,"translate"),c()()}if(n&2){let i=r(2).$implicit;C(i.cssFlags),s(3),g(I(4,4,"GLOBAL.MANAGE"))}}function dt(n,a){if(n&1&&(l(0,"mat-list-item")(1,"div",7)(2,"span",8),d(3),c()(),l(4,"div",7),d(5),c(),u(6,ct,5,6,"button",9)(7,pt,5,6,"button",10),c()),n&2){let i,e=r().$implicit,t=r(2);s(3),g((i=e.translations==null||e.translations[t.session==null?null:t.session.activeLanguage]==null?null:e.translations[t.session==null?null:t.session.activeLanguage].description)!==null&&i!==void 0?i:e.description),s(2),g(e.pricingString),s(),p("ngIf",e.owned!==!0||e.type==="consumable"),s(),p("ngIf",e.owned&&e.type!=="consumable")}}function mt(n,a){if(n&1&&(E(0),u(1,dt,8,4,"mat-list-item",6),T()),n&2){let i=a.$implicit;s(),p("ngIf",!!i.title)}}function ut(n,a){n&1&&b(0,"mat-spinner",15)}function gt(n,a){if(n&1&&(l(0,"mat-list"),u(1,mt,2,1,"ng-container",4)(2,ut,1,0,"mat-spinner",5),c()),n&2){let i=r();s(),p("ngForOf",i.products),s(),p("ngIf",i.loading)}}function _t(n,a){if(n&1&&(l(0,"p",23)(1,"mat-icon"),d(2,"info"),c(),l(3,"span"),d(4),c()()),n&2){let i=r().$implicit,e=r(2);s(4),g(i.translations==null||i.translations[e.session==null?null:e.session.activeLanguage]==null?null:i.translations[e.session==null?null:e.session.activeLanguage].renewalHint)}}function ht(n,a){n&1&&b(0,"mat-spinner",13)}function xt(n,a){if(n&1&&(l(0,"span"),d(1),c()),n&2){let i,e=r(2).$implicit,t=r(2);s(),w(" ",(i=e.translations==null||e.translations[t.session==null?null:t.session.activeLanguage]==null?null:e.translations[t.session==null?null:t.session.activeLanguage].buttonText)!==null&&i!==void 0?i:e.title," ")}}function ft(n,a){if(n&1){let i=P();l(0,"button",24,1),y("click",function(){x(i);let t=r().$implicit,o=r(2);return f(o.purchaseItem(t))}),u(2,ht,1,0,"mat-spinner",12)(3,xt,2,1,"ng-template",null,2,v),c()}if(n&2){let i,e=h(1),t=h(4),o=r().$implicit,m=r(2);p("disabled",!o.canPurchase||((i=m.purchaseService.isTransactionOngoing[o.id])!==null&&i!==void 0?i:!1)),s(2),p("ngIf",e.disabled)("ngIfElse",t)}}function bt(n,a){if(n&1){let i=P();l(0,"button",25,1),y("click",function(){x(i);let t=r(3);return f(t.manageSubscriptions())}),l(2,"span"),d(3),M(4,"translate"),c()()}n&2&&(s(3),g(I(4,1,"GLOBAL.MANAGE")))}function Pt(n,a){if(n&1&&(l(0,"div",17)(1,"h3",18),d(2),c(),l(3,"p",19),d(4),c(),l(5,"p",19),d(6),c(),u(7,_t,5,1,"p",20)(8,ft,5,3,"button",21)(9,bt,5,3,"button",22),c()),n&2){let i,e,t=a.$implicit,o=r(2);s(2),g((i=t.translations==null||t.translations[o.session==null?null:o.session.activeLanguage]==null?null:t.translations[o.session==null?null:o.session.activeLanguage].title)!==null&&i!==void 0?i:t.title),s(2),g((e=t.translations==null||t.translations[o.session==null?null:o.session.activeLanguage]==null?null:t.translations[o.session==null?null:o.session.activeLanguage].description)!==null&&e!==void 0?e:t.description),s(2),g(t.pricingString),s(),p("ngIf",t.translations==null||t.translations[o.session==null?null:o.session.activeLanguage]==null?null:t.translations[o.session==null?null:o.session.activeLanguage].renewalHint),s(),p("ngIf",t.owned!==!0||t.type==="consumable"),s(),p("ngIf",t.owned&&t.type!=="consumable")}}function yt(n,a){n&1&&b(0,"mat-spinner",15)}function vt(n,a){if(n&1&&u(0,Pt,10,6,"div",16)(1,yt,1,0,"mat-spinner",5),n&2){let i=r();p("ngForOf",i.products),s(),p("ngIf",i.loading)}}var Bt=(()=>{let a=class a{constructor(e,t,o,m,ot){this.purchaseService=e,this.systemStateService=t,this.modalService=o,this.navigationService=m,this.session=ot,this.loginBeforePurchase=!1,this.newDesign=!1,this.loading=!0,this.subscription=new S}ngOnInit(){this.subscription.add(this.systemStateService.getPropertyObservable(["purchases","isIAP_V3Enabled"]).pipe(k(e=>!e)).subscribe(()=>{this.modal.close()})),this.subscription.add(this.purchaseService.isStoreReady$.subscribe(e=>{this.subscription.add(this.purchaseService.inventory$.subscribe(t=>{this.updateProducts()}))}))}updateProducts(){return O(this,null,function*(){this.products=this.purchaseService.listedProducts;let e=this.session.activeLanguage;this.products=this.products.filter(o=>o.language&&o.language!==e?!1:!o.hideInOverview),this.loading=!1;let t=this.products.find(o=>o.id===this.purchaseProduct);if(this.purchaseProduct&&!(t.owned&&t.type!=="consumable")){let o=this.purchaseProduct+"";this.purchaseProduct="",this.purchaseItem({id:o})}})}purchaseItem(e){if(this.loginBeforePurchase)return this.redirectUrl?this.navigationService.redirectUrl=this.redirectUrl:this.navigationService.redirectUrl=`/story/${this.storyId}/seo?purchaseProduct=${e.id}`,this.modalService.openLoginModal();this.purchaseService.purchase(e.id)}manageSubscriptions(){this.purchaseService.manageSubscriptions()}ngOnDestroy(){var e;(e=this.subscription)==null||e.unsubscribe()}};a.\u0275fac=function(t){return new(t||a)(_(nt),_(tt),_(et),_(it),_(Z))}
vendor: 6,269 bytes, line 1
1,a.\u0275cmp=F({type:a,selectors:[["app-iap-products"]],viewQuery:function(t,o){if(t&1&&D(rt,5),t&2){let m;B(m=$())&&(o.modal=m.first)}},inputs:{loginBeforePurchase:"loginBeforePurchase",storyId:"storyId",purchaseProduct:"purchaseProduct",redirectUrl:"redirectUrl",newDesign:"newDesign"},standalone:!1,decls:3,vars:2,consts:[["showNewDesign",""],["btnPurchase",""],["enabled",""],[4,"ngIf","ngIfElse"],[4,"ngFor","ngForOf"],["class","mainSpinner",4,"ngIf"],[4,"ngIf"],["mat-line",""],[1,"fontWeightBold"],["mat-line","","color","primary","fxLayoutAlign","center",3,"class","disabled","click",4,"ngIf"],["mat-line","","color","primary","fxLayoutAlign","center",3,"class","click",4,"ngIf"],["mat-line","","color","primary","fxLayoutAlign","center",3,"click","disabled"],["diameter","20","strokeWidth","2",4,"ngIf","ngIfElse"],["diameter","20","strokeWidth","2"],["mat-line","","color","primary","fxLayoutAlign","center",3,"click"],[1,"mainSpinner"],["class","product-container",4,"ngFor","ngForOf"],[1,"product-container"],[1,"subscription-heading"],[1,"subscription-description"],["class","subscription-renewalHint",4,"ngIf"],["class","purchase-button",3,"disabled","click",4,"ngIf"],["class","purchase-button",3,"click",4,"ngIf"],[1,"subscription-renewalHint"],[1,"purchase-button",3,"click","disabled"],[1,"purchase-button",3,"click"]],template:function(t,o){if(t&1&&u(0,gt,3,2,"mat-list",3)(1,vt,2,2,"ng-template",null,0,v),t&2){let m=h(2);p("ngIf",!o.newDesign)("ngIfElse",m)}},dependencies:[V,j,Q,J,U,H,R,X],styles:["[_ngcontent-%COMP%]:root{--safe-area-inset-top: 0px;--safe-area-inset-right: 0px;--safe-area-inset-bottom: 0px;--safe-area-inset-left: 0px}@supports (top: constant(safe-area-inset-top)){[_ngcontent-%COMP%]:root{--safe-area-inset-top: constant(safe-area-inset-top);--safe-area-inset-right: constant(safe-area-inset-right);--safe-area-inset-bottom: constant(safe-area-inset-bottom);--safe-area-inset-left: constant(safe-area-inset-left)}}@supports (top: env(safe-area-inset-top)){[_ngcontent-%COMP%]:root{--safe-area-inset-top: env(safe-area-inset-top);--safe-area-inset-right: env(safe-area-inset-right);--safe-area-inset-bottom: env(safe-area-inset-bottom);--safe-area-inset-left: env(safe-area-inset-left)}}[_ngcontent-%COMP%]:root{--tabbar-height: calc(80px + var(--safe-area-inset-bottom));--header-settings-height: calc(60px + var(--safe-area-inset-top));--ad-top-wrapper-desktop-height: 30px ;--content-container-margin-top: 15px;--header-bottom-nav-distance-item: 24px;--header-middle-padding-top: 0px;--header-middle-padding-bottom: 0px;--header-sticky-padding: 50px;--header-padding: 62px;--header-bottom-swiper-transition-width: 65px;--overlay-bottom-bottom: 0px;--audioplayer-progress-height: 5px;--audioplayer-collapsed-height: 60px;--store-padding-sides: 15px}@media (min-width: 700px){[_ngcontent-%COMP%]:root{--header-settings-height: calc(98px + var(--safe-area-inset-top))}}@media (min-width: 700px) and (max-width: 1200px){[_ngcontent-%COMP%]:root{--header-settings-height: calc(83px + var(--safe-area-inset-top))}}@media (max-width: 699px){[_ngcontent-%COMP%]:root{--header-top-height: 0px;--header-top-sticky-height: 0px;--header-middle-height: 60px;--header-middle-sticky-height: 50px;--header-bottom-height: 40px;--header-bottom-sticky-height: 40px;--header-bottom-divider-margin: 22px;--header-sticky-padding: 10px}}@media (min-width: 700px) and (max-width: 1200px){[_ngcontent-%COMP%]:root{--header-top-height: 40px;--header-top-sticky-height: 40px;--header-middle-height: 82px;--header-middle-sticky-height: 82px;--header-middle-padding-top: 0px;--header-middle-padding-bottom: 0px;--header-bottom-height: 45px;--header-bottom-sticky-height: 45px;--header-bottom-divider-margin: 22px;--header-sticky-padding: 20px}}@media (min-width: 1201px){[_ngcontent-%COMP%]:root{--header-top-height: 40px;--header-top-sticky-height: 40px;--header-middle-height: 150px;--header-middle-sticky-height: 150px;--header-middle-padding-top: 52px;--header-bottom-height: 45px;--header-bottom-sticky-height: 45px;--header-bottom-divider-margin: 22px;--store-padding-sides: 48px}}@media (min-width: 1201px){[_ngcontent-%COMP%]:root   header[_ngcontent-%COMP%]:not(.sticky){--header-bottom-swiper-transition-width: 150px}}body.native[_ngcontent-%COMP%]{--header-middle-height: 45px;--header-middle-sticky-height: 45px;--header-bottom-height: 40px;--header-bottom-sticky-height: 40px;--overlay-bottom-bottom: calc(80px + var(--safe-area-inset-bottom))}@media (max-width: 699px){body.native[_ngcontent-%COMP%]{--header-middle-height: 60px}}@media (min-width: 700px){body.native[_ngcontent-%COMP%]{--header-top-height: 0px;--header-top-sticky-height: 0px;--header-middle-padding-top: 0px;--header-middle-padding-bottom: 0px}}body.web[_ngcontent-%COMP%]{--tabbar-height: 0px;--header-middle-actions-right: -5px}@media (min-width: 700px) and (max-width: 1200px){body.web[_ngcontent-%COMP%]{--header-middle-actions-right: 0px}}@media (max-width: 840px){body.web[_ngcontent-%COMP%]{--header-middle-actions-right: -15px}}body.web.ajour[_ngcontent-%COMP%]{--header-middle-actions-right: -25px}@media (min-width: 700px) and (max-width: 1200px){body.web.ajour[_ngcontent-%COMP%]{--header-middle-actions-right: -25px}}@media (max-width: 840px){body.web.ajour[_ngcontent-%COMP%]{--header-middle-actions-right: -20px}}body.web.pomona[_ngcontent-%COMP%]{--header-middle-actions-right: -5px}@media (min-width: 700px) and (max-width: 1200px){body.web.pomona[_ngcontent-%COMP%]{--header-middle-actions-right: 0px}}@media (max-width: 840px){body.web.pomona[_ngcontent-%COMP%]{--header-middle-actions-right: -15px}}body.web.wir-Freiburg[_ngcontent-%COMP%]{--header-middle-actions-right: -5px}@media (min-width: 700px) and (max-width: 1200px){body.web.wir-Freiburg[_ngcontent-%COMP%]{--header-middle-actions-right: 0px}}@media (max-width: 840px){body.web.wir-Freiburg[_ngcontent-%COMP%]{--header-middle-actions-right: -15px}}[_ngcontent-%COMP%]:root{--color-light-bottom-sheet-divider: #DDDDDD;--color-dark-bottom-sheet-divider: #777777;--color-light-header-nav-item: #444034;--color-dark-header-nav-item: #DDDDDD;--color-light-header-item: #777777;--color-dark-header-item: #B6B6B6;--color-native-dark-header-items: #FFFFFF;--color-native-light-header-items: #000000;
1--color-audioplayer-primary: #0f0f0f;--color-audioplayer-secondary: #7f7f7f;--color-audioplayer-background: #e0e0e0;--color-audioplayer-progressbar: #b3b2b3;--color-dark-audioplayer-title: #F0F0F0;--color-dark-audioplayer-subtitle: #808080;--color-light-audioplayer-title: #0f0f0f;--color-light-audioplayer-subtitle: #7f7f7f;--color-backbutton-shadow: #e2e2e2;--story-item-shadow: 0 0 4px 0 rgb(0 0 0 / 8%), 0 0 16px 0 rgb(0 0 0 / 8%);--story-item-shadow-hover: 0 8px 16px 0 rgb(0 0 0 / 16%), 0 0 32px 0 rgb(0 0 0 / 16%);--swiper-pagination-color: #292929;--swiper-pagination-bullet-inactive-color: #c4c4c4}body.dark-mode[_ngcontent-%COMP%]{--color-audioplayer-primary: #F0F0F0;--color-audioplayer-secondary: #808080;--color-audioplayer-background: #1F1F1F;--color-audioplayer-progressbar: #4C4D4C;--color-backbutton-shadow: #222F;--swiper-pagination-color: #c4c4c4;--swiper-pagination-bullet-inactive-color: #292929}mat-list-item[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{min-height:25px;border:none;color:#fff;font-size:16px;line-height:25px;letter-spacing:.08px;font-weight:700;margin:5px 0;padding:5px 15px;display:inline-block}@media (max-width: 699px){mat-list-item[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%}}mat-list-item[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{cursor:pointer;background-color:#fff}mat-list-item[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:disabled{background-color:#eee;border-color:#dfdfdf;color:gray}table[_ngcontent-%COMP%]{width:100%}ngx-smart-modal[identifier=purchaseModal][_ngcontent-%COMP%]     .overlay{display:flex;align-items:center}@media (min-width: 700px) and (max-width: 1200px){mat-spinner[_ngcontent-%COMP%]{margin:auto}}mat-list-item[_ngcontent-%COMP%]{margin-bottom:10px;height:auto!important}mat-list-item[_ngcontent-%COMP%]   [mat-line][_ngcontent-%COMP%]{margin-top:0;text-align:left;font-size:14px;line-height:1.2}@media (min-width: 700px) and (max-width: 1200px){mat-list-item[_ngcontent-%COMP%]   [mat-line][_ngcontent-%COMP%]{text-align:center}}mat-list-item[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin:auto}mat-list-item[_ngcontent-%COMP%]     button, mat-list-item[_ngcontent-%COMP%]     button *{font-weight:700!important;display:inline-flex;align-items:center;line-height:1.4}mat-list-item[_ngcontent-%COMP%]     button.biggerButton, mat-list-item[_ngcontent-%COMP%]     button.biggerButton *{min-height:28px}mat-list-item[_ngcontent-%COMP%]     button{margin-top:5px!important;padding:0 30px}mat-list-item[_ngcontent-%COMP%]     button mat-spinner{padding:0}  app-iap-products .mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,   app-iap-products .mat-list-base .mat-list-item .mat-list-item-content{padding:0!important}  app-iap-products .mat-list-base{padding-top:0}  app-iap-products .fontWeightBold{font-weight:700}  app-iap-products .mat-list-base .mat-list-item .mat-line{white-space:normal}  app-iap-products .mdc-list-item__primary-text{white-space:normal!important}.product-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-bottom:20px}.product-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:flex;align-items:center;padding:10px;font-size:14px;font-weight:500;line-height:20px;background:none;margin-top:12px}.product-container[_ngcontent-%COMP%]   .subscription-heading[_ngcontent-%COMP%]{font-size:14px;font-weight:500;line-height:20px;margin:0 0 20px}.product-container[_ngcontent-%COMP%]   .subscription-description[_ngcontent-%COMP%]{font-size:14px;font-weight:400;line-height:16px;margin:0}.product-container[_ngcontent-%COMP%]   .subscription-renewalHint[_ngcontent-%COMP%]{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:400;line-height:20px;color:#7d7d7d;margin-bottom:0}.purchase-button[_ngcontent-%COMP%]{display:flex;justify-content:center}"]});let n=a;return n})();var qt=(()=>{let a=class a{};a.\u0275fac=function(t){return new(t||a)},a.\u0275mod=L({type:a}),a.\u0275inj=A({imports:[N,q,W,K,Y,G,z]});let n=a;return n})();export{Bt as a,qt as b};

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.