PageSourceSearch

https://www.nunhems.com/chunk-OGXQQRNE.js

js nunhems.com collected 2026-10-01 13:08:08 UTC 13,949 bytes, 17 lines download raw bytes

1import{a as Ae,b as Ue}from"./chunk-NVFLAEGC.js";import{c as A,d as $e}from"./chunk-RK4G6H4I.js";import"./chunk-XF4E54PP.js";import"./chunk-7SDFEXCD.js";import"./chunk-MRMFTTD6.js";import{a as Ne}from"./chunk-N2BRNX2G.js";import{R as Fe}from"./chunk-5B73PZKH.js";import{$ as be,Cc as Pe,Cd as Le,Ed as $,Hd as Me,Ke as Be,La as ye,Mc as Se,Na as ke,Nc as B,Sa as Ce,Sc as _e,Tc as Ie,Te as we,Uc as w,Wb as De,Y as ge,Yb as V,_ as ve,ad as F,ce as Te,i as ue,ie as H,r as he,s as _,te as Ee,u as fe,vd as N,yd as xe}from"./chunk-BDKH7HVI.js";import{Ac as re,Bc as ae,Cc as le,Ec as j,Fc as Z,G as K,Hb as h,Ia as C,Ib as ie,Kd as R,Lb as D,Ld as me,Mb as x,Nb as L,Nc as ce,Oa as I,Oc as y,Pc as k,Zb as ne,Zc as pe,aa as m,ac as v,cc as b,d as q,ec as M,fc as T,gc as E,gd as P,ha as J,hc as c,hd as S,ia as W,ic as p,jc as a,k as Q,ka as X,kc as f,lb as te,na as r,qc as oe,rb as o,rc as se,rd as de,wa as Y,xa as ee,xc as G,xd as l,zc as u}from"./chunk-4Q6BE6NT.js";import{a as U,b as z}from"./chunk-DIQPMGB2.js";var ze=`
2    .p-blockui {
3        position: relative;
4    }
5
6    .p-blockui-mask {
7        border-radius: dt('blockui.border.radius');
8    }
9
10    .p-blockui-mask.p-overlay-mask {
11        position: absolute;
12    }
13
14    .p-blockui-mask-document.p-overlay-mask {
15        position: fixed;
16    }
17`;var Oe=["content"],qe=["*"];function Qe(t,d){t&1&&oe(0)}var Ke={root:({instance:t})=>["p-blockui p-blockui-mask",{"p-blockui-mask-document":!t.target}]},Ge=(()=>{class t extends Pe{name="blockui";style=ze;classes=Ke;static \u0275fac=(()=>{let e;return function(i){return(e||(e=I(t)))(i||t)}})();static \u0275prov=J({token:t,factory:t.\u0275fac})}return t})();var je=new X("BLOCKUI_INSTANCE"),Je=(()=>{class t extends Ie{componentName="BlockUI";$pcBlockUI=r(je,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=r(w,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}target;autoZIndex=!0;baseZIndex=0;styleClass;get blocked(){return this._blocked}set blocked(e){this.el&&this.el.nativeElement?e?this.block():this._blocked&&this.unblock():this._blocked=e}contentTemplate;_blocked=!1;animationEndListener;_componentStyle=r(Ge);constructor(){super()}onAfterViewInit(){if(this._blocked&&this.block(),this.target&&!this.target.getBlockableElement)throw"Target of BlockUI must implement BlockableUI interface"}_contentTemplate;templates;
17onAfterContentInit(){this.templates.forEach(e=>{e.getType()==="content"?this.contentTemplate=e.template:this.contentTemplate=e.template})}block(){_(this.platformId)&&(this._blocked=!0,this.el.nativeElement.style.display="flex",this.target?(this.target.getBlockableElement().appendChild(this.el.nativeElement),this.target.getBlockableElement().style.position="relative"):(this.renderer.appendChild(this.document.body,this.el.nativeElement),De()),this.autoZIndex&&F.set("modal",this.el.nativeElement,this.baseZIndex+this.config.zIndex.modal),this.renderer.addClass(this.el.nativeElement,"p-overlay-mask"),this.renderer.addClass(this.el.nativeElement,"p-overlay-mask-enter-active"))}unblock(){_(this.platformId)&&this.el&&this._blocked&&(this._blocked=!1,this.animationEndListener||(this.animationEndListener=this.renderer.listen(this.el.nativeElement,"animationend",this.destroyModal.bind(this))),this.renderer.removeClass(this.el.nativeElement,"p-overlay-mask-enter-active"),this.renderer.addClass(this.el.nativeElement,"p-overlay-mask-leave-active"))}destroyModal(){this._blocked=!1,this.el&&_(this.platformId)&&(this.el.nativeElement.style.display="none",this.renderer.removeClass(this.el.nativeElement,"p-overlay-mask"),this.renderer.removeClass(this.el.nativeElement,"p-overlay-mask-leave-active"),F.clear(this.el.nativeElement),this.target||(this.document.body.removeChild(this.el.nativeElement),V())),this.unbindAnimationEndListener(),this.cd.markForCheck()}unbindAnimationEndListener(){this.animationEndListener&&this.el&&(this.animationEndListener(),this.animationEndListener=null)}onDestroy(){this._blocked&&(this._blocked=!1,this.el&&_(this.platformId)&&(F.clear(this.el.nativeElement),this.target||V()),this.unbindAnimationEndListener())}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=h({type:t,selectors:[["p-blockUI"],["p-blockui"],["p-block-ui"]],contentQueries:function(n,i,s){if(n&1&&le(s,Oe,4)(s,Se,4),n&2){let g;j(g=Z())&&(i.contentTemplate=g.first),j(g=Z())&&(i.templates=g)}},hostVars:3,hostBindings:function(n,i){n&2&&(ne("aria-busy",i.blocked),ce(i.cn(i.cx("root"),i.styleClass)))},inputs:{target:"target",autoZIndex:[2,"autoZIndex","autoZIndex",R],baseZIndex:[2,"baseZIndex","baseZIndex",me],styleClass:"styleClass",blocked:[2,"blocked","blocked",R]},features:[pe([Ge,{provide:je,useExisting:t},{provide:_e,useExisting:t}]),D([w]),x],ngContentSelectors:qe,decls:2,vars:1,consts:[[4,"ngTemplateOutlet"]],template:function(n,i){n&1&&(re(),ae(0),L(1,Qe,1,0,"ng-container",0)),n&2&&(o(),c("ngTemplateOutlet",i.contentTemplate||i._contentTemplate))},dependencies:[he,ue,B],encapsulation:2,changeDetection:0})}return t})(),Ze=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=ie({type:t});static \u0275inj=W({imports:[Je,B,B]})}return t})();function We(t,d){if(t&1&&(p(0,"a",0)(1,"h3",1),y(2),a()()),t&2){let e=u();c("link",e.headerLink),o(2),k(e.title)}}function Xe(t,d){if(t&1&&(p(0,"h3",1),y(1),a()),t&2){let e=u();o(),k(e.title)}}function Ye(t,d){if(t&1&&(f(0,"p",2),P(1,"safeHTML")),t&2){let e=u();c("innerHTML",S(1,1,e.subtitle),te)}}function et(t,d){if(t&1&&(p(0,"div",4)(1,"h4",5),y(2),a(),p(3,"span"),y(4),a()()),t&2){let e=d.$implicit;o(2),k(e.label),o(2),k(e.value)}}var Re=(()=>{class t{constructor(){this.title="",this.subtitle=""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=h({type:t,selectors:[["basf-wxp-flexible-item-card"]],inputs:{itemDetailList:"itemDetailList",title:"title",subtitle:"subtitle",headerLink:"headerLink"},decls:6,vars:2,consts:[["wxpLink","","wxpTrackLinks","",3,"link"],[1,"bold","mb-1","mt-0"],[1,"m-0",3,"innerHTML"],[1,"flex"],[1,"flex-1"],[1,"mb-0"]],template:function(n,i){n&1&&(v(0,We,3,2,"a",0)(1,Xe,2,1,"h3",1),v(2,Ye,2,3,"p",2),p(3,"div",3),T(4,et,5,2,"div",4,M),a()),n&2&&(b(i.headerLink?0:1),o(2),b(i.subtitle?2:-1),o(2),E(i.itemDetailList))},dependencies:[Le,Te],encapsulation:2})}}return t})();function tt(t,d){if(t&1&&(p(0,"article"),f(1,"basf-wxp-simple-product-list-item",3)(2,"hr"),a()),t&2){let e=d.$implicit,n=u();o(),c("item",e)("locale",n.locale())("channelPortfolio",n.channelPortfolio())}}function it(t,d){t&1&&(p(0,"div")(1,"h2",4),y(2),P(3,"translate"),a()()),t&2&&(o(2),k(S(3,1,"global.errorNoResultsMessage")))}function nt(t,d){if(t&1){let e=se();p(0,"div",2)(1,"p-button",5),P(2,"translate"),G("onClick",function(){Y(e);let i=u();return ee(i.showMoreItems())}),a()()}if(t&2){let e=u();o(),c("label",S(2,2,"result-list.showMoreButtonLabel"))("loading",e.showMoreButtonLoading())}}function ot(t,d){t&1&&f(0,"p-progressSpinner")}var st=(()=>{class t{constructor(){this.translateService=r(ge),this.touchPointService=r(we),this.localeDirective=r($,{self:!0}),this.item=l(void 0),this.channelPortfolio=l(""),this.moreDetailsButtonLabel=this.translateService.instant("simple-product-list.moreDetailsButtonLabel"),this.detailLinkPrepared=de(()=>({link:this.touchPointService.getSpecificTouchPoint(this.item()?.touchpoints,[Ce.SALES_PAGE],[this.channelPortfolio()],this.localeDirective.locale,void 0,!1)?.url||"",target:ye.Blank}
17))}onButtonClicked(){window.open(this.detailLinkPrepared().link,this.detailLinkPrepared().target)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=h({type:t,selectors:[["basf-wxp-simple-product-list-item"]],inputs:{item:[1,"item"],channelPortfolio:[1,"channelPortfolio"]},features:[D([{directive:$,inputs:["locale","locale"]}])],decls:5,vars:4,consts:[[1,"grid"],[1,"col-12","md:col-10"],[3,"title","subtitle","headerLink"],[1,"col-12","md:col-2"],["size","small","wxpLink","","wxpTrackLinks","",3,"onClick","label"]],template:function(n,i){if(n&1&&(p(0,"div",0)(1,"div",1),f(2,"basf-wxp-flexible-item-card",2),a(),p(3,"div",3)(4,"p-button",4),G("onClick",function(){return i.onButtonClicked()}),a()()()),n&2){let s,g;o(2),c("title",((s=i.item())==null?null:s.name)||"")("subtitle",(g=i.item())==null?null:g.description)("headerLink",i.detailLinkPrepared()),o(2),c("label",i.moreDetailsButtonLabel)}},dependencies:[$e,A,Re],encapsulation:2})}}return t})(),Ve=5,He=(()=>{class t{constructor(){this.mssDirectService=r(Ee),this.viewportScroller=r(fe),this.logger=r(ke),this.resultsPaginationSize=l(Ve),this.locale=l(""),this.operationDivisions=l(void 0),this.catalogs=l(void 0),this.channelPortfolio=l(""),this.industry=l(void 0),this.application=l(void 0),this.productGroup=l(void 0),this.process=l(void 0),this.types=l(void 0),this.pho=l(void 0),this.showMoreButtonLoading=C(!1),this.resultFiltersLoading=C(!1),this.initialProducts=[],this.mssData=C(void 0),this.args={limit:0,skip:0,locale:""},this.selection=[],this.filteredProducts=C([]),this.hasAnchorID=r(N,{self:!0})}ngOnInit(){this.requestMssData(0)}get isMoreItems(){let e=this.mssData()?.pagination;return e?e.skip+e.size<e.total:!1}configuredFilters(e){let n={channelPortfolio:this.channelPortfolio(),od:this.operationDivisions(),catalog:this.catalogs(),industry:this.industry(),application:this.application(),product_group:this.productGroup(),process:this.process(),type:this.t
17ypes(),pho:this.pho()},i=H.buildParams(n),s=H.buildParams({type:["PRD"]});return this.args=z(U({},this.args),{limit:this.resultsPaginationSize()??0,skip:e}),Be.buildSearchRequestParameters(this.args,i,s)}requestMssData(e){let n=this.configuredFilters(e);this.resultFiltersLoading.set(!0),this.mssDirectService.productFinderSearch(n).pipe(K(i=>(this.logger.error(i),this.resultFiltersLoading.set(!1),Q(null)))).subscribe(i=>{i&&(e===0?(this.mssData.set(i),setTimeout(()=>{this.viewportScroller.scrollToPosition([0,0])})):this.mssData.update(s=>s&&z(U({},s),{data:[...s.data??[],...i.data??[]],pagination:i.pagination})),this.filteredProducts.set(this.mssData()?.data??[]),e===0&&(this.initialProducts=this.mssData()?.data??[])),this.resultFiltersLoading.set(!1),this.showMoreButtonLoading.set(!1)})}showMoreItems(){this.showMoreButtonLoading.set(!0);let e=(this.args.skip||0)+(this.resultsPaginationSize()||Ve);this.requestMssData(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=h({type:t,selectors:[["basf-wxp-simple-product-list"]],inputs:{resultsPaginationSize:[1,"resultsPaginationSize"],locale:[1,"locale"],operationDivisions:[1,"operationDivisions"],catalogs:[1,"catalogs"],channelPortfolio:[1,"channelPortfolio"],industry:[1,"industry"],application:[1,"application"],productGroup:[1,"productGroup"],process:[1,"process"],types:[1,"types"],pho:[1,"pho"]},features:[D([{directive:xe,inputs:["background","background"]},{directive:N,inputs:["anchorID","anchorID"]}])],decls:7,vars:4,consts:[[3,"id"],[1,"pt-6"],[1,"flex","justify-content-center","py-5"],[3,"item","locale","channelPortfolio"],[1,"text-center"],["loadingIcon","pi-spinner",3,"onClick","label","loading"]],template:function(n,i){if(n&1&&(p(0,"div",0)(1,"div",1),T(2,tt,3,3,"article",null,M),v(4,it,4,3,"div"),a(),v(5,nt,3,4,"div",2),v(6,ot,1,0,"p-progressSpinner"),a()),n&2){let s;c("id",i.hasAnchorID.anchorID),o(2),E(i.filteredProducts()),o(2),b(((s=i.mssData())==null||s.data==null?null:s.data.length)===0?4:-1),o(),b(i.isMoreItems?5:-1),o(),b(i.resultFiltersLoading()?6:-1)}},dependencies:[st,A,Ze,Ue,Ae,be,ve],encapsulation:2,changeDetection:0})}}return t})();function rt(t,d){if(t&1&&f(0,"basf-wxp-simple-product-list",1),t&2){let e=u();c("operationDivisions",e.operationDivisions)("catalogs",e.catalogs)("channelPortfolio",e.channelPortfolio)("industry",e.industry)("application",e.application)("productGroup",e.productGroup)("process",e.process)("types",e.types)("pho",e.pho)("resultsPaginationSize",e.resultsPaginationSize??0)("anchorID",e.anchorID)("locale",e.locale)}}var si=(()=>{class t extends Ne{constructor(){super(...arguments),this.mgnlPageService=r(Fe),this.destroy$=new q,this.locale="",this.selection=[],this.operationDivisions=[],this.catalogs=[],this.channelPortfolio="",this.industry=[],this.application=[],this.productGroup=[],this.process=[],this.types=[],this.pho=[]}ngOnInit(){this.mgnlPageService.pageLocale$.subscribe(e=>{this.locale=e||""}),this.mgnlPageService.operationDivision$.pipe(m(this.destroy$)).subscribe(e=>this.operationDivisions=e),this.mgnlPageService.catalog$.pipe(m(this.destroy$)).subscribe(e=>this.catalogs=e),this.mgnlPageService.channelPortfolio$.pipe(m(this.destroy$)).subscribe(e=>this.channelPortfolio=e),this.mgnlPageService.industry$.pipe(m(this.destroy$)).subscribe(e=>this.industry=e),this.mgnlPageService.application$.pipe(m(this.destroy$)).subscribe(e=>this.application=e),this.mgnlPageService.productGroup$.pipe(m(this.destroy$)).subscribe(e=>this.productGroup=e),this.mgnlPageService.process$.pipe(m(this.destroy$)).subscribe(e=>this.process=e),this.mgnlPageService.type$.pipe(m(this.destroy$)).subscribe(e=>this.types=e),this.mgnlPageService.pho$.pipe(m(this.destroy$)).subscribe(e=>this.pho=e)}static{this.\u0275fac=(()=>{let e;return function(i){return(e||(e=I(t)))(i||t)}})()}static{this.\u0275cmp=h({type:t,selectors:[["basf-mgnl-simple-product-list"]],inputs:{resultsPaginationSize:"resultsPaginationSize"},features:[x],decls:1,vars:0,consts:[[3,"operationDivisions","catalogs","channelPortfolio","industry","application","productGroup","process","types","pho","resultsPaginationSize","anchorID","locale",4,"wxpNoSSR"],[3,"operationDiv
17isions","catalogs","channelPortfolio","industry","application","productGroup","process","types","pho","resultsPaginationSize","anchorID","locale"]],template:function(n,i){n&1&&L(0,rt,1,12,"basf-wxp-simple-product-list",0)},dependencies:[He,Me],encapsulation:2})}}return t})();export{si as MgnlSimpleProductListComponent};

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.