Galaxy Z Fold5

Unfold an immersive entertainment experience with a massive 7.6" screen. Save up to $800 with instant trade-in credit.θ

Two Galaxy Z Fold5 devices placed horizontally. One is folded and seen from the rear and the other is unfolded and seen from the Main Screen. On the display is a note-taking app with an illustrated composition made of a photo and handwritten text that reads, "Unfold your world." S Pen Fold Edition for Galaxy Z Fold5 lies in front.
  • *S Pen (optional) sold separately, compatible only with main display. Requires S Pen Fold Edition or S Pen Pro.

Galaxy AI

Welcome to the era of mobile AI. With Galaxy Z Fold5 in your hands, you can unleash whole new levels of creativity, productivity and possibility — starting with the most important device in your life. Your smartphone. 1,2,3

Epic, just like that.

Try Galaxy on your phone Scan this QR code or visit trygalaxy.com
QR code to access Try Galaxy

Take the big screen with you

Unfold a stunning, immersive 7.6" screen reimagined to bring you gaming like never before, cinematic viewing and improved productivity.8,10

Light passes over the bottom frame of a folded Galaxy Z Fold5 hidden in darkness. Another glimmer reveals the edge of the bottom frame again as the device opens up, revealing the entire device seen from a fully opened Main Screen. A scene of a sport utility vehicle parked on a reflective surface that mirrors a starry night sky is shown on the display.

A dark and dramatic scene from Netflix's The Witcher plays on the Cover Screen of a horizontal Galaxy Z Fold5. Netflix membership required. The device unfolds to the Main Screen where the scene seamlessly continues on the large display.

Keep it bright, even in sunlight

Enjoy a movie-going experience on the bright 7.6" Main Screen without direct sunlight ruining the view.14

Fresh colors,
foldable form

With five shades to choose from, Galaxy Z Fold5 makes a statement and shows off your unique style,12 including exclusive colors found only on samsung.com.13


    Exclusive online colors
Icy Blue
Two folded Galaxy Z Fold5 devices in Icy Blue. One seen from the Cover Screen and Flex Hinge. The other from the rear.

Our most compact Galaxy Z Fold yet

The laws of physics have nothing on this leveled-up design. Galaxy Z Fold5 lives up to its name by folding closed, making a massive screen implausibly pocketable.

A close up of the partially folded Main Screen as it completely closes. The final angle centers on the frame and Flex Hinge seen from the bottom.

Open it up, fold it shut or flex to the perfect angle. The redesigned Flex Hinge is a technical marvel that bends to your will.

The inner mechanical components of Galaxy Z Fold5, centered around the Flex Hinge.
Galaxy Z Fold5, folded and seen from the side opposite the Flex Hinge.
13.4mm38 Thickness
253g Weight

Slim, light, portable

We've trimmed down the design, so you can stay close to the things you love without sacrificing an ounce of power.

A folded Galaxy Z Fold5 is removed from the inner chest pocket of a blazer.

Ready to experience Galaxy Z Fold5?


Get up to $800 instant trade-in credit.θ

A new way to create with Galaxy AI, now on One UI

Sketch to Image

Draw from scratch or on any photo. Use AI to transform that sketch into an image.39

Sketch to Image feature is activated on the main screen of Galaxy Z Fold5. S Pen draws on the photo, transforming the sketch into a new image with AI.

Portrait Studio

Let AI ignite your imagination with Portrait Studio. Self portraits instantly turn into incredible works of art.40

A photograph is applied with the Portrait Studio feature for Photo Assist. AI effects are applied to the portrait, with vibrant colors.

Multiple apps.
One screen.

Two Galaxy Z Fold5 devices. One is folded and seen from the rear. The other is open to the Main Screen. Two windows are open on the Main Screen. One is a note-taking app with drawings created with the S Pen hovering over the screen. The other is an internet browser.

Multi-Window View takes your multitasking to the next level. Keep three windows open on one screen, so you can stream, shop, browse and play more.17

Three windows are open on the Main Screen of Galaxy Z Fold5. Two are internet browsers and one is a text message chat. In one of the internet browsers is a photo of a cake. The cake is cropped from the picture and dragged and dropped in the text message chat.

The task bar is featured at the bottom of the Main Screen. An S Pen hovers over one of the many app icons pinned to the task bar.

The task bar holds up to twelve apps at once so you can effortlessly swap between your favorites.18

Big screen,
meet slimmer S Pen.

Precision meets portability with S Pen capability on Galaxy Z Fold5. Write directly on the large screen and go from to-do to done.19 Plus, use Samsung Notes for a canvas that syncs across Galaxy devices.

A woman holds an open Galaxy Z Fold5 with the Main Screen facing away from her and toward the viewer. She holds S Pen Fold Edition for Galaxy Z Fold5 in her hand. On the top half of the screen is a vibrant photo of modern architecture. On the lower half is an architectural sketch in a note-taking app.
Two Galaxy Z Fold5 devices with Slim S Pen Case installed. Two smartphone case color options are represented: Sand and Icy Blue.

Slim S Pen Case20

For on-the-go precision.

GoodNotes

Now with even more creative control.

Unfold massive productivity for work


Our slimmest, most durable Fold yet boasts a massive 7.6” screen8 that opens to elevate productivity on the go. Multitask with Dual-App viewing and increased S Pen precision.



Learn more

Galaxy Z Assurance Program

  • 5th generation foldable technology utilizing advanced, time-tested folding innovation. 24

    A close up of the side frame and Flex Hinge.
  • Tested and verified to withstand 200,000 folds over 5 years of daily use.
    Featuring the zero-gap Flex Hinge, Gorilla Glass Victus 2, and IPX8 water resistance.25

    A close up of the Flex Hinge.
  • Internal screen protection is pre-installed on Galaxy Z products. Plus get a free one time screen protector replacement if needed.

    Learn more

    A close up of a corner of Galaxy Z Fold5 with water droplets around it.
  • Get special coverage for a discounted, one-time screen replacement due to defect or accident.

    Learn more

    A close up of a corner of Galaxy Z Fold5 with water droplets around it.

Enroll in Samsung Care+ for additional protection including for loss and theft.26

Enjoy all day15 battery Listen up to 73 hrs8 Watch up to 21 hrs8

With a long-lasting battery, you can give your phone all the attention it deserves.16 Paired with an advanced processor, Galaxy Z Fold5 efficiently adjusts power usage to your habits and your needs.

Powerful gaming with Snapdragon® 8

Power your road to victory with the upgraded hardware and software of Snapdragon® 8 Gen 2 Mobile Platform for Galaxy.17 This high-performance processor fuels champion-level gameplay.

Gameplay of Genshin Impact. Movement is smooth and graphics are clear.

Standout cameras. Cover to cover.

Close up of the Galaxy Z Fold5 rear cameras, positioned horizontally.

  • 10MP

    3x Optical Zoom Telephoto Camera

  • 50MP

    Wide-angle Camera

  • 12MP

    Ultra Wide Camera

  • 10MP

    Cover Camera

  • 4MP

    Under Display Camera

Preview pics from
the cover screen

Whether behind the camera or in front of it, see your pose in the preview with Dual Preview.22

*Image simulated for illustrative purposes. Actual UI may be different.

A tennis player poses for a photo on the tennis court. A teammate kneels in front to take the photo with the Rear Camera of an unfolded Galaxy Z Fold5. The photo taker observes the Main Screen while the photo subject observes the Cover Screen. Next, the photo preview is displayed on the Cover Screen as well as the Main Screen.

Up your content game,
no tripod needed

A florist clips the stems of a bundle of flowers. The natural movements, shades of colors and diverse textures of the flowers are captured with realistic quality and definition.

Take hands-free video with lush color and detail using Flex Mode. For even more clarity, Auto FPS sets the optimal exposure so your video stays bright from start to finish.

Seamless screens, in your control

Multi Control lets you use a keyboard and mouse across devices including Galaxy Z Fold5 and Galaxy Tab S9, making it even easier to copy and paste or drag and drop.27,28,29,30

Go to Galaxy Tab S9
A mouse is used to drag an image between Galaxy Z Fold5 in Flex Mode and a document on Galaxy Tab S9 Ultra.

The connected power of Galaxy

Galaxy connected devices are perfect together, opening up new ways to seamlessly communicate, work, play and stay healthy.

