PageSourceSearch

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

js alfaromeo-uz.com collected 2026-10-08 16:53:38 UTC 10,676 bytes, 2 lines download raw bytes

1/*! stellantis-whitelabel 2026.925.113802.0009163557 */
2(self.webpackChunkpromotionbar=self.webpackChunkpromotionbar||[]).push([[835],{835:(e,t,r)=>{"use strict";r.r(t),r.d(t,{mount:()=>x});var n=r(393),o=r.n(n),a=r(645);var i=r(216),s=r.n(i),l=r(841),c=r.n(l);function p(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}r(845);const u=({size:e="24",name:t,customClass:r="",isBold:n})=>{const a=e=>{if(e.includes("wlb-icon-"))return e;let t=e;return e.includes("S-")&&(t=p(e.replace("S-",""))),`wlb-icon-${t.replace("wl-icons","").trim()}`};return t?o().createElement("i",{className:c()("wl-icon-element","wlb-icon",{"wlb-icon-bold":n},a(t),r),"data-testid":"wl-icon-library",style:{"--icon-font-size":`var(--wlb-size-scale-${e})`}}):null};u.propTypes={size:s().string.isRequired,name:s().string,customClass:s().string,isBold:s().bool};const f=u;class d 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}}d.propTypes={children:s().oneOfType([s().object,s().array]).isRequired,fallBack:s().oneOf([s().string,s().element])};const h=(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 m(){return m=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},m.apply(null,arguments)}const b=((e,t=o().createElement("div",null,"Loading..."))=>{const r=o().lazy(e);return e=>o().createElement(d,null,o().createElement(n.Suspense,{fallback:t},o().createElement(r,e)))})(()=>r.e(53).then(r.t.bind(r,53,23))),v=e=>"small"===e?"wlb-size-body-regular-s":"wlb-size-heading-7",y=e=>"small"===e?"wlb-size-body-regular-s":"wlb-size-body-regular",g=e=>"small"===e?"wlb-size-body-regular-s wl-paragraphText__Overflow":"wlb-size-body-regular wl-paragraphText__Overflow",w=e=>{const{variation:t,items:r,fontSizeParagraphVariation:a="regular",fontSizeHeadlineVariation:i="regular",fontSizeVariation:s="regular",backgroundColor:l,theme:p,componentId:u,item:d}=e,w=(0,n.useRef)(null);h(w,"WlTooltip");return o().createElement("div",{"data-theme":p,className:`wl-promotionbar-wrapper ${l}`,id:u,ref:w},o().createElement("div",{className:`wl-promotionbar-wrapper--container ${t}`},"icontext"===t?r.map((e,r)=>{const n=o().createElement(f,{customClass:"wl-promotionbar-wrapper--container__icon",name:e.iconClass}),a=o().createElement(b,m({},e.cta,{theme:p}));return o().createElement("div",{className:"wl-promotionbar-wrapper--container__iconText",key:r},n,e.cta?b&&a:o().createElement("p",{className:c()("icontext"===t&&g(s))},e.headline))}):(()=>{const{headline:e,paragraph:r,cta:n,ctaAlignment:l}=d,u=o().createElement(b,m({theme:p},n,{iconRight:n?.iconRight}));return o().createElement("div",{className:c()({"wl-promotionbar-wrapper--container__paragrphText":"paragraphtext"===t},{"wl-promotionbar-wrapper--container__ctaText":"ctatext"===t},{[`${l}`]:l})},e&&o().createElement("h3",{className:c()("paragraphtext"===t&&y(i),"ctatext"===t&&g(s))},e),r&&o().createElement("p",{className:c()("paragraphtext"===t&&v(a))},r),n&&b&&u)})()))};w.propTypes={componentId:s().string,variation:s().string,fontSizeParagraphVariation:s().string,fontSizeHeadlineVariation:s().string,fontSizeVariation:s().string,items:s().array,backgroundColor:s().string,theme:s().string,item:s().object};const E=w,x=(e,t={})=>{const n=e.hasAttribute("data-wl-ssr");if(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 a.hydrateRoot(e,o().createElement(E,t));n||(e.style.visibility="hidden",e.style.height=getComputedStyle(e).height,r.e(539).then(r.t.bind(r,539,23)).catch(e=>console.error(`Failed to load styles for PromotionBar: ${e.message}`)).then(()=>{e.style.removeProperty("visibility"),e.style.removeProperty("height")})),a.createRoot(e).render(o().createElement(E,t))}},841:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var i=o.apply(null,r);i&&e.push(i)}}else if("object"===a){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}
2.apply(t,[]))||(e.exports=r)}()},471:(e,t,r)=>{"use strict";r.r(t)},459:(e,t,r)=>{"use strict";var n=r(704);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return r.PropTypes=r,r}},216:(e,t,r)=>{e.exports=r(459)()},704:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},645:(e,t,r)=>{"use strict";var n=r(512);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},845:(e,t,r)=>{var n=r(471);"string"==typeof n&&(n=[[e.id,n,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};r(63)(n,o);n.locals&&(e.exports=n.locals)},63:(e,t,r)=>{var n,o,a={},i=(n=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=n.apply(this,arguments)),o}),s=function(e){return document.querySelector(e)},l=function(){var e={};return function(t){if("function"==typeof t)return t();if(void 0===e[t]){var r=s.call(this,t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),c=null,p=0,u=[],f=r(182);function d(e,t){for(var r=0;r<e.length;r++){var n=e[r],o=a[n.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](n.parts[i]);for(;i<n.parts.length;i++)o.parts.push(g(n.parts[i],t))}else{var s=[];for(i=0;i<n.parts.length;i++)s.push(g(n.parts[i],t));a[n.id]={id:n.id,refs:1,parts:s}}}}function h(e,t){for(var r=[],n={},o=0;o<e.length;o++){var a=e[o],i=t.base?a[0]+t.base:a[0],s={css:a[1],media:a[2],sourceMap:a[3]};n[i]?n[i].parts.push(s):r.push(n[i]={id:i,parts:[s]})}return r}function m(e,t){var r=l(e.insertInto);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var n=u[u.length-1];if("top"===e.insertAt)n?n.nextSibling?r.insertBefore(t,n.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),u.push(t);else if("bottom"===e.insertAt)r.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=l(e.insertInto+" "+e.insertAt.before);r.insertBefore(t,o)}}function b(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=u.indexOf(e);t>=0&&u.splice(t,1)}function v(e){var t=document.createElement("style");return e.attrs.type="text/css",y(t,e.attrs),m(e,t),t}function y(e,t){Object.keys(t).forEach(function(r){e.setAttribute(r,t[r])})}function g(e,t){var r,n,o,a;if(t.transform&&e.css){if(!(a=t.transform(e.css)))return function(){};e.css=a}if(t.singleton){var i=p++;r=c||(c=v(t)),n=x.bind(null,r,i,!1),o=x.bind(null,r,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",y(t,e.attrs),m(e,t),t}(t),n=T.bind(null,r,t),o=function(){b(r),r.href&&URL.revokeObjectURL(r.href)}):(r=v(t),n=S.bind(null,r),o=function(){b(r)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=i()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var r=h(e,t);return d(r,t),function(e){for(var n=[],o=0;o<r.length;o++){var i=r[o];(s=a[i.id]).refs--,n.push(s)}e&&d(h(e,t),t);for(o=0;o<n.length;o++){var s;if(0===(s=n[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete a[s.id]}}}};
vendor: 1,442 bytes, line 2
2var w,E=(w=[],function(e,t){return w[e]=t,w.filter(Boolean).join("\n")});function x(e,t,r,n){var o=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=E(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function S(e,t){var r=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}function T(e,t,r){var n=r.css,o=r.sourceMap,a=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||a)&&(n=f(n)),o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var i=new Blob([n],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(i),s&&URL.revokeObjectURL(s)}},182:e=>{e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var r=t.protocol+"//"+t.host,n=r+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var o,a=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(a)?e:(o=0===a.indexOf("//")?a:0===a.indexOf("/")?r+a:n+a.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")})}}}]);

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.