PageSourceSearch

https://assets.www.handelsblatt.com/frontend/5006.242964db68362ca2.js

js handelsblatt.com collected 2026-09-24 08:25:57 UTC 11,136 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhbApp=self.webpackChunkhbApp||[]).push([[5006],{13858(S,p,t){t.d(p,{D:()=>l});var l=function(e){return e.extraLarge="extraLarge",e.largeWide="largeWide",e.large="large",e.medium="medium",e.mediumWide="mediumWide",e.mediumShort="mediumShort",e.small="small",e.smallWithKicker="smallWithKicker",e.extraSmall="extraSmall",e.shortList="shortList",e.shortListSwiper="shortListSwiper",e.longList="longList",e.report="report",e}(l||{})},53853(S,p,t){t.d(p,{n:()=>i});var l=t(65157),e=t(35547);function _(h,f){1&h&&e.Hgh(0,"div",0)}let i=(()=>{class h{constructor(){this.hideImage=(0,l.hFB)(!1)}static{this.\u0275fac=function(m){return new(m||h)}}static{this.\u0275cmp=e.VBU({type:h,selectors:[["app-skeleton-teaser"]],inputs:{hideImage:[1,"hideImage"]},decls:7,vars:1,consts:[[1,"image"],[1,"content"],[1,"head"],[1,"body"]],template:function(m,u){1&m&&(e.nVh(0,_,1,0,"div",0),e.rj2(1,"div",1),e.Hgh(2,"span",2),e.rj2(3,"div",3),e.Hgh(4,"span")(5,"span")(6,"span"),e.eux()()),2&m&&e.vxM(!1===u.hideImage()?0:-1)},styles:['[_nghost-%COMP%]{display:flex;gap:var(--%NS%hmg-des-dimensions-gap-s)}[_nghost-%COMP%]   .image[_ngcontent-%COMP%]{height:80px;aspect-ratio:1/1}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;gap:var(--%NS%hmg-des-dimensions-gap-xs)}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .head[_ngcontent-%COMP%]{display:block;width:120px;height:14px}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--%NS%hmg-des-dimensions-gap-2xs)}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block;height:18px}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:nth-child(1){width:90%}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:nth-child(2){width:calc(90% - 60px)}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:nth-child(3){display:none}@media(min-width:1024px){[_nghost-%COMP%]{flex-direction:column}[_nghost-%COMP%]   .image[_ngcontent-%COMP%]{height:unset;aspect-ratio:16/9}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:nth-child(1){width:95%}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:nth-child(2){width:100%}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:nth-child(3){display:block;width:70%}}[_nghost-%COMP%]   .image[_ngcontent-%COMP%], [_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .head[_ngcontent-%COMP%], [_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:relative;overflow:hidden;background:var(--%NS%hmg-des-color-fill-skeleton-base, rgba(0, 0, 0, .1))}[_nghost-%COMP%]   .image[_ngcontent-%COMP%]:after, [_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .head[_ngcontent-%COMP%]:after, [_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:0;background:linear-gradient(to right,transparent,var(--%NS%hmg-des-color-fill-skeleton-highlight, rgba(0, 0, 0, .2)),transparent);transform:translate(-100%);animation:_ngcontent-%COMP%_wave-lines 2s infinite ease-out}@media(prefers-reduced-motion:reduce){[_nghost-%COMP%]   .image[_ngcontent-%COMP%]:after, [_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .head[_ngcontent-%COMP%]:after, [_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:after{animation:none}}@keyframes _ngcontent-%COMP%_wave-lines{to{transform:translate(100%)}}'],changeDetection:1})}}return h})()},45006(S,p,t){t.d(p,{SmartSearchAnswerComponent:()=>B});var l=t(29293),e=t.n(l),_=t(65157),i=t(47266),h=t(32271),f=t(87559),P=t(13858),m=t(53853),u=t(89079),C=t(74542),b=t(14907),O=t(23634),r=t(82444),M=t(46080),k=t(45340),x=t(37373),v=t(11973),y=t(96354),n=t(35547);let D=(()=>{class o{#n=(0,i.WQX)(i.qQL).defaultView;#t=(0,i.WQX)(O.u);#e=(0,i.WQX)(b.M);#a=(0,i.WQX)(C.TrackingService);#s=(0,u.ot)(this.#t.contentStream.pipe((0,y.T)(a=>a.type===r.DnW.smartSearchPage?"page":"modal")));get#o(){return"page"===this.#s()?this.#e.feedbackLinks.smartSearchPage:this.#e.feedbackLinks.smartSearchInArticle}onFeedbackClick(a){this.#n?.open(a?this.#o.positive:this.#o.negative,"_blank"),this.#a.trackUserInteraction({event:M._.click_action,eventClassification:k.q.button,eventLabelGroup:x.B.easyfeedback,eventLabelDetail:a?"Ja":"Nein",eventPlacement:""})}static{this.\u0275fac=function(s){return new(s||o)}}static{this.\u0275cmp=n.VBU({type:o,selectors:[["app-smart-search-feedback"]],decls:4,vars:0,consts:[["appearance","compact","size","medium"],["icon","thumb-up","size","small",3,"click"],["icon","thumb-down","size","small",3,"click"]],template:function(s,c){1&s&&(n.j41(0,"hmg-rich-text",0),n.EFF(1," Ist diese Antwort f\xfcr Sie hilfreich?\n"),n.k0s(),n.j41(2,"hmg-ghost-button",1),n.bIt("click",function(){return c.onFeedbackClick(!0)}),n.k0s(),n.j41(3,"hmg-ghost-button",2),n.bIt("click",function(){return c.onFeedbackClick(!1)}),n.k0s())},dependencies:[v.TAk,v.HYg],styles:["[_nghost-%COMP%]{display:flex;align-items:center;gap:var(--%NS%hmg-des-dimensions-gap-2xs);border-top:var(--%NS%border-primary);padding-top:var(--%NS%hmg-des-dimensions-padding-m);margin-top:var(--%NS%hmg-des-dimensions-gap-m);margin-top:var(--%NS%hmg-des-dimensions-gap-s);padding-top:var(--%NS%hmg-des-dimensions-gap-xs)}[_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]{flex-grow:1}"],changeDetection:1})}}return o}
1)();var E=t(22470),T=t(41319),W=t(22663);function N(o,d){}function I(o,d){if(1&o){const a=n.RV6();n.j41(0,"div",4)(1,"hmg-label",5),n.EFF(2),n.k0s(),n.j41(3,"div",6),n.bIt("click",function(c){const g=i.eBV(a),j=g.$implicit,U=g.$index,G=n.XpG(4);return i.Njj(G.trackClick(c,U,j))}),n.DNE(4,N,0,0,"ng-template",7),n.k0s()()}if(2&o){const a=d.$implicit,s=d.$index,c=n.XpG(4);n.R7$(2),n.JRh(s+1),n.R7$(2),n.Y8G("appDynamicComponent",a)("settings",c.teaserSettings)}}function R(o,d){if(1&o&&n.Z7z(0,I,5,3,"div",4,n.Vm6),2&o){const a=n.XpG(3);n.Dyx(a.sourceTeasers())}}function F(o,d){1&o&&n.nrm(0,"app-skeleton-teaser",3),2&o&&n.Y8G("hideImage",!0)}function A(o,d){if(1&o&&(n.j41(0,"hmg-headline",2),n.EFF(1),n.k0s(),n.nVh(2,R,2,0)(3,F,1,1,"app-skeleton-teaser",3)),2&o){const a=n.XpG(2);n.R7$(),n.JRh("Die Recherche dahinter:"),n.R7$(),n.vxM(a.sourceTeasers().length>0?2:3)}}function w(o,d){if(1&o&&(n.nrm(0,"app-rich-text",1)(1,"app-smart-search-feedback"),n.nVh(2,A,4,2)),2&o){const a=n.XpG();n.Y8G("context",a.answer())("enableTeaserReferenceLabels",!0),n.R7$(2),n.vxM(d.sources.length>0?2:-1)}}function L(o,d){1&o&&(n.j41(0,"hmg-rich-text",0)(1,"span",8),n.EFF(2,"Denke nach"),n.k0s()())}let B=(()=>{class o{#n;#t;constructor(){this.searchResult=_.hFB.required(),this.isLoading=(0,_.hFB)(!1),this.clickOnSuggestion=(0,_.CGW)(),this.sourceTeasers=(0,i.vPA)([]),this.teaserSettings={layout:P.D.shortList,hideImage:!0,imageFallbackWidth:200,imageFullWidthOnMobile:!1},this.#n=(0,i.WQX)(W.y),this.#t=(0,i.WQX)(T.V),this.answer=(0,h.EW)(()=>({type:r.VWI.richText,content:this.searchResult()?.content??""})),(0,i.QZP)(()=>{const a=this.searchResult();null!==a&&(this.sourceTeasers.set([]),this.loadSourceTeasers(a))})}trackClick(a,s,c){a.defaultPrevented||this.clickOnSuggestion.emit({teaserId:c.id,position:s+1})}loadSourceTeasers(a){var s=this;return e()(function*(){const c=a.sources.map(g=>g.cms_id);try{const g=yield s.#n.fetchByIds(c);s.sourceTeasers.set(s.overwriteTargetsToOpenInNewWindow(g))}catch(g){s.#t.error(`[SmartSearchComponent]: Failed to fetch source teasers: ${g}`)}})()}overwriteTargetsToOpenInNewWindow(a){return a.map(s=>({...s,url:{...s.url,attrs:[...s.url.attrs,{key:"target",value:"_blank"}]}}))}static{this.\u0275fac=function(s){return new(s||o)}}static{this.\u0275cmp=n.VBU({type:o,selectors:[["app-smart-search-answer"]],inputs:{searchResult:[1,"searchResult"],isLoading:[1,"isLoading"]},outputs:{clickOnSuggestion:"clickOnSuggestion"},decls:2,vars:1,consts:[["appearance","compact","size","large","color","subtle"],[3,"context","enableTeaserReferenceLabels"],["size","small"],[3,"hideImage"],[1,"teaser-container"],["purpose","muted","size","small"],[3,"click"],[3,"appDynamicComponent","settings"],[1,"thinking"]],template:function(s,c){if(1&s&&n.nVh(0,w,3,3)(1,L,3,0,"hmg-rich-text",0),2&s){let g;n.vxM((g=!c.isLoading()&&c.searchResult())?0:1,g)}},dependencies:[E.DynamicComponentDirective,v.UFh,f.RichTextComponent,D,m.n,v.w5h,v.HYg],styles:['[_nghost-%COMP%]{display:block}[_nghost-%COMP%]   app-dynamic-component-list[_ngcontent-%COMP%]{padding-top:var(--%NS%hmg-des-dimensions-gap-m);--%NS%item-separator-margin-top: var(--%NS%hmg-des-dimensions-gap-m);--%NS%item-separator-padding-top: var(--%NS%hmg-des-dimensions-gap-m);--%NS%item-separator-border-top: var(--%NS%border-primary)}[_nghost-%COMP%]   hmg-headline[_ngcontent-%COMP%]{padding-top:var(--%NS%hmg-des-dimensions-gap-xl);word-break:break-word}[_nghost-%COMP%]   app-skeleton-teaser[_ngcontent-%COMP%], [_nghost-%COMP%]   .teaser-container[_ngcontent-%COMP%]{margin-top:var(--%NS%hmg-des-dimensions-gap-m)}[_nghost-%COMP%]   .teaser-container[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:var(--%NS%hmg-des-dimensions-gap-s)}@media(max-width:1023.9px){[_nghost-%COMP%]   .teaser-container[_ngcontent-%COMP%]{gap:0}}[_nghost-%COMP%]   .teaser-container[_ngcontent-%COMP%]:not(:last-of-type){border-bottom:var(--%NS%border-primary);padding-bottom:var(--%NS%hmg-des-dimensions-padding-m)}[_nghost-%COMP%]   .teaser-container[_ngcontent-%COMP%]   hmg-label[_ngcontent-%COMP%]{flex-shrink:0}[_nghost-%COMP%]   .teaser-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%]   .thinking[_ngcontent-%COMP%]:after{content:"";display:inline-block;animation:_ngcontent-%COMP%_dots 1.2s steps(4,end) infinite}@keyframes _ngcontent-%COMP%_dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}to{content:""}}'],changeDetection:1})}}return o}
1)()},22663(S,p,t){t.d(p,{y:()=>u});var l=t(29293),e=t.n(l),_=t(91413),i=t(47266),h=t(38528),f=t(14907),P=t(41319),m=t(54843);let u=(()=>{class C{constructor(){this.environment=(0,i.WQX)(f.M),this.contentOrigin=(0,i.WQX)(h.x),this.httpClient=(0,i.WQX)(_.Qq),this.logger=(0,i.WQX)(P.V)}fetchByIds(O){var r=this;return e()(function*(){const M=`${r.environment.dynamicTeasersUrl}?ids=${O.join(",")}`;return r.fetch(M)})()}fetch(O){var r=this;return e()(function*(){const M={params:{}};r.contentOrigin.contentSource&&(M.params["hmg-content"]=r.contentOrigin.contentSource),r.contentOrigin.cmsApiEnvironmentParameter&&(M.params["hmg-api-environment"]=r.contentOrigin.cmsApiEnvironmentParameter);try{return(0,m._)(r.httpClient.get(O,M))}catch(k){return r.logger.error(k),[]}})()}static{this.\u0275fac=function(r){return new(r||C)}}static{this.\u0275prov=i.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}}return C})()}}]);

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.