Galaxy Watch6 Series

Galaxy Buds2 Pro

Designed with the planet in mind

We're committed to creating a cleaner, more sustainable future by designing products with the planet in mind.31

Switch or upgrade. It's easy.

Do more with Galaxy accessories


*Accessories sold separately.

Frequently Asked Questions

  • Galaxy Z Fold5 is available in Icy Blue, Phantom Black and Cream. Blue and Gray are exclusive colors found only on samsung.com.12,13

    GO TO COLORS
  • At 253 grams, Galaxy Z Fold5 is 10 grams lighter than Galaxy Z Fold4. It is also thinner than Galaxy Z Fold4. Unfolded, it is 6.1 millimeters thick, while its predecessor measures 6.3 millimeters. Folded, it is a more pocketable 13.4 millimeters evenly across the device, while Galaxy Z Fold4 measures 15.8 millimeters at the hinge and 14.2 millimeters at the outer edge. An upgraded processor elevates Galaxy Z Fold5 performance across the board with CPU performance improved by 18%, GPU by 32% and NPU by 25% compared to Galaxy Z Fold4.36

    COMPARE DEVICES
  • 5th generation Galaxy Z Series smartphones offer innovative folding technology for everyone. Galaxy Z Flip5 packs mighty innovation into a mini and pocketable smartphone, bringing convenience to a whole new and compact level. The all-new 3.4” cover screen allows you to text, snap, edit, share and more without opening your phone; or capture share-worthy moments hands-free. For a more immersive experience, the Galaxy Z Fold5 has a massive folding 7.6” interior display that allows you to take the big screen with you anywhere. Enjoy streaming, gaming and multitasking with up to three screens at a time for maximized productivity. Z Fold5 is also S Pen compatible, allowing you to write and draw on a larger display with increased precision.

    COMPARE DEVICES
  • With a large interior screen measuring 7.6”, Galaxy Z Fold5 provides an immersive experience that gives you more from your smartphone. Enjoy streaming, gaming and multitasking with up to three windows open at a time. When closed, the cover screen of Z Fold5 is slightly smaller than Galaxy S23 Ultra at 6.2”. While the S Pen is not embedded in the Z Fold5 like the Galaxy S23 Ultra, it does provide a larger display screen on which to write and draw on and cases are available with S Pen storage. S23 Ultra remains as the highest resolution camera on a smartphone with its 100x Space Zoom 200MP camera, as compared to the Z Fold5 30x Zoom 50 MP camera. Battery differs by 600mAh with Galaxy Z Fold5 at 4,400mAh, but this phone flexes the same Snapdragon 8 Gen 2 processor that S23 Ultra does, giving you powerful performance and all-day battery life for entertainment on the go.

    COMPARE DEVICES
  • While S Pen is supported on the Main Screen, Galaxy Z Fold5 does not come with an S Pen.19 Purchase the newly trimmed-down S Pen Fold Edition for Galaxy Z Fold5 to enjoy smooth note-taking and perform Air Commands.20 Then, carry it with your phone in a Slim S Pen Case.13

    GO TO S PEN
  • Folded, Galaxy Z Fold5 is 154.9 millimeters long, 67.1 millimeters wide and 13.4 millimeters thick. When unfolded, it is 129.9 millimeters wide and 6.1 millimeters thick. Phone cases are not compatible between Galaxy Z Fold4 and Galaxy Z Fold5.

    GO TO PORTABILITY
  • The Galaxy Z Fold5 Cover Screen has a 10MP Front Camera. The Main Screen has a hidden 4MP Under Display Camera. And on the rear, Galaxy Z Fold5 is equipped with a 50MP Wide Camera, 12MP Ultra Wide Camera and 10MP Telephoto Camera. Throughout your day, take crisp, clear photos enhanced by an advanced processor and AI-powered software. Download Expert RAW for even more creative control of Galaxy Z Fold5's pro-grade cameras.23

    GO TO CAMERA
  • A single charge lasts longer on Galaxy Z Fold5 than Galaxy Z Fold4. Though Galaxy Z Fold5 features the same 4400mAh (typical) battery as Galaxy Z Fold4, an advanced processor allows for more efficient power usage, so you can listen to up to 73 hours of music or watch up to 21 hours of video.9,16

    GO TO PERFORMANCE
  • Galaxy Z Fold5 features the new, durable dual rail Flex Hinge. Plus, Galaxy Z Fold5 carries a IPX8 rating for water resistance.25

    GO TO DURABILITY

Join the flip side

Life opens up with Galaxy

Galaxy Z Fold5 for business


Get 50% off Care+ Accidental Damage Plan plus a free case.*


