PageSourceSearch

https://www.dacia.com.tr/client/dacia-widget-card-24b448e855f7c123.js

js dacia.com.tr collected 2026-09-24 18:05:51 UTC 31,349 bytes, 1 lines download raw bytes

1(self.rspackChunkOne=self.rspackChunkOne||[]).push([[23855],{62096(e,t,r){"use strict";var n,a=r(71763);function o(){return(o=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}).apply(null,arguments)}r.d(t,{},{A:e=>a.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),n||(n=a.createElement("path",{d:"M22 11.425v1.2h-9.4v9.4h-1.2v-9.4H2v-1.2h9.4v-9.4h1.2v9.4z"})))})},17147(e,t,r){"use strict";var n,a=r(71763);function o(){return(o=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}).apply(null,arguments)}r.d(t,{},{A:e=>a.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),n||(n=a.createElement("path",{fillRule:"evenodd",d:"M13.5 10.5v-5h-3v5h-5v3h5v5h3v-5h5v-3z",clipRule:"evenodd"})))})},96024(e,t,r){"use strict";var n,a=r(71763);function o(){return(o=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}).apply(null,arguments)}r.d(t,{},{A:e=>a.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),n||(n=a.createElement("path",{fillRule:"evenodd",d:"M1.9 22.1h8.2V1.9H1.9zm7-1.2H3.1V3.1h5.8zm5 1.2h8.2V1.9h-8.2zm1.2-1.2h5.8V3.1h-5.8z",clipRule:"evenodd"})))})},77773(e,t,r){"use strict";var n,a=r(71763);function o(){return(o=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}).apply(null,arguments)}r.d(t,{},{A:e=>a.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),n||(n=a.createElement("path",{fillRule:"evenodd",d:"M1.9 12c0 5.578 4.522 10.1 10.1 10.1 5.576-.006 10.094-4.524 10.1-10.1 0-5.578-4.522-10.1-10.1-10.1S1.9 6.422 1.9 12m7.102 5-.802-.754V7.768L9.017 7l.372.16c.19.084 4.715 2.051 7.576 4.07l.235.165v1.251l-.274.165-.163.095c-.964.56-5.744 3.337-7.404 3.96z",clipRule:"evenodd"})))})},22595(e,t,r){function n(){var e;try{e=t.storage.debug}catch(e){}return!e&&"u">typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=e.exports=r(79568)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var r=this.useColors;if(e[0]=(r?"%c":"")+this.namespace+(r?" %c":" ")+e[0]+(r?"%c ":" ")+"+"+t.humanize(this.diff),r){var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var a=0,o=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(a++,"%c"===e&&(o=a))}),e.splice(o,0,n)}},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=n,t.useColors=function(){return"u">typeof window&&!!window.process&&"renderer"===window.process.type||"u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="u">typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(n())},79568(e,t,r){var n;function a(e){function r(){if(r.enabled){var e=+new Date;r.diff=e-(n||e),r.prev=n,r.curr=e,n=e;for(var a=Array(arguments.length),o=0;o<a.length;o++)a[o]=arguments[o];a[0]=t.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var s=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,function(e,n){if("%%"===e)return e;s++;var o=t.formatters[n];if("function"==typeof o){var i=a[s];e=o.call(r,i),a.splice(s,1),s--}return e}),t.formatArgs.call(r,a),(r.log||t.log||console.log.bind(console)).apply(r,a)}}return r.namespace=e,r.enabled=t.enabled(e),r.useColors=t.useColors(),r.color=function(e){var r,n=0;for(r in e)n=(n<<5)-n+e.charCodeAt(r)|0;return t.colors[Math.abs(n)%t.colors.length]}(e),"function"==typeof t.init&&t.init(r),r}
1(t=e.exports=a.debug=a.default=a).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){t.save(e),t.names=[],t.skips=[];for(var r=("string"==typeof e?e:"").split(/[\s,]+/),n=r.length,a=0;a<n;a++)r[a]&&("-"===(e=r[a].replace(/\*/g,".*?"))[0]?t.skips.push(RegExp("^"+e.substr(1)+"$")):t.names.push(RegExp("^"+e+"$")))},t.enabled=function(e){var r,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(20971),t.names=[],t.skips=[],t.formatters={}},93212(e){"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(a=n;0!=a--;)if(!e(t[a],r[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(o=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(a=n;0!=a--;)if(!Object.prototype.hasOwnProperty.call(r,o[a]))return!1;for(a=n;0!=a--;){var n,a,o,s=o[a];if(!e(t[s],r[s]))return!1}return!0}return t!=t&&r!=r}},37892(e){function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(Error("Failed to load "+this.src),e)}}e.exports=function(e,r,n){var a=document.head||document.getElementsByTagName("head")[0],o=document.createElement("script");"function"==typeof r&&(n=r,r={}),n=n||function(){},o.type=(r=r||{}).type||"text/javascript",o.charset=r.charset||"utf8",o.async=!("async"in r)||!!r.async,o.src=e,r.attrs&&function(e,t){for(var r in t)e.setAttribute(r,t[r])}(o,r.attrs),r.text&&(o.text=""+r.text),("onload"in o?t:function(e,t){e.onreadystatechange=function(){("complete"==this.readyState||"loaded"==this.readyState)&&(this.onreadystatechange=null,t(null,e))}})(o,n),o.onload||t(o,n),a.appendChild(o)}},20971(e){function t(e,t,r){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+r:Math.ceil(e/t)+" "+r+"s"}e.exports=function(e,r){r=r||{};var n,a,o=typeof e;if("string"===o&&e.length>0){var s=e;if(!((s=String(s)).length>100)){var i=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(s);if(i){var l=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*l;case"days":case"day":case"d":return 864e5*l;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*l;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*l;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*l;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:break}}}return}if("number"===o&&!1===isNaN(e)){return r.long?t(n=e,864e5,"day")||t(n,36e5,"hour")||t(n,6e4,"minute")||t(n,1e3,"second")||n+" ms":(a=e)>=864e5?Math.round(a/864e5)+"d":a>=36e5?Math.round(a/36e5)+"h":a>=6e4?Math.round(a/6e4)+"m":a>=1e3?Math.round(a/1e3)+"s":a+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},88619(e){"use strict";e.exports=function(){var e={},t={};return e.on=function(e,r){var n={name:e,handler:r};return t[e]=t[e]||[],t[e].unshift(n),n},e.off=function(e){var r=t[e.name].indexOf(e);-1!==r&&t[e.name].splice(r,1)},e.trigger=function(e,r){var n,a=t[e];if(a)for(n=a.length;n--;)a[n].handler(r)},e}},50687(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,a=(n=r(99947))&&n.__esModule?n:{default:n};t.default={pauseVideo:{acceptableStates:[a.default.ENDED,a.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[a.default.ENDED,a.default.PLAYING],stateChangeRequired:!1},seekTo:{acceptableStates:[a.default.ENDED,a.default.PLAYING,a.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},e.exports=t.default},78504(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(r(22595)),a=i(r(34396)),o=i(r(31682)),s=i(r(50687));
1function i(e){return e&&e.__esModule?e:{default:e}}var l=(0,n.default)("youtube-player"),u={};u.proxyEvents=function(e){var t={},r=function(r){var n="on"+r.slice(0,1).toUpperCase()+r.slice(1);t[n]=function(t){l('event "%s"',n,t),e.trigger(r,t)}},n=!0,a=!1,s=void 0;try{for(var i,u=o.default[Symbol.iterator]();!(n=(i=u.next()).done);n=!0){var c=i.value;r(c)}}catch(e){a=!0,s=e}finally{try{!n&&u.return&&u.return()}finally{if(a)throw s}}return t},u.promisifyPlayer=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={},n=function(n){t&&s.default[n]?r[n]=function(){for(var t=arguments.length,r=Array(t),a=0;a<t;a++)r[a]=arguments[a];return e.then(function(e){var t=s.default[n],a=e.getPlayerState(),o=e[n].apply(e,r);return t.stateChangeRequired||Array.isArray(t.acceptableStates)&&-1===t.acceptableStates.indexOf(a)?new Promise(function(r){e.addEventListener("onStateChange",function n(){var a=e.getPlayerState(),o=void 0;"number"==typeof t.timeout&&(o=setTimeout(function(){e.removeEventListener("onStateChange",n),r()},t.timeout)),Array.isArray(t.acceptableStates)&&-1!==t.acceptableStates.indexOf(a)&&(e.removeEventListener("onStateChange",n),clearTimeout(o),r())})}).then(function(){return o}):o})}:r[n]=function(){for(var t=arguments.length,r=Array(t),a=0;a<t;a++)r[a]=arguments[a];return e.then(function(e){return e[n].apply(e,r)})}},o=!0,i=!1,l=void 0;try{for(var u,c=a.default[Symbol.iterator]();!(o=(u=c.next()).done);o=!0){var d=u.value;n(d)}}catch(e){i=!0,l=e}finally{try{!o&&c.return&&c.return()}finally{if(i)throw l}}return r},t.default=u,e.exports=t.default},99947(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={BUFFERING:3,ENDED:0,PAUSED:2,PLAYING:1,UNSTARTED:-1,VIDEO_CUED:5},e.exports=t.default},31682(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],e.exports=t.default},34396(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["cueVideoById","loadVideoById","cueVideoByUrl","loadVideoByUrl","playVideo","pauseVideo","stopVideo","getVideoLoadedFraction","cuePlaylist","loadPlaylist","nextVideo","previousVideo","playVideoAt","setShuffle","setLoop","getPlaylist","getPlaylistIndex","setOption","mute","unMute","isMuted","
1setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe"],e.exports=t.default},46708(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=i(r(88619)),o=i(r(91173)),s=i(r(78504));function i(e){return e&&e.__esModule?e:{default:e}}var l=void 0;t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=(0,a.default)();if(l||(l=(0,o.default)(i)),t.events)throw Error("Event handlers cannot be overwritten.");if("string"==typeof e&&!document.getElementById(e))throw Error('Element "'+e+'" does not exist.');t.events=s.default.proxyEvents(i);var u=new Promise(function(r){(void 0===e?"undefined":n(e))==="object"&&e.playVideo instanceof Function?r(e):l.then(function(n){var a=new n.Player(e,t);return i.on("ready",function(){r(a)}),null})}),c=s.default.promisifyPlayer(u,r);return c.on=i.on,c.off=i.off,c},e.exports=t.default},91173(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,a=(n=r(37892))&&n.__esModule?n:{default:n};t.default=function(e){return new Promise(function(t){if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function)return void t(window.YT);var r="http:"===window.location.protocol?"http:":"https:";(0,a.default)(r+"//www.youtube.com/iframe_api",function(t){t&&e.trigger("error",t)});var n=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){n&&n(),t(window.YT)}})},e.exports=t.default},22569(e,t,r){"use strict";var n=r(91987),a=r(96024),o=r(77773);r.d(t,{},{A:({isRunning:e,onClick:t})=>{let r=e?a.A:o.A;return(0,n.jsx)("button",{className:"VideoControlButton",type:"button",onClick:t,children:(0,n.jsx)(r,{className:"VideoControlButton__icon"})})}})},7459(e,t,r){"use strict";r.d(t,{X:()=>p});var n=r(91987),a=r(71763),o=r(20496),s=r(97500),i=r.n(s),l=r(16383),u=r(46773),c=r(20409),d=r(5839);let p=(0,o.Ng)(({app:e,page:t})=>({threshold:e.threshold??d.qN,isBrowserEngine:e.isBrowserEngine,isEditMode:t.data?.mode==="EDIT"}),null,null,{forwardRef:!0})(({autoPlay:e=!0,src:t,alt:r,video:o,isBrowserEngine:s,threshold:d,disableLazyLoaded:p=!1,isEditMode:h,sizes:f=["100vw","100vw","1280px"],onVideoEnded:y,onVideoProgress:v,onVideoStarted:g,endSrc:m})=>{let[b,x]=(0,a.useState)(!1),[P,w]=(0,a.useState)(!0),[j,C]=(0,a.useState)(!1),E=(0,a.useRef)(null),{ref:_,isVisible:k}=(0,c.A)({role:"animation",stayVisible:!1}),N=(0,u.A)(),A=(0,a.useCallback)(()=>{x(!0),y?.()},[y]);(0,a.useEffect)(()=>{let t=E.current;P&&t&&(k&&e?t?.play().catch(e=>{"NotAllowedError"===e.name&&w(!1)}):t?.pause())},[e,k,P,g,N]);let S=(0,a.useCallback)(()=>{let e=E.current;e?.duration&&Number.isFinite(e.duration)&&v?.(e.currentTime/e.duration)},[v]);(0,a.useEffect)(()=>{C(!1),x(!1)},[o?.mobile]);let{desktop:I,tablet:O,mobile:V}=o||{},M=V;"large"===d&&I?M=I:"medium"===d&&O&&(M=O);let R=(0,a.useMemo)(()=>u.l.includes(N.effectiveType),[N.effectiveType]),T=!M&&!m?.small||M,D=M&&s&&k&&!b&&P&&!R,L=m?.small&&(!M||j)&&!R,z=L?m:t;return t?(0,n.jsxs)("div",{className:i()("ImageWithVideo",{"is-editMode":h}),"aria-hidden":"true",ref:_,children:[(T||L)&&(0,n.jsx)("div",{className:"ImageWithVideo__picture",children:(0,n.jsx)(l._,{src:z||{},alt:r,width:"100%",height:"100%",disableLazyLoaded:p,sizes:f})}),D&&(0,n.jsx)("video",{ref:E,className:"ImageWithVideo__video",autoPlay:e,onEnded:A,loop:!m?.small,muted:!0,src:M,playsInline:!0,onPlaying:()=>{C(!0),g?.()},onTimeUpdate:v?S:void 0},M)]}):null})},88764(e,t,r){"use strict";r.d(t,{k:()=>D,Y:()=>R});var n=r(91987),a=r(71763),o=r(2736),s=r.n(o),i=r(93212),l=r.n(i),u=r(46708),c=r.n(u),d=Object.defineProperty,p=Object.defineProperties,h=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,g=(e,t,r)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>
1{for(var r in t||(t={}))y.call(t,r)&&g(e,r,t[r]);if(f)for(var r of f(t))v.call(t,r)&&g(e,r,t[r]);return e};function b(e={}){let t,r;return t=m({},e),r={height:0,width:0,playerVars:p(m({},e.playerVars),h({autoplay:0,start:0,end:0}))},p(t,h(r))}var x={videoId:s().string,id:s().string,className:s().string,iframeClassName:s().string,style:s().object,title:s().string,loading:s().oneOf(["lazy","eager"]),opts:s().objectOf(s().any),onReady:s().func,onError:s().func,onPlay:s().func,onPause:s().func,onEnd:s().func,onStateChange:s().func,onPlaybackRateChange:s().func,onPlaybackQualityChange:s().func},P=class extends a.Component{constructor(e){super(e),this.destroyPlayerPromise=void 0,this.onPlayerReady=e=>{var t,r;return null==(r=(t=this.props).onReady)?void 0:r.call(t,e)},this.onPlayerError=e=>{var t,r;return null==(r=(t=this.props).onError)?void 0:r.call(t,e)},this.onPlayerStateChange=e=>{var t,r,n,a,o,s,i,l;switch(null==(r=(t=this.props).onStateChange)||r.call(t,e),e.data){case P.PlayerState.ENDED:null==(a=(n=this.props).onEnd)||a.call(n,e);break;case P.PlayerState.PLAYING:null==(s=(o=this.props).onPlay)||s.call(o,e);break;case P.PlayerState.PAUSED:null==(l=(i=this.props).onPause)||l.call(i,e)}},this.onPlayerPlaybackRateChange=e=>{var t,r;return null==(r=(t=this.props).onPlaybackRateChange)?void 0:r.call(t,e)},this.onPlayerPlaybackQualityChange=e=>{var t,r;return null==(r=(t=this.props).onPlaybackQualityChange)?void 0:r.call(t,e)},this.destroyPlayer=()=>this.internalPlayer?(this.destroyPlayerPromise=this.internalPlayer.destroy().then(()=>this.destroyPlayerPromise=void 0),this.destroyPlayerPromise):Promise.resolve(),this.createPlayer=()=>{if("u"<typeof document)return;if(this.destroyPlayerPromise)return void this.destroyPlayerPromise.then(this.createPlayer);let e=p(m({},this.props.opts),h({videoId:this.props.videoId}));this.internalPlayer=c()(this.container,e),this.internalPlayer.on("ready",this.onPlayerReady),this.internalPlayer.on("error",this.onPlayerError),this.internalPlayer.on("stateChange",this.onPlayerStateChange),this.internalPlayer.on("playbackRateChange",this.onPlayerPlaybackRateChange),this.internalPlayer.on("playbackQualityChange",this.onPlayerPlaybackQualityChange),(this.props.title||this.props.loading)&&this.internalPlayer.getIframe().then(e=>{this.props.title&&e.setAttribute("title",this.props.title),this.props.loading&&e.setAttribute("loading",this.props.loading)})},this.resetPlayer=()=>this.destroyPlayer().then(this.createPlayer),this.updatePlayer=()=>{var e;null==(e=this.internalPlayer)||e.getIframe().then(e=>{this.props.id?e.setAttribute("id",this.props.id):e.removeAttribute("id"),this.props.iframeClassName?e.setAttribute("class",this.props.iframeClassName):e.removeAttribute("class"),this.props.opts&&this.props.opts.width?e.setAttribute("width",this.props.opts.width.toString()):e.removeAttribute("width"),this.props.opts&&this.props.opts.height?e.setAttribute("height",this.props.opts.height.toString()):e.removeAttribute("height"),this.props.title?e.setAttribute("title",this.props.title):e.setAttribute("title","YouTube video player"),this.props.loading?e.setAttribute("loading",this.props.loading):e.removeAttribute("loading")})},this.getInternalPlayer=()=>this.internalPlayer,this.updateVideo=()=>{var e,t,r,n;if(void 0===this.props.videoId||null===this.props.videoId){null==(e=this.internalPlayer)||e.stopVideo();return}let a=!1,o={videoId:this.props.videoId};if((null==(t=this.props.opts)?void 0:t.playerVars)&&(a=1===this.props.opts.playerVars.autoplay,"start"in this.props.opts.playerVars&&(o.startSeconds=this.props.opts.playerVars.start),"end"in this.props.opts.playerVars&&(o.endSeconds=this.props.opts.playerVars.end)),a){null==(r=this.internalPlayer)||r.loadVideoById(o);return}null==(n=this.internalPlayer)||n.cueVideoById(o)},this.refContainer=e=>{this.container=e},this.container=null,this.internalPlayer=null}componentDidMount(){this.createPlayer()}componentDidUpdate(e){let t,r;return t=this,r=function*(){var t,r,n,a,o,s;t=this.props,(e.id!==t.id||e.className!==t.className||(null==(r=e.opts)?void 0:r.width)!==(null==(n=t.opts)?void 0:n.width)||(null==(a=e.opts)?void 0:a.height)!==(null==(o=t.opts)?void 0:o.height)||e.iframeClassName!==t.iframeClassName||e.title!==t.title)&&this.updatePlayer(),s=this.props,e.videoId===s.videoId&&l()(b(e.opts),b(s.opts))||(yield this.resetPlayer()),function(e,t){var r,n;if(e.videoId!==t.videoId)return!0;let a=(null==(r=e.opts)?void 0:r.playerVars)||{},o=(null==(n=t.opts)?void 0:n.playerVars)||{};return a.start!==o.start||a.end!==o.end}(e,this.props)&&this.updateVideo()}
1,new Promise((e,n)=>{var a=e=>{try{s(r.next(e))}catch(e){n(e)}},o=e=>{try{s(r.throw(e))}catch(e){n(e)}},s=t=>t.done?e(t.value):Promise.resolve(t.value).then(a,o);s((r=r.apply(t,null)).next())})}componentWillUnmount(){this.destroyPlayer()}render(){return a.createElement("div",{className:this.props.className,style:this.props.style},a.createElement("div",{id:this.props.id,className:this.props.iframeClassName,ref:this.refContainer}))}};P.propTypes=x,P.defaultProps={videoId:"",id:"",className:"",iframeClassName:"",style:{},title:"",loading:void 0,opts:{},onReady:()=>{},onError:()=>{},onPlay:()=>{},onPause:()=>{},onEnd:()=>{},onStateChange:()=>{},onPlaybackRateChange:()=>{},onPlaybackQualityChange:()=>{}},P.PlayerState={UNSTARTED:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3,CUED:5};var w=r(20496),j=r(50865),C=r(16383),E=r(78948),_=r(20409),k=r(38337),N=r(22569),A=r(619),S=r(73437);let I=(0,a.createContext)(null),O="mobilize",V=[0,25,50,75],M=(0,w.Ng)(({app:e,page:t})=>({cookieAuthorization:e?.cookieAuthorization,brand:t?.data?.siteParams?.brand})),R=({alt:e,description:t,onClick:r,src:o,title:s,youtubeVideoId:i})=>{let[l,u]=(0,a.useState)(!0),{player:c}=(0,a.useContext)(I)||{},d=e=>{c&&(u(!1),c.playVideo()),r?.(),e?.stopPropagation()};return l?(0,n.jsxs)("div",{className:"Youtube__overlay",children:[(0,n.jsx)("button",{type:"button",className:"Youtube__button",onClick:d,children:(0,n.jsx)(C._,{src:o||{small:`https://img.youtube.com/vi/${i}/maxresdefault.jpg`},alt:e||"",objectFit:"cover",width:"100%",height:"100%"})}),o&&t&&(0,n.jsxs)("div",{className:"Youtube__textContent",children:[s&&(0,n.jsx)("p",{className:"Youtube__title",children:s}),t&&(0,n.jsx)("p",{className:"Youtube__bodycopy",children:t})]}),(0,n.jsx)("div",{className:"Youtube__control",children:(0,n.jsx)(N.A,{isRunning:!1,onClick:d})})]}):null},T=({brand:e})=>(0,n.jsxs)("div",{className:"Youtube__socialCookies",children:[(0,n.jsx)(j.d,{className:"Youtube__socialCookiesMessage",content:(0,k.kH)("wording.youtubeCookieError")}),(0,n.jsxs)("div",{className:"Youtube__socialCookiesCtas",children:[(0,n.jsx)(S.l,{isInverted:e!==O,useButtonMarkup:!0,variant:"cta-ghost",children:(0,k.kH)("wording.refuseCTA")}),(0,n.jsx)(S.l,{isInverted:e!==O,onClick:()=>window.consentToSocialCookies(),useButtonMarkup:!0,variant:"cta-primary",children:(0,k.kH)("wording.acceptCTA")})]})]}),D=M(({children:e,cookieAuthorization:t,isMuted:r,isAutoPlay:o,meta:s,youtubeVideoId:i,brand:l,...u})=>{let c=(0,a.useRef)(null),d=(0,a.useRef)(new Set),{ref:p,isVisible:h}=(0,_.A)({role:"lazyload"}),[f,y]=(0,a.useState)(!1),[v,g]=(0,a.useState)(),[m,b=0]=i?i.split("|"):[],{alt:x,description:w}=s||{},j=t?.ccSocial==="accept",C=(0,a.useMemo)(()=>({player:v}),[v]),k=()=>{c.current&&(clearInterval(c.current),c.current=null)};return(0,a.useEffect)(()=>{d.current.clear(),k()},[i]),(0,a.useEffect)(()=>()=>k(),[]),(0,n.jsx)("div",{className:"Youtube",itemProp:"video",itemScope:!0,itemType:"http://schema.org/VideoObject",ref:p,children:j?(0,n.jsxs)(I.Provider,{value:C,children:[h?e:null,h?(0,n.jsxs)(a.Fragment,{children:[!f&&(0,n.jsx)("div",{className:"Youtube__skeleton",children:(0,n.jsx)(A.E,{width:"100%",height:"100%"})}),(0,n.jsx)(P,{videoId:m,opts:{height:"100%",width:"100%",playerVars:{start:b,autoplay:+!!o,modestbranding:1,rel:0}},onReady:e=>{let t=e.target;g(t),y(!0),r&&t.mute()},onPlay:e=>{c.current||(c.current=window.setInterval(()=>{let t=e.target.getDuration();if(!t)return;let r=e.target.getCurrentTime()/t*100;V.forEach(t=>{r>=t&&!d.current.has(t)&&(d.current.add(t),0===t?(0,E.d)({event:"videoStart",sound:e.target.isMuted()?"off":"on",videoId:m}):(0,E.d)({event:"videoProgress",sound:e.target.isMuted()?"off":"on",videoPercent:`${t}%`,videoId:m}))})},1e3))},onEnd:e=>{(0,E.d)({event:"videoProgress",sound:e.target.isMuted()?"off":"on",videoPercent:"100%",videoId:m}),d.current.clear(),k()},onPause:()=>k(),onError:()=>k(),...u})]}):null,x&&(0,n.jsx)("meta",{itemProp:"name",content:x}),i&&(0,n.jsx)("meta",{itemProp:"thumbnailUrl",content:`https://img.youtube.com/vi/${i}/maxresdefault.jpg`}),i&&(0,n.jsx)("meta",{itemProp:"embedUrl",content:`https://www.youtube.com/watch?v=${i}`}),w&&(0,n.jsx)("meta",{itemProp:"description",content:w})]}):(0,n.jsx)(T,{brand:l})})})},35866(e,t,r){"use strict";r.d(t,{m:()=>s});var n=r(91987),a=r(21323);let o=e=>{switch(e){case"xlarge":return 20;case"large":return 18;case"small":return 14;default:return 16}},s=({size:e="medium"})=>{let t={"--InfoIcon-size-default":"string"==typeof e?`${o(e)}px`:`${o(e[0])}px`,"--InfoIcon-size-medium":"string"==typeof e?`${o(e)}px`:`${o(e[1])}px`,"--InfoIcon-size-large":"string"==typeof e?`${o(e)}px`:`${o(e[2])}px`};return(0,n.jsx)(a.A,{style:t,className:"InfoIcon"})}},51359(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>P});var n=r(91987),a=r(71763),o=r(97500),s=r.n(o),i=r(7459),l=r(88764),u=r(47702),c=r(18847),d=r(35866),p=r(73437),h=r(93196),f=r(20496),y=r(62096),v=r(17147);let g=(0,f.Ng)(({page:e})=>({brand:e.data?.siteParams?.brand}))(({brand:e})=>{let t="dacia"===e?v.A:y.A;return(0,n.jsx)(t,{className:"SeeMoreIcon"})}),m=({ctaLink:e,ctaText:t,openInNewTab:r,youtubeId:o,alternativeMode:s})=>{let[i,c]=(0,a.useState)(!1),d={"data-track":"click","data-track-destination":e,"data-track-button-text":t,"data-track-location-in-page":"widgetCardsGallery","data-track-event":"navigationClick"};return e&&t?(0,n.jsxs)(a.Fragment,{children:[(0,n.jsx)("div",{className:"WidgetCard__cta",children:(0,n.jsx)(p.l,{href:e,variant:"cta-ghost",hasParentClickable:!0,isInverted:s,target:r?"_blank":"",...d,children:(0,n.jsx)("p",{className:"WidgetCard__ctaLabel",children:t})})}),(0,n.jsx)("div",{className:"WidgetCard__iconWrapper",children:(0,n.jsx)(g,{})})]}):o&&t?(0,n.jsxs)(a.Fragment,{children:[(0,n.jsx)("div",{className:"WidgetCard__cta",children:(0,n.jsx)(p.l,{variant:"cta-ghost",isInverted:s,useButtonMarkup:!0,hasParentClickable:!0,onClick:()=>c(!0),...d,children:(0,n.jsx)("p",{className:"WidgetCard__ctaLabel",children:t})})}),(0,n.jsx)("div",{className:"WidgetCard__iconWrapper",children:(0,n.jsx)(g,{})}),i&&(0,n.jsx)(u.lG,{isInverted:!0,onClose:()=>c(!1),size:"fullscreen",variant:"wrapper",children:(0,n.jsx)(u.Cf,{children:(0,n.jsx)(l.k,{youtubeVideoId:o,isAutoPlay:!0,isMuted:!0})})})]}):null},b=({image:e,alt:t,video:r,isCardHovered:a})=>e?(0,n.jsx)(i.X,{src:e,sizes:["290px","290px","500px"],video:r&&a?{mobile:r}:void 0,alt:t||""}):null,x=({alternativeMode:e,ctaLink:t,ctaText:r,openInNewTab:o,description:i,image:l,strapline:u,title:p,titleSize:h="medium",tooltip:f,video:y,youtubeId:v,doNotGenerateTitle:g}={})=>{let[x,P]=(0,a.useState)(!1);return(0,n.jsxs)("div",{className:s()("WidgetCard__content",{"is-alternativeMode":e}),onMouseEnter:()=>P(!0),onMouseLeave:()=>P(!1),children:[(0,n.jsxs)("div",{className:"WidgetCard__text",children:[u&&(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:"WidgetCard__strapline",children:u}),f&&(0,n.jsx)("span",{className:"WidgetCard__tooltip",children:(0,n.jsxs)(c.m_,{children:[(0,n.jsx)(c.k$,{children:(0,n.jsx)(d.m,{})}),(0,n.jsx)(c.ZI,{children:f})]})})]}),p&&(0,n.jsx)(g?"p":"h2",{className:s()("WidgetCard__title",{"is-small":"small"===h,"is-medium":"medium"===h}),children:p}),i&&(0,n.jsx)("div",{className:"WidgetCard__description",children:i}),(0,n.jsx)(m,{ctaLink:t,ctaText:r,openInNewTab:o,youtubeId:v,alternativeMode:e})]}),(0,n.jsx)("div",{className:"WidgetCard__asset",children:(0,n.jsx)(b,{isCardHovered:x,image:l?.src,video:y,alt:l?.alt})})]})},P=({card1:e,card2:t,editContext:r})=>(0,n.jsxs)("div",{className:s()("WidgetCard",{"is-editMode":(0,h.Q)(r)}),children:[(0,n.jsx)("div",{className:"WidgetCard__innerWrapper",children:[e,t].filter(
1Boolean).map(t=>{let{alternativeMode:r,ctaLink:a,ctaText:o,openInNewTab:s,description:i,image:l,strapline:u,title:c,titleSize:d,tooltip:p,video:h,youtubeId:f}=t||{};return(0,n.jsx)(x,{alternativeMode:r,ctaLink:a,ctaText:o,openInNewTab:s,description:i,image:l,strapline:u,title:c,titleSize:d,tooltip:p,video:h,youtubeId:f,doNotGenerateTitle:e?.doNotGenerateTitle},`${u}${c}${i}`)})}),(0,n.jsx)(h.Cq,{editContext:r})]})},46773(e,t,r){"use strict";var n=r(71763);let a=()=>navigator&&(navigator.connection||navigator.mozConnection||navigator.webkitConnection);r.d(t,{},{A:()=>{let[e,t]=(0,n.useState)(void 0);return(0,n.useEffect)(()=>{t(a())},[]),(0,n.useEffect)(()=>{if(!e)return()=>{};let r=()=>t(a());return e?.addEventListener?.("change",r,{passive:!0}),()=>{e?.removeEventListener?.("change",r)}},[e,t]),(0,n.useMemo)(()=>({effectiveType:e?.effectiveType??"unknown"}),[e?.effectiveType])},l:["2g","slow-2g","3g"]})},20409(e,t,r){"use strict";var n=r(71763),a=r(24948),o=r(5839);r.d(t,{},{A:e=>{let t=(0,n.useMemo)(()=>(e=>{let t="u">typeof window&&o.LO.large&&window.innerWidth>=o.LO.large,{role:r,options:n={},stayVisible:a=!0}=e;return"lazyload"===r?n.rootMargin=`0px -10px ${t?"200px":"30px"} 0px`:"animation"===r?n.rootMargin=`0px -10px ${t?"-140px":"-100px"} 0px`:"technical"===r&&(n.rootMargin="0px -10px 0px 0px"),{...n,triggerOnce:a}})(e),[e]),{ref:r,inView:s=!1,entry:i}=(0,a.Wx)(t);return{ref:r,isVisible:s,entry:i}}})},24948(e,t,r){"use strict";var n,a,o=r(71763),s=Object.defineProperty,i=new Map,l=new WeakMap,u=0;function c({threshold:e,delay:t,trackVisibility:r,rootMargin:a,scrollMargin:s,root:d,triggerOnce:p,skip:h,initialInView:f,fallbackInView:y,onChange:v}={}){var g;let[m,b]=o.useState(null),x=o.useRef(v),P=o.useRef(f),[w,j]=o.useState({inView:!!f,entry:void 0});x.current=v,o.useEffect(()=>{let o;if(void 0===P.current&&(P.current=f),!h&&m)return o=function(e,t,r={},a=n){if(void 0===window.IntersectionObserver&&void 0!==a){let n=e.getBoundingClientRect();return t(a,{isIntersecting:a,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:n,intersectionRect:n,rootBounds:n}),()=>{}}let{id:o,observer:s,elements:c}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var r;return`${t}_${"root"===t?!(r=e.root)?"0":(l.has(r)||(u+=1,l.set(r,u.toString())),l.get(r)):e[t]}`}).toString(),r=i.get(t);if(!r){let n,a=new Map,o=new IntersectionObserver(t=>{t.forEach(t=>{var r;let o=t.isIntersecting&&n.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),[...null!=(r=a.get(t.target))?r:[]].forEach(e=>{e(o,t)})})},e);n=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:o,elements:a},i.set(t,r)}return r}(r),d=c.get(e)||[];return c.has(e)||c.set(e,d),d.push(t),s.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(c.delete(e),s.unobserve(e)),0===c.size&&(s.disconnect(),i.delete(o))}}(m,(e,t)=>{let r=P.current;P.current=e,(void 0!==r||e)&&(j({inView:e,entry:t}),x.current&&x.current(e,t),t.isIntersecting&&p&&o&&(o(),o=void 0))},{root:d,rootMargin:a,scrollMargin:s,threshold:e,trackVisibility:r,delay:t},y),()=>{o&&o()}},[Array.isArray(e)?e.toString():e,m,d,a,s,p,h,r,y,t]);let C=null==(g=w.entry)?void 0:g.target,E=o.useRef(void 0);m||!C||p||h||E.current===C||(E.current=C,j({inView:!!f,entry:void 0}),P.current=f);let _=[b,w.inView,w.entry];return _.ref=_[0],_.inView=_[1],_.entry=_[2],_}o.Component,null!=(null!=(a=o.useInsertionEffect)?a:o.useLayoutEffect)||o.useEffect,r.d(t,{Wx:()=>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.