Samsung Galaxy Z Flip4 | Samsung South Africa (2024)

Galaxy Z Flip4

  • REVIEWS
  • SPECIFICATIONS
  • SUPPORT
  • COMPARE

Buy Now

  • Highlights
  • Showroom
  • Accessories
  • REVIEWS
  • SPECIFICATIONS
  • SUPPORT
  • COMPARE

PRE-REGISTER PRE-ORDER BUY NOW WHERE TO BUY

Samsung Galaxy Z Flip4 | Samsung South Africa (1)

Stand up to the standard

  • Samsung Galaxy Z Flip4 | Samsung South Africa (2) Wefies by Flip

    We open with two females running up a terraced, grassy field, soon joined by a male who is following quickly behind. Cut to a close-up shot of one of the female leads with a mint-colored ribbed, long-sleeved top flipping open the Galaxy Z Flip4. The trio is posing beside a grassy mound, ready to take a hands-free photo. We cut to a close-up of the Galaxy Z Flip4, now squarely aimed at the trio just before the photo is taken. We see the trio clearly in frame before the shutter is released. The words “Selfie By Flip" flash across the screen before a final close-up of the Galaxy Z Flip4 with the trio posing in frame on the screen. Disclaimer: Image simulated for illustrative purpose. Actual UX/UI may vary. Sequence shortened. Flex mode supported at angles between 75 degrees and 115 degrees. Zoom out and see the trio posing as the flash goes off. We cut to a close up of the same female with mint-colored ribbed, long-sleeved top closing the Galaxy Z Flip 4. The next frame shows “Hands Free with FlexCam” Samsung.com. Disclaimer: FlexCam refers to camera experience using Flex mode. Samsung logo.

  • Samsung Galaxy Z Flip4 | Samsung South Africa (3) Expert Review

    @mkbhd. MKBHD is in his studio. Refinement. Disclaimer: Tech reviewers share their thoughts on the Galaxy Z Flip4. No payment was made to create the review. A license was obtained for a fee after content was posted on YouTube. Availability of model and colors may vary by country and carrier. Hear what the experts have to say. Galaxy Z Flip4. @unboxtherapy. Unbox Therapy holds an unfolded Galaxy Z Flip4 in Bora Purple in his hands as he speaks. Quote from Unbox Therapy: “It is the ultimate kind of activity phone, the ultimate wearable phone.” Design. @gadgetmatch. A black box with Flip written on the cover is placed on a wooden picnic table. Gadget Match’s Michael Josh slides his finger over the words Galaxy Z Flip4 written on the box. Next, Michael Josh holds the phone in his hands and rotates it to show it at various angles. Durability. An extreme close up of the hinge of the unfolded Bora Purple device. Quote from MKBHD: “It’s a bit stronger and more durable.” Next, a shot of MKBHD unfolding the device with one hand, as shown from the side to show its edge profile. Camera. A shot of the Cover Screen of the device in a partially folded position. It stands upright at slightly less than 90 degrees. Quote from Gadget Match: “Expect better-looking photos.” Next, a side-by-side comparison of photos taken in ultra-wide mode on the Galaxy Z Flip4 versus the Galaxy Z Flip3. Galaxy Z Flip4 took a more color-rich photo than its predecessor. Cover Screen. A live preview of Unbox Therapy appears on the Cover Screen of a Galaxy Z Flip4 in FlexCam mode. It is recording a video of him with the Rear Camera. Next, the Main Screen displays a photo in the Gallery app. Quote from Gadget Match: “This is probably the best selfie camera in the market.” The photo itself is shown. In portrait mode, the subject is clear while the background is blurred. Battery. Close up shot of the rear of the Galaxy Z Flip4 in the hands of MKBHD as he uses the device. Snapdragon 8 plus Gen 1. 3,700 Milliamp Hour Battery. The phone is held up and shown unfolded and from the rear. Next, the phone is partially folded to an acute angle to stand it up on its top and bottom edges with the Rear Cover facing upward. Samsung dot com. Samsung logo.

  • Samsung Galaxy Z Flip4 | Samsung South Africa (4) Over the Horizon 2022

    Over the Horizon 2022 produced by Suga of BTS. The song of the same title plays. Then, each of the members of the K-pop band, BTS, is seen in a series of slow-moving close up portrait clips. Then, at a faster pace, one band member extends his arm toward the spinning camera to show a colorized, folded Galaxy Z Flip4 in Bora Purple. Now, band members are dancing to the music with the device in their hands. They pose for a series of quick snapshots. They gleefully dance with Galaxy Z Flip4 in hand. Then, two members sit on a couch together, one holding the unfolded phone horizontally. They are watching a video on the Main Screen. The other member snatches the phone from him. The one originally holding the phone picks up another from the seat of the couch to use it instead. The member sitting next to him snatches the second device as well. Members continue to pose like they were taking photos. Another reaches toward the camera as if it were the Galaxy Z Flip4. Then, the video frame instantly transforms into the Main Screen of a Galaxy Z Flip4 as two band members grab it and turn the screen toward themselves to look at it. They appear surprised. Like before, a member reaches out toward the camera. The video frame becomes yet another Main Screen of a Galaxy Z Flip4. Here, three members inspect the device with curiosity. Again, someone reaches toward the camera and it turns into another Main Screen that is being grabbed by yet another member. Now, the whole band is present in the scene, each holding a Galaxy Z Fold4 in Bora Purple. They all come to look at what is on the screen of the last person to pick up the phone. Next, one band member playfully snatches the device from the hands of another and runs away as the other pretends to still be holding the device and touching the screen with his thumbs. Next, another band member comes into the frame dancing with the Galaxy Z Flip4 in Flex mode. There are a series of short portrait clips of each member dancing with the phone. Gradually, the clips begin to show full-body portraits and they dance around a large purple frame in the shape of a cube. Last, they are all gathered together for a group photo. The photo ratio is a square. The square continues to recede backward, and then vanishes as if it were a shutter being closed into a horizontal line. Samsung Galaxy logo and BTS logo.

Previous Slide Next Slide

Download "Over The Horizon 2022 produced by SUGA of BTS"

Movie player Layer

  • "...the Galaxy Z Flip4 is the best in its class."

    Digital Trends Joe Maring

    From Digital Trends. © 2022 Digital Trends Media Group. All rights reserved. Used under license.

    Samsung Galaxy
    Z Fold4 and Z Flip4

    "Foldable devices are about to be not just a thing, but THE thing"

    TechRadar 08/2022

