Galaxy Z Fold6

The ultimate foldable powered by Galaxy AI

Save up to $1,200 in instant trade-in credit.θ

Galaxy Z Fold6 is slightly unfolded and seen from a slanted angle.
See how we leveled up

The thinnest

Z Fold yet

1.5X brighter screen

Camera with ProVisual Engine

Up to 2 hours more video playback

Enhanced durability and dust resistance

Galaxy AI is here

INTERPRETER

Your language on one screen.
Theirs on the other.

Chat in another language using Interpreter with Galaxy AI. FlexMode displays your language on one screen and theirs on the other. ,

A conversation in two languages is transcribed and translated in real time.

NOTE ASSIST

Summarize in the blink of an AI

Jot thoughts down and watch as Note Assist with Galaxy AI creates shopping lists, organizes your notes and summarizes lengthy reads.

The Voice recording button is tapped from the Samsung Notes app. With a press on the Summary button, the transcription is summarized.

S Pen Fold Edition

Learn more

PHOTO ASSIST

Effortless editing with Galaxy AI

With Photo Assist, just hold your finger down on an object to move, erase or enlarge it. Adjust angles or fill backgrounds just as easily.

One of the subjects is selected and moved to another place in the picture. Missing areas are filled in using AI.

Stay in fashion with Sketch to Image

Samsung partnered with Vogue during fashion week to help a designer develop chic new looks using Galaxy Z Fold6 and Sketch to Image.

A designer uses Samsung Galaxy foldable phones to sketch a dress for fashion week. The designer uses Galaxy Z Fold6 to incorporate a motif of flowers using Galaxy AI and Sketch to Image. A model with short hair walks down the street in New York wearing the dress, which is a beige color with sequined and beaded flowers.

Chat with Google Gemini to supercharge your ideas

Thanks to Samsung’s longstanding partnership with Google, your Galaxy now comes with the Google Gemini app. Chat with Gemini to get help learning in new ways, writing thank you notes, planning events and more.

Google Gemini logo. Google Gemini has been asked a question with a screenshot attached. When asked, ‘What's a good activity to do here?’, Gemini provides an answer explaining the contents of the screenshot and recommends the best activity.

The lightest

239 g
The thinnest 5.6 mm
Unfold perfection

A close-up of Galaxy Z Fold6 is displayed at a slight angle that shows off its sides.

THE LIGHTEST

253 g
A folded Galaxy Z Fold6 is shown horizontally.
THE THINNEST 6.1 mm
A slightly unfolded Galaxy Z Fold6 is shown from the side in a V shape.
UNFOLD PERFECTION
An unfolded Galaxy Z Fold6 is shown, with the Main Screen facing forward and upward.

Thinner and lighter than ever before, with a pocket-worthy sillhouette and even brighter awe-inspiring interior screen.

Exclusive pattern.
Bold colors.

Be a true standout with one of the exclusive online colors — available only here on samsung.com.

3d 360 viewer Online Exclusive

Angle Preset

Online exclusive colors only available on samsung.com.

Two Galaxy Z Fold6 devices, one unfolded but only its side view shown, and the other unfolded with both its back sides showing, so that its Silver Shadow color shows.

Angle Preset

*Online exclusive colors only available on samsung.com.

Even better together
with Galaxy AI

Galaxy AI makes it easier than ever to sync up multiple Galaxy devices to track your health and wellness on the go.

HEALTH

Bring fitness into the fold

Start your next adventure and find your Energy Score with all-new Galaxy Watch Ultra.,,,

Galaxy Watch Ultra6

Learn more

Samsung Health

Learn more

LIVE TRANSLATE

Make translations
easy on the ears

Translate phone conversations instantly with real-time voice translation in your ear when paired with Galaxy Buds3 Pro.

Galaxy Buds3 Pro

Learn more
A phone call is translated in real time. The dialogue is then shown on a screen in two different languages.

Galaxy Buds3 Pro

Learn more

Accessories

A flat lay of three Galaxy Z Fold6 devices with various cases installed.

Photography has
a new Galaxy AI engine

Transform your content with an upgraded NPU, mind-blowing specs and Galaxy AI features like AI Zoom powered by ProVisual Engine.

front camera

  • 10MP Cover Camera

  • 4MP Under Display Camera

rear camera

  • 12MP Ultra Wide Camera

  • 50MP Wide-angle Camera 2x Optical Quality Zoom

  • 10MP 3x Optical Zoom Telephoto Camera

For the detail-oriented

Every image comes to life with stunning clarity and vibrancy on a high-resolution, 50MP camera.

A 50 megapixel photo of a man against the backdrop of a building shows rich detail and color. When cropped in closer, details remain clear.
Captured #withGalaxy Z Fold6

Crystal-clear zoom. Powered by AI.

Zoom way, way, way in while keeping noise down and resolution clear. ProVisual Engine's sharp analysis of your shot dramatically enhances zoomed-in photos.

A photo zooms in, going from 1.0x zoom to 1.9x. Even when zoomed in, details remain clear.

Captured #withGalaxy Z Fold6

Brighten things up with Super HDR

See it, believe it. Super HDR puts the right emphasis on details to pop and impress, even before you take the picture.

A woman stands with plants surrounding her. With Super HDR, appropriate lighting adjustments are applied to the photo.
Captured #withGalaxy Z Fold6

Unfold your best business venture

Experience a powerful new assistant with Galaxy AI and grow your team with Galaxy Z Fold6.

Get fully immersed

Dark and Darker mobile logo. A scene in a game is shown at first in close-up, and later from farther until the screen of an unfolded Galaxy Z Fold6 is shown, framing the game-in-progress.

Dark and Darker mobile logo. A scene from the game is shown.

*Dark and Darker Mobile is a trademark or service mark of Krafton, Inc.

One-of-a-kind gaming on the go

Fold open a mobile gaming beast with a massive screen made better by Vision Booster's brightness and clarity, even in broad daylight.,

  • 2600 nits

  • 1.5x brighter

Fastest processor on a Galaxy smartphone

Enjoy silky-smooth gaming with Vulkan, even in AAA games. Then, Snapdragon® 8 Gen 3 for Galaxy renders graphics that are absolutely fire.

The fastest Snapdragon on a Galaxy smartphone,
  • GPU

    19 % faster graphics rendering

  • NPU

    42 % improved on-device AI performance

  • CPU

    18 % faster performance

The fastest Snapdragon on a Galaxy Z Fold yet,

Game on. Rock on. Watch on.

Our battery ensures all-day enjoyment by leveraging a more efficient display. Game on.

  • Listen to music up to

    77 hrs

  • Watch videos up to

    23 hrs

Try Galaxy on your phone

If you haven't experienced the latest Galaxy UI yet, why not give it a try now? Simply scan the QR code and download to begin.

Go to trygalaxy.com
QR code to access Try Galaxy.

Changes start from small steps

From manufacturing to recycling, we're making sustainability a priority for a better world.

Learn more

Frequently Asked Questions

Meet Galaxy Z Fold6.
A big screen for big discoveries.

Get Galaxy Z Fold6 for business

Meet Galaxy Z Flip6.
Mini phone. Mighty AI powers.

