PageSourceSearch

https://cdnmedia.adesital.it/ResourcePackages/Mapei/assets/mapei-s…-germany-klebsto-655259.5b2f8369b308402d.js

js adesital.it collected 2026-10-08 11:09:54 UTC 31,603 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmapei_solutions=self.webpackChunkmapei_solutions||[]).push([["src_app_germany-klebstoffe-calculator_lazy-germany-klebstoffe-calculator_lazy-germany-klebsto-655259"],{67916:(T,y,u)=>{u.r(y),u.d(y,{LazyGermanyKlebstoffeCalculatorModule:()=>O});var e=u(36895),b=u(80529),p=u(24006),f=u(11481),h=u(76712),n=u(64029),l=u(591),t=u(94650),o=u(24850);let i=(()=>{class d{constructor(s){this._http=s,this.baseUrl="",this.headers=new b.WM,this.baseUrl="/restapi/germany/calculators/adhesives",this.headers.set("Content-Type","application/json")}getProducts(s,a){let m=(new b.LE).set("Site",s).set("Culture",a);return this._http.get(this.baseUrl+"/products",{headers:this.headers,params:m}).pipe((0,o.U)(w=>w.Products))}getResult(s,a,m,_,w){let I=(new b.LE).set("Site",s).set("Culture",a).set("Product",m).set("Trowel",_).set("Area",w);return this._http.get(this.baseUrl+"/result",{headers:this.headers,params:I}).pipe((0,o.U)(P=>P.Content))}}return d.\u0275fac=function(s){return new(s||d)(t.LFG(b.eN))},d.\u0275prov=t.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();var r=u(57246);const C=["formControl"];function c(d,v){if(1&d&&(t.TgZ(0,"option",24)(1,"label"),t._uU(2),t.qZA()()),2&d){const s=v.$implicit;t.Q6J("value",s.Id),t.xp6(2),t.Oqu(s.Name)}}function g(d,v){if(1&d&&(t.TgZ(0,"option",24)(1,"label"),t._uU(2),t.qZA()()),2&d){const s=v.$implicit;t.Q6J("value",s.Id),t.xp6(2),t.Oqu(s.Name)}}const x=function(d){return{"d-none":d}};let M=(()=>{class d{constructor(s){this.klebstoffeService=s,this.currLanguage=window.currLanguage,this.currSiteid=window.currentSiteId,this.labels=window.germanyKlebstoffeCalculatorsLabels,this.firstFormInteraction=!1,this.products=new l.X([]),this.trowels=new l.X([]),this.form=new p.cw({productId:new p.NI(null,p.kI.required),trowelId:new p.NI(null,p.kI.required),area:new p.NI(null,p.kI.required)}),this.selectedProduct=null,this.selectedTrowel=null,this.hideResult=!0,this.isLoading=!1,this.options={Name:null,ObjectType:"germanyKlebstoffeCalculatorResult",CalculatorTitle:this.labels.Title,Trowel:null,Area:null,ProductName:null,ProductQuantity:null,ProductQuantityUnit:null},s.getProducts(this.currSiteid,this.currLanguage).subscribe({next:a=>{if(this.products.next(a),localStorage.getItem("form_value_germany-klebstoffe")){const m=JSON.parse(localStorage.getItem("form_value_germany-klebstoffe"));this.disableInputs=null,this.trowels.next(a.find(_=>_.Id===m.productId)?.Trowels),this.selectedTrowel=this.trowels.getValue().find(_=>_.Id===m.trowelId),this.form.patchValue({productId:m.productId,trowelId:m.trowelId,area:m.area}),this.calculateResult()}},error:a=>{console.log("klebstoffeService ERROR: ",a),this.products.next([])}})}ngAfterViewInit(){this.disableInputs="disabled",this.formControls.forEach(s=>{s.nativeElement.addEventListener("focus",()=>{this.checkFirstFormInteraction()})})}trackToolStart(){window.dataLayer&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"tool-start","tool-name":"mortar calculator"}))}productSelected(s){console.log(s.target.value);const a=s.target.value;this.selectedProduct=this.products.getValue().find(m=>m.Id===a),this.selectedProduct?(this.trowels.next(this.selectedProduct.Trowels),this.disableInputs=null):this.disableInputs="disabled"}trowelSelected(s){console.log(s.target.value);const a=s.target.value;this.selectedTrowel=this.trowels.getValue().find(m=>m.Id===a)}calculateResult(s){const a=this.form.value.productId,m=this.form.value.trowelId,_=this.form.value.area;this.options.Trowel=this.selectedTrowel.Name,this.options.Area=this.form.value.area,this.hideResult=!1,this.isLoading=!0,this.klebstoffeService.getResult(this.currSiteid,this.currLanguage,a,m,_).subscribe({next:w=>{this.productResult=w,this.hideResult=!1,this.isLoading=!1,localStorage.setItem("form_value_germany-klebstoffe",JSON.stringify(this.form.value)),this.trackToolResult(!!w)},error:w=>{console.log("getResult ERROR: ",w),this.trackToolResult(!1),this.hideResult=!1,this.isLoading=!1}})}trackToolResult(s){window.dataLayer&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"view-tool-result","tool-name":"mortar calculator","selected-product":this.selectedProduct.Name,"result-view":s?"view result":"no result"}))}trackResultInteraction(s){window.dataLayer&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"result-interaction","tool-name":"mortar calculator",interaction:s}))}resetSelection(){this.selectedProduct=null,this.disableInputs="disabled",this.form.reset(),this.trackResultInteraction("reset")}resetCalculation(){localStorage.removeItem("form_value_germany-klebstoffe"),this.disableInputs="disabled",this.form.reset(),this.hideResult=!0,this.trackResultInteraction("new-calculation")}returnToCalculation(){localStorage.removeItem("form_value_germany-klebstoffe"),this.hideResult=!0,this.trackResultInteraction("back")}checkFirstFormInteraction(){this.firstFormInteraction||(this.firstFormInteraction=!0,this.onFirstFormInteraction())}onFirstFormInteraction(){this.trackToolStart()}}return d.\u0275fac=function(s){return new(s||d)(t.Y36(i))},d.\u0275cmp=t.Xpm({type:d,selectors:[["mapei-lazy-germany-klebstoffe-calculator"]],viewQuery:function(s,a){if(1&s&&t.Gf(C,5),2&s){let m;
1t.iGM(m=t.CRH())&&(a.formControls=m)}},decls:61,vars:34,consts:[[1,"pr-0","pr-md-5"],[3,"formGroup"],[1,"no-margin","padding-bottom-md"],[1,"hidden-print",3,"ngClass"],[1,"form-group","branded","flex-grow-1"],["for","choose-product",1,"lb-hover"],["formControlName","productId","id","choose-product","placeholder","",1,"form-control",3,"change"],["formControl",""],["value",""],[3,"value",4,"ngFor","ngForOf"],[1,"row","padding-top-md"],[1,"col-md-8","px-0","px-md-4"],["formControlName","trowelId","id","choose-product",1,"form-control",3,"change"],["for","calculator-calculation-area",1,"lb-hover"],["formControlName","area","id","calculator-calculation-area","min","1","step","1","type","number",1,"form-control"],[1,"calc-footer","padding-vertical-md","margin-bottom-big","border-gray-top","text-right","d-flex","flex-column-reverse","flex-md-row","flex-lg-row","justify-content-md-end","justify-content-lg-end"],["type","button",1,"btn","btn-link","text-uppercase","mx-md-3",3,"click"],[1,"text-bold","text-small"],["type","submit",1,"btn","btn-primary","text-uppercase","mx-md-3",3,"disabled","click"],[3,"hidden"],[1,"your-work-block","mb-5"],[1,"d-flex"],[1,"work-detail","mr-5"],[3,"labels","isLoading","options","quantity","packages","packageSize","productImage","product","resetCalculation","returnToCalculation","save"],[3,"value"]],template:function(s,a){1&s&&(t.TgZ(0,"div",0)(1,"div",0)(2,"div",1)(3,"h3",2)(4,"strong"),t._uU(5),t.qZA()(),t.TgZ(6,"div",3)(7,"div",4)(8,"label",5),t._uU(9),t.qZA(),t.TgZ(10,"select",6,7),t.NdJ("change",function(_){return a.productSelected(_)}),t._UZ(12,"option",8),t.YNc(13,c,3,2,"option",9),t.ALo(14,"async"),t.qZA()(),t.TgZ(15,"div",10)(16,"div",11)(17,"div",4)(18,"label",5),t._uU(19),t.qZA(),t.TgZ(20,"select",12,7),t.NdJ("change",function(_){return a.trowelSelected(_)}),t._UZ(22,"option",8),t.YNc(23,g,3,2,"option",9),t.ALo(24,"async"),t.qZA()(),t.TgZ(25,"div",4)(26,"label",13),t._uU(27),t.TgZ(28,"sup"),t._uU(29,"2"),t.qZA(),t._uU(30,")"),t.qZA(),t._UZ(31,"input",14,7),t.qZA()()(),t.TgZ(33,"div",15)(34,"button",16),t.NdJ("click",function(){return a.resetSelection()}),t.TgZ(35,"span",17),t._uU(36),t.qZA()(),t.TgZ(37,"button",18),t.NdJ("click",function(){return a.calculateResult(!0)}),t.TgZ(38,"span",17),t._uU(39),t.qZA()()()(),t.TgZ(40,"div",19)(41,"div",20)(42,"h4")(43,"strong"),t._uU(44),t.qZA()(),t.TgZ(45,"div",21)(46,"div",22)(47,"div"),t._uU(48),t.qZA(),t.TgZ(49,"strong"),t._uU(50),t.qZA()(),t.TgZ(51,"div",22)(52,"div"),t._uU(53),t.qZA(),t.TgZ(54,"strong"),t._uU(55),t.TgZ(56,"span"),t._uU(57,"m"),t.TgZ(58,"sup"),t._uU(59,"2"),t.qZA()()()()()(),t.TgZ(60,"mapei-germany-calculators-result",23),t.NdJ("resetCalculation",function(){return a.resetCalculation()})("returnToCalculation",function(){return a.returnToCalculation()})("save",function(){return a.trackResultInteraction("salva")}),t.qZA()()()()()),2&s&&(t.xp6(2),t.Q6J("formGroup",a.form),t.xp6(3),t.Oqu(a.labels.Title),t.xp6(1),t.Q6J("ngClass",t.VKq(32,x,!a.hideResult)),t.xp6(3),t.Oqu(a.labels.ChooseProduct),t.xp6(4),t.Q6J("ngForOf",t.lcZ(14,28,a.products)),t.xp6(6),t.Oqu(a.labels.TrowelNotchThickness),t.xp6(1),t.uIk("disabled",a.disableInputs),t.xp6(3),t.Q6J("ngForOf",t.lcZ(24,30,a.trowels)),t.xp6(3),t.uIk("disabled",a.disableInputs),t.xp6(1),t.hij("",a.labels.Area," (m"),t.xp6(4),t.uIk("disabled",a.disableInputs),t.xp6(5),t.Oqu(a.labels.Reset),t.xp6(1),t.Q6J("disabled",!a.form.valid),t.xp6(2),t.Oqu(a.labels.Submit),t.xp6(1),t.Q6J("hidden",a.hideResult),t.xp6(4),t.hij("",a.labels.YourWork,":"),t.xp6(4),t.hij(" ",a.labels.TrowelNotchThickness," "),t.xp6(2),t.hij(" ",null==a.selectedTrowel?null:a.selectedTrowel.Name," "),t.xp6(3),t.hij(" ",a.labels.Area," "),t.xp6(2),t.hij(" ",null==a.form.controls.area?null:a.form.controls.area.value," "),t.xp6(5),t.Q6J("labels",a.labels)("isLoading",a.isLoading)("options",a.options)("quantity",a.productResult?null==a.productResult?null:a.productResult.Quantity:0)("packages",a.productResult?null==a.productResult?null:a.productResult.Packages:0)("packageSize",a.productResult?null==a.productResult?null:a.productResult.PackageSize:0)("productImage",a.productResult?null==a.productResult?null:a.productResult.ProductImage:"")("product",a.selectedProduct))},dependencies:[e.mk,e.sg,p.YN,p.Kr,p.Fj,p.wV,p.EJ,p.JJ,p.JL,p.qQ,p.sg,p.u,r.U,e.Ov],styles:['.product-img-container[_ngcontent-%COMP%]{width:130px;height:130px;margin-right:16px}.product-img-container[_ngcontent-%COMP%]   .product-img[_ngcontent-%COMP%]{width:130px;height:130px}.light-grey-border[_ngcontent-%COMP%]{border:solid 1px #EAEAEA}.product-thumbnail[_ngcontent-%COMP%]{background-position:center;background-size:contain;background-repeat:no-repeat;height:64px;width:64px}.scale-val[_ngcontent-%COMP%]{display:block;min-width:30px;text-align:center;position:relative}.fake-radio-label[_ngcontent-%COMP%]{display:inline-block;line-height:26px;background-repeat:no-repeat;cursor:pointer;color:#0079c2}.mat-slider-wrp[_ngcontent-%COMP%]{padding:0 20px}.mat-slider-scale[_ngcontent-%COMP%]{margin:0 -8px}.product-needed-block[_ngcontent-%COMP%]{background:#fff;
1border:1px solid #f0f0f0;box-shadow:0 3px 10px #bababa66;padding:15px}@media screen and (max-width: 992px){.single-product-block[_ngcontent-%COMP%]{flex:0 0 100%;width:100%}}.product-format-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child   .or-span[_ngcontent-%COMP%]{display:none}.squared-el[_ngcontent-%COMP%]{position:relative}.squared-el[_ngcontent-%COMP%]:after{content:"";display:block;padding-top:100%}.squared-el[_ngcontent-%COMP%]   .contnt[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%}@media screen and (max-width: 768px){.row.space-on-mobile[_ngcontent-%COMP%]{margin-left:0;margin-right:0}}.form-control[_ngcontent-%COMP%]:disabled{background-color:#f2faff;cursor:not-allowed;opacity:.7}select[_ngcontent-%COMP%]:disabled{background-color:#f2faff;cursor:not-allowed}.label-disabled[_ngcontent-%COMP%]{z-index:0}.media-body.b-4[_ngcontent-%COMP%]{width:auto!important}.adhesive-calculator__result-info[_ngcontent-%COMP%]   .adhesive-calculator__row[_ngcontent-%COMP%]{width:100%!important}@media screen and (max-width: 768px){.adhesive-calculator__result-info[_ngcontent-%COMP%]   .adhesive-calculator__col[_ngcontent-%COMP%]{padding-bottom:35px}}@media screen and (max-width: 768px){.adhesive-calculator__result-info[_ngcontent-%COMP%]{padding-bottom:0!important}}.adhesive-calculator__result-table[_ngcontent-%COMP%]   .adhesive-calculator__table-data[_ngcontent-%COMP%]{border-left:1px solid #686868;border-bottom:1px solid #686868;border-right:1px solid #686868}.adhesive-calculator__result-table[_ngcontent-%COMP%]   .adhesive-calculator__table-head[_ngcontent-%COMP%]{border-left:1px solid #686868;border-top:1px solid #686868;border-bottom:1px solid #686868}.adhesive-calculator__result-table[_ngcontent-%COMP%]   .adhesive-calculator__table-head[_ngcontent-%COMP%]:last-child{border-right:1px solid #686868}@media screen and (max-width: 768px){.adhesive-calculator__table-responsive[_ngcontent-%COMP%]{width:100%!important;padding-bottom:0!important;margin-bottom:35px!important}}']}),d})(),O=(()=>{class d{static getLazyComponent(){return M}}return d.\u0275fac=function(s){return new(s||d)},d.\u0275mod=t.oAB({type:d}),d.\u0275inj=t.cJS({imports:[f.b2,e.ez,b.JF,h.Rq,p.u5,p.UX,n.h]}),d})()},64466:(T,y,u)=>{u.d(y,{v:()=>p});var e=u(80529),b=u(94650);let p=(()=>{class f{constructor(n){this._http=n}getProducts(n,l,t){let o="/restapi/calculators/"+n+"/products";var i={headers:(new e.WM).set("Content-Type","application/json"),params:(new e.LE).set("SiteName",t).set("CultureName",l)};return this._http.get(o,i)}getIndustrialFlooringProducts(n,l){var o={headers:(new e.WM).set("Content-Type","application/json"),params:(new e.LE).set("SiteId",l).set("CultureName",n)};return this._http.get("/restapi/calculators/industrial-floorings/products",o)}getTrowels(n,l,t,o){let i="/restapi/calculators/"+n+"/trowels",r={headers:(new e.WM).set("Content-Type","application/json"),params:(new e.LE).set("SiteName",t).set("CultureName",l).set("productId",o)};return this._http.get(i,r)}getThickness(n,l,t,o){let i="/restapi/calculators/"+n+"/thicknesses",r={headers:(new e.WM).set("Content-Type","application/json"),params:(new e.LE).set("SiteName",t).set("CultureName",l).set("productId",o)};return this._http.get(i,r)}getThicknessTileGrouts(n,l,t,o){let i="/restapi/calculators/"+n+"/tile-thicknesses",r={headers:(new e.WM).set("Content-Type","application/json"),params:(new e.LE).set("SiteName",t).set("CultureName",l)};return this._http.get(i,r)}getGroutWidths(n,l,t,o){let i="/restapi/calculators/"+n+"/grout-widths",r={headers:(new e.WM).set("Content-Type","application/json"),params:(new e.LE).set("SiteName",t).set("CultureName",l).set("productId",o)};return this._http.get(i,r)}getGroutsColorantsSealersGroutWidths(n,l,t){let i={headers:(new e.WM).set("Content-Type","application/json"),params:(new e.LE).set("SiteName",l).set("CultureName",n).set("System",t)};return this._http.get("/restapi/calculators/grouts-colorants-sealers/grouts-widths",i)}getJointWidths(n,l,t,o){let i="/restapi/calculators/"+n+"/joint-widths",r={headers:(new e.WM).set("Content-Type","application/json"),params:(new e.LE).set("SiteName",t).set("CultureName",l).set("productId",o)};return this._http.get(i,r)}getJointDepths(n,l,t,o){let i="/restapi/calculators/"+n+"/joint-depths",r={headers:(new e.WM).set("Content-Type","application/json"),params:(new e.LE).set("SiteName",t).set("CultureName",l).set("productId",o)};return this._http.get(i,r)}getResutBasic(n,l,t,o){let i="/restapi/calculators/"+n+"/result",r={headers:(new e.WM).set("Content-Type","application/json"),params:(new e.LE).set("SiteName",t).set("CultureName",l).set("productId",o.controls.productId.value).set("systemOfMeasurement",o.controls.systemOfMeasurement.value).set("area",o.controls.area.value).set("overage",o.controls.overage.value)};return this._http.get(i,r)}getResultTrowel(n,l,t,o){let i="/restapi/calculators/"+n+"/result",r={headers:(new e.WM).set("Content-Type","application/json"),params:(new e.LE).set("SiteName",t).set("CultureName",l).set("productId",o.controls.productId.value).set("systemOfMeasurement",o.controls.systemOfMeasurement.value).set("area",o.controls.area.value).set("trowelId",o.controls.trowelId.value).set("overage",o.controls.overage.value)};return this._http.get(i,r)}getResultThickness(n,l,t,o){let i="/restapi/calculators/"+n+"/result",r={headers:(new e.WM).set("Content-Type","application/json"),params:(new e.LE).set("SiteName",t).set("CultureName",l).set("productId",o.controls.productId.value).set("systemOfMeasurement",o.controls.systemOfMeasurement.value).set("area",o.controls.area.value).set("thicknessId",o.controls.thicknessId.value).set("overage",o.controls.overage.value)};return this._http.get(i,r)}getResultOpenThickness(n,l,t,o){let i="/restapi/calculators/"+n+"/result";var r={headers:(new e.WM).set("Content-Type","application/json"),params:(new e.LE).set("SiteName",t).set("CultureName",l).set("productId",o.controls.productId.value).set("systemOfMeasurement",o.controls.systemOfMeasurement.value).set("area",o.controls.area.value).set("thickness",o.controls.thickness.value).set("overage",o.controls.overage.value)};return this._http.get(i,r)}getCaulksSealants_JointFillerResult(n,l,t){let i={headers:(new e.WM).set("Content-Type","application/json"),params:(new e.LE).set("SiteName",l).set("CultureName",n).set("productId",t.controls.productId.value).set("systemOfMeasurement",t.controls.systemOfMeasurement.value).set("jointWidthId",t.controls.jointWidthId.value).set("jointDepthId",t.controls.jointDepthId.value).set("jointLength",t.controls.jointLength.value).set("overage",t.controls.overage.value)};return this._http.get("/restapi/calculators/caulks-sealants-and-joint-fillers/result",i)}getTileGroutsResult(n,l,t){let i={headers:(new e.WM).set("Content-Type","application/json"),params:(new e.LE).set("SiteName",l).set("CultureName",n).set("productId",t.controls.productId.value).set("systemOfMeasurement",t.controls.systemOfMeasurement.value).set("tileLength",t.controls.tileLength.value).set("tileWidth",t.controls.tileWidth.value).set("tileThicknessId",t.controls.thicknessId.value).set("overage",t.controls.overage.value).set("groutWidthId",t.controls.grouthWidthId.value).set("area",t.controls.area.value)};return this._http.get("/restapi/calculators/tiles-grouts/result",i)}getGroutsColorantsSealersResult(n,l,t){let i={headers:(new e.WM).set("Content-Type","application/json"),params:(new e.LE).set("SiteName",l).set("CultureName",n).set("Area",t.controls.area.value).set("Product",t.controls.productId.value).set("Overage",t.controls.overage.value).set("TileLength",t.controls.tileLength.value).set("TileWidth",t.controls.tileWidth.value).set("Grout",t.controls.grouthWidthId.value).set("System",t.controls.systemOfMeasurement.value)};return this._http.get("/restapi/calculators/grouts-colorants-sealers/result",i)}getIndustrialFlooringResult(n,l,t){let i={headers:(new e.WM).set("Content-Type","application/json"),params:(new e.LE).set("SiteId",l).set("CultureName",n).set("ProductId",t.controls.productId.value).set("Overage",t.controls.overage.value).set("Area",t.controls.area.value).set("Thickness",t.controls.thickness.value).set("AreaUnit",t.controls.areaUnit.value).set("ThicknessUnit",t.controls.thicknessUnit.value)};return this._http.get("/restapi/calculators/industrial-floorings/result",i)}saveResult(n){let t={objectType:n.ObjectType,objectValue:JSON.stringify(n)};return this._http.post("/Sitefinity/Public/Services/MyMapei/MyMapei.svc/Set",t)}}return f.\u0275fac=function(n){return new(n||f)(b.LFG(e.eN))},f.\u0275prov=b.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})()},64029:(T,y,u)=>{u.d(y,{h:()=>f});var e=u(36895),b=u(24006),p=u(94650);let f=(()=>{class h{}
1return h.\u0275fac=function(l){return new(l||h)},h.\u0275mod=p.oAB({type:h}),h.\u0275inj=p.cJS({imports:[e.ez,b.u5]}),h})()},57246:(T,y,u)=>{u.d(y,{U:()=>i});var e=u(94650),b=u(64466),p=u(66303),f=u(36895),h=u(24006);let n=(()=>{class r{}return r.\u0275fac=function(c){return new(c||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["mapei-calculator-loading"]],decls:13,vars:0,consts:[[1,"loader","row"],[1,"loader__wrapper"],[1,"loader__container"],[1,"loader__text-container"],[1,"loader__text","loader__big-text"],[1,"loader__text","loader__medium-text"],[1,"loader__internal-container","d-md-flex"],[1,"loader__image"],[1,"loader__small-text-container"],[1,"loader__text","loader__small-text"]],template:function(c,g){1&c&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),e._UZ(4,"div",4),e.qZA(),e.TgZ(5,"div",3),e._UZ(6,"div",5),e.qZA(),e.TgZ(7,"div",6)(8,"div"),e._UZ(9,"div",7),e.qZA(),e.TgZ(10,"div",8),e._UZ(11,"div",9)(12,"div",9),e.qZA()()()()())},styles:['.loader[_ngcontent-%COMP%]{position:relative;padding:15px;background-color:#fff;overflow:hidden;border:1px solid #f0f0f0;box-shadow:0 3px 10px #bababa66}.loader[_ngcontent-%COMP%]:after{content:"";position:absolute;width:100%;height:100%;top:0;left:0;background:linear-gradient(110deg,rgba(231,231,231,0) 0%,rgba(231,231,231,0) 40%,rgba(255,255,255,.5) 50%,rgba(231,231,231,0) 60%,rgba(231,231,231,0) 100%);animation:gradient-animation 1.2s linear infinite;overflow:hidden}.loader__wrapper[_ngcontent-%COMP%]{width:100%;height:100%;position:relative;display:flex;align-items:center}.loader__image[_ngcontent-%COMP%]{background-color:#f9f9f9;align-items:center;width:36px;height:36px;border-radius:6px;margin:0 10px;flex-shrink:0}.loader__text[_ngcontent-%COMP%]{background-color:#f9f9f9;align-items:center;height:30px;width:100%}.loader__container[_ngcontent-%COMP%]{height:100%;width:100%}.loader__text-container[_ngcontent-%COMP%]{margin-top:12px;margin-bottom:12px}.loader__big-text[_ngcontent-%COMP%]{height:30px;width:50%}.loader__medium-text[_ngcontent-%COMP%]{height:20px;width:40%}.loader__internal-container[_ngcontent-%COMP%]{width:100%;height:100%}.loader__image[_ngcontent-%COMP%]{width:130px;height:130px}.loader__small-text-container[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px;width:100%;height:100%}.loader__small-text[_ngcontent-%COMP%]{height:38px;width:60%;margin-top:10px;margin-bottom:10px}']}),r})();function l(r,C){1&r&&e._UZ(0,"mapei-calculator-loading")}function t(r,C){if(1&r&&(e.TgZ(0,"strong"),e._uU(1),e.TgZ(2,"span"),e._uU(3),e.qZA()()),2&r){const c=e.oxw(2);e.xp6(1),e.hij(" x ",c.packageSize," "),e.xp6(2),e.Oqu(c.labels.Kg)}}function o(r,C){if(1&r&&(e.TgZ(0,"div",36)(1,"div",37)(2,"h4")(3,"strong"),e._uU(4),e.qZA()(),e.TgZ(5,"div",38)(6,"div",39)(7,"header",40)(8,"h6")(9,"strong"),e._uU(10),e.qZA()()(),e.TgZ(11,"div",41)(12,"div",42),e._UZ(13,"img",43),e.qZA(),e.TgZ(14,"div",44)(15,"div",44)(16,"div"),e._uU(17),e.qZA(),e.TgZ(18,"strong",45),e._uU(19),e.TgZ(20,"span"),e._uU(21),e.qZA()()(),e.TgZ(22,"div",44)(23,"div"),e._uU(24),e.qZA(),e.TgZ(25,"div",45)(26,"strong"),e._uU(27),e.qZA(),e.YNc(28,t,4,2,"strong",1),e.qZA()()()()()()()()),2&r){const c=e.oxw();e.xp6(4),e.hij("",c.labels.YouWillNeed,":"),e.xp6(6),e.Oqu(null==c.product?null:c.product.Name),e.xp6(3),e.Q6J("src",c.productImage,e.LSH),e.xp6(4),e.hij("",c.labels.QuantityNeeded,":"),e.xp6(2),e.hij("",c.quantity," "),e.xp6(2),e.Oqu(c.labels.Kg),e.xp6(3),e.hij("",c.labels.Packs,":"),e.xp6(3),e.Oqu(c.packages),e.xp6(1),e.Q6J("ngIf",0!=c.packageSize)}}let i=(()=>{class r{constructor(c,g){this.calculatorsService=c,this._mapeiCommonService=g,this.quantity=0,this.packages=0,this.packageSize=0,this.productImage="",this.isLoading=!1,this.resetCalculation=new e.vpe,this.returnToCalculation=new e.vpe,this.save=new e.vpe,this.saveInputName=null,this.hideCostEstimateField=!0,this.currSiteId=window.currentSiteId,this.subscriptions=[]}ngOnDestroy(){this.subscriptions.length>0&&this.subscriptions.forEach(c=>{c.unsubscribe()})}saveResult(){let c;document.getElementById("close-btn").click(),this.options.Name=this.saveInputName,this.options.ProductName=this.product.Name,this.options.ProductQuantity=this.quantity,this.options.ProductQuantityUnit=0==this.packageSize?this.packages:this.packages+" X "+this.packageSize+" "+this.labels.Kg+"-"+this.labels.Pack,
1c=this.options,this.subscriptions.push(this._mapeiCommonService.getUserInfo(this.currSiteId).subscribe(g=>{g?this.subscriptions.push(this.calculatorsService.saveResult(c).subscribe(M=>{this.save.emit(),document.getElementById("confirm-btn").click()},M=>{console.log(M)})):this.openLogin()},g=>{console.log("err ->",g)}))}checkLoginStatus(){this.subscriptions.push(this._mapeiCommonService.getUserInfo(this.currSiteId).subscribe(c=>{c?document.getElementById("name-modal-btn").click():this.openLogin()},c=>{console.log("err ->",c)}))}openLogin(){this._mapeiCommonService.openLogin()}newCalculation(){this.resetCalculation.emit(!0)}returnToCalculationPage(){this.returnToCalculation.emit(!0)}}return r.\u0275fac=function(c){return new(c||r)(e.Y36(b.v),e.Y36(p.U))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mapei-germany-calculators-result"]],inputs:{labels:"labels",options:"options",quantity:"quantity",packages:"packages",packageSize:"packageSize",productImage:"productImage",isLoading:"isLoading",product:"product"},outputs:{resetCalculation:"resetCalculation",returnToCalculation:"returnToCalculation",save:"save"},decls:51,vars:13,consts:[[1,"result-block","text-normal"],[4,"ngIf"],["class","row space-on-mobile",4,"ngIf"],[1,"calc-footer","padding-vertical-md","margin-bottom-big","border-gray-top","text-right","d-flex","flex-column-reverse","flex-md-row","flex-lg-row","justify-content-md-end","justify-content-lg-end"],["type","button",1,"btn","btn-primary-light","text-uppercase","d-flex","justify-content-center","align-items-center","mx-md-3",3,"click"],[1,"mapei-icon-save","res","margin-right-sm","mp-24px"],[1,"text-bold","text-small"],["id","newCalcBtn","type","button",1,"btn","btn-primary","text-uppercase","mx-md-3",3,"click"],["id","returnCalcBtn","type","button",1,"btn","btn-primary","text-uppercase","mx-md-3",3,"click"],["data-toggle","modal","data-target","#modal-save-project","id","name-modal-btn",3,"hidden"],["data-toggle","modal","data-target","#modal-confirm-save","
1id","confirm-btn",3,"hidden"],["id","modal-save-project","tabindex","-1","role","dialog",1,"modal","fade"],["role","document",1,"modal-dialog","modal-lg"],[1,"modal-content"],[1,"modal-body"],[1,"row"],[1,"col-xs-12","border-gray-bottom"],[1,"padding-bottom-sm"],["id","close-btn","type","button","data-dismiss","modal","aria-label","Close",1,"close"],[1,"mapei-icon-x","text-brand"],[1,"row","padding-md"],[1,"col-sm-8","col-xs-12"],[1,"form-group","branded","br-border-bottom"],["id","calculator-save-name","type","text",1,"form-control",3,"ngModel","placeholder","ngModelChange"],[1,"row","padding-md","br-border-bottom"],[1,"col-xs-12"],[1,"btn","btn-primary","text-uppercase","margin-left-md",3,"click"],[1,"text-bold","padding-right-md"],[1,"mapei-icon-arrow-right"],["id","modal-confirm-save","tabindex","-1","role","dialog",1,"modal","fade"],["type","button","data-dismiss","modal","aria-label","Close",1,"close","full-opacity"],[1,"mapei-icon-x","text-brand","text-bold"],[1,"row","padding-big","margin-big","text-center"],["src","/ResourcePackages/Mapei/assets/dist/images/checked-big.png"],[1,"center-block","limit-width","padding-bottom-md","border-gray-bottom"],["id","openLogin","data-toggle","modal","data-target","#login-modal",3,"hidden"],[1,"row","space-on-mobile"],[1,"product-needed-block","mb-5"],[1,"row","d-flex","flex-wrap"],[1,"single-product-block","px-4"],[1,"mb-4"],[1,"d-md-flex"],[1,"product-img-container"],["alt","product image",1,"product-img",3,"src"],[1,"py-2"],[1,"m-2"]],template:function(c,g){1&c&&(e.TgZ(0,"div",0),e.YNc(1,l,1,0,"mapei-calculator-loading",1),e.YNc(2,o,29,9,"div",2),e.TgZ(3,"div",3)(4,"button",4),e.NdJ("click",function(){return g.checkLoginStatus()}),e._UZ(5,"span",5),e.TgZ(6,"span",6),e._uU(7),e.qZA()(),e.TgZ(8,"button",7),e.NdJ("click",function(){return g.newCalculation()}),e.TgZ(9,"span",6),e._uU(10),e.qZA()(),e.TgZ(11,"button",8),e.NdJ("click",function(){return g.returnToCalculationPage()}),e.TgZ(12,"span",6),e._uU(13),e.qZA()()(),e._UZ(14,"button",9)(15,"button",10),e.qZA(),e.TgZ(16,"div",11)(17,"div",12)(18,"div",13)(19,"div",14)(20,"div",15)(21,"div",16)(22,"h4",17),e._uU(23),e.TgZ(24,"button",18),e._UZ(25,"span",19),e.qZA()()()(),e.TgZ(26,"div",20)(27,"div",21)(28,"div",22)(29,"input",23),e.NdJ("ngModelChange",function(M){return g.saveInputName=M}),e.qZA()()()(),e.TgZ(30,"div",24)(31,"div",25)(32,"button",26),e.NdJ("click",function(){return g.saveResult()}),e.TgZ(33,"span",27),e._uU(34),e.qZA(),e._UZ(35,"span",28),e.qZA()()()()()()(),e.TgZ(36,"div",29)(37,"div",12)(38,"div",13)(39,"div",14)(40,"div",15)(41,"div",25)(42,"button",30),e._UZ(43,"span",31),e.qZA()()(),e._UZ(44,"div",32),e.TgZ(45,"div",32),e._UZ(46,"img",33),e.TgZ(47,"h2",34),e._uU(48),e.qZA()()(),e._UZ(49,"div",32),e.qZA()()(),e._UZ(50,"button",35)),2&c&&(e.xp6(1),e.Q6J("ngIf",g.isLoading),e.xp6(1),e.Q6J("ngIf",!g.isLoading),e.xp6(5),e.Oqu(g.labels.Save),e.xp6(3),e.Oqu(g.labels.NewCalculation),e.xp6(3),e.Oqu(g.labels.BackToPreviousCalculation),e.xp6(1),e.Q6J("hidden",!0),e.xp6(1),e.Q6J("hidden",!0),e.xp6(8),e.hij(" ",g.labels.EnterProjectName," "),e.xp6(6),e.Q6J("ngModel",g.saveInputName)("placeholder",g.labels.NameProjectLabel),e.xp6(5),e.hij(" ",g.labels.Save," "),e.xp6(14),e.hij("",g.labels.Saved,"!"),e.xp6(2),e.Q6J("hidden",!0))},dependencies:[f.O5,h.Fj,h.JJ,h.On,n],styles:['.product-img-container[_ngcontent-%COMP%]{width:130px;height:130px;margin-right:16px}.product-img-container[_ngcontent-%COMP%]   .product-img[_ngcontent-%COMP%]{width:130px;height:130px}.light-grey-border[_ngcontent-%COMP%]{border:solid 1px #EAEAEA}.product-thumbnail[_ngcontent-%COMP%]{background-position:center;background-size:contain;background-repeat:no-repeat;height:64px;width:64px}.scale-val[_ngcontent-%COMP%]{display:block;min-width:30px;text-align:center;position:relative}.fake-radio-label[_ngcontent-%COMP%]{display:inline-block;line-height:26px;background-repeat:no-repeat;cursor:pointer;color:#0079c2}.mat-slider-wrp[_ngcontent-%COMP%]{padding:0 20px}.mat-slider-scale[_ngcontent-%COMP%]{margin:0 -8px}.product-needed-block[_ngcontent-%COMP%]{background:#fff;
1border:1px solid #f0f0f0;box-shadow:0 3px 10px #bababa66;padding:15px}@media screen and (max-width: 992px){.single-product-block[_ngcontent-%COMP%]{flex:0 0 100%;width:100%}}.product-format-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child   .or-span[_ngcontent-%COMP%]{display:none}.squared-el[_ngcontent-%COMP%]{position:relative}.squared-el[_ngcontent-%COMP%]:after{content:"";display:block;padding-top:100%}.squared-el[_ngcontent-%COMP%]   .contnt[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%}@media screen and (max-width: 768px){.row.space-on-mobile[_ngcontent-%COMP%]{margin-left:0;margin-right:0}}.form-control[_ngcontent-%COMP%]:disabled{background-color:#f2faff;cursor:not-allowed;opacity:.7}select[_ngcontent-%COMP%]:disabled{background-color:#f2faff;cursor:not-allowed}.label-disabled[_ngcontent-%COMP%]{z-index:0}.media-body.b-4[_ngcontent-%COMP%]{width:auto!important}.adhesive-calculator__result-info[_ngcontent-%COMP%]   .adhesive-calculator__row[_ngcontent-%COMP%]{width:100%!important}@media screen and (max-width: 768px){.adhesive-calculator__result-info[_ngcontent-%COMP%]   .adhesive-calculator__col[_ngcontent-%COMP%]{padding-bottom:35px}}@media screen and (max-width: 768px){.adhesive-calculator__result-info[_ngcontent-%COMP%]{padding-bottom:0!important}}.adhesive-calculator__result-table[_ngcontent-%COMP%]   .adhesive-calculator__table-data[_ngcontent-%COMP%]{border-left:1px solid #686868;border-bottom:1px solid #686868;border-right:1px solid #686868}.adhesive-calculator__result-table[_ngcontent-%COMP%]   .adhesive-calculator__table-head[_ngcontent-%COMP%]{border-left:1px solid #686868;border-top:1px solid #686868;border-bottom:1px solid #686868}.adhesive-calculator__result-table[_ngcontent-%COMP%]   .adhesive-calculator__table-head[_ngcontent-%COMP%]:last-child{border-right:1px solid #686868}@media screen and (max-width: 768px){.adhesive-calculator__table-responsive[_ngcontent-%COMP%]{width:100%!important;padding-bottom:0!important;margin-bottom:35px!important}}']}),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.