PageSourceSearch

https://www.mercedes-benz.com.cn/_next/static/chunks/9128-f163487ec7f98b3d.js

js mercedes-benz.com.cn collected 2026-10-02 05:46:11 UTC 241,985 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9128],{3114:(e,t,n)=>{"use strict";n.d(t,{g1:()=>r});var a=n(44525),i=n(26285),l=n(7016);function r(e){return e.replace(/(<a\b[^>]*?)\bhref\s*=\s*(["']?)([^"'>\s]+)\2([^>]*>)/gi,(e,t,n,a,i)=>{let l=o(a),r=n||'"';return"".concat(t,"href=").concat(r).concat(l).concat(r).concat(i)})}let o=(e,t)=>{var n;if(!e)return"";if((0,i.AY)(e)||e.startsWith("#"))return e;let l=(null==(n=window.location)?void 0:n.origin)?window.location.origin:a.A.CURRENT_ORIGIN;t&&!e.includes(t)&&(l+="/".concat(t));let r=e.startsWith("/")?e:"/".concat(e),o="".concat(l).concat(r);return o=(e=>{try{let t=new URL(e),n=new URLSearchParams(t.search);for(let[e,t]of n.entries())""===t&&n.delete(e);return t.search=n.toString(),t.toString()}catch(t){return console.error(t),e}})(o),new URL(o).toString()},s=e=>{e&&(null==e||e.forEach(e=>{var t,n;let a=null==(n=e.link)||null==(t=n.link)?void 0:t.link;a&&(e.link.link.link=o(a))}))};l.K2.ProgramDetailsLink,l.K2.ExpandablePanelPDF,l.K2.PromoPanel,l.K2.TextComponent,l.K2.N
1ormalBanner,l.K2.PurchaseAndService,l.K2.RenovationHeroBannerCarousel,l.K2.FullBannerOfAMGKV,l.K2.HeadlineOffers,l.K2.EngineOverview,l.K2.RenovationVideo,l.Nw.TradeInPromotion,l.Nw.ReplacementAndAssessment,l.Nw.ReplacementBanner,l.Nw.FinanceModule,l.Nw.ReplacementRecommendation,e=>{var t;let{advertisementLink:n,policyLink:a}=null!=(t=null==e?void 0:e.advertisementCard)?t:{};n&&(e.advertisementCard.advertisementLink=o(n)),a&&(e.advertisementCard.policyLink=o(a))}},6343:()=>{},6580:()=>{},9325:()=>{},10020:e=>{e.exports={disclaimer:"disclaimer_disclaimer__Kzw3C","disclaimer-indicator":"disclaimer_disclaimer-indicator__l5xNo","disclaimer-text":"disclaimer_disclaimer-text__dvp25","dark-theme":"disclaimer_dark-theme__bXpzC"}},14331:()=>{},17623:e=>{e.exports={"amg-a1":"amg-a1_amg-a1___qtJV",wrapper:"amg-a1_wrapper__ROrJd","headline-text":"amg-a1_headline-text__ralMV","headline-image":"amg-a1_headline-image__VMHb1",description:"amg-a1_description__qXfTh"}},18812:e=>{e.exports={"media-and-text-container":"media-text_media-and-text-container__B5ql7","dark-theme":"media-text_dark-theme__PEfYl","light-theme":"media-text_light-theme__2f9rB","header-section":"media-text_header-section__H_Keb","header-section-left":"media-text_header-section-left__7ipk6","header-section-center":"media-text_header-section-center__B9q2q","global-headline":"media-text_global-headline__UMtCk","global-description":"media-text_global-description__aY015","media-section":"media-text_media-section__vxdTb","media-item":"media-text_media-item__XZD_X",active:"media-text_active__kM75x","media-content":"media-text_media-content___Nrdn","bottom-section":"media-text_bottom-section__oPNcu","tab-scroll-container":"media-text_tab-scroll-container__WP80g","tab-list":"media-text_tab-list__BuYOb","tab-item":"media-text_tab-item__IJbn_","tab-text":"media-text_tab-text__ShhKK","tab-line":"media-text_tab-line__p8nM9","tab-active":"media-text_tab-active__fn2qh","dynamic-description":"media-text_dynamic-description__FyA1_",fadeIn:"media-text_fadeIn___W7EQ",scrollable:"media-text_scrollable__YQn9W"}},19032:()=>{},20328:()=>{},30496:(e,t,n)=>{"use strict";n.d(t,{P:()=>l});var a=n(67474),i=n(12115);let l=()=>{let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{"true"===sessionStorage.getItem(a.Z.WO_HEADER_FOOTER)&&t(!0)},[]),{isNoHeaderFooter:e}}},33886:()=>{},35022:()=>{},35962:()=>{},46471:(e,t,n)=>{"use strict";n.d(t,{D:()=>l});var a=n(95959),i=n(12115);let l=()=>{let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{(0,a.gv)()?t(!0):t(!1)},[]),{isNoHeaderFooter:e}}},48642:()=>{},49128:(e,t,n)=>{"use strict";n.d(t,{A:()=>nh});var a,i,l,r,o,s=n(95155),c=n(12115),d=n(62850),u=n(29856),m=n(36985),p=n(81208);function h(e){let{index:t,contentLength:n,iconColor:a,displayBackToTopIcon:i,componentType:l,children:r,displayWithScrollBar:o,anchorHeading:c,hideScrollToNext:h=!1}=e,g=(0,p.T)();return(0,s.jsx)("div",{className:"full-screen-item","data-index":t,"data-component-type":l,"data-anchor-heading":c,"data-isshort":(0,m.Cb)(l),"data-issticky":(0,m.Lg)(l),style:{position:t===n-1&&i?"relative":"unset"},children:(0,s.jsxs)(s.Fragment,{children:[0===t&&n>1&&!(0,m.Pn)(l)&&!g&&!h&&(0,s.jsx)(d.A,{}),t===n-1&&i&&(0,s.jsx)(u.A,{iconColor:a,displayWithScrollBar:o,scrollTime:100*n}),r]})})}var g=n(85124),x=n(41747),f=n(15239),v=n(17623),w=n.n(v),b=n(5507);let E=e=>{let{anchorPoint:t,elementPosition:n,headlineType:a,headlineImage:i,headlineText:l,description:r,isMobile:o,index:d,onExpose:u}=e,m=(0,c.useMemo)(()=>null!=i&&i.height&&null!=i&&i.width?o?{height:i.height,width:i.width}:{height:1.77*i.height,width:1.77*i.width}:{height:0,width:0},[]),{refContainer:p}=(0,b.A)(d,u);return(0,s.jsx)("div",{id:null==t?void 0:t.id,ref:p,className:w()["amg-a1"],"data-component":"amg-a1",children:(0,s.jsxs)("div",{className:w().wrapper,style:{alignItems:"Left"===n?"flex-start":"center",padding:o?"96px 32px 48px":"168px 12vw 64px"},children:["Headline Text"===a&&(0,s.jsx)("pre",{className:w()["headline-text"],style:{fontSize:o?"36px":"64px",textAlign:"Left"===n?"left":"center"},children:l}),"Headline Image"===a&&(null==i?void 0:i.url)&&(0,s.jsx)(f.default,{className:w()["headline-image"],src:i.url,alt:i.alternativeText||"",height:m.height,width:m.width}),(0,s.jsx)("pre",{className:w().description,style:{textAlign:"Left"===n?"left":"center",fontSize:o?"14px":"20px",marginTop:o?"20px":"32px"},children:r})]})})};var k=n(7016),y=n(57023),C=n.n(y),S=n(8637),j=n(77856);let A=e=>{let{anchorPoint:t,contentTab:n,isMobile:a,index:i,onExpose:l}=e,[r,o]=(0,c.useState)(0),[d,u]=(0,c.useState)([]),{refContainer:m,componentInfo:p}=(0,b.A)(i,l),{state:{qtCommonKeys:h,logKey:g,qtClickKeys:x={}}}=(0,c.useContext)(j.B),{triggerEvent:v}=(0,S.Ay)();return(0,c.useEffect)(()=>{u(n.map((e,t)=>Date.now()+t))},[n]),(0,s.jsxs)("div",{id:null==t?void 0:t.id,className:C()["amg-b2"],ref:m,"data-component":"amg-b2",children:[(0,s.jsx)("div",{className:C()["content-wrapper"],children:n.map((e,t)=>{var n,i;let l=a?e.backgroundMediaMobile:e.backgroundMediaDesktop,o=(0,k.AX)((null==l?void 0:l.mime)||"");return(0,s.jsxs)("div",{className:"".concat(C()["content-item"]," ").concat(t===r?C()["item-active"]:C()["item-inactive"]),children:[(0,s.jsxs)("div",{className:C()["content-media"],children:["image"===o&&(0,s.jsx)(f.default,{src:l.url,loading:"lazy",fill:!0,alt:e.headline||e.contentTabName,style:{objectFit:"cover"}}),"video"===o&&(0,s.jsx)("video",{src:l.url,muted:!0,autoPlay:!0,loop:!0,playsInl
1ine:!0,preload:"auto",className:"object-cover w-full h-screen",onLoadedData:e=>e.currentTarget.play()},"video-".concat(d[t]))]}),(0,s.jsxs)("div",{className:C()["content-text"],style:{padding:a?"84px 48px 10vw 32px":"6.2vw 10vw"},children:[(0,s.jsx)("div",{className:C().headline,style:{color:(null==(n=e.headlineDescriptionColor)?void 0:n.toLowerCase())||"#fff",fontSize:a?"28px":"40px"},children:e.headline}),(0,s.jsx)("div",{className:C().description,style:{color:(null==(i=e.headlineDescriptionColor)?void 0:i.toLowerCase())||"#fff",fontSize:a?"14px":"18px",maxWidth:a?"100%":"calc(50% - 18px)"},children:e.description})]})]},"content-".concat(t))})}),(0,s.jsx)("div",{className:C()["tab-wrapper"],style:a?{display:"grid",bottom:"82px",padding:"0 32px",gridTemplateColumns:"".concat(1===n.length||n.length<6&&n.length%2==0?"repeat(2, 1fr)":"repeat(3, 1fr)"),gap:"16px"}:{bottom:"72px",padding:"0 10vw",gridColumnGap:"36px"},children:n.map((e,t)=>(0,s.jsxs)("div",{className:C()["tab-item"],style:{opacity:t===r?1:.7,gridColumn:(e=>a?"":1===n.length?"4 / 8":2===n.length?"".concat(6-n.length+3*e," / ").concat(9-n.length+3*e):"".concat(7-n.length+2*e," / ").concat(9-n.length+2*e))(t)},onClick:()=>(e=>{var t;t=n[e].contentTabName,v(S.Bx.CLICK,g.CLK,{...h,...x,component_id:""+(p.index+1),component_name:p.name,current_theme_name:p.anchorHeading,button_type:S.VQ.COMPONENT_CLICK,button_name:t});let a=[...d];a[e]=Date.now(),u(a),o(e)})(t),children:[(0,s.jsx)("div",{className:C()["tab-indicator"],style:{transform:"skew(-30deg)"}}),(0,s.jsx)("div",{className:C()["tab-name"],style:{fontSize:a?"12px":"16px",fontWeight:t===r?"bolder":"normal"},children:e.contentTabName})]},"tab-".concat(e.id)))}),(0,s.jsx)("div",{className:C()["gradient-layer"]})]})};var N=n(18812),_=n.n(N);let L=e=>{var t;let{anchorPoint:n,headline:a,description:i,mediaAndTextContent:l=[],theme:r,textAlign:o,isMobile:d,index:u,onExpose:m}=e,[p,h]=(0,c.useState)(0),[g,x]=(0,c.useState)([]),[v,w]=(0,c.useState)(!1),E=c.useRef(null),{refContainer:y,componentInfo:C}=(0,b.A)(u,m),{state:{qtCommonKeys:A,logKey:N,qtClickKeys:L={}}}=(0,c.useContext)(j.B),{triggerEvent:I}=(0,S.Ay)(),M=()=>{if(E.current){let e=E.current;w(e.scrollWidth>e.clientWidth)}};return(0,c.useEffect)(()=>(M(),window.addEventListener("resize",M),()=>{window.removeEventListener("resize",M)}),[l.length]),(0,c.useEffect)(()=>{x(l.map((e,t)=>Date.now()+t))},[l]),(0,s.jsxs)("div",{id:null==n?void 0:n.id,className:"".concat(_()["media-and-text-container"]," ").concat("background_white"===r?_()["light-theme"]:_()["dark-theme"]),ref:y,"data-component":"media-and-text",children:[(0,s.jsxs)("div",{className:"".concat(_()["header-section"]," ").concat("Center"===o?_()["header-section-center"]:_()["header-section-left"]),children:[(0,s.jsx)("h2",{className:_()["global-headline"],children:a}),(0,s.jsx)("p",{className:_()["global-description"],children:i})]}),(0,s.jsx)("div",{className:_()["media-section"],children:l.map((e,t)=>{let n=d&&e.backgroundMediaMobile||e.backgroundMediaDesktop,a=(0,k.AX)((null==n?void 0:n.mime)||"");return(0,s.jsxs)("div",{className:"".concat(_()["media-item"]," ").concat(t===p?_().active:""),children:["image"===a&&(0,s.jsx)(f.default,{src:(null==n?void 0:n.url)||"",alt:e.contentName,fill:!0,className:_()["media-content"],loading:0===t?"eager":"lazy"}),"video"===a&&(0,s.jsx)("video",{src:null==n?void 0:n.url,muted:!0,autoPlay:!0,loop:!0,playsInline:!0,className:_()["media-content"],onLoadedData:e=>e.currentTarget.play()},"video-".concat(g[t]))]},"media-".concat(e.id))})}),(0,s.jsxs)("div",{className:_()["bottom-section"],children:[(0,s.jsx)("div",{className:"".concat(_()["tab-scroll-container"]," ").concat(v?_().scrollable:""),children:(0,s.jsx)("div",{ref:E,className:_()["tab-list"],children:l.map((e,t)=>(0,s.jsxs)("div",{className:"".concat(_()["tab-item"]," ").concat(t===p?_()["tab-active"]:""),onClick:()=>(e=>{var t;t=l[e].contentName,I(S.Bx.CLICK,N.CLK,{...A,...L,component_id:""+(C.index+1),component_name:C.name,current_theme_name:C.anchorHeading,button_type:S.VQ.COMPONENT_CLICK,button_name:t});let n=[...g];n[e]=Date.now(),x(n),h(e)})(t),children:[(0,s.jsx)("div",{className:_()["tab-line"]}),(0,s.jsx)("span",{className:_()["tab-text"],children:e.contentName})]},"tab-".concat(e.id)))})}),(0,s.jsx)("div",{className:_()["dynamic-description"],children:null==(t=l[p])?void 0:t.description})]})]})};var I=n(10020),M=n.n(I);let T=e=>{let{anchorPoint:t,theme:n,textToDisplay:a,isMobile:i,index:l,onExpose:r}=e,o=null==a?void 0:a.split("\n"),{refContainer:c}=(0,b.A)(l,r);return(0,s.jsxs)("div",{className:"".concat(M().disclaimer," ").concat("background_white"===n?M()["light-theme"]:M()["dark-theme"]),style:{padding:i?"96px 32px 126px 32px":"168px 10vw"},id:null==t?void 0:t.id,ref:c,children:[(0,s.jsx)("div",{className:M()["disclaimer-indicator"]}),null==o?void 0:o.map((e,t)=>(0,s.jsx)("pre",{className:M()["disclaimer-text"],style:{fontSize:i?"12px":"16px"},children:e},t))]})};var B=n(83237),D=n(94059),R=n.n(D);let F=e=>{let{animatedText:t,animatedDescription:n,textAlign:a="left",isMobile:i}=e,[l,r]=(0,c.useState)(!1),[o,d]=(0,c.useState)(-1),u=(0,c.useRef)(null),m=(0,c.useRef)(),p=(0,c.useCallback)(()=>{var e;((null==(e=u.current)?void 0:e.getBoundingClientRect().top)||0)>-200&&r((e=>{if(!e)return!1;let t=e.getBoundingClientRect(),n=window.innerHeight-200;return Math.min(t.bottom,n)-Math.max(t.top,0)>0})(u.current))},[]);(0,c.useEffect)(()=>{let e=(0,B.A)(()=>{p()},100);return p(),window.addEventListener("scroll",e),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",e),window.removeEventListener("resize",e)}},[p,i]),(0,c.useEffect)(()=>{l?f():v()},[l]);let h=(0,c.useMemo)(()=>(null==t?void 0:t.replace(/\n/g,"<br/> ").replace("<br />","<br/> ").split(" "))||"",[t]),g=(0,c.useMemo)(()=>(null==n?void 0:n.replace(/\n/g,"<br/> ").replace("<br />","<br/> ").split(" "))||"",[n]),x=(0,c.useCallback)(e=>e.replace("<br/>","").replace("\n",""),[]),f=(0,c.useCallback)(()=>{let e=Math.max(h.length,(null==g?void 0:g.length)||0);m.current=setTimeout(()=>{d(t=>(t+1<e&&l&&f(),t+1))},75)},[o,l]),v=(0,c.useCallback)(()=>{r(!1),d(e=>e<=0?-1:(m.current=setTimeout(v,40),e-1))},[]),w=(0,c.useCallback)(e=>e<=o?R()["word-fade-word-visible"]:"",[o]);return(0,s.jsxs)("div",{ref:u,className:"".concat(R()["word-fade"]," ").concat(R()["word-fade-".concat(a)]),children:[h&&h.map((e,t)=>(0,s.jsxs)(c.Fragment,{children:[(0,s.jsx)("div",{className:R()["word-fade-word-wrapper"],children:(0,s.jsx)("div",{className:"".concat(R()["word-fade-word"]," ").concat(w(t)),style:i?{fontSize:"46px"}:{fontSize:"60px"},children:x(e)})}
1),e.includes("<br/>")&&(0,s.jsx)("div",{className:R()["word-fade-line-break"]},"br-".concat(e,"-").concat(t))]},"text-".concat(e,"-").concat(t))),g&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:R()["word-fade-line-break-description-wrapper"]}),g.map((e,t)=>(0,s.jsxs)(c.Fragment,{children:[(0,s.jsx)("div",{className:R()["word-fade-word-wrapper"],children:(0,s.jsx)("div",{className:"".concat(R()["word-fade-word"]," ").concat(R()["word-fade-word-description"]," ").concat(w(t)),style:i?{fontSize:"14px"}:{fontSize:"20px"},children:x(e)})}),e.includes("<br/>")&&(0,s.jsx)("div",{className:R()["word-fade-line-break"]},"br-desc-".concat(e,"-").concat(t))]},"desc-".concat(e,"-").concat(t)))]})]})},V=e=>{let{anchorPoint:t,headline:n,description:a,alignment:i="left",crossFadeItems:l=[],isMobile:r,index:o,onExpose:d}=e,[u,m]=(0,c.useState)(),[p,h]=(0,c.useState)(!1),[g,x]=(0,c.useState)(!1),[v,w]=(0,c.useState)(!1),E=(0,c.useRef)(null),k=(0,c.useRef)(null),y=(0,c.useRef)(null),{refContainer:C,componentInfo:A}=(0,b.A)(o,d),{state:{qtCommonKeys:N,logKey:_,qtClickKeys:L={}}}=(0,c.useContext)(j.B),{triggerEvent:I}=(0,S.Ay)(),M=(0,c.useCallback)(()=>{var e;let t=e=>{if(!e)return!1;let t=e.getBoundingClientRect(),n=window.innerHeight-150;return Math.min(t.bottom,n)-Math.max(t.top,0)>0};((null==(e=E.current)?void 0:e.getBoundingClientRect().top)||0)>-150&&(h(t(E.current)),x(t(k.current)),w(t(y.current)))},[]);(0,c.useEffect)(()=>{let e=(0,B.A)(()=>{M(),r&&y.current&&w(y.current.getBoundingClientRect().top<window.innerHeight-150)},100);return M(),window.addEventListener("scroll",e),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",e),window.removeEventListener("resize",e)}},[M,r]);let T=(0,c.useCallback)(e=>{var t;
1t=e.itemHeadline||"",I(S.Bx.CLICK,_.CLK,{...N,...L,component_id:""+(A.index+1),component_name:A.name,current_theme_name:A.anchorHeading,button_type:S.VQ.PAGE_FUNCTION_BUTTON,button_name:t}),m(()=>l.find(t=>t.id===e.id)||u)},[l,A]);(0,c.useEffect)(()=>{l.length>0&&!u&&m(l[0])},[u]);let D=(0,c.useMemo)(()=>l.some(e=>!!e.text),[l]),V=(0,c.useMemo)(()=>l.find(e=>e.id===(null==u?void 0:u.id)),[u,l]);return(0,s.jsxs)("div",{id:null==t?void 0:t.id,className:"".concat(R()["cross-fade"]),style:r||"Right"!==i?{textAlign:"left"}:{textAlign:"right"},ref:C,"data-component":"cross-fade",children:[r&&(0,s.jsx)("h2",{className:"".concat(R()["cross-fade-headline"]),style:{margin:0,padding:"60px 36.5px 50px"},children:(0,s.jsx)(F,{animatedText:n,animatedDescription:a,isMobile:r})}),(0,s.jsxs)("div",{ref:E,className:"".concat(R()["cross-fade-wrapper"]," ").concat(p?R()["cross-fade-wrapper-in"]:""),style:r?{height:"100vw"}:{height:"56.25vw"},children:[u&&(0,s.jsx)("div",{className:R()["cross-fade-content"],children:(0,s.jsx)(f.default,{src:(r?null==V?void 0:V.mobileImage.url:null==V?void 0:V.desktopImage.url)||"",alt:(null==V?void 0:V.text)||"",fill:!0,sizes:"100vw",style:{objectFit:"cover",transition:"opacity 0.3s ease-in-out"},loading:"eager",priority:!0},"image-".concat(null==u?void 0:u.id))}),(0,s.jsx)("div",{className:R()["cross-fade-container"],style:r?{alignItems:"flex-end"}:{},children:(0,s.jsxs)("div",{className:R()["cross-fade-overlay"],style:r?{paddingBottom:"10%",alignItems:"center"}:"Right"===i?{alignItems:"flex-end"}:{},children:[!r&&(0,s.jsx)("h2",{className:"".concat(R()["cross-fade-headline"]),children:(0,s.jsx)(F,{animatedText:n,animatedDescription:a,textAlign:"Right"===i?"right":"left",isMobile:r})}),(0,s.jsxs)("div",{className:R()["cross-fade-controls"],children:[(0,s.jsx)("div",{ref:k,className:"".concat(R()["cross-fade-icons-list"]," ").concat(g?R()["cross-fade-icons-list-in"]:""),style:{justifyContent:"Right"===i?"flex-end":"flex-start",margin:"Right"===i?"0 -10px 0 0":"0 0 0 -10px"},children:l.map((e,t)=>(0,s.jsx)("div",{children:(0,s.jsx)("button",{className:"".concat(R()["cross-fade-icons-list-item"]," ").concat((null==u?void 0:u.id)===e.id?R()["cross-fade-icons-list-item-active"]:""),style:{transitionDelay:"".concat((t+1)*200,"ms"),width:r?"60px":"70px",height:r?"60px":"70px"},onClick:()=>T(e),children:(e=>{switch(e.icon){case"arrow-up":return(0,s.jsx)(f.default,{src:"/vehicles/arrow-up-big.svg",alt:"arrow up",fill:!0});case"arrow-right":return(0,s.jsx)(f.default,{src:"/vehicles/arrow-right-big.svg",alt:"arrow right",fill:!0});case"arrow-down":return(0,s.jsx)(f.default,{src:"/vehicles/arrow-down-big.svg",alt:"arrow down",fill:!0});case"arrow-left":return(0,s.jsx)(f.default,{src:"/vehicles/arrow-left-big.svg",alt:"arrow left",fill:!0});case"audio":return(0,s.jsx)(f.default,{src:"/vehicles/audio.svg",alt:"audio",fill:!0});case"energizing-program":return(0,s.jsx)(f.default,{src:"/vehicles/energizing-programs.svg",alt:"Energizing Program",fill:!0});case"map":return(0,s.jsx)(f.default,{src:"/vehicles/maps.svg",alt:"map",fill:!0});default:return(0,s.jsx)(f.default,{src:"/vehicles/home.svg",alt:"home",fill:!0})}})(e)})},e.id))}),!r&&(0,s.jsxs)("div",{ref:y,className:"".concat(R()["cross-fade-active-item-text-wrapper"]," ").concat(v?R()["cross-fade-active-item-text-wrapper-in"]:""),style:{transitionDelay:"450ms"},children:[(0,s.jsx)("div",{className:R()["cross-fade-active-item-headline"],style:{fontSize:"18px"},children:null==u?void 0:u.itemHeadline}),D&&(0,s.jsx)("div",{className:R()["cross-fade-active-item-text"],style:{fontSize:"18px"},children:null==u?void 0:u.text})]})]})]})})]}),r&&(0,s.jsxs)("div",{ref:y,className:"".concat(R()["cross-fade-active-item-text-wrapper"]," ").concat(v?R()["cross-fade-active-item-text-wrapper-in"]:""),style:r?{transitionDelay:"450ms",padding:"0 36.5px 50px"}:{display:"none"},children:[(0,s.jsx)("div",{className:R()["cross-fade-active-item-headline"],style:{fontSize:"16px"},children:null==u?void 0:u.itemHeadline}),D&&(0,s.jsx)("div",{className:R()["cross-fade-active-item-text"],style:{fontSize:"16px"},children:null==u?void 0:u.text})]})]})};var P=n(47860),G=function(e){return e.SMOOTH="Smooth",e.PERITEM="Per-item",e}({}),H=function(e){return e.LEFT="Left",e.RIGHT="Right",e}({});let W=e=>{var t,n;let{crossFadeSlideItems:a,setSlideRatio:i,showSlider:l,sliderSteps:r,children:o}=e,d=(0,c.useRef)(null),u=(0,c.useRef)(null),m=(0,c.useRef)(null),[p,h]=(0,c.useState)(0),[g,x]=(0,c.useState)(0),[f,v]=(0,c.useState)(0),[w,b]=(0,c.useState)(0),E=null==a?void 0:a.length,k=1/(E-1),y=null==(t=Array.from({length:E}))?void 0:t.map((e,t)=>w*t),C=null==(n=Array.from({length:E}))?void 0:n.map((e,t)=>k*t),S=()=>
1{if(r===G.SMOOTH||!u.current||!m.current)return;u.current.classList.add("effect"),m.current.classList.add("effect");let e=0,t=p%w;h(y[e=t>w/2?Math.floor((p-t)/w)+1:Math.floor((p-t)/w)]),x(C[e]),i(C[e])},j=()=>{r===G.PERITEM&&u.current&&m.current&&(u.current.classList.remove("effect"),m.current.classList.remove("effect"))},A=()=>{u.current&&u.current.classList.add("bg")},N=()=>{u.current&&u.current.classList.remove("bg")};return(0,c.useEffect)(()=>{let e=()=>{if(d.current){let e=d.current.offsetWidth-70;v(e),b(e/(E-1))}};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[a]),(0,s.jsxs)("div",{className:"pdp-cross-fade-slider__controls hide ".concat(l?"show":""),ref:d,children:[(0,s.jsxs)("div",{className:"per-item-slider-container",onTouchStart:j,onMouseDown:j,onMouseUp:S,onTouchEnd:S,children:[(0,s.jsx)("div",{ref:m,style:{width:"".concat(g*f,"px")},className:(G.PERITEM,"slider-process")}),(0,s.jsx)("div",{className:"right-circle"}),(0,s.jsx)("div",{className:"track"}),(0,s.jsx)("div",{ref:u,style:{left:"".concat(p,"px")},className:(G.PERITEM,"thumb")}),(0,s.jsx)("div",{onClick:e=>{e.stopPropagation(),e.preventDefault()},style:{width:"".concat(g*f,"px")},className:"slider-process-prevent-click-left"}),(0,s.jsx)("div",{onClick:e=>{e.stopPropagation(),e.preventDefault()},style:{left:"".concat(g*f+70,"px")},className:"slider-process-prevent-click-right"}),(0,s.jsx)("input",{type:"range",onMouseOver:A,onTouchStart:A,onMouseLeave:N,onTouchEnd:N,onChange:e=>{let t=parseFloat(e.target.value);if(x(t),h(t*f),r===G.SMOOTH)i(t);else{let e=p%w;e>w/2?i(C[Math.floor((p-e)/w)+1]):i(C[Math.floor((p-e)/w)])}},onMouseDown:()=>{u.current&&u.current.classList.add("focus")},onBlur:()=>{u.current&&u.current.classList.remove("focus")},step:.01,min:0,max:1,value:g})]}),o]})};var U=n(33034);let K=e=>{var t,n;let{sliderSteps:a,crossFadeSlideItems:i,slideRatio:l,showPicture:r}=e,o=null==i?void 0:i.length,d=100/(o-1),u=1/(o-1),m=null==(t=Array.from({length:o-1}))?void 0:t.map((e,t)=>d*t),p=null==(n=Array.from({length:o}))?void 0:n.map((e,t)=>u*t),[h,g]=(0,c.useState)(!1);return(0,c.useEffect)(()=>{let e=()=>{g(window.innerWidth<U.Zv)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,s.jsx)("div",{className:"picture-container hide ".concat(r?"show":""),children:null==i?void 0:i.map((e,t)=>(0,s.jsx)("div",{className:"picture-wrapper",style:{opacity:0===t?1:(e=>a===G.PERITEM?+(l>=p[e]):(100*l-m[e-1])/d)(t)},children:(0,s.jsx)(f.default,{style:{objectFit:"cover"},src:h?e.mobileImage.url:e.desktopImage.url,alt:"",fill:!0})},t))})},Q=e=>{let{title:t,description:n,showTitle:a,elementPosition:i}=e,l={textAlign:i===H.LEFT?"left":"right"};return(0,s.jsx)("div",{className:"pdp-cross-fade-slider__headline hide ".concat(a?"show":""),children:(0,s.jsxs)("div",{className:"pdp-word-fade",children:[null==t?void 0:t.split("\n").map((e,t)=>(0,s.jsx)("div",{className:"pdp-word-fade__word-wrapper",children:(0,s.jsx)("div",{className:"pdp-word-fade__word-title",style:l,children:e.trim()})},"".concat(t,"-").concat(e))),(0,s.jsx)("div",{className:"pdp-word-fade__line-break"}),null==n?void 0:n.split("\n").map((e,t)=>(0,s.jsx)("div",{className:"pdp-word-fade__word-wrapper",children:(0,s.jsx)("div",{className:"pdp-word-fade__word-description",style:l,children:e.trim()})},"".concat(t,"-").concat(e)))]})})};n(86674);let O=e=>{let t=(0,c.useRef)(null),n=(0,c.useRef)(null),a=(0,c.useRef)(null),i=(0,c.useRef)(null),l=(0,c.useRef)(null),[r,o]=(0,c.useState)({showTitle:!1,showSlider:!1,showPicture:!1,showMobileSliderText:!1}),[d,u]=(0,c.useState)(0),p=(0,c.useCallback)(e=>{o(t=>({...t,...e}))},[]),{briefDescription:h,elementPosition:x,headline:f,sliderSteps:v,crossFadeSlideItem:w,sliderLabel:E}=e.props,k={textAlign:x===H.LEFT?"left":"right"},{isDesktopMode:y}=(0,g.CG)(),C=(0,c.useMemo)(()=>{let e=x===H.LEFT;return{marginLeft:e?"unset":"auto",alignItems:e?"flex-start":"flex-end"}},[x]),A=(0,c.useCallback)(()=>{p({showTitle:(0,m.xi)(i.current,300),showSlider:(0,m.xi)(a.current),showPicture:(0,m.xi)(n.current),showMobileSliderText:(0,m.xi)(l.current)})},[]);(0,c.useEffect)(()=>{let e=(0,B.A)(()=>{A()},100);return A(),window.addEventListener("scroll",e),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",e),window.removeEventListener("resize",e)}},[A,y]);let{refContainer:N,componentInfo:_}=(0,b.A)(e.index,e.onExpose),{triggerEvent:L}=(0,S.Ay)(),[I,M]=(0,c.useState)(0),{state:{qtCommonKeys:T,logKey:D,qtClickKeys:R={}}}=(0,c.useContext)(j.B);return(0,c.useEffect)(()=>{(e=>{if(t.current&&w.length>0){let t=Math.min(Math.floor(e*w.length),w.length-1);if(M(t),I!==t){var n,a,i;a=t,i=(null==(n=w[t])?void 0:n.itemName)||"",L(S.Bx.CLICK,D.CLK,{...T,...R,component_id:""+(_.index+1),component_name:_.n
1ame,current_theme_name:_.anchorHeading,button_type:S.VQ.PAGE_FUNCTION_BUTTON,button_name:"".concat(a+1,"-").concat(i)})}}})(d)},[d]),(0,s.jsx)("div",{ref:N,"data-component":"CrossFadeSlide",children:y?(0,s.jsxs)("div",{ref:t,className:"cross-fade-slider-wrapper desktop",style:{background:"black"},children:[(0,s.jsx)("div",{ref:n,className:"brandhub-cross-fade-slider__wrapper",children:(0,s.jsx)(K,{showPicture:r.showPicture,slideRatio:d,sliderSteps:v,crossFadeSlideItems:w})}),(0,s.jsx)("div",{className:"pdp-cross-fade-slider__container",children:(0,s.jsxs)("div",{className:"pdp-cross-fade-slider__overlay",style:C,children:[(0,s.jsx)("div",{ref:i,children:(0,s.jsx)(Q,{elementPosition:x,showTitle:r.showTitle,title:f,description:h})}),(0,s.jsx)("div",{ref:a,children:(0,s.jsx)(W,{sliderSteps:v,sliderLabel:E,showSlider:r.showSlider,crossFadeSlideItems:w,setSlideRatio:u,children:y&&E&&(0,s.jsx)("div",{ref:l,className:"pdp-cross-fade-slider__slider-label",style:k,children:E})})})]})})]}):(0,s.jsxs)("div",{className:"mobile-cross-fade-slider-wrapper",ref:t,style:{background:"black"},children:[(0,s.jsx)("div",{ref:i,children:(0,s.jsx)(Q,{elementPosition:H.LEFT,showTitle:r.showTitle,title:f,description:h})}),(0,s.jsxs)("div",{className:"cross-fade-slider-wrapper",children:[(0,s.jsx)("div",{ref:n,className:"brandhub-cross-fade-slider__wrapper",children:(0,s.jsx)(K,{showPicture:r.showPicture,slideRatio:d,sliderSteps:v,crossFadeSlideItems:w})}),(0,s.jsx)("div",{className:"pdp-cross-fade-slider__container",children:(0,s.jsx)("div",{ref:a,className:"pdp-cross-fade-slider__overlay",style:C,children:(0,s.jsx)(W,{sliderSteps:v,sliderLabel:E,showSlider:r.showSlider,crossFadeSlideItems:w,setSlideRatio:u})})})]}),E&&(0,s.jsx)("div",{ref:l,className:"pdp-cross-fade-slider__slider-label hide ".concat(r.showMobileSliderText?"show":""),children:E})]})})};var J=n(8983),Y=n(67853),q=n.n(Y),X=n(62598);let Z={TABLET:768,MOBILE:480},z={wordingAnimationEnd:1800,particleAnimationStart:2400,engineAnimationPositionStart:400,allAnimationEnd:2600},$={wordingAnimationEnd:900,particleAnimationStart:1024,engineAnimationPositionStart:200,allAnimationEnd:1300},ee={onProgress:"请继续长按",end:"长按感受 AMG 澎湃音浪"};var et=function(e){return e.START="start",e.END="end",e.NONE="none",e}({});let en=0,ea=!0,ei=e=>{let{src:t,touchStatus:n,tabIndex:a}=e,i=(0,c.useRef)(null),l=(0,c.useRef)(null),r=(0,c.useRef)(),o=(0,c.useRef)(new X.Z58),d=(0,c.useRef)(),u=(0,c.useRef)(),m=(0,c.useRef)(),p=(0,c.useRef)(),h=(0,c.useRef)(null);(0,c.useEffect)(()=>{r.current=new X.JeP;let e=window.AudioContext||window.webkitAudioContext;return e&&(m.current=new e,p.current=m.current.createAnalyser(),p.current.fftSize=256,function(){var e;let{fov:t,aspect:n,canvasHeight:a,particleColor:i}=x();d.current=new X.ubm(t,n,1,1e4),d.current.position.set(0,700,200),d.current.rotation.x=-.5;let s=new Float32Array(15300),c=0;for(let e=0;e<170;e++)for(let t=0;t<30;t++){let n=20*e-1700,a=20*t-590;s[3*c]=n,s[3*c+1]=0,s[3*c+2]=a,c++}u.current=new X.LoY,u.current.setAttribute("position",new X.qtW(s,3));let m=new X.BH$({size:window.innerWidth<Z.TABLET?1:2,color:i,sizeAttenuation:!1}),p=new X.ONl(u.current,m);o.current.add(p),r.current.setSize(1.2*window.innerWidth,a),r.current.setClearColor(0,1),null==(e=l.current)||e.appendChild(r.current.domElement)}(),function(){let e=new Uint8Array(p.current.frequencyBinCount),t=window.requestAnimationFrame||window.webkitRequestAnimationFrame;t(function n(){var a;null==(a=p.current)||a.getByteFrequencyData(e),g(e),t(n)})}(),function(){var e;null==(e=i.current)||e.addEventListener("play",()=>{var e,t,n,a,l;h.current||(h.current=(null==(n=m.current)?void 0:n.createMediaElementSource(i.current))||null);let r=null==(e=m.current)?void 0:e.createGain();null==(t=h.current)||t.connect(p.current),r&&(null==(a=p.current)||a.connect(r),(null==(l=m.current)?void 0:l.destination)&&r.connect(m.current.destination))})}(),window.addEventListener("resize",f,!0)),()=>{var e,t,n;window.removeEventListener("resize",f,!0),u.current&&u.current.dispose(),r.current&&(r.current.dispose(),r.current.forceContextLoss()),null==(e=h.current)||e.disconnect(),null==(t=p.current)||t.disconnect(),null==(n=m.current)||n.close()}},[]);let g=e=>{var t;let n,a,i=(e||[]).reduce((e,t)=>
1e+t,0);i>0?(a=.8,n=i/20<120?120:i/20):(n=120,a=.1);let l=0,s=u.current.attributes.position;for(let e=0;e<170;e++)for(let t=0;t<30;t++)ea?s.setY(l,80*Math.cos(.2*t-.5*en)+80*Math.cos(.1*e-.5*en-10)):s.setY(l,n*Math.random()*Math.cos(.3*t-.5*en)+n*Math.random()*Math.cos(.1*e-.6*en-200)),l++;s.needsUpdate=!0,null==(t=r.current)||t.render(o.current,d.current),en+=a};function x(){let e={fov:100,aspect:2,canvasHeight:600,particleColor:6710886},t=window.innerWidth/e.canvasHeight;return window.innerWidth/window.innerHeight<1?(e.aspect=t,e.fov=140):t>3?e.aspect=3:t<2?e.aspect=2:e.aspect=t,window.innerWidth<Z.TABLET?e.canvasHeight=window.innerHeight-368+124:e.canvasHeight=window.innerHeight-12.4*window.innerWidth/100-259+40,e}let f=(0,J.A)(()=>{let{fov:e,aspect:t,canvasHeight:n}=x();d.current.aspect=t,d.current.fov=e,d.current.updateProjectionMatrix(),r.current.setSize(1.1*window.innerWidth,n)},30);return(0,c.useEffect)(()=>{console.log("touchStatus: ",n),n===et.START&&(()=>{var e;if(ea=!1,null==(e=m.current)||e.resume(),i.current)return i.current.crossOrigin="anonymous",i.current.load(),i.current.play()})(),n===et.END&&(()=>{var e;null==(e=m.current)||e.resume(),i.current&&(i.current.pause(),i.current.currentTime=0,ea=!0)})()},[n]),(0,c.useEffect)(()=>{var e;null==(e=m.current)||e.resume(),i.current.load()},[a]),(0,s.jsxs)("div",{className:"audio-particles",children:[(0,s.jsx)("audio",{ref:i,className:"audio-particles__audio",src:t,loop:!0,crossOrigin:"anonymous"}),(0,s.jsx)("div",{ref:l,className:"particles-canvas"})]})};n(61735);var el=n(26285);let er=e=>{e.style.setProperty("--viewportWidth","".concat(window.innerWidth,"px")),e.style.setProperty("--viewportHeight","".concat(window.innerHeight,"px"))},eo=JSON.parse('{"v":"5.7.11","fr":30,"ip":0,"op":31,"w":144,"h":144,"nm":"合成 2","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[72.239,72,0],"ix":2,"l":2},"a":{"a":0,"k":[0.239,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0]],"o":[[0,0]],"v":[[-63.5,112]],"c":false},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.8,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"描边 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"形状 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-38.66],[38.66,0],[0,38.66],[-38.66,0]],"o":[[0,38.66],[-38.66,0],[0,-38.66],[38.66,0]],"v":[[70.239,0],[0.239,70],[-69.761,0],[0.239,-70]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.800000011921,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"描边 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":0,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"组 1","np":3,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[],"o":[],"v":[],"c":false},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.014],"y":[1]},"o":{"x":[0.42],"y":[0]},"t":0,"s":[0]},{"t":30,"s":[100]}],"ix":2},"o":{"a":0,"k":8190,"ix":3},"m":1,"ix":4,"nm":"修剪路径 1","mn":"ADBE Vector Filter - Trim","hd":false},{"ty":"rd","nm":"圆角 1","r":{"a":0,"k":10,"ix":1},"ix":5,"mn":"ADBE Vector Filter - RC","hd":false}],"ip":0,"op":150,"st":0,"bm":0}],"markers":[]}'),es=e=>{let{index:t,tabIndex:n,audio:a,switchTab:i}=e,[l,r]=(0,c.useState)({});(0,c.useEffect)(()=>{r((e=>window.innerWidth>=Z.TABLET?o(e,.6,.8):o(e,.4,1))(t))},[t,n]);let o=(e,t,a)=>n===e?{opacity:a}:{opacity:t};return(0,s.jsx)("div",{className:"i2-root__sticky__audio-page__tab__item",style:l,onClick:e=>i(e,t),children:a.audioLabel},t)},ec=e=>{var t;let{data:n,index:a,onExpose:i}
1=e,l=(0,c.useRef)(null),r=(0,c.useRef)(null),o=(0,c.useRef)(null),d=(0,c.useRef)(null),u=(0,c.useRef)(null),m=(0,c.useRef)(null),p=(0,c.useRef)(null),h=(0,c.useRef)(null),g=(0,c.useRef)(null),x=(0,c.useRef)(null),f=(0,c.useRef)(null),[v,w]=(0,c.useState)(0),[E,k]=(0,c.useState)(""),[y,C]=(0,c.useState)(et.NONE),[A,N]=(0,c.useState)(ee.end),_=(0,J.A)(function(){var e,t;if(!l.current)return;let n=-l.current.getBoundingClientRect().top,{innerWidth:a}=window,i=(null==(e=r.current)?void 0:e.scrollHeight)||0;o.current.style.opacity="0",d.current.style.opacity="0",r.current.style.visibility="visible",n>-i&&(function(e,t){if(!o.current||!d.current||!r.current)return;let n={};n=window.innerWidth>Z.MOBILE?z:$;let a=o.current.style,i=d.current.style,l=-t,s=n.wordingAnimationEnd,c=1/t,u=-1/n.wordingAnimationEnd;a.opacity="0",i.opacity="0",r.current.style.visibility="visible",e>l&&e<0&&(a.opacity=((e-l)*c).toString(),i.opacity=((e-l)*c*.8).toString(),r.current.style.visibility="visible"),e>=0&&e<s&&(a.opacity=(1+(e-0)*u).toString(),i.opacity=((1+(e-0)*u)*.9).toString(),r.current.style.visibility="visible"),e>=s&&(a.opacity="0",i.opacity="0")}(n,i),function(e,t,n,a){let i=u.current.naturalWidth/u.current.width;n>=Z.TABLET?L(e,t,n,i,.062*n,a):L(e,t,n,i,124,a)}(n,i,a,(null==(t=u.current)?void 0:t.width)||0),function(e){if(!p.current)return;let t={};t=window.innerWidth>Z.MOBILE?z:$;let n=p.current.style,a=t.particleAnimationStart,i=t.allAnimationEnd,l=1/t.engineAnimationPositionStart;n.opacity="0",e>a&&e<i&&(n.opacity=((e-a)*l).toString()),e>=i&&(n.opacity="1")}(n),function(e){if(!x.current||!m.current||!g.current||!h.current)return;let t={};t=window.innerWidth>Z.MOBILE?z:$;let n=x.current.style,a=m.current.style,i=g.current.style,l=h.current.style,r=t.particleAnimationStart,o=t.allAnimationEnd,s=1/t.engineAnimationPositionStart;n.opacity="0",a.opacity="0",i.opacity="0",l.opacity="0",e>r&&e<o&&(n.opacity=((e-r)*s).toString(),a.opacity=((e-r)*s*.8).toString(),i.opacity=((e-r)*s).toString(),l.opacity=((e-r)*s).toString()),e>=o&&(n.opacity="1",a.opacity="0.8",i.opacity="1",l.opacity="1")}(n))},30);function L(e,t,n,a,i,l){let r={};r=window.innerWidth>Z.MOBILE?z:$;let o=u.current.style,s=r.engineAnimationPositionStart,c=r.wordingAnimationEnd,d=r.allAnimationEnd,m=-.8*t/(r.wordingAnimationEnd-r.engineAnimationPositionStart),p=(-n/2-l/2)/(r.wordingAnimationEnd-r.engineAnimationPositionStart),h=(-.2*t+i)/(r.allAnimationEnd-r.wordingAnimationEnd),g=(a-1)/(r.allAnimationEnd-r.wordingAnimationEnd);o.top=t-i+"px",o.left=n/2+l/2+"px",o.transform="scale("+a+","+a+")",e>s&&e<c&&(o.top=t-i+m*(e-s)+"px",o.left=n/2+l/2+p*(e-s)+"px",o.transform="scale("+a+","+a+")"),e>=c&&e<d&&(o.top=.2*t-i+h*(e-c)+"px",o.left="0",o.transform="scale("+(a-(e-c)*g)+","+(a-(e-c)*g)+")"),e>=d&&(o.top="0",o.left="0",o.transform="scale(1,1)")}(0,c.useLayoutEffect)(()=>((0,el.un)()&&(0,el.hL)()&&er(l.current),n.audioContent.length&&I(),window.addEventListener("scroll",_,{capture:!0,passive:!0}),()=>{window.removeEventListener("scroll",_)}),[]);let I=()=>{k(n.audioContent[0].audio.url);let e=l.current.scrollWidth,t=g.current.children[0],a=t.getBoundingClientRect().left;h.current.style.transform="translateX("+(a-e/2+t.clientWidth/2)+"px)"},{triggerEvent:M}=(0,S.Ay)(),{refContainer:T,componentInfo:B}=(0,b.A)(a,i),{state:{qtCommonKeys:D,logKey:R,qtClickKeys:F={}}}=(0,c.useContext)(j.B),V=e=>{let{label:t}=e;M(S.Bx.CLICK,R.CLK,{...D,...F,component_id:""+(B.index+1),component_name:B.name,current_theme_name:B.anchorHeading,button_type:S.VQ.COMPONENT_CLICK,button_name:t})},P=(e,t)=>{V({label:n.audioContent[t].audioLabel,type:"audio"}),w(t),k(n.audioContent[t].audio.url);let a=e.currentTarget,i=l.current.scrollWidth;h.current.style.transform="translateX("+(a.offsetLeft+a.offsetWidth/2-i/2)+"px)"},G=e=>{e.preventDefault(),f.current&&(V({label:"长按感受AMG澎湃音浪",type:"audio"}),f.current.play(),N(ee.onProgress),C(et.START))},H=()=>{f.current&&(f.current.stop(),U(!1),N(ee.end)),C(et.END)},[W,U]=(0,c.useState)(!1),[K,Q]=(0,c.useState)({}),[O,Y]=(0,c.useState)({});(0,c.useEffect)(()=>{W?(Q(X(8,.1)),Y(X(20,0))):(Q(en(0)),Y(en(.1)))},[W]);let X=(e,t)=>({boxShadow:"0 0 ".concat(e,"px 0 #cc0000"),transition:"box-shadow 0.3s cubic-bezier(0.42, 0, 0.01, 1) ".concat(t,"s")}),en=e=>({boxShadow:"none",transition:"box-shadow 0.2s cubic-bezier(0.42, 0, 0.01, 1) ".concat(e,"s")});return(0,s.jsx)("div",{ref:l,className:"i2-root","data-component":"AMGI2AudioPlay",children:(0,s.jsxs)("div",{className:"i2-root__sticky",ref:T,children:[(0,s.jsxs)("div",{className:"i2-root__sticky__word",ref:r,children:[(0,s.jsx)("div",{className:"i2-root__sticky__word__title",ref:o,children:n.headline}),(0,s.jsx)("div",{ref:d,className:"i2-root__sticky__word__description",children:n.description})]}),(0,s.jsxs)("div",{className:"i2-root__sticky__audio-page",children:[(0,s.jsx)("img",{className:"i2-root__sticky__audio-page__engine",src:null==(t=n.engineImage)?void 0:t.url,ref:u,alt:""}),n.audioContent.length&&(0,s.jsxs)(c.Fragment,{children:[(0,s.jsx)("div",{className:"i2-root__sticky__audio-page__particles__wrapper",ref:p,children:(0,s.jsx)(ei,{src:E,touchStatus:y,tabIndex:v})}),(0,s.jsx)("div",{className:"i2-root__sticky__audio-page__description",ref:m,children:A}),(0,s.jsxs)("div",{ref:x,className:"i2-root__sticky__audio-page__button-container",onMouseDown:e=>G(e),onMouseUp:H,onTouchStart:G,onTouchEnd:H,children:[(0,s.jsx)(q(),{lottieRef:f,animationData:eo,loop:!1,autoplay:!1,onComplete:()=>{f.current.stop(),U(!0)},style:{width:145,height:145,marginTop:2.5,marginLeft:2.5}}),(0,s.jsx)("div",{className:"i2-root__sticky__audio-page__button-container__bottom",style:K}),(0,s.jsx)("div",{className:"i2-root__sticky__audio-page__button-container__top",style:O}),(0,s.jsx)("div",{className:"i2-root__sticky__audio-page__button-container__mark"})]}),(0,s.jsx)("div",{className:"i2-root__sticky__audio-page__tab",ref:g,children:n.audioContent.length&&n.audioContent.map((e,t)=>(0,s.jsx)(es,{index:t,tabIndex:v,audio:e,switchTab:P},t))}),(0,s.jsx)("div",{className:"i2-root__sticky__audio-page__bar",ref:h})]})]})]})})};n(64094);let ed=e=>{let{className:t,fullVideoWording:n="查看完整视频",onClick:a,isMobile:i}=e;return(0,s.jsxs)("div",{className:"show-full-video-root ".concat(t),onClick:()=>{a&&a({label:n})},children:[i&&n&&(0,s.jsx)(f.default,{src:"/common/video-play.svg",className:"show-full-video-root__play-button",alt:"Play",width:24,height:24}),n&&(0,s.jsx)("div",{className:"show-full-video-root__wording",children:n}),!i&&n&&(0,s.jsx)(f.default,{src:"/common/full-video-arrow.svg",className:"show-full-video-root__arrow",alt:"Arrow",width:24,height:24})]})};n(35962);let eu=e=>{let{isAutoPlay:t=!0,posterUrl:n,videoUrl:a,isDesktopMode:i}
1=e,[l,r]=(0,c.useState)({x:0,y:0}),o=(0,c.useRef)(null),d=(0,c.useRef)(null);(0,c.useEffect)(()=>{let e=o.current;if(!e)return;let t=async()=>{try{await e.play(),console.log("视频自动播放成功")}catch(n){console.warn("自动播放失败,等待用户点击触发",n);let t=async()=>{try{console.log("用户点击触发播放"),await e.play(),console.log("用户点击触发播放成功"),window.removeEventListener("touchstart",t)}catch(e){console.warn("用户点击触发播放失败",e)}};window.addEventListener("touchstart",t)}};e.load(),/MicroMessenger/i.test(navigator.userAgent)?(console.log("检测到微信环境,应用特殊处理"),void 0!==window.WeixinJSBridge?window.WeixinJSBridge.invoke("getNetworkType",{},async()=>{console.log("WeixinJSBridge getNetworkType"),t()}):document.addEventListener("WeixinJSBridgeReady",function(){window.WeixinJSBridge.invoke("getNetworkType",{},async()=>{console.log("WeixinJSBridge getNetworkType"),t()})},!1)):t()},[]);let u=e=>{r({x:e.pageX,y:e.pageY}),d.current&&(d.current.style.left="".concat(l.x-15,"px"),d.current.style.top="".concat(l.y-15,"px"))};return(0,s.jsxs)("div",{className:"video_background_root ".concat(a?"video_background_root__has_video":""),children:[(0,s.jsx)("div",{className:"video_background_root__wrapper"}),i&&(0,s.jsx)("video",{className:"video_background_root__video",ref:o,loop:!0,muted:!0,playsInline:!0,autoPlay:t,src:a.dynamicEffectMediaDesktop.url,"x5-playsinline":"true","x5-video-player-type":"h5-page",onMouseMove:u}),!i&&(0,s.jsx)("video",{className:"video_background_root__video",ref:o,loop:!0,muted:!0,playsInline:!0,autoPlay:t,poster:n,src:a.dynamicEffectMediaMobile.url,"x5-playsinline":"true","x5-video-player-type":"h5-page",onMouseMove:u})]})};var em=n(22654),ep=n.n(em);let eh={TABLET:768,MOBILE:480};n(6580);let eg=e=>{var t,n,a,i;let l,r,o,{dataImg:d,dataImgMobile:u,autoMove:m="static"}=e,[p,h]=(0,c.useState)(0),[x,v]=(0,c.useState)(0),[w,b]=(0,c.useState)(0),[E,k]=(0,c.useState)({padding:0}),[y,C]=(0,c.useState)(0),{isDesktopMode:S}=(0,g.CG)(),j=(0,c.useRef)(null),A=(0,c.useRef)(null);(0,c.useEffect)(()=>(C(window.innerWidth),window.addEventListener("resize",N,!0),I(),()=>{window.removeEventListener("resize",N)}),[]);let N=ep()(()=>{y!==window.innerWidth&&(C(window.innerWidth),L(),clearTimeout(o),clearTimeout(l),clearTimeout(r),_())},16),_=()=>{if(j.current&&("static"===m||window.innerWidth>=eh.TABLET)&&(j.current.style.opacity="1"),clearTimeout(o),clearTimeout(l),clearTimeout(r),j.current){(e=>{let{naturalWidth:t,naturalHeight:n}=e;v(t),b(n),I()})(j.current),j.current.style.animation="none";let{innerWidth:e,innerHeight:t}=window;null!==j.current&&("start-left"===m||"start-right"===m)&&e<eh.TABLET&&((isNaN(p)||void 0===p||p<=0)&&(()=>{if(j.current){let{naturalWidth:e,naturalHeight:t}=j.current;h(e/t)}})(),((e,t)=>{if(j.current){j.current.style.width="auto";let n=p*t;o=setTimeout(()=>{k(T(n,e))},0),l=setTimeout(()=>{j.current&&(j.current.style.opacity="1",k(B(n,e)))},600),r=setTimeout(()=>{k(D(n,e))},9e3)}})(e,t))}},L=()=>{I();let e=document.styleSheets[0],t=e.cssRules;for(let n=0;n<t.length;n++)t.item(n)&&t.item(n)instanceof CSSKeyframesRule&&e.deleteRule(n)},I=()=>{let{innerWidth:e}=window;j.current&&(j.current.style.width="100%",e<eh.TABLET?j.current.style.objectFit=w>x?"cover":"contain":j.current.style.objectFit="cover")},M=(e,t)=>{let n=A.current,a=null==n?void 0:n.getRootNode(),i=a!==document,l=document.styleSheets[0],r="image-background-style";if(i){let e=a.querySelector("#".concat(r));e||((e=document.createElement("style")).id=r,a.firstChild.before(e),l=e.sheet)}let o=l.cssRules;for(let e=0;e<o.length;e++)if(o.item(e)){let n=o.item(e);n instanceof CSSKeyframesRule&&n.name===t&&l.deleteRule(e)}l.insertRule(e,0)},T=(e,t)=>{let n="",a=1-e+t;return"start-left"===m&&(n="@keyframes slide-in {\n                from {\n                    transform: translateX(0px);\n                    opacity: 0.2;\n                }\n                to {\n                    transform: translateX(-200px);\n                    opacity: 1;\n                }\n            }"),"start-right"===m&&(n="@keyframes slide-in {\n                from {\n                    transform: translateX(".concat(a,"px);\n                    opacity: 0.2;\n                }\n                to {\n                    transform: translateX(").concat(a+200,"px);\n                    opacity: 1;\n                }\n            }")),M(n,"slide-in"),{animation:"slide-in 0.6s cubic-bezier(0.42, 0, 0.01, 1)"}},B=(e,t)=>{let n="",a=1-e+t;return"start-left"===m&&(n="@keyframes first-move {\n                from {\n                    transform: translateX(-200px);\n                }\n                to {\n                    transform: translateX(".concat(a,"px);\n                }\n            }")),"start-right"===m&&(n="@keyframes first-move {\n                from {\n                    transform: translateX(".concat(a+200,"px);\n                }\n                to {\n                    transform: translateX(0);\n                }\n            }")),M(n,"first-move"),{animation:"first-move 8s cubic-bezier(0.42, 0, 0.01, 1)"}},D=(e,t)=>{let n="",a=1-e+t;return"start-left"===m&&(n="@keyframes image-auto-move {\n                from {\n                    transform: translateX(0);\n                }\n                to {\n                    transform: translateX(".concat(a,"px);\n                }\n            }")),"start-right"===m&&(n="@keyframes image-auto-move {\n                from {\n                    transform: translateX(".concat(a,"px);\n                }\n                to {\n                    transform: translateX(0);\n                }\n            }")),M(n,"image-auto-move"),{animation:"image-auto-move 8s cubic-bezier(0.42, 0, 0.01, 1) 0s infinite normal"}},R=(e,t,n)=>(0,s.jsx)(f.default,{className:"image-background-root__image__content",src:e,alt:"bg",width:t,height:n,style:E,ref:j,onLoad:_});return(0,s.jsx)("div",{className:"image-background-root",ref:A,children:(0,s.jsxs)("div",{className:"image-background-root__image",children:[S&&d&&!d.data&&R(d.url,null!=(t=d.width)?t:0,null!=(n=d.height)?n:0),!S&&u&&!u.data&&R(u.url,null!=(a=u.width)?a:0,null!=(i=u.height)?i:0)]})})};var ex=n(95959),ef=n(2931),ev=n(47650);let ew=e=>{let{fullVideoSource:t,isShow:n,onClose:a,onStartToPlay:i,isDesktopMode:l,onPaused:r}=e;return"undefined"==typeof document?null:(0,ev.createPortal)((0,s.jsx)("div",{className:"fixed top-0 left-0 z-[11000]",children:(0,s.jsx)(ef.A,{isShow:n,isMobile:!l,videoSource:t,onClose:a,onStartToPlay:i,onPaused:r})}),document.body)};n(19032);var eb=function(e){return e.IMAGE="image",e.VIDEO="video",e}({}),eE=function(e){return e.SVG=".svg",e.PNG=".png",e.JPG=".jpg",e.JPEG=".jpeg",e.WEBP=".webp",e.GIF=".gif",e}({}),ek=function(e){return e.MP4=".mp4",e.WEBM=".webm",e.OGG=".ogg",e.MPEG=".mpeg",e.WMV=".wmv",e.AVI=".avi",e.QUICKTIME=".mov",e.FLV=".flv",e}({});let ey=e=>{let t=(0,c.useMemo)(()=>Object.values(eE),[]),n=(0,c.useMemo)(()=>Object.values(ek),[]);return(0,c.useMemo)(()=>{let a=e.toLowerCase();return t.includes(a)?"image":n.includes(a)?"video":null},[e,t,n])},eC={A3:"Product highlight with motion"}
1,eS={wordingAnimationDistance:532,backgroundImageAnimationDistance:400,allContentAnimationDistance:1332,descriptionAnimationStart:1266,allAnimationDistance:1400},ej={wordingAnimationDistance:800,backgroundImageAnimationDistance:600,allContentAnimationDistance:2e3,descriptionAnimationStart:1900,allAnimationDistance:2100},eA=e=>{var t,n,a,i,l,r,o;let{data:d,index:u,onExpose:m}=e,[p,h]=(0,c.useState)(0),[x,v]=(0,c.useState)(0),[w,E]=(0,c.useState)(!1),[k,y]=(0,c.useState)(ej),[C,A]=(0,c.useState)({}),[N,_]=(0,c.useState)({}),{refContainer:L,componentInfo:I}=(0,b.A)(u,m),M=(0,c.useRef)(null),T=(0,c.useRef)(null),B=(0,c.useRef)(null),{isDesktopMode:D}=(0,g.CG)(),[R,F]=(0,c.useState)(!1),V=(0,c.useCallback)(()=>{L.current&&h(L.current.getBoundingClientRect().top)},[]);(0,c.useEffect)(()=>{v(window.innerHeight-p)},[p]);let P=(0,c.useMemo)(()=>(0,J.A)(V,16),[V]),G=(0,c.useMemo)(()=>(0,J.A)(e=>{let{innerWidth:t}=window;y(t>eh.MOBILE?ej:eS),"boolean"!=typeof e&&V()},16),[V]);(0,c.useEffect)(()=>(y(window.innerWidth>eh.MOBILE?ej:eS),(0,el.un)()&&(0,el.hL)()&&L.current&&er(L.current),window.addEventListener("resize",G,!0),window.addEventListener("scroll",P,!0),G(!0),()=>{window.removeEventListener("resize",G),window.removeEventListener("scroll",P)}),[G,P]);let H=(0,c.useCallback)(()=>{let e=window.innerHeight,{wordingAnimationDistance:t,backgroundImageAnimationDistance:n}=k,a=e+t,i=e+n,l=.3*e,r=.5*e+l,o=1,s=1;return x<=e?r=.5*e+l-x/e*l:x>e&&x<a?(r=.5*e,o=1+(x-e)/e*17,s=1,x>i&&(s=1-(x-i)/(t-n))):(r=.5*e,o=18,s=0),{display:x>a||x<0?"none":"block",top:"".concat(r,"px"),transform:"translate(-50%, -50%) scale(".concat(o,")"),opacity:s,width:"100%"}},[p,x,k]),W=(0,c.useCallback)(()=>{let e=window.innerHeight,{wordingAnimationDistance:t}=k,n=.1*e,a=.5*e+n,i=1;return x<=e?a=.5*e+n-x/e*n:x>e&&x<e+t?(a=.5*e,i=1+(x-e)/t*.2):(a=.5*e,i=1.2),{top:"".concat(a,"px"),transform:"translate(-50%, -50%) scale(".concat(i,")")}},[p,x,k]);(0,c.useEffect)(()=>{A(H()),_(W())},[H,W]);let U=(0,c.useMemo)(()=>{let e=window.innerHeight,{descriptionAnimationStart:t,allAnimationDistance:n}=k,a=e+t,i=20-((null==d?void 0:d.longTimeVideoMobile)&&window.innerWidth<eh.TABLET?40:0);return x>a&&(x<=e+n?i-=(x-a)/(n-t)*20:i=0),{transform:"translate(-50%, ".concat(i,"px)")}},[x,null==d?void 0:d.longTimeVideoMobile]),K=(0,c.useMemo)(()=>{let e=window.innerHeight,{descriptionAnimationStart:t,allAnimationDistance:n}=k,a=e+t,i=0;return x>a&&(i=x<e+n?(x-a)/(n-t)*.8:.8),{opacity:i,color:(null==d?void 0:d.descriptionColor)||"#fff"}},[x,null==d?void 0:d.descriptionColor]),Q=(0,c.useMemo)(()=>({display:x>window.innerHeight+k.wordingAnimationDistance?"block":"none"}),[x]),O=(0,c.useMemo)(()=>{let e=window.innerHeight,t=e+k.wordingAnimationDistance,n=k.backgroundImageAnimationDistance,a=k.allContentAnimationDistance-k.wordingAnimationDistance;if(x<t)return{display:"none"};let i=0,l=0,r=0,o=0,s=x-t,c=M.current?M.current.querySelector("video"):null;if(s<n){let e=window.innerHeight/2,t=window.innerWidth/2*s/n;r=(i=(window.innerHeight-e)/2)+e,l=(o=(window.innerWidth-t)/2)+t,c&&(c.currentTime=1,c.pause())}else if(s<a){let t=(s-k.backgroundImageAnimationDistance)/k.backgroundImageAnimationDistance*.5+.5,n=window.innerWidth*t,a=e*t;r=(i=(window.innerHeight-a)/2)+a,l=(o=(window.innerWidth-n)/2)+n,c&&(c.currentTime=1,c.pause())}else i=0,r=window.innerHeight,o=0,l=window.innerWidth,c&&4===c.readyState&&c.play();return{display:"block",clip:"rect(".concat(i,"px, ").concat(l,"px, ").concat(r,"px, ").concat(o,"px )")}},[x]);(0,c.useEffect)(()=>{T.current&&Object.assign(T.current.style,O),M.current&&Object.assign(M.current.style,O),B.current&&Object.assign(B.current.style,K)},[O,K]);let Y=(0,c.useMemo)(()=>x>window.innerHeight+k.allAnimationDistance,[x]),q=ey((null==d||null==(t=d.dynamicEffectMediaDesktop)?void 0:t.ext)||""),X=ey((null==d||null==(n=d.dynamicEffectMediaMobile)?void 0:n.ext)||""),Z=(0,c.useMemo)(()=>q,[q]),z=(0,c.useMemo)(()=>X,[X]),{state:{qtCommonKeys:$,logKey:ee,qtClickKeys:et={}}}=(0,c.useContext)(j.B),{triggerEvent:en}=(0,S.Ay)(),ea=function(e){var t,n;let a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return;let{currentTime:i,duration:l}=e;en(S.Bx.OTHER,ee.VPE,{...$,component_id:""+(I.index+1),component_name:I.name,current_theme_name:I.anchorHeading,watch_time:i.toFixed(0),video_play_proportion:(i/l).toFixed(2),is_watch_end:i===l?"true":"false",is_close:a?"是":"否",video_time:l.toFixed(0),video_name:D?null==d||null==(t=d.longTimeVideoDesktop)?void 0:t.name:null==d||null==(n=d.longTimeVideoMobile)?void 0:n.name})},ei=e=>{let{label:t}=e;
1en(S.Bx.CLICK,ee.CLK,{...$,...et,component_id:""+(I.index+1),component_name:I.name,current_theme_name:I.anchorHeading,button_type:S.VQ.COMPONENT_CLICK,button_name:t})};return(0,s.jsx)("div",{className:"a3-wrapper",ref:L,"data-component":"amg-a3",children:d&&(0,s.jsxs)("div",{className:"a3-content",children:[(null==d?void 0:d.sloganType)==="Slogan Image"&&(null==d?void 0:d.sloganImage)&&(0,s.jsx)(f.default,{className:"slogan-title",alt:"",style:C,src:d.sloganImage.url,width:d.sloganImage.width,height:d.sloganImage.height}),(null==d?void 0:d.sloganType)==="Slogan Text"&&(null==d?void 0:d.sloganText)&&(0,s.jsx)("div",{className:"slogan-title",style:C,dangerouslySetInnerHTML:{__html:d.sloganText}}),(null==d?void 0:d.backgroundImage)&&(null==d||null==(a=d.backgroundImage)?void 0:a.data)!==null&&(0,s.jsx)(f.default,{className:"slogan-title-background-image",alt:"",style:N,src:null==d?void 0:d.backgroundImage.url,width:null==d?void 0:d.backgroundImage.width,height:null==d?void 0:d.backgroundImage.height}),(0,s.jsxs)("div",{className:"description-wrapper ".concat(w?"hidden":""," ").concat(!(null==d?void 0:d.longTimeVideoDesktop)||!(window.innerWidth<eh.TABLET)?"without-button":""," ").concat("Up"!==d.descriptionPosition?"bottom":""),style:U,children:[(0,s.jsx)("div",{className:"description",style:K,ref:B,dangerouslySetInnerHTML:{__html:null==d?void 0:d.description}}),!D&&(null==(i=d.longTimeVideoMobile)?void 0:i.data)!==null&&""!==d.longTimeVideoLabel&&(0,s.jsx)(ed,{className:"show-full-video-button ".concat(Y?"show":""),fullVideoWording:d.longTimeVideoLabel,onClick:e=>{let{label:t}=e;F(!0),ei({label:t})},isMobile:window.innerWidth<eh.TABLET})]}),function(e){var t,n;let a=(t,n)=>{var a;return(0,s.jsx)("div",{className:"image-container background-component",style:O,ref:T,children:(0,s.jsx)(eg,{className:"background-image-component",dataImg:t,dataImgMobile:n,sectionName:(null==e||null==(a=e.backgroundImage)?void 0:a.caption)||"",componentType:eC.A3})})},i=e=>{var t;return(0,s.jsx)("div",{className:"video-container background-component",style:O,ref:M,children:(0,s.jsx)(eu,{className:"background-video-component",posterUrl:null==e||null==(t=e.mobilePosterImage)?void 0:t.url,videoUrl:{dynamicEffectMediaDesktop:null==e?void 0:e.dynamicEffectMediaDesktop,dynamicEffectMediaMobile:null==e?void 0:e.dynamicEffectMediaMobile},sectionName:(null==e?void 0:e.description)||"",componentType:eC.A3,isDesktopMode:D})})},l=(null==e||null==(t=e.dynamicEffectMediaDesktop)?void 0:t.data)!==null,r=(null==e||null==(n=e.dynamicEffectMediaMobile)?void 0:n.data)!==null;return(0,s.jsx)("div",{className:"video-image-wrapper",style:Q,children:e&&e.dynamicEffectMediaDesktop&&e.dynamicEffectMediaMobile&&(0,s.jsxs)(s.Fragment,{children:[l&&!r&&(0,s.jsxs)(s.Fragment,{children:[Z===eb.IMAGE&&a(e.dynamicEffectMediaDesktop,e.dynamicEffectMediaMobile),Z===eb.VIDEO&&i(e)]}),r&&!l&&(0,s.jsxs)(s.Fragment,{children:[z===eb.IMAGE&&a(e.dynamicEffectMediaDesktop,e.dynamicEffectMediaMobile),z===eb.VIDEO&&i(e)]}),l&&r&&(0,s.jsxs)(s.Fragment,{children:[Z===eb.IMAGE&&z===eb.IMAGE&&a(e.dynamicEffectMediaDesktop,e.dynamicEffectMediaMobile),Z===eb.VIDEO&&z===eb.VIDEO&&i(e),Z===eb.IMAGE&&z===eb.VIDEO&&(0,s.jsx)(s.Fragment,{children:D?a(e.dynamicEffectMediaDesktop,e.dynamicEffectMediaMobile):i(e)}),Z===eb.VIDEO&&z===eb.IMAGE&&(0,s.jsx)(s.Fragment,{children:D?i(e):a(e.dynamicEffectMediaDesktop,e.dynamicEffectMediaMobile)})]})]})})}(d),D&&(null==(l=d.longTimeVideoDesktop)?void 0:l.data)!==null&&""!==d.longTimeVideoLabel&&(0,s.jsx)(ed,{className:"show-full-video-button fixed-full-video-button ".concat(Y&&!w?"show":""),fullVideoWording:null==d?void 0:d.longTimeVideoLabel,onClick:e=>{let{label:t}=e;F(!0),ei({label:t})},isMobile:window.innerWidth<eh.TABLET}),(0,s.jsx)(ew,{isShow:R,isDesktopMode:D,onClose:e=>{F(!1),E(!1),(0,ex.VS)("Y",!1),e&&e.currentTime!==e.duration&&ea(e,!0)},onStartToPlay:()=>{F(!0),E(!0),(0,ex.VS)("Y",!0)},onPaused:e=>{ea(e)},fullVideoSource:D?null==(r=d.longTimeVideoDesktop)?void 0:r.url:null==(o=d.longTimeVideoMobile)?void 0:o.url})]})})};var eN=n(46471);n(6343);var e_=n(19856);let eL=e=>{var t;let{pdpContents:n,displayWithScrollBar:a}=e,i=(0,c.useRef)([]),l=(0,c.useRef)(null),[r,o]=(0,c.useState)(!1),[d,u]=(0,c.useState)(!1),[h,x]=(0,c.useState)(!1),[f,v]=(0,c.useState)(-1),{isDesktopMode:w}=(0,g.CG)(),{screenHeight:b,screenWidth:E}=(0,g.T_)(),y=null==n?void 0:n.map(e=>e.anchorPoint).filter(e=>e),{isNoHeaderFooter:C}=(0,eN.D)(),A=(0,p.T)(),N=e=>e.__component===k.K2.Disclaimer,_=null==n||null==(t=n.filter(e=>!N(e)))?void 0:t.map(e=>null==e?void 0:e.anchorPoint).splice(1),L=null==_?void 0:_.filter(e=>e&&!(null==e?void 0:e.isHideCurrentSectionAnchorHeadingPC)&&(null==e?void 0:e.sectionAnchorHeadingPC)),I=(null==L?void 0:L.filter((e,t)=>
1(null==L?void 0:L.findIndex(t=>(null==t?void 0:t.sectionAnchorHeadingPC)===(null==e?void 0:e.sectionAnchorHeadingPC)))===t))||[],{triggerEvent:M}=(0,S.Ay)(),{state:{qtCommonKeys:T,logKey:B,qtClickKeys:D={}}}=(0,c.useContext)(j.B),R=()=>document.querySelector("#page-container").querySelectorAll(".full-screen-item"),F=(0,c.useCallback)(e=>{let t=R();if(!t)return;let i=null==n?void 0:n.findIndex(t=>{var n;return(null==(n=t.anchorPoint)?void 0:n.sectionAnchorHeadingPC)===(null==e?void 0:e.sectionAnchorHeadingPC)});(e=>{(e=>{let{label:t,index:n,componentName:a}=e;M(S.Bx.CLICK,B.CLK,{...T,...D,button_type:S.VQ.ANCHOR_POINT,button_name:t,component_id:""+(n+1),component_name:a,current_theme_name:t})})({label:e.sectionAnchorHeadingPC,type:"anchor",index:e.index,componentName:e.componentName})})({sectionAnchorHeadingPC:e.sectionAnchorHeadingPC||"",index:i,componentName:n[i].__component}),(e=>{let t=null==I?void 0:I.findIndex(t=>(null==t?void 0:t.sectionAnchorHeadingPC)===(null==e?void 0:e.sectionAnchorHeadingPC)&&!t.isHideCurrentSectionAnchorHeadingPC);v(t>-1?t:-1)})(e),V();let l=((e,t)=>{let n=0;for(let a=0;a<e;a++){var i;n+=null==(i=t[a])?void 0:i.offsetHeight}return A&&!C&&(void 0===a||a)&&(n-=72),n})(i,t);if(void 0===a||!0===a)(0,m.er)(l,500);else{let e=document.querySelector("#page-container");e&&e.scrollTo({top:l,behavior:"smooth"})}setTimeout(()=>{P()},600)},[n,T]),V=()=>{if(i.current){var e;null==(e=i.current)||e.forEach(e=>{null==e||e.disconnect()})}},P=(0,c.useCallback)(()=>{let e=R();null==e||e.forEach(e=>{let t=parseInt(e.dataset.index||"0",10),a=new IntersectionObserver(e=>{if(e[0].isIntersecting){var a;
1u(0===t||N(n[t])),(null==(a=n[t].anchorPoint)?void 0:a.isHideCurrentSectionAnchorHeadingPC)?v(-1):v(null==I?void 0:I.findIndex(e=>{var a;return e.sectionAnchorHeadingPC===(null==(a=n[t].anchorPoint)?void 0:a.sectionAnchorHeadingPC)}))}},{threshold:[0],rootMargin:"-50% 0px"});a.observe(e),i.current.push(a)})},[]),G=()=>{let e=decodeURIComponent(window.location.hash).slice(1);if(e){let t=null==y?void 0:y.find(t=>(null==t?void 0:t.sectionAnchorHeadingPC)===e);t&&F(t)}},H=(0,c.useMemo)(()=>{let e={display:d?"none":"block"};return r?{...e,bottom:E>=1200?"130px":"260px"}:e},[r,d,w,E]),W=e=>{l.current&&(e?(l.current.classList.add("active"),x(!1)):(l.current.classList.remove("active"),x(!0)))};return(0,c.useEffect)(()=>(P(),()=>{V()}),[b,n]),(0,c.useEffect)(()=>{(0,e_.IM)()||setTimeout(()=>{G()},500);let e=()=>{G()};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}},[n]),(0,c.useEffect)(()=>{let e=document.querySelector("#page-container footer:last-of-type"),t=new IntersectionObserver(e=>{o(e[0].isIntersecting)},{threshold:.1});return e&&t.observe(e),()=>{t.disconnect()}}),(0,ev.createPortal)((0,s.jsx)("div",{className:(0,el.zV)()?"anchor-point-container window-anchor-point-container":"anchor-point-container",style:H,children:w&&(0,s.jsx)("ul",{ref:l,style:{height:"".concat((null==I?void 0:I.length)*36,"px")},onMouseLeave:()=>{W(!1)},onMouseOver:()=>{W(!0)},children:null==I?void 0:I.map((e,t)=>(0,s.jsxs)("li",{onClick:()=>{F(e)},style:{top:"".concat(36*t,"px"),pointerEvents:h?"none":"auto"},className:f===t?"active":"","data-target-anchor-id":e.id.toString(),children:[(0,s.jsx)("div",{className:"dot-box",onMouseOver:()=>{W(!0)},children:(0,s.jsx)("div",{className:f===t?"dot animate":"dot"})}),(0,s.jsxs)("div",{className:"anchor-display-name",children:[(0,s.jsx)("div",{className:"indicator",onMouseOver:()=>{W(!0)}}),(0,s.jsx)("span",{children:e.sectionAnchorHeadingPC})]})]},"".concat(e.sectionAnchorHeadingPC,"-").concat(t)))})}),document.body)},eI="#c00",eM=e=>{let{data:t,onChange:n}=e,[a,i]=(0,c.useState)(0),[l,r]=(0,c.useState)({height:"184px",top:"0px"}),o=(0,c.useRef)([]),d=(0,c.useRef)([]),u=(0,c.useRef)([]),m=(0,c.useRef)([]),[p,h]=(0,c.useState)(!1),g=e=>{let n=o.current[e];n&&(e===t.length-1?r({top:"auto",bottom:"0px",height:n.clientHeight-40+"px",backgroundColor:"White"===t[e].tabHighlightColor?"white":eI}):r({top:(0!==e?80:48)+(e-1)*48+"px",height:n.clientHeight-40*(0!==e)+"px",backgroundColor:"White"===t[e].tabHighlightColor?"white":eI}))},x=e=>{var t,n;let a=(null==(t=d.current[e])?void 0:t.clientHeight)||0;h(((null==(n=u.current[e])?void 0:n.clientHeight)||0)-a>0)},v=e=>{let t=u.current[a];if(t){let n=e.target;h(n.scrollTop+n.clientHeight<t.clientHeight)}};return(0,c.useEffect)(()=>{g(a),x(a)},[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"desktop-view relative h-full w-full min-h-[calc(-27px_+_60vw)] flex justify-center",children:(0,s.jsxs)("div",{className:"w-full py-[calc(-6.75px_+_15vw)] px-[10vw] flex flex-row justify-between items-start",children:[(0,s.jsxs)("div",{className:"flex flex-row",children:[(0,s.jsx)("div",{className:"relative w-[2px] bg-[hsla(0,0%,100%,0.3)] animate-[height_0.3s_cubic-bezier(.42,0,0.01,1)]",children:(0,s.jsx)("div",{className:"w-[2px] h-full transition-all duration-300 ease-[cubic-bezier(.42,0,0.01,1)] absolute",style:l})}),(0,s.jsx)("div",{className:"text-white w-[calc(-21px_+_33.33333vw)] ".concat(a!==t.length-1?"pb-2":""),children:t.map((e,l)=>(0,s.jsxs)("div",{ref:e=>{o.current[l]=e},className:"relative flex flex-row",style:(e=>0===e?{marginTop:0}:a===e?{marginTop:"24px",paddingTop:"40px",marginBottom:"0px"}:a+1===e?{marginTop:"64px"}:{marginTop:"32px"})(l),children:[(0,s.jsx)("div",{className:"ml-[-2px] w-0 grow-0 pr-[2px] mr-10",style:{backgroundColor:l===a?"White"===e.tabHighlightColor?"white":eI:""}}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:"transition-opacity duration-[0.3s] ease-[cubic-bezier(.42,0,0.01,1)] select-none ".concat(a===l?"opacity-100 text-[26px]":"opacity-60 text-[16px] hover:opacity-80 h-[16px] cursor-pointer"),onClick:()=>(e=>{e!==a&&(i(e),n(t[e].tabTitle),r({top:"0px",height:"100%",backgroundColor:"White"===t[e].tabHighlightColor?"white":eI,transitionDuration:"0s"}));let l=m.current[e];l&&(l.currentTime=0,l.play()),setTimeout(()=>{g(e),x(e)},510)})(l),children:((e,t)=>{let n=a===t,i=n?e.tabTitle:e.tabLabel;
1return n?(0,s.jsx)("span",{className:"text-[40px] leading-10 opacity-100 font-MBCorpo whitespace-pre-line overflow-wrap break-words",children:i}):(0,s.jsx)("span",{className:"text-lg leading-4 font-MBCorpo",children:i})})(e,l)}),(0,s.jsx)("div",{ref:e=>{d.current[l]=e},className:"hidden-scroll-bar max-h-0 overflow-y-auto transition-[max-height] ease-[cubic-bezier(.42,0,0.01,1)] font-normal not-italic leading-[normal] tracking-[normal] whitespace-pre-wrap text-justify opacity-80 text-white",style:{maxHeight:a===l?"112px":"0px",marginTop:a===l?"32px":"0px",transitionDelay:a!==l?"0s":"0.3s"},onScroll:v,children:(0,s.jsx)("div",{ref:e=>{u.current[l]=e},className:"mb-[0px] text-base text-[16px] font-pingFangNormal",children:e.description})}),(0,s.jsx)("div",{className:"h-7 bg-[linear-gradient(180deg,transparent,#000)] absolute z-[2] w-full bottom-16 transition-all duration-300 ",style:{display:a===l&&p?"block":"none",bottom:a===l?"0px":"0"}})]})]},"".concat(e.id,"-").concat(l)))})]}),(0,s.jsx)("div",{className:"amg-b1-media absolute right-[10vw] flex flex-col justify-start items-end w-[calc(40vw_-_18px)] h-[calc(-13.5px_+_30vw)]",children:t.map((e,t)=>{var n,i,l,r,o,c,d;return(0,s.jsxs)("div",{id:"amg-b1-media-".concat(t),className:"absolute object-cover transition-all w-full h-full overflow-hidden flex items-center content-center ".concat(a===t?"active":"inactive"),children:[(0,el.wu)((null==(n=e.tabMediaDesktop)?void 0:n.url)||"")&&(0,s.jsx)(f.default,{src:null!=(c=null==(i=e.tabMediaDesktop)?void 0:i.url)?c:"",alt:null!=(d=null==(l=e.tabMediaDesktop)?void 0:l.alternativeText)?d:"",fill:!0}),(0,el.cZ)((null==(r=e.tabMediaDesktop)?void 0:r.url)||"")&&(0,s.jsx)("video",{ref:e=>{m.current[t]=e},src:null==(o=e.tabMediaDesktop)?void 0:o.url,muted:!0,autoPlay:!0,playsInline:!0,loop:!0})]},"".concat(e.id,"-").concat(t))})})]})})})};n(83332),n(25223);var eT=n(74551);let eB=e=>{let{length:t=0,activeIndex:n=0}=e,a=(0,c.useMemo)(()=>Array.from({length:t},(e,t)=>t),[t]),i="".concat((t-1)*10+20,"px");return(0,s.jsx)("div",{className:"amg-b1-progress-indicator relative h-1.5 mx-auto",style:{width:i},children:a.map((e,t)=>(0,s.jsx)("span",{className:"item absolute w-2.5 h-1.5 bg-contain bg-no-repeat transition-[left] duration-[0.1s] ease-[ease-out] left-0 top-0 ".concat(0===e?"w-5 active":""),style:{left:"".concat((e=>0===e?10*n:e<=n?(e-1)*10:20+(e-1)*10)(t),"px")}},e))})},eD=e=>{let{data:t,onChange:n}=e,[a,i]=(0,c.useState)(0),[l,r]=(0,c.useState)(0),[o,d]=(0,c.useState)(0),u=(0,c.useRef)(null),m=(0,c.useRef)([]);(0,c.useEffect)(()=>{let e=()=>{if(u.current){let e=u.current.getBoundingClientRect().width;r(e),d(e/1.2*.75)}};return window.addEventListener("resize",e),e(),()=>{window.removeEventListener("resize",e)}},[]);let p={height:"".concat(o,"px")},h=(e,t)=>{let n=m.current;if(n){let a=n[e];a&&(a.style.opacity="".concat(t))}},g=function(e){let a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=e.realIndex;i(l),a||n(t[l].tabTitle),m.current[l]&&h(l,1),l>0&&h(l-1,0),l<t.length-1&&h(l+1,0)};return(0,s.jsxs)("div",{ref:u,className:"mobile-view relative",style:{padding:"".concat(96,"px 0")},children:[(0,s.jsx)(eT.RC,{centeredSlides:!0,slidesPerView:1.2,spaceBetween:16,onSlideChange:g,onInit:e=>g(e,!0),children:t.map((e,t)=>{var n,a,i,l,r,o,c,d,u,h;return(0,s.jsxs)(eT.qr,{children:[(0,s.jsx)("div",{className:"product relative overflow-hidden ",style:p,children:(0,s.jsxs)("div",{className:"absolute top-0 left-0 w-full h-full",children:[(0,el.wu)(null!=(o=null==(n=e.tabMediaMobile)?void 0:n.url)?o:"")&&(0,s.jsx)(f.default,{src:null!=(c=null==(a=e.tabMediaMobile)?void 0:a.url)?c:"",alt:null!=(d=null==(i=e.tabMediaMobile)?void 0:i.alternativeText)?d:"",fill:!0}),(0,el.cZ)(null!=(u=null==(l=e.tabMediaMobile)?void 0:l.url)?u:"")&&(0,s.jsx)("video",{preload:"metadata",playsInline:!0,"x5-playsinline":"true","x5-video-player-type":"h5",loop:!0,autoPlay:!0,muted:!0,style:p,className:"object-cover w-full",children:(0,s.jsx)("source",{src:null!=(h=null==(r=e.tabMediaMobile)?void 0:r.url)?h:""})})]})}),(0,s.jsxs)("div",{ref:e=>{m.current[t]=e},className:"context text-wrapper mt-[66px]",children:[(0,s.jsx)("div",{className:"title text-white text-[28px] font-MBCorpo leading-none whitespace-pre-line overflow-wrap break-words",children:e.tabTitle}),(0,s.jsx)("div",{className:"desc opacity-80 whitespace-pre-wrap text-justify font-normal not-italic leading-[normal] tracking-[normal] text-white mt-5 text-sm font-pingFangNormal",children:e.description})]})]},t)})}),t.length>
10&&(0,s.jsx)("div",{className:"absolute",style:{top:"".concat(116+o,"px"),marginLeft:"".concat((l-l/1.2)/2,"px")},children:(0,s.jsx)(eB,{length:t.length,activeIndex:a})})]})},eR=e=>{let{data:t,isMobile:n,index:a,onExpose:i}=e,{refContainer:l,componentInfo:r}=(0,b.A)(a,i),{state:{qtCommonKeys:o,logKey:d,qtClickKeys:u={}}}=(0,c.useContext)(j.B),{triggerEvent:m}=(0,S.Ay)(),p=e=>{m(S.Bx.CLICK,d.CLK,{...o,...u,component_id:""+(r.index+1),component_name:r.name,current_theme_name:r.anchorHeading,button_type:S.VQ.PAGE_FUNCTION_BUTTON,button_name:e})};return(0,s.jsx)("div",{className:"amg-b1 w-full min-h-screen h-full bg-black",ref:l,"data-component":"amg-b1",children:n?(0,s.jsx)(eD,{data:t,onChange:p}):(0,s.jsx)(eM,{data:t,onChange:p})})},eF=e=>{let{title:t,description:n,showTitle:a}=e;return(0,s.jsx)("div",{className:"brandhub-scroll-cross-fade__container",children:(0,s.jsx)("div",{className:"brandhub-scroll-cross-fade__text-wrapper",children:(0,s.jsx)("div",{className:"pdp-cross-fade-slider__headline  hide ".concat(a?"show":""),children:(0,s.jsxs)("div",{className:"pdp-word-fade",children:[null==t?void 0:t.split("\n").map((e,t)=>(0,s.jsx)("div",{className:"pdp-word-fade__word-wrapper",children:(0,s.jsx)("div",{className:"pdp-word-fade__word-title",children:e.trim()})},"".concat(t,"-").concat(e))),(0,s.jsx)("div",{className:"pdp-word-fade__line-break"}),null==n?void 0:n.split("\n").map((e,t)=>(0,s.jsx)("div",{className:"pdp-word-fade__word-wrapper",children:(0,s.jsx)("div",{className:"pdp-word-fade__word-description",children:e.trim()})},"".concat(t,"-").concat(e)))]})})})})},eV=e=>{if(!e.current)return 0;let{top:t}=e.current.getBoundingClientRect();return t>0?0:Math.max(Math.min(-(.5*t/window.innerHeight*100),100),0)},eP=e=>{let t=e/100,n=.2/(Math.E**(35*(-1*t+.15))+1)+.8/(Math.E**(15*(-1*t+.55))+1);return{percent:t,style:{opacity:t>=1?1:Math.max(Math.min(5*n,1),.1),transform:t>=1?"translateY(0vh) scale(1)":"translateY(".concat(60-60*n,"vh) scale(").concat(.4+.6*n,")")}}};n(35022);let eG=e=>{let{headline:t,briefDescription:n,crossFadeImagesItem:a,isMobile:i,index:l,onExpose:r}=e,[o,d]=(0,c.useState)(!1),u=(0,c.useRef)(null),{refContainer:m}=(0,b.A)(l,r),[p,h]=(0,c.useState)(0),[x,v]=(0,c.useState)(!1),w=null==a?void 0:a.length,E=1/w,k=Array.from({length:w}).map((e,t)=>E*t),{screenHeight:y}=(0,g.T_)(),C=()=>{let e=eV(u)/100;h(e),d(e>=1)},S=(0,c.useMemo)(()=>(0,J.A)(C,100),[C]);return(0,c.useEffect)(()=>{var e;if(!m.current)return;let t=new IntersectionObserver(e=>{v(e[0].isIntersecting)},{threshold:y/3/(null==(e=m.current)?void 0:e.clientHeight)});return m.current&&t.observe(m.current),()=>{t.disconnect()}},[y,m.current]),(0,c.useEffect)(()=>(window.addEventListener("scroll",S),window.addEventListener("resize",S),()=>{window.removeEventListener("scroll",S),window.removeEventListener("resize",S)}),[u.current]),(0,s.jsx)("div",{className:"w-full h-full bg-black",ref:m,"data-component":"CrossFadeImagesScrolling",children:(0,s.jsx)("div",{className:"pdp-scroll-fade-images-scrolling hide ".concat(x?"show":""),ref:u,children:(0,s.jsxs)("div",{className:"brandhub-scroll-cross-fade__content",children:[a.map((e,t)=>(0,s.jsx)("picture",{className:"brandhub-scroll-cross-fade__image",style:{opacity:0===t?1:+(p>=k[t])},children:(0,s.jsx)(f.default,{src:i?e.mobileImage.url:e.desktopImage.url,fill:!0,alt:"",style:{objectFit:"cover"}})},"".concat(t))),(0,s.jsx)("div",{style:{opacity:+(p>=1)},className:"brandhub-scroll-cross-fade__transparent"}),(0,s.jsx)(eF,{title:t,description:n,showTitle:o})]})})})};n(49238);let eH=e=>{let{isAutoPlay:t=!0,posterUrl:n,videoUrl:a,isDesktopMode:i}=e,[l,r]=(0,c.useState)({x:0,y:0}),o=(0,c.useRef)(null),d=(0,c.useRef)(null),[u,m]=(0,c.useState)(!1),[p,h]=(0,c.useState)(!1);(0,c.useEffect)(()=>{let e=o.current;if(!e)return;let t=async()=>{try{await e.play(),console.log("视频自动播放成功")}catch(n){console.warn("自动播放失败,等待用户点击触发",n);let t=async()=>{try{console.log("用户点击触发播放"),await e.play(),console.log("用户点击触发播放成功"),window.removeEventListener("touchstart",t)}catch(e){console.warn("用户点击触发播放失败",e)}};window.addEventListener("touchstart",t)}};e.load();let n=/MicroMessenger/i.test(navigator.userAgent);
1h(n),n?(console.log("检测到微信环境,应用特殊处理"),void 0!==window.WeixinJSBridge?window.WeixinJSBridge.invoke("getNetworkType",{},async()=>{console.log("WeixinJSBridge getNetworkType"),t()}):document.addEventListener("WeixinJSBridgeReady",function(){window.WeixinJSBridge.invoke("getNetworkType",{},async()=>{console.log("WeixinJSBridge getNetworkType"),t()})},!1)):t()},[]);let g=e=>{r({x:e.pageX,y:e.pageY}),d.current&&(d.current.style.left="".concat(l.x-15,"px"),d.current.style.top="".concat(l.y-15,"px"))};return(0,s.jsxs)("div",{className:"video_background_root ".concat(a?"video_background_root__has_video":""),children:[(0,s.jsx)("div",{className:"video_background_root__wrapper"}),i&&(0,s.jsxs)("div",{className:"flex items-center justify-center w-full h-full relative",children:[(0,s.jsx)("video",{className:"video_background_root__video",ref:o,loop:!0,muted:!0,autoPlay:t,src:a.backgroundMediaDesktop.url,onMouseMove:g,playsInline:!0,"webkit-playsinline":!0,"x5-playsinline":!0,"x5-video-player-type":"h5","x5-video-player-fullscreen":"true",preload:"auto",onPlay:()=>m(!0)}),p&&!u&&(0,s.jsx)(f.default,{className:"absolute",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAQAElEQVR4AeydCbheRXnHb2oLKBQRFbRBoEEtm4AgO4GgUCKWgCwB2URIQdkFiYpYgohsFSpBWiEB2SVsYSfskEBoAWlSRIoCtoCPVYsiyOIWf//7nC/PvTffd78z75mzv/d5/3fOMvPOzDvv/5uZs8z5iwH/cwu4BXpawAnS0zR+wi0wMOAEcS9wC4xiASfIKMbxU24BJ4j7gFtgFAvkSJBRcvVTboGaWMAJUpOG8mKWYwEnSDl291xrYgEnSE0ayotZjgWcIOXY3XOtiQXqSZCaGNeLWX8LOEHq34Zegxwt4ATJ0bgjVS9atGhp8G6wBtgQTACTwL7gUPAlMBVMAbsCnV+PcCx460h9vp+/BZwgkW2MIy8LPgwmgxPAxWA++CVZvQF+Dn4MHgP3ghvApeDb4FRwOrgAXAt0fgHhC+A1dAgvEC4A94JzwWfBePAO4rhEtoATJKNBccyNwfFADvsi6l4F3wdXgZPB/mAz8E6QVdSLjEXJemACOAz8K3gAvEQZXgRzwDfBgWATsCznXIwWcIKMMFy/XRxuffA58D3wEvH/A5wC5LB/Q1imKP+/pwDHgJng38GrlPN+cCQYx75LgAWcIH2MhVNp3rAn4UzwQ6L/JzgP7AnqMqzZmrJ+CzxDHR4GXwQbse/SxwJOkB4GwoG2At/k9JPge+BAsCaou2xKBU4Dj1K/x8FpYDv2XbpYwAkyxCg4yjhwDJjLYUFDlSYPSzagnl8Ed1LnhUA9yyrsuyQWcIJgCBxDl1rVS6i3UK+xFYfbJh+iwupZRJTp2GRz9lsvrSYITrA7uB0v0KVWzSmWZjsvqYtezasOp7APYZvZYA+2WyutJAiNvg+4h1a/GuwAXLpbYGcOz8JWmq98nnBl9lslrSIIDax7Aw/SwpeBbYF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4EwwCWj9Lg3F9N28+4iiO+AEpYrKoLKoTBo2rUA5VVaV+ZFSS1bDzJ0gGRsN59NQ7GuE24KxqNP7IhsS7gm0HKeeU3qY7f8HsUS6pFO6lYfyUp7LqQxAZVGZfOiU0eJOkIwGHJkc5/wteBzMAl8Hnwabg3cRdxmgzx/rDUU9T7Ut+zsDvZ9xGOGXE2hbx3ROcRRXaZR2GekC0indykN5Kc/fkt4logWcIBGN2U8VTq35zC8InwHfB/eBG8Fl4DxwWgJt65jOKY7iKo3S+ryhn6Ejnq8BQSLW1lW5BQIt4AQJNJhHb5cFnCDtam+vbaAFnCCBBvPo7bKAE6Rd7e21DbRAuwkSaCyP3j4LOEHa1+Ze4wALOEECjOVR22cBJ0j72txrHGABJ0iAsTxq+yzgBMmpzV1tMyzwZwAAAP//hF1cQAAAAAZJREFUAwCE3SMJln0jpAAAAABJRU5ErkJggg==",alt:"",width:48,height:48})]}),!i&&(0,s.jsxs)("div",{className:"flex items-center justify-center w-full h-full relative",children:[(0,s.jsx)("video",{className:"video_background_root__video",ref:o,loop:!0,muted:!0,autoPlay:t,poster:n,src:a.backgroundMediaMobile.url,onMouseMove:g,playsInline:!0,"webkit-playsinline":!0,"x5-playsinline":!0,"x5-video-player-type":"h5","x5-video-player-fullscreen":"true",preload:"auto",onPlay:()=>m(!0)}),p&&!u&&(0,s.jsx)(f.default,{className:"absolute",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAQAElEQVR4AeydCbheRXnHb2oLKBQRFbRBoEEtm4AgO4GgUCKWgCwB2URIQdkFiYpYgohsFSpBWiEB2SVsYSfskEBoAWlSRIoCtoCPVYsiyOIWf//7nC/PvTffd78z75mzv/d5/3fOMvPOzDvv/5uZs8z5iwH/cwu4BXpawAnS0zR+wi0wMOAEcS9wC4xiASfIKMbxU24BJ4j7gFtgFAvkSJBRcvVTboGaWMAJUpOG8mKWYwEnSDl291xrYgEnSE0ayotZjgWcIOXY3XOtiQ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QAAAAAZJREFUAwCE3SMJln0jpAAAAABJRU5ErkJggg==",alt:"",width:48,height:48})]})]})};n(20328);var eW=function(e){return e.Static="static",e.MoveFromLeftToRight="move from left to right",e.MoveFromRightToLeft="move from right to left",e}(eW||{});let eU=e=>{let t,n,a,{dataImg:i,dataImgMobile:l,autoMove:r="static",isDesktopMode:o}=e,d=(0,c.useRef)(0),u=(0,c.useRef)(0),[m,p]=(0,c.useState)({padding:0}),[h,g]=(0,c.useState)(0),x=(0,c.useRef)(0),v=(0,c.useRef)(null),w=(0,c.useRef)(null);(0,c.useEffect)(()=>(g(window.innerWidth),window.addEventListener("resize",b,!0),y(),()=>{window.removeEventListener("resize",b)}),[]);let b=ep()(()=>{h!==window.innerWidth&&(g(window.innerWidth),k(),clearTimeout(a),clearTimeout(t),clearTimeout(n),E())},16),E=()=>{if(v.current&&("static"===r||window.innerWidth>=eh.TABLET)&&(v.current.style.opacity="1"),clearTimeout(a),clearTimeout(t),clearTimeout(n),v.current){(e=>{let{naturalWidth:t,naturalHeight:n}=e;d.current=t,u.current=n,y()})(v.current),v.current.style.animation="none";let{innerWidth:e,innerHeight:i}=window;null!==v.current&&("move from left to right"===r||"move from right to left"===r)&&e<eh.TABLET&&((isNaN(x.current)||void 0===x.current||x.current<=0)&&(()=>{if(v.current){let{naturalWidth:e,naturalHeight:t}=v.current;x.current=e/t}})(),((e,i)=>{if(v.current){v.current.style.width="auto";let l=x.current*i;a=setTimeout(()=>{p(S(l,e))},0),t=setTimeout(()=>{v.current&&(v.current.style.opacity="1",p(j(l,e)))},600),n=setTimeout(()=>{p(A(l,e))},9e3)}})(e,i))}},k=()=>{y();let e=document.styleSheets[0],t=e.cssRules;for(let n=0;n<t.length;n++)t.item(n)&&t.item(n)instanceof CSSKeyframesRule&&e.deleteRule(n)},y=()=>{let{innerWidth:e}=window;v.current&&(v.current.style.width="100%","static"===r?v.current.style.objectFit="cover":e<eh.TABLET?v.current.style.objectFit=u.current>d.current?"cover":"contain":v.current.style.objectFit="cover")},C=(e,t)=>{let n=w.current,a=null==n?void 0:n.getRootNode(),i=a!==document,l=document.styleSheets[0],r="image-background-style";if(i){let e=a.querySelector("#".concat(r));e||((e=document.createElement("style")).id=r,a.firstChild.before(e),l=e.sheet)}let o=l.cssRules;for(let e=0;e<o.length;e++)if(o.item(e)){let n=o.item(e);n instanceof CSSKeyframesRule&&n.name===t&&l.deleteRule(e)}l.insertRule(e,0)},S=(e,t)=>{let n="",a=1-e+t;return"move from right to left"===r&&(n="@keyframes slide-in {\n                from {\n                    transform: translateX(0px);\n                    opacity: 0.2;\n                }\n                to {\n                    transform: translateX(-200px);\n                    opacity: 1;\n                }\n            }"),"move from left to right"===r&&(n="@keyframes slide-in {\n                from {\n                    transform: translateX(".concat(a,"px);\n                    opacity: 0.2;\n                }\n                to {\n                    transform: translateX(").concat(a+200,"px);\n                    opacity: 1;\n                }\n            }")),C(n,"slide-in"),{animation:"slide-in 0.6s cubic-bezier(0.42, 0, 0.01, 1)"}},j=(e,t)=>{let n="",a=1-e+t;return"move from right to left"===r&&(n="@keyframes first-move {\n                from {\n                    transform: translateX(-200px);\n                }\n                to {\n                    transform: translateX(".concat(a,"px);\n                }\n            }")),"move from left to right"===r&&(n="@keyframes first-move {\n                from {\n                    transform: translateX(".concat(a+200,"px);\n                }\n                to {\n                    transform: translateX(0);\n                }\n            }")),C(n,"first-move"),{animation:"first-move 8s cubic-bezier(0.42, 0, 0.01, 1)"}},A=(e,t)=>
1{let n="",a=1-e+t;return"move from right to left"===r&&(n="@keyframes image-auto-move {\n                from {\n                    transform: translateX(0);\n                }\n                to {\n                    transform: translateX(".concat(a,"px);\n                }\n            }")),"move from left to right"===r&&(n="@keyframes image-auto-move {\n                from {\n                    transform: translateX(".concat(a,"px);\n                }\n                to {\n                    transform: translateX(0);\n                }\n            }")),C(n,"image-auto-move"),{animation:"image-auto-move 8s cubic-bezier(0.42, 0, 0.01, 1) 0s infinite normal"}},N=e=>e?(0,s.jsx)(f.default,{className:"image-background-root__image__content",src:e.url,alt:"bg",width:e.width,height:e.height,style:m,ref:v,onLoad:E}):null;return(0,s.jsx)("div",{className:"image-background-root",ref:w,children:(0,s.jsxs)("div",{className:"image-background-root__image",children:[o&&i&&!i.data&&N(i),!o&&l&&!l.data&&N(l)]})})},eK=JSON.parse('{"v":"5.7.11","fr":30,"ip":0,"op":25,"w":44,"h":160,"nm":"loading","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"1","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[30]},{"t":12,"s":[100]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[22.066,35.396,0],"ix":2,"l":2},"a":{"a":0,"k":[21.25,35.075,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-0.9,-0.491],[0,0],[0,-1.028],[0,0],[1.374,1.063],[0,0],[0,1.383]],"o":[[0,-1.025],[0,0],[0.913,0.709],[0,0],[0,1.382],[0,0],[-1.38,-1.055],[0,0]],"v":[[-21,-33.353],[-19.119,-34.334],[19.332,-4.643],[21,-1.889],[21,32.944],[18.5,33.762],[-18.514,5.177],[-21,1.24]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[21.25,35.075],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"组 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":150,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"2","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":3,"s":[30]},{"t":15,"s":[100]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[22.066,70.519,0],"ix":2,"l":2},"a":{"a":0,"k":[21.25,25.601,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-0.9,-0.483],[0,0],[0,-1.022],[0,0],[1.374,1.064],[0,0],[0,1.376]],"o":[[0,-1.028],[0,0],[0.913,0.709],[0,0],[0,1.377],[0,0],[-1.38,-1.071],[0,0]],"v":[[-21,-23.887],[-19.119,-24.868],[19.332,4.818],[21,7.571],[21,23.472],[18.5,24.287],[-18.514,-4.298],[-21,-8.231]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[21.25,25.601],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"组 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":150,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"3","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":6,"s":[30]},{"t":18,"s":[100]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[22.066,95.633,0],"ix":2,"l":2},"a":{"a":0,"k":[21.25,23.585,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-0.9,-0.494],[0,0],[0,-1.03],[0,0],[1.374,1.063],[0,0],[0,1.363]],"o":[[0,-1.036],[0,0],[0.913,0.697],[0,0],[0,1.379],[0,0],[-1.38,-1.055],[0,0]],"v":[[-21,-21.86],[-19.119,-22.841],[19.332,6.846],[21,9.598],[21,21.454],[18.5,22.272],[-18.514,-6.316],[-21,-10.233]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[21.25,23.585],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"组 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":150,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"4","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":9,"s":[30]},{"t":21,"s":[100]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[22.066,118.471,0],"ix":2,"l":2},"a":{"a":0,"k":[21.25,21.713,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-1.38,-1.049],[0,0],[0,1.377],[0,0],[0.913,0.695],[0,0],[0,-1.023]],"o":[[0,1.379],[0,0],[1.374,1.061],[0,0],[0,-1.02],[0,0],[-0.9,-0.48],[0,0]],"v":[[-21,-12.111],[-18.514,-8.195],[18.5,20.402],[21,19.583],[21,11.46],[19.332,8.721],[-19.119,-20.982],[-21,-19.986]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[21.25,21.713],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"组 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":150,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"5","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":12,"s":[30]},{"t":24,"s":[100]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[22.566,139.621,0],"ix":2,"l":2},"a":{"a":0,"k":[21.25,20.506,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-1.38,-1.057],[0,0],[0,1.38],[0,0],[0.913,0.695],[0,0],[0,-1.008]],"o":[[0,1.363],[0,0],[1.374,1.054],[0,0],[0,-1.025],[0,0],[-0.9,-0.48],[0,0]],"v":[[-21,-13.312],[-18.514,-9.393],[18.5,19.201],[21,18.374],[21,12.667],[19.332,9.928],[-19.119,-19.775],[-21,-18.794]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[21.25,20.506],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"组 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":150,"st":0,"bm":0}],"markers":[]}'),eQ={src:"/_next/static/media/disclaimer.0ddf42e8.svg",height:37,width:150,blurWidth:0,blurHeight:0};n(62702),n(48642);let eO=e=>{let{className:t,fullVideoWording:n="查看完整视频",onClick:a}=e,{isDesktopMode:i}
1=(0,g.CG)();return(0,s.jsxs)("div",{className:"show-full-video-root ".concat(t),onClick:()=>{a&&a({label:n})},children:[!i&&n&&(0,s.jsx)(f.default,{src:"/common/video-play.svg",className:"show-full-video-root__play-button",alt:"Play",width:24,height:24}),n&&(0,s.jsx)("div",{className:"show-full-video-root__wording",children:n}),i&&n&&(0,s.jsx)(f.default,{src:"/common/full-video-arrow.svg",className:"show-full-video-root__arrow",alt:"Arrow",width:24,height:24})]})};var eJ=n(12084);let eY=e=>{let{fullVideoSource:t,isShow:n,onClose:a,onStartToPlay:i,isDesktopMode:l,onPaused:r}=e;return"undefined"==typeof document?null:(0,ev.createPortal)((0,s.jsx)("div",{className:"fixed top-0 left-0 z-[11000]",children:(0,s.jsx)(ef.A,{isShow:n,isMobile:!l,videoSource:t,onClose:a,onStartToPlay:i,onPaused:r})}),document.body)};var eq=function(e){return e.HeadLineText="Text",e.HeadLineImage="Image",e}(eq||{}),eX=function(e){return e.SubHeadlineText="Text",e.SubHeadlineImage="Image",e}(eX||{});let eZ={KV:"Fullscreen banner"},ez={imgURL:{src:"/_next/static/media/logo-mobile.665c325e.svg",height:998,width:375,blurWidth:0,blurHeight:0},logoDefaultWidth:375,logoDefaultHeight:998,logoShowingBlockSpace:41.41,logoSecondBlockCenterOffset:19.83,logoAnimationStartPoint:100,animationDistance:330,logoWrapperOpacityStartPoint:230},e$={imgURL:{src:"/_next/static/media/logo-pc.44729830.svg",height:2066,width:1440,blurWidth:0,blurHeight:0},logoDefaultWidth:1440,logoDefaultHeight:2066,logoShowingBlockSpace:109.42,logoSecondBlockCenterOffset:53,logoAnimationStartPoint:300,animationDistance:1e3,logoWrapperOpacityStartPoint:700},e0={width:12,height:44,margin:"8px 0px"},e1={width:12,height:44,margin:"16px 0px"},e2=e=>{var t,n;let{data:a,model:i,index:l,onExpose:r}=e,{headlineType:o,subHeadlineType:d,headline1Text:u,headline1Image:m,headline2TextMobile:p,headline2TextDesktop:h,headline2Image:x,subHeadlineText:v,subHeadlineImage:w,longTimeVideoForDesktop:E,longTimeVideoForMobile:k,longTimeVideoDescription:y,backgroundMediaDesktop:C,backgroundMediaMobile:A,mobileImageMovingTrend:N}=a,_="Image"===o,L="Text"===o,[I,M]=(0,c.useState)(window.innerWidth>eh.MOBILE?e$:ez),[T,B]=(0,c.useState)(window.innerWidth>eh.MOBILE?e1:e0),[D,R]=(0,c.useState)(!1),[F,V]=(0,c.useState)(!1),[P,G]=(0,c.useState)(1),[H,W]=(0,c.useState)(0),[U,K]=(0,c.useState)(0),[Q,O]=(0,c.useState)(0),[J,Y]=(0,c.useState)(1),{refContainer:X,componentInfo:Z}=(0,b.A)(l,r),z=(0,c.useRef)(null),$=(0,c.useRef)(null),{isDesktopMode:ee}=(0,g.CG)(),[et,en]=(0,c.useState)(0),[ea,ei]=(0,c.useState)(0),eo=2*Math.PI/360,es=(0,c.useRef)(0),ec=(0,c.useRef)(0),[ed,eu]=(0,c.useState)(!1),[em,eg]=(0,c.useState)({left:"0px",transform:"scale(1)",backgroundColor:"rgba(255, 0, 0, 0)"}),ef=()=>{if(!X.current)return;let{innerWidth:e,innerHeight:t}=window,n=(e+Math.tan(38*eo)*t)*(I.logoDefaultWidth/I.logoShowingBlockSpace)/I.logoDefaultWidth;t/e<I.logoDefaultHeight/I.logoDefaultWidth?n*=I.logoDefaultWidth/e:n*=I.logoDefaultHeight/t,es.current=n,en(n),K(n);let a=I.logoSecondBlockCenterOffset*n;t/e<I.logoDefaultHeight/I.logoDefaultWidth?a*=e/I.logoDefaultWidth:a*=t/I.logoDefaultHeight,ec.current=a,ei(a),O(a)},ev=ep()(()=>{let e=X.current,t=$.current;if(e&&t){let{top:t,bottom:n}=e.getBoundingClientRect();t<-I.logoAnimationStartPoint?(eE(t+I.logoAnimationStartPoint),ek(n),Y(0)):(ey(),Y(1))}},100),ew=ep()(()=>{let{innerWidth:e}=window;e>eh.MOBILE?(M(e$),B(e1)):(M(ez),B(e0)),ef(),ev()},16),eb=ep()(()=>{let e=X.current;if(e){let{top:t,bottom:n}=e.getBoundingClientRect();t<-I.logoAnimationStartPoint?(eE(t+I.logoAnimationStartPoint),ek(n),Y(0)):(ey(),Y(1))}},16);(0,c.useEffect)(()=>((0,el.un)()&&(0,el.hL)()&&X.current&&er(X.current),R(!0),window.addEventListener("scroll",eb,!0),window.addEventListener("resize",ew,!0),ef(),()=>{window.removeEventListener("scroll",eb),window.removeEventListener("resize",ew)}),[]);let eE=e=>{let t=1-1/es.current,n=Math.abs(e)/I.animationDistance,a=es.current*(1-n*t);K(a<1?1:a);let i=.6*((Math.abs(e)-I.logoWrapperOpacityStartPoint)/(I.animationDistance-I.logoWrapperOpacityStartPoint));W(i>.6?.6:i);let l=n>1?1:n;O(()=>ec.current*(1-l))},ek=e=>{let t=Math.abs(e)/window.innerHeight/2;G(t>=1?1:t)},ey=(0,c.useCallback)(()=>{K(et),O(ea),W(0),G(1)},[et,ea]),eC=(0,c.useCallback)(()=>(0,el.jB)()?{opacity:P,transition:"height 0.15s ease 0s"}:{opacity:P},[P]),eS=(0,c.useCallback)(()=>({zIndex:J}),[J]);(0,c.useEffect)(()=>{eg({left:"".concat(Q,"px"),transform:"scale(".concat(U,")"),backgroundColor:"rgba(255, 0, 0, ".concat(H,")")})},[Q,U,H]);let{triggerEvent:ej}=(0,S.Ay)(),{state:{qtCommonKeys:eA,logKey:eN,qtClickKeys:e_={}}}=(0,c.useContext)(j.B),eL=e=>{let{label:t}=e;
1ej(S.Bx.CLICK,eN.CLK,{...eA,...e_,component_id:""+(Z.index+1),component_name:Z.name,current_theme_name:Z.anchorHeading,button_type:S.VQ.COMPONENT_CLICK,button_name:t})},eI=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return;let{currentTime:n,duration:a}=e,i=ee?E:k;ej(S.Bx.OTHER,eN.VPE,{...eA,component_id:""+(Z.index+1),component_name:Z.name,current_theme_name:Z.anchorHeading,watch_time:n.toFixed(0),video_play_proportion:(n/a).toFixed(2),is_watch_end:n===a?"true":"false",is_close:t?"是":"否",video_time:a.toFixed(0),video_name:null==i?void 0:i.name})};return(0,s.jsx)("div",{className:"kv-root",ref:X,"data-component":"AMG_KV",children:(0,s.jsxs)("div",{className:"kv-root__sticky",style:eC(),children:[(0,s.jsxs)("div",{className:"kv-root__sticky__content",ref:z,style:eS(),children:[(0,s.jsxs)("div",{className:"kv-root__sticky__content__disclaimer",style:(0,el.un)()&&(0,el.hL)()&&window.history.length>1?{bottom:"9px"}:{},children:[(0,s.jsx)("span",{className:"kv-root__sticky__content__disclaimer__wording",children:"具体车型配置以经销商店内实车为准"}),(0,s.jsx)(f.default,{src:eQ,className:"kv-root__sticky__content__disclaimer__logo",alt:"Disclaimer Icon",width:24,height:24})]}),a&&function(e){var t,n;let a=(e,t)=>(0,s.jsx)(eU,{className:"background-image-component",dataImg:e,dataImgMobile:t,fullVideoUrl:{longTimeVideoForDesktop:E,longTimeVideoForMobile:k},sectionName:"",componentType:eZ.KV,autoMove:N&&"string"==typeof N?N.toLowerCase():"static",isDesktopMode:ee}),i=e=>{var t;return(0,s.jsx)(eH,{className:"background-video-component",posterUrl:null==e||null==(t=e.mobilePoster)?void 0:t.url,videoUrl:{backgroundMediaDesktop:C,backgroundMediaMobile:A},fullVideoUrl:{longTimeVideoForDesktop:E,longTimeVideoForMobile:k},sectionName:"",componentType:eZ.KV,isDesktopMode:ee})},l=(null==e||null==(t=e.backgroundMediaDesktop)?void 0:t.data)!==null,r=(null==e||null==(n=e.backgroundMediaMobile)?void 0:n.data)!==null;return(0,s.jsx)("div",{className:"video-image-wrapper",children:e&&C&&A&&(0,s.jsxs)(s.Fragment,{children:[l&&!r&&(0,s.jsxs)(s.Fragment,{children:[(0,el.wu)(C.ext)&&a(C,A),(0,el.cZ)(C.ext)&&i(e)]}),r&&!l&&(0,s.jsxs)(s.Fragment,{children:[(0,el.wu)(A.ext)&&a(C,A),(0,el.cZ)(A.ext)&&i(e)]}),l&&r&&(0,s.jsxs)(s.Fragment,{children:[(0,el.wu)(C.ext)&&(0,el.wu)(A.ext)&&a(C,A),(0,el.cZ)(C.ext)&&(0,el.cZ)(A.ext)&&i(e),(0,el.wu)(C.ext)&&(0,el.cZ)(A.ext)&&(0,s.jsx)(s.Fragment,{children:ee?a(C,A):i(e)}),(0,el.cZ)(C.ext)&&(0,el.wu)(A.ext)&&(0,s.jsx)(s.Fragment,{children:ee?i(e):a(C,A)})]})]})})}(a),(0,s.jsxs)("div",{className:"kv-root__sticky__content__context",children:[(0,s.jsxs)("div",{className:"kv-root__sticky__content__context__header",children:[o&&_&&m?(0,s.jsx)("div",{className:"kv-root__sticky__content__context__img-title_box",style:{width:"100%",position:"relative"},children:(0,s.jsx)(f.default,{className:"kv-root__sticky__content__context__img-title",src:m.url,width:m.width,height:m.height,alt:"Headline1 Image",style:{height:"100%",width:"auto"}})}):(0,s.jsx)("span",{className:"kv-root__sticky__content__context__img-title ".concat(L?"text":""),children:u}),o&&_&&x?(0,s.jsx)("div",{className:"kv-root__sticky__content__context__img-title_box",style:{width:"100%",position:"relative"},children:(0,s.jsx)(f.default,{className:"kv-root__sticky__content__context__img-title",src:x.url,alt:"Headline2 Image",width:x.width,height:x.height,style:{height:"100%",width:"auto"}})}):(0,s.jsx)("pre",{className:"kv-root__sticky__content__context__img-title ".concat(L?"text":""),children:ee?h:p}),"Image"===d&&w?(0,s.jsx)("div",{className:"kv-root__sticky__content__context__img-description_box",style:{width:"100%",position:"relative"},children:(0,s.jsx)(f.default,{className:"kv-root__sticky__content__context__img-description",src:w.url,alt:"Description",width:w.width,height:w.height,style:{height:"100%",width:"auto"}})}):(0,s.jsx)("span",{className:"kv-root__sticky__content__context__img-description ".concat("Text"===d?"text":""),children:v}),!ee&&k&&(null==k?void 0:k.data)!==null&&(null==k?void 0:k.url)!==""&&""!==y&&(0,s.jsx)(eO,{className:"kv
1-root__sticky__content__context__inner-play-button ".concat(F&&D?"show":""),fullVideoWording:y,onClick:e=>{let{label:t}=e;eu(!0),eL({label:t})}})]}),(0,s.jsxs)("div",{className:"kv-root__sticky__content__context__more",children:[(0,s.jsx)("div",{className:"kv-root__sticky__content__context__more__cta ".concat((null==a||null==(t=a.cta)?void 0:t.length)===1?"one-line-button":""),children:null==a||null==(n=a.cta)?void 0:n.map(e=>e.link.link?(0,s.jsx)(eJ.A,{cta:e,className:"qt-auto-click-public_button_clk mt-[24px] font-medium ml-0",model:i,onClick:()=>{eL(e)}},e.id):null)}),(0,s.jsx)(q(),{animationData:eK,style:T})]})]}),ee&&E&&(null==E?void 0:E.data)!==null&&(null==E?void 0:E.url)!==""&&""!==y&&(0,s.jsx)(eO,{className:"kv-root__sticky__content__play-button ".concat(F&&D?"show":""),fullVideoWording:y,onClick:e=>{let{label:t}=e;eu(!0),V(!0),eL({label:t})}}),(0,s.jsx)(eY,{isShow:ed,isDesktopMode:ee,onClose:e=>{eu(!1),V(!1),(0,ex.VS)("Y",!1),e&&e.currentTime!==e.duration&&eI(e,!0)},onPaused:e=>eI(e),onStartToPlay:()=>{eu(!0),V(!0),(0,ex.VS)("Y",!0)},fullVideoSource:ee?null==E?void 0:E.url:null==k?void 0:k.url})]}),(0,s.jsx)(f.default,{ref:$,className:"kv-root__sticky__logo",src:I.imgURL,style:em,alt:"Logo"})]})})},e5=(0,c.memo)((0,c.forwardRef)((e,t)=>{let n,a,{background:i}=e,l=!1,[r,o]=(0,c.useState)(!1),d=(0,c.useRef)(null),u=(0,c.useCallback)(e=>{if(d.current){let t=d.current.querySelectorAll("radialGradient stop ".concat(e));for(let e=0;e<t.length;e++)t[e].beginElement()}},[d.current]);return(0,c.useImperativeHandle)(t,()=>({fadeIn:()=>{o(!0),l=!0,u(".fade-in"),clearTimeout(a),n=setTimeout(()=>{l=!1},1e3)},fadeOut:()=>{l||(u(".fade-out"),clearTimeout(n),a=setTimeout(()=>{o(!1)},400))}})),(0,c.useEffect)(()=>()=>{clearTimeout(a),clearTimeout(n)},[]),(0,s.jsx)("div",{className:"star-pattern-stars",children:(0,s.jsx)("div",{style:{height:"100%",width:"100%"},ref:d,children:(0,s.jsxs)("svg",{width:"100%",height:"100%",children:[(0,s.jsxs)("defs",{children:[(0,s.jsxs)("pattern",{id:"star-pattern__svg-pattern",x:"0",y:"0",width:"208.87",height:"180.88",patternUnits:"userSpaceOnUse",patternTransform:"scale(0.95 0.95)",children:[(0,s.jsx)("path",{d:"M52.22,90.25a4.53,4.53,0,0,0-.3-.9l-10.2-8.11L39.8,68.35a3.92,3.92,0,0,0-.64-.71,4.27,4.27,0,0,0-.63.71L36.6,81.24,26.41,89.35a3.53,3.53,0,0,0-.3.9,3.75,3.75,0,0,0,.93.19l12.12-4.77,12.12,4.77A3.74,3.74,0,0,0,52.22,90.25Z",fill:"white"}),(0,s.jsx)("path",{d:"M104.43,180.69a3.53,3.53,0,0,0-.3-.9l-10.19-8.11L92,158.79a3.53,3.53,0,0,0-.63-.71,3.53,3.53,0,0,0-.63.71l-1.93,12.89-10.2,8.11a4.53,4.53,0,0,0-.3.9,3.42,3.42,0,0,0,.94.19l12.12-4.77,12.12,4.77A3.35,3.35,0,0,0,104.43,180.69Z",fill:"white"}),(0,s.jsx)("path",{d:"M45.69,146.78a1.7,1.7,0,0,0-.15-.45l-5.1-4.06-1-6.44a2.17,2.17,0,0,0-.32-.36,2.11,2.11,0,0,0-.31.36l-1,6.44-5.09,4.06a1.7,1.7,0,0,0-.15.45,1.87,1.87,0,0,0,.46.09l6.06-2.38,6.06,2.38A1.86,1.86,0,0,0,45.69,146.78Z",fill:"white"}),(0,s.jsx)("path",{d:"M97.91,56.33a1.83,1.83,0,0,0-.15-.45l-5.1-4.05-1-6.45a2.11,2.11,0,0,0-.32-.35,2.11,2.11,0,0,0-.32.35l-1,6.45L85,55.88a1.83,1.83,0,0,0-.15.45,1.88,1.88,0,0,0,.47.1L91.38,54l6.06,2.39A1.88,1.88,0,0,0,97.91,56.33Z",fill:"white"}),(0,s.jsx)("path",{d:"M156.65,90.25a3.53,3.53,0,0,0-.3-.9l-10.2-8.11-1.92-12.89a4.27,4.27,0,0,0-.63-.71,3.92,3.92,0,0,0-.64.71L141,81.24l-10.2,8.11a3.53,3.53,0,0,0-.3.9,3.75,3.75,0,0,0,.93.19l12.13-4.77,12.12,4.77A3.75,3.75,0,0,0,156.65,90.25Z",fill:"white"}),(0,s.jsx)("path",{d:"M208.87,180.69a4.53,4.53,0,0,0-.3-.9l-10.2-8.11-1.92-12.89a3.92,3.92,0,0,0-.64-.71,4.27,4.27,0,0,0-.63.71l-1.93,12.89-10.19,8.11a3.53,3.53,0,0,0-.3.9,3.35,3.35,0,0,0,.93.19l12.12-4.77,12.12,4.77A3.34,3.34,0,0,0,208.87,180.69Z",fill:"white"}),(0,s.jsx)("path",{d:"M150.12,146.78a1.7,1.7,0,0,0-.15-.45l-5.09-4.06-1-6.44a2.11,2.11,0,0,0-.31-.36,2.17,2.17,0,0,0-.32.36l-1,6.44-5.1,4.06a1.7,1.7,0,0,0-.15.45,1.86,1.86,0,0,0,.47.09l6.06-2.38,6.06,2.38A1.87,1.87,0,0,0,150.12,146.78Z",fill:"white"}),(0,s.jsx)("path",{d:"M202.34,56.33a1.83,1.83,0,0,0-.15-.45l-5.1-4.05-1-6.45a2.11,2.11,0,0,0-.32-.35,2,2,0,0,0-.31.35l-1,6.45-5.09,4.05a1.83,1.83,0,0,0-.15.45,1.9,1.9,0,0,0,.46.1L195.81,54l6.06,2.39A1.88,1.88,0,0,0,202.34,56.33Z",fill:"white"})]}),(0,s.jsx)("mask",{id:"star-pattern-mask",width:"100%",height:"100%",x:"0",y:"0",children:(0,s.jsx)("rect",{width:"100%",height:"100%",fill:"url(#star-pattern__svg-pattern)"})})]}),(0,s.jsx)("g",{mask:"url(#star-pattern-mask)",children:(0,s.jsxs)("svg",{viewBox:"0 0 100 100",width:"100%",height:"100%",preserveAspectRatio:"xMidYMid slice",children:[(0,s.jsxs)("defs",{children:[(0,s.jsxs)("radialGradient",{id:"brandhub-star-pattern__svg-vignette-black",cx:"0.5",cy:"0.5",r:"0.5",children:[(0,s.jsxs)("stop",{offset:"0",stopColor:"rgba(0,0,0,0)",stopOpacity:"1",children:[(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(0,0,0,0);rgba(0,0,0,1);rgba(0,0,0,0.5);rgba(0,0,0,0.25);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0)",dur:"1s",repeatCount:"1",className:"fade-in"}),(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0.25);rgba(0,0,0,0.5);rgba(0,0,0,1);rgba(0,0,0,0)",dur:"0.5s",repeatCount:"1",className:"fade-out"})]}),(0,s.jsxs)("stop",{offset:"0.2",stopColor:"rgba(0,0,0,0.05)",stopOpacity:"1",children:[(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,1);rgba(0,0,0,0.5);rgba(0,0,0,0.25);rgba(0,0,0,0.05);rgba(0,0,0,0.05);rgba(0,0,0,0.05)",dur:"1s",repeatCount:"1",className:"fade-in"}),(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(0,0,0,0.05);rgba(0,0,0,0.05);rgba(0,0,0,0.05);rgba(0,0,0,0.25);rgba(0,0,0,0.5);rgba(0,0,0,1);rgba(0,0,0,0);rgba(0,0,0,0)",dur:"0.5s",repeatCount:"1",className:"fade-out"})]}),(0,s.jsxs)("stop",{offset:"0.4",stopColor:"rgba(0,0,0,0.05)",stopOpacity:"1",children:[(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,1);rgba(0,0,0,0.5);rgba(0,0,0,0.05);rgba(0,0,0,0.05);rgba(0,0,0,0.05)",dur:"1s",repeatCount:"1",className:"fade-in"}),(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(0,0,0,0.05);rgba(0,0,0,0.05);rgba(0,0,0,0.05);rgba(0,0,0,0.5);rgba(0,0,0,1);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0)",dur:"0.5s",repeatCount:"1",className:"fade-out"})]}),(0,s.jsxs)("stop",{offset:"0.6",stopColor:"rgba(0,0,0,0.5)",stopOpacity:"1",children:[(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,1);rgba(0,0,0,0.5);rgba(0,0,0,0.5);rgba(0,0,0,0.5)",dur:"1s",repeatCount:"1",className:"fade-in"}),(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(0,0,0,0.5);rgba(0,0,0,0.5);rgba(0,0,0,0.5);rgba(0,0,0,1);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0)",dur:"0.5s",repeatCount:"1",className:"fade-out"})]}),(0,s.jsxs)("stop",{offset:"0.8",stopColor:"rgba(0,0,0,0.5)",stopOpacity:"1",children:[(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,1);rgba(0,0,0,0.5);rgba(0,0,0,0.5)",dur:"1s",repeatCount:"1",className:"fade-in"}),(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(0,0,0,0.5);rgba(0,0,0,0.5);rgba(0,0,0,1);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0)",dur:"0.5s",repeatCount:"1",className:"fade-out"})]}),(0,s.jsxs)("stop",{offset:"1",stopColor:"rgba(0,0,0,0.1)",stopOpacity:"1",children:[(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0.25);rgba(0,0,0,0.1)",dur:"1s",repeatCount:"1",className:"fade-in"}),(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(0,0,0,0.1);rgba(0,0,0,0.25);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0);rgba(0,0,0,0)",dur:"0.5s",repeatCount:"1",className:"fade-out"})]})]}),(0,s.jsxs)("radialGradient",{id:"brandhub-star-pattern__svg-vignette-white",cx:"0.5",cy:"0.5",r:"0.5",children:[(0,s.jsxs)("stop",{offset:"0",stopColor:"rgba(255,255,255,0)",stopOpacity:"1",children:[(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(255,255,255,0);rgba(255,255,255,1);rgba(255,255,255,0.5);rgba(255,255,255,0.25);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0)",dur:"1s",repeatCount:"1",className:"fade-in"}),(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0.25);rgba(255,255,255,0.5);rgba(255,255,255,1);rgba(255,255,255,0)",dur:"0.5s",repeatCount:"1",className:"fade-out"})]}),(0,s.jsxs)("stop",{offset:"0.2",stopColor:"rgba(255,255,255,0.05)",stopOpacity:"1",children:[(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,1);rgba(255,255,255,0.5);rgba(255,255,255,0.25);rgba(255,255,255,0.05);rgba(255,255,255,0.05);rgba(255,255,255,0.05)",dur:"1s",repeatCount:"1",className:"fade-in"}),(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(255,255,255,0.05);rgba(255,255,255,0.05);rgba(255,255,255,0.05);rgba(255,255,255,0.25);rgba(255,255,255,0.5);rgba(255,255,255,1);rgba(255,255,255,0);rgba(255,255,255,0)",dur:"0.5s",repeatCount:"1",className:"fade-out"})]}),(0,s.jsxs)("stop",{offset:"0.4",stopColor:"rgba(255,255,255,0.05)",stopOpacity:"1",children:[(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,1);rgba(255,255,255,0.5);rgba(255,255,255,0.05);rgba(255,255,255,0.05);rgba(255,255,255,0.05)",dur:"1s",repeatCount:"1",className:"fade-in"}),(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(255,255,255,0.05);rgba(255,255,255,0.05);rgba(255,255,255,0.05);rgba(255,255,255,0.5);rgba(255,255,255,1);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0)",dur:"0.5s",repeatCount:"1",className:"fade-out"})]}),(0,s.jsxs)("stop",{offset:"0.6",stopColor:"rgba(255,255,255,0.5)",stopOpacity:"1",children:[(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,1);rgba(255,255,255,0.5);rgba(255,255,255,0.5);rgba(255,255,255,0.5)",dur:"1s",repeatCount:"1",className:"fade-in"}),(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(255,255,255,0.5);rgba(255,255,255,0.5);rgba(255,255,255,0.5);rgba(255,255,255,1);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0)",dur:"0.5s",repeatCount:"1",className:"fade-out"})]}),(0,s.jsxs)("stop",{offset:"0.8",stopColor:"rgba(255,255,255,0.5)",stopOpacity:"1",children:[(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,1);rgba(255,255,255,0.5);rgba(255,255,255,0.5)",dur:"1s",repeatCount:"1",className:"fade-in"}),(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(255,255,255,0.5);rgba(255,255,255,0.5);rgba(255,255,255,1);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0)",dur:"0.5s",repeatCount:"1",className:"fade-out"})]}),(0,s.jsxs)("stop",{offset:"1",stopColor:"rgba(255,255,255,0.1)",stopOpacity:"1",children:[(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0.25);rgba(255,255,255,0.1)",dur:"1s",repeatCount:"1",className:"fade-in"}),(0,s.jsx)("animate",{begin:"indefinite",attributeName:"stop-color",values:"rgba(255,255,255,0.1);rgba(255,255,255,0.25);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0);rgba(255,255,255,0)",dur:"0.5s",repeatCount:"1",className:"fade-out"})]})]})]}),r&&(0,s.jsx)("rect",{width:"100%",height:"100%",fill:"White"===i?"url(#brandhub-star-pattern__svg-vignette-black)":"url(#brandhub-star-pattern__svg-vignette-white)"})]})})]})})})})),e3=(0,c.memo)(e=>{let{background:t,headline:n,showHeadline:a,textTopPosition:i}=e,l=(e=>null==e?void 0:e.replace(/\n/g,"<br/> ").replace(/<br \/>/g,"<br/> ").replace(/<br\/>/g,"<br/> ").replace(/<br>/g,"<br/> ").split("<br/> ").filter(e=>!!(null==e?void 0:e.trim())).map(e=>e.replace("<br/>","")))(n);return(0,s.jsx)("div",{className:"star-pattern__svg-star-head-line",style:{transform:"translateY(".concat(i,"vh)")},children:null==l?void 0:l.map((e,n)=>(0,s.jsx)("div",{className:"brandhub-word-fade__word-wrapper",children:(0,s.jsx)("div",{style:{color:"White"===t?"black":"white"},className:"brandhub-word-fade__word brandhub-word-fade__word--visible hide ".concat(a?"show":""),children:e})},"".concat(e,"-").concat(n)))})}),e4=0,e6=e=>{let{src:t,loop:n,videoRef:a}=e,i=(0,c.useRef)(null),l=(0,c.useRef)(),[r,o]=(0,c.useState)(0),[d,u]=(0,c.useState)(0),m=()=>{let e=a.current,t=i.current;if(e&&t){var n;l.current=t.getContext("2d"),null==(n=l.current)||n.drawImage(e,0,0,t.width,t.height)}},p=()=>{let e=i.current,t=a.current;if(e&&t&&!t.paused&&!t.ended){var n;null==(n=l.current)||n.drawImage(t,0,0,e.width,e.height)}e4=requestAnimationFrame(p)};return(0,c.useEffect)(()=>{var e;let t=a.current,n=null==t||null==(e=t.parentElement)?void 0:e.getBoundingClientRect();if(n){let{height:e,width:t}=n;o(e),u(t)}
1},[a]),(0,c.useEffect)(()=>{let e=a.current;return e&&(e.addEventListener("loadeddata",m),e.addEventListener("play",p)),()=>{cancelAnimationFrame(e4);let e=a.current;null==e||e.removeEventListener("loadeddata",m),null==e||e.removeEventListener("play",p)}},[a]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"canvas-container",children:(0,s.jsx)("canvas",{style:{width:"100%",height:"100%"},ref:i,width:d,height:r})}),(0,s.jsx)("video",{preload:"auto",width:"100%",height:"100%","webkit-playsinlin":"true","x-webkit-airplay":"true","x5-video-player-type":"h5-page","x5-video-orientation":"portraint",ref:a,autoPlay:!0,style:{objectFit:"cover",visibility:"hidden"},muted:!0,playsInline:!0,loop:n,children:(0,s.jsx)("source",{src:t})})]})},e8=(0,c.memo)((0,c.forwardRef)((e,t)=>{let{previewMediaDesktop:n,previewMediaMobile:a,isDesktopMode:i,loop:l}=e,r=i?null==n?void 0:n.url:null==a?void 0:a.url,o=(0,el.cZ)(null==n?void 0:n.ext),d=(0,el.cZ)(null==a?void 0:a.ext),u=(0,c.useRef)(null),[m,p]=(0,c.useState)(!1),[h,g]=(0,c.useState)(!1);return(0,c.useImperativeHandle)(t,()=>({startPlayVideo:()=>{if(o||d){var e;null==(e=u.current)||e.play()}},stopPlayVideo:()=>{if(o||d){var e;null==(e=u.current)||e.pause()}}})),(0,c.useEffect)(()=>{let e=u.current;if(!e)return;let t=async()=>{try{await e.play(),console.log("视频自动播放成功")}catch(n){console.warn("自动播放失败,等待用户点击触发",n);let t=async()=>{try{console.log("用户点击触发播放"),await e.play(),console.log("用户点击触发播放成功"),window.removeEventListener("touchstart",t)}catch(e){console.warn("用户点击触发播放失败",e)}};window.addEventListener("touchstart",t)}};e.load();let n=/MicroMessenger/i.test(navigator.userAgent);g(n),n?(console.log("检测到微信环境,应用特殊处理"),void 0!==window.WeixinJSBridge?window.WeixinJSBridge.invoke("getNetworkType",{},async()=>{console.log("WeixinJSBridge getNetworkType"),t()}):document.addEventListener("WeixinJSBridgeReady",function(){window.WeixinJSBridge.invoke("getNetworkType",{},async()=>{console.log("WeixinJSBridge getNetworkType"),t()})},!1)):t()},[]),(0,s.jsxs)(s.Fragment,{children:[i&&(0,s.jsx)(s.Fragment,{children:o?(0,s.jsxs)("div",{className:"flex items-center justify-center relative",children:[(0,s.jsx)("video",{width:"100%",height:"100%",src:r,"x-webkit-airplay":"true","x5-video-orientation":"portraint",ref:u,style:{objectFit:"cover"},muted:!0,loop:l,playsInline:!0,"webkit-playsinline":!0,"x5-playsinline":!0,"x5-video-player-type":"h5","x5-video-player-fullscreen":"true",preload:"auto",onPlay:()=>p(!0)}),h&&!m&&(0,s.jsx)(f.default,{className:"absolute",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAQAElEQVR4AeydCbheRXnHb2oLKBQRFbRBoEEtm4AgO4GgUCKWgCwB2URIQdkFiYpYgohsFSpBWiEB2SVsYSfskEBoAWlSRIoCtoCPVYsiyOIWf//7nC/PvTffd78z75mzv/d5/3fOMvPOzDvv/5uZs8z5iwH/cwu4BXpawAnS0zR+wi0wMOAEcS9wC4xiASfIKMbxU24BJ4j7gFtgFAvkSJBRcvVTboGaWMAJUpOG8mKWYwEnSDl291xrYgEnSE0ayotZjgWcIOXY3XOtiQXqSZCaGNeLWX8LOEHq34Zegxwt4ATJ0bgjVS9atGhp8G6wBtgQTACTwL7gUPAlMBVMAbsCnV+PcCx460h9vp+/BZwgkW2MIy8LPgwmgxPAxWA++CVZvQF+Dn4MHgP3ghvApeDb4FRwOrgAXAt0fgHhC+A1dAgvEC4A94JzwWfBePAO4rhEtoATJKNBccyNwfFADvsi6l4F3wdXgZPB/mAz8E6QVdSLjEXJemACOAz8K3gAvEQZXgR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Q7WTDDWRTkOvHawzli56k8QTpWIzGXAA0gRdRRJhGDgk69Y0cylaymYihibiGVpGzqIC6LkVoDUE6dYckLwIND0QU3T3WEjWd0x4Ot4BsIxuJGHrI8MXhp5u/1zqCdJoUkrwJLgCao+jREo2l3+ycb3EoG8gWu8o2QDbSsVaapLUEGdraOMH1QFe81ua4hmH65WSzVaI6q+5ryxbg+lbVvkdlnSBDDINTPAv0Mo96FUET0meHRGnapuqmOupqlKC661jT6mmujxOkh+kgyjww+ItKFPUuujv9Y7brLqqD6qI6qbfQpFu9R93rlUv5YxEkl8JVQSkk0VzlKsIDgR4b2YRyaVX6mwhjrN+FmlxFZVRZVeZNVAeguqhOrZ1bpLW4EyStpZJ4ONcj4EwwCWj9Lg3F9N28+4iiO+AEpYrKoLKoTBo2rUA5VVaV+ZFSS1bDzJ0gGRsN59NQ7GuE24KxqNP7IhsS7gm0HKeeU3qY7f8HsUS6pFO6lYfyUp7LqQxAZVGZfOiU0eJOkIwGHJkc5/wteBzMAl8Hnwabg3cRdxmgzx/rDUU9T7Ut+zsDvZ9xGOGXE2hbx3ROcRRXaZR2GekC0indykN5Kc/fkt4logWcIBGN2U8VTq35zC8InwHfB/eBG8Fl4DxwWgJt65jOKY7iKo3S+ryhn6Ejnq8BQSLW1lW5BQIt4AQJNJhHb5cFnCDtam+vbaAFnCCBBvPo7bKAE6Rd7e21DbRAuwkSaCyP3j4LOEHa1+Ze4wALOEECjOVR22cBJ0j72txrHGABJ0iAsTxq+yzgBMmpzV1tMyzwZwAAAP//hF1cQAAAAAZJREFUAwCE3SMJln0jpAAAAABJRU5ErkJggg==",alt:"",width:48,height:48})]}):(0,s.jsx)(f.default,{src:r,style:{objectFit:"cover"},fill:!0,alt:"preview media"})}),!i&&(0,s.jsx)(s.Fragment,{children:d?(0,s.jsx)(s.Fragment,{children:(0,el.m0)()&&(0,el.bj)()?(0,s.jsx)(e6,{src:r,loop:l,videoRef:u}):(0,s.jsxs)("div",{className:"flex items-center justify-center relative",children:[(0,s.jsx)("video",{width:"100%",height:"100%",src:r,muted:!0,autoPlay:!0,ref:u,loop:l,playsInline:!0,"webkit-playsinline":!0,"x5-playsinline":!0,"x5-video-player-type":"h5","x5-video-player-fullscreen":"true",preload:"auto",onPlay:()=>p(!0)}),h&&!m&&(0,s.jsx)(f.default,{className:"absolute",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAQAElEQVR4AeydCbheRXnHb2oLKBQRFbRBoEEtm4AgO4GgUCKWgCwB2URIQdkFiYpYgohsFSpBWiEB2SVsYSfskEBoAWlSRIoCtoCPVYsiyOIWf//7nC/PvTffd78z75mzv/d5/3fOMvPOzDvv/5uZs8z5iwH/cwu4BXpawAnS0zR+wi0wMOAEcS9wC4xiASfIKMbxU24BJ4j7gFtgFAvkSJBRcvVTboGaWMAJUpOG8mKWYwEnSDl291xrYgEnSE0ayotZjgWcIOXY3XOtiQXqSZCaGNeLWX8LOEHq34Zegxwt4ATJ0bgjVS9atGhp8G6wBtgQTACTwL7gUPAlMBVMAbsCnV+PcCx460h9vp+/BZwgkW2MIy8LPgwmgxPAxWA++CVZvQF+Dn4MHgP3ghvApeDb4FRwOrgAXAt0fgHhC+A1dAgvEC4A94JzwWfBePAO4rhEtoATJKNBccyNwfFADvsi6l4F3wdXgZPB/mAz8E6QVdSLjEXJemACOAz8K3gAvEQZXgRzwDfBgWATsCznXIwWcIKMMFy/XRxuffA58D3wEvH/A5wC5LB/Q1imKP+/pwDHgJng38GrlPN+cCQYx75LgAWcIH2MhVNp3rAn4UzwQ6L/JzgP7AnqMqzZmrJ+CzxDHR4GXwQbse/SxwJOkB4GwoG2At/k9JPge+BAsCaou2xKBU4Dj1K/x8FpYDv2XbpYwAkyxCg4yjhwDJjLYUFDlSYPSzagnl8Ed1LnhUA9yyrsuyQWcIJgCBxDl1rVS6i3UK+xFYfbJh+iwupZRJTp2GRz9lsvrSYITrA7uB0v0KVWzSmWZjsvqYtezasOp7APYZv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zlKsIDgR4b2YRyaVX6mwhjrN+FmlxFZVRZVeZNVAeguqhOrZ1bpLW4EyStpZJ4ONcj4EwwCWj9Lg3F9N28+4iiO+AEpYrKoLKoTBo2rUA5VVaV+ZFSS1bDzJ0gGRsN59NQ7GuE24KxqNP7IhsS7gm0HKeeU3qY7f8HsUS6pFO6lYfyUp7LqQxAZVGZfOiU0eJOkIwGHJkc5/wteBzMAl8Hnwabg3cRdxmgzx/rDUU9T7Ut+zsDvZ9xGOGXE2hbx3ROcRRXaZR2GekC0indykN5Kc/fkt4logWcIBGN2U8VTq35zC8InwHfB/eBG8Fl4DxwWgJt65jOKY7iKo3S+ryhn6Ejnq8BQSLW1lW5BQIt4AQJNJhHb5cFnCDtam+vbaAFnCCBBvPo7bKAE6Rd7e21DbRAuwkSaCyP3j4LOEHa1+Ze4wALOEECjOVR22cBJ0j72txrHGABJ0iAsTxq+yzgBMmpzV1tMyzwZwAAAP//hF1cQAAAAAZJREFUAwCE3SMJln0jpAAAAABJRU5ErkJggg==",alt:"",width:48,height:48})]})}):(0,s.jsx)(f.default,{src:r,style:{objectFit:"cover"},fill:!0,alt:"preview media"})})]})})),e9={White:"white",Black:"black",Blue:"linear-gradient(180deg,#000,#063369 20%,#428eba 66.7%, #fff)",Green:"linear-gradient(to top right,#79cbd2,#047d96 40%,#023449)"},e7=e=>{let{fullVideoSource:t,isShow:n,onClose:a,onStartToPlay:i,isDesktopMode:l,onPaused:r}=e;return(0,ev.createPortal)((0,s.jsx)("div",{className:"fixed top-0 left-0 z-[11000]",children:(0,s.jsx)(ef.A,{isShow:n,isMobile:!l,videoSource:t,onClose:a,onStartToPlay:i,onPaused:r})}),document.body)};n(9325);let te=e=>{let{content:t,index:n,onExpose:a}=e,{headLine:i,backgroundColor:l,isShowStarPattern:r,isScale:o,isMediaInfiniteLoop:d,longTimeVideoMobile:u,longTimeVideoDesktop:m,previewMediaDesktop:p,previewMediaMobile:h}=t,{isDesktopMode:x}=(0,g.CG)(),[f,v]=(0,c.useState)({showHeadline:!1,showVideoCover:!1,showLongTimeVideo:!1,textTopPosition:0,starPatternStyle:{opacity:0,transform:"translateY(58vh)"}}),w=!0,{refContainer:E,componentInfo:k}=(0,b.A)(n,a),y=(0,c.useRef)(null),C=(0,c.useRef)(null),A=(0,c.useRef)(null),N=x?!!(null==p?void 0:p.url):!!(null==h?void 0:h.url),_=x?!!(null==m?void 0:m.url):!!(null==u?void 0:u.url),L=(0,c.useCallback)(e=>{v(t=>({...t,...e}))},[]),I=(0,c.useCallback)(()=>{let{percent:e,style:t}=eP(eV(E));(e=>{var t,n;_&&L({showVideoCover:e>=1}),e>=1?w&&(null==(t=y.current)||t.startPlayVideo(),w=!1):(w=!0,null==(n=y.current)||n.stopPlayVideo())})(e),L({starPatternStyle:t,textTopPosition:((e,t)=>{if(!(t.current&&e.current))return 0;let n=t.current.getBoundingClientRect().height,{top:a}=e.current.getBoundingClientRect(),i=50-.5*n/window.innerHeight*100;if(a<=0){let e=Math.max(Math.min(-(.5*a/innerHeight*100),100),0),t=e/100;if(t>=1&&(i=13),t>=.35){let t=Math.cos(1.5384615384615385*(e-35)/100*Math.PI+Math.PI)/2+.5,a=.5*n/window.innerHeight*100;i=50-37*t-(a-a*t)}t<=0&&(i=50-.5*n/window.innerHeight*100)}return i})(E,A)})},[E,A,eP]),M=(0,c.useMemo)(()=>(0,J.A)(I,100),[I]);(0,c.useEffect)(()=>{let e=new IntersectionObserver(function(e){var t,n;let{isIntersecting:a}=e[0];a?(setTimeout(()=>{L({showHeadline:!0})},800),null==(t=C.current)||t.fadeIn()):(null==(n=C.current)||n.fadeOut(),L({showHeadline:!1}))},{rootMargin:"0px 0px -45% 0px"});return E.current&&e.observe(E.current),I(),window.addEventListener("scroll",M,!0),window.addEventListener("resize",M,!0),()=>{window.removeEventListener("scroll",M),window.removeEventListener("resize",M,!0),e.disconnect()}},[]);let{triggerEvent:T}=(0,S.Ay)(),{state:{qtCommonKeys:B,logKey:D}}=(0,c.useContext)(j.B),R=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return;let{currentTime:n,duration:a}=e;T(S.Bx.OTHER,D.VPE,{...B,component_id:""+(k.index+1),component_name:k.name,current_theme_name:k.anchorHeading,watch_time:n.toFixed(0),video_play_proportion:(n/a).toFixed(2),is_watch_end:n===a?"true":"false",is_close:t?"是":"否",video_time:a.toFixed(0),video_name:x?null==m?void 0:m.name:null==u?void 0:u.name})};return(0,s.jsx)("div",{ref:E,className:"star-pattern-container","data-component":"star-pattern",children:(0,s.jsxs)("div",{className:"star-pattern-sticky",style:{background:i?e9[l]:"black"},children:[r&&i&&(0,s.jsx)(e5,{background:l,ref:C}),i&&(0,s.jsxs)("div",{className:"star-pattern__middle-layer ".concat(o?"indent":""),style:f.starPatternStyle,children:[N&&(0,s.jsx)(e8,{ref:y,loop:d,previewMediaDesktop:p,previewMediaMobile:h,isDesktopMode:x}),f.showVideoCover&&_&&(0,s.jsx)("div",{style:{cursor:"url('/common/star-pattern-play.svg'), auto"},className:"video-play-control-panel",onClick:()=>{L({showLongTimeVideo:!0})},children:(0,s.jsx)("div",{className:x?"video-play-control-button hide-cursor":"video-play-control-button mobile"})})]}),i&&(0,s.jsx)("div",{ref:A,className:"star-pattern-text-content",children:(0,s.jsx)(e3,{background:l,headline:i,showHeadline:f.showHeadline,textTopPosition:f.textTopPosition})}),(0,s.jsx)(e7,{isShow:f.showLongTimeVideo,isDesktopMode:x,onClose:e=>{e&&e.currentTime!==e.duration&&R(e,!0),L({showLongTimeVideo:!1}),(0,ex.VS)("Both",!1)},onPaused:e=>{R(e)},onStartToPlay:()=>{L({showLongTimeVideo:!0}),(0,ex.VS)("Both",!0)},fullVideoSource:x?null==m?void 0:m.url:null==u?void 0:u.url})]})})},tt=e=>{let{doc:t,onDownload:n}=e,a="text-[#666] underline",i=(0,c.useMemo)(()=>"URL"!==t.type?(()=>{var e,i,l,r;let o=[];return("Document"===t.type&&t.documentCN||"Image"===t.type&&t.imageCN)&&o.push((0,s.jsx)("a",{href:"Document"===t.type?null==(e=t.documentCN)?void 0:e.url:null==(i=t.imageCN)?void 0:i.url,target:"_blank",rel:"noopener noreferrer",className:a,onClick:()=>n(t.label,"中文"),children:"中文"},"docCN")),("Document"===t.type&&t.documentEN||"Image"===t.type&&t.imageEN)&&(o.length>0&&o.push((0,s.jsx)("span",{children:","},"docSeparator")),o.push((0,s.jsx)("a",{href:"Document"===t.type?null==(l=t.documentEN)?void 0:l.url:null==(r=t.imageEN)?void 0:r.url,target:"_blank",rel:"noopener noreferrer",className:a,onClick:()=>n(t.label,"英文"),children:"英文"},"docEN"))),o})():(()=>{var e;let i=null==(e=t.url)?void 0:e.trim();return i?[(0,s.jsx)("a",{href:"javascript:void(0)",className:a,onClick:()=>(e=>{if(n(t.label,"查看详情"),(e.toLowerCase().startsWith("http://")||e.toLowerCase().startsWith("https://"))&&!e.toLowerCase().includes(window.location.host))return void window.open(e,"_blank");if(e.startsWith("#")){let t=e.slice(1),n=document.querySelector('*[data-anchor-heading="'.concat(t,'"]'));n&&n.scrollIntoView({behavior:"smooth"});return}window.location.href=e})(i),children:"查看详情"},"docURL")]:[]})(),[t]),l=(0,c.useMemo)(()=>i.length>0?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{children:"("}),i,(0,s.jsx)("span",{children:")"})]}
1):null,[i]);return(0,s.jsxs)("div",{className:"info font-pingFangNormal text-[13px] font-normal pt-[10px] md:px-5 px-0 leading-6 pb-[25px] md:text-base",children:[(0,s.jsx)(f.default,{src:"/[email protected]",alt:"",width:500,height:500,className:"size-[24px] float-left mr-[10px] md:mr-[20px]"}),(0,s.jsxs)("div",{className:"info-text inline-block w-[85%]",children:[(0,s.jsx)("span",{className:"text-[#222222]",children:t.label}),l]})]},t.id)},tn=e=>{let{itemData:t,isExpanded:n,onToggle:a,onDownload:i}=e,l=(0,c.useMemo)(()=>(0,el.un)(),[]);return(0,s.jsx)("section",{className:"supplier-list-container block",children:(0,s.jsx)("div",{className:"wrapper max-w-full mx-5 my-0 md:mx-auto md:my-0 md:w-[calc(700_/_768_*_100%)] slg:max-w-[940px] slg:w-[calc(940_/_980_*_100%)] after:content-[''] after:block",children:(0,s.jsxs)("div",{className:"items",children:[(0,s.jsxs)("div",{className:"item",children:[(0,s.jsx)("div",{className:"title font-pingFangNormal font-semibold text-[13px] text-[#222] py-[15px] px-0 md:py-[25px] md:px-5 cursor-pointer md:text-[18px] after:mr-[10px] after:content-[''] after:font-normal after:text-xs after:inline-block after:float-right after:text-[var(--arrow-color)] after:transition-transform after:duration-500 after:delay-0 after:ease-in-out after:font-IconFont ".concat(n?"after:rotate-[180deg]":"after:rotate-[0deg]","  md:active:bg-transparent ").concat(l?"":"active:bg-[var(--active-title-bg)]"),onClick:a,children:t.sectionName}),(0,s.jsx)("div",{className:"content ".concat(n?"block":"hidden"),children:(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"programDetails my-[10px] mx-0 md:m-0",children:t.document.map(e=>(0,s.jsx)(tt,{doc:e,onDownload:i},e.id))})})})]}),(0,s.jsx)("div",{className:"line w-full h-[1px] opacity-50 bg-[#999]"})]})})},t.id)},ta=e=>{let{data:{anchorPoint:t,panelPDF:n},index:a,onExpose:i}=e,{refContainer:l}=(0,b.A)(a,i),{triggerEvent:r}=(0,S.Ay)(),[o,d]=(0,c.useState)(()=>Array(n.length).fill(!1));(0,c.useEffect)(()=>{d(Array(n.length).fill(!1))},[n]);let{state:{qtCommonKeys:u,logKey:m}}=(0,c.useContext)(j.B);return(0,s.jsx)("div",{className:"expandablePanel  bg-white   max-w-full pb-20  @container  ".concat(0===a?"mt-16 lg:mt-[72px]":""),id:null==t?void 0:t.id,ref:l,style:{"--arrow-color":"#00ADEF","--active-title-bg":"#CEEBF8"},children:(0,s.jsx)("div",{className:"supplierList",children:n.map((e,t)=>(0,s.jsx)(tn,{itemData:e,isExpanded:o[t],onToggle:()=>{d(e=>e.map((e,n)=>n===t?!e:e))},onDownload:(t,n)=>((e,t,n)=>{var a;a="".concat(t,"(").concat(n,")"),r(S.Bx.CLICK,m.CDL,{...u,panel_name:e,label_name:a})})(e.sectionName,t,n)},e.id))})})};var ti=n(77202),tl=n(9143),tr=n(17485),to=function(e){return e.PC="PC",e.MOBILE="MOBILE",e}({}),ts=function(e){return e.DAY="DAY",e.NONE="NONE",e}({}),tc=function(e){return e.TABLET="tablet",e.LAPTOP="laptop",e.DESKTOP="desktop",e}({});let td={title:"font-title",pingFang:"font-pingFang"};var tu=function(e){return e.TABLET="tablet",e.LAPTOP="laptop",e.DESKTOP="desktop",e}({});class tm{static log(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];tv.debug&&console.log("[Vehicle3D] -- ".concat(e,":"),...n)}}function tp(e){return tv.config.occ.url+e}class th{setHttpClient(e){this.httpClient=e}findSelectedItem(e){return this.features[e].find(e=>!0===e.selected)||{}}mapItemName(e){switch(e){case"exteriorColours":return"paint";case"interiorColours":return"upholstery";case"wheels":return"wheel"}}findFirstConfiguration(e){let{code:t,key:n}=e;return this.configurations.find(e=>e["".concat(this.mapItemName(n),"Code")]===t)}
1cleanFeatures(){let e={exteriorColours:[],interiorColours:[],wheels:[]},t=new Set,n=new Set,a=new Set;this.configurations.forEach(e=>{t.add(e.paintCode),n.add(e.upholsteryCode),a.add(e.wheelCode)}),e.exteriorColours=this.features.exteriorColours.filter(e=>t.has(e.code)),e.interiorColours=this.features.interiorColours.filter(e=>n.has(e.code)),e.wheels=this.features.wheels.filter(e=>a.has(e.code)),tm.log("Removed ".concat(this.features.exteriorColours.length-e.exteriorColours.length," exteriorColours items")),tm.log("Removed ".concat(this.features.interiorColours.length-e.interiorColours.length," interiorColours items")),tm.log("Removed ".concat(this.features.wheels.length-e.wheels.length," wheels items")),this.features=e}isValidSelect(){let e=this.findSelectedItem("exteriorColours"),t=this.findSelectedItem("wheels"),n=this.findSelectedItem("interiorColours");return this.configurations.find(a=>a.paintCode===e.code&&a.wheelCode===t.code&&a.upholsteryCode===n.code)}calculateConjunctionRules(){let e=this.isValidSelect()||this.findFirstConfiguration(this.lastSet),t=new Set,n=new Set,a=new Set;return this.configurations.forEach(i=>{e&&i.paintCode===e.paintCode&&i.wheelCode===e.wheelCode&&n.add(i.upholsteryCode),e&&i.paintCode===e.paintCode&&i.upholsteryCode===e.upholsteryCode&&a.add(i.wheelCode),e&&i.wheelCode===e.wheelCode&&i.upholsteryCode===e.upholsteryCode&&t.add(i.paintCode)}),this.features.exteriorColours.forEach(n=>{n.available=t.has(n.code),n.selected=n.code===(null==e?void 0:e.paintCode)}),this.features.wheels.forEach(t=>{t.available=a.has(t.code),t.selected=t.code===(null==e?void 0:e.wheelCode)}),this.features.interiorColours.forEach(t=>{t.available=n.has(t.code),t.selected=t.code===(null==e?void 0:e.upholsteryCode)}),this.currentConfigurationCode=null==e?void 0:e.configurationCode,e}setItem(e,t){return this.lastSet={code:e,key:t},tm.log("Set selected ".concat(t," to ").concat(e)),this.features[t].forEach(t=>{t.selected=t.code===e}),this}setExteriorColor(e){return this.setItem(e,"exteriorColours")}setInteriorColor(e){return this.setItem(e,"interiorColours")}setWheel(e){return this.setItem(e,"wheels")}async getDefaultSettings(){let e="",{data:t,statusCode:n,message:a,totalCount:i}=await this.httpClient.get(tp("/api/ecommerce/customers/nsts/".concat(this.nstCode,"/communication/configuration")));return tm.log("getDefaultSettingsByNstCode",this.nstCode,t,n,a,i),(null==t?void 0:t.configurationCode)&&(this.currentConfigurationCode=t.configurationCode,this.setExteriorColor(t.paintCode).setInteriorColor(t.upholsteryCode).setWheel(t.wheelCode),this.lastSet={code:"",key:"exteriorColours"},e=t.configurationCode),{configurationCode:e}}async getConfigurations(){let e=await this.httpClient.get(tp("/api/ecommerce/customers/images/configurations?nstCode="+this.nstCode));tm.log("Get response from OCC: ",e);let{data:t,statusCode:n}=e;return tm.log("getConfigurationsByNstCode",this.nstCode,t,n),200===n&&(this.configurations=t),this.configurations}constructor(e){this.nstCode="",this.features={exteriorColours:[],interior
1Colours:[],wheels:[]},this.modelName="",this.msrp="",this.EQ=!1,this.NEV=!1,this.PHEV=!1,this.AMG=!1,this.Maybach=!1,this.gClass=!1,this.threeDModel="DAY",this.intentionFee="",this.extras={classId:"",bodyStyleName:"",bodyStyleChineseName:"",className:"",classChineseName:"",modelName:"",modelChineseName:"",engineName:"",engineChineseName:""},this.engineSpecification={acceleration:"",eVehicleDrivingRange:"",eVehicleDrivingRangePhev:"",peakOutput:"",ratedOutput:"",ratedTorque:""},this.engineSpecifications=[],this.currentConfigurationCode="",this.configurations=[],this.lastSet={code:"",key:"exteriorColours"},this.nstCode=e}}!function(e){e.IMAGE="IMAGE",e.VIDEO="VIDEO"}(a||(a={})),function(e){e.PC="PC",e.MOBILE="MOBILE"}(i||(i={})),function(e){e.DAY="DAY",e.NIGHT="NIGHT"}(l||(l={})),function(e){e.NONE="NONE",e.BOTH="BOTH",e.DAY="DAY",e.NIGHT="NIGHT",e.PREVIEW="PREVIEW"}(r||(r={})),function(e){e.DEGREE_000="DEGREE_000",e.DEGREE_010="DEGREE_010",e.DEGREE_020="DEGREE_020",e.DEGREE_030="DEGREE_030",e.DEGREE_040="DEGREE_040",e.DEGREE_050="DEGREE_050",e.DEGREE_060="DEGREE_060",e.DEGREE_070="DEGREE_070",e.DEGREE_080="DEGREE_080",e.DEGREE_090="DEGREE_090",e.DEGREE_100="DEGREE_100",e.DEGREE_110="DEGREE_110",e.DEGREE_120="DEGREE_120",e.DEGREE_130="DEGREE_130",e.DEGREE_140="DEGREE_140",e.DEGREE_150="DEGREE_150",e.DEGREE_160="DEGREE_160",e.DEGREE_170="DEGREE_170",e.DEGREE_180="DEGREE_180",e.DEGREE_190="DEGREE_190",e.DEGREE_200="DEGREE_200",e.DEGREE_210="DEGREE_210",e.DEGREE_220="DEGREE_220",e.DEGREE_230="DEGREE_230",e.DEGREE_240="DEGREE_240",e.DEGREE_250="DEGREE_250",e.DEGREE_260="DEGREE_260",e.DEGREE_270="DEGREE_270",e.DEGREE_280="DEGREE_280",e.DEGREE_290="DEGREE_290",e.DEGREE_300="DEGREE_300",e.DEGREE_310="DEGREE_310",e.DEGREE_320="DEGREE_320",e.DEGREE_330="DEGREE_330",e.DEGREE_340="DEGREE_340",e.DEGREE_350="DEGREE_350"}(o||(o={}));class tg{setPreviewMode(e){return this.previewMode=e,this}getValidModes(){let e=[r.DAY];return this.previewMode&&e.push(r.PREVIEW),e}async getModels(){var e;let t=await this.httpClient.get(tp("/api/ecommerce/customers/vehicles/nsts?classId="+this.classId)),{data:n,statusCode:a,message:i,totalCount:l=0}=t;tm.log("getNstsByClassId",t);let r=this.getValidModes(),o=null==(e=n.filter(e=>r.includes(e.threeDModel)))?void 0:e.map(e=>{let t=new th(e.code);return t.msrp=e.price,t.modelName=e.vpsName,t.threeDModel=e.threeDModel,t.intentionFee=e.intentionFee,t.features={interiorColours:e.features.interiorColours,exteriorColours:e.features.exteriorColours,wheels:e.features.wheels},t.setHttpClient(this.httpClient),t});return this.models=o,{data:o,statusCode:a,message:i,totalCount:l}}async setCurrentModel(e){let t=this.models.find(t=>t.nstCode===e);return t&&(this.currentNstCode=e,await Promise.all([t.getConfigurations(),t.getDefaultSettings()]),t.cleanFeatures(),t.calculateConjunctionRules()),t}setHttpClient(e){this.httpClient=e}constructor(e){this.classId="",this.currentNstCode="",this.models=[],this.previewMode=!1,this.classId=e}}class tx{setHttpClient(e){return this.httpClient=e,this}async getImages(e){let t=await this.httpClient.get(tp("/api/ecommerce/customers/images/configurations/".concat(this.configurationCode,"?deviceType=").concat(e)));return tm.log("getImagesByConfiguration",this.configurationCode,t),t}constructor(e){this.configurationCode="",this.paintCode="",this.wheelCode="",this.upholsteryCode="",this.configurationCode=e}}class tf{setHttpClient(e){return this.httpClient=e,this}setUrl(e){this.url=e}setPreviewMode(e){this.previewMode=e}getPreviewMode(){return this.previewMode}getGraphQLData(){let e="/api/graphql/bodystyle?"+new URLSearchParams({preview:this.previewMode.toString()});return this.httpClient.get(e)}getPdpData(){return this.httpClient.get(this.url+"/api/strapi/3d-sdk")}constructor(){this.previewMode=!1}}class tv{static init(){tm.log("Vehicle 3D SDK has been initialized!")}static setupDebug(e){return tv.debug=e,tv}static setupOcc(e){return tv.config.occ=e,tv}static setupDots(e){return tv.config.dots=e,tv}static setHttpClient(e){return tv.httpClient=e,tv}static getDotsInstance(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return tv.dotsInstance&&tv.dotsInstance.getPreviewMode()===e||(tv.dotsInstance=new tf,tv.dotsInstance.setPreviewMode(e),tv.dotsInstance.setUrl(tv.config.dots.url),tv.dotsInstance.setHttpClient(tv.httpClient)),tv.dotsInstance}static getStyleInstance(e){if(void 0===tv.styleInstances[e]){let t=new tg(e);t.setHttpClient(tv.httpClient),tv.styleInstances[e]=t}return tv.styleInstances[e]}static getConfigurationInstance(e){if(void 0===tv.configurationInstances[e]){let t=new tx(e);t.setHttpClient(tv.httpClient),tv.configurationInstances[e]=t}return tv.configurationInstances[e]}static mapStrapiEngine(e,t){let n={nstCode:"",msrp:"",technicalSpec:[]};return null==t||t.forEach(t=>{t.attributes.content.forEach(t=>{"ow-common.pdp-engine-overview"===t.__component&&t.vehicleSpec.forEac
1h(t=>{var a;(null==(a=t.engine.data)?void 0:a.attributes.nstCode)===e&&(n.technicalSpec=t.technicalSpec,n.msrp=t.engine.data.attributes.msrp,n.nstCode=t.engine.data.attributes.nstCode)})})}),n}static mapGraphQLModel(e,t){let{graphqlData:n,strapiData:a}=t,i={bodyStyle:null,class:null,model:null,engine:null};try{if(n.bodyStyles.forEach(t=>t.classes.forEach(n=>n.models.forEach(a=>a.engines.forEach(l=>{l.vdmEngineBaseInfo.nstCode===e.nstCode&&(i.bodyStyle=t,i.class=n,i.model=a,i.engine=l.vdmEngineBaseInfo,e.PHEV=l.vdmEngineBaseInfo.phev,e.AMG=l.vdmEngineBaseInfo.brandNameEn.includes("AMG"),e.NEV=a.brand.includes("EQ"),e.EQ=a.brand.includes("EQ"),e.Maybach=l.vdmEngineBaseInfo.brandNameEn.includes("Maybach"),e.gClass=a.brand.includes("G_CLASS"))})))),e.msrp="",i.engine){let t=tv.mapStrapiEngine(i.engine.nstCode,a);t.nstCode&&(e.engineSpecifications=t.technicalSpec,e.msrp=1e4*Number(t.msrp.replace("\xa5","").replace("元","").replace("万","").replace(/,/g,"").trim())+""),e.extras.brand=i.engine.brandNameEn,e.extras.classId=i.class.id,e.extras.bodyStyleName=i.bodyStyle.enName,e.extras.bodyStyleChineseName=i.bodyStyle.cnName,e.extras.className=i.class.enName,e.extras.classChineseName=i.class.cnName,e.extras.modelName=i.model.enName,e.extras.modelChineseName=i.model.cnName,e.extras.engineName=i.engine.enName,e.extras.engineChineseName=i.engine.cnName}}catch(t){tm.log("[Vehicle3D] mapGraphQLModel failed for ",e.nstCode,t.message)}return e}}tv.version="202505060001",tv.platform="",tv.debug=!1,tv.config={dots:{url:"",previewMode:!1},occ:{url:"",token:""}},tv.styleInstances={},tv.configurationInstances={};class tw{}class tb extends tw{async get(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=await fetch(e,{headers:t});return await n.json()}async post(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=await fetch(e,{method:"POST",body:t,headers:n});return await a.json()}}let tE=(0,c.createContext)({state:{qtButtonClick:()=>{},qtSwitchEngine:()=>{}}});function tk(e){let{engines:t,currentEngine:n,chooseEngine:a,setShowVehicleSelector:i}=e,[l,r]=(0,c.useState)((0,tr.A)(n,"engine.nstCode","")),[o,d]=(0,c.useState)((0,tr.A)(n,"engine.cnName","")),u=(0,c.useRef)(null),m=()=>{(0,ex.VS)("Both",!1),i(!1)},{state:{qtButtonClick:p,qtSwitchEngine:h}}=(0,c.useContext)(tE);return(0,c.useEffect)(()=>{u.current&&u.current.addEventListener("wheel",e=>{e.stopImmediatePropagation()})},[]),(0,s.jsx)("div",{className:"w-full h-full flex justify-center items-center",children:(0,s.jsxs)("div",{className:"w-full h-full mx-4 laptop:mx-[2.75rem] relative",children:[(0,s.jsx)("div",{className:"h-[56px] leading-[56px] laptop:h-[3.5rem] laptop:leading-[3.5rem] font-medium text-base text-center text-black"+td.pingFang,children:"选择车款"}),(0,s.jsx)("div",{ref:u,className:"h-[calc(100%_-_56px_-_103px)]  laptop:h-[calc(100%_-_3.5rem_-_6.38rem)] overflow-y-auto no-scrollbar overscroll-contain",children:t.map((e,t)=>(0,s.jsx)("div",{onClick:()=>{r(e.nstCode),d(e.name)},className:"my-3 w-full rounded border border-solid ".concat(l===e.nstCode?"border-[#292929]":"border-gray-30"," cursor-pointer"),children:(0,s.jsxs)("div",{className:"font-pingFangNormal px-3  pt-6 laptop:pt-[1.5rem] pb-3 laptop:pb-4",children:[(0,s.jsxs)("div",{className:"flex justify-between font-medium text-sm leading-5 text-black",children:[(0,s.jsx)("div",{className:"flex-grow flex-wrap pr-4",children:e.name}),e.msrp&&(0,s.jsxs)("div",{className:"flex-shrink-0 whitespace-nowrap",children:[e.msrp,"起"]})]}),(0,s.jsx)("div",{className:"w-full vehicle3d-engine-bg rounded mt-3 px-4 pb-4 grid grid-cols-2 grid-rows-2",children:e.engineSpecs.map((e,t)=>(0,s.jsxs)("div",{className:"mt-4",children:[(0,s.jsx)("div",{className:"font-normal text-sm leading-5",children:e.label}),(0,s.jsx)("div",{className:"mt-[2px] text-[11px] leading-4 opacity-50",children:e.description})]},t))})]})},t))}),(0,s.jsxs)("div",{className:" absolute bottom-0 laptop:h-[9.88rem] w-full z-10 pointer-events-none",children:[(0,s.jsx)("div",{className:"h-[55px] laptop:h-[3.5rem] bg-cta-gradient w-full"}),(0,s.jsxs)("div",{className:"pointer-events-auto bg-white",children:[(0,s.jsx)("div",{className:"ow-btn-solid-black !w-full",onClick:()=>{a(l),m(),i(!1),h({before:n.engine.cnName,after:o})},children:"确定"}),(0,s.jsx)("div",{className:"h-[59px] laptop:h-[2.76rem] leading-[2.76rem] w-full text-center text-sm laptop:text-[0.88rem] cursor-pointer",onClick:()=>{m(),i(!1),p({buttonName:"取消"})},children:"取消"})]})]})]})})}var ty=n(57412),tC=n(28032),tS=n(14710);let tj=e=>{let{engineName:t,openVehicleSelectorMenu:n,msrp:a}=e,{isDesktopMode:i}
1=(0,g.CG)();return(0,s.jsxs)("div",{className:"flex flex-col items-center z-40 relative",children:[(0,s.jsx)("div",{className:"@vehicle-name",children:(0,s.jsxs)("div",{className:"relative text-[1.375rem] tablet:text-[2.125rem] text-center text-white flex justify-center items-center "+td.title,children:[(0,s.jsx)("div",{className:"font-MBCorpo max-w-[calc(100vw_-_80px)]",children:t}),(0,s.jsx)("div",{className:"w-[17px] h-[17px] ml-3 cursor-pointer rounded-full border-[1px] border-white/[.5] flex items-center justify-center absolute right-[-1.525rem] tablet:right-[-1.875rem] top-2 tablet:top-4",onClick:n,children:(0,s.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3756",width:"10",height:"10",transform:i?"scale(1.2)":"scale(1)",children:(0,s.jsx)("path",{d:"M474.282667 690.176L148.053333 363.904l45.226667-45.226667 318.72 318.72 318.72-318.72 45.226667 45.226667-326.229334 326.272a53.333333 53.333333 0 0 1-75.434666 0z","p-id":"3757",fill:"#FFFFFF"})})})]})}),a&&(0,s.jsxs)("div",{className:"@vehicle-price font-pingFangNormal mt-[.5rem] text-[11px] tablet:text-[14px] text-white text-center "+td.pingFang,children:["厂商建议零售价 ",(0,s.jsxs)("span",{children:[a,"èµ·*"]})]})]})};function tA(e){let{label:t,description:n,isMobile:a}=e;return(0,s.jsxs)("div",{className:"font-pingFangNormal flex flex-row w-[50%] desktop:w-[14%] desktop:min-w-[255px] mt-6 desktop:mt-0",children:[(0,s.jsx)("div",{className:"flex invisible desktop:visible w-[1px] bg-[#D8D8D8]/[.5] h-10 mr-4"}),(0,s.jsxs)("div",{className:"mr-2",children:[(0,s.jsx)("div",{className:"text-[15px] text-white text-nowrap"+td.pingFang,children:t}),(0,s.jsx)("div",{className:"".concat(a?"text-[12px]":"text-[14px]"," text-white/[.5]  ").concat(td.pingFang),children:n})]})]})}n(52716);var tN=n(90475);let t_=(0,c.memo)(e=>{let{currentTechniqueSpec:t,configCtaLabel:n,configCtaLink:a,paramButtonClick:i}=e,{media:l}=(0,tC.A)(),r=(0,c.useRef)(null),[o,d]=(0,c.useState)(0),{isHiddenCTA:u}=(0,tN.o)(a||"");return(0,c.useEffect)(()=>{let e=r.current;if(e){let t=e.clientWidth;d((t-(1+parseFloat(getComputedStyle(e.firstChild).marginRight))-e.lastChild.clientWidth)/2)}},[t]),(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("div",{className:"flex w-full justify-center items-center",style:{transform:l===tC.z.DESKTOP?"translateX(".concat(o,"px)"):"unset"},children:(0,s.jsxs)("div",{className:"flex w-[92%]  laptop:max-w-[9999px] laptop:w-full flex-wrap tablet:flex-nowrap desktop:gap-2 justify-center",children:[null==t?void 0:t.map(e=>(0,s.jsx)(tA,{isMobile:l===tC.z.TABLET,label:e.label,description:e.description,id:e.id},e.id)),l!==tC.z.TABLET&&(0,s.jsx)(()=>(0,s.jsxs)("div",{ref:r,className:"".concat(u?"specific-cta":""," font-pingFangNormal flex flex-row ").concat(l===tC.z.TABLET&&(0===t.length||(t.length+1)%2==1)?"w-[100%]":"w-[50%]"," desktop:w-[25%] mt-6 desktop:mt-0"),children:[(0,s.jsx)("div",{className:"flex invisible desktop:visible w-[1px] bg-[#D8D8D8]/[.5] h-10 mr-4"}),(0,s.jsxs)("div",{className:"mr-2",children:[(0,s.jsx)("div",{onClick:i,className:"text-[15px] text-white text-nowrap cursor-pointer "+td.pingFang,children:n}),(0,s.jsxs)("div",{onClick:i,className:"flex justify-start items-center cursor-pointer",children:[(0,s.jsxs)("div",{className:"text-[14px] text-white/[.5] "+td.pingFang,children:["点击查看"," "]}),(0,s.jsx)("span",{children:(0,s.jsx)(f.default,{alt:"arrow",height:0,width:24,src:"/common/[email protected]"})})]})]})]}),{})]})}),l===tC.z.TABLET&&(0,s.jsx)(()=>(0,s.jsx)("div",{className:"".concat(u?"specific-cta":""," flex justify-center items-center mt-6"),children:(0,s.jsxs)("div",{onClick:i,className:"text-[15px] text-white text-nowrap cursor-pointer flex justify-center items-center"+td.pingFang,children:[(0,s.jsx)("span",{children:n}),(0,s.jsx)("span",{children:(0,s.jsx)(f.default,{alt:"arrow",height:0,width:24,src:"/common/[email protected]"})})]})}),{})]})}),tL=(0,c.memo)(e=>{let{ctas:t,qtButtonClick:n,currentGraphqlModel:a}=e;return(0,s.jsx)("div",{className:"flex w-full justify-center gap-[4px] mt-[5vh]",children:null==t?void 0:t.map((e,t)=>{var i;return(null==e||null==(i=e.link)?void 0:i.link)?(0,s.jsx)(eJ.A,{cta:e,className:"",onClick:()=>{n({buttonName:e.label})},model:a},"".concat(e.id,"-").concat(t)):null})})});var tI=n(95635);let tM={src:"/_next/static/media/star.e6f0bd51.png"},tT={src:"/_next/static/media/star_bg_pc.785c5f7b.png"},tB=()=>{let{isDesktopMode:e}=(0,tI.C)();return(0,s.jsx)("div",{style:{backgroundImage:"url(".concat(e?tT.src:tM.src,")")},className:"vehicle3d-star-bg absolute top-0 left-0 w-full h-[50vh] z-2 bg-no-repeat bg-[length:300%_auto] tablet:bg-[length:200%_auto] desktop:bg-[length:100%_auto] bg-top"})};var tD=n(88661),tR=n.n(tD),tF=n(68321),tV=n(44525);function tP(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(tR(),{id:"4d2b1638df04f264",dynamic:[tV.A.ONE_WEB_HOST,tV.A.ONE_WEB_HOST,tV.A.ONE_WEB_HOST],children:'@import url("'.concat(tV.A.ONE_WEB_HOST,'/component/viewer/css/globals.css");@import url("').concat(tV.A.ONE_WEB_HOST,'/component/viewer/css/extensions/spacing.css");@import url("').concat(tV.A.ONE_WEB_HOST,'/component/viewer/css/debuggers/gr
1id.css");')}),(0,s.jsx)(tF.default,{src:"".concat(tV.A.ONE_WEB_HOST,"/component/viewer/workbench/workbench.esm.js"),type:"module"})]})}function tG(e){let{loading:t=!1,images:n,theme:a="light",currentIndex:i=27,className:l="",handleWebChange:r=()=>{},deviceType:o=to.PC,pointerEnd:d=()=>{}}=e,u=(0,c.useRef)(null);return(0,c.useEffect)(()=>{let e=u.current;if(e)return e.addEventListener("wbchange",r),()=>{e.removeEventListener("wbchange",r)}},[r]),(0,c.useEffect)(()=>{let e=u.current;e&&(e.loading=t,e.theme=a)},[t,a,o]),(0,c.useEffect)(()=>{let e=u.current;e&&(e.currentIndex=i)},[i]),(0,c.useEffect)(()=>{let e=u.current;if(e){var t;e.images=null==(t=n||[])?void 0:t.map(e=>({lowRes:{src:e.fileAccessUrl},highRes:{src:e.fileAccessUrl}}))}},[n]),(0,c.useEffect)(()=>{let e=u.current;if(e)return e.addEventListener("pointerup",d),()=>{e.removeEventListener("pointerup",d)}},[d]),(0,s.jsx)("wb-360-viewer",{id:"wb-360-viewer",ref:u,class:l})}function tH(e){var t,n;let{configurationCode:a,occApiPrefix:i,threeDHandleWebChange:l}=e,[r,o]=(0,c.useState)(!1),[d,u]=(0,c.useState)(27),[m,p]=(0,c.useState)({PC:[],MOBILE:[]}),{media:h}=(0,tC.A)(),g=(0,c.useMemo)(()=>h===tc.DESKTOP?to.PC:to.MOBILE,[h]),x=(0,c.useMemo)(()=>"".concat(h)==="".concat(to.MOBILE)?m[to.MOBILE]:m[to.PC],[m,h]);(0,c.useEffect)(()=>{a&&(o(!0),Promise.all([to.PC,to.MOBILE].map(e=>new Promise(async t=>{let n=await fetch("".concat(i,"/api/ecommerce/customers/images/configurations/").concat(a,"?deviceType=").concat(e));t([e,await n.json()])}))).then(e=>{let t={};e.forEach(e=>{let[n,a]=e;t[n]=a}),p(t),o(!1)}))},[a,i]);let{state:{qtButtonClick:f}}=(0,c.useContext)(tE);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(tP,{}),(0,s.jsx)(tG,{loading:r,currentIndex:d,images:null==x||null==(n=x.data)||null==(t=n.exterior3d)?void 0:t.day,theme:"light",handleWebChange:e=>{u(e.currentTarget.currentIndex),l&&l(e)},className:"w-full h-full desktop:max-w-[50rem]",deviceType:g,pointerEnd:()=>{f({buttonName:"3D外观旋转"})}})]})}let tW=c.memo(e=>{let{link:t,text:n,device:a,width:i,fontSize:l,theme:r,onClick:o}=e,{isHiddenCTA:c}=(0,tN.o)(t||""),d=a===tu.DESKTOP?"".concat(i||"w-[10.31rem]"," h-[2.75rem] rounded-[1.88rem] leading-[2.75rem]"):a===tu.LAPTOP?"".concat(i||"w-[163px]"," h-11 rounded-[30px] leading-[44px]"):"",u="".concat(r||"ow-btn-solid-white"," ").concat(c?"specific-cta":""," ").concat(d," border border-solid border-black ").concat(l||"text-base"," font-pingFangNormal text-center font-semibold font-pingFang cursor-pointer");return(0,s.jsx)("div",{className:u,onClick:o,children:n})}),tU=e=>{var t,n,a,i;let{currentEngine:l,configurationCode:r,occApiPrefix:o,handleWebChange:c,viewThreeDCtaClick:d}=e;return(0,s.jsxs)("div",{style:{transform:"translateY(-10%)"},className:"@3d-container relative w-full h-full flex justify-center items-center",children:[(0,s.jsx)("div",{className:"w-full h-full z-20 scale-[1.8] tablet:scale-[1.4]",children:(0,s.jsx)(tH,{configurationCode:r,occApiPrefix:o,threeDHandleWebChange:c})}),(0,s.jsx)("div",{className:"@3d-base absolute invisible tablet:visible tablet:flex items-center justify-center cursor-pointer z-10 desktop:-bottom-[3rem] -bottom-[2rem] w-[90vw] tablet:w-[155%] h-[12.9vw] tablet:max-w-[75vw] desktop:max-w-[1000px] max-h-[200px] bg-[length:100%_100%] bg-no-repeat bg-[url('/vehicles/base.png')]"}),l.ctaLabel&&(0,s.jsx)("div",{className:"@vehicle-3d-view-car absolute flex z-30 desktop:-bottom-[4rem] tablet:-bottom-[3rem] -bottom-[4rem] ",children:(null==l||null==(n=l.ctaLink)||null==(t=n.link)?void 0:t.link)&&(0,s.jsx)(tW,{link:null==l||null==(i=l.ctaLink)||null==(a=i.link)?void 0:a.link,text:l.ctaLabel,device:tc.DESKTOP,width:"!w-[6rem] !h-[2.25rem] !leading-[2.25rem]",fontSize:"text-sm",onClick:d})})]})},tK=e=>{var t,n,a,i;let{currentEngine:l,engineImageUrl:r,isVan:o,viewThreeDCtaClick:c}=e,{media:d}=(0,tC.A)();return(0,s.jsxs)("div",{className:"@2d-container relative w-[100%] ".concat(d===tc.TABLET?"h-[20vh]":"h-full"," flex justify-center items-center"),children:[(0,s.jsx)(f.default,{src:r,objectFit:"contain",fill:!0,alt:"",className:"absolute tablet:max-h-[90%] tablet:h-auto tablet:w-auto tablet:max-w-[100%] w-[100%] h-auto"}),l.ctaLabel&&o&&(0,s.jsx)("div",{className:"@vehicle-3d-view-car absolute flex z-30 desktop:-bottom-[0.5rem] tablet:-bottom-[3rem] -bottom-[4rem] ",children:(null==l||null==(n=l.ctaLink)||null==(t=n.link)?void 0:t.link)&&(0,s.jsx)(tW,{link:null==l||null==(i=l.ctaLink)||null==(a=i.link)?void 0:a.link,text:l.ctaLabel,device:tc.DESKTOP,width:"!w-[6rem] !h-[2.25rem] !leading-[2.25rem]",fontSize:"text-sm",onClick:c})})]})},tQ=(0,c.memo)(e=>{let{isVehicle3DAvailable:t,isVan:n,scaleValue:a,vehicleImgLoaded:i,currentEngine:l,engineImageUrl:r,configurationCode:o,occApiPrefix:c,handleWebChange:d,viewThreeDCtaClick:u}=e,m=t?"desktop:min-h-[20vh] desktop:max-w-[600px] w-[50vw] flex items-center justify-center z-20":"".concat(n?"mt-2":"mt-0 tablet:mt-12"," desktop:min-h-[40vh] desktop:max-w-[800px] w-[90vw] flex items-center justify-center z-20 h-full");return(0,s.jsx)("div",{className:"mt-0  laptop:mt-0 h-full flex justify-center items-center z-20 ".concat(t?"desktop:min-h-[20vh] desktop:max-w-[600px] w-[50vw]":"".concat(a<.65?"tablet:min-h-[70vh]":a<.75?"tablet:min-h-[60vh]":"tablet:min-h-[40vh]","  desktop:max-w-[800px] w-[90vw] h-full")),children:i?(0,s.jsx)("div",{className:m,children:t?(0,s.jsx)(tU,{currentEngine:l,configurationCode:o,occApiPrefix:c,handleWebChange:d,viewThreeDCtaClick:u}):(0,s.jsx)(tK,{currentEngine:l,engineImageUrl:r,isVan:n,viewThreeDCtaClick:u})}):(0,s.jsx)(s.Fragment,{})})});function tO(e){var t,n,a;let{data:i,occApiPrefix:l,onewebUrl:r,specialCtaDisabled:o=!1,index:d,onExpose:u}=e,[m,p]=(0,c.useState)(1),{triggerEvent:h}=(0,S.Ay)(),{media:g}=(0,tC.A)(),{refContainer:x,componentInfo:f}=(0,b.A)(d,u),{state:{qtCommonKeys:v,logKey:w,qtClickKeys:E={}}}=(0,c.useContext)(j.B),{state:{isPreviewMode:k}}=(0,c.useContext)(tS.P);tv.setupOcc({url:l}).setupDots({url:r}).setHttpClient(new tb).init();let[y,C]=(0,c.useState)({component_id:"",component_name:"",current_theme_name:""}),A=(0,el.m0)()||(0,el.un)(),[N,_]=(0,c.useState)(""),[L,I]=(0,c.useState)(!1),[M,T]=(0,c.useState)(27),[D,R]=(0,c.useState)(!0),[F,V]=(0,c.useState)({}),[P,G]=(0,c.useState)({}),[H,W]=(0,c.useState)({}),[U,K]=(0,c.useState)({}),[Q,O]=(0,c.useState)([]),[J,Y]=(0,c.useState)({}),[q,X]=(0,c.useState)(i[0]),[Z,z]=(0,c.useState)(""),[$,ee]=(0,c.useState)(!0),[et,en]=(0,c.useState)(""),ea=(0,c.useMemo)(()=>(0,tr.A)(q,"engine.nstCode",""),[q]),ei=(0,c.useMemo)(()=>"13"===ea.substring(6,8),[q,ea]),er=(0,c.useMemo)(()=>!!Z,[Z]),eo=(0,c.useMemo)(()=>!o&&L,[L,o]),[es,ec]=(0,c.useState)(!1),ed=(0,c.useCallback)(e=>{let t=e.currentTarget.currentIndex;27!==t&&$&&ee(!1),T(t)},[$]),eu=(0,c.useMemo)(()=>(0,tr.A)(q,"engine.cnName","")||(0,tr.A)(q,"engine.chineseName",""),[q]),em=(0,c.useMemo)(()=>(0,tr.A)(q,"msrp"),[q]),ep=(0,c.useMemo)(()=>
1g===tu.DESKTOP?(0,tr.A)(q,"engine.allDetailSpecEngineVehicleImageDesktop.url",""):(0,tr.A)(q,"engine.allDetailSpecEngineVehicleImageMobile.url",(0,tr.A)(q,"engine.allDetailSpecEngineVehicleImageDesktop.url","")),[q,g]),eh=(0,c.useMemo)(()=>null==i?void 0:i.map(e=>({id:e.id,nstCode:(0,tr.A)(e,"engine.nstCode",""),name:(0,tr.A)(e,"engine.cnName",""),msrp:(0,tr.A)(e,"engine.msrp",""),engineSpecs:e.technicalSpec||[]})),[i]),eg=(0,c.useMemo)(()=>{var e;return null==(e=i.find(e=>{var t,n;return(null==e||null==(t=e.engine)?void 0:t.nstCode)===(null==q||null==(n=q.engine)?void 0:n.nstCode)}))?void 0:e.cta},[q]),ef=(0,c.useCallback)(e=>{_(e.srcElement.id||""),g!==tu.DESKTOP&&"wb-360-viewer"===e.srcElement.id&&e.preventDefault()},[g]),ev=e=>{let{buttonName:t}=e,n={...E,...y,button_type:S.VQ.PAGE_FUNCTION_BUTTON,button_name:t};h(S.Bx.CLICK,w.CLK,n)},ew=(0,c.useCallback)(e=>{let t=i.find(t=>(0,tr.A)(t,"engine.nstCode")===e);t&&(0,tr.A)(t,"engine.nstCode")!==ea&&(R(!1),X(t),O(t.technicalSpec))},[i,ea]),eb=(0,c.useCallback)(()=>{ev({buttonName:q.configCtaLabel}),(0,e_.XX)(),setTimeout(()=>{var e,t;window.location.href="".concat(null==(t=q.configCtaLink)||null==(e=t.link)?void 0:e.link,"?code=").concat(ea,"&body=").concat(null==P?void 0:P.enName)},400)},[ev]),eE=(0,c.useCallback)(()=>{ev({buttonName:q.ctaLabel}),(0,e_.XX)(),(0,e_.CU)(q.ctaLink.link.link,"navigate"),window.location.href="".concat(q.ctaLink.link.link).concat(ei?"?rccVehicleModelId=".concat((0,tr.A)(U,"nstCode","").substr(0,6)):"?classId=".concat(et,"&nstCode=").concat(ea))},[q,et,ea]),ek=async()=>{try{let t=await (0,ty.gA)(ea);if(t){let{classCode:n="",displayThreeDOption:a=""}=t;en(n),I(a===ts.DAY);var e=a===ts.DAY;if(z(""),n&&e){let e=tv.getStyleInstance(n);e.getModels().then(async t=>{let{data:n}=t,a=n.find(e=>e.nstCode===ea);if(a){let{currentConfigurationCode:t}=await e.setCurrentModel(a.nstCode);t&&z(t)}R(!0)}).catch(()=>{R(!0)})}else R(!0)}else en(""),z(""),I(!1),R(!0)}catch(e){console.error(e)}};return(0,c.useEffect)(()=>{ea&&ek()},[ea]),(0,c.useLayoutEffect)(()=>{let e=window.getComputedStyle(document.body).overflow;return es&&(document.body.style.overflow="hidden"),()=>{document.body.style.overflow=e}},[es]),(0,c.useEffect)(()=>{C({...v,component_id:""+(f.index+1),component_name:f.name,current_theme_name:f.anchorHeading})},[v,f]),(0,c.useEffect)(()=>{var e;X(null==i?void 0:i[0]),O(null==i||null==(e=i[0])?void 0:e.technicalSpec)},[i]),(0,c.useEffect)(()=>{tv.getDotsInstance(k).getGraphQLData().then(e=>{Y(e.data)})},[k]),(0,c.useEffect)(()=>{let e=((e,t)=>{let n={engine:{},model:{},class:{},body:{}};if(e&&t){var a;null==(a=t.bodyStyles)||a.forEach(t=>{t.classes.forEach(a=>{a.models.forEach(i=>{i.engines.forEach(l=>{l.vdmEngineBaseInfo.nstCode===e&&(n.engine=l.vdmEngineBaseInfo,n.model=i,n.class=a,n.body=t)})})})})}return n})(ea,J);V(e.model),W(e.class),G(e.body),K(e.engine)},[ea,J]),(0,c.useEffect)(()=>{if(N&&eo&&er&&y.component_name&&em){console.log("3d触发qt事件");let e={...E,...y,button_name:"3d外观旋转",page_title:"vdp_3d_button_clk",page_name:"vehicles_detail_page"};h(S.Bx.CLICK,w.CLK,e)}},[y,em,M,eo,er,N]),(0,c.useEffect)(()=>{var e,t;let n=(0,B.A)(()=>{var e;let t=null==(e=x.current)?void 0:e.clientHeight;t&&p(window.innerHeight/t),document.documentElement.style.setProperty("--vh",.01*window.innerHeight+"px")},200);return A||(n(),window.addEventListener("resize",n)),null==(e=document)||e.body.addEventListener("touchstart",ef,{passive:!1}),null==(t=document)||t.body.addEventListener("mousedown",ef,{passive:!1}),()=>{var e,t;null==(e=document)||e.body.removeEventListener("touchstart",ef),null==(t=document)||t.body.removeEventListener("mousedown",ef),A||window.removeEventListener("resize",n)}},[]),(0,s.jsx)(tE.Provider,{value:{state:{qtButtonClick:ev,qtSwitchEngine:e=>{let{before:t,after:n}=e,a={...y,vehicle_configuration_name_befor:t,vehicle_configuration_name_after:n};h(S.Bx.CLICK,w.VCS,a)}}},children:(0,s.jsxs)("div",{className:"vehicle3d-car-info flex justify-center items-center h-screen relative",children:[(0,s.jsx)(tB,{}),(0,s.jsx)("div",{"data-component":"vehicle-3d",ref:x,style:A?{}:{transform:"scale(".concat(m,")")},className:"@vehicle3d-container flex relative w-screen min-w-[375px] tablet:min-h-[57.75rem] desktop:min-h-[53.75rem] h-[100vh] overflow-hidden border-t-gray-900 transition-transform duration-300 ease-[
1cubic-bezier(0.2,0,0.1,1)] origin-center",children:(0,s.jsxs)("div",{className:"flex flex-col w-full h-full items-center  z-20 ".concat(g===tu.TABLET?"justify-evenly":"justify-center"," ").concat(A?"pb-[10dvh]":""),children:[(0,s.jsx)("section",{role:"header",className:"mt-12  ".concat(m<.75?"tablet:mt-0":"tablet:mt-32"),children:(0,s.jsx)(tj,{engineName:eu,openVehicleSelectorMenu:()=>{ev({buttonName:"切换车型"}),ec(!es),(0,ex.VS)("Both",!0)},msrp:null==q||null==(t=q.engine)?void 0:t.msrp})}),(0,s.jsx)("section",{role:"body",className:er?"min-h-[200px]":"",children:(0,s.jsx)(tQ,{isVehicle3DAvailable:er,vehicleImgLoaded:D,isVan:ei,scaleValue:m,currentEngine:q,engineImageUrl:ep,configurationCode:Z,occApiPrefix:l,handleWebChange:ed,viewThreeDCtaClick:eE})}),(0,s.jsx)("section",{role:"footer",className:"mt-0 tablet:mt-10 w-full px-6",children:(0,s.jsx)("div",{className:"@vehicle-params-such-as-3d-button-and-specs ".concat(er?"desktop:mt-[5rem]":"mt-0","   w-full justify-center flex tablet:h-[calc(100vh_-_72px_-_131px_-44vh)] h-sm:!h-auto"),children:(0,s.jsxs)("div",{className:"flex flex-col w-full laptop:w-full laptop:min-w-[800px] items-center justify-start",children:[(0,s.jsx)(t_,{configCtaLabel:q.configCtaLabel,currentTechniqueSpec:Q,configCtaLink:null==(a=q.configCtaLink)||null==(n=a.link)?void 0:n.link,paramButtonClick:eb}),(0,s.jsx)(tL,{ctas:eg,qtButtonClick:ev,currentGraphqlModel:F})]})})})]})}),es?(0,s.jsx)("div",{className:"block laptop:hidden w-full h-[calc(100dvh_-_64px)] top-[64px] fixed left-0 right-0 bg-white z-[5000] origin-center ",style:A?{}:{transform:"scale(".concat(m,")")},children:(0,s.jsx)(tk,{device:tu.LAPTOP,engines:eh,chooseEngine:ew,currentEngine:q,setShowVehicleSelector:ec})}):null,es?(0,s.jsx)("div",{className:"desktop-modal-mask fixed inset-0 bg-black-60 justify-center items-center z-[99999] origin-center ",children:(0,s.jsx)("div",{style:A?{}:{transform:"scale(".concat(m,")")},className:"w-[29.44rem] max-h-[42.19rem] h-[80vh] rounded-[0.25rem] bg-white overscroll-contain",children:(0,s.jsx)(tk,{device:tu.DESKTOP,engines:eh,chooseEngine:ew,currentEngine:q,setShowVehicleSelector:ec})})}):null]})})}var tJ=function(e){return e.fullWidthLargeTile="Full-width Large Tile",e.oneSmallOneMediumTiles="One Small One Medium Tiles",e.oneMediumOneSmallTiles="One Medium One Small Tiles",e.threeSmallTiles="Three Small Tiles",e}({}),tY=function(e){return e.black="black",e.white="white",e}({}),tq=n(12669);n(33886);let tX=e=>{let{title:t,description:n,backgroundImageDesktop:a,backgroundImageMobile:i,onClose:l,textColor:r}=e;return(0,s.jsx)("div",{className:"fixed bg-[rgba(0,0,0,0.9)] w-[100vw] min-h-[100vh] top-0 left-0 z-[9999] flex justify-center items-start lg:overflow-y-auto",children:(0,s.jsx)("div",{className:"relative w-[90vw] max-w-[940px]",children:(0,s.jsxs)("div",{className:"promo-panel-popup-container w-full mt-[6rem] text-center pt-5 relative",children:[(0,s.jsx)("i",{className:"promo-panel-close",onClick:l}),(0,s.jsx)("div",{className:"w-full h-full flex items-center justify-center",children:(0,s.jsxs)("picture",{children:[(0,s.jsx)("source",{media:"(min-width: 1024px)",srcSet:a.url}),(0,s.jsx)("source",{media:"(min-width: 300px)",srcSet:i.url}),(0,s.jsx)("img",{src:null==a?void 0:a.url,alt:null==a?void 0:a.alternativeText,className:"!w-auto h-auto lg:max-h-[320px] desktop:max-h-[50vh]"})]})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"my-[10px] font-MBCorpo text-[24px] "+r,children:(0,s.jsx)("pre",{className:"w-full font-MBCorpo break-all !text-pretty text-wrap",children:t})}),(0,s.jsx)("div",{className:"font-pingFangNormal text-sm leading-[1.7] text-left max-w-[600px] m-[0_auto] "+r,children:(0,s.jsx)("pre",{className:"w-full font-pingFangMedium break-all !text-pretty text-wrap",children:n})})]})]})})})},tZ=e=>{var t,n,a,i;let{classNames:l="",data:r={},backgroundImageZoomInEffect:o=!1,fullWidthPanel:d=!1,tileLayout:u=tJ.fullWidthLargeTile,onClick:m}=e,{media:p}=(0,tC.A)(),[h,g]=(0,c.useState)("_self"),x=(0,c.useMemo)(()=>(null==r?void 0:r.textColor)===tY.black?"text-black":"text-white",[null==r?void 0:r.textColor]),v=(0,c.useMemo)(()=>{var e,t;return p===tC.z.DESKTOP?null==r||null==(e=r.backgroundImageDesktop)?void 0:e.width:null==r||null==(t=r.backgroundImageMobile)?void 0:t.width},[p,null==r||null==(t=r.backgroundImageDesktop)?void 0:t.width,null==r||null==(n=r.backgroundImageMobile)?void 0:n.width]),w=(0,c.useMemo)(()=>{var e,t;return p===tC.z.DESKTOP?null==r||null==(e=r.backgroundImageDesktop)?void 0:e.he
1ight:null==r||null==(t=r.backgroundImageMobile)?void 0:t.height},[p,null==r||null==(a=r.backgroundImageDesktop)?void 0:a.height,null==r||null==(i=r.backgroundImageMobile)?void 0:i.height]);(0,c.useEffect)(()=>{var e;if(null==r||null==(e=r.ctaLink)?void 0:e.includes("mercedes-benz.com"))try{let{hostname:e}=new URL(r.ctaLink);e!==window.location.hostname&&g("_blank")}catch(e){}},[null==r?void 0:r.ctaLink]);let b=(0,c.useCallback)(()=>{m&&m((null==r?void 0:r.ctaLabel)||""),(null==r?void 0:r.ctaLink)&&("_blank"===h?window.open(null==r?void 0:r.ctaLink,"_blank"):window.location.href=null==r?void 0:r.ctaLink)},[h,null==r?void 0:r.ctaLink,m]),E=(0,c.useCallback)(()=>{(null==r?void 0:r.enlargeImageOnClick)?(e=>{let{title:t,description:n,backgroundImageDesktop:a,backgroundImageMobile:i,textColor:l}=e,r=document.createElement("div");return document.body.appendChild(r),document.body.classList.add("overflow-hidden"),(0,tq.createRoot)(r).render((0,s.jsx)(tX,{textColor:l,title:t,description:n,backgroundImageDesktop:a,backgroundImageMobile:i,onClose:()=>{r.remove(),document.body.classList.remove("overflow-hidden")}}))})({title:"".concat((null==r?void 0:r.title)||""),description:"".concat((null==r?void 0:r.description)||""),backgroundImageDesktop:null==r?void 0:r.backgroundImageDesktop,backgroundImageMobile:r.backgroundImageMobile,textColor:x}):b()},[null==r?void 0:r.description,null==r?void 0:r.title,null==r?void 0:r.backgroundImageDesktop,r.backgroundImageMobile,null==r?void 0:r.enlargeImageOnClick,x,b]);return r.backgroundImageDesktop&&r.backgroundImageMobile&&r?(0,s.jsxs)("div",{className:"promo-panel-item group h-full relative cursor-pointer overflow-hidden "+l,children:[o?(0,s.jsx)("div",{className:"promo-panel-img-container z-20 w-full h-auto relative overflow-hidden "+(u===tJ.fullWidthLargeTile?" lg:min-h-[18.75rem]":""),onClick:E,children:(0,s.jsxs)("picture",{children:[(0,s.jsx)("source",{media:"(min-width: 1024px)",srcSet:null==r?void 0:r.backgroundImageDesktop.url}),(0,s.jsx)("source",{media:"(min-width: 300px)",srcSet:null==r?void 0:r.backgroundImageMobile.url}),(0,s.jsx)(f.default,{className:"promo-panel-img block transition-all duration-1000 w-full h-auto group-hover:scale-110",quality:100,src:null==r?void 0:r.backgroundImageDesktop.url,alt:null==r?void 0:r.backgroundImageDesktop.alternativeText,width:v,height:w})]})}):(0,s.jsx)("div",{className:"z-20 w-full h-auto lg:min-h-[18.75rem] relative overflow-hidden min-h-auto",onClick:E,children:(0,s.jsxs)("picture",{children:[(0,s.jsx)("source",{media:"(min-width: 1024px)",srcSet:null==r?void 0:r.backgroundImageDesktop.url}),(0,s.jsx)("source",{media:"(min-width: 300px)",srcSet:null==r?void 0:r.backgroundImageMobile.url}),(0,s.jsx)(f.default,{className:"promo-panel-img block transition-all duration-1000 w-full h-auto ",quality:100,src:null==r?void 0:r.backgroundImageDesktop.url,alt:null==r?void 0:r.backgroundImageDesktop.alternativeText,width:v,height:w})]})}),(0,s.jsx)("div",{className:"bg-black-50 w-full h-full absolute top-0 opacity-0"}),(null==r?void 0:r.enlargeImageOnClick)?(0,s.jsx)("div",{className:"w-full h-auto bg-[#00000080] px-[20px] absolute bottom-0 z-40 "+((null==r?void 0:r.title)||" hidden"),onClick:E,children:(0,s.jsx)("div",{className:"p-[10px_0] text-sm leading-6 min-h-[44px] font-MBCorpo "+x,children:(0,s.jsx)("pre",{className:"w-full font-MBCorpo break-all !text-pretty text-wrap",children:null==r?void 0:r.title})})}):(0,s.jsx)("div",{className:"z-40 lg:top-0 left-0 p-[20px] flex w-full h-auto lg:h-full items-center "+(u===tJ.fullWidthLargeTile?" absolute top-[calc(50%_-_56px)] ":u===tJ.threeSmallTiles?" absolute top-[calc(50%_-_56px)] lg:pl-[20px] pl-[36px]":!0===d?" absolute top-[calc(50%_-_56px)] ":" relative lg:absolute "+(u===tJ.oneMediumOneSmallTiles||u===tJ.oneSmallOneMediumTiles?" !p-[20px_20px_0px_0px] lg:!p-[20px] ":"")),onClick:b,children:(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-[1.125rem] lg:text-[2.25rem] font-MBCorpo "+x,children:(0,s.jsx)("pre",{className:"w-full font-MBCorpo break-all !text-pretty text-wrap",children:null==r?void 0:r.title})}),(null==r?void 0:r.description)&&(0,s.jsx)("div",{className:"text-xs lg:text-base font-pingFangMedium mb-[10px] lg:mb-[26px] block "+x,children:(0,s.jsx)("pre",{className:"w-full font-pingFangNormal break-all !text-pretty text-wrap",children:null==r?void 0:r.description})}),!(null==r?void 0:r.enlargeImageOnClick)&&(null==r?void 0:r.ctaLabel)&&(null==r?void 0:r.ctaLink)&&(0,s.jsx)("div",{className:"max-w-[440px] block",children:(0,s.jsx)("div",{className:"font-pingFangNormal mb-[16px] lg:mb-[26px] text-base",children:(0,s.jsxs)("span",{className:"inline-block relative text-[13px] z-2 pb-[4px] hover:text-[#00ADEF] "+x,children:["> ",null==r?void 0:r.ctaLabel]})})})]})})]}):(0,s.jsx)(s.Fragment,{})},tz=e=>{let{data:{anchorPoint:t,tileLayout:n=tJ.fullWidthLargeTile,sectionHeading:a="",tileContent:i=[],fullWidthPanel:l=!1,backgroundImageZoomInEffect:r=!1,sectionTheme:o},index:d,onExpose:u}=e,{refContainer:m,componentInfo:p}=(0,b.A)(d,u),{triggerEvent:h}=(0,S.Ay)(),{state:{qtCommonKeys:g,logKey:x,qtClickKeys:f={}}}=(0,c.useContext)(j.B),v=e=>{h(S.Bx.CLICK,x.CLK,{...g,...f,component_id:""+(p.index+1),component_name:p.name,current_theme_name:p.anchorHeading,button_type:S.VQ.COMPONENT_CLICK,button_name:e})};return(0,s.jsx)("div",{id:null==t?void 0:t.id,ref:m,className:"promo-panel-container w-full relative "+(0===d?"mt-[64px] lg:mt-[72px]":"")+("background_black"===o?" bg-black ":" bg-white "),children:(0,s.jsxs)("div",{className:"promo-panel w-full",children:[a&&(0,s.jsx)("div",{className:"promo-panel-section-header block overflow-hidden lg:max-w-[58.75rem] m-[0_auto] mx-[20px] lg:mx-[auto]",children:(0,s.jsx)("div",{className:"promo-panel-section-header-subtitle my-10 text-white text-center relative",children:(0,s.jsx)("span",{className:("background_black"===o?" text-white ":" text-[#666] ")+"font-MBCorpo p-[0_14px] z-2 relative before:bg-[#666] before:content-[''] before:w-[650px] before:h-[1px] before:absolute before:-left-[650px] before:z-1 before:top-[14px] lg:before:top-[20px] after:bg-[#666] after:content-[''] after:w-[650px] after:h-[1px] after:absolute after:-right-[650px] after:z-1 after:top-[14px] lg:after:top-[20px] text-[1.5rem] lg:text-[2.25rem] ",children:a})})}),(0,s.jsx)("div",{className:"promo-panel-tile-content relative flex w-full h-auto pb-4 lg:p-0 m-[0_auto] lg:pb-[50px] "+(!0===l?" flex-col lg:flex-row ":" lg:max-w-[58.75rem] px-4 ")+(n===tJ.threeSmallTiles?" flex-col lg:flex-row !px-0 !px-auto ":"")+(n===tJ.fullWidthLargeTile?" lg:pb-0 ":" "),children:n===tJ.fullWidthLargeTile?tZ({classNames:"w-full",data:i[0],backgroundImageZoomInEffect:r,fullWidthPanel:l,tileLayout:n,onClick:v}):n===tJ.oneSmallOneMediumTiles?[{classNames:(l?"w-full ":"w-1/2")+" lg:w-1/3",data:i[0],backgroundImageZoomInEffect:r,fullWidthPanel:l,tileLayout:n},{classNames:(l?"w-full lg:w-2/3 lg:ml-[10px]":"w-1/2 ml-[10px]")+" lg:w-2/3",data:i[1],backgroundImageZoomInEffect:r,fullWidthPanel:l,tileLayout:n}].map(e=>tZ({...e,onClick:v})):n===tJ.oneMediumOneSmallTiles?[{classNames:(l?"w-full ":"w-1/2")+" lg:w-2/3",data:i[0],backgroundImageZoomInEffect:r,fullWidthPanel:l,tileLayout:n},{classNames:(l?"w-full lg:ml-[10px]":"w-1/2 ml-[10px]")+" lg:w-1/3 ",data:i[1],backgroundImageZoomInEffect:r,fullWidthPanel:l,tileLayout:n}].map(e=>tZ({...e,onClick:v})):n===tJ.threeSmallTiles?[{classNames:"w-full lg:w-1/3 "+(!0!==l&&" px-4 lg:px-0 "),data:i[0],backgroundImageZoomInEffect:r,fullWidthPanel:l,tileLayout:n},{classNames:"w-full lg:w-1/3 mt-[20px] lg:mt-auto lg:ml-[10px] "+(!0!==l&&" px-4 lg:px-0 "),data:i[1],backgroundImageZoomInEffect:r,fullWidthPanel:l,tileLayout:n},{classNames:"w-full lg:w-1/3 mt-[20px] lg:mt-auto lg:ml-[10px] "+(!0!==l&&" px-4 lg:px-0 "),data:i[2],backgroundImageZoomInEffect:r,fullWidthPanel:l,tileLayout:n}].map(e=>tZ({...e,onClick:v})):null})]})})};var t$=n(65380);n(79730);let t0=e=>{var t,n,a;let{item:i,setShowPopup:l,swiperRef:r,onClick:o,setActiveIndex:d}=e,{elementRef:u,updateCursorOffset:m}=(e=>{let t=(0,c.useRef)(null),n=(0,c.useCallback)(e=>e*e*(3-2*e),[]),a=(0,c.useCallback)((a,i)=>{if(!t.current)return;let l=t.current.getBoundingClientRect(),r=Math.max(0,Math.min(1,(a-l.left)/l.width)),o=Math.max(0,Math.min(1,(i-l.top)/l.height)),s=n(r)*e.width,c=n(o)*e.height;t.current.style.cursor="url('/common/icon-expand.png') ".concat(s," ").concat(c,", auto")},[e.width,e.height,n]);return{elementRef:t,updateCursorOffset:a}})({width:36,height:36});return(0,s.jsx)("div",{onClick:()=>{var e;o("media"+((i.index||0)+1)),null==(e=r.current)||e.slideToLoop(i.index||0,0),d(i.index||0),setTimeout(()=>{l(!0)},10)},className:"overflow-hidden",ref:u,onMouseMove:e=>{m(e.clientX,e.clientY)},children:i&&i.media&&(0,s.jsx)(f.default,{src:((null==i||null==(t=i.media)?void 0:t.mime.includes("image"))?null==(n=i.media)?void 0:n.url:(null==i||null==(a=i.media)?void 0:a.mime.includes("video"))&&(null==i?void 0:i.videoPosterImage)?i.videoPosterImage.url:"")||"",alt:"",width:i.media.width||300,height:i.media.height||300,style:{width:"100%",height:"auto"},loading:"lazy",quality:80})})},t1=e=>{var t,n,a;let{data:i,index:l=0,onExpose:r}=e,o=(0,c.useRef)(null),[d,u]=(0,c.useState)(!1),[m,p]=(0,c.useState)(0),[h,g]=(0,c.useState)([]),[x,v]=(0,c.useState)([]),[w,E]=(0,c.useState)([]),{refContainer:k,componentInfo:y}=(0,b.A)(l,r),[C,A]=(0,c.useState)(!1),N=(0,c.useRef)([]),_=(0,c.useRef)(m),L=(0,c.useRef)(void 0),I=(0,c.useRef)(!1),[M,T]=(0,c.useState)(!1),{isDesktopMode:D}=(0,tI.C)(),[R,F]=(0,c.useState)(!1);(0,c.useEffect)(()=>{var e;((0,el.m0)(navigator.userAgent)||(0,el.ho)(navigator.userAgent)||(0,el.g1)(navigator.userAgent)||(0,el.Nh)(navigator.userAgent))&&F(!0),(null==(e=k.
1current)?void 0:e.getBoundingClientRect().top)===0&&T(!0),i.media.forEach(e=>{var t,n,a;if(null==(n=e.media)||null==(t=n.mime)?void 0:t.includes("video")){let t=document.createElement("video");t.src=null==(a=e.media)?void 0:a.url,t.preload="metadata"}}),g(i.media)},[i]);let V=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return;let{currentTime:n,duration:a}=e;G(S.Bx.OTHER,W.VPE,{...H,component_id:""+(y.index+1),component_name:y.name,current_theme_name:y.anchorHeading,watch_time:n.toFixed(0),video_play_proportion:(n/a).toFixed(2),is_watch_end:n===a?"true":"false",is_close:t?"是":"否",video_time:a.toFixed(0),video_name:e.getAttribute("data-video-name")||""})},P=e=>{e&&(e.pause(),e.currentTime=0,e.muted=!0)},{triggerEvent:G}=(0,S.Ay)(),{state:{qtCommonKeys:H,logKey:W,qtClickKeys:U={}}}=(0,c.useContext)(j.B),K=e=>{G(S.Bx.CLICK,W.CLK,{...H,...U,component_id:""+(y.index+1),component_name:y.name,current_theme_name:y.anchorHeading,button_type:S.VQ.COMPONENT_CLICK,button_name:e})},Q=e=>{K(e)};(0,c.useEffect)(()=>{I.current=d,d?document.body.classList.add("gallery-body-overflow-hidden"):document.body.classList.remove("gallery-body-overflow-hidden")},[d]),(0,c.useEffect)(()=>{let[e,t]=h.reduce((e,t,n)=>{let a={...t,index:n};return e[n%2].push(a),e},[[],[]]);v(e),E(t)},[h]),(0,c.useEffect)(()=>{var e;d&&(e=>{var t,n;if(void 0===e)return;let a=h[e];if(a&&a.media&&(null==(n=a.media)||null==(t=n.mime)?void 0:t.includes("video"))){L.current=e;let t=document.getElementById("c-gallery".concat(String(a.id)));t&&((0,el.un)(navigator.userAgent)?t.muted=!0:t.muted=!1,t.currentTime=0,t.play().catch(e=>{console.error("视频播放失败:",e)}))}})(null==(e=o.current)?void 0:e.realIndex)},[null==(t=o.current)?void 0:t.realIndex,d]);let O=(e,t)=>{K(e),void 0!==L.current&&(P(N.current[L.current]),L.current=void 0),setTimeout(()=>{o.current&&(t?o.current.slideNext():o.current.slidePrev())},10)};(0,c.useEffect)(()=>{let e=e=>C&&e.preventDefault();return document.addEventListener("touchmove",e,{passive:!1}),()=>document.removeEventListener("touchmove",e)},[C]);let J=e=>{var t,n;return 0!==h.length&&(null==(n=h[e].media)||null==(t=n.mime)?void 0:t.includes("video"))};(0,c.useEffect)(()=>{if(0===h.length||!d||!J(m))return;let e=(0,B.A)(()=>{var e,t;e=N.current[m],t=m,m===t&&I.current&&V(e)},100),t=N.current[m];return t&&t.addEventListener("pause",e),()=>{t&&t.removeEventListener("pause",e)}},[m,h,d]);let Y=()=>{I.current=!1,J(_.current)?((e=>{e&&e.currentTime!==e.duration&&V(e,!0)})(N.current[_.current]),L.current=void 0,P(N.current[_.current])):K("关闭"),A(!0),setTimeout(()=>{A(!1),u(!1)},300)};return(0,s.jsxs)("div",{ref:k,className:M?"py-[92px] lg:py-[136px]":"py-7 lg:py-16",style:{backgroundColor:"Background_black"===i.theme?"black":"white"},"data-component":"Gallery",children:[!!i.headline&&(0,s.jsx)("pre",{className:"w-full lg:max-w-[880px] m-auto whitespace-pre-wrap px-6 pb-9 font-MBCorpo text-2xl lg:text-5xl leading-6 lg:leading-[48px] text-center text-white",style:{color:"Background_black"===i.theme?"white":"black"},children:i.headline}),!!i.description&&(0,s.jsx)("pre",{className:"w-full lg:max-w-[480px] m-auto whitespace-pre-wrap px-9 pb-9 lg:pb-16 text-center font-pingFangNormal opacity-60 text-xs lg:text-sm lg:leading-5 leading-4",style:{color:"Background_black"===i.theme?"white":"black"},children:i.description}),(0,s.jsxs)("div",{className:"container mx-auto px-6 max-w-[1280px]",children:[(null==(n=i.media)?void 0:n.length)===1&&(0,s.jsx)("div",{className:"w-full ",children:x.length>0&&(0,s.jsx)(t0,{item:x[0],setShowPopup:u,swiperRef:o,onClick:Q,setActiveIndex:p},(null==(a=x[0])?void 0:a.id)+"uid")}),x.length>0&&w.length>0&&(0,s.jsxs)("div",{className:"flex gap-3 lg:gap-4",children:[(0,s.jsx)("div",{className:"flex-1 flex flex-col gap-3 lg:gap-4",children:null==x?void 0:x.map(e=>(0,s.jsx)(t0,{item:e,setShowPopup:u,swiperRef:o,onClick:Q,setActiveIndex:p},e.id+e.media.hash))}),(0,s.jsx)("div",{className:"flex-1 flex flex-col gap-3 lg:gap-4",children:null==w?void 0:w.map(e=>(0,s.jsx)(t0,{item:e,setShowPopup:u,swiperRef:o,onClick:Q,setActiveIndex:p},e.id+e.media.hash))})]})]}),(0,s.jsxs)("div",{className:"fixed inset-0 z-[11000] bg-black-80 lg:bg-black-75 flex items-end justify-center ".concat(d?"":"hidden","\n          ").concat(C?D?"slide-out-desktop":"slide-out-mobile":""),children:[(0,s.jsxs)("div",{className:"lg:hidden absolute top-[80px] w-full h-6 px-4 grid grid-cols-4 gap-4 justify-items-stretch font-pingFangNormal text-white-60 z-[100000]",children:[(0,s.jsxs)("div",{className:"text-sm leading-6",children:[m+1,"/",h.length]}),(0,s.jsx)("div",{className:"text-sm leading-6 text-center col-span-2",children:"左右滑动查看更多"}),(0,s.jsx)("div",{className:"flex justify-end",children:(0,s.jsx)("div",{className:"w-6 h-6 bg-white rounded-xl flex items-center justify-center",children:(0,s.jsx)(f.default,{src:"/common/[email protected]",alt:"close",width:24,height:24,className:"w-full h-full object-cover",onClick:Y})})})]}),(0,s.jsxs)(eT.RC,{id:"gallery-swiper",noSwiping:C,noSwipingClass:"swiper-slide",className:"w-full ".concat(R?"h-[calc(100vh_-_104px)]":"full-screen-video-player-container"),onSlideChange:e=>{let t=e.realIndex;_.current=t,0!==h.length&&d&&p(t)},loop:!0,onSwiper:e=>o.current=e,modules:[t$.dK,t$.Vx],children:[h.map((e,t)=>{var n,a,i,l;return(0,s.jsx)(eT.qr,{"data-swiper-autoplay":t,children:(0,s.jsx)("div",{className:"relative w-full full-screen-video-player-container flex items-center justify-center",children:(null==(a=e.media)||null==(n=a.mime)?void 0:n.includes("image"))?(0,s.jsx)(f.default,{src:null==(i=e.media)?void 0:i.url,alt:"",width:e.media.width||300,height:e.media.height||300,style:{width:"auto",height:"100%",maxWidth:"100%",objectFit:"contain"},loading:"lazy",quality:80}):(0,s.jsx)("video",{ref:e=>{N.current[t]=e}
1,"data-video-name":e.media.name,id:"c-gallery".concat(String(e.id)),src:"".concat(null==(l=e.media)?void 0:l.url),muted:!0,className:"".concat(R?"video-container":"w-full h-full object-contain"),autoPlay:!1,"webkit-playsinline":"webkit-playsinline",playsInline:!0,"x5-video-player-type":"h5-page",loop:!1,controls:!0})})},e.id+e.media.hash)}),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"gallery-swiper-button-prev ".concat(h.length>1?"!hidden lg:!block":"!hidden"),onClick:()=>O("前一个",!1),children:(0,s.jsx)(f.default,{src:"/common/[email protected]",width:48,height:48,alt:"prev"})}),(0,s.jsx)("div",{className:"gallery-swiper-button-next ".concat(h.length>1?"!hidden lg:!block":"!hidden"),onClick:()=>O("后一个",!0),children:(0,s.jsx)(f.default,{src:"/common/[email protected]",width:48,height:48,alt:"prev"})}),(0,s.jsxs)("div",{className:"hidden lg:block text-sm leading-6 opacity-60 absolute top-8 left-9 text-white z-10",children:[m+1,"/",h.length]}),(0,s.jsx)("div",{className:"hidden lg:flex  absolute top-[26px] right-9 w-9 h-9 bg-white rounded-3xl items-center justify-center cursor-pointer z-10",children:(0,s.jsx)(f.default,{src:"/common/[email protected]",alt:"close",width:24,height:24,className:"w-full h-full object-cover",onClick:Y})})]})]})]})]})};var t2=n(52619),t5=n.n(t2),t3=function(e){return e.BG_BLACK_TEXT_WHITE="background black, text white",e.BG_WHITE_TEXT_BLACK="background white, text black",e}({});n(98304);let t4=e=>{let{sectionName:t,theme:n,detailsLink:a,index:i,onExpose:l}=e,{media:r}=(0,tC.A)(),o=r===tC.z.DESKTOP,[d,u]=(0,c.useState)(o?a:a.slice(0,5)),[m,p]=(0,c.useState)(!1),h=(0,c.useRef)(0),{refContainer:g,componentInfo:x}=(0,b.A)(i,l),{triggerEvent:f}=(0,S.Ay)(),v=(0,c.useMemo)(()=>({themeStyle:{background:n===t3.BG_BLACK_TEXT_WHITE?"black":"white",color:n===t3.BG_BLACK_TEXT_WHITE?"white":"#333"},layoutStyle:{gridTemplateColumns:o?"1fr 1fr 1fr":"1fr",rowGap:o?"36px":"0px",overflow:o?"auto":"hidden"},itemStyle:{flexDirection:o?"row":"row-reverse",justifyContent:o?"flex-start":"space-between",borderBottom:o?"unset":"1px solid #e2e2e2",fontSize:o?"16px":"14px"}}),[n,o]),w=e=>!e.includes(location.host)||e.endsWith(".pdf");(0,c.useEffect)(()=>{u(()=>o?a:a.slice(0,5))},[o]);let{state:{qtCommonKeys:E,logKey:k,qtClickKeys:y={}}}=(0,c.useContext)(j.B);return(0,s.jsx)("div",{ref:g,className:"program-details-links-wrapper",style:null==v?void 0:v.themeStyle,children:(0,s.jsxs)("div",{className:"program-details-links",children:[t&&(0,s.jsx)("div",{className:"program-details-links-main-title",style:{color:v.themeStyle.color},children:t}),(0,s.jsx)("div",{className:"program-details-links-layout",style:null==v?void 0:v.layoutStyle,children:null==d?void 0:d.map((e,t)=>e.label&&e.link?o?(0,s.jsxs)("div",{className:"program-details-links-item",style:{...v.itemStyle,...{color:v.themeStyle.color}},children:[(0,s.jsx)("div",{className:"arrow-right"}),(0,s.jsx)("div",{className:"label",children:(0,s.jsx)(t5(),{href:e.link||"",rel:"noopener noreferrer",target:w(e.link)?"_blank":"_self",onClick:()=>{var t;t=e.label,f(S.Bx.CLICK,k.CLK,{...E,...y,component_id:""+(x.index+1),component_name:x.name,current_theme_name:x.anchorHeading,button_type:S.VQ.COMPONENT_CLICK,button_name:t})},children:e.label})})]},"".concat(e.label,"-").concat(t)):(0,el.m0)()&&w(e.link)?(0,s.jsxs)("div",{onClick:()=>{window.open(e.link,"_blank","noopener,noreferrer")},className:"program-details-links-item",style:{...v.itemStyle,...{color:v.themeStyle.color}},children:[(0,s.jsx)("div",{className:"arrow-right"}),(0,s.jsxs)("div",{className:"label",children:[" ",e.label]})]}):(0,s.jsx)(t5(),{rel:"noopener noreferrer",href:e.link,target:w(e.link)?"_blank":"_self",children:(0,s.jsxs)("div",{className:"program-details-links-item",style:{...v.itemStyle,...{color:v.themeStyle.color}},children:[(0,s.jsx)("div",{className:"arrow-right"}),(0,s.jsxs)("div",{className:"label",children:[" ",e.label]})]})},"".concat(e.label,"-").concat(t)):(0,s.jsx)(s.Fragment,{}))}),!o&&a.length>5&&(0,s.jsx)("div",{className:"check-more",onClick:()=>{u(()=>m?a.slice(0,5):a),p(()=>!m),m?window.scrollTo(0,h.current):h.current=window.scrollY},children:(0,s.jsxs)("div",{className:"text",style:{borderBottom:"1px solid ".concat(v.themeStyle.color)},children:[(0,s.jsxs)("span",{style:{color:v.themeStyle.color},children:[" ",m?"点击收起":"查看更多"]}),n===t3.BG_BLACK_TEXT_WHITE?(0,s.jsx)("div",{className:"arrow-up white",style:{transform:m?"rotate(180deg)":"rotate(0deg)"}}):(0,s.jsx)("div",{className:"arrow-up",style:{transform:m?"rotate(180deg)":"rotate(0deg)"}})]})})]})})};var t6=function(e){return e.Top="Top",e.Bottom="Bottom",e.Center="Center",e.Left="Left",e.Right="Right",e}({}
1),t8=function(e){return e.White="Background_white",e.Black="Background_black",e}({}),t9=n(53174),t7=n.n(t9);let ne=e=>{let{data:t,index:n,isMobile:a=!1,onExpose:i}=e,{anchorPoint:l,theme:r,headLine:o,description:d,descriptionAlign:u,mediaDesktop:m,mediaMobile:p,mediaFullScreen:h,mediaPosition:g,showHeaderlineSeparator:x}=t,{refContainer:v}=(0,b.A)(n,i),[w,E]=(0,c.useState)("");(0,c.useEffect)(()=>{let e=()=>{if(a&&g===t6.Top){let e=document.querySelector("header");E("pt-[".concat(null==e?void 0:e.offsetHeight,"px]"))}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let k=a?p:m,y=ey((null==k?void 0:k.ext)||""),C={backgroundColor:r===t8.Black?"black":"white",textColor:r===t8.Black?"white":"#666666",headerColor:r===t8.Black?"#666666":"#E1E1E1",descColor:r===t8.Black?"#FFFFFF":"#333333"},S=h?"w-full h-full ".concat(g===t6.Top?"":"mb-[50px]"):"w-full md:w-[940px] max-w-[940px] h-auto ".concat(g===t6.Top?"":"mb-[50px]"," md:mx-0");return(0,s.jsx)("article",{className:"section-content bg-[var(--bg-color)] max-w-full pb-auto md:pb-0 @container ".concat(w," ").concat(0===n&&g===t6.Bottom?"pt-[16px] lg:pt-[72px]":0===n?"pt-[64px]":""),id:null==l?void 0:l.id,ref:v,style:{"--bg-color":C.backgroundColor,"--text-color":C.textColor,"--header-color":C.headerColor,"--desc-color":C.descColor},children:(0,s.jsx)("div",{className:"block",children:(0,s.jsx)("div",{className:"section-header block overflow-hidden",children:(0,s.jsxs)("div",{className:"content-container flex ".concat(g===t6.Top?"flex-col-reverse":"flex-col"),children:[(0,s.jsxs)("div",{children:[o&&(0,s.jsx)("h3",{className:t7().sectionHeader__subtitle,children:(0,s.jsx)("span",{className:"".concat(t7().sectionHeader__subtitleLine," ").concat(!1!==x?t7().sectionHeader__subtitleLineWithLine:""),children:o})}),d&&(0,s.jsx)("div",{className:"wrapper text-[var(--text-color)] max-w-full mb-[10px] mx-[20px] text-[13px] overflow-hidden text-center md:mb-[50px] md:max-w-[940px] md:my-0 md:mx-auto md:w-[calc(700_/_768_*_100%)] slg:w-[calc(940_/_980_*_100%)]",children:(0,s.jsx)("p",{className:"detail center float-left block w-full font-pingFangNormal mt-[10px] mb-5 mx-0 whitespace-pre-wrap md:mr-0 md:text-base md:m-0 md:leading-7 text-[var(--desc-color)]  after:content-[''] after:clear-both after:block ".concat(u===t6.Center?"text-center":"text-left"),children:d})})]}),(0,s.jsx)("div",{className:"hero relative text-center  w-full mx-auto flex justify-center items-center pb-0 ".concat(0===n&&g===t6.Top?"md:pt-[8px]":""," ").concat(h?"px-auto":"px-5"),children:k?y===eb.IMAGE?(0,s.jsx)(f.default,{alt:"",src:k.url,priority:!0,width:500,height:500,quality:100,className:S}):y===eb.VIDEO?(0,s.jsx)("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto",className:S,children:(0,s.jsx)("source",{src:k.url,type:"video/".concat(k.ext.replace(".",""))})}):null:null})]})})})})};var nt=n(57253);let nn=e=>{let{desktopImage:t,mobileImage:n,isMobile:a}=e;return t&&n?a?(0,s.jsx)("div",{className:"check-vehicles__background",children:(0,s.jsx)(f.default,{src:n.url,alt:n.name,style:{objectFit:"cover"},fill:!0,loading:"lazy"})}):(0,s.jsx)("div",{className:"check-vehicles__background",children:(0,s.jsx)(f.default,{src:t.url,alt:t.name,style:{objectFit:"cover"},fill:!0,loading:"lazy"})}):(0,s.jsx)("div",{className:"check-vehicles__background"})},na=e=>{let{isMobile:t=!1,nav:n,defaultIndex:a,onSwitchIndex:i}=e,[l,r]=(0,c.useState)(!1);return(0,c.useEffect)(()=>{r((document.documentElement.clientWidth<=480||window.screen.width<=480)&&(document.documentElement.clientHeight<=700||window.screen.height<=700))},[]),(0,s.jsx)("div",{className:"check-vehicles__navigation",children:(0,s.jsxs)("ul",{className:[!t?"check-vehicles__navigation-pc":"check-vehicles__navigation-mobile check-vehicles__container-scroll",l&&t?"check-vehicles__navigation-mobile--small":""].join(" "),children:[n.map((e,t)=>(0,s.jsx)("li",{onClick:()=>{i(t+1)},className:[a===t+1?"active":"","item-".concat(n.length," cursor-pointer")].join(" "),children:e.cnName},t)),!t&&(0,s.jsx)("div",{className:"navigation-line item-".concat(n.length),style:{transform:"translateX(".concat((a-1)*100,"%)")}})]})})};var ni=n(20063);function nl(e,t,n){if(!e)return null;let a=n.charAt(0).toUpperCase()+n.slice(1),i="".concat({g_class:"g",all_exclude_amg:"all",amg:"amg",maybach:"maybach",all:"all"}[t]).concat(a,"Image"),l="".concat(n,"Image"),r=e[i],o=e[l];return null!=r?r:o}n(79382);let nr=e=>{let{bodyStyle:t=[],isMobile:n,index:a,isShowEntry:i,onBgChange:l,onClick:r}=e,o=(0,c.useRef)([]),d=(0,c.useRef)([]),u=(0,c.useRef)([]),[m,p]=(0,c.useState)(t.map(()=>0)),[h,g]=(0,c.useState)(t.map(e=>({canSlidePrev:!1,canSlideNext:(e=>n?e>1:e>5)(e.classes.length)})));(0,c.useEffect)(()=>{p(t.map(()=>0))},[t]);let x=(0,c.useCallback)((e,t)=>{e&&t&&l&&(null==l||l(e,t))},[l]);(0,c.useEffect)(()=>
1{if(t.length>0&&"number"==typeof a&&a>=0&&t[a-1]&&Array.isArray(t[a-1].classes)&&t[a-1].classes.length>0){var e,n;null==(n=o.current[a-1])||null==(e=n.slideTo)||e.call(n,0),p(e=>{let t=[...e];return t[a-1]=0,t});let i=t[a-1].classes[0];i&&x(i.desktopImage,i.mobileImage)}},[a,t]),(0,c.useEffect)(()=>{if("number"==typeof a&&a>=0&&t[a-1]&&Array.isArray(t[a-1].classes)){let e=t[a-1].classes[m[a-1]||0];e&&x(e.desktopImage,e.mobileImage)}},[m,a,t]);let f=()=>{var e;if(!n||"number"!=typeof a||a<=0)return 0;let i=((null==(e=t[a-1])?void 0:e.classes)||[])[m[a-1]||0],l=(null==i?void 0:i.cnName)||"";if(!l)return 0;if(-1!==l.indexOf("纯电CLA")||-1!==l.indexOf("纯新CLA"))return"mix-5";if(/^[A-Za-z]{2}$/.test(l))return"en-2";let r=0;for(let e=0;e<l.length;e++){let t=l[e];/[\u4e00-\u9fff\u3400-\u4dbf\uf900-\ufaff]/.test(t),r+=1}return r||0},{state:{isPreviewMode:v}}=(0,c.useContext)(tS.P);if(!t.length)return null;let w="在线预订",b=(e,t)=>{let{modelItem:n,classItem:a,bodyItem:i}=t||{};r&&r(e,{brandName:n.brand.join(","),marketSegment:i.cnName,vehicleSeriesName:a.cnName,vehicleModelName:n.cnName})};return(0,s.jsx)("ul",{className:"check-vehicles__carousel-container",children:t.map((e,t)=>{var l,r,c,E;if((null!=a?a:0)-1!==t)return null;let k=(e=>n?e>1:e>5)(e.classes.length);return(0,s.jsxs)("li",{className:"check-vehicles__carousel-swiper".concat((null!=a?a:0)-1===t?" active":""),children:[(0,s.jsx)("div",{className:"swiper-container check-vehicles__swiper-container".concat(n?"":" check-vehicles__container-scroll"),children:(0,s.jsx)(eT.RC,{...{speed:400,resistanceRatio:.1,navigation:!1,breakpoints:{767:{slidesPerView:1,spaceBetween:20},768:{slidesPerView:4,spaceBetween:0},1060:{slidesPerView:5,spaceBetween:0}}},modules:[t$.Vx],onSwiper:e=>{var n,a;o.current[t]=e,null==(a=e.navigation)||null==(n=a.update)||n.call(a),g(n=>{let a=[...n];return a[t]={canSlidePrev:!e.isBeginning,canSlideNext:!e.isEnd},a})},onSlideChange:e=>{var a;g(n=>{let a=[...n];return a[t]={canSlidePrev:!e.isBeginning,canSlideNext:!e.isEnd},a}),n&&(a=e.realIndex,p(e=>{let n=[...e];return n[t]=a,n}))},navigation:!!k&&{prevEl:d.current[t],nextEl:u.current[t]},children:e.classes.map((a,l)=>a.models.length>0&&(0,s.jsx)(eT.qr,{children:(0,s.jsxs)("div",{className:"check-vehicles__carousel-class".concat(n?"":" check-vehicles__carousel-class-desktop"),children:[(0,s.jsxs)("div",{className:"check-vehicles__carousel-class-name".concat(l===m[t]?" active":"").concat(n?" mobile":" pc"),onMouseOver:()=>{p(e=>{let n=[...e];return n[t]=l,n}),x(a.desktopImage,a.mobileImage)},children:[(0,s.jsx)("span",{children:a.cnName.replace("级","")}),(0,s.jsx)("span",{className:"check-vehicles__carousel-class-name-suffix",children:(e=>{let t=e&&e.split("-");return t&&t[0].length>1?"":"级"})(a.enName)})]}),(0,s.jsx)("div",{className:"check-vehicles__carousel-wrapper".concat(l===m[t]?" active":""),onMouseOver:()=>{p(e=>{let n=[...e];return n[t]=l,n}),x(a.desktopImage,a.mobileImage)},children:Array.isArray(a.models)&&a.models.map((t,l)=>(0,s.jsxs)("div",{className:"check-vehicles__carousel-model".concat(n?" check-vehicles__carousel-model--multiple":" pc"),children:[(0,s.jsx)("div",{className:"check-vehicles__carousel-model-link",children:t.modelOverviewPage?(0,s.jsx)("a",{"data-href":t.id,"data-nstcode":v&&t.draftNst||t.publishedNst,"data-nstmapping":v&&t.draftMsrp||t.publishedMsrp,href:"".concat(window.location.origin,"/vehicles/").concat(t.modelOverviewPage,".html"),onClick:()=>b(t.cnName,{modelItem:t,classItem:a,bodyItem:e}),children:t.cnName}):(0,s.jsx)("a",{className:"disabled-link",style:{cursor:"not-allowed",pointerEvents:"none"},children:t.cnName})}),i&&(0,s.jsx)("div",{className:"check-vehicles__carousel-model-stock",onClick:()=>b(w,{modelItem:t,classItem:a,bodyItem:e}),children:(0,s.jsx)("a",{"data-nstcode":v&&t.draftNst||t.publishedNst,"data-nstmapping":v&&t.draftMsrp||t.publishedMsrp,href:t.configUrl,children:(0,s.jsx)("span",{children:w})})})]},t.id||l))})]})},a.id||l))})}),k&&(null==(l=h[t])?void 0:l.canSlidePrev)&&(0,s.jsx)("div",{className:"check-vehicles__carousel-swiper-pre swiper-button-prev-".concat(t," letter-").concat(f()),ref:e=>{d.current[t]=e},onClick:()=>{let e=o.current[t];e&&e.slidePrev()},style:{display:(null==(r=h[t])?void 0:r.canSlidePrev)?"block":"none"},children:(0,s.jsx)("div",{className:"check-vehicles__carousel-swiper-pre-icon"})}
1),k&&(null==(c=h[t])?void 0:c.canSlideNext)&&(0,s.jsx)("div",{className:"check-vehicles__carousel-swiper-next swiper-button-next-".concat(t," letter-").concat(f()),ref:e=>{u.current[t]=e},onClick:()=>{let e=o.current[t];e&&e.slideNext()},style:{display:(null==(E=h[t])?void 0:E.canSlideNext)?"block":"none"},children:(0,s.jsx)("div",{className:"check-vehicles__carousel-swiper-next-icon"})})]},t)})})},no=e=>{let{isMobile:t,isShowEntry:n,onClick:a}=e,i="查找库存";return n&&(0,s.jsx)("div",{className:"check-vehicles__filter-".concat(t?"mobile":"pc"),onClick:()=>{a&&a(i)},children:(0,s.jsx)("a",{href:"/purchase/product-order-page.html#/filter",children:i})})},ns=e=>{let{data:t,index:n,onExpose:a}=e,i=(0,ni.useSearchParams)(),l="G Class"===t.displayType?"G_CLASS":"All-Exclude AMG"===t.displayType?"ALL_EXCLUDE_AMG":t.displayType,{isShowEntry:r}=t,[o,d]=(0,c.useState)([]),[u,m]=(0,c.useState)(null),[,p]=(0,c.useState)(null),[h,x]=(0,c.useState)(null),[f,v]=(0,c.useState)(null),[w,E]=(0,c.useState)(null),{isDesktopMode:k}=(0,g.CG)(),[y,C]=(0,c.useState)(1),{refContainer:A,componentInfo:N}=(0,b.A)(n||0,a),{triggerEvent:_}=(0,S.Ay)(),{state:{qtCommonKeys:L,logKey:I,qtClickKeys:M={}}}=(0,c.useContext)(j.B),{state:{isPreviewMode:T}}=(0,c.useContext)(tS.P),B=e=>{C(e)},D=(e,t)=>{let n={};t&&(n={brand_name:t.brandName||"",market_segment:t.marketSegment||"",vehicle_series_name:t.vehicleSeriesName||"",vehicle_model_name:t.vehicleModelName||""}),_(S.Bx.CLICK,I.CLK,{...L,...M,...n,component_id:""+(N.index+1),component_name:N.name,current_theme_name:N.anchorHeading,button_type:S.VQ.COMPONENT_CLICK,button_name:e})};(0,c.useEffect)(()=>{(async()=>{try{var e;let t=i.get("body")||"",n=i.get("code")||"";console.log("body:",t),console.log("code:",n);let a=await (0,ty.EJ)(T),r=function(e,t,n){if(!e||!e.data||!e.data.bodyStyles)return[];let a=[];return e.data.bodyStyles.forEach(e=>{let i=e.classes.map(e=>{let a=e.models.filter(e=>e.publishedNst||e.draftNst),i=(()=>{switch(t){case"ALL":return a;case"ALL_EXCLUDE_AMG":return a.filter(e=>!e.brand.includes("AMG"));default:return a.filter(e=>e.brand.includes(t))}})();if(i.length>0){let t=n.toLowerCase(),a=nl(e,t,"desktop"),l=nl(e,t,"mobile");return{id:e.id,cnName:e.cnName,enName:e.enName,desktopImage:a,mobileImage:l,models:i}}return null}).filter(Boolean);i.length>0&&a.push({id:e.id,cnName:e.cnName,enName:e.enName,classes:i})}),a}(a,l.toUpperCase(),l.toUpperCase()),o=r.map(e=>{let{id:t,cnName:n,enName:a}=e;return{id:t||"",cnName:n||"",enName:a||""}}).map(e=>{let{id:t,cnName:n,enName:a}=e;return{id:t,cnName:n,enName:a}}),s=await fetch("/api/campaign/wholesale"),c=await s.json(),u=(null==c?void 0:c.data)||[],h=(null==u||null==(e=u.data)?void 0:e.map(e=>{var t,n;return{url:(null==(t=e.attributes)?void 0:t.url)||"",model:(null==(n=e.attributes)?void 0:n.model)||{}}}))||[];r.forEach(e=>{e.classes.forEach(e=>{e.models.forEach(e=>{var t,n;let a=h.find(t=>{var n,a;return(null==(a=t.model.data)||null==(n=a.attributes)?void 0:n.dotsId)===e.groupId});a&&(null==(n=a.model.data)||null==(t=n.attributes)?void 0:t.dotsId)&&(e.modelOverviewPage=a.url);let i=T?e.draftNst:e.publishedNst;e.configUrl="/purchase/product-order-page.html#/filter?nstCode=".concat(i)})})}),m(r),p(Number(o[0].id)),x(Number(r[0].classes[0].id)),v(r[0].classes[0].desktopImage),E(r[0].classes[0].mobileImage),d(o)}catch(e){console.error("fetchData error:",e)}})()},[i,T]),(0,c.useEffect)(()=>{if((null==u?void 0:u.length)>0&&y>0){let e=u[y-1].classes[0];v(e.desktopImage||null),E(e.mobileImage||null)}},[y,u]);let R=(e,t)=>{v(e),E(t)};return(0,s.jsx)("div",{ref:A,className:"h-[100vh]",children:h&&f&&w&&(0,s.jsx)("div",{className:"check-vehicles",children:(0,s.jsxs)("div",{className:"check-vehicles-container",children:[(0,s.jsx)(nn,{desktopImage:f,mobileImage:w,isMobile:!k}),(0,s.jsxs)("div",{className:"check-vehicles__carousel",children:[(0,s.jsxs)("div",{className:"check-vehicles__carousel-tablet",children:[(0,s.jsx)(na,{nav:o,defaultIndex:y,onSwitchIndex:B}),(0,s.jsx)(no,{isMobile:!k,isShowEntry:r,onClick:D}),(0,s.jsx)(nr,{bodyStyle:u,isMobile:!k,displayType:l,index:y,isShowEntry:r,onBgChange:R,onClick:D})]}),(0,s.jsxs)("div",{className:"check-vehicles__carousel-mobile",style:{display:k?"none":"block"},children:[(0,s.jsx)(no,{isMobile:!k,isShowEntry:r,onClick:D}),(0,s.jsx)(na,{isMobile:!0,nav:o,defaultIndex:y,onSwitchIndex:B}),(0,s.jsx)(nr,{bodyStyle:u,isMobile:!k,displayType:l,index:y,isShowEntry:r,onBgChange:R,onClick:D})]})]})]})})})};var nc=n(70353),nd=n(48318),nu=n(50335),nm=n(97170);let np=e=>{let{vehicleListData:t,index:n,onExpose:a}=e,{refContainer:i,componentInfo:l}=(0,b.A)(n,a),{state:{qtCommonKeys:r,logKey:o,qtClickKeys:d={}}}=(0,c.useContext)(j.B),u={...r,...d,button_type:S.VQ.COMPONENT_CLICK,component_id:""+(l.index+1),component_name:l.name,current_theme_name:l.anchorHeading,material_index_id:"",material_theme_name:""};return(0,s.jsx)("div",{ref:i,children:(0,s.jsx)(nm.Lq,{vehicleListData:t,isVehicleListOpened:!0,displayOnHomepage:!0,closeVehicleModal:()=>{}
1,isComponent:!0,qtFeatureKeys:u,qtLogKey:o,occUrl:tV.A.E_STORE_HOST})})};function nh(e){let{pageConfig:t,onComponentExpose:n,hideScrollToNext:a=!1}=e,[i,l]=(0,c.useState)(!1);(0,c.useEffect)(()=>{let e=!(null==t?void 0:t.publishedAt);e&&console.log("** Preview Mode **"),l(e)},[t]);let[{vehicleList:r}]=(0,ti.fp)(tl.m),{displayWithScrollBar:o,displayBackToTopIcon:d,backToTopIconColor:u,content:m}=t||{};(0,g.Q8)(o,(null==m?void 0:m.length)||0),(0,g.NZ)(o),(0,g.rU)(o);let{isDesktopMode:p}=(0,g.CG)();(0,c.useEffect)(()=>("scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),window.scrollTo(0,0),()=>{window.history.scrollRestoration="auto"}),[]);let f=(0,c.useRef)(0),v=(0,c.useMemo)(()=>({onEnterPopup:()=>{f.current=window.scrollY},onExitPopup:()=>{f.current!==window.scrollY&&window.scrollTo(0,f.current)},isPreviewMode:i}),[i]);return(0,s.jsxs)(tS.P.Provider,{value:{state:v},children:[(0,s.jsx)(eL,{pdpContents:m,displayWithScrollBar:o}),((e,t)=>{if(console.log("contents",e),null==e?void 0:e.length){let i=e.map((i,l)=>{var c;let m;switch(i.__component){case k.K2.PromoPanel:m=(0,s.jsx)(tz,{data:i,isDesktopMode:p,model:t,index:l,onExpose:n});break;case k.K2.RenovationHeroBannerCarousel:m=(0,s.jsx)(x.A,{whereToUse:x.H.PDP,data:i,screenIndex:l,model:t,onExpose:n});break;case k.K2.RenovationVideo:m=(0,s.jsx)(P.A,{data:i,isDesktopMode:p,model:t,index:l,onExpose:n});break;case k.K2.CrossFade:{let{anchorPoint:e,headline:t,briefDescription:a,elementPositionPC:r,crossFadeItem:o}=i;m=(0,s.jsx)(V,{isMobile:!p,anchorPoint:e,headline:t,description:a,alignment:r,crossFadeItems:o,index:l,onExpose:n})}break;case k.K2.AmgA1:{let{anchorPoint:e,elementPosition:t,headlineType:a,headlineImage:r,headlineText:o,description:c}=i;m=(0,s.jsx)(E,{isMobile:!p,anchorPoint:e,elementPosition:t,headlineType:a,headlineImage:r,headlineText:o,description:c,index:l,onExpose:n},i.id)}break;case k.K2.AmgB1:{let{contentTab:e}=i;m=(0,s.jsx)(eR,{data:e,isMobile:!p,index:l,onExpose:n})}break;case k.K2.AmgB2:{let{anchorPoint:e,contentTab:t=[]}=i;m=(0,s.jsx)(A,{isMobile:!p,anchorPoint:e,contentTab:t,index:l,onExpose:n},i.id)}break;case k.K2.CrossFadeSlide:m=(0,s.jsx)(O,{props:i,index:l,onExpose:n});break;case k.K2.AMGI2AudioPlay:m=(0,s.jsx)(ec,{data:i,index:l,onExpose:n});break;case k.K2.StarPattern:m=(0,s.jsx)(te,{content:i,index:l,onExpose:n});break;case k.K2.AMGA3:m=(0,s.jsx)(eA,{data:i,index:l,onExpose:n});break;case k.K2.Disclaimer:{let{anchorPoint:e,theme:t,textToDisplay:a}=i;m=(0,s.jsx)(T,{anchorPoint:e,theme:t,textToDisplay:a,isMobile:!p,index:l,onExpose:n})}break;case k.K2.FullBannerOfAMGKV:m=(0,s.jsx)(e2,{data:i,model:t,index:l,onExpose:n});break;case k.K2.CrossFadeImagesScrolling:{let{headline:e,briefDescription:t,crossFadeImagesItem:a}=i;m=(0,s.jsx)(eG,{headline:e,briefDescription:t,crossFadeImagesItem:a,isMobile:!p,index:l,onExpose:n})}break;case k.K2.VehicleList:m=r&&(0,s.jsx)(np,{vehicleListData:r||{},index:l,onExpose:n});break;case k.K2.EngineOverview:m=(0,s.jsx)(tO,{data:i.vehicleSpec,occApiPrefix:tV.A.E_STORE_HOST,onewebUrl:tV.A.CURRENT_ORIGIN,specialCtaDisabled:!1,index:l,onExpose:n});break;case k.K2.Gallery:m=(0,s.jsx)(t1,{data:i,index:l,onExpose:n});break;case k.K2.ProgramDetailsLink:{let{sectionName:e,detailsLink:t,theme:a}=i;m=(0,s.jsx)(t4,{sectionName:e,theme:a,detailsLink:t,index:l,onExpose:n})}break;case k.K2.ExpandablePanelPDF:m=(0,s.jsx)(ta,{data:i,index:l,onExpose:n});break;case k.K2.SectionContent:m=(0,s.jsx)(ne,{data:i,index:l,isMobile:!p,onExpose:n});break;case k.K2.TextComponent:{let{anchorPoint:e,theme:t,hasSeparator:a,textToDisplay:r,label:o,link:c}=i;m=(0,s.jsx)(nt.A,{anchorPoint:e,index:l,theme:t,hasSeparator:a,textToDisplay:r,label:o,link:c,onExpose:n})}break;case k.K2.WholesaleVehicle:m=(0,s.jsx)(ns,{data:i,index:l,onExpose:n});break;case k.K2.PurchaseAndService:m=(0,s.jsx)(nc.g,{screenIndex:l,data:i,isMobile:!p,model:t,onExpose:n});break;case k.K2.HeadlineOffers:{let{sectionHeadline:e,sectionTheme:a,vehicleCards:r}=i;m=(0,s.jsx)(nd.A,{screenIndex:l,sectionHeadline:e,sectionTheme:a,vehicleCards:r,model:t,onExpose:n})}break;case k.K2.NormalBanner:m=(0,s.jsx)(nu.A,{data:i,index:l,onExpose:n});break;case k.K2.MediaAndText:m=(0,s.jsx)(L,{...i,isMobile:!p,index:l,onExpose:n},i.id);break;default:m=(0,s.jsx)(s.Fragment,{})}return(0,s.jsx)(h,{displayBackToTopIcon:d,iconColor:u,contentLength:null==e?void 0:e.length,componentType:i.__component,displayWithScrollBar:o,index:l,anchorHeading:(null==(c=i.anchorPoint)?void 0:c.sectionAnchorHeadingPC)||"",hideScrollToNext:a,children:m},"".concat(i.id,"-").concat(i.__component))});return(0,s.jsx)(s.Fragment,{children:i})}return(0,s.jsx)(s.Fragment,{})})(null==t?void 0:t.content,null==t?void 0:t.model)]})}},49238:()=>{},50335:(e,t,n)=>{"use strict";n.d(t,{N:()=>b,A:()=>E});var a=n(95155),i=n(15239),l=n(52619),r=n.n(l),o=n(12115),s=function(e){return e.BG_WHITE="Backgroun
1d_white",e.BG_BLACK="Background_black",e}({}),c=function(e){return e.CENTER="Center",e.LEFT="Left",e}({});n(14331);var d=n(33034),u=n(81208),m=n(5507),p=n(77856),h=n(8637),g=n(7016),x=n(3114),f=n(50736),v=n(30496),w=n(67474),b=function(e){return e.SPECIAL_OFFER="special-offer",e.CAMPAIGN="campaign",e}({});let E=e=>{let{componentSubject:t,vehicleModelName:n,headline:l,headlineSeparatorPosition:b,description:E,backgroundImageDesktop:k,backgroundImageMobile:y,ctaLabel:C,ctaLink:S}=e.data,{index:j=0,onExpose:A,whereToUse:N}=e,[_,L]=(0,o.useState)(!1),I=(0,o.useRef)(null),[M,T]=(0,o.useState)(0),B=t===s.BG_BLACK,D=b===c.CENTER||!b,R=(0,u.T)(),F=_?y:k,{refContainer:V,componentInfo:P}=(0,m.A)(j,A),{triggerEvent:G}=(0,h.Ay)(),H=(0,f.UJ)(),W=(0,f.aG)(),{isNoHeaderFooter:U}=(0,v.P)();(0,o.useEffect)(()=>{let e=()=>{L(window.innerWidth<d.Zv)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let K=(0,o.useMemo)(()=>({mainTitle:{color:B?"white":"#333",textAlign:D?"center":"left"},separator:{background:B?"white":"black",margin:D?"40px auto":"40px 0",width:_?"32px":"40px"}}),[t,b,_]),Q=(0,o.useMemo)(()=>M<320?{marginTop:"-".concat(.4*M,"px")}:n?{}:{marginTop:"-208px"},[M,n,_]),O=(0,o.useMemo)(()=>U||R&&0!==j?{paddingTop:"0"}:{paddingTop:_?"64px":"72px"},[_,R,U]);(0,o.useEffect)(()=>{if(I.current){let e=new ResizeObserver(e=>{for(let t of e)T(t.contentRect.height)});return e.observe(I.current),()=>e.disconnect()}},[]);let{state:{qtCommonKeys:J,logKey:Y,qtClickKeys:q={}}}=(0,o.useContext)(p.B),X=(0,o.useMemo)(()=>null==S?void 0:S.includes("purchase/product-order-page"),[S]),Z=(0,o.useMemo)(()=>{if(H)return!(H&&U&&X);if(W){let e=sessionStorage.getItem(w.Z.IS_DISPLAY_CTA);return!(W&&U&&X&&!e)}return!0},[H,U,X,W]);return(0,a.jsxs)("div",{className:"normal-banner-component",style:{backgroundColor:B?"#111":_?"#f2f2f2":"white"},ref:V,children:[(0,a.jsx)("div",{className:"normal-hero-banner",ref:I,style:O,children:F&&(0,a.jsx)(i.default,{src:F.url,alt:"normal banner",width:F.width,height:F.height,priority:!0,style:{width:"100%"},loading:"eager"})}),(0,a.jsxs)("div",{className:"normal-banner-hero-wrapper",style:Q,children:[n&&(0,a.jsx)("div",{style:{paddingTop:F?"0":"40px"},className:"normal-banner-hero-vehicle-model",children:n}),(0,a.jsxs)("div",{className:"normal-banner-hero-info normal-banner-hero-info-wrapper",style:{background:B?"#1f1f1f":"white"},children:[(0,a.jsx)("div",{className:"title",children:(0,a.jsx)("p",{style:K.mainTitle,children:l})}),(0,a.jsx)("div",{className:"title-shadow",style:K.separator}),(0,a.jsx)("div",{className:"description prose ".concat(B?"black-theme":"white-theme"),onClick:e=>{let t=e.target;if("A"===t.tagName){e.preventDefault();let n=t.innerText,a=t.href;G(h.Bx.CLICK,Y.CDL,{...J,panel_name:"",label_name:n}),window.location.href=a}},style:{color:B?"rgb(159, 158, 157)":"#333"},children:(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,x.g1)((0,g.YV)(E||""))}})}),C&&Z&&(0,a.jsx)("div",{className:"normal-hero-cta",onClick:()=>(e=>{N&&"special-offer"===N?G(h.Bx.CLICK,"sop_button_clk",{page_name:"special_offer_page",vehicle_model_name:n,button_name:e}):G(h.Bx.CLICK,Y.CLK,{...J,...q,component_id:""+(P.index+1),component_name:P.name,current_theme_name:P.anchorHeading,button_type:h.VQ.COMPONENT_CLICK,button_name:e})})(C),children:(0,a.jsx)(r(),{className:B?"ow-btn-transparent-white":"ow-btn-transparent-black",href:S||"",children:C})})]})]})]})}},52635:()=>{},52716:()=>{},53174:e=>{e.exports={sectionHeader__subtitle:"SectionContent_sectionHeader__subtitle__k_wUD",sectionHeader__subtitleLine:"SectionContent_sectionHeader__subtitleLine__shY_T",sectionHeader__subtitleLineWithLine:"SectionContent_sectionHeader__subtitleLineWithLine__Y87ta"}},57023:e=>{e.exports={"amg-b2":"amg-b2_amg-b2__JQLgl",mediaFadeIn:"amg-b2_mediaFadeIn__KEUIY",mediaFadeOut:"amg-b2_mediaFadeOut__RIdNL","content-wrapper":"amg-b2_content-wrapper__NUmmi","content-item":"amg-b2_content-item__RI4UY","content-media":"amg-b2_content-media__VHEhr","content-text":"amg-b2_content-text__pzzgL",headline:"amg-b2_headline__rp0h7",description:"amg-b2_description__IR3d6","item-active":"amg-b2_item-active__5xFAd","item-inactive":"amg-b2_item-inactive__7EQG5","tab-wrapper":"amg-b2_tab-wrapper__YVp4H","tab-item":"amg-b2_tab-item__D9bYO","tab-indicator":"amg-b2_tab-indicator__2seM4","tab-name":"amg-b2_tab-name__fFWw6","gradient-layer":"amg-b2_gradient-layer__FFPtA"}},57253:(e,t,n)=>{"use strict";n.d(t,{A:()=>h,S:()=>p});var a=n(95155),i=n(12115),l=n(52619),r=n.n(l),o=n(31455);n(52635);var s=n(5507),c=n(8637),d=n(77856),u=n(7016),m=n(3114),p=function(e){return e.SPECIAL_OFFER="special-offer",e.PDP="pdp",e}({});let h=e=>
1{let{anchorPoint:t,index:n=0,theme:l,hasSeparator:p,textToDisplay:h,label:g,link:x,whereToUse:f,vehicleModelName:v,onExpose:w}=e,{refContainer:b,componentInfo:E}=(0,s.A)(n,w,0),{triggerEvent:k}=(0,c.Ay)(),{state:{qtCommonKeys:y,logKey:C,qtClickKeys:S={}}}=(0,i.useContext)(d.B),{goToUrl:j}=(0,o.U)();return(0,a.jsx)("div",{ref:b,id:null==t?void 0:t.id,className:"text-component ".concat("Background_black"===l?"black-theme":"white-theme"," ").concat(0===n?"mt-[72px]":""),children:(0,a.jsxs)("div",{className:"content-wrapper",children:[p&&(0,a.jsx)("div",{className:"separator"}),(0,a.jsx)("div",{className:"prose",dangerouslySetInnerHTML:{__html:(0,m.g1)((0,u.YV)(h||""))}}),x&&g&&(0,a.jsx)("div",{className:"cta-wrapper",children:(0,a.jsx)(r(),{href:x,className:"mx-2 cta ".concat("Background_black"===l?"ow-btn-transparent-white":"ow-btn-transparent-black"),onClick:e=>((e,t)=>{f&&1?k(c.Bx.CLICK,"sop_button_clk",{page_name:"special_offer_page",vehicle_model_name:v,button_name:g}):k(c.Bx.CLICK,C.CLK,{...y,...S,component_id:""+(E.index+1),component_name:E.name,current_theme_name:E.anchorHeading,button_type:c.VQ.COMPONENT_CLICK,button_name:g}),e.stopPropagation(),e.preventDefault(),j(t)})(e,x),children:(0,a.jsx)("span",{children:g})})})]})})}},61735:()=>{},62702:()=>{},62850:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(95155),i=n(15239),l=n(85124),r=n(12115);function o(){let{screenHeight:e}=(0,l.T_)(),t=(0,r.useRef)(null);return(0,a.jsx)("div",{ref:t,className:"full-screen-scroll-to-next absolute z-[1000] left-1/2 w-9 h-9 cursor-pointer",style:{transition:"bottom 0.2s ease-in",top:"".concat(e-36,"px")},onClick:()=>{if(t.current){var e,n;null==(n=t.current.parentElement)||null==(e=n.nextElementSibling)||e.scrollIntoView({behavior:"smooth",block:"start"})}},children:(0,a.jsx)(i.default,{style:{transform:"translateX(-50%)"},src:"/scroll-to-next.svg",alt:"scroll to next",width:34,height:34})})}},64094:()=>{},79382:()=>{},79730:()=>{},83332:()=>{},86674:()=>{},94059:e=>{e.exports={"cross-fade":"cross-fade_cross-fade__b437U","cross-fade-wrapper":"cross-fade_cross-fade-wrapper__un8yD","cross-fade-wrapper-in":"cross-fade_cross-fade-wrapper-in__EwdlT","cross-fade-content":"cross-fade_cross-fade-content__8ZpJM",crossFadeIn:"cross-fade_crossFadeIn__TQ0Ki","cross-fade-background-fade":"cross-fade_cross-fade-background-fade___JepE","cross-fade-container":"cross-fade_cross-fade-container__hbI72","cross-fade-overlay":"cross-fade_cross-fade-overlay__Tl31P","cross-fade-headline":"cross-fade_cross-fade-headline__qC2Sv","cross-fade-controls":"cross-fade_cross-fade-controls__psyIT","cross-fade-icons-list":"cross-fade_cross-fade-icons-list__NhEcN","cross-fade-icons-list-in":"cross-fade_cross-fade-icons-list-in__DWux7","cross-fade-icons-list-item":"cross-fade_cross-fade-icons-list-item__IWW5a","cross-fade-icons-list-item-active":"cross-fade_cross-fade-icons-list-item-active__zRXhN","cross-fade-active-item-text-wrapper":"cross-fade_cross-fade-active-item-text-wrapper__1O_rv","cross-fade-active-item-text-wrapper-in":"cross-fade_cross-fade-active-item-text-wrapper-in__kUKU1","cross-fade-active-item-headline":"cross-fade_cross-fade-active-item-headline__9Vffa","cross-fade-active-item-text":"cross-fade_cross-fade-active-item-text__lNmhf","word-fade":"cross-fade_word-fade__jj5yx","word-fade-center":"cross-fade_word-fade-center__eECIm","word-fade-left":"cross-fade_word-fade-left__y_f_d","word-fade-word-wrapper":"cross-fade_word-fade-word-wrapper__EhZ7g","word-fade-word":"cross-fade_word-fade-word__M2B6r","word-fade-word-visible":"cross-fade_word-fade-word-visible__drcuV","word-fade-word-description":"cross-fade_word-fade-word-description__1lj4E","word-fade-line-break":"cross-fade_word-fade-line-break__6at58","word-fade-line-break-description":"cross-fade_word-fade-line-break-description__hOAIX","word-fade-line-break-description-wrapper":"cross-fade_word-fade-line-break-description-wrapper__1ve_b",wordFadeIn:"cross-fade_wordFadeIn__iHKQq"}},98304:()=>{}}]);

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.