Life opens up with Galaxy.
See why it's a great time to switch to Galaxy.

    0% APR for 12, 18, or 24 Months with Equal Payments: Available on purchases of select products charged to a Samsung Financing account. Minimum purchase: $50. 0% APR from date of eligible purchase until paid in full. Estimated monthly payment equals the eligible purchase amount multiplied by a repayment factor and rounded up to the nearest penny (repayment factors: .08333 for 12 month, .05556 for 18 month, .04167 for 24 month). Last payment may vary due to rounding. Total amount of payments will not exceed eligible purchase amount. Other transactions and fees affect overall minimum payment amount. Advertised payment amount, if any, is an estimate and may change once taxes, delivery or other charges are added. Limited time offer. Regular account terms apply to non-promo purchases. Standard Purchase APR: 29.99%. Minimum interest charge: $1. Prior purchases excluded. Account must be in good standing. Subject to credit approval. Samsung Financing account issued by TD Bank, N.A.

    θ For a limited time only, on Samsung.com / Shop Samsung App, or purchase a new qualifying Galaxy device (“Qualifying Purchase”), send in your qualifying trade-in device to Samsung through the Samsung Trade-In Program, and if Samsung determines your trade-in device meets all eligibility requirements, you will receive a trade-in credit specific to your qualifying trade-in device to apply toward your Qualifying Purchase. Device models that currently qualify for trade-in and trade-in credit amounts associated with those models are available on Samsung.com and the Shop Samsung App; eligible models and amounts may change at Samsung’s sole discretion. To be eligible for trade-in, your qualifying device must meet all Trade-In Program eligibility requirements, which include, but are not limited to, that the device powers on, holds a charge, and does not power off unexpectedly; has a functioning display; has no breaks or cracks in the screen (unless a cracked screen offer applies); has no breaks or cracks in the case; has no liquid damage (whether visible or not); has no other defects that go beyond normal wear and tear; is not on a black list; has a verified FCC ID; has been reset to factory settings; has all personal information removed; has all software locks disabled; and is owned by you (leased devices are not eligible). Anticipated trade-in value will be applied as a credit at time of purchase, but, if you do not send in your trade-in device within 15 days of receipt of your Qualifying Purchase, you will be charged back for the trade-in credit applied to your purchase, or if you send in your trade-in device within 15 days of receipt of your Qualifying Purchase but Samsung determines your device does not meet all eligibility requirements, you will be charged back for the trade-in credit applied to your purchase minus $25. Participation in this program does not excuse you from contracts with your carrier or retailer (or any related payments or fees) for the device that was traded in. Limit 1 trade-in per Qualifying Purchase. Samsung reserves the right to modify or discontinue this offer at any time. The Trade-In Program cannot be combined with any other Samsung, carrier or retailer promotions, discounts, or offers unless specifically provided for in the terms and conditions of such offers. Additional terms, including terms that govern the resolution of disputes, apply. Click here to learn more.

    σ Payment options are offered by Affirm, are subject to an eligibility check, and may not be available in all states. Options depend on your purchase amount, and a down payment may be required. California residents: Affirm Loan Services, LLC is licensed by the Department of Business Oversight. Loans are made or arranged pursuant to California Financing Law license 60DBO-111681.

    Samsung Account required for network-based smart services, including streaming apps and other smart features. Separate [connected] computer, mobile or other device may be necessary to create/log in to Samsung Account. Without Account log in, only external device connections (e.g., via HDMI) and terrestrial/over-the-air TV (only for TVs with tuners) available. If you do not have a Samsung Account, you can easily create one here. it’s free to sign up; terms apply. to learn more.


  1. Requires internet connection; results may vary by uniqueness, clarity and framing of circled image and related factors.
  2. For text in Samsung Notes only (200 – 4,000 characters); requires Samsung account login and internet connection.
  3. Compared to previous Galaxy Z Fold models.
  4. Thickness measured from top to bottom of the glass when unfolded.
  5. Color availability may vary depending on country or carrier.
  6. S Pen (optional) sold separately, compatible only with main display. Requires S Pen Fold Edition or S Pen Pro
  7. Composer feature for Chat Assist requires a network connection and Samsung Account login. This feature is activated when a certain number of characters is met. Service availability may vary by language. Accuracy of results is not guaranteed.
  8. Summary feature for Browsing Assist requires a network connection and Samsung Account login. Service availability may vary by language. Service may have limited functionality or unavailable on certain paid websites. Character limit applies. Accuracy of results is not guaranteed.
  9. Requires Samsung account login and internet connection. Editing with Generative Edit results in a resized photo up to 12MP.
  10. Portrait Studio feature for Photo Assist requires a network connection and Samsung Account login. Editing with Portrait Studio results in a resized photo up to 9MP. A visible watermark is overlaid on the image output upon saving in order to indicate that the image is generated by AI. The accuracy and reliability of the generated output is not guaranteed.
  11. Instant Slow-mo feature for Photo Assist is available on Samsung Video Player and Samsung Gallery. May not be available on certain video file types. Accuracy of results not guaranteed.
  12. Sketch to Image feature requires a network connection and Samsung Account login. Editing with Sketch to Image may result in a resized photo up to 12MP. A visible watermark is overlaid on the image output upon saving in order to indicate that the image is generated by AI. The accuracy and reliability of the generated output is not guaranteed.
  13. Requires Samsung account login and language preset (English and Spanish pre-installed; other languages require free download). Results may vary.
  14. Dual screens are available in Conversation mode only.
  15. Live Translate feature requires network connection to receive call messages. It can translate without network connection once the call messages are received by the device. Samsung Account login required. Live Translate feature is only available on pre-installed Samsung Phone apps and some third-party apps. Service availability may vary by language or region. Certain languages may require language pack download. Accuracy of results is not guaranteed.
  16. Limited to Samsung smartphones.
  17. Galaxy Z Fold6 has a peak brightness of 2600 nits on both the Main Screen and Cover Screen. The displays are adaptive, adjusting brightness level automatically based on the environment. In an area of 5000 lux or higher, High Brightness Mode and Vision Booster will be activated.
  18. Compared to Galaxy Z Fold5.
  19. Snapdragon branded products are products of Qualcomm Technologies, Inc. and/or its subsidiaries.
  20. AP performance improvements shown compared to Galaxy Z Fold5. Actual performance will depend on user environment, conditions and pre-installed software and applications.
  21. Limited to Galaxy foldable smartphones.
  22. Actual battery life may vary by network environment, features and apps used, frequency of calls and messages, the number of times charged, and many other factors. Estimated against the average usage profile compiled and independently assessed by UX Connect Research under default settings using LTE and 5G Sub6 networks.
  23. Based on Samsung internal lab test conditions with pre-release version of given model connected to earphone via Bluetooth under default settings over LTE. Estimated against battery capacity and measured current over battery power consumption during video playback (video file resolution 720p, saved on device) and audio playback (mp3 file, 192kbps, saved on device with LCD display turned off), respectively. Actual video and audio playback times vary by network connection, settings, file format, screen brightness, battery condition and many other factors.
  24. AI Zoom is applied to distances between digital zoom lengths. Accuracy of results is not guaranteed.
  25. The Zoom Map feature activates from 20x zoom and over.
  26. Wired transfers from Android™ devices require the receiving device to have Android™ 4.3 or later and the sending device to have Android 4.3™ or later. Transfers can be completed without a cable through a wireless connection. For wireless connections, the receiving device must have Android™ 4.0 or later and the sending device must have Android™ 4.0 or later. Open Smart Switch Mobile in “Settings” on the receiving Galaxy device or download the Smart Switch Mobile app from the Galaxy Store. Data, content and apps available for transfer may vary by transmission method.
  27. Wired transfers from iOS require the receiving device to have Android™ 4.3 or later and the sending device to have iOS 5 or later. Transfers can be completed without a cable through a wireless connection or iCloud. For wireless connections, the receiving device must have Android™ 4.0 or later and the sending device must have iOS 12 or later. iCloud transfers require the receiving device to have Android™ 4.0 or later and the sending device to have iOS 5 or later. Open Smart Switch Mobile in “Settings” on the receiving Galaxy device or download the Smart Switch Mobile app from the Galaxy Store. For wireless transfers, download Smart Switch for iOS from the App Store on your iPhone or iPad. Data, content and apps available for transfer may vary by transmission method. Contacts, gallery, videos, calendars and reminders can be transferred wirelessly from an iOS device.
  28. It is recommended to use a wired connection when transferring diverse sets of data at once.
  29. Quick Share feature between Galaxy devices available with the following OS: smartphones and tablets with Android OS version 10.0 (Q) and One UI 2.1 or above, PCs running Windows 10 or later. Requires Samsung Account and Wi-Fi and Bluetooth connection. Quick Share to iOS and Android devices available by sending shared link: individual files shared cannot exceed 3GB (for a total of 5GB per day) and link will expire after two days; requires a Samsung Account and internet connection.
  30. Compared to previous models.
  31. Armor Aluminum Frame does not include volume and side keys or SIM tray.
  32. Corning® Gorilla® Glass Victus® 2 is applied to the front and rear of the device.
  33. IP48: Resists solid particles >1 mm; Tested for submersion in up to 5 feet of fresh water for up to 30 minutes. Rinse residue / dry after wet.
  34. Samsung Care+ coverage, service type and promotion details may vary by country/region and deductible (service fee) may apply. To be eligible for Samsung Care+ promotion benefit, registration may be required. For detailed Samsung Care+ information, please visit https://www.samsung.com/samsung-care-plus/.
  35. Galaxy Buds3 Pro, Galaxy Watch Ultra and Galaxy Watch7 devices sold separately.
  36. Galaxy Buds3 Pro and Galaxy Watch7 devices sold separately.
  37. Requires Samsung Galaxy Smartphone with Android 11.0 or later, 2GB or more RAM and Samsung Health Monitor app version 6.22 or later (available only at the Samsung Galaxy app store).
  38. Measured diagonally, Galaxy Z Fold6’s Main Screen size is 7.6" in the full rectangle and 7.6" accounting for the rounded corners; actual viewable area is less due to the rounded corners.
  39. Measured diagonally, Galaxy Z Fold6's Cover Screen size is 6.3" in the full rectangle and 6.2" accounting for the rounded corners; actual viewable area is smaller due to the rounded corners and camera hole.
  40. Air Command feature availability may vary by model or app.
  41. Typical value tested under third-party laboratory condition. Typical value is the estimated average value considering the deviation in battery capacity among the battery samples tested under IEC 61960 standard. Rated capacity is 4273mAh for Galaxy Z Fold6. Actual battery life may vary depending on network environment, usage patterns and other factors.
  42. Expert RAW must be downloaded separately from the Galaxy Store, for free, before use. Supported on S24 and S23 series devices, S22 series devices, S21 Ultra, S20 Ultra, Note20 Ultra, Z Fold6, Z Flip6, Z Fold5, Z Fold4, Z Fold3 and Z Fold2.
  43. Requires Samsung Galaxy Smartphone with Android 11.0 or later, 2GB or more RAM and Samsung Health Monitor app version 6.22 or later (available only at the Samsung Galaxy app store).
  44. The heart rate software functions are not intended for use in the diagnosis of disease or other conditions, or in the cure, mitigation, treatment or prevention of disease.
  45. Galaxy Ring AI features track data and require compatible phone and Samsung account.
  46. One (1) replacement of the screen protector for each qualifying purchase within one year from the date of purchase; proof of eligible purchase required. See full terms and conditions at https://www.samsung.com/us/support/service/z-screen-protector-promo/.
  47. One (1) reduced-fee screen repair [($200/Galaxy Z FOLD6, $200/Z FLIP6)] for each [Z FOLD6 or Z FLIP6] qualifying purchase made by 07/31/25. Expires two years from purchase; proof of eligible purchase required. See full terms and conditions at https://www.samsung.com/us/support/service/z6assurance-screen-repair-promo/.
  48. Galaxy AI features by Samsung will be provided for free until the end of 2025 on supported Samsung Galaxy devices.
  49. Products sold separately.
  50. Sequences shortened and simulated. Results for illustrative purposes only. Service availability may vary by country, language, device model. Requires internet connection and Google Account login. Users may need to download or update Google Gemini app to the latest version. Check responses for accuracy. Gemini is a trademark of Google LLC. Gemini opt-in is rolling out to select devices and countries — opt in to Gemini from your Google Assistant or by downloading the Gemini app. Product functionality may be dependent on app and device settings. Some functions may not be compatible with certain apps. Accuracy of results is not guaranteed. Feature availability may vary by content.
