1import{a as H,b as J}from"./chunk-DZJVTDNC.js";import{d as ee}from"./chunk-MLLNLW4J.js";import"./chunk-MCV52BP2.js";import{d as X}from"./chunk-KB6HT7ET.js";import{i as Q}from"./chunk-D7GJRYYE.js";import"./chunk-JVBXTASO.js";import"./chunk-4OE5AQ6M.js";import"./chunk-MGVUS33Q.js";import"./chunk-3F6KBBSI.js";import{a as Z}from"./chunk-DG4LFMYK.js";import{a as j}from"./chunk-F5KLW5CH.js";import"./chunk-7SL2UK6P.js";import"./chunk-6Q4TCCMA.js";import"./chunk-EYYE2W7B.js";import"./chunk-DMCBNZ3S.js";import"./chunk-BDOZQQAJ.js";import"./chunk-NKLL54JW.js";import"./chunk-PNYV4VTF.js";import"./chunk-5HZX4D4A.js";import"./chunk-FLK2SGFY.js";import"./chunk-Y7ZNOIRX.js";import{a as W}from"./chunk-NLOVAIKJ.js";import"./chunk-DWD73C6F.js";import"./chunk-5IJODKJP.js";import{$a as o,$b as N,Cb as k,Db as D,Ea as q,Eb as V,Ka as v,Sb as A,T as P,Ta as G,Tb as y,Ua as w,Wa as b,Wb as f,X as m,Xb as h,Y as l,Za as _,_a as g,ab as r,bb as s,cb as R,cc as z,da as L,gb as T,hb as E,ib as u,ic as $,jb as O,lb as F,nb as a,ne as Y,ra as n,ta as M,xb as C,xc as K,yd as U}from"./chunk-FMP54NAH.js";import{a as x,b as S}from"./chunk-TSRGIXR5.js";var te={navigation:!1,pagination:!1,speed:400,threshold:5,longSwipesRatio:.15,longSwipesMs:500},ie=S(x({},te),{slidesPerView:"auto",spaceBetween:24}
1),pe=S(x({},te),{slidesPerView:1.25,spaceBetween:16});var ne=()=>["desktop","tablet"],ae=()=>["mobile"],I=t=>({$implicit:t}),B=(t,p)=>p.id;function oe(t,p){if(t&1&&(r(0,"app-swiper-slide"),u(1,10),s()),t&2){let e=p.$implicit;a(3);let i=C(2);n(),o("ngTemplateOutlet",i)("ngTemplateOutletContext",y(2,I,e))}}function se(t,p){if(t&1&&(T(0),r(1,"app-swiper",9),_(2,oe,2,4,"app-swiper-slide",null,B),s(),E()),t&2){let e=a(2);n(),o("config",e.desktopCarouselConfig),n(),g(e.products())}}function ce(t,p){if(t&1&&(r(0,"app-swiper-slide"),u(1,10),s()),t&2){let e=p.$implicit;a(4);let i=C(2);n(),o("ngTemplateOutlet",i)("ngTemplateOutletContext",y(2,I,e))}}function re(t,p){if(t&1&&(r(0,"app-swiper",11),_(1,ce,2,4,"app-swiper-slide",null,B),s()),t&2){let e=a(3);o("config",e.mobileCarouselConfig),n(),g(e.products())}}function de(t,p){if(t&1&&u(0,10),t&2){let e=p.$implicit;a(4);let i=C(2);o("ngTemplateOutlet",i)("ngTemplateOutletContext",y(2,I,e))}}function me(t,p){if(t&1&&_(0,de,1,4,"ng-container",10,B),t&2){let e=a(3);g(e.products())}}function le(t,p){if(t&1&&(T(0),w(1,re,3,1,"app-swiper",11)(2,me,2,0),E()),t&2){let e=a(2);n(),b(e.products().length>1?1:2)}}function _e(t,p){if(t&1){let e=O();r(0,"section",1)(1,"div",2)(2,"div",3)(3,"h2",4),k(4),f(5,"snippet"),s(),r(6,"p",5),k(7),f(8,"snippet"),s()(),v(9,se,4,1,"ng-container",6)(10,le,3,1,"ng-container",6),r(11,"div",7)(12,"app-button",8),F("clicked",function(){m(e);let c=a();return l(c.onRequestPackage())})("prefetch",function(){m(e);let c=a();return l(c.onPrefetchRequestForm())}),k(13),f(14,"snippet"),s()()()()}t&2&&(n(4),D(h(5,5,"pdp.systemPackage.title")),n(3),D(h(8,7,"pdp.systemPackage.intro")),n(2),o("ifDevice",A(11,ne)),n(),o("ifDevice",A(12,ae)),n(3),V(" ",h(14,9,"pdp.systemPackage.requestPackage")," "))}function ge(t,p){if(t&1){let e=O();r(0,"div",12)(1,"mat-checkbox",13),F("change",function(){let c=m(e).$implicit,d=a();return l(d.toggleProduct(c.id))}),s(),R(2,"app-product-card",14),s()}if(t&2){let e=p.$implicit,i=a();n(),o("checked",i.isSelected(e.id)),G("aria-label",e==null||e.translated==null?null:e.translated.name),n(),o("productData",e)("badgeLabel",i.getBadgeLabel(e))("configOptionType",i.productCardService.setConfigOptionType(e))}}var Le=(()=>{class t{constructor(){this.products=$.required(),this.requestPackage=new M,this.desktopCarouselConfig=ie,this.mobileCarouselConfig=pe,this.selectedProducts=z(()=>this.resolveSelectedProducts()),this.deselectedIds=L([]),this.productCardService=P(Q),this.snippetService=P(U),this.snippetService.loadSnippets("aside")}isSelected(e){return!this.deselectedIds().includes(e)}toggleProduct(e){this.deselectedIds.update(i=>i.includes(e)?i.filter(c=>c!==e):[...i,e])}getBadgeLabel(e){let i=e?.customFields?.axonlab_product_artMisC4No;return i?this.snippetService.getSnippet(`aside.categories.${i}`):""}onRequestPackage(){this.requestPackage.emit(this.selectedProducts())}onPrefetchRequestForm(){this.snippetService.loadSnippets("requestForm")}resolveSelectedProducts(){let e=this.deselectedIds();return(this.products()??[]).filter(i=>!e.includes(i.id))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=q({type:t,selectors:[["app-pdp-system-package"]],inputs:{products:[1,"products"]},outputs:{requestPackage:"requestPackage"},decls:3,vars:1,consts:[["productTile",""],[1,"pdp-system-package"],[1,"pdp-holder","holder"],[1,"pdp-system-package__head"],[1,"pdp-system-package__title"],[1,"pdp-system-package__intro"],[4,"ifDevice"],[1,"pdp-system-package__cta"],["type","button","classList","btn btn_full-black pdp-system-package__cta-btn",3,"clicked","prefetch"],[1,"pdp-system-package__carousel","pdp-system-package__carousel-desktop",3,"config"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"pdp-system-package__carousel",3,"config"],[1,"pdp-system-package__tile"],[1,"pdp-system-package__checkbox","swiper-no-swiping",3,"change","checked"],[3,"productData","badgeLabel","configOptionType"]],template:function(i,c){if(i&1&&(w(0,_e,15,13,"section",1),v(1,ge,3,5,"ng-template",null,0,N)),i&2){let d;b((d=c.products())!=null&&d.length?0:-1)}},dependencies:[ee,W,X,Z,J,H,K,j,Y],styles:[`app-pdp-system-package .pdp-system-package{padding-top:4rem;overflow:hidden}app-pdp-system-package .pdp-system-package__head{margin-bottom:2rem}app-pdp-system-package .pdp-system-package__title{margin-bottom:1rem;font-size:2.525rem;font-family:Zurich BT WGL4 W05 Bold,Arial,sans-serif;color:#000}@media only screen and (min-width:767px){app-pdp-system-package .pdp-system-package__title{font-size:1.725rem}}app-pdp-system-package .pdp-system-package__intro{max-width:50rem;font-size:1.5rem;line-height:1.4;color:#000}@media only screen and (min-width:767px){app-pdp-system-package .pdp-system-package__intro{font-size:1rem}}app-pdp-system-package .pdp-system-package__tile{position:relative;height:100%}app-pdp-system-package .pdp-system-package__checkbox{position:absolute;top:.25rem;left:.25rem;z-index:2}app-pdp-system-package .pdp-system-package__checkbox .mdc-checkbox{margin:0}app-pdp-system-package .pdp-system-package__carousel{overflow:hidden}app-pdp-system-package .pdp-system-package__carousel-desktop{width:calc(100% + (100vw - 100%)/2)}app-pdp-system-package .pdp-system-package__carousel-desktop .swiper-slide{width:25rem}app-pdp-system-package .pdp-system-package__cta{display:flex;align-items:stretch;margin-top:2rem}app-pdp-system-package .pdp-system-package__cta-btn{font-family:Zurich BT WGL4 W05 Bold,Arial,sans-serif;font-size:1.625rem;width:100%;height:5.5rem}@media only screen and (min-width:767px){app-pdp-system-package .pdp-system-package__cta-btn{font-size:1.1em;width:auto;min-width:20rem;height:3.5rem}}app-pdp-system-package .pdp-system-package .actions>*:not(.actions__status){display:none}app-pdp-system-package .pdp-system-package .swiper{width:100%;margin-left:0;margin-right:0;padding-bottom:0!important}app-pdp-system-package .pdp-system-package .swiper-wrapper{transition-timing-function:cubic-bezier(.25,.8,.35,1)} 2`],encapsulation:2,changeDetection:0})}}return t})();export{Le as PdpSystemPackageComponent};
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.