PageSourceSearch

https://www.alfaromeo-uz.com/etc.clientlibs/stellantis-whitelabel/…/resources/js/775.86730493c4bcec687df4.js

js alfaromeo-uz.com collected 2026-10-08 16:55:37 UTC 15,528 bytes, 2 lines download raw bytes

1/*! stellantis-whitelabel 2026.925.113802.0009163557 */
2(self.webpackChunkteaserfullscreen=self.webpackChunkteaserfullscreen||[]).push([[775],{6506:(e,t,r)=>{"use strict";r.r(t),r.d(t,{mount:()=>F});var n=r(7393),a=r.n(n),o=r(4645);var i=r(216),s=r.n(i),l=r(841),c=r.n(l),d=r(30),u=r(3993),p=r.n(u);const h=[],g=(()=>{const e=[];for(let t=0;t<256;t++)e[t]=(t<16?"0":"")+t.toString(16);return e})();const m=function e(t){t=t||"";const r=4294967295*Math.random()|0,n=4294967295*Math.random()|0;let a=t+g[255&r]+g[r>>8&255]+g[r>>16&255]+g[r>>24&255]+"-"+g[255&n]+g[n>>8&255];return h.indexOf(a)>=0&&(a=e(t)),h.push(a),a};class f extends n.Component{state={error:"",errorInfo:"",hasError:!1};static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error({error:e,errorInfo:t}),this.setState({errorInfo:t})}render(){return this.state.hasError?this.props.fallBack||null:this.props.children}}f.propTypes={children:s().oneOfType([s().object,s().array]).isRequired,fallBack:s().oneOf([s().string,s().element])};const b=(e,t=a().createElement("div",null,"Loading..."))=>{const r=a().lazy(e);return e=>a().createElement(f,null,a().createElement(n.Suspense,{fallback:t},a().createElement(r,e)))};const w=function(e=764){const[t,r]=(0,n.useState)(()=>"undefined"!=typeof window&&window.innerWidth<=e);return(0,n.useEffect)(()=>{const t=()=>{(0,n.startTransition)(()=>{r(window.innerWidth<=e)})};return window.addEventListener("resize",t),t(),()=>{window.removeEventListener("resize",t)}},[e]),t},T=e=>t=>{const{id:r,...o}=t,i=(0,n.useMemo)(()=>{if("undefined"==typeof window||"undefined"==typeof document)return null;if(!r)return o;const e=document.getElementById("wl-tooltip-mapping");if(!e)return o;const t=e.getAttribute("data-props");if(!t)return o;const{tooltipsList:n=[]}=JSON.parse(t),a=n.find(e=>e.id===r);return a?{id:r,...o,...a}:o},[r,o]);return a().createElement(e,i)},y=({onOpen:e,onClose:t,delay:r=150,targetElementId:a})=>{const o=(0,n.useRef)(null),i=(0,n.useRef)(null),s=(0,n.useCallback)(()=>{o.current&&(clearTimeout(o.current),o.current=null)},[]),l=(0,n.useCallback)(()=>{i.current&&(i.current.abort(),i.current=null)},[]);return{handleMouseEnter:(0,n.useCallback)(()=>{o.current?s():e()},[e,s]),handleMouseLeave:(0,n.useCallback)(()=>{l(),s();const e=new AbortController;i.current=e;const{signal:n}=e;o.current=setTimeout(()=>{o.current=null,t()},r);const c=document.getElementById(a);c&&(c.addEventListener("mouseenter",()=>{s()},{signal:n}),c.addEventListener("mouseleave",()=>{o.current=setTimeout(()=>{o.current=null,t()},r)},{signal:n}))},[t,r,a,l,s]),cleanup:(0,n.useCallback)(()=>{s(),l()},[s,l])}};const v=globalThis?.whitelabel?.stores?.__WL_TOOLTIP__||new class{constructor(e){if(globalThis.whitelabel??={},globalThis.whitelabel.stores??={},void 0!==globalThis.whitelabel.stores.__WL_TOOLTIP__)return globalThis.whitelabel.stores.__WL_TOOLTIP__;this.state=e,this.listeners=[],globalThis.whitelabel.stores.__WL_TOOLTIP__=this}getState(){return this.state}getTooltipNumber(e){return this.state.contentList.indexOf(e)+1||"i"}subscribe(e){return this.listeners.push(e),()=>{this.listeners=this.listeners.filter(t=>t!==e)}}dispatch(e){this.state=this.reducer(this.state,e),this.listeners.forEach(e=>e())}insertIntoContentList(e,t){if(!t||e.includes(t))return e;const r=document.querySelector(`span[data-tooltip-id-wl="${t}"]`),n=[...e],a=n.findIndex(e=>{const t=document.querySelector(`span[data-tooltip-id-wl="${e}"]`);return t&&r&&r.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING});return-1===a?n.push(t):n.splice(a,0,t),n}getUpdatedVisibleTooltips(e,t,r){const n=e[t];if(n?.visible&&n?.triggerTooltipId===r){const r={...e};return delete r[t],r}return{[t]:{visible:!0,triggerTooltipId:r}}}reducer(e,t){switch(t.type){case"UPDATE_CONTENT_LIST":return{...e,contentList:this.insertIntoContentList(e.contentList,t.payload)};case"SHOW_TOOLTIP":{const{tooltipInfoId:r,triggerTooltipId:n}=t.payload;return{...e,visibleTooltips:this.getUpdatedVisibleTooltips(e.visibleTooltips,r,n)}}case"HIDE_TOOLTIP":{const{tooltipInfoId:r}=t.payload;if(!e.visibleTooltips[r])return e;const n={...e.visibleTooltips};return delete n[r],{...e,visibleTooltips:n}}default:return e}}}({contentList:[],visibleTooltips:{}});r(2135);function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}
2).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},E.apply(null,arguments)}const O=b(()=>r.e(53).then(r.t.bind(r,9053,23)),a().createElement("span",null)),L=b(()=>r.e(23).then(r.bind(r,4023)),a().createElement("span",null)),I=({id:e,icon:t,numbered:r,analytics:o,openOn:i,theme:s})=>{const l=(0,n.useRef)(null),d=(0,n.useRef)(m("wl-tooltip-trigger-")),u=w(),[p,h]=(0,n.useState)(),g="click"===(u?"click":i);(0,n.useEffect)(()=>{const t=v.subscribe(()=>{(0,n.startTransition)(()=>{h(v.getTooltipNumber(e))})}),a=l.current?.parentNode;return a&&(a.removeAttribute("style"),a.classList.remove("wlb-custom-display-none")),r&&v.dispatch({type:"UPDATE_CONTENT_LIST",payload:e}),l.current&&(l.current.setAttribute("data-tooltip-id-wl",e),l.current.setAttribute("data-trigger-id-wl",d.current)),()=>{t(),_()}},[e,r]);const f=()=>{v.dispatch({type:"SHOW_TOOLTIP",payload:{tooltipInfoId:e,triggerTooltipId:d.current}})},b=()=>{v.dispatch({type:"HIDE_TOOLTIP",payload:{tooltipInfoId:e}})},{handleMouseEnter:T,handleMouseLeave:I,cleanup:_}=y({onOpen:f,onClose:b,delay:150,targetElementId:e});return a().createElement("span",E({ref:l,className:"wl-tooltip-button-wrapper"},!g&&{onMouseEnter:T,onMouseLeave:I}),a().createElement(O,E({className:c()("wl-tooltip-button","wlb-size-body-regular"),tabIndex:0,nodeName:"button",wrapperNodeName:"span",iconRight:"",theme:"dark"===s?"light":"dark",ariaLabel:r?`tooltip-${e}`:"tooltip",ariaDescribedby:e,ariaExpanded:!1,ariaControls:e,analytics:o},!g&&{onFocus:f,onBlur:b},{action:g?f:void 0,textClassName:r?"wlb-size-body-regular":void 0}),r&&p?`(${p})`:a().createElement(L,{size:"16",name:t||"wlb-icon-information-outline"})))};I.propTypes={id:s().string.isRequired,icon:s().string,analytics:s().object,theme:s().oneOf(["light","dark"]),numbered:s().bool,openOn:s().oneOf(["hover","click"])},I.defaultProps={icon:"wlb-icon-information-outline",numbered:!1,openOn:"click",theme:"dark"};const _=T(a().memo(I)),N=(e,t,r)=>{if(!e)return"";const n=e.replace(/&amp;/gi,"&").replace(/&lt;/gi,"<").replace(/&gt;/gi,">").replace(/&trade;/gi,"™").replace(/&reg;/gi,"®"),o={a:p().simpleTransform("a",{rel:"noopener noreferrer",target:"_blank"}),img:p().simpleTransform("img",{loading:"lazy"})};r&&"object"==typeof r&&Object.keys(r).forEach(e=>{const t=r[e];t&&"string"==typeof t&&(o[e]=(e,r)=>({tagName:e,attribs:{...r,class:r.class?`${r.class} ${t}`:t}}))});const i=t||{allowedTags:["p","b","i","em","strong","u","s","br","ul","ol","li","blockquote","code","pre","a","span","div","h1","h2","h3","h4","h5","h6","img","hr","sub","sup"],allowedAttributes:{a:["href","target","rel","name"],img:["src","alt","title","width","height"],span:["style","class","id","data-app-wl","data-props"],"*":["style","class","id"]},allowedStyles:{"*":{"text-align":[/^left$/,/^right$/,/^center$/,/^justify$/],"font-weight":[/^bold$/,/^\d+$/],"font-style":[/^italic$/],"text-decoration":[/^underline$/,/^line-through$/],color:[/^#[0-9A-Fa-f]+$/,/^rgb\((.*)\)$/],"background-color":[/^#[0-9A-Fa-f]+$/,/^rgb\((.*)\)$/],"font-size":[/^\d*(\.\d+)?(?:px|em|%)$/]}},allowedSchemes:["http","https","mailto"],transformTags:o,disallowedTagsMode:"discard",selfClosing:["img","br","hr"],nonTextTags:["style","script","textarea","noscript"]},s=p()(n,i),l={replace:e=>{if("tag"===e.type&&"span"===e.name&&e.attribs&&"WlTooltip"===e.attribs["data-app-wl"]&&e.attribs["data-props"])try{const t=JSON.parse(e.attribs["data-props"]);return a().createElement("span",(0,d.e_)(e.attribs),a().createElement(_,t))}catch(t){return console.error("Failed to parse data-props for WlTooltip:",t),e}}};return(0,d.ZP)(s,l)};function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},x.apply(null,arguments)}const C=({headingLevelTag:e="h2",headingText:t,headingTypography:r="",headingCustomClassname:n="",headingId:o=""})=>{const i=c()("wl-headingtext-wrapper",r&&r,n&&n);return a().createElement(e,x({className:i},o?{id:o}:{}),N(t))};C.propTypes={headingLevelTag:s().string,headingText:s().string.isRequired,headingTypography:s().string,headingCustomClassname:s().string,headingId:s().string};const $=C;r(7572);function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}
2).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},k.apply(null,arguments)}const S=(0,n.forwardRef)(({id:e=null,children:t,className:r="",theme:n="light",backgroundColor:o="wlb-color-bg-transparent",layout:i="fixed",...s},l)=>{const d="wl-grid";return a().createElement("section",k({"data-theme":n,ref:l,id:e,className:c()(d,`${d}--${i}`,o,r)},s),"hybrid"===i?a().createElement("div",{className:`${d}--hybrid__content-wrapper`},t):t)});S.displayName="WlGrid",S.propTypes={id:s().string,children:s().node.isRequired,className:s().string,theme:s().oneOf(["light","dark"]),backgroundColor:s().string,layout:s().oneOf(["fixed","fluid","hybrid"])};const P=S;var z=r(9198),j=r(1255);const R=(e,t="WlTooltip")=>{(0,n.useEffect)(()=>{const r=e.current;var n;r&&(n=r,null!==n?.closest('[data-wl-ssr="true"]'))&&window?.loadWLComponents?.(null,t,r)},[e,t])};function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},W.apply(null,arguments)}z.p8.registerPlugin(j.i);const A=b(()=>r.e(53).then(r.t.bind(r,9053,23)),a().createElement("span",null)),M=b(()=>r.e(733).then(r.t.bind(r,733,23)),a().createElement("span",null)),H=b(()=>r.e(256).then(r.t.bind(r,8493,23)),a().createElement("span",null)),q=e=>{const{componentId:t,addZoomAnimation:r=!1,theme:o="light",layout:i="fluid",captionText:s,headlineText:l,headLineLevel:d,subHeadlineText:u,subHeadLineLevel:p,paragraphText:h,contentWidth:g,cta:m,mediaType:f,[f]:b,alignTextContentTop:T=!1}=e,y=(0,n.useRef)(null),v=(0,n.useRef)(null),E=(0,n.useRef)(null),O=(0,n.useRef)(null),L=w(),[I,_]=(0,n.use
2State)(!1),x=Object.freeze({top:42,right:80,bottom:42,left:80,radius:16}),C=Object.freeze({top:30,right:16,bottom:30,left:16,radius:16}),k=(e,t)=>{e&&t&&(e.style.clipPath=`inset(${t.top}px ${t.right}px ${t.bottom}px ${t.left}px round ${t.radius}px)`)},S=({trigger:e,wrapper:t,container:r,fadingChild:n,isMobile:a,componentId:o,rendered:i})=>{if(!e||!t||!r)return null;const s=((e,t)=>!e||t?{...C}:{...x})(i,a);k(r,s),r.style.willChange="clip-path",t.style.willChange="border-radius",n&&z.p8.set(n,{opacity:0,pointerEvents:"none"});const l=e=>{e.enteredOnce||(e.refresh(),e.enteredOnce=!0)},c=z.p8.timeline({scrollTrigger:{trigger:e,start:"top top",end:"bottom",scrub:!0,pin:!0,id:`zoom-trigger-${o}`,anticipatePin:1,onEnter:l,onEnterBack:l}});c.to(s,{top:i&&!a?22:15,bottom:i&&!a?22:15,duration:.15,ease:"none",onUpdate:()=>{k(r,s)}}),c.to(s,{top:0,bottom:0,left:0,right:0,radius:0,duration:.1,ease:"none",onUpdate:()=>{k(r,s)}}),c.to(t,{borderRadius:0,duration:.05,ease:"none"},"<"),n?(c.to(n,{opacity:1,duration:.1,ease:"power1.out",onStart:()=>{z.p8.set(n,{pointerEvents:"auto"})}},">"),c.to({},{duration:.1}),c.to(n,{opacity:0,duration:.05,ease:"power1.in",onComplete:()=>{z.p8.set(n,{pointerEvents:"none"})}},">")):c.to({},{duration:.5});const d=i&&!a?x:C;return c.to(s,{top:d.top,bottom:d.bottom,left:d.left,right:d.right,radius:d.radius,duration:.05,ease:"none",onUpdate:()=>{k(r,s)}}),c.to(t,{borderRadius:16,duration:.1,ease:"none"},"<"),c};(0,n.useEffect)(()=>{if(!r)return;const e=v.current,n=E.current,a=y.current;if(!e||!n||!a)return;const o=a.querySelector(".wl-teaserfullscreen-wrapper--container__content"),i=S({trigger:e,wrapper:n,container:a,fadingChild:o,isMobile:L,componentId:t,rendered:I}),s=setTimeout(()=>{j.i.refresh(!0)},300);return()=>{clearTimeout(s),i?.scrollTrigger?.kill(),i?.kill()}},[L,t,I,r]),(0,n.useEffect)(()=>{(0,n.startTransition)(()=>{_(!0)})},[]);R(r?v:O,"WlTooltip");const q=a().createElement("div",{className:c()("wl-teaserfullscreen-wrapper",{"wl-teaserfullscreen-wrapper--hybrid":"hybrid"===i}),"data-theme":o,type:f,ref:O},a().createElement("div",{className:"wl-teaserfullscreen-wrapper--container"},a().createElement("div",{className:"wl-teaserfullscreen-wrapper__container-media"},"image"===f&&a().createElement(M,W({className:"wl-teaser-media__image"},b)),"video"===f&&a().createElement(H,W({componentId:t},b,{videoSrc:b.fullVideo,ariaHidden:"true"}))),a().createElement("div",{className:c()("wl-teaserfullscreen-wrapper--container__content",{"wl-align-top":T})},a().createElement("div",{className:c()("wl-teaserfullscreen-content",`wl-content-width-percentage--${g}`)},s&&a().createElement("p",{className:"wlb-size-body-regular-s"},s),l&&a().createElement($,{headingText:l,headingLevelTag:d,headingTypography:c()("wlb-size-heading-2 wl-headline")}),u&&a().createElement($,{headingText:u,headingLevelTag:p,headingTypography:c()("wlb-size-heading-4 wl-headline")}),h&&a().createElement("div",{className:"wlb-size-heading-7"},N(h)),m&&a().createElement("div",{className:"wl-teaserfullscreen-wrapper--container__cta"},a().createElement(n.Suspense,{fallback:a().createElement("div",null,"Loading...")},a().createElement(A,W({theme:o},m)))))))),D=r?a().createElement("div",{ref:v,className:"wl-teaserfullscreen-zoom-trigger-wrapper","data-id":`zoom-trigger-${t}`},a().createElement("div",{ref:E,className:"wl-teaserfullscreen-zoom-container-wrapper"},a().createElement("div",{ref:y,className:"wl-teaserfullscreen-zoom-container-content"},q))):q;return a().createElement(P,{id:t,theme:o,layout:i},D)};q.propTypes={componentId:s().string,theme:s().oneOf(["light","dark"]),layout:s().oneOf(["fixed","fluid","hybrid"]),addZoomAnimation:s().bool,captionText:s().string,headlineText:s().string,headLineLevel:s().oneOf(["h1","h2","h3","h4","h5","h6","p","div"]),subHeadlineText:s().string,subHeadLineLevel:s().oneOf(["h1","h2","h3","h4","h5","h6","p","div"]),paragraphText:s().string,cta:s().object,mediaType:s().string,image:s().object,video:s().object,alignTextContentTop:s().bool,contentWidth:s().string},q.defaultProps={contentWidth:"100",headLineLevel:"h1",subHeadLineLevel:"h2"};const D=q,F=(e,t={})=>{const n=e.hasAttribute("data-wl-ssr");
2if(n&&"true"===e.getAttribute("data-wl-ssr"))return e.querySelectorAll("[data-ssr-lazy-wl]").forEach(e=>{const t="start"===e.getAttribute("data-ssr-lazy-wl")?"$":"/$",r=document.createComment(t);e.parentNode.insertBefore(r,e),e.remove()}),void o.hydrateRoot(e,a().createElement(D,t));n||r.e(539).then(r.t.bind(r,5539,23)).catch(e=>console.error(`Failed to load styles for TeaserFullscreen: ${e.message}`)),o.createRoot(e).render(a().createElement(D,t))}},1578:(e,t,r)=>{"use strict";r.r(t)},5761:(e,t,r)=>{"use strict";r.r(t)},7572:(e,t,r)=>{var n=r(1578);"string"==typeof n&&(n=[[e.id,n,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};r(63)(n,a);n.locals&&(e.exports=n.locals)},2135:(e,t,r)=>{var n=r(5761);"string"==typeof n&&(n=[[e.id,n,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};r(63)(n,a);n.locals&&(e.exports=n.locals)},7544:()=>{},9599:()=>{},2310:()=>{},3842:()=>{},5695:()=>{}}]);

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.