Previous Slide Next Slide

    • Capture life with new perspective
    • Your best angles with FlexCam
    • Customizable to your content
    • Durable inside and out
    • Unfold your world
    Samsung Galaxy Z Flip4 | Samsung South Africa (5)

    The phone that claps back

    COLORS

    Meet the new neutrals

    Choose a colour that goes with everything — but looks like nothing else. A hazy finish on the glass creates a soft contrast to the high-shine, glossy metal frame. Select from four shades: Bora Purple, Graphite, Pink Gold and Blue.1

    Samsung Galaxy Z Flip4 | Samsung South Africa (6)
    Samsung Galaxy Z Flip4 | Samsung South Africa (7)
    Samsung Galaxy Z Flip4 | Samsung South Africa (8)
    Samsung Galaxy Z Flip4 | Samsung South Africa (9)
    Samsung Galaxy Z Flip4 | Samsung South Africa (10)
    Samsung Galaxy Z Flip4 | Samsung South Africa (11)
    Samsung Galaxy Z Flip4 | Samsung South Africa (12)
    Samsung Galaxy Z Flip4 | Samsung South Africa (13)

    COMPACT SIZE

    Fits all your fits

    The era of planning looks around your phone is over. Small but mighty when folded, GalaxyZFlip4 is a compact full-sized smartphone, and just the right size to slip in a pocket when it's time to slay.2

    • *Image simulated for illustrative purposes. Actual UI may be different.
    Samsung Galaxy Z Flip4 | Samsung South Africa (14)

    Flex your photo skills

    • Samsung Galaxy Z Flip4 | Samsung South Africa (15)
    • Samsung Galaxy Z Flip4 | Samsung South Africa (16)
    • Samsung Galaxy Z Flip4 | Samsung South Africa (17)

    #withGalaxy

    FLEXCAM

    Go ahead, flex on them

    Introducing FlexCam, a versatile, hands-free camera experience. Take advantage of your phone’s agile angles to capture group shots, selfies and videos from mind-blowing perspectives and impressive true-to-life detail — even in your go-to social apps.9

    • *Image simulated for illustrative purposes. Actual UI may be different.
    • Samsung Galaxy Z Flip4 | Samsung South Africa (18)
    • Samsung Galaxy Z Flip4 | Samsung South Africa (19)
    • Samsung Galaxy Z Flip4 | Samsung South Africa (20)
    Samsung Galaxy Z Flip4 | Samsung South Africa (21)

    QUICK SHOT

    Enter your self-portrait era

    Without opening your phone, take selfies with the Rear Camera while the Cover Screen gives you a real-time preview. Check yourself from afar with a full-screen viewfinder, or tap to see the original ratio to make sure everyone is in frame. And with new software upgrades, Quick Shot can flex open until FlexCam takes over, so you can capture hands-free photos at angles high and low.9

    • *Image simulated for illustrative purposes. Actual UI may be different.
    Samsung Galaxy Z Flip4 | Samsung South Africa (22)
    Samsung Galaxy Z Flip4 | Samsung South Africa (23)

    #withGalaxy

    Show off your dark side

    Samsung Galaxy Z Flip4 | Samsung South Africa (24)

    #withGalaxy

    MULTI-CAMERA SYSTEM

    Live your best nightlife

    The night just got brighter with Nightography on the Rear Camera. Details are brought to light even in the dark with bigger pixels on the Wide Camera. Say cheese!

    Nightography isn't just for stills — it's also got video skills. When the action gets going, recordings stay smooth, not shaky, with enhanced OIS and VDIS. Powerful processing allows Super Night Solution to minimize noise so clips of the crew stay clear well into the night.

    Samsung Galaxy Z Flip4 | Samsung South Africa (25)
    Samsung Galaxy Z Flip4 | Samsung South Africa (26)

    12MP Ultra Wide Camera 12MP Wide Camera

    Samsung Galaxy Z Flip4 | Samsung South Africa (27)

    10MP Selfie Camera

    Withstands drips and drops

    Samsung Galaxy Z Flip4 | Samsung South Africa (28)
    Samsung Galaxy Z Flip4 | Samsung South Africa (29)
    Samsung Galaxy Z Flip4 | Samsung South Africa (30)
    Samsung Galaxy Z Flip4 | Samsung South Africa (31)
    Samsung Galaxy Z Flip4 | Samsung South Africa (32)

    MAIN SCREEN

    Holds up from flex to flat

    The 6.7-inch display unfolds a beautiful view thanks to Ultra Thin Glass.3 Advanced durability makes it stronger than ever — staying tough through more than 200,000 folds.4, 5

    Samsung Galaxy Z Flip4 | Samsung South Africa (33)
    Samsung Galaxy Z Flip4 | Samsung South Africa (34)

    EXTERIOR

    Flippin' strong

    From the inside out, GalaxyZFlip4 is made to be durable. These are our toughest foldables ever with exclusive Corning® Gorilla® Glass Victus®+. And the hinge is protected by Armor Aluminium — our toughest aluminium frame.

    Samsung Galaxy Z Flip4 | Samsung South Africa (35)

    IPX8 WATER RESISTANCE

    Still unafraid of water

    Water you worried about? These are the world’s first water-resistant foldable smartphones.6 It can hang out in 1.5 meters of water for up to 30 minutes without breaking a sweat.

    Samsung Galaxy Z Flip4 | Samsung South Africa (36)

    SAMSUNG CARE+

    Accidents can be forgiven

    Enroll in a worry-free Samsung Care+ to stay protected from accidental damage.7

    LEARN MORE

    Samsung Galaxy Z Flip4 | Samsung South Africa (37)

    ENTERTAINMENT

    Call up the fam

    Samsung Galaxy Z Flip4 | Samsung South Africa (38)
    Samsung Galaxy Z Flip4 | Samsung South Africa (39)
    Samsung Galaxy Z Flip4 | Samsung South Africa (40)
    Samsung Galaxy Z Flip4 | Samsung South Africa (41)

    VIDEO CALL

    Share with the squad

    Catch up via video chat on Google Meet.9 Maybe even do a movie night from your phone, co-watching high-quality video with your friends through Live sharing. With synced videos, catch everyone's reactions to the action in real time.10

    • *Image simulated for illustrative purposes. Actual UI may be different.
    Samsung Galaxy Z Flip4 | Samsung South Africa (42)
    Samsung Galaxy Z Flip4 | Samsung South Africa (43)

    FLEXCAM FOR SOCIAL

    Give your feed a glow-up

    Content creation just got easier. FlexCam holds its own to broaden your directorial POV, letting you film yourself, your friends or your actors from fresh new angles.8 And once your movie is premiere-ready, simply upload it to your social media for some well-deserved accolades.

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

    Play

    Samsung Galaxy Z Flip4 | Samsung South Africa (44)

    Power to the pocket

    With this much juice, you can let every call go into overtime. An upgraded 4nm processor works with the long-lasting 3700mAh (typical) battery to power through the hours.11, 12

    When it's low, plug in for Super Fast Charging or bypass the cord with Fast Wireless Charging 2.0.13 With all that power to spare, you can even share a charge with your friend or your earbuds with Wireless PowerShare.14

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

    Better together

    25W Power Adapter15

    Samsung Galaxy Z Flip4 | Samsung South Africa (45)

    for Super Fast Charging

    Go to Chargers

    Samsung Galaxy Z Flip4 | Samsung South Africa (46)

    COVER SCREEN

    The window to your world

    Samsung Galaxy Z Flip4 | Samsung South Africa (47)
    Samsung Galaxy Z Flip4 | Samsung South Africa (48)
    Samsung Galaxy Z Flip4 | Samsung South Africa (49)
    Samsung Galaxy Z Flip4 | Samsung South Africa (50)
    Samsung Galaxy Z Flip4 | Samsung South Africa (51)
    Samsung Galaxy Z Flip4 | Samsung South Africa (52)
    Samsung Galaxy Z Flip4 | Samsung South Africa (53)
    Samsung Galaxy Z Flip4 | Samsung South Africa (54)
    Samsung Galaxy Z Flip4 | Samsung South Africa (55)

    CUSTOM COVER SCREEN

    Put your style on display

    With a customizable 1.9-inch Cover Screen, you get yet another canvas to play with.16 Change it up as much as you want using your videos, photos or your own AR emoji to personalize the clock face. With this much control, you can easily update it with your mood, the weather or to match your outfits.

    Samsung Galaxy Z Flip4 | Samsung South Africa (56)

    USEFUL COVER SCREEN

    Glance, act and go

    Your daily digital regulars, right on the Cover Screen. Control your phone with taps and swipes on the 1.9-inch Cover Screen.16 Access Quick Settings, reply to texts and add widgets to keep apps at your fingertips — no Main Screen necessary.

    • *Image simulated for illustrative purposes. Actual UI may be different.
    Samsung Galaxy Z Flip4 | Samsung South Africa (57)

    GALAXY WATCH5

    Better rest is all in the wrist

    Checking up on yourself just got easier. Track your sleep patterns right from your wrist with Galaxy Watch5 making note of your sleep patterns and more.17 Once it gets to know you, you can find out your sleep animal and get useful tips to help you make the most of your downtime.

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

    Better together

    Galaxy Watch518

    Samsung Galaxy Z Flip4 | Samsung South Africa (58)

    for sleep tracking

    Go to Galaxy Watch5

    Samsung Galaxy Z Flip4 | Samsung South Africa (59)

    The connected power of Samsung Galaxy

    Samsung Galaxy Z Flip4 | Samsung South Africa (60)
    Samsung Galaxy Z Flip4 | Samsung South Africa (61)

    Galaxy Z Fold4 LEARN MORE

    Samsung Galaxy Z Flip4 | Samsung South Africa (62)
    Samsung Galaxy Z Flip4 | Samsung South Africa (63)

    Galaxy Watch5 LEARN MORE

    Samsung Galaxy Z Flip4 | Samsung South Africa (64)
    Samsung Galaxy Z Flip4 | Samsung South Africa (65)

    Galaxy Buds2 Pro LEARN MORE

    *GalaxyZFold4, Galaxy Watch5 and Galaxy Buds2 Pro sold separately.

    SMART SWITCH

    Old phone, meet new phone

    Smart Switch makes the transition between your phone and GalaxyZFlip4 simple — even if you don't already have a Samsung Galaxy. In just a few steps it brings over your photos, texts, data and more.19

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

    Go to Smart Switch

    Samsung Galaxy Z Flip4 | Samsung South Africa (66)

    GALAXY EXCELLENCE Expect nothing less

    • 4NM PROCESSOR

      Fast as it is flexible

      Gaming, multitasking or multitasking while gaming, you want it smooth and seamless. Galaxy Z Flip4 now has the most powerful chip on Samsung Galaxy foldables.20

      Samsung Galaxy Z Flip4 | Samsung South Africa (67)
    • 5G

      Speed for the impatient

      Wherever you want to share the moment, get it there fast! 5G connectivity lets you stream, download and post content with HyperFast speeds.21

      Samsung Galaxy Z Flip4 | Samsung South Africa (68)
    • STORAGE

      Delete less of life

      Now you can shoot day or night, so you need the space to keep your art on hand. Fill up your Gallery with up to 256GB of storage built right in.22

      Samsung Galaxy Z Flip4 | Samsung South Africa (69)

      Sync your Gallery with OneDrive, and enjoy 6 months of 100 GB OneDrive cloud storage with Galaxy Z Fold4 and Galaxy Z Flip4.23, 24*Terms and conditions apply.

      Samsung Galaxy Z Flip4 | Samsung South Africa (70)
    • SAMSUNG KNOX

      Multi-layered security

      Samsung Knox is built into the hardware and software of your phone, protecting with layer upon layer of security to keep your private data private.

      Samsung Galaxy Z Flip4 | Samsung South Africa (71)
    • SIDE FINGERPRINT

      Pro tip: Unlock with a touch

      A simple tap of the Fingerprint Scanner unlocks the Main Screen quickly and accurately — keeping your phone under lock and fingerprint.

      Samsung Galaxy Z Flip4 | Samsung South Africa (72)
    • ONE UI

      The platform you make your own

      One UI helps you make your Android phone one-of-a-kind. Customize the Cover Screen and Main Screen to suit your tastes and the way you use your phone.

      Go to One UI

      Samsung Galaxy Z Flip4 | Samsung South Africa (73)

    ACCESSORIES

    Finesse your Flip

    LEARN MORE

    Samsung Galaxy Z Flip4 | Samsung South Africa (74)

    Layer Popup Close

    Frequently Asked Questions

    • GalaxyZFlip4 comes in a variety of colours from timeless to trendy. Complete your look with a hue that speaks to you.1

      GO TO COLORS

    • The more compact GalaxyZFlip4 has a bigger battery, a faster processor, and a tougher design than its predecessor. The Cover Screen is more customizable than ever. GalaxyZFlip4 takes even better quality photos in low light thanks to an improved Wide Camera. And there are now more third-party apps optimized for Flex mode, and more ways to use multiple windows on one screen.

    • GalaxyZFlip4 is great for selfies and video calls because of its foldable design. It folds to become its own tripod so you can make hands-free video calls, or you can set it down and snap from afar, so no one misses out on being in the group photo. You can even preview your selfies on the Cover Screen without opening the phone.2

      GO TO CAMERA

    • Galaxy Z Flip4 is powered by an intelligent 3,700mAh (typical) dual battery.11, 12 It charges faster than its predecessor when plugged in, and now supports Super Fast Charging and Fast Wireless Charging.13, 14

      GO TO BATTERY

    • Design a clock face that shows off your style or use a video as your Cover Screen wallpaper. And it's not just about looks. You can add widgets and even respond to notifications without opening your phone.

      GO TO CUSTOM COVER SCREEN

    • GalaxyZFlip4 is made with strong materials like Corning® Gorilla® Glass Victus®+, Armor Aluminium and Ultra Thin Glass that make it one tough foldable. Plus, these are the world’s first water resistant foldable smartphones.6

      GO TO DURABILITY

    Previous page Next page

    • HIGHLIGHTS
    • SHOWROOM
    • ACCESSORIES

    Go to GalaxyZFold4

    Samsung Galaxy Z Flip4 | Samsung South Africa (78)

    Make the Smart Switch

    EXPLORE MORE

    Samsung Galaxy Z Flip4 | Samsung South Africa (79)

    BUY NOW PRE-REGISTRATION PRE-ORDER WHERE TO BUY

    See GalaxyZFlip4 in AR OPEN IN AR

    Your Galaxy. Your way.

    Galaxy devices give you more ways to connect and the freedom to make your experience exactly how you want it.

    EXPLORE MORE

    Samsung Galaxy Z Flip4 | Samsung South Africa (82)

    Welcome to the epic standard of doing business GO TO SAMSUNG BUSINESS

    - High bandwidth mode - Low bandwidth mode

    *All specifications and descriptions provided herein may be different from the actual specifications and descriptions for the product. Samsung reserves the right to make changes to this document and the product described herein, at anytime, without obligation on Samsung to provide notification of such change. All functionality, features, specifications, GUI and other product information provided in this document including, but not limited to, the benefits, design, pricing, components, performance, availability, and capabilities of the product are subject to change without notice or obligation. The contents within the screen are simulated images and are for demonstration purposes only.

    1. Color availability may vary depending on country, region, or carrier.
    2. Measures 165.2 x 71.9 x 6.9 mm when unfolded and 84.9 x 71.9 x 15.9 ~ 17.1 mm when folded.
    3. Measured diagonally, Galaxy Z Flip4’s Main Screen size is 6.7" in the full rectangle and 6.6" accounting for the rounded corners; actual viewable area is less due to the rounded corners and camera hole.
    4. Tested and certified by Bureau Veritas.
    5. When compared to Galaxy Z Flip3 5G Ultra Thin Glass.
    6. Refers to Galaxy Z Fold4, Z Flip4, Z Fold3 5G and Z Flip3 5G. Galaxy Z Flip4 is rated as IPX8. IPX8 is based on test conditions for submersion in up to 1.5 meters of freshwater for up to 30 minutes. Not advised for beach or pool use. Not dust-resistant.
    7. Samsung Care+ coverage may vary by country, region or carrier. Deductibles may apply.
    8. FlexCam refers to camera experience using Flex mode. Flex mode supported at angles between 75°and 115°.
    9. Google Meet is a trademark of Google LLC. Participants may need to upgrade to the latest Google Duo or Google Meet and YouTube app to use Live sharing.
    10. Up to 100 people can be connected at once. Live sharing video quality, availability and supported apps may vary depending on the number of participants (regarding video quality), device, network conditions, country or carrier. Some supported apps may require subscriptions with separate terms and conditions.
    11. 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 3,595mAh.
    12. Estimated against the usage profile of an average/typical user. Independently assessed by Strategy Analytics between 2022.07.07–07.12 in USA with pre-release versions of SM-F721U under default setting using 5G Sub6 networks (NOT tested under 5G mmWave network). Actual battery life varies by network environment, features and apps used, frequency of calls and messages, number of times charged, and many other factors.
    13. From 0% up to 50% charge in around 30 minutes with 25W Adapter or higher. Based on internal testing. Actual charging time may vary by usage conditions and other factors.
    14. Limited to wireless charge compatible (QI standard) devices only. If battery power is lower than 30% Wireless PowerShare may not function. May not work with certain accessories, covers, other brand devices or some Samsung wearables. Wireless PowerShare may affect call reception or data services depending on your network environment.
    15. 25W Power Adapter sold separately.
    16. Measured diagonally, Galaxy Z Flip4's Cover Screen size is 1.9" in the full rectangle and 1.8" accounting for the rounded corners; actual viewable area is smaller due to the rounded corners.
    17. Product and feature availability may vary by country or region. Galaxy Watch5 must be paired with a Samsung Galaxy Phone with Android 8.0, minimum 1.5GB RAM and Samsung Health app version 6.22.1 or later. Intended for general wellness and fitness purposes only. Not intended for use in detection, diagnosis, treatment of sleep disorders or conditions. The measurements are for your personal reference only. Please consult a medical professional for advice.
    18. Galaxy Watch5 sold separately.
    19. Wired transfers require at least Android™ 4.3, iOS 5 or Windows Mobile OS 8.1 or OS 10 on your old device. Devices with an older OS must use wireless transfer options. If you do not have the required USB cable/connector for a wired transfer to Samsung Galaxy, you can also use wireless transfer options. Open Smart Switch Mobile in “Settings” on your new Galaxy phone or download Smart Switch for PC/Mac. Data and content available for transfer may vary by OS. To transfer data from iCloud or other cloud storage services, a data connection is required. To avoid disruption in text messaging when transferring from iOS, change your iMessage settings appropriately.
    20. Compared to previous Samsung Galaxy foldables.
    21. Requires optimal 5G connection. Actual speed may vary depending on country, carrier and user environment.
    22. Actual storage availability may vary depending on pre-installed software.
    23. Availability of Gallery sync through Microsoft OneDrive may vary depending on country or region. Requires set up of OneDrive syncing on your Samsung Galaxy device. Start with 5GB of free cloud storage or upgrade to a subscription for more storage.
    24. Six-month trial of OneDrive 100 GB cloud storage available for consumers who have purchased a Galaxy Z Fold4 and Galaxy Z Flip4 only. Availability may vary. Google Play’s terms and conditions apply. Refer to https://www.microsoft.com/onedrive-samsung-offer for details.

    " ); } else { $yvSlide .find("li:last > div") .attr("role", "list") .append( '

    ' + yvThumbArray[i] + "

    " ); } } var omniTxt = modelData + $yvSlidePagingOmni; $yvSlide.find("li").each(function (i) { var n = i * thumbLength; var title = yvTitleArr.slice(n, n + thumbLength).toString(); $( '' + pageTitle + " " + (i + 1) + ":" + title + "" ).appendTo($yvSlidePaging); }); $yvSlide.find("li").each(function () { if ($(this).find("> div .thumb").length < 2) { $(this).find("> div").removeAttr("role"); $(this).find("> div .thumb").removeAttr("role"); } }); var meetSwipe = GALAXY.swipeAble; if ( ($html.hasClass("ie") || $html.hasClass("edge")) && $html.hasClass("rtl") ) { meetSwipe = false; } var isArrow = false; var $prev = $yvWrap.find(".m_btn_type1-prev"); var $next = $yvWrap.find(".m_btn_type1-next"); $next.on("click", function (e) { isArrow = true; }); $prev.on("click", function (e) { isArrow = true; }); $yvSlide.xlider({ swipe: meetSwipe, endless: false, arrows: [ $yvWrap.find(".m_btn_type1-prev"), $yvWrap.find(".m_btn_type1-next"), ], paging: $yvSlidePaging, onMove: function onMove() { $yvSlideWrap .find("li") .removeClass("view") .removeAttr("aria-hidden tabindex"); $yvSlideWrap.removeClass("ie-error"); }, onChange: function onChange(idx, max) { if (idx == 0) { $next.removeClass("disabled"); $prev.addClass("disabled"); if (isArrow) { setTimeout(function () { $next.focus(); }, 300); } } else if (idx == max - 1) { $next.addClass("disabled"); $prev.removeClass("disabled"); if (isArrow) { setTimeout(function () { $prev.focus(); }, 300); } } else { $next.removeClass("disabled"); $prev.removeClass("disabled"); } $yvSlideWrap .find("li") .removeClass("view") .removeAttr("aria-hidden tabindex"); $yvSlideWrap.removeClass("ie-error"); }, onChangeEnd: function onChangeEnd(i) { var select = $yvSlidePaging.data("btn-title"); sliderOmni.remove(); $yvSlideWrap .find(".xlider-current") .removeClass("view") .siblings() .addClass("view") .attr({ "aria-hidden": "true", tabindex: -1, }); $yvSlidePaging .find("a") .eq(i) .attr("title", select) .siblings() .attr("title", ""); $yvSlideWrap.addClass("ie-error"); isArrow = false; }, }); $yvWrap .off("mousedown.yv keydown.yv") .on( "mousedown.yv keydown.yv", ".slide-paging a, .arrow-wrap a", function (e) { sliderOmni.add(e, this); } ); $yvSlide.find("li").each(function () { if ($(this).find(".thumb").length == 1) { $(this).removeAttr("role").find(".thumb").removeAttr("role"); } }); } else { $yvWrap.addClass("no-slide"); } }; var yvLoad = function yvLoad() { // if (!yvLoaded && window.pageYOffset > 10) { yvLoaded = true; GALAXY.sizeMode && $yvSlide.find("img").each(function (i, img) { this.src = GALAXY.getImageSources($(img))[GALAXY.sizeMode]; img.src = img.getAttribute("data-media-s4"); if (GALAXY.sizeMode >= 3) { img.src = img.getAttribute("data-media-s4"); } else if (GALAXY.sizeMode <= 2) { img.src = img.getAttribute("data-media-s2"); } }); // } }; var yvSlideDestroy = function yvSlideDestroy() { yvThumbArray = []; $yvSlidePaging.html(""); $yvSlide.removeAttr("style").xlider("remove"); $yvSlide.html(yvSlideHtml); $yvSlide.attr("role", "list"); $yvWrap.addClass("no-slide").addClass("set-youtube"); yvLoaded = false; setTimeout(function () { yvLoad(); }, 10); }; // quote slide var $quoteWrap = $(".quote-wrap"); var $quoteSlideWrap = $(".quote-slide"); var $quoteSlide = $quoteSlideWrap.find(".quote-list"); var $quoteSlidePaging = $quoteWrap.find(".slide-paging"); var $quoteSlidePagingOmni = $quoteSlidePaging.data("indicator-omni"); var quoteSlideHtml = $quoteSlide.html(); var quoteBoxArray = []; var quoteTitleArr = []; var quoteSlideInit = function () { if ($quoteWrap.hasClass("no-slide")) $quoteWrap.removeClass("no-slide"); var quateLength; if ($("html").hasClass("s34")) { quateLength = $quoteSlide.find(".quote-item").length > 3 ? true : false; } else if ($("html").hasClass("s2")) { quateLength = $quoteSlide.find(".quote-item").length > 2 ? true : false; } else { quateLength = $quoteSlide.find(".quote-item").length > 2 ? true : false; } if (quateLength) { GALAXY.unResize(quoteListHeight); GALAXY.resize(quoteListHeight); $quoteSlide.find(".quote-item").each(function (i) { var thisHtml = $(this).html(); quoteBoxArray.push(thisHtml); quoteTitleArr.push($(this).find("strong").text()); }); var pageTitle = $quoteSlidePaging.data("page-title"); $quoteSlide.attr("role", "list"); $quoteSlide.html(""); for (var i = 0; i < quoteBoxArray.length; i++) { if ($html.hasClass("s12")) { if (i % 2 == 0) $quoteSlide.append( '

  • ' + '

    ' + quoteBoxArray[i] + "

    " + "
  • " ); if (i % 2 != 0) $quoteSlide .find("li:last-child") .append( '

    ' + quoteBoxArray[i] + "

    " ); } else { if (i % 3 == 0) $quoteSlide.append( '

  • ' + '

    ' + quoteBoxArray[i] + "

    " + "
  • " ); if (i % 3 != 0) $quoteSlide .find("li:last-child") .append( '

    ' + quoteBoxArray[i] + "

    " ); } } var omniTxt = modelName + $quoteSlidePagingOmni; $quoteSlide.find("li").each(function (i) { var quateContLength = $(this).find(".quote-item").length; var title = $html.hasClass("s12") ? quoteTitleArr .slice(i * 2, i * 2 + quateContLength) .toString() : quoteTitleArr .slice(i * 3, i * 3 + quateContLength) .toString(); $( '

  • ' + pageTitle + " " + (i + 1) + ":" + title + "
  • " ).appendTo($quoteSlidePaging); }); var meetSwipe = GALAXY.swipeAble; if ($html.hasClass("ie") && $html.hasClass("rtl")) { meetSwipe = false; } if ($html.hasClass("edge") && $html.hasClass("rtl")) { meetSwipe = false; } $quoteSlide.xlider({ swipe: meetSwipe, endless: true, arrows: [ $quoteWrap.find(".m_btn_type1-prev"), $quoteWrap.find(".m_btn_type1-next"), ], paging: $quoteSlidePaging, onMove: function () { $quoteSlideWrap .find("li") .removeClass("view") .removeAttr("aria-hidden tabindex"); $quoteSlideWrap.removeClass("ie-error"); }, onChange: function () { $quoteSlideWrap .find("li") .removeClass("view") .removeAttr("aria-hidden tabindex"); $quoteSlideWrap.removeClass("ie-error"); }, onChangeEnd: function (i) { var select = $quoteSlidePaging.data("btn-title"); sliderOmni.remove(); $quoteSlideWrap .find(".xlider-current") .removeClass("view") .siblings() .addClass("view") .attr({ "aria-hidden": "true", tabindex: -1 }); $quoteSlidePaging .find("li") .eq(i) .find("a") .attr("title", select) .closest("li") .siblings() .find("a") .attr("title", ""); $quoteSlideWrap.addClass("ie-error"); }, }); $quoteWrap .off("mousedown.quot keydown.quot") .on( "mousedown.quot keydown.quot", ".slide-paging a", function (e) { sliderOmni.add(e, this); } ); quoteListHeight(); } else { $quoteWrap.addClass("no-slide"); } }; var quoteListHeight = function () { var max = 0; $quoteSlide .find("li") .css({ height: "" }) .each(function () { max = Math.max($(this).outerHeight(), max); }) .css({ height: max }); }; var quoteSlideDestroy = function () { quoteBoxArray = []; $quoteSlidePaging.html(""); $quoteSlide.removeAttr("style").xlider("remove"); $quoteSlide.html(quoteSlideHtml); $quoteSlide.attr("role", "list"); $quoteWrap.addClass("no-slide"); $quoteWrap.addClass("set-quateSlide"); $quoteSlide .find("li") .css({ height: "" }) .attr("role", "presentation"); setTimeout(function () { $quoteSlide.find("img").each(function () { $(this).attr("src", $(this).attr("data-media-s4")); }); }, 10); }; var changeSizeMode = GALAXY.sizeMode; GALAXY.load(function () { yvSlideDestroy(); yvSlideInit(); quoteSlideDestroy(); quoteSlideInit(); }); GALAXY.resize(function () { var _sizeMode = GALAXY.sizeMode; if (_sizeMode != changeSizeMode) { changeSizeMode = _sizeMode; yvSlideDestroy(); yvSlideInit(); quoteSlideDestroy(); quoteSlideInit(); } }); GALAXY.scroll(function () { // yvLoad(); }); // youtube modals var $opener = null; $(".youtube-wrap").on("click", "a", function (e) { e.preventDefault(); $opener = $(this); GALAXY.vodPlayer.show(this.href, this, true); var $desc = $(this).parent().find(".youtube-desc").length ? $(this) .parent() .find(".youtube-desc") .clone() .removeAttr("aria-hidden") : null; var $ytModal = $(".m_layer-youtube.show"); if ($("html").hasClass("safari") && $("html").hasClass("mobile")) $("html").css("height", "100vh"); $ytModal.find("h3").empty().text(""); $ytModal .find("iframe") .attr("title", $(this).find("img").attr("alt")); setTimeout(function () { $ytModal.find(".c_btn_close-type1").focus(); }, 1500); $ytModal.on("click", ".modals_close-area", function (e) { $ytModal.find(".c_btn_close_area button").trigger("click"); if ($("html").hasClass("safari") && $("html").hasClass("mobile")) $("html").css("height", ""); }); if ($desc != null) $ytModal.find(".m_video_view").append($desc); if (GALAXY.isGalaxy && $(this).parents(".youtube-slide").length) GALAXY.omniture($(this).attr("data-omni")); if ($("html").hasClass("dotcom")) { $("html").addClass("is-modal-opened"); } }); //wa $(document).on( "click", ".m_layer-youtube .c_btn_close-type1", function (e) { if ($("html").hasClass("dotcom")) { $("html").removeClass("is-modal-opened"); $("#QSIFeedbackButton-btn").css("width", "37px"); } setTimeout(function () { $opener && $opener.blur(); }, 500); setTimeout(function () { $opener && $opener.focus(); $opener = null; }, 2000); } ); // overview nav $(".overview-nav a").on("click", function (e) { var scrollTimeout = null; var $target = $($(this).attr("href")); var duration = 750; if ($target.length) { GALAXY.setSmoothScrollTop( $target.offset().top, duration, function () { clearTimeout(scrollTimeout); scrollTimeout = setTimeout(function () { $target.find("button").eq(0).focus(); }, 300); } ); } e.preventDefault(); }); $(".f_cate-overview-wrap a").on("click", function (e) { var scrollTimeout = null; var $target = $($(this).attr("href")); var duration = 750; var onBlur = function onBlur() { $(this).removeAttr("tabindex"); }; if ($target.length) { var targetOffsetTop = $target.offset().top; if ( parseInt(getComputedStyle($target[0]).paddingTop) < $("#subnav").height() ) { targetOffsetTop -= $("#subnav").height() + 10; } if ( parseInt(getComputedStyle($target[0]).paddingTop) < $(".pd-g-floating-nav").height() ) { targetOffsetTop -= $(".pd-g-floating-nav").height() + 10; } GALAXY.setSmoothScrollTop(targetOffsetTop, duration, function () { clearTimeout(scrollTimeout); scrollTimeout = setTimeout(function () { var focusBtn = $target .closest("[class*=f_header-], [class*=m_feature]") .find(".c_cate-title1 button"); var focusH3 = $target .closest("[class*=f_header-], [class*=m_feature]") .find(".c_cate-title2"); var focusH2 = $target .closest("[class*=f_header-], [class*=m_feature]") .find(".c_cate-title1"); var focusable = $.merge($.merge(focusBtn, focusH3), focusH2); var $first = $(focusable[0]); $first.attr("tabindex", "0"); $first.focus().one("blur", onBlur); }, 300); }); } e.preventDefault(); }); })(); var faveColorChip = function faveColorChip( $colors, $images, onchange, oninit ) { var $inputs = $colors.find("input:radio"); var colorTimeout; var _init = function _init() { if ($colors.find("input:checked").length == 0) { $inputs.each(function (i) { if (i == 0) { this.checked = true; } }); } _setImage(); if (oninit) { oninit(); } $inputs.on("change focus", function () { var $this = $(this); clearTimeout(colorTimeout); colorTimeout = setTimeout(function () { _setImage(); if (onchange) { onchange.call($this); } }, 0); }); }; var _setImage = function _setImage() { var currentColor = $inputs.filter(":checked").val(); $images.each(function () { $(this).removeClass("active").attr("aria-hidden", true); if ($(this).data("color-name") === currentColor) { $(this).addClass("active").removeAttr("aria-hidden"); } }); }; GALAXY.load(function () { _init(); }); }; var Modals = (function () { var $window = $(window); var $document = $(document); var $modals = $( '

    ' ); var $baseContentsArea = $("#wrap"), $baseContentsClickable; var $ctrl = null; var $modalContent, saveScrollTop, isKeyDown = false; var isModalShow = false; var showroomUid = null; var showroomDataInit = false; var isHashCheck = false; var focusSetTime1; var focusSetTime2; var isShow = false; var showroom; var showroomColor = ""; var init = function init() { $("body").append($modals); setHashCheck(); $document.on("click.openModal", ".o_modal_controller", openModel); $document.on("click.openShowroom", ".showroom-btn", openShowroom); return this; }; var openModel = function openModel() { if (!isShow) { $modals.removeClass("modal-showroom"); isShow = true; $ctrl = this; var target = this.dataset.target || this.getAttribute("href"); show(target); } return false; }; var openShowroom = function openShowroom() { if (!isShow) { isShow = true; $ctrl = this; var uid = this.dataset.target || this.getAttribute("href"); var $target = $(".showroom_modal").clone(); showroomColor = ""; if (this.dataset.target == "see-in-360") { showroomColor = $(this) .closest("article") .find("input:radio:checked") .attr("value") || "burgundy"; } showroomUid = uid; if (showroomDataInit === false) { callShowroomPage(); } else { $target .find(".modal-contents.showroom-con") .html($("#showroom-" + uid).html()); $target .find(".modal-contents.showroom-con article") .removeAttr("id"); } show($target); } return false; }; var callShowroomPage = function callShowroomPage() { $.ajax({ url: "./showroom/", dataType: "text", }) .done(setupShowroom) .fail(function () { window.location.href = "./showroom/#" + showroomUid; }); }; var setupShowroom = function setupShowroom(datas) { // Add Css var css = datas.split("/*!--GALAXY-SHOWROOM-CSS--*/")[1]; css = css.split("/*!--//GALAXY-SHOWROOM-CSS--*/")[0]; css = css.replace( /\.\/images\//g, "//images.samsung.com/za/smartphones/galaxy-z-flip4/showroom/images/" ); css = css.replace(/\.\.\/common\/images\//g, "./common/images/"); $("

    ", { attr: { type: "text/css", }, html: css, appendTo: "head", }); // Add Script var js = datas.split("/*!--GALAXY-SHOWROOM-JS--*/")[1]; js = js.split("/*!--//GALAXY-SHOWROOM-JS--*/")[0]; var newscript = document.createElement("script"); var insertScript = document.createTextNode(js); newscript.appendChild(insertScript); document.body.appendChild(newscript); // Add HTML Data var store = datas.split("

    ")[1]; store = store.split("

    ")[0]; $("

    ", { attr: { tabindex: -1, "aria-hidden": true, class: "overview-container", }, css: { display: "none", }, appendTo: "body", html: contReplace(store), }); // Add Html var contents = datas.split("

    ")[1]; contents = contents.split("

    ")[0]; function contReplace(str) { var s = str || ""; s = s.replace(/\.\//g, "./showroom/"); s = s.replace(/\.\.\/common\/images\//g, "./common/images/"); s = s.replace(/\.\.\/showroom\/common\//g, "./common/"); s = s.replace(/:showroom:/g, ":highlights:popup^"); return s; } var $contents = $("

    ", { html: contReplace(contents), }); var $articles = $contents.find("article"); var s = []; for (var i = 0, l = $articles.length, article; i < l; i++) { article = $articles[i]; s.push( '

    " ); } $("body").append(s.join("\n ")); showroom = new Showroom({ device: document.getElementById("contents").dataset.model, options: { tracker: false, progress: false, navigator: false, isShowroom: false, }, }); showroom.init(); $('.modal[role="dialog"]') .find(".modal-contents.showroom-con") .html($("#showroom-" + showroomUid).html()); $('.modal[role="dialog"]') .find(".modal-contents.showroom-con article") .removeAttr("id"); if ($modals.hasClass("show-end")) { var $loadingBar = $modals.find(".load-bar"); $loadingBar.get(0) && $loadingBar.remove(); showroom.renderFeature(showroomUid, showroomColor); } showroomDataInit = true; }; var btnShowSet; var btnShowSet2; var ieCloseBtnShow = function ieCloseBtnShow() { clearTimeout(btnShowSet); clearTimeout(btnShowSet2); if ($("html").hasClass("ie")) { if (!$(".modal_close").hasClass("close-show")) { $(".modal_close").addClass("close-show"); $(".modal_close a").focus(); } else { $(".modal_close").addClass("close-show-end"); $(".modal_close a").focus(); } } }; var setHashCheck = function setHashCheck() { var hash = location.href.split("#")[1]; if (!hash) { return; } var checkHash = function checkHash() { var target = this.dataset.target || this.getAttribute("href"); var $this = $(this); if (hash == this.dataset.hash) { isShow = true; if ($(this).hasClass("showroom-btn")) { showroomColor = ""; if (this.dataset.target == "see-in-360") { showroomColor = $(this) .closest("article") .find("input:radio:checked") .attr("value") || "burgundy"; } showroomUid = target; callShowroomPage(); show($(".showroom_modal").clone()); } else { show(target); } if (!$this.data("hash-scroll-target")) { isHashCheck = $this.closest("section").offset().top; setTimeout(function () { GALAXY.setScrollTop($this.closest("section").offset().top); }, 100); } else { setTimeout(function () { var $scrollTarget = $( "#" + $this.data("hash-scroll-target") ); isHashCheck = $scrollTarget.get(0) ? $scrollTarget.offset().top : 0; $scrollTarget.get(0) && GALAXY.setScrollTop($scrollTarget.offset().top); }, 100); } } }; $(".o_modal_controller").each(checkHash); $(".showroom-btn").each(checkHash); }; var show = function show(target) { $("#wrap").css("opacity", 0.99); var $target = $(target); var $loadingBar = $target.find(".load-bar"); $loadingBar.get(0) && $loadingBar.find("span").text($loadingBar.data("load-txt")); // if ( !$target.length ) return false; isKeyDown = false; isModalShow = true; $modals.html($target.html()); $modalContent = $modals.find(".modal_contents-area"); !showroomUid && $modalContent .find("a, button") .off(GALAXY.tracking) .on("click", GALAXY.tracking); $modals .find( ".modal_close > a, .modal_close > button, .modal_close-area" ) .one("click.modalHide", hide) .on("keydown.modalHide", hideKeyDown); if (!GALAXY.sizeMode) { var width = window.innerWidth; //document.documentElement.offsetWidth; GALAXY.sizeMode = width > 1440 ? 4 : width > 1023 ? 3 : width > 767 ? 2 : 1; } imageLoadCheck(); Accessibillity.on(); setTimeout(function () { $modalContent.addClass("modal_open"); shown(); }, 0); $modals.addClass("show"); saveScrollTop = GALAXY.scrollTop; GALAXY.noScroll.on(); $("#wrap").css({ position: "fixed", width: "100%", paddingRight: GALAXY.scrollBarWidth, left: 0, right: 0, top: -saveScrollTop, "z-index": -1, }); $(".overview-bg").css({ opacity: 0, }); if (!GALAXY.isGalaxy) $(".floating-navigation__wrap").css({ paddingRight: GALAXY.scrollBarWidth, }); $(".footer").css({ "padding-top": saveScrollTop, }); clearTimeout(focusSetTime2); focusSetTime2 = setTimeout(function () { $modals.find(".modal_close a").focus(); }, 1000); }; $modals .off("blur.modalClose") .on("blur.modalClose", ".modal_close a", function () { $(this).removeClass("focus-visible"); }); var shown = function shown() { $modals.addClass("show-end"); $("body") .off("keydown.closeModals") .on("keydown.closeModals", function (e) { if ( $modals.hasClass("show-end") && (e.key == "Escape" || e.keyCode == 27) ) { isKeyDown = true; hide(); } }); if (showroomUid && showroomDataInit) { var $loadingBar = $modals.find(".load-bar"); $loadingBar.get(0) && $loadingBar.remove(); showroom.renderFeature(showroomUid, showroomColor); } }; var hide = function hide() { $("#wrap").css("opacity", ""); $modals.removeClass("show"); $window.off("resize.modals"); Accessibillity.off(); if ($("html").hasClass("ie")) $(".modal_close").removeClass("close-show close-show-end"); if (isHashCheck !== false) { GALAXY.setScrollTop(isHashCheck); } isHashCheck = false; // showroomUid && showroom.destroyFeature(); showroomUid = null; clearTimeout(focusSetTime1); $(".footer").css({ "padding-top": "", }); GALAXY.noScroll.off(); $("#wrap").css({ position: "", width: "", left: "", paddingRight: "", right: "", top: "", "z-index": "", }); $(".overview-bg").css({ opacity: "", }); if (!GALAXY.isGalaxy) $(".floating-navigation__wrap").css({ paddingRight: "", }); saveScrollTop && GALAXY.setScrollTop(saveScrollTop); saveScrollTop = 0; $ctrl && $ctrl.focus(); $ctrl = null; isShow = false; if (typeof window.modalCloseCallback == "function") { window.modalCloseCallback(); } $modalContent = null; $modals.removeClass("show-end"); $("body").off("keydown.closeModals"); $modals.empty().addClass("modal-showroom"); isKeyDown = false; isModalShow = false; return false; }; var hideKeyDown = function hideKeyDown(e) { if (e.keyCode == 13 || e.keyCode == 32) { isKeyDown = true; } }; var Accessibillity = { on: function on() { $baseContentsArea.attr({ "aria-hidden": "true", tabindex: -1, }); $baseContentsClickable = $baseContentsArea.find( "a,input,select,textarea,button,video,iframe, svg" ); $baseContentsClickable.each(function () { var tabindex = $(this).attr("tabindex"); if (tabindex !== undefined && tabindex !== null) { $(this).data("prev-tabindex", tabindex); $(this).attr("aria-hidden", "true"); } $(this).attr("tabindex", "-1"); $(this).attr("aria-hidden", "true"); }); if ($("html").hasClass("dotcom")) { $("html").addClass("is-modal-opened"); } }, off: function off() { $baseContentsArea.removeAttr("aria-hidden tabindex"); $baseContentsClickable.each(function () { var tabindex = $(this).data("prev-tabindex"); if (tabindex !== undefined && tabindex !== null) { $(this).attr("tabindex", tabindex); $(this).removeAttr("aria-hidden"); } else { $(this).removeAttr("tabindex"); $(this).removeAttr("aria-hidden"); } }); if ($("html").hasClass("dotcom")) { $("html").removeClass("is-modal-opened"); $("#QSIFeedbackButton-btn").css("width", "37px"); } }, }; var imageLoadCheck = function imageLoadCheck() { var $images = $modals.find("img"), lens = $images.length, count = 0; var loadCheck = function loadCheck() { if (++count >= lens) { showImageLoadEnd(); } }; $images.each(function (i, image) { var $image = $(image); GALAXY.loadImage($image, loadCheck); this.src = GALAXY.getImageSources($image)[GALAXY.sizeMode]; }); if (!lens) { showImageLoadEnd(); } }; var showImageLoadEnd = function showImageLoadEnd() {}; var changeSizeMode = function changeSizeMode() { isModalShow && imageLoadCheck(); }; return { init: init, show: show, hide: hide, showEnd: showImageLoadEnd, }; })(); GALAXY.load(function () { Modals.init(); }); var excellenceMotion = function excellenceMotion() { var excellence = document.querySelector(".m_content-excellence"); var excellenceList = document.querySelector(".excellence-list"); var excellenceListUl = excellenceList.querySelector("ul"); var excellenceMobileMove = excellenceList.querySelector(".mobile-move"); var excellenceTitle = excellence.querySelector(".f_header-type1"); var eCard = excellenceList.querySelectorAll(".e-card"); var _this; var totalW = 0; var excellenceSticky; var cloneList; var arrowClick = false; var blankDiv; var $subNavElem = $("#subnav"); var $dotNav = $(".floating-navigation"); var $stickyInner = $(".m_content-excellence .sticky-inner"); var $sitckyHeader = $( ".m_content-excellence .sticky-inner>.f_header-type1" ); var $eCard = $(".e-card"); var $subNavHt; var $stickyInnerHt; var $stickyTop; var $totalHt; var $eCardHt; var init = function init() { _this = this; _this.resize(); stickyMotion(); slideMotion(); }; // excellence sticky var stickyMotion = function stickyMotion() { var titleL = 0; var totalH = 0; var titleW = 0; var progress = 0; var _init = function _init() { cloneList = excellenceListUl.cloneNode(true); cloneList.setAttribute("aria-hidden", "true"); cloneList.classList.add("clone-list"); excellenceList.appendChild(cloneList); blankDiv = document.createElement("div"); blankDiv.classList.add("blank-div"); excellenceList.appendChild(blankDiv); _resize(); if (document.documentElement.classList.contains("ie11")) { excellence.querySelector(".sticky-inner").style.marginTop = -totalH / 2 + "px"; } }; var _option = { align: "center", scroll: function scroll(percent) { _scroll(percent); }, resize: function resize() { _this.resize(); _resize(); _scroll(progress); }, }; var _scroll = function _scroll(scroll) { var p = stickyPercent(scroll, 0, 0.9); var distance; if (!document.documentElement.classList.contains("rtl")) { distance = titleL - (totalW - titleW) * p; } else { distance = -titleL + (totalW - titleW) * p; } if (!document.documentElement.classList.contains("s1")) _this.move(distance); }; var _jump = function _jump(idx) { var percent = idx / eCard.length; var fakeDiv = (excellence.clientHeight - window.innerHeight) * percent; setTimeout(function () { window.scrollTo(0, excellence.offsetTop + fakeDiv); }, 300); }; var _keyup = function _keyup(el, idx) { if (!document.documentElement.classList.contains("s1")) { excellence.querySelector(".sticky-inner").scrollLeft = 0; _jump(idx); } }; var _resize = function _resize() { titleL = excellenceTitle.offsetLeft; titleW = excellenceTitle.clientWidth; totalH = excellenceTitle.clientHeight; if (!document.documentElement.classList.contains("dotcom")) { $subNavHt = $subNavElem.height(); } else { $subNavHt = $dotNav.height(); } $stickyInnerHt = $stickyInner.height(); $totalHt = $stickyInnerHt + 50; $stickyTop = $subNavHt; $eCardHt = $eCard.height(); if (innerHeight - $subNavHt > $totalHt) { $stickyInner.css("top", $stickyTop + 50 + "px"); } else { $stickyInner.css( "top", -totalH + $subNavHt + (innerHeight - $subNavHt - $eCardHt) / 2 + "px" ); } }; _init(); var selectPostion = function selectPostion() { if (innerHeight - $subNavHt > $totalHt) { Object.assign(_option, { align: "top", }); } else { Object.assign(_option, { align: "center", }); } excellenceSticky = new scrollSticky(excellence, _option); }; // excellenceSticky = new scrollSticky(excellence, _option); var positionCheck = function positionCheck() { isSticky = $(".m_content-excellence") .find(".sticky-inner") .css("position"); if (isSticky == "static") { $(".m_content-excellence").addClass("_static"); } }; var fucusMove = function fucusMove() { var $excellence = $(".m_content-excellence"), $stickyInner = $excellence.find(".sticky-inner"), $listWrap = $excellence.find(".mobile-move"), $cardElem = $listWrap.find(".e-card"); var $innerTop, $calcValue, $offsetTop, $currentIndex = 0, $result; var focusMove = { focus: function focus() { if ($(this).index() >= $cardElem.length - 2) { $currentIndex = $cardElem.length - 1; } else { $currentIndex = $(this).index(); } $cardWidth = parseInt( (($excellence.height() + $innerTop) * 0.9) / ($cardElem.length + 2) ); $calcValue = $cardWidth * $currentIndex; $offsetTop = $excellence.offset().top - $innerTop; $result = $offsetTop + $calcValue; window.scrollTo(0, $result); }, }; var defaultSet = function defaultSet() { $innerTop = $stickyInner.css("top").split("px")[0] * 1; }; var bindEvent = function bindEvent() { $cardElem.on("keyup.focusMove", focusMove.focus); }; var init = function init() { defaultSet(); bindEvent(); }; init(); }; GALAXY.load(function () { selectPostion(); positionCheck(); fucusMove(); }); }; // excellence slide var slideMotion = function slideMotion() { var arrowWrap = excellenceList.querySelector( ".excellence-arrow-wrap" ); var startP = window.innerWidth / 2 - eCard[0].clientWidth / 2; var endP = window.innerWidth / 2 - eCard[0].clientWidth / 2; var downStart = false; var totalIdx = 0; var slideMove = false; var _init = function _init() { _resize(); // _this.move(startP); var startEvent = ["mousedown", "touchstart"]; var moveEvent = ["mousemove", "touchmove"]; var endEvent = ["mouseup", "touchend"]; startEvent.forEach(function (__this) { excellenceListUl.addEventListener(__this, function (e) { _touch.start(e); }); }); moveEvent.forEach(function (__this) { document.addEventListener( __this, function (e) { _touch.move(e); }, { passive: false, } ); }); endEvent.forEach(function (__this) { document.addEventListener(__this, function (e) { _touch.end(e); }); }); arrowWrap .querySelector(".prev") .addEventListener("click", function (e) { _prev(); }); arrowWrap .querySelector(".next") .addEventListener("click", function (e) { _next(); }); window.addEventListener("resize", function (e) { _resize(); }); }; var _touch = { prevX: 0, prevY: 0, currentX: 0, moveX: startP, dragX: 0, endIdx: 0, start: function start(e) { if (!slideMove) { downStart = true; this.prevX = e.type != "touchstart" ? e.pageX : e.changedTouches[0].clientX; this.prevY = e.type != "touchstart" ? e.pageY : e.changedTouches[0].clientY; } }, move: function move(e) { if ( downStart && !slideMove && document.documentElement.classList.contains("s1") ) { this.currentX = e.type != "touchmove" ? e.pageX : e.changedTouches[0].clientX; this.currentY = e.type != "touchmove" ? e.pageY : e.changedTouches[0].clientY; if (!document.documentElement.classList.contains("rtl")) { this.dragX = Math.min( startP, this.moveX + (this.currentX - this.prevX) ); this.dragX = Math.max( -totalW + window.innerWidth - endP, this.dragX ); if (this.prevX - this.currentX > 0) { this.endIdx = Math.floor( (eCard[0].clientWidth - this.dragX) / eCard[0].clientWidth ); } else { this.endIdx = Math.floor( (window.innerWidth / 4 - this.dragX) / eCard[0].clientWidth ); } } else { this.dragX = Math.max( -startP, this.moveX + (this.currentX - this.prevX) ); this.dragX = Math.min( totalW - window.innerWidth + endP, this.dragX ); if (this.prevX - this.currentX < 0) { this.endIdx = Math.floor( (eCard[0].clientWidth + this.dragX) / eCard[0].clientWidth ); } else { this.endIdx = Math.floor( (window.innerWidth / 4 + this.dragX) / eCard[0].clientWidth ); } } if ( this.currentX > this.currentY && Math.abs(this.prevY - this.currentY) <= 80 ) { e.preventDefault(); } e.preventDefault(); _this.move(this.dragX); } }, end: function end() { downStart = false; if (Math.abs(this.currentX) > 0) _jump(this.endIdx); this.prevX = 0; this.currentX = 0; }, }; var cardAriaHidden = function cardAriaHidden(idx) { eCard.forEach(function (i, index) { if (idx !== index) { i.setAttribute("aria-hidden", true); i.setAttribute("tabindex", -1); i.querySelectorAll("a").forEach(function (j) { j.setAttribute("aria-hidden", true); j.setAttribute("tabindex", -1); }); } else { i.removeAttribute("aria-hidden"); i.removeAttribute("tabindex"); i.querySelectorAll("a").forEach(function (j) { j.removeAttribute("aria-hidden"); j.removeAttribute("tabindex"); }); } if (!document.documentElement.classList.contains("s1")) { i.removeAttribute("aria-hidden"); i.removeAttribute("tabindex"); i.querySelectorAll("a").forEach(function (j) { j.removeAttribute("aria-hidden"); j.removeAttribute("tabindex"); }); } }); }; var _jump = function _jump(idx) { if (!slideMove) { slideMove = true; var cardStart = eCard[idx].clientWidth * idx; var cardMargin; if (!document.documentElement.classList.contains("rtl")) { cardMargin = parseInt( window .getComputedStyle(eCard[eCard.length - 1]) .getPropertyValue("margin-left"), 10 ) * idx; } else { cardMargin = parseInt( window .getComputedStyle(eCard[eCard.length - 1]) .getPropertyValue("margin-right"), 10 ) * idx; } var cardCenter = window.innerWidth / 2 - eCard[idx].clientWidth / 2; var cardMove; var marginLeft = parseInt( (innerWidth - $( ".m_content-excellence .sticky-inner > .f_header-type1" ).width()) / 2 ); var cardPadding = $(".e-card") .first() .css("padding-left") .split("px")[0]; if (!document.documentElement.classList.contains("rtl")) { if (!document.documentElement.classList.contains("s1")) { cardMove = -cardStart - cardMargin + cardCenter; } else { if (idx == "0") { cardMove = parseInt(marginLeft - cardPadding); } else { cardMove = -cardStart - cardMargin + cardCenter; } } } else { if (!document.documentElement.classList.contains("s1")) { cardMove = cardStart + cardMargin - cardCenter; } else { if (idx == "0") { cardMove = -parseInt(marginLeft - cardPadding); } else { cardMove = cardStart + cardMargin - cardCenter; } } } if (idx === 0) { arrowWrap .querySelector(".prev") .setAttribute("aria-hidden", "true"); arrowWrap .querySelector(".prev") .setAttribute("tabIndex", "-1"); arrowWrap.querySelector(".prev").classList.add("hide"); if (arrowClick) { setTimeout(function () { arrowWrap.querySelector(".next").focus(); }, 300); } } else { arrowWrap .querySelector(".prev") .setAttribute("aria-hidden", "false"); arrowWrap.querySelector(".prev").removeAttribute("tabIndex"); arrowWrap.querySelector(".prev").classList.remove("hide"); } if (idx >= eCard.length - 1) { arrowWrap .querySelector(".next") .setAttribute("aria-hidden", "true"); arrowWrap .querySelector(".next") .setAttribute("tabIndex", "-1"); arrowWrap.querySelector(".next").classList.add("hide"); if (arrowClick) { setTimeout(function () { arrowWrap.querySelector(".prev").focus(); }, 300); } } else { arrowWrap .querySelector(".next") .setAttribute("aria-hidden", "false"); arrowWrap.querySelector(".next").removeAttribute("tabIndex"); arrowWrap.querySelector(".next").classList.remove("hide"); } var moveElement = !document.documentElement.classList.contains( "s1" ) ? excellenceListUl : excellenceMobileMove; TweenMax.fromTo( moveElement, 0.5, { x: _touch.dragX, }, { x: cardMove, ease: Quint.easeOut, onComplete: function onComplete() { _touch.moveX = cardMove; _touch.dragX = cardMove; totalIdx = idx; slideMove = false; arrowClick = false; cardAriaHidden(idx); }, } ); } }; var _prev = function _prev() { arrowClick = true; totalIdx = Math.max(0, totalIdx - 1); _jump(totalIdx); }; var _next = function _next() { arrowClick = true; totalIdx = Math.min(eCard.length - 1, totalIdx + 1); _jump(totalIdx); }; var fakeDiv = document.createElement("div"); var _resize = function _resize() { startP = window.innerWidth / 2 - eCard[0].clientWidth / 2; endP = window.innerWidth / 2 - eCard[0].clientWidth / 2; if (document.documentElement.classList.contains("s1")) _jump(totalIdx); blankDiv.style.height = "var(--snbh)"; var _snbh = blankDiv.clientHeight; if (window.innerHeight - cloneList.clientHeight - _snbh < 0) { // static excellence.classList.add("static"); } else { // sticky excellence.classList.remove("static"); } }; GALAXY.load(function () { _init(); }); }; var move = function move(_move) { var moveElement = !document.documentElement.classList.contains("s1") ? excellenceListUl : excellenceMobileMove; moveElement.style.transform = "translate3d(" + _move + "px,0px,0px) rotate(0.001deg)"; }; var resize = function resize() { totalW = 0; eCard.forEach(function (_this) { var _marginLeft; if (!document.documentElement.classList.contains("rtl")) { _marginLeft = parseInt( window .getComputedStyle(_this) .getPropertyValue("margin-left"), 10 ); } else { _marginLeft = parseInt( window .getComputedStyle(_this) .getPropertyValue("margin-left"), 10 ); } totalW += _this.clientWidth + _marginLeft; }); excellenceListUl.style.width = totalW + "px"; }; return { init: init, move: move, resize: resize, }; }; excellenceMotion() && excellenceMotion().init(); var ecosystem = function ecosystem() { var $popupElem = $(".eco-popup"); var $openBtn = $(".btn-open"); var $closeBtn = $(".btn-close"); var $index = 0; var ecosystemElem = document.querySelector(".m_content-ecosystem"); var ecosystemBg = document.querySelector(".gradient-wrap"); var scrollValue = 0; var currentScroll = 0; var ratio = 0; var settingValue = 20; var heightRatio = 0.3; ecosystemBg.style.transform = "translate3d(-50%," + settingValue + "%,0)"; var ecoPopup = { open: function open(index) { ecoPopup.allClosed(); $popupElem.eq(index).stop().fadeIn(200); $popupElem.eq(index).find(".btn-close").focus(); }, closed: function closed(index) { $popupElem.eq(index).stop().fadeOut(200); $popupElem.eq(index).prev(".eco-item").find(".btn-open").focus(); }, focus: function focus() { $popupElem.stop().fadeOut(200); $openBtn.removeClass("open"); }, allClosed: function allClosed() { $popupElem.stop().fadeOut(200); }, exClosed: function exClosed(e) { if ( $popupElem.has(e.target).length === 0 && $(e.target)[0].classList[0] != "btn-open" ) { ecoPopup.allClosed(); $openBtn.removeClass("open"); } }, router: function router() { switch ($(this)[0].classList[0]) { case "btn-open": $index = $openBtn.index(this); if ($(this).attr("class").split(" ").indexOf("open") != -1) { $(this).removeClass("open"); ecoPopup.closed($index); } else { $openBtn.removeClass("open"); $(this).addClass("open"); ecoPopup.open($index); checkViewPopup(ecosystemElem); } break; case "btn-close": $index = $closeBtn.index(this); $openBtn.eq($index).removeClass("open"); ecoPopup.closed($index); break; } }, parallax: function parallax() { scrollValue = pageYOffset; currentScroll = Math.max( 0, pageYOffset - (ecosystemElem.offsetTop - ecosystemElem.offsetHeight * heightRatio) ); ratio = currentScroll / ecosystemElem.offsetHeight; trasformValue = settingValue - settingValue * ratio; if ( scrollValue > ecosystemElem.offsetTop - ecosystemElem.offsetHeight * heightRatio && scrollValue < ecosystemElem.offsetTop - ecosystemElem.offsetHeight * heightRatio + ecosystemElem.offsetHeight ) { ecosystemBg.style.transform = "translate3d(-50%," + trasformValue + "%,0)"; } else if ( scrollValue < ecosystemElem.offsetTop - ecosystemElem.offsetHeight * heightRatio ) { ecosystemBg.style.transform = "translate3d(-50%," + settingValue + "%,0)"; } else if ( scrollValue > ecosystemElem.offsetTop - ecosystemElem.offsetHeight * heightRatio + ecosystemElem.offsetHeight ) { ecosystemBg.style.transform = "translate3d(-50%,0%,0)"; } }, }; var addEvent = function addEvent() { $openBtn.on({ "click.eco": ecoPopup.router, "focus.eco": ecoPopup.focus, }); $closeBtn.on("click.eco", ecoPopup.router); $(document).on({ "click.eco": ecoPopup.exClosed, "scroll.ecosystem": ecoPopup.parallax, }); }; var checkViewPopup = function checkViewPopup(target) { var callback = function callback(entries, observer) { entries.forEach(function (entry) { if (!entry.isIntersecting) { $popupElem.stop().fadeOut(200); $openBtn.removeClass("open"); } }); }; var io = new IntersectionObserver(callback); io.observe(target); }; var init = function init() { addEvent(); }; init(); }; GALAXY.load(function () { ecosystem(); }); var faqList = (function () { var $section = $(".m_faq-banner"), $item_q, $item_a, $item_btns, $item_cont_btns; var omni = { open: ":expand:", close: ":collapse:", }; var asset = function asset() { $item_q = $section.find(".faq_item_q"); $item_a = $section.find(".faq_item_a"); ($item_btns = $item_q.find("button")), ($item_cont_btns = $item_a.find("a.o_btn-type1")); }; var bindEvent = function bindEvent() { $item_btns.off("click").on("click", showContent); $item_cont_btns .off("click.focusMove") .on("click.focusMove", moveSection); }; var init = function init() { if (!$section.length) { return false; } asset(); bindEvent(); return this; }; var moveSection = function moveSection() { var targetId = $(this).attr("href"); var $target = $(targetId); var $title = "H2|H3".indexOf($target[0].tagName) > -1 ? $target : $target.find("h2,h3"); setTimeout(function () { if ($title.find("button").length) { $title.find("button").focus(); } else { $title .attr({ tabindex: 0, }) .css({ outline: 0, }) .focus() .one("blur", function () { $(this).removeAttr("tabindex").css("outline", ""); }); } GALAXY.setScrollTop($target.offset().top); }, 100); return false; }; var showContent = function showContent() { var $item_btn = $(this); var curIndex = $item_btns.index(this); var $item = $item_btn.closest(".faq_item"); var omniture = this.dataset.omni; if (!$item.hasClass("is-open")) { $item.addClass("is-open"); $item_btn.attr({ "aria-expanded": "true", "ga-la": omniture.replace(omni.open, omni.close), "data-omni": omniture.replace(omni.open, omni.close), }); $item_a.eq(curIndex).stop().slideDown(300); } else { $item.removeClass("is-open"); $item_btn.attr({ "aria-expanded": "false", "ga-la": omniture.replace(omni.close, omni.open), "data-omni": omniture.replace(omni.close, omni.open), }); $item_a.eq(curIndex).stop().slideUp(250); } GALAXY.omniture(omniture); return false; }; init(); })(); // overview GALAXY.load(function () { new overview(".m_content-overview", { horizontal: false, }); }); // durability var durabilityImage = $(".m_feature-durability .img-cont"); GALAXY.hello(durabilityImage, { on: function on() { durabilityImage.addClass("on"); }, off: function off() { durabilityImage.removeClass("on"); }, }); // exterior var $exteriorDevice = $(".exterior-device"); GALAXY.hello($(".m_feature-exterior .exterior-device"), { baseLine: 2, on: function on() { $exteriorDevice.removeClass("step1 step2 step3"); $exteriorDevice.addClass("step1"); setTimeout(function () { $exteriorDevice.addClass("step2"); setTimeout(function () { $exteriorDevice.addClass("step3"); }, 460); }, 750); }, off: function off() { $exteriorDevice.removeClass("step1 step2 step3"); }, }); // video call var enterSticky = function enterSticky() { var $etSec = $(".m_feature-entertainment"); var navH; var ieChk = $("html").hasClass("ie"); var typeChk = $etSec.find(".videocall-wrap").length; if (ieChk || !typeChk) { $etSec.attr("data-sticky-mode", false).removeAttr("style"); } GALAXY.resize(function () { if ($etSec.attr("data-sticky-mode", false)) $etSec.removeAttr("style"); }); if (!typeChk) $etSec.find(".enter-wrap .f_container").hide(); if (!ieChk && typeChk) { var $etStickyWrap = $etSec.find(".sticky-wrap"); var $etStickyInner = $etSec.find(".sticky-inner"); var $enterWrap = $etStickyInner.find(".enter-wrap"); var $videoCallWrap = $etStickyInner.find(".videocall-wrap"); var $videoCallHeader = $videoCallWrap.find(".f_header-type1"); var $chat1 = $enterWrap.find(".chat01"); var $chat2 = $enterWrap.find(".chat02"); var $chat3 = $enterWrap.find(".chat03"); var $chat4 = $enterWrap.find(".chat04"); var $heading = $enterWrap.find(".f_header-type1"); var $enterCont = $enterWrap.find(".f_container"); var $videoDevice = $enterWrap.find(".video-device"); var $deviceBg = $enterWrap.find(".device-bg"); var winH; var step1DeviceWidth; var step2DeviceWidth; var mb; var deviceW = GALAXY.sizeMode > 1 ? 550 : 376; var contPosTop = GALAXY.sizeMode > 2 ? 574 : 393; var videoImgHeight = Math.round(deviceW * (1791 / 1647)); var videoWrapHeight = Math.max( $(".videocall-wrap").height(), videoImgHeight ); var loadMb = Math.abs( GALAXY.areaHeight - (videoWrapHeight + (GALAXY.areaHeight / 2 - contPosTop / 2)) ); var viedoCallTop = $etSec.offset().top + $etSec.height() - GALAXY.navHeight - GALAXY.areaHeight / 2 - loadMb; if (GALAXY.sizeMode > 1) $etSec.css("margin-bottom", -loadMb); var _destroy = function _destroy() { $etStickyWrap.removeAttr("style"); $videoCallHeader.removeAttr("style"); $chat1.removeAttr("style"); $chat2.removeAttr("style"); $chat3.removeAttr("style"); $chat4.removeAttr("style"); $heading.removeAttr("style"); $enterWrap.removeClass("switch"); $enterCont.removeAttr("style"); $videoDevice.removeAttr("style"); $deviceBg.removeAttr("style"); $videoCallWrap.removeAttr("style"); }; var _option = { align: "top", minH: [800, 700, 550], on: function on() { $videoDevice.css("opacity", 1); $videoCallWrap .find(".f_header-type1") .on("keyup", "a, button", function (e) { var _this = $(e.target); if ( e.keyCode == 9 && _this.closest('[data-sticky-mode="true"]').length ) { GALAXY.setSmoothScrollTop(viedoCallTop, 100); } }); var vc_hash = location.hash.split("#")[1]; if (vc_hash && vc_hash == "video-call") { setTimeout(function () { GALAXY.setSmoothScrollTop(viedoCallTop, 100); }, 1000); } }, off: function off() { _destroy(); }, scroll: function scroll(per) { $enterCont.css("background-color", "transparent"); var chatStep = GALAXY.sizeMode > 2 ? stickyPercent(per, -1.5, 1.2) : GALAXY.sizeMode == 2 ? stickyPercent(per, -2, 2) : stickyPercent(per, -2.5, 2.2); var headingStep = GALAXY.sizeMode > 2 ? stickyPercent(per, -0.5, 1.45) : GALAXY.sizeMode == 2 ? stickyPercent(per, -0.5, 1.5) : stickyPercent(per, -0.5, 4); var deviceStep1 = GALAXY.sizeMode > 2 ? stickyPercent(per, -0.8, 1.1) : GALAXY.sizeMode == 2 ? stickyPercent(per, -0.3, 0.61) : stickyPercent(per, 0.28, 0.53); var deviceStep2 = GALAXY.sizeMode > 1 ? stickyPercent(per, 0.3, 0.5) : stickyPercent(per, 0.81, 0.3); var deviceStep3 = stickyPercent(per, 0.8, 0.2); if (chatStep > 0) { if (GALAXY.sizeMode > 2) { $chat1.css({ transform: "translate(calc(-50% - " + (1400 - 1234 * chatStep) + "px), calc(-50% - " + (1400 - 1180 * chatStep) + "px))", }); $chat2.css({ transform: "translate(calc(-50% + " + (1100 - 931 * chatStep) + "px), calc(-50% - " + (1100 - 879 * chatStep) + "px))", }); $chat3.css({ transform: "translate(calc(-50% - " + (800 - 633 * chatStep) + "px), calc(-50% + " + (800 - 684 * chatStep) + "px))", }); $chat4.css({ transform: "translate(calc(-50% + " + (1200 - 1032 * chatStep) + "px), calc(-50% + " + (1200 - 1084 * chatStep) + "px))", }); } if (GALAXY.sizeMode == 2) { $chat1.css({ transform: "translate(calc(-50% - " + (1400 - 1265 * chatStep) + "px), calc(-50% - " + (1400 - 1222 * chatStep) + "px))", }); $chat2.css({ transform: "translate(calc(-50% + " + (1100 - 963 * chatStep) + "px), calc(-50% - " + (1100 - 921 * chatStep) + "px))", }); $chat3.css({ transform: "translate(calc(-50% - " + (800 - 665 * chatStep) + "px), calc(-50% + " + (800 - 707 * chatStep) + "px))", }); $chat4.css({ transform: "translate(calc(-50% + " + (1200 - 1064 * chatStep) + "px), calc(-50% + " + (1200 - 1107 * chatStep) + "px))", }); } if (GALAXY.sizeMode == 1) { $chat1.css({ transform: "translate(calc(-50% - " + (600 - 501 * chatStep) + "px), calc(-50% - " + (600 - 469 * chatStep) + "px))", }); $chat2.css({ transform: "translate(calc(-50% + " + (480 - 380 * chatStep) + "px), calc(-50% - " + (480 - 349 * chatStep) + "px))", }); $chat3.css({ transform: "translate(calc(-50% - " + (500 - 401 * chatStep) + "px), calc(-50% + " + (500 - 432 * chatStep) + "px))", }); $chat4.css({ transform: "translate(calc(-50% + " + (550 - 450 * chatStep) + "px), calc(-50% + " + (550 - 482 * chatStep) + "px))", }); } $heading.css({ top: 50 - 100 * headingStep + "%", }); } else { $chat1.removeAttr("style"); $chat2.removeAttr("style"); $chat3.removeAttr("style"); $chat4.removeAttr("style"); $heading.removeAttr("style"); } step1DeviceWidth = GALAXY.sizeMode > 2 ? 3000 - 1850 * deviceStep1 : GALAXY.sizeMode > 1 ? 2000 - 1070 * deviceStep1 : 1500 - 815 * deviceStep1; if (deviceStep1 > 0) { $videoDevice.css({ width: step1DeviceWidth + "px", opacity: 1, }); if (GALAXY.sizeMode > 2) { $deviceBg.css({ width: "64.3%", height: 2000 - 1275 * deviceStep1 + "px", "background-color": "rgb(" + Math.min(30, Math.max(0, 30 * (deviceStep1 * 2))) + " " + Math.min(31, Math.max(0, 31 * (deviceStep1 * 2))) + " " + Math.min(35, Math.max(0, 35 * (deviceStep1 * 2))) + ")", }); } if (GALAXY.sizeMode == 2) { $deviceBg.css({ width: "64.3%", height: 1500 - 880 * deviceStep1 + "px", "background-color": "rgb(" + Math.min(30, Math.max(0, 30 * (deviceStep1 * 2))) + " " + Math.min(31, Math.max(0, 31 * (deviceStep1 * 2))) + " " + Math.min(35, Math.max(0, 35 * (deviceStep1 * 2))) + ")", }); } if (GALAXY.sizeMode == 1) { $deviceBg.css({ width: "64.3%", height: 1200 - 736 * deviceStep1 + "px", "background-color": "rgb(" + Math.min(30, Math.max(0, 30 * (deviceStep1 * 4))) + " " + Math.min(31, Math.max(0, 31 * (deviceStep1 * 4))) + " " + Math.min(35, Math.max(0, 35 * (deviceStep1 * 4))) + ")", }); $videoCallWrap.css({ opacity: 1, }); } if (deviceStep1 === 1) { $enterWrap.addClass("switch"); } else { $enterWrap.removeClass("switch"); } } else { $videoDevice.removeAttr("style"); $deviceBg.removeAttr("style"); $videoCallWrap.removeAttr("style"); $enterWrap.removeClass("switch"); } step2DeviceWidth = GALAXY.sizeMode > 2 ? step1DeviceWidth - 600 * deviceStep2 : step1DeviceWidth - 554 * deviceStep2; step2headerTop = GALAXY.sizeMode > 2 ? 574 : 433; if (GALAXY.sizeMode > 1) { if (deviceStep2 > 0) { $videoDevice.css({ width: step2DeviceWidth + "px", }); $videoCallWrap.css({ "padding-top": winH / 2 - step2headerTop / 2, }); } else { $videoDevice.css({ width: step1DeviceWidth + "px", }); } var posXval = GALAXY.sizeMode > 2 ? 44 : 47; Step3devicePosX = 50 + posXval * deviceStep3; if (deviceStep3 > 0) { var _videoImgHeight = Math.round( step2DeviceWidth * (1791 / 1647) ); var _videoWrapHeight = Math.max( $(".videocall-wrap").height(), _videoImgHeight ); mb = Math.abs( GALAXY.areaHeight - (_videoWrapHeight + (winH / 2 - step2headerTop / 2)) ); $etSec.css({ "margin-bottom": -mb + "px", }); $videoDevice.css({ transform: "translate(-" + Step3devicePosX + "%, -50%)", }); $videoCallHeader.__css({ opacity: deviceStep3, x: -50 + posXval * deviceStep3 + "%", }); } else { $videoDevice.css({ transform: "translate(-50%, -50%)", }); $videoCallHeader.removeAttr("style"); } } if (GALAXY.sizeMode == 1) { step2DeviceWidth = step1DeviceWidth - 345 * deviceStep2; Step2DevicePosY = 50 - 50 * deviceStep2; if (deviceStep2 > 0) { $enterWrap.addClass("switch"); $videoDevice.css({ width: step2DeviceWidth + "px", }); } else { $etStickyWrap.removeAttr("style"); $enterWrap.removeClass("switch"); $videoDevice.css({ width: step1DeviceWidth + "px", }); } } }, resize: function resize() { navH = $("#subnav, .floating-navigation__wrap").height() || 0; winH = GALAXY.areaHeight; _destroy(); }, }; new scrollSticky(".m_feature-entertainment .sticky-wrap", _option); } }; GALAXY.load(function () { enterSticky(); }); // plugin var setVar = function setVar(target, prop, value) { target.style.setProperty("--".concat(prop), value); }; var calcValue = function calcValue(step, value, scrollTop, moveArea) { var partStart; var partEnd; var partArea; var partSpot; var rv; if (typeof step === "number") { partSpot = moveArea * step; rv = scrollTop < partSpot ? value[0] : value[1]; } else { partStart = moveArea * step[0]; partEnd = moveArea * step[1]; partArea = partEnd - partStart; if (scrollTop < partStart) { rv = value[0]; } else if (scrollTop > partEnd) { rv = value[1]; } else { rv = ((scrollTop - partStart) / partArea) * (value[1] - value[0]) + value[0]; } } return rv; }; // colors var colors = (function () { var $colorContent = $(".m_feature-colors"); var $colorChipArea = $colorContent.find(".colorchip-area"); var $colorChipCurrent = $colorContent.find(".current-colorchip"); var $colorImages = $colorContent.find(".images-item"); var $colorColors = $colorContent.find(".color-item"); var currentColorText = ""; var currentColor = ""; var onInit = function onInit() { currentColorText = $colorChipArea .find("input[type=radio]:checked") .siblings("label") .find(".colorchip") .text(); $colorChipCurrent.text(currentColorText); }; var onChange = function onChange() { currentColorText = $(this) .siblings("label") .find(".colorchip") .text(); $colorChipCurrent.text(currentColorText); }; new faveColorChip($colorColors, $colorImages, onChange, onInit); })(); // bespoke var bespoke = function bespoke() { if (document.querySelector(".bespoke-list") === null) return; var bespokeSlide = document.querySelector(".bespoke-list"); var bespokeSlideArea = document.querySelector( ".bespoke-list .scroll-slide_area" ); var bespokeSlideList = document.querySelector( ".bespoke-list .slide-list" ); var chkRtl = document.querySelector("html").classList.contains("rtl"); var chkAction = false; var chkLoad = false; new scrollSlide(bespokeSlide); var _init = function _init() { if (GALAXY.sizeMode === 1) { if (chkAction) return; _action(); } }; var _action = function _action() { if (chkAction) return; if (GALAXY.sizeMode === 1) { var chkDesignTop = GALAXY.scrollTop > $(".m_content-design").offset().top - GALAXY.areaHeight; var chkDesignBtt = GALAXY.scrollTop < $(".m_content-design").offset().top + $(".m_content-design").height(); if (chkDesignTop && chkDesignBtt && !chkLoad) { chkLoad = true; if (!chkRtl) { bespokeSlideArea.scrollLeft = bespokeSlideList.offsetWidth; } else { bespokeSlideArea.scrollLeft = -bespokeSlideList.offsetWidth; } } var chkTop = GALAXY.scrollTop > $(bespokeSlide).offset().top - GALAXY.areaHeight; var chkBtt = GALAXY.scrollTop < $(bespokeSlide).offset().top + $(bespokeSlide).height(); if (chkTop && chkBtt) { chkAction = true; bespokeSlideArea.scrollLeft = 0; } } }; _init(); GALAXY.resize(_init); GALAXY.scroll(_action); }; // camera var camera = function camera() { var $cameraContent = $(".m_feature-camera"); var $cameraSkill = $cameraContent.find(".content-skill"); var $cameraDark = $cameraContent.find(".content-dark"); var $cameraSkillImage01 = $cameraContent.find(".o_figure-01"); var cameraContent = $cameraContent[0]; var scrollTop = 0; var moveArea = 0; var ww = 0; var wh = 0; var scale = 0; var cameraSlide = document.querySelector(".camera-list"); var cameraSlideArea = cameraSlide.querySelector(".scroll-slide_area"); var cameraSlideList = cameraSlide.querySelector(".slide-list"); var chkRtl = document.querySelector("html").classList.contains("rtl"); var chkAction = false; var chkLoad = false; new scrollSlide(cameraSlide); var _init = function _init() { ww = Math.min(GALAXY.areaWidth, 1920); wh = GALAXY.areaHeight; scale = GALAXY.sizeMode > 1 ? ww - $cameraSkillImage01.width() > wh - $cameraSkillImage01.height() ? ww / $cameraSkillImage01.width() : wh / $cameraSkillImage01.height() : 2.4; setVar($cameraContent[0], "camera-image01_scale", scale); _scroll(); if (GALAXY.sizeMode === 1) { if (chkAction) return; _action(); } }; var _scroll = function _scroll() { if ( GALAXY.scrollTop > $cameraSkill.offset().top - 100 && GALAXY.scrollTop < $cameraDark.offset().top + 100 ) { scrollTop = GALAXY.scrollTop - $cameraSkill.offset().top; moveArea = $cameraSkill.height(); setVar( cameraContent, "camera-scroll-bg-y", "".concat( calcValue([0.7, 1], [0, wh * -0.7], scrollTop, moveArea), "px" ) ); } }; var _action = function _action() { if (chkAction) return; if (GALAXY.sizeMode === 1) { var chkCameraTop = GALAXY.scrollTop > $(".m_content-camera").offset().top - GALAXY.areaHeight; var chkCameraBtt = GALAXY.scrollTop < $(".m_content-camera").offset().top + $(".m_content-camera").height(); if (chkCameraTop && chkCameraBtt && !chkLoad) { chkLoad = true; if (!chkRtl) { cameraSlideArea.scrollLeft = cameraSlideList.offsetWidth; } else { cameraSlideArea.scrollLeft = -cameraSlideList.offsetWidth; } } var chkTop = GALAXY.scrollTop > $(cameraSlide).offset().top - GALAXY.areaHeight; var chkBtt = GALAXY.scrollTop < $(cameraSlide).offset().top + $(cameraSlide).height(); if (chkTop && chkBtt) { chkAction = true; cameraSlideArea.scrollLeft = 0; } } }; _init(); GALAXY.resize(_init); GALAXY.scroll(_scroll); GALAXY.scroll(_action); }; // multiCamera var multiCamera = (function () { new scrollActive( ".m_feature-multiCamera .spec-item.front .spec-texts", 0.7 ); new scrollActive( ".m_feature-multiCamera .spec-item.back .spec-texts", 0.7 ); var $multiCamera = $(".m_feature-multiCamera"); var $spec1 = $(".m_feature-multiCamera .spec-text-01"); var multiCameraPaddingTop = 0; var spec1Top = 0; var _init = function _init() { if (GALAXY.sizeMode === 1) { spec1Top = +$spec1.css("top").replace("px", ""); if ($spec1.height() > spec1Top) { multiCameraPaddingTop = $spec1.height() - spec1Top; $multiCamera.css({ "padding-top": multiCameraPaddingTop, }); } } }; GALAXY.load(_init); })(); // flexCam var flexCam = function flexCam() { var $flexCam = $(".m_feature-flexCam"); var $flexCamInteraction = $(".m_feature-flexCam .interaction-wrap"); var $flexCamHeader = $(".m_feature-flexCam .f_header-type1"); var flexCamSlide = document.querySelector(".flexcam-list"); var flexCamSlideArea = flexCamSlide.querySelector(".scroll-slide_area"); var flexCamSlideList = flexCamSlide.querySelector(".slide-list"); var chkRtl = document.querySelector("html").classList.contains("rtl"); var chkAction = false; var chkLoad = false; new scrollSlide(flexCamSlide); var _init = function _init() { if ( GALAXY.scrollTop < $flexCamInteraction.offset().top + $flexCamInteraction.height() * 0.4 - GALAXY.areaHeight ) { $flexCamInteraction.removeClass("active off"); } _scroll(); if (GALAXY.sizeMode === 1) { if (chkAction) return; _action(); } }; var _scroll = function _scroll() { var chkTop = GALAXY.scrollTop < $flexCam.offset().top - GALAXY.areaHeight - 200; var chkBottom = GALAXY.scrollTop > $flexCam.offset().top + $flexCam.height(); if (chkTop || chkBottom) return; if ( GALAXY.scrollTop < $flexCamInteraction.offset().top - GALAXY.areaHeight ) { $flexCamInteraction.removeClass("active off"); } else if (GALAXY.scrollTop > $flexCamHeader.offset().top) { $flexCamInteraction.addClass("active off"); } else if ( GALAXY.scrollTop > $flexCamInteraction.offset().top + $flexCamInteraction.height() * 0.4 - GALAXY.areaHeight ) { $flexCamInteraction.removeClass("off"); setTimeout(function () { $flexCamInteraction.addClass("active"); }, 100); } }; var _action = function _action() { if (chkAction) return; if (GALAXY.sizeMode === 1) { var chkCameraTop = GALAXY.scrollTop > $(".m_content-camera").offset().top - GALAXY.areaHeight; var chkCameraBtt = GALAXY.scrollTop < $(".m_content-camera").offset().top + $(".m_content-camera").height(); if (chkCameraTop && chkCameraBtt && !chkLoad) { chkLoad = true; if (!chkRtl) { flexCamSlideArea.scrollLeft = flexCamSlideList.offsetWidth; } else { flexCamSlideArea.scrollLeft = -flexCamSlideList.offsetWidth; } } var chkTop = GALAXY.scrollTop > $(flexCamSlide).offset().top - GALAXY.areaHeight; var chkBtt = GALAXY.scrollTop < $(flexCamSlide).offset().top + $(flexCamSlide).height(); if (chkTop && chkBtt) { chkAction = true; flexCamSlideArea.scrollLeft = 0; } } }; _init(); GALAXY.resize(_init); GALAXY.scroll(_scroll); GALAXY.scroll(_action); }; // quickShot var quickShot = (function () { GALAXY.hello($(".m_feature-quickShot .hello-box"), { baseLine: 5, on: function on() { $(".m_feature-quickShot .visual-wrap").addClass("active"); }, off: function off() { $(".m_feature-quickShot .visual-wrap").removeClass("active"); }, }); })(); // coverScreen var coverScreen = function coverScreen() { var $coverScreen = $(".m_feature-coverScreen"); var $screenWrap = $(".m_feature-coverScreen .screen-wrap"); var screenWrapTop = 0; var screenWrapHeight = 0; var _init = function _init() { _scroll(); }; var _scroll = function _scroll() { var chkTop = GALAXY.scrollTop < $coverScreen.offset().top - GALAXY.areaHeight - 200; var chkBottom = GALAXY.scrollTop > $coverScreen.offset().top + $coverScreen.height(); if (chkTop || chkBottom) return; screenWrapTop = $screenWrap.offset().top; screenWrapHeight = $screenWrap.height(); var scrollTop = window.pageYOffset; var scrollBottom = scrollTop + GALAXY.areaHeight; if (scrollBottom > screenWrapTop + screenWrapHeight * 0.5) { $screenWrap.addClass("active"); } else if (scrollTop > screenWrapTop + screenWrapHeight) { $screenWrap.removeClass("active"); } else if (scrollBottom < screenWrapTop) { $screenWrap.removeClass("active"); } }; _init(); GALAXY.resize(_init); GALAXY.scroll(_scroll); }; GALAXY.load(function () { bespoke(); flexCam(); camera(); coverScreen(); }); //

    }) .then(function () { GALAXY.initialize(); }); });

    Samsung Galaxy Z Flip4 | Samsung South Africa (2024)

    References

    Top Articles
    Latest Posts
    Article information

    Author: Merrill Bechtelar CPA

    Last Updated:

    Views: 5624

    Rating: 5 / 5 (70 voted)

    Reviews: 93% of readers found this page helpful

    Author information

    Name: Merrill Bechtelar CPA

    Birthday: 1996-05-19

    Address: Apt. 114 873 White Lodge, Libbyfurt, CA 93006

    Phone: +5983010455207

    Job: Legacy Representative

    Hobby: Blacksmithing, Urban exploration, Sudoku, Slacklining, Creative writing, Community, Letterboxing

    Introduction: My name is Merrill Bechtelar CPA, I am a clean, agreeable, glorious, magnificent, witty, enchanting, comfortable person who loves writing and wants to share my knowledge and understanding with you.