"))}},isZoom:function(){let e=100/(window.innerWidth/window.outerWidth*100);e>1.7?document.documentElement.classList.add("browser-zoomed-175"):document.documentElement.classList.remove("browser-zoomed-175"),e>3?document.documentElement.classList.add("browser-zoomed-300"):document.documentElement.classList.remove("browser-zoomed-300"),e>4?document.documentElement.classList.add("browser-zoomed-400"):document.documentElement.classList.remove("browser-zoomed-400")},getViewerUrl:function(){let e="",t=document.querySelector(".js-colors-viewer"),o=document.querySelector(".viewer-btn"),s=i.isLowNetwork()?o.getAttribute("data-model-name"):t.getAttribute("data-model-name"),n=i.isLowNetwork()?o.getAttribute("data-model-color"):t.getAttribute("data-model-color"),r="//www.samsung.com/global/galaxy/3d-360/viewer/?";return e="&gesture_guide=0",e+="&bgcolor=transparent",e+="&skin=colorlayer",e+="&theme=roundlayer",e+="&auto_rotation=0",e+="&intro=1",e+="&ruler=1",e+="&breakpoint_criteria=outer",e+="&breakpoint_desktop_width=1024",e+="&x=180",e+="&status_toggle=1",e+="&intro_pose=3",e+="&intro_pose_once=1",e+="&intro_pose_hold=1",e+="&intro_pose_hold_limit=9999999",e+="&controls=0",e+="&use_zoom=0",e+="&use_pan=0",e+="&screen_mode=on",r+="model_name="+s,document.documentElement.classList.contains("color_yb")||null!=i.getCookie("highContrastMode")&&1==i.getCookie("highContrastMode")?r+="&highcontrast=1":r+="&highcontrast=0",i.isRTL()&&(r+="&rtl=1"),r+="&gesture_guide=0&bgcolor=transparent&skin=colorlayer&theme=roundlayer&auto_rotation=0&intro=1&ruler=1&breakpoint_criteria=outer&breakpoint_desktop_width=1024&x=180&status_toggle=1&intro_pose=3&intro_pose_once=1&intro_pose_hold=1&intro_pose_hold_limit=9999999&controls=0&use_zoom=0&use_pan=0&screen_mode=on",r+="#color="+(n||"null"),r}}}(),flagship.features.setting=function(){const e=window.flagship.common.resize,t=window.flagship.features.common,i=window.flagship.common.utils,o=navigator.userAgent.toLowerCase().indexOf("mac os")>-1,s="ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch,n=document.documentElement.classList.contains("global");let r={};const l=function(){r.videoWrap=document.querySelectorAll(".js-video-wrap")},a=function(){window.addEventListener("load",c),window.addEventListener("hashchange",c)},c=function(){if(""!=window.location.hash){let e=location.hash.split("#")[1],t=document.querySelector("#contents #"+e),o=null;clearTimeout(o),o=setTimeout((function(){let e=t.getBoundingClientRect().top,o=i.getNavHeight(),s=window.pageYOffset+e-o;window.scrollTo(0,s)}),300)}},d=function(){e.init([{resolution:1920,resolutionName:"desktop",eventFunction:""},{resolution:1023,resolutionName:"tablet",eventFunction:""},{resolution:767,resolutionName:"mobile",eventFunction:""},{resolution:320,resolutionName:"mobileS",eventFunction:""}],200),e.add(t.setResolution)},p=function(){window.scrollController=i.scrollController(),scrollController.init({speed:120,duration:.6})},u=function(){window.imageLoader=i.mediaLoader({lazyClass:".js-img-src",responsiveClass:".js-res-img",preset:n?"":"?imbypass=true",loadOption:[{resolution:1920,attribute:"data-src-pc"},{resolution:1023,attribute:"data-src-tb"},{resolution:767,attribute:"data-src-mo"},{resolution:360,attribute:"data-src-mo-s"}],visiblePoint:2}),window.bgLoader=i.mediaLoader({type:"bgImage",lazyClass:".js-bg-img",loadOption:[{resolution:1920,attribute:"",bgOpts:""}],visiblePoint:2})},v=function(){window.videoLoader=i.mediaLoader({type:"video",lazyClass:".js-video-src",responsiveClass:".js-res-video",preset:n?"":"?imbypass=true",loadOption:[{resolution:1920,attribute:"data-video-src-pc"},{resolution:1023,attribute:"data-video-src-tb"},{resolution:767,attribute:"data-video-src-mo"},{resolution:360,attribute:"data-video-src-mo-s"}],visiblePoint:1,endCallback:function(e){e.videoHandler&&!e.videoHandler.wrap.classList.contains("is-loaded")&&e.videoHandler.wrap.classList.add("is-loaded")}})},m=function(){window.mp4VideoLoader=i.mediaLoader({type:"mp4Video",lazyClass:".js-mp4-video-src",responsiveClass:".js-res-video",preset:n?"":"?imbypass=true",loadOption:[{resolution:1920,attribute:"data-video-src-pc"},{resolution:1023,attribute:"data-video-src-tb"},{resolution:767,attribute:"data-video-src-mo"},{resolution:360,attribute:"data-video-src-mo-s"}],visiblePoint:1,endCallback:function(e){e.videoHandler&&!e.videoHandler.wrap.classList.contains("is-loaded")&&e.videoHandler.wrap.classList.add("is-loaded")}})},f=function(){r.contents=document.querySelector("#contents"),r.allClickables=r.contents.querySelectorAll("a, button, input, select");for(let e=0;e-1)e[t].innerText=i.indexOf(o)+1;else if(1==s)e[t].parentElement.remove();else{let i=e[t].parentElement.childNodes,o=[];for(let e=0;e0&&(i(),o())}}}(),window.flagship.features.headline=function(){window.flagship.common.utils;let e={};const t=function(){e.moveText=document.querySelectorAll(".js-move-text")},i=function(){s.setScene(),o.scroll(),s.scroll()},o={scroll:function(){window.addEventListener("scroll",s.scroll)}},s={scroll:function(){for(let t=0;t=10&&(e.moveText[t].classList.add("is-moved"),this.trackElement.classList.contains("common-description")&&(this.trackElement.style.transitionDelay="0.2s")),this.progress<=0&&e.moveText[t].classList.remove("is-moved")}))},setScene:function(){for(let t=0;t-1&&t.buttons.length>=3||(i.indexOf("desktop")>-1||"tablet"==i)&&t.buttons.length>=5?(t.scrollbar.style.display="block",t.arrowWrap.style.display="block",a.set(),2==e.index?t.swiperContainer.swiper.slideTo(1,0):3==e.index?t.swiperContainer.swiper.slideTo(2,0):t.swiperContainer.swiper.slideTo(0,0)):(t.scrollbar.style.display="none",t.arrowWrap.style.display="none",a.destroy())}},c={setTitle:function(e){"undefined"!=typeof LOCAL_VARI&&LOCAL_VARI?e.setAttribute("title",LOCAL_VARI.selected):e.setAttribute("title","Selected")}};return{init:function(){t.layerPopup=document.querySelector(".js-howto-popup"),t.layerPopup&&(o(),s(),n(),l.setPopup())}}}(),window.flagship=window.flagship||{},window.flagship.features=window.flagship.features||{},window.flagship.features.oneColumnCarousel=function(){const e=window.flagship.common.utils,t=window.flagship.common.resize;let i,o={},s=t.checkResolution(),n="is-dimmed";const r=document.documentElement.classList.contains("rtl"),l=function(){for(let e=0;e=2&&o.section[e].swiper.init()},resize:function(){s=t.checkResolution(),i!=s&&(d.responsive(),i=s)},responsive:function(){for(let e=0;e0&&"mobile"!=s&&d.initDimmedSlides(o.section[e].swiper)},setMedia:function(e,t){let i=t+1>e.slides.length-1?e.slides.length-1:t+1,o=e.el.querySelectorAll("video").length-1,s=e.el.querySelectorAll("img").length-1,n=e.el.querySelectorAll(".is-video-load-complete").length-1,r=e.el.querySelectorAll(".is-img-load-complete").length-1,l=e.slides[i].querySelector("video"),a=e.slides[i].querySelector("img");n!=o&&l&&videoLoader.setResponsiveMedia([l]),r!=s&&a&&imageLoader.setResponsiveMedia([a])},resetVideo:function(e){for(let t=0;tt||e.activeIndex+(d.getCarouselSizeInfo(e).viewLength-1)0&&"mobile"!=s&&d.initDimmedSlides(this)},slideChange:function(){u.slide(this),d.resetVideo(this),d.getCarouselSizeInfo(this).viewLength>0&&"mobile"!=s&&d.setDimmedSlide(this),this.realIndex>0&&d.setMedia(this,this.realIndex)},transitionEnd:function(){this.slides.length<3&&"mobile"==s||setTimeout((()=>{let t=d.getCarouselSizeInfo(this),i=this.slides.length-1,o=this.slides[i],s=this.slides[i-1];t.isMoveSize>t.lastBeforeSize||t.maxMoveSize==t.isMoveSize?(d.resetVideo(this),o.classList.add("is-last-slide"),s.classList.add("is-dimmed"),o.classList.remove("is-dimmed"),e.offAccessibility(this.slides[i]),e.onAccessibility(this.slides[i-1])):o.classList.contains("is-last-slide")&&t.lastBeforeSize==t.isMoveSize&&(d.resetVideo(this),o.classList.add("is-dimmed"),o.classList.remove("is-last-slide"),s.classList.remove("is-dimmed"),e.onAccessibility(this.slides[i]),e.offAccessibility(this.slides[i-1]))}),0)},destroy:function(e){null!=e&&(e.navigation.destroy(!0),e.destroy(!0),e=null)}},u={slide:function(t){for(let i=0;i-1?i.scrollVideoWraps[t].moStartPoint:i.scrollVideoWraps[t].startPoint,reversePoint:o.indexOf("mobile")>-1?i.scrollVideoWraps[t].moReversePoint:i.scrollVideoWraps[t].reversePoint,wrap:i.scrollVideoWraps[t],video:i.scrollVideoWraps[t].video,controller:i.scrollVideoWraps[t].controller,resetCallback:function(){this.wrap.classList.contains("is-completed")&&this.wrap.classList.remove("is-completed"),this.wrap.classList.contains("is-started")&&this.wrap.classList.remove("is-started"),this.video.videoWrap&&this.video.videoWrap.classList.contains("js-interactive-intro-video")&&this.video.tooltip.classList.remove("is-visible")},playCallback:function(){this.wrap.classList.contains("is-started")||this.wrap.classList.add("is-started"),a.pause(this.controller)},pauseCallback:function(){a.play(this.controller)},endCallback:function(){this.wrap.classList.contains("is-completed")||this.wrap.classList.add("is-completed")}})},setScene:function(){for(let t=0;t.js-scroll-video"),i.scrollVideoWraps.length>0&&(s(),l.setVideo(),l.setScene(),n())}}}(),window.flagship.features.threeColumnCarousel=function(){const e=window.flagship.common.utils,t=window.flagship.common.resize;let i={},o=null,s=t.checkResolution();dimmedClass="is-dimmed";const n=document.documentElement.classList.contains("rtl"),r=function(){for(let e=0;e3,o=("mobile"==s||"mobileS"==s)&&i.section[e].swiperSlide.length>1;(t||o)&&(d.set(),a(),i.section[e].swiper.init())}},resize:function(){s=t.checkResolution(),o!=s&&(c.responsive(),o=s)},responsive:function(){for(let e=0;e3,n="mobile"==s&&t.swiperSlide.length>1;c.resetDimmedSlide(t.swiper),p.reset(t.swiper),o||n?(t.swiper.initialized&&d.destroy(t.swiper),d.set(),a(),t.swiper.init(),o&&c.initDimmedSlides(t.swiper),n&&p.slide(t.swiper)):o&&n||null==t.swiper||t.swiper.initialized&&d.destroy(t.swiper)}},getCarouselSizeInfo:function(e){let t=e.slides.length,i=e.slides[0].clientWidth,o=parseInt(window.getComputedStyle(e.slides[0]).margin.split(" ")[n?3:1]),s=i+o,r=s*t-o-e.wrapperEl.clientWidth,l=e.wrapperEl.clientWidth,a=Math.round((l+o)/s);return{slideLength:t,slideWidth:i,slideMargin:o,slideSize:s,maxMoveSize:r,viewWidth:l,viewLength:a,lastBeforeSize:3==t?0:(i+o)*(t-a-1),isMoveSize:Math.abs(parseInt(window.getComputedStyle(e.wrapperEl).transform.split(",")[4]))}},initDimmedSlides:function(t){for(let i=0;ii||t.activeIndex+(c.getCarouselSizeInfo(t).viewLength-1){let t=this.slides.length-1,i=this.slides[t],o=e.slideLength-1-e.viewLength,s=this.slides[o];e.isMoveSize>e.lastBeforeSize&&e.maxMoveSize>=e.isMoveSize?(i.classList.add("is-last-slide"),s.classList.add("is-dimmed"),i.classList.remove("is-dimmed")):i.classList.contains("is-last-slide")&&e.lastBeforeSize==e.isMoveSize&&(i.classList.add("is-dimmed"),i.classList.remove("is-last-slide"),s.classList.remove("is-dimmed"))}),0))},slideChange:function(){c.setDimmedSlide(this),"mobile"==s&&p.slide(this)},destroy:function(e){e.navigation.destroy(!0),e.destroy(!0),e=null}},p={slide:function(t){for(let i=0;ie+document.querySelector(".features-kv").getBoundingClientRect().top&&!s&&(i.introLogoVideoWrap.coverImg.classList.contains("is-img-load-complete")||imageLoader.setResponsiveMedia([i.introLogoVideoWrap.coverImg]),i.introLogoVideoWrap.video.classList.contains("is-mp4video-load-complete")||mp4VideoLoader.setResponsiveMedia([i.introLogoVideoWrap.video]),i.logoVideoWrap.coverImg.classList.contains("is-img-load-complete")||imageLoader.setResponsiveMedia([i.logoVideoWrap.coverImg]),i.logoVideoWrap.video.classList.contains("is-mp4video-load-complete")||mp4VideoLoader.setResponsiveMedia([i.logoVideoWrap.video]),s=!0)},setVideoHandler:function(){e.videoHandler({wrap:i.introLogoVideoWrap,video:i.introLogoVideoWrap.video}),e.videoHandler({wrap:i.logoVideoWrap,video:i.logoVideoWrap.video})},fixedScroller:{set:function(){null==i.fixedTrack.scene&&(i.fixedTrack.scene=SCROLLER({trackElement:i.fixedTrack,fixedElement:i.fixedInner,useFixed:!0,useFixedStlye:!1,useStrictMode:!1,trackHeight:2,resize:!e.detector.isTouchDevice}))},destroy:function(){null!=i.fixedTrack.scene&&(i.fixedTrack.scene.destroy(!0,!0),i.fixedTrack.scene=null,i.fixedTrack.style="")},play:function(){null!=i.fixedTrack.scene&&i.fixedTrack.scene.trackAnimation((function(){let t=this.progress,s=o.indexOf("mobile")>-1;introLogoHideValue=e.calRange({targetValue:1,progress:t,startPoint:35,endPoint:45}),introLogoScaleValue=e.calRange({targetValue:.5,progress:t,startPoint:35,endPoint:45}),textWrapShowValue=e.calRange({targetValue:1,progress:t,startPoint:43,endPoint:48}),topMiddleTextShowValue=e.calRange({targetValue:1,progress:t,startPoint:38,endPoint:45}),logoShowValue=e.calRange({targetValue:1,progress:t,startPoint:40,endPoint:46}),bottomTextShowValue=e.calRange({targetValue:1,progress:t,startPoint:50,endPoint:55}),bottomTextTopValue=e.calRange({targetValue:50,progress:t,startPoint:52,endPoint:60}),t<-36&&(i.introLogoVideoWrap.video.paused||(i.introLogoWrap.classList.contains("is-visible")&&i.introLogoWrap.classList.remove("is-visible"),i.introLogoVideoWrap.video.pause(),i.introLogoVideoWrap.video.currentTime=0)),t>-20&&i.introLogoVideoWrap.video.paused&&(i.introLogoWrap.classList.contains("is-visible")||i.introLogoWrap.classList.add("is-visible"),i.introLogoVideoWrap.video.play()),t>=0&&t<=100&&(t>30?TweenMax.to(i.introLogoWrap,.5,{opacity:1-introLogoHideValue,scale:1-introLogoScaleValue,ease:"cubic-bezier(0, 0.25, 0, 1.06)"}):i.introLogoWrap.style.opacity=1,TweenMax.to(i.overviewTextWrap,.1,{opacity:textWrapShowValue}),TweenMax.to(i.overviewTopText,.1,{opacity:topMiddleTextShowValue}),s?TweenMax.to(i.overviewMiddleTextMo,.1,{opacity:topMiddleTextShowValue}):TweenMax.to(i.overviewMiddleTextPc,.1,{opacity:topMiddleTextShowValue}),TweenMax.to(i.logoWrap,.1,{opacity:logoShowValue}),t>45?i.logoVideoWrap.video.paused&&(i.logoWrap.classList.contains("is-visible")||i.logoWrap.classList.add("is-visible"),i.logoVideoWrap.video.play()):i.logoVideoWrap.video.paused||(i.logoWrap.classList.contains("is-visible")&&i.logoWrap.classList.remove("is-visible"),i.logoVideoWrap.video.pause(),i.logoVideoWrap.video.currentTime=0),t>45?i.dimmed.classList.contains("is-active")||i.dimmed.classList.add("is-active"):i.dimmed.classList.contains("is-active")&&i.dimmed.classList.remove("is-active"),s?TweenMax.to(i.overviewBottomTextMo,.3,{opacity:bottomTextShowValue,y:50-bottomTextTopValue+"%",ease:"cubic-bezier(0, 0.25, 0, 1.06)"}):TweenMax.to(i.overviewBottomTextPc,.3,{opacity:bottomTextShowValue,y:50-bottomTextTopValue+"%",ease:"cubic-bezier(0, 0.25, 0, 1.06)"}))}))}},checkBrokenFixed:function(){let e=window.innerWidth,t=window.innerHeight;document.documentElement.classList.remove("is-ai-broken-fixed"),e>1440&&t<=720||e<=1440&&t/e<.5277?document.documentElement.classList.add("is-ai-broken-fixed"):document.documentElement.classList.remove("is-ai-broken-fixed")},setStaticContents:function(){i.section.classList.add("none-fixed")},setFixedContents:function(){i.section.classList.contains("none-fixed")&&i.section.classList.remove("none-fixed"),window.addEventListener("scroll",a.setScroll),a.setVideoHandler(),a.fixedScroller.set()},setContents:function(){a.checkBrokenFixed(),document.documentElement.classList.contains("is-ai-broken-fixed")||document.documentElement.classList.contains("low_network")?(a.fixedScroller.destroy(),a.setStaticContents(),window.removeEventListener("scroll",a.setScroll)):a.setFixedContents()},setScroll:function(){a.mediaLoader(),a.fixedScroller.play()}};return{init:function(){i.section=document.querySelector(".features-ai-overview"),i.section&&(n(),r())}}}(),window.flagship.features.cameraSpec=function(){window.flagship.common.utils;const e=window.flagship.common.resize;let t={},i=null,o=e.checkResolution();const s=function(){t.listInner=t.section.querySelectorAll(".js-camera-spec-inner")},n=function(){e.add(l.resize),l.load(),l.showCollout(),r.scroll()},r={scroll:function(){window.addEventListener("scroll",l.showCollout)}},l={load:function(){l.setSecene()},resize:function(e){o=e,o!=i&&(i=o)},setSecene:function(){for(let e=0;e0&&this.trackElement.classList.add("is-active"),0==e&&this.progress<=0)for(let e=0;e-1?5:7;const c=function(){s.panelWrap=s.section.querySelector(".js-panel-wrap"),s.panelItems=s.panelWrap.querySelectorAll(".js-panel-item"),s.swiperContainer=e.querySelector(".js-colorchip-container"),s.colorchipButtons=e.querySelectorAll(".js-colorchip-button"),s.swiperArrowWrap=e.querySelector(".js-arrow-wrap"),s.swiperNextArrow=e.querySelector(".js-colorchip-next"),s.swiperPrevArrow=e.querySelector(".js-colorchip-prev"),s.colorchipNames=e.querySelectorAll(".js-colorchip-name"),s.viewerBtn=s.section.querySelector(".viewer-btn"),s.viewerSection=s.section.querySelector(".js-colors-viewer"),s.viewerIframe=e.contentWrap.querySelector("iframe"),s.exclusive=e.contentWrap.querySelector(".js-exclusive-badge")},d=function(){for(let e=0;e=document.querySelector(".features-kv").getBoundingClientRect().height+t.getNavHeight()&&(e.bgImgs=e.querySelectorAll(".js-bg-img"),e.bgImgs&&bgLoader.setResponsiveMedia(e.bgImgs),v.setViewer(),window.removeEventListener("scroll",v.scroll))},setViewer:function(){t.isLowNetwork()||(setTimeout((function(){s.viewerIframe.style.position="fixed",s.viewerIframe.style.top=0,s.viewerIframe.style.opacity=0,setTimeout((function(){s.viewerIframe.style.position="",s.viewerIframe.style.top="",s.viewerIframe.style.opacity=""}),300)}),1e3),v.setViewerUrl(s.colorchipButtons[0].getAttribute("data-colors")))},checkColorchipSwiper:function(){let e=r.indexOf("mobile")>-1?6:8;s.colorchipButtons.length>=e?("none"==s.swiperArrowWrap.style.display&&(s.swiperArrowWrap.style.display=""),m.set()):("none"!=s.swiperArrowWrap.style.display&&(s.swiperArrowWrap.style.display="none"),null!=s.colorchipSwiper&&m.destroy())},setColors:function(e){v.setPopupBtn(s.colorchipButtons[e]),v.setColorchip(e),v.setPanel(e),v.setColorName(e),v.setExclusive(e)},resize:function(e){r=e,r!==l&&(v.checkColorchipSwiper(),a=r.indexOf("mobile")>-1?5:7,l=r)},clickColorchip:function(){v.setColors(this.index),v.setViewerUrl(this.getAttribute("data-colors"))},setColorchip:function(t){let i=s.colorchipButtons[t];for(let t=0;t-1?o!=e.activeIndex&&o>e.activeIndex+4||e.activeIndex>o:o!=e.activeIndex&&o>e.activeIndex+6||e.activeIndex>o,i?(t.onAccessibility(e.slides[o]),setTimeout((function(){t.onAccessibility(e.slides[o])}),300)):(t.offAccessibility(e.slides[o]),setTimeout((function(){t.offAccessibility(e.slides[o])}),300))},selected:function(e){"undefined"!=typeof LOCAL_VARI&&LOCAL_VARI?e.setAttribute("title",LOCAL_VARI.selected):e.setAttribute("title","Selected")}};return s.section=document.querySelector(".js-colors"),s.popup=document.querySelector(".js-viewer"),"popup"==e.type?e.contentWrap=s.popup:e.contentWrap=s.section,c(),d(),void p()};let e=document.querySelectorAll(".js-colorchip");for(let t=0;t0)for(let t=0;t-1){e.preventDefault();let i=this.getAttribute("href"),o=document.querySelector(`${i}`),s=o.getBoundingClientRect().top+window.pageYOffset-t.getNavHeight(),n=o.querySelectorAll("a, button"),r=o.querySelector("h2")||o.querySelector("h3");if(r){let e=function(){r.removeAttribute("tabindex"),r.removeEventListener("focusout",e)};r.addEventListener("focusout",e),r.setAttribute("tabindex",0),r.focus()}else n[0].focus();window.scrollTo(0,s)}}};return{init:function(){i.section=document.querySelector(".js-faq"),i.section&&(n(),r())}}}(),window.flagship.features.formfactor=function(){const e=window.flagship.common.utils,t=flagship.common.resize;let i={},o=t.checkResolution(),s=e.detector.isTouchDevice&&document.documentElement.classList.contains("android"),n={num:6.1},r={num:253};const l=function(){i.fixedVideoTrack=i.section.querySelector(".js-fixed-track"),i.fixedVideoInner=i.section.querySelector(".js-fixed-inner"),i.fixedVideoWrap=i.section.querySelector(".js-fixed-scroll-video .js-video-wrap"),i.fixedVideo=i.section.querySelector(".js-fixed-scroll-video video"),i.titleWrap1=i.section.querySelector(".js-title-1"),i.titleWrap2=i.section.querySelector(".js-title-2"),i.titleWrap3=i.section.querySelector(".js-title-3"),i.titleWrap1.text=i.titleWrap1.querySelector(".js-title-text-1"),i.titleWrap2.text=i.titleWrap2.querySelector(".js-title-text-2"),i.titleWrap3.text=i.titleWrap3.querySelector(".features-form-factor__title"),i.titleWrap1.infoWrap=i.titleWrap1.querySelector(".js-info-wrap-1"),i.titleWrap2.infoWrap=i.titleWrap2.querySelector(".js-info-wrap-2"),i.titleWrap1.infoWrap.value=i.titleWrap1.infoWrap.querySelector(".js-value-1"),i.titleWrap2.infoWrap.value=i.titleWrap2.infoWrap.querySelector(".js-value-2")},a=function(){c.load(),t.add(c.resize)},c={load:function(){d.checkBrokenFixed(),document.documentElement.classList.contains("is-formfactor-broken-fixed")||document.documentElement.classList.contains("low_network")?window.addEventListener("DOMContentLoaded",d.setStaticContents,{once:!0}):s?(window.addEventListener("DOMContentLoaded",(function(){d.fixedScroller.set(),d.sequencePlayer.set()}),{once:!0}),window.addEventListener("scroll",d.sequencePlayer.play)):(window.addEventListener("DOMContentLoaded",d.setVideoHandler,{once:!0}),i.fixedVideo.addEventListener("canplaythrough",(function(){window.addEventListener("scroll",d.fixedScroller.play),d.fixedScroller.set()}),{once:!0})),window.addEventListener("orientationchange",c.orientationchange)},resize:function(){d.setContents()},orientationchange:function(){setTimeout((function(){d.setContents()}),150)}},d={setVideoHandler:function(){e.videoHandler({wrap:i.fixedVideoWrap,video:i.fixedVideo})},fixedScroller:{set:function(){d.fixedScroller.destroy(),null==i.fixedVideoTrack.scene&&(i.fixedVideoTrack.scene=SCROLLER({trackElement:i.fixedVideoTrack,fixedElement:i.fixedVideoInner,useFixed:!0,useFixedStyle:!1,trackHeight:s?4.5:6,resize:!e.detector.isTouchDevice}))},destroy:function(){null!=i.fixedVideoTrack.scene&&(i.fixedVideoTrack.scene.destroy(!0,!0),i.fixedVideoTrack.scene=null,i.fixedVideoTrack.style="")},play:function(){null!=i.fixedVideoTrack.scene&&i.fixedVideoTrack.scene.trackAnimation(d.fixedScrollMotion)}},sequencePlayer:{set:function(){let e=null;e=o.indexOf("desktop")>-1?"galaxy-z-fold6-features-form-factor-":o.indexOf("mobile")>-1?"galaxy-z-fold6-features-form-factor-mo-":"galaxy-z-fold6-features-form-factor-tb-",i.fixedVideoTrack.seqSence=SEQUENCEPLAYER({targetElement:i.fixedVideoWrap,startNum:0,endNum:92,path:"undefined"==typeof SEQUENCE_IMG_PATH?"./images/seq/":SEQUENCE_IMG_PATH,name:e,extension:"jpg",addType:"append"})},destroy:function(){null!=i.fixedVideoTrack.seqSence&&(i.fixedVideoWrap.removeChild(i.fixedVideoWrap.querySelector("canvas")),i.fixedVideoTrack.seqSence=null)},play:function(){null!=i.fixedVideoTrack.scene&&i.fixedVideoTrack.scene.trackAnimation(d.fixedScrollMotion)}},fixedScrollMotion:function(){let t=this.progress,s=o.indexOf("mobile")>-1;if(null!=i.fixedVideoTrack.seqSence){let o=e.calRange({targetValue:92,progress:t});i.fixedVideoTrack.seqSence.play({index:parseInt(o)})}else if(i.fixedVideo.readyState>=4){let o=e.calRange({targetValue:i.fixedVideo.duration,progress:t});i.fixedVideo.currentTime=o-.1}if(s){let o=e.calRange({targetValue:1,progress:t,startPoint:47,endPoint:50}),s=e.calRange({targetValue:1,progress:t,startPoint:44,endPoint:48}),l=e.calRange({targetValue:70,progress:t,startPoint:44,endPoint:48}),a=e.calRange({targetValue:1,progress:t,startPoint:58,endPoint:65}),c=e.calRange({targetValue:1,progress:t,startPoint:58,endPoint:65}),d=e.calRange({targetValue:50,progress:t,startPoint:60,endPoint:66});TweenMax.to(i.titleWrap1.infoWrap,.1,{opacity:s-.01}),TweenMax.to(i.titleWrap1.text,.1,{opacity:o-.01}),TweenMax.to(i.titleWrap1,.1,{y:50-l+"%"}),1==o&&(i.titleWrap1.text.classList.add("is-text-visible"),i.titleWrap1.infoWrap.classList.add("is-text-visible")),"down"==this.wheelDirection?t>=44&&TweenMax.to(r,.6,{num:239,onUpdate:function(){i.titleWrap1.infoWrap.value.innerText=Math.floor(r.num)}}):0==t&&TweenMax.to(i.titleWrap1.infoWrap.value,.5,{onUpdate:function(){i.titleWrap1.infoWrap.value.innerText="253",i.titleWrap2.infoWrap.value.innerText=6.1,r.num=253}}),t>58&&(TweenMax.to(i.titleWrap1.infoWrap,.1,{opacity:1-c}),TweenMax.to(i.titleWrap1.text,.1,{opacity:1-a}),1==a&&(i.titleWrap1.text.classList.remove("is-text-visible"),i.titleWrap1.infoWrap.classList.remove("is-text-visible"))),t>=60&&TweenMax.to(i.titleWrap1,.1,{y:-(l+d)+"%"});let p=e.calRange({targetValue:1,progress:t,startPoint:66,endPoint:70}),u=e.calRange({targetValue:1,progress:t,startPoint:64,endPoint:68}),v=e.calRange({targetValue:50,progress:t,startPoint:64,endPoint:68}),m=e.calRange({targetValue:1,progress:t,startPoint:87,endPoint:90}),f=e.calRange({targetValue:1,progress:t,startPoint:87,endPoint:90}),w=e.calRange({targetValue:.1,progress:t,startPoint:87,endPoint:90});TweenMax.to(i.titleWrap2.infoWrap,.1,{opacity:u-.01}),TweenMax.to(i.titleWrap2.text,.1,{opacity:p-.01}),TweenMax.to(i.titleWrap2,.1,{y:50-v+"%"}),1==p&&(i.titleWrap2.text.classList.add("is-text-visible"),i.titleWrap2.infoWrap.classList.add("is-text-visible")),"down"==this.wheelDirection?t>=66&&TweenMax.to(n,.6,{num:5.6,onUpdate:function(){i.titleWrap2.infoWrap.value.innerText=n.num.toFixed(1)}}):t<68&&TweenMax.to(i.titleWrap2.infoWrap.value,.5,{onUpdate:function(){n.num=6.1}}),t>86&&(TweenMax.to(i.titleWrap2.infoWrap,.1,{opacity:1-f}),TweenMax.to(i.titleWrap2.text,.1,{opacity:1-m}),1==m&&(i.titleWrap2.text.classList.remove("is-text-visible"),i.titleWrap2.infoWrap.classList.remove("is-text-visible"))),TweenMax.to(i.titleWrap2,.1,{scale:1-w});let g=e.calRange({targetValue:1,progress:t,startPoint:90,endPoint:100}),h=e.calRange({targetValue:.9,progress:t,startPoint:90,endPoint:100});TweenMax.to(i.titleWrap3,.1,{opacity:g}),TweenMax.to(i.titleWrap3,.1,{scale:1.9-h}),1==g?i.titleWrap3.text.classList.add("is-text-visible"):i.titleWrap3.text.classList.remove("is-text-visible")}else{let o=e.calRange({targetValue:1,progress:t,startPoint:16,endPoint:20}),s=e.calRange({targetValue:1,progress:t,startPoint:14,endPoint:20}),l=e.calRange({targetValue:1,progress:t,startPoint:34,endPoint:38}),a=e.calRange({targetValue:1,progress:t,startPoint:34,endPoint:38}),c=e.calRange({targetValue:35,progress:t,startPoint:0,endPoint:20}),d=e.calRange({targetValue:85,progress:t,startPoint:34,endPoint:38});TweenMax.to(i.titleWrap1.text,0,{x:-35+c+"%"}),TweenMax.to(i.titleWrap1.infoWrap,0,{x:35-c+"%"}),TweenMax.to(i.titleWrap1.infoWrap,.1,{opacity:s}),TweenMax.to(i.titleWrap1.text,.1,{opacity:o}),o>=.1&&(i.titleWrap1.text.classList.contains("is-text-visible")||i.titleWrap1.text.classList.add("is-text-visible")),s>=.1&&(i.titleWrap1.infoWrap.classList.contains("is-text-visible")||i.titleWrap1.infoWrap.classList.add("is-text-visible")),"down"==this.wheelDirection?t>=18&&TweenMax.to(r,.5,{num:239,onUpdate:function(){i.titleWrap1.infoWrap.value.innerText=Math.floor(r.num)}}):0==t&&TweenMax.to(i.titleWrap1.infoWrap.value,.5,{onUpdate:function(){i.titleWrap1.infoWrap.value.innerText="253",i.titleWrap2.infoWrap.value.innerText=6.1,r.num=253}}),TweenMax.to(i.titleWrap1.text,0,{y:-d+"%"}),TweenMax.to(i.titleWrap1.infoWrap,0,{y:d+"%"}),t>38&&(TweenMax.to(i.titleWrap1.infoWrap,.1,{opacity:1-a}),TweenMax.to(i.titleWrap1.text,.1,{opacity:1-l}),1==l&&(i.titleWrap1.text.classList.remove("is-text-visible"),i.titleWrap1.infoWrap.classList.remove("is-text-visible")));let p=e.calRange({targetValue:1,progress:t,startPoint:49,endPoint:61}),u=e.calRange({targetValue:1,progress:t,startPoint:47,endPoint:59}),v=e.calRange({targetValue:1,progress:t,startPoint:76,endPoint:80}),m=e.calRange({targetValue:1,progress:t,startPoint:76,endPoint:80}),f=e.calRange({targetValue:50,progress:t,startPoint:52,endPoint:59}),w=e.calRange({targetValue:.3,progress:t,startPoint:78,endPoint:80});TweenMax.to(i.titleWrap2.infoWrap,.1,{opacity:u}),TweenMax.to(i.titleWrap2.text,.1,{opacity:p}),p>=.1&&(i.titleWrap2.text.classList.contains("is-text-visible")||i.titleWrap2.text.classList.add("is-text-visible"),i.titleWrap2.infoWrap.classList.contains("is-text-visible")||i.titleWrap2.infoWrap.classList.add("is-text-visible")),TweenMax.to(i.titleWrap2,0,{y:-f+"%"}),"down"==this.wheelDirection?t>=49&&TweenMax.to(n,.5,{num:5.6,onUpdate:function(){i.titleWrap2.infoWrap.value.innerText=n.num.toFixed(1)}}):t>78&&TweenMax.to(i.titleWrap2.infoWrap.value,.1,{onUpdate:function(){n.num=6.1}}),t>82&&(TweenMax.to(i.titleWrap2.infoWrap,.1,{opacity:1-m}),TweenMax.to(i.titleWrap2.text,.1,{opacity:1-v}),TweenMax.to(i.titleWrap2,.1,{scale:1-w}),1==v&&(i.titleWrap2.text.classList.remove("is-text-visible"),i.titleWrap2.infoWrap.classList.remove("is-text-visible")));let g=e.calRange({targetValue:1,progress:t,startPoint:81,endPoint:88}),h=e.calRange({targetValue:.8,progress:t,startPoint:81,endPoint:88});TweenMax.to(i.titleWrap3,.1,{opacity:g}),TweenMax.to(i.titleWrap3,.1,{scale:1.8-h}),1==g?i.titleWrap3.text.classList.add("is-text-visible"):i.titleWrap3.text.classList.remove("is-text-visible")}},checkBrokenFixed:function(){let e=window.innerWidth,t=window.innerHeight;document.documentElement.classList.remove("is-formfactor-broken-fixed"),e>1440&&t<=720||e<=1440&&t/e<.5277?document.documentElement.classList.add("is-formfactor-broken-fixed"):document.documentElement.classList.remove("is-formfactor-broken-fixed")},setStaticContents:function(){i.section.classList.contains("none-fixed")||i.section.classList.add("none-fixed")},setFixedContents:function(){i.section.classList.contains("none-fixed")&&i.section.classList.remove("none-fixed"),s?(window.addEventListener("DOMContentLoaded",(function(){d.fixedScroller.set(),d.sequencePlayer.set()}),{once:!0}),window.addEventListener("scroll",d.sequencePlayer.play)):(d.setVideoHandler(),d.fixedScroller.set(),d.fixedScroller.play(),window.addEventListener("scroll",d.fixedScroller.play))},setContents:function(){d.checkBrokenFixed(),document.documentElement.classList.contains("is-formfactor-broken-fixed")||document.documentElement.classList.contains("low_network")?(d.fixedScroller.destroy(),s?(d.sequencePlayer.destroy(),window.removeEventListener("scroll",d.sequencePlayer.play)):window.removeEventListener("scroll",d.fixedScroller.play),d.setStaticContents()):d.setFixedContents()}};return{init:function(){i.section=document.querySelector(".js-form-factor"),i.section&&(l(),a())}}}(),window.flagship=window.flagship||{},window.flagship.features=window.flagship.features||{},window.flagship.features.highlightsZone=function(){const e=window.flagship.common.utils,t=window.flagship.common.resize;let i,o={},s={},n={},r=t.checkResolution(),l="is-dimmed",a=!0,c=null,d=document.documentElement.classList.contains("low_network"),p=!1;const u=function(){o.mainContainer=o.section.querySelector(".js-highlights-main-container"),o.mainSwiperSlides=o.mainContainer.querySelectorAll(".swiper-slide"),o.videoWrap=o.mainContainer.querySelectorAll(".js-video-wrap"),o.prevArrow=o.mainContainer.parentElement.querySelector(".swiper-button-prev"),o.nextArrow=o.mainContainer.parentElement.querySelector(".swiper-button-next"),o.scrollbar=o.section.querySelector(".js-highlights-scrollbar"),o.bgContainer=o.section.querySelector(".js-highlights-bg-container"),o.bgSwiperSlides=o.bgContainer.querySelectorAll(".swiper-slide")},v=function(){o.mainContainer.autoPlay=!0,o.videoWrap=o.mainContainer.querySelectorAll(".js-video-wrap");for(let e=0;e0&&"desktop"==r;w.resetDimmedSlide(s.main),s.main.slideTo(0,!1),e&&w.initDimmedSlides(s.main)},setVideo:function(){for(let t=0;t40&&c<55&&(clearTimeout(s.main.videoTiming),s.main.videoTiming=setTimeout((()=>{s.main.slideNext()}),1e3))}})},playVideo:function(e){e.readyState>=1?e.play():e.addEventListener("canplay",(function(){this.play()}),{once:!0})},clickVideoCta:function(e){e.target==e.currentTarget&&(e.currentTarget.video.paused?(w.playVideo(e.currentTarget.video),a=!0):(e.currentTarget.video.pause(),a=!1))},stopAutoPlay:function(e){(e.target.classList.contains("js-video-control")||e.target.classList.contains("swiper-button-next")||e.target.classList.contains("swiper-button-prev")||e.target.classList.contains("js-highlights-scrollbar"))&&(o.mainContainer.autoPlay=!1)},swiperArrowVisiblirity:function(){let e=o.mainSwiperSlides.length-1,t=s.main,i=t.previousIndex>t.realIndex,n=t.previousIndex{o.nextArrow.blur(),o.nextArrow.focus()}),300)),r&&(clearTimeout(s.main.videoTiming),t.slideNext(),t.realIndex==i&&setTimeout((()=>{o.prevArrow.blur(),o.prevArrow.focus()}),300))},scroll:function(){o.section.scene.trackAnimation((function(){let e=s.main.realIndex,t=o.videoWrap[e].video.videoHandler;if(c=this.progress,!d&&a&&t.scrollActive(this.progress),c>0&&!p){for(let e=0;et||e.activeIndex+(w.getCarouselSizeInfo(e).viewLength-1)0&&"desktop"==r&&w.initDimmedSlides(this)},slideChange:function(){s.bg.slideTo(this.realIndex),y.slide(this),w.pauseVideo(this),w.getCarouselSizeInfo(this).viewLength>0&&"desktop"==r&&w.setDimmedSlide(this),this.realIndex>0&&w.setMedia(this.realIndex),d||w.slideVideoPlay(),w.swiperArrowVisiblirity();let e=this.realIndex{let e=w.getCarouselSizeInfo(this),t=this.slides.length-1,i=this.slides[t],n=this.slides[t-1],l=s.main.previousIndex,c="mobile"!=r?e.isMoveSize:e.isMoveSize+Math.abs(e.slideMargin);o.videoWrap[l].video.pause(),e.maxMoveSize==c?(i.classList.add("is-last-slide"),n.classList.add("is-dimmed"),i.classList.remove("is-dimmed"),"mobile"==r&&(w.pauseVideo(this),!d&&a&&i.querySelector("video").play(),i.classList.add("swiper-slide-active"),n.classList.remove("swiper-slide-active"))):i.classList.contains("is-last-slide")&&e.lastBeforeSize==e.isMoveSize&&(i.classList.add("is-dimmed"),i.classList.remove("is-last-slide"),n.classList.remove("is-dimmed"),"mobile"==r&&(w.pauseVideo(this),!d&&a&&n.querySelector("video").play(),i.classList.remove("swiper-slide-active"),n.classList.add("swiper-slide-active")))}),0)},destroy:function(e){null!=e&&(e.navigation.destroy(!0),e.destroy(!0),e=null)}},h={play:function(e){if(e.hasAttribute("data-omni")){let t=e.getAttribute("data-omni").toLowerCase();e.setAttribute("data-omni",t.replace("pause","play"))}if(e.hasAttribute("an-la")){let t=e.getAttribute("an-la").toLowerCase();e.setAttribute("an-la",t.replace("pause","play"))}},pause:function(e){if(e.hasAttribute("data-omni")){let t=e.getAttribute("data-omni").toLowerCase();e.setAttribute("data-omni",t.replace("play","pause"))}if(e.hasAttribute("an-la")){let t=e.getAttribute("an-la").toLowerCase();e.setAttribute("an-la",t.replace("play","pause"))}}},y={slide:function(t){for(let i=0;i0&&s<100,n=0===s||100===s;o&&(4==t.videoWrap[0].video.readyState&&t.videoWrap[0].video.paused?t.videoWrap[0].video.play():t.videoWrap[0].video.addEventListener("canplay",(function(){t.videoWrap[0].video.play()}),{once:!0})),n&&(e.pause(),e.currentTime=0,a.tutorialReset())}))},videoController:function(){for(let e=0;e3?t.videos[i+1].play():t.videos[i+1].addEventListener("loadeddata",(function(){this.paused&&this.play()})),t.videoList[i].classList.remove("is-visible")},click:function(){let e=this;for(let i=0;ithis.video.playIndex&&t.videos[i].readyState<4&&(t.videos[i].classList.contains("is-video-load-complete")||videoLoader.setResponsiveMedia([t.videos[i]]),t.videos[i].coverImage.classList.contains("is-img-load-complete")||imageLoader.setResponsiveMedia([t.videos[i].coverImage]))},pauseCallback:function(){p.play(this.controller)},endCallback:function(){this.wrap.tooltip&&"true"==o[this.video.playIndex].tooltip&&(this.wrap.tooltipCta&&this.wrap.tooltipCta.removeAttribute("disabled"),this.wrap.tooltip&&this.wrap.tooltip.classList.add("is-visible"),e.offAccessibility(this.wrap.tooltip)),this.wrap.classList.contains("is-completed")||this.wrap.classList.add("is-completed"),this.controller.style.display="none",t.videos.length-1==this.video.playIndex&&(t.tutorialReplay.style.display="block",t.tutorialReplay.removeAttribute("tabindex"),t.tutorialReplay.removeAttribute("aria-hidden"))}}))}},p={play:function(e){if(e.hasAttribute("data-omni")){let t=e.getAttribute("data-omni").toLowerCase();e.setAttribute("data-omni",t.replace("pause","play"))}if(e.hasAttribute("an-la")){let t=e.getAttribute("an-la").toLowerCase();e.setAttribute("an-la",t.replace("pause","play"))}},pause:function(e){if(e.hasAttribute("data-omni")){let t=e.getAttribute("data-omni").toLowerCase();e.setAttribute("data-omni",t.replace("play","pause"))}if(e.hasAttribute("an-la")){let t=e.getAttribute("an-la").toLowerCase();e.setAttribute("an-la",t.replace("play","pause"))}}};return{init:function(){t.section=document.querySelector(".js-circle-to-search"),t.section&&(n(),r())}}}(),window.flagship.features.interactiveInterpreter=function(){const e=window.flagship.common.utils;window.flagship.common.resize;let t={},i={},o=[],s=null,n=null,r=!1;const l=function(){t.interactiveContent=t.section.querySelector(".js-interactive"),t.tutorialVideoContainer=t.section.querySelector(".common-interactive__tutorial"),t.videoList=t.tutorialVideoContainer.querySelectorAll(".common-interactive__tutorial-video"),t.videoWrap=t.tutorialVideoContainer.querySelectorAll(".common-interactive__tutorial-video .common-video"),t.videos=t.tutorialVideoContainer.querySelectorAll(".common-interactive__tutorial-video .common-video__video"),t.tooltipCta=t.tutorialVideoContainer.querySelectorAll(".js-tutorial-tooltip-cta"),t.tutorialReplay=t.tutorialVideoContainer.querySelector(".js-replay-cta"),t.allVideoWrap=t.section.querySelectorAll(".js-video-wrap"),t.muteCta=t.section.querySelectorAll(".js-mute-cta"),n=!!t.muteCta&&t.muteCta.length>0},a=function(){for(let o=0;o0&&s<100,n=0===s||100===s;o&&(4==t.videoWrap[0].video.readyState&&t.videoWrap[0].video.paused?t.videoWrap[0].video.play():t.videoWrap[0].video.addEventListener("canplay",(function(){t.videoWrap[0].video.play()}),{once:!0})),n&&(e.pause(),e.currentTime=0,u.tutorialReset())}))},videoController:function(){for(let e=0;e3?t.videos[i+1].play():t.videos[i+1].addEventListener("loadeddata",(function(){this.paused&&this.play()})),t.videoList[i].classList.remove("is-visible")},click:{tooltipCta:function(){for(let e=0;ethis.video.playIndex&&t.videos[i].readyState<4&&(t.videos[i].classList.contains("is-video-load-complete")||videoLoader.setResponsiveMedia([t.videos[i]]),t.videos[i].coverImage.classList.contains("is-img-load-complete")||imageLoader.setResponsiveMedia([t.videos[i].coverImage])),i0&&s<100,n=0===s||100===s;o&&(4==t.videoWrap[0].video.readyState&&t.videoWrap[0].video.paused?t.videoWrap[0].video.play():t.videoWrap[0].video.addEventListener("canplay",(function(){t.videoWrap[0].video.play()}),{once:!0})),n&&(e.pause(),e.currentTime=0,a.tutorialReset())}))},videoController:function(){for(let e=0;e3?t.videos[i+1].play():t.videos[i+1].addEventListener("loadeddata",(function(){this.paused&&this.play()})),t.videoList[i].classList.remove("is-visible")},click:function(){let e=this;for(let i=0;ithis.video.playIndex&&t.videos[i].readyState<4&&(t.videos[i].classList.contains("is-video-load-complete")||videoLoader.setResponsiveMedia([t.videos[i]]),t.videos[i].coverImage.classList.contains("is-img-load-complete")||imageLoader.setResponsiveMedia([t.videos[i].coverImage]))},pauseCallback:function(){p.play(this.controller)},endCallback:function(){this.wrap.tooltip&&"true"==o[this.video.playIndex].tooltip&&(this.wrap.tooltipCta&&this.wrap.tooltipCta.removeAttribute("disabled"),this.wrap.tooltip&&this.wrap.tooltip.classList.add("is-visible"),e.offAccessibility(this.wrap.tooltip)),this.wrap.classList.contains("is-completed")||this.wrap.classList.add("is-completed"),this.controller.style.display="none",t.videos.length-1==this.video.playIndex&&(t.tutorialReplay.style.display="block",t.tutorialReplay.removeAttribute("tabindex"),t.tutorialReplay.removeAttribute("aria-hidden"))}}))}},p={play:function(e){if(e.hasAttribute("data-omni")){let t=e.getAttribute("data-omni").toLowerCase();e.setAttribute("data-omni",t.replace("pause","play"))}if(e.hasAttribute("an-la")){let t=e.getAttribute("an-la").toLowerCase();e.setAttribute("an-la",t.replace("pause","play"))}},pause:function(e){if(e.hasAttribute("data-omni")){let t=e.getAttribute("data-omni").toLowerCase();e.setAttribute("data-omni",t.replace("play","pause"))}if(e.hasAttribute("an-la")){let t=e.getAttribute("an-la").toLowerCase();e.setAttribute("an-la",t.replace("play","pause"))}}};return{init:function(){t.section=document.querySelector(".js-note-assist"),t.section&&(n(),r())}}}(),window.flagship.features.interactive=function(){const e=window.flagship.common.utils,t=window.flagship.common.resize;let i={},o=null,s=t.checkResolution(),n=null;const r=function(e,t){e.index=t,e.introVideo=e.querySelector(".js-interactive-intro-video video"),e.introVideo.videoWrap=e.querySelector(".js-interactive-intro-video"),e.introVideo.wrap=e.querySelector(".js-interactive-intro-video .js-video-wrap"),e.introVideo.parentWrap=e.parentElement,e.introVideo.controllerCta=e.introVideo.videoWrap.querySelector(".js-video-control"),e.introVideo.controllerCta.video=e.introVideo,e.introVideo.tooltip=e.querySelector(".js-tutorial-tooltip"),e.introVideo.tooltipCta=e.querySelector(".js-tutorial-tooltip-cta"),e.introVideo.tooltipCta.parentWrap=e,e.tutorialContentWrap=e.querySelectorAll(".js-tutorial-video"),e.tutorialContentWrap.tooltip=e.querySelectorAll(".js-tutorial-video .js-tutorial-tooltip"),e.introVideo.wrap.startPoint=e.introVideo.wrap.getAttribute("data-start-point")?parseInt(e.introVideo.wrap.getAttribute("data-start-point")):void 0,e.introVideo.wrap.reversePoint=e.introVideo.wrap.getAttribute("data-reverse-point")?parseInt(e.introVideo.wrap.getAttribute("data-reverse-point")):void 0,e.introVideo.wrap.moStartPoint=e.introVideo.wrap.getAttribute("data-mo-start-point")?parseInt(e.introVideo.wrap.getAttribute("data-mo-start-point")):void 0,e.introVideo.wrap.moReversePoint=e.introVideo.wrap.getAttribute("data-mo-reverse-point")?parseInt(e.introVideo.wrap.getAttribute("data-mo-reverse-point")):void 0,e.replayCta=e.querySelector(".js-replay-cta"),e.replayCta.parentWrap=e},l=function(e,i){c.click.introTooltipCta(e.introVideo.tooltipCta),c.click.replayCta(e.replayCta),c.click.videoController(e.introVideo.controllerCta),c.scroll(e),a.scroll(e),t.add((function(t){a.resize(t,e)}))},a={setIntroVideo:function(t){e.videoHandler({playType:"scrollPlay",startPoint:t.introVideo.wrap.startPoint,reversePoint:t.introVideo.wrap.reversePoint,wrap:t.introVideo.wrap,video:t.introVideo,controller:t.introVideo.controllerCta,resetCallback:function(){this.wrap.classList.contains("is-completed")&&this.wrap.classList.remove("is-completed"),this.wrap.classList.contains("is-started")&&this.wrap.classList.remove("is-started"),this.video.tooltip.classList.contains("is-visible")&&this.video.tooltip.classList.remove("is-visible"),t.introVideo.tooltip.classList.remove("is-visible"),e.onAccessibility(t.introVideo.tooltip),e.offAccessibility(t.introVideo.videoWrap),"none"==t.introVideo.controllerCta.style.display&&(t.introVideo.controllerCta.style.display="block")},playCallback:function(){this.wrap.classList.contains("is-started")||this.wrap.classList.add("is-started"),d.pause(this.controller);let e=t.tutorialContentWrap[0].querySelector(".js-video-wrap");e.coverImg=e.querySelector(".common-video__cover-image"),e.video=e.querySelector("video"),e.coverImg&&!e.coverImg.classList.contains("is-img-load-complete")&&imageLoader.setResponsiveMedia([e.coverImg]),e.video&&!e.video.classList.contains("is-video-load-complete")&&videoLoader.setResponsiveMedia([e.video])},pauseCallback:function(){d.play(this.controller)},endCallback:function(){this.wrap.classList.contains("is-completed")||this.wrap.classList.add("is-completed"),this.controller.style.display="none",this.video.tooltip.classList.add("is-visible"),e.offAccessibility(this.video.tooltip)}})},setIntroScene:function(t){t.introVideo.scene=SCROLLER({trackElement:t.introVideo,useFixed:!1,resize:!e.detector.isTouchDevice})},scroll:function(e){e.classList.contains("is-tutorial-opened")||e.introVideo.scene.trackAnimation((function(){e.introVideo.videoHandler.scrollActive(this.progress),n=this.progress}))},click:{introVideoTooltipCta:function(){let t=this.parentWrap;t.classList.add("is-tutorial-opened"),t.introVideo.tooltip.classList.remove("is-visible"),e.onAccessibility(t.introVideo.videoWrap),t.tutorialContentWrap[0].classList.add("is-visible"),e.offAccessibility(t.tutorialContentWrap[0]),t.tutorialContentWrap[0].querySelector(".js-video-wrap").video.play()},replayCta:function(){let t=this.parentWrap;t.replayCta.style.display="none",t.replayCta.setAttribute("aria-hidden",!0),t.replayCta.setAttribute("tabindex",-1);for(let i=0;i=40&&n<=60&&t.introVideo.paused&&(t.introVideo.currentTime=0,t.introVideo.play())},resize:function(e,t){s=e,o!=s&&a.reset(t),o=s}},c={click:{replayCta:function(e){e.addEventListener("click",a.click.replayCta)},introTooltipCta:function(e){e.addEventListener("click",a.click.introVideoTooltipCta)},videoController:function(e){e.addEventListener("click",a.click.videoController)}},scroll:function(e){window.addEventListener("scroll",(function(){a.scroll(e)}))}},d={play:function(e){if(e.hasAttribute("data-omni")){let t=e.getAttribute("data-omni").toLowerCase();e.setAttribute("data-omni",t.replace("pause","play"))}if(e.hasAttribute("an-la")){let t=e.getAttribute("an-la").toLowerCase();e.setAttribute("an-la",t.replace("pause","play"))}},pause:function(e){if(e.hasAttribute("data-omni")){let t=e.getAttribute("data-omni").toLowerCase();e.setAttribute("data-omni",t.replace("play","pause"))}if(e.hasAttribute("an-la")){let t=e.getAttribute("an-la").toLowerCase();e.setAttribute("an-la",t.replace("play","pause"))}}};return{init:function(){if(i.interactiveContents=document.querySelectorAll(".js-interactive"),i.interactiveContents&&i.interactiveContents.length>0)for(let e=0;ee.slides.length-1?e.slides.length-1:t+1,o=e.el.querySelectorAll("video").length-1,s=e.el.querySelectorAll("img").length-1,n=e.el.querySelectorAll(".is-video-load-complete").length-1,r=e.el.querySelectorAll(".is-img-load-complete").length-1,l=e.slides[i].querySelector("video"),a=e.slides[i].querySelector("img");n!=o&&l&&videoLoader.setResponsiveMedia([l]),r!=s&&a&&imageLoader.setResponsiveMedia([a])},resetVideo:function(e){for(let t=0;tt||e.activeIndex+(c.getCarouselSizeInfo(e).viewLength-1)0&&"mobile"!=o&&c.setDimmedSlide(this),this.realIndex>0&&c.setMedia(this,this.realIndex)},transitionEnd:function(){this.slides.length<3&&"mobile"==o||setTimeout((()=>{let t=c.getCarouselSizeInfo(this),o=this.slides.length-1,s=this.slides[o],r=this.slides[o-1];t.isMoveSize>t.lastBeforeSize||t.maxMoveSize==t.isMoveSize?(c.resetVideo(this),s.classList.add("is-last-slide"),r.classList.add("is-dimmed"),s.classList.remove("is-dimmed"),e.offAccessibility(this.slides[o]),e.onAccessibility(this.slides[o-1])):s.classList.contains("is-last-slide")&&t.lastBeforeSize==t.isMoveSize&&(c.resetVideo(this),s.classList.add("is-dimmed"),s.classList.remove("is-last-slide"),r.classList.remove("is-dimmed"),e.onAccessibility(this.slides[o]),e.offAccessibility(this.slides[o-1]));let l=i.section.querySelector(".swiper-slide-active"),a=i.section.querySelector(".is-last-slide"),d=(a||l).querySelector("video");d&&!n&&d.play()}),0)},setScene:function(){i.section.scene=SCROLLER({trackElement:i.section})},setVideoType:function(){if(i.videos)for(let e=0;e-1||"tablet"==r)&&n.closeCta&&(n.popupWrap.classList.contains("is-popup-opened")||n.popupWrap.classList.add("is-popup-opened"),n.closeCta.setAttribute("tabindex","-1"),n.closeCta.setAttribute("aria-hidden","true"),n.closeCta.setAttribute("disabled","disabled")):"V3D.state.popClose"==e.data?(r.indexOf("mobile")>-1||"tablet"==r)&&n.closeCta&&(n.popupWrap.classList.contains("is-popup-opened")&&n.popupWrap.classList.remove("is-popup-opened"),n.closeCta.removeAttribute("tabindex"),n.closeCta.removeAttribute("aria-hidden"),n.closeCta.removeAttribute("disabled")):"V3D.state.introPose.ready"==e.data?s?n.viewerIframe&&n.viewerIframe.contentWindow.postMessage("V3D.introPose.run","*"):(n.viewerIframe.isIntroposeReady=!0,d.scroll(),p.runIntroPose()):"V3D.state.localData.ready"==e.data?n.viewerIframe&&n.viewerIframe.contentWindow.postMessage(JSON.stringify(V3DLOCALDATA),"*"):"V3D.state.actionPose.0"==e.data?(n.viewerIframe.isFold=!0,p.setFoldClass()):"V3D.state.actionPose.1"==e.data?(n.viewerIframe.isFold=!1,p.setFoldClass()):"V3D.event.pointerdown"==e.data&&p.closePresetPopup()},resize:function(t){r=t,e.detector.isTouchDevice&&!e.detector.isIosDevice&&p.innerWrapHeight(),p.layerScroll()},innerWrapHeight:function(){clearTimeout(n.resizeInnerTimeout),n.resizeInnerTimeout=setTimeout((function(){n.popupInner&&(n.popupInner.style.height=parseInt(.9*window.innerHeight)+"px")}),0)},layerScroll:function(){clearTimeout(n.resizeTimeout),n.resizeTimeout=setTimeout((function(){p.setLayerScroll()}),300)},setLayerScroll:function(){n.popupContents&&(n.popupContents.scrollHeight>n.popupContents.clientHeight?(e.offAccessibility(n.popupScroll),n.popupScroll&&n.popupScroll.classList.add("is-scroll-btn")):(e.onAccessibility(n.popupScroll),n.popupScroll&&n.popupScroll.classList.remove("is-scroll-btn")))},clickLayerScroll:function(e){if(e&&e.preventDefault(),e.target.matches(".js-scroll-btn")){let i=e.target.classList.contains("js-scroll-down"),o=t(n.popupContents);i?o.stop().animate({scrollTop:o.scrollTop()+100},{duration:300,complete:function(){p.updateLayerScroll(!0)}}):o.stop().animate({scrollTop:o.scrollTop()-100},{duration:300,complete:function(){p.updateLayerScroll(!0)}})}},updateLayerScroll:function(e){const t=n.popupContents.scrollTop,i=n.popupContents.scrollHeight-n.popupContents.clientHeight;n.popupScrollUpBtn.removeAttribute("tabindex"),n.popupScrollUpBtn.removeAttribute("aria-hidden"),n.popupScrollUpBtn.removeAttribute("disabled"),n.popupScrollDownBtn.removeAttribute("tabindex"),n.popupScrollDownBtn.removeAttribute("aria-hidden"),n.popupScrollDownBtn.removeAttribute("disabled"),0==t?(e&&n.popupScrollDownBtn&&n.popupScrollDownBtn.focus(),n.popupScrollUpBtn.setAttribute("tabindex","-1"),n.popupScrollUpBtn.setAttribute("aria-hidden","true"),n.popupScrollUpBtn.setAttribute("disabled","disabled")):t>=i-1&&(e&&n.popupScrollUpBtn&&n.popupScrollUpBtn.focus(),n.popupScrollDownBtn.setAttribute("tabindex","-1"),n.popupScrollDownBtn.setAttribute("aria-hidden","true"),n.popupScrollDownBtn.setAttribute("disabled","disabled"))},setScene:function(){n.sceneObj=SCROLLER({trackElement:n.section,useFixed:!1})},runIntroPose:function(){n.sceneObj.trackAnimation((function(){let e=r.indexOf("mobile")>-1?50:30;this.progress>=e&&n.viewerIframe.isIntroposeReady&&(n.viewerIframe&&n.viewerIframe.contentWindow.postMessage("V3D.introPose.run","*"),window.removeEventListener("scroll",p.runIntroPose))}))},clickFold:function(){n.viewerIframe.isFold?(n.viewerIframe.isFold=!1,n.viewerIframe.contentWindow.postMessage("V3D.action","*")):(n.viewerIframe.isFold=!0,n.viewerIframe.contentWindow.postMessage("V3D.action.reverse","*")),v.fold.ariaLabel(),p.setFoldClass(),v.fold.tagging()},clickReset:function(){let e=n.viewerIframe.getAttribute("src");n.viewerIframe.setAttribute("src",`${e}#reset=1`),clearTimeout(n.viewerIframe.resetTimeout),n.viewerIframe.resetTimeout=setTimeout((function(){e=e.split("#reset=1")[0],n.viewerIframe.setAttribute("src",e)}),300)},openPresetPopup:function(){n.presetLayer.classList.contains("is-active")?p.closePresetPopup():(n.presetOpen.classList.add("is-open"),n.presetLayer.classList.add("is-active"),n.presetOpen.setAttribute("aria-expanded",!0),n.presetClose.focus()),n.presetClose&&n.presetClose.addEventListener("click",p.closePresetPopup)},closePresetPopup:function(e){n.presetLayer.classList.contains("is-active")&&(n.presetOpen.classList.remove("is-open"),n.presetLayer.classList.remove("is-active"),n.presetOpen.setAttribute("aria-expanded",!1),e&&e.target.classList.contains("js-preset-close")&&n.presetOpen.focus())},setFoldClass:function(){n.viewerIframe.isFold?(n.foldBtn.classList.contains("is-fold")&&n.foldBtn.classList.remove("is-fold"),n.foldBtn.classList.add("is-folded")):(n.foldBtn.classList.contains("is-folded")&&n.foldBtn.classList.remove("is-folded"),n.foldBtn.classList.add("is-fold"))},setAngle:function(){let e=this.innerText.toLowerCase();"front"==e?n.viewerIframe.contentWindow.postMessage("V3D.setPosition.angleX: 0,angleY: 0","*"):"back"==e?n.viewerIframe.contentWindow.postMessage("V3D.setPosition.angleX: 0,angleY: 3.141592653589793","*"):"top"==e?n.viewerIframe.contentWindow.postMessage("V3D.setPosition.angleX: 1.5707963267948966,angleY: 3.141592653589793","*"):"bottom"==e?n.viewerIframe.contentWindow.postMessage("V3D.setPosition.angleX: -1.5707963267948966,angleY: 0","*"):"left"==e?n.viewerIframe.contentWindow.postMessage("V3D.setPosition.angleX: 0,angleY: 1.5707963267948966","*"):"right"==e&&n.viewerIframe.contentWindow.postMessage("V3D.setPosition.angleX: 0,angleY: -1.5707963267948966","*"),v.selected(this)}},u={set:function(){e.layerPopup({layerPopup:n.popup,layerPopupClass:".js-viewer",openerEvent:{element:n.viewerBtn},closeCtas:[n.closeCta],dimmed:n.popupWrap,moveTarget:document.documentElement,contents:n.contents,show:{start:function(e){n.popup.classList.add("is-init"),u.show(e.openerCta)},end:function(){e.detector.isIosDevice&&(n.popup.style.display="block"),n.popup.classList.add("is-open")}},hide:{start:function(){n.popup.classList.remove("is-open")},end:function(){setTimeout((function(){n.popup.classList.remove("is-init")}),300),u.hide()}}})},show:function(e){e.classList.contains("viewer-btn")?(n.viewerIframe.isHash=!1,n.viewerOpener=e):(n.viewerIframe.isHash=!0,n.viewerOpener=n.viewerBtn),n.viewerIframe.setAttribute("src",o.getViewerUrl())},hide:function(){n.viewerIframe.setAttribute("src","about:blank"),n.viewerIframe.isHash&&setTimeout((function(){n.viewerOpener.focus()}),300)}},v={fold:{ariaLabel:function(){n.viewerIframe.isFold?n.foldBtn.setAttribute("aria-label",`${n.foldBtn.getAttribute("data-folded")}`):n.foldBtn.setAttribute("aria-label",`${n.foldBtn.getAttribute("data-unfolded")}`)},tagging:function(){let e=n.foldBtn.getAttribute("data-omni"),t=n.foldBtn.getAttribute("an-la");n.viewerIframe.isFold?(n.foldBtn.setAttribute("data-omni",e.replace("unfolded","folded")),n.foldBtn.setAttribute("an-la",t.replace("unfolded","folded"))):(n.foldBtn.setAttribute("data-omni",e.replace("folded","unfolded")),n.foldBtn.setAttribute("an-la",t.replace("folded","unfolded")))}},selected:function(e){for(let e=0;e