Learn more
  1. Samsung Account login may be required to use certain Samsung AI features.
  2. Samsung does not make any promises, assurances or guarantees as to the accuracy, completeness or reliability of the output provided by AI features.
  3. Galaxy AI features by Samsung will be provided for free until the end of 2025 on supported Samsung Galaxy devices.
  4.        
  5. Sequences shortened and simulated. Results for illustrative purposes only. Results may vary depending on visual matches. Requires internet connection. Users may need to update Android to the latest version. Product functionality may be dependent on your app and device settings. Some functions may not be compatible with certain apps. Availability of the service varies by country and language. Accuracy of results is not guaranteed.
  6.        
  7. Live Translate requires a network connection and Samsung Account login. Live Translate is only available on the pre-installed Samsung Phone app. Certain languages may require language pack download. Service availability may vary by language. Accuracy of results is not guaranteed.
  8.        
  9. Interpreter requires Samsung Account login. Certain languages may require language pack download. Service availability may vary by language. Accuracy of results is not guaranteed. Availability and supported features may vary by country, region or carrier. Availability of supported languages may vary.
  10.        
  11. Generative Edit requires a network connection and Samsung Account login. Editing with Generative Edit results 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.
  12.        
  13. Galaxy Z Fold5’s Main Screen measurements are diagonal, and actual viewable area is less due to rounded corners and camera hole punch.
  14.        
  15. Typical tested battery life of at least 50 hours estimated against the average usage profile. Independently assessed by UX Connect Research between 2023.06.19-2023.06.29 in US with pre-release versions of SM-F946 under default setting using LTE and 5G Sub6 networks. 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.
  16.        
  17. Galaxy Z Fold5's Cover Screen measurements are diagonal, and actual viewable area is less due to rounded corners and camera hole punch.
  18.        
  19. Compared to previous Galaxy Z Fold models.
  20.        
  21. Availability of color may vary by country, region or carrier.
  22.        
  23. Online exclusive colors need special production. Please allow up to 4 weeks for delivery.
  24.        
  25. The Dynamic AMOLED 2X display on Galaxy Z Fold5 received a certification from VDE Germany for 100 percent Mobile Color Volume in the DCI-P3 color range, which means your images aren’t washed out and you’ll get unbelievably vivid colors regardless of differing levels of brightness. The display can achieve peak brightness of up to 1750 nits, improving the contrast between dark and light aspects of digital content for a more brilliant picture quality, with a 3,000,000:1 contrast ratio to make your mobile experience more immersive.
  26.        
  27. Typical tested battery life of at least 50 hours. Actual battery life varies 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 by UX Connect Research. Independently assessed by UX Connect research between 2023.06.19-2023.06.29 in US with pre-release versions of SM-F946 and SM-F731 under default setting using LTE and 5G Sub6 networks.
  28.        
  29. 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 4270mAh for Galaxy Z Fold5, and 3591mAh for Galaxy Z Flip5. Actual battery life may vary depending on network environment, usage patterns and other factors.
  30.        
  31. Snapdragon is a product of Qualcomm Technologies, Inc. and/or its subsidiaries. Snapdragon is a trademark or registered trademark of Qualcomm Incorporated.
  32.        
  33. Taskbar feature supported on the Main Screen only.
  34.        
  35. S Pen Fold Edition for Galaxy Z Fold5 sold separately. Use an S Pen that is designed for Galaxy Z Fold. All other S Pens or stylus pens may damage the screen. Galaxy Z Fold5 does not have a built-in slot for the S Pen. S Pen support is limited to the Main Screen.
  36.        
  37. S Pen Fold Edition and Slim S Pen Case (S Pen Fold Edition included) sold separately. Model and color availability may vary by country. S Pen Fold Edition is only compatible with Galaxy Z Fold 5, Galaxy Z Fold4 and Galaxy Z Fold3.
  38.        
  39. 30x Space Zoom includes 3x optical zoom and 30x digital zoom with AI Super Resolution technology. Zooming in past 3x may cause some image deterioration.
  40.        
  41. Dual Preview supported on the native Camera app on devices running One UI 2.1 and above.
  42. Expert RAW must be downloaded separately from the Galaxy Store, for free, before use. Supported on S23 series devices, S22 series devices, S21 Ultra, S20 Ultra, Note20 Ultra, Z Fold5, Z Fold4, Z Fold3 and Z Fold2.
  43.        
  44. Frame does not include volume and side keys or SIM tray.
  45. Consistent with IPX8 rating, water resistant in up to 5 feet of fresh water for up to 30 minutes. Rinse residue/dry after wet. Not advised for beach or pool use. Not dust- or sand-resistant.
  46.        
  47. Samsung Care+ coverage may vary by country and deductibles may apply.
  48.        
  49. Multi control is available only on select Galaxy smartphones with One UI 5.1 or above, Galaxy Tab devices with One UI 5.1.1 or above and Galaxy Book devices launched in 2021 or later with either Samsung Settings v1.5 (Intel) or Samsung Settings v3.3 (ARM).
  50.        
  51. Some function availability may vary by device model.
  52.        
  53. Some Multi control actions may be unavailable in certain apps.
  54.        
  55. Samsung account login required. Wi-Fi and Bluetooth connection required.
  56. The back glass deco film of the Galaxy Z Fold5 and Z Flip5 contains 80% recycled PET. The sub window and back glass of the Galaxy Z Fold5 and Z Flip5 contains 22% recycled glass. The volume key bracket and display connector cap of the Galaxy Z Fold5 and Z Flip5 contains 20% recycled ocean-bound plastic. The above measurements are based on weight.
  57.        
  58. Wired transfers require at least Android™ 4.3. If you do not have the required USB cable/connector for a wired transfer to Galaxy, you can also use wireless transfer options. iOS 5 or older Android OS must use wireless transfer options. Open Smart Switch Mobile in “Settings” on your new Galaxy phone or download Smart Switch Mobile app from Galaxy Store. Data and content available for transfer may vary by OS. The data of the Galaxy device is backed up and restored to the storage device. Use PC backup through Smart Switch PC or SD card backup function of Smart Switch Mobile.
  59.        
  60. Terms and conditions apply. Availability may vary by country or region.
  61.        
  62. Storage options and availability may vary by country or region. Actual storage availability may vary depending on pre-installed software.
  63.        
  64. Six month trial of Microsoft 365 Basic available for consumers with OneDrive-Gallery Sync capable Samsung phones (phones on the Verizon network in the U.S. not eligible). After the 6 month trial, your subscription will automatically renew into a monthly paid subscription at the current price, subject to Google Play’s terms and conditions. Cancel any time to stop future charges. Offer not available to existing Microsoft 365 or OneDrive premium subscribers (including trials), customers who previously redeemed an Office, OneDrive or other Microsoft storage bonus or free trial offer, customers with a locked OneDrive account, or former Microsoft 365 or OneDrive/Microsoft Storage premium subscribers who cancelled in the last 90 days. One offer per customer and per device. Offer cannot be transferred or combined with other Microsoft offers, and is available between March 15, 2023 and December 31, 2023. Offer must be redeemed during this period on the Google Play Store and participants must sync their gallery with OneDrive to commence the 6 month trial. Offer requires a Samsung and Microsoft account. Refer to https://www.microsoft.com/onedrive-samsung-offer for details.
  65.        
  66. AP performance improvements shown compared to Galaxy Z Fold4. Actual performance will depend on user environment, conditions and pre-installed software and applications.
  67.        
  68. Air Command feature availability may vary by model or app.
  69.        
  70. Expert RAW must be downloaded separately from the Galaxy Store, for free, before use. Supported on S23 series devices, S22 series devices, S21 Ultra, S20 Ultra, Note20 Ultra, Z Fold5, Z Fold4, Z Fold3 and Z Fold2.
  71. 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.
  72. 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.
  73.      
"))}},isZoom:function(){100/(window.innerWidth/window.outerWidth*100)>1.75?document.documentElement.classList.add("browser-zoomed-175"):document.documentElement.classList.remove("browser-zoomed-175")}}),window.flagship.common.utils.layerPopup=function(e){let t=window.flagship.common.utils;var i={},o={},s={},l=function(){o.start=e.show?e.show.start:void 0,o.end=e.show?e.show.end:void 0,s.start=e.hide?e.hide.start:void 0,s.end=e.hide?e.hide.end:void 0},n=function(){e.openerEvent.element.addEventListener("click",r),i.layerPopup.show=r,i.layerPopup.hide=a},r=function(s){e.openerEvent.proxy?e.openerEvent.parent?s.target.parentElement.classList.contains(e.openerEvent.class)&&(t.hiddenScroll(i.layerPopup),i.openerCta=s.target.parentElement,i.layerPopup.opener=i.openerCta,o.start&&o.start(i),t.detector.isIosDevice&&(s.target.parentElement.style.display="none"),i.html.classList.add("is-layer-open"),i.html.style.overflow="hidden",i.moveTarget.appendChild(i.layerPopup),c.on(),setTimeout((function(){i.closeCta.focus()}),300),i.closeCta.addEventListener("click",a),o.end&&o.end(i)):s.target.classList.contains(e.openerEvent.class)&&(t.hiddenScroll(i.layerPopup),i.openerCta=s.target,i.layerPopup.opener=i.openerCta,o.start&&o.start(i),t.detector.isIosDevice&&(s.target.style.display="none"),i.html.classList.add("is-layer-open"),i.html.style.overflow="hidden",i.moveTarget.appendChild(i.layerPopup),c.on(),setTimeout((function(){i.closeCta.focus()}),300),i.closeCta.addEventListener("click",a),o.end&&o.end(i)):(t.hiddenScroll(i.layerPopup),i.openerCta=this,i.layerPopup.opener=i.openerCta,o.start&&o.start(i),t.detector.isIosDevice&&(this.style.display="none"),i.html.classList.add("is-layer-open"),i.html.style.overflow="hidden",i.moveTarget.appendChild(i.layerPopup),c.on(),setTimeout((function(){i.closeCta.focus()}),300),i.closeCta.addEventListener("click",a),o.end&&o.end(i))},a=function(){t.detector.isIosDevice&&(i.openerCta.style.display=""),s.start&&s.start(i),i.html.classList.remove("is-layer-open"),i.html.style.overflow="",t.visibleScroll(),i.closeCta.removeEventListener("click",a),c.off(),setTimeout((function(){i.openerCta?i.openerCta.focus():i.layerPopup.opener.focus()}),300),s.end&&s.end(i)},c={on:function(){c.onPopupAccessibility(document.querySelector("#wrap")),t.offAccessibility(i.layerPopup)},off:function(){c.offPopupAccessibility(document.querySelector("#wrap")),t.onAccessibility(i.layerPopup)},onPopupAccessibility:function(e){e.setAttribute("aria-hidden",!0),e.setAttribute("tabindex",-1);let t=e.querySelectorAll("a, button, input, select, iframe");for(let e=0;ethis.startPoint&&e-1,s="ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch;els={};var l=function(){els.viewerPopup=document.querySelector(".highlights-viewer"),els.scrollVideosWrap=document.querySelectorAll(".js-scroll-video"),els.scrollVideos=document.querySelectorAll(".js-scroll-video video");for(var e=0;e0&&(els.videoWrap[e].control=els.videoWrap[e].querySelector(".common-video__control"),els.videoWrap[e].blind=els.videoWrap[e].querySelector(".blind"),els.videoWrap[e].blind.innerHTML=els.videoWrap[e].control.getAttribute("data-play-text").toLowerCase())}(),window.addEventListener("load",n),window.addEventListener("hashchange",n),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),o||s||(window.scrollController=ANIUTIL.scrollController(),scrollController.init({speed:120,duration:.5})),window.imageLoader=ANIUTIL.mediaLoader({lazyClass:".js-img-src",responsiveClass:".js-res-img",preset:els.isGlobal?"":"?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:1}),window.bgLoader=ANIUTIL.mediaLoader({type:"bgImage",lazyClass:".js-bg-img",loadOption:[{resolution:1920,attribute:"",bgOpts:""}],visiblePoint:1}),window.videoLoader=ANIUTIL.mediaLoader({type:"video",lazyClass:".js-video-src",responsiveClass:".js-res-video",preset:els.isGlobal?"":"?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.videoWrap&&!e.videoWrap.classList.contains("is-loaded")&&e.videoWrap.classList.add("is-loaded")}}),function(){els.supClicker=document.querySelectorAll("a.click_sup");for(var e=0;e'}}}))},init:function(){let e=this.el.querySelector(".swiper-notification");this.el.removeChild(e),i.nextArrow.removeAttribute("aria-label"),i.nextArrow.removeAttribute("role"),i.prevArrow.removeAttribute("aria-label"),i.prevArrow.removeAttribute("role"),o.swiper.on("slideChange",c.swiper.slideChange),o.swiper.on("transitionEnd",c.swiper.transitionEnd),o.swiper.on("touchMove",c.swiper.touchMove),o.swiper.on("touchEnd",c.swiper.touchEnd),i.bullets=o.swiper.pagination.bullets;for(let e=0;e=4?o[`video_${e}`].video.play():o[`video_${e}`].video.addEventListener("canplay",(function(){this.play()}))),o.swiper.activeIndex==o.swiper.slides.length-1&&(s.isLast=!0),d.slide(),d.pagination.label(),s.prevIndex=e},transitionEnd:function(){let e=o[`video_${o.swiper.activeIndex}`].controller,t=document.activeElement.classList.contains("swiper-button-next")||document.activeElement.classList.contains("swiper-button-prev"),i=document.activeElement.classList.contains("swiper-pagination-bullet");t||i||e.focus()},touchMove:function(){o.swiper.off("transitionEnd",c.swiper.transitionEnd)},touchEnd:function(){o.swiper.on("transitionEnd",c.swiper.transitionEnd)}},setVideo:function(){for(let e=0;e-1?25:35,reversePoint:s.currentDevice.indexOf("mobile")>-1?65:75,resetCallback:function(){this.wrap.classList.contains("is-completed")&&this.wrap.classList.remove("is-completed")},playCallback:function(){d.controlTagging.play(o[`video_${e}`].wrap.control)},pauseCallback:function(){d.controlTagging.pause(o[`video_${e}`].wrap.control)},endCallback:function(){this.wrap.classList.contains("is-completed")||this.wrap.classList.add("is-completed"),s.isAuto&&!s.isLast&&setTimeout((()=>{o.swiper.slideNext(500)}),300)}})},setScene:function(){o.scene=SCROLLER({trackElement:i.carouselWrap,useFixed:!1})},onLoad:function(){s.currentDevice=t.checkResolution(),e.isLowNetwork()&&(s.isAuto=!1),c.swiper.set(),o.swiper.on("init",c.swiper.init),o.swiper.init()},onResize:function(e){s.currentDevice=e},scroll:function(){o.scene.trackAnimation((function(){s.isAuto&&o[`video_${o.swiper.activeIndex}`].scrollActive(this.progress)}))},lazyLoad:function(e){videoLoader.setResponsiveMedia([e.querySelector("video")],(function(e){e.videoHandler.wrap.classList.add("is-loaded")||e.videoHandler.wrap.classList.add("is-loaded")}));let t=e.querySelectorAll("img");imageLoader.setResponsiveMedia(t)},setVideoStatus:function(){let t=i.videoControlCta.indexOf(this);o[`video_${t}`].video.paused?(o[`video_${t}`].video.play(),e.isLowNetwork()||(s.isAuto=!0)):(o[`video_${t}`].video.pause(),e.isLowNetwork()||(s.isAuto=!1))},setArrowFocus:function(e){s.arrowFocusTimeout=null,("keydown"==e.type&&13==e.keyCode||"click"==e.type)&&(e.preventDefault(),clearTimeout(s.arrowFocusTimeout),s.arrowFocusTimeout=setTimeout((()=>{o.swiper.isBeginning&&!o.swiper.isEnd?i.nextArrow.focus():!o.swiper.isBeginning&&o.swiper.isEnd&&i.prevArrow.focus()}),300))},pauseVideo:function(){o[`video_${o.swiper.activeIndex}`].video.paused||(o[`video_${o.swiper.activeIndex}`].video.pause(),e.isLowNetwork()||(s.isAuto=!1))}},d={slide:function(){for(let t=0;tvideo"),e.scrollController=e.sectionVideo.querySelector(".js-scroll-video .common-video__control"),e.scrollControllerBlindText=e.scrollController.querySelector(".blind")},s=function(){window.addEventListener("scroll",n.scroll),e.scrollController.addEventListener("click",n.videoCta),n.scroll()},l={setVideo:function(){t.batteryApVideo=ANIUTIL.videoHandler({playType:"scrollPlay",startPoint:3,reversePoint:87,wrap:e.scrollVideoWrap,video:e.scrollVideo,resetCallback:function(){e.scrollVideoWrap.classList.contains("is-completed")&&e.scrollVideoWrap.classList.remove("is-completed")},playCallback:function(){e.scrollControllerBlindText.innerText="pause",r.pause()},pauseCallback:function(){e.scrollControllerBlindText.innerText="play",r.play()},endCallback:function(){e.scrollVideoWrap.classList.contains("is-completed")||e.scrollVideoWrap.classList.add("is-completed")}})},setScene:function(){t.scene=SCROLLER({trackElement:e.scrollVideo,useFixed:!1,resize:!i.detector.isTouchDevice})}},n={scroll:function(){t.scene.trackAnimation((function(){t.batteryApVideo.scrollActive(this.progress)}))},videoCta:function(){e.scrollVideo.paused?e.scrollVideo.play():e.scrollVideo.pause()}},r={play:function(){if(e.scrollController.hasAttribute("data-omni")){var t=e.scrollController.getAttribute("data-omni").toLowerCase();e.scrollController.setAttribute("data-omni",t.replace("pause","play"))}if(e.scrollController.hasAttribute("ga-la")){var i=e.scrollController.getAttribute("ga-la").toLowerCase();e.scrollController.setAttribute("ga-la",i.replace("pause","play"))}},pause:function(){if(e.scrollController.hasAttribute("data-omni")){var t=e.scrollController.getAttribute("data-omni").toLowerCase();e.scrollController.setAttribute("data-omni",t.replace("play","pause"))}if(e.scrollController.hasAttribute("ga-la")){var i=e.scrollController.getAttribute("ga-la").toLowerCase();e.scrollController.setAttribute("ga-la",i.replace("play","pause"))}}};return{init:function(){e.sectionVideo=document.querySelector(".highlights-ap__video"),e.sectionVideo&&(o(),l.setVideo(),l.setScene(),s())}}}(),flagship.highlights.batteryAp.init(),window.flagship=window.flagship||{},window.flagship.highlights=window.flagship.highlights||{},window.flagship.highlights.cameraOverview=function(){var e={},t={},i=window.flagship.common.utils,o=function(){e.scrollVideoWrap=e.section.querySelector(".js-scroll-video"),e.scrollVideo=e.section.querySelector(".js-scroll-video .common-video__figure>video"),e.scrollController=e.section.querySelector(".js-scroll-video .common-video__control"),e.scrollControllerBlindText=e.scrollController.querySelector(".blind")},s=function(){window.addEventListener("scroll",n.scroll),e.scrollController.addEventListener("click",n.videoCta),n.scroll()},l={setVideo:function(){t.cameraOverviewVideo=ANIUTIL.videoHandler({playType:"scrollPlay",startPoint:15,reversePoint:80,wrap:e.scrollVideoWrap,video:e.scrollVideo,resetCallback:function(){e.scrollVideoWrap.classList.contains("is-completed")&&e.scrollVideoWrap.classList.remove("is-completed")},playCallback:function(){e.scrollControllerBlindText.innerText="pause",r.pause()},pauseCallback:function(){e.scrollControllerBlindText.innerText="play",r.play()},endCallback:function(){e.scrollVideoWrap.classList.contains("is-completed")||e.scrollVideoWrap.classList.add("is-completed")}})},setScene:function(){t.scene=SCROLLER({trackElement:e.scrollVideo,useFixed:!1,resize:!i.detector.isTouchDevice})}},n={scroll:function(){t.scene.trackAnimation((function(){t.cameraOverviewVideo.scrollActive(this.progress)}))},videoCta:function(){e.scrollVideo.paused?e.scrollVideo.play():e.scrollVideo.pause()}},r={play:function(){if(e.scrollController.hasAttribute("data-omni")){var t=e.scrollController.getAttribute("data-omni").toLowerCase();e.scrollController.setAttribute("data-omni",t.replace("pause","play"))}if(e.scrollController.hasAttribute("ga-la")){var i=e.scrollController.getAttribute("ga-la").toLowerCase();e.scrollController.setAttribute("ga-la",i.replace("pause","play"))}},pause:function(){if(e.scrollController.hasAttribute("data-omni")){var t=e.scrollController.getAttribute("data-omni").toLowerCase();e.scrollController.setAttribute("data-omni",t.replace("play","pause"))}if(e.scrollController.hasAttribute("ga-la")){var i=e.scrollController.getAttribute("ga-la").toLowerCase();e.scrollController.setAttribute("ga-la",i.replace("play","pause"))}}};return{init:function(){e.section=document.querySelector(".highlights-camera"),e.section&&(o(),l.setVideo(),l.setScene(),s())}}}(),window.flagship=window.flagship||{},window.flagship.highlights=window.flagship.highlights||{},window.flagship.highlights.cameraVideo=function(){var e={},t={},i=window.flagship.common.utils,o=function(){e.scrollVideoWrap=e.section.querySelector(".js-scroll-video"),e.scrollVideo=e.section.querySelector(".js-scroll-video .common-video__figure>video"),e.scrollController=e.section.querySelector(".js-scroll-video .common-video__control"),e.scrollControllerBlindText=e.scrollController.querySelector(".blind")},s=function(){window.addEventListener("scroll",n.scroll),e.scrollController.addEventListener("click",n.videoCta),n.scroll()},l={setVideo:function(){t.cameraVideo=ANIUTIL.videoHandler({playType:"scrollPlay",startPoint:7,reversePoint:87,wrap:e.scrollVideoWrap,video:e.scrollVideo,resetCallback:function(){e.scrollVideoWrap.classList.contains("is-completed")&&e.scrollVideoWrap.classList.remove("is-completed")},playCallback:function(){e.scrollControllerBlindText.innerText="pause",r.pause()},pauseCallback:function(){e.scrollControllerBlindText.innerText="play",r.play()},endCallback:function(){e.scrollVideoWrap.classList.contains("is-completed")||e.scrollVideoWrap.classList.add("is-completed")}})},setScene:function(){t.scene=SCROLLER({trackElement:e.scrollVideo,useFixed:!1,resize:!i.detector.isTouchDevice})}},n={scroll:function(){t.scene.trackAnimation((function(){t.cameraVideo.scrollActive(this.progress)}))},videoCta:function(){e.scrollVideo.paused?e.scrollVideo.play():e.scrollVideo.pause()}},r={play:function(){if(e.scrollController.hasAttribute("data-omni")){var t=e.scrollController.getAttribute("data-omni").toLowerCase();e.scrollController.setAttribute("data-omni",t.replace("pause","play"))}if(e.scrollController.hasAttribute("ga-la")){var i=e.scrollController.getAttribute("ga-la").toLowerCase();e.scrollController.setAttribute("ga-la",i.replace("pause","play"))}},pause:function(){if(e.scrollController.hasAttribute("data-omni")){var t=e.scrollController.getAttribute("data-omni").toLowerCase();e.scrollController.setAttribute("data-omni",t.replace("play","pause"))}if(e.scrollController.hasAttribute("ga-la")){var i=e.scrollController.getAttribute("ga-la").toLowerCase();e.scrollController.setAttribute("ga-la",i.replace("play","pause"))}}};return{init:function(){e.section=document.querySelector(".highlights-video"),e.section&&(o(),l.setVideo(),l.setScene(),s())}}}(),window.flagship=window.flagship||{},window.flagship.highlights=window.flagship.highlights||{},window.flagship.highlights.colors=function(){var e={},t=function(){e.colors=e.section.querySelectorAll(".highlights-colors__tab-button"),e.panel=e.section.querySelectorAll(".highlights-colors__tab-panel"),e.colorName=e.section.querySelectorAll(".highlights-colors__tab-name"),e.popupBtn=document.querySelector(".highlights-portability").querySelector(".common-cta-encased")},i=function(){for(var t=0;tvideo"),e.scrollController=e.section.querySelector(".js-scroll-video .common-video__control"),e.scrollControllerBlindText=e.scrollController.querySelector(".blind")},s=function(){window.addEventListener("scroll",n.scroll),e.scrollController.addEventListener("click",n.videoCta),n.scroll()},l={setVideo:function(){t.designVideo=ANIUTIL.videoHandler({playType:"scrollPlay",startPoint:20,reversePoint:77,wrap:e.scrollVideoWrap,video:e.scrollVideo,resetCallback:function(){e.scrollVideoWrap.classList.contains("is-completed")&&e.scrollVideoWrap.classList.remove("is-completed")},playCallback:function(){e.scrollControllerBlindText.innerText="pause",r.pause()},pauseCallback:function(){e.scrollControllerBlindText.innerText="play",r.play()},endCallback:function(){e.scrollVideoWrap.classList.contains("is-completed")||e.scrollVideoWrap.classList.add("is-completed")}})},setScene:function(){t.scene=SCROLLER({trackElement:e.scrollVideo,useFixed:!1,resize:!i.detector.isTouchDevice})}},n={scroll:function(){t.scene.trackAnimation((function(){t.designVideo.scrollActive(this.progress)}))},videoCta:function(){e.scrollVideo.paused?e.scrollVideo.play():e.scrollVideo.pause()}},r={play:function(){if(e.scrollController.hasAttribute("data-omni")){var t=e.scrollController.getAttribute("data-omni").toLowerCase();e.scrollController.setAttribute("data-omni",t.replace("pause","play"))}if(e.scrollController.hasAttribute("ga-la")){var i=e.scrollController.getAttribute("ga-la").toLowerCase();e.scrollController.setAttribute("ga-la",i.replace("pause","play"))}},pause:function(){if(e.scrollController.hasAttribute("data-omni")){var t=e.scrollController.getAttribute("data-omni").toLowerCase();e.scrollController.setAttribute("data-omni",t.replace("play","pause"))}if(e.scrollController.hasAttribute("ga-la")){var i=e.scrollController.getAttribute("ga-la").toLowerCase();e.scrollController.setAttribute("ga-la",i.replace("play","pause"))}}};return{init:function(){e.section=document.querySelector(".highlights-design"),e.section&&(o(),l.setVideo(),l.setScene(),s())}}}(),window.flagship=window.flagship||{},window.flagship.highlights=window.flagship.highlights||{},window.flagship.highlights.durability=function(){var e={},i=function(){e.durabilityItemWrap=e.section.querySelector(".highlights-durability__list"),e.durabilityItem=e.section.querySelectorAll(".highlights-durability__item")},o=function(){for(var t=0;t0)for(var o=0;o-1&&(e.accBanner.style.marginTop=""),w()},p=function(){var t=parseInt(window.getComputedStyle(e.swiperSlides[0]).marginLeft),i=(e.swiperSlides[0].clientWidth+2*t)*e.swiperSlides.length,o=e.section.querySelector(".common-inner").clientWidth,s=e.contentWrap.clientWidth,l=i+(s-o)/2;document.documentElement.classList.contains("is-broken-fixed")?(h.destroyScroller(),null!=e.swiper&&v.destroy()):-1==currDevice.indexOf("mobile")?(null!=e.swiper&&v.destroy(),e.item.length>3||s-10&&this.progress<100){var t=parseInt(window.getComputedStyle(e.swiperSlides[0]).marginLeft),i=(e.swiperSlides[0].clientWidth+2*t)*e.swiperSlides.length,s=e.section.querySelector(".common-inner").clientWidth,l=e.contentWrap.clientWidth,n=i-l+(l-s);transValue=ANIUTIL.calRange({targetValue:n,progress:this.progress,startPoint:0,endPoint:20}),new TweenMax(e.swiperEl,.2,{x:transValue*(o.isRTL()?1:-1)+"px",ease:"none"}).updateTo({x:transValue*(o.isRTL()?1:-1)+"px"},!0)}}))}},destroyScroller:function(){null!=t.scene&&(t.scene.destroy(!0,!0),t.scene=null,e.swiperEl.style="",e.sceneTrack.style="")}},g=function(){null==e.swiper&&(e.swiper=new Swiper(e.swiperEl,{init:!1,centeredSlides:!0,slidesPerView:"auto",navigation:{nextEl:e.swiperNavArrowNext,prevEl:e.swiperNavArrowPrev}}),e.swiper.init(),e.swiper.on("init",v.init),e.swiper.on("slideChange",v.slideChange))},v={init:function(){var e=this.el.querySelector(".swiper-notification");e&&this.el.removeChild(e),f.slide(),f.arrow()},slideChange:function(){f.slide(),f.arrow()},destroy:function(){null!=e.swiper&&(e.swiper.destroy(!0),e.swiper=null)},onClickArrow:function(t){("keydown"==t.type&&13==t.keyCode||"click"==t.type&&document.documentElement.classList.contains("isTouchDevice"))&&(t.preventDefault(),clearTimeout(e.arrowTimeout),e.arrowTimeout=setTimeout((function(){e.swiper.isBeginning&&!e.swiper.isEnd?e.swiperNavArrowNext.focus():!e.swiper.isBeginning&&e.swiper.isEnd&&e.swiperNavArrowPrev.focus()}),300))}},f={slide:function(){for(var t=0;t=3?window.scrollTo(0,n):window.scrollTo(0,l)}};return{init:function(){e.section=document.querySelector(".highlights-excellence"),e.section&&(l(),n(),a())}}}(),window.flagship=window.flagship||{},window.flagship.highlights=window.flagship.highlights||{},window.flagship.highlights.exclusive=function(){var e={},t=function(){e.colors=e.section.querySelectorAll(".highlights-exclusive__tab-button"),e.panel=e.section.querySelectorAll(".highlights-exclusive__tab-panel"),e.info=e.section.querySelectorAll(".highlights-exclusive__tab-info"),e.popupBtn=e.section.querySelector(".common-cta-encased")},i=function(){for(var t=0;tvideo"),e.scrollController=e.section.querySelector(".js-scroll-video .common-video__control"),e.scrollControllerBlindText=e.scrollController.querySelector(".blind")},s=function(){window.addEventListener("scroll",n.scroll),e.scrollController.addEventListener("click",n.videoCta),n.scroll()},l={setVideo:function(){t.hingeVideo=ANIUTIL.videoHandler({playType:"scrollPlay",startPoint:5,reversePoint:90,wrap:e.scrollVideoWrap,video:e.scrollVideo,resetCallback:function(){e.scrollVideoWrap.classList.contains("is-completed")&&e.scrollVideoWrap.classList.remove("is-completed")},playCallback:function(){e.scrollControllerBlindText.innerText="pause",r.pause()},pauseCallback:function(){e.scrollControllerBlindText.innerText="play",r.play()},endCallback:function(){e.scrollVideoWrap.classList.contains("is-completed")||e.scrollVideoWrap.classList.add("is-completed")}})},setScene:function(){t.scene=SCROLLER({trackElement:e.scrollVideo,useFixed:!1,resize:!i.detector.isTouchDevice})}},n={scroll:function(){t.scene.trackAnimation((function(){t.hingeVideo.scrollActive(this.progress)}))},videoCta:function(){e.scrollVideo.paused?e.scrollVideo.play():e.scrollVideo.pause()}},r={play:function(){if(e.scrollController.hasAttribute("data-omni")){var t=e.scrollController.getAttribute("data-omni").toLowerCase();e.scrollController.setAttribute("data-omni",t.replace("pause","play"))}if(e.scrollController.hasAttribute("ga-la")){var i=e.scrollController.getAttribute("ga-la").toLowerCase();e.scrollController.setAttribute("ga-la",i.replace("pause","play"))}},pause:function(){if(e.scrollController.hasAttribute("data-omni")){var t=e.scrollController.getAttribute("data-omni").toLowerCase();e.scrollController.setAttribute("data-omni",t.replace("play","pause"))}if(e.scrollController.hasAttribute("ga-la")){var i=e.scrollController.getAttribute("ga-la").toLowerCase();e.scrollController.setAttribute("ga-la",i.replace("play","pause"))}}};return{init:function(){e.section=document.querySelector(".highlights-hinge"),e.section&&(o(),l.setVideo(),l.setScene(),s())}}}(),window.flagship=window.flagship||{},window.flagship.highlights=window.flagship.highlights||{},window.flagship.highlights.performanceDisplay=function(){var e={},t={},i=function(){e.imageWrap=e.section.querySelector(".highlights-performance__image-wrap"),e.afterImage=e.imageWrap.querySelector(".highlights-performance__image--after")},o=function(){window.addEventListener("scroll",l)},s=function(){t.scene=SCROLLER({trackElement:e.afterImage,useFixed:!1})},l=function(){t.scene.trackAnimation((function(){var t=ANIUTIL.calRange({targetValue:1,progress:this.progress,startPoint:20,endPoint:50});TweenMax.to(e.afterImage,.3,{opacity:t})}))};return{init:function(){e.section=document.querySelector(".highlights-performance__display-wrap"),e.section&&(i(),s(),o())}}}(),window.flagship=window.flagship||{},window.flagship.highlights=window.flagship.highlights||{},window.flagship.highlights.performanceVideo=function(){var e={},t={},i=window.flagship.common.utils,o=window.flagship.common.resize;currDevice=o.checkResolution();var s=function(){e.scrollVideoWrap=e.section.querySelector(".js-scroll-video"),e.scrollVideo=e.section.querySelector(".js-scroll-video .common-video__figure>video"),e.scrollController=e.section.querySelector(".js-scroll-video .common-video__control"),e.scrollControllerBlindText=e.scrollController.querySelector(".blind")},l=function(){window.addEventListener("scroll",a.scroll),e.scrollController.addEventListener("click",a.videoCta),a.scroll(),o.add(n)},n=function(e){currDevice=e},r={setVideo:function(){t.productivityVideo=ANIUTIL.videoHandler({playType:"scrollPlay",startPoint:20,reversePoint:currDevice.indexOf("mobile")>-1?81:80,wrap:e.scrollVideoWrap,video:e.scrollVideo,resetCallback:function(){e.scrollVideoWrap.classList.contains("is-completed")&&e.scrollVideoWrap.classList.remove("is-completed")},playCallback:function(){e.scrollControllerBlindText.innerText="pause",c.pause()},pauseCallback:function(){e.scrollControllerBlindText.innerText="play",c.play()},endCallback:function(){e.scrollVideoWrap.classList.contains("is-completed")||e.scrollVideoWrap.classList.add("is-completed")}})},setScene:function(){t.scene=SCROLLER({trackElement:e.scrollVideo,useFixed:!1,resize:!i.detector.isTouchDevice})}},a={scroll:function(){t.scene.trackAnimation((function(){t.productivityVideo.scrollActive(this.progress)}))},videoCta:function(){e.scrollVideo.paused?e.scrollVideo.play():e.scrollVideo.pause()}},c={play:function(){if(e.scrollController.hasAttribute("data-omni")){var t=e.scrollController.getAttribute("data-omni").toLowerCase();e.scrollController.setAttribute("data-omni",t.replace("pause","play"))}if(e.scrollController.hasAttribute("ga-la")){var i=e.scrollController.getAttribute("ga-la").toLowerCase();e.scrollController.setAttribute("ga-la",i.replace("pause","play"))}},pause:function(){if(e.scrollController.hasAttribute("data-omni")){var t=e.scrollController.getAttribute("data-omni").toLowerCase();e.scrollController.setAttribute("data-omni",t.replace("play","pause"))}if(e.scrollController.hasAttribute("ga-la")){var i=e.scrollController.getAttribute("ga-la").toLowerCase();e.scrollController.setAttribute("ga-la",i.replace("play","pause"))}}};return{init:function(){e.section=document.querySelector(".highlights-performance__video"),e.section&&(s(),r.setVideo(),r.setScene(),l())}}}(),window.flagship=window.flagship||{},window.flagship.highlights=window.flagship.highlights||{},window.flagship.highlights.portability=function(){var e={},t=window.flagship.common.resize,i=t.checkResolution(),o=function(){e.textWrap=e.section.querySelector(".highlights-portability__text")},s=function(){window.addEventListener("DOMContentLoaded",n,{once:!0}),t.add(l)},l=function(e){i=e,r()},n=function(){r()},r=function(){var t=e.textWrap.getBoundingClientRect().height;i&&i.indexOf("mobile")>-1&&t>541?e.section.classList.contains("is-text-overflow")||e.section.classList.add("is-text-overflow"):e.section.classList.contains("is-text-overflow")&&e.section.classList.remove("is-text-overflow")};return{init:function(){e.section=document.querySelector(".highlights-portability"),e.section&&(o(),s())}}}(),window.flagship=window.flagship||{},window.flagship.highlights=window.flagship.highlights||{},window.flagship.highlights.productivity=function(){var e={},t={},i=window.flagship.common.utils,o=window.flagship.common.resize,s=o.checkResolution(),l=function(){e.scrollVideoWrap=e.section.querySelector(".js-scroll-video"),e.scrollVideo=e.section.querySelector(".js-scroll-video .common-video__figure>video"),e.scrollController=e.section.querySelector(".js-scroll-video .common-video__control"),e.scrollControllerBlindText=e.scrollController.querySelector(".blind")},n=function(){window.addEventListener("scroll",c.scroll),e.scrollController.addEventListener("click",c.videoCta),c.scroll(),o.add(r)},r=function(e){s=e},a={setVideo:function(){t.productivityVideo=ANIUTIL.videoHandler({playType:"scrollPlay",startPoint:32,reversePoint:s.indexOf("mobile")>-1?70:85,wrap:e.scrollVideoWrap,video:e.scrollVideo,resetCallback:function(){e.scrollVideoWrap.classList.contains("is-completed")&&e.scrollVideoWrap.classList.remove("is-completed")},playCallback:function(){e.scrollControllerBlindText.innerText="pause",d.pause()},pauseCallback:function(){e.scrollControllerBlindText.innerText="play",d.play()},endCallback:function(){e.scrollVideoWrap.classList.contains("is-completed")||e.scrollVideoWrap.classList.add("is-completed")}})},setScene:function(){t.scene=SCROLLER({trackElement:e.scrollVideo,useFixed:!1,resize:!i.detector.isTouchDevice})}},c={scroll:function(){t.scene.trackAnimation((function(){t.productivityVideo.scrollActive(this.progress)}))},videoCta:function(){e.scrollVideo.paused?e.scrollVideo.play():e.scrollVideo.pause()}},d={play:function(){if(e.scrollController.hasAttribute("data-omni")){var t=e.scrollController.getAttribute("data-omni").toLowerCase();e.scrollController.setAttribute("data-omni",t.replace("pause","play"))}if(e.scrollController.hasAttribute("ga-la")){var i=e.scrollController.getAttribute("ga-la").toLowerCase();e.scrollController.setAttribute("ga-la",i.replace("pause","play"))}},pause:function(){if(e.scrollController.hasAttribute("data-omni")){var t=e.scrollController.getAttribute("data-omni").toLowerCase();e.scrollController.setAttribute("data-omni",t.replace("play","pause"))}if(e.scrollController.hasAttribute("ga-la")){var i=e.scrollController.getAttribute("ga-la").toLowerCase();e.scrollController.setAttribute("ga-la",i.replace("play","pause"))}}};return{init:function(){e.section=document.querySelector(".highlights-productivity"),e.section&&(l(),a.setVideo(),a.setScene(),n())}}}(),window.flagship=window.flagship||{},window.flagship.highlights=window.flagship.highlights||{},window.flagship.highlights.viewer=function(){var e={},i={},o=window.flagship.common.resize,s=window.flagship.common.utils,l=o.checkResolution(),n=function(){e.wrapEl=document.querySelector("#wrap"),e.contents=document.querySelector("#contents"),e.popup=document.querySelector(".highlights-viewer"),e.popupContents=e.popup.querySelector(".common-popup__contents"),e.popupInner=e.popup.querySelector(".common-popup__inner"),e.popupWrap=e.popup.querySelector(".common-popup__wrap"),e.closeCta=e.popup.querySelector(".common-popup__close-cta"),e.viewerWrap=e.popup.querySelector(".highlights-viewer__wrap"),e.viewerContainer=e.popup.querySelector(".highlights-viewer__container"),e.viewerIframe=e.popup.querySelector(".highlights-viewer__container-viewer"),e.popupScroll=e.popup.querySelector(".highlights-viewer__scroll"),e.popupScrollUpBtn=e.popup.querySelector(".highlights-viewer__scroll-btn--up"),e.popupScrollDownBtn=e.popup.querySelector(".highlights-viewer__scroll-btn--down"),e.infoBtn=e.popup.querySelector(".highlights-viewer__title-cta"),e.infoCloseBtn=e.popup.querySelector(".highlights-viewer__header-close-cta"),e.infoDimmed=e.popup.querySelector(".highlights-viewer__dimmed"),e.resizeTimeout=null,e.resizeInnerTimeout=null,e.viewerOpener=null,e.viewerModel="",e.viewerColor=""},r=function(){i.viewerBaseUrl="//www.samsung.com/global/galaxy/3d-360/viewer/?",i.defaultParams="&gesture_guide=0",i.defaultParams+="&bgcolor=transparent",i.defaultParams+="&skin=colorlayer",i.defaultParams+="&theme=roundlayer",i.defaultParams+="&intro=1",i.defaultParams+="&ruler=1",i.defaultParams+="&breakpoint_criteria=outer",i.defaultParams+="&breakpoint_desktop_width=1024",i.defaultParams+="&intro_pose=2",i.defaultParams+="&intro_pose_once=1",i.defaultParams+="&intro_pose_hold=1",i.moPoseReady=!1,i.isExclusive=!1,i.isHash=!1},a=function(){window.addEventListener("DOMContentLoaded",c,{once:!0}),window.addEventListener("message",v,!1),e.viewerIframe.addEventListener("DOMContentLoaded",h.onLoadLayerPopupIframe),e.popupScroll.addEventListener("click",g.onClickLayerScroll),o.add(d)},c=function(){u.innerWrapHeight(),u.layerScroll()},d=function(e){l=e,s.detector.isTouchDevice&&!s.detector.isIosDevice&&u.innerWrapHeight(),u.layerScroll()},u={innerWrapHeight:function(){clearTimeout(e.resizeInnerTimeout),e.resizeInnerTimeout=setTimeout((function(){e.popupInner&&(e.popupInner.style.height=parseInt(.9*window.innerHeight)+"px")}),0)},layerScroll:function(){clearTimeout(e.resizeTimeout),e.resizeTimeout=setTimeout((function(){g.setLayerScroll()}),300)}},p=function(){for(var t=0;t-1||"tablet"==l)&&h.infoPopupShow(),e.infoBtn.addEventListener("click",(function(){h.infoPopupShow(),setTimeout((function(){e.infoCloseBtn.focus()}),400)})),e.popupWrap.addEventListener("click",h.onclickViewerDimmed)},hide:function(){e.viewerModel="",e.viewerIframe.setAttribute("src","about:blank"),i.isHash&&setTimeout((function(){e.viewerOpener.focus()}),300)},infoPopupShow:function(){e.popup.classList.contains("is-info-open")||(e.popup.classList.add("is-info-open"),e.infoCloseBtn.addEventListener("click",h.infoPopupHide),e.infoDimmed.addEventListener("click",h.infoPopupHide),setTimeout((function(){e.closeCta.setAttribute("tabindex",-1),e.closeCta.setAttribute("aria-hidden",!0),e.infoBtn.setAttribute("tabindex",-1),e.infoBtn.setAttribute("aria-hidden",!0),e.viewerContainer.setAttribute("tabindex",-1),e.viewerContainer.setAttribute("aria-hidden",!0)}),100))},infoPopupHide:function(){e.popup.classList.contains("is-info-open")&&(e.popup.classList.remove("is-info-open"),setTimeout((function(){e.infoBtn.focus()}),300),setTimeout((function(){e.closeCta.removeAttribute("tabindex"),e.closeCta.removeAttribute("aria-hidden"),e.infoBtn.removeAttribute("tabindex"),e.infoBtn.removeAttribute("aria-hidden"),e.viewerContainer.removeAttribute("tabindex"),e.viewerContainer.removeAttribute("aria-hidden")}),100))},onclickViewerDimmed:function(t){t.currentTarget==t.target&&e.popup.hide()},onLoadLayerPopupIframe:function(){(document.documentElement.classList.contains("color_yb")||null!=s.getCookie("highContrastMode")&&1==s.getCookie("highContrastMode"))&&(e.viewerIframe.contentWindow.postMessage("V3D.highContrast.on","*"),setTimeout((function(){e.viewerIframe.contentWindow.postMessage("V3D.highContrast.on","*")}),300))}},g={setLayerScroll:function(){e.popupContents&&(e.popupContents.scrollHeight>e.popupContents.clientHeight?(s.offAccessibility(e.popupScroll),e.popupScroll&&e.popupScroll.classList.add("is-scroll-btn")):(s.onAccessibility(e.popupScroll),e.popupScroll&&e.popupScroll.classList.remove("is-scroll-btn")))},onScrollPopupContents:function(){onUpdateLayerScroll(!1)},onClickLayerScroll:function(i){if(i&&i.preventDefault(),i.target.matches(".highlights-viewer__scroll-btn")){var o=i.target.classList.contains("highlights-viewer__scroll-btn--down"),s=t(e.popupContents);o?s.stop().animate({scrollTop:s.scrollTop()+100},{duration:300,complete:function(){g.onUpdateLayerScroll(!0)}}):s.stop().animate({scrollTop:s.scrollTop()-100},{duration:300,complete:function(){g.onUpdateLayerScroll(!0)}})}},onUpdateLayerScroll:function(t){var i=e.popupContents.scrollTop,o=e.popupContents.scrollHeight-e.popupContents.clientHeight;e.popupScrollUpBtn.removeAttribute("tabindex"),e.popupScrollUpBtn.removeAttribute("aria-hidden"),e.popupScrollUpBtn.removeAttribute("disabled"),e.popupScrollDownBtn.removeAttribute("tabindex"),e.popupScrollDownBtn.removeAttribute("aria-hidden"),e.popupScrollDownBtn.removeAttribute("disabled"),0==i?(t&&e.popupScrollDownBtn&&e.popupScrollDownBtn.focus(),e.popupScrollUpBtn.setAttribute("tabindex","-1"),e.popupScrollUpBtn.setAttribute("aria-hidden","true"),e.popupScrollUpBtn.setAttribute("disabled","disabled")):i>=o-1&&(t&&e.popupScrollUpBtn&&e.popupScrollUpBtn.focus(),e.popupScrollDownBtn.setAttribute("tabindex","-1"),e.popupScrollDownBtn.setAttribute("aria-hidden","true"),e.popupScrollDownBtn.setAttribute("disabled","disabled"))}},v=function(t){"V3D.state.popOpen"==t.data?(l&&l.indexOf("mobile")>-1||"tablet"==l)&&(e.closeCta&&(e.popupWrap.classList.contains("is-popup-opened")||e.popupWrap.classList.add("is-popup-opened"),e.closeCta.setAttribute("tabindex","-1"),e.closeCta.setAttribute("aria-hidden","true"),e.closeCta.setAttribute("disabled","disabled")),e.infoBtn&&(e.infoBtn.setAttribute("tabindex","-1"),e.infoBtn.setAttribute("aria-hidden","true"))):"V3D.state.popClose"==t.data?(l&&l.indexOf("mobile")>-1||"tablet"==l)&&(e.closeCta&&(e.popupWrap.classList.contains("is-popup-opened")&&e.popupWrap.classList.remove("is-popup-opened"),e.closeCta.removeAttribute("tabindex"),e.closeCta.removeAttribute("aria-hidden"),e.closeCta.removeAttribute("disabled")),e.infoBtn&&(e.infoBtn.removeAttribute("tabindex"),e.infoBtn.removeAttribute("aria-hidden"))):"V3D.state.introPose.ready"==t.data?(l&&l.indexOf("desktop")>-1&&e.viewerIframe&&e.viewerIframe.contentWindow.postMessage("V3D.introPose.run","*"),i.moPoseReady=!0,setTimeout((function(){i.moPoseReady=!1}),2e3)):"V3D.state.localData.ready"==t.data&&e.viewerIframe&&e.viewerIframe.contentWindow.postMessage(JSON.stringify(V3DLOCALDATA),"*")},f=function(){var t=i.viewerBaseUrl;return t+="model_name="+e.viewerModel,i.isExclusive&&(t+="&exclusive_mode=1"),document.documentElement.classList.contains("color_yb")||null!=s.getCookie("highContrastMode")&&1==s.getCookie("highContrastMode")?t+="&highcontrast=1":t+="&highcontrast=0",s.isRTL()&&(t+="&rtl=1"),t+=i.defaultParams,t+="#color="+(e.viewerColor?e.viewerColor:"null")};return{init:function(){e.viewerBtns=document.querySelectorAll(".viewer-btn"),e.viewerBtns.length>0&&(n(),r(),p(),a())}}}(),window.flagship=window.flagship||{},window.flagship.highlights=window.flagship.highlights||{},window.flagship.highlights.ytPopup=function(){var e={},t=window.flagship.common.utils,i=function(){e.contents=document.querySelector("#contents"),e.openCtas=document.querySelectorAll(".js-youtube-popup"),e.closeCta=document.querySelector(".youtube-layer-popup__close-cta"),e.ytIframe=e.layerPopup.querySelector(".youtube-layer-popup__iframe > iframe"),e.ytDesc=e.layerPopup.querySelector(".youtube-player__desc")},o=function(){for(var i=0;i=t?(e.sidebar.classList.add("is-active"),e.sidebarBtn.removeAttribute("tabindex"),e.sidebarBtn.removeAttribute("aria-hidden")):r(),function(){for(var t=0;t=l&&o.winScrollTop<=n&&(e.sidebarListItem[t].classList.contains("is-active")||(a&&a.classList.remove("is-active"),e.sidebarListItem[t].classList.add("is-active"))),o.winScrollBottom>=r&&e.sidebarListItem[t].classList.contains("is-active")&&e.sidebarListItem[t].classList.remove("is-active")}}()}))},r=function(){e.sidebar.classList.contains("is-active")&&(e.sidebar.classList.remove("is-active"),e.sidebarBtn.setAttribute("tabindex",-1),e.sidebarBtn.setAttribute("aria-hidden",!0),a.sidebarClose())},a={sidebarOnClick:function(){e.sidebar.classList.contains("is-open")?a.sidebarClose():a.sidebarOpen()},sidebarOpen:function(){e.sidebar.classList.add("is-open"),c.off(),setTimeout((function(){window.addEventListener("click",a.outsideOnClick)}),50)},sidebarClose:function(){e.sidebar.classList.remove("is-open"),c.on(),window.removeEventListener("click",a.outsideOnClick)},outsideOnClick:function(e){e.target.matches(".highlights-sidebar__button>button")||a.sidebarClose()},itemOnClick:function(t){t.preventDefault();var o,s,l,n,a,c,d=e.sidebarList.querySelector(".is-active"),u=this;this.classList.contains("is-active")||(d&&d.classList.contains("is-active")&&d.classList.remove("is-active"),this.classList.add("is-active")),o=i.getNavHeight(),s=u.querySelector("a").getAttribute("href").split("#")[1],l=document.querySelector("#"+s),n=l.getBoundingClientRect().top,a=window.pageYOffset+n-o,c=null,clearTimeout(c),c=setTimeout((function(){var e=l.querySelector(".common-text");if(clickAble=l.querySelectorAll("a, button")[0],e){var t=function(){e.removeAttribute("tabindex"),e.removeEventListener("focusout",t)};e.addEventListener("focusout",t),e.setAttribute("tabindex",0),e.focus()}else clickAble.focus();window.scrollTo(0,a)}),30),setTimeout((function(){r()}),60)}},c={on:function(){e.sidebarList.setAttribute("aria-hidden",!0),e.sidebarList.setAttribute("tabindex",-1);var t=e.sidebarBtn.getAttribute("data-open-text");e.sidebarBtnBlindText.innerText=t,d.close();for(var i=0;i