"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[438],{18409:function(e,t){t.Z={src:"/_next/static/media/elipse.4247566d.svg",height:236,width:237}},23523:function(e,t,a){var s=a(85893);t.Z=function(e){var t=e.className;return(0,s.jsx)("svg",{width:"6",height:"10",viewBox:"0 0 12 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M5.12 28C4.16 26.0533 2.69333 24.24 0.72 22.56V19.48C1.41333 19.7467 2.05333 20.0533 2.64 20.4C3.25333 20.72 3.82667 21.0667 4.36 21.44V0.0399976H7.64V21.48C8.17333 21.1067 8.73333 20.76 9.32 20.44C9.93333 20.0933 10.5867 19.7867 11.28 19.52V22.56C9.30667 24.24 7.82667 26.0533 6.84 28H5.12Z",className:t})})}},72478:function(e,t,a){var s=a(85893);t.Z=function(e){var t=e.className;return(0,s.jsx)("svg",{width:"6",height:"10",viewBox:"0 0 12 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M4.36 28V6.56C3.34667 7.28 2.13333 7.93333 0.72 8.52V5.44C1.70667 4.61333 2.57333 3.74667 3.32 2.84C4.06667 1.93333 4.68 0.999998 5.16 0.0399976H6.88C7.36 0.999998 7.96 1.93333 8.68 2.84C9.42667 3.74667 10.2933 4.61333 11.28 5.44V8.52C10.5867 8.25333 9.93333 7.96 9.32 7.64C8.73333 7.32 8.18667 6.97333 7.68 6.6V28H4.36Z",className:t})})}},58438:function(e,t,a){a.d(t,{Z:function(){return NS}});var s=a(85893),i=a(67294),n=a(7151),r=[{title:"@PARADIGM_GALAXY-THEMES_PA_H2",id:"default",price:"GALAXY-THEMES_GALAXY-THEMES_FREE_TEXT",rating:"@PARADIGM_GALAXY-THEMES-4.5-RATING",bySamsung:"GALAXY-THEMES_DEFAULT_BY-SAMSUNG_TEXT",multipack:"GALAXY-THEMES_DEFAULT_MULTI-PACK_TEXT",beforeYouBuy:"GALAXY-THEMES_DEFAULT_BEFORE-YOU-BUY_H2",upgradeText:"GALAXY-THEMES_DEFAULT_UPGRADE-OS_TEXT",description:"GALAXY-THEMES_DEFAULT_DESCRIPTION_H2",descriptionText:"GALAXY-THEMES_DEFAULT_GALAXY-USERS-UNIQUE_TEXT",buttonText:"GALAXY-THEMES_DEFAULT_APPLY_CTA",group:"recommended"},{title:"@PARADIGM_GALAXY-THEMES_Z-FLIP_6_h2",id:"flip-z-6",price:"GALAXY-THEMES_GALAXY-THEMES_FREE_TEXT",rating:"GALAXY-THEMES-5-RATING",bySamsung:"GALAXY-THEMES_DEFAULT_BY-SAMSUNG_TEXT",multipack:"GALAXY-THEMES_DEFAULT_MULTI-PACK_TEXT",beforeYouBuy:"GALAXY-THEMES_DEFAULT_BEFORE-YOU-BUY_H2",upgradeText:"GALAXY-THEMES_DEFAULT_UPGRADE-OS_TEXT",description:"GALAXY-THEMES_DEFAULT_DESCRIPTION_H2",descriptionText:"GALAXY-THEMES_DEFAULT_GALAXY-USERS-UNIQUE_TEXT",buttonText:"GALAXY-THEMES_DEFAULT_APPLY_CTA",group:"recommended"},{title:"GALAXY-THEMES_CLOUD_H2",id:"cloud",price:"GALAXY-THEMES_GALAXY-THEMES_FREE_TEXT",rating:"GALAXY-THEMES-5-RATING",bySamsung:"GALAXY-THEMES_DEFAULT_BY-SAMSUNG_TEXT",multipack:"GALAXY-THEMES_DEFAULT_MULTI-PACK_TEXT",beforeYouBuy:"GALAXY-THEMES_DEFAULT_BEFORE-YOU-BUY_H2",upgradeText:"GALAXY-THEMES_DEFAULT_UPGRADE-OS_TEXT",description:"GALAXY-THEMES_DEFAULT_DESCRIPTION_H2",descriptionText:"GALAXY-THEMES_DEFAULT_GALAXY-USERS-UNIQUE_TEXT",buttonText:"GALAXY-THEMES_DEFAULT_APPLY_CTA",group:"recommended"},{title:"@UNPACKED_GALAXY-THEMES_GEN_Z_H2",id:"gen-z",price:"GALAXY-THEMES_GALAXY-THEMES_FREE_TEXT",rating:"GALAXY-THEMES-5-RATING",bySamsung:"@UNPACKED_GALAXY-THEMES_GEN_Z_BY-SAMSUNG_TEXT",multipack:"@UNPACKED_GALAXY-THEMES_GEN_Z_MULTI-PACK_TEXT",beforeYouBuy:"@UNPACKED_GALAXY-THEMES_GEN_Z_BEFORE-YOU-GO_H2",upgradeText:"@UNPACKED_GALAXY-THEMES_GEN_Z_UPGRADE-OS_TEXT",description:"@UNPACKED_GALAXY-THEMES_GEN_Z_DESCRIPTION_H2",descriptionText:"@UNPACKED_GALAXY-THEMES_GEN_Z_THEME-TO-MATCH_TEXT",buttonText:"@UNPACKED_GALAXY-THEMES_GEN_Z_APPLY_CTA",group:"recommended"},{title:"GALAXY-THEMES_CUTE_H2",id:"cute",price:"GALAXY-THEMES_GALAXY-THEMES_FREE_TEXT",rating:"GALAXY-THEMES-5-RATING",bySamsung:"GALAXY-THEMES_CUTE_BY-SAMSUNG_H2",multipack:"GALAXY-THEMES_CUTE_MULTI-PACK_TEXT",beforeYouBuy:"GALAXY-THEMES_CUTE_BEFORE-YOU-BUY_H2",upgradeText:"GALAXY-THEMES_CUTE_WHEN-YOU-UPGRADE-OS_TEXT",description:"GALAXY-THEMES_CUTE_DESCRIPTION_H2",descriptionText:"GALAXY-THEMES_CUTE_CHANGE-THEME_TEXT",buttonText:"GALAXY-THEMES_CUTE_APPLY_CTA",group:"recommended"},{title:"@UNPACKED_GALAXY-THEMES_ART_H2",id:"art",price:"GALAXY-THEMES_GALAXY-THEMES_FREE_TEXT",rating:"GALAXY-THEMES-5-RATING",bySamsung:"@UNPACKED_GALAXY-THEMES_ART_BY-SAMSUNG_TEXT",multipack:"@UNPACKED_GALAXY-THEMES_ART_MULTI-PACK_TEXT",beforeYouBuy:"@UNPACKED_GALAXY-THEMES_ART_BEFORE-YOU-GO_H2",upgradeText:"@UNPACKED_GALAXY-THEMES_ART_UPGRADE-OS_TEXT",description:"@UNPACKED_GALAXY-THEMES_ART_DESCRIPTION_H2",descriptionText:"@UNPACKED_GALAXY-THEMES_ART_THEME-TO-MATCH_TEXT",buttonText:"@UNPACKED_GALAXY-THEMES_ART_APPLY_CTA",group:"recommended"},{title:"GALAXY-THEMES_SIMPLE-WHITE_H2",id:"white-minimalist",price:"GALAXY-THEMES_GALAXY-THEMES_FREE_TEXT",rating:"GALAXY-THEMES-5-RATING",bySamsung:"GALAXY-THEMES_SIMPLE-WHITE_BY-SAMSUNG_TEXT",multipack:"GALAXY-THEMES_SIMPLE-WHITE_MULTI-PACK_TEXT",beforeYouBuy:"GALAXY-THEMES_SIMPLE-WHITE_BEFORE-YOU-BUY_H2",upgradeText:"GALAXY-THEMES_SIMPLE-WHITE_UPGRADE-OS_TEXT",description:"GALAXY-THEMES_SIMPLE-WHITE_DESCRIPTION_H2",descriptionText:"GALAXY-THEMES_SIMPLE-WHITE_MATCH-YOUR-KICKS_TEXT",buttonText:"GALAXY-THEMES_SIMPLE-WHITE_APPLY_CTA",group:"recommended"},{title:"GALAXY-THEMES_LEAF_H2",id:"leaf",price:"GALAXY-THEMES_GALAXY-THEMES_FREE_TEXT",rating:"GALAXY-THEMES-5-RATING",bySamsung:"@UNPACKED_GALAXY-THEMES_LEAF_BY-SAMSUNG_TEXT",multipack:"GALAXY-THEMES_LEAF_MULTI-PACK_TEXT",beforeYouBuy:"GALAXY-THEMES_LEAF_BEFORE-YOU-BUY_H2",upgradeText:"GALAXY-THEMES_LEAF_UPGRADE-OS_TEXT",description:"GALAXY-THEMES_LEAF_DESCRIPTION_H2",descriptionText:"GALAXY-THEMES_LEAF_UNLOCK-THEIR-PHONES_TEXT",buttonText:"GALAXY-THEMES_LEAF_APPLY_CTA",group:"recommended"},{title:"GALAXY-THEMES_TIE-DYE_CTA",id:"tie-dye",price:"GALAXY-THEMES_GALAXY-THEMES_FREE_TEXT",rating:"GALAXY-THEMES-5-RATING",bySamsung:"GALAXY-THEMES_TIE-DYE_BY-SAMSUNG_TEXT",multipack:"GALAXY-THEMES_TIE-DYE_MULTI-PACK_TEXT",beforeYouBuy:"GALAXY-THEMES_TIE-DYE_BEFORE-YOU-BUY_H2",upgradeText:"GALAXY-THEMES_TIE-DYE_UPGRADE-OS_TEXT",description:"GALAXY-THEMES_TIE-DYE_DESCRIPTION_H2",descriptionText:"GALAXY-THEMES_TIE-DYE_PSYCHEDELIC-SHADES_TEXT",buttonText:"GALAXY-THEMES_TIE-DYE_APPLY_CTA",group:"recommended"},{title:"GALAXY-THEMES_RETRO_H2",id:"retro",price:"GALAXY-THEMES_GALAXY-THEMES_FREE_TEXT",rating:"GALAXY-THEMES-5-RATING",bySamsung:"GALAXY-THEMES_RETRO_BY-SAMSUNG_TEXT",multipack:"GALAXY-THEMES_RETRO_MULTI-PACK_TEXT",beforeYouBuy:"GALAXY-THEMES_RETRO_BEFORE-YOU-BUY_H2",upgradeText:"GALAXY-THEMES_RETRO_UPGRADE-OS_TEXT",description:"GALAXY-THEMES_RETRO_DESCRIPTION_H2",descriptionText:"GALAXY-THEMES_RETRO_80S-HAIRSTYLE_TEXT",buttonText:"GALAXY-THEMES_RETRO_APPLY_CTA",group:"recommended"},{title:"GALAXY-THEMES_GALAXY-THEMES_BLACK-ONYX_TEXT",id:"black-onix",price:"GALAXY-THEMES_GALAXY-THEMES_FREE_TEXT",rating:"GALAXY-THEMES-5-RATING",bySamsung:"GALAXY-THEMES_BLACK-ONYX_BY-SAMSUNG_TEXT",multipack:"GALAXY-THEMES_BLACK-ONYX_MULTI-PACK_TEXT",beforeYouBuy:"GALAXY-THEMES_BLACK-ONYX_BEFORE_YOU_BUY_H2",upgradeText:"GALAXY-THEMES_BLACK-ONYX_WHEN-YOU-UPGRADE_TEXT",description:"GALAXY-THEMES_BLACK-ONYX_DESCRIPTION_H2",descriptionText:"GALAXY-THEMES_BLACK-ONYX_1000S-OF-ART_TEXT",buttonText:"GALAXY-THEMES_BLACK-ONYX_APPLY_CTA",group:"recommended"},{title:"GALAXY-THEMES_DARTH_H2",id:"black-minimalist",price:"GALAXY-THEMES_GALAXY-THEMES_FREE_TEXT",rating:"GALAXY-THEMES-5-RATING",bySamsung:"GALAXY-THEMES_DARTH_BY-SAMSUNG_TEXT",multipack:"GALAXY-THEMES_DARTH_MULTI-PACK_TEXT",beforeYouBuy:"GALAXY-THEMES_DARTH_BEFORE-YOU-GO_H2",upgradeText:"GALAXY-THEMES_DARTH_UPGRADE-OS_TEXT",description:"GALAXY-THEMES_DARTH_DESCRIPTION_H2",descriptionText:"GALAXY-THEMES_DARTH_THEME-TO-MATCH_TEXT",buttonText:"GALAXY-THEMES_DARTH_APPLY_CTA",group:"recommended"}],l="/_next/static/media/photo-4.e8573549.jpg",c="/_next/static/media/photo-10.9cf7a3af.jpg",o="/_next/static/media/photo-10-ai.0ed9f0c6.jpg",d="/_next/static/media/photo-20.1c7acb8a.jpg",u="/_next/static/media/photo-23.a03b8a9c.jpg",p="/_next/static/media/photo-4-thumb.4b42af78.jpg",x="/_next/static/media/photo-20-thumb.2c3afd26.jpg",f="/_next/static/media/photo-23-edited.87b66aff.jpg",m="/_next/static/media/photo-4-cropped.cf55faa8.jpg",h="/_next/static/media/photo-20-cropped.2b98a280.jpg",A="/_next/static/media/photo-23-cropped.b4814bbb.jpg",E="/_next/static/media/photo-23-edited-cropped.cec50b2a.jpg",g=a(77351),v=[{photo:"/_next/static/media/photo-5.f9c35b7c.jpg",thumb:"/_next/static/media/photo-5-thumb.427ac5f0.jpg",date:"GALLERY_PICTURES_TODAY_TEXT",cropped:"/_next/static/media/photo-5-cropped.907921b7.jpg"},{photo:u,thumb:"/_next/static/media/photo-23-thumb.b3b6f67f.jpg",edited:f,editedThumb:"/assets/images/photo-23-thumb-edited.jpg",date:"GALLERY_PICTURES_TODAY_TEXT",cropped:A,editedCropped:E},{photo:"/_next/static/media/photo-9.4ae71baf.jpg",thumb:"/_next/static/media/photo-9-thumb.a6e20cff.jpg",date:"GALLERY_PICTURES_TODAY_TEXT",cropped:"/_next/static/media/photo-9-cropped.3c77f012.jpg"},{photo:"/_next/static/media/photo-8.3940c37e.jpg",thumb:"/_next/static/media/photo-8-thumb.f55db0ba.jpg",date:"GALLERY_PICTURES_TODAY_TEXT",cropped:"/_next/static/media/photo-8-cropped.804449f6.jpg"},{photo:c,thumb:"/_next/static/media/photo-10-thumb.1d58b44b.jpg",date:"GALLERY_PICTURES_TODAY_TEXT",cropped:"/_next/static/media/photo-10-cropped.41ba26bb.jpg",sketched:"cn"===g.t.getLanguage()?"":o,sketchedThumb:"cn"===g.t.getLanguage()?"":"/_next/static/media/photo-10-thumb-ai.4727219d.jpg",sketchedCropped:"cn"===g.t.getLanguage()?"":o},{photo:"/_next/static/media/photo-18.67d978ce.jpg",thumb:"/_next/static/media/photo-18-thumb.9c8610f3.jpg",date:"GALLERY_PICTURES_TODAY_TEXT",cropped:"/_next/static/media/photo-18-cropped.67d978ce.jpg"},{photo:"/_next/static/media/photo-2.dedaecae.jpg",thumb:"/_next/static/media/photo-2-thumb.9d94af39.jpg",remastered:"/_next/static/media/photo-2-remaster.8c675a9e.jpg",remasteredThumb:"/_next/static/media/photo-2-thumb-remaster.1b92e777.jpg",date:"GALLERY_PICTURES_TODAY_TEXT",cropped:"/_next/static/media/photo-2-cropped.6f1a7760.jpg",remasteredCropped:"/_next/static/media/photo-2-remaster-cropped.f5734bd7.jpg"},{photo:"/_next/static/media/photo-1.550f4481.jpg",thumb:"/_next/static/media/photo-1-thumb.c8b2fc1d.jpg",date:"GALLERY_PICTURES_TODAY_TEXT",cropped:"/_next/static/media/photo-1-cropped.eb78ef6a.jpg"},{photo:l,thumb:p,date:"GALLERY_PICTURES_TODAY_TEXT",cropped:m},{photo:d,thumb:x,date:"GALLERY_PICTURES_TODAY_TEXT",cropped:h},{photo:"/_next/static/media/photo-25.d4ea23f7.jpg",thumb:"/_next/static/media/photo-25-thumb.50793d13.jpg",date:"GALLERY_PICTURES_YESTERDAY_TEXT",cropped:"/_next/static/media/photo-25-cropped.df7276c8.jpg"},{photo:"/_next/static/media/photo-39.537b859f.jpg",thumb:"/_next/static/media/photo-39-thumb.43391d17.jpg",date:"GALLERY_PICTURES_YESTERDAY_TEXT",cropped:"/_next/static/media/photo-39-cropped.74483873.jpg"},{photo:"/_next/static/media/photo-40.d083cdc2.jpg",thumb:"/_next/static/media/photo-40-thumb.391b8899.jpg",date:"GALLERY_PICTURES_YESTERDAY_TEXT",cropped:"/_next/static/media/photo-40-cropped.a1936612.jpg"},{photo:"/_next/static/media/photo-41.2d5ec962.jpg",thumb:"/_next/static/media/photo-41-thumb.43922be5.jpg",date:"GALLERY_PICTURES_YESTERDAY_TEXT",cropped:"/_next/static/media/photo-41-cropped.2d9b8e4f.jpg"},{photo:"/_next/static/media/photo-42.8a6772c7.jpg",thumb:"/_next/static/media/photo-42-thumb.8d8c20be.jpg",date:"GALLERY_PICTURES_YESTERDAY_TEXT",cropped:"/_next/static/media/photo-42-cropped.eca081cd.jpg"},{photo:"/_next/static/media/photo-43.d754dbb1.jpg",thumb:"/_next/static/media/photo-43-thumb.91b22215.jpg",date:"GALLERY_PICTURES_YESTERDAY_TEXT",cropped:"/_next/static/media/photo-43-cropped.717db6bb.jpg"},{photo:"/_next/static/media/photo-44.ea49721b.jpg",thumb:"/_next/static/media/photo-44-thumb.d8e5aa46.jpg",date:"GALLERY_PICTURES_YESTERDAY_TEXT",cropped:"/_next/static/media/photo-44-cropped.f3e5ce5c.jpg"},{photo:"/_next/static/media/photo-45.9fd1e54a.jpg",thumb:"/_next/static/media/photo-45-thumb.2788a7cf.jpg",date:"GALLERY_PICTURES_YESTERDAY_TEXT",cropped:"/_next/static/media/photo-45-cropped.1266bca6.jpg"},{photo:"/_next/static/media/photo-34.826c6630.jpg",thumb:"/_next/static/media/photo-34-thumb.f376041b.jpg",date:"@PARADIGM_GALLERY_PICTURES_JULY_TEN_TEXT",cropped:"/_next/static/media/photo-34-cropped.43cf1453.jpg"},{photo:"/_next/static/media/photo-33.bc9b0f3c.jpg",thumb:"/_next/static/media/photo-33-thumb.b29bde07.jpg",date:"@PARADIGM_GALLERY_PICTURES_JULY_TEN_TEXT",cropped:"/_next/static/media/photo-33-cropped.3b09cdbf.jpg"},{photo:"/_next/static/media/photo-7.8ec5809f.jpg",thumb:"/_next/static/media/photo-7-thumb.7b5723bb.jpg",date:"@PARADIGM_GALLERY_PICTURES_JULY_TEN_TEXT",cropped:"/_next/static/media/photo-7-cropped.cfa350c0.jpg"},{photo:"/_next/static/media/photo-35.51d0d1b7.jpg",thumb:"/_next/static/media/photo-35-thumb.8ee45abc.jpg",date:"@PARADIGM_GALLERY_PICTURES_JULY_TEN_TEXT",cropped:"/_next/static/media/photo-35-cropped.23464b0e.jpg"},{photo:"/_next/static/media/photo-36.06374ad9.jpg",thumb:"/_next/static/media/photo-36-thumb.1d0e7922.jpg",date:"@PARADIGM_GALLERY_PICTURES_JULY_TEN_TEXT",cropped:"/_next/static/media/photo-36-cropped.12a1e100.jpg"},{photo:"/_next/static/media/photo-37.076b9c07.jpg",thumb:"/_next/static/media/photo-37-thumb.eb1472af.jpg",date:"@PARADIGM_GALLERY_PICTURES_JULY_TEN_TEXT",cropped:"/_next/static/media/photo-37-cropped.60686590.jpg"},{photo:"/_next/static/media/photo-38.60564905.jpg",thumb:"/_next/static/media/photo-38-thumb.38f1a332.jpg",date:"@PARADIGM_GALLERY_PICTURES_JULY_TEN_TEXT",cropped:"/_next/static/media/photo-38-cropped.05472a40.jpg"}],C={edited:f,outline:"/_next/static/media/photo-23-outline.a03b8a9c.jpg",selected:"/_next/static/media/photo-23-selected.4d387eaf.jpg",photo:u,cropped:A,editedCropped:E},j=[{photo:l,thumb:p,date:"GALLERY_PICTURES_TODAY_TEXT",cropped:m},{photo:d,thumb:x,date:"GALLERY_PICTURES_TODAY_TEXT",cropped:h}],N=a(39317),T=a(58583),w=a(40671),_=a(26042),b={camera:null,cameraText:null,settings:null,settingsText:null,gallery:null,galleryText:null,ecosystem:null,ecosystemText:null,smartSwitch:null,smartSwitchText:null,galaxyAI:null,galaxyAIText:null,specialOffer:null,specialOfferText:null},S=(0,i.createContext)(void 0),y=function(e){var t=e.children,a=(0,i.useRef)((0,_.Z)({},b));return(0,s.jsx)(S.Provider,{value:{guideFlowRef:a,setRef:function(e,t){a.current[e]=t}},children:t})},R=function(){var e=(0,i.useContext)(S);if(!e)throw new Error("useGuideFlowRefs must be used within a AppGuideFlowProvider");return e},L=a(69396),I=a(10990),P=a(36585),O=a(99534),M=a(8002),D=function(e){var t=(0,P.q0)().theme,a=(0,P.qr)().colourPaletteIndex,s=g.t.getLanguage(),i=t;return e&&("default"===t&&a>0&&e.includes("icons")&&(i="palette-".concat(a)),"ae"===s&&"cute"===t&&e.includes("dashboard/background.jpg"))?(e="dashboard/ar-background.jpg","".concat("/assets/localisation/images/themes","/").concat(i,"/").concat(e,"?version=").concat(M.K0)):"".concat("/assets/images/themes","/").concat(i,"/").concat(e,"?version=").concat(M.K0)},G=a(29815),k=a(94184),H=a.n(k),B=a(98388);function U(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=11;return(null===e||void 0===e?void 0:e.length)>t?e.slice(0,t-2)+"...":e}var Z=function(){var e=document.createElement("div");e.style.cssText="position:absolute;top:0;visibility:hidden;pointer-events:none;--safe-area-inset-top:env(safe-area-inset-top);",document.body.appendChild(e);var t=parseInt(getComputedStyle(e).getPropertyValue("--safe-area-inset-top"))||0;return document.body.removeChild(e),t};function Y(e){e&&(e.style.display="none")}function F(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,B.m6)(H().apply(void 0,(0,G.Z)(t)))}var V=a(32316),W=H()(Object.values({br:"br:mobile-w-md:!text-[2.7vw] br:mobile-w-md:!leading-[3.5vw] br:sm:!text-[2.8vw]"})),X=function(e){var t=e.text,a=e.searchText,i=0,n=a.replace(/\s/g,"").split("").map((function(e){return" "===e?"\\s*":e})).join("");return(0,s.jsx)(s.Fragment,{children:t.split("").map((function(e,t){return"\n"===e?(0,s.jsx)("br",{},t):i<n.length&&e.toLowerCase()===n[i].toLowerCase()?(i++,(0,s.jsx)("span",{style:{color:"#0381FE"},children:e},t)):e}))})},K=Object.assign((function(e){var t=e.children,a=e.outboundLink,n=void 0!==a&&a,r=e.linkId,l=e.appButtonLocation,c=e.onClick,o=e.onClickCallback,d=e.tracking,u=e.disabledClick,p=void 0!==u&&u,x=(0,O.Z)(e,["children","outboundLink","linkId","appButtonLocation","onClick","onClickCallback","tracking","disabledClick"]),f=(0,P.qr)(),m=f.appName,h=f.setAppName,A=f.setIsAppOpen,E=f.setAppActiveButton,g=f.appActiveData,v=f.isAppOpen,C=f.resetBackButtonStack,j=f.appActiveButton,N=f.setIsAppOpenTransitioning,T=f.isOpenExternalRoute,w=f.setIsOpenExternalRoute,b=(0,P.q0)(),S=b.isDashboardSearchOpen,y=b.setNavAvailable,R=b.setHideNav,M=(0,i.useState)(null),D=M[0],G=M[1],k=(0,i.useState)(!0),H=k[0],B=k[1],U=(0,i.useRef)(null);(0,i.useLayoutEffect)((function(){if(j&&g){var e=U.current,t=e.dataset.appViewIsStatic,a=e.dataset.appLinkId,s=g.appContainer.dataset.appViewName;if(a===m&&s===m&&(T||e===j)){var i="0% 100%",n=D,r=H;I.ZP.set(g.appViewIcon,{opacity:0}),v?!t&&n?(N(!0),I.ZP.set(g.appContainer,{display:"block"}),I.ZP.fromTo(g.appViewContent,{opacity:0},{opacity:1,duration:.1+.2,delay:0,ease:"power3.out"}),I.ZP.fromTo(g.appViewIcon,{opacity:1},{opacity:0,duration:.2,delay:0,ease:"power3.out"}),I.ZP.fromTo(g.appViewIcon,{scale:1,transformOrigin:i,x:0,y:0},{scale:6.4,x:0,y:n.y,transformOrigin:i,duration:.5,ease:"power3.out",delay:0}),I.ZP.fromTo(g.appViewContainer,{x:n.x,y:n.y,transformOrigin:"0% 0%"},{x:0,y:0,duration:.5,ease:"power3.out",delay:0}),I.ZP.fromTo(g.appViewContent,{x:5,y:5,scaleX:.17,scaleY:.07,transformOrigin:"0px 0px"},{scaleX:1,scaleY:1,x:0,y:0,duration:.5,ease:"power3.out",delay:0,onComplete:function(){N(!1)}})):(N(!0),I.ZP.set(g.appContainer,{display:"block"}),I.ZP.fromTo(g.appViewContent,{opacity:0},{opacity:1,duration:.1+.2,delay:0,ease:"power3.out"}),I.ZP.fromTo(g.appViewContent,{scale:.8,transformOrigin:"center center"},{scale:1,x:0,y:0,duration:.5,ease:"power3.out",delay:0,onComplete:function(){N(!1)}})):(h(""),g&&(!t&&r&&n?(N(!0),I.ZP.to(g.appViewContainer,{x:n.x,y:n.y,transformOrigin:"0% 0%",duration:.4,ease:"power3.out",delay:0}),I.ZP.to(g.appViewContent,{scaleX:0,scaleY:0,x:35,y:35,transformOrigin:"0px 0px",duration:.4,ease:"power3.out",delay:0}),I.ZP.to(g.appViewIcon,{opacity:1,duration:.1,delay:.1,ease:"power3.out"}),I.ZP.to(g.appViewIcon,{scale:1,transformOrigin:i,x:0,y:0,duration:.4,ease:"power3.out",delay:0}),I.ZP.to(g.appViewContent,{opacity:0,duration:.175,delay:0,ease:"none"}),I.ZP.set(g.appContainer,{display:"none",delay:.45}),I.ZP.set(g.appViewIcon,{opacity:0,delay:.45,onComplete:function(){N(!1)}})):(N(!0),I.ZP.to(g.appViewContent,{scale:.8,transformOrigin:"center center",duration:.4,ease:"power3.out",delay:0,onComplete:function(){N(!1)}}),I.ZP.to(g.appViewContent,{opacity:0,duration:.15,delay:0,ease:"none"}),I.ZP.set(g.appContainer,{display:"none",delay:.15}),I.ZP.set(g.appViewIcon,{opacity:0,delay:.15}))))}}}),[j,g,v,H]),(0,i.useEffect)((function(){B(!(v&&S||"widget"==l))}),[v,S]),(0,i.useEffect)((function(){C()}),[m]);return(0,s.jsx)("button",(0,L.Z)((0,_.Z)({"data-component":"app-link","data-app-link-id":r||"none","data-app-link-location":l,className:"gpu w-full text-center",onClick:c||function(e){if(!p&&(d&&(0,V.Kq)(d.path,d.pageTitle,"pageview",""===m?l:void 0),!n)){var t=e.currentTarget,a=U.current.children[0];R(!1),G(a.getBoundingClientRect()),w(!1),A(!0),h(r),E(t),y(!0),null===o||void 0===o||o()}},ref:U},x),{children:t}))}),{Icon:function(e){var t=e.path,a=e.children,i=D(t);return(0,s.jsxs)("div",{className:"c-app-button__image relative inline-block max-w-icon rounded-3xl",children:[(0,s.jsx)("img",{src:i,"data-ref":"app-link-icon","data-component":"app-themes-changes",alt:""}),a]})},Name:function(e){var t=e.lineOne,a=e.lineTwo,n=e.searchValue,r=void 0===n?"":n,l=(0,i.useRef)(null),c=(0,i.useRef)(null),o=a?"".concat(t," ").concat(a):t;return(0,s.jsx)("div",{className:"relative mb-9","data-search-field":o,children:(0,s.jsx)("div",{className:"absolute flex w-full flex-col items-center",children:r?(0,s.jsx)("div",{className:H()("text-shadow-light c-app-button__text mt-0 whitespace-pre-line text-sm leading-tight",W),children:(0,s.jsx)(X,{text:a?"".concat(t,"\n").concat(a):U(t),searchText:r})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{ref:l,className:"text-shadow-light c-app-button__text mt-0 whitespace-nowrap text-sm leading-tight",children:a?t:U(t)}),(0,s.jsx)("div",{ref:c,className:"text-shadow-light c-app-button__text mt-0 whitespace-nowrap text-sm leading-tight",children:U(a)})]})})})}}),Q=function(e){var t=e.appButtonLocation,a=e.searchValue,i={path:"/app/galaxy-themes",pageTitle:M.dC.GalaxyThemes};return(0,s.jsxs)(K,{appButtonLocation:t,linkId:"galaxy-themes",tracking:i,children:[(0,s.jsx)(K.Icon,{path:"icons/app-galaxy-themes.png"}),(0,s.jsx)(K.Name,{lineOne:g.t["APPS-DRAWER_APP-TITLE_GALAXY-THEMES-1"],searchValue:a})]})},z=a(7728),q=z.e.settingsAppSearchKey,J=function(e){var t=e.hideLabel,a=e.appButtonLocation,i=e.searchValue,n=i?g.t[q]:g.t["APPS-DRAWER_APP-TITLE_SETTINGS"],r={path:"/app/settings",pageTitle:M.dC.Settings};return(0,s.jsxs)(K,{appButtonLocation:a,linkId:"settings",tracking:r,children:[(0,s.jsx)(K.Icon,{path:"icons/app-settings.png"}),t?null:(0,s.jsx)(K.Name,{lineOne:n,searchValue:i})]})},$=function(e){var t=e.appButtonLocation,a=e.searchValue,i={path:"/app/health",pageTitle:M.dC.Health};return(0,s.jsxs)(K,{appButtonLocation:t,linkId:"health",tracking:i,children:[(0,s.jsx)(K.Icon,{path:"icons/app-health.png"}),(0,s.jsx)(K.Name,{lineOne:g.t["APPS-DRAWER_APP-TITLE_SAMSUNG-HEALTH-1"],searchValue:a})]})},ee=function(e){var t=e.appButtonLocation,a=e.searchValue,i={path:"/app/smart-switch",pageTitle:M.dC.SmartSwitch};return(0,s.jsxs)(K,{appButtonLocation:t,linkId:"smart-switch",tracking:i,children:[(0,s.jsx)(K.Icon,{path:"icons/app-smart-switch.png"}),(0,s.jsx)(K.Name,{lineOne:g.t["APPS-DRAWER_APP-TITLE_SMART-SWITCH-1"],lineTwo:g.t["APPS-DRAWER_APP-TITLE_SMART-SWITCH-2"],searchValue:a})]})},te=a(20417),ae=function(){var e=(0,te.o$)().countryCode,t=z.e.learnMoreURL;return"PT"===e&&(t="https://samsung.com/mobile"),"KZ"===e&&(t="https://www.samsung.com/kz_kz/mobile"),t};function se(e){var t=e.count,a=e.isAppOpenTransitioning;return(0,s.jsx)("div",{className:"c-app-button__notification absolute right-[-5px] top-[-4.5px]","data-ref":"app-link-notification",children:(0,s.jsx)("div",{"data-component":"app-messages-notification-label",children:t>0&&!a&&(0,s.jsx)("div",{className:"flex items-center justify-center ".concat(t>9?"px-3 py-2":""," rounded-full bg-[#f54d13] text-[11px] font-semibold text-white"),style:{width:"18px",height:"18px"},"data-ref":"app-messages-list-item-label-number",children:t})})})}var ie=function(e){var t=e.path,a=e.children,i=e.className,n=e.page,r=e.appButtonLocation;return(0,s.jsx)("div",{className:i,onClick:function(){(0,V.Kq)(t,n,"pageview",r)},children:a})},ne=function(e){var t=e.appButtonLocation,a=e.hideLabel,i=e.searchValue,n=(0,P.vy)(),r=n.hasBeenClicked,l=n.setHasBeenClicked,c=ae(),o=z.e.learnMoreAppTitle,d=o.lineOneKey,u=o.lineTwoKey;return(0,s.jsx)(ie,{path:"/app/dashboard/samsung-website",page:M.dC.LearnMore,appButtonLocation:t,children:(0,s.jsx)("a",{href:c,target:"_blank",rel:"noreferrer",onClick:function(){"tutorial-overlay"!==t&&(r.learnMore||l((0,L.Z)((0,_.Z)({},r),{learnMore:!0})))},children:(0,s.jsxs)(K,{appButtonLocation:t,"data-app-link-id":"samsung","data-tracker":"c-tracker","data-track-title":"Dashboard","data-track-path":"/app/dashboard/samsung-website",linkId:"learn-more",outboundLink:!0,children:[(0,s.jsx)(K.Icon,{path:"icons/app-learn-more.png",children:(0,s.jsx)(se,{count:r.learnMore?0:1})}),!a&&(0,s.jsx)(K.Name,{lineOne:g.t[d],lineTwo:g.t[u],searchValue:i})]})})})},re=a(84238),le=function(e){var t=e.appButtonLocation,a=e.searchValue,i=(0,re.ON)().offerPair,n={path:"/app/special-offer",pageTitle:M.dC.SpecialOffer},r=(null===i||void 0===i?void 0:i.appTitle)?i.appTitle.lineOne:g.t["TRY-GALAXY_APP-TITLE_SPECIAL-OFFER-1"],l=(null===i||void 0===i?void 0:i.appTitle)?i.appTitle.lineTwo:g.t["TRY-GALAXY_APP-TITLE_SPECIAL-OFFER-2"];return(0,s.jsxs)(K,{appButtonLocation:t,linkId:"special-offer",tracking:n,children:[(0,s.jsx)(K.Icon,{path:"icons/app-special-offer.png"}),(0,s.jsx)(K.Name,{lineOne:r,lineTwo:l,searchValue:a})]})},ce=function(e){var t=e.hideLabel,a=e.appButtonLocation,i=e.searchValue,n={path:"/app/phone",pageTitle:M.dC.Phone};return(0,s.jsxs)(K,{appButtonLocation:a,linkId:"phone",tracking:n,children:[(0,s.jsx)(K.Icon,{path:"icons/app-call.png"}),t?null:(0,s.jsx)(K.Name,{lineOne:g.t["APPS-DRAWER_APP-TITLE_PHONE"],searchValue:i})]})},oe=function(e){var t=e.hideLabel,a=e.appButtonLocation,i=e.searchValue,n={path:"/app/camera",pageTitle:M.dC.Camera},r=(0,P.iH)().setIsFirstVisitCameraApp,l=(0,P.qr)().appName;return(0,s.jsxs)(K,{appButtonLocation:a,linkId:"camera",tracking:n,onClickCallback:function(){""===l&&r(!0)},children:[(0,s.jsx)(K.Icon,{path:"icons/app-camera.png"}),t?null:(0,s.jsx)(K.Name,{lineOne:g.t["APPS-DRAWER_APP-TITLE_CAMERA-1"],lineTwo:g.t["APPS-DRAWER_APP-TITLE_CAMERA-2"],searchValue:i})]})},de=function(e){var t=e.hideLabel,a=e.appButtonLocation,i=e.searchValue,n={path:"/app/gallery",pageTitle:M.dC.Gallery};return(0,s.jsxs)(K,{appButtonLocation:a,linkId:"gallery",tracking:n,children:[(0,s.jsx)(K.Icon,{path:"icons/app-gallery.png"}),t?null:(0,s.jsx)(K.Name,{lineOne:g.t["APPS-DRAWER_APP-TITLE_GALLERY"],searchValue:i})]})},ue=a(14924),pe=a(10253),xe=a(59637),fe=a(73445),me="/_next/static/media/emojipairs.e77bf595.gif",he=a(27010),Ae=a(18043),Ee=a(782),ge=(0,fe.ZP)()((0,Ee.tJ)((function(e,t){return{pushNotificationMessagesVersion:"0",shouldShowPushNotificationResponseMessages:function(){return parseInt(t().pushNotificationMessagesVersion,10)===parseInt("1",10)},updatePushNotificationMessagesVersionToLatest:function(){return e({pushNotificationMessagesVersion:"1"})},revertPushNotificationMessagesVersion:function(){return e({pushNotificationMessagesVersion:(parseInt("1",10)-1).toString()})}}}),{name:"try-galaxy/push-notification-store"})),ve=Date.now(),Ce=ve-288e4,je=ve-564e4,Ne={sam:{id:"sam",avatarColor:"#AF5CF7",name:"MESSAGES_SAM-MESSAGES_SAM_TITLE",messages:[],replies:[{type:"text",text:"MESSAGES_AUTORESPIONSE-1_THIS-IS-A-SLIMMED-DOWN-EXPERIENCE_TEXT"},{type:"text",text:"MESSAGES_AUTORESPONSE-2_KEEP-LOOKING-AROUND_TEXT"}]},shutterbug:{id:"shutterbug",avatarColor:"#AF5CF7",name:"MESSAGES_SHUTTERBUG-MESSAGES_SHUTTERBUG_TITLE",messages:[],replies:[{type:"link",text:"MESSAGES_AUTORESPONSE-1_YOU-SHOULD-ALSO-CHECK_TEXT",linkLabel:"MESSAGES_AUTORESPONSE-1_YOU-SHOULD-ALSO-CHECK-LINK-LABEL",link:"gallery"},{type:"text",text:"MESSAGES_AUTORESPINSE-2_UNBOXING-AWESOME-PRODUCT_TEXT"},{type:"text",text:"MESSAGES_AUTORESPONSE-3_BIG-COMMUNICATION_TEXT"}]},"penn-teller":{id:"penn-teller",avatarColor:"#EE675C",name:"MESSAGES_PENN-TELLER-MESSAGES_PENN-TELLER_TITLE",messages:[],replies:[{type:"text",text:"MESSAGES_PENN-TELLER-1_SORRY-I-DONT-DO_TEXT"},{type:"text",text:"MESSAGES_PENN-TELLER-2_SCRAMBLE_TEXT"},{type:"text",text:"MESSAGES_PENN-TELLER-3_OK-FINE-I-WAS-SAVING_TEXT"}]},cam:{id:"cam",avatarColor:"#EE675C",name:"MESSAGES_CAM-MESSAGES_CAM_TITLE",messages:[],replies:[{type:"text",text:"MESSAGES_CAM-1_ITS-REALLY-THAT-SIMPLE_TEXT"},{type:"text",text:"MESSAGES_CAM-2_SERIOUSLY-I-JUST-REMASTERED_TEXT"}]},violet:{id:"violet",avatarColor:"#78CDF4",name:"MESSAGES_VIOLET-MESSAGES_VIOLET_TITLE",messages:[],replies:[{type:"text",text:"MESSAGES_VIOLET-1_HAVE-YOU-CHANGED-THE-COLOUR_TEXT"},{type:"text",text:"MESSAGES_VIOLET-2_OH-RIGHT-WELL-MAKE-SURE_TEXT"}]},"emma-g":{id:"emma-g",avatarColor:"#78CDF4",name:"MESSAGES_EMMA-G-MESSAGES_EMMA_TITLE",messages:[],replies:[{type:"image",image:me},{type:"image",image:me}]},"friend-with-kids":{id:"friend-with-kids",avatarColor:"#FFAD55",name:"MESSAGES_FRIEND-WITH-KIDS-MESSAGES_TITLE",messages:[{text:"MESSAGES_FRIEND-WITH-KIDS-MESSAGES_HJDNKS_TEXT",direction:"from",type:"text",timestamp:je-12e5,readReceipt:!0,append:"top"},{text:"MESSAGES_FRIEND-WITH-KIDS-MESSAGES_LJDFB-SIEUFIENFOS_TEXT",direction:"from",type:"text",timestamp:je-114e4,readReceipt:!0,append:"middle"},{text:"MESSAGES_FRIENDS-WITH-KIDS-MESSAGES_SEODOIJSEF_TEXT",direction:"from",type:"text",timestamp:je-108e4,readReceipt:!0,append:"middle"},{direction:"from",type:"image",image:"/_next/static/media/message-1.4a80adeb.jpg",timestamp:je-102e4,readReceipt:!0,append:"middle"},{direction:"from",type:"image",image:"/_next/static/media/message-2.73d52bd1.jpg",timestamp:je-9e5,readReceipt:!0,append:"bottom"},{text:"MESSAGES_FRIEDNS-WITH-KIDS-MESSAGES_SORRY-SARAH_TEXT",direction:"from",type:"link",timestamp:je,readReceipt:!0,linkLabel:"MESSAGES_FRIEDNS-WITH-KIDS-MESSAGES_SORRY-SARAH_LINK-LABEL",link:"kids",append:"none"}],replies:[{type:"text",text:"MESSAGES_AUTORESPONSE-1_HNNDFK-DJFN_TEXT"},{type:"text",text:"MESSAGES_AUTORESPONSE-2_OD-EINDFIM_TEXT"},{type:"text",text:"MESSAGES_AUTORESPONSE-3_UNDISNDO_TEXT"}]},"unknown-number":{id:"unknown-number",avatarColor:"#FFAD55",name:"MESSAGES_UNKNOWN-NUMBER-MESSAGES_UNKOWN-NUMBER_TITLE",messages:[{text:"MESSAGES_UNKNOWN-NUMBER-MESSAGES_UNKOWN-NUMBER_TEXT",direction:"from",type:"link",timestamp:ve-132e4,readReceipt:!0,linkLabel:"MESSAGES_UNKNOWN-NUMBER-MESSAGES_UNKOWN-NUMBER_LINK-LABEL",link:"settings/security",append:"none"}],replies:[{type:"text",text:"MESSAGES_AUTORESPONSE-1_GET-TO-KNOW-ME_TEXT"},{type:"text",text:"MESSAGES_AUTORESPONSE-2_IM-NOT-GIVING-IN_TEXT"},{type:"text",text:"MESSAGES_AUTORESPONSE-3_OK-OK-IM-A-DOG-PERSON_TEXT"}]},"generic-friend-1":{id:"generic-friend-1",avatarColor:"#66D056",name:"MESSAGES_GENERIC-FRIEND-1-MESSAGES_GENERIC-FRIEND-1_TITLE",messages:[{text:"MESSAGES_GENERIC-FRIEND-1-MESSAGES_WHATS-UP_TEXT",direction:"from",type:"text",timestamp:Ce-18e5,readReceipt:!0,append:"none"},{text:"MESSAGES_GENERIC-FRIEND-1-MESSAGES_NOT-MUCH_TEXT",direction:"to",type:"text",timestamp:Ce-168e4,readReceipt:!0,append:"none"},{text:"MESSAGES_GENERIC-FRIEND-1-MESSAGES_WHAT_TEXT",direction:"from",type:"text",timestamp:Ce-156e4,readReceipt:!0,append:"none"},{text:"MESSAGES_GENERIC-FRIEND-1-MESSAGES_NEVER-MIND_TEXT",direction:"to",type:"text",timestamp:Ce-144e4,readReceipt:!0,append:"none"},{text:"MESSAGES_GENERIC-FRIEND-1-MESSAGES_HELEN-JUST-TOLD-ME_TEXT",direction:"from",type:"text",timestamp:Ce-132e5,readReceipt:!0,append:"top"},{direction:"from",type:"image",image:"/_next/static/media/source.8e3f8937.gif",timestamp:Ce-126e4,readReceipt:!0,append:"bottom"},{text:"MESSAGES_GENERIC-FRIEND-1-MESSAGES_YOU-SHOULD-BE-FLATTERED_TEXT",direction:"to",type:"text",timestamp:Ce-12e5,readReceipt:!0,append:"none"},{text:"MESSAGES_GENERIC-FRIEND-1-MESSAGES_GOOD-POINT_TEXT",direction:"from",type:"text",timestamp:Ce-108e4,readReceipt:!0,append:"top"},{text:"MESSAGES_GENERIC-FRIEND-1-MESSAGES_THAT-REMINDS-ME_TEXT",direction:"from",type:"link",timestamp:Ce,readReceipt:!0,append:"bottom",linkLabel:"MESSAGES_GENERIC-FRIEND-1-MESSAGES_THAT-REMINDS-ME_LINK-LABEL",link:"galaxy-themes"}],replies:[{type:"text",text:"MESSAGES_AUTORESPONSE-1_IM-IN-A-MEETING_TEXT"},{type:"text",text:"MESSAGES_AUTORESPONSE-2_WAS-THAT-TO-ME_TEXT"},{type:"text",text:"MESSAGES_AUTORESPONSE-3_YOU-STILL-ON-YOUR-PHONE_TEXT"}]}},Te=ge.getState().shouldShowPushNotificationResponseMessages(),we=[{contactId:"sam",type:"text",text:"MESSAGES_SAM-MESSAGES_WELCOME-TO-THE-OTHER-SIDE_TEXT",delay:8e3},{contactId:"shutterbug",type:"link",text:"MESSAGES_SHUTTERBUG-MESSAGES_CHECK-OUT-CAMERA-APP_TEXT",linkLabel:"MESSAGES_SHUTTERBUG-MESSAGES_CHECK-OUT-CAMERA-APP_LINK-LABEL",link:"camera",delay:3e4},{contactId:"sam",type:"link",delay:15e3,text:"MESSAGES_SAM-MESSAGES_PUSH-NOTIFICATIONS_TEXT",linkLabel:"MESSAGES_SAM-MESSAGES_PUSH-NOTIFICATIONS_LINK-LABEL",link:"push-notifications",flag:"pushNotifications",condition:function(){return(0,Ae.Ph)()},callback:function(){return ge.getState().updatePushNotificationMessagesVersionToLatest()},enableToast:!0},{contactId:"sam",type:"text",delay:15e3,flag:"pushNotifications",text:he.XP?"MESSAGES_SAM-MESSAGES_PUSH-NOTIFICATIONS_RESPONSE-DENIED_ANDROID":"MESSAGES_SAM-MESSAGES_PUSH-NOTIFICATIONS_RESPONSE-DENIED_IOS",condition:function(){return(0,Ae.j5)()&&Te}},{contactId:"penn-teller",type:"text",delay:3e4,text:"MESSAGES_PENN-TELLER-MESSAGES_WANNA-SEE-MAGIC-TRICK_TEXT"},{contactId:"penn-teller",type:"link",delay:1e4,text:"MESSAGES_PENN-TELLER-MESSAGES_CHECK-OUT-OBJECT-ERASER_TEXT",linkLabel:"MESSAGES_PENN-TELLER-MESSAGES_CHECK-OUT-OBJECT-ERASER_LINK-LABEL",link:"gallery/object-eraser"},{contactId:"sam",type:"text",delay:15e3,text:"MESSAGES_SAM-MESSAGES_PUSH-NOTIFICATIONS_RESPONSE-DEFAULT",flag:"pushNotifications",condition:function(){return(0,Ae.Ph)()&&he.vf&&Te}},{contactId:"cam",type:"text",delay:3e4,text:"MESSAGES_CAM-MESSAGES_SOME-OF-THOSE-SNAPS_TEXT"},{contactId:"cam",type:"link",delay:1e4,text:"MESSAGES_CAM-MESSAGES_CHECK-OUT-THE-IMAGE-REMASTER_TEXT",linkLabel:"MESSAGES_CAM-MESSAGES_CHECK-OUT-THE-IMAGE-REMASTER_LINK-LABEL",link:"gallery/photo-remaster"},{contactId:"violet",type:"text",delay:3e4,text:"MESSAGES_VIOLET-MESSAGES_ITS-TIME-TO_TEXT"},{contactId:"violet",type:"link",delay:12e3,text:"MESSAGES_VIOLET-MESSAGES_YOU-HAVE-PROBABLY-ALREADY-GOT_TEXT",linkLabel:"MESSAGES_VIOLET-MESSAGES_YOU-HAVE-PROBABLY-ALREADY-GOT_LINK-LABEL",link:"settings/colour-palette"},{contactId:"emma-g",delay:3e4,type:"link",text:"MESSAGES_EMMA-G-MESSAGES_EXPRESS-YOURSELF-BETTER_TEXT",linkLabel:"MESSAGES_EMMA-G-MESSAGES_EXPRESS-YOURSELF-BETTER_LINK-LABEL",link:"emoji-pairs"},{contactId:"sam",type:"link",text:z.e.learnMoreTextKey,linkLabel:z.e.learnMoreLinkLabel,link:"learn-more",delay:3e4,enableToast:!0},{contactId:"sam",type:"text",text:z.e.deetsAndSpecsTextKey,delay:8e3}];var _e=(0,fe.ZP)((function(e,t){return{contacts:Ne,activeContactId:null,queuedMessages:we,currentQueueTime:0,setActiveContactId:function(a){var s=t(),i=s.contacts[a],n=i.messages.map((function(e){return(0,L.Z)((0,_.Z)({},e),{readReceipt:!0})}));e({activeContactId:a,contacts:(0,L.Z)((0,_.Z)({},s.contacts),(0,ue.Z)({},a,(0,L.Z)((0,_.Z)({},i),{messages:n})))})},clearActiveContactId:function(){e({activeContactId:null})},getActiveContact:function(){var e=t();return e.activeContactId?e.contacts[e.activeContactId]:null},getActiveContacts:function(){var e=t();return Object.entries(e.contacts).filter((function(e){return(0,pe.Z)(e,2)[1].messages.length>0})).map((function(e){return(0,pe.Z)(e,2)[1]})).sort((function(e,t){var a=e.messages[e.messages.length-1],s=t.messages[t.messages.length-1];return a.timestamp>s.timestamp?-1:a.timestamp<s.timestamp?1:0}))},getTotalUnreadMessageCount:function(){var e=t();return Object.entries(e.contacts).reduce((function(e,t){return e+(0,pe.Z)(t,2)[1].messages.filter((function(e){return!e.readReceipt})).length}),0)},getUnreadMessagesForContact:function(e){return t().contacts[e].messages.filter((function(e){return 0==e.readReceipt})).length},getLatestMessageForContact:function(e){var a=t().contacts[e].messages;return a[a.length-1]},getContactName:function(e){return t().contacts[e].name},getContactList:function(){var e=t();return Object.entries(e.contacts).map((function(e){return(0,pe.Z)(e,2)[1]})).sort((function(e,t){var a=e.name,s=t.name;return a<s?-1:a>s?1:0})).reduce((function(e,t){var a=g.t[t.name].substring(0,1);return e[a]?e[a].push(t):e[a]=[t],e}),{})},getContactCount:function(){var e=t();return Object.keys(e.contacts).length},addUserResponse:function(a){var s=t();if(s.activeContactId){var i=s.contacts[s.activeContactId],n=(0,G.Z)(i.messages).concat([a]);e((0,L.Z)((0,_.Z)({},s),{contacts:(0,L.Z)((0,_.Z)({},s.contacts),(0,ue.Z)({},s.activeContactId,(0,L.Z)((0,_.Z)({},i),{messages:n})))})),s.replyToUser()}},replyToUser:function(){setTimeout((function(){var a=t();if(a.activeContactId){var s=a.contacts[a.activeContactId],i=(0,xe.Z)(s.replies),n=i[0],r=i.slice(1);if(n){var l,c=(l=n,(0,L.Z)((0,_.Z)({},l),{append:"none",direction:"from",timestamp:Date.now(),readReceipt:!0})),o=(0,G.Z)(s.messages).concat([c]);e((0,L.Z)((0,_.Z)({},a),{contacts:(0,L.Z)((0,_.Z)({},a.contacts),(0,ue.Z)({},a.activeContactId,(0,L.Z)((0,_.Z)({},s),{messages:o,replies:r})))}))}}}),1e3)},sendNextQueuedMessage:function(){var a=t(),s=(0,xe.Z)(a.queuedMessages),i=s[0],n=s.slice(1);if(i){var r=function(e){return(0,L.Z)((0,_.Z)({},e),{append:"none",direction:"from",timestamp:Date.now(),readReceipt:!1})}(i),l=a.contacts[i.contactId],c=(0,G.Z)(l.messages).concat([r]);e((0,L.Z)((0,_.Z)({},a),{queuedMessages:n,contacts:(0,L.Z)((0,_.Z)({},a.contacts),(0,ue.Z)({},l.id,(0,L.Z)((0,_.Z)({},l),{messages:c})))})),i.callback&&i.callback()}},dequeueMessage:function(){var a=t(),s=(0,xe.Z)(a.queuedMessages),i=s[0],n=s.slice(1);i&&e((0,L.Z)((0,_.Z)({},a),{queuedMessages:n}))},getNextQueuedMessage:function(){var e=t();return(0,pe.Z)(e.queuedMessages,1)[0]},markMessagesAsReadForContact:function(a){var s=t(),i=s.contacts[a],n=i.messages.map((function(e){return(0,L.Z)((0,_.Z)({},e),{readReceipt:!0})}));e({contacts:(0,L.Z)((0,_.Z)({},s.contacts),(0,ue.Z)({},a,(0,L.Z)((0,_.Z)({},i),{messages:n})))})}}})),be=function(e){var t=e.hideLabel,a=e.appButtonLocation,i=e.searchValue,n=_e().getTotalUnreadMessageCount,r={path:"/app/android-messages",pageTitle:M.dC.AndroidMessages},l=n();return(0,s.jsxs)(K,{appButtonLocation:a,linkId:"android-messages",tracking:r,children:[(0,s.jsx)(K.Icon,{path:"icons/app-android-messages.png",children:(0,s.jsx)(se,{count:l})}),!t&&(0,s.jsx)(K.Name,{lineOne:g.t["APPS-DRAWER_APP-TITLE_MESSAGES"],searchValue:i})]})},Se=function(e){var t=e.hideLabel,a=e.appButtonLocation,i=e.searchValue,n=_e().getTotalUnreadMessageCount,r={path:"/app/messages",pageTitle:M.dC.Messages},l=n();return(0,s.jsxs)(K,{appButtonLocation:a,linkId:"messages",tracking:r,children:[(0,s.jsx)(K.Icon,{path:"icons/app-messages.png",children:(0,s.jsx)(se,{count:l})}),t?null:(0,s.jsx)(K.Name,{lineOne:g.t["APPS-DRAWER_APP-TITLE_MESSAGES"],searchValue:i})]})},ye="messages"===z.e.defaultMessageApp?Se:be,Re=a(66022),Le=function(e){var t=e.position,a=void 0===t?"bottom-left":t,i=a.includes("bottom")?"#DCE2F4":"#E9ECF8",n=a.includes("bottom");return(0,s.jsx)("svg",{width:"11",height:"6",viewBox:"0 0 11 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:H()("absolute",{"bottom-[-5px] scale-y-[-1] transform":n,"left-[40px]":"bottom-left"===a,"left-[127px]":"bottom"===a,"right-[40px]":"bottom-right"===a,"left-[40px] top-[-5px]":"top-left"===a,"left-[127px] top-[-5px]":"top"===a,"right-[40px] top-[-5px]":"top-right"===a}),children:(0,s.jsx)("path",{d:"M5.50049 0L10.6751 5.076H0.325902L5.50049 0Z",fill:i,fillOpacity:"0.9"})})},Ie=(0,i.forwardRef)((function(e,t){var a=e.headerContent,i=e.bodyContent,n=e.className,r=e.arrowPosition;return(0,s.jsxs)("div",{ref:t,className:n,children:[(0,s.jsxs)("div",{className:"notification-shadow w-[259px]",children:[(0,s.jsx)("div",{className:"rounded-t-3xl bg-[#E9ECF8E5] p-[13px]",children:(0,s.jsx)("div",{className:"flex items-center justify-center whitespace-pre-line font-semibold leading-[21px] text-black",children:a})}),(0,s.jsx)("div",{className:"rounded-b-3xl bg-[#DCE2F4E5] px-[21px] pt-[10px] pb-[12px]",children:(0,s.jsx)("div",{className:"whitespace-pre-line text-start text-sm text-black",children:i})})]}),(0,s.jsx)(Le,{position:r})]})})),Pe=function(e){var t=(0,P.qr)().colourPaletteIndex,a=(0,P.q0)().theme,s=a;return e&&"default"===a&&(s="palette-".concat(t)),"assets/lotties/guideFlow/".concat(s,"/").concat(e,".json")},Oe=function(e){var t=e.isTutorialOverlay,a=e.highlightsRef,i=(0,P.q0)().isNavAvailable,n=R().setRef,r=t?"tutorial-overlay":"dashboard",l=Pe("camera"),c=Pe("gallery");return(0,s.jsxs)("div",{className:"gpu relative grid w-full grid-cols-4 gap-y-8 px-3 text-center ".concat(i?"mb-8":"mb-3"),"data-ref":"dashboard-content-footer",children:[(0,s.jsx)("div",{"data-ref":"app-dashboard-welcome-animation",className:H()("relative flex justify-center",{"opacity-0":t}),children:(0,s.jsx)("div",{children:(0,s.jsx)(ce,{hideLabel:!0,appButtonLocation:r})})}),(0,s.jsx)("div",{"data-ref":"app-dashboard-welcome-animation",className:H()("relative flex justify-center",{"opacity-0":t}),children:(0,s.jsx)("div",{children:(0,s.jsx)(ye,{hideLabel:!0,appButtonLocation:r})})}),(0,s.jsxs)("div",{className:"relative flex justify-center","data-ref":"app-dashboard-welcome-animation",children:[t&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"absolute flex w-full justify-center opacity-0",ref:function(e){t&&a&&(a.current=(0,L.Z)((0,_.Z)({},a.current),{cameraText:e}))},children:[(0,s.jsx)("div",{className:"absolute top-[70px] mb-3 w-screen whitespace-pre-line text-center text-sm font-semibold text-white",children:g.t["@PARADIGM_TUTORIAL_CAMERA-HIGHLIGHT-TEXT"]}),(0,s.jsx)("div",{className:"pointer-events-none absolute top-0 z-10",children:(0,s.jsx)(Re.Z,{path:c,height:58,width:58,loop:!0})})]}),(0,s.jsx)("div",{className:"absolute flex w-full justify-center opacity-0",ref:function(e){t&&a&&(a.current=(0,L.Z)((0,_.Z)({},a.current),{cameraAnimation:e}))}})]}),(0,s.jsxs)("div",{className:H()("relative",{"opacity-0 drop-shadow-appIconIntro":t}),ref:function(e){t&&a&&(a.current=(0,L.Z)((0,_.Z)({},a.current),{camera:e}))},children:[(0,s.jsx)(de,{appButtonLocation:r,hideLabel:!0}),(0,s.jsx)(Ie,{ref:function(e){return n("galleryText",e)},arrowPosition:"bottom",className:"absolute bottom-[90px] left-[-103px] hidden opacity-0",headerContent:g.t["@PARADIGM_CONTENT-GUIDE_GALLERY-POPUP_HEADER"],bodyContent:g.t["@PARADIGM_CONTENT-GUIDE_GALLERY-POPUP_BODY_MAIN"]}),(0,s.jsx)("div",{className:"pointer-events-none absolute top-0 flex hidden w-full justify-center opacity-0",ref:function(e){return n("gallery",e)},children:(0,s.jsx)(Re.Z,{path:c,height:58,width:58,loop:!0})})]})]}),(0,s.jsx)("div",{"data-ref":"app-dashboard-welcome-animation",className:"relative flex justify-center",children:(0,s.jsxs)("div",{className:H()("relative",{"opacity-0 drop-shadow-appIconIntro":t}),children:[(0,s.jsx)(oe,{hideLabel:!0,appButtonLocation:r}),(0,s.jsx)(Ie,{ref:function(e){return n("cameraText",e)},arrowPosition:"ae"===g.t.getLanguage()?"bottom-left":"bottom-right",className:"absolute bottom-[90px] hidden opacity-0 ltr:right-[-15px] rtl:left-[-15px]",headerContent:g.t["@PARADIGM_CONTENT-GUIDE_CAMERA-POPUP_HEADER"],bodyContent:g.t["@PARADIGM_CONTENT-GUIDE_CAMERA-POPUP_BODY_MAIN"]}),(0,s.jsx)("div",{className:"pointer-events-none absolute top-0 flex hidden w-full justify-center opacity-0",ref:function(e){return n("camera",e)},children:(0,s.jsx)(Re.Z,{path:l,height:58,width:58,loop:!0})})]})})]})},Me={src:"/_next/static/media/widget-icon-ai-brief.44789b16.svg",height:29,width:29},De={src:"/_next/static/media/widget-icon-audio-eraser.8f20c40e.svg",height:28,width:28},Ge={src:"/_next/static/media/widget-icon-audio-eraser-cn.117061d0.svg",height:28,width:28},ke={src:"/_next/static/media/widget-icon-circle-to-search.9f1ad90f.svg",height:28,width:28},He={src:"/_next/static/media/widget-icon-cross-app-action.4110cccf.svg",height:28,width:28},Be={src:"/_next/static/media/widget-icon-gallery-search.f87f5ff6.svg",height:28,width:28},Ue={src:"/_next/static/media/widget-icon-instant-slow-mo.39139ede.svg",height:28,width:28},Ze=a(31304),Ye=a.n(Ze),Fe=function(e){var t=e.buttonRect,a=e.appButtonRef,n=e.children,r=e.appButtonLocation,l=e.noWrapper,c=(0,P.qr)(),o=c.appName,d=c.setAppName,u=c.appActiveData,p=c.isAppOpen,x=c.resetBackButtonStack,f=c.appActiveButton,m=c.setIsAppOpenTransitioning,h=(0,P.q0)().isDashboardSearchOpen,A=(0,i.useState)(!0),E=A[0],g=A[1];return(0,i.useLayoutEffect)((function(){if(f&&u){var e=a.current,s=e.dataset.appViewIsStatic,i=e.dataset.appLinkId,n=u.appContainer.dataset.appViewName;if(i===o&&n===o&&e===f){var r="0% 100%",l=t,c=E;I.ZP.set(u.appViewIcon,{opacity:0}),p?!s&&l?(m(!0),I.ZP.set(u.appContainer,{display:"block"}),I.ZP.fromTo(u.appViewContent,{opacity:0},{opacity:1,duration:.1+.2,delay:0,ease:"power3.out"}),I.ZP.fromTo(u.appViewIcon,{opacity:1},{opacity:0,duration:.2,delay:0,ease:"power3.out"}),I.ZP.fromTo(u.appViewIcon,{scale:1,transformOrigin:r,x:0,y:0},{scale:6.4,x:0,y:l.y,transformOrigin:r,duration:.5,ease:"power3.out",delay:0}),I.ZP.fromTo(u.appViewContainer,{x:l.x,y:l.y,transformOrigin:"0% 0%"},{x:0,y:0,duration:.5,ease:"power3.out",delay:0}),I.ZP.fromTo(u.appViewContent,{x:5,y:5,scaleX:.17,scaleY:.07,transformOrigin:"0px 0px"},{scaleX:1,scaleY:1,x:0,y:0,duration:.5,ease:"power3.out",delay:0,onComplete:function(){m(!1)}})):(m(!0),I.ZP.set(u.appContainer,{display:"block"}),I.ZP.fromTo(u.appViewContent,{opacity:0},{opacity:1,duration:.1+.2,delay:0,ease:"power3.out"}),I.ZP.fromTo(u.appViewContent,{scale:.8,transformOrigin:"center center"},{scale:1,x:0,y:0,duration:.5,ease:"power3.out",delay:0,onComplete:function(){m(!1)}})):(d(""),u&&(!s&&c&&l?(m(!0),I.ZP.to(u.appViewContainer,{x:l.x,y:l.y,transformOrigin:"0% 0%",duration:.4,ease:"power3.out",delay:0}),I.ZP.to(u.appViewContent,{scaleX:0,scaleY:0,x:35,y:35,transformOrigin:"0px 0px",duration:.4,ease:"power3.out",delay:0}),I.ZP.to(u.appViewIcon,{opacity:1,duration:.1,delay:.1,ease:"power3.out"}),I.ZP.to(u.appViewIcon,{scale:1,transformOrigin:r,x:0,y:0,duration:.4,ease:"power3.out",delay:0}),I.ZP.to(u.appViewContent,{opacity:0,duration:.175,delay:0,ease:"none"}),I.ZP.set(u.appContainer,{display:"none",delay:.45}),I.ZP.set(u.appViewIcon,{opacity:0,delay:.45,onComplete:function(){m(!1)}})):(m(!0),I.ZP.to(u.appViewContent,{scale:.8,transformOrigin:"center center",duration:.4,ease:"power3.out",delay:0,onComplete:function(){m(!1)}}),I.ZP.to(u.appViewContent,{opacity:0,duration:.15,delay:0,ease:"none"}),I.ZP.set(u.appContainer,{display:"none",delay:.15}),I.ZP.set(u.appViewIcon,{opacity:0,delay:.15}))))}}}),[f,u,p,E]),(0,i.useEffect)((function(){g(!(p&&h||"widget"==r))}),[p,h]),(0,i.useEffect)((function(){x()}),[o]),l?(0,s.jsx)(s.Fragment,{children:n}):(0,s.jsx)("div",{onContextMenu:function(e){return e.preventDefault()},children:n})},Ve="/_next/static/media/widget-confirmed-click.f4043142.png",We="/_next/static/media/widget-pre-click.7b47b259.png",Xe={hu:"hu:px-2 hu:xsm:px-0 hu:xxs:px-0",it:"it:xsm:text-[9px]",br:"br:px-2"},Ke={se:"se:!mr-0"},Qe={se:"se:!pr-1",it:"it:foldCover:pr-1 it:foldCover:pl-0"},ze=H()(Object.values(Xe)),qe=H()(Object.values(Ke)),Je=H()(Object.values(Qe)),$e=function(e){var t=e.appButtonLocation,a=e.shortcutItem,n=e.isTutorialOverlay,r=a.shortcut,l=a.gamificationRef,c=a.pageTracking,o=(0,P.q0)().start,d=(0,P.qr)(),u=d.appName,p=d.setAppName,x=d.setIsAppOpen,f=d.setAppActiveButton,m=(0,P.vy)(),h=m.setHasBeenClicked,A=m.hasBeenClicked,E=(0,i.useState)(null),g=E[0],v=E[1],C=(0,i.useRef)(null);return(0,s.jsx)(Fe,{buttonRect:g,appButtonRef:C,appButtonLocation:t,noWrapper:!0,children:(0,s.jsx)("button",{"data-component":"app-link","data-app-link-id":a.shortcut,"data-app-link-location":t,className:"gpu text-center",onClick:function(){if(o&&!n){(0,V.Kq)("/app/dashboard/widget/".concat(Ye()(String(a.widget)).toLowerCase()),c,"pageview",""===u?"Widget":void 0),A[l]||h((0,L.Z)((0,_.Z)({},A),(0,ue.Z)({},l,!0)));var e=C.current;v(e.getBoundingClientRect()),x(!0),p(r),f(e)}},ref:C,children:(0,s.jsx)("div",{className:"gpu relative flex w-full items-center justify-start rounded-xl bg-primary-white-100 shadow-widget xsmd:w-11/12",style:{height:"46px"},children:(0,s.jsx)("div",{className:H()("w-full py-0 text-[10px] font-semibold text-primary-black-300",ze),children:(0,s.jsxs)("div",{className:H()("flex w-full flex-row items-center justify-around ltr:pl-1 ltr:pr-2 rtl:pr-1 rtl:pl-2 ltr:xxs:pr-2 rtl:xxs:pl-2",Je),children:[(0,s.jsx)("div",{className:H()("ltr:mr-0.5 rtl:ml-0.5",qe),children:(0,s.jsx)("img",{src:a.icon.src,alt:a.widget,className:"m-auto w-[28px]"})}),(0,s.jsx)("div",{className:F("w-full flex-1 whitespace-pre-line ltr:text-left rtl:text-right","eslatam:pr-1 gr:xsm:text-[9px] gr:xxs:text-[9px]"),children:a.title}),A[l]?(0,s.jsx)("img",{src:Ve,className:"w-4 justify-self-end",alt:""}):(0,s.jsx)("img",{src:We,className:"w-4 justify-self-end",alt:""})]})})})})})},et=function(e){var t=e.isTutorialOverlay,a=void 0!==t&&t,n=g.t.getLanguage(),r="HK"===(0,te.o$)().countryCode&&("en"===n||"tw"===n),l=(0,i.useRef)(null),c=(0,i.useRef)(null);(0,i.useEffect)((function(){var e=function(){s.progress(t.scrollTop/(t.scrollHeight-t.offsetHeight))},t=l.current,a=c.current,s=I.ZP.to(a,{yPercent:200,ease:"none",paused:!0});return t.addEventListener("scroll",e),function(){t.removeEventListener("scroll",e)}}),[]);var o=(0,G.Z)(r?[]:[{title:g.t["@PARADIGM_WIDGETS_TRY-GALAXY_HOME-SCREEN-TWO_WIDGET-OPTION_CROSS-APP-ACTION"],icon:He,shortcut:"cross-app-action",widget:"cross-app-action",gamificationRef:"crossAppAction",pageTracking:"Cross App Action"}]).concat([{title:g.t["TRY-GALAXY_HOME-SCREEN-TWO_WIDGET-OPTION_CIRCLE"],icon:ke,shortcut:"circle-search",widget:"circle-to-search",gamificationRef:"gzFlip4",pageTracking:"Circle to Search"},{title:g.t["@PARADIGM_WIDGETS_TRY-GALAXY_HOME-SCREEN-TWO_WIDGET-OPTION_AI-BRIEF"],icon:Me,shortcut:"ai-brief",widget:"now-brief",gamificationRef:"aiBrief",pageTracking:"Now Brief"},{title:g.t["@PARADIGM_WIDGETS_TRY-GALAXY_HOME-SCREEN-TWO_WIDGET-OPTION_GALLERY-SEARCH"],icon:Be,shortcut:"portrait-and-filters",widget:"portrait-and-filters",gamificationRef:"portraitAndFilters",pageTracking:"Portrait & Filters"},{title:g.t["@PARADIGM_WIDGETS_TRY-GALAXY_HOME-SCREEN-TWO_WIDGET-OPTION_AUDIO-ERASER"],icon:"cn"===g.t.getLanguage()?Ge:De,shortcut:"audio-eraser",widget:"audio-eraser",gamificationRef:"audioEraser",pageTracking:"Audio Eraser"},{title:g.t["@PARADIGM_WIDGETS_TRY-GALAXY_HOME-SCREEN-TWO_WIDGET-OPTION_INSTANT-SLOW-MO"],icon:Ue,shortcut:"instant-slow-mo",widget:"instant-slow-mo",gamificationRef:"instantSlowMo",pageTracking:"Instant Slow-mo"}]);return(0,s.jsxs)("div",{className:"gpu relative mt-3 flex h-full w-full flex-1 flex-col rounded-[20px] bg-primary-white-100 b2b:xxs:mt-4",children:[(0,s.jsxs)("div",{className:"flex w-full items-center justify-center gap-1 px-6 pt-4 pb-2 text-center text-[11px] font-semibold text-primary-black-300 smd:py-2",dir:"ltr",children:[(0,s.jsx)("div",{children:g.t["TRY-GALAXY_HOME-SCREEN-TWO_WIDGET-TITLE_GALAXY-AI"]}),(0,s.jsx)(Re.Z,{path:"/assets/lotties/widget_galaxy_ai.json",width:"25px",loop:!0})]}),(0,s.jsxs)("div",{className:"relative flex w-full justify-end pb-[2px] mini:block mini:pb-0",children:[(0,s.jsx)("div",{className:"relative inset-0 h-[116px] w-full mini:h-full xxs:h-[62px]",children:(0,s.jsx)("div",{className:"pointer-events-auto relative inset-0 grid h-full w-full grid-cols-2 gap-1.5 ".concat(a?"overflow-y-hidden":"overflow-y-auto"," px-3 py-3 xsm:px-4 xxs:gap-1 xxs:pr-6 xxs:pt-2"),"data-ref":"scroll-view",ref:l,children:o.map((function(e,t){return(0,s.jsx)($e,{appButtonLocation:"widget",shortcutItem:e,isTutorialOverlay:a},t)}))})}),(0,s.jsx)("div",{className:"block mini:hidden",children:(0,s.jsx)("div",{className:"absolute right-2 top-4 block h-3/4 w-2 justify-self-start rounded bg-primary-gray-150 mini:hidden xsm:right-1 xxs:top-2",children:(0,s.jsx)("div",{className:"block h-1/3 w-2 rounded bg-primary-gray-200 mini:hidden",ref:c})})})]})]})},tt=function(){return(0,s.jsxs)("svg",{width:28,height:28,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M29.0319 15.3181C29.0319 14.1409 28.9363 13.2817 28.7296 12.3909H15.2864V17.7044H23.1773C23.0182 19.0249 22.1591 21.0136 20.25 22.3499L20.2233 22.5278L24.4737 25.8205L24.7682 25.8499C27.4727 23.3522 29.0319 19.6772 29.0319 15.3181Z",fill:"#4285F4"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2865 29.3181C19.1523 29.3181 22.3977 28.0453 24.7683 25.8499L20.2501 22.3499C19.041 23.193 17.4182 23.7817 15.2865 23.7817C11.5001 23.7817 8.28651 21.284 7.14097 17.8318L6.97303 17.846L2.55329 21.2665L2.49548 21.4272C4.85004 26.1044 9.68638 29.3181 15.2865 29.3181Z",fill:"#34A853"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.14095 17.832C6.83865 16.9411 6.66372 15.9865 6.66372 15.0002C6.66372 14.0137 6.83865 13.0592 7.12507 12.1684L7.11701 11.9786L2.6419 8.50317L2.49551 8.57283C1.52513 10.5138 0.968262 12.6934 0.968262 15.0002C0.968262 17.307 1.52513 19.4864 2.49551 21.4274L7.14095 17.832Z",fill:"#FBBC05"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2865 6.21821C17.9751 6.21821 19.7886 7.37958 20.8228 8.35005L24.8637 4.40459C22.3819 2.09777 19.1523 0.681885 15.2865 0.681885C9.68638 0.681885 4.85004 3.89546 2.49548 8.57271L7.12504 12.1682C8.28651 8.71597 11.5001 6.21821 15.2865 6.21821Z",fill:"#EB4335"})]})},at="/_next/static/media/icon-google-camera.1b6753cb.png",st="/_next/static/media/icon-search-voice.c90b15bc.png",it=function(e,t){var a=(0,i.useCallback)(e,t),s=(0,i.useRef)(a);return(0,i.useEffect)((function(){s.current=a}),[a]),s},nt=function(e,t){var a=t-(Date.now()-e);return a<0?0:a},rt=function(e){var t=e.callbackFn,a=e.throttleMs,s=void 0===a?200:a,n=(0,i.useRef)(Date.now()),r=(0,i.useRef)(null),l=(0,i.useCallback)((function(){r.current&&(clearTimeout(r.current),r.current=null)}),[]),c=(0,i.useCallback)((function(e){var a=nt(n.current,s);0===a?(n.current=Date.now(),t(e),l()):r.current||(r.current=setTimeout((function(){0===(a=nt(n.current,s))&&(n.current=Date.now(),t(e),l())}),a))}),[t,l]);return(0,i.useEffect)((function(){return l}),[l]),{cancel:l,throttledFn:c}},lt="ae"===g.t.getLanguage()?-1:1,ct=function(e){return-e*window.innerWidth*lt},ot=function(e){var t=e.sliderContainerRef,a=e.sliderListRef,n=e.sliderListItemsRef,r=e.sliderPaginationRef,l=e.sliderPaginationItemsRef,c=e.dashboardContainerRef,o=e.children,d=e.trackPath,u=e.setCurrentSlide,p=e.addPixelOffset,x=void 0!==p&&p,f=e.routable,m=void 0!==f&&f,h=e.initialPage,A=e.resetPageOnLeave,E=void 0!==A&&A,v=(0,P.qr)(),C=v.appName,j=v.setAppName,N=v.setAppActiveButton,T=(0,P.q0)().setIsDashboardTransitioning,w=(0,P.fv)(),_=w.setNavigateTo,b=w.setNavigationData,S=(0,i.useCallback)((function(){T(!0)}),[]),y=rt({callbackFn:S}),R=y.throttledFn,L=y.cancel,O=(0,i.useRef)(null),M=(0,i.useRef)({direction:"",position:"",isAutoDirection:!1,initialTouchPosition:{x:0,y:0},currentTouchPosition:{x:0,y:0},threshold:10,moveCounter:0,percentY:0,currentPage:0}),D=function(){var e=a.current;if(e){var t=e.querySelectorAll("a");t.length&&c&&I.ZP.set(t,{pointerEvents:"auto"})}},G=function(e,s){var i=null===t||void 0===t?void 0:t.current,c=a.current,o=n.current,p=r.current,f=l.current,A=null===i||void 0===i?void 0:i.dataset.sliderLocation,E=M.current,g=E.currentPage,v=E.direction,C=E.isAutoDirection,j=E.moveCounter,N=E.currentTouchPosition,w=E.threshold,_=.5,b=g;if("X"==v||C){if(M.current.isAutoDirection=!1,e)if(j<25)N.x<-1*w?b=b+1*lt:N.x>w&&(b=function(e){return e-1*lt}(b));else{var S,y=null!==(S=null===c||void 0===c?void 0:c.getBoundingClientRect())&&void 0!==S?S:{x:0,y:0};b=Math.round(-1*y.x/window.innerWidth)}else{var R,P=null!==(R=null===c||void 0===c?void 0:c.getBoundingClientRect())&&void 0!==R?R:{x:0,y:0},G=Math.round(-1*P.x/window.innerWidth);_=h||g===G?0:.6}b=(b=b<0?0:b)>o.length-1?o.length-1:b;var k=x?1:0,H=ct(b)-k,B=function(e){return e*lt<0?0:e}(H);if(I.ZP.to(c,{x:H,duration:_,ease:"power3.out"}),I.ZP.to(p,{x:B,duration:_,ease:"power3.out"}),I.ZP.to(o,{scale:1,opacity:1,duration:_,transformOrigin:"50% 50%",ease:"power3.out",onComplete:s}),f.forEach((function(e,t){I.ZP.to(e,{opacity:b==t?1:0,duration:.3,ease:"power3.inOut"})})),d&&(0,V.Kq)("".concat(d).concat(b+1),A),"galaxy-ecosystem"===(null===i||void 0===i?void 0:i.dataset.sliderLocation)){var U=o[b].querySelector(".video-card-style");U&&(U.pause(),U.currentTime=0,U.play())}L(),T(!1)}if(M.current.currentPage=b,u&&u(b),m){var Z=new URL(window.location.href);Z.searchParams.set("page",(b+1).toString()),window.history.replaceState({},"",Z)}O.current&&clearTimeout(O.current),O.current=window.setTimeout(D,1e3),M.current.moveCounter=0,M.current.direction="",M.current.position=""},k=function(e){var s,i=null===t||void 0===t?void 0:t.current,r=a.current,l=n.current,o=null===i||void 0===i?void 0:i.dataset.sliderLocation,d="default"===(null===i||void 0===i?void 0:i.dataset.sliderType),u=M.current,p=u.moveCounter,x=u.percentY,f=u.initialTouchPosition,m=u.direction,h=u.position,A=u.currentPage,E=p+1,v=x;"touchstart"!=e.type&&"touchmove"!=e.type&&"touchend"!=e.type&&"touchcancel"!=e.type||(s=e.touches[0]||e.changedTouches[0]);var C=s?{x:s.pageX-f.x,y:s.pageY-f.y}:{x:0,y:0};if(E>2){if(O.current&&clearTimeout(O.current),r){var j=r.querySelectorAll("a");j.length>0&&c&&I.ZP.set(j,{pointerEvents:"none"})}var N=m,T=h;if(""==N&&(Math.abs(C.y)>Math.abs(C.x)?(N="Y",T=C.y>=0?"DOWN":"UP"):N="X"),d||Math.abs(C.y)>Math.abs(C.x)&&(N="X"),"X"==m){var w=ct(A)+C.x;w=function(e){return e*lt>window.innerWidth?window.innerWidth*lt:e}(w);var _=0,b=5e3,S=A>=l.length-1,y=A<=0,L="ae"===g.t.getLanguage()?y:S,P="ae"===g.t.getLanguage()?S:y;L?"search"==o?(_=(_=(_=Math.abs(-1*C.x/b))>1?1:_)<0?0:_)>0&&(w=ct(A)):(_=(_=(_=-1*C.x/b)>1?1:_)<0?0:_)>0&&(w=ct(A)):P&&(_=(_=(_=1*C.x/b)>1?1:_)<0?0:_)>0&&(w=ct(A)),I.ZP.to(l,{scale:1-_,opacity:1-5*_,duration:.1,transformOrigin:"50% 50%",ease:"none"}),I.ZP.to(r,{duration:.1,x:w}),R()}else"Y"==m&&(v=1*C.y/200,"UP"==h?v*=-1:v=x,v=x>1?1:x,v=x<0?0:x);M.current.direction=N,M.current.position=T,M.current.percentY=v,M.current.currentTouchPosition=C}M.current.moveCounter=E},H=function(e){var t;"touchstart"!=e.type&&"touchmove"!=e.type&&"touchend"!=e.type&&"touchcancel"!=e.type||(t=e.touches[0]||e.changedTouches[0]),M.current.initialTouchPosition=t?{x:t.pageX,y:t.pageY}:{x:0,y:0},M.current.currentTouchPosition=t?{x:t.pageX-M.current.initialTouchPosition.x,y:t.pageY-M.current.initialTouchPosition.y}:{x:0,y:0}},B=it((function(e){var t,a=e.appName,s=null===c||void 0===c||null===(t=c.current)||void 0===t?void 0:t.querySelector('*[data-app-link-id="'.concat(a,'"]'));if(s){var i=0;-1==M.current.currentPage?s.getBoundingClientRect().x>2*window.innerWidth&&(i=1):0==M.current.currentPage?s.getBoundingClientRect().x>window.innerWidth&&(i=1):i=s.getBoundingClientRect().x<0?0:1,M.current.isAutoDirection=!0,M.current.currentPage=i,G(void 0,(function(){s.click()}))}else{var n=document.querySelector('*[data-app-link-id="'.concat(a,'"]'));N(n)}return j(a),b(e),e}),[]);return(0,i.useEffect)((function(){c&&_(B)}),[B]),(0,i.useEffect)((function(){var e=a.current,t=n.current,s=l.current;I.ZP.set(e,{width:"".concat(100*t.length,"vw")}),I.ZP.set(s,{opacity:0}),I.ZP.set(s[0],{opacity:1})}),[]),(0,i.useEffect)((function(){var e=null===t||void 0===t?void 0:t.current;return null===e||void 0===e||e.addEventListener("touchstart",H),null===e||void 0===e||e.addEventListener("touchmove",k),null===e||void 0===e||e.addEventListener("touchend",G),function(){null===e||void 0===e||e.removeEventListener("touchstart",H),null===e||void 0===e||e.removeEventListener("touchmove",k),null===e||void 0===e||e.removeEventListener("touchend",G)}}),[C,H,k,G]),(0,i.useEffect)((function(){h&&(M.current.currentPage=h-1,M.current.isAutoDirection=!0,G())}),[h]),(0,i.useEffect)((function(){0!==M.current.currentPage&&""===C&&E&&(M.current.currentPage=0,M.current.isAutoDirection=!0,G())}),[C]),(0,s.jsx)(s.Fragment,{children:o})},dt=a(11163),ut=a.n(dt),pt=a(61268),xt=a(64949),ft=function(e){var t=e.appButtonLocation,a=e.searchValue,i=e.hideLabel,r=(0,pt.O)().pushOverlayStack,l=(0,xt.p)().isDeviceFold,c=function(){var e=window.location.search;ut().replace("/fold".concat(e))};return(0,s.jsxs)(K,{appButtonLocation:t,onClick:function(){var e="iOS"===n.Z.instance.getOS();"tutorial-overlay"!==t&&(n.Z.instance.iOSVersion()<15.6&&e||(0,N.KQ)()?r({data:{title:g.t["FOLD_IOS_WARNING_POP-UP-TITLE"],text:g.t["FOLD_IOS_WARNING_POP-UP-TEXT"],cta:{text:g.t["FOLD_IOS_WARNING_POP-UP-OK"]},tracking:{path:"/app/dashboard/experience-fold/ios-popup",page:"Dashboard"},closeOnBackgroundClick:!0},type:"alert"}):l?r({data:{title:g.t["ZFOLD_WARNING_POP-UP-TITLE"],text:g.t["ZFOLD_WARNING_POP-UP-BODY"],cta:{text:g.t["ZFOLD_WARNING_POP-UP-CTA"],handleClick:c},tracking:{path:"/app/dashboard/experience-fold/ios-popup",page:"Dashboard"},closeOnBackgroundClick:!0},type:"alert"}):(c(),(0,V.Kq)("/app/fold-experience",M.dC.FoldExperience,"pageview",t)))},linkId:"fold-experience",children:[(0,s.jsx)(K.Icon,{path:"icons/app-fold-experience.png"}),!i&&(0,s.jsx)(K.Name,{lineOne:g.t["APPS-DRAWER_APP-TITLE_FOLD-EXPERIENCE-1"],lineTwo:g.t["APPS-DRAWER_APP-TITLE_FOLD-EXPERIENCE-2"],searchValue:a})]})},mt=function(e){var t=e.callback,a=e.delay,s=void 0===a?150:a;return function(){setTimeout((function(){t()}),s)}},ht=i.memo((function(e){var t=e.title,a=e.text,n=e.cta,r=e.link,l=e.secondaryCta,c=e.imageSrc,o=e.imagePos,d=e.closeOnBackgroundClick,u=e.share,p=e.className,x=e.children,f=e.component,m=e.delay,h=e.ignoreClick,A=(0,pt.O)().pushOverlayStack,E=(0,i.useCallback)((function(){h||A({data:{title:t,text:a,imageSrc:c,imagePos:o,share:u,cta:n,link:r,secondaryCta:l,closeOnBackgroundClick:d,component:f},type:"alert"})}),[A,t,a,c,o,u,n,r,l,d,f,h]),g=mt({callback:E});return(0,s.jsx)("div",{className:p,onClick:m?g:E,children:x})})),At=z.e.isSurveyAppEnabled,Et=function(e){var t=e.appButtonLocation,a=e.searchValue;return(0,s.jsx)(ie,{path:"/app/user-survey",page:M.dC.UserSurvey,appButtonLocation:t,children:(0,s.jsx)("a",{target:"_blank",rel:"noreferrer",href:he.tP?g.t["USER-SURVEY_FALLBACK-LINK_WORK"]:g.t["USER-SURVEY_FALLBACK-LINK"],onClick:function(e){At||e.preventDefault()},children:(0,s.jsx)(ht,{title:g.t["USER-SURVEY_UNSUPPORTED-POP-UP_TITLE"],text:g.t["USER-SURVEY_UNSUPPORTED-POP-UP_TEXT"],cta:{text:g.t["USER-SURVEY_UNSUPPORTED-POP-UP_OK"]},closeOnBackgroundClick:!0,ignoreClick:At,children:(0,s.jsxs)(K,{appButtonLocation:t,linkId:"user-survey",outboundLink:!0,children:[(0,s.jsx)(K.Icon,{path:"icons/app-user-survey.png"}),(0,s.jsx)(K.Name,{lineOne:g.t["APPS-DRAWER_APP-TITLE_USER-SURVEY-1"],lineTwo:g.t["APPS-DRAWER_APP-TITLE_USER-SURVEY-2"],searchValue:a})]})})})})},gt=function(e){var t=e.appButtonLocation,a=e.searchValue,i={path:"/app/galaxy-ecosystem",pageTitle:M.dC.GalaxyEcosystem};return(0,s.jsxs)(K,{appButtonLocation:t,linkId:"galaxy-ecosystem",tracking:i,children:[(0,s.jsx)(K.Icon,{path:"icons/app-galaxy-ecosystem.png"}),(0,s.jsx)(K.Name,{lineOne:g.t["TRY-GALAXY_HOME-SCREEN-TWO_APP-TITLE_GALAXY-ECOSYSTEM-1"],lineTwo:g.t["TRY-GALAXY_HOME-SCREEN-TWO_APP-TITLE_GALAXY-ECOSYSTEM-2"],searchValue:a})]})},vt=a(40862),Ct=a(21648),jt=function(e){var t=e.hideLabel,a=e.appButtonLocation,i=e.searchValue,n=(0,P.vy)(),r=n.hasBeenClicked,l=n.setHasBeenClicked;return(0,s.jsx)(ie,{path:"/app/dashboard/samsung-knox",page:M.dC.SamsungKnox,appButtonLocation:a,children:(0,s.jsx)("a",{target:"_blank",rel:"noreferrer",href:g.t["APP-BUTTON_SAMSUNG-KNOX-EXTERNAL-LINK"],children:(0,s.jsxs)(K,{appButtonLocation:a,onClick:function(){"tutorial-overlay"!==a&&(r.learnMore||l((0,L.Z)((0,_.Z)({},r),{learnMore:!0})))},"data-tracker":"c-tracker","data-track-title":"Dashboard","data-track-path":"/app/dashboard/samsung-knox",linkId:"samsung-knox",children:[(0,s.jsx)(K.Icon,{path:"icons/app-learn-more.png",children:(0,s.jsx)(se,{count:r.learnMore?0:1})}),!t&&(0,s.jsx)(K.Name,{lineOne:g.t["APPS-DRAWER_APP-TITLE_SAMSUNG-KNOX-1"],lineTwo:g.t["APPS-DRAWER_APP-TITLE_SAMSUNG-KNOX-2"],searchValue:i})]})})})};var Nt=function(e){var t=e.appButtonLocation,a=e.searchValue,i={path:"/app/ultra-film",pageTitle:M.dC.UltraFilm};return(0,s.jsxs)(K,{appButtonLocation:t,linkId:"ultra-film",tracking:i,children:[(0,s.jsx)(K.Icon,{path:"icons/app-ultra-film.png"}),(0,s.jsx)(K.Name,{lineOne:g.t["@PARADIGM_HOMESCREEN_APPS-DRAWER_APP-TITLE_ULTRA-FIRM-1"],lineTwo:g.t["@PARADIGM_HOMESCREEN_APPS-DRAWER_APP-TITLE_ULTRA-FIRM-2"],searchValue:a})]})},Tt=function(e){var t=e.appButtonLocation,a=e.searchValue,i={path:"/app/base-film",pageTitle:M.dC.BaseFilm};return(0,s.jsxs)(K,{appButtonLocation:t,linkId:"base-film",tracking:i,children:[(0,s.jsx)(K.Icon,{path:"icons/app-base-film.png"}),(0,s.jsx)(K.Name,{lineOne:g.t["@PARADIGM_HOMESCREEN_APPS-DRAWER_APP-TITLE_BASE-FIRM-1"],lineTwo:g.t["@PARADIGM_HOMESCREEN_APPS-DRAWER_APP-TITLE_BASE-FIRM-2"],searchValue:a})]})},wt=function(e){var t=e.appButtonLocation,a=e.searchValue,i=e.hideLabel,n={path:"/app/galaxy-z-series",pageTitle:M.dC.GalaxyZSeries};return(0,s.jsxs)(K,{appButtonLocation:t,linkId:"galaxy-z-series",tracking:n,children:[(0,s.jsx)(K.Icon,{path:"icons/app-foldable-film.png"}),!i&&(0,s.jsx)(K.Name,{lineOne:g.t["@PARADIGM_TRY-GALAXY_HOME-SCREEN-TWO_APP-TITLE_FOLDABLE-FILM-1"],lineTwo:g.t["@PARADIGM_TRY-GALAXY_HOME-SCREEN-TWO_APP-TITLE_FOLDABLE-FILM-2"],searchValue:a})]})},_t=function(e){var t=e.appButtonLocation,a=e.searchValue,i={path:"/app/wearable",pageTitle:M.dC.Wearable};return(0,s.jsxs)(K,{appButtonLocation:t,linkId:"wearable",tracking:i,children:[(0,s.jsx)(K.Icon,{path:"icons/app-wearable.png"}),(0,s.jsx)(K.Name,{lineOne:g.t["@PARADIGM_TRY-GALAXY_HOME-SCREEN-TWO_APP-TITLE_GALAXY-WEARABLE-1"],lineTwo:g.t["@PARADIGM_TRY-GALAXY_HOME-SCREEN-TWO_APP-TITLE_GALAXY-WEARABLE-2"],searchValue:a})]})},bt=a(23523),St=a(72478),yt=function(){return(0,s.jsxs)("svg",{width:49,height:52,viewBox:"0 0 49 52",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48 24C48 37.255 37.255 48 24 48C10.745 48 0 37.255 0 24C0 10.745 10.745 0 24 0C37.255 0 48 10.745 48 24Z",fill:"#F1F1F1"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 48C10.745 48 0 37.255 0 24C0 10.745 10.745 0 24 0C37.255 0 48 10.745 48 24C48 37.255 37.255 48 24 48Z",fill:"#D5BB75"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 44C12.9542 44 4 35.0458 4 24C4 12.9542 12.9542 4 24 4C35.0458 4 44 12.9542 44 24C44 35.0458 35.0458 44 24 44Z",fill:"#FFCF50"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28 39L28 52H42.4C46.0448 52 49 49.0896 49 45.5C49 41.9104 46.0448 39 42.4 39L28 39Z",fill:"#F1F1F1"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39 41C39 47.0753 34.0747 52 28 52C21.9247 52 17 47.0753 17 41C17 34.9247 21.9247 30 28 30C34.0747 30 39 34.9247 39 41Z",fill:"white"})]})},Rt=function(){return(0,s.jsx)("div",{className:"relative z-10 flex flex-[.5] flex-col gap-y-1.5",children:(0,s.jsxs)("div",{className:"rounded-3xl p-4",style:{background:"linear-gradient(180deg, #49A6FF 0%, #1F80D0 100%)"},children:[(0,s.jsx)("div",{className:"mb-2 flex justify-end",children:(0,s.jsx)(yt,{})}),(0,s.jsxs)("div",{className:"flex flex-col gap-y-0.5 text-primary-white-150 ltr:text-left rtl:text-right",children:[(0,s.jsx)("p",{className:"font-sans text-[21px] font-normal leading-[23px]",children:"20\xb0"}),(0,s.jsx)("p",{className:"text-xs font-normal leading-4",children:g.t["@PARADIGM_TRY-GALAXY_HOME-SCREEN-ONE_WEATHER-LABEL"]}),(0,s.jsxs)("div",{className:"font-noraml flex items-center text-xs leading-3",children:[(0,s.jsx)(St.Z,{className:"fill-primary-white-150"}),(0,s.jsx)("span",{children:"26\xb0"}),(0,s.jsx)("span",{className:"px-1",children:"/"}),(0,s.jsx)(bt.Z,{className:"fill-primary-white-150"}),(0,s.jsx)("span",{children:"20\xb0"})]}),(0,s.jsx)("p",{className:"text-xs font-normal leading-4 opacity-70",children:g.t["TRY-GALAXY_HOME-SCREEN-ONE_CURRENT-LOCATION"]})]})]})})},Lt="/_next/static/media/steps.590c0158.png",It="/_next/static/media/time.a3b4a8f7.png",Pt="/_next/static/media/calories.8e39731e.png",Ot="/_next/static/media/heart.5ae84531.svg",Mt={KG:g.t["SAMSUNG-HEALTH_HOME-SCREEN_KG"],PERCENT:"%"},Dt=function(e,t){return{increased:t>e,amount:parseFloat(Math.abs(t-e).toFixed(2))}},Gt={target:74.5,dataPoints:[78,77,76.3,76.7,75.5,76,75.5,75]},kt={target:28.5,dataPoints:[22.5,23,23.5,24.5,25.5,26,25,24]},Ht={target:19,dataPoints:[20,20.3,20.5,20.3,20,19.8,20,20.3]},Bt={targets:[{key:"weight",value:Gt.target,unit:Mt.KG,color:"#0fcf6e"},{key:"skeletal-muscle",value:kt.target,unit:Mt.KG,color:"#50a0ff"},{key:"body-fat",value:Ht.target,unit:Mt.PERCENT,color:"#d38038"}],cards:[{key:"card-1",title:g.t["@PARADIGM_HEALTH_BODY_COMPOSITION_BODY_COMPOSITION_CARD_TITLE"],popUp:{title:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-BAR_POP-UP_HEADER"],text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-BAR_POP-UP_BODY-TEXT"],cta:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-BAR_POP-UP_CTA"]},items:[{key:"weight",name:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-TITLE-WEIGHT"],low:59.9,high:81,unit:Mt.KG},{key:"skeletal-muscle",name:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-TITLE-SKELETAL-MUSCLE"],low:28.1,high:31,unit:Mt.KG},{key:"fat-mass",name:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-TITLE-FAT-MASS"],low:10.7,high:15.9,unit:Mt.KG},{key:"body-water",name:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-TITLE-BODY-WATER"],low:40.5,high:44.4,unit:Mt.KG}]},{key:"card-2",title:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_OBESITY_HEADER"],popUp:{title:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_OBESITY_POP-UP_HEADER"],text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_OBESITY_POP-UP_BODY-TEXT"],cta:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_OBESITY_POP-UP_CTA"]},items:[{key:"body-fat",name:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-TITLE-BODY-FAT"],low:15,high:22.3,unit:Mt.PERCENT},{key:"bmi",name:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-TITLE-BMI"],low:18.5,high:25}]}],states:[{date:"Jan 01 2023",firstOfMonth:!0,values:[{key:"weight",value:Gt.dataPoints[0],width1:"100%",width2:"85%",width3:"0%"},{key:"skeletal-muscle",value:kt.dataPoints[0],width1:"90%",width2:"0%",width3:"0%"},{key:"fat-mass",value:22,width1:"100%",width2:"100%",width3:"20%"},{key:"body-water",value:41.4,width1:"100%",width2:"10%",width3:"0%"},{key:"body-fat",value:Ht.dataPoints[0],width1:"100%",width2:"100%",width3:"20%"},{key:"bmi",value:24.2,width1:"100%",width2:"90%",width3:"0%"}]},{date:"Jan 08 2023",firstOfMonth:!1,values:[{key:"weight",value:Gt.dataPoints[1],width1:"100%",width2:"90%",width3:"0%",progress:Dt(Gt.dataPoints[0],Gt.dataPoints[1])},{key:"skeletal-muscle",value:kt.dataPoints[1],width1:"90%",width2:"0%",width3:"0%",progress:Dt(kt.dataPoints[0],kt.dataPoints[1])},{key:"fat-mass",value:20.9,width1:"100%",width2:"100%",width3:"30%",progress:{increased:!1,amount:1.1}},{key:"body-water",value:41.4,width1:"100%",width2:"10%",width3:"0%"},{key:"body-fat",value:Ht.dataPoints[1],width1:"100%",width2:"100%",width3:"60%",progress:Dt(Ht.dataPoints[0],Ht.dataPoints[1])},{key:"bmi",value:23.9,width1:"100%",width2:"100%",width3:"85%",progress:{increased:!1,amount:.3}}]},{date:"Jan 15 2023",firstOfMonth:!1,values:[{key:"weight",value:Gt.dataPoints[2],width1:"100%",width2:"80%",width3:"0%",progress:Dt(Gt.dataPoints[1],Gt.dataPoints[2])},{key:"skeletal-muscle",value:kt.dataPoints[2],width1:"90%",width2:"0%",width3:"0%",progress:Dt(kt.dataPoints[1],kt.dataPoints[2])},{key:"fat-mass",value:19.9,width1:"100%",width2:"100%",width3:"5%",progress:{increased:!1,amount:1}},{key:"body-water",value:41.4,width1:"100%",width2:"10%",width3:"0%"},{key:"body-fat",value:Ht.dataPoints[2],width1:"100%",width2:"100%",width3:"15%",progress:Dt(Ht.dataPoints[1],Ht.dataPoints[2])},{key:"bmi",value:23.6,width1:"100%",width2:"80%",width3:"0%",progress:{increased:!1,amount:.3}}]},{date:"Jan 22 2023",firstOfMonth:!1,values:[{key:"weight",value:Gt.dataPoints[3],width1:"100%",width2:"70%",width3:"0%",progress:Dt(Gt.dataPoints[2],Gt.dataPoints[3])},{key:"skeletal-muscle",value:kt.dataPoints[3],width1:"100%",width2:"10%",width3:"0%",progress:Dt(kt.dataPoints[2],kt.dataPoints[3])},{key:"fat-mass",value:18.9,width1:"100%",width2:"100%",width3:"5%",progress:{increased:!1,amount:1}},{key:"body-water",value:41.4,width1:"100%",width2:"10%",width3:"0%"},{key:"body-fat",value:Ht.dataPoints[3],width1:"100%",width2:"100%",width3:"15%",progress:Dt(Ht.dataPoints[2],Ht.dataPoints[3])},{key:"bmi",value:23.3,width1:"100%",width2:"70%",width3:"0%",progress:{increased:!1,amount:.3}}]},{date:"Jan 29 2023",firstOfMonth:!1,values:[{key:"weight",value:Gt.dataPoints[4],width1:"100%",width2:"60%",width3:"0%",progress:Dt(Gt.dataPoints[3],Gt.dataPoints[4])},{key:"skeletal-muscle",value:kt.dataPoints[4],width1:"100%",width2:"20%",width3:"0%",progress:Dt(kt.dataPoints[3],kt.dataPoints[4])},{key:"fat-mass",value:17.9,width1:"100%",width2:"100%",width3:"3%",progress:{increased:!1,amount:1}},{key:"body-water",value:41.4,width1:"100%",width2:"20%",width3:"0%"},{key:"body-fat",value:Ht.dataPoints[4],width1:"100%",width2:"100%",width3:"3%",progress:Dt(Ht.dataPoints[3],Ht.dataPoints[4])},{key:"bmi",value:23,width1:"100%",width2:"70%",width3:"0%",progress:{increased:!1,amount:.3}}]},{date:"Feb 06 2023",firstOfMonth:!0,values:[{key:"weight",value:Gt.dataPoints[5],width1:"100%",width2:"60%",width3:"0%",progress:Dt(Gt.dataPoints[4],Gt.dataPoints[5])},{key:"skeletal-muscle",value:kt.dataPoints[5],width1:"100%",width2:"70%",width3:"0%",progress:Dt(kt.dataPoints[4],kt.dataPoints[5])},{key:"fat-mass",value:17.2,width1:"100%",width2:"100%",width3:"2%",progress:{increased:!1,amount:.7}},{key:"body-water",value:40.9,width1:"100%",width2:"5%",width3:"0%",progress:{increased:!1,amount:.6}},{key:"body-fat",value:Ht.dataPoints[5],width1:"100%",width2:"100%",width3:"4%",progress:Dt(Ht.dataPoints[4],Ht.dataPoints[5])},{key:"bmi",value:22.5,width1:"100%",width2:"60%",width3:"0%",progress:{increased:!1,amount:.5}}]},{date:"Feb 13 2023",firstOfMonth:!1,values:[{key:"weight",value:Gt.dataPoints[6],width1:"100%",width2:"60%",width3:"0%",progress:Dt(Gt.dataPoints[5],Gt.dataPoints[6])},{key:"skeletal-muscle",value:kt.dataPoints[6],width1:"100%",width2:"70%",width3:"0%",progress:Dt(kt.dataPoints[5],kt.dataPoints[6])},{key:"fat-mass",value:16.5,width1:"100%",width2:"100%",width3:"2%",progress:{increased:!1,amount:.7}},{key:"body-water",value:41.5,width1:"100%",width2:"5%",width3:"0%",progress:{increased:!0,amount:.6}},{key:"body-fat",value:Ht.dataPoints[6],width1:"100%",width2:"100%",width3:"4%",progress:Dt(Ht.dataPoints[5],Ht.dataPoints[6])},{key:"bmi",value:23,width1:"100%",width2:"60%",width3:"0%",progress:{increased:!0,amount:.5}}]},{date:"Feb 20 2023",firstOfMonth:!1,values:[{key:"weight",value:Gt.dataPoints[7],width1:"100%",width2:"60%",width3:"0%",progress:Dt(Gt.dataPoints[6],Gt.dataPoints[7])},{key:"skeletal-muscle",value:kt.dataPoints[7],width1:"100%",width2:"70%",width3:"0%",progress:Dt(kt.dataPoints[6],kt.dataPoints[7])},{key:"fat-mass",value:17.2,width1:"100%",width2:"100%",width3:"2%",progress:{increased:!0,amount:.7}},{key:"body-water",value:40.9,width1:"100%",width2:"5%",width3:"0%",progress:{increased:!1,amount:.6}},{key:"body-fat",value:Ht.dataPoints[7],width1:"100%",width2:"100%",width3:"4%",progress:Dt(Ht.dataPoints[6],Ht.dataPoints[7])},{key:"bmi",value:22.5,width1:"100%",width2:"60%",width3:"0%",progress:{increased:!1,amount:.5}}]}]},Ut=function(e){var t=Bt.cards[0].items.find((function(t){return t.key===e}));return t||(t=Bt.cards[1].items.find((function(t){return t.key===e}))),t.unit},Zt=4350,Yt=76,Ft=458,Vt=6e3,Wt=90,Xt=500,Kt=1612,Qt=13.5,zt={floors:11,activeHours:5},qt={excercise:15,raisedHRActivity:12},Jt={excercise:38},$t=function(e){var t=e.appButtonLocation,a=(0,P.fv)().navigateTo;return(0,s.jsx)("button",{className:"gpu w-full text-center","data-component":"app-link","data-app-link-id":"health-widget","data-app-link-location":"dashboard",onClick:function(){z.e.isHealthAppDailyActivityEnabled&&(a.current({appName:"health",path:"health/daily-activity",shouldResetScreen:!0,shouldResetTutorial:!0}),(0,V.Kq)("app/health/daily-activity","Daily Activity","pageview",t))},children:(0,s.jsx)("div",{className:"flex flex-[.5] flex-col gap-y-1.5",children:(0,s.jsxs)("div",{className:"flex gap-x-2 rounded-[3rem] bg-primary-white-150/75 py-2.5 pl-3 pr-5",children:[(0,s.jsx)("img",{src:Ot,className:"w-[42px]",alt:""}),(0,s.jsxs)("div",{className:"flex flex-col gap-y-px",children:[(0,s.jsxs)("div",{className:"flex items-center gap-x-1",children:[(0,s.jsx)("img",{src:Lt,className:"h-[14px] w-[14px] justify-self-end",alt:"steps icon"}),(0,s.jsx)("span",{className:"text-left text-[11px] font-semibold leading-[14px] text-[#010102]",children:(0,g.H3)(Zt)})]}),(0,s.jsxs)("div",{className:"flex items-center gap-x-1 ",children:[(0,s.jsx)("img",{src:It,className:"h-[14px] w-[14px] justify-self-end",alt:"time icon"}),(0,s.jsx)("span",{className:"text-left text-[11px] font-semibold leading-[14px] text-[#010102]",children:(0,g.H3)(Yt)})]}),(0,s.jsxs)("div",{className:"flex items-center gap-x-1 ",children:[(0,s.jsx)("img",{src:Pt,className:"h-[14px] w-[14px] justify-self-end",alt:"flame icon"}),(0,s.jsx)("span",{className:"text-left text-[11px] font-semibold leading-[14px] text-[#010102]",children:(0,g.H3)(Ft)})]})]})]})})})},ea=function(e){var t=e.disabledClick,a=void 0!==t&&t,n=(0,i.useRef)(null),r=(0,i.useRef)(null),l=(0,i.useRef)(null),c=(0,i.useRef)(null);return(0,i.useEffect)((function(){(0,N.p$)()||function(){var e=n.current,t=r.current,a=l.current,s=c.current;I.ZP.timeline({repeat:-1,repeatDelay:3}).fromTo(a,{zIndex:0,yPercent:100},{zIndex:1}).fromTo(t,{opacity:1},{opacity:0,duration:.5}).to(a,{y:0,duration:.5,yPercent:0,delay:.1}).fromTo(s,{opacity:0,yPercent:30,delay:.1},{opacity:1,duration:.5,yPercent:0,delay:.1}).to({},{duration:3}).set(a,{zIndex:0}).set(e,{yPercent:100,zIndex:1}).set(t,{yPercent:30}).to(s,{opacity:0,duration:.5}).to(e,{y:0,duration:.5,yPercent:0,delay:.1}).to(t,{opacity:1,duration:.5,yPercent:0,delay:.1})}()}),[]),(0,s.jsx)("div",{className:"gpu relative flex h-16 items-center gap-2 overflow-hidden rounded-[64px]",children:(0,s.jsxs)("div",{className:"relative h-16 w-full",children:[(0,s.jsx)("div",{className:"relative top-0 left-0 flex h-16 w-full",ref:n,children:(0,s.jsx)(K,{appButtonLocation:"dashboard",linkId:"morning-brief",tracking:{path:"/app/morning-brief",pageTitle:"Morning Brief"},className:"!absolute top-0 left-0 flex h-full w-full flex-col items-center justify-center bg-[linear-gradient(90deg,_#A1C8FF,_#CCFDF4)] px-2 py-2",disabledClick:a,children:(0,s.jsxs)("p",{className:"text-center text-sm font-bold text-black",ref:r,children:[(0,s.jsx)("span",{className:"block text-[10px] leading-3",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_BUTTON_MORNING_TIME"]}),g.t["@PARADIGM_AI-BRIEF_WIDGET_BUTTON_MORNING_TEXT"]]})})}),(0,s.jsx)("div",{className:"absolute top-0 left-0 flex h-16 w-full items-center py-2 pl-16 pr-2",ref:l,children:(0,s.jsx)(K,{appButtonLocation:"dashboard",linkId:"evening-brief",tracking:{path:"/app/evening-brief",pageTitle:"Evening Brief"},className:"!absolute top-0 left-0 flex h-full w-full flex-col items-center justify-center bg-[linear-gradient(90deg,_#BCC8FF,_#FED4EA)] py-2 px-2",disabledClick:a,children:(0,s.jsxs)("p",{className:H()("text-center text-sm font-bold text-black opacity-0",{"!opacity-100":(0,N.p$)()}),ref:c,children:[(0,s.jsx)("span",{className:"block text-[10px] leading-3",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_BUTTON_EVENING_TIME"]}),g.t["@PARADIGM_AI-BRIEF_WIDGET_BUTTON_EVENING_TEXT"]]})})})]})})},ta="/_next/static/media/galaxy-ai-no-background.5b838e20.svg",aa=a(97926),sa=a(29996),ia=function(e){var t=e.hideLabel,a=e.appButtonLocation,i=(0,re.ON)(),n=i.isAppActive,r=i.offerPair,l=R().setRef,c=Pe("special");return n()?(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)(le,{hideLabel:t,appButtonLocation:a}),(0,s.jsx)(Ie,{ref:function(e){return l("specialOfferText",e)},arrowPosition:"ae"===g.t.getLanguage()?"bottom-left":"bottom-right",className:"absolute bottom-[120px] hidden opacity-0 ltr:right-[-15px] rtl:left-[-15px]",headerContent:r.title?r.title:g.t["@PARADIGM_CONTENT-GUIDE_SPECIAL-OFFER-POPUP_HEADER"],bodyContent:r.popupText?r.popupText:g.t["@PARADIGM_CONTENT-GUIDE_SPECIAL-OFFER-POPUP_BODY_MAIN"]}),(0,s.jsx)("div",{className:"pointer-events-none absolute top-0 flex hidden w-full justify-center opacity-0",ref:function(e){return l("specialOffer",e)},children:(0,s.jsx)(Re.Z,{path:c,height:58,width:58,loop:!0})})]}):(0,s.jsx)(ne,{hideLabel:t,appButtonLocation:a})},na=function(){var e=(0,re.ON)(),t=e.isAppActive,a=e.offerPair,i=t(),n=a&&i?a.tutorialText:g.t["TRY-GALAXY_TUTORIAL-SCREEN_LEARN-MORE-TEXT"];return(0,s.jsx)("div",{className:"absolute -top-14 -left-[50%] mb-3 w-[200%] whitespace-pre-line text-center text-sm font-semibold text-white",children:n})},ra={hr:"hr:text-xs hr:foldCover:text-[10px]",lt:"lt:foldCover:text-xs"},la={es:"es:xsm:px-3",se:"se:xsm:px-4"},ca=H()(Object.values(ra)),oa=H()(Object.values(la)),da=function(e){var t=e.isTutorialOverlay,a=e.highlightsRef,n=(0,P.qr)().isAppOpen,r=(0,P.q0)(),l=r.isDashboardSearchOpen,c=r.theme,o=(0,xt.p)().isDeviceFold,d=function(){var e=(0,i.useRef)(!0);return!0===e.current?(e.current=!1,!0):e.current}(),u=(0,i.useRef)(null),p=(0,i.useRef)(null),x=(0,i.useRef)(null),f=(0,i.useRef)([]),m=(0,i.useRef)(null),h=(0,i.useRef)([]),A=(0,i.useRef)(null),E=R().setRef,v="cn"===g.t.getLanguage(),C=t?"tutorial-overlay":"dashboard",j=Pe("smartswitch"),N=Pe("settings"),T=Pe("galaxyeco");(0,i.useEffect)((function(){var e=u.current;l||(n?I.ZP.to(e,{scale:.9,opacity:.5,duration:.4,transformOrigin:"50% 100%",delay:0}):I.ZP.to(e,{scale:1,opacity:1,duration:.4,transformOrigin:"50% 100%",delay:0}))}),[n,l]);var w=(0,i.useMemo)((function(){if(d){var e=new URLSearchParams(window.location.search).get("page");return e?isNaN(parseInt(e,10))?1:Math.min(Math.max(parseInt(e,10),1),2):1}}),[d]);return(0,s.jsx)("div",{className:"gpu relative h-full w-full","data-component":"dashboard-content",children:(0,s.jsx)("div",{className:"c-app-button relative h-full w-full","data-component":"app-themes-changes","data-theme":c,children:(0,s.jsxs)("div",{className:"gpu relative flex h-full w-full flex-col items-end justify-end","data-ref":"dashboard-content-container",ref:u,children:[(0,s.jsx)(ot,{sliderContainerRef:p,sliderListRef:x,sliderListItemsRef:f,sliderPaginationRef:m,sliderPaginationItemsRef:h,dashboardContainerRef:!t&&u,addPixelOffset:o,routable:!0,initialPage:w,children:(0,s.jsxs)("div",{className:"relative flex h-full w-full flex-col items-end justify-end","data-component":"slider","data-slider-type":"default","data-slider-extra-footer":'*[data-ref="dashboard-content-footer"]',"data-slider-position":"external","data-slider-location":"dashboard",ref:p,children:[(0,s.jsx)("div",{className:"h-full w-full justify-end",children:(0,s.jsxs)("div",{className:"gpu relative flex h-full justify-end","data-ref":"slider-list",ref:x,children:[(0,s.jsx)("div",{"data-ref":"slider-list-item",className:"gpu flex w-screen gap-5",ref:function(e){e&&!f.current.includes(e)&&f.current.push(e)},children:(0,s.jsxs)("div",{className:H()("gpu flex w-screen flex-col content-end gap-8",{"opacity-0":t}),children:[(0,s.jsx)("div",{className:H()("c-app-forecast gpu relative flex h-full w-full flex-col justify-end pt-5"),"data-component":"app-themes-changes","data-theme":c,"data-ref":"app-dashboard-welcome-animation",children:(0,s.jsxs)("div",{className:"c-app-forecast__content relative flex justify-between gap-x-[22px] px-6","data-component":"weather",ref:A,children:[(0,s.jsx)(Rt,{}),(0,s.jsxs)("div",{className:"relative z-10 flex flex-[.5] flex-col justify-between",children:[(0,s.jsx)("div",{className:"relative flex-[.5]",children:(0,s.jsx)(ea,{})}),(0,s.jsx)($t,{appButtonLocation:C})]})]})}),(0,s.jsx)("div",{className:F("gpu relative w-full self-end pb-4",{invisible:v}),"data-ref":"app-dashboard-welcome-animation",children:(0,s.jsx)("div",{className:"px-6",children:(0,s.jsx)("a",{href:"https://www.google.com/search?q=Samsung+Galaxy+S25+Ultra",target:"_blank","data-tracker":"c-tracker","data-track-title":"Dashboard","data-track-path":"/app/dashboard/google-search",rel:"noopener noreferrer",onClick:function(){(0,V.Kq)("/app/dashboard/google-search","Dashboard")},children:(0,s.jsxs)("div",{className:"gpu relative w-full overflow-hidden rounded-[30px] shadow-md",children:[(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 bg-white",style:{opacity:.9}}),(0,s.jsxs)("div",{className:"flex-no-wrap relative flex h-full min-h-[60px] w-full items-center justify-between px-4",children:[(0,s.jsx)("div",{className:"pl-1",children:(0,s.jsx)(tt,{})}),(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-center",children:[(0,s.jsx)("div",{className:"ltr:mr-5 rtl:ml-5",children:(0,s.jsx)("img",{src:st,className:"h-[26px] w-[18px]",alt:""})}),(0,s.jsx)("div",{className:"ltr:mr-1 rtl:ml-1",children:(0,s.jsx)("img",{src:at,className:"w-[32px]",alt:""})})]})]})]})})})}),(0,s.jsxs)("div",{className:"gpu relative grid w-full grid-cols-4 px-3 text-center",children:[(0,s.jsx)("div",{className:"relative flex justify-center",children:(0,s.jsxs)("div",{className:"relative","data-ref":"app-dashboard-welcome-animation",children:[(0,s.jsx)(ee,{appButtonLocation:C}),(0,s.jsx)(Ie,{ref:function(e){return E("smartSwitchText",e)},arrowPosition:"ae"===g.t.getLanguage()?"bottom-right":"bottom-left",className:"absolute bottom-[120px] hidden opacity-0 ltr:left-[-15px] rtl:right-[-15px]",headerContent:g.t["@PARADIGM_CONTENT-GUIDE_SMART-SWITCH-POPUP_HEADER"],bodyContent:g.t["@PARADIGM_CONTENT-GUIDE_SMART-SWITCH-POPUP_BODY_MAIN"]}),(0,s.jsx)("div",{className:"pointer-events-none absolute top-0 flex hidden w-full justify-center opacity-0",ref:function(e){return E("smartSwitch",e)},children:(0,s.jsx)(Re.Z,{path:j,height:58,width:58,loop:!0})})]})}),(0,s.jsx)("div",{"data-ref":"app-dashboard-welcome-animation",children:(0,s.jsx)(Q,{appButtonLocation:C})}),(0,s.jsx)("div",{"data-ref":"app-dashboard-welcome-animation",children:(0,s.jsx)($,{appButtonLocation:C})}),(0,s.jsx)("div",{"data-ref":"app-dashboard-welcome-animation",className:H()("relative flex justify-center",{"opacity-0":t}),children:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)(J,{appButtonLocation:C}),(0,s.jsx)(Ie,{ref:function(e){return E("settingsText",e)},arrowPosition:"ae"===g.t.getLanguage()?"bottom-left":"bottom-right",className:"absolute bottom-[120px] hidden opacity-0 ltr:right-[-15px] rtl:left-[-15px]",headerContent:g.t["@PARADIGM_CONTENT-GUIDE_SETTINGS-POPUP_HEADER"],bodyContent:g.t["@PARADIGM_CONTENT-GUIDE_SETTINGS-POPUP_BODY_MAIN"]}),(0,s.jsx)("div",{className:"pointer-events-none absolute top-0 flex hidden w-full justify-center opacity-0",ref:function(e){return E("settings",e)},children:(0,s.jsx)(Re.Z,{path:N,height:58,width:58,loop:!0})})]})})]})]})}),(0,s.jsxs)("div",{className:"gpu grid w-screen gap-5","data-ref":"slider-list-item",ref:function(e){e&&!f.current.includes(e)&&f.current.push(e)},children:[(0,s.jsxs)("div",{className:"gpu pointer-events-none relative z-10 w-full",children:[(0,s.jsxs)("div",{className:H()("gpu relative w-full px-5 xsm:px-3",{"opacity-0 drop-shadow-appIconIntro":t},oa),ref:function(e){t&&a&&(a.current=(0,L.Z)((0,_.Z)({},a.current),{widget:e}))},children:[(0,s.jsx)(et,{isTutorialOverlay:t}),(0,s.jsx)(Ie,{ref:function(e){return E("galaxyAIText",e)},arrowPosition:"top",className:"absolute top-[105%] left-[50%] hidden -translate-x-1/2 transform opacity-0 b2b:xxs:top-[110%]",headerContent:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(sa.Z,{languages:["ae"],children:[g.t["@PARADIGM_CONTENT-GUIDE_GALAXY-AI-POPUP_HEADER"],(0,s.jsx)("div",{className:"relative mx-1 inline-block w-5",children:(0,s.jsx)("img",{src:ta,alt:""})})]}),(0,s.jsxs)(aa.Z,{languages:["ae"],children:[(0,s.jsx)("div",{className:"relative mx-1 inline-block w-5",children:(0,s.jsx)("img",{src:ta,alt:""})}),g.t["@PARADIGM_CONTENT-GUIDE_GALAXY-AI-POPUP_HEADER"]]})]}),bodyContent:g.t["@PARADIGM_CONTENT-GUIDE_GALAXY-AI-POPUP_BODY_MAIN"]}),(0,s.jsx)("div",{className:"pointer-events-none absolute top-[9px] right-[-26px] hidden w-full justify-center opacity-0",ref:function(e){return E("galaxyAI",e)}})]}),t&&(0,s.jsx)("div",{className:"absolute flex w-full items-center justify-center whitespace-pre-line text-center text-sm font-semibold text-white opacity-0",ref:function(e){a.current=(0,L.Z)((0,_.Z)({},a.current),{widgetText:e})},children:(0,s.jsx)("div",{className:"mt-3 flex w-full items-center justify-center",children:g.t["TRY-GALAXY_TUTORIAL-SCREEN_WIDGET-TEXT"]})})]}),(0,s.jsx)("div",{className:"self-end",children:(0,s.jsxs)("div",{className:"gpu relative grid w-full grid-cols-4 gap-y-8 px-3 text-center",children:[(0,s.jsx)("div",{className:H()({"opacity-0 drop-shadow-appIconIntro":t}),children:(0,s.jsx)(Nt,{appButtonLocation:C,hideLabel:t})}),(0,s.jsx)("div",{className:H()({"opacity-0 drop-shadow-appIconIntro":t}),children:(0,s.jsx)(Tt,{appButtonLocation:C,hideLabel:t})}),(0,s.jsx)("div",{className:H()({"opacity-0 drop-shadow-appIconIntro":t}),children:(0,s.jsx)(wt,{appButtonLocation:C,hideLabel:t})}),(0,s.jsx)("div",{className:H()({"opacity-0 drop-shadow-appIconIntro":t}),ref:function(e){t&&a&&(a.current=(0,L.Z)((0,_.Z)({},a.current),{fold:e}))},children:(0,s.jsx)(ft,{appButtonLocation:C,hideLabel:t})}),(0,s.jsx)("div",{className:H()({"opacity-0 drop-shadow-appIconIntro":t}),children:(0,s.jsx)(_t,{appButtonLocation:C,hideLabel:t})}),t?(0,s.jsx)("div",{className:H()({"flex flex-col":t}),children:(0,s.jsx)("div",{className:"w-[200%] opacity-0",ref:function(e){t&&a&&(a.current=(0,L.Z)((0,_.Z)({},a.current),{wearablesText:e}))},children:(0,s.jsx)("div",{className:H()("absolute w-[200%] whitespace-pre-line pt-2 text-start text-sm font-semibold text-white",ca),children:g.t["@UNPACKED_TRY-GALAXY_TUTORIAL-WEARABLES-TEXT"]})})}):(0,s.jsx)("div",{className:"relative flex justify-center",children:(0,s.jsxs)("div",{className:H()("relative",{"opacity-0":t}),children:[(0,s.jsx)(gt,{appButtonLocation:C}),(0,s.jsx)(Ie,{ref:function(e){return E("ecosystemText",e)},arrowPosition:"bottom",className:"absolute bottom-[120px] left-[-103px] hidden opacity-0 foldCover:left-[-95px]",headerContent:g.t["@PARADIGM_CONTENT-GUIDE_ECOSYSTEM-POPUP_HEADER"],bodyContent:g.t["@PARADIGM_CONTENT-GUIDE_ECOSYSTEM-POPUP_BODY_MAIN"]}),(0,s.jsx)("div",{className:"pointer-events-none absolute top-0 flex hidden w-full justify-center opacity-0",ref:function(e){return E("ecosystem",e)},children:(0,s.jsx)(Re.Z,{path:T,height:58,width:58,loop:!0})})]})}),(0,s.jsxs)("div",{className:H()({"flex flex-col items-center":t}),children:[t&&(0,s.jsx)("div",{className:"w-[200%] opacity-0",ref:function(e){t&&a&&(a.current=(0,L.Z)((0,_.Z)({},a.current),{learnMoreOrSpecialOfferText:e}))},children:(0,s.jsx)(na,{})}),(0,s.jsxs)("div",{className:H()({"opacity-0 drop-shadow-appIconIntro":t}),ref:function(e){t&&a&&(a.current=(0,L.Z)((0,_.Z)({},a.current),{learnMoreOrSpecialOffer:e}))},children:[(0,s.jsx)(vt.Z,{children:(0,s.jsx)(ia,{hideLabel:t,appButtonLocation:C})}),(0,s.jsx)(Ct.Z,{children:(0,s.jsx)(jt,{hideLabel:t,appButtonLocation:C})})]})]}),(0,s.jsx)("div",{className:H()({"opacity-0":t}),children:(0,s.jsx)(Et,{appButtonLocation:C})})]})})]})]})}),(0,s.jsxs)("div",{className:H()("c-app-dashboard-pagination flex-no-wrap align-center gpu relative my-8 flex w-full items-center justify-center",{"opacity-0":t}),"data-ref":"slider-pagination",ref:m,"data-component":"app-themes-changes","data-theme":c,children:[(0,s.jsxs)("div",{className:"relative h-[6px] w-[7px] ltr:mr-[10px] rtl:ml-[10px]",children:[(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0",children:(0,s.jsx)("img",{src:D("dashboard/icon-pagination-extra.png"),className:"absolute -translate-x-1/2 -translate-y-1/2 transform opacity-25",style:{left:"50%",top:"50%"},alt:""})}),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0",children:(0,s.jsx)("img",{src:D("dashboard/icon-pagination-extra.png"),className:"absolute -translate-x-1/2 -translate-y-1/2 transform opacity-25",style:{left:"50%",top:"50%"},alt:""})})]}),(0,s.jsxs)("div",{className:"relative h-[7px] w-[7px]",style:"ae"===g.t.getLanguage()?{marginLeft:"10px"}:{marginRight:"10px"},children:[(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0",children:(0,s.jsx)("img",{src:D("dashboard/icon-pagination-first.png"),className:"absolute -translate-x-1/2 -translate-y-1/2 transform opacity-50",style:{left:"50%",top:"50%"},alt:""})}),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0",children:(0,s.jsx)("img",{src:D("dashboard/icon-pagination-first.png"),className:"absolute -translate-x-1/2 -translate-y-1/2 transform",style:{left:"50%",top:"50%"},"data-ref":"slider-pagination-item",ref:function(e){e&&!h.current.includes(e)&&h.current.push(e)},alt:""})})]}),(0,s.jsxs)("div",{className:"relative h-[6px] w-[6px] overflow-hidden rounded-full ltr:mr-0 rtl:ml-0",children:[(0,s.jsx)("div",{className:"c-app-dashboard-pagination__circle absolute bottom-0 left-0 right-0 top-0 rounded-full opacity-50"}),(0,s.jsx)("div",{className:"c-app-dashboard-pagination__circle absolute bottom-0 left-0 right-0 top-0 bg-white","data-ref":"slider-pagination-item","data-component":"app-themes-changes","data-theme":c,ref:function(e){e&&!h.current.includes(e)&&h.current.push(e)}})]})]})]})}),(0,s.jsx)(Oe,{isTutorialOverlay:t,highlightsRef:a})]})})})},ua=function(e,t,a){var s,i,n,r;switch(t){case"up":s=window.innerWidth/2,i=window.innerHeight-100,n=s,r=100;break;case"down":i=100,n=s=window.innerWidth/2,r=window.innerHeight-100;break;case"left":s=window.innerWidth,n=0,r=i=window.innerHeight/2;break;case"right":s=0,i=window.innerHeight/2,n=window.innerWidth,r=i;break;case"down-top-right":i=100,n=s=window.innerWidth-50,r=window.innerHeight-100;break;default:return void console.error("Unsupported direction: ".concat(t))}!function(t,a){var s=new TouchEvent("touchstart",{touches:[new Touch({identifier:Date.now(),target:e,pageX:t,pageY:a})],bubbles:!0,cancelable:!0,composed:!0});e.dispatchEvent(s)}(s,i),function(t,s,i,n){var r=0,l=(i-t)/a,c=(n-s)/a,o=function(){var d=t+l*r,u=s+c*r,p=new TouchEvent("touchmove",{touches:[new Touch({identifier:Date.now(),target:e,pageX:d,pageY:u})],bubbles:!0,cancelable:!0,composed:!0});e.dispatchEvent(p),++r<a?requestAnimationFrame(o):function(t,a){var s=new TouchEvent("touchend",{touches:[new Touch({identifier:Date.now(),target:e,pageX:t,pageY:a})],bubbles:!0,cancelable:!0,composed:!0});e.dispatchEvent(s)}(i,n)};o()}(s,i,n,r)},pa=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,a=document.querySelectorAll('*[data-component="slider"][data-slider-location="dashboard"]');a.forEach((function(a){ua(a,e,t)}))},xa=function(){var e=R().guideFlowRef,t=(0,i.useRef)(null),a="Android"===n.Z.instance.getOS(),s=(0,i.useState)("1"),r=s[0],l=s[1],c=(0,i.useRef)(r),o=(0,P.q0)(),d=o.isGuideFlowFirstPlay,u=o.setIsGuideFlowFirstPlay,p=o.start,x=o.theme,f=(0,P.qr)().colourPaletteIndex;c.current=r;var m={onTransition:!1};return(0,i.useLayoutEffect)((function(){if(null!==d&&p){var s=e.current,i=s.camera,n=s.cameraText,r=s.ecosystem,o=s.ecosystemText,x=s.gallery,f=s.galleryText,h=s.galaxyAI,A=s.galaxyAIText,E=s.settings,g=s.settingsText,v=s.smartSwitch,C=s.smartSwitchText,j=s.specialOffer,N=s.specialOfferText,T=[i,r,x,E,h,v,j],w=[n,o,f,g,A,C,N],_=(0,pe.Z)([i,r,x,E,v,j].map((function(e){return null===e||void 0===e?void 0:e.parentElement.querySelector("img[data-ref=app-link-icon]")})),6),b=_[0],S=_[1],y=_[2],R=_[3],L=_[4],P=_[5],O=[b,S,y,R,L,P],M=I.ZP.timeline(),D=function(){if(!m.onTransition){m.onTransition=!0;var e="1"===c.current;M.set(T,{display:"none",opacity:0}).set(w,{display:"none",opacity:0});if(e&&M.add(function(){var e=I.ZP.timeline();return e.set([i,n],{display:"flex"},"+=0.6").fromTo(i,{opacity:0},{opacity:1,duration:.6,ease:"power3.out"}).set([b],{opacity:0},"<+=0.3").fromTo(n,{opacity:0,scale:.9},{opacity:1,scale:1,duration:.6,ease:"power3.out"},"+=3").to([i,n],{opacity:0,duration:.6,ease:"power3.in"},"+=3").set([b],{opacity:1},">-0.35").set([i,n],{display:"none",opacity:0}).set([E,g],{display:"flex"},"+=1").fromTo(E,{opacity:0},{opacity:1,duration:.6,ease:"power3.out"}).set([R],{opacity:0},"<+=0.3").fromTo(g,{opacity:0,scale:.9},{opacity:1,scale:1,duration:.6,ease:"power3.out"},"+=3").to([E,g],{opacity:0,duration:.6,ease:"power3.in"},"+=3").set([R],{opacity:1},">-0.35").set([E,g],{display:"none",opacity:0}).set([x,f],{display:"flex"},"+=1").fromTo(x,{opacity:0},{opacity:1,duration:.6,ease:"power3.out"}).set([y],{opacity:0},"<+=0.3").fromTo(f,{opacity:0,scale:.9},{opacity:1,scale:1,duration:.6,ease:"power3.out"},"+=3").to([x,f],{opacity:0,duration:.6,ease:"power3.in",onComplete:function(){a&&d&&pa("left")}},"+=3").set([y],{opacity:1},">-0.35").set([x,f],{display:"none",opacity:0}),e}(),"+=0.1"),a?M.add(function(){var e=I.ZP.timeline();return e.set([r,o],{display:"flex"},"+=1").fromTo(r,{opacity:0},{opacity:1,duration:.6,ease:"power3.out"}).set([S],{opacity:0},"<+=0.3").fromTo(o,{opacity:0,scale:.9},{opacity:1,scale:1,duration:.6,ease:"power3.out"},"+=3").to([r,o],{opacity:0,duration:.6,ease:"power3.in"},"+=3").set([S],{opacity:1},">-0.35").set([r,o],{display:"none",opacity:0}),e}(),"+=0.5"):e&&M.add(function(){var e=I.ZP.timeline();return e.set([v,C],{display:"flex"},"+=1").fromTo(v,{opacity:0},{opacity:1,duration:.6,ease:"power3.out"}).set([L],{opacity:0},"<+=0.3").fromTo(C,{opacity:0,scale:.9},{opacity:1,scale:1,duration:.6,ease:"power3.out"},"+=3").to([v,C],{opacity:0,duration:.6,ease:"power3.in"},"+=3").set([L],{opacity:1},">-0.35").set([v,C],{display:"none",opacity:0,onComplete:function(){d&&pa("left")}}),e}(),"+=0.5"),e&&!d||M.add(function(){var e=I.ZP.timeline();return e.set([h,A],{display:"flex"},"+=1").fromTo(h,{opacity:0},{opacity:1,duration:.6,ease:"power3.out"}).fromTo(A,{opacity:0,scale:.9},{opacity:1,scale:1,duration:.6,ease:"power3.out"},"+=3").to([h,A],{opacity:0,duration:.6,ease:"power3.in"},"+=3").set([h,A],{display:"none",opacity:0,onComplete:function(){j||(m.onTransition=!1)}},"+=0.5"),e}(),"+=0.1"),j&&!e){M.add(function(){var e=I.ZP.timeline();return e.set([j,N],{display:"flex"},"+=1").fromTo(j,{opacity:0},{opacity:1,duration:.6,ease:"power3.out"}).set([P],{opacity:0},"<+=0.3").fromTo(N,{opacity:0,scale:.9},{opacity:1,scale:1,duration:.6,ease:"power3.out"},"+=3").to([j,N],{opacity:0,duration:.6,ease:"power3.in"},"+=3").set([P],{opacity:1},">-0.35").set([j,N],{display:"none",opacity:0,onComplete:function(){m.onTransition=!1}},"+=0.5"),e}(),"+=0.5")}}},k=function(e){if(p&&(!d||"touchmove"!==(null===e||void 0===e?void 0:e.type))){var a=I.ZP.timeline();M.clear(),m.onTransition=!1,u(!1),a.set(T,{display:"none",opacity:0}).set(w,{display:"none",opacity:0}).set(O,{opacity:1}),t.current&&clearTimeout(t.current),t.current=setTimeout((function(){if(!m.onTransition){var e=new URLSearchParams(window.location.search);l(e.get("page")),D()}}),1e4)}},H=["mousemove","keydown","scroll","click","touchmove"],B=function(e,t){var a;return function(){for(var s=arguments.length,i=new Array(s),n=0;n<s;n++)i[n]=arguments[n];a&&clearTimeout(a),a=setTimeout((function(){e.apply(void 0,(0,G.Z)(i))}),t)}}(k,300),U=function(e){return B(e)};return H.forEach((function(e){window.addEventListener(e,U)})),d?D():k(),function(){H.forEach((function(e){window.removeEventListener(e,U)})),clearTimeout(t.current)}}}),[e,d,x,f]),null},fa=function(e){var t=e.isTutorialOverlay,a=void 0!==t&&t,n=e.highlightsRef,r=D("dashboard/background.jpg"),l=(0,P.q0)().theme,c=D("dashboard/secondary-background.png"),o="cute"===l,d="gen-z"===l,u=(0,i.useMemo)((function(){switch(l){case"gen-z":return{background:"#96DD6B"};case"cute":return{background:"#FFB9CA"};default:return{backgroundImage:"url(".concat(r,")")}}}),[l]);return(0,s.jsxs)("div",{className:H()("absolute inset-0 overflow-hidden text-white",{"pointer-events-none":a}),"data-component":"dashboard",children:[(0,s.jsx)("div",{className:H()("gpu absolute inset-0 w-[calc(100vw_+_0.5px)] bg-cover bg-center",{"opacity-0":a}),"data-component":"app-themes-changes","data-ref":"dashboard-background",style:u}),o&&(0,s.jsx)("div",{className:"gpu absolute top-[calc(100%_-_610px)] left-0 right-0 h-[143px] bg-auto bg-center bg-no-repeat md:top-[calc(100%_-_650px)]",style:{backgroundImage:"url(".concat(c,")")}}),(0,s.jsx)("div",{className:"gpu absolute inset-0 bg-black bg-cover bg-center opacity-0","data-ref":"dashboard-overlay"}),(0,s.jsx)("div",{className:"gpu absolute left-0 right-0 mt-0 md:mt-6",style:{top:"40px",height:"calc(100% - 100px)"},children:(0,s.jsxs)(y,{children:[d&&(0,s.jsx)("div",{className:"gpu absolute top-[calc(100%_-_550px)] left-0 right-0 flex items-center justify-center bg-auto bg-center bg-no-repeat",children:(0,s.jsx)("img",{src:c,className:"h-32",alt:""})}),(0,s.jsx)(da,{isTutorialOverlay:a,highlightsRef:n}),a||(0,s.jsx)(xa,{})]})})]})},ma=function(){return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15",className:"gpu",children:(0,s.jsxs)("g",{fill:"none",stroke:"currentColor","data-ref":"dashboard-footer-button-stroke",strokeWidth:"2",children:[(0,s.jsx)("rect",{width:"15",height:"15",rx:"5",stroke:"none"}),(0,s.jsx)("rect",{x:"1",y:"1",width:"13",height:"13",rx:"4",fill:"none"})]})})},ha=function(){return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",className:"gpu",children:(0,s.jsxs)("g",{transform:"translate(-548.5 -759.5)",children:[(0,s.jsx)("line",{y2:"14",transform:"translate(549.5 759.5)",fill:"none","data-ref":"dashboard-footer-button-stroke",stroke:"currentColor",strokeWidth:"2"}),(0,s.jsx)("line",{y2:"14",transform:"translate(555.5 759.5)",fill:"none","data-ref":"dashboard-footer-button-stroke",stroke:"currentColor",strokeWidth:"2"}),(0,s.jsx)("line",{y2:"14",transform:"translate(561.5 759.5)",fill:"none","data-ref":"dashboard-footer-button-stroke",stroke:"currentColor",strokeWidth:"2"})]})})},Aa=function(){return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8.633",height:"14.438",viewBox:"0 0 8.633 14.438",className:"gpu",children:(0,s.jsx)("path",{d:"M767.8,760.341l-5.8,5.8,5.8,5.8",transform:"translate(-760.58 -758.927)",fill:"none","data-ref":"dashboard-footer-button-stroke",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"})})},Ea=a(96462),ga=function(e,t,a,s){var n=(0,i.useState)(0),r=n[0],l=n[1];return(0,i.useEffect)((function(){if(e){var i=null,n=function(){l((function(e){return e+1}))},c=function(){l(0),i&&clearTimeout(i)};return r>=a&&(s(),c()),e.addEventListener("click",n),i=setTimeout((function(){c()}),t),function(){e&&e.removeEventListener("click",n)}}}),[e,t,a,r,s]),r},va="ae"===g.t.getLanguage(),Ca=function(e){var t=(0,P.qr)(),a=t.appName,r=t.isAppOpen,l=t.setIsAppOpen,c=t.backButtonStack,o=t.isHideFooter,d=(0,P.UN)().homeButtonEventRef,u=(0,P.$V)(),p=u.status,x=u.setStatus,f=u.setCall,m=(0,pt.O)().pushOverlayStack,h=(0,xt.p)().isDeviceFold,A=(0,P.q0)(),E=A.theme,v=A.isDashboardSearchOpen,C=A.setIsDashboardSearchOpen,j=A.isOnSearch,N=A.setIsOnSearch,T=A.isNavAvailable,w="gen-z"===E,_="art"===E,b="cute"===E,S="#000000",y=(0,i.useRef)(null),R=(0,i.useRef)(null);return ga(R.current,1500,3,(function(){var e=n.Z.instance.isSamsungBrowser();he.XP&&!e&&m({data:{title:g.t["QUIT-POP-UP_TITLE"],text:g.t["QUIT-POP-UP_DESCRIPTION"],cta:{text:g.t["QUIT-POP-UP_CTA_DONT-QUIT"],color:"#858585",fontWeight:400},secondaryCta:{text:g.t["QUIT-POP-UP_CTA-QUIT"],handleClick:function(){h?window.parent.close():close()}},closeOnBackgroundClick:!0,textAlign:va?"right":"left"},type:"alert"})})),(0,i.useEffect)((function(){var t=e.dashboardFooterRef.current;I.ZP.set(t,{opacity:o?0:1,duration:.2,delay:0})}),[o]),(0,i.useEffect)((function(){var t=e.dashboardFooterRef.current;r?I.ZP.set(t,{color:"#a8a8a8",backgroundColor:"rgba(255, 255, 255, 0)",duration:.2,delay:.25}):v&&!b||/default|flip-z-6|leaf|tie-dye/.test(E)?I.ZP.set(t,{color:"#ffffff",backgroundColor:"rgba(255, 255, 255, 0)",duration:.2,delay:0}):I.ZP.set(t,{color:w||_?"#ffffff":"#555555",backgroundColor:"rgba(255, 255, 255, 0)",duration:.2,delay:0})}),[r,v,E,a]),(0,i.useEffect)((function(){var e=y.current;return"incoming"===p?I.ZP.to(e,{opacity:0,duration:.3,ease:"power3.out"}):I.ZP.to(e,{opacity:1,duration:.3,ease:"power3.out"}),function(){}}),[p]),(0,s.jsx)("div",{className:H()({hidden:!T}),children:(0,s.jsx)("div",{ref:y,children:(0,s.jsxs)("div",{className:H()("relative z-50 w-full text-white",{"pointer-events-none":""!==p&&"end"!==p}),"data-component":"dashboard-footer",ref:e.dashboardFooterRef,id:"'dashboard-footer'",children:[(0,s.jsx)("div",{className:"absolute inset-0","data-ref":"dashboard-footer-background"}),(0,s.jsxs)("div",{className:"flex-no-wrap relative flex w-full justify-around px-4 pb-6 xxs:pb-2","data-ref":"dasboard-footer-container",dir:"ltr",children:[(0,s.jsx)("div",{className:"w-full text-center",children:(0,s.jsx)(ht,{title:"",text:g.t["TRY-GALAXY_HOME-SCREEN-ONE_NAV_MENU-POP-UP"],cta:{text:g.t["TRY-GALAXY_HOME-SCREEN-ONE_OK_CTA"]},children:(0,s.jsx)("div",{className:"relative flex w-full items-center justify-center","data-ref":"dashboard-footer-button-menu","data-component":"app-alert-button","data-app-alert-button-title":"","data-app-alert-button-text":"Galaxy gives you lots of great options for navigation. You can quickly view all your open apps here, or swipe up from the homescreen to view every available app in one place.","data-app-alert-button-cta":"OK",children:(0,s.jsxs)("div",{className:"relative w-full text-center",children:[(0,s.jsx)(Ea.Z,{backgroundColor:S}),(0,s.jsx)("div",{className:"gpu pointer-events-none relative flex justify-center py-4",children:(0,s.jsx)(ha,{})})]})})})}),(0,s.jsx)("div",{className:"w-full text-center",children:(0,s.jsx)("div",{className:"relative flex w-full items-center justify-center","data-ref":"dashboard-footer-button-home",ref:R,children:(0,s.jsxs)("div",{className:"relative w-full text-center",children:[(0,s.jsx)(Ea.Z,{backgroundColor:S,onClick:function(){if("kids"===a&&(null===d||void 0===d?void 0:d.current))d.current();else{if("end"===p)return l(!1),x(""),void f(null);v&&C(!1),j&&N(!1),l(!1)}}}),(0,s.jsx)("div",{className:"gpu pointer-events-none relative flex justify-center py-4",children:(0,s.jsx)(ma,{})})]})})}),(0,s.jsx)("div",{className:"relative flex w-full items-center justify-center text-center","data-ref":"dashboard-footer-button-back",children:(0,s.jsxs)("div",{className:"relative w-full text-center",children:[(0,s.jsx)(Ea.Z,{backgroundColor:S,onClick:function(){if("end"===p)return l(!1),x(""),void f(null);var e=c.length;0===e?l(!1):c[e-1].current(),r||(j?N(!1):C(!1))}}),(0,s.jsx)("div",{className:"gpu pointer-events-none relative flex justify-center py-4 rtl:-scale-x-100 rtl:transform",children:(0,s.jsx)(Aa,{})})]})})]})]})})})},ja=function(){var e=(0,P.qr)().isAppOpen,t=(0,i.useRef)(null);return(0,i.useEffect)((function(){var a=t.current;e?I.ZP.to(a,{opacity:1,duration:.4,delay:0}):I.ZP.to(a,{opacity:0,duration:.4,delay:0})}),[e]),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 overflow-hidden opacity-0","data-component":"dashboard-overlay",ref:t,children:(0,s.jsx)("div",{className:"absolute inset-0 bg-black opacity-50"})})},Na=function(e){var t=e.appButtonLocation,a=e.searchValue,i={path:"/app/quick-share",pageTitle:M.dC.QuickShare};return(0,s.jsxs)(K,{appButtonLocation:t,linkId:"quick-share",tracking:i,children:[(0,s.jsx)(K.Icon,{path:"icons/app-quick-share.png"}),(0,s.jsx)(K.Name,{lineOne:g.t["APPS-DRAWER_APP-TITLE_QUICK-SHARE-1"],lineTwo:g.t["APPS-DRAWER_APP-TITLE_QUICK-SHARE-2"],searchValue:a})]})},Ta=function(e){var t=e.appButtonLocation,a=e.searchValue,i={path:"/app/smart-things",pageTitle:M.dC.SmartThings};return(0,s.jsxs)(K,{appButtonLocation:t,linkId:"smart-things",tracking:i,children:[(0,s.jsx)(K.Icon,{path:"icons/app-smart-things.png"}),(0,s.jsx)(K.Name,{lineOne:g.t["APPS-DRAWER_APP-TITLE_SMART-THINGS-1"],lineTwo:g.t["APPS-DRAWER_APP-TITLE_SMART-THINGS-2"],searchValue:a})]})},wa=z.e.isGalaxyWatchPopUpShown,_a=function(){},ba=function(e){var t=e.appButtonLocation,a=e.searchValue,i=e.hideLabel,n=function(){if("tutorial-overlay"!==t){var e=window.location.search;ut().replace("/wearables/watch".concat(e)),(0,V.Kq)("/app/galaxy-watch",M.dC.GalaxyWatch,"pageview",t)}},r=wa?_a:n,l=wa?n:_a,c=!wa;return(0,s.jsx)(K,{appButtonLocation:t,onClick:r,linkId:"galaxy-watch",children:(0,s.jsxs)(ht,{title:g.t.GALAXY_WATCH_APP_BUTTON_POPUP_TITLE,text:g.t.GALAXY_WATCH_APP_BUTTON_POPUP_BODY,cta:{text:g.t.GALAXY_WATCH_APP_BUTTON_POPUP_CTA_BUTTON,handleClick:l},closeOnBackgroundClick:!0,ignoreClick:c,children:[(0,s.jsx)(K.Icon,{path:"icons/app-galaxy-watch.png"}),!i&&(0,s.jsx)(K.Name,{lineOne:g.t["@UNPACKED_APPS-DRAWER_APP-TITLE_WEARABLES-WATCH-1"],lineTwo:g.t["@UNPACKED_APPS-DRAWER_APP-TITLE_WEARABLES-WATCH-2"],searchValue:a})]})})},Sa=["KR","US","CA","BR","KZ","GB","FR","DE","IT","ES","SE","DK","FI","NO","CH","IN","VN","AU","SG","MY","AE","KW","QA","BH","OM","ZA","CN","TW","HK"],ya=["US","GB","DE","FR","KR","CN","CA","IT","ES","PT","NL","BE","AU","AE","IN","BR","MX","SE","FI","NO","DK","ID","TR","PL","TH","AT","CH","RO","SG","SA","TW","HK","CZ","GR","VN","PH","NZ","IL","ZA","HU","JP"],Ra=function(e){var t=e.appButtonLocation,a=e.searchValue,i=e.hideLabel,n=(0,te.o$)().countryCode,r=ya.includes(n);return(0,s.jsx)(K,{appButtonLocation:t,onClick:function(){if("tutorial-overlay"!==t){var e=window.location.search;if((0,V.Kq)("/app/galaxy-ring",M.dC.GalaxyRing,"pageview",t),!r)return;ut().replace("/wearables/ring".concat(e))}},linkId:"galaxy-ring",children:(0,s.jsxs)(ht,{title:g.t["GALAXY-RING_COMING-SOON-POP-UP_TITLE"],text:g.t["GALAXY-RING_COMING-SOON-POP-UP_TEXT"],cta:{text:g.t["GALAXY-RING_COMING-SOON-POP-UP_OK"]},closeOnBackgroundClick:!0,ignoreClick:r,children:[(0,s.jsx)(K.Icon,{path:"icons/app-galaxy-ring.png"}),!i&&(0,s.jsx)(K.Name,{lineOne:g.t["@UNPACKED_APPS-DRAWER_APP-TITLE_WEARABLES-RING-1"],lineTwo:g.t["@UNPACKED_APPS-DRAWER_APP-TITLE_WEARABLES-RING-2"],searchValue:a})]})})},La=function(e){var t=e.appButtonLocation,a=e.searchValue,i=e.hideLabel;return(0,s.jsxs)(K,{appButtonLocation:t,onClick:function(){if("tutorial-overlay"!==t){var e=window.location.search;ut().replace("/wearables/buds".concat(e)),(0,V.Kq)("/app/galaxy-buds",M.dC.GalaxyBuds,"pageview",t)}},linkId:"galaxy-buds",children:[(0,s.jsx)(K.Icon,{path:"icons/app-galaxy-buds.png"}),!i&&(0,s.jsx)(K.Name,{lineOne:g.t["@UNPACKED_APPS-DRAWER_APP-TITLE_WEARABLES-BUDS-1"],lineTwo:g.t["@UNPACKED_APPS-DRAWER_APP-TITLE_WEARABLES-BUDS-2"],searchValue:a})]})},Ia=function(e){var t=e.appButtonLocation,a=e.searchValue,i={path:"/app/kids",pageTitle:M.dC.Kids};return(0,s.jsxs)(K,{appButtonLocation:t,linkId:"kids",tracking:i,children:[(0,s.jsx)(K.Icon,{path:"icons/app-kids.png"}),(0,s.jsx)(K.Name,{lineOne:g.t["@PARADIGM_HOMESCREEN_APPS-DRAWER_APP-TITLE_KIDS-MODE-1"],searchValue:a})]})},Pa=function(e){var t=e.appButtonLocation,a=e.searchValue,i=(0,te.o$)().countryCode,n=Sa.includes(i),r={path:"/app/samsung-wallet",pageTitle:M.dC.SamsungWallet};return(0,s.jsx)(K,{appButtonLocation:t,outboundLink:!n,linkId:"samsung-wallet",tracking:r,children:(0,s.jsxs)(ht,{title:g.t["SAMSUNG-WALLET_UNSUPPORTED-POP-UP_TITLE"],text:g.t["SAMSUNG-WALLET_UNSUPPORTED-POP-UP_TEXT"],cta:{text:g.t["SAMSUNG-WALLET_UNSUPPORTED-POP-UP_OK"]},closeOnBackgroundClick:!0,ignoreClick:n,children:[(0,s.jsx)(K.Icon,{path:"icons/app-samsung-wallet.png"}),(0,s.jsx)(K.Name,{lineOne:g.t["@UNPACKED_APPS-DRAWER_APP-TITLE_SAMSUNG-WALLET-1"],searchValue:a})]})})},Oa=function(e){var t=e.color,a=void 0===t?"#ffffff":t;return(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"3.506",height:"17.528",viewBox:"0 0 3.506 17.528",children:[(0,s.jsx)("circle",{id:"Ellipse_3","data-name":"Ellipse 3",cx:"1.753",cy:"1.753",r:"1.753",fill:a}),(0,s.jsx)("circle",{id:"Ellipse_4","data-name":"Ellipse 4",cx:"1.753",cy:"1.753",r:"1.753",transform:"translate(0 7.011)",fill:a}),(0,s.jsx)("circle",{id:"Ellipse_5","data-name":"Ellipse 5",cx:"1.753",cy:"1.753",r:"1.753",transform:"translate(0 14.022)",fill:a})]})},Ma=function(e){var t=e.color,a=void 0===t?"#ffffff":t;return(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M17.417 11.5486L19.167 11.5756C19.113 15.1716 16.413 18.0446 12.875 18.4506V21.7846H11.125V18.4436C7.37601 17.9756 4.83301 14.6086 4.83301 11.5626H6.58301C6.58301 14.0166 8.81301 16.7506 12.015 16.7506C15 16.7506 17.373 14.4656 17.417 11.5486ZM11.9997 2.21533C13.8997 2.21533 15.4457 3.76133 15.4457 5.66033L15.4357 11.5513C15.4357 13.4503 13.8947 14.9963 11.9997 14.9963C10.1007 14.9963 8.55471 13.4503 8.55471 11.5513V5.66033C8.55471 3.76133 10.1007 2.21533 11.9997 2.21533Z",fill:a})})};function Da(e){return e<10?"0"+e:e}function Ga(e){return e.replace(/</g,"<").replace(/>/g,">").replace("javascript:","")}var ka=a(15953),Ha=function(e){var t=e.imgSrc,a=e.title,i=e.bodyText;return(0,s.jsxs)("div",{className:"flex h-[calc(100%_-_80px)] flex-col justify-between p-6 pb-0 text-start font-sans text-sm xxs:py-4",children:[(0,s.jsxs)("div",{className:"flex h-full flex-col justify-between",children:[(0,s.jsx)("img",{className:"mb-2 rounded-md md:mb-6 xxs:mb-0",src:t,alt:""}),(0,s.jsx)("div",{className:"w-full py-2 text-[17px] font-semibold xxs:text-[15px]",children:a})]}),(0,s.jsx)("p",{className:"h-full whitespace-pre-line text-xs leading-5 md:text-sm",children:i})]})},Ba="/_next/static/media/icon-arrow-top-right.6fe4cd88.svg",Ua="/_next/static/media/work-slider-knox-link.a29d0dc6.png",Za=function(e){var t=e.cta,a=e.icon,i=e.onClick;return(0,s.jsxs)("button",{className:"relative ltr:font-title rtl:font-titleAr",onClick:i,children:[(0,s.jsx)("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transform rounded-full bg-[#eee]",style:{width:"calc(100% + 10px)",height:"calc(100% + 10px)"}}),(0,s.jsxs)("div",{className:"relative flex items-end justify-center rounded-full border border-primary-gray-110 bg-white p-3 px-8 text-xs font-bold text-black",children:[(0,s.jsx)("p",{className:"mr-2",children:t}),(0,s.jsx)("img",{src:a,alt:""})]})]})},Ya=function(){return(0,s.jsxs)("div",{className:"flex h-[calc(100%_-_80px)] w-full flex-col justify-between p-6 pb-0 text-start font-sans text-sm xs:py-4 smd:py-4 xxs:py-2",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"mb-4 text-[17px] font-semibold xxs:mb-2 xxs:text-[15px]",children:g.t["WORK-SLIDER_LINKS-TITLE"]}),(0,s.jsx)("img",{className:"rounded-md",src:Ua,alt:""}),(0,s.jsxs)("p",{className:"py-2 xxs:text-xs",children:[g.t["WORK-SLIDER_LINKS_BODY"]," "]})]}),(0,s.jsx)("div",{className:"mb-2 flex h-full w-full items-center items-center justify-center xxs:mb-0",children:(0,s.jsx)("a",{target:"_blank",rel:"noreferrer",href:g.t["WORK-SLIDER_LINKS-KNOX-LINK"],children:(0,s.jsx)(Za,{cta:g.t["WORK-SLIDER_LINKS_CTA"],icon:Ba})})})]})},Fa=[(0,s.jsx)(Ha,{imgSrc:"/_next/static/media/work-slider-data-partition.03faeb2a.png",title:g.t["WORK-SLIDER_DATA-PARTITION_TITLE"],bodyText:g.t["WORK-SLIDER_DATA-PARTITION_BODY"]},0),(0,s.jsx)(Ha,{imgSrc:"/_next/static/media/work-slider-security.88d051a5.png",title:g.t["WORK-SLIDER_SECURITY_TITLE"],bodyText:g.t["WORK-SLIDER_SECURITY_BODY"]},1),(0,s.jsx)(Ha,{imgSrc:"/_next/static/media/work-slider-business.8210d9a9.jpg",title:g.t["WORK-SLIDER_BUSINESS_TITLE"],bodyText:g.t["WORK-SLIDER_BUSINESS_BODY"]},2),(0,s.jsx)(Ha,{imgSrc:"/_next/static/media/work-slider-connected.ac9af842.png",title:g.t["WORK-SLIDER_CONNECTED_TITLE"],bodyText:g.t["WORK-SLIDER_CONNECTED_BODY"]},3),(0,s.jsx)(Ha,{imgSrc:"/_next/static/media/work-slider-dex.3a3220f4.png",title:g.t["WORK-SLIDER_DEX-TITLE"],bodyText:g.t["WORK-SLIDER_DEX-BODY"]},4),(0,s.jsx)(Ya,{},5)],Va=function(e){var t=e.tracking,a=e.children,i=(0,pt.O)().pushOverlayStack;return(0,s.jsx)("div",{onClick:function(){i({data:{closeOnBackgroundClick:!0,pages:Fa,tracking:t},type:"slider"})},children:a})},Wa="/_next/static/media/work-badge.6b99fc15.png",Xa=function(e){var t=e.appButtonLocation,a=e.searchValue;return(0,s.jsx)(Va,{tracking:{page:M.dC.CalendarWork,path:"/app/dashboard-search/work-profile/calendar-work/slider"},children:(0,s.jsxs)(K,{linkId:"work-calendar","data-app-link-location":t,onClick:function(){(0,V.Kq)("/app/dashboard-search/work-profile/calendar",M.dC.CalendarWork,"pageview",t)},children:[(0,s.jsx)(K.Icon,{path:"icons/app-calendar.png"}),(0,s.jsx)("img",{src:Wa,className:"absolute -right-0 bottom-10 max-w-[24px]",alt:""}),(0,s.jsx)(K.Name,{lineOne:g.t["APPS-DRAWER_APP-TITLE_CALENDAR"],searchValue:a})]})})},Ka=function(e){var t=e.appButtonLocation,a=e.searchValue;return(0,s.jsx)(Va,{tracking:{page:M.dC.ContactsWork,path:"/app/dashboard-search/work-profile/contacts-work/slider"},children:(0,s.jsxs)(K,{linkId:"work-contacts","data-app-link-location":t,onClick:function(){(0,V.Kq)("/app/dashboard-search/work-profile/contacts",M.dC.ContactsWork,"pageview",t)},children:[(0,s.jsx)(K.Icon,{path:"icons/app-contacts.png"}),(0,s.jsx)("img",{src:Wa,className:"absolute -right-0 bottom-10 max-w-[24px]",alt:""}),(0,s.jsx)(K.Name,{lineOne:g.t["APPS-DRAWER_APP-TITLE_CONTACTS"],searchValue:a})]})})},Qa=function(e){var t=e.appButtonLocation,a=e.searchValue;return(0,s.jsx)(Va,{tracking:{page:M.dC.SamsungInternetWork,path:"/app/dashboard-search/work-profile/samsung-internet-work/slider"},children:(0,s.jsxs)(K,{linkId:"work-samsung-internet","data-app-link-location":t,onClick:function(){(0,V.Kq)("/app/dashboard-search/work-profile/samsung-internet",M.dC.SamsungInternetWork,"pageview",t)},children:[(0,s.jsx)(K.Icon,{path:"icons/app-samsung-internet.png"}),(0,s.jsx)("img",{src:Wa,className:"absolute -right-0 bottom-10 max-w-[24px]",alt:""}),(0,s.jsx)(K.Name,{lineOne:g.t["APPS-DRAWER_APP-TITLE_SAMSUNG-INTERNET-1"],lineTwo:g.t["APPS-DRAWER_APP-TITLE_SAMSUNG-INTERNET-2"],searchValue:a})]})})},za=z.e.settingsAppSearchKey,qa=function(e){var t=e.appButtonLocation,a=e.searchValue;return(0,s.jsx)(Va,{tracking:{page:M.dC.SettingsWork,path:"/app/dashboard-search/work-profile/settings-work/slider"},children:(0,s.jsxs)(K,{linkId:"work-settings","data-app-link-location":t,onClick:function(){(0,V.Kq)("/app/dashboard-search/work-profile/settings",M.dC.SettingsWork,"pageview",t)},children:[(0,s.jsx)(K.Icon,{path:"icons/app-settings.png"}),(0,s.jsx)("img",{src:Wa,className:"absolute -right-0 bottom-10 max-w-[24px]",alt:""}),(0,s.jsx)(K.Name,{lineOne:g.t[za],searchValue:a})]})})},Ja=function(e){var t=e.appButtonLocation,a=e.searchValue;return(0,(0,re.ON)().isAppActive)()?(0,s.jsx)(le,{appButtonLocation:t,searchValue:a}):(0,s.jsx)(ne,{appButtonLocation:t,searchValue:a})},$a=function(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(sa.Z,{languages:["cn"],children:(0,s.jsx)(Ta,{appButtonLocation:"search"})}),(0,s.jsx)(Na,{appButtonLocation:"search"}),(0,s.jsx)(Pa,{appButtonLocation:"search"}),(0,s.jsx)(Ia,{appButtonLocation:"search"}),(0,s.jsx)(ee,{appButtonLocation:"search"}),(0,s.jsx)(oe,{appButtonLocation:"search"}),(0,s.jsx)(de,{appButtonLocation:"search"}),(0,s.jsx)($,{appButtonLocation:"search"}),(0,s.jsx)(ce,{appButtonLocation:"search"}),(0,s.jsx)(ye,{appButtonLocation:"search"}),(0,s.jsx)(Q,{appButtonLocation:"search"}),(0,s.jsx)(J,{appButtonLocation:"search"}),(0,s.jsx)(Nt,{appButtonLocation:"search"}),(0,s.jsx)(Tt,{appButtonLocation:"search"}),(0,s.jsx)(wt,{appButtonLocation:"search"}),(0,s.jsx)(_t,{appButtonLocation:"search"}),(0,s.jsx)(ba,{appButtonLocation:"search"}),(0,s.jsx)(Ra,{appButtonLocation:"search"}),(0,s.jsx)(La,{appButtonLocation:"search"}),(0,s.jsx)(gt,{appButtonLocation:"search"}),(0,s.jsx)(ft,{appButtonLocation:"search"}),(0,s.jsx)(vt.Z,{children:(0,s.jsx)(Ja,{appButtonLocation:"search"})}),(0,s.jsx)(Et,{appButtonLocation:"search"}),(0,s.jsx)(Ct.Z,{children:(0,s.jsx)(jt,{appButtonLocation:"search"})})]})},es=function(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(Ka,{appButtonLocation:"search"}),(0,s.jsx)(Xa,{appButtonLocation:"search"}),(0,s.jsx)(qa,{appButtonLocation:"search"}),(0,s.jsx)(Qa,{appButtonLocation:"search"})]})},ts=function(e){var t=e.children,a=e.searchItems;return(0,s.jsx)("div",{"data-ref":"dashboard-search-filter-item",ref:function(e){e&&!a.includes(e)&&a.push(e)},children:t})},as={se:"se:px-3.5",br:"br:px-5"},ss={br:"br:gap-x-1"},is={ca:"ca:sm:gap-y-6 ca:sm:gap-x-2",es:"es:sm:gap-y-4 es:sm:gap-x-2",fr:"fr:sm:gap-x-1 fr:sm:gap-y-4 fr:xsm:gap-y-3",vn:"vn:sm:gap-y-6 vn:sm:gap-x-2 vn:sm:px-2",nl:"nl:sm:gap-x-1",gr:"gr:sm:gap-x-1",b2b:"b2b:gap-y-4 b2b:xs:gap-2 b2b:xxs:gap-2"},ns=(H()(Object.values(as)),H()(Object.values(ss)),H()(Object.values(is))),rs=function(e){var t=e.isTutorialOverlay,a=void 0!==t&&t,r=e.highlightsRef,l=e.swipeCallbackRef,c=(0,P.q0)(),o=c.isDashboardSearchOpen,d=c.setIsDashboardSearchOpen,u=c.isOnSearch,p=c.setIsOnSearch,x=c.isDashboardNotificationsOpen,f=c.theme,m=c.setHideNav,h=c.hideNav,A=(0,P.qr)().isAppOpen,E=(0,xt.p)().isDeviceFold,v="Android"===n.Z.instance.getOS(),C="iOS"===n.Z.instance.getOS(),j=(0,P.$V)().call,T=(0,i.useState)(""),w=T[0],_=T[1],b=(0,i.useState)(!1),S=b[0],y=b[1],R=(0,i.useState)(!0),L=R[0],O=R[1],M=(0,i.useState)(0),D=M[0],G=M[1],k=(0,i.useRef)(null),B=(0,i.useRef)(null),U=(0,i.useRef)(null),Z=(0,i.useRef)(null),Y=(0,i.useRef)(null),W=(0,i.useRef)(null),X=(0,i.useRef)([]),K=(0,i.useRef)(null),z=(0,i.useRef)(null),q=(0,i.useRef)(null),te=(0,i.useRef)(null),ae=(0,i.useRef)(null),se=(0,i.useRef)(null),ie=(0,i.useRef)(null),ne=function(){var e=W.current,t=X.current,a=K.current,s=z.current,i=Ga(e.value),n=t;""!=i&&(n=t.filter((function(e){return e.querySelector(':scope [data-search-field*="'.concat(i,'" i]'))})));var r=n;if(r.length<5)for(var l=5-r.length,c=0;c<l;c++){var o=a.cloneNode(!0);r.push(o)}s.innerHTML="",r.slice(0,5).forEach((function(e){s.appendChild(e)}))},re=function(){var e=W.current,t=q.current,a=te.current,s=ae.current;p(!1),_(""),I.ZP.fromTo(t,{opacity:1},{opacity:0,duration:.2,ease:"power3.out",onComplete:function(){t.style.display="none",s.style.display="none",a.style.display="block",I.ZP.fromTo(a,{opacity:0},{opacity:1,duration:.2,ease:"power3.out"}),m(!1)}}),e.blur()};(0,i.useEffect)((function(){var e,t=function(){var e,t=window.innerHeight-((null===(e=window.visualViewport)||void 0===e?void 0:e.height)||window.innerHeight);G(t>0?t:0),u&&!C&&m(!(t<=0))},a=function(){return G(0)};return null===(e=window.visualViewport)||void 0===e||e.addEventListener("resize",t),document.addEventListener("focusin",t),document.addEventListener("focusout",a),function(){var e;null===(e=window.visualViewport)||void 0===e||e.removeEventListener("resize",t),document.removeEventListener("focusin",t),document.removeEventListener("focusout",a)}}),[u,h]);(0,i.useEffect)((function(){var e=k.current,t=document.querySelector('*[data-ref="dashboard-search-container"]'),a=Z.current,s=Y.current,i=document.querySelector('*[data-component="dashboard-content"]'),n=document.querySelector('*[data-component="slider"][data-slider-location="dashboard"]');o?(I.ZP.set(i,{opacity:0,scale:.8,y:-100,transformOrigin:"50% 50%"}),e.style.pointerEvents="auto",A||(0,V.Kq)("/app/dashboard-search","App Drawer")):(I.ZP.to(t,{opacity:0,y:60,duration:.15,ease:"power1.out"}),I.ZP.to(i,{opacity:1,scale:1,y:0,transformOrigin:"50% 50%",duration:.3,ease:"power1.out"}),I.ZP.to([a,s],{opacity:0,duration:.15,ease:"power1.out"}),e.style.pointerEvents="none",re());var r,c="",u="",p=o,f=!1,m={x:0,y:0},h={x:0,y:0},E=0,g=0,v=function(){},C=function(){},N=function(e,n){var r=60*e;r="UP"==u?60-r:-60+r;var l=100*e;l="UP"==u?-l:l,p&&(r*=-1,l*=-1);var c=1-.2*e,o=1.5*e-.5;o=o<0?0:o;var d=1-2*e;d=d<0?0:d,n?p?(I.ZP.to(t,{opacity:1,y:0,duration:.3,ease:"power1.out"}),I.ZP.to(i,{opacity:0,scale:.8,y:-100,transformOrigin:"50% 50%",duration:.3,ease:"power1.out"}),I.ZP.to([a,s],{opacity:1,duration:.3,ease:"power1.out"})):(I.ZP.to(t,{opacity:0,y:60,duration:.15,ease:"power1.out"}),I.ZP.to(i,{opacity:1,scale:1,y:0,transformOrigin:"50% 50%",duration:.3,ease:"power1.out"}),I.ZP.to([a,s],{opacity:0,duration:.15,ease:"power1.out"})):(I.ZP.set(t,{opacity:o,y:r,transformOrigin:"50% 50%"}),I.ZP.set(i,{opacity:d,scale:c,y:l,transformOrigin:"50% 50%"}),I.ZP.set([a,s],{opacity:e}))};return l&&(l.current=function(e,t){u=t,N(e,!1)}),v=function(){f||("Y"==c&&(g=1*h.y/200,"UP"==u&&(g*=-1),g=(g=g>1?1:g)<0?0:g,p?g>.1?(p=!1,N(g,!0),d(!1)):"UP"==u?(p=!0,N(g,!0),d(!0)):(p=!0,N(0,!0),d(!0)):g>.1?"UP"==u&&(p=!0,N(g,!0),setTimeout((function(){d(!0)}),500)):(p=!1,N(g,!0),d(!1)),e.style.pointerEvents=p?"auto":"none"),n.removeEventListener("touchend",v),n.removeEventListener("touchmove",C),e.removeEventListener("touchend",v),e.removeEventListener("touchmove",C),E=0,c="",u="")},C=function(e){if(!f){E++;var t=e.touches[0]||e.changedTouches[0];"touchstart"!=e.type&&"touchmove"!=e.type&&"touchend"!=e.type&&"touchcancel"!=e.type||(t=e.touches[0]||e.changedTouches[0]),h={x:t.pageX-m.x,y:t.pageY-m.y},E>2&&(""==c&&(Math.abs(h.y)>Math.abs(h.x)?(c="Y",u=h.y>=0?"DOWN":"UP"):c="X"),"Y"==c&&(g=1*h.y/200,"UP"==u&&(g*=-1),g=(g=g>1?1:g)<0?0:g,p&&(g=1-g),("UP"==u||p)&&N(g,!1)))}},r=function(t){var a=document.querySelector('*[data-ref="scroll-view"]');if(!(f=t.composedPath().includes(a))&&!x&&!A&&!j){E=0,c="",u="";var s=t.touches[0]||t.changedTouches[0];"touchstart"!=t.type&&"touchmove"!=t.type&&"touchend"!=t.type&&"touchcancel"!=t.type||(s=t.touches[0]||t.changedTouches[0]),m={x:s.pageX,y:s.pageY},h={x:s.pageX-m.x,y:s.pageY-m.y},n.addEventListener("touchmove",C),n.addEventListener("touchend",v),e.addEventListener("touchmove",C),e.addEventListener("touchend",v)}},n.addEventListener("touchstart",r),e.addEventListener("touchstart",r),function(){n.removeEventListener("touchstart",r),n.removeEventListener("touchmove",C),n.removeEventListener("touchend",v),e.removeEventListener("touchstart",r),e.removeEventListener("touchmove",C),e.removeEventListener("touchend",v)}}),[o,x,A,j]),(0,i.useEffect)((function(){u?(0,V.Kq)("/app/dashboard-search/search","App Drawer"):re()}),[u]),(0,i.useEffect)((function(){var e=B.current;o&&!a&&(A?I.ZP.to(e,{scale:.95,opacity:.5,duration:.4,transformOrigin:"50% 100%",delay:0}):I.ZP.to(e,{scale:1,opacity:1,duration:.4,transformOrigin:"50% 100%",delay:0}))}),[A,o]),(0,i.useEffect)((function(){var e=se.current,t=ie.current;L?t&&I.ZP.to(t,{opacity:0,duration:.1,onComplete:function(){I.ZP.set(t,{display:"none"}),I.ZP.set(e,{display:"grid"}),I.ZP.to(e,{opacity:1,duration:.1})}}):I.ZP.to(e,{opacity:0,duration:.1,onComplete:function(){I.ZP.set(e,{display:"none"}),I.ZP.set(t,{display:"grid"}),I.ZP.to(t,{opacity:1,duration:.1})}})}),[L]);var le=X.current;return(0,s.jsx)("div",{className:H()("pointer-events-none absolute inset-0 text-white",{"bg-white bg-opacity-40 backdrop-blur-[20px]":u}),"data-component":"dashboard-search",ref:k,children:(0,s.jsxs)("div",{className:"c-app-search absolute inset-0","data-component":"app-themes-changes","data-theme":f,children:[(0,s.jsx)("div",{className:"gpu absolute inset-0","data-ref":"dashboard-search-background-black",ref:Y,children:(0,s.jsx)("div",{className:"c-app-search__background absolute inset-0"})}),(0,s.jsx)("div",{className:"absolute inset-0",children:(0,s.jsx)("div",{className:"absolute inset-0","data-ref":"dashboard-search-background-blur"})}),(0,s.jsx)("div",{className:"absolute inset-0","data-ref":"dashboard-search-content",ref:B,children:(0,s.jsx)("div",{className:"absolute inset-0","data-ref":"dashboard-search-container",ref:U,children:(0,s.jsxs)("div",{className:H()("relative flex h-screen w-full flex-col b2b:xxs:h-auto",{"b2b:xxs:h-screen":u}),children:[(0,s.jsxs)("div",{className:"c-app-button relative flex h-full flex-col","data-component":"app-themes-changes","data-theme":f,style:{paddingTop:D>0&&h&&!(0,N.L1)()&&"calc(".concat(D,"px - 50px)")},children:[(0,s.jsx)("div",{className:"relative h-full w-full pt-14 pb-8 md:pt-14 xsmd:pt-10 xxs:pt-8 xxs:pb-0","data-ref":"dashboard-search-list",ref:te,children:(0,s.jsx)("div",{className:"relative flex h-full w-full flex-col items-end justify-end","data-component":"slider","data-slider-type":"default","data-slider-position":"external","data-slider-location":"search",children:(0,s.jsx)("div",{className:"gpu relative flex h-full w-full",children:(0,s.jsxs)("div",{className:H()("h-full w-full justify-end",{"pointer-events-none":a}),children:[(0,s.jsx)(Ct.Z,{children:(0,s.jsxs)("div",{className:"mb-6 flex w-full justify-center text-[13px] md:text-[15px] xs:mb-3 xxs:mb-3",children:[(0,s.jsx)("button",{className:"flex w-5/12 justify-center","data-drawer-profile-name":"Personal",onClick:function(){O(!0),(0,V.Kq)("/app/dashboard-search/personal-profile","App Drawer"),(0,V.bq)("Personal")},children:(0,s.jsx)("div",{className:H()("c-app-button__work-tab",{"border-b-2":L},{"opacity-40":!L},{"opacity-0":a}),children:g.t["APPS-DRAWER_SEARCH-PROFILE-PERSONAL"]})}),(0,s.jsx)("button",{className:"relative flex w-5/12 justify-center","data-drawer-profile-name":"Work",onClick:function(){O(!1),(0,V.Kq)("/app/dashboard-search/work-profile","App Drawer"),(0,V.bq)("Work")},children:a?(0,s.jsxs)(s.Fragment,{children:[" ",(0,s.jsx)("div",{className:"absolute left-1/2 top-[25%] -translate-x-1/2 -translate-y-1/2 transform rounded-full border-4 opacity-0",style:{width:"calc(42% + 9px)",height:"calc(100% + 8px)"},ref:function(e){e&&r&&(r.current.workTabBackground=e)}}),(0,s.jsxs)("div",{className:"relative flex -translate-y-2.5 justify-center rounded-full border-2 py-2 text-black opacity-0",style:{width:"calc(41% + 3px)"},ref:function(e){e&&r&&(r.current.workTab=e)},children:[(0,s.jsx)("div",{className:"c-app-button__work-tab relative text-[13px] font-bold text-white md:text-[15px]",children:g.t["APPS-DRAWER_SEARCH-PROFILE-WORK"]}),(0,s.jsx)("div",{className:"absolute -left-[25%] flex w-[300%] translate-y-full -translate-x-1/2 justify-center whitespace-pre-line text-end text-sm font-bold text-white de:top-8",children:(0,s.jsx)("div",{ref:function(e){e&&r&&(r.current.workTabText=e)},children:g.t["TRY-GALAXY_TUTORIAL-SCREEN_WORK-APPS"]})})," "]})]}):(0,s.jsx)("div",{className:H()("c-app-button__work-tab",{"border-b-2":!L},{"opacity-40":L},{"border-b-2 opacity-0":a}),children:g.t["APPS-DRAWER_SEARCH-PROFILE-WORK"]})})]})}),(0,s.jsx)("div",{className:H()("relative flex h-full justify-end",{"opacity-0":a}),"data-ref":"slider-list",children:(0,s.jsxs)("div",{className:"flex w-screen flex-col justify-start","data-ref":"slider-list-item",children:[(0,s.jsx)("div",{ref:se,className:H()("gpu relative grid w-full grid-cols-5 grid-rows-5 content-between gap-y-6 gap-x-4 px-2.5 text-center xs:gap-2 xxs:gap-2 xxs:gap-x-1",ns),children:(0,s.jsx)($a,{})}),(0,s.jsx)(Ct.Z,{children:(0,s.jsx)("div",{className:"gpu relative hidden w-full grid-cols-5 grid-rows-5 content-between gap-4 px-2.5 text-center xs:gap-2 xxs:gap-2 xxs:gap-x-1",ref:ie,children:(0,s.jsx)(es,{})})})]})})]})})})}),(0,s.jsx)("div",{className:H()("hidden",{"mt-[21rem] xsmd:mt-[18rem] xxs:mt-64":C&&0===D&&h&&!(0,N.L1)()}),"data-ref":"dashboard-search-filter",ref:q,children:(0,s.jsxs)("div",{className:"flex h-screen w-full flex-col justify-between overflow-hidden px-2 pt-16",children:[(0,s.jsx)("div",{className:"relative hidden",children:(0,s.jsx)("div",{"data-ref":"dashboard-search-filter-item-template",ref:K,children:(0,s.jsxs)("button",{className:"w-icon text-center","data-app-link-location":"search-filter",children:[(0,s.jsx)("div",{className:"c-app-button__image inline-block max-w-icon overflow-hidden rounded-3xl",children:"\xa0"}),(0,s.jsx)("div",{className:"text-shadow mt-0 mb-9 text-sm leading-tight"})]})})}),(0,s.jsxs)("div",{className:"c-app-search__filter gpu relative mx-1 pt-6 xxs:pt-4",children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-3xl bg-primary-gray-25",style:{opacity:.75}}),(0,s.jsx)("div",{className:"gpu relative grid h-fit w-full grid-cols-5 grid-rows-1 content-between gap-4 px-3 text-center xs:gap-x-2 xxs:gap-x-1 smFlip:gap-x-2 flip:gap-x-2","data-ref":"dashboard-search-filter-container","data-component":"app-themes-changes","data-theme":f,ref:z}),(0,s.jsxs)("div",{className:"relative mt-2 px-8",children:[(0,s.jsx)("div",{className:"border-t border-solid border-t-[#0000000D]"}),(0,s.jsx)("div",{className:"mt-3 mb-3 text-center text-sm leading-tight text-[#000000A6]",children:g.t["@PARADIGM_HOMESCREEN_SEARCH_APPS-DRAWER_SHOW-MORE"]})]})]}),(0,s.jsxs)("div",{className:"hidden",children:[(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(oe,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(J,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(de,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(Nt,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(Tt,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(ce,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(ye,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(Na,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)($,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(Q,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(ee,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(Ia,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(Pa,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(vt.Z,{children:(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(Ja,{appButtonLocation:"search-filter",searchValue:w})})}),(0,s.jsx)(Ct.Z,{children:(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(jt,{appButtonLocation:"search-filter",searchValue:w})})}),(0,s.jsx)(sa.Z,{languages:["cn"],children:(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(Ta,{appButtonLocation:"search-filter",searchValue:w})})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(Et,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(ft,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(gt,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(ba,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(Ra,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(La,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(wt,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(_t,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsxs)(Ct.Z,{children:[(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(Ka,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(Xa,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(qa,{appButtonLocation:"search-filter",searchValue:w})}),(0,s.jsx)(ts,{searchItems:le,children:(0,s.jsx)(Qa,{appButtonLocation:"search-filter",searchValue:w})})]})]}),(0,s.jsx)("div",{className:"hidden flex-grow",ref:ae,onClick:function(){return re()}})]})})]}),(0,s.jsx)("div",{className:H()("absolute z-50 w-full",{"b2b:xxs:static b2b:xxs:mt-2":!u,"bottom-[30px]":h&&(v||E),"bottom-[65px] xsmd:bottom-[25px] xxs:bottom-[25px]":h&&C,"bottom-[80px]":!h||h&&(0,N.L1)(),hidden:a}),"data-ref":"dashboard-search-header",ref:Z,children:(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("div",{className:H()("bg-white bg-opacity-30",{"c-app-search__field-container":!u},{"bg-opacity-100":u},"relative mx-3 h-[52px] rounded-[24px] pb-[10px] pl-[16px] pr-[16px] pt-[10px]"),children:(0,s.jsxs)("form",{className:"flex-no-wrap relative flex h-full w-full items-center justify-between","data-ref":"dashboard-search-form",onSubmit:function(e){return e.preventDefault(),W.current.blur(),!1},children:[(0,s.jsx)("input",{type:"text",placeholder:g.t["APPS-DRAWER_SEARCH"],value:w,onChange:function(e){_(e.target.value),ne()},onFocus:function(){var e=q.current,t=ae.current,a=te.current;p(!0),ne(),y(!0),m(!0),he.XP&&(0,ka.Am)(),I.ZP.to(a,{opacity:0,duration:.4,ease:"power3.out",onComplete:function(){a.style.display="none",e.style.display="block",t.style.display="block",I.ZP.to(e,{opacity:1,duration:.2,ease:"power3.out",onComplete:function(){}})}})},onBlur:function(){y(!1),setTimeout((function(){m(!1),he.XP&&(0,ka.jL)()}),100)},onKeyDown:function(e){"Enter"===e.key&&(W.current.blur(),e.preventDefault())},"data-ref":"dashboard-search-form-field",ref:W,className:F("c-app-search__field w-full bg-transparent pl-1 text-[17px] font-semibold text-white caret-primary-blue-900 placeholder:text-[17px] placeholder:font-semibold placeholder:text-white",{"placeholder:text-[rgba(0, 0, 0, 0.55)] text-black":u})}),(0,s.jsx)("button",{type:"submit",className:"hidden"}),(0,s.jsxs)("div",{className:"flex items-center justify-start gap-2 pr-1",children:[S&&(0,s.jsx)("button",{className:H()("c-app-search__field flex-no-wrap flex h-[24px] w-[24px] items-center justify-center text-center"),children:(0,s.jsx)(Ma,{color:u?"#000000":"#ffffff"})}),(0,s.jsx)("button",{className:H()("c-app-search__field flex-no-wrap flex h-[24px] w-[24px] items-center justify-center text-center"),children:(0,s.jsx)(Oa,{color:u?"#000000":"#ffffff"})})]})]})})})})})]})})})]})})},ls=function(e){var t=e.color,a=void 0===t?"white":t,i=e.width,n=void 0===i?"20":i,r=e.height,l=void 0===r?"20":r,c=e.opacity,o=void 0===c?"1":c,d=e.className;return(0,s.jsx)("svg",{width:n,height:l,viewBox:"0 0 ".concat(n," ").concat(l),fill:"none",xmlns:"http://www.w3.org/2000/svg",className:d,children:(0,s.jsx)("path",{opacity:o,d:"M10.6169 11.2484C10.5798 11.2855 10.5367 11.2933 10.5074 11.2933C10.4772 11.2933 10.4358 11.2855 10.3987 11.2484L6.76843 7.60349C6.51572 7.34991 6.10689 7.34991 5.85332 7.60176C5.59974 7.85361 5.59888 8.2633 5.85159 8.51687L9.48099 12.1609C9.75527 12.4361 10.1184 12.587 10.5074 12.587C10.8955 12.5862 11.2612 12.4352 11.5346 12.1584L15.1493 8.51601C15.4012 8.26244 15.3995 7.85189 15.1468 7.6009C14.8932 7.34905 14.4835 7.35078 14.2316 7.60435L10.6169 11.2484Z",fill:a})})},cs=function(e){var t=e.leadIcon,a=e.headText,i=e.time,n=e.amount,r=e.description,l=e.thumbUrl;return(0,s.jsx)("div",{className:"c-quick-panel-container c-app-colour-palette__notifications__container c-app-colour-palette__notifications__container--light text--light-primary-black-350/100 relative h-[68px] w-full rounded-full px-4 py-3.5 text-white",children:(0,s.jsxs)("div",{className:"flex h-full justify-between",children:[(0,s.jsxs)("div",{className:"flex h-full items-center justify-start",children:[(0,s.jsx)("div",{className:"ltr:mr-[13.5px] rtl:ml-[13.5px]",children:t}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"mb-[1px] flex items-center justify-start",children:[(0,s.jsx)("span",{className:"text-left text-sm font-semibold ltr:mr-[8px] rtl:ml-[8px]",children:a}),(0,s.jsx)("span",{className:"opacity--light-55 text-[10px] opacity-50",children:i})]}),(0,s.jsx)("p",{className:"text-start text-[13px]",children:r})]})]}),n&&(0,s.jsx)("div",{className:"absolute right-[32px] text-[12px]",children:n}),l&&(0,s.jsx)("div",{className:"absolute right-[36px] top-[22px]",children:l}),(0,s.jsx)("div",{className:"flex h-full items-center",children:(0,s.jsx)(ls,{color:"currentColor",className:"opacity--light-30 opacity-25"})})]})})},os=function(e){var t=e.text,a=e.customClass,i=e.onClick;return(0,s.jsx)("button",{onClick:function(e){return i&&i(e)},className:"".concat(a," c-app-colour-palette__notifications__container rounded-[9999px] bg-black/30 ltr:font-sans rtl:font-sansAr"),children:t})},ds=function(e){var t=e.size,a=e.color,i=void 0===a?"currentColor":a,n=e.fillOpacity;return(0,s.jsx)("svg",{width:t,height:t,viewBox:"0 0 30 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M20.9024 14.1988L21.096 14.394C21.4993 14.8152 21.4848 15.4837 21.0635 15.887C20.6423 16.2904 19.9738 16.2759 19.5705 15.8546C17.224 13.4039 13.0028 13.4039 10.6482 15.8557C10.2442 16.2764 9.57572 16.2899 9.15507 15.8859C8.73442 15.482 8.7209 14.8135 9.12487 14.3928C12.2473 11.1415 17.695 11.0765 20.9024 14.1988ZM24.8679 10.1238L25.1117 10.3717C25.515 10.7929 25.5005 11.4614 25.0793 11.8647C24.658 12.2681 23.9895 12.2535 23.5862 11.8323C19.115 7.1625 11.1137 7.16248 6.62797 11.8334C6.224 12.254 5.55552 12.2676 5.13487 11.8636C4.71422 11.4596 4.7007 10.7911 5.10467 10.3705C10.3413 4.91763 19.5258 4.83502 24.8679 10.1238ZM28.9687 5.91848L29.2289 6.18478C29.6322 6.60603 29.6177 7.2745 29.1964 7.67783C28.7752 8.08117 28.1067 8.06665 27.7034 7.64539C21.0544 0.701078 9.17838 0.701086 2.50833 7.64653C2.10436 8.06718 1.43587 8.08071 1.01522 7.67674C0.594575 7.27277 0.581053 6.60428 0.985023 6.18363C8.40036 -1.53788 21.4446 -1.62664 28.9687 5.91848ZM15.1 20.9813C16.0417 20.9813 16.805 20.218 16.805 19.2763C16.805 18.3347 16.0417 17.5713 15.1 17.5713C14.1584 17.5713 13.395 18.3347 13.395 19.2763C13.395 20.218 14.1584 20.9813 15.1 20.9813Z",fill:i,fillOpacity:n})})},us=function(e){var t=e.size,a=e.color,i=void 0===a?"black":a,n=e.className;return(0,s.jsx)("svg",{className:n,width:t,height:t,viewBox:"0 0 19 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5456 7.2897C18.5456 7.64659 18.3711 7.9809 18.0782 8.18488L11.8829 12.5L18.0781 16.8151C18.371 17.0191 18.5456 17.3534 18.5456 17.7103C18.5456 18.0672 18.371 18.4015 18.0781 18.6055L9.89631 24.3043C9.5629 24.5365 9.12806 24.5642 8.76788 24.3761C8.40771 24.188 8.1819 23.8154 8.1819 23.4091V14.5893L1.71451 19.094C1.22012 19.4383 0.540187 19.3167 0.195835 18.8223C-0.148515 18.3279 -0.026885 17.648 0.467505 17.3036L7.36413 12.5L0.467505 7.69638C-0.026885 7.35203 -0.148515 6.67209 0.195835 6.17771C0.540187 5.68332 1.22012 5.56169 1.71451 5.90604L8.18196 10.4107V1.59091C8.18196 1.1846 8.40777 0.811952 8.76794 0.62389C9.12812 0.435827 9.56296 0.463516 9.89637 0.695743L18.0782 6.39453C18.3711 6.59851 18.5456 6.93282 18.5456 7.2897ZM15.546 7.2897L10.3638 3.6802V10.8992L15.546 7.2897ZM15.5459 17.7103L10.3637 14.1008V21.3198L15.5459 17.7103Z",fill:i})})},ps=function(e){var t=e.size,a=e.color,i=void 0===a?"white":a;return(0,s.jsx)("svg",{width:t,height:t,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M25.9 15v-.3c0-.4.3-1 .8-1.5l1.8-1.8c.5-.4.6-1.3.2-1.8l-2.2-3.8c-.3-.6-1.1-.9-1.7-.7l-2.5.7c-.6.2-1.4.2-1.7 0-.3-.2-1.3-1.1-1.4-1.7l-.6-2.5C18.4 1 17.8.5 17.1.5h-4.4c-.6 0-1.3.5-1.5 1.1L10.7 4c-.2.6-.5 1.3-.9 1.4-.3.2-1.5.5-2.2.4l-2.5-.7c-.6-.2-1.3.1-1.7.7L1.3 9.6c-.4.5-.3 1.4.2 1.8l1.8 1.8c.5.4.8 1.1.8 1.5v.6c0 .4-.3 1-.8 1.5l-1.8 1.8c-.5.4-.6 1.3-.2 1.8l2.2 3.8c.3.6 1.1.9 1.7.7l2.5-.7c.6-.2 1.4-.2 1.7 0 .3.2 1.3 1.1 1.4 1.7l.6 2.5c.2.6.8 1.1 1.5 1.1h4.4c.6 0 1.3-.5 1.5-1.1l.6-2.5c.2-.6.5-1.3.9-1.4.3-.2 1.6-.5 2.2-.4l2.5.7c.6.2 1.4-.1 1.7-.7l2.2-3.8c.3-.6.2-1.4-.2-1.8l-1.8-1.8c-.5-.4-.8-1.1-.8-1.5-.2.1-.2.1-.2-.2zM15 20c-2.8 0-5-2.3-5-5 0-2.8 2.3-5 5-5s5 2.3 5 5c0 2.8-2.2 5-5 5z",fill:i})})},xs=function(){return(0,s.jsxs)("svg",{height:"100%",width:"100%",viewBox:"0 0 26 27",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("g",{filter:"url(#filter0_d_3_1958)",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.262 7.67L18.547 11.9291C18.1868 12.2893 17.8355 12.6406 17.493 12.983L15.3008 15.1753C15.0724 15.4036 14.8491 15.6269 14.6309 15.8451L10.7945 19.6815C10.7114 19.7647 10.4807 19.9217 10.2591 19.9851C10.1911 20.0046 10.1214 20.0245 10.0504 20.0448L9.60967 20.1704C8.09745 20.6007 6.21367 21.1296 5.71657 21.2716C5.34938 21.3765 4.91881 20.9459 5.01509 20.5701C5.16356 19.9905 5.76727 17.5006 6.22136 15.9448C6.28595 15.7235 6.44221 15.4908 6.52656 15.4064L14.262 7.67ZM16.1254 5.80757C16.8139 5.02189 18.0847 5.01516 18.8626 5.79305L20.4115 7.34194C21.1894 8.11984 21.1831 9.2929 20.397 10.0791L19.5724 10.9036L15.299 6.633L16.1254 5.80757Z",fill:"#FAFAFF"})}),(0,s.jsx)("defs",{children:(0,s.jsxs)("filter",{id:"filter0_d_3_1958",x:"0.00140381",y:"0.213943",width:"25.9894",height:"26.0737",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,s.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,s.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,s.jsx)("feOffset",{}),(0,s.jsx)("feGaussianBlur",{stdDeviation:"2.5"}),(0,s.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,s.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),(0,s.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_3_1958"}),(0,s.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_3_1958",result:"shape"})]})})]})},fs=function(){return(0,s.jsxs)("svg",{height:"100%",width:"100%",viewBox:"0 0 28 27",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("g",{filter:"url(#filter0_d_3_1956)",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.6939 6.97703C18.1711 6.6272 17.4638 6.76739 17.114 7.29013C16.7642 7.81287 16.9043 8.52022 17.4271 8.87003C19.024 9.93873 19.9722 11.668 19.9722 13.5312C19.9722 16.669 17.303 19.2222 14 19.2222C10.697 19.2222 8.02777 16.669 8.02777 13.5312C8.02777 11.6708 8.97311 9.94376 10.5662 8.87457C11.0884 8.52403 11.2277 7.8165 10.8771 7.29424C10.5266 6.77197 9.81906 6.63274 9.29678 6.98327C7.07718 8.473 5.75 10.9062 5.75 13.5312C5.75 17.9371 9.44788 21.5 14 21.5C18.5521 21.5 22.25 17.9371 22.25 13.5312C22.25 10.9023 20.9189 8.466 18.6939 6.97703ZM15.1389 6.08382C15.1389 5.48061 14.6245 5 14 5C13.3755 5 12.8611 5.48061 12.8611 6.08382V11.7936C12.8611 12.3965 13.3757 12.8769 14 12.8769C14.6245 12.8769 15.1389 12.3963 15.1389 11.7931V6.08382Z",fill:"#FAFAFF"})}),(0,s.jsx)("defs",{children:(0,s.jsxs)("filter",{id:"filter0_d_3_1956",x:"0.75",y:"0",width:"26.5",height:"26.5",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,s.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,s.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,s.jsx)("feOffset",{}),(0,s.jsx)("feGaussianBlur",{stdDeviation:"2.5"}),(0,s.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,s.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),(0,s.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_3_1956"}),(0,s.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_3_1956",result:"shape"})]})})]})},ms=function(e){var t=e.size,a=e.color,i=void 0===a?"black":a;return(0,s.jsx)("svg",{width:t,height:t,viewBox:"0 0 25 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M24.75 17.5016V16.483C24.75 16.1002 24.5498 15.7449 24.2231 15.5447L15.1701 10.0106C14.8423 9.8104 14.6432 9.454 14.6432 9.069L14.6553 4.6591C14.6553 4.2774 14.6179 3.6515 14.5706 3.272C14.5706 3.272 14.5706 3.2676 14.5684 3.2577C14.5585 3.1884 14.5057 2.8793 14.3231 2.3469C13.9623 1.3074 13.0746 0.5 12.375 0.5C11.6754 0.5 10.7877 1.3074 10.4269 2.3469C10.2432 2.8793 10.1915 3.1884 10.1816 3.2577C10.1794 3.2676 10.1794 3.272 10.1794 3.272C10.1321 3.6515 10.0947 4.2774 10.0947 4.6591L10.1057 9.069C10.1068 9.454 9.9077 9.8104 9.5799 10.0106L0.5269 15.5447C0.2002 15.7449 0 16.1002 0 16.483V17.5016C0 17.869 0.3531 18.133 0.7062 18.0285L9.6547 15.3863C9.9891 15.2873 10.3301 15.5205 10.3587 15.867L10.7756 20.8379C10.7987 21.1261 10.67 21.4066 10.4357 21.576L7.6384 23.5934C7.3535 23.8002 7.1819 24.1313 7.1819 24.4855V24.7176C7.1819 25.0729 7.5141 25.3358 7.8606 25.2533L11.8646 24.2974C12.2001 24.2171 12.5499 24.2171 12.8854 24.2974L16.8894 25.2533C17.2359 25.3358 17.5681 25.0729 17.5681 24.7176V24.4855C17.5681 24.1313 17.3976 23.8002 17.1116 23.5934L14.3154 21.576C14.08 21.4066 13.9513 21.1261 13.9755 20.8379L14.3913 15.867C14.4199 15.5205 14.7609 15.2873 15.0953 15.3863L24.0438 18.0285C24.3969 18.133 24.75 17.869 24.75 17.5016Z",fill:i})})},hs=function(e){var t=e.size,a=e.color,i=void 0===a?"black":a;return(0,s.jsx)("svg",{width:t,height:t,viewBox:"0 0 15 27",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.349 1.6032C8.349 2.21071 7.85651 2.7032 7.249 2.7032C6.64149 2.7032 6.149 2.21071 6.149 1.6032C6.149 0.995683 6.64149 0.503197 7.249 0.503197C7.85651 0.503197 8.349 0.995683 8.349 1.6032ZM2.2 2.1092C2.2 2.71671 1.70751 3.2092 1.1 3.2092C0.492487 3.2092 0 2.71671 0 2.1092C0 1.50168 0.492487 1.0092 1.1 1.0092C1.70751 1.0092 2.2 1.50168 2.2 2.1092ZM13.849 6.4971C13.849 5.63504 13.1502 4.9362 12.2881 4.9362H2.2099C1.34784 4.9362 0.649 5.63504 0.649 6.4971V9.5892C0.649 9.92894 0.756318 10.2604 0.957215 10.5395L3.22461 13.6861V25.2749C3.22461 26.1919 3.99386 26.9362 4.94168 26.9362H9.55632C10.5041 26.9362 11.2734 26.1919 11.2734 25.2749V13.6861L13.5408 10.5387C13.7408 10.2604 13.849 9.92894 13.849 9.5892V6.4971ZM5.819 18.3479C5.819 17.5582 6.45923 16.9179 7.249 16.9179C8.03877 16.9179 8.679 17.5582 8.679 18.3479C8.679 19.1377 8.03877 19.778 7.249 19.778C6.45923 19.778 5.819 19.1377 5.819 18.3479ZM13.42 3.2092C14.0275 3.2092 14.52 2.71671 14.52 2.1092C14.52 1.50168 14.0275 1.0092 13.42 1.0092C12.8125 1.0092 12.32 1.50168 12.32 2.1092C12.32 2.71671 12.8125 3.2092 13.42 3.2092Z",fill:i})})},As=function(){return(0,s.jsx)("svg",{viewBox:"0 0 19 24",fill:"none",width:19,height:24,xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M13.0626 16.3125C13.0626 11.9147 9.48536 8.3375 5.08756 8.3375C4.47926 8.3375 3.98756 7.8447 3.98756 7.2375C3.98756 6.6303 4.47926 6.1375 5.08756 6.1375C10.6976 6.1375 15.2626 10.7014 15.2626 16.3125C15.2626 16.9197 14.7698 17.4125 14.1626 17.4125C13.5543 17.4125 13.0626 16.9197 13.0626 16.3125ZM8.66256 16.3125C8.66256 14.3413 7.05876 12.7375 5.08756 12.7375C4.47926 12.7375 3.98756 12.2447 3.98756 11.6375C3.98756 11.0303 4.47926 10.5375 5.08756 10.5375C8.27206 10.5375 10.8626 13.128 10.8626 16.3125C10.8626 16.9197 10.3698 17.4125 9.76256 17.4125C9.15426 17.4125 8.66256 16.9197 8.66256 16.3125ZM3.71256 16.3125C3.71256 15.5535 4.32856 14.9375 5.08756 14.9375C5.84656 14.9375 6.46256 15.5535 6.46256 16.3125C6.46256 17.0715 5.84656 17.6875 5.08756 17.6875C4.32856 17.6875 3.71256 17.0715 3.71256 16.3125ZM6.10352e-05 2.7V20.85C6.10352e-05 22.065 0.985035 23.05 2.20006 23.05H16.5001C17.7151 23.05 18.7001 22.065 18.7001 20.85V2.7C18.7001 1.48497 17.7151 0.5 16.5001 0.5L2.20006 0.5C0.985035 0.5 6.10352e-05 1.48497 6.10352e-05 2.7Z",fill:"white",fillOpacity:"0.35"})})},Es=function(e){var t=e.size,a=e.color,i=void 0===a?"black":a;return(0,s.jsx)("svg",{viewBox:"0 0 16 24",width:t,height:t,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M10.1875 0.5C10.7125 0.5 11.125 0.9125 11.125 1.4375V2.9H13.308C14.5186 2.9 15.5 3.88139 15.5 5.092V21.708C15.5 22.9186 14.5186 23.9 13.308 23.9H2.692C1.48139 23.9 0.5 22.9186 0.5 21.708V5.092C0.5 3.88139 1.48139 2.9 2.692 2.9H4.875V1.4375C4.875 0.9125 5.3 0.5 5.8125 0.5H10.1875ZM8.32999 8.946C5.83999 8.946 3.81998 10.9888 3.81998 13.507C3.81998 14.1847 3.98998 14.8115 4.24999 15.378C4.65824 15.1842 5.01099 14.927 5.40674 14.6067L7.54999 12.8395C7.62324 12.779 7.67999 12.735 7.71999 12.708C8.00999 12.516 8.39999 12.5868 8.59999 12.87C8.80999 13.1532 8.75999 13.5475 8.48999 13.77L6.47999 15.4388C5.63999 16.1368 4.91999 16.6523 3.84999 16.9255C3.43998 17.067 3.01998 17.1478 2.59998 17.1478C2.26998 17.1478 1.99998 17.421 1.99998 17.7547C1.99998 18.0885 2.26998 18.3615 2.59998 18.3615C3.69999 18.3615 4.77999 17.9772 5.77999 17.2795C6.50999 17.785 7.38999 18.0885 8.33999 18.0885C10.83 18.0885 12.85 16.0455 12.85 13.5273V8.966L8.32999 8.946Z",fill:i,fillOpacity:"0.65"})})},gs=function(){return(0,s.jsx)("svg",{viewBox:"0 0 21 27",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"21",height:"27",children:(0,s.jsx)("path",{d:"M10.1744 14.7475C7.6873 14.7475 5.67116 12.7314 5.67116 10.2443C5.67116 7.75722 7.6873 5.74108 10.1744 5.74108C12.6626 5.74108 14.6787 7.75722 14.6787 10.2443C14.6787 12.7314 12.6626 14.7475 10.1744 14.7475ZM10.1744 0.5C4.56383 0.5 -6.10352e-05 5.06168 -6.10352e-05 10.67C-6.10352e-05 14.5567 2.95466 17.8269 3.07157 17.9515L9.17514 25.8506C9.17514 25.8506 9.56778 26.3911 10.1744 26.3911C10.7821 26.3911 11.1747 25.8506 11.1747 25.8506L17.2684 17.9648C17.393 17.8269 20.3499 14.5567 20.3499 10.67C20.3499 5.06168 15.7861 0.5 10.1744 0.5Z",fill:"white",fillOpacity:"0.35"})})},vs=function(e){var t=e.size,a=e.color,i=void 0===a?"black":a;return(0,s.jsx)("svg",{viewBox:"0 0 25 21",width:t,height:t,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.8765 7.24688C23.4532 7.67959 22.7593 7.68724 22.3266 7.26397L19.3077 4.31085L19.3077 19.2946C19.3077 19.8999 18.817 20.3906 18.2117 20.3906C17.6064 20.3906 17.1157 19.8999 17.1157 19.2946L17.1157 4.33465L14.1211 7.26397C13.6884 7.68724 12.9945 7.67959 12.5712 7.24688C12.1479 6.81418 12.1556 6.12027 12.5883 5.697L17.4575 0.93399C17.8834 0.517301 18.5643 0.517301 18.9903 0.93399L23.8594 5.697C24.2921 6.12027 24.2998 6.81418 23.8765 7.24688ZM12.4291 13.7625C12.8523 14.1952 12.8447 14.8891 12.412 15.3123L7.54281 20.0754C7.11684 20.492 6.43599 20.492 6.01001 20.0754L1.14084 15.3123C0.708138 14.8891 0.700489 14.1952 1.12376 13.7625C1.54703 13.3297 2.24094 13.3221 2.67365 13.7454L5.66452 16.671L5.66452 1.71171C5.66452 1.1064 6.15522 0.615707 6.76052 0.615707C7.36583 0.615707 7.85653 1.1064 7.85653 1.71171L7.85653 16.7021L10.8792 13.7454C11.3119 13.3221 12.0058 13.3297 12.4291 13.7625Z",fill:i,fillOpacity:"0.65"})})},Cs=function(e){var t=e.size;return(0,s.jsx)("svg",{width:t,height:t,viewBox:"0 0 30 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M3.5603 10.0092L5.93467 13.4678C6.009 13.5761 6.04879 13.7044 6.04879 13.8357C6.04879 14.1947 5.75777 14.4857 5.39879 14.4857L4.1941 14.4857C5.12233 19.3353 9.38649 23 14.5066 23C18.145 23 21.4627 21.1358 23.3776 18.1202C23.6736 17.6539 24.2916 17.516 24.7578 17.812C25.2241 18.1081 25.362 18.726 25.066 19.1923C22.7879 22.7798 18.8367 25 14.5066 25C8.2787 25 3.11458 20.4454 2.1634 14.4854L0.650061 14.4857C0.518721 14.4857 0.390463 14.4459 0.282182 14.3716C-0.0137749 14.1684 -0.0889908 13.7638 0.114183 13.4678L2.48855 10.0092C2.53375 9.94332 2.5907 9.88637 2.65655 9.84117C2.9525 9.638 3.35713 9.71321 3.5603 10.0092ZM14.5446 7.3451C15.227 6.66275 16.3448 6.66275 17.0256 7.3451L19.6615 9.98096C20.3438 10.6618 20.3438 11.7796 19.6615 12.462L14.468 17.6539C13.7856 18.3363 12.6693 18.3363 11.987 17.6539L9.35111 15.0181C8.66876 14.3373 8.6703 13.2194 9.35111 12.5371L14.5446 7.3451ZM14.5066 0C20.7345 0 25.8986 4.55458 26.8498 10.5146L28.3631 10.5143C28.4945 10.5143 28.6227 10.5541 28.731 10.6284C29.027 10.8316 29.1022 11.2362 28.899 11.5322L26.5246 14.9908C26.4794 15.0567 26.4225 15.1136 26.3566 15.1588C26.0607 15.362 25.6561 15.2868 25.4529 14.9908L23.0785 11.5322C23.0042 11.4239 22.9644 11.2956 22.9644 11.1643C22.9644 10.8053 23.2554 10.5143 23.6144 10.5143L24.8191 10.5143C23.8909 5.66475 19.6267 2 14.5066 2C10.9347 2 7.66987 3.79613 5.73761 6.72231C5.43328 7.18318 4.81296 7.31008 4.35209 7.00575C3.89122 6.70142 3.76432 6.08111 4.06865 5.62023C6.3673 2.1392 10.2558 0 14.5066 0Z",fill:"#252525"})})},js=function(){return(0,s.jsx)("svg",{viewBox:"0 0 26 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"26",height:"21",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3926 18.562V16.189L24.5669 16.1891C25.2223 16.1891 25.7536 16.7204 25.7536 17.3758C25.7536 18.0313 25.2223 18.5626 24.5669 18.5626L11.3926 18.562ZM3.09012 3.668C3.09012 1.91836 4.50848 0.5 6.25812 0.5H21.4494C23.199 0.5 24.6174 1.91836 24.6174 3.668V11.446C24.6174 13.1957 23.199 14.614 21.4494 14.614L11.3926 14.614L11.3916 7.72456L11.3865 7.52099C11.2805 5.43084 9.55227 3.76871 7.43579 3.76871L3.09064 3.768L3.09012 3.668ZM0 7.67279C0 6.36056 1.06377 5.29679 2.376 5.29679H7.03336C8.34559 5.29679 9.40936 6.36056 9.40936 7.67279V18.6031C9.40936 19.9153 8.34559 20.9791 7.03336 20.9791H2.376C1.06377 20.9791 0 19.9153 0 18.6031V7.67279ZM5.70417 7.97323C5.70417 7.41892 5.25481 6.96957 4.7005 6.96957C4.14619 6.96957 3.69683 7.41892 3.69683 7.97323C3.69683 8.52754 4.14619 8.9769 4.7005 8.9769C5.25481 8.9769 5.70417 8.52754 5.70417 7.97323Z",fill:"white",fillOpacity:"0.35"})})},Ns=function(){return(0,s.jsx)("svg",{width:"10",height:"12",viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M5.39267 0.5H4.89267C4.43333 0.5 4.05933 0.874667 4.05933 1.33333V6.52667C3.634 6.206 3.10467 6.01333 2.53 6.01333C1.13467 6.01333 0 7.13467 0 8.51333C0 9.89133 1.13467 11.0133 2.53 11.0133C3.84533 11.0133 4.928 10.0153 5.04733 8.746C5.05467 8.712 5.05933 8.67667 5.05933 8.64V8.51333V1.5H5.39267C7.46533 1.5 8.43133 3.45533 8.43133 4.77667V5.688C8.43133 5.964 8.65533 6.188 8.93133 6.188C9.20733 6.188 9.43133 5.964 9.43133 5.688V4.77667C9.43133 3.052 8.148 0.5 5.39267 0.5Z",fill:"white"})})},Ts=function(){return(0,s.jsxs)("svg",{viewBox:"0 0 219 44",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M23 43.25C11.264 43.25 1.75 33.7361 1.75 22C1.75 10.2639 11.2639 0.75 23 0.75H197C208.736 0.75 218.25 10.2639 218.25 22C218.25 33.7361 208.736 43.25 197 43.25H23Z",stroke:"black",strokeOpacity:"0.1",strokeWidth:"0.5",fill:"currentColor",fillOpacity:.25}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 22C0 10.402 9.40202 1 21 1L197 1C208.598 1 218 10.402 218 22C218 33.598 208.598 43 197 43H21C9.40202 43 0 33.598 0 22Z",fill:"white",fillOpacity:"0.15"}),(0,s.jsx)("g",{filter:"url(#filter0_b_1_3)",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 22C0 33.598 9.40202 43 21 43L158 43C169.598 43 179 33.598 179 22C179 10.402 169.598 1 158 1H21C9.40202 1 0 10.402 0 22Z",fill:"currentColor",fillOpacity:.75})}),(0,s.jsxs)("g",{opacity:"0.85",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.5616 17.3198V17.3175C28.2907 16.7714 27.3337 14.7423 25.0116 13.7718C24.8209 13.6929 24.636 13.6268 24.4581 13.5735C23.8337 13.3822 23.2 13.3103 22.5884 13.3103H22.007C21.3186 13.3115 20.7628 13.8657 20.7616 14.551L20.7616 23.2912C20.0558 22.7799 19.1942 22.468 18.2535 22.4668C15.914 22.4703 14.0023 24.3325 14 26.6584C14.0023 28.9832 15.9128 30.8453 18.2535 30.85C20.443 30.8465 22.2384 29.2058 22.4616 27.0886C22.4814 27.0167 22.5058 26.9471 22.5058 26.8683L22.5058 15.0495H22.5884C23.0663 15.0495 23.5244 15.1052 23.9442 15.2351H23.9465C24.0709 15.2733 24.2023 15.3197 24.3372 15.3765L24.3395 15.3777C25.9872 16.0537 26.7558 17.5819 26.993 18.0758C27.5151 19.1565 27.6 20.1606 27.6 20.7867C27.6 20.9572 27.5942 21.0986 27.5884 21.2123C27.4953 23.1045 26.6256 24.4693 26.2047 25.0421C25.9209 25.4293 26.0047 25.9731 26.3942 26.2572C26.7826 26.5401 27.3291 26.4566 27.6128 26.0682C28.1314 25.3598 29.2105 23.6843 29.3302 21.2992V21.2981C29.336 21.174 29.3442 20.9989 29.3442 20.7867C29.3442 20.0041 29.2384 18.7159 28.5616 17.3198Z",fill:"black"}),(0,s.jsx)("mask",{id:"mask0_1_3",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:14,y:13,width:16,height:18,children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.5616 17.3198V17.3175C28.2907 16.7714 27.3337 14.7423 25.0116 13.7718C24.8209 13.6929 24.636 13.6268 24.4581 13.5735C23.8337 13.3822 23.2 13.3103 22.5884 13.3103H22.007C21.3186 13.3115 20.7628 13.8657 20.7616 14.551L20.7616 23.2912C20.0558 22.7799 19.1942 22.468 18.2535 22.4668C15.914 22.4703 14.0023 24.3325 14 26.6584C14.0023 28.9832 15.9128 30.8453 18.2535 30.85C20.443 30.8465 22.2384 29.2058 22.4616 27.0886C22.4814 27.0167 22.5058 26.9471 22.5058 26.8683L22.5058 15.0495H22.5884C23.0663 15.0495 23.5244 15.1052 23.9442 15.2351H23.9465C24.0709 15.2733 24.2023 15.3197 24.3372 15.3765L24.3395 15.3777C25.9872 16.0537 26.7558 17.5819 26.993 18.0758C27.5151 19.1565 27.6 20.1606 27.6 20.7867C27.6 20.9572 27.5942 21.0986 27.5884 21.2123C27.4953 23.1045 26.6256 24.4693 26.2047 25.0421C25.9209 25.4293 26.0047 25.9731 26.3942 26.2572C26.7826 26.5401 27.3291 26.4566 27.6128 26.0682C28.1314 25.3598 29.2105 23.6843 29.3302 21.2992V21.2981C29.336 21.174 29.3442 20.9989 29.3442 20.7867C29.3442 20.0041 29.2384 18.7159 28.5616 17.3198Z",fill:"white"})}),(0,s.jsx)("g",{mask:"url(#mask0_1_3)",children:(0,s.jsx)("rect",{x:"13.709",y:"5.09314",width:"16.2791",height:"32.4658",fill:"#010102"})}),(0,s.jsxs)("g",{opacity:"0.5",children:[(0,s.jsx)("mask",{id:"mask1_1_3",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:30,y:14,width:5,height:14,children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M34.4159 20.9863V20.9758C34.4112 17.3304 32.4357 14.9592 31.9217 14.3737C31.6054 14.0119 31.0531 13.976 30.6926 14.2937C30.3298 14.6091 30.2938 15.1598 30.6124 15.5193C31.0205 15.9819 32.6764 17.9855 32.6717 20.9758V20.999C32.6682 23.9546 31.0485 25.9338 30.6322 26.4081C30.3171 26.7698 30.3554 27.3194 30.7182 27.6348C31.0822 27.9502 31.6322 27.9119 31.9496 27.549C32.4682 26.9507 34.4031 24.6039 34.4159 21.0037V20.9863Z",fill:"white"})}),(0,s.jsx)("g",{mask:"url(#mask1_1_3)",children:(0,s.jsx)("rect",{opacity:"0.95",x:"29.9882",y:"5.09314",width:"4.65116",height:"32.4658",fill:"#010102"})})]}),(0,s.jsxs)("g",{opacity:"0.5",children:[(0,s.jsx)("mask",{id:"mask2_1_3",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:33,y:10,width:6,height:22,children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39 20.9297C38.964 15.3572 35.9547 11.7187 35.1488 10.7981C34.8326 10.4352 34.2814 10.3992 33.9198 10.7146C33.5558 11.0311 33.5198 11.5807 33.8372 11.9413C34.5372 12.7402 37.2314 16.0123 37.2558 20.939V21.0213C37.2605 25.9724 34.5558 29.2769 33.8709 30.0607C33.5547 30.4237 33.5942 30.9721 33.9581 31.2875C34.3221 31.6017 34.8721 31.5634 35.1884 31.1994C35.9756 30.2915 38.9953 26.6217 39 21.0213V20.9297Z",fill:"white"})}),(0,s.jsx)("g",{mask:"url(#mask2_1_3)",children:(0,s.jsx)("rect",{opacity:"0.95",x:"33.4765",y:"5.09314",width:"5.81395",height:"32.4658",fill:"#010102"})})]})]}),(0,s.jsxs)("defs",{children:[(0,s.jsxs)("filter",{id:"filter0_b_1_3",x:"-48.9291",y:"-47.9291",width:"276.858",height:"139.858",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,s.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,s.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"24.4645"}),(0,s.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_1_3"}),(0,s.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_1_3",result:"shape"})]}),(0,s.jsxs)("linearGradient",{id:"paint0_linear_1_3",x1:"25.7189",y1:"7.40107",x2:"150.157",y2:"7.40107",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{stopColor:"white",stopOpacity:"0.6"}),(0,s.jsx)("stop",{offset:1,stopColor:"white"})]})]})]})},ws=function(){return(0,s.jsxs)("svg",{viewBox:"0 0 220 44",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M22 43.25C10.264 43.25 0.75 33.7361 0.75 22C0.75 10.2639 10.264 0.75 22 0.75H198C209.736 0.75 219.25 10.2639 219.25 22C219.25 33.7361 209.736 43.25 198 43.25H22Z",stroke:"black",strokeOpacity:"0.1",strokeWidth:"0.5",fill:"currentColor",fillOpacity:.25}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 22C1 10.402 10.402 1 22 1L198 1C209.598 1 219 10.402 219 22C219 33.598 209.598 43 198 43H22C10.402 43 1 33.598 1 22Z",fill:"white",fillOpacity:"0.15"}),(0,s.jsx)("g",{filter:"url(#filter0_b_5099_2497)",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 22C1 33.598 10.402 43 22 43L117 43C128.598 43 138 33.598 138 22C138 10.402 128.598 1 117 1H22C10.402 1 1 10.402 1 22Z",fill:"currentColor",fillOpacity:.75})}),(0,s.jsx)("g",{opacity:"0.85",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.0001 15.2187C23.4425 15.2187 23.8 14.8601 23.8 14.4188V12.7999C23.8 12.3586 23.4425 12 23.0001 12C22.5578 12 22.2002 12.3586 22.2002 12.7999V14.4188C22.2002 14.8601 22.5578 15.2187 23.0001 15.2187ZM28.3608 17.4394C28.5667 17.4394 28.7703 17.3614 28.9265 17.2052L30.0714 16.0603C30.3836 15.748 30.3836 15.2423 30.0714 14.929C29.758 14.6167 29.2523 14.6167 28.94 14.929L27.7951 16.0739C27.484 16.385 27.484 16.893 27.7951 17.2052C27.9524 17.3614 28.156 17.4394 28.3608 17.4394ZM26.3113 18.7586C24.5159 16.9631 21.6015 16.9631 19.805 18.7586C18.0095 20.5552 18.0095 23.4684 19.805 25.265C21.6015 27.0615 24.5159 27.0604 26.3113 25.265C28.1068 23.4695 28.1079 20.5552 26.3113 18.7586ZM15.929 27.9402L17.0739 26.7952C17.385 26.483 17.893 26.4841 18.2052 26.7952C18.5163 27.1075 18.5163 27.6143 18.2052 27.9266L17.0603 29.0715C16.9053 29.2265 16.6994 29.3057 16.4946 29.3057C16.291 29.3057 16.0862 29.2265 15.929 29.0715C15.6167 28.7581 15.6167 28.2524 15.929 27.9402ZM22.2002 29.5815C22.2002 29.1392 22.5578 28.7816 23.0001 28.7816C23.4425 28.7816 23.8 29.1392 23.8 29.5815V31.2005C23.8 31.6417 23.4425 32.0003 23.0001 32.0003C22.5578 32.0003 22.2002 31.6417 22.2002 31.2005V29.5815ZM17.0605 14.9293C16.7483 14.617 16.2414 14.617 15.9292 14.9293C15.6169 15.2415 15.6169 15.7484 15.9292 16.0606L17.0741 17.2056C17.2291 17.3606 17.4339 17.4398 17.6398 17.4398C17.8434 17.4398 18.0482 17.3606 18.2055 17.2056C18.5166 16.8922 18.5166 16.3853 18.2055 16.0742L17.0605 14.9293ZM27.7951 26.7952C28.1074 26.4841 28.6153 26.483 28.9265 26.7952L30.0714 27.9402C30.3836 28.2524 30.3836 28.7581 30.0714 29.0715C29.9153 29.2265 29.7094 29.3057 29.5057 29.3057C29.3009 29.3057 29.095 29.2265 28.94 29.0715L27.7951 27.9266C27.484 27.6143 27.484 27.1075 27.7951 26.7952ZM16.2187 22.0002C16.2187 21.5579 15.8612 21.2004 15.4188 21.2004H13.7999C13.3586 21.2004 13 21.5579 13 22.0002C13 22.4426 13.3586 22.8001 13.7999 22.8001H15.4188C15.8612 22.8001 16.2187 22.4426 16.2187 22.0002ZM30.5812 21.2002H32.2001C32.6425 21.2002 33 21.5578 33 22.0001C33 22.4425 32.6425 22.8 32.2001 22.8H30.5812C30.1399 22.8 29.7813 22.4425 29.7813 22.0001C29.7813 21.5578 30.1399 21.2002 30.5812 21.2002Z",fill:"black"})}),(0,s.jsxs)("defs",{children:[(0,s.jsxs)("filter",{id:"filter0_b_5099_2497",x:"-47.9291",y:"-47.9291",width:"234.858",height:"139.858",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,s.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,s.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"24.4645"}),(0,s.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_5099_2497"}),(0,s.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_5099_2497",result:"shape"})]}),(0,s.jsxs)("linearGradient",{id:"paint0_linear_5099_2497",x1:"20.6843",y1:"7.40107",x2:"115.925",y2:"7.40107",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{stopColor:"white",stopOpacity:"0.6"}),(0,s.jsx)("stop",{offset:1,stopColor:"white"})]})]})]})},_s=function(e){var t=e.size,a=e.color,i=void 0===a?"currentColor":a,n=e.fillOpacity,r=void 0===n?1:n;return(0,s.jsx)("svg",{width:t,height:t,viewBox:"0 0 26 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.66402 5.91888L13.154 0.198883C13.638 -0.228117 14.4 0.115883 14.4 0.760883V19.2359C14.4 19.8749 13.652 20.2209 13.164 19.8069L6.66402 14.2819H3.40002C2.01902 14.2819 0.900024 13.1629 0.900024 11.7819V8.41888C0.900024 7.03888 2.01902 5.91888 3.40002 5.91888H6.66402ZM20.9172 19.361C20.6482 19.361 20.3812 19.254 20.1842 19.041C19.8082 18.636 19.8322 18.004 20.2372 17.628C22.4382 15.586 23.6502 12.877 23.6502 9.99898C23.6502 7.12098 22.4382 4.41198 20.2362 2.36898C19.8322 1.99398 19.8082 1.36098 20.1842 0.955983C20.5592 0.550983 21.1922 0.527983 21.5972 0.902983C24.2102 3.32798 25.6502 6.55898 25.6502 9.99898C25.6502 13.44 24.2102 16.67 21.5972 19.094C21.4042 19.273 21.1602 19.361 20.9172 19.361ZM17.9401 15.3541C17.6751 15.3541 17.4101 15.2491 17.2131 15.0421C16.8341 14.6411 16.8511 14.0081 17.2521 13.6281C18.2791 12.6551 18.8451 11.3661 18.8451 9.99808C18.8451 8.63008 18.2791 7.34208 17.2521 6.36908C16.8511 5.98908 16.8341 5.35708 17.2131 4.95608C17.5931 4.55408 18.2261 4.53708 18.6271 4.91708C20.0571 6.27108 20.8451 8.07508 20.8451 9.99808C20.8451 11.9211 20.0581 13.7261 18.6271 15.0801C18.4341 15.2631 18.1871 15.3541 17.9401 15.3541Z",fill:i,fillOpacity:r})})},bs=function(){return(0,s.jsx)("svg",{width:18.75,height:18.75,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M3.324 18.676C7.615 22.972 14.587 22.972 18.887 18.676C20.107 17.451 20.969 16.011 21.5 14.475C17.638 15.8 13.179 14.973 10.103 11.896C7.027 8.82 6.199 4.356 7.519 0.5C5.989 1.026 4.544 1.887 3.319 3.112C-0.978001 7.409 -0.973 14.38 3.324 18.676Z",fill:"white",fillOpacity:"0.55"})})},Ss=function(){return(0,s.jsx)("svg",{width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.48301 10.0905C3.22201 10.0905 2.95701 10.0505 2.69601 9.96549C1.35701 9.53049 0.621013 8.08649 1.05601 6.74849C1.49201 5.40949 2.93401 4.67349 4.27401 5.10849C5.36501 5.46349 6.05501 6.48649 6.03801 7.57849L7.20501 7.95749C7.65401 7.21949 8.38601 6.67349 9.25001 6.46949V5.24449C8.20701 4.92349 7.44701 3.95049 7.44701 2.80349C7.44701 1.39649 8.59201 0.250488 10 0.250488C11.408 0.250488 12.554 1.39649 12.554 2.80349C12.554 3.95049 11.793 4.92349 10.75 5.24449V6.46949C11.615 6.67349 12.346 7.21949 12.796 7.95849L13.962 7.57849C13.945 6.48749 14.635 5.46349 15.726 5.10849C17.066 4.67349 18.509 5.40949 18.944 6.74849C19.379 8.08749 18.643 9.53049 17.304 9.96549C17.045 10.0505 16.778 10.0915 16.512 10.0915C16.115 10.0915 15.72 9.99849 15.356 9.81249C14.978 9.61949 14.662 9.34249 14.425 9.00549L13.261 9.38349C13.269 9.47349 13.275 9.56349 13.275 9.65449C13.275 10.4705 12.973 11.2155 12.478 11.7895L13.199 12.7815C14.232 12.4275 15.419 12.7675 16.093 13.6955C16.92 14.8355 16.667 16.4355 15.527 17.2625C15.075 17.5905 14.55 17.7495 14.03 17.7495C13.24 17.7495 12.46 17.3845 11.961 16.6975C11.287 15.7695 11.33 14.5365 11.985 13.6635L11.267 12.6735C10.877 12.8375 10.449 12.9295 10 12.9295C9.55101 12.9295 9.12301 12.8375 8.73301 12.6735L8.01501 13.6625C8.67001 14.5355 8.71301 15.7695 8.03901 16.6975C7.54001 17.3845 6.76001 17.7495 5.97001 17.7495C5.44901 17.7495 4.92401 17.5905 4.47201 17.2625C3.33401 16.4345 3.08001 14.8345 3.90801 13.6955C4.30901 13.1435 4.90001 12.7805 5.57501 12.6745C5.99301 12.6085 6.41201 12.6465 6.80201 12.7805L7.52201 11.7885C7.02701 11.2145 6.72501 10.4695 6.72501 9.65449C6.72501 9.56349 6.73201 9.47249 6.73901 9.38349L5.57301 9.00449C5.09501 9.68349 4.31101 10.0905 3.48301 10.0905ZM10 1.75049C9.41901 1.75049 8.94701 2.22249 8.94701 2.80349C8.94701 3.38449 9.41901 3.85749 10 3.85749C10.581 3.85749 11.054 3.38449 11.054 2.80349C11.054 2.22249 10.581 1.75049 10 1.75049ZM2.48301 7.21149C2.62801 6.76749 3.04201 6.48349 3.48501 6.48349C3.59301 6.48349 3.70301 6.50049 3.81001 6.53549C4.36301 6.71449 4.66601 7.31049 4.48701 7.86249C4.30701 8.41549 3.71101 8.71849 3.15901 8.53949C2.60701 8.35949 2.30301 7.76449 2.48301 7.21149ZM10 7.87949C10.979 7.87949 11.775 8.67549 11.775 9.65449C11.775 10.6325 10.979 11.4295 10 11.4295C9.02201 11.4295 8.22501 10.6325 8.22501 9.65449C8.22501 8.67549 9.02201 7.87949 10 7.87949ZM14.025 14.1435C14.352 14.1435 14.673 14.2945 14.879 14.5775C15.22 15.0475 15.116 15.7075 14.646 16.0485C14.175 16.3905 13.516 16.2855 13.174 15.8155C12.833 15.3455 12.938 14.6865 13.407 14.3445C13.408 14.3445 13.408 14.3445 13.408 14.3435C13.594 14.2085 13.811 14.1435 14.025 14.1435ZM5.35401 16.0485C5.82401 16.3905 6.48401 16.2855 6.82601 15.8155C7.16701 15.3455 7.06301 14.6855 6.59301 14.3445C6.41101 14.2115 6.19601 14.1435 5.97601 14.1435C5.92101 14.1435 5.86401 14.1475 5.80901 14.1565C5.53101 14.2005 5.28701 14.3495 5.12101 14.5775C4.78001 15.0475 4.88401 15.7075 5.35401 16.0485ZM16.19 6.53549C16.297 6.50049 16.407 6.48349 16.514 6.48349C16.959 6.48349 17.373 6.76749 17.518 7.21149C17.697 7.76449 17.393 8.35949 16.841 8.53949H16.84C16.573 8.62649 16.288 8.60449 16.037 8.47649C15.786 8.34849 15.6 8.13049 15.513 7.86249C15.334 7.31049 15.638 6.71449 16.19 6.53549Z",fill:"white"})})},ys=function(){return(0,s.jsxs)("svg",{width:26,height:26,viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.6277 1.5158C13.4191 1.50504 13.2098 1.49963 12.9999 1.49963C6.3711 1.49963 0.999939 6.87682 0.999939 13.5068C0.999939 13.7017 1.00459 13.8961 1.01386 14.0899C1.04103 14.6576 1.52561 15.096 2.09621 15.0689C2.66681 15.0419 3.10734 14.5597 3.08017 13.992C3.07246 13.8308 3.06859 13.669 3.06859 13.5068C3.06859 8.01082 7.51642 3.558 12.9999 3.558C13.1741 3.558 13.3476 3.56248 13.5205 3.57141C14.0909 3.60086 14.5774 3.16458 14.607 2.59694C14.6366 2.0293 14.1981 1.54526 13.6277 1.5158ZM16.9271 3.20144C17.1814 2.69252 17.8023 2.48515 18.3138 2.73828C22.3748 4.74815 24.9999 8.89276 24.9999 13.5068C24.9999 15.7698 24.3723 17.9429 23.2054 19.8259C23.1274 19.9519 23.047 20.0764 22.9643 20.1994C22.6468 20.6719 22.0044 20.7988 21.5295 20.4828C21.0547 20.1669 20.9272 19.5277 21.2447 19.0552C21.3132 18.9533 21.3799 18.8501 21.4446 18.7456C22.4115 17.1852 22.9313 15.3857 22.9313 13.5068C22.9313 9.6802 20.7561 6.24595 17.3925 4.58127C16.8811 4.32814 16.6727 3.71037 16.9271 3.20144ZM2.63337 17.241C3.15087 17.0003 3.76648 17.2226 4.00838 17.7375C5.63483 21.1997 9.11392 23.4556 12.9999 23.4556C15.1001 23.4556 17.0997 22.8021 18.771 21.6045C19.2345 21.2723 19.8809 21.377 20.2148 21.8382C20.5486 22.2994 20.4434 22.9426 19.9799 23.2748C17.9596 24.7226 15.5379 25.514 12.9999 25.514C8.30184 25.514 4.09734 22.7877 2.13435 18.6092C1.89246 18.0942 2.11587 17.4817 2.63337 17.241ZM15.0428 8.6273C15.8126 8.6273 16.4366 9.28927 16.4366 10.1058V16.8803C16.4366 17.6968 15.8126 18.3588 15.0428 18.3588H11.3937C10.6239 18.3588 9.99994 17.6968 9.99994 16.8803V10.1058C9.99994 9.28927 10.6239 8.6273 11.3937 8.6273H15.0428Z",fill:"white"}),(0,s.jsx)("circle",{cx:13,cy:"2.5",r:2,fill:"white"}),(0,s.jsx)("circle",{cx:3,cy:18,r:2,fill:"white"}),(0,s.jsx)("circle",{cx:"22.5",cy:19,r:2,fill:"white"})]})},Rs=function(){return(0,s.jsx)("svg",{width:22,height:22,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.36201 14.6296C0.944628 14.6296 0.561771 14.3532 0.444628 13.9315C0.181295 12.9811 0.0474854 11.9949 0.0474854 10.9999C0.0474854 4.96082 4.96082 0.0474854 10.9999 0.0474854C13.5615 0.0474854 16.0256 0.946684 17.9756 2.55673C18.1446 2.50756 18.3234 2.4812 18.5084 2.4812C19.5605 2.4812 20.4131 3.33406 20.4131 4.38596C20.4131 5.43787 19.5605 6.29072 18.5084 6.29072C17.4565 6.29072 16.6036 5.43787 16.6036 4.38596C16.6036 4.23199 16.6219 4.08229 16.6564 3.9389C15.0626 2.66297 13.0697 1.95225 10.9999 1.95225C6.01106 1.95225 1.95225 6.01106 1.95225 10.9999C1.95225 11.8227 2.06249 12.638 2.2801 13.4225C2.42058 13.9294 2.12368 14.4542 1.61677 14.5949C1.53177 14.6184 1.44629 14.6296 1.36201 14.6296ZM5.39637 17.614C5.39637 17.7679 5.37811 17.9175 5.34363 18.0609C6.93736 19.3368 8.93015 20.0476 11 20.0476C15.9888 20.0476 20.0476 15.9888 20.0476 11C20.0476 10.1771 19.9374 9.36187 19.7197 8.57734C19.5793 8.07044 19.8762 7.54568 20.3831 7.40496C20.8902 7.26472 21.4147 7.56163 21.5552 8.06829C21.8186 9.01877 21.9524 10.005 21.9524 11C21.9524 17.039 17.039 21.9523 11 21.9523C8.43842 21.9523 5.97434 21.0533 4.02453 19.4432C3.85541 19.4923 3.67659 19.5187 3.4916 19.5187C2.43946 19.5187 1.58684 18.6659 1.58684 17.614C1.58684 16.5621 2.43946 15.7092 3.4916 15.7092C4.54351 15.7092 5.39637 16.5621 5.39637 17.614ZM9.90494 14.8134L15.0099 11.6422C15.473 11.3515 15.473 10.6488 15.0099 10.3577L9.90494 7.1867C9.42827 6.8867 8.8216 7.24646 8.8216 7.8286V14.1707C8.8216 14.7531 9.42827 15.1131 9.90494 14.8134Z",fill:"white"})})},Ls=function(e){var t=e.className;return(0,s.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsx)("path",{d:"M11.3728 5.65429C11.863 5.43257 12.4401 5.65022 12.6618 6.14042C12.8835 6.63063 12.6659 7.20776 12.1757 7.42948C8.28875 9.18755 6.03895 13.3823 6.7904 17.644C7.69352 22.7659 12.5777 26.1858 17.6995 25.2827C21.9261 24.5374 25.0844 21.0398 25.4483 16.8259C25.4946 16.2899 25.9667 15.8929 26.5027 15.9392C27.0387 15.9855 27.4357 16.4576 27.3894 16.9936C26.95 22.0815 23.139 26.302 18.0379 27.2014C11.8563 28.2914 5.96163 24.1639 4.87167 17.9824C3.96471 12.8387 6.67946 7.77707 11.3728 5.65429Z",fill:"white"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.9841 4.6972C15.4433 4.68811 14.9987 5.12125 14.9936 5.66205L14.8946 16.1748C14.8881 16.8662 15.5838 17.3441 16.2268 17.09L25.8148 13.3007C26.3121 13.1041 26.558 12.5434 26.3658 12.0444C24.6891 7.69322 20.5643 4.77415 15.9841 4.6972ZM16.8554 14.7462L16.9308 6.71523L16.9726 6.72017C20.002 7.11504 22.6887 9.01744 24.1188 11.7896L24.1542 11.8617L16.8554 14.7462Z",fill:"white"}),(0,s.jsx)("path",{d:"M14.9936 5.66205C14.9987 5.12405 15.4389 4.69203 15.9769 4.6971C16.5149 4.70217 16.9469 5.1424 16.9418 5.6804L16.8554 14.7462L25.0987 11.4887C25.5573 11.3074 26.0711 11.4985 26.3059 11.917L26.3627 12.0366C26.5605 12.537 26.3151 13.1029 25.8148 13.3007L16.2268 17.09C15.5838 17.3441 14.8881 16.8662 14.8946 16.1748L14.9936 5.66205Z",fill:"white"})]})},Is={ca:"ca:xxs:text-[10px]"},Ps={vn:"vn:xxs:text-[9px]",ru:"ru:xxs:text-[9px]",gr:"gr:xxxsm:text-[9px]"},Os={vn:"vn:xxs:gap-1"},Ms={lt:"lt:text-xxs"},Ds=H()(Object.values(Is)),Gs=H()(Object.values(Ps)),ks=H()(Object.values(Os)),Hs=H()(Object.values(Ms)),Bs=function(e){var t=e.children,a=e.className,i=void 0===a?"":a;return(0,s.jsx)("div",{className:"flex h-full w-full items-center justify-center",children:(0,s.jsx)("div",{className:F("flex h-12 w-12 items-center justify-center rounded-full bg-black/30",i),children:(0,s.jsx)("div",{className:"flex h-7 max-h-[28px] w-7 max-w-[28px] items-center justify-center",children:t})})})},Us=function(){return(0,s.jsxs)("div",{className:"pointer-events-auto flex h-screen flex-col items-center gap-2 px-7 pt-7 md:pt-11 xsmd:pt-2 xxs:pt-2",children:[(0,s.jsxs)("div",{className:"flex w-full items-center justify-end gap-x-4 px-4 py-1",children:[(0,s.jsx)("div",{className:"flex h-6 w-6 items-center justify-center md:h-8 md:w-8",children:(0,s.jsx)(xs,{})}),(0,s.jsx)("div",{className:"flex h-6 w-6 items-center justify-center md:h-8 md:w-8",children:(0,s.jsx)(fs,{})}),(0,s.jsx)("div",{className:"flex h-4 w-4 items-center justify-center md:h-5 md:w-5",children:(0,s.jsx)(ps,{size:"100%"})})]}),(0,s.jsxs)("div",{className:"grid w-full grid-cols-2 items-center gap-3",children:[(0,s.jsxs)("div",{className:"c-quick-panel-container c-app-colour-palette__notifications__container flex h-[68px] max-w-full items-center gap-x-2 rounded-full bg-black/30 p-2.5 py-3 xs:h-[50px] xs:py-2 xsmd:p-1.5 xsmd:py-2 xsm:p-1.5 xsm:py-2 xxs:h-[50px] xxs:p-1.5 xxs:py-2",children:[(0,s.jsx)("div",{className:"c-app-colour-palette__notifications__icon flex h-9 w-9 items-center justify-center rounded-full bg-white md:h-11 md:w-11",children:(0,s.jsx)(ds,{size:23,fillOpacity:.65})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-[13px] font-semibold text-[#FAFAFF] opacity-90",children:g.t["@PARADIGM_DASHBOARD_QUICK_PANEL_WIFI"]}),(0,s.jsx)("div",{className:"text-[10px] font-semibold text-[#FAFAFF] opacity-60",children:g.t["@PARADIGM_DASHBOARD_QUICK_PANEL_CELLSPOT"]})]})]}),(0,s.jsxs)("div",{className:"c-quick-panel-container c-app-colour-palette__notifications__container flex h-[68px] max-w-full items-center gap-x-2 rounded-full bg-black/30 p-2.5 py-3 xs:h-[50px] xs:py-2 xsmd:p-1.5 xsmd:py-2 xsm:p-1.5 xsm:py-2 xxs:h-[50px] xxs:p-1.5 xxs:py-2",children:[(0,s.jsx)("div",{className:"flex h-9 w-9 items-center justify-center rounded-full bg-black/30 md:h-11 md:w-11",children:(0,s.jsx)(us,{size:23,className:"opacity-50",color:"#FFFFFF"})}),(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"text-[13px] font-semibold text-[#FAFAFF] opacity-90",children:g.t["@PARADIGM_DASHBOARD_QUICK_PANEL_BLUETOOTH"]})})]})]}),(0,s.jsxs)("div",{className:"c-quick-panel-container c-app-colour-palette__notifications__container w-full rounded-[40px] bg-black/30 px-1 pt-4 md:pt-6 xsmd:pt-4 xsm:pt-4 xxs:pt-4",children:[(0,s.jsxs)("div",{className:"grid w-full grid-cols-4 gap-2 gap-y-3",children:[(0,s.jsx)(Bs,{className:"c-app-colour-palette__notifications__icon bg-white",children:(0,s.jsx)(Cs,{size:"100%"})}),(0,s.jsx)(Bs,{children:(0,s.jsx)(ms,{size:"100%",color:"rgba(255, 255, 255, 0.5)"})}),(0,s.jsx)(Bs,{children:(0,s.jsx)(hs,{size:"100%",color:"rgba(255, 255, 255, 0.5)"})}),(0,s.jsx)(Bs,{children:(0,s.jsx)(vs,{size:"100%",color:"rgba(255, 255, 255, 0.5)"})}),(0,s.jsx)(Bs,{children:(0,s.jsx)(As,{})}),(0,s.jsx)(Bs,{children:(0,s.jsx)(Es,{size:"100%",color:"rgba(255, 255, 255, 0.5)"})}),(0,s.jsx)(Bs,{children:(0,s.jsx)(gs,{})}),(0,s.jsx)(Bs,{children:(0,s.jsx)(js,{})})]}),(0,s.jsx)("div",{className:"flex h-6 w-full items-center justify-center md:h-8",children:(0,s.jsx)("div",{className:"mt-2 h-[3px] w-8 bg-white/20"})})]}),(0,s.jsxs)("div",{className:"c-quick-panel-container c-app-colour-palette__notifications__container flex w-full flex-col justify-center gap-y-4 rounded-[40px] border-transparent bg-black/30 p-6 xxs:py-4",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("div",{className:"c-app-colour-palette__notifications__slider w-[80%]",children:(0,s.jsx)(ws,{})}),(0,s.jsx)("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-black/30 foldCover:h-10 foldCover:w-10",children:(0,s.jsx)("div",{className:"",children:(0,s.jsx)(bs,{})})})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("div",{className:"c-app-colour-palette__notifications__slider w-[80%]",children:(0,s.jsx)(Ts,{})}),(0,s.jsx)("div",{className:"c-app-colour-palette__notifications__icon flex h-12 w-12 items-center justify-center rounded-full bg-white foldCover:h-10 foldCover:w-10",children:(0,s.jsx)(_s,{size:21})})]})]}),(0,s.jsxs)("div",{className:"c-quick-panel-container c-app-colour-palette__notifications__container flex w-full items-center justify-between gap-2 rounded-[40px] border-[1px] bg-black/30 p-4 pl-6 text-xs md:text-sm xsmd:py-3 xxs:py-3",children:[(0,s.jsxs)("div",{className:"flex items-center justify-center gap-x-2 text-[13px] font-semibold text-[#FAFAFF]",children:[(0,s.jsx)(Ns,{}),g.t["@PARADIGM_DASHBOARD_QUICK_PANEL_MEDIA_PLAY_MUSIC"]]}),(0,s.jsx)("div",{className:H()("rounded-full bg-black/30 px-4 py-2 text-[13px] font-semibold text-white xxs:text-xs",Ds),children:g.t["@PARADIGM_DASHBOARD_QUICK_PANEL_MEDIA_OUTPUT"]})]}),(0,s.jsxs)("div",{className:H()("grid w-full grid-cols-2 grid-rows-2 items-center gap-2 xsm:gap-y-2 xxs:gap-y-2",ks),children:[(0,s.jsxs)("div",{className:"c-quick-panel-container c-app-colour-palette__notifications__container flex h-full max-w-full items-center gap-x-1 rounded-full bg-black/30 py-3 pr-2 ltr:pl-3.5 rtl:pr-3.5",children:[(0,s.jsx)("div",{className:"flex h-7 w-6 items-center justify-center md:h-9 md:w-9",children:(0,s.jsx)(ys,{})}),(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:H()("text-[13px] text-white/90 xsmd:text-xs xsm:text-xs xxs:text-xs",Hs),children:g.t["@PARADIGM_DASHBOARD_QUICK_PANEL_MEDIA_NEARBY_DEVICES"]})})]}),(0,s.jsxs)("div",{className:"c-quick-panel-container c-app-colour-palette__notifications__container flex h-full max-w-full items-center gap-x-1 rounded-full bg-black/30 py-3 pr-2 ltr:pl-3.5 rtl:pr-3.5",children:[(0,s.jsx)("div",{className:"flex h-7 w-6 items-center justify-center md:h-9 md:w-9",children:(0,s.jsx)(Ss,{})}),(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"text-[13px] text-white/90 xsmd:text-xs xsm:text-xs xxs:text-xs",children:g.t["@PARADIGM_DASHBOARD_QUICK_PANEL_MEDIA_SMART_THINGS"]})})]}),(0,s.jsxs)("div",{className:"c-quick-panel-container c-app-colour-palette__notifications__container flex h-full max-w-full items-center gap-x-1.5 rounded-full bg-black/30 py-3 pr-2 ltr:pl-3.5 rtl:pr-3.5",children:[(0,s.jsx)("div",{className:"flex h-7 w-6 items-center justify-center md:h-9 md:w-9",children:(0,s.jsx)(Rs,{})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-[13px] text-white/90 xsmd:text-xs xsm:text-xs xxs:text-xs",children:g.t["@PARADIGM_DASHBOARD_QUICK_PANEL_MEDIA_SMART_VIEW"]}),(0,s.jsx)("div",{className:H()("text-[10px] font-semibold text-white/50",Gs),children:g.t["@PARADIGM_DASHBOARD_QUICK_PANEL_MEDIA_MIRROR_SCREEN"]})]})]}),(0,s.jsxs)("div",{className:"c-quick-panel-container c-app-colour-palette__notifications__container flex h-full max-w-full items-center gap-x-1.5 rounded-full bg-black/30 py-3 pr-2 ltr:pl-3.5 rtl:pr-3.5",children:[(0,s.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-black/30 xsm:h-8 xsm:w-8 xxs:h-8 xxs:w-8",children:(0,s.jsx)(Ls,{className:"h-6 w-6 xsm:h-5 xsm:w-5 xxs:h-5 xxs:w-5"})}),(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"text-[13px] text-white/90 xsmd:text-xs xsm:text-xs xxs:text-xs",children:g.t["@PARADIGM_DASHBOARD_QUICK_PANEL_MEDIA_MODES"]})})]})]})]})},Zs=function(e){var t=e.handleClose;return(0,s.jsx)("div",{className:"fixed bottom-0 left-0 right-0 z-50","data-component":"dashboard-notifications-footer",children:(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"relative z-50 w-full text-white",children:[(0,s.jsx)("div",{className:"absolute inset-0"}),(0,s.jsxs)("div",{className:"flex-no-wrap relative flex w-full justify-around px-4 pb-6 xxs:pb-2",dir:"ltr",children:[(0,s.jsx)("div",{className:"w-full text-center",children:(0,s.jsx)("button",{className:"relative flex w-full items-center justify-center","data-ref":"dashboard-footer-button-menu",children:(0,s.jsxs)("div",{className:"relative w-full text-center",children:[(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 opacity-0","data-ref":"dashboard-footer-button-overlay",children:(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 rounded-3xl bg-black opacity-25","data-ref":"dashboard-footer-button-overlay-background"})}),(0,s.jsx)("div",{className:"gpu relative flex justify-center py-4",children:(0,s.jsx)(ha,{})})]})})}),(0,s.jsx)("div",{className:"w-full text-center",children:(0,s.jsx)("button",{className:"relative flex w-full items-center justify-center","data-ref":"dashboard-footer-button-home",onClick:t,children:(0,s.jsxs)("div",{className:"relative w-full text-center",children:[(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 opacity-0","data-ref":"dashboard-footer-button-overlay",children:(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 rounded-3xl bg-black opacity-25","data-ref":"dashboard-footer-button-overlay-background"})}),(0,s.jsx)("div",{className:"gpu relative flex justify-center py-4",children:(0,s.jsx)(ma,{})})]})})}),(0,s.jsx)("div",{className:"w-full text-center",children:(0,s.jsx)("button",{className:"relative flex w-full items-center justify-center","data-ref":"dashboard-footer-button-back",onClick:t,children:(0,s.jsxs)("div",{className:"relative w-full text-center",children:[(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 opacity-0","data-ref":"dashboard-footer-button-overlay",children:(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 rounded-3xl bg-black opacity-25","data-ref":"dashboard-footer-button-overlay-background"})}),(0,s.jsx)("div",{className:"gpu relative flex justify-center py-4 rtl:-scale-x-100 rtl:transform",children:(0,s.jsx)(Aa,{})})]})})})]})]})})})},Ys=a(74978),Fs=a(17724),Vs=a(83880),Ws=(0,i.forwardRef)((function(e,t){var a=e.showPolicy,i=e.handleShowPolicy,n=e.handleClosePolicy;return(0,s.jsxs)("div",{ref:t,className:"pointer-events-auto absolute bottom-0 left-0 right-0 top-0 z-50 container-policy-".concat(a),children:["cookie"===a&&(0,s.jsx)(Ys.Z,{onOpenCookiePreferences:function(){i("manage-cookies")},onOpenPrivacyPolicy:function(){i("privacy")}}),"privacy"===a&&(0,s.jsx)(Vs.Z,{}),"manage-cookies"===a&&(0,s.jsx)(Fs.Z,{}),(0,s.jsx)("div",{className:"sticky bottom-0 left-0 right-0",children:(0,s.jsx)("div",{className:"flex justify-center bg-primary-gray-100 px-5 py-5",children:(0,s.jsxs)("button",{className:"relative ltr:font-title rtl:font-titleAr",onClick:n,children:[(0,s.jsx)("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transform rounded-full bg-[#eee]",style:{width:"calc(100% + 10px)",height:"calc(100% + 10px)"}}),(0,s.jsx)("div",{className:"relative rounded-full border border-primary-gray-110 bg-white p-3 text-black",children:(0,s.jsx)("div",{className:"relative px-4 text-xs font-bold",children:"manage-cookies"===a?g.t["NOTIFICATION-CENTER_POLICY-SAVE-AND-CLOSE-CTA"]:g.t["NOTIFICATION-CENTER_POLICY-CLOSE-CTA"]})})]})})})]})})),Xs="/_next/static/media/software-update.740ae5f1.png",Ks=function(e){var t=e.className,a=e.circleClassName,i=e.pathClassName;return(0,s.jsxs)("svg",{width:"34",height:"34",viewBox:"-5 -5 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsx)("circle",{cx:"12",cy:"12",r:"17",className:H()("fill-[#c8c8c8]",a)}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.125 2.5C6.80984 2.5 2.5 6.81055 2.5 12.1261C2.5 17.4412 6.80949 21.75 12.125 21.75C17.4405 21.75 21.75 17.4412 21.75 12.1261C21.75 6.81055 17.4402 2.5 12.125 2.5ZM12.125 4.08219C16.5663 4.08219 20.1678 7.68431 20.1678 12.1261C20.1678 16.5673 16.5667 20.1678 12.125 20.1678C7.68326 20.1678 4.08219 16.5673 4.08219 12.1261C4.08219 7.68431 7.68372 4.08219 12.125 4.08219ZM13.238 7.86911C13.238 8.45136 12.7655 8.92391 12.1832 8.92391C11.5999 8.92391 11.1284 8.45136 11.1284 7.86911C11.1284 7.28687 11.5999 6.81432 12.1832 6.81432C12.7655 6.81432 13.238 7.28687 13.238 7.86911ZM13.1726 10.8432C13.1202 10.4571 12.7892 10.1595 12.3887 10.1595H10.3645L10.2572 10.1667C9.87107 10.2191 9.57345 10.5501 9.57345 10.9506L9.58067 11.0579C9.63306 11.4441 9.96405 11.7417 10.3645 11.7417L11.5976 11.7411V17.408L11.6048 17.5154C11.6572 17.9015 11.9882 18.1991 12.3887 18.1991C12.8256 18.1991 13.1798 17.845 13.1798 17.408V10.9506L13.1726 10.8432Z",className:H()("fill-[#f7f7f7]",i)})]})},Qs=a(46720),zs=(0,fe.ZP)()((0,Ee.tJ)((function(e,t){return{tutorialVersion:"0",shouldShowTutorial:function(){return parseInt(t().tutorialVersion,10)<parseInt("8",10)},updateTutorialVersionToLatest:function(){return e({tutorialVersion:"8"})},revertTutorialVersion:function(){return e({tutorialVersion:(parseInt("8",10)-1).toString()})}}}),{name:"try-galaxy/tutorial-store"})),qs=function(e){(function(e){return"touches"in e})(e)&&e.touches.length<2&&e.preventDefault&&e.preventDefault()},Js=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.isPreventDefault,s=void 0===a||a,n=t.delay,r=void 0===n?300:n,l=(0,i.useRef)(),c=(0,i.useRef)(),o=(0,i.useCallback)((function(t){s&&t.target&&(t.target.addEventListener("touchend",qs,{passive:!1}),c.current=t.target),l.current=setTimeout((function(){return e(t)}),r)}),[e,r,s]),d=(0,i.useCallback)((function(){l.current&&clearTimeout(l.current),s&&c.current&&c.current.removeEventListener("touchend",qs)}),[s]);return{onMouseDown:function(e){return o(e)},onTouchStart:function(e){return o(e)},onMouseUp:d,onMouseLeave:d,onTouchEnd:d}},$s=z.e.direction,ei={eslatam:"eslatam:foldCover:text-xs eslatam:foldCover:px-1",es:"es:foldCover:text-xs",br:"br:foldCover:text-xs",ru:"ru:foldCover:text-xs",ca:"ca:foldCover:text-xs"},ti={es:"es:foldCover:px-2",br:"br:foldCover:px-2",ru:"ru:foldCover:px-2",ca:"ca:foldCover:px-2"},ai=(H()(Object.values(ei)),H()(Object.values(ti)),g.t.getLanguage()),si=function(){var e=new Date,t="kr"===ai?"long":"short";return(0,g.RA)(e,{month:"short",day:"numeric",weekday:t,hourCycle:"h24"})},ii=function(){var e=new Date,t="kr"===ai;return(0,g.RA)(e,{hour:"numeric",minute:"numeric",hourCycle:"h24"},t)},ni=function(e){var t=e.dashboardContainerRef,a=D("dashboard/background-blur.jpg"),n=D("dashboard/secondary-background.png"),r=(0,P.q0)(),l=r.isDashboardSearchOpen,c=r.isDashboardNotificationsOpen,o=r.setIsDashboardNotificationsOpen,d=r.isQuickPanelOpen,u=r.setIsQuickPanelOpen,p=r.theme,x=r.start,f=r.isDashboardTransitioning,m=r.isOnSearch,h=(0,i.useMemo)((function(){switch(p){case"gen-z":return{background:"#96DD6B"};case"cute":return{background:"#FFB9CA"};default:return{backgroundImage:"url(".concat(a,")")}}}),[p]),A="cute"===p||"gen-z"===p,E="cute"===p||"gen-z"===p,v=(0,P.qr)(),C=v.isAppOpen,j=v.colourPaletteIndex,N=(0,Qs.ZP)({pagePath:"/app/dashboard",pageTitle:"Dashboard"}).handleCookieConsentButtonClick,T=zs().revertTutorialVersion,w=(0,i.useState)(""),b=w[0],S=w[1],y=(0,i.useRef)(null),R=(0,i.useRef)(null),O=(0,i.useRef)(null),G=(0,i.useRef)(null),k=(0,i.useRef)(null),H=(0,i.useRef)(null),B=(0,Qs.ZP)(),U=B.shouldShowManageCookie,Z=B.shouldShowCookiePolicy,Y=B.shouldShowPrivacyPolicy,F=function(e){switch(e){case"cookie":(0,V.Kq)("/app/dashboard/notifications/cookie-policy","Dashboard");break;case"privacy":(0,V.Kq)("/app/dashboard/notifications/privacy-policy","Dashboard");break;case"manage-cookies":(0,V.Kq)("/app/dashboard/notifications/manage-cookies","Dashboard")}var t=H.current;I.ZP.killTweensOf(t),I.ZP.set(t,{display:"none"}),S(e),I.ZP.fromTo(t,{display:"none",y:50,opacity:0},{display:"block",y:0,opacity:1,duration:.3,ease:"power3.out"})};(0,i.useLayoutEffect)((function(){var e=H.current;I.ZP.set(e,{display:"none"})}),[]),(0,i.useEffect)((function(){var e=y.current,a=R.current,s=O.current,i=t.current,n=G.current,r=k.current,p=a,x="notification",m=c||d;m?c?(0,V.Kq)("/app/dashboard/notifications","Dashboard"):(0,V.Kq)("/app/dashboard/quickpanel","Dashboard"):(I.ZP.set(e,{opacity:0}),I.ZP.set([a,r],{y:"-200%"}));var h,A=0,E=!1,g=!1,v={x:0,y:0},j={x:0,y:0},N=0,T=0,w=function(){},_=function(){},b=function(){E=!1};return w=function(){g||(1===A&&(E=!0,I.ZP.killTweensOf([p,e]),I.ZP.to(p,{duration:.3,y:"0%",ease:"power2.out"}),I.ZP.to(e,{duration:.3,opacity:1,ease:"power2.out",onComplete:b}),s.style.display="block","notification"===x?o(!0):u(!0)),-1===A&&(E=!0,I.ZP.killTweensOf([p,e]),I.ZP.to(p,{duration:.3,y:"-200%",ease:"power2.out"}),I.ZP.to(e,{duration:.3,opacity:0,ease:"power2.out",onComplete:function(){b(),s.style.display="none",o(!1),u(!1)}})),document.removeEventListener("touchend",w),document.removeEventListener("touchmove",_),N=0,A=0)},_=function(t){if(!f&&!g){var a=t.touches[0]||t.changedTouches[0],s=100*(j={x:a.pageX-v.x,y:a.pageY-v.y}).y/T,i=j.y/T;Math.abs(j.y)>Math.abs(j.x)&&(j.y>10||j.y<10)&&N++,N&&(m||(s=-100+s),s=s>0?0:s,I.ZP.to(p,{duration:.3,y:"".concat(s,"%")}),m&&(i+=1),I.ZP.to(e,{duration:.3,opacity:i}),A=s+100,A=m?A<90?-1:1:A>10?1:-1)}},h=function(e){var t=document.querySelector('*[data-ref="scroll-view"]');if(g=e.composedPath().includes(t),!l&&!C&&!g&&!E){A=0,N=0;var s=e.touches[0]||e.changedTouches[0];v={x:s.pageX,y:s.pageY};var i=window.innerWidth/3,n=$s?0:i,o=$s?2*i:3*i,u=v.x>=n&&v.x<=o;c||d?(x=c?"notification":"quick-panel",p=c?a:r):(x=u?"notification":"quick-panel",p=u?a:r),T=p.offsetHeight,j={x:s.pageX-v.x,y:s.pageY-v.y},(!c&&"quick-panel"===x||!d&&"notification"===x)&&(document.addEventListener("touchmove",_),document.addEventListener("touchend",w))}},C&&(b(),s.style.display="none",o(!1),u(!1)),i.addEventListener("touchstart",h),n.addEventListener("touchstart",h),function(){i.removeEventListener("touchstart",h),n.removeEventListener("touchstart",h),document.removeEventListener("touchmove",_),document.removeEventListener("touchend",w)}}),[c,l,C,x,f,d]);var W=Js((function(){T(),location.reload()}),{delay:6e3});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"absolute inset-0","data-component":"dashboard-notifications",ref:G,children:(0,s.jsxs)("div",{className:"c-app-colour-palette absolute inset-0","data-component":"app-themes-changes","data-theme":p,"data-colour":j,children:[(0,s.jsxs)("div",{className:"c-dashboard-notifications absolute inset-0","data-component":"app-themes-changes","data-theme":p,children:[(0,s.jsxs)("div",{className:"gpu absolute inset-0 opacity-0","data-ref":"dashboard-notifications-background",ref:y,children:[(0,s.jsx)("div",{className:"absolute inset-0 w-[calc(100vw_+_0.5px)] bg-cover bg-center",style:h}),A&&(0,s.jsx)("div",{className:"gpu absolute top-[calc(100%_-_610px)] left-0 right-0 flex h-[143px] justify-center bg-auto bg-center bg-no-repeat md:top-[calc(100%_-_650px)]",style:"gen-z"!=p?{backgroundImage:"url(".concat(n,")")}:{},children:"gen-z"==p&&(0,s.jsx)("img",{src:n,className:"h-32",alt:""})}),E&&(0,s.jsx)("div",{className:"absolute h-full w-full bg-transparent backdrop-blur-[6px]"})]}),(0,s.jsx)("div",{className:"pointer-events-auto absolute left-0 right-0 top-0 hidden",style:{height:"120px"},"data-ref":"dashboard-notifications-hit"}),(0,s.jsx)("div",{className:"pointer-events-auto absolute inset-0 hidden","data-ref":"dashboard-notifications-overlay",ref:O,children:(0,s.jsx)(Zs,{handleClose:function(){var e=y.current,t=R.current,a=O.current,s=k.current;I.ZP.killTweensOf([t,e,s]),I.ZP.to([t,s],{duration:.3,y:"-200%",ease:"power2.out"}),I.ZP.to(e,{duration:.3,opacity:0,ease:"power2.out",onComplete:function(){a.style.display="none",o(!1),u(!1)}})}})}),!m&&(0,s.jsx)("div",{className:"c-dashboard-notifications gpu relative w-full",ref:k,"data-ref":"dashboard-notifications-bar","data-theme":p,style:{transform:"translate(0px, -200%)"},children:(0,s.jsx)(Us,{})})]}),(0,s.jsx)("div",{className:"c-dashboard-notifications gpu relative h-full w-full","data-ref":"dashboard-notifications-bar","data-theme":p,ref:R,style:{transform:"translate(0px, -200%)"},children:(0,s.jsxs)("div",{className:"pointer-events-auto relative flex h-full w-full flex-col justify-between",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"px-6 pt-7 md:pt-11",children:(0,s.jsxs)("div",{className:"c-dashboard-notifications__text-bar inline-block align-text-bottom",children:[(0,s.jsx)("span",{className:"text-[23px]",children:ii()}),(0,s.jsx)("span",{className:"mx-0.5"}),(0,s.jsx)("span",{className:"text-[15px]",children:si()})]})}),(0,s.jsxs)("div",{className:"mt-6 px-2.5","data-ref":"dashboard-notifications-bar-4",children:[(0,s.jsx)("div",{className:"mb-[8px]",children:(0,s.jsx)(cs,{leadIcon:(0,s.jsx)("img",{src:"/assets/images/themes/default/icons/app-health.png?version=".concat(M.K0),className:"h-10 w-10",alt:"health app icon"}),headText:g.t["NOTIFICATION-CENTER_STEPS"],time:g.t["NOTIFICATION-CENTER_TIME"],description:g.t["NOTIFICATION-CENTER_TARGET-STEPS"]})}),(0,s.jsx)("button",(0,L.Z)((0,_.Z)({className:"mb-[8px] w-full"},W),{children:(0,s.jsx)(cs,{leadIcon:(0,s.jsx)("img",{src:Xs,className:"h-10 w-10",alt:"software update icon"}),headText:g.t["NOTIFICATION-CENTER_SOFTWARE-UPDATE"],time:g.t["NOTIFICATION-CENTER_SOFTWARE-UPDATE-TIME"],description:g.t["NOTIFICATION-CENTER_SOFTWARE-UPDATE-VERSION"]})})),Y&&(0,s.jsx)("button",{onClick:function(){F("privacy")},className:"mb-[8px] w-full",children:(0,s.jsx)(cs,{leadIcon:(0,s.jsx)(Ks,{circleClassName:"fill--light-white/55",pathClassName:"fill--light-primary-black-350/100"}),headText:g.t["NOTIFICATION-CENTER_PRIVACY-POLICY"]})}),Z&&(0,s.jsx)("button",{className:"mb-[8px] w-full",onClick:function(){F("cookie")},children:(0,s.jsx)(cs,{leadIcon:(0,s.jsx)(Ks,{circleClassName:"fill--light-white/55",pathClassName:"fill--light-primary-black-350/100"}),headText:g.t["NOTIFICATION-CENTER_COOKIE-POLICY"]})}),U&&(0,s.jsx)("button",{className:"mb-[8px] w-full",onClick:function(){F("manage-cookies")},children:(0,s.jsx)(cs,{leadIcon:(0,s.jsx)(Ks,{circleClassName:"fill--light-white/55",pathClassName:"fill--light-primary-black-350/100"}),headText:g.t["NOTIFICATION-CENTER_COOKIE-PREFERENCES"]})})]})]}),(0,s.jsx)("div",{className:"mb-20 px-3",children:(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)(os,{customClass:"c-quick-panel-container text-[13px] py-3 px-6 c-dashboard-notifications__text-bottom",text:g.t["@PARADIGM_NOTIFICATION-CENTER_SETTINGS"]}),(0,s.jsx)(os,{customClass:"c-quick-panel-container text-[13px] py-3 px-6 c-dashboard-notifications__text-bottom",text:g.t["NOTIFICATION-CENTER_CLEAR"]})]})})]})})]})}),(0,s.jsx)(Ws,{showPolicy:b,handleShowPolicy:F,handleClosePolicy:function(){var e=H.current,t=e.classList.contains("container-policy-manage-cookies");I.ZP.killTweensOf(e),I.ZP.to(e,{display:"none",y:50,opacity:0,duration:.3,ease:"power3.out",onStart:function(){t&&N("save-close")()},onComplete:function(){S("")}})},ref:H})]})},ri="/_next/static/media/gmail.0e0413c7.png",li="/_next/static/media/yahoo.c90a195f.png",ci="/_next/static/media/hotmail.41219610.png",oi="/_next/static/media/exchange.32e5c9e6.png",di="/_next/static/media/office.3ed85a8a.png",ui="/_next/static/media/other.7666b227.png",pi=function(){var e=(0,P.qr)(),t=e.appName,a=e.setAppActiveData,n=e.isAppOpen,r=(0,i.useState)(!1),l=r[0],c=r[1],o=(0,i.useState)(0),d=o[0],u=o[1],p=(0,i.useRef)(null),x=(0,i.useRef)(null),f=(0,i.useRef)(null),m=(0,i.useRef)(null),h=(0,i.useRef)(null),A=(0,i.useRef)(null),E=(0,i.useRef)([]),v=function(e,t){(0,V.Kq)("/app/mail/".concat(t),"Mail");var a=h.current,s=A.current,i=E.current,n=e.currentTarget,r=n.querySelector('*[data-ref="app-mail-button-icon"]'),o=n.querySelector('*[data-ref="app-mail-button-text"]'),p=n.querySelector('*[data-ref="app-mail-background"]');I.ZP.killTweensOf([r,o,p]);var x=I.ZP.timeline({});x.fromTo(r,{rotation:0,transformOrigin:"center top"},{rotation:-15,transformOrigin:"center top",duration:.2,ease:"power1.inOut"}),x.to(r,{rotation:15,transformOrigin:"center top",duration:.4,ease:"power1.inOut"}),x.to(r,{rotation:-15,transformOrigin:"center top",duration:.4,ease:"power1.inOut"}),x.to(r,{rotation:0,transformOrigin:"center top",duration:.4,ease:"power1.inOut"}),I.ZP.fromTo(p,{scale:1},{scale:5,transformOrigin:"center center",duration:.4,ease:"power1.out"}),I.ZP.fromTo(p,{opacity:1},{opacity:0,transformOrigin:"center center",duration:.3,delay:.2,ease:"power1.out"}),I.ZP.fromTo(o,{opacity:0,scale:0},{opacity:1,scale:1,duration:.6,ease:"power3.out"}),l||(I.ZP.to(a,{top:"-15%",duration:.6,ease:"power3.out"}),I.ZP.to(s,{top:"25%",duration:.6,ease:"power3.out"})),I.ZP.set(i,{display:"none"});var f=i[d%i.length];I.ZP.killTweensOf(f),I.ZP.fromTo(f,{opacity:0,y:20,display:"block"},{opacity:1,y:0,duration:.6,ease:"power3.out"}),u(d+1),c(!0)};return(0,i.useEffect)((function(){var e=p.current,s=x.current,i=f.current,r=m.current,l=h.current,o=A.current,d=E.current;"mail"===t&&((0,V.Kq)("/app/mail","Mail"),e&&i&&s&&r&&a({appContainer:e,appViewContent:i,appViewContainer:s,appViewIcon:r})),"mail"==t||n||(I.ZP.set(l,{top:"0%"}),I.ZP.set(o,{top:"50%"}),I.ZP.set(d,{display:"none"}),u(0),c(!1))}),[t,n]),(0,i.useEffect)((function(){Y(p.current)}),[]),(0,s.jsx)("div",{className:"absolute inset-0","data-component":"app-view","data-app-view-name":"mail","data-app-view-is-header-transparent":"true","data-track-title":"Mail","data-track-path":"/app/mail",ref:p,children:(0,s.jsxs)("div",{className:"absolute inset-0 overflow-hidden text-primary-gray-400","data-ref":"app-view-container",ref:x,children:[(0,s.jsxs)("div",{className:"gpu absolute inset-0","data-ref":"app-view-content",style:{minWidth:"100vw",minHeight:"100vh"},"data-component":"app-mail",ref:f,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-100","data-ref":"app-view-background"}),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0",children:(0,s.jsx)("div",{className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsx)("div",{className:"absolute left-0 right-0 overflow-hidden",style:{top:"35px",height:"calc(100% - 120px)",borderRadius:"2rem",borderTopLeftRadius:0,borderTopRightRadius:0},children:(0,s.jsxs)("div",{className:"absolute inset-0 overflow-hidden","data-ref":"app-content",children:[(0,s.jsx)("div",{className:"absolute inset-0 flex h-1/2 items-center","data-ref":"app-mail-header",ref:h,children:(0,s.jsx)("div",{className:"relative px-6 text-center",children:(0,s.jsx)("div",{className:"text-left text-4.5xl font-light",children:g.t["EMAIL_SET-UP-EMAIL_SET-UP-EMAIL-HEADING-ONE"]})})}),(0,s.jsx)("div",{className:"absolute inset-0 top-1/2 flex h-1/2 items-start","data-ref":"app-mail-container",ref:A,children:(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsxs)("div",{className:"relative w-full px-6",children:[(0,s.jsxs)("div",{className:"relative flex w-full",children:[(0,s.jsxs)("div",{className:"relative mb-4 mr-4 flex w-full flex-col items-center justify-center overflow-hidden rounded-3xl bg-white p-5","data-ref":"app-mail-button",onClick:function(e){v(e,"gmail-g-suite")},children:[(0,s.jsx)("div",{className:"relative flex w-full justify-center",children:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-full bg-primary-gray-125 opacity-0","data-ref":"app-mail-background"}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("img",{src:ri,className:"h-auto w-full",style:{width:"33px"},"data-ref":"app-mail-button-icon",alt:""})})]})}),(0,s.jsxs)("div",{className:"relative mt-2 text-center text-sm leading-tight text-black","data-ref":"app-mail-button-text",children:[g.t["EMAIL_SET-UP-EMAIL_GMAIL-G-SUITE-APP-GMAIL-TITLE"],(0,s.jsx)("br",{}),g.t["EMAIL_SET-UP-EMAIL_GMAIL-G-SUITE-APP-G-SUITE-TITLE"]]})]}),(0,s.jsxs)("div",{className:"relative mb-4 mr-4 flex w-full flex-col items-center justify-center overflow-hidden rounded-3xl bg-white p-5","data-ref":"app-mail-button",onClick:function(e){v(e,"yahoo")},children:[(0,s.jsx)("div",{className:"relative flex w-full justify-center",children:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-full bg-primary-gray-125 opacity-0","data-ref":"app-mail-background"}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("img",{src:li,className:"h-auto w-full",style:{width:"33px"},"data-ref":"app-mail-button-icon",alt:""})})]})}),(0,s.jsxs)("div",{className:"relative mt-2 text-center text-sm leading-tight text-black","data-ref":"app-mail-button-text",children:["\xa0",(0,s.jsx)("br",{}),g.t["EMAIL_SET-UP-EMAIL_YAHOO-APP-TITLE"]]})]}),(0,s.jsxs)("div",{className:"relative mb-4 flex w-full flex-col items-center justify-center overflow-hidden rounded-3xl bg-white p-5","data-ref":"app-mail-button",onClick:function(e){v(e,"/hotmail-outlook")},children:[(0,s.jsx)("div",{className:"relative flex w-full justify-center",children:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-full bg-primary-gray-125 opacity-0","data-ref":"app-mail-background"}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("img",{src:ci,className:"h-auto w-full",style:{width:"33px"},"data-ref":"app-mail-button-icon",alt:""})})]})}),(0,s.jsxs)("div",{className:"relative mt-2 text-center text-sm leading-tight text-black","data-ref":"app-mail-button-text",children:[g.t["EMAIL_SET-UP-EMAIL_HOTMAIL-APP-TITLE"],(0,s.jsx)("br",{}),g.t["EMAIL_SET-UP-EMAIL_OUTLOOK-APP-TITLE"]]})]})]}),(0,s.jsxs)("div",{className:"relative flex w-full",children:[(0,s.jsxs)("div",{className:"relative mb-4 mr-4 flex w-full flex-col items-center justify-center overflow-hidden rounded-3xl bg-white p-5","data-ref":"app-mail-button",onClick:function(e){v(e,"exchange")},children:[(0,s.jsx)("div",{className:"relative flex w-full justify-center",children:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-full bg-primary-gray-125 opacity-0","data-ref":"app-mail-background"}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("img",{src:oi,className:"h-auto w-full",style:{width:"33px"},"data-ref":"app-mail-button-icon",alt:""})})]})}),(0,s.jsxs)("div",{className:"relative mt-2 text-center text-sm leading-tight text-black","data-ref":"app-mail-button-text",children:["\xa0",(0,s.jsx)("br",{}),g.t["EMAIL_SET-UP-EMAIL_EXCHANGE-APP-TITLE"]]})]}),(0,s.jsxs)("div",{className:"relative mb-4 mr-4 flex w-full flex-col items-center justify-center overflow-hidden rounded-3xl bg-white p-5","data-ref":"app-mail-button",onClick:function(e){v(e,"office365")},children:[(0,s.jsx)("div",{className:"relative flex w-full justify-center",children:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-full bg-primary-gray-125 opacity-0","data-ref":"app-mail-background"}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("img",{src:di,className:"h-auto w-full",style:{width:"33px"},"data-ref":"app-mail-button-icon",alt:""})})]})}),(0,s.jsxs)("div",{className:"relative mt-2 text-center text-sm leading-tight text-black","data-ref":"app-mail-button-text",children:["\xa0",(0,s.jsx)("br",{}),g.t["EMAIL_SET-UP-EMAIL_OFFICE-365-APP-TITLE"]]})]}),(0,s.jsxs)("div",{className:"relative mb-4 flex w-full flex-col items-center justify-center overflow-hidden rounded-3xl bg-white p-5","data-ref":"app-mail-button",onClick:function(e){v(e,"other")},children:[(0,s.jsx)("div",{className:"relative flex w-full justify-center",children:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-full bg-primary-gray-125 opacity-0","data-ref":"app-mail-background"}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("img",{src:ui,className:"h-auto w-full",style:{width:"33px"},"data-ref":"app-mail-button-icon",alt:""})})]})}),(0,s.jsxs)("div",{className:"relative mt-2 text-center text-sm leading-tight text-black","data-ref":"app-mail-button-text",children:["\xa0",(0,s.jsx)("br",{}),g.t["EMAIL_SET-UP-EMAIL_OTHER-APP-TITLE"]]})]})]})]}),(0,s.jsxs)("div",{className:"relative px-6 pt-6",children:[(0,s.jsx)("div",{className:"hidden","data-ref":"app-mail-descript",ref:function(e){e&&!E.current.includes(e)&&E.current.push(e)},children:g.t["EMAIL_SET-UP-EMAIL_EMAIL-PROVIDER-TEXT"]}),(0,s.jsx)("div",{className:"hidden","data-ref":"app-mail-descript",ref:function(e){e&&!E.current.includes(e)&&E.current.push(e)},children:g.t["EMAIL_SET-UP-EMAIL_EMAIL-TRANSFER-TEXT"]}),(0,s.jsx)("div",{className:"hidden","data-ref":"app-mail-descript",ref:function(e){e&&!E.current.includes(e)&&E.current.push(e)},children:g.t["EMAIL_SET-UP-EMAIL_EMAIL-THINGS-TEXT"]})]})]})})]})})})})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0",children:(0,s.jsx)("button",{className:"gpu absolute left-0 top-0","data-ref":"app-view-icon",ref:m,children:(0,s.jsx)("div",{className:"max-w-icon overflow-hidden rounded-3xl",children:(0,s.jsx)("img",{src:D("icons/app-mail.png"),"data-component":"app-themes-changes",className:"",alt:""})})})})]})})};var xi="/_next/static/media/background-transfer.bb3c3fcb.png",fi="/_next/static/media/weather.77acbfa4.png",mi="/_next/static/media/search.d6233914.png",hi="/_next/static/media/paging.0956161b.svg",Ai="/_next/static/media/dot.f42f7598.svg",Ei="/_next/static/media/arrow-right.69733646.svg",gi="/_next/static/media/connect.c4406bb7.svg",vi="/_next/static/media/facebook.f5088d95.png",Ci="/_next/static/media/instagram.d1aa9bb3.png",ji="/_next/static/media/snapchat.0b6621b7.png",Ni="/_next/static/media/spotify.3650ad04.png",Ti="/_next/static/media/whatsapp.657fd241.png",wi="/_next/static/media/youtube.64f43ef7.png",_i={src:"/_next/static/media/icon-apps.3c9b5658.png",height:48,width:48,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIBAMAAAA2IaO4AAAAJFBMVEV2nux2nut1nux2nex1nex2nux2nux2nux2nux2nux2nux2nuyicurUAAAADHRSTlMAAAAAAAUcNDlPgY5TYZFcAAAAKUlEQVR42mMQCWBVYNDcXj2FIbprxVYG9mVZBWACwrXcXj2JgSGA1REA95wMnkKnOJwAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},bi={src:"/_next/static/media/icon-contacts.307196f6.png",height:48,width:48,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAb1BMVEXfeCzfeCveeCzfdyvedyzfdyvfeCzeeCzfdyzedyvdeS3feCzeeCzeeSzeeCzfeC3feCzedyzfeCzeeCzfeCzeeCzfeCzfeCzfeCveeCzfeCzfeCvfeCzfeCvfeCzeeCzfdyvfeCzfeCvfeCzeeCz2RujBAAAAJXRSTlMAAAAAAAECAgICAwMDBAcICAoQECIjUWJiYmdocHByc4+Wnry9k3TtYwAAAEhJREFUeNoNyEcSgCAQBMBhAbMoBjDLov9/I9y6GrKS86RqhQIL80olWvjN79Tl6b+/yYOB74tHAM9BdL4ZLoYQHaCFsdYInQB+SgOua2hEgQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},Si={src:"/_next/static/media/icon-homescreen.5ba3a580.png",height:48,width:48,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAoUlEQVR42j2OTQrCMBCFg3gGt6IgegAFf6BVNyoIutYjtJ7AltCF7ly4Sm7QOabfJKaBj8m892YSo6cQ19datm6idNpf7IUq7givUvwbTtHzeNG8g+WahiyhWzLnNM+wtnU5ZFH3Fd5C02fYIeQINWsb7iu0vXoauCBk1MND/IA6hC3kcNXADCx8oYIGPgzVME2fGhfi17y/DIjb0I+MMeYHY3VhzHHfwTIAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},yi={src:"/_next/static/media/icon-messages.19f17c1d.png",height:48,width:48,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAm0lEQVR42l2NSwoCMRBEM4KgG5e69XMX6QbRhV7AwTOIW03UjUsZ7+NNTPAevg4Bh2koqLyu6jgb9WmmIW2QIDUvIU3zkscCvQjt0cEkeFijPs6tvRMfa9cZeE1wi4lrCxQ4pDnIHibsDK6AJ9cZ2FHYOQm55VFDeIme+Ac665VrevlUpXFj+aY10fu33z7VK3+OCYz+PFYaUvUDAppa5zv0giEAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},Ri={src:"/_next/static/media/icon-music.381e8d52.png",height:48,width:48,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAclBMVEVAdL9AdL5Ac79Ac75Acr8AAABAd79AdL9AdL5AdL9AdL5Ac79AdL5AdL9Ac79AdL5AdL9Ac79AdL9AdL5Ac79AdL5AdL9AdL5AdL9AdL9AdL9AdL9AdL9AdL9AdL5AdL9AdL9AdL9AdL9AdL9AdL5AdL6z/ToGAAAAJnRSTlMAAAAAAAABAQECAgIDBAQGBwkNEhokLC45O0pxfoyPkZKUmJydprV1V64AAABASURBVHjaBYAHEkAwAAT3tOhE70T5/xcNoYxspQz5QeneGUixe/20GKLpYB2h2M6PJsfr7sEhSLRcPQlggFj6AXRAAxCJ5w7RAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},Li={src:"/_next/static/media/icon-photo.7fe97593.png",height:48,width:48,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAlElEQVR42mOAgfPlhSxAzHa+vIjlXHkREwMyAAoGAnENUEEuEJcD2W1AHAiTZAYK1gLpLCBOQtLUdq6ikAnEYAUqyAfSKUAccr6siBNIuwHF8oA0GwOIABl9oawo7kJ5UQOQ3wTEs4F4CbIbtgNxFRA7ArEGVGwasoIwqCPToNa1AbEvWBJoLCPUm8xAQXYgZkP2JgDroV7mqjL+VwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},Ii={src:"/_next/static/media/icon-settings.140dda4c.png",height:48,width:48,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAjUlEQVR42mOIKepiZIACIFsPiEPg/MJORpiEIBA7AXEdEFcAcQIQy0Ilu1mAnH4gTgdiUyDWjSnsCgTSU4HYEGZCPhDrA3EeENdGF3WZAOlsoBVSyAoMgbgQiCuA2ApoSjZQoSQDkAGyYgIQpwGxHRCbA3EAihVAlUJIjiwF4ngkR6J4Ux+IQ4FMmEZGALXgUTsgnb7/AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},Pi={ae:"ae:font-sansAr",gr:"gr:font-greekFonts"},Oi={eslatam:"eslatam:xxsm:w-[90px] eslatam:xxsm:h-[90px]",br:"br:xxsm:h-[80px] br:xxsm:w-[80px]",ca:"ca:xxsm:w-[80px] ca:xxsm:h-[80px]",fr:"fr:xxsm:w-[80px] fr:xxsm:h-[80px]"},Mi=H()(Object.values(Pi)),Di=H()(Object.values(Oi)),Gi=function(e){var t=e.imgSrc,a=e.title;return(0,s.jsx)("div",{className:H()("flex justify-start rounded-[24px] bg-[#F1F1F3] px-6 py-3",Di),"data-ref":"app-mail-button",children:(0,s.jsxs)("div",{className:"flex items-center justify-center gap-5",children:[(0,s.jsx)("img",{src:t,className:"h-auto w-[40px] xsmd:w-[30px] xsm:w-[30px] xxs:w-[30px]","data-ref":"app-fave-item-button-icon",alt:""}),(0,s.jsx)("div",{"data-ref":"app-mail-button-text",className:H()("text-lg font-semibold text-[#010102]",Mi),children:a})]})})},ki=function(e){var t=e.color;return(0,s.jsxs)("svg",{width:18,height:18,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("mask",{id:"mask0_452_2218123123123",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:14,height:14,children:(0,s.jsx)("path",{d:"M7.13285 0.366248C7.13285 0.366248 6.32835 0.327782 5.14705 0.484021C3.91008 0.647622 2.7892 1.08452 1.96828 1.85527C1.19613 2.6747 0.758434 3.79355 0.594299 5.02827C0.438013 6.20743 0.476311 7.01047 0.476311 7.01047C0.476311 7.01047 0.438013 7.81328 0.594299 8.99267C0.758434 10.2274 1.19613 11.3462 1.96828 12.1659C2.7892 12.9364 3.91008 13.3736 5.14705 13.5372C6.32835 13.6934 7.13285 13.6549 7.13285 13.6549C7.13285 13.6549 7.93736 13.6934 9.11866 13.5372C10.3556 13.3736 11.4765 12.9364 12.2974 12.1659H12.2977C13.0696 11.3462 13.5075 10.2274 13.6712 8.99267C13.8277 7.81328 13.7892 7.01047 13.7892 7.01047C13.7892 7.01047 13.8277 6.20743 13.6712 5.02827C13.5075 3.79355 13.0696 2.6747 12.2977 1.85527H12.2974C11.4765 1.08452 10.3556 0.647622 9.11866 0.484021C8.32724 0.379308 7.70471 0.362211 7.38025 0.362211C7.22039 0.362211 7.13285 0.366248 7.13285 0.366248Z",fill:"white"})}),(0,s.jsx)("g",{mask:"url(#mask0_452_2218123123123)",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-0.51416 14.6429H14.7788V-0.62207H-0.51416V14.6429Z",fill:t})})]})},Hi={eslatam:"eslatam:smd:text-xs",fr:"fr:smd:text-xs",cz:"cz:smd:text-xs",id:"id:smd:text-xs"},Bi={ca:"ca:xsmd:text-xs ca:xsl:text-sm ca:xxs:text-xs ca:xxsm:text-xs",fr:"fr:xsmd:text-xs fr:xsl:text-sm fr:xxs:text-xs fr:xxs:mt-2 fr:xxs:items-start",br:"br:xsmd:text-xs br:xsl:text-sm br:xxs:text-xs",de:"de:xsmd:text-xs de:xsl:text-sm de:xxs:text-xs",it:"it:xsmd:text-xs it:xsl:text-sm it:xxs:text-xs",tr:"tr:xsmd:text-xs tr:xsl:text-sm tr:xxs:text-xs",vn:"vn:xsmd:text-xs vn:xsl:text-sm vn:xxs:text-xs",es:"es:xsmd:text-xs es:xsl:text-sm es:xxs:text-xs",id:"id:xsmd:text-xs id:xsl:text-sm id:xxs:text-xs",se:"se:xsmd:text-xs se:xsl:text-sm se:xxs:text-xs",cz:"cz:xsmd:text-xs cz:xsl:text-sm cz:xxs:text-xs",eslatam:"eslatam:xsmd:text-xs eslatam:xsl:text-sm eslatam:xxs:text-xs",th:"th:items-start th:pt-1"},Ui={cn:"cn:w-[300vw]"},Zi={kr:"kr:font-light",eslatam:"eslatam:xxsm:my-0 eslatam:xsm:my-0",fr:"fr:xsm:my-0",gr:"gr:!font-greekFonts"},Yi={fr:"fr:xxxsm:mb-0 fr:xxxsm:text-sm",ca:"ca:xxs:text-base"},Fi={kr:"kr:font-light kr:xsmd:text-base kr:xxs:text-base",tw:"tw:font-light tw:xsmd:text-base tw:xxs:text-base",fr:"fr:xxsm:text-xs",gr:"gr:!font-greekFonts"},Vi={ae:"ae:mr-0 ae:ml-[10px]"},Wi={ae:"ae:ml-0"},Xi={cz:"cz:xs:h-10 cz:xxs:h-10",ca:"ca:smd:h-10 ca:smd:text-[9px]",fr:"fr:smd:h-10 fr:smd:text-[9px]",tr:"tr:smd:h-12",br:"br:xxsm:h-8",eslatam:"eslatam:xxsm:h-8"},Ki={id:"id:text-sm",fr:"fr:text-sm fr:smd:text-xs",it:"it:text-sm",ca:"ca:xxsm:text-sm ca:smd:text-xs ca:xs:mb-0 ca:xs:text-xs",tr:"tr:xxsm:text-sm tr:smd:text-xs",lt:"lt:text-xs lt:mb-3",gr:"gr:mb-2 gr:xs:text-xs gr:xxs:text-xs",hu:"hu:mb-3"},Qi={ru:"ru:flex ru:flex-wrap ru:justify-center"},zi={se:"se:smd:px-4"},qi={ru:"ru:w-1/2"},Ji={gr:"gr:font-greekFonts"},$i={hu:"hu:mt-5"},en={es:"es:whitespace-pre-line"},tn={jp:"jp:text-black"},an=H()(Object.values(Hi)),sn=H()(Object.values(Bi)),nn=H()(Object.values(Ui)),rn=(H()(Object.values(Zi)),H()(Object.values(Yi))),ln=(H()(Object.values(Fi)),H()(Object.values(Vi))),cn=H()(Object.values(Wi)),on=H()(Object.values(Xi)),dn=(H()(Object.values(Ki)),H()(Object.values(Qi)),H()(Object.values(qi)),H()(Object.values(Ji))),un=(H()(Object.values($i)),H()(Object.values(zi)),H()(Object.values(en))),pn=H()(Object.values(tn)),xn=function(e){var t=e.tableItems;return(0,s.jsx)(s.Fragment,{children:t.map((function(e,t){return(0,s.jsx)("div",{children:g.t[e.labelKey]&&(0,s.jsxs)("div",{className:"text- flex items-center gap-2.5 pl-3",children:[(0,s.jsx)("img",{alt:"icon",src:e.icon.src,width:"24px",height:"24px"}),(0,s.jsx)("div",{className:H()("flex h-12 w-full items-center self-stretch border-b border-black/5 smd:h-10",on,dn),children:g.t[e.labelKey]})]},t)},t)}))})},fn=[{icon:bi,labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_CONTACTS"},{icon:yi,labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_MESSAGES"},{icon:_i,labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_APPS"},{icon:Si,labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_HOMESCREEN"},{icon:Ii,labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_SETTINGS"},{icon:{src:"/_next/static/media/icon-video.7b3307d1.png",height:48,width:48,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAm0lEQVR42k2NSwoCMRBE6wqCsxiVWXgLwR/j0kAE3UlQSVAEBzyKm+ABkpV4B6/mW0Sw4VFd3QUlMcHkAayCSUt0Bi3Uv2cDT7gS2AOaO4jQyJu08+t0KOFOZQie+W3FYsERqtE3oReM8Q6/EYsFBxWHD88H9PBHvFWgAnypaP8qLqUiDzERbnCCeyHyG5V07nNYoFN0gs6hkqQvE4xZLyCH2/oAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_VIDEO"},{icon:Li,labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_IMAGES"},{icon:{src:"/_next/static/media/icon-documents.432fa467.png",height:48,width:48,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAmklEQVR42l2OwQkCMRREBxfjij3YgDbiIawVJNiEFxFEDyJexIN4sYtkDzZjdivxiQmIA4/Mn0zIl1AKru6it7CEuVAXfKWiFP0hBb8m3FB44Rff3FUiMHBlxrsZfkfhRrlRDodw7ls34HIKdy4fnM/fwolgrKw++gnzkdyULy760ycDU5bcM2xhBYAnU1Fq/YjFLDQZy6Nakt5OyWiFuKVYXQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_DOCUMENTS"},{icon:Ri,labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_AUDIO"},{icon:{src:"/_next/static/media/icon-internet.967764e8.png",height:48,width:48,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAQAAABuBnYAAAAAeklEQVR42g3EoQrCUACF4cP1TWZQQWFdsIhJLIIgWM9flOlw3gcwimIyWtcWBosre7SNDz45WJ5xp2BiOWjo4JqGmtZ7S6REr1kx5ehIKnKuvIjAjxu5nPntP1+elHzI5DmFN14y5sSDhRA7mkFFxxbJI0Tisy9OkEMPeQMu3l215LIAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_INTERNET"},{icon:{src:"/_next/static/media/icon-calendar.1d973527.png",height:48,width:48,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAmUlEQVR42jXPPQvCMBDGcfGbOEmHTE6i3CCo4OTgqIPSiostvkDxurTiC+IothT6YfsPJIEfl+QeuKRjlyRZiC0W2GOGo2+u8cAZf7zxlURf1IiA3tgMEcCgh77EiuxuAyculojQoEaFOaHUBi5u9hM7/FBiReBqAymHCXVKFYwwoGkYkftHfhBg7AIGBQ7+JxsUUCdHKLF2W6HNXWs3k23uAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_CALENDAR"},{icon:{src:"/_next/static/media/icon-lock-screen.cec99316.png",height:48,width:48,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAQAAABuBnYAAAAAcElEQVR42g3GrQrCYBhA4eMPLA12ATMYrIJgtr0nmxQvxeRMFi9AGIqwMgZb2u5vH095cAFu/Ph1By5xDT7cx9YXxAoA/3GKow0AYGXvOxmsAHNb8OIZbM2xsAaf3sHaAjM7Sw9JmZYBcXPyl4xeYQZ6KR7LaTrwggAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_LOCK-SCREEN"},{icon:{src:"/_next/static/media/icon-alarm-clock.95b77e55.png",height:48,width:48,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAmklEQVR42kWPSwrCMBCGSz2LV3AlpIWCdALpCTyDj51LwY3iygNIFwW9QPeZm/XLMNDARyb/P69USbSuOEPUFu7wgFC0JBnPzHyBL8aV+wgjnN3UAH+riHqj486LfugNgT4H0Wii5A8cPEGKZwk8ehc7mL1zB68iNgRTET1pm2LeoI02wlufGDNBD3szxZdcv5lDGQdv4taXrhfxJlMk8NAtIAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_ALARM"},{icon:{src:"/_next/static/media/icon-voice-memo.c02319ff.png",height:48,width:48,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA30lEQVR42mPY5unEyIAENtub+u4M8hFmQAbbPZ0k12rySoHYW5wtty9hYFAEsQ+np7IygMB6Q/m0XcF+Xf9PX1Zbry+96GJjU9jP3YdkGEDgw7otaftiIhsPJMbPeLdm0/xlDAyT7k2dMff+tFkdSxkY0hg+btgWvTcqvPZAQtzU92s3T13OwDDl7pTp0+9Pn12/hIEhmgEENpiqZW33cW3///8/+0YLreUni4sd/z99z8kAAiCw1c1OdaO5lgaIvcXJcvsqcQZlEHt/XDQrw1YXayYUbzqY+u/wcYN7EwDJMVECUtOsVgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_VOICE-MEMO"}],mn=[{icon:bi,labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_CONTACTS"},{icon:yi,labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_MESSAGES"},{icon:_i,labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_APPS"},{icon:Ii,labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_SETTINGS"},{icon:Si,labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_HOMESCREEN"},{icon:Li,labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_IMAGES"},{icon:Ri,labelKey:"SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_AUDIO"}],hn=function(e){var t=e.useSplashScreen,a=(0,P.qr)(),n=a.appName,r=a.setAppActiveData,l=(0,pt.O)().pushOverlayStack,c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)(null),u=(0,i.useRef)(null),p=(0,i.useRef)(null),x=(0,i.useRef)([]),f=(0,i.useRef)([]),m=(0,i.useRef)([]),h=(0,i.useRef)({value:0}),A=(0,i.useRef)(null),E=(0,i.useRef)(null),v=(0,i.useRef)([]),C=(0,i.useRef)(null),j=(0,i.useRef)([]),N=(0,i.useState)(!1),T=N[0],w=N[1],_=function(){var e=f.current,t=m.current;(function(e){var t,a,s;for(t=e.length-1;t>0;t--)a=Math.floor(Math.random()*(t+1)),s=e[t],e[t]=e[a],e[a]=s;return e})(e).forEach((function(e,a){var s=t[parseInt(e.dataset.index)],i=1+a/2;I.ZP.killTweensOf([e,s]),I.ZP.to(e,{opacity:0,ease:"power3.out",delay:i}),I.ZP.fromTo(s,{opacity:0,scale:.3},{opacity:1,scale:1,ease:"back.out",delay:i})})),I.ZP.fromTo(h.current,{value:0},{value:1,duration:7,onComplete:function(){e.forEach((function(e){I.ZP.set(e,{opacity:1})})),_()}})},b=g.t.getLanguage();(0,i.useEffect)((function(){"cn"===b&&w(!0);var e=c.current,a=o.current,s=d.current,i=u.current,A=h.current,E=p.current,v=x.current,C=f.current,j=m.current;if("smart-switch"===n)return r({appContainer:e,appViewContent:s,appViewContainer:a,appViewIcon:i}),t?I.ZP.fromTo(E,{opacity:1},{opacity:0,duration:.6,ease:"power3.out",delay:1,onComplete:function(){I.ZP.set(E,{display:"none",pointerEvents:"none"})}}):I.ZP.set(E,{display:"none",pointerEvents:"none"}),I.ZP.fromTo(v,{opacity:0},{opacity:1,duration:.6,ease:"power3.inOut",repeat:-1,stagger:.1}),_(),T&&(l({data:{text:g.t["TRY-GALAXY_HOME-SCREEN-ONE_CHINESE-DISCLAIMER-1"],cta:{text:g.t["TRY-GALAXY_HOME-SCREEN-ONE_OK_CTA"]}},type:"alert"}),w(!1)),function(){I.ZP.killTweensOf([E,v,C,j,A]),I.ZP.set(C,{opacity:1}),I.ZP.set(j,{opacity:0})}}),[n]),(0,i.useEffect)((function(){c.current.style.display="none"}),[]);var S=(0,i.useMemo)((function(){var e=[{imgSrc:wi,title:g.t["PARTNERSHIPS_APP-TITLE_YOUTUBE"]},{imgSrc:vi,title:g.t["PARTNERSHIPS_APP-TITLE_FACEBOOK"]},{imgSrc:Ti,title:g.t["PARTNERSHIPS_APP-TITLE_WHATSAPP"]},{imgSrc:ji,title:g.t["PARTNERSHIPS_APP-TITLE_SNAPCHAT"]},{imgSrc:Ci,title:g.t["PARTNERSHIPS_APP-TITLE_INSTAGRAM"]},{imgSrc:Ni,title:g.t["PARTNERSHIPS_APP-TITLE_SPOTIFY"]}];return"ru"===b&&(delete e[1],delete e[4],delete e[5]),e}),[b]);return(0,s.jsx)("div",{className:"absolute inset-0","data-component":"app-view","data-app-view-name":"smart-switch","data-app-view-is-header-transparent":"true","data-track-title":M.dC.SmartSwitch,"data-track-path":"/app/smart-switch",style:{display:"block"},ref:c,children:(0,s.jsxs)("div",{className:"absolute inset-0 overflow-hidden text-primary-gray-400","data-ref":"app-view-container",style:{transformOrigin:"0% 0%",transform:"translate(0px, 0px)"},ref:o,children:[(0,s.jsxs)("div",{className:"gpu absolute inset-0","data-ref":"app-view-content",style:{minWidth:"100vw",minHeight:"100vh",opacity:1,transformOrigin:"0px 0px",transform:"translate(0px, 0px)"},"data-component":"app-smart-switch",ref:d,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-white","data-ref":"app-view-background"}),(0,s.jsx)(ot,{sliderContainerRef:A,sliderListRef:E,sliderListItemsRef:v,sliderPaginationRef:C,sliderPaginationItemsRef:j,trackPath:"/app/smart-switch/page",resetPageOnLeave:!0,children:(0,s.jsx)("div",{className:"absolute inset-0","data-component":"slider","data-slider-type":"horizontal","data-slider-position":"internal","data-slider-location":M.dC.SmartSwitch,ref:A,children:(0,s.jsxs)("div",{className:"absolute left-0 right-0 h-[calc(100%-120px)] overflow-hidden xxs:h-[calc(100%-90px)]",style:{top:35},children:[(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center text-center text-black ltr:font-sans rtl:font-titleAr","data-ref":"app-content",children:(0,s.jsxs)("div",{className:H()("gpu absolute inset-0 flex",nn),"data-ref":"slider-list",style:{transform:"translate(0px, 0px)"},ref:E,children:[(0,s.jsx)("div",{className:"gpu relative flex h-full w-full items-center justify-center","data-ref":"slider-list-item",style:{transformOrigin:"50% 50%",opacity:1,transform:"translate(0px, 0px)"},ref:function(e){e&&!v.current.includes(e)&&v.current.push(e)},children:(0,s.jsxs)("div",{className:"relative flex h-full w-full flex-col justify-evenly",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"relative flex w-full px-10 md:!px-10 mini:px-4 xsm:px-2 xxs:px-8",children:[(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsxs)("div",{className:"flex w-auto flex-col items-center justify-center gap-3 rounded-2xl bg-[#DEE2E6] p-3 px-2 pt-16",children:[(0,s.jsx)("img",{"data-loader":"image",src:fi,alt:"","data-index":0,className:"flex h-10 w-24 items-center justify-center",ref:function(e){e&&!f.current.includes(e)&&f.current.push(e)}}),(0,s.jsx)("img",{"data-loader":"image",src:mi,alt:"","data-index":1,ref:function(e){e&&!f.current.includes(e)&&f.current.push(e)}}),(0,s.jsxs)("div",{className:"flex items-center justify-center gap-2.5",children:[(0,s.jsx)("div",{ref:function(e){e&&!f.current.includes(e)&&f.current.push(e)},"data-index":2,children:(0,s.jsx)(ki,{color:"#F59E9E"})}),(0,s.jsx)("div",{ref:function(e){e&&!f.current.includes(e)&&f.current.push(e)},"data-index":3,children:(0,s.jsx)(ki,{color:"#FFBB68"})}),(0,s.jsx)("div",{"data-index":4,ref:function(e){e&&!f.current.includes(e)&&f.current.push(e)},children:(0,s.jsx)(ki,{color:"#E5F3FE"})}),(0,s.jsx)("div",{"data-index":5,ref:function(e){e&&!f.current.includes(e)&&f.current.push(e)},children:(0,s.jsx)(ki,{color:"#7391F0"})})]}),(0,s.jsx)("img",{"data-loader":"image",src:hi,alt:"","data-index":6,className:"h-3",ref:function(e){e&&!f.current.includes(e)&&f.current.push(e)}}),(0,s.jsxs)("div",{className:"flex items-center justify-center gap-2.5",children:[(0,s.jsx)("div",{"data-index":7,ref:function(e){e&&!f.current.includes(e)&&f.current.push(e)},children:(0,s.jsx)(ki,{color:"#3CB552"})}),(0,s.jsx)("div",{"data-index":8,ref:function(e){e&&!f.current.includes(e)&&f.current.push(e)},children:(0,s.jsx)(ki,{color:"#5292EC"})}),(0,s.jsx)("div",{"data-index":9,ref:function(e){e&&!f.current.includes(e)&&f.current.push(e)},children:(0,s.jsx)(ki,{color:"#8E72FF"})}),(0,s.jsx)("div",{"data-index":10,ref:function(e){e&&!f.current.includes(e)&&f.current.push(e)},children:(0,s.jsx)(ki,{color:"#F59E9E"})})]})]})}),(0,s.jsxs)("div",{className:"flex items-center justify-center gap-1 px-8",children:[(0,s.jsx)("img",{"data-loader":"image",src:Ai,alt:"",ref:function(e){e&&!x.current.includes(e)&&x.current.push(e)}}),(0,s.jsx)("img",{"data-loader":"image",src:Ai,alt:"",ref:function(e){e&&!x.current.includes(e)&&x.current.push(e)}}),(0,s.jsx)("img",{"data-loader":"image",src:Ai,alt:"",ref:function(e){e&&!x.current.includes(e)&&x.current.push(e)}}),(0,s.jsx)("img",{"data-loader":"image",src:Ei,alt:"",className:"rtl:-scale-x-100 rtl:transform",ref:function(e){e&&!x.current.includes(e)&&x.current.push(e)}})]}),(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsxs)("div",{className:"flex w-auto flex-col items-center justify-center gap-3 rounded-2xl bg-[#BDDBF6] p-3 px-2 pt-16",children:[(0,s.jsx)("img",{"data-loader":"image",src:fi,alt:"",className:"flex h-10 w-24 items-center justify-center",ref:function(e){e&&!m.current.includes(e)&&m.current.push(e)}}),(0,s.jsx)("img",{"data-loader":"image",src:mi,alt:"",ref:function(e){e&&!m.current.includes(e)&&m.current.push(e)}}),(0,s.jsxs)("div",{className:"flex items-center justify-center gap-2.5",children:[(0,s.jsx)("div",{ref:function(e){e&&!m.current.includes(e)&&m.current.push(e)},children:(0,s.jsx)(ki,{color:"#F59E9E"})}),(0,s.jsx)("div",{ref:function(e){e&&!m.current.includes(e)&&m.current.push(e)},children:(0,s.jsx)(ki,{color:"#FFBB68"})}),(0,s.jsx)("div",{ref:function(e){e&&!m.current.includes(e)&&m.current.push(e)},children:(0,s.jsx)(ki,{color:"#E5F3FE"})}),(0,s.jsx)("div",{ref:function(e){e&&!m.current.includes(e)&&m.current.push(e)},children:(0,s.jsx)(ki,{color:"#7391F0"})})]}),(0,s.jsx)("img",{"data-loader":"image",src:hi,alt:"",className:"h-3",ref:function(e){e&&!m.current.includes(e)&&m.current.push(e)}}),(0,s.jsxs)("div",{className:"flex items-center justify-center gap-2.5",children:[(0,s.jsx)("div",{ref:function(e){e&&!m.current.includes(e)&&m.current.push(e)},children:(0,s.jsx)(ki,{color:"#3CB552"})}),(0,s.jsx)("div",{ref:function(e){e&&!m.current.includes(e)&&m.current.push(e)},children:(0,s.jsx)(ki,{color:"#5292EC"})}),(0,s.jsx)("div",{ref:function(e){e&&!m.current.includes(e)&&m.current.push(e)},children:(0,s.jsx)(ki,{color:"#8E72FF"})}),(0,s.jsx)("div",{ref:function(e){e&&!m.current.includes(e)&&m.current.push(e)},children:(0,s.jsx)(ki,{color:"#F59E9E"})})]})]})})]}),(0,s.jsx)("div",{className:"flex items-center justify-center px-24 md:!px-24 mini:px-[4.5rem] xsm:px-16 xxs:px-20 foldCover:px-14",children:(0,s.jsx)("img",{"data-loader":"image",src:gi,alt:"",className:"h-24 w-72 pt-0 rtl:-scale-x-100 rtl:transform"})})]}),(0,s.jsx)("div",{className:"relative w-full",style:{height:100},children:(0,s.jsx)("div",{className:"absolute inset-0 flex w-full items-center justify-center text-[22.6px] font-bold not-italic leading-[normal]",children:(0,s.jsxs)("div",{className:H()("relative w-full px-6 ltr:font-sans rtl:font-titleAr",dn),children:[(0,s.jsx)("span",{className:H()("text-[#9A9A9A]",pn),children:g.t["SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-ONE_MOVING-HOMES-HARD_H3"]}),(0,s.jsx)("br",{}),g.t["SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-ONE_MOVING-PHONES-EASY_H3"]]})})})]})}),(0,s.jsx)("div",{className:"gpu relative flex h-full w-full items-center justify-center","data-ref":"slider-list-item",style:{transformOrigin:"50% 50%",opacity:1,transform:"translate(0px, 0px)"},ref:function(e){e&&!v.current.includes(e)&&v.current.push(e)},children:(0,s.jsxs)("div",{className:"relative flex h-full w-full flex-col justify-evenly",children:[(0,s.jsx)("div",{className:"relative w-full px-6",children:(0,s.jsx)("img",{"data-loader":"image","data-src":xi,className:"w-full",src:xi,alt:""})}),(0,s.jsx)("div",{className:"relative w-full",style:{height:150},children:(0,s.jsx)("div",{className:"absolute inset-0 flex w-full items-center justify-center",children:(0,s.jsx)("div",{className:"relative w-full px-8 text-center text-lg font-semibold not-italic leading-[normal] text-black",children:g.t["@PARADIGM_SMART_SWITCH-WELCOME-JOURNEY-TWO_TRANSFER-DATA_TEXT"]})})})]})}),(0,s.jsx)("div",{className:"gpu relative flex h-full w-full items-center justify-center","data-ref":"slider-list-item",style:{transformOrigin:"50% 50%",opacity:1,transform:"translate(0px, 0px)"},ref:function(e){e&&!v.current.includes(e)&&v.current.push(e)},children:(0,s.jsxs)("div",{className:"relative flex h-full w-full flex-col justify-evenly",children:[(0,s.jsx)("div",{className:"relative w-full px-6",children:(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-x-1 gap-y-px text-[10.8px] ltr:text-left rtl:text-right",children:[(0,s.jsx)(sa.Z,{languages:["cn"],children:(0,s.jsx)(xn,{tableItems:fn})}),(0,s.jsx)(aa.Z,{languages:["cn"],children:(0,s.jsx)(xn,{tableItems:mn})})]})}),(0,s.jsx)("div",{className:"relative h-[300px] w-full",children:(0,s.jsx)("div",{className:H()("absolute inset-0 flex w-full items-center justify-center text-xs xsl:text-base",an,sn),children:(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)("div",{className:H()("mb-5 whitespace-pre-line px-8 text-center text-lg font-semibold not-italic leading-[normal] text-black xsmd:mb-1 smd:mb-1",rn),children:g.t["@PARADIGM_SMART_SWITCH-WELCOME-JOURNEY-THREE_DESCRIPTION"]}),(0,s.jsxs)("div",{className:"px-8",children:[(0,s.jsx)("p",{className:"text-center text-xs font-semibold not-italic leading-[normal] text-primary-gray-215",children:g.t["SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_DISCLAIMER"]}),(0,s.jsx)("p",{className:H()("text-center text-xs font-semibold not-italic leading-[normal] text-primary-gray-215",un),children:g.t["@PARADIGM_SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_DISCLAIMER-2"]}),(0,s.jsx)("p",{className:"text-center text-xs font-semibold not-italic leading-[normal] text-primary-gray-215",children:g.t["@PARADIGM_SMART-SWITCH_SMART-SWITCH-WELCOME-JOURNEY-THREE_DISCLAIMER-3"]})]})]})})})]})}),(0,s.jsx)(sa.Z,{languages:["cn"],children:(0,s.jsx)("div",{className:"gpu relative flex h-full w-full items-center justify-center","data-ref":"slider-list-item",style:{transformOrigin:"50% 50%",opacity:1,transform:"translate(0px, 0px)"},ref:function(e){e&&!v.current.includes(e)&&v.current.push(e)},children:(0,s.jsx)("div",{className:"relative mt-6 h-screen w-full overflow-x-hidden",children:(0,s.jsx)("div",{className:"absolute left-0 right-0 overflow-hidden",style:{top:"35px",height:"calc(100% - 120px)",borderRadius:"2rem",borderTopLeftRadius:0,borderTopRightRadius:0},children:(0,s.jsxs)("div",{className:"inset-0 flex h-full flex-col items-center justify-center overflow-hidden","data-ref":"app-content",children:[(0,s.jsx)("div",{className:"relative w-4/5",children:(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("div",{className:"relative flex w-full flex-col gap-3",children:S.map((function(e,t){return(0,s.jsx)(Gi,{imgSrc:e.imgSrc,title:e.title},t+e.title)}))})})}),(0,s.jsx)("div",{className:"inset-0 mt-6 flex items-center xsmd:mt-2 xxs:mt-1","data-ref":"app-mail-header",children:(0,s.jsx)("div",{className:"relative flex items-center justify-center text-center xxs:px-2",children:(0,s.jsxs)("div",{className:"flex w-4/5 flex-col gap-3 text-center text-base font-normal not-italic leading-5 xxs:gap-2",children:[(0,s.jsx)("div",{className:"whitespace-pre-line text-[12px] font-semibold text-primary-gray-215",children:g.t["PARTNERSHIPS_BODY-TEXT-SECTION-ONE"]}),(0,s.jsx)("div",{className:"whitespace-pre-line text-lg font-semibold leading-6 foldCover:text-medium",children:g.t["@PARADIGM_SMART_SWITCH-PARTNERSHIPS_BODY-TEXT-SECTION"]})]})})})]})})})})})]})}),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 pb-2",children:(0,s.jsxs)("div",{className:"flex-no-wrap align-center relative flex w-full justify-center pb-1 pt-4","data-ref":"slider-pagination",ref:C,style:{transform:"translate(0px, 0px)"},children:[(0,s.jsxs)("div",{className:H()("relative mr-[10px] h-2 w-2 overflow-hidden rounded-full border",ln),children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-full bg-primary-gray-214"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-400","data-ref":"slider-pagination-item",ref:function(e){e&&!j.current.includes(e)&&j.current.push(e)}})]}),(0,s.jsxs)("div",{className:H()("relative mr-[10px] h-2 w-2 overflow-hidden rounded-full border",ln),children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-full bg-primary-gray-214"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-400","data-ref":"slider-pagination-item",ref:function(e){e&&!j.current.includes(e)&&j.current.push(e)}})]}),(0,s.jsxs)("div",{className:H()("relative mr-[10px] h-2 w-2 overflow-hidden rounded-full border",ln),children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-full bg-primary-gray-214"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-400","data-ref":"slider-pagination-item",ref:function(e){e&&!j.current.includes(e)&&j.current.push(e)}})]}),(0,s.jsx)(sa.Z,{languages:["cn"],children:(0,s.jsxs)("div",{className:H()("relative mr-0 h-2 w-2 overflow-hidden rounded-full border",cn),children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-full bg-primary-gray-214"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-400","data-ref":"slider-pagination-item",ref:function(e){e&&!j.current.includes(e)&&j.current.push(e)}})]})})]})}),(0,s.jsx)("div",{className:"absolute inset-0","data-ref":"app-smart-switch-splash",style:{pointerEvents:"none",display:"none"},ref:p})]})})})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0",children:(0,s.jsx)("button",{className:"gpu absolute left-0 top-0","data-ref":"app-view-icon",style:{opacity:0,transformOrigin:"0% 100%",transform:"translate(0px, 499px) scale(6.4, 6.4)"},ref:u,children:(0,s.jsx)("div",{className:"max-w-icon overflow-hidden rounded-3xl",children:(0,s.jsx)("img",{src:D("icons/app-smart-switch.png"),"data-component":"app-themes-changes",className:"",alt:""})})})})]})})},An="/_next/static/media/icon-lightbulb.da091187.png",En="/_next/static/media/icon-moon.01d86e3e.png",gn="/_next/static/media/icon-robot.2b0012d6.png",vn="/_next/static/media/icon-sun.9246ab16.png",Cn="/_next/static/media/options-3-1.5fb11f3c.png",jn="/_next/static/media/tutorial-1.331802ac.jpg",Nn="/_next/static/media/tutorial-2.fd356867.jpg",Tn="/_next/static/media/tutorial-3.5ba531c8.jpg",wn=function(e){var t=e.className,a=void 0===t?"":t,i=e.fill;return(0,s.jsxs)("svg",{width:"39",height:"39",className:a,viewBox:"0 0 39 39",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{width:"39",height:"39",rx:"19.5",fill:i}),(0,s.jsx)("path",{d:"M23.8775 18.6893C24.4302 19.0885 24.4302 19.9115 23.8775 20.3107L17.5855 24.8549C16.9242 25.3325 16 24.86 16 24.0442L16 14.9558C16 14.14 16.9242 13.6675 17.5855 14.1451L23.8775 18.6893Z",fill:"#252525"})]})},_n=function(){return(0,s.jsxs)("svg",{width:"39",height:"39",viewBox:"0 0 39 39",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{width:"39",height:"39",rx:"19.5",fill:"#FFFFFF"}),(0,s.jsx)("path",{d:"M19.5 12.5L19.5 18.5",stroke:"#252525",strokeWidth:"1.5",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M22.625 14.0873C23.8165 14.7753 24.7477 15.8371 25.2742 17.1082C25.8008 18.3793 25.8931 19.7887 25.537 21.1176C25.1809 22.4466 24.3963 23.6209 23.3048 24.4585C22.2132 25.296 20.8758 25.75 19.5 25.75C18.1242 25.75 16.7868 25.296 15.6952 24.4585C14.6037 23.6209 13.8191 22.4466 13.463 21.1176C13.1069 19.7887 13.1992 18.3793 13.7258 17.1082C14.2523 15.8371 15.1835 14.7753 16.375 14.0873",stroke:"#252525",strokeWidth:"1.5",strokeLinecap:"round"})]})},bn={ca:"ca:xxs:h-[calc(100%_-_108px)]",fr:"fr:xxs:h-[calc(100%_-_108px)]",es:"es:xxs:h-[calc(100%_-_108px)]"},Sn={jp:"jp:smd:px-1 jp:xxs:px-1",de:"de:smd:px-3 de:xxs:px-3"},yn={jp:"jp:flex jp:w-full jp:justify-between"},Rn={de:"de:relative",se:"se:relative",ca:"ca:relative",jp:"jp:relative",gr:"gr:relative"},Ln={jp:"jp:whitespace-pre",kr:"kr:whitespace-pre-line"},In={se:"se:relative"},Pn={jp:"jp:-mt-2.5 jp:mb-1.5"},On={it:"it:text-[11px]",jp:"jp:leading-4",kr:"kr:whitespace-pre-line"},Mn={jp:"jp:whitespace-pre-line jp:w-full",kr:"kr:whitespace-pre-line kr:w-full",ae:"ae:w-6/7",it:"it:w-11/12",hr:"hr:whitespace-pre-line hr:w-full hr:text-2xl",th:"th:whitespace-pre-line th:w-full",ru:"ru:xs:text-2xl"},Dn={ru:"ru:xxs:text-xs"},Gn={ru:"ru:pl-1"},kn={it:"it:gap-[7px]",ru:"ru:gap-2",nl:"nl:gap-1 nl:pl-0 nl:pt-0 nl:md:gap-2",gr:"gr:gap-2"},Hn={ru:"ru:gap-2",nl:"nl:gap-1 nl:pl-0 nl:pt-0 nl:md:gap-2",gr:"gr:gap-2"},Bn={jp:"jp:w-max",kr:"kr:w-max",nl:"nl:text-xs nl:foldCover:text-[11px]",gr:"gr:text-xs gr:foldCover:text-[10px]",ru:"ru:text-xs ru:foldCover:text-[10px]",tr:"tr:text-xs tr:foldCover:text-[11px]"},Un={jp:"jp:w-max",kr:"kr:w-max",nl:"nl:text-xs nl:foldCover:text-[11px]",gr:"gr:text-xs gr:foldCover:text-[10px]",ru:"ru:text-xs ru:foldCover:text-[10px]",tr:"tr:text-xs tr:foldCover:text-[11px]"},Zn={kr:"kr:whitespace-pre-line",br:"br:xxs:text-2xl",eslatam:"eslatam:xxs:text-2xl",ru:"ru:xs:text-2xl"},Yn={ae:"ae:mr-0 ae:ml-[10px]"},Fn={ae:"ae:ml-0"},Vn={de:"de:absolute de:right-2",se:"se:absolute se:right-2",ca:"ca:absolute ca:right-2",jp:"jp:absolute jp:right-2",gr:"gr:absolute gr:right-2"},Wn={se:"se:absolute se:right-2"},Xn={ru:"ru:smd:px-2 ru:px-4",gr:"gr:smd:px-2 gr:px-4",tr:"tr:smd:px-2"},Kn={nl:"nl:w-8 nl:xxs:w-7 nl:xsm:w-7"},Qn={nl:"nl:xsm:w-5"},zn={gr:"gr:xxs:text-2xl",ru:"ru:xs:text-2xl"},qn={ru:"ru:xxs:text-xs"},Jn={br:"br:xsmd:text-base",es:"es:xsmd:text-base",de:"de:xsmd:text-base",fr:"fr:xsmd:text-base",ca:"ca:xsmd:text-base",ru:"ru:xxs:text-xs"},$n=H()(Object.values(bn)),er=H()(Object.values(yn)),tr=H()(Object.values(Ln)),ar=H()(Object.values(Pn)),sr=H()(Object.values(On)),ir=H()(Object.values(Mn)),nr=H()(Object.values(Dn)),rr=H()(Object.values(Gn)),lr=H()(Object.values(kn)),cr=H()(Object.values(Hn)),or=H()(Object.values(Bn)),dr=H()(Object.values(Un)),ur=H()(Object.values(Zn)),pr=(H()(Object.values(Sn)),H()(Object.values(Yn))),xr=H()(Object.values(Fn)),fr=H()(Object.values(Vn)),mr=H()(Object.values(Rn)),hr=(H()(Object.values(Xn)),H()(Object.values(Kn))),Ar=H()(Object.values(Qn)),Er=H()(Object.values(zn)),gr=H()(Object.values(qn)),vr=H()(Object.values(In)),Cr=H()(Object.values(Wn)),jr=H()(Object.values(Jn)),Nr=function(){var e=(0,P.qr)(),t=e.appName,a=e.setAppActiveData,n=(0,i.useRef)(null),r=(0,i.useRef)(null),l=(0,i.useRef)(null),c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)(null),u=(0,i.useRef)([]),p=(0,i.useRef)(null),x=(0,i.useRef)([]);return(0,i.useEffect)((function(){var e=n.current,s=r.current,i=l.current,o=c.current;"smart-things"===t&&e&&i&&s&&o&&a({appContainer:e,appViewContent:i,appViewContainer:s,appViewIcon:o})}),[t]),(0,i.useEffect)((function(){Y(n.current)}),[]),(0,s.jsx)("div",{className:"absolute inset-0","data-component":"app-view","data-app-view-name":"smart-things","data-app-view-is-header-transparent":"true","data-track-title":M.dC.SmartThings,"data-track-path":"/app/smart-things",ref:n,children:(0,s.jsxs)("div",{className:"absolute inset-0 overflow-hidden text-primary-gray-400","data-ref":"app-view-container",ref:r,children:[(0,s.jsxs)("div",{className:"gpu absolute inset-0 h-full w-full","data-ref":"app-view-content","data-component":"app-smart-things",ref:l,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-[#F1F1F3]","data-ref":"app-view-background"}),(0,s.jsx)(ot,{sliderContainerRef:o,sliderListRef:d,sliderListItemsRef:u,sliderPaginationRef:p,sliderPaginationItemsRef:x,trackPath:"/app/smart-things/page",resetPageOnLeave:!0,children:(0,s.jsx)("div",{className:"absolute inset-0","data-component":"slider","data-slider-type":"horizontal","data-slider-position":"internal","data-slider-location":M.dC.SmartThings,ref:o,children:(0,s.jsxs)("div",{className:H()("absolute left-0 right-0 h-[calc(100%_-_120px)] overflow-hidden",$n),style:{top:35},children:[(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center text-black ltr:text-left rtl:text-right","data-ref":"app-content",children:(0,s.jsxs)("div",{className:"absolute bottom-[50px] left-0 right-0 top-0 flex","data-ref":"slider-list",ref:d,children:[(0,s.jsxs)("div",{className:"gpu relative flex h-full w-full flex-col items-center justify-between gap-y-4","data-ref":"slider-list-item",ref:function(e){e&&!u.current.includes(e)&&u.current.push(e)},children:[(0,s.jsxs)("div",{className:"relative w-full px-6 pt-8",children:[(0,s.jsxs)("p",{className:H()("mb-2 text-3.2xl font-normal leading-9 text-black xxs:text-2xl flip:text-2xl",Er),children:[g.t["@PARADIGM_SMART-THINGS_WELCOME-SCREEN_WELCOME-H1-1"],(0,s.jsx)("br",{}),g.t["@PARADIGM_SMART-THINGS_WELCOME-SCREEN_WELCOME-H1-2"]]}),(0,s.jsx)("p",{className:H()("text-lg text-black/55 xxs:text-sm",gr),children:g.t["SMART-THINGS_WELCOME-SCREEN_WELCOME-DESCRIPTION"]})]}),(0,s.jsx)("div",{className:"relative w-full px-2.5",children:(0,s.jsx)("img",{"data-loader":"image","data-src":jn,className:"w-full",src:jn,alt:""})}),(0,s.jsx)("div",{className:"relative min-h-[7.5rem] w-full",children:(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-3 px-11 iframe:px-5 sm:px-5 smd:px-7 xxs:px-7 flip:px-5",children:[(0,s.jsx)(ht,{title:g.t["SMART-THINGS_LIVING-ROOM_POP-UP-TITLE"],text:g.t["SMART-THINGS_LIVING-ROOM_LAMP-POP-UP-TEXT"],cta:{text:g.t["SMART-THINGS_LIVING-ROOM_LAMP-POP-UP-OK"]},children:(0,s.jsx)(ie,{path:"/app/smart-things/living-room-lamp",page:M.dC.SmartThings,className:"h-full",children:(0,s.jsxs)("div",{className:H()("flex h-full justify-between gap-2 rounded-2xl bg-white p-2",mr),children:[(0,s.jsxs)("div",{className:"flex w-full flex-col justify-evenly pt-1 pl-1",children:[(0,s.jsxs)("div",{className:H()("mb-2.5 ml-0.5",er),children:[(0,s.jsx)("img",{className:"h-[26px] w-[18px]",src:An,alt:""}),(0,s.jsx)("div",{})]}),(0,s.jsx)("div",{className:H()("whitespace-pre-line text-[13px] font-semibold leading-4",tr),children:g.t["SMART-THINGS_WELCOME-SCREEN_LIVING-ROOM-LAMP"]}),(0,s.jsx)("div",{className:"text-[13px] font-semibold text-black/35",children:g.t["SMART-THINGS_WELCOME-SCREEN_ON-TOGGLE-TEXT"]})]}),(0,s.jsx)("div",{className:H()(fr),children:(0,s.jsx)(_n,{})})]})})}),(0,s.jsx)(ht,{title:g.t["SMART-THINGS_ROBOT-VACUUM_POP-UP-TITLE"],text:g.t["SMART-THINGS_ROBOT-VACUUM_POP-UP-TEXT"],cta:{text:g.t["SMART-THINGS_ROBOT-VACUUM_POP-UP-OK"]},children:(0,s.jsx)(ie,{path:"/app/smart-things/robot-vaccum",page:M.dC.SmartThings,className:"h-full",children:(0,s.jsxs)("div",{className:H()("flex h-full justify-between rounded-2xl bg-white p-2",vr),children:[(0,s.jsxs)("div",{className:"flex flex-col justify-evenly pt-1 pl-1",children:[(0,s.jsx)("div",{className:H()("-mt-2 mb-0.5 -ml-1.5",ar),children:(0,s.jsx)("img",{className:"h-[39px] w-[37px] rotate-[-45deg]",src:gn,alt:""})}),(0,s.jsx)("div",{className:H()("whitespace-pre-line text-[13px] font-semibold leading-4",sr),children:g.t["SMART-THINGS_WELCOME-SCREEN_LIVING-ROOM-ROBOT"]}),(0,s.jsx)("div",{className:"text-[13px] font-semibold text-black/35",children:g.t["SMART-THINGS_WELCOME-SCREEN_PAUSED-TOGGLE-TEXT"]})]}),(0,s.jsx)("div",{className:H()(Cr),children:(0,s.jsx)(wn,{})})]})})})]})})]}),(0,s.jsxs)("div",{className:"gpu relative flex h-full w-screen flex-col items-center justify-between gap-y-4","data-ref":"slider-list-item",ref:function(e){e&&!u.current.includes(e)&&u.current.push(e)},children:[(0,s.jsxs)("div",{className:"relative w-screen px-6 pt-8",children:[(0,s.jsx)("p",{className:H()("mb-2 whitespace-pre-line text-3.2xl font-normal leading-9 text-black xxs:text-2xl flip:text-2xl",ir),children:g.t["SMART-THINGS_CONTROL-DEVICES_HEADING-ONE"]}),(0,s.jsx)("p",{className:H()("text-lg text-black/55 xxs:text-sm",nr),children:g.t["SMART-THINGS_CONTROL-DEVICES_TURN-OFF"]})]}),(0,s.jsx)("div",{className:"relative w-screen px-2.5",children:(0,s.jsx)("img",{"data-loader":"image","data-src":Nn,className:"w-full",src:Nn,alt:""})}),(0,s.jsx)("div",{className:"relative min-h-[7.5rem] w-full",children:(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-3 px-11 py-6 iframe:px-4 sm:px-7 smd:px-6 xxs:px-7 flip:px-5",children:[(0,s.jsx)(ht,{title:g.t["SMART-THINGS_GOOD-NIGHT_POP-UP-TITLE"],text:g.t["SMART-THINGS_GOOD-NIGHT_POP-UP-TEXT"],cta:{text:g.t["SMART-THINGS_GOOD-NIGHT_POP-UP-OK"]},children:(0,s.jsx)(ie,{path:"/app/smart-things/good-night",page:M.dC.SmartThings,children:(0,s.jsxs)("div",{className:H()("flex items-center justify-between rounded-2xl bg-white p-2",rr),children:[(0,s.jsxs)("div",{className:H()("flex flex-row items-center gap-[12px] pt-1 pl-1",lr),children:[(0,s.jsx)("img",{className:H()("w-6",Ar),src:En,alt:""}),(0,s.jsx)("div",{className:H()("w-[35px] text-sm font-semibold leading-4",or),children:g.t["SMART-THINGS_CONTROL-DEVICES_GOOD-NIGHT"]})]}),(0,s.jsx)("div",{children:(0,s.jsx)(wn,{className:H()(hr)})})]})})}),(0,s.jsx)(ht,{title:g.t["SMART-THINGS_GOOD-MORNING_POP-UP-TITLE"],text:g.t["SMART-THINGS_GOOD-MORNING_POP-UP-TEXT"],cta:{text:g.t["SMART-THINGS_GOOD-MORNING_POP-UP-OK"]},children:(0,s.jsx)(ie,{path:"/app/smart-things/good-morning",page:M.dC.SmartThings,children:(0,s.jsxs)("div",{className:"flex items-center justify-between rounded-2xl bg-white p-2",children:[(0,s.jsxs)("div",{className:H()("flex flex-row items-center gap-[12px] pt-1 pl-1",cr),children:[(0,s.jsx)("img",{className:H()("w-6",Ar),src:vn,alt:""}),(0,s.jsx)("div",{className:H()("w-[35px] text-sm font-semibold leading-4",dr),children:g.t["SMART-THINGS_CONTROL-DEVICES_GOOD-MORNING"]})]}),(0,s.jsx)("div",{children:(0,s.jsx)(wn,{className:H()(hr)})})]})})})]})})]}),(0,s.jsxs)("div",{className:"gpu relative flex h-full w-screen flex-col items-center justify-between gap-y-4","data-ref":"slider-list-item",ref:function(e){e&&!u.current.includes(e)&&u.current.push(e)},children:[(0,s.jsxs)("div",{className:"relative w-screen px-6 pt-8",children:[(0,s.jsx)("p",{className:H()("mb-2 whitespace-pre-line text-3.2xl font-normal leading-9 text-black xxs:text-2xl flip:text-2xl",ur),children:g.t["SMART-THINGS_MAKE-THINGS-HAPPEN-HEADING-ONE"]}),(0,s.jsx)("p",{className:H()("text-lg text-black/55 xxs:text-sm",jr),children:g.t["SMART-THINGS_MAKE-THINGS-HAPPEN-TEXT"]})]}),(0,s.jsx)("div",{className:"relative w-screen px-2.5",children:(0,s.jsx)("img",{"data-loader":"image","data-src":Tn,className:"w-full",src:Tn,alt:""})}),(0,s.jsx)("div",{className:"relative min-h-[7.5rem] w-screen",children:(0,s.jsx)("div",{className:"flex flex-row items-center justify-center gap-x-3 px-6",children:(0,s.jsxs)("div",{className:"pb-4",children:[(0,s.jsx)(ht,{title:g.t["SMART-THINGS_ROUTINE-TRIGGER-POP-UP-TITLE"],text:g.t["SMART-THINGS_ROUTINE-TRIGGER-POP-UP-TEXT"],cta:{text:g.t["SMART-THINGS_ROUTINE-TRIGGER-POP-UP-OK"]},children:(0,s.jsx)(ie,{path:"/app/smart-things/routine-trigger",page:M.dC.SmartThings,children:(0,s.jsx)("img",{"data-loader":"image","data-src":Cn,className:"w-full max-w-[165px] rtl:-scale-x-100 rtl:transform",src:Cn,alt:""})})}),(0,s.jsx)("p",{className:"pt-3 text-center text-sm font-semibold text-[#010102]",children:g.t["@PARADIGM_SMART-THINGS_MAKE-THINGS-HAPPEN-FOOTER"]})]})})})]})]})}),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 pb-2",children:(0,s.jsxs)("div",{className:"flex-no-wrap align-center relative flex w-full justify-center pb-1 pt-4","data-ref":"slider-pagination",ref:p,children:[(0,s.jsxs)("div",{className:H()("relative mr-[10px] h-2 w-2 overflow-hidden rounded-full border",pr),children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-full bg-primary-gray-214"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-400","data-ref":"slider-pagination-item",ref:function(e){e&&!x.current.includes(e)&&x.current.push(e)}})]}),(0,s.jsxs)("div",{className:H()("relative mr-[10px] h-2 w-2 overflow-hidden rounded-full border",pr),children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-full bg-primary-gray-214"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-400","data-ref":"slider-pagination-item",ref:function(e){e&&!x.current.includes(e)&&x.current.push(e)},children:" "})]}),(0,s.jsxs)("div",{className:H()("relative mr-0 h-2 w-2 overflow-hidden rounded-full border",xr),children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-full bg-primary-gray-214"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-400","data-ref":"slider-pagination-item",ref:function(e){e&&!x.current.includes(e)&&x.current.push(e)}})]})]})})]})})})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0",children:(0,s.jsx)("button",{className:"gpu absolute left-0 top-0","data-ref":"app-view-icon",ref:c,children:(0,s.jsx)("div",{className:"max-w-icon overflow-hidden rounded-3xl",children:(0,s.jsx)("img",{src:D("icons/app-smart-things.png"),"data-component":"app-themes-changes",className:"",alt:""})})})})]})})},Tr=function(e){var t=(0,i.useState)(e),a=t[0],s=t[1],n=(0,i.useRef)(a);return(0,i.useEffect)((function(){n.current=a}),[a]),[a,s,n]},wr=function(e){var t=(0,pe.Z)(Tr({current:e,prev:e}),3),a=t[0],s=t[1],n=t[2];return[a,(0,i.useCallback)((function(e){s({current:e,prev:n.current.current})}),[s,a])]},_r=function(e){var t=(0,P.qr)(),a=t.appName,s=t.setBackButtonStack,n=t.backButtonStack,r=(0,i.useState)([]),l=r[0],c=r[1],o=(0,i.useState)(!1),d=o[0],u=o[1];return(0,i.useEffect)((function(){a!==e||d?""===a&&d&&(u(!1),c((0,G.Z)(n))):(u(!0),s((0,G.Z)(l)))}),[a,d,u,l,n]),{localBackButtonStack:l,setLocalBackButtonStack:c,isOpen:d,setIsOpen:u}},br=i.createContext(null),Sr=function(e){var t=(0,P.fv)(),a=t.navigationData,n=t.resetNavigationData;_r("health");var r=(0,i.useState)(0),l=r[0],c=r[1],o=(0,pe.Z)(wr("Home"),2),d=o[0],u=o[1],p=(0,i.useState)("start"),x=p[0],f=p[1],m=(0,i.useState)("start"),h=m[0],A=m[1],E={mindfulnessTutorial:x,setMindfulnessTutorial:f,togetherTutorial:h,setTogetherTutorial:A,screen:d,setScreen:u,index:l,setIndex:c};return(0,i.useEffect)((function(){var e=a.appName,t=a.path,s=a.shouldResetScreen,i=a.shouldResetTutorial;if("health"===e){if(s){var r=t.split("/");r.length>1&&("mindfulness"===r[1]?(i&&f("start"),u("Mindfulness")):"daily-activity"===r[1]&&u("DailyActivity"))}n()}}),[a,n]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(br.Provider,{value:E,children:e.children})})},yr=function(e){var t=e.backgroundClassname,a=(0,i.useRef)();return(0,i.useEffect)((function(){var e=a.current;I.ZP.set(e,{opacity:0})}),[]),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0","data-component":"button-background",onClick:function(){var e=a.current;I.ZP.fromTo(e,{scaleX:.2},{scaleX:1,duration:.2,ease:"power3.out"}),I.ZP.fromTo(e,{opacity:1},{opacity:0,duration:.2,delay:.2,ease:"power3.inOut"})},children:(0,s.jsx)("div",{className:"".concat(t,"__button--background absolute bottom-0 left-0 right-0 top-0 rounded-3xl bg-primary-gray-150"),"data-ref":"button-background-overlay",style:{opacity:0},ref:a})})},Rr=function(e){var t=e.type,a=e.width,n=e.height,r=e.hidden,l=e.className,c=void 0===l?"":l,o=(0,i.useRef)(null),d=(0,i.useRef)(null);(0,i.useEffect)((function(){var e=d.current;e&&I.ZP.fromTo(e,{opacity:0,scale:1},{opacity:.4,scale:1,duration:1,ease:"power1.inOut",yoyo:!0,repeat:-1})}),[]),(0,i.useEffect)((function(){if(r){var e=o.current;I.ZP.set(e,{opacity:0})}else{var t=o.current;I.ZP.set(t,{opacity:1})}}),[r]);var u=H()({"px-1.5":"rounded"===t,"z-10 border":"photo"===t},"pointer-events-none absolute top-1/2 left-1/2 flex w-full -translate-x-1/2 -translate-y-1/2 transform items-center justify-center opacity-0",c),p=H()({"rounded-[16px]":"rounded"===t,"rounded-[9999px]":"circle"===t,"rounded-3xl":"rounded-3xl"===t},"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform border-4 border-primary-blue-100"),x=H()({"rounded-[14px]":"rounded"===t,"rounded-[9999px]":"circle"===t,"rounded-3xl":"rounded-3xl"===t},"absolute top-1/2 left-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 transform border-2 border-primary-blue-100");return(0,s.jsx)("div",{className:u,"data-guide":"tutorial",style:{width:a,height:n},ref:o,children:(0,s.jsx)("div",{className:"relative h-full w-full flex-1",children:(0,s.jsxs)("div",{className:"pointer-events-none absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 transform","data-component":"tutorial-button",children:[(0,s.jsx)("div",{className:"absolute inset-0 opacity-20","data-ref":"tutorial-button-background",style:{transform:"translate3d(0px, 0px, 0px)",opacity:"0.2814"},ref:d,children:(0,s.jsx)("div",{className:p,style:{width:"calc(100% + 3.8px)",height:"calc(100% + 3.8px)"}})}),(0,s.jsx)("div",{className:x})]})})})},Lr=function(){return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M6.70001 2.80005V6.50005",stroke:"#252525",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M17.3 2.80005V6.50005",stroke:"#252525",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.625 7.4988C1.625 5.49743 3.24743 3.875 5.2488 3.875H18.7512C20.7526 3.875 22.375 5.49743 22.375 7.4988V17.5012C22.375 19.5026 20.7526 21.125 18.7512 21.125H5.2488C3.24743 21.125 1.625 19.5026 1.625 17.5012V7.4988ZM8.875 9.67895C8.875 8.90677 9.48635 8.4751 10.0614 8.4751C10.3122 8.4751 10.5484 8.54841 10.7568 8.67322L10.7577 8.67377L15.4312 11.4583C15.7863 11.6677 16.058 12.0377 16.058 12.5001C16.058 12.9627 15.7852 13.3321 15.4318 13.5415L15.4309 13.5421L10.756 16.3266C10.5511 16.4486 10.3162 16.5251 10.0614 16.5251C9.48568 16.5251 8.875 16.0928 8.875 15.3204V9.67895Z",fill:"#252525"})]})},Ir=function(){return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{x:"2.25",y:"4.5",width:"19.5",height:"16",rx:"2.9988",stroke:"#252525",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 9.67895C9.5 9.299 9.78253 9.1001 10.0614 9.1001C10.1878 9.1001 10.3143 9.13665 10.4362 9.20975L15.1127 11.996C15.3167 12.1159 15.433 12.3003 15.433 12.5001C15.433 12.699 15.3167 12.8834 15.1127 13.0041L10.4362 15.7896C10.3134 15.8627 10.1878 15.9001 10.0614 15.9001C9.78253 15.9001 9.5 15.7012 9.5 15.3204V9.67895Z",stroke:"#252525",strokeWidth:"1.25"}),(0,s.jsx)("path",{d:"M6.70001 2.80005V6.50005",stroke:"#252525",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M17.3 2.80005V6.50005",stroke:"#252525",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]})},Pr=function(){return(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.519 2.56025C11.404 1.94671 12.596 1.94671 13.481 2.56025L21.255 8.18386C21.874 8.61286 22.25 9.3101 22.25 10.0425V18.6008C22.25 20.2577 20.9069 21.6008 19.25 21.6008H4.75C3.09315 21.6008 1.75 20.2577 1.75 18.6008V10.0425C1.75 9.3101 2.126 8.6119 2.756 8.17625L10.519 2.56025ZM12.5329 10.5306C13.0039 10.0426 13.6616 9.77495 14.423 9.77495C15.6768 9.77495 16.708 10.8507 16.708 12.1828C16.708 12.7958 16.5162 13.4221 16.1246 14.0578L15.758 14.5764L15.4608 14.9405L15.1284 15.2904L14.8905 15.5289L14.6166 15.7871L14.3147 16.0607L13.9946 16.3405L13.6661 16.6177L13.3392 16.8831C13.2854 16.9259 13.2321 16.9678 13.1794 17.0086L12.8732 17.2395C12.4802 17.5264 12.157 17.7218 12.0086 17.7294L11.9851 17.7298L11.946 17.724C11.8845 17.7088 11.7858 17.6635 11.6588 17.5916L11.4481 17.4642C11.4098 17.4398 11.37 17.4138 11.3288 17.3863L11.0668 17.2037L10.7787 16.9874C10.6311 16.8727 10.4774 16.7482 10.3189 16.6153C10.0057 16.3528 9.68873 16.0706 9.38383 15.7874L8.97318 15.3976L8.76385 15.1843L8.60263 15.0136L8.46004 14.8532L8.15029 14.4614L7.81277 13.9617L7.6917 13.7435C7.42731 13.2317 7.29 12.7024 7.29 12.1828C7.29 10.8495 8.31046 9.77495 9.549 9.77495C10.3786 9.77495 11.0917 10.0943 11.5803 10.6733L11.9973 11.1674L12.4092 10.6691L12.5329 10.5306Z",fill:"#252525"})})},Or=function(){return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M3.11148 8.69031L3.11156 8.69042L3.12233 8.68263L10.8799 3.07058C11.5486 2.60993 12.4514 2.60994 13.1201 3.07059L20.8887 8.69025L20.8886 8.69035L20.899 8.69755C21.3573 9.01518 21.625 9.52437 21.625 10.0425V18.6008C21.625 19.9125 20.5617 20.9758 19.25 20.9758H4.75C3.43832 20.9758 2.375 19.9125 2.375 18.6008V10.0425C2.375 9.52591 2.64136 9.01541 3.11148 8.69031Z",stroke:"#252525",strokeWidth:"1.25",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M11.5166 10.6763C11.6361 10.8179 11.8122 10.8992 11.9974 10.8982C12.1827 10.8973 12.358 10.8142 12.476 10.6715C12.8981 10.1609 13.5336 9.85986 14.309 9.85986C15.4223 9.85986 16.375 10.8143 16.375 12.0429C16.375 12.5899 16.2079 13.163 15.8476 13.7532L15.8419 13.7615L15.5024 14.2421L15.2239 14.585C15.2221 14.5869 15.2199 14.5893 15.2172 14.5921C15.1929 14.6181 15.1359 14.6792 15.0631 14.7562C14.9689 14.8561 14.8633 14.9669 14.7964 15.0343C14.7964 15.0343 14.7964 15.0343 14.7964 15.0343C14.7959 15.0348 14.7951 15.0356 14.7939 15.0368C14.7717 15.058 14.6309 15.1927 14.4154 15.3896C14.1799 15.605 13.8615 15.889 13.5214 16.1723C13.179 16.4575 12.8256 16.7328 12.5183 16.936C12.3643 17.0378 12.2333 17.1139 12.1289 17.1635C12.0568 17.1977 12.0162 17.2101 12.0017 17.2143C11.9872 17.2108 11.9473 17.2001 11.8767 17.1689C11.7726 17.1227 11.6413 17.0497 11.4865 16.9498C11.1774 16.7503 10.8235 16.4756 10.4805 16.1886C9.83901 15.6517 9.28438 15.1129 9.20362 15.0344C9.03034 14.8598 8.87468 14.7015 8.72096 14.5239L8.43484 14.1627L8.11462 13.6911C7.78028 13.1244 7.625 12.5711 7.625 12.0429C7.625 10.8087 8.57163 9.85986 9.66622 9.85986C10.439 9.85986 11.0815 10.1607 11.5166 10.6763Z",stroke:"#252525",strokeWidth:"1.25",strokeLinejoin:"round"})]})},Mr=function(){return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6616 6.60796C15.6616 8.62709 14.0238 10.2638 12.0058 10.2638C9.98668 10.2638 8.35001 8.62709 8.35001 6.60796C8.35001 4.58883 9.98668 2.95215 12.0058 2.95215C14.0238 2.95215 15.6616 4.58883 15.6616 6.60796Z",fill:"#252525",stroke:"#252525",strokeWidth:"1.25",strokeLinecap:"round"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5857 18.6899C19.5857 15.6201 16.1863 12.772 11.9928 12.772C7.80046 12.772 4.39999 15.6201 4.39999 18.6899V19.5212C4.39999 20.1432 4.95905 20.646 5.64747 20.646H18.3382C19.0277 20.646 19.5857 20.1432 19.5857 19.5212V18.6899Z",fill:"#252525",stroke:"#252525",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})]})},Dr=function(){return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6616 6.60796C15.6616 8.62709 14.0238 10.2638 12.0058 10.2638C9.98668 10.2638 8.35001 8.62709 8.35001 6.60796C8.35001 4.58883 9.98668 2.95215 12.0058 2.95215C14.0238 2.95215 15.6616 4.58883 15.6616 6.60796Z",stroke:"#252525",strokeWidth:"1.25",strokeLinecap:"round"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5857 18.6899C19.5857 15.6201 16.1863 12.772 11.9928 12.772C7.80046 12.772 4.39999 15.6201 4.39999 18.6899V19.5212C4.39999 20.1432 4.95905 20.646 5.64747 20.646H18.3382C19.0277 20.646 19.5857 20.1432 19.5857 19.5212V18.6899Z",stroke:"#252525",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})]})},Gr=function(){return(0,s.jsx)("svg",{viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{width:20},children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.25 14.5C30.596 14.5 32.5 12.596 32.5 10.25C32.5 7.904 30.596 6 28.25 6C25.904 6 24 7.904 24 10.25C24 12.596 25.904 14.5 28.25 14.5ZM28.25 23.7085C25.904 23.7085 24 25.6125 24 27.9585C24 30.3045 25.904 32.2085 28.25 32.2085C30.596 32.2085 32.5 30.3045 32.5 27.9585C32.5 25.6125 30.596 23.7085 28.25 23.7085ZM24 45.6665C24 43.3205 25.904 41.4165 28.25 41.4165C30.596 41.4165 32.5 43.3205 32.5 45.6665C32.5 48.0125 30.596 49.9165 28.25 49.9165C25.904 49.9165 24 48.0125 24 45.6665Z",fill:"currentColor"})})},kr=function(){return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M4.3417 3.55824C6.01477 3.1553 8.78913 3.34666 12.9365 4.52248C15.4606 5.19921 17.832 5.2237 19.859 4.86066L20.182 4.79874L20.4496 4.74017L20.6598 4.6877L20.8106 4.64406C21.1826 4.52573 21.5618 4.77295 21.6179 5.14436L21.625 5.23966V16.6728C21.625 16.9384 21.4571 17.1751 21.2064 17.2628L21.0151 17.3242L20.763 17.3941L20.4521 17.4696C20.3389 17.4953 20.2161 17.5214 20.0842 17.5474C18.0032 17.9575 15.6042 17.9567 13.0555 17.286L12.6042 17.1606C10.8268 16.6567 9.33084 16.3432 8.09144 16.1818L7.53753 16.118C7.35891 16.1003 7.18626 16.086 7.01951 16.075L6.53682 16.052C5.83902 16.0319 5.25865 16.0763 4.78743 16.1727L4.625 16.2081V21.0001C4.625 21.3139 4.39374 21.5736 4.09236 21.6183L4 21.6251C3.6862 21.6251 3.42642 21.3938 3.38178 21.0924L3.375 21.0001V4.33168C3.375 4.10825 3.49427 3.90181 3.68783 3.79022C3.81243 3.71838 4.02629 3.6342 4.3417 3.55824Z",fill:"#252525"}),(0,s.jsx)("path",{d:"M12.6042 5.72741C10.8268 5.22353 9.33084 4.90998 8.09144 4.74863L7.53753 4.68483C6.37647 4.56941 5.46809 4.60033 4.78743 4.73943L4.625 4.775V14.931L4.70366 14.9166C6.34106 14.6305 8.8795 14.844 12.5246 15.8409L12.9501 15.9594C15.4632 16.6944 17.8237 16.7188 19.8425 16.3209L20.1657 16.2528L20.375 16.202V6.034L20.0794 6.09103C17.8828 6.48445 15.3293 6.45809 12.6042 5.72741Z",fill:"#252525"})]})},Hr=function(){return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M4.3417 3.55824C6.01477 3.1553 8.78913 3.34666 12.9365 4.52248C15.4606 5.19921 17.832 5.2237 19.859 4.86066L20.182 4.79874L20.4496 4.74017L20.6598 4.6877L20.8106 4.64406C21.1826 4.52573 21.5618 4.77295 21.6179 5.14436L21.625 5.23966V16.6728C21.625 16.9384 21.4571 17.1751 21.2064 17.2628L21.0151 17.3242L20.763 17.3941L20.4521 17.4696C20.3389 17.4953 20.2161 17.5214 20.0842 17.5474C18.0032 17.9575 15.6042 17.9567 13.0555 17.286L12.6042 17.1606C10.8268 16.6567 9.33084 16.3432 8.09144 16.1818L7.53753 16.118C7.35891 16.1003 7.18626 16.086 7.01951 16.075L6.53682 16.052C5.83902 16.0319 5.25865 16.0763 4.78743 16.1727L4.625 16.2081V21.0001C4.625 21.3139 4.39374 21.5736 4.09236 21.6183L4 21.6251C3.6862 21.6251 3.42642 21.3938 3.38178 21.0924L3.375 21.0001V4.33168C3.375 4.10825 3.49427 3.90181 3.68783 3.79022C3.81243 3.71838 4.02629 3.6342 4.3417 3.55824Z",fill:"#252525"}),(0,s.jsx)("path",{d:"M12.6042 5.72741C10.8268 5.22353 9.33084 4.90998 8.09144 4.74863L7.53753 4.68483C6.37647 4.56941 5.46809 4.60033 4.78743 4.73943L4.625 4.775V14.931L4.70366 14.9166C6.34106 14.6305 8.8795 14.844 12.5246 15.8409L12.9501 15.9594C15.4632 16.6944 17.8237 16.7188 19.8425 16.3209L20.1657 16.2528L20.375 16.202V6.034L20.0794 6.09103C17.8828 6.48445 15.3293 6.45809 12.6042 5.72741Z",fill:"#f2f2f2"})]})},Br=function(){return(0,s.jsx)("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:(0,s.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:(0,s.jsx)("g",{transform:"translate(-279.000000, -60.000000)",fill:"#010101",children:(0,s.jsx)("g",{transform:"translate(20.000000, 60.000000)",children:(0,s.jsx)("g",{transform:"translate(259.000000, 0.000000)",children:(0,s.jsx)("path",{d:"M9.65,15.1371429 C10.119442,15.1371429 10.5,15.5177008 10.5,15.9871429 L10.5,20.15 C10.5,20.619442 10.119442,21 9.65,21 C9.18055796,21 8.8,20.619442 8.8,20.15 L8.8,15.9871429 C8.8,15.5177008 9.18055796,15.1371429 9.65,15.1371429 Z M19.05,3 C19.519442,3 19.9,3.38055796 19.9,3.85 L19.9,20.15 C19.9,20.619442 19.519442,21 19.05,21 C18.580558,21 18.2,20.619442 18.2,20.15 L18.2,3.85 C18.2,3.38055796 18.580558,3 19.05,3 Z M4.95,11.6914286 C5.41944204,11.6914286 5.8,12.0719865 5.8,12.5414286 L5.8,20.15 C5.8,20.619442 5.41944204,21 4.95,21 C4.48055796,21 4.1,20.619442 4.1,20.15 L4.1,12.5414286 C4.1,12.0719865 4.48055796,11.6914286 4.95,11.6914286 Z M14.35,7.73142857 C14.819442,7.73142857 15.2,8.11198653 15.2,8.58142857 L15.2,20.15 C15.2,20.619442 14.819442,21 14.35,21 C13.880558,21 13.5,20.619442 13.5,20.15 L13.5,8.58142857 C13.5,8.11198653 13.880558,7.73142857 14.35,7.73142857 Z",id:"Shape"})})})})})})},Ur=function(){var e=Math.random();return(0,s.jsxs)("svg",{width:"15px",height:"18px",viewBox:"0 0 15 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:[(0,s.jsx)("defs",{children:(0,s.jsx)("path",{d:"M16.3036403,15.325 C15.6816403,15.325 15.1136403,15.554 14.6766403,15.929 L9.07764033,12.621 C9.12964033,12.422 9.15864033,12.215 9.15864033,12 C9.15864033,11.786 9.12964033,11.579 9.07864033,11.38 L14.6766403,8.07 C15.1136403,8.446 15.6816403,8.675 16.3036403,8.675 C17.6846403,8.675 18.8036403,7.555 18.8036403,6.177 C18.8036403,4.795 17.6846403,3.675 16.3036403,3.675 C14.9226403,3.675 13.8026403,4.795 13.8026403,6.177 C13.8026403,6.39 13.8326403,6.597 13.8836403,6.797 L8.28664033,10.105 C7.84864033,9.729 7.28164033,9.501 6.65964033,9.501 C5.27964033,9.501 4.16064033,10.621 4.16064033,12 C4.16064033,13.38 5.27964033,14.501 6.65964033,14.501 C7.28164033,14.501 7.84864033,14.271 8.28664033,13.895 L13.8846403,17.204 C13.8326403,17.403 13.8036403,17.61 13.8036403,17.825 C13.8036403,19.207 14.9226403,20.325 16.3036403,20.325 C17.6846403,20.325 18.8036403,19.207 18.8036403,17.825 C18.8036403,16.445 17.6846403,15.325 16.3036403,15.325",id:"path-1"})}),(0,s.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:(0,s.jsx)("g",{transform:"translate(-246.000000, -63.000000)",children:(0,s.jsx)("g",{transform:"translate(20.000000, 60.000000)",children:(0,s.jsxs)("g",{transform:"translate(222.000000, 0.000000)",children:[(0,s.jsx)("mask",{id:"".concat(e,"mask-2"),fill:"white",children:(0,s.jsx)("use",{xlinkHref:"#path-1"})}),(0,s.jsx)("g",{}),(0,s.jsx)("rect",{fill:"#010101",mask:"url(#".concat(e,"mask-2)"),x:0,y:0,width:24,height:24})]})})})})]})},Zr=function(e){var t=e.className,a=void 0===t?"":t,i=e.fill,n=void 0===i?"#454545":i;return(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.125 2.5C6.80984 2.5 2.5 6.81055 2.5 12.1261C2.5 17.4412 6.80949 21.75 12.125 21.75C17.4405 21.75 21.75 17.4412 21.75 12.1261C21.75 6.81055 17.4402 2.5 12.125 2.5ZM12.125 4.08219C16.5663 4.08219 20.1678 7.68431 20.1678 12.1261C20.1678 16.5673 16.5667 20.1678 12.125 20.1678C7.68326 20.1678 4.08219 16.5673 4.08219 12.1261C4.08219 7.68431 7.68372 4.08219 12.125 4.08219ZM13.238 7.86911C13.238 8.45136 12.7655 8.92391 12.1832 8.92391C11.5999 8.92391 11.1284 8.45136 11.1284 7.86911C11.1284 7.28687 11.5999 6.81432 12.1832 6.81432C12.7655 6.81432 13.238 7.28687 13.238 7.86911ZM13.1726 10.8432C13.1202 10.4571 12.7892 10.1595 12.3887 10.1595H10.3645L10.2572 10.1667C9.87107 10.2191 9.57345 10.5501 9.57345 10.9506L9.58067 11.0579C9.63306 11.4441 9.96405 11.7417 10.3645 11.7417L11.5976 11.7411V17.408L11.6048 17.5154C11.6572 17.9015 11.9882 18.1991 12.3887 18.1991C12.8256 18.1991 13.1798 17.845 13.1798 17.408V10.9506L13.1726 10.8432Z",fill:n})})},Yr=function(){return(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("g",{children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5641 4.15216C15.8591 3.86116 15.8631 3.38616 15.5721 3.09116C15.2811 2.79716 14.8061 2.79416 14.5111 3.08516L6.73311 10.7552C6.39711 11.0862 6.21211 11.5292 6.21211 12.0012C6.21211 12.4722 6.39711 12.9162 6.73311 13.2472L14.5111 20.9162C14.6571 21.0592 14.8471 21.1312 15.0381 21.1312C15.2311 21.1312 15.4251 21.0562 15.5721 20.9082C15.8631 20.6132 15.8591 20.1382 15.5641 19.8472L7.78711 12.1782C7.72111 12.1152 7.71211 12.0402 7.71211 12.0012C7.71211 11.9622 7.72111 11.8862 7.78711 11.8232L15.5641 4.15216Z",fill:"currentColor"})})})},Fr="/_next/static/media/fat.9dadb83e.png",Vr="/_next/static/media/mass.f4496188.png",Wr="/_next/static/media/weight.a9b8398c.png",Xr=function(e,t){var a=new Date(e),s=a.getDate(),i=a.getMonth()+1;return t?"".concat(s,"/").concat(i):s},Kr=function(e){var t=e.dataIndex,a=e.categoryIndex,n=e.setCategoryIndex,r=e.setDataIndex,l=(0,i.useRef)(null),c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)(null),u=(0,i.useRef)(null),p=(0,i.useRef)(null),x=(0,i.useRef)(null),f=["weight","skeletal-muscle","body-fat"],m=[g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-TITLE-WEIGHT"],g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-TITLE-SKELETAL-MUSCLE"],g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-TITLE-BODY-FAT"]],h=(0,i.useState)(Wr),A=h[0],E=h[1],v=(0,i.useState)(null),C=v[0],j=v[1],N=(0,i.useState)([]),T=N[0],w=N[1],_=(0,i.useState)(!0),b=_[0],S=_[1],y=(0,i.useContext)(br).screen;(0,i.useEffect)((function(){if(null!==a&&void 0!==a){var e=f[a],t=Bt.states.map((function(t){var a=t.values.find((function(t){return t.key===e}));return null===a||void 0===a?void 0:a.value})).filter((function(e){return!!e}));j(Bt.targets.find((function(t){return t.key===e}))),w(t)}}),[a]),(0,i.useEffect)((function(){var e=o.current,a=l.current,s=u.current,i=I.p8.timeline();if(s&&e){var n=e.clientWidth/s.childNodes.length;s.childNodes.forEach((function(e,s){I.p8.set(e,{left:n*s}),s===t&&(b?a&&I.p8.set(a,{left:n*s,x:-2}):a&&i.to(a,{left:n*s,x:-2,duration:.35,ease:"power2.out"}))}))}return function(){i.kill(),I.p8.killTweensOf([s])}}),[t,C]),(0,i.useEffect)((function(){var e=c.current,t=o.current,s=d.current,i=p.current,n=x.current;if(null===C||void 0===C?void 0:C.value){if(i){var r,l,u=i.clientHeight,f=(r=Math).max.apply(r,(0,G.Z)(T).concat([C.value])),m=(l=Math).min.apply(l,(0,G.Z)(T).concat([C.value])),h=f-m,A=i.querySelectorAll(".dot"),g=t.clientHeight;I.p8.to(e,{bottom:(C.value-m)/h*u+g/2,y:"50%",duration:.35,ease:"power2.out"});var v=[],j=t.clientWidth/A.length;A.forEach((function(e,t){var i=j*t+10,n=(T[t]-m)/h*u;n=2===a?n-3:n,v[t]={x:i,y:u},I.p8.to(v[t],{y:u-n,duration:.65,ease:"power2.out",onUpdate:function(){s.setAttribute("d",function(e){var t=[],a=e.length;t.push("M".concat(e[0].x,",").concat(e[0].y));for(var s=1;s<a-2;s++){var i=e[s].x+(e[s+1].x-e[s-1].x)/6,n=e[s].y+(e[s+1].y-e[s-1].y)/6,r=e[s+1].x-(e[s+2].x-e[s].x)/6,l=e[s+1].y-(e[s+2].y-e[s].y)/6;t.push("C".concat(i,",").concat(n," ").concat(r,",").concat(l," ").concat(e[s+1].x,",").concat(e[s+1].y))}return t.push("C".concat(e[a-2].x,",").concat(e[a-2].y," ").concat(e[a-1].x,",").concat(e[a-1].y," ").concat(e[a-1].x,",").concat(e[a-1].y)),t.join(" ")}(v))}}),I.p8.fromTo(e,{bottom:0,left:i},{left:i,bottom:n,y:"50%",duration:.65,ease:"power2.out"})})),I.p8.fromTo(n,{opacity:0},{opacity:.6,duration:0,onComplete:function(){I.p8.to(n,{opacity:0,duration:0,delay:.6})}})}return E(0===a?Wr:1===a?Vr:Fr),function(){I.p8.killTweensOf([i])}}}),[a,C]),(0,i.useEffect)((function(){"BodyComposition"!==y.current&&(S(!0),E(Wr))}),[y]);var R=function(e){r(e),S(!1)};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"absolute z-50 flex w-full justify-center",children:(0,s.jsx)("div",{className:"rounded-3xl bg-primary-gray-145 px-2.5 py-1.5 text-center text-xs text-primary-gray-215",ref:x,children:m[a]})}),(0,s.jsxs)("div",{className:"relative flex h-[136px]",dir:"ltr",children:[(0,s.jsxs)("div",{className:"relative mr-2 grid w-full items-end",ref:o,children:[(0,s.jsx)("div",{className:"absolute bottom-[30px] left-0 w-[93%] border-b-[1px] border-dashed border-primary-green-700",style:{borderColor:null===C||void 0===C?void 0:C.color},ref:c,children:C&&(0,s.jsxs)("div",{className:"absolute top-2/4 right-[-37px] translate-y-[-50%] translate-x-[100%] text-[12px]",style:{color:C.color},children:[(0,g.H3)(C.value,1)," ",C.unit]})}),(0,s.jsx)("div",{className:"absolute left-0 top-0 grid h-full w-[38px] items-end justify-center rounded-full border-[1px] border-[#DEDEE1] bg-white p-1",ref:l,children:(0,s.jsx)("div",{className:"mb-px h-[30px] w-[30px] rounded-full bg-primary-green-50"})}),(0,s.jsx)("div",{className:"absolute flex h-full w-full ",children:T&&T.map((function(e,t){return(0,s.jsx)("div",{className:"grid h-full w-[40px]",onClick:function(){R(t)}},t)}))}),T&&(0,s.jsxs)("div",{className:"pointer-events-none relative z-10 h-[70%] gap-6",ref:p,children:[T.map((function(e,t){return(0,s.jsx)("div",{className:"dot absolute bottom-0 z-10 h-[10px] w-[10px] rounded-full border-2 bg-primary-gray-102","data-value":e,style:{borderColor:null===C||void 0===C?void 0:C.color},onClick:function(){R(t)}},t)})),(0,s.jsx)("svg",{className:"pointer-events-none absolute inset-0 h-full w-full",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{stroke:null===C||void 0===C?void 0:C.color,strokeWidth:"2",strokeLinecap:"round",ref:d})})]}),(0,s.jsx)("div",{className:"relative z-10 px-2 pb-1",ref:u,children:Bt.states.map((function(e,t){return(0,s.jsx)("button",{"data-index":t,className:"absolute bottom-1 flex h-[34px] w-[34px] items-center justify-center text-[12px] ".concat(t===Bt.states.length-1&&b?"font-semibold text-[#008C35]":""),onClick:function(){r(t),S(!1)},children:Xr(e.date,e.firstOfMonth)},"data-cta-".concat(t))}))})]}),(0,s.jsx)("div",{className:"ml-1 flex w-[80px] flex-col justify-end gap-7 pb-1",children:(0,s.jsx)("button",{className:"flex h-[34px] w-[34px] items-center justify-center rounded-full border bg-white",onClick:function(){n(a+1>f.length-1?0:a+1)},children:(0,s.jsx)("img",{"data-loader":"image","data-src":A,style:{height:22},src:A,alt:"category icon"})})})]})]})},Qr=function(e){var t=e.amount,a=e.increased,i=void 0!==a&&a,n=e.trigger,r=e.decimalPlaces,l=void 0===r?1:r;return(0,s.jsxs)("div",{className:"flex items-center text-[13px]",children:[(0,s.jsx)(Re.Z,{path:"/assets/lotties/health/arrow-up.json",trigger:n,width:12,height:11,className:i?"":"rotate-180 transform"}),(0,s.jsx)("div",{className:"ml-1",children:(0,g.H3)(t,l)})]})},zr=function(e){var t,a,n=e.src,r=e.unit,l=e.data,c=e.divider,o=e.onClick,d=e.lottie,u=e.categoryIndex,p=e.index,x=(0,i.useRef)(null),f=(0,i.useRef)(null),m=(0,i.useRef)(null);return(0,i.useEffect)((function(){u===p&&m.current&&m.current.goToAndPlay(0)}),[u,p,m]),l?(0,s.jsxs)("div",{className:"grid justify-items-center gap-2",onClick:function(){o&&(function(){var e;if(l&&l.value&&(null===(e=l.progress)||void 0===e?void 0:e.amount)){var t={value:l.value};I.ZP.fromTo(t,{value:l.value-l.progress.amount},{value:t.value,duration:.3,delay:0,ease:"power3.out",onUpdate:function(){x.current&&(x.current.innerHTML=(0,g.H3)(t.value,1))}})}}(),o())},ref:f,children:[n&&(0,s.jsx)("img",{"data-loader":"image","data-src":n,style:{height:20},src:n,alt:"".concat(l.name," icon")}),d&&(0,s.jsx)(Re.Z,{path:null===d||void 0===d?void 0:d.path,height:null===d||void 0===d?void 0:d.height,width:null===d||void 0===d?void 0:d.width,trigger:null!==(t=f.current)&&void 0!==t?t:void 0,className:null===d||void 0===d?void 0:d.className,animationRef:m}),(0,s.jsxs)("p",{className:"flex w-full items-end justify-center ".concat(c?"border-x-[0.5px] border-primary-gray-155":""),children:[(0,s.jsx)("span",{className:"text-[28px] font-semibold leading-6",ref:x,children:(0,g.H3)(null===l||void 0===l?void 0:l.value,1)}),(0,s.jsxs)("span",{className:"text-lg font-semibold leading-4 text-primary-gray-400",children:["\xa0",r]})]}),l.progress&&(0,s.jsx)(Qr,{increased:l.progress.increased,amount:l.progress.amount,trigger:null!==(a=f.current)&&void 0!==a?a:void 0})]}):null},qr=function(e){var t=e.value,a=void 0===t?0:t,n=e.low,r=e.high,l=e.progress,c=e.unit,o=e.label,d=e.width1,u=void 0===d?"0%":d,p=e.width2,x=void 0===p?"0%":p,f=e.width3,m=void 0===f?"0%":f,h=e.onClick,A=e.categoryIndex,E=(0,i.useRef)(null),v=(0,i.useRef)(null),C=(0,i.useRef)(null);return(0,i.useEffect)((function(){var e=E.current,t=v.current,a=C.current,s=I.p8.timeline();return s.set([e,t,a],{width:"0%"}),s.to(e,{width:u,duration:.15}),s.to(t,{width:x,duration:.15}),s.to(a,{width:m,duration:.15}),function(){s.kill(),I.p8.killTweensOf([e,t,a])}}),[a,A]),(0,s.jsxs)("div",{className:"grid gap-1",children:[(0,s.jsxs)("button",{className:"flex items-center gap-1 text-sm",onClick:h,children:[o,(0,s.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"rtl:-scale-x-100 rtl:transform",children:(0,s.jsx)("path",{d:"M4.48096 10.1907L8.36996 6.3562C8.56846 6.1602 8.56846 5.8397 8.36996 5.6442L4.48096 1.8092",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),(0,s.jsxs)("div",{className:"grid gap-[2px]",children:[(0,s.jsxs)("div",{className:"flex items-end justify-between",children:[(0,s.jsxs)("p",{className:"text-primary-gray-2",children:[(0,s.jsx)("span",{className:"text-lg font-semibold",children:(0,g.H3)(a,1)})," ",c&&(0,s.jsx)("span",{className:"text-sm",children:c})]}),l&&(0,s.jsx)(Qr,{increased:l.increased,amount:l.amount})]}),(0,s.jsxs)("div",{className:"grid w-full grid-cols-3 gap-[2px] overflow-hidden rounded-3xl",children:[(0,s.jsx)("div",{className:"relative h-[6px] bg-primary-gray-101",children:(0,s.jsx)("div",{className:"absolute inset-0 h-[6px] bg-primary-green-101",ref:E})}),(0,s.jsx)("div",{className:"relative h-[6px] bg-primary-gray-101",children:(0,s.jsx)("div",{className:"absolute inset-0 h-[6px] bg-primary-green-201",ref:v})}),(0,s.jsx)("div",{className:"relative h-[6px] bg-primary-gray-101",children:(0,s.jsx)("div",{className:"absolute inset-0 h-[6px] bg-primary-orange-100",ref:C})})]}),(0,s.jsxs)("div",{className:"relative h-4 w-full",children:[(0,s.jsx)("div",{className:"absolute left-[33.33%] translate-x-[-50%] text-xs text-primary-gray-365",children:(0,g.H3)(n,1)}),(0,s.jsx)("div",{className:"absolute left-[66.66%] translate-x-[-50%] text-xs text-primary-gray-365",children:(0,g.H3)(r,1)})]})]})]})},Jr="/_next/static/media/ae_graph-body-fat.d4fdccff.png",$r="/_next/static/media/ae_graph-skeletal-muscle.943d9630.png",el="/_next/static/media/ae_graph-weight.06f0e55c.png",tl=function(e){var t=e.comma,a=void 0!==t&&t;return(0,s.jsx)("svg",{width:"100%",viewBox:"0 0 316 69",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsxs)("g",{id:"Group 43",children:[(0,s.jsx)("path",{id:"Line-2-Copy",d:"M89.2441 12V67",stroke:"#EDEDED"}),(0,s.jsx)("path",{id:"Line-2-Copy_2",d:"M158.244 12V67",stroke:"#EDEDED"}),(0,s.jsx)("path",{id:"Line-2-Copy_3",d:"M227.244 12V67",stroke:"#EDEDED"}),(0,s.jsx)("path",{id:"Line-2-Copy_4",d:"M296.244 12V67",stroke:"#EDEDED"}),(0,s.jsx)("path",{id:"Line-2-Copy-2",d:"M20.2441 67V13",stroke:"#EDEDED"}),(0,s.jsx)("path",{id:"Line-2",d:"M19.7441 19.5L295.744 59.5",stroke:"#8C8C91",strokeOpacity:"0.5",strokeWidth:"1.5",strokeLinecap:"round",strokeDasharray:"0.05 3"}),(0,s.jsx)("path",{id:"Path-9",d:"M19.7441 18.5H78.516L114.339 26.8505L133.229 37.6852L157.744 48.5",stroke:"#D38138",strokeWidth:2,strokeLinecap:"round"}),(0,s.jsx)("text",{id:"22.0-%",fill:"#8C8C91",xmlSpace:"preserve",style:{whiteSpace:"pre"},fontSize:12,letterSpacing:"0em",children:(0,s.jsxs)("tspan",{x:"276.822",y:"53.272",children:[a?"22,0":"22.0"," %"]})}),(0,s.jsx)("text",{id:"28.0-%",fill:"#8C8C91",xmlSpace:"preserve",style:{whiteSpace:"pre"},fontSize:12,letterSpacing:"0em",children:(0,s.jsxs)("tspan",{x:"0.177734",y:"12.272",children:[a?"28,0":"28.0"," %"]})}),(0,s.jsx)("path",{id:"Rectangle",d:"M175.244 51H141.244C136.826 51 133.244 54.5817 133.244 59V61C133.244 65.4183 136.826 69 141.244 69H175.244C179.662 69 183.244 65.4183 183.244 61V59C183.244 54.5817 179.662 51 175.244 51Z",fill:"#BEF0DA"}),(0,s.jsx)("text",{id:"25.2-%",fill:"#A14F04",xmlSpace:"preserve",style:{whiteSpace:"pre"},fontSize:12,letterSpacing:"0em",children:(0,s.jsxs)("tspan",{x:"137.244",y:"64.272",children:[a?"25,2":"25.2"," %"]})}),(0,s.jsx)("path",{id:"Oval",d:"M295.744 62C297.125 62 298.244 60.8807 298.244 59.5C298.244 58.1193 297.125 57 295.744 57C294.363 57 293.244 58.1193 293.244 59.5C293.244 60.8807 294.363 62 295.744 62Z",fill:"#8C8C91"}),(0,s.jsx)("path",{id:"Oval_2",d:"M295.744 62C297.125 62 298.244 60.8807 298.244 59.5C298.244 58.1193 297.125 57 295.744 57C294.363 57 293.244 58.1193 293.244 59.5C293.244 60.8807 294.363 62 295.744 62Z",fill:"#8C8C91"}),(0,s.jsx)("path",{id:"Oval_3",d:"M157.744 51C159.125 51 160.244 49.8807 160.244 48.5C160.244 47.1193 159.125 46 157.744 46C156.363 46 155.244 47.1193 155.244 48.5C155.244 49.8807 156.363 51 157.744 51Z",fill:"#D38138"}),(0,s.jsx)("path",{id:"Oval_4",d:"M19.7441 21C21.1249 21 22.2441 19.8807 22.2441 18.5C22.2441 17.1193 21.1249 16 19.7441 16C18.3634 16 17.2441 17.1193 17.2441 18.5C17.2441 19.8807 18.3634 21 19.7441 21Z",fill:"#8C8C91"})]})})},al=H()(Object.values({gr:"gr:text-[10px]"})),sl=function(e){var t=e.unit,a=void 0===t?"kg":t,i=e.comma,n=void 0!==i&&i;return(0,s.jsx)("svg",{width:"100%",viewBox:"0 0 318 66",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsxs)("g",{id:"Group 44",children:[(0,s.jsx)("path",{id:"Line-2-Copy",d:"M90.0781 11V66",stroke:"#EDEDED"}),(0,s.jsx)("path",{id:"Line-2-Copy_2",d:"M159.078 11V66",stroke:"#EDEDED"}),(0,s.jsx)("path",{id:"Line-2-Copy_3",d:"M228.078 11V66",stroke:"#EDEDED"}),(0,s.jsx)("path",{id:"Line-2-Copy_4",d:"M297.078 11V66",stroke:"#EDEDED"}),(0,s.jsx)("path",{id:"Line-2-Copy-2",d:"M21.0781 66V12",stroke:"#EDEDED"}),(0,s.jsx)("path",{id:"Line-2",d:"M20.5781 58.5L296.578 18.5",stroke:"#8C8C91",strokeOpacity:"0.5",strokeWidth:"1.5",strokeLinecap:"round",strokeDasharray:"0.05 3"}),(0,s.jsx)("path",{id:"Path-9",d:"M21.0781 58.4616L53.4942 57.4616L79.4271 47.4616L114.622 52.4616L140.777 45L159.078 47.4616",stroke:"#50A0FF",strokeWidth:2,strokeLinecap:"round"}),(0,s.jsx)("text",{id:"25.5-kg",fill:"#8C8C91",xmlSpace:"preserve",style:{whiteSpace:"pre"},fontSize:12,letterSpacing:"0em",children:(0,s.jsxs)("tspan",{x:"0.285156",y:"52.272",className:H()(al),children:[n?"25,5":"25.5"," ",a]})}),(0,s.jsx)("text",{id:"32.5-kg",fill:"#8C8C91",xmlSpace:"preserve",style:{whiteSpace:"pre"},fontSize:12,letterSpacing:"0em",children:(0,s.jsxs)("tspan",{x:"276.713",y:"12.272",className:H()(al),children:[n?"32,5":"32.5"," ",a]})}),(0,s.jsx)("path",{id:"Rectangle",d:"M176.078 27H141.078C136.66 27 133.078 30.5817 133.078 35V37C133.078 41.4183 136.66 45 141.078 45H176.078C180.496 45 184.078 41.4183 184.078 37V35C184.078 30.5817 180.496 27 176.078 27Z",fill:"#BEF0DA"}),(0,s.jsx)("text",{id:"26.5-kg",fill:"#2572CD",xmlSpace:"preserve",style:{whiteSpace:"pre"},fontSize:12,letterSpacing:"0em",children:(0,s.jsxs)("tspan",{x:"137.727",y:"40.272",className:H()(al),children:[n?"26,5":"26.5"," ",a]})}),(0,s.jsx)("path",{id:"Oval",d:"M296.578 21C297.959 21 299.078 19.8807 299.078 18.5C299.078 17.1193 297.959 16 296.578 16C295.197 16 294.078 17.1193 294.078 18.5C294.078 19.8807 295.197 21 296.578 21Z",fill:"#8C8C91"}),(0,s.jsx)("path",{id:"Oval_2",d:"M20.5781 61C21.9588 61 23.0781 59.8807 23.0781 58.5C23.0781 57.1193 21.9588 56 20.5781 56C19.1974 56 18.0781 57.1193 18.0781 58.5C18.0781 59.8807 19.1974 61 20.5781 61Z",fill:"#8C8C91"}),(0,s.jsx)("path",{id:"Oval_3",d:"M158.578 50C159.959 50 161.078 48.8807 161.078 47.5C161.078 46.1193 159.959 45 158.578 45C157.197 45 156.078 46.1193 156.078 47.5C156.078 48.8807 157.197 50 158.578 50Z",fill:"#50A0FF"})]})})},il=H()(Object.values({gr:"gr:text-[10px]"})),nl=function(e){var t=e.unit,a=void 0===t?"kg":t,i=e.comma,n=void 0!==i&&i;return(0,s.jsxs)("svg",{width:"100%",viewBox:"0 0 318 67",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M89.9395 12V67",stroke:"#EDEDED"}),(0,s.jsx)("path",{d:"M158.939 12V67",stroke:"#EDEDED"}),(0,s.jsx)("path",{d:"M227.939 12V67",stroke:"#EDEDED"}),(0,s.jsx)("path",{d:"M296.939 12V67",stroke:"#EDEDED"}),(0,s.jsx)("path",{d:"M20.9395 67V13",stroke:"#EDEDED"}),(0,s.jsx)("path",{d:"M20.4395 19.5L296.439 59.5",stroke:"#8C8C91",strokeOpacity:"0.5",strokeWidth:"1.5",strokeLinecap:"round",strokeDasharray:"0.05 3",width:"100%"}),(0,s.jsx)("path",{d:"M20.4395 18.5L52.7856 20.5H79.5548L111.863 34.5L158.939 36.5",stroke:"#0FCF6E",strokeWidth:2,strokeLinecap:"round"}),(0,s.jsx)("text",{fill:"#8C8C91",xmlSpace:"preserve",style:{whiteSpace:"pre"},fontSize:12,letterSpacing:"0em",children:(0,s.jsxs)("tspan",{x:"276.822",y:"53.272",className:H()(il),children:[n?"72,5":"72.5"," ",a]})}),(0,s.jsx)("text",{fill:"#8C8C91",xmlSpace:"preserve",style:{whiteSpace:"pre"},fontSize:12,letterSpacing:"0em",children:(0,s.jsxs)("tspan",{x:"0.177734",y:"12.272",className:H()(il),children:[n?"78,5":"78.5"," ",a]})}),(0,s.jsx)("path",{d:"M175.939 39H141.939C137.521 39 133.939 42.5817 133.939 47V49C133.939 53.4183 137.521 57 141.939 57H175.939C180.358 57 183.939 53.4183 183.939 49V47C183.939 42.5817 180.358 39 175.939 39Z",fill:"#BEF0DA"}),(0,s.jsx)("text",{fill:"#008C35",xmlSpace:"preserve",style:{whiteSpace:"pre"},fontSize:12,letterSpacing:"0em",children:(0,s.jsxs)("tspan",{x:"137.939",y:"52.272",className:H()(il),children:[n?"76,5":"76.5"," ",a]})}),(0,s.jsx)("path",{d:"M296.439 62C297.82 62 298.939 60.8807 298.939 59.5C298.939 58.1193 297.82 57 296.439 57C295.059 57 293.939 58.1193 293.939 59.5C293.939 60.8807 295.059 62 296.439 62Z",fill:"#8C8C91"}),(0,s.jsx)("path",{d:"M296.439 62C297.82 62 298.939 60.8807 298.939 59.5C298.939 58.1193 297.82 57 296.439 57C295.059 57 293.939 58.1193 293.939 59.5C293.939 60.8807 295.059 62 296.439 62Z",fill:"#8C8C91"}),(0,s.jsx)("path",{d:"M158.439 39C159.82 39 160.939 37.8807 160.939 36.5C160.939 35.1193 159.82 34 158.439 34C157.059 34 155.939 35.1193 155.939 36.5C155.939 37.8807 157.059 39 158.439 39Z",fill:"#0FCF6E"}),(0,s.jsx)("path",{d:"M20.4395 21C21.8202 21 22.9395 19.8807 22.9395 18.5C22.9395 17.1193 21.8202 16 20.4395 16C19.0587 16 17.9395 17.1193 17.9395 18.5C17.9395 19.8807 19.0587 21 20.4395 21Z",fill:"#8C8C91"})]})},rl=g.t.getLanguage(),ll="se"===rl||"vn"===rl||"id"===rl||"br"===rl||"fr"===rl||"ca"===rl||"es"===rl||"tr"===rl||"it"===rl||"de"===rl||"cz"===rl||"hu"===rl||"ru"===rl||"nl"===rl||"lt"===rl||"hr"===rl||"gr"===rl,cl=function(){return(0,s.jsxs)("div",{className:"grid gap-8",children:[(0,s.jsxs)("section",{className:"grid gap-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex justify-between text-sm text-dark",children:[(0,s.jsx)("p",{children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-GRAPH-WEIGHT-LOSS-HEADER"]}),(0,s.jsx)("p",{className:"text-medium font-semibold",children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-GRAPH-WEIGHT-LOSS-GOAL"]})]}),(0,s.jsx)("p",{className:"text-xs text-primary-gray-365",children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-GRAPH-WEIGHT-LOSS-AMOUNT"]})]}),"ae"===rl?(0,s.jsx)("img",{"data-loader":"image","data-src":el,style:{width:"100%"},src:el,alt:"Weight graph"}):(0,s.jsx)(nl,{comma:ll,unit:g.t["SAMSUNG-HEALTH_HOME-SCREEN_WEIGHT-UNIT"]}),(0,s.jsxs)("div",{className:"flex justify-between text-xs text-primary-gray-365",children:[(0,s.jsx)("p",{children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-GRAPH-WEIGHT-LOSS-START"]}),(0,s.jsx)("p",{children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-GRAPH-WEIGHT-LOSS-WEEK-TWO"]}),(0,s.jsx)("p",{children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-GRAPH-WEIGHT-LOSS-TARGET"]})]})]}),(0,s.jsxs)("section",{className:"grid gap-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex justify-between text-sm text-dark",children:[(0,s.jsx)("p",{children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-GRAPH-SKELETAL-GAIN-HEADER"]}),(0,s.jsx)("p",{className:"text-medium font-semibold",children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-GRAPH-SKELETAL-GAIN-GOAL"]})]}),(0,s.jsx)("p",{className:"text-xs text-primary-gray-365",children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-GRAPH-SKELETAL-GAIN-AMOUNT"]})]}),"ae"===rl?(0,s.jsx)("img",{"data-loader":"image","data-src":$r,style:{width:"100%"},src:$r,alt:"Skeletal Muscle graph"}):(0,s.jsx)(sl,{comma:ll,unit:g.t["SAMSUNG-HEALTH_HOME-SCREEN_WEIGHT-UNIT"]}),(0,s.jsxs)("div",{className:"flex justify-between text-xs text-primary-gray-365",children:[(0,s.jsx)("p",{children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-GRAPH-SKELETAL-GAIN-START"]}),(0,s.jsx)("p",{children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-GRAPH-SKELETAL-GAIN-WEEK-TWO"]}),(0,s.jsx)("p",{children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-GRAPH-SKELETAL-GAIN-TARGET"]})]})]}),(0,s.jsxs)("section",{className:"grid gap-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex justify-between text-sm text-dark",children:[(0,s.jsx)("p",{children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-GRAPH-BODY-FAT-HEADER"]}),(0,s.jsx)("p",{className:"text-medium font-semibold",children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-GRAPH-BODY-FAT-GOAL"]})]}),(0,s.jsx)("p",{className:"text-xs text-primary-gray-365",children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-GRAPH-BODY-FAT-AMOUNT"]})]}),"ae"===rl?(0,s.jsx)("img",{"data-loader":"image","data-src":Jr,style:{width:"100%"},src:Jr,alt:"Body fat graph"}):(0,s.jsx)(tl,{comma:ll}),(0,s.jsxs)("div",{className:"flex justify-between text-xs text-primary-gray-365",children:[(0,s.jsx)("p",{children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-GRAPH-BODY-FAT-START"]}),(0,s.jsx)("p",{children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-GRAPH-BODY-FAT-WEEK-TWO"]}),(0,s.jsx)("p",{children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_PROGRESS-GRAPH-BODY-FAT-TARGET"]})]})]})]})},ol="/_next/static/media/related-1.76b668ec.png",dl="/_next/static/media/related-2.e34429f5.png",ul="/_next/static/media/related-3.c1969106.png",pl="/_next/static/media/related-4.532ac589.png",xl="/_next/static/media/thumbs-icon.4dac2e11.png";function fl(e){var t=e.children,a=e.className;return(0,s.jsx)("div",{className:H()("relative w-full space-y-5 px-[10px]",a),children:t})}var ml={fr:"fr:px-3.5 fr:xsmd:px-2 fr:smd:px-2 fr:xxs:px-2",de:"de:px-3.5 de:xsmd:px-2 de:smd:px-2 de:xxs:px-2"},hl={fr:"fr:text-[16px]",de:"de:text-lg de:foldCover:text-base",nl:"nl:text-lg nl:foldCover:text-base"},Al={de:"de:gap-0"},El={nl:"nl:text-[11px]"},gl=H()(Object.values(ml)),vl=H()(Object.values(hl)),Cl=H()(Object.values(Al)),jl=H()(Object.values(El));function Nl(e){var t=e.children,a=e.className,i=void 0===a?"":a;return(0,s.jsx)("div",{className:H()("relative w-full rounded-3xl bg-primary-white-150 p-6",i),children:t})}function Tl(e){var t=e.children,a=e.className,i=void 0===a?"":a,n=e.showIcon,r=void 0===n||n;return(0,s.jsxs)("div",{className:H()("flex items-center justify-between",i),children:[(0,s.jsx)("div",{className:"text-base font-semibold",children:t}),r&&(0,s.jsx)(Zr,{className:""})]})}function wl(e){var t=e.children,a=e.className,i=void 0===a?"":a;return(0,s.jsx)("div",{className:H()("grid gap-6 pt-8 pb-4",i),children:t})}var _l=function(e){var t=e.appHealthWrapperRef,a=(0,i.useContext)(br),n=a.screen,r=a.index,l=a.setScreen,c=(0,P.qr)(),o=c.pushBackButtonStack,d=c.popBackButtonStack,u=c.colourPaletteIndex,p=(0,i.useState)(0),x=p[0],f=p[1],m=(0,i.useState)(2),h=m[0],A=m[1],E=(0,i.useMemo)((function(){return Bt.states[x]}),[x]),v=(0,i.useRef)(null),C=(0,i.useRef)([]),j=(0,i.useRef)(null),N=(0,i.useRef)(null),T=(0,i.useCallback)((function(){var e=C.current[r],a=t.current,s=v.current;I.ZP.killTweensOf([a,e,s]),I.ZP.fromTo(a,{y:0},{y:-50,duration:.4,ease:"power3.out"}),I.ZP.fromTo(e,{display:"block",y:100},{y:0,duration:.4,ease:"power3.out"}),I.ZP.fromTo(s,{display:"block",pointerEvents:"auto",opacity:0},{opacity:1,duration:.4,ease:"power3.out"}),e.scrollTo({top:0}),o(N)}),[t,o,N,r]),w=(0,i.useCallback)((function(){var e=t.current,a=v.current,s=C.current[r];I.ZP.killTweensOf([e,s,a]),I.ZP.to(e,{y:0,duration:.4,ease:"power3.inOut"}),I.ZP.to(s,{y:100,duration:.4,ease:"power3.inOut"}),I.ZP.to(a,{opacity:0,duration:.4,ease:"power3.inOut",onComplete:function(){I.ZP.set(C.current,{display:"none"}),I.ZP.set(a,{display:"none",pointerEvents:"none"}),A(2)}}),l("Home"),d()}),[t,r,d,l]);return(0,i.useEffect)((function(){"BodyComposition"===n.current&&"BodyComposition"!==n.prev&&(T(),A(0),f(7))}),[T,n]),(0,i.useEffect)((function(){N.current=w}),[w]),(0,s.jsxs)("div",{className:"gpu absolute inset-0 z-30 overflow-hidden","data-component":"app-health-body-composition",style:{pointerEvents:"none",display:"none"},ref:v,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-102"}),(0,s.jsx)("div",{className:"absolute inset-0","data-colour":u,children:(0,s.jsx)("div",{className:"absolute inset-0","data-ref":"app-health-body-composition-wrapper",children:(0,s.jsx)("div",{className:"absolute inset-0",children:(0,s.jsxs)("div",{className:"gpu absolute inset-0",style:{bottom:80,display:"none"},"data-ref":"app-health-body-composition-item",ref:function(e){e&&!C.current.includes(e)&&C.current.push(e)},children:[(0,s.jsx)("div",{className:"sticky top-0 z-20 bg-primary-gray-102 py-2 pb-3 pt-10",children:(0,s.jsx)("div",{className:H()("relative px-6 py-2 xsmd:px-4 smd:px-4 xxs:px-4",gl),children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center",children:[(0,s.jsx)("div",{className:"flex items-center ltr:mr-2 rtl:ml-2",children:(0,s.jsx)("button",{"data-ref":"app-health-body-composition-button-close",className:"rtl:-scale-x-100 rtl:transform",style:{width:30,height:40},ref:j,onClick:function(){w()},children:(0,s.jsx)(Yr,{})})}),(0,s.jsx)("div",{className:"text-xl",children:(0,s.jsx)("div",{className:H()("flex-no-wrap flex items-center justify-start font-semibold leading-none",vl),children:(0,s.jsx)("div",{children:g.t["SAMSUNG-HEALTH_HOME-BODY-COMPOSITION-TITLE"]})})})]}),(0,s.jsxs)("div",{className:H()("flex-no-wrap flex gap-1",Cl),children:[(0,s.jsx)(ht,{title:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_POP-UP_SHARE-TITLE"],text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_POP-UP_SHARE-BODY"],cta:{text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_POP-UP_SHARE-CTA"]},children:(0,s.jsx)(ie,{path:"/app/health/body-composition/icon-share",page:M.dC.Health,children:(0,s.jsx)("button",{className:"flex items-center justify-center text-center",style:{width:30,height:30},children:(0,s.jsx)(Ur,{})})})}),(0,s.jsx)(ht,{title:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_POP-UP-DETAIL-TITLE"],text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_POP-UP-DETAIL-BODY"],cta:{text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_POP-UP-DETAIL-CTA"]},children:(0,s.jsx)(ie,{path:"/app/health/body-composition/icon-graph",page:M.dC.Health,children:(0,s.jsx)("button",{className:"flex items-center justify-center text-center",style:{width:30,height:30},children:(0,s.jsx)(Br,{})})})}),(0,s.jsx)(ht,{title:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_POP-UP-MENU-TITLE"],text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_POP-UP-MENU-BODY"],cta:{text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_POP-UP-MENU-CTA"]},children:(0,s.jsx)(ie,{path:"/app/health/body-composition/icon-menu",page:M.dC.Health,children:(0,s.jsx)("button",{className:"flex items-center justify-center text-center",style:{width:30,height:30},children:(0,s.jsx)(Gr,{})})})})]})]})})}),(0,s.jsxs)("div",{className:"absolute top-[108px] bottom-[68px] w-full overflow-y-auto",children:[(0,s.jsx)("div",{className:"sticky top-0 w-full overflow-hidden",children:(0,s.jsx)(Kr,{setDataIndex:f,dataIndex:x,setCategoryIndex:A,categoryIndex:h})}),(0,s.jsxs)(fl,{className:"z-[15] mt-2 overflow-hidden bg-primary-gray-102",children:[(0,s.jsxs)(Nl,{className:"grid gap-8",children:[(0,s.jsxs)("div",{className:"grid grid-cols-3 gap-3",children:[(0,s.jsx)(zr,{data:E.values.find((function(e){return"weight"===e.key})),unit:Ut("weight"),divider:!1,onClick:function(){A(0)},lottie:{path:"/assets/lotties/health/weight.json",width:"auto",height:30},categoryIndex:h,index:0}),(0,s.jsx)(zr,{data:E.values.find((function(e){return"skeletal-muscle"===e.key})),unit:Ut("skeletal-muscle"),divider:!0,onClick:function(){A(1)},lottie:{path:"/assets/lotties/health/skeletal-muscle.json",width:"auto",height:30},categoryIndex:h,index:1}),(0,s.jsx)(zr,{data:E.values.find((function(e){return"body-fat"===e.key})),unit:Ut("body-fat"),divider:!1,onClick:function(){A(2)},lottie:{path:"/assets/lotties/health/body-fat.json",width:"auto",height:20,className:"mt-1.5"},categoryIndex:h,index:2})]}),(0,s.jsx)("hr",{}),(0,s.jsxs)("div",{className:"flex gap-5",children:[(0,s.jsx)("p",{className:"flex-2 text-[13px]",children:g.t["@PARADIGM_HEALTH_BODY_COMPOSITION_MOTIVATIONAL_TEXT"]}),(0,s.jsx)("div",{className:"flex flex-1 items-center justify-center",children:(0,s.jsx)("img",{"data-loader":"image","data-src":xl,className:"h-20",src:xl,alt:""})})]})]}),Bt.cards.map((function(e){return(0,s.jsxs)(Nl,{children:[(0,s.jsx)(Tl,{children:e.title}),(0,s.jsx)(wl,{children:e.items.map((function(t){var a,i,n,r,l=E.values.find((function(e){return e.key===t.key}));if(l)return(0,s.jsx)(ht,{title:e.popUp.title,text:e.popUp.text,cta:{text:e.popUp.cta},children:(0,s.jsx)(ie,{path:"/app/health/body-composition/".concat(t.key),page:M.dC.Health,children:(0,s.jsx)(qr,{label:null!==(a=t.name)&&void 0!==a?a:"",low:t.low,high:t.high,unit:t.unit,value:l.value,width1:null!==(i=l.width1)&&void 0!==i?i:"",width2:null!==(n=l.width2)&&void 0!==n?n:"",width3:null!==(r=l.width3)&&void 0!==r?r:"",progress:l.progress,categoryIndex:h})})},t.key)}))})]},e.key)})),(0,s.jsx)(Nl,{children:(0,s.jsx)(ie,{path:"/app/health/body-composition/basal-metabolic-rate",page:M.dC.Health,children:(0,s.jsxs)(ht,{title:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_BASAL_POP-UP_HEADER"],text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_BASAL_POP-UP_BODY-TEXT"],cta:{text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_BASAL_POP-UP_CTA"]},children:[(0,s.jsx)(Tl,{children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_CALORIE-HEADER"]}),(0,s.jsxs)(wl,{children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("p",{children:[(0,s.jsx)("span",{className:"text-[19px] font-semibold",children:g.t["@PARADIGM_HEALTH_BODY_COMPOSITION_CALORIE_COMPOSITION_CARD_CALORIE_COUNT"]}),(0,s.jsxs)("span",{className:"text-[19px] font-semibold",children:["\xa0",g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_CALORIE-UNIT"]]})]}),(0,s.jsx)(Qr,{increased:!0,amount:350,decimalPlaces:0})]}),(0,s.jsx)("div",{className:"text-xs text-primary-gray-360",children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_CALORIE-AVERAGE"]})]}),(0,s.jsx)("hr",{}),(0,s.jsx)("p",{className:"text-[13px] font-normal not-italic leading-5",children:g.t["@PARADIGM_HEALTH_BODY_COMPOSITION_CALORIE_COMPOSITION_CARD_HINT_TEXT"]})]})]})})}),(0,s.jsx)("div",{className:"flex justify-end px-5 text-xs font-normal not-italic leading-[normal] text-primary-gray-260",children:(0,s.jsx)("p",{children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_CALORIE-MEASURED-BY"]})}),(0,s.jsxs)(Nl,{children:[(0,s.jsx)(Tl,{showIcon:!1,children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_TARGET-PROGRESS-HEADER"]}),(0,s.jsxs)(wl,{children:[(0,s.jsx)(cl,{}),(0,s.jsxs)("div",{className:"grid gap-6 text-lg text-dark",children:[(0,s.jsx)("hr",{}),g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_TIPS-BUTTON-TEXT"]]})]})]}),z.e.isHealthAppRelatedContentEnabled&&(0,s.jsxs)(Nl,{className:"p-0",children:[(0,s.jsx)(Tl,{showIcon:!1,className:"px-4 pt-4",children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_RELATED-CONTENT_HEADER"]}),(0,s.jsxs)("div",{className:"flex w-full gap-3 overflow-x-auto p-4",children:[(0,s.jsx)("div",{className:"w-24 shrink-0",children:(0,s.jsx)(ht,{title:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_RELATED-CONTENT-POP-UP-TITLE"],text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_RELATED-CONTENT-POP-UP-BODY-TEXT"],cta:{text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_RELATED-CONTENT-POP-UP_CTA"]},children:(0,s.jsx)(ie,{path:"/app/health/body-composition/related-content/item-1",page:M.dC.Health,children:(0,s.jsxs)("div",{className:"w-24",children:[(0,s.jsx)("img",{"data-loader":"image","data-src":ol,className:"w-24",src:ol,alt:""}),(0,s.jsx)("div",{className:H()("text-[13px]",jl),children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_RELATED-CONTENT_ITEM-ONE-TITLE"]}),(0,s.jsx)("div",{className:"text-[11px] text-primary-gray-360",children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_RELATED-CONTENT_ITEM-ONE-SUBTITLE"]})]})})})}),(0,s.jsx)("div",{className:"w-24 shrink-0",children:(0,s.jsx)(ht,{title:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_RELATED-CONTENT-POP-UP-TITLE"],text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_RELATED-CONTENT-POP-UP-BODY-TEXT"],cta:{text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_RELATED-CONTENT-POP-UP_CTA"]},children:(0,s.jsx)(ie,{path:"/app/health/body-composition/related-content/item-2",page:M.dC.Health,children:(0,s.jsxs)("div",{className:"w-24",children:[(0,s.jsx)("img",{"data-loader":"image","data-src":dl,className:"w-24",src:dl,alt:""}),(0,s.jsx)("div",{className:"text-[13px]",children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_RELATED-CONTENT_ITEM-TWO-TITLE"]}),(0,s.jsx)("div",{className:"text-[11px] text-primary-gray-360",children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_RELATED-CONTENT_ITEM-TWO-SUBTITLE"]})]})})})}),(0,s.jsx)("div",{className:"w-24 shrink-0",children:(0,s.jsx)(ht,{title:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_RELATED-CONTENT-POP-UP-TITLE"],text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_RELATED-CONTENT-POP-UP-BODY-TEXT"],cta:{text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_RELATED-CONTENT-POP-UP_CTA"]},children:(0,s.jsx)(ie,{path:"/app/health/body-composition/related-content/item-3",page:M.dC.Health,children:(0,s.jsxs)("div",{className:"w-24",children:[(0,s.jsx)("img",{"data-loader":"image","data-src":ul,className:"w-24",src:ul,alt:""}),(0,s.jsx)("div",{className:"text-[13px]",children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_RELATED-CONTENT_ITEM-THREE-TITLE"]}),(0,s.jsx)("div",{className:"text-[11px] text-primary-gray-360",children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_RELATED-CONTENT_ITEM-THREE-SUBTITLE"]})]})})})}),(0,s.jsx)("div",{className:"w-24 shrink-0",children:(0,s.jsx)(ht,{title:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_RELATED-CONTENT-POP-UP-TITLE"],text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_RELATED-CONTENT-POP-UP-BODY-TEXT"],cta:{text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_RELATED-CONTENT-POP-UP_CTA"]},children:(0,s.jsx)(ie,{path:"/app/health/body-composition/related-content/item-4",page:M.dC.Health,children:(0,s.jsxs)("div",{className:"w-24",children:[(0,s.jsx)("img",{"data-loader":"image","data-src":pl,className:"w-24",src:pl,alt:""}),(0,s.jsx)("div",{className:"text-[13px]",children:g.t["@PARADIGM_HEALTH_BODY_COMPOSITION_RELATED_CONTENT_ITEM_FOUR_TITLE"]}),(0,s.jsx)("div",{className:"text-[11px] text-primary-gray-360",children:g.t["@PARADIGM_HEALTH_BODY_COMPOSITION_RELATED_CONTENT_ITEM_FOUR_SUBTITLE"]})]})})})})]})]})]})]}),(0,s.jsx)("div",{className:"absolute bottom-0 w-full bg-primary-gray-102 px-5 py-3 text-[18px]",children:(0,s.jsx)("div",{className:"flex items-center justify-center gap-2",children:(0,s.jsx)(ht,{title:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_ENTER-DATA-POP-UP_TITLE"],text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_ENTER-DATA-POP-UP-BODY-TEXT"],cta:{text:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_ENTER-DATA-POP-UP_CTA"]},children:(0,s.jsx)(ie,{path:"/app/health/body-composition/enter-data",page:M.dC.Health,children:(0,s.jsx)("div",{className:"rounded-3xl bg-primary-gray-145 py-2 px-8 text-center font-semibold text-dark",children:g.t["SAMSUNG-HEALTH_BODY-COMPOSITION_ENTER-DATA-BUTTON-TEXT"]})})})})})]})})})})]})},bl=function(e){var t=e.children,a=e.foregroundContent,n=e.onClick,r=e.className,l=(0,i.useState)(!1),c=l[0],o=l[1],d=(0,i.useState)(!1),u=d[0],p=d[1],x=(0,i.useRef)(null),f=(0,i.useRef)(null),m=(0,i.useRef)(null),h=function(){o(!1)};return(0,i.useEffect)((function(){var e=f.current,t=m.current;I.ZP.set(e,{rotationY:0}),I.ZP.set(t,{rotationX:180})}),[]),(0,s.jsx)("div",{className:"relative w-full","data-component":"app-health-button",onClick:function(){if(n)n();else{var e=x.current;c||(I.ZP.killTweensOf([e]),o(!0),u?(I.ZP.to(e,{rotationX:0,duration:.6,ease:"power3.inOut"}),I.ZP.to(e,{scale:.9,duration:.3,ease:"power3.in",yoyo:!0,repeat:1,onComplete:h}),p(!1)):(I.ZP.to(e,{rotationX:180,duration:.6,ease:"power3.inOut"}),I.ZP.to(e,{scale:.9,duration:.3,ease:"power3.in",yoyo:!0,repeat:1,onComplete:h}),p(!0)))}},children:(0,s.jsxs)("div",{className:"transform-3d relative w-full","data-ref":"app-health-button-container",ref:x,children:[(0,s.jsx)("div",{className:r||"backface relative flex w-full items-center justify-between bg-primary-white-150 px-5 py-4","data-ref":"app-health-button-content",style:{borderRadius:"1.5rem",transform:"translate(0px, 0px)"},ref:f,children:t}),(0,s.jsx)("div",{className:"backface absolute inset-0 flex items-center justify-center bg-primary-white-150 text-sm",style:{borderRadius:"1.5rem",transform:"rotateX(180deg)"},"data-ref":"app-health-button-foreground",ref:m,children:a})]})})},Sl=a(20945),yl=(0,i.forwardRef)((function(e,t){var a=e.className,n=void 0===a?"":a,r=e.src,l=void 0===r?"":r,c=e.alt,o=void 0===c?"":c,d=(0,O.Z)(e,["className","src","alt"]),u=(0,Sl.D)(l),p=u.src,x=u.fallback,f=(0,i.useState)(""),m=f[0],h=f[1];return(0,i.useEffect)((function(){h(p)}),[p]),(0,s.jsx)("img",(0,L.Z)((0,_.Z)({},d),{className:n,src:m,alt:o,onError:function(){h(x)},ref:t}))})),Rl="/_next/static/media/penguin-avatar.1e0335f9.png",Ll="/_next/static/media/icon-arrow-right.fe8ea39f.svg",Il=function(e){var t=e.item,a=t.title,i=t.score,n=t.graphPercentile;return(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsxs)("div",{className:"flex w-full justify-between",children:[(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)("div",{className:"shrink-0 text-sm ltr:mr-2.5 rtl:ml-2.5",children:a}),(0,s.jsx)("img",{src:Ll,className:"mt-0.5 shrink-0 rtl:rotate-180",alt:"arrow icon"})]}),(0,s.jsx)("div",{className:"text-sm text-primary-purple-200",children:i})]}),(0,s.jsx)("div",{className:"py-2",children:(0,s.jsx)("div",{className:"relative h-[6px] w-full rounded-2xl bg-primary-gray-100",children:(0,s.jsx)("div",{className:"absolute inset-0 h-[6px] rounded-l-2xl bg-primary-purple-800 rtl:-scale-x-100 rtl:transform",style:{width:"".concat(n,"%")}})})})]})},Pl=function(e){var t=e.children,a=e.className,i=void 0===a?"":a;return(0,s.jsx)("div",{className:"w-full text-start",children:(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:H()("relative w-full rounded-3xl bg-primary-white-150 p-6",i),children:t})})})},Ol=function(e){var t=e.title,a=e.arrowIcon;return(0,s.jsxs)("div",{className:"flex w-full items-center justify-start",children:[(0,s.jsx)("div",{className:"text-base font-semibold ltr:mr-2 rtl:ml-2",children:t}),a&&(0,s.jsx)("img",{src:Ll,className:"mt-0.5 rtl:rotate-180",alt:"arrow icon"})]})},Ml=H()(Object.values({fr:"fr:w-full",ru:"ru:w-full"})),Dl=[{title:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_FACTOR_ITEM_TOTAL_TIME_TITLE"],score:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_FACTOR_ITEM_TOTAL_TIME_SCORE"],graphPercentile:80},{title:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_FACTOR_ITEM_PHYSICAL_RECOVERY_TITLE"],score:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_FACTOR_ITEM_PHYSICAL_RECOVERY_SCORE"],graphPercentile:65},{title:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_FACTOR_ITEM_RESTFULNESS_TITLE"],score:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_FACTOR_ITEM_RESTFULNESS_SCORE"],graphPercentile:91},{title:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_FACTOR_ITEM_MENTAL_RECOVERY_TITLE"],score:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_FACTOR_ITEM_MENTAL_RECOVERY_SCORE"],graphPercentile:60},{title:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_FACTOR_ITEM_SLEEP_CYCLES_TITLE"],score:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_FACTOR_ITEM_SLEEP_CYCLES_SCORE"],graphPercentile:60}],Gl=function(){return(0,s.jsx)(Pl,{children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"flex w-full pb-2",children:[(0,s.jsxs)("div",{className:H()("flex w-1/2 flex-col",Ml),children:[(0,s.jsx)(Ol,{title:g.t["SAMSUNG-HEALTH_SLEEP_SCORE-CARD-TITLE"],arrowIcon:!0}),(0,s.jsxs)("div",{className:"mt-auto mb-4 font-semibold",children:[(0,s.jsx)("div",{className:"mb-0.5 text-2xl",children:g.t["SAMSUNG-HEALTH_SLEEP_SCORE-CARD-GOOD"]}),(0,s.jsx)("div",{className:"text-[32px]",children:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_SCORE_NUMBER"]})]})]}),(0,s.jsx)("div",{className:"flex w-1/2 justify-end",children:(0,s.jsx)("img",{src:Rl,className:"-mt-3 w-[129px]",alt:"penguin avatar"})})]}),(0,s.jsx)("div",{className:"relative bg-primary-gray-50",children:(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("div",{className:"h-px w-full bg-primary-gray-150"})})}),(0,s.jsx)("div",{className:"py-6",children:(0,s.jsx)("div",{className:"text-start text-lg font-semibold ltr:mr-0.5 rtl:ml-0.5",children:g.t["SAMSUNG-HEALTH_SLEEP_SCORE-CARD-FACTORS-TITLE"]})}),(0,s.jsx)("div",{className:"flex flex-col gap-6",children:Dl.map((function(e,t){return(0,s.jsx)(Il,{item:e},t)}))})]})})},kl="/_next/static/media/sleep-icon-bed.c3d67134.svg",Hl=function(){return(0,s.jsxs)(Pl,{children:[(0,s.jsx)("div",{className:"flex w-full justify-start",children:(0,s.jsx)("div",{className:"text-base font-semibold",children:g.t["SAMSUNG-HEALTH_SLEEP_TIME-CARD-TITLE"]})}),(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("div",{className:"flex w-full justify-end",children:(0,s.jsxs)("div",{className:"mb-2.5 flex w-full items-end justify-end gap-1 font-semibold",children:[(0,s.jsx)("div",{className:"flex h-full items-center justify-center ltr:mr-1 rtl:ml-1",children:(0,s.jsx)("img",{src:kl,className:"h-full w-full",alt:"bed icon"})}),(0,s.jsx)("span",{className:"text-4xl",children:g.t["@PARADIGM_HEALTH_SLEEP_TIME_CARD_SLEEP_HOUR_NUMBER"]}),(0,s.jsx)("span",{className:"mt-1 text-xl",children:g.t["@PARADIGM_HEALTH_SLEEP_TIME_CARD_SLEEP_HOUR_UNIT"]}),(0,s.jsx)("span",{className:"text-4xl",children:g.t["@PARADIGM_HEALTH_SLEEP_TIME_CARD_SLEEP_MINUTE_NUMBER"]}),(0,s.jsx)("span",{className:"mt-1 text-xl",children:g.t["@PARADIGM_HEALTH_SLEEP_TIME_CARD_SLEEP_MINUTE_UNIT"]})]})}),(0,s.jsx)("div",{className:"flex w-full justify-end pb-1",children:(0,s.jsxs)("div",{className:"text-end text-xs font-normal text-primary-gray-260",children:[(0,s.jsx)("div",{children:(0,s.jsx)("span",{children:g.t["@PARADIGM_HEALTH_SLEEP_TIME_CARD_TIME_IN_BED_RANGE"]})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"ltr:mr-1.5 rtl:ml-1.5",children:g.t["@PARADIGM_HEALTH_SLEEP_TIME_CARD_TIME_IN_BED_TEXT"]}),g.t["@PARADIGM_HEALTH_SLEEP_TIME_CARD_TIME_IN_BED_NUMBER"]]})]})})]})]})},Bl="/_next/static/media/sleep-chart-1.a45b8aec.png",Ul="/_next/static/media/sleep-chart-2.76da18d0.png";function Zl(e){var t=e.size,a=e.className,i=void 0===a?"":a,n="red"===e.type?"bg-[#DD1600]":"bg-[#6C88FF]",r=t?{height:"".concat(t,"px")}:{};return(0,s.jsx)("div",{className:H()("h-[10px] w-[10px]",n,i),style:r})}function Yl(e){var t=e.label,a=e.value,i=e.marker;return(0,s.jsxs)("div",{className:"flex flex-row items-center justify-between gap-2",children:[i,(0,s.jsx)("div",{className:"text-sm font-normal text-primary-gray-260",children:t}),(0,s.jsx)("div",{className:"mt-0.5 flex-1",children:(0,s.jsx)("hr",{className:"h-px w-full border-0 border-t border-dotted border-primary-gray-155"})}),(0,s.jsx)("div",{className:"text-sm font-semibold",children:a})]})}function Fl(e){var t=e.children,a=e.pagePath;return(0,s.jsx)(ie,{path:a,page:M.dC.Health,children:(0,s.jsx)(ht,{text:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_SKIN_TEMPERATURE_POPUP_TEXT"],cta:{text:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_SKIN_TEMPERATURE_POPUP_CTA"]},title:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_SKIN_TEMPERATURE_POPUP_HEADER"],children:t})})}function Vl(){return(0,s.jsxs)("div",{className:"w-full pt-2 pb-4",children:[(0,s.jsx)("img",{className:"w-full",src:Ul,alt:""}),(0,s.jsx)("div",{className:"pt-1 text-sm font-normal text-primary-gray-260 ltr:pl-0.5 rtl:pr-0.5",children:g.t["@PARADIGM_HEALTH_SLEEP_SLEEP_CHART_2_MOVEMENT_KEY"]})]})}var Wl=function(){return(0,s.jsx)(Pl,{children:(0,s.jsxs)("div",{className:"flex flex-col gap-12",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)(Ol,{title:g.t["SAMSUNG-HEALTH_SLEEP_STAGE-CARD-TITLE"],arrowIcon:!0}),(0,s.jsx)("img",{className:"w-full pt-6 pb-2",src:Bl,alt:""}),(0,s.jsx)(Vl,{}),(0,s.jsx)(yl,{"data-loader":"image",className:"w-full pt-6 pb-4",src:"health/sleep-tracking/stages.png",alt:""})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(Ol,{title:g.t["SAMSUNG-HEALTH_SLEEP_STAGE-CARD-OXYGEN-TITLE"],arrowIcon:!0}),(0,s.jsx)(yl,{"data-loader":"image",className:"w-full py-6",src:"health/sleep-tracking/sleep-blood-oxygen.png",alt:""}),(0,s.jsx)(Yl,{label:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_BLOOD_OXYGEN_GRAPH_SUMMARY_LABEL"],value:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_BLOOD_OXYGEN_GRAPH_SUMMARY_VALUE"],marker:(0,s.jsx)(Zl,{size:3,type:"blue"})}),(0,s.jsxs)("div",{className:"flex flex-row items-center gap-5 pt-6",children:[(0,s.jsx)(Zr,{className:"h-[20px] w-[20px] shrink-0 self-start",fill:"#8C8C91"}),(0,s.jsx)("div",{className:"text-xs font-normal text-primary-gray-260",children:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_BLOOD_OXYGEN_TIP_TEXT"]})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(Ol,{title:g.t["SAMSUNG-HEALTH_SLEEP_STAGE-CARD-SNORING-TITLE"],arrowIcon:!0}),(0,s.jsx)(yl,{"data-loader":"image",className:"w-full py-6",src:"health/sleep-tracking/sleep-snoring.png",alt:""}),(0,s.jsx)(Yl,{label:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_SNORING_GRAPH_SUMMARY_LABEL"],value:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_SNORING_GRAPH_SUMMARY_VALUE"],marker:(0,s.jsx)(Zl,{size:9,type:"blue"})})]}),(0,s.jsx)("div",{children:(0,s.jsxs)(Fl,{pagePath:"/app/health/sleep-tracking/skin-temperature",children:[(0,s.jsx)(Ol,{title:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_SKIN_TEMPERATURE_TITLE"],arrowIcon:!0}),(0,s.jsx)(yl,{"data-loader":"image",className:"w-full py-6",src:"health/sleep-tracking/sleep-skin-temperature.png",alt:""}),(0,s.jsx)(Yl,{label:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_SKIN_TEMPERATURE_GRAPH_SUMMARY_LABEL_ONE"],value:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_SKIN_TEMPERATURE_GRAPH_SUMMARY_VALUE_ONE"],marker:(0,s.jsx)(Zl,{type:"red",className:"mt-px rounded-full"})}),(0,s.jsx)("div",{className:"py-2"}),(0,s.jsx)(Yl,{label:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_SKIN_TEMPERATURE_GRAPH_SUMMARY_LABEL_TWO"],value:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_SKIN_TEMPERATURE_GRAPH_SUMMARY_VALUE_TWO"],marker:(0,s.jsx)(Zl,{type:"blue",className:"mt-px rounded-full"})})]})}),(0,s.jsx)("div",{children:(0,s.jsxs)(Fl,{pagePath:"/app/health/sleep-tracking/heart-rate",children:[(0,s.jsx)(Ol,{title:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_HEART_RATE_TITLE"],arrowIcon:!0}),(0,s.jsx)(yl,{"data-loader":"image",className:"w-full py-6",src:"health/sleep-tracking/sleep-heart-rate.png",alt:""}),(0,s.jsx)(Yl,{label:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_HEART_RATE_GRAPH_SUMMARY_LABEL"],value:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_HEART_RATE_GRAPH_SUMMARY_VALUE"],marker:(0,s.jsx)(Zl,{size:3,type:"blue"})})]})}),(0,s.jsx)("div",{children:(0,s.jsxs)(Fl,{pagePath:"/app/health/sleep-tracking/respiratory-rate",children:[(0,s.jsx)(Ol,{title:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_RESPIRATORY_RATE_TITLE"],arrowIcon:!0}),(0,s.jsx)("div",{className:"py-4"}),(0,s.jsx)(Yl,{label:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_RESPIRATORY_RATE_GRAPH_SUMMARY_LABEL"],value:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_RESPIRATORY_RATE_GRAPH_SUMMARY_VALUE"],marker:null})]})})]})})},Xl=H()(Object.values({ae:"ae:right-[72px] ae:left-[unset]"})),Kl=function(){return(0,s.jsxs)(Pl,{children:[(0,s.jsx)(Ol,{title:g.t["SAMSUNG-HEALTH_SLEEP_SLEEP-CONSISTENCY-TITLE"]}),(0,s.jsx)("div",{className:"py-2 text-base font-normal text-primary-gray-260",children:g.t["SAMSUNG-HEALTH_SLEEP_SLEEP-CONSISTENCY"]}),(0,s.jsx)(yl,{"data-loader":"image",className:"w-full py-3",src:"health/sleep-tracking/sleep-consistency.png?version=".concat(M.K0),alt:""}),(0,s.jsx)("div",{className:H()("absolute bottom-[35px] left-[72px] flex w-[35px] justify-center bg-white text-[11.5px] font-normal text-[#666]",Xl),children:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_CONSISTENCY_DATE"]})]})},Ql="/_next/static/media/sleep-coaching-penguin-avatar.22d4e77d.png",zl=function(){return(0,s.jsx)(Pl,{className:"pt-4",children:(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)("div",{className:"relative w-[46px]",children:(0,s.jsx)("img",{src:Ql,className:"bottom-0 h-[60px] w-[46px]",alt:"penguin avatar"})}),(0,s.jsxs)("div",{className:"mt-2 ltr:ml-6 rtl:mr-6",children:[(0,s.jsx)("div",{className:"mb-1 text-base font-bold",children:g.t["SAMSUNG-HEALTH_SLEEP_COACHING-CARD-TITLE"]}),(0,s.jsx)("div",{className:"text-sm text-primary-gray-260",children:g.t["SAMSUNG-HEALTH_SLEEP_COACHING-CARD-SUBTITLE"]})]})]})})},ql="/_next/static/media/achievement-badge-sleep-record.f15cd559.png",Jl="/_next/static/media/achievement-badge-coaching.528ef57b.png",$l=function(){return(0,s.jsxs)(Pl,{children:[(0,s.jsx)(Ol,{title:g.t["@PARADIGM_HEALTH_SLEEP_ACHIEVEMENT_CARD_TITLE"]}),(0,s.jsxs)("div",{className:"flex flex-row items-center justify-center gap-4 pt-2",children:[(0,s.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center gap-2 text-center",children:[(0,s.jsx)("img",{src:ql,className:"h-28 w-28",alt:"Sleep Record"}),(0,s.jsx)("p",{className:"text-[13px]",children:g.t["@PARADIGM_HEALTH_SLEEP_ACHIEVEMENT_CARD_SLEEP_RECORD_ACHIEVEMENT"]})]}),(0,s.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center gap-2 text-center",children:[(0,s.jsx)("img",{src:Jl,className:"h-28 w-28",alt:"Sleep Coaching"}),(0,s.jsx)("p",{className:"text-[13px]",children:g.t["@PARADIGM_HEALTH_SLEEP_ACHIEVEMENT_CARD_COACHING_ACHIEVEMENT"]})]})]})]})},ec="/_next/static/media/related-1.9f651aaf.png",tc="/_next/static/media/related-2.1b26d58b.png",ac="/_next/static/media/related-3.f1ba2b76.png",sc="/_next/static/media/related-4.c1969106.png",ic=H()(Object.values({se:"se:whitespace-pre-line"}));function nc(e){var t=e.children;return(0,s.jsx)("div",{className:H()("mt-2 text-[13px] leading-4",ic),children:t})}function rc(e){var t=e.children;return(0,s.jsx)("div",{className:"text-[11px] text-primary-gray-360",children:t})}var lc=function(){return(0,s.jsxs)("div",{className:"relative mb-6 w-full rounded-3xl bg-primary-white-150 pt-6 text-start",children:[(0,s.jsx)("div",{className:"flex w-full items-center justify-start",children:(0,s.jsx)("div",{className:"px-6 text-base font-semibold",children:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_TITLE"]})}),(0,s.jsxs)("div",{className:"flex w-full gap-3 overflow-x-auto py-4 px-6",children:[(0,s.jsx)("div",{className:"w-24 shrink-0",children:(0,s.jsx)(ht,{title:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_1_POPUP_TITLE"],text:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_1_POPUP_TEXT"],cta:{text:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_1_POPUP_CTA"]},children:(0,s.jsx)(ie,{path:"/app/health/sleep-tracking/related-content/item-1",page:M.dC.Health,children:(0,s.jsxs)("div",{className:"w-24",children:[(0,s.jsx)("img",{"data-loader":"image","data-src":ec,className:"w-24",src:ec,alt:""}),(0,s.jsx)(nc,{children:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_1_TITLE"]}),(0,s.jsx)(rc,{children:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_1_SUBTITLE"]})]})})})}),(0,s.jsx)("div",{className:"w-24 shrink-0",children:(0,s.jsx)(ht,{title:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_1_POPUP_TITLE"],text:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_1_POPUP_TEXT"],cta:{text:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_1_POPUP_CTA"]},children:(0,s.jsx)(ie,{path:"/app/health/sleep-tracking/related-content/item-2",page:M.dC.Health,children:(0,s.jsxs)("div",{className:"w-24",children:[(0,s.jsx)("img",{"data-loader":"image","data-src":tc,className:"w-24",src:tc,alt:""}),(0,s.jsx)(nc,{children:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_2_TITLE"]}),(0,s.jsx)(rc,{children:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_2_SUBTITLE"]})]})})})}),(0,s.jsx)("div",{className:"w-24 shrink-0",children:(0,s.jsx)(ht,{title:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_1_POPUP_TITLE"],text:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_1_POPUP_TEXT"],cta:{text:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_1_POPUP_CTA"]},children:(0,s.jsx)(ie,{path:"/app/health/sleep-tracking/related-content/item-3",page:M.dC.Health,children:(0,s.jsxs)("div",{className:"w-24",children:[(0,s.jsx)("img",{"data-loader":"image","data-src":ac,className:"w-24",src:ac,alt:""}),(0,s.jsx)(nc,{children:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_3_TITLE"]}),(0,s.jsx)(rc,{children:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_3_SUBTITLE"]})]})})})}),(0,s.jsx)("div",{className:"w-24 shrink-0",children:(0,s.jsx)(ht,{title:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_1_POPUP_TITLE"],text:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_1_POPUP_TEXT"],cta:{text:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_1_POPUP_CTA"]},children:(0,s.jsx)(ie,{path:"/app/health/sleep-tracking/related-content/item-4",page:M.dC.Health,children:(0,s.jsxs)("div",{className:"w-24",children:[(0,s.jsx)("img",{"data-loader":"image","data-src":sc,className:"w-24",src:sc,alt:""}),(0,s.jsx)(nc,{children:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_4_TITLE"]}),(0,s.jsx)(rc,{children:g.t["@PARADIGM_HEALTH_SLEEP_RELATED_CONTENT_RELATED_ITEM_4_SUBTITLE"]})]})})})})]})]})},cc=H()(Object.values({gr:"gr:foldCover:text-sm gr:smFlip:text-sm gr:flip:text-sm"})),oc=function(e){var t=e.appHealthWrapperRef,a=(0,i.useContext)(br),n=a.screen,r=a.index,l=a.setScreen,c=(0,P.qr)(),o=c.pushBackButtonStack,d=c.popBackButtonStack,u=c.colourPaletteIndex,p=(0,i.useRef)(null),x=(0,i.useRef)([]),f=(0,i.useRef)(null),m=(0,i.useRef)(null),h=(0,i.useCallback)((function(){var e=x.current[r],a=t.current,s=p.current;I.ZP.killTweensOf([a,e,s]),I.ZP.fromTo(a,{y:0},{y:-50,duration:.4,ease:"power3.out"}),I.ZP.fromTo(e,{display:"block",y:100},{y:0,duration:.4,ease:"power3.out"}),I.ZP.fromTo(s,{display:"block",pointerEvents:"auto",opacity:0},{opacity:1,duration:.4,ease:"power3.out"}),e.scrollTo({top:0}),o(m)}),[t,o,m,r]),A=(0,i.useCallback)((function(){var e=t.current,a=p.current,s=x.current[r];I.ZP.killTweensOf([e,s,a]),I.ZP.to(e,{y:0,duration:.4,ease:"power3.inOut"}),I.ZP.to(s,{y:100,duration:.4,ease:"power3.inOut"}),I.ZP.to(a,{opacity:0,duration:.4,ease:"power3.inOut",onComplete:function(){I.ZP.set(x.current,{display:"none"}),I.ZP.set(a,{display:"none",pointerEvents:"none"})}}),l("Home"),d()}),[t,r,d,l]);return(0,i.useEffect)((function(){"Sleep"===n.current&&"Sleep"!==n.prev&&h()}),[h,n]),(0,i.useEffect)((function(){m.current=A}),[A]),(0,s.jsxs)("div",{className:"gpu absolute inset-0 z-30 overflow-hidden text-center","data-component":"app-health-sleep-tracking",style:{pointerEvents:"none",display:"none"},ref:p,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-102"}),(0,s.jsx)("div",{className:"absolute inset-0","data-colour":u,children:(0,s.jsx)("div",{className:"absolute inset-0","data-ref":"app-health-sleep-tracking-wrapper",children:(0,s.jsxs)("div",{className:"absolute inset-0",children:[(0,s.jsx)("div",{className:"absolute inset-0"}),(0,s.jsxs)("div",{className:"gpu absolute inset-0 overflow-y-auto",style:{bottom:80,display:"none"},"data-ref":"app-health-sleep-tracking-item",ref:function(e){e&&!x.current.includes(e)&&x.current.push(e)},children:[(0,s.jsx)("div",{className:"sticky top-0 z-20 bg-primary-gray-102 py-2 pb-3 pt-10",children:(0,s.jsx)("div",{className:"relative px-6 py-2",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center",children:[(0,s.jsx)("div",{className:"flex items-center ltr:mr-2 rtl:ml-2",children:(0,s.jsx)("button",{"data-ref":"app-health-sleep-tracking-button-close",className:"rtl:-scale-x-100 rtl:transform",style:{width:30,height:40},ref:f,onClick:function(){A()},children:(0,s.jsx)(Yr,{})})}),(0,s.jsx)("div",{className:"text-2xl",children:(0,s.jsx)("div",{className:"flex-no-wrap flex items-center justify-start font-semibold leading-none",children:(0,s.jsx)("div",{children:g.t["SAMSUNG-HEALTH_HOME-SCREEN_SLEEP-TITLE"]})})})]}),(0,s.jsxs)("div",{className:"flex-no-wrap flex gap-2",children:[(0,s.jsx)("button",{className:"flex items-center justify-center text-center",style:{width:30,height:30},children:(0,s.jsx)(Ur,{})}),(0,s.jsx)("button",{className:"flex items-center justify-center text-center",style:{width:30,height:30},children:(0,s.jsx)(Br,{})}),(0,s.jsx)("button",{className:"flex items-center justify-center text-center",style:{width:30,height:30},children:(0,s.jsx)(Gr,{})})]})]})})}),(0,s.jsxs)(fl,{className:"overflow-hidden",children:[(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)(ie,{path:"/app/health/home/sleep-tracking/sleep-activity",page:M.dC.Health,children:(0,s.jsx)(bl,{className:"backface px-0 py-0",foregroundContent:(0,s.jsx)("div",{className:"relative px-4 text-center font-medium xs:px-4",children:g.t["SAMSUNG-HEALTH_SLEEP_ATHLETES-FLIP-SCREEN-TEXT"]}),children:(0,s.jsx)("div",{className:"-mx-4 w-[calc(100%+20px)]",children:(0,s.jsx)(yl,{"data-loader":"image",src:"health/sleep-tracking/sleep-hours.png?version=".concat(M.K0),alt:""})})})})}),(0,s.jsx)(Hl,{}),(0,s.jsx)(Gl,{}),(0,s.jsx)(Wl,{}),(0,s.jsx)("div",{className:"flex w-full justify-end px-5 text-sm text-primary-gray-260",children:g.t["SAMSUNG-HEALTH_SLEEP_DATA-FROM-WATCH6-TEXT"]}),(0,s.jsx)(Kl,{}),(0,s.jsx)($l,{}),(0,s.jsx)(zl,{}),z.e.isHealthAppRelatedContentEnabled&&(0,s.jsx)(lc,{}),(0,s.jsx)("div",{className:"flex w-full justify-center px-6",children:(0,s.jsx)("div",{className:"w-fit",children:(0,s.jsx)("div",{className:H()("grid min-h-[44px] items-center rounded-3xl bg-primary-gray-145 py-2 px-11 text-center font-semibold text-dark it:whitespace-pre",cc),children:g.t["SAMSUNG-HEALTH_SLEEP_ADD-SLEEP-RECORD"]})})})]})]})]})})})]})},dc="/_next/static/media/fat-graph.c37af52e.svg",uc="/_next/static/media/fat.2d1cd109.svg",pc="/_next/static/media/mass-graph.2dac6e4d.svg",xc="/_next/static/media/mass.7f6d0c28.svg",fc="/_next/static/media/weight-graph.4678b99b.svg",mc="/_next/static/media/weight.3956b80e.svg",hc=function(e){var t=e.onClick;return(0,s.jsx)(ie,{path:"/app/health/home/body-composition",page:M.dC.Health,children:(0,s.jsx)(bl,{onClick:t,foregroundContent:"",children:(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsxs)("div",{className:"my-1.5 flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("img",{src:mc,className:"h-[28px] w-[28px] ltr:mr-2 rtl:ml-2",alt:"weight icon"}),(0,s.jsxs)("div",{className:"text-xl font-semibold",children:[(0,g.H3)(Gt.dataPoints[7],1),(0,s.jsxs)("span",{className:"text-base font-thin text-primary-gray-260",children:["\xa0",g.t["SAMSUNG-HEALTH_HOME-SCREEN_WEIGHT-UNIT"]]})]})]}),(0,s.jsx)("img",{src:fc,className:"h-[6px] w-[110px]",alt:"weight graph"})]}),(0,s.jsxs)("div",{className:"my-1.5 flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("img",{src:xc,className:"h-[28px] w-[28px] ltr:mr-2 rtl:ml-2",alt:"mass icon"}),(0,s.jsxs)("div",{className:"text-xl font-semibold",children:[(0,g.H3)(kt.dataPoints[7],1),(0,s.jsxs)("span",{className:"text-base font-thin text-primary-gray-260",children:["\xa0",g.t["SAMSUNG-HEALTH_HOME-SCREEN_WEIGHT-UNIT"]]})]})]}),(0,s.jsx)("img",{src:pc,className:"h-[6px] w-[110px]",alt:"mass graph"})]}),(0,s.jsxs)("div",{className:"my-1.5 flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("img",{src:uc,className:"h-[28px] w-[28px] ltr:mr-2 rtl:ml-2",alt:"fat icon"}),(0,s.jsxs)("div",{className:"text-xl font-semibold",children:[(0,g.H3)(Ht.dataPoints[7],1),(0,s.jsx)("span",{className:"text-base font-thin text-primary-gray-260",children:"\xa0%"})]})]}),(0,s.jsx)("img",{src:dc,className:"h-[6px] w-[110px]",alt:"fat graph"})]})]})})})},Ac=H()(Object.values({cn:"cn:whitespace-pre-line"})),Ec=function(e){var t=e.introComplete,a=e.setIntroComplete,n=e.switchedView,r=e.onClick,l=(0,i.useContext)(br).screen,c=(0,P.qr)().appName,o=(0,i.useRef)(null),d=(0,i.useRef)(null),u=(0,i.useRef)(null);return(0,i.useEffect)((function(){var e={value:Zt},s={value:Yt},i={value:Ft};return"Home"===l.current&&"health"===c&&(t||n?(o.current&&(o.current.innerHTML=(0,g.H3)(e.value)),d.current&&(d.current.innerHTML=(0,g.H3)(s.value)),u.current&&(u.current.innerHTML=(0,g.H3)(i.value))):(I.ZP.fromTo(e,{value:0},{value:Zt,duration:2,delay:.4,onUpdate:function(){o.current&&(o.current.innerHTML=(0,g.H3)(e.value))}}),I.ZP.fromTo(s,{value:0},{value:Yt,duration:2,delay:.4,onUpdate:function(){d.current&&(d.current.innerHTML=(0,g.H3)(s.value))}}),I.ZP.fromTo(i,{value:0},{value:Ft,duration:2,delay:.4,onUpdate:function(){u.current&&(u.current.innerHTML=(0,g.H3)(i.value))},onComplete:function(){a(!0)}}))),function(){I.ZP.killTweensOf([e,s,i])}}),[c,l,t,a]),(0,s.jsx)(ie,{path:"/app/health/home/daily-activity",page:M.dC.Health,children:(0,s.jsx)(bl,{foregroundContent:(0,s.jsx)("div",{className:H()("relative px-4 text-center font-medium xs:px-4",Ac),children:g.t["SAMSUNG-HEALTH_HOME-SCREEN_TRACK-DATA-FLIP-SCREEN-TEXT"]}),onClick:z.e.isHealthAppDailyActivityEnabled?r:void 0,children:(0,s.jsxs)("div",{className:"relative flex w-full flex-nowrap items-center justify-end",children:[(0,s.jsxs)("div",{className:"relative flex-1 text-xl",children:[(0,s.jsxs)("div",{className:"my-2 flex items-start",children:[(0,s.jsx)("img",{src:Lt,className:"w-[28px] ltr:mr-3 rtl:ml-3",alt:"steps icon"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{ref:o,className:"font-semibold",children:0}),(0,s.jsxs)("span",{className:"text-base font-normal text-primary-gray-260",children:[" ",g.t["SAMSUNG-HEALTH_HOME-SCREEN_DAILY-ACTIVITY_STEPS"]]})]})]}),(0,s.jsxs)("div",{className:"my-2 flex items-start",children:[(0,s.jsx)("img",{src:It,className:"w-[28px] ltr:mr-3 rtl:ml-3",alt:"time icon"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{ref:d,className:"font-semibold",children:0})," ",(0,s.jsxs)("span",{className:"text-base font-normal text-primary-gray-260",children:[" ",g.t["SAMSUNG-HEALTH_HOME-SCREEN_DAILY-ACTIVITY_MIN"]]})]})]}),(0,s.jsxs)("div",{className:"my-2 flex items-start",children:[(0,s.jsx)("img",{src:Pt,className:"w-[28px] ltr:mr-3 rtl:ml-3",alt:"flame icon"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{ref:u,className:"font-semibold",children:0})," ",(0,s.jsxs)("span",{className:"text-base font-normal text-primary-gray-260",children:[" ",g.t["SAMSUNG-HEALTH_HOME-SCREEN_DAILY-ACTIVITY_CAL-UNIT"]]})]})]})]}),(0,s.jsxs)("div",{children:["Home"===l.current&&"health"===c&&!n&&(0,s.jsx)(Re.Z,{path:"/assets/lotties/health/heart-graph.json",height:94,width:104,delay:.4}),n&&(0,s.jsx)("img",{src:Ot,className:"w-[90px]",alt:""})]})]})})})},gc="/_next/static/media/excercise-icon-walk.73e1ade7.png",vc="/_next/static/media/excercise-icon-run.0d8a32f8.png",Cc="/_next/static/media/excercise-icon-bike.66d480c9.png",jc="/_next/static/media/excercise-icon-more.b833865b.png",Nc=H()(Object.values({gr:"gr:text-xs gr:foldCover:text-[10.5px]",th:"th:whitespace-nowrap"}));function Tc(e){var t=e.children;return(0,s.jsx)("div",{className:H()("flex w-[60px] justify-center",Nc),children:t})}var wc=function(){return(0,s.jsx)(ie,{path:"/app/health/home/exercise",page:M.dC.Health,children:(0,s.jsx)(bl,{foregroundContent:(0,s.jsx)("div",{className:"relative px-4 text-center font-medium xs:px-10",children:g.t["SAMSUNG-HEALTH_HOME-SCREEN_EXERCISE-FLIP-SCREEN-TEXT"]}),children:(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsxs)("div",{className:"flex justify-around text-sm text-primary-gray-280",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("img",{className:"mb-1 w-[60px]",src:gc,alt:"walk icon"}),(0,s.jsx)(Tc,{children:g.t["SAMSUNG-HEALTH_HOME-SCREEN_EXCERCISE-WALKING"]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("img",{className:"mb-1 w-[60px]",src:vc,alt:"run icon"}),(0,s.jsx)(Tc,{children:g.t["SAMSUNG-HEALTH_HOME-SCREEN_EXCERCISE-RUNNING"]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("img",{className:"mb-1 w-[60px]",src:Cc,alt:"bike icon"}),(0,s.jsx)(Tc,{children:g.t["SAMSUNG-HEALTH_HOME-SCREEN_EXCERCISE-CYCLING"]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("img",{className:"mb-1 w-[60px]",src:jc,alt:"more icon"}),(0,s.jsx)(Tc,{children:g.t["SAMSUNG-HEALTH_HOME-SCREEN_EXCERCISE-MORE"]})]})]})})})})},_c="/_next/static/media/icon-plus.1a447528.svg",bc={food:"/_next/static/media/food-icon.fb92243c.svg",water:"/_next/static/media/water-icon.b4a3e210.svg","blood-pressure":"/_next/static/media/blood-pressure-icon.359802f3.svg","blood-sugar":"/_next/static/media/blood-sugar-icon.5fe309ea.svg"},Sc={food:"/_next/static/media/food-graph.74b74e6f.svg",water:"/_next/static/media/water-graph.b1c090f3.svg","blood-pressure":"/_next/static/media/blood-pressure-graph.9ffa8776.svg","blood-sugar":"/_next/static/media/blood-sugar-graph.e6fd68d5.svg"},yc={food:"food",water:"water","blood-pressure":"blood-pressure","blood-sugar":"blood-sugar"},Rc=function(e){var t=e.flipText,a=e.type,i=e.numerator,n=e.denominator,r=e.unit,l=e.buttonCTA,c=e.buttonIcon,o=void 0!==c&&c,d=e.graphClass,u=void 0===d?"":d,p=e.component,x=e.denominatorClassName,f=bc[a],m=Sc[a],h=yc[a];return(0,s.jsx)(ie,{path:"/app/health/home/".concat(h),page:M.dC.Health,children:(0,s.jsx)(bl,{foregroundContent:(0,s.jsx)("div",{className:"relative px-4 text-center font-medium xs:px-10",children:t}),children:(0,s.jsxs)("div",{className:"relative flex w-full flex-row gap-2.5",children:[(0,s.jsxs)("div",{className:"flex w-3/5 flex-col gap-3",children:[(0,s.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[(0,s.jsx)("img",{src:f,className:"h-[28px] w-[28px]",alt:""}),(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)("span",{className:"text-xl font-semibold",children:i}),(0,s.jsxs)("span",{className:H()("font-normal text-primary-gray-260",x),children:[" ",n," ",r&&r]})]})]}),(0,s.jsx)("div",{children:(0,s.jsxs)("button",{className:"border-gray-150 w-content flex items-center justify-around rounded-full border ".concat(o?"px-8":"px-10"," py-2.5 text-[13px] font-normal text-black"),children:[o&&(0,s.jsx)("img",{src:_c,className:"ltr:mr-2 rtl:ml-2",alt:""})," ",l]})})]}),(0,s.jsx)("div",{className:"flex w-2/5",children:(0,s.jsx)("div",{className:"relative flex h-full w-full items-center justify-end",children:p||(0,s.jsx)("img",{src:m,className:"".concat(u),alt:"graph"})})})]})})})},Lc={"heart-rate":"/_next/static/media/heart-rate-icon.0e3b5715.svg",stress:"/_next/static/media/stress-icon.47f0c804.svg",period:"/_next/static/media/period-icon.a2abf68d.svg",workout:"/_next/static/media/workout-icon.7383c2e9.svg","blood-oxygen":"/_next/static/media/blood-oxygen-icon.59bbface.svg","AGEs-index":"/_next/static/media/ages-index-icon.4aeda102.svg"},Ic={"heart-rate":"/_next/static/media/heart-rate-graph.bc637472.svg",stress:"/_next/static/media/stress-graph.839b3531.svg",period:"/_next/static/media/period-graph.3b573861.svg",workout:"","blood-oxygen":"/_next/static/media/blood-oxygen-graph.8ef77827.svg","AGEs-index":"/_next/static/media/ages-index-graph.38e23205.svg"},Pc={"heart-rate":"heart-rate",stress:"stress",period:"womens-health",workout:"work-out","blood-oxygen":"blood-oxygen","AGEs-index":"AGEs-index"},Oc={fr:"fr:xsm:text-sm"},Mc={ru:"ru:smd:text-sm ru:foldCover:text-sm ru:smFlip:text-sm ru:flip:text-sm"},Dc=H()(Object.values(Oc)),Gc=H()(Object.values(Mc));function kc(e){var t=e.subtitle,a=e.isBadge,i=e.badgeClassName,n=e.subtitleClassName;return t?a?(0,s.jsx)("span",{className:H()("absolute left-full ml-1 rounded-xl bg-[#E65B17] py-px px-[7px] text-xs font-semibold text-white cn:whitespace-nowrap jp:min-w-max ltr:left-full ltr:ml-1 rtl:right-full rtl:mr-1 rtl:pl-[50px]",i),children:t}):(0,s.jsx)("span",{className:H()("flip:text-md text-base font-normal text-primary-gray-260",n,Dc),children:t}):null}var Hc=function(e){var t=e.flipText,a=e.type,i=e.title,n=e.subtitle,r=e.subtext,l=e.subtitleBadge,c=void 0!==l&&l,o=e.graphClass,d=void 0===o?"":o,u=e.badgeClassName,p=e.subtitleClassName,x=Lc[a],f=Ic[a],m=Pc[a];return(0,s.jsx)(ie,{path:"/app/health/home/".concat(m),page:M.dC.Health,children:(0,s.jsx)(bl,{foregroundContent:(0,s.jsx)("div",{className:"relative px-4 text-center font-medium xs:px-10",children:t}),children:(0,s.jsxs)("div",{className:"relative flex w-full flex-row gap-2.5",children:[(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[(0,s.jsx)("img",{src:x,className:"h-[28px] w-[28px]",alt:""}),(0,s.jsxs)("div",{className:"relative flex items-center gap-1",children:[(0,s.jsx)("span",{className:H()("text-xl font-semibold",Gc),children:i}),(0,s.jsx)(kc,{subtitleClassName:p,subtitle:n,isBadge:c,badgeClassName:u})]})]}),r&&(0,s.jsx)("div",{className:"w-full text-xs text-primary-gray-260",children:r})]}),(0,s.jsx)("div",{className:"flex flex-1",children:(0,s.jsx)("div",{className:"relative flex h-full w-full items-center justify-end",children:(0,s.jsx)("img",{src:f,className:"".concat(d),alt:""})})})]})})})},Bc="/_next/static/media/sleep-coaching-cropped.ac807944.png",Uc=function(e){var t=e.text;return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"flex h-fit w-fit items-center rounded-3xl bg-primary-purple-700 px-3 py-1 text-sm font-semibold text-primary-purple-250",children:[(0,s.jsx)("div",{className:"relative flex items-center",children:(0,s.jsx)("div",{className:"absolute rotate-45 rounded-sm border-[5px] border-solid border-primary-purple-700 ltr:-left-3.5 rtl:-right-3.5"})}),t]})})};var Zc=function(){return(0,s.jsx)(ie,{path:"/app/health/home/sleep-coaching",page:M.dC.Health,children:(0,s.jsx)(bl,{foregroundContent:(0,s.jsx)("div",{className:"relative text-center iframe:foldCover:px-8",children:g.t["SAMSUNG-HEALTH_HOME-SCREEN_SLEEP-COACHING-FLIP-TEXT"]}),className:"backface relative flex w-full items-center justify-between bg-primary-white-150 pt-2",children:(0,s.jsxs)("div",{className:"relative flex w-full items-center",children:[(0,s.jsx)("img",{src:Bc,className:"absolute bottom-0 max-h-full max-w-full scale-x-[-1] object-contain ltr:rounded-br-3xl rtl:rounded-bl-3xl",alt:"avatar of a penguin"}),(0,s.jsxs)("div",{className:"self-end py-6 ltr:ml-24 rtl:mr-24",children:[(0,s.jsx)(Uc,{text:g.t["SAMSUNG-HEALTH_HOME-SCREEN_SLEEP-COACHING-SPEECH-BUBBLE"]}),(0,s.jsx)("div",{className:"mt-2 text-xs text-primary-gray-260 ltr:pr-5 rtl:pl-5",children:g.t["SAMSUNG-HEALTH_HOME-SCREEN_SLEEP-COACHING-SUBTEXT"]})]})]})})})},Yc="/_next/static/media/sleep-icon-bed-alarm.25effcb2.svg",Fc="/_next/static/media/sleep-icon-alarm.3aed0eda.svg",Vc="/_next/static/media/sleep-icon-bed.c5e5c3e3.svg",Wc=H()(Object.values({gr:"gr:!mr-0 gr:text-xs gr:foldCover:text-[10.5px]",th:"th:!mr-0 th:text-xs th:foldCover:text-[10.5px]"})),Xc=new Date(2023,12,1,23,23),Kc=new Date(2023,12,1,8,0),Qc=function(e){var t=e.onClick,a=g.t.getLanguage();return(0,s.jsx)(ie,{path:"/app/health/home/sleep-tracking",page:M.dC.Health,children:(0,s.jsx)(bl,{onClick:t,foregroundContent:"",children:(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"mb-2 flex items-center text-4xl",children:[(0,s.jsx)("div",{className:"font-semibold ltr:mr-2.5 rtl:ml-2.5",children:g.t["@PARADIGM_HEALTH_SLEEP_SCORE_CARD_SCORE_NUMBER"]}),(0,s.jsx)(Uc,{text:g.t["SAMSUNG-HEALTH_HOME-SCREEN_SLEEP-SCORE-SPEECH-BUBBLE"]})]}),(0,s.jsx)("div",{className:"text-base text-primary-gray-260",children:g.t["SAMSUNG-HEALTH_HOME-SCREEN_SLEEP-SCORE-TITLE"]})]}),(0,s.jsxs)("div",{className:H()("text-sm tabular-nums text-primary-gray-260",Wc),children:[(0,s.jsxs)("div",{className:"mb-1.5 flex items-center font-semibold",children:[(0,s.jsx)("img",{src:Vc,className:"w-[28px] ltr:mr-2 rtl:ml-2",alt:"bed icon"}),"gr"===a?"11:23 PM":(0,g.RA)(Xc,{hour:"2-digit",minute:"numeric"})]}),(0,s.jsxs)("div",{className:"mb-1.5 flex items-center font-semibold",children:[(0,s.jsx)("img",{src:Fc,className:"w-[28px] ltr:mr-2 rtl:ml-2",alt:"alarm icon"}),"gr"===a?"08:00 AM":(0,g.RA)(Kc,{hour:"2-digit",minute:"numeric"})]}),(0,s.jsxs)("div",{className:"flex items-center font-semibold",children:[(0,s.jsx)("img",{src:Yc,className:"w-[28px] ltr:mr-2 rtl:ml-2",alt:"bed icon"}),g.t["@PARADIGM_HEALTH_HOME_CARD_SLEEP_SCORE_TOTAL"]]})]})]})})})})},zc="/_next/static/media/steps-graph.e28f8fa2.svg",qc=function(e){var t=e.introComplete,a=e.switchedView,n=(0,i.useContext)(br).screen,r=(0,P.qr)().appName,l=(0,i.useRef)(null);return(0,i.useEffect)((function(){var e={value:Zt};return"Home"===n.current&&"health"===r&&(t||a?l.current&&(l.current.innerHTML=(0,g.H3)(e.value)):I.ZP.fromTo(e,{value:0},{value:Zt,duration:2,delay:.4,onUpdate:function(){l.current&&(l.current.innerHTML=(0,g.H3)(e.value))}})),function(){I.ZP.killTweensOf(e)}}),[r,n,t]),(0,s.jsx)(ie,{path:"/app/health/home/steps",page:M.dC.Health,children:(0,s.jsx)(bl,{foregroundContent:(0,s.jsx)("div",{className:"relative px-4 text-center font-medium xs:px-10",children:g.t["SAMSUNG-HEALTH_HOME-SCREEN_STEPS-FLIP-SCREEN-TEXT"]}),children:(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"relative w-full text-sm",children:(0,s.jsxs)("div",{className:"relative flex w-full items-center justify-between",children:[(0,s.jsx)("div",{className:"min-w-[120px]",children:(0,s.jsx)("div",{className:"relative my-2 flex w-full items-end justify-between leading-normal",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-[38px] font-semibold",ref:l,children:g.t["SAMSUNG-HEALTH_HOME-SCREEN_STEPS-FRACTION-NUMBER-1"]}),(0,s.jsxs)("div",{className:"text-base font-normal text-primary-gray-260",children:[g.t["SAMSUNG-HEALTH_HOME-SCREEN_STEPS-FRACTION-NUMBER-2"]," ",g.t["SAMSUNG-HEALTH_HOME-SCREEN_STEPS_UNIT"]]})]})})}),(0,s.jsx)("div",{className:"min-w-[120px]",children:(0,s.jsx)("img",{src:zc,className:"w-[110px]",alt:"graph measuring steps"})})]})})})})})},Jc={src:"/_next/static/media/badge-floors.c6f7cfe8.png",height:400,width:400,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA/klEQVR42iWNu0oDURgGv//kZJMlJiiKRFGsggZiFyx8BnsRrH2MiL6AYGmnpaWNjYigsi6LBhGFhCDWGrYwYW/n8mdDmHIGhsLuZcOtOC1OM03MVHbLdwCiJE4JAEtZlIesVUclEUQOl0q7ADwhaBYEQU9f33fxN/zPmK2jjb0AsH1zdmQfgh7J+vI8HeztIBfCKo2qU9hsb20cP3nPpxJgGr1fdebqCydgNlCakCrBcRKzMWsAQum/9vnx4xvjUWwFuACAVabwG46/2s31fcmapf/2A38wLC5W5HSFRBu3uVpzM62r1L89b7x8DlpRlCoCE+eB0QbWWqws1bwJ+vmEY+7k8vwAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},$c={src:"/_next/static/media/badge-most-steps.cb5bffc6.png",height:400,width:400,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA4ElEQVR42mNABs8Pz2WCsT+eXmx4aUOPGZjz4OA05v//djKC2P//v2a5v3PSzIMLan5XpYfYMzw7Phuu6////+wTG3K2759T8X9Je8ZdoBAzWOLc5i6nH9eXH/h/c9m5gnDn98eX1P2f25iyF273u5MzN3+9suj/6ZWNH2qSvD6eWd74f0J57AyIw47Oyrl/YPL/Y8ub/vcWhD9qzQ75d3JZw//KtEBHsILrO/rj+2qSKg4vqvu2ZVrJ/ynVCc+e7Z8UB5J7e3QqE9yatROKHXbOqsg7sayRH8TfPr0ELAkAqWRt2FWVsLQAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},eo={src:"/_next/static/media/badge-sleep.eeae009c.png",height:400,width:400,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA8klEQVR42mNYvuAOMwMQbFizQ3Xv1kfVZ05c4Qbxj+6/wcgAAyUlUzVXLXjx4/COz3Eg/q5135gYkMHEjnuH1y749RLGP7hrL+OmFf8hJqxYxSDY0/D665p5v66B+L2V/1k2rPzAAmLPX8jAzPD/PwN7U/m7+wun/Pq/bfUrR5gpc6YdS1wy77QPw+FDloqTe27erM75/3/1/O9vF0z5Wbhpze2WlYuv3+pv/s/LsGrZyqyd27b/72p+9r8s48//RbMf/t+6aff/zRs3APHGeAYQWLtqReLeXVvndTY9nrhg7rEJO3es6Fu3ZsPcLZu2uAIAmId666W4RpYAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},to={src:"/_next/static/media/badge-ten-thousand.8e1273be.png",height:400,width:400,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA8klEQVR42mP4v3U91+K9Tf0le/Krlh9qSus/X9vXf7Y2dd2pNsX///8zMPy/dol3+Zn299q7E/8HbEz8P/lc6//gywX/qy9U7QYrABErrnSfjDmX9796Y9mvI1cW/HS6kfu/8FLFMbiCVRe7N3hdyvq/aX//n3sX1vwpuVz1P+tq2RG4gu1ne2fHXS/637q79PeJg3P+FJ8r+5+BrGDZgZYtfvtT/k/b1/Bz2oaqn+1HqoFWlB5CuGF/y6L63cX/+/dW/G/bUfS/b2fZ//a9pefgCnbt6/Zacqhx7fLDTfMW76ufP2tn5aqe7aVl////ZwAA1lmrw/b6eWoAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},ao={src:"/_next/static/media/icon-challenge-group.8db4a8a5.svg",height:70,width:73},so={src:"/_next/static/media/icon-challenge-solo.66ca2b01.svg",height:70,width:73},io="/_next/static/media/profile-champion.3d6da35c.svg",no={src:"/_next/static/media/global-challenge-badge-1.63e399fd.png",height:300,width:308,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAABBklEQVR42mOY8f8/IwMQXLlxPPfozcs3jt66dP3SvVPZDCAgApFjOHt2R9aRm5f/Lz+8/f/Ww1v+b91x//+u3WfTGUDg/2EGjsv3bz6ZsHPV/9pZZb83bDn2Oyf/0f8lG68/+v+fgZ3h5bm1WtvObvq5cG3O/5krW/7v3Hjuf2r2lf+r9pz/cePpHA2GpJIO6SUbkj//Oab+//Iev39tFTP+ZZYf/N86L/vTtnVNkgwgsHF1zerz69z+z5zk8CswYfWviPzU/zElVisYYGD94m69mo7M/1ElIf+72lL/1zYk/l+6qE6bAQZ2r2w1ntCT9aS9Nel2W2vy7bamxMfT+rIMGRgYGABWTIrHE7lRVgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},ro={src:"/_next/static/media/global-challenge-badge-2.51ece0b1.png",height:300,width:300,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAABB0lEQVR42mOAgT8vjxd/f37g1oe7a88+2tu7elemiQxc8tPd3eV3zq/8//zCtP8Ptrf9399f8P/Rjp5SsOT/p3uFPj0+8L6tN/T/puVRfz6uz/9zbWnj/683Nz/7//8hD8PTqxstvl5c9n9Rr9//00vT/v+4uxMoueH/9+tr/3y8u1OPYfLsCvUHi3J/n22J+39nZfa/xzu6/71eV/X/weK0989OzpADW3N+edX2M41O/y+vqPz9dEnK34MzS/+dazX9/2tvlR1Ywf417RaL60P+T0rQ+L+mNfZ/a27Q/4uzE1r+35nKDVawb1WHbWN+6PPMMLtbCT6mtyvinZ52TaxRY2BgYAAAWBiVCGoEwPkAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},lo=function(e){var t=e.height,a=void 0===t?17:t,i=e.width,n=void 0===i?9:i;return(0,s.jsx)("svg",{width:n,height:a,viewBox:"0 0 9 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"rtl:-scale-x-100 rtl:transform",children:(0,s.jsx)("path",{d:"M8.06274 7.02265L1.13739 0.192583C0.874699 -0.0665499 0.451716 -0.0638784 0.192583 0.198816C-0.0665499 0.461511 -0.0638784 0.883604 0.198816 1.14274L7.12505 7.97369C7.18293 8.03068 7.19095 8.09747 7.19095 8.1322C7.19095 8.16693 7.18293 8.23371 7.12505 8.2907L0.198816 15.1199C-0.0638784 15.379 -0.0665499 15.8011 0.192583 16.0638C0.323485 16.1974 0.49535 16.2633 0.668105 16.2633C0.837298 16.2633 1.00649 16.1992 1.13739 16.0709L8.06274 9.24175C8.36283 8.947 8.52668 8.55251 8.52668 8.1322C8.52668 7.71099 8.36283 7.3174 8.06274 7.02265Z",fill:"#252525"})})},co={tr:"tr:mx-0",de:"de:mx-0"},oo={de:"de:px-3"},uo={tr:"tr:w-max tr:px-4"},po={ru:"ru:text-xs ru:foldCover:-right-1 ru:flip:-right-1 ru:smFlip:-right-1",vn:"vn:-right-1 vn:foldCover:-right-2.5 vn:text-sm",hu:"hu:md:right-4 hu:xsm:right-1 hu:foldCover:right-2 hu:foldCover:text-sm",de:"de:-right-1.5 de:text-sm de:foldCover:-right-3",it:"it:md:right-4 it:xsm:-right-1 it:foldCover:-right-2 it:foldCover:text-sm it:xxs:-right-1",eslatam:"eslatam:text-sm",nl:"nl:text-xs nl:-right-1 nl:foldCover:-right-2",gr:"gr:text-xs gr:!right-0 gr:px-3",lt:"lt:text-xs lt:!right-1",ca:"ca:foldCover:right-0 ca:flip:right-0 ca:smFlip:right-0",tr:"tr:foldCover:right-0 tr:flip:right-0 tr:smFlip:right-0 tr:foldCover:text-sm",fr:"fr:-right-1.5 fr:foldCover:right-0",se:"se:-right-1 se:foldCover:-right-2 se:foldCover:text-sm"},xo={hu:"hu:px-0"},fo={de:"de:pr-1"},mo={ca:"ca:whitespace-pre-line"},ho=(H()(Object.values(co)),H()(Object.values(oo)),H()(Object.values(uo)),H()(Object.values(po))),Ao=(H()(Object.values(xo)),H()(Object.values(fo))),Eo=(H()(Object.values(mo)),function(e){var t=e.title,a=e.subtitle,i=e.badge;return(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"flex w-full justify-center",children:(0,s.jsx)("img",{src:i.src,alt:"",width:"100"})}),(0,s.jsxs)("div",{className:"mt-1.5",children:[(0,s.jsx)("div",{children:t}),(0,s.jsx)("div",{className:"text-sm text-primary-gray-360",children:a})]})]})}),go=function(e){var t=e.img,a=e.label;return(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center text-center text-sm",children:[(0,s.jsx)("img",{src:t.src,alt:"",className:"w-[100px]"}),(0,s.jsxs)("div",{className:"my-1.5",children:[" ",a]})]})},vo=function(e){var t=e.screenName,a=e.name,n=e.level,r=e.xp,l=e.xpAll,c=e.xpText,o=e.profileImage,d=e.close,u=e.trackPath,p=(0,i.useContext)(br).screen,x=(0,i.useRef)(null);return(0,i.useEffect)((function(){x.current&&"ProfileMe"!==p.current&&(I.ZP.killTweensOf(x.current),I.ZP.fromTo(x.current,{width:0},{width:"".concat(r/l*100,"%"),duration:1,delay:.4,ease:"power3.out"}))}),[p]),(0,s.jsx)("div",{className:"gpu absolute inset-0 ".concat("ProfileMe"!==p.current?"z-30 hidden":""," overflow-hidden bg-primary-gray-102"),"data-screen":t,children:(0,s.jsx)("div",{className:"absolute inset-0 overflow-hidden",style:{height:"calc(100% - 75px)"},children:(0,s.jsxs)("div",{className:"scrolling-touch gpu absolute inset-0 overflow-y-auto overflow-x-hidden",children:[(0,s.jsx)("div",{className:"sticky top-0 z-20 bg-primary-gray-102 py-4 pt-[3.75rem]",children:(0,s.jsx)("div",{className:"relative px-6",children:(0,s.jsx)("div",{className:"flex-no-wrap flex items-center justify-between",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex w-full items-center gap-2",children:["ProfileMe"!==p.current&&(0,s.jsx)("button",{"data-ref":"app-health-mindfulness-button-close",className:"rtl:-scale-x-100 rtl:transform",style:{width:30,height:40},onClick:d,children:(0,s.jsx)(Yr,{})}),(0,s.jsx)("div",{className:"text-2xl font-semibold",children:g.t["SAMSUNG-HEALTH_PROFILE-ME_HEADER"]}),(0,s.jsx)("div",{className:"flex-1"}),(0,s.jsx)(ie,{path:"".concat(u,"/more-menu"),page:M.dC.Health,children:(0,s.jsx)(ht,{text:g.t["SAMSUNG-HEALTH_MORE-MENU_POP-UP-TEXT"],cta:{text:g.t["SAMSUNG-HEALTH_MORE-MENU_POP-UP-OK"]},children:(0,s.jsx)("div",{className:"flex-no-wrap flex gap-2",children:(0,s.jsx)("button",{className:"flex items-center justify-center text-center",style:{width:30,height:30},children:(0,s.jsx)(Gr,{})})})})})]})})})}),(0,s.jsxs)(fl,{className:"mt-12 ".concat("ProfileMe"===p.current?"mb-20":""),children:[(0,s.jsxs)("div",{className:"rounded-3xl bg-primary-white-150 p-6 pt-px text-center",children:[(0,s.jsxs)("div",{className:"relative flex items-center justify-center text-primary-orange-200",children:[(0,s.jsx)("img",{src:null===o||void 0===o?void 0:o.src,alt:"",className:"mx-auto -mt-12 mb-3 block rounded-full border-2 border-none",style:{width:96}}),(0,s.jsx)("div",{className:"absolute translate-x-[32px] translate-y-[10px]",children:(0,s.jsx)("img",{src:io,alt:""})}),(0,s.jsx)("div",{className:H()("absolute right-3 inline-block rounded-full bg-primary-gray-100 px-4 py-1 text-black",ho),children:g.t["SAMSUNG-HEALTH_POP-UP-MY-PAGE_EDIT"]})]}),(0,s.jsx)("div",{className:"mb-1 text-xl font-medium",children:a}),(0,s.jsxs)("div",{className:"mb-3 text-xs text-primary-gray-400",children:[n," ",(0,s.jsx)("span",{className:"mx-1 text-[#E4E4E7]",children:"|"})," ",g.t["SAMSUNG-HEALTH_EMMA-PROFILE_XP"]," ",c," ",(0,s.jsx)("span",{className:"relative -top-px",children:(0,s.jsx)(Zr,{className:"inline-block h-auto w-4"})})]}),(0,s.jsx)("div",{className:"mx-auto mb-6 h-2.5 w-48 flex-1 rounded-full bg-primary-gray-100",children:(0,s.jsx)("div",{className:"h-full bg-[#10CF6E] ltr:rounded-l-full rtl:rounded-r-full",style:{width:"".concat(r/l*100,"%")},ref:x})}),(0,s.jsxs)("div",{className:"mx-8 flex gap-4 text-sm",children:[(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)(ht,{className:"h-full",title:g.t["SAMSUNG-HEALTH_FRIENDS_POP-UP-TITLE"],text:g.t["SAMSUNG-HEALTH_FRIENDS_POP-UP-TEXT"],cta:{text:g.t["@PARADIGM_HEALTH_PROFILE_FRIENDS_POPUP_CTA"]},children:(0,s.jsx)(ie,{className:"h-full",path:"".concat(u,"/friends"),page:M.dC.Health,children:(0,s.jsxs)("button",{className:"h-full w-full rounded-full border-[1px] border-primary-gray-100 bg-white py-2 font-medium",children:[(0,s.jsx)("span",{className:"text-primary-gray-360",children:"134"})," ",g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_FRIENDS"]]})})})}),(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)(ht,{title:g.t["SAMSUNG-HEALTH_QR-CODE_POP-UP-TITLE"],text:g.t["SAMSUNG-HEALTH_QR-CODE_POP-UP-TEXT"],cta:{text:g.t["@PARADIGM_HEALTH_PROFILE_QR_CODE_POPUP_CTA"]},children:(0,s.jsx)(ie,{path:"".concat(u,"/qr-code"),page:M.dC.Health,children:(0,s.jsx)("button",{className:"w-full rounded-full border-[1px] border-primary-gray-100 bg-white py-2 font-medium",children:g.t["SAMSUNG-HEALTH_JULES-PROFILE_FRIENDS-CTA"]})})})})]})]}),(0,s.jsxs)("div",{className:"rounded-3xl bg-primary-white-150 p-6",children:[(0,s.jsxs)("div",{className:"mb-4 flex items-center justify-between font-semibold",children:[g.t["SAMSUNG-HEALTH_PROFILE_BADGES-TITLE"]," ",(0,s.jsx)(lo,{})]}),(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)(Eo,{badge:to,title:g.t["SAMSUNG-HEALTH_PROFILE_BADGES-TEN-THOUSAND-TITLE"],subtitle:g.t["SAMSUNG-HEALTH_PROFILE_BADGES-TEN-THOUSAND-DATE"]})}),(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)(Eo,{badge:eo,title:g.t["SAMSUNG-HEALTH_PROFILE_BADGES-SLEEP-TITLE"],subtitle:g.t["SAMSUNG-HEALTH_PROFILE_BADGES-SLEEP-DATE"]})})]})]}),(0,s.jsxs)("div",{className:"rounded-3xl bg-primary-white-150 p-6",children:[(0,s.jsxs)("div",{className:"mb-4 flex items-center justify-between font-semibold",children:[g.t["SAMSUNG-HEALTH_PROFILE_BADGES-PERSONAL-BEST"],(0,s.jsx)(lo,{})]}),(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)(Eo,{badge:$c,title:g.t["SAMSUNG-HEALTH_PROFILE_BADGES-MOST-STEPS-NUMBER"],subtitle:g.t["SAMSUNG-HEALTH_PROFILE_BADGES-MOST-STEPS-SUBTITLE"]})}),(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)(Eo,{badge:Jc,title:g.t["SAMSUNG-HEALTH_PROFILE_BADGES-MOST-FLOORS-NUMBER"],subtitle:g.t["SAMSUNG-HEALTH_PROFILE_BADGES-MOST-FLOORS-SUBTITLE"]})})]})]}),(0,s.jsxs)("div",{className:"rounded-3xl bg-primary-white-150 p-6",children:[(0,s.jsx)("div",{className:"mb-4 font-semibold",children:g.t["SAMSUNG-HEALTH_PROFILE_CHALLENGES-TITLE"]}),(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)(Eo,{badge:so,title:"12 ".concat(g.t["SAMSUNG-HEALTH_TOGETHER_WINS"]),subtitle:g.t["SAMSUNG-HEALTH_JULES-PROFILE_GET-THERE-FIRST-CHALLENGES"]})}),(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)(Eo,{badge:ao,title:"39 ".concat(g.t["SAMSUNG-HEALTH_TOGETHER_WINS"]),subtitle:g.t["SAMSUNG-HEALTH_JULES-PROFILE_GET-THERE-FIRST_INDIVIDUAL-CHALLENGES"]})})]})]}),(0,s.jsx)("div",{className:"rounded-3xl bg-primary-white-150 p-6",children:(0,s.jsx)(ie,{path:"".concat(u,"/going-global"),page:M.dC.Health,children:(0,s.jsxs)(ht,{title:g.t["SAMSUNG-HEALTH_GLOBAL-CHALLENGE_POP-UP-TITLE"],text:g.t["SAMSUNG-HEALTH_GLOBAL-CHALLENGE_POP-UP-TEXT"],cta:{text:g.t["SAMSUNG-HEALTH_GLOBAL-CHALLENGE_POP-UP-OK"]},children:[(0,s.jsxs)("div",{className:"mb-3 flex items-center justify-between",children:[(0,s.jsx)("div",{className:"font-semibold",children:g.t["SAMSUNG-HEALTH_JULES-PROFILE_GLOBAL-CHALLENGE"]}),(0,s.jsx)("button",{children:(0,s.jsx)(lo,{})})]}),(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)(go,{img:no,label:g.t["@PARADIGM_HEALTH_MY_PAGE_GLOBAL_CHALLENGE_CHALLENGE_1"]})}),(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)(go,{img:ro,label:g.t["@PARADIGM_HEALTH_MY_PAGE_GLOBAL_CHALLENGE_CHALLENGE_2"]})})]})]})})}),(0,s.jsxs)("div",{className:"rounded-3xl bg-primary-white-150 p-6",children:[(0,s.jsxs)("div",{className:"mb-2",children:[(0,s.jsx)("div",{className:"font-semibold",children:g.t["SAMSUNG-HEALTH_PROFILE_WEEKLY-SUMMARY"]}),(0,s.jsx)("div",{className:"text-sm text-primary-gray-360",children:g.t["SAMSUNG-HEALTH_PROFILE_WEEKLY-DATE"]})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)("div",{className:"text-sm",children:g.t["SAMSUNG-HEALTH_PROFILE_WEEKLY-ACTIVE_TIME"]}),(0,s.jsx)("hr",{className:"h-px flex-1 border-0 border-t border-dotted border-primary-gray-155"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"text-[22px] font-semibold",children:"82 "}),(0,s.jsx)("span",{className:"text-xs",children:g.t["SAMSUNG-HEALTH_PROFILE_WEEKLY-MINS"]})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)("div",{className:"text-sm",children:g.t["SAMSUNG-HEALTH_PROFILE_WEEKLY-CALORIE-INTAKE"]}),(0,s.jsx)("hr",{className:"h-px flex-1 border-0 border-t border-dotted border-primary-gray-155"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:H()("text-[22px] font-semibold",Ao),children:(0,g.H3)(1712)}),(0,s.jsx)("span",{className:"text-xs",children:g.t["SAMSUNG-HEALTH_PROFILE_WEEKLY-CAL"]})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)("div",{className:"text-sm",children:g.t["SAMSUNG-HEALTH_PROFILE_WEEKLY-TIME-SLEPT"]}),(0,s.jsx)("hr",{className:"h-px flex-1 border-0 border-t border-dotted border-primary-gray-155"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"text-[22px] font-semibold",children:"5 "}),(0,s.jsx)("span",{className:"text-xs",children:g.t["SAMSUNG-HEALTH_PROFILE_WEEKLY-TIME-HOURS"]}),(0,s.jsx)("span",{className:"text-[22px] font-semibold",children:" 45 "}),(0,s.jsx)("span",{className:"text-xs",children:g.t["SAMSUNG-HEALTH_PROFILE_WEEKLY-TIME-MINS"]})]})]})]})]}),(0,s.jsx)("div",{className:"rounded-full bg-primary-white-150 p-6",children:(0,s.jsx)("div",{className:"text-base font-semibold",children:g.t["@PARADIGM_HEALTH_MY_PAGE_HEALTH_RECORDS_TITLE"]})}),(0,s.jsx)("div",{})]})]})})})},Co=function(e){var t=e.screen,a=e.prevCallback,s=e.prevScreenName,n=(0,P.qr)(),r=n.pushBackButtonStack,l=n.popBackButtonStack,c=(0,i.useRef)(null),o=(0,i.useCallback)((function(e){var a=document.querySelector('*[data-screen="'.concat(t.current,'"]')),s=a,i=document.querySelector('*[data-screen="'.concat(t.prev,'"]'));I.ZP.killTweensOf([i,s,a]),i&&I.ZP.fromTo(i,{y:0,zIndex:""},{y:-50,opacity:0,duration:.4,ease:"power3.out"}),I.ZP.fromTo(s,{display:"block",y:100,zIndex:100},{y:0,duration:.4,ease:"power3.out"}),I.ZP.fromTo(a,{display:"block",pointerEvents:"auto",opacity:0},{opacity:1,duration:.4,ease:"power3.out"}),e&&I.ZP.to(i,{duration:.4,ease:"power3.out",onComplete:function(){e()}}),r(c)}),[r,t]),d=(0,i.useCallback)((function(e){var a=document.querySelector('*[data-screen="'.concat(t.current,'"]')),s=a,i=document.querySelector('*[data-screen="'.concat(t.prev,'"]'));I.ZP.killTweensOf([i,s,a]),i&&I.ZP.set(i,{y:-50}),I.ZP.set(s,{display:"block",y:0}),I.ZP.set(a,{display:"block",pointerEvents:"auto",opacity:1}),e&&e(),r(c)}),[r,t]),u=(0,i.useCallback)((function(){a&&a();var e=document.querySelector('*[data-screen="'.concat(t.current,'"]')),i=document.querySelector('*[data-screen="'.concat(s,'"]'));I.ZP.killTweensOf([e,i]),i&&I.ZP.to(i,{y:0,opacity:1,duration:.4,ease:"power3.inOut"}),I.ZP.to(e,{y:100,opacity:0,duration:.4,ease:"power3.inOut",onComplete:function(){I.ZP.set(e,{display:"none",pointerEvents:"none",zIndex:""})}}),l()}),[l,t,a]),p=(0,i.useCallback)((function(){a&&a();var e=document.querySelector('*[data-screen="'.concat(t.current,'"]')),s=e,i=document.querySelector('*[data-screen="'.concat(t.prev,'"]'));I.ZP.killTweensOf([e,s,i]),i&&I.ZP.set(i,{y:0}),I.ZP.set(s,{y:100,display:"none"}),I.ZP.set(e,{opacity:0,display:"none",pointerEvents:"none"}),l()}),[l,t,a]);return(0,i.useEffect)((function(){c.current=u}),[c,u]),{open:o,openWithoutTransition:d,close:u,closeWithoutTransition:p}},jo=function(e){var t=e.screenName,a=e.prevScreenName,s=e.trackPath,n=e.pageTracking,r=e.screen,l=e.prevCallback,c=e.onOpen,o=Co({screen:r,prevCallback:l,prevScreenName:a}),d=o.open,u=o.close;return(0,i.useEffect)((function(){r.current===t&&r.prev===a&&((0,V.Kq)(s,n),d(c))}),[d,r]),{close:u}},No={src:"/_next/static/media/profile.0b92bd08.png",height:384,width:384,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAABE0lEQVR4nAEIAff+AUExJQD//wEpBgYHmfD2+DgUDgMAICIix1dgXWitr8LXAUo6KCni6vbFCQAGETIkGgCnuMIAQkA5ADg0Ku94jMA7AUE5K8IE8fQ9jGxb+hYUFAbe6O4Al7TD+u7n4wY2QhzDAQAAD/uGXDoEa1NFAOfq7gDh6vAAAQsNAOPp7QAnNA77AX+CG/rowCAFVj0pAAsODwD69/YACA0OAP0EBQD69/v7AaypPMLHw+Y9aS1c+vz//wb49/gA8vPv+ufy+AYKDg7CAa6jMCnn8SDFDuUUES0IBQDm7OwA8PrzAPT7Au8EDRA7AbWndQD/+CMp7+famPHg4DoOAv4A7u7rxx0UD2f1/QPXQyt2ZwuUp4kAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},To="Together.ProfileMe",wo="Together",_o=M.dC.Health,bo=function(e){var t=e.trackPath,a=(0,i.useContext)(br),n=a.screen,r=a.setScreen,l=jo({screenName:To,prevScreenName:wo,screen:n,prevCallback:function(){r(wo)},trackPath:t,pageTracking:_o}).close;return(0,s.jsx)(vo,{screenName:To,name:g.t["@PARADIGM_HEALTH-HEALTH_HALEY-PROFILE_TITLE"],level:"".concat(g.t["SAMSUNG-HEALTH_JULES-PROFILE_ACHIEVER"]," ").concat(g.t["SAMSUNG-HEALTH_JULES-PROFILE_LEVEL-19"]),xp:980,xpAll:1250,xpText:g.t["SAMSUNG-HEALTH_JULES-PROFILE_980"],goFarthestChallange:g.t["SAMSUNG-HEALTH_JULES-PROFILE_GO-FARTHEST-CHALLENGES"],getThereFirst:g.t["SAMSUNG-HEALTH_JULES-PROFILE_GET-THERE-FIRST-TITLE"],profileImage:No,close:l,trackPath:t})},So="/_next/static/media/coffee.de6134e7.png",yo="/_next/static/media/participants-deer.dc8e222a.png",Ro="/_next/static/media/leaderboard.0ca0159f.png",Lo=function(){var e=(0,i.useRef)();return(0,i.useEffect)((function(){var t=e.current;I.ZP.set(t,{opacity:0})}),[]),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 rounded-3xl bg-primary-gray-250 bg-opacity-20 opacity-0",onClick:function(){var t=e.current;I.ZP.fromTo(t,{opacity:0},{opacity:1,duration:.2,ease:"power3.out"}),I.ZP.fromTo(t,{opacity:1},{opacity:0,duration:.2,delay:.2,ease:"power3.inOut"})},ref:e})};function Io(e){var t=e.children;return(0,s.jsx)(ht,{text:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_EMMA-POP-UP-TEXT"],cta:{text:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_EMMA-POP-UP-OK"]},children:t})}function Po(e){var t=e.children;return(0,s.jsx)(ht,{title:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_LAVENDER-MARCH-TEXT"],text:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_LAVENDER-POP-UP-TEXT"],cta:{text:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_EMMA-POP-UP-OK"]},children:t})}var Oo=function(){var e=(0,i.useContext)(br).setScreen;return(0,s.jsxs)("div",{className:"relative w-full","data-ref":"app-health-container","data-screen":"Together",children:[(0,s.jsx)("div",{className:"sticky top-0 z-20 bg-primary-gray-102 py-4 pt-[3.75rem]",children:(0,s.jsx)("div",{className:"relative px-6",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex w-full items-center justify-between",children:[(0,s.jsx)("div",{className:"relative flex w-full items-center justify-between",children:(0,s.jsx)("div",{className:"flex-no-wrap flex items-center",children:(0,s.jsx)("div",{className:"text-2xl font-semibold",children:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_TOGETHER-TITLE"]})})}),(0,s.jsx)("div",{className:"flex-no-wrap flex gap-2"}),(0,s.jsx)(ie,{path:"/app/health/together/more-menu",page:M.dC.Health,children:(0,s.jsx)("div",{className:"flex-no-wrap flex",children:(0,s.jsx)(ht,{className:"flex h-[30px] w-[30px] items-center justify-center text-center",title:g.t["SAMSUNG-HEALTH_POP-UP-MENU_MENU_POP-UP-TITLE"],text:g.t["SAMSUNG-HEALTH_POP-UP-MENU_THREE-DOTS_POP-UP-COPY"],cta:{text:g.t["SAMSUNG-HEALTH_POP-UP-MENU_POP-UP-OK"]},children:(0,s.jsx)(Gr,{})})})})]})})}),(0,s.jsxs)("div",{className:"mx-6",children:[(0,s.jsxs)("div",{className:"mb-4 flex items-start justify-between ltr:ml-[22px] ltr:mr-4 rtl:mr-[22px] rtl:ml-4",children:[(0,s.jsx)("div",{className:"relative flex items-end",children:(0,s.jsxs)("button",{onClick:mt({callback:function(){return e("Together.ProfileMe")}}),children:[(0,s.jsx)("div",{className:"absolute left-1/2 h-[50px] w-[50px] -translate-x-1/2 rounded-full",children:(0,s.jsx)(Lo,{})}),(0,s.jsx)("img",{"data-loader":"image","data-src":No.src,style:{width:53},src:No.src,alt:""}),(0,s.jsx)("div",{className:"absolute right-0 -bottom-2",children:(0,s.jsx)("img",{src:io,alt:"",width:24,height:24})})]})}),(0,s.jsxs)("div",{className:"grid grow grid-cols-[1fr,1px,1fr] items-center justify-between gap-2 ltr:ml-3.5 rtl:mr-3.5",children:[(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"text-xs font-semibold not-italic leading-[normal]",children:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_ACHIEVER-TEXT"]}),(0,s.jsx)("div",{className:"text-base font-semibold not-italic leading-[normal]",children:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_LEVEL-TEXT"]})]}),(0,s.jsx)("div",{className:"h-5 w-[1px] bg-primary-gray-400/10"}),(0,s.jsxs)("div",{className:"text-center text-[13px] font-semibold",children:[(0,s.jsx)("div",{className:"text-xs font-semibold not-italic leading-[normal]",children:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_FRIENDS"]}),(0,s.jsx)("div",{className:"text-base font-semibold not-italic leading-[normal]",children:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_FRIENDS-NUMBER"]})]})]})]}),(0,s.jsx)("div",{className:"mx-6",children:(0,s.jsx)(ie,{path:"/app/health/together/create-challenge",page:M.dC.Health,children:(0,s.jsx)(Io,{children:(0,s.jsxs)("button",{className:"relative mb-[35px] h-[45px] w-full rounded-[40px] bg-white py-2.5 text-center font-medium",children:[(0,s.jsx)(yr,{}),(0,s.jsx)("div",{className:"pointer-events-none relative text-base font-semibold not-italic leading-[normal]",children:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_CREATE-CHALLENGE-CTA"]})]})})})})]}),(0,s.jsxs)(fl,{className:"mb-4",children:[(0,s.jsx)(Io,{children:(0,s.jsx)(ie,{path:"/app/health/together/steps-leaderboard",page:M.dC.Health,children:(0,s.jsxs)("div",{className:"rounded-3xl bg-primary-white-150 pt-6",children:[(0,s.jsx)("div",{className:"mx-6 font-semibold",children:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_STEPS-LEADERBOARD-TITLE"]}),(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)("div",{className:"absolute left-[14.5%] top-[10%] -translate-x-1/2 text-[80%]",children:g.t["@PARADIGM_HEALTH_TOGETHER-LANDING_STEPS-LEADERBOARD-MICKEY"]}),(0,s.jsx)("div",{className:"absolute left-[32%] top-[19%] -translate-x-1/2 text-[80%]",children:g.t["@PARADIGM_HEALTH_TOGETHER-LANDING_STEPS-LEADERBOARD-RAMI"]}),(0,s.jsx)("div",{className:"absolute left-[50%] top-[28%] -translate-x-1/2 text-[80%] font-bold",children:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_STEPS-LEADERBOARD-YOU"]}),(0,s.jsx)("div",{className:"absolute left-[67.6%] top-[36.5%] -translate-x-1/2 text-[80%]",children:g.t["@PARADIGM_HEALTH_TOGETHER-LANDING_STEPS-LEADERBOARD-FREYA"]}),(0,s.jsx)("div",{className:"absolute left-[85.3%] top-[45%] -translate-x-1/2 text-[80%]",children:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_STEPS-LEADERBOARD-JIN"]}),(0,s.jsx)("img",{className:"px-6 pt-14","data-loader":"image","data-src":Ro,src:Ro,alt:""})]})]})})}),(0,s.jsx)(Po,{children:(0,s.jsx)(ie,{path:"/app/health/together/lavender-march",page:M.dC.Health,children:(0,s.jsx)("div",{className:"rounded-3xl bg-primary-white-150 p-6",children:(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center gap-1 font-semibold",children:[g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_LAVENDER-MARCH-TEXT"]," "]}),(0,s.jsx)("div",{className:"mb-6 text-sm text-primary-gray-350",children:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_JOIN-CHALLENGE-TEXT"]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-sm font-semibold",children:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_PARTICIPANTS-TEXT"]}),(0,s.jsx)("div",{className:"mb-2 text-2xl font-semibold",children:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_PARTICIPANTS-NUMBER"]}),(0,s.jsx)("button",{className:"rounded-3xl border px-10 py-2 text-sm font-semibold",children:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_JOIN-CTA"]})]}),(0,s.jsx)("div",{children:(0,s.jsx)("img",{"data-loader":"image","data-src":yo,src:yo,alt:"",style:{width:104}})})]})]})})})}),(0,s.jsx)(Io,{children:(0,s.jsx)(ie,{path:"/app/health/together/who-buys-coffee",page:M.dC.Health,children:(0,s.jsx)("div",{className:"rounded-3xl bg-primary-white-150 p-6",children:(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"font-semibold",children:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_COFFEE-TITLE"]}),(0,s.jsx)("div",{className:"mb-6 text-sm text-primary-gray-350",children:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_TARGET-STEPS-TEXT"]}),(0,s.jsx)("div",{className:"text-2xl font-semibold",children:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_THIRD-TEXT"]}),(0,s.jsx)("div",{className:"text-sm font-semibold",children:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_SIX-PARTICIPANTS-TEXT"]})]}),(0,s.jsx)("div",{children:(0,s.jsx)("img",{"data-loader":"image","data-src":So,src:So,alt:"",style:{width:141}})})]})})})})]})]})},Mo="/_next/static/media/thumbs-vote-button.a1180ba1.svg",Do=function(e){var t=e.onClick;return(0,s.jsx)(ie,{path:"/app/health/home/more-sleep",page:M.dC.Health,children:(0,s.jsx)(bl,{onClick:t,foregroundContent:"",children:(0,s.jsxs)("div",{className:"relative flex w-full flex-col space-y-4",children:[(0,s.jsx)("div",{className:"text-base font-semibold text-[#5E56F0]",children:g.t["@PARADIGM_HEALTH_HOME_CARD_MORE_SLEEP_DESCRIPTION"]}),(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,s.jsxs)("div",{className:"relative grid w-40 grid-cols-2 grid-rows-2 gap-x-3",children:[(0,s.jsx)("div",{className:"absolute z-0 flex h-full w-full items-center justify-center",children:(0,s.jsx)("svg",{width:"54",height:"32",viewBox:"0 0 54 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"rtl:-scale-x-100 rtl:transform",children:(0,s.jsx)("path",{d:"M2 30L52 2",stroke:"#D2D0FF",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:"1 5"})})}),(0,s.jsx)("div",{}),(0,s.jsx)("div",{className:"z-10 flex items-center justify-center",children:(0,s.jsx)("div",{className:"flex h-11 w-11 items-center justify-center rounded-full bg-[#908AFC] text-white",children:g.t["@PARADIGM_HEALTH_HOME_CARD_MORE_SLEEP_TODAY_NUMBER"]})}),(0,s.jsx)("div",{className:"z-10 flex items-center justify-center",children:(0,s.jsx)("div",{className:"flex h-11 w-11 items-center justify-center rounded-full bg-[#8C8C91] text-white",children:g.t["@PARADIGM_HEALTH_HOME_CARD_MORE_SLEEP_YESTERDAY_NUMBER"]})}),(0,s.jsx)("div",{})]}),(0,s.jsxs)("div",{className:"relative grid w-40 grid-cols-2 gap-x-3",children:[(0,s.jsx)("div",{className:"mt-2 flex items-center justify-center text-center text-xs text-primary-gray-260",children:g.t["@PARADIGM_HEALTH_HOME_CARD_MORE_SLEEP_YESTERDAY_LABEL"]}),(0,s.jsx)("div",{className:"mt-2 flex items-center justify-center text-center text-xs text-primary-gray-260",children:g.t["@PARADIGM_HEALTH_HOME_CARD_MORE_SLEEP_TODAY_LABEL"]})]})]}),(0,s.jsx)("hr",{}),(0,s.jsxs)("div",{className:"flex flex-row items-center justify-between",children:[(0,s.jsx)("div",{className:"text-xs font-normal text-primary-gray-260",children:g.t["@PARADIGM_HEALTH_HOME_CARD_MORE_SLEEP_INSIGHT_DESCRIPTION"]}),(0,s.jsx)("img",{"data-loader":"image","data-src":Mo,src:Mo,alt:""})]})]})})})},Go="/_next/static/media/app-health.303b2eeb.png",ko="/_next/static/media/health-star-icon.0bba6a4a.svg",Ho=function(e){var t=e.fillColor,a=void 0===t?"white":t,i=e.height,n=void 0===i?10.8:i,r=e.width,l=void 0===r?12.6:r;return(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200",width:"".concat(l),height:"".concat(n),preserveAspectRatio:"xMidYMid meet",children:[(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"__lottie_element_131",children:(0,s.jsx)("rect",{width:"200",height:"200",x:"0",y:"0"})})}),(0,s.jsxs)("g",{clipPath:"url(#__lottie_element_131)",children:[(0,s.jsx)("g",{transform:"matrix(1.2000000476837158,0,0,1.2000000476837158,39.999996185302734,-114)",opacity:"1",children:(0,s.jsx)("g",{opacity:"1",transform:"matrix(1,0,0,1,50,49.470001220703125)",children:(0,s.jsx)("path",{fill:a,fillOpacity:"1",d:" M48.68600082397461,30.777999877929688 C51.91899871826172,35.98400115966797 48.816001892089844,43.38800048828125 43.404998779296875,43.38800048828125 C43.404998779296875,43.38800048828125 -43.39799880981445,43.38800048828125 -43.39799880981445,43.38800048828125 C-48.81700134277344,43.38800048828125 -51.91999816894531,35.98400115966797 -48.685001373291016,30.777999877929688 C-48.685001373291016,30.777999877929688 -5.283999919891357,-39.141998291015625 -5.283999919891357,-39.141998291015625 C-2.6489999294281006,-43.38800048828125 2.6500000953674316,-43.38800048828125 5.284999847412109,-39.141998291015625 C5.284999847412109,-39.141998291015625 48.68600082397461,30.777999877929688 48.68600082397461,30.777999877929688z"})})}),(0,s.jsx)("g",{transform:"matrix(1.2000000476837158,0,0,1.2000000476837158,39.999996185302734,-113)",opacity:"1",children:(0,s.jsx)("g",{opacity:"1",transform:"matrix(1,0,0,1,50,49.470001220703125)",children:(0,s.jsx)("path",{fill:a,fillOpacity:"1",d:" M48.68600082397461,30.777999877929688 C51.91899871826172,35.98400115966797 48.816001892089844,43.38800048828125 43.404998779296875,43.38800048828125 C43.404998779296875,43.38800048828125 -43.39799880981445,43.38800048828125 -43.39799880981445,43.38800048828125 C-48.81700134277344,43.38800048828125 -51.91999816894531,35.98400115966797 -48.685001373291016,30.777999877929688 C-48.685001373291016,30.777999877929688 -5.283999919891357,-39.141998291015625 -5.283999919891357,-39.141998291015625 C-2.6489999294281006,-43.38800048828125 2.6500000953674316,-43.38800048828125 5.284999847412109,-39.141998291015625 C5.284999847412109,-39.141998291015625 48.68600082397461,30.777999877929688 48.68600082397461,30.777999877929688z"})})}),(0,s.jsx)("g",{transform:"matrix(1.2000000476837158,0,0,1.2000000476837158,39.999996185302734,35.999996185302734)",opacity:"1",children:(0,s.jsx)("g",{opacity:"1",transform:"matrix(1,0,0,1,50,49.470001220703125)",children:(0,s.jsx)("path",{fill:a,fillOpacity:"1",d:" M48.68600082397461,30.777999877929688 C51.91899871826172,35.98400115966797 48.816001892089844,43.38800048828125 43.404998779296875,43.38800048828125 C43.404998779296875,43.38800048828125 -43.39799880981445,43.38800048828125 -43.39799880981445,43.38800048828125 C-48.81700134277344,43.38800048828125 -51.91999816894531,35.98400115966797 -48.685001373291016,30.777999877929688 C-48.685001373291016,30.777999877929688 -5.283999919891357,-39.141998291015625 -5.283999919891357,-39.141998291015625 C-2.6489999294281006,-43.38800048828125 2.6500000953674316,-43.38800048828125 5.284999847412109,-39.141998291015625 C5.284999847412109,-39.141998291015625 48.68600082397461,30.777999877929688 48.68600082397461,30.777999877929688z"})})})]})]})},Bo=H()(Object.values({vn:"vn:foldCover:text-sm"})),Uo=function(e){var t=e.onClick,a=(0,i.useContext)(br).screen,n=(0,P.qr)().appName;return(0,s.jsx)(ie,{path:"/app/health/home/vitality-score",page:M.dC.Health,children:(0,s.jsx)(bl,{onClick:t,foregroundContent:"",className:"backface relative flex w-full items-center justify-between bg-[#C9E5FF] px-5 py-8",children:(0,s.jsxs)("div",{className:"flex w-full flex-col gap-y-3",children:[(0,s.jsxs)("div",{className:"flex w-full justify-between",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-y-1",children:[(0,s.jsx)("div",{className:"flex items-start",children:(0,s.jsxs)("div",{className:"flex items-end gap-x-1.5",children:[(0,s.jsx)("div",{className:"text-4xl font-semibold",children:"92"}),(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)(Ho,{fillColor:"rgba(0, 0, 0, 0.35)"})," ",(0,s.jsx)("div",{className:"text-xl font-semibold",children:"6"})]})]})}),(0,s.jsx)("div",{className:H()("text-base font-normal text-[#7D7D7D]",Bo),children:g.t["@UNPACKED_SAMSUNG-HEALTH_HOME-SCREEN_VITALITY-ENERGY-SCORE"]})]}),(0,s.jsx)("div",{className:"absolute flex w-full -translate-y-[30px] justify-end ltr:-translate-x-5 rtl:translate-x-5",children:"health"===n&&"Home"===a.current&&(0,s.jsx)(Re.Z,{path:"/assets/lotties/health/cloud.json",height:115,width:115,loop:!0})})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-y-2.5",children:[(0,s.jsx)("div",{className:"text-xl font-medium",children:g.t["@UNPACKED_SAMSUNG-HEALTH_HOME-SCREEN_VITALITY-WELL_RESTED"]}),(0,s.jsx)("div",{className:"text-sm text-[#636368]",children:g.t["@UNPACKED_SAMSUNG-HEALTH_HOME-SCREEN_VITALITY-BODY-TEXT"]})]})]})})})},Zo={eslatam:"eslatam:text-center"},Yo={eslatam:"eslatam:text-[12px]"},Fo=H()(Object.values(Zo)),Vo=H()(Object.values(Yo)),Wo=function(){return(0,s.jsxs)("svg",{width:"100%",viewBox:"0 0 340 404",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_12247_8808)",children:[(0,s.jsx)("path",{d:"M-13.1445 357.5L231.345 357.5L298.855 357.5",stroke:"#D8D8D8"}),(0,s.jsx)("path",{d:"M309.243 359.312C309.243 358.752 309.079 358.304 308.751 357.968C308.423 357.632 307.983 357.464 307.431 357.464C307.023 357.464 306.647 357.544 306.303 357.704C305.967 357.856 305.711 358.064 305.535 358.328L304.707 357.932L305.079 353.468H309.915V354.416H306.003L305.763 357.128C305.955 356.944 306.207 356.792 306.519 356.672C306.839 356.552 307.175 356.492 307.527 356.492C308.087 356.492 308.571 356.612 308.979 356.852C309.395 357.084 309.715 357.412 309.939 357.836C310.171 358.26 310.287 358.76 310.287 359.336C310.287 359.904 310.167 360.4 309.927 360.824C309.687 361.248 309.347 361.576 308.907 361.808C308.467 362.032 307.951 362.144 307.359 362.144C306.687 362.144 306.095 361.992 305.583 361.688C305.071 361.376 304.663 360.916 304.359 360.308L305.271 359.864C305.503 360.312 305.791 360.644 306.135 360.86C306.479 361.068 306.879 361.172 307.335 361.172C307.927 361.172 308.391 361.004 308.727 360.668C309.071 360.332 309.243 359.88 309.243 359.312ZM311.487 357.728C311.487 356.832 311.599 356.056 311.823 355.4C312.055 354.736 312.395 354.224 312.843 353.864C313.299 353.504 313.863 353.324 314.535 353.324C315.215 353.324 315.779 353.504 316.227 353.864C316.675 354.224 317.011 354.736 317.235 355.4C317.467 356.056 317.583 356.832 317.583 357.728C317.583 358.624 317.467 359.404 317.235 360.068C317.011 360.724 316.675 361.236 316.227 361.604C315.779 361.964 315.215 362.144 314.535 362.144C313.863 362.144 313.299 361.964 312.843 361.604C312.395 361.236 312.055 360.724 311.823 360.068C311.599 359.404 311.487 358.624 311.487 357.728ZM312.531 357.728C312.531 358.808 312.687 359.656 312.999 360.272C313.319 360.88 313.831 361.184 314.535 361.184C315.247 361.184 315.759 360.88 316.071 360.272C316.383 359.656 316.539 358.808 316.539 357.728C316.539 356.656 316.383 355.816 316.071 355.208C315.759 354.592 315.247 354.284 314.535 354.284C313.831 354.284 313.319 354.592 312.999 355.208C312.687 355.816 312.531 356.656 312.531 357.728Z",fill:"#8C8C91"}),(0,s.jsx)("path",{d:"M-13.1445 86.5H293.855",stroke:"#D8D8D8",strokeLinecap:"round",strokeDasharray:"0.25 2.5"}),(0,s.jsx)("path",{d:"M301.951 83.704L299.791 84.868L299.395 84.004L302.359 82.468H302.995V91H301.951V83.704ZM304.844 82.468H310.52V83.272L306.92 91H305.78L309.356 83.416H304.844V82.468ZM311.596 86.728C311.596 85.832 311.708 85.056 311.932 84.4C312.164 83.736 312.504 83.224 312.952 82.864C313.408 82.504 313.972 82.324 314.644 82.324C315.324 82.324 315.888 82.504 316.336 82.864C316.784 83.224 317.12 83.736 317.344 84.4C317.576 85.056 317.692 85.832 317.692 86.728C317.692 87.624 317.576 88.404 317.344 89.068C317.12 89.724 316.784 90.236 316.336 90.604C315.888 90.964 315.324 91.144 314.644 91.144C313.972 91.144 313.408 90.964 312.952 90.604C312.504 90.236 312.164 89.724 311.932 89.068C311.708 88.404 311.596 87.624 311.596 86.728ZM312.64 86.728C312.64 87.808 312.796 88.656 313.108 89.272C313.428 89.88 313.94 90.184 314.644 90.184C315.356 90.184 315.868 89.88 316.18 89.272C316.492 88.656 316.648 87.808 316.648 86.728C316.648 85.656 316.492 84.816 316.18 84.208C315.868 83.592 315.356 83.284 314.644 83.284C313.94 83.284 313.428 83.592 313.108 84.208C312.796 84.816 312.64 85.656 312.64 86.728Z",fill:"#8C8C91"}),(0,s.jsx)("path",{opacity:"0.06",fillRule:"evenodd",clipRule:"evenodd",d:"M-13 148H324C332.837 148 340 155.163 340 164V245C340 253.837 332.837 261 324 261H-13V148Z",fill:"#FF783C"}),(0,s.jsx)("path",{d:"M-13.1445 244.25L231.345 244.642L298.855 244.75",stroke:"#FF783C",strokeLinecap:"round",strokeDasharray:"0.25 2.5"}),(0,s.jsx)("path",{d:"M304.455 244.764C304.455 243.316 304.743 242.216 305.319 241.464C305.903 240.704 306.699 240.324 307.707 240.324C308.307 240.324 308.839 240.452 309.303 240.708C309.767 240.964 310.139 241.32 310.419 241.776L309.603 242.304C309.379 241.96 309.103 241.704 308.775 241.536C308.447 241.368 308.091 241.284 307.707 241.284C307.027 241.284 306.475 241.58 306.051 242.172C305.627 242.764 305.415 243.7 305.415 244.98C305.415 245.06 305.415 245.136 305.415 245.208C305.599 244.6 305.919 244.144 306.375 243.84C306.839 243.528 307.339 243.372 307.875 243.372C308.307 243.372 308.723 243.48 309.123 243.696C309.531 243.904 309.863 244.22 310.119 244.644C310.383 245.068 310.515 245.6 310.515 246.24C310.515 246.792 310.399 247.288 310.167 247.728C309.943 248.16 309.615 248.504 309.183 248.76C308.751 249.016 308.231 249.144 307.623 249.144C306.607 249.144 305.823 248.768 305.271 248.016C304.727 247.256 304.455 246.172 304.455 244.764ZM305.811 246.3C305.811 246.86 305.967 247.316 306.279 247.668C306.591 248.012 307.039 248.184 307.623 248.184C308.231 248.184 308.691 248.012 309.003 247.668C309.315 247.316 309.471 246.86 309.471 246.3C309.471 245.692 309.311 245.212 308.991 244.86C308.679 244.508 308.235 244.332 307.659 244.332C307.123 244.332 306.679 244.508 306.327 244.86C305.983 245.204 305.811 245.684 305.811 246.3ZM311.803 244.764C311.803 243.316 312.091 242.216 312.667 241.464C313.251 240.704 314.047 240.324 315.055 240.324C315.655 240.324 316.187 240.452 316.651 240.708C317.115 240.964 317.487 241.32 317.767 241.776L316.951 242.304C316.727 241.96 316.451 241.704 316.123 241.536C315.795 241.368 315.439 241.284 315.055 241.284C314.375 241.284 313.823 241.58 313.399 242.172C312.975 242.764 312.763 243.7 312.763 244.98C312.763 245.06 312.763 245.136 312.763 245.208C312.947 244.6 313.267 244.144 313.723 243.84C314.187 243.528 314.687 243.372 315.223 243.372C315.655 243.372 316.071 243.48 316.471 243.696C316.879 243.904 317.211 244.22 317.467 244.644C317.731 245.068 317.863 245.6 317.863 246.24C317.863 246.792 317.747 247.288 317.515 247.728C317.291 248.16 316.963 248.504 316.531 248.76C316.099 249.016 315.579 249.144 314.971 249.144C313.955 249.144 313.171 248.768 312.619 248.016C312.075 247.256 311.803 246.172 311.803 244.764ZM313.159 246.3C313.159 246.86 313.315 247.316 313.627 247.668C313.939 248.012 314.387 248.184 314.971 248.184C315.579 248.184 316.039 248.012 316.351 247.668C316.663 247.316 316.819 246.86 316.819 246.3C316.819 245.692 316.659 245.212 316.339 244.86C316.027 244.508 315.583 244.332 315.007 244.332C314.471 244.332 314.027 244.508 313.675 244.86C313.331 245.204 313.159 245.684 313.159 246.3Z",fill:"#FF783C"}),(0,s.jsx)("path",{d:"M-13.1445 163.5L231.345 163.5L298.855 163.5",stroke:"#FF783C",strokeLinecap:"round",strokeDasharray:"0.25 2.5"}),(0,s.jsx)("path",{d:"M304.455 165.696C304.455 165.184 304.603 164.74 304.899 164.364C305.203 163.988 305.599 163.74 306.087 163.62C305.679 163.468 305.351 163.224 305.103 162.888C304.863 162.544 304.743 162.152 304.743 161.712C304.743 160.984 304.991 160.404 305.487 159.972C305.983 159.54 306.655 159.324 307.503 159.324C308.351 159.324 309.023 159.54 309.519 159.972C310.015 160.404 310.263 160.984 310.263 161.712C310.263 162.152 310.139 162.544 309.891 162.888C309.643 163.232 309.319 163.476 308.919 163.62C309.399 163.732 309.791 163.976 310.095 164.352C310.399 164.728 310.551 165.176 310.551 165.696C310.551 166.192 310.427 166.624 310.179 166.992C309.931 167.36 309.579 167.644 309.123 167.844C308.667 168.044 308.127 168.144 307.503 168.144C306.567 168.144 305.823 167.924 305.271 167.484C304.727 167.044 304.455 166.448 304.455 165.696ZM305.511 165.684C305.511 166.148 305.687 166.516 306.039 166.788C306.399 167.06 306.887 167.196 307.503 167.196C308.119 167.196 308.603 167.06 308.955 166.788C309.315 166.516 309.495 166.148 309.495 165.684C309.495 165.188 309.319 164.8 308.967 164.52C308.623 164.24 308.135 164.1 307.503 164.1C306.871 164.1 306.379 164.24 306.027 164.52C305.683 164.8 305.511 165.188 305.511 165.684ZM305.715 161.724C305.715 162.164 305.875 162.52 306.195 162.792C306.523 163.056 306.959 163.188 307.503 163.188C308.047 163.188 308.479 163.056 308.799 162.792C309.127 162.52 309.291 162.164 309.291 161.724C309.291 161.26 309.135 160.904 308.823 160.656C308.519 160.4 308.079 160.272 307.503 160.272C306.927 160.272 306.483 160.4 306.171 160.656C305.867 160.904 305.715 161.26 305.715 161.724ZM311.84 167.556C311.84 166.804 312 166.188 312.32 165.708C312.648 165.228 313.124 164.792 313.748 164.4L314.624 163.848C315.064 163.568 315.412 163.316 315.668 163.092C315.924 162.868 316.104 162.648 316.208 162.432C316.32 162.216 316.376 161.98 316.376 161.724C316.376 161.276 316.228 160.924 315.932 160.668C315.636 160.412 315.224 160.284 314.696 160.284C314.208 160.284 313.784 160.42 313.424 160.692C313.072 160.956 312.788 161.368 312.572 161.928L311.696 161.496C311.968 160.776 312.364 160.236 312.884 159.876C313.412 159.508 314.028 159.324 314.732 159.324C315.268 159.324 315.736 159.424 316.136 159.624C316.536 159.816 316.848 160.092 317.072 160.452C317.304 160.812 317.42 161.24 317.42 161.736C317.42 162.112 317.352 162.452 317.216 162.756C317.088 163.06 316.868 163.36 316.556 163.656C316.244 163.944 315.816 164.26 315.272 164.604L314.384 165.168C314.008 165.408 313.72 165.624 313.52 165.816C313.328 166.008 313.196 166.204 313.124 166.404C313.052 166.596 313.012 166.812 313.004 167.052H317.564V168H311.84V167.556Z",fill:"#FF783C"}),(0,s.jsx)("path",{d:"M27 181C29.7614 181 32 178.761 32 176C32 173.239 29.7614 171 27 171C24.2386 171 22 173.239 22 176C22 178.761 24.2386 181 27 181Z",fill:"#FF783C"}),(0,s.jsx)("path",{d:"M68 197C70.7614 197 73 194.761 73 192C73 189.239 70.7614 187 68 187C65.2386 187 63 189.239 63 192C63 194.761 65.2386 197 68 197Z",fill:"#FF783C"}),(0,s.jsx)("path",{d:"M109 233C111.761 233 114 230.761 114 228C114 225.239 111.761 223 109 223C106.239 223 104 225.239 104 228C104 230.761 106.239 233 109 233Z",fill:"#FF783C"}),(0,s.jsx)("path",{d:"M150 251C152.761 251 155 248.761 155 246C155 243.239 152.761 241 150 241C147.239 241 145 243.239 145 246C145 248.761 147.239 251 150 251Z",fill:"#FF783C"}),(0,s.jsx)("path",{d:"M191 215C193.761 215 196 212.761 196 210C196 207.239 193.761 205 191 205C188.239 205 186 207.239 186 210C186 212.761 188.239 215 191 215Z",fill:"#FF783C"}),(0,s.jsx)("path",{d:"M232 207C234.761 207 237 204.761 237 202C237 199.239 234.761 197 232 197C229.239 197 227 199.239 227 202C227 204.761 229.239 207 232 207Z",fill:"#FF783C"}),(0,s.jsx)("path",{d:"M273 243C275.761 243 278 240.761 278 238C278 235.239 275.761 233 273 233C270.239 233 268 235.239 268 238C268 240.761 270.239 243 273 243Z",fill:"#FF783C"}),(0,s.jsx)("path",{d:"M-13 171C0 171 13.3333 172.906 27 176.719C45 180.849 58.5 186.25 68 191.969C83 198.641 104 222.469 109 227.553C115 232.001 125.5 246.615 150 245.98C173 245.344 173 220.563 191 210.396C205 202.348 218.667 199.17 232 200.865C249.641 205.955 263.308 218.333 273 238",stroke:"#FF783C",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M-6.316 393.056C-6.316 392.304 -6.156 391.688 -5.836 391.208C-5.508 390.728 -5.032 390.292 -4.408 389.9L-3.532 389.348C-3.092 389.068 -2.744 388.816 -2.488 388.592C-2.232 388.368 -2.052 388.148 -1.948 387.932C-1.836 387.716 -1.78 387.48 -1.78 387.224C-1.78 386.776 -1.928 386.424 -2.224 386.168C-2.52 385.912 -2.932 385.784 -3.46 385.784C-3.948 385.784 -4.372 385.92 -4.732 386.192C-5.084 386.456 -5.368 386.868 -5.584 387.428L-6.46 386.996C-6.188 386.276 -5.792 385.736 -5.272 385.376C-4.744 385.008 -4.128 384.824 -3.424 384.824C-2.888 384.824 -2.42 384.924 -2.02 385.124C-1.62 385.316 -1.308 385.592 -1.084 385.952C-0.852 386.312 -0.736 386.74 -0.736 387.236C-0.736 387.612 -0.804 387.952 -0.94 388.256C-1.068 388.56 -1.288 388.86 -1.6 389.156C-1.912 389.444 -2.34 389.76 -2.884 390.104L-3.772 390.668C-4.148 390.908 -4.436 391.124 -4.636 391.316C-4.828 391.508 -4.96 391.704 -5.032 391.904C-5.104 392.096 -5.144 392.312 -5.152 392.552H-0.592V393.5H-6.316V393.056ZM3.10381 386.204L0.943813 387.368L0.547813 386.504L3.51181 384.968H4.14781V393.5H3.10381V386.204Z",fill:"#4D4D52"}),(0,s.jsx)("path",{d:"M32.684 393.056C32.684 392.304 32.844 391.688 33.164 391.208C33.492 390.728 33.968 390.292 34.592 389.9L35.468 389.348C35.908 389.068 36.256 388.816 36.512 388.592C36.768 388.368 36.948 388.148 37.052 387.932C37.164 387.716 37.22 387.48 37.22 387.224C37.22 386.776 37.072 386.424 36.776 386.168C36.48 385.912 36.068 385.784 35.54 385.784C35.052 385.784 34.628 385.92 34.268 386.192C33.916 386.456 33.632 386.868 33.416 387.428L32.54 386.996C32.812 386.276 33.208 385.736 33.728 385.376C34.256 385.008 34.872 384.824 35.576 384.824C36.112 384.824 36.58 384.924 36.98 385.124C37.38 385.316 37.692 385.592 37.916 385.952C38.148 386.312 38.264 386.74 38.264 387.236C38.264 387.612 38.196 387.952 38.06 388.256C37.932 388.56 37.712 388.86 37.4 389.156C37.088 389.444 36.66 389.76 36.116 390.104L35.228 390.668C34.852 390.908 34.564 391.124 34.364 391.316C34.172 391.508 34.04 391.704 33.968 391.904C33.896 392.096 33.856 392.312 33.848 392.552H38.408V393.5H32.684V393.056ZM39.6918 393.056C39.6918 392.304 39.8518 391.688 40.1718 391.208C40.4998 390.728 40.9758 390.292 41.5998 389.9L42.4758 389.348C42.9158 389.068 43.2638 388.816 43.5198 388.592C43.7758 388.368 43.9558 388.148 44.0598 387.932C44.1718 387.716 44.2278 387.48 44.2278 387.224C44.2278 386.776 44.0798 386.424 43.7838 386.168C43.4878 385.912 43.0758 385.784 42.5478 385.784C42.0598 385.784 41.6358 385.92 41.2758 386.192C40.9238 386.456 40.6398 386.868 40.4238 387.428L39.5478 386.996C39.8198 386.276 40.2158 385.736 40.7358 385.376C41.2638 385.008 41.8798 384.824 42.5838 384.824C43.1198 384.824 43.5878 384.924 43.9878 385.124C44.3878 385.316 44.6998 385.592 44.9238 385.952C45.1558 386.312 45.2718 386.74 45.2718 387.236C45.2718 387.612 45.2038 387.952 45.0678 388.256C44.9398 388.56 44.7198 388.86 44.4078 389.156C44.0958 389.444 43.6678 389.76 43.1238 390.104L42.2358 390.668C41.8598 390.908 41.5718 391.124 41.3718 391.316C41.1798 391.508 41.0478 391.704 40.9758 391.904C40.9038 392.096 40.8638 392.312 40.8558 392.552H45.4158V393.5H39.6918V393.056Z",fill:"#D93E36"}),(0,s.jsx)("path",{d:"M73.684 393.056C73.684 392.304 73.844 391.688 74.164 391.208C74.492 390.728 74.968 390.292 75.592 389.9L76.468 389.348C76.908 389.068 77.256 388.816 77.512 388.592C77.768 388.368 77.948 388.148 78.052 387.932C78.164 387.716 78.22 387.48 78.22 387.224C78.22 386.776 78.072 386.424 77.776 386.168C77.48 385.912 77.068 385.784 76.54 385.784C76.052 385.784 75.628 385.92 75.268 386.192C74.916 386.456 74.632 386.868 74.416 387.428L73.54 386.996C73.812 386.276 74.208 385.736 74.728 385.376C75.256 385.008 75.872 384.824 76.576 384.824C77.112 384.824 77.58 384.924 77.98 385.124C78.38 385.316 78.692 385.592 78.916 385.952C79.148 386.312 79.264 386.74 79.264 387.236C79.264 387.612 79.196 387.952 79.06 388.256C78.932 388.56 78.712 388.86 78.4 389.156C78.088 389.444 77.66 389.76 77.116 390.104L76.228 390.668C75.852 390.908 75.564 391.124 75.364 391.316C75.172 391.508 75.04 391.704 74.968 391.904C74.896 392.096 74.856 392.312 74.848 392.552H79.408V393.5H73.684V393.056ZM85.5398 391.136C85.5398 390.664 85.3758 390.28 85.0478 389.984C84.7198 389.68 84.2038 389.528 83.4998 389.528H82.3358V388.58H83.4038C83.9878 388.58 84.4438 388.452 84.7718 388.196C85.1078 387.94 85.2758 387.604 85.2758 387.188C85.2758 386.748 85.1158 386.404 84.7958 386.156C84.4838 385.908 84.0518 385.784 83.4998 385.784C83.0678 385.784 82.6718 385.892 82.3118 386.108C81.9518 386.324 81.6798 386.656 81.4958 387.104L80.5958 386.636C80.8518 386.036 81.2358 385.584 81.7478 385.28C82.2678 384.976 82.8558 384.824 83.5118 384.824C84.3758 384.824 85.0598 385.024 85.5638 385.424C86.0678 385.816 86.3198 386.36 86.3198 387.056C86.3198 387.968 85.8878 388.62 85.0238 389.012C85.5438 389.18 85.9318 389.456 86.1878 389.84C86.4518 390.216 86.5838 390.66 86.5838 391.172C86.5838 391.636 86.4678 392.056 86.2358 392.432C86.0118 392.8 85.6718 393.096 85.2158 393.32C84.7678 393.536 84.2118 393.644 83.5478 393.644C82.8278 393.644 82.1878 393.48 81.6278 393.152C81.0758 392.816 80.6558 392.32 80.3678 391.664L81.2798 391.208C81.4878 391.696 81.7918 392.064 82.1918 392.312C82.5998 392.56 83.0318 392.684 83.4878 392.684C84.1918 392.684 84.7078 392.536 85.0358 392.24C85.3718 391.944 85.5398 391.576 85.5398 391.136Z",fill:"#4D4D52"}),(0,s.jsx)("path",{d:"M114.684 393.056C114.684 392.304 114.844 391.688 115.164 391.208C115.492 390.728 115.968 390.292 116.592 389.9L117.468 389.348C117.908 389.068 118.256 388.816 118.512 388.592C118.768 388.368 118.948 388.148 119.052 387.932C119.164 387.716 119.22 387.48 119.22 387.224C119.22 386.776 119.072 386.424 118.776 386.168C118.48 385.912 118.068 385.784 117.54 385.784C117.052 385.784 116.628 385.92 116.268 386.192C115.916 386.456 115.632 386.868 115.416 387.428L114.54 386.996C114.812 386.276 115.208 385.736 115.728 385.376C116.256 385.008 116.872 384.824 117.576 384.824C118.112 384.824 118.58 384.924 118.98 385.124C119.38 385.316 119.692 385.592 119.916 385.952C120.148 386.312 120.264 386.74 120.264 387.236C120.264 387.612 120.196 387.952 120.06 388.256C119.932 388.56 119.712 388.86 119.4 389.156C119.088 389.444 118.66 389.76 118.116 390.104L117.228 390.668C116.852 390.908 116.564 391.124 116.364 391.316C116.172 391.508 116.04 391.704 115.968 391.904C115.896 392.096 115.856 392.312 115.848 392.552H120.408V393.5H114.684V393.056ZM125.784 391.472H121.428V390.668L125.712 384.968H126.804V390.524H127.824V391.472H126.804V393.5H125.784V391.472ZM125.784 386.408L122.7 390.524H125.784V386.408Z",fill:"#4D4D52"}),(0,s.jsx)("path",{d:"M155.684 393.056C155.684 392.304 155.844 391.688 156.164 391.208C156.492 390.728 156.968 390.292 157.592 389.9L158.468 389.348C158.908 389.068 159.256 388.816 159.512 388.592C159.768 388.368 159.948 388.148 160.052 387.932C160.164 387.716 160.22 387.48 160.22 387.224C160.22 386.776 160.072 386.424 159.776 386.168C159.48 385.912 159.068 385.784 158.54 385.784C158.052 385.784 157.628 385.92 157.268 386.192C156.916 386.456 156.632 386.868 156.416 387.428L155.54 386.996C155.812 386.276 156.208 385.736 156.728 385.376C157.256 385.008 157.872 384.824 158.576 384.824C159.112 384.824 159.58 384.924 159.98 385.124C160.38 385.316 160.692 385.592 160.916 385.952C161.148 386.312 161.264 386.74 161.264 387.236C161.264 387.612 161.196 387.952 161.06 388.256C160.932 388.56 160.712 388.86 160.4 389.156C160.088 389.444 159.66 389.76 159.116 390.104L158.228 390.668C157.852 390.908 157.564 391.124 157.364 391.316C157.172 391.508 157.04 391.704 156.968 391.904C156.896 392.096 156.856 392.312 156.848 392.552H161.408V393.5H155.684V393.056ZM167.396 390.812C167.396 390.252 167.232 389.804 166.904 389.468C166.576 389.132 166.136 388.964 165.584 388.964C165.176 388.964 164.8 389.044 164.456 389.204C164.12 389.356 163.864 389.564 163.688 389.828L162.86 389.432L163.232 384.968H168.068V385.916H164.156L163.916 388.628C164.108 388.444 164.36 388.292 164.672 388.172C164.992 388.052 165.328 387.992 165.68 387.992C166.24 387.992 166.724 388.112 167.132 388.352C167.548 388.584 167.868 388.912 168.092 389.336C168.324 389.76 168.44 390.26 168.44 390.836C168.44 391.404 168.32 391.9 168.08 392.324C167.84 392.748 167.5 393.076 167.06 393.308C166.62 393.532 166.104 393.644 165.512 393.644C164.84 393.644 164.248 393.492 163.736 393.188C163.224 392.876 162.816 392.416 162.512 391.808L163.424 391.364C163.656 391.812 163.944 392.144 164.288 392.36C164.632 392.568 165.032 392.672 165.488 392.672C166.08 392.672 166.544 392.504 166.88 392.168C167.224 391.832 167.396 391.38 167.396 390.812Z",fill:"#4D4D52"}),(0,s.jsx)("path",{d:"M196.684 393.056C196.684 392.304 196.844 391.688 197.164 391.208C197.492 390.728 197.968 390.292 198.592 389.9L199.468 389.348C199.908 389.068 200.256 388.816 200.512 388.592C200.768 388.368 200.948 388.148 201.052 387.932C201.164 387.716 201.22 387.48 201.22 387.224C201.22 386.776 201.072 386.424 200.776 386.168C200.48 385.912 200.068 385.784 199.54 385.784C199.052 385.784 198.628 385.92 198.268 386.192C197.916 386.456 197.632 386.868 197.416 387.428L196.54 386.996C196.812 386.276 197.208 385.736 197.728 385.376C198.256 385.008 198.872 384.824 199.576 384.824C200.112 384.824 200.58 384.924 200.98 385.124C201.38 385.316 201.692 385.592 201.916 385.952C202.148 386.312 202.264 386.74 202.264 387.236C202.264 387.612 202.196 387.952 202.06 388.256C201.932 388.56 201.712 388.86 201.4 389.156C201.088 389.444 200.66 389.76 200.116 390.104L199.228 390.668C198.852 390.908 198.564 391.124 198.364 391.316C198.172 391.508 198.04 391.704 197.968 391.904C197.896 392.096 197.856 392.312 197.848 392.552H202.408V393.5H196.684V393.056ZM203.608 389.264C203.608 387.816 203.896 386.716 204.472 385.964C205.056 385.204 205.852 384.824 206.86 384.824C207.46 384.824 207.992 384.952 208.456 385.208C208.92 385.464 209.292 385.82 209.572 386.276L208.756 386.804C208.532 386.46 208.256 386.204 207.928 386.036C207.6 385.868 207.244 385.784 206.86 385.784C206.18 385.784 205.628 386.08 205.204 386.672C204.78 387.264 204.568 388.2 204.568 389.48C204.568 389.56 204.568 389.636 204.568 389.708C204.752 389.1 205.072 388.644 205.528 388.34C205.992 388.028 206.492 387.872 207.028 387.872C207.46 387.872 207.876 387.98 208.276 388.196C208.684 388.404 209.016 388.72 209.272 389.144C209.536 389.568 209.668 390.1 209.668 390.74C209.668 391.292 209.552 391.788 209.32 392.228C209.096 392.66 208.768 393.004 208.336 393.26C207.904 393.516 207.384 393.644 206.776 393.644C205.76 393.644 204.976 393.268 204.424 392.516C203.88 391.756 203.608 390.672 203.608 389.264ZM204.964 390.8C204.964 391.36 205.12 391.816 205.432 392.168C205.744 392.512 206.192 392.684 206.776 392.684C207.384 392.684 207.844 392.512 208.156 392.168C208.468 391.816 208.624 391.36 208.624 390.8C208.624 390.192 208.464 389.712 208.144 389.36C207.832 389.008 207.388 388.832 206.812 388.832C206.276 388.832 205.832 389.008 205.48 389.36C205.136 389.704 204.964 390.184 204.964 390.8Z",fill:"#4D4D52"}),(0,s.jsx)("path",{d:"M237.684 393.056C237.684 392.304 237.844 391.688 238.164 391.208C238.492 390.728 238.968 390.292 239.592 389.9L240.468 389.348C240.908 389.068 241.256 388.816 241.512 388.592C241.768 388.368 241.948 388.148 242.052 387.932C242.164 387.716 242.22 387.48 242.22 387.224C242.22 386.776 242.072 386.424 241.776 386.168C241.48 385.912 241.068 385.784 240.54 385.784C240.052 385.784 239.628 385.92 239.268 386.192C238.916 386.456 238.632 386.868 238.416 387.428L237.54 386.996C237.812 386.276 238.208 385.736 238.728 385.376C239.256 385.008 239.872 384.824 240.576 384.824C241.112 384.824 241.58 384.924 241.98 385.124C242.38 385.316 242.692 385.592 242.916 385.952C243.148 386.312 243.264 386.74 243.264 387.236C243.264 387.612 243.196 387.952 243.06 388.256C242.932 388.56 242.712 388.86 242.4 389.156C242.088 389.444 241.66 389.76 241.116 390.104L240.228 390.668C239.852 390.908 239.564 391.124 239.364 391.316C239.172 391.508 239.04 391.704 238.968 391.904C238.896 392.096 238.856 392.312 238.848 392.552H243.408V393.5H237.684V393.056ZM244.536 384.968H250.212V385.772L246.612 393.5H245.472L249.048 385.916H244.536V384.968Z",fill:"#4D4D52"}),(0,s.jsx)("path",{d:"M287 404C295.284 404 302 397.284 302 389C302 380.716 295.284 374 287 374C278.716 374 272 380.716 272 389C272 397.284 278.716 404 287 404Z",fill:"#FFE1B7"}),(0,s.jsx)("path",{d:"M280.388 392.364C280.388 391.652 280.556 391.04 280.892 390.528C281.236 390.008 281.732 389.548 282.38 389.148L283.16 388.668C283.56 388.42 283.872 388.2 284.096 388.008C284.32 387.816 284.476 387.628 284.564 387.444C284.66 387.26 284.708 387.06 284.708 386.844C284.708 386.484 284.588 386.2 284.348 385.992C284.116 385.784 283.788 385.68 283.364 385.68C282.484 385.68 281.856 386.168 281.48 387.144L280.244 386.544C280.516 385.816 280.924 385.264 281.468 384.888C282.012 384.504 282.652 384.312 283.388 384.312C283.956 384.312 284.452 384.416 284.876 384.624C285.3 384.824 285.628 385.112 285.86 385.488C286.092 385.864 286.208 386.312 286.208 386.832C286.208 387.224 286.14 387.58 286.004 387.9C285.868 388.212 285.644 388.52 285.332 388.824C285.02 389.12 284.6 389.436 284.072 389.772L283.292 390.252C282.844 390.532 282.544 390.772 282.392 390.972C282.24 391.172 282.152 391.4 282.128 391.656H286.304V393H280.388V392.364ZM287.406 390.648C287.406 390.184 287.538 389.764 287.802 389.388C288.066 389.012 288.434 388.76 288.906 388.632C288.514 388.448 288.21 388.196 287.994 387.876C287.786 387.556 287.682 387.184 287.682 386.76C287.682 386.264 287.798 385.836 288.03 385.476C288.27 385.108 288.606 384.824 289.038 384.624C289.47 384.416 289.974 384.312 290.55 384.312C291.126 384.312 291.626 384.416 292.05 384.624C292.482 384.824 292.814 385.108 293.046 385.476C293.286 385.836 293.406 386.264 293.406 386.76C293.406 387.184 293.298 387.556 293.082 387.876C292.874 388.196 292.574 388.452 292.182 388.644C292.646 388.764 293.01 389.012 293.274 389.388C293.546 389.756 293.682 390.176 293.682 390.648C293.682 391.152 293.55 391.592 293.286 391.968C293.03 392.344 292.666 392.636 292.194 392.844C291.73 393.052 291.182 393.156 290.55 393.156C289.918 393.156 289.366 393.052 288.894 392.844C288.422 392.636 288.054 392.344 287.79 391.968C287.534 391.592 287.406 391.152 287.406 390.648ZM288.894 390.576C288.894 390.976 289.046 391.292 289.35 391.524C289.662 391.756 290.062 391.872 290.55 391.872C291.038 391.872 291.434 391.756 291.738 391.524C292.042 391.292 292.194 390.976 292.194 390.576C292.194 390.152 292.042 389.824 291.738 389.592C291.442 389.352 291.046 389.232 290.55 389.232C290.046 389.232 289.642 389.352 289.338 389.592C289.042 389.824 288.894 390.152 288.894 390.576ZM289.086 386.82C289.086 387.204 289.218 387.508 289.482 387.732C289.754 387.948 290.11 388.056 290.55 388.056C290.982 388.056 291.33 387.948 291.594 387.732C291.866 387.508 292.002 387.204 292.002 386.82C292.002 386.42 291.87 386.116 291.606 385.908C291.35 385.7 290.998 385.596 290.55 385.596C290.094 385.596 289.734 385.7 289.47 385.908C289.214 386.116 289.086 386.42 289.086 386.82Z",fill:"#B03400"}),(0,s.jsx)("path",{d:"M325 404C333.284 404 340 397.284 340 389C340 380.716 333.284 374 325 374C316.716 374 310 380.716 310 389C310 397.284 316.716 404 325 404Z",fill:"#252528",fillOpacity:"0.05"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M326.562 394H327.625V384H326.562V394ZM323.375 394H324.438V384H323.375V394ZM334 389L331.12 392L330.335 391.182L331.921 389.595H328.688V388.406H331.921L330.335 386.818L331.12 386L334 389ZM320.665 386.818L319.079 388.406H322.312V389.595H319.079L320.665 391.182L319.879 392L317 389L319.879 386L320.665 386.818Z",fill:"#777777"})]}),(0,s.jsx)("rect",{x:"210",width:"126",height:"68",rx:"12",fill:"#FFE1B7"}),(0,s.jsx)("foreignObject",{x:"210",width:"126",height:"68",rx:"12",children:(0,s.jsxs)("div",{className:"flex h-full w-full flex-col items-center justify-center",children:[(0,s.jsx)("div",{className:H()("text-[13px] text-primary-gray-280",Vo),children:g.t["@UNPACKED_SAMSUNG-HEALTH_BODY_RESTING-HEARTRATE_GRAPH_TEXT-DATE"]}),(0,s.jsx)("div",{className:H()("text-[15px] font-semibold text-[#C45400]",Fo),children:g.t["@UNPACKED_SAMSUNG-HEALTH_BODY_RESTING-HEARTRATE_GRAPH_TEXT-BPM"]})]})}),(0,s.jsx)("path",{d:"M273.588 71H272.588V233H273.588V71Z",fill:"#FFE1B7"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M273 74L268.5 68H277.5L273 74Z",fill:"#FFE1B7"}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_12247_8808",children:(0,s.jsx)("rect",{width:"340",height:"322",fill:"white",transform:"translate(0 82)"})})})]})},Xo={eslatam:"eslatam:text-base"},Ko={hu:"hu:mr-0"},Qo={th:"th:w-60 th:truncate leading-tight"},zo=H()(Object.values(Xo)),qo=H()(Object.values(Ko)),Jo=H()(Object.values(Qo)),$o=function(e){var t=e.appHealthWrapperRef,a=(0,i.useContext)(br),n=a.screen,r=a.index,l=a.setScreen,c=(0,P.qr)(),o=c.pushBackButtonStack,d=c.popBackButtonStack,u=c.colourPaletteIndex,p=(0,i.useRef)(null),x=(0,i.useRef)([]),f=(0,i.useRef)(null),m=(0,i.useRef)(null),h=(0,i.useCallback)((function(){var e=x.current[r],a=t.current,s=p.current;I.ZP.killTweensOf([a,e,s]),I.ZP.fromTo(a,{y:0},{y:-50,duration:.4,ease:"power3.out"}),I.ZP.fromTo(e,{display:"block",y:100},{y:0,duration:.4,ease:"power3.out"}),I.ZP.fromTo(s,{display:"block",pointerEvents:"auto",opacity:0},{opacity:1,duration:.4,ease:"power3.out"}),e.scrollTo({top:0}),o(m)}),[t,o,m,r]),A=(0,i.useCallback)((function(){var e=t.current,a=p.current,s=x.current[r];I.ZP.killTweensOf([e,s,a]),I.ZP.to(e,{y:0,duration:.4,ease:"power3.inOut"}),I.ZP.to(s,{y:100,duration:.4,ease:"power3.inOut"}),I.ZP.to(a,{opacity:0,duration:.4,ease:"power3.inOut",onComplete:function(){I.ZP.set(x.current,{display:"none"}),I.ZP.set(a,{display:"none",pointerEvents:"none"})}}),l("Home"),d()}),[t,r,d,l]);return(0,i.useEffect)((function(){"RestingHeartRate"===n.current&&"RestingHeartRate"!==n.prev&&h()}),[h,n]),(0,i.useEffect)((function(){m.current=A}),[A]),(0,s.jsxs)("div",{className:"gpu absolute inset-0 z-30 overflow-hidden text-center","data-component":"app-health-sleep-tracking",style:{pointerEvents:"none",display:"none"},ref:p,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-102"}),(0,s.jsx)("div",{className:"absolute inset-0","data-colour":u,children:(0,s.jsx)("div",{className:"absolute inset-0","data-ref":"app-health-sleep-tracking-wrapper",children:(0,s.jsxs)("div",{className:"absolute inset-0",children:[(0,s.jsx)("div",{className:"absolute inset-0"}),(0,s.jsxs)("div",{className:"gpu absolute inset-0 overflow-y-auto",style:{bottom:80,display:"none"},"data-ref":"app-health-resting-heart-rate-tracking-item",ref:function(e){e&&!x.current.includes(e)&&x.current.push(e)},children:[(0,s.jsx)("div",{className:"sticky top-0 z-20 bg-primary-gray-102 py-2 pb-3 pt-10",children:(0,s.jsx)("div",{className:"relative px-6 py-2",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center",children:[(0,s.jsx)("div",{className:H()("flex items-center ltr:mr-2 rtl:ml-2",qo),children:(0,s.jsx)("button",{"data-ref":"app-health-sleep-tracking-button-close",className:"rtl:-scale-x-100 rtl:transform",style:{width:30,height:40},ref:f,onClick:function(){A()},children:(0,s.jsx)(Yr,{})})}),(0,s.jsx)("div",{className:"text-2xl",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-start gap-x-3 text-start font-semibold leading-none",children:[(0,s.jsx)("div",{className:Jo,children:g.t["@UNPACKED_SAMSUNG-HEALTH_BODY_RESTING-HEARTRATE_TITLE"]}),(0,s.jsx)("div",{className:"rotate-180",children:(0,s.jsx)(Ho,{fillColor:"black",width:17.2,height:12.3})})]})})]}),(0,s.jsx)("div",{className:"flex-no-wrap flex gap-2",children:(0,s.jsx)("button",{className:"flex items-center justify-center text-center",style:{width:30,height:30},children:(0,s.jsx)(Gr,{})})})]})})}),(0,s.jsx)("div",{className:"gpu relative w-full",children:(0,s.jsx)("div",{className:"relative w-full py-2.5",children:(0,s.jsxs)("div",{className:"flex w-full items-center justify-around px-6",children:[(0,s.jsx)("div",{className:"w-1/3 rounded-full bg-[#E9E9EC] py-2 font-semibold",children:g.t["@UNPACKED_SAMSUNG-HEALTH_BODY_RESTING-HEARTRATE_BUTTON-7-DAYS"]}),(0,s.jsx)("div",{className:"w-1/3 text-primary-black-350/50",children:g.t["@UNPACKED_SAMSUNG-HEALTH_BODY_RESTING-HEARTRATE_BUTTON-31-DAYS"]}),(0,s.jsx)("div",{className:"w-1/3 text-primary-black-350/50",children:g.t["@UNPACKED_SAMSUNG-HEALTH_BODY_RESTING-HEARTRATE_BUTTON-12-MOTHS"]})]})})}),(0,s.jsx)("div",{className:"w-full pb-5 text-start",children:(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsxs)("div",{className:"relative w-full rounded-3xl bg-primary-white-150 p-6",children:[(0,s.jsx)("div",{className:"w-full text-[#4D4D52]",children:g.t["@UNPACKED_SAMSUNG-HEALTH_BODY_RESTING-HEARTRATE_DATE"]}),(0,s.jsxs)("div",{className:"flex w-full items-end gap-x-2 pt-6",children:[(0,s.jsx)("div",{className:"",children:g.t["@UNPACKED_SAMSUNG-HEALTH_BODY_RESTING-HEARTRATE_AVERAGE"]}),(0,s.jsx)("div",{className:"text-3xl font-semibold",children:"62"}),(0,s.jsx)("div",{className:H()("text-[19px] font-semibold",zo),children:g.t["@UNPACKED_SAMSUNG-HEALTH_BODY_RESTING-HEARTRATE_BPM"]})]}),(0,s.jsx)("div",{className:"pt-4 pr-2 pb-10 text-primary-gray-260",children:g.t["@UNPACKED_SAMSUNG-HEALTH_BODY_RESTING-HEARTRATE_IMPRESSION"]}),(0,s.jsxs)("div",{className:"flex items-center gap-x-2 pb-4 text-xs text-primary-gray-260",children:[(0,s.jsx)("div",{className:"h-[9px] w-[9px] rounded-full bg-[#FBE0D4]",children:" "}),g.t["@UNPACKED_SAMSUNG-HEALTH_BODY_RESTING-HEARTRATE_RANGE"]]}),(0,s.jsx)(ht,{title:g.t["@UNPACKED_SAMSUNG-HEALTH_BODY_RESTING-HEARTRATE_GRAPH_POP-UP-TITLE"],text:g.t["@UNPACKED_SAMSUNG-HEALTH_BODY_RESTING-HEARTRATE_GRAPH_POP-UP-TEXT"],cta:{text:g.t["@UNPACKED_SAMSUNG-HEALTH_BODY_RESTING-HEARTRATE_GRAPH_POP-UP-OK"]},className:"relative -mt-[60px]",children:(0,s.jsx)(Wo,{})})]})})})]})]})})})]})},ed={de:"de:text-xs de:foldCover:text-xxs",eslatam:"eslatam:text-xxs eslatam:foldCover:text-[10px]",fr:"fr:text-[10px] fr:foldCover:text-[9px]",ca:"ca:text-[9px]",br:"br:text-[10px]",es:"es:text-xs es:foldCover:text-xxs",vn:"vn:text-xs",th:"th:text-xs th:gap-2",id:"id:text-xs id:gap-2"},td={th:"th:w-16 th:text-right"},ad=H()(Object.values(ed)),sd=H()(Object.values(td)),id={label:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_GOOD"],labelColor:"#8C8C91",barColor:"#88939E"},nd={label:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_EXCELLENT"],labelColor:"#2C8DFF",barColor:"#4B9EFF"},rd=function(e){var t=e.title,a=e.barPercent,i=a>=95?nd:id;return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:H()("flex items-center justify-between gap-4 pb-2 text-sm",ad),children:[(0,s.jsxs)("div",{className:"flex items-center gap-x-2.5",children:[(0,s.jsx)("div",{children:t}),(0,s.jsx)("img",{className:"rtl:-scale-x-100 rtl:transform",src:Ll,alt:"arrow icon"})]}),(0,s.jsx)("div",{className:sd,style:{color:i.labelColor},children:i.label})]}),(0,s.jsx)("div",{className:"h-[6px] w-full overflow-hidden rounded-3xl bg-primary-gray-101",children:(0,s.jsx)("div",{className:"h-full rounded-3xl",style:{width:"".concat(a,"%"),backgroundColor:i.barColor}})})]})},ld="/_next/static/media/energy-score-graph.ab64f1dd.svg",cd="/_next/static/media/heart-rate-during-sleep.50895007.svg",od="/_next/static/media/heart-rate-variability-during-sleep.031244c7.svg",dd=["br","tr","fr","it","id","ru","vn","de","es","ca","cz","se","hu","nl","lt","hr","gr"].includes(z.e.languageCode)?{src:"/_next/static/media/skin-temperature-comma-variant.39532c32.svg",height:99,width:315}:{src:"/_next/static/media/skin-temperature.cc03f928.svg",height:100,width:315},ud=H()(Object.values({br:"br:text-base br:sm:text-lg br:md:text-lg br:xsl:text-base br:smd:text-sm br:xmd:text-sm br:xxs:text-sm br:xsm:text-sm br:xxsm:text-sm br:foldCover:text-xs",es:"es:text-base es:sm:text-lg es:md:text-lg es:xsl:text-base es:smd:text-sm es:xmd:text-sm es:xxs:text-sm es:xsm:text-sm es:xxsm:text-sm es:foldCover:text-xs",it:"it:text-base it:sm:text-lg it:md:text-lg it:xsl:text-base it:smd:text-sm it:xmd:text-sm it:xxs:text-sm it:xsm:text-sm it:xxsm:text-sm it:foldCover:text-xs"}));function pd(e){var t=e.children;return(0,s.jsxs)("div",{className:"flex justify-between text-base font-semibold",children:[t,(0,s.jsx)(Zr,{className:""})]})}function xd(e){var t=e.children;return(0,s.jsx)("div",{className:"relative w-full rounded-3xl bg-primary-white-150 p-6",children:t})}var fd=[{title:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_SLEEP-TIME-AVG"],barPercent:90},{title:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_SLEEP-TIME-CONSISTENCY"],barPercent:95},{title:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_WAKE-TIME-CONSISTENCY"],barPercent:96},{title:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_SLEEP-TIMING"],barPercent:86},{title:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_PREVIOUS-DAY"],barPercent:87},{title:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_SLEEPING-HR"],barPercent:90},{title:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_SLEEPING-HRV"],barPercent:98}],md=function(e){var t=e.appHealthWrapperRef,a=(0,i.useContext)(br),n=a.screen,r=a.index,l=a.setScreen,c=(0,P.qr)(),o=c.appName,d=c.pushBackButtonStack,u=c.popBackButtonStack,p=c.colourPaletteIndex,x=(0,i.useRef)(null),f=(0,i.useRef)([]),m=(0,i.useRef)(null),h=(0,i.useRef)(null),A=(0,i.useCallback)((function(){var e=f.current[r],a=t.current,s=x.current;I.ZP.killTweensOf([a,e,s]),I.ZP.fromTo(a,{y:0},{y:-50,duration:.4,ease:"power3.out"}),I.ZP.fromTo(e,{display:"block",y:100},{y:0,duration:.4,ease:"power3.out"}),I.ZP.fromTo(s,{display:"block",pointerEvents:"auto",opacity:0},{opacity:1,duration:.4,ease:"power3.out"}),e.scrollTo({top:0}),d(h)}),[t,d,h,r]),E=(0,i.useCallback)((function(){var e=t.current,a=x.current,s=f.current[r];I.ZP.killTweensOf([e,s,a]),I.ZP.to(e,{y:0,duration:.4,ease:"power3.inOut"}),I.ZP.to(s,{y:100,duration:.4,ease:"power3.inOut"}),I.ZP.to(a,{opacity:0,duration:.4,ease:"power3.inOut",onComplete:function(){I.ZP.set(f.current,{display:"none"}),I.ZP.set(a,{display:"none",pointerEvents:"none"})}}),l("Home"),u()}),[t,r,u,l]);return(0,i.useEffect)((function(){"EnergyScore"===n.current&&"EnergyScore"!==n.prev&&A()}),[A,n]),(0,i.useEffect)((function(){h.current=E}),[E]),(0,s.jsxs)("div",{className:"gpu absolute inset-0 z-30 overflow-hidden","data-component":"app-health-sleep-tracking",style:{pointerEvents:"none",display:"none"},ref:x,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-102"}),(0,s.jsx)("div",{className:"absolute inset-0","data-colour":p,children:(0,s.jsx)("div",{className:"absolute inset-0","data-ref":"app-health-sleep-tracking-wrapper",children:(0,s.jsxs)("div",{className:"absolute inset-0",children:[(0,s.jsx)("div",{className:"absolute inset-0"}),(0,s.jsxs)("div",{className:"gpu absolute inset-0 overflow-y-auto",style:{bottom:80,display:"none"},"data-ref":"app-health-resting-heart-rate-tracking-item",ref:function(e){e&&!f.current.includes(e)&&f.current.push(e)},children:[(0,s.jsx)("div",{className:"sticky top-0 z-20 bg-primary-gray-102 py-2 pb-3 pt-10",children:(0,s.jsx)("div",{className:"relative px-6 py-2",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center",children:[(0,s.jsx)("div",{className:"flex items-center ltr:mr-2 rtl:ml-2",children:(0,s.jsx)("button",{"data-ref":"app-health-sleep-tracking-button-close",className:"rtl:-scale-x-100 rtl:transform",style:{width:30,height:40},ref:m,onClick:function(){E()},children:(0,s.jsx)(Yr,{})})}),(0,s.jsx)("div",{className:H()("text-2xl xsm:text-lg",ud),children:(0,s.jsx)("div",{className:"flex-no-wrap flex items-center justify-start font-semibold leading-none",children:(0,s.jsx)("div",{children:g.t["@UNPACKED_SAMSUNG-HEALTH_BODY_ENERGY-SCORE_TITLE"]})})})]}),(0,s.jsxs)("div",{className:"flex-no-wrap flex gap-2",children:[(0,s.jsx)("button",{className:"flex items-center justify-center text-center",style:{width:30,height:30},children:(0,s.jsx)(Ur,{})}),(0,s.jsx)("button",{className:"flex items-center justify-center text-center",style:{width:30,height:30},children:(0,s.jsx)(Br,{})}),(0,s.jsx)("button",{className:"flex items-center justify-center text-center",style:{width:30,height:30},children:(0,s.jsx)(Gr,{})})]})]})})}),(0,s.jsxs)("div",{className:"w-full pb-5 text-start",children:[(0,s.jsx)("div",{children:(0,s.jsx)("img",{src:ld,className:"w-full",alt:""})}),(0,s.jsxs)(fl,{children:[(0,s.jsxs)(xd,{children:[(0,s.jsx)("div",{className:"flex w-full justify-end",children:(0,s.jsx)(Zr,{className:""})}),(0,s.jsxs)("div",{className:"flex w-full justify-center",children:[(0,s.jsx)("div",{className:"absolute flex -translate-y-[25%] justify-center",children:"EnergyScore"===n.current&&"health"===o&&(0,s.jsx)(Re.Z,{path:"/assets/lotties/health/energy-score-arc.json",height:180,width:180})}),(0,s.jsx)("div",{className:"h-full pt-20",children:(0,s.jsx)("div",{className:"flex w-full justify-center py-1.5 text-[15px] font-semibold",children:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_GAUGE-EXCELLENT"]})})]}),(0,s.jsx)("div",{className:"pt-4 pb-2 text-xl font-semibold",children:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_WELL-RESTED"]}),(0,s.jsx)("div",{className:"text-[15px]",children:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_WELL-RESTED_BODY"]})]}),(0,s.jsxs)(xd,{children:[(0,s.jsx)("div",{className:"pb-4 text-base font-semibold",children:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_FACTORS"]}),(0,s.jsx)(ht,{title:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_FACTORS-POP-UP-TITLE"],text:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_FACTORS-POP-UP-TEXT"],cta:{text:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_FACTORS-POP-UP-OK"]},children:(0,s.jsx)("div",{className:"space-y-6 py-2",children:fd.map((function(e,t){return(0,s.jsx)(rd,{title:e.title,barPercent:e.barPercent},t)}))})})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"pl-6 pb-1 text-[13px] font-semibold text-primary-gray-260",children:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_MORE"]}),(0,s.jsxs)(xd,{children:[(0,s.jsxs)("div",{className:"pb-12",children:[(0,s.jsx)(pd,{children:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_MORE-HR"]}),(0,s.jsx)("div",{className:"pb-6 text-sm",children:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_MORE-HR-AVERAGE"]}),(0,s.jsx)(ht,{title:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_MORE-POP-UP-TITLE"],text:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_MORE-POP-UP-TEXT"],cta:{text:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_MORE-POP-UP-OK"]},children:(0,s.jsx)("img",{src:cd,className:"w-full",alt:""})})]}),(0,s.jsxs)("div",{className:"pb-12",children:[(0,s.jsx)(pd,{children:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_MORE-HR-SLEEP"]}),(0,s.jsx)("div",{className:"pb-6 text-sm",children:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_MORE-HR-SLEEP-AVG"]}),(0,s.jsx)(ht,{title:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_MORE-POP-UP-TITLE"],text:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_MORE-POP-UP-TEXT"],cta:{text:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_MORE-POP-UP-OK"]},children:(0,s.jsx)("img",{src:od,className:"w-full",alt:""})})]}),(0,s.jsxs)("div",{className:"pb-12",children:[(0,s.jsx)(pd,{children:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_MORE-SKIN-TEMP"]}),(0,s.jsx)("div",{className:"pb-6 text-sm",children:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_MORE-SKIN-TEMP-VAL"]}),(0,s.jsx)(ht,{title:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_MORE-POP-UP-TITLE"],text:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_MORE-POP-UP-TEXT"],cta:{text:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_MORE-POP-UP-OK"]},children:(0,s.jsx)("img",{src:dd.src,className:"w-full",alt:""})}),(0,s.jsxs)("div",{className:"mt-5 flex items-center gap-x-2 text-xs text-primary-gray-260",children:[(0,s.jsx)("div",{className:"h-[9px] w-[9px] bg-[#AFAFAF]/25"}),g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_MORE-SKIN-TEMP-RANGE"]]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(pd,{children:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_MORE-RESPITORY-RATE"]}),(0,s.jsx)("div",{className:"text-sm",children:g.t["@UNPACKED_SAMSUNG-HEALTH_ENERGY-SCORE_MORE-RESPITORY-RATE-VAL"]})]})]})]})]})]})]})]})})})]})},hd="/_next/static/media/icon-arrow-right.b2f4572b.png",Ad=[{id:"one",src:"/_next/static/media/bench-dips.4b351084.png",title:g.t["@PARADIGM_HEALTH_FITNESS_CARD_PICKED_FOR_YOU_ITEM_ONE_TITLE"],subtitle:g.t["@PARADIGM_HEALTH_FITNESS_CARD_PICKED_FOR_YOU_ITEM_ONE_SUBTITLE"]},{id:"two",src:"/_next/static/media/all-around-core.bd2979c7.png",title:g.t["@PARADIGM_HEALTH_FITNESS_CARD_PICKED_FOR_YOU_ITEM_TWO_TITLE"],subtitle:g.t["@PARADIGM_HEALTH_FITNESS_CARD_PICKED_FOR_YOU_ITEM_TWO_SUBTITLE"]}],Ed=[{id:"one",imageSrc:"/_next/static/media/whats-new-1.099c2321.png",title:g.t["@PARADIGM_HEALTH_FITNESS_CARD_WHATS_NEW_ITEM_ONE_TITLE"],time:g.t["@PARADIGM_HEALTH_FITNESS_CARD_WHATS_NEW_ITEM_ONE_TIME"],subtitle:g.t["@PARADIGM_HEALTH_FITNESS_CARD_WHATS_NEW_ITEM_ONE_SUBTITLE"]},{id:"two",imageSrc:"/_next/static/media/whats-new-2.791930a9.png",title:g.t["@PARADIGM_HEALTH_FITNESS_CARD_WHATS_NEW_ITEM_TWO_TITLE"],time:g.t["@PARADIGM_HEALTH_FITNESS_CARD_WHATS_NEW_ITEM_TWO_TIME"],subtitle:g.t["@PARADIGM_HEALTH_FITNESS_CARD_WHATS_NEW_ITEM_TWO_SUBTITLE"]},{id:"three",imageSrc:"/_next/static/media/whats-new-3.66b17f0e.png",title:g.t["@PARADIGM_HEALTH_FITNESS_CARD_WHATS_NEW_ITEM_THREE_TITLE"],time:g.t["@PARADIGM_HEALTH_FITNESS_CARD_WHATS_NEW_ITEM_THREE_TIME"],subtitle:g.t["@PARADIGM_HEALTH_FITNESS_CARD_WHATS_NEW_ITEM_THREE_SUBTITLE"]}],gd={ca:"ca:text-sm foldCover:ca:text-xs flip:ca:text-xs smFlip:ca:text-xs",ru:"foldCover:ru:text-xs flip:ru:text-sm smFlip:ru:text-sm"},vd={ca:"ca:text-sm foldCover:ca:text-xs flip:ca:text-xs smFlip:ca:text-xs",ru:"foldCover:ru:!text-xs flip:ru:text-sm smFlip:ru:text-sm"},Cd=H()(Object.values(gd)),jd=H()(Object.values(vd));function Nd(){var e=(0,pt.O)().pushOverlayStack;return(0,s.jsxs)("div",{className:"relative w-full","data-ref":"app-health-container",children:[(0,s.jsx)("div",{className:"sticky top-0 z-20 bg-primary-gray-102 py-4 pt-[3.75rem]",children:(0,s.jsx)("div",{className:"relative px-6",children:(0,s.jsx)("div",{className:"flex-no-wrap flex w-full items-center justify-between",children:(0,s.jsx)("div",{className:"relative flex w-full items-center justify-between",children:(0,s.jsx)("div",{className:"flex-no-wrap flex items-center",children:(0,s.jsx)("div",{className:"text-2xl font-semibold",children:g.t["SAMSUNG-HEALTH_FITNESS_H1"]})})})})})}),(0,s.jsxs)(fl,{className:"perspective-1000 transform-3d",children:[(0,s.jsx)("div",{className:"relative","data-ref":"app-health-button-recommendation",children:(0,s.jsxs)("div",{className:"relative w-full overflow-hidden rounded-3xl",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-white-150"}),(0,s.jsxs)("div",{className:"relative w-full p-4",children:[(0,s.jsx)("div",{children:g.t["@PARADIGM_HEALTH_FITNESS_RECOMMENDATION_REQUEST_TEXT"]}),(0,s.jsxs)("div",{className:"flex flex-row justify-end gap-6 py-3",children:[(0,s.jsx)("div",{className:H()("text-base font-semibold",Cd),children:g.t["@PARADIGM_HEALTH_FITNESS_RECOMMENDATION_REQUEST_DENY_BUTTON"]}),(0,s.jsx)("div",{className:H()("text-base font-semibold",jd),children:g.t["@PARADIGM_HEALTH_FITNESS_RECOMMENDATION_REQUEST_CONFIRM_BUTTON"]})]})]})]})}),(0,s.jsx)("div",{className:"relative","data-ref":"app-health-button-picked-for-you",children:(0,s.jsxs)("div",{className:"relative w-full overflow-hidden rounded-3xl",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-white-150"}),(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsxs)("div",{className:"relative flex w-full items-center justify-between px-4 pb-4 pt-6",children:[(0,s.jsx)("div",{className:"font-semibold",style:{fontSize:"1.16rem"},children:g.t["@PARADIGM_HEALTH_FITNESS_CARD_PICKED_FOR_YOU_TITLE"]}),(0,s.jsx)("div",{className:"relative py-0.5 ltr:ml-1 rtl:mr-1",children:(0,s.jsx)("img",{className:"rtl:-scale-x-100 rtl:transform","data-loader":"image","data-src":hd,style:{width:22},src:hd,alt:""})})]}),(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"scrolling-touch relative flex w-full overflow-x-auto pb-0",children:(0,s.jsx)("div",{className:"flex-no-wrap relative flex items-start justify-center px-3",children:Ad.map((function(e){return(0,s.jsx)(ie,{path:"/app/health/fitness/picked-for-you/".concat(e.id),page:M.dC.Health,children:(0,s.jsx)(ht,{title:g.t["@PARADIGM_HEALTH_FITNESS_CARD_PICKED_FOR_YOU_POPUP_TITLE"],text:g.t["@PARADIGM_HEALTH_FITNESS_CARD_PICKED_FOR_YOU_POPUP_TEXT"],cta:{text:g.t["@PARADIGM_HEALTH_FITNESS_CARD_PICKED_FOR_YOU_POPUP_CTA"]},children:(0,s.jsx)("div",{className:"relative h-full w-full overflow-hidden rounded-xl",style:{width:272},children:(0,s.jsxs)("div",{className:"relative pb-6 pt-0.5",children:[(0,s.jsx)("div",{className:"flex w-full items-center justify-center",children:(0,s.jsx)("div",{className:"inline-block overflow-hidden px-1",children:(0,s.jsx)("img",{"data-loader":"image","data-src":e.src,className:"w-full",src:e.src,alt:""})})}),(0,s.jsxs)("div",{className:"pt-2.5 ltr:pl-1.5 rtl:pr-1.5",children:[(0,s.jsx)("div",{className:"text-dots mb-0.5 text-base font-normal leading-tight",children:e.title}),(0,s.jsx)("div",{className:"text-sm font-normal opacity-60",children:e.subtitle})]})]})})})},e.id)}))})})})]})]})}),(0,s.jsx)("div",{className:"relative","data-ref":"app-health-button-whats-new",children:(0,s.jsxs)("div",{className:"relative w-full overflow-hidden rounded-3xl",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-white-150"}),(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsxs)("div",{className:"relative flex w-full items-center justify-between px-4 pb-4 pt-6",children:[(0,s.jsx)("div",{className:"font-semibold",style:{fontSize:"1.16rem"},children:g.t["@PARADIGM_HEALTH_FITNESS_CARD_WHATS_NEW_TITLE"]}),(0,s.jsx)("div",{className:"relative py-0.5 ltr:ml-1 rtl:mr-1",children:(0,s.jsx)("img",{className:"rtl:-scale-x-100 rtl:transform","data-loader":"image","data-src":hd,style:{width:22},src:hd,alt:""})})]}),(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"scrolling-touch relative flex w-full overflow-x-auto pb-0",children:(0,s.jsx)("div",{className:"flex-no-wrap relative flex items-center justify-center gap-1 px-3",children:Ed.map((function(t){return(0,s.jsx)("div",{className:"relative h-full w-[135px] overflow-hidden rounded-xl",children:(0,s.jsxs)("div",{className:"relative flex h-full flex-col justify-between pb-6 pt-0.5",onClick:function(){return function(t){(0,V.Kq)("/app/health/fitness/whats-new/".concat(t.id),M.dC.Health,"pageview"),e({data:{title:g.t["@PARADIGM_HEALTH_FITNESS_CARD_WHATS_NEW_POPUP_TITLE"],text:g.t["@PARADIGM_HEALTH_FITNESS_CARD_WHATS_NEW_POPUP_TEXT"],cta:{text:g.t["@PARADIGM_HEALTH_FITNESS_CARD_WHATS_NEW_POPUP_CTA"]}},type:"alert"})}(t)},children:[(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("div",{className:"inline-block overflow-hidden px-1",children:(0,s.jsx)("img",{"data-loader":"image","data-src":t.imageSrc,className:"w-full",src:t.imageSrc,alt:""})}),(0,s.jsx)("div",{className:"text-dots mb-0.5 break-words text-base font-semibold leading-tight",children:t.title})]}),(0,s.jsx)("div",{className:"flex flex-col justify-between",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"mt-auto text-sm font-normal text-primary-gray-260",children:t.time}),(0,s.jsx)("div",{className:"mt-auto text-sm font-normal text-primary-gray-260",children:t.subtitle})]})})]})},t.id)}))})})})]})]})})]})]})}var Td=a(57031),wd=H()(Object.values({eslatam:"eslatam:text-xs",de:"de:text-xs de:md:text-sm de:foldCover:text-xxs",it:"it:text-xs it:md:text-sm"}));function _d(e){var t=e.label;return(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsxs)("div",{className:H()("mb-2 flex h-fit w-fit items-center rounded-3xl bg-primary-green-50 px-3 py-1 text-sm font-semibold text-[#008C35]",wd),children:[(0,s.jsx)("div",{className:"relative flex items-center",children:(0,s.jsx)("div",{className:"absolute -bottom-4 left-7 -z-10 rotate-45 rounded-sm border-[5px] border-solid border-primary-green-50"})}),t]}),(0,s.jsx)("div",{className:"h-[10px] w-full overflow-hidden rounded-3xl bg-primary-gray-101",children:(0,s.jsx)("div",{className:"h-full w-11 rounded-l-3xl bg-primary-green-201"})})]})}function bd(e){var t=e.children;return(0,s.jsx)("div",{className:"flex items-center justify-center whitespace-nowrap rounded-2xl bg-[#0000000d] py-1 px-2 text-center text-sm font-semibold text-[#848487]",children:t})}function Sd(e){var t=e.children;return(0,s.jsx)("div",{className:"flex items-center justify-center whitespace-nowrap text-center text-sm font-semibold text-[#848487]",children:t})}function yd(e){var t=e.labelOne,a=e.labelTwo,i=e.valueOne,n=e.valueTwo;return(0,s.jsxs)("div",{className:"grid grid-cols-2 grid-rows-2 gap-y-2 gap-x-2",children:[(0,s.jsx)(bd,{children:t}),(0,s.jsx)(Sd,{children:i}),(0,s.jsx)(bd,{children:a}),(0,s.jsx)(Sd,{children:n})]})}var Rd=function(){return(0,s.jsxs)("svg",{width:17,height:18,viewBox:"0 0 17 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_7214_506)",children:[(0,s.jsx)("path",{d:"M5.63195 2.06151H11.2769V0.658764C11.2769 0.33737 11.672 0.0287224 11.9741 0.00322779C12.5078 -0.0417946 12.7967 0.373442 12.817 0.861365C12.8335 1.26033 12.8019 1.66282 12.8165 2.06151C13.3145 2.06558 13.7991 2.03032 14.2888 2.13582C15.7532 2.45098 16.8323 3.73683 16.9091 5.23884V14.8218C16.8283 16.5283 15.4403 17.9186 13.7423 18H3.15324C1.46636 17.9194 0.0851278 16.5232 0 14.8354V5.22555C0.0816146 3.67689 1.24314 2.36202 2.76652 2.10653C3.20432 2.03303 3.64996 2.07019 4.09262 2.06178C4.10695 1.66309 4.0756 1.2606 4.09181 0.861636C4.11343 0.329504 4.45637 -0.0952247 5.02714 0.0192297C5.29036 0.0721175 5.63222 0.374798 5.63222 0.659036V2.06178L5.63195 2.06151ZM2.05793 6.18621C1.76309 6.48211 1.58311 6.88297 1.54014 7.29984L1.53933 14.8083C1.6131 15.6762 2.31494 16.3808 3.18027 16.4548H13.7286C14.5987 16.3797 15.3033 15.6686 15.3695 14.7947V7.31258C15.2895 6.37905 14.5004 5.65625 13.5667 5.65245H3.35593C2.86705 5.66194 2.40412 5.83905 2.05793 6.18621Z",fill:"black"}),(0,s.jsx)("path",{d:"M5.40812 12.0037C6.32669 12.9624 4.82087 14.3012 3.9777 13.3107C3.17372 12.3663 4.54306 11.1008 5.40812 12.0037Z",fill:"black"}),(0,s.jsx)("path",{d:"M8.95134 8.47614C9.71182 8.40128 10.2639 9.19053 9.91991 9.88187C9.57399 10.5767 8.57516 10.5906 8.20438 9.90899C7.87549 9.30444 8.26951 8.5434 8.95134 8.47614Z",fill:"black"}),(0,s.jsx)("path",{d:"M12.0842 8.47591C12.9541 8.38587 13.5024 9.40647 12.9311 10.0712C12.533 10.5345 11.8223 10.5269 11.4391 10.0503C10.9626 9.458 11.3348 8.55321 12.0842 8.47591Z",fill:"black"}),(0,s.jsx)("path",{d:"M7.16245 13.3597C6.67358 12.8645 6.86005 12.0145 7.50513 11.7685C8.35424 11.4447 9.14364 12.3654 8.6907 13.1615C8.3764 13.7137 7.6089 13.8119 7.16245 13.3597Z",fill:"black"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_7214_506",children:(0,s.jsx)("rect",{width:"16.9091",height:18,fill:"white"})})})]})},Ld=[{weekday:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_CALENDAR-SUNDAY-TEXT"],day:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_CALENDAR-SUNDAY-VALUE"],heartSrc:"/_next/static/media/heart-sunday.0ec8ec4f.png"},{weekday:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_CALENDAR-MONDAY-TEXT"],day:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_CALENDAR-MONDAY-VALUE"],heartSrc:"/_next/static/media/heart-monday.5021a4ba.svg"},{weekday:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_CALENDAR-TUESDAY-TEXT"],day:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_CALENDAR-TUESDAY-VALUE"],heartSrc:"/_next/static/media/heart-tuesday.fb4f86fb.svg"},{weekday:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_CALENDAR-WEDNESDAY-TEXT"],day:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_CALENDAR-WEDNESDAY-VALUE"],heartSrc:"/_next/static/media/heart-wednesday.72d89e92.svg"},{weekday:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_CALENDAR-THURSDAY-TEXT"],day:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_CALENDAR-THURSDAY-VALUE"],heartSrc:"/_next/static/media/heart-thursday.80f7e91c.png"},{weekday:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_CALENDAR-FRIDAY-TEXT"],day:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_CALENDAR-FRIDAY-VALUE"],heartSrc:"/_next/static/media/heart-friday.2fa16423.png"},{weekday:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_CALENDAR-SATURDAY-TEXT"],day:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_CALENDAR-SATURDAY-VALUE"],heartSrc:null}],Id=function(){return(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:"relative z-50 grid grid-cols-7 px-[10px]",children:Ld.map((function(e,t){return(0,s.jsxs)("div",{className:"flex flex-col items-center gap-y-[14px]",children:[(0,s.jsx)("span",{className:H()("text-xs font-semibold text-primary-black-350",{"text-primary-red-600":0==t}),children:e.weekday}),(0,s.jsxs)("button",{className:"flex flex-1 flex-col items-center justify-end gap-y-1 py-3 px-[5px]",children:[e.heartSrc&&(0,s.jsx)("img",{src:e.heartSrc,className:"w-[36px] flex-1",alt:""}),(0,s.jsx)("span",{className:H()("justify-self-end text-xs text-[#4D4D52]",{"text-primary-red-600":0==t,"font-semibold text-[#010102]":5==t}),children:e.day})]})]},e.day)}))}),(0,s.jsx)("div",{className:"absolute left-[calc((100vw-20px)/7*5+10px)] bottom-0 h-[80px] w-[calc((100vw-20px)/7)] items-end justify-center rounded-full border-[1px] border-[#DEDEE1] bg-white p-1"})]})},Pd="/_next/static/media/steps.6eb5c59f.svg",Od="/_next/static/media/active-time.d702d56d.svg",Md="/_next/static/media/activity-calories.80c4abce.svg",Dd=function(){var e=(0,i.useContext)(br).screen,t=(0,P.qr)().appName;return(0,s.jsxs)("div",{className:"flex flex-col gap-y-8",children:[(0,s.jsx)("div",{className:"flex items-center justify-center",children:"DailyActivity"===e.current&&"health"===t&&(0,s.jsx)(Re.Z,{path:"/assets/lotties/health/heart-graph.json",height:120,width:140,delay:.4})}),(0,s.jsxs)("div",{className:"flex flex-row flex-wrap justify-evenly gap-y-6",children:[(0,s.jsxs)("div",{className:"flex min-w-[calc((100vw-68px)/3)] flex-col items-center gap-y-0.5 px-1.5",children:[(0,s.jsx)("span",{className:"text-xs text-primary-gray-260",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_STEPS-LABEL"]}),(0,s.jsxs)("div",{className:"flex items-center gap-x-1",children:[(0,s.jsx)("img",{src:Pd,className:"h-3 w-3",alt:"steps icon"}),(0,s.jsx)("span",{className:"text-[19px] font-semibold leading-[19px] text-primary-black-350",children:(0,g.H3)(Zt)})]}),(0,s.jsxs)("span",{className:"text-xs text-primary-black-350",children:["/",(0,g.H3)(Vt)]})]}),(0,s.jsxs)("div",{className:"flex min-w-[calc((100vw-68px)/3)] flex-col items-center gap-y-0.5 px-1.5",children:[(0,s.jsx)("span",{className:"text-xs text-primary-gray-260",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_ACTIVE-TIME-LABEL"]}),(0,s.jsxs)("div",{className:"flex items-center gap-x-1",children:[(0,s.jsx)("img",{src:Od,className:"h-3 w-3",alt:"active time icon"}),(0,s.jsx)("span",{className:"text-[19px] font-semibold leading-[19px] text-primary-black-350",children:(0,g.H3)(Yt)})]}),(0,s.jsxs)("span",{className:"text-xs text-primary-black-350",children:["/",(0,g.H3)(Wt),g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_MINUTES-UNIT"]]})]}),(0,s.jsxs)("div",{className:"flex min-w-[calc((100vw-68px)/3)] flex-col items-center gap-y-0.5 px-1.5",children:[(0,s.jsx)("span",{className:"text-xs text-primary-gray-260",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_ACTIVITY-CALORIES-LABEL"]}),(0,s.jsxs)("div",{className:"flex items-center gap-x-1",children:[(0,s.jsx)("img",{src:Md,className:"h-3 w-3",alt:"activity calories icon"}),(0,s.jsx)("span",{className:"text-[19px] font-semibold leading-[19px] text-primary-black-350",children:(0,g.H3)(Ft)})]}),(0,s.jsxs)("span",{className:"text-xs text-primary-black-350",children:["/",(0,g.H3)(Xt),g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_CALORIES-UNIT"]]})]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-y-3",children:[(0,s.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,s.jsx)("span",{className:"max-w-[50vw] text-sm text-primary-gray-260",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_TOTAL-BURNED-CALORIES-LABEL"]}),(0,s.jsx)("hr",{className:"flex-1 border-dashed border-primary-gray-155"}),(0,s.jsxs)("span",{className:"text-primary-black-350",children:[(0,s.jsx)("span",{className:"text-sm font-semibold ",children:(0,g.H3)(Kt)}),(0,s.jsx)("span",{className:"text-sm",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_CALORIES-UNIT"]})]})]}),(0,s.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,s.jsx)("span",{className:"max-w-[50vw] text-sm text-primary-gray-260",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_DISTANCE-WHILE-ACTIVE-LABEL"]}),(0,s.jsx)("hr",{className:"flex-1 border-dashed border-primary-gray-155"}),(0,s.jsxs)("span",{className:"text-primary-black-350",children:[(0,s.jsx)("span",{className:"text-sm font-semibold ",children:(0,g.H3)(Qt,1)}),(0,s.jsx)("span",{className:"text-sm",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_DISTANCE-UNIT"]})]})]})]})]})},Gd=H()(Object.values({it:"it:whitespace-pre-line"})),kd=function(){return(0,s.jsxs)("div",{className:"flex flex-col gap-[43px]",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-y-2.5",children:[(0,s.jsx)("span",{className:"text-base font-semibold text-[#010102]",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_MOVEMENTS-HEADER"]}),(0,s.jsxs)("div",{className:"grid grid-cols-2",children:[(0,s.jsxs)("div",{className:"flex flex-col justify-end",children:[(0,s.jsx)("span",{className:"flex flex-1 items-center text-xs text-primary-gray-260",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_FLOORS-LABEL"]}),(0,s.jsx)("span",{className:"text-[19px] font-semibold text-primary-black-350",children:(0,g.H3)(zt.floors)})]}),(0,s.jsxs)("div",{className:"flex flex-col justify-end",children:[(0,s.jsx)("span",{className:"flex flex-1 items-center text-xs text-primary-gray-260",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_ACTIVE-HOURS-LABEL"]}),(0,s.jsx)("span",{className:"text-[19px] font-semibold text-primary-black-350",children:(0,g.H3)(zt.activeHours)})]})]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-y-2.5",children:[(0,s.jsx)("span",{className:"text-base font-semibold text-[#010102]",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_TIME-HEADER"]}),(0,s.jsxs)("div",{className:"grid grid-cols-2",children:[(0,s.jsxs)("div",{className:"flex flex-col justify-end",children:[(0,s.jsx)("span",{className:H()("flex flex-1 items-center text-xs text-primary-gray-260",Gd),children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_TIME-EXCERCISE-LABEL"]}),(0,s.jsxs)("span",{className:"text-[19px] font-semibold text-primary-black-350",children:[(0,g.H3)(qt.excercise),g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_MINUTES-UNIT"]]})]}),(0,s.jsxs)("div",{className:"flex flex-col justify-end",children:[(0,s.jsx)("span",{className:"flex flex-1 items-center text-xs text-primary-gray-260",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RAISED-HR-ACTIVITY-LABEL"]}),(0,s.jsxs)("span",{className:"text-[19px] font-semibold text-primary-black-350",children:[(0,g.H3)(qt.raisedHRActivity),g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_MINUTES-UNIT"]]})]})]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-y-2.5",children:[(0,s.jsx)("span",{className:"text-base font-semibold text-[#010102]",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_CALORIES-HEADER"]}),(0,s.jsx)("div",{className:"grid grid-cols-2",children:(0,s.jsxs)("div",{className:"flex flex-col justify-end",children:[(0,s.jsx)("span",{className:"text-xs text-primary-gray-260",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_CALORIES-EXCERCISE-LABEL"]}),(0,s.jsxs)("span",{className:"text-[19px] font-semibold text-primary-black-350",children:[(0,g.H3)(Jt.excercise),g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_CALORIES-UNIT"]]})]})})]})]})},Hd=H()(Object.values({nl:"nl:text-[11px]",tr:"tr:whitespace-pre-line",se:"se:whitespace-pre-line",jp:"jp:whitespace-pre-line jp:text-xs"})),Bd=function(){return(0,s.jsxs)("div",{className:"flex w-full gap-3 overflow-x-auto p-4",children:[(0,s.jsx)("div",{className:"w-24 shrink-0",children:(0,s.jsx)(ht,{title:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-1-POPUP-TITLE"],text:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-1-POPUP-TEXT"],cta:{text:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-1-POPUP-CTA"]},children:(0,s.jsx)(ie,{path:"/app/health/daily-activity/related-content/item-1",page:"Health",children:(0,s.jsxs)("div",{className:"w-24",children:[(0,s.jsx)("img",{"data-loader":"image","data-src":ec,className:"w-24",src:ec,alt:""}),(0,s.jsx)("div",{className:H()("text-[13px]",Hd),children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-1-TITLE"]}),(0,s.jsx)("div",{className:"text-[11px] text-primary-gray-360",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-1-SUBTITLE"]})]})})})}),(0,s.jsx)("div",{className:"w-24 shrink-0",children:(0,s.jsx)(ht,{title:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-1-POPUP-TITLE"],text:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-1-POPUP-TEXT"],cta:{text:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-1-POPUP-CTA"]},children:(0,s.jsx)(ie,{path:"/app/health/daily-activity/related-content/item-2",page:"Health",children:(0,s.jsxs)("div",{className:"w-24",children:[(0,s.jsx)("img",{"data-loader":"image","data-src":tc,className:"w-24",src:tc,alt:""}),(0,s.jsx)("div",{className:H()("text-[13px]",Hd),children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-2-TITLE"]}),(0,s.jsx)("div",{className:"text-[11px] text-primary-gray-360",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-2-SUBTITLE"]})]})})})}),(0,s.jsx)("div",{className:"w-24 shrink-0",children:(0,s.jsx)(ht,{title:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-1-POPUP-TITLE"],text:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-1-POPUP-TEXT"],cta:{text:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-1-POPUP-CTA"]},children:(0,s.jsx)(ie,{path:"/app/health/daily-activity/related-content/item-3",page:"Health",children:(0,s.jsxs)("div",{className:"w-24",children:[(0,s.jsx)("img",{"data-loader":"image","data-src":ac,className:"w-24",src:ac,alt:""}),(0,s.jsx)("div",{className:H()("text-[13px]",Hd),children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-3-TITLE"]}),(0,s.jsx)("div",{className:"text-[11px] text-primary-gray-360",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-3-SUBTITLE"]})]})})})}),(0,s.jsx)("div",{className:"w-24 shrink-0",children:(0,s.jsx)(ht,{title:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-1-POPUP-TITLE"],text:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-1-POPUP-TEXT"],cta:{text:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-1-POPUP-CTA"]},children:(0,s.jsx)(ie,{path:"/app/health/daily-activity/related-content/item-4",page:"Health",children:(0,s.jsxs)("div",{className:"w-24",children:[(0,s.jsx)("img",{"data-loader":"image","data-src":sc,className:"w-24",src:sc,alt:""}),(0,s.jsx)("div",{className:H()("text-[13px]",Hd),children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-4-TITLE"]}),(0,s.jsx)("div",{className:"text-[11px] text-primary-gray-360",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT_RELATED-ITEM-4-SUBTITLE"]})]})})})})]})},Ud=function(e){var t=e.fill;return(0,s.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 292 79",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M86 29C88.2091 29 90 30.7909 90 33V60H82V33C82 30.7909 83.7909 29 86 29Z",fill:t}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M100 11C102.209 11 104 12.7909 104 15V60H96V15C96 12.7909 97.7909 11 100 11Z",fill:t}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M114 0C116.209 0 118 1.79086 118 4V60H110V4C110 1.79086 111.791 0 114 0Z",fill:t}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M128 15C130.209 15 132 16.7909 132 19V60H124V19C124 16.7909 125.791 15 128 15Z",fill:t}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M142 40C144.209 40 146 41.7909 146 44V60H138V44C138 41.7909 139.791 40 142 40Z",fill:t}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M156 53C158.209 53 160 54.7909 160 57V60H152V57C152 54.7909 153.791 53 156 53Z",fill:t}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M170 29C172.209 29 174 30.7909 174 33V60H166V33C166 30.7909 167.791 29 170 29Z",fill:t}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M184 11C186.209 11 188 12.7909 188 15V60H180V15C180 12.7909 181.791 11 184 11Z",fill:t}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M198 20C200.209 20 202 21.7909 202 24V60H194V24C194 21.7909 195.791 20 198 20Z",fill:t}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M212 29C214.209 29 216 30.7909 216 33V60H208V33C208 30.7909 209.791 29 212 29Z",fill:t}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M226 36C228.209 36 230 37.7909 230 40V60H222V40C222 37.7909 223.791 36 226 36Z",fill:t}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M240 20C242.209 20 244 21.7909 244 24V60H236V24C236 21.7909 237.791 20 240 20Z",fill:t}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M254 11C256.209 11 258 12.7909 258 15V60H250V15C250 12.7909 251.791 11 254 11Z",fill:t}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M268 30C270.209 30 272 31.7909 272 34V60H264V34C264 31.7909 265.791 30 268 30Z",fill:t}),(0,s.jsx)("mask",{id:"path-15-inside-1_7214_739",fill:"white",children:(0,s.jsx)("path",{d:"M0 60H292V78H0V60Z"})}),(0,s.jsx)("path",{d:"M0 61H292V59H0V61Z",fill:"#D8D8D8",mask:"url(#path-15-inside-1_7214_739)"}),(0,s.jsx)("path",{d:"M1 60H0V65H1V60Z",fill:"#D8D8D8"}),(0,s.jsx)("path",{d:"M2.838 69.312L0.858 70.379L0.495 69.587L3.212 68.179H3.795V76H2.838V69.312ZM5.63286 75.593C5.63286 74.9037 5.77953 74.339 6.07286 73.899C6.37353 73.459 6.80986 73.0593 7.38186 72.7L8.18486 72.194C8.58819 71.9373 8.90719 71.7063 9.14186 71.501C9.37653 71.2957 9.54153 71.094 9.63686 70.896C9.73953 70.698 9.79086 70.4817 9.79086 70.247C9.79086 69.8363 9.65519 69.5137 9.38386 69.279C9.11253 69.0443 8.73486 68.927 8.25086 68.927C7.80353 68.927 7.41486 69.0517 7.08486 69.301C6.76219 69.543 6.50186 69.9207 6.30386 70.434L5.50086 70.038C5.75019 69.378 6.11319 68.883 6.58986 68.553C7.07386 68.2157 7.63853 68.047 8.28386 68.047C8.77519 68.047 9.20419 68.1387 9.57086 68.322C9.93753 68.498 10.2235 68.751 10.4289 69.081C10.6415 69.411 10.7479 69.8033 10.7479 70.258C10.7479 70.6027 10.6855 70.9143 10.5609 71.193C10.4435 71.4717 10.2419 71.7467 9.95586 72.018C9.66986 72.282 9.27753 72.5717 8.77886 72.887L7.96486 73.404C7.62019 73.624 7.35619 73.822 7.17286 73.998C6.99686 74.174 6.87586 74.3537 6.80986 74.537C6.74386 74.713 6.70719 74.911 6.69986 75.131H10.8799V76H5.63286V75.593ZM19.4694 74.075H16.0594L15.3664 76H14.3874L17.2804 68.179H18.2924L21.1854 76H20.1624L19.4694 74.075ZM17.7644 69.356L16.3784 73.184H19.1504L17.7644 69.356ZM22.3017 68.179H23.5667L26.2837 74.922L28.9567 68.179H30.2217V76H29.2977V69.587L26.7567 76H25.7667L23.2257 69.708V76H22.3017V68.179Z",fill:"#8C8C91"}),(0,s.jsx)("path",{d:"M73 60H72V65H73V60Z",fill:"#D8D8D8"}),(0,s.jsx)("path",{d:"M72.55 72.117C72.55 70.7897 72.814 69.7813 73.342 69.092C73.8773 68.3953 74.607 68.047 75.531 68.047C76.081 68.047 76.5687 68.1643 76.994 68.399C77.4193 68.6337 77.7603 68.96 78.017 69.378L77.269 69.862C77.0637 69.5467 76.8107 69.312 76.51 69.158C76.2093 69.004 75.883 68.927 75.531 68.927C74.9077 68.927 74.4017 69.1983 74.013 69.741C73.6243 70.2837 73.43 71.1417 73.43 72.315C73.43 72.3883 73.43 72.458 73.43 72.524C73.5987 71.9667 73.892 71.5487 74.31 71.27C74.7353 70.984 75.1937 70.841 75.685 70.841C76.081 70.841 76.4623 70.94 76.829 71.138C77.203 71.3287 77.5073 71.6183 77.742 72.007C77.984 72.3957 78.105 72.8833 78.105 73.47C78.105 73.976 77.9987 74.4307 77.786 74.834C77.5807 75.23 77.28 75.5453 76.884 75.78C76.488 76.0147 76.0113 76.132 75.454 76.132C74.5227 76.132 73.804 75.7873 73.298 75.098C72.7993 74.4013 72.55 73.4077 72.55 72.117ZM73.793 73.525C73.793 74.0383 73.936 74.4563 74.222 74.779C74.508 75.0943 74.9187 75.252 75.454 75.252C76.0113 75.252 76.433 75.0943 76.719 74.779C77.005 74.4563 77.148 74.0383 77.148 73.525C77.148 72.9677 77.0013 72.5277 76.708 72.205C76.422 71.8823 76.015 71.721 75.487 71.721C74.9957 71.721 74.5887 71.8823 74.266 72.205C73.9507 72.5203 73.793 72.9603 73.793 73.525ZM86.7751 74.075H83.3651L82.6721 76H81.6931L84.5861 68.179H85.5981L88.4911 76H87.4681L86.7751 74.075ZM85.0701 69.356L83.6841 73.184H86.4561L85.0701 69.356ZM89.6074 68.179H90.8724L93.5894 74.922L96.2624 68.179H97.5274V76H96.6034V69.587L94.0624 76H93.0724L90.5314 69.708V76H89.6074V68.179Z",fill:"#8C8C91"}),(0,s.jsx)("path",{d:"M140 60H139V65H140V60Z",fill:"#D8D8D8"}),(0,s.jsx)("path",{d:"M141.838 69.312L139.858 70.379L139.495 69.587L142.212 68.179H142.795V76H141.838V69.312ZM144.633 75.593C144.633 74.9037 144.78 74.339 145.073 73.899C145.374 73.459 145.81 73.0593 146.382 72.7L147.185 72.194C147.588 71.9373 147.907 71.7063 148.142 71.501C148.377 71.2957 148.542 71.094 148.637 70.896C148.74 70.698 148.791 70.4817 148.791 70.247C148.791 69.8363 148.655 69.5137 148.384 69.279C148.113 69.0443 147.735 68.927 147.251 68.927C146.804 68.927 146.415 69.0517 146.085 69.301C145.762 69.543 145.502 69.9207 145.304 70.434L144.501 70.038C144.75 69.378 145.113 68.883 145.59 68.553C146.074 68.2157 146.639 68.047 147.284 68.047C147.775 68.047 148.204 68.1387 148.571 68.322C148.938 68.498 149.224 68.751 149.429 69.081C149.642 69.411 149.748 69.8033 149.748 70.258C149.748 70.6027 149.686 70.9143 149.561 71.193C149.444 71.4717 149.242 71.7467 148.956 72.018C148.67 72.282 148.278 72.5717 147.779 72.887L146.965 73.404C146.62 73.624 146.356 73.822 146.173 73.998C145.997 74.174 145.876 74.3537 145.81 74.537C145.744 74.713 145.707 74.911 145.7 75.131H149.88V76H144.633V75.593ZM154.19 68.179H156.731C157.648 68.179 158.37 68.41 158.898 68.872C159.426 69.334 159.69 69.961 159.69 70.753C159.69 71.567 159.426 72.205 158.898 72.667C158.37 73.129 157.648 73.36 156.731 73.36H155.158V76H154.19V68.179ZM158.7 70.753C158.7 70.225 158.524 69.8143 158.172 69.521C157.828 69.2203 157.314 69.07 156.632 69.07H155.158V72.469H156.632C157.314 72.469 157.828 72.3223 158.172 72.029C158.524 71.7283 158.7 71.303 158.7 70.753ZM161.13 68.179H162.395L165.112 74.922L167.785 68.179H169.05V76H168.126V69.587L165.585 76H164.595L162.054 69.708V76H161.13V68.179Z",fill:"#8C8C91"}),(0,s.jsx)("path",{d:"M212 60H211V65H212V60Z",fill:"#D8D8D8"}),(0,s.jsx)("path",{d:"M211.55 72.117C211.55 70.7897 211.814 69.7813 212.342 69.092C212.877 68.3953 213.607 68.047 214.531 68.047C215.081 68.047 215.569 68.1643 215.994 68.399C216.419 68.6337 216.76 68.96 217.017 69.378L216.269 69.862C216.064 69.5467 215.811 69.312 215.51 69.158C215.209 69.004 214.883 68.927 214.531 68.927C213.908 68.927 213.402 69.1983 213.013 69.741C212.624 70.2837 212.43 71.1417 212.43 72.315C212.43 72.3883 212.43 72.458 212.43 72.524C212.599 71.9667 212.892 71.5487 213.31 71.27C213.735 70.984 214.194 70.841 214.685 70.841C215.081 70.841 215.462 70.94 215.829 71.138C216.203 71.3287 216.507 71.6183 216.742 72.007C216.984 72.3957 217.105 72.8833 217.105 73.47C217.105 73.976 216.999 74.4307 216.786 74.834C216.581 75.23 216.28 75.5453 215.884 75.78C215.488 76.0147 215.011 76.132 214.454 76.132C213.523 76.132 212.804 75.7873 212.298 75.098C211.799 74.4013 211.55 73.4077 211.55 72.117ZM212.793 73.525C212.793 74.0383 212.936 74.4563 213.222 74.779C213.508 75.0943 213.919 75.252 214.454 75.252C215.011 75.252 215.433 75.0943 215.719 74.779C216.005 74.4563 216.148 74.0383 216.148 73.525C216.148 72.9677 216.001 72.5277 215.708 72.205C215.422 71.8823 215.015 71.721 214.487 71.721C213.996 71.721 213.589 71.8823 213.266 72.205C212.951 72.5203 212.793 72.9603 212.793 73.525ZM221.496 68.179H224.037C224.954 68.179 225.676 68.41 226.204 68.872C226.732 69.334 226.996 69.961 226.996 70.753C226.996 71.567 226.732 72.205 226.204 72.667C225.676 73.129 224.954 73.36 224.037 73.36H222.464V76H221.496V68.179ZM226.006 70.753C226.006 70.225 225.83 69.8143 225.478 69.521C225.133 69.2203 224.62 69.07 223.938 69.07H222.464V72.469H223.938C224.62 72.469 225.133 72.3223 225.478 72.029C225.83 71.7283 226.006 71.303 226.006 70.753ZM228.436 68.179H229.701L232.418 74.922L235.091 68.179H236.356V76H235.432V69.587L232.891 76H231.901L229.36 69.708V76H228.436V68.179Z",fill:"#8C8C91"}),(0,s.jsx)("path",{d:"M292 60H291V65H292V60Z",fill:"#D8D8D8"}),(0,s.jsx)("path",{d:"M278.77 72.7C278.77 70.7273 279.437 68.9343 280.772 67.321L281.487 67.838C280.893 68.5713 280.449 69.3377 280.156 70.137C279.87 70.929 279.727 71.7833 279.727 72.7C279.727 73.6167 279.87 74.471 280.156 75.263C280.449 76.055 280.893 76.8213 281.487 77.562L280.772 78.079C280.105 77.2723 279.602 76.418 279.265 75.516C278.935 74.614 278.77 73.6753 278.77 72.7ZM282.497 67.937H283.432V71.193C283.63 70.8997 283.879 70.6723 284.18 70.511C284.48 70.3423 284.81 70.258 285.17 70.258C286.534 70.258 287.216 71.0867 287.216 72.744V76H286.281V72.744C286.281 72.1867 286.171 71.776 285.951 71.512C285.731 71.248 285.397 71.116 284.95 71.116C284.664 71.116 284.403 71.193 284.169 71.347C283.941 71.501 283.762 71.7137 283.63 71.985C283.498 72.2563 283.432 72.568 283.432 72.92V76H282.497V67.937ZM289.939 72.7C289.939 71.7833 289.793 70.929 289.499 70.137C289.213 69.3377 288.773 68.5713 288.179 67.838L288.894 67.321C290.229 68.9343 290.896 70.7273 290.896 72.7C290.896 73.6753 290.728 74.614 290.39 75.516C290.06 76.418 289.562 77.2723 288.894 78.079L288.179 77.562C288.773 76.8213 289.213 76.055 289.499 75.263C289.793 74.471 289.939 73.6167 289.939 72.7Z",fill:"#8C8C91"})]})},Zd=function(){return(0,s.jsxs)("div",{className:"flex flex-col gap-y-[49px]",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-y-5",children:[(0,s.jsx)("span",{className:"text-base font-semibold text-[#010102]",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_STEPS-LABEL"]}),(0,s.jsx)(Ud,{fill:"#0FCF6E"})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-y-5",children:[(0,s.jsx)("span",{className:"text-base font-semibold text-[#010102]",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_ACTIVE-TIME-LABEL"]}),(0,s.jsx)(Ud,{fill:"#5BA6FF"})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-y-5",children:[(0,s.jsx)("span",{className:"text-base font-semibold text-[#010102]",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_ACTIVITY-CALORIES-LABEL"]}),(0,s.jsx)(Ud,{fill:"#FF6DAF"})]})]})},Yd={fr:"fr:px-3.5 fr:xsmd:px-2 fr:smd:px-2 fr:xxs:px-2",de:"de:px-3.5 de:xsmd:px-2 de:smd:px-2 de:xxs:px-2"},Fd={fr:"fr:text-[16px]",de:"de:text-lg de:foldCover:text-base",nl:"nl:text-lg nl:foldCover:text-base"},Vd={de:"de:gap-0"},Wd=H()(Object.values(Yd)),Xd=H()(Object.values(Fd)),Kd=H()(Object.values(Vd)),Qd=function(e){var t=e.children,a=e.className,i=void 0===a?"":a;return(0,s.jsx)("div",{className:H()("relative w-full rounded-3xl bg-primary-white-150 p-6",i),children:t})},zd=function(e){var t=e.children,a=e.className,i=void 0===a?"":a,n=e.showIcon,r=void 0===n||n;return(0,s.jsxs)("div",{className:H()("flex items-center justify-between",i),children:[(0,s.jsx)("div",{className:"text-base font-semibold",children:t}),r&&(0,s.jsx)(Zr,{className:""})]})},qd=function(e){var t=e.appHealthWrapperRef,a=(0,i.useContext)(br),n=a.screen,r=a.index,l=a.setScreen,c=(0,P.qr)(),o=c.pushBackButtonStack,d=c.popBackButtonStack,u=c.colourPaletteIndex,p=(0,i.useRef)(null),x=(0,i.useRef)([]),f=(0,i.useRef)(null),m=(0,i.useRef)(null),h=(0,i.useCallback)((function(){var e=x.current[r],a=t.current,s=p.current;I.ZP.killTweensOf([a,e,s]),I.ZP.fromTo(a,{y:0},{y:-50,duration:.4,ease:"power3.out"}),I.ZP.fromTo(e,{display:"block",y:100},{y:0,duration:.4,ease:"power3.out"}),I.ZP.fromTo(s,{display:"block",pointerEvents:"auto",opacity:0},{opacity:1,duration:.4,ease:"power3.out"}),e.scrollTo({top:0}),o(m)}),[t,o,m,r]),A=(0,i.useCallback)((function(){var e=t.current,a=p.current,s=x.current[r];I.ZP.killTweensOf([e,s,a]),I.ZP.to(e,{y:0,duration:.4,ease:"power3.inOut"}),I.ZP.to(s,{y:100,duration:.4,ease:"power3.inOut"}),I.ZP.to(a,{opacity:0,duration:.4,ease:"power3.inOut",onComplete:function(){I.ZP.set(x.current,{display:"none"}),I.ZP.set(a,{display:"none",pointerEvents:"none"})}}),l("Home"),d()}),[t,r,d,l]);return(0,i.useEffect)((function(){"DailyActivity"===n.current&&"DailyActivity"!==n.prev&&h()}),[h,n]),(0,i.useEffect)((function(){m.current=A}),[A]),(0,s.jsxs)("div",{className:"gpu absolute inset-0 z-30 overflow-hidden","data-component":"app-health-daily-activity",style:{pointerEvents:"none",display:"none"},ref:p,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-102"}),(0,s.jsx)("div",{className:"absolute inset-0","data-colour":u,children:(0,s.jsx)("div",{className:"absolute inset-0","data-ref":"app-health-daily-activity-wrapper",children:(0,s.jsx)("div",{className:"absolute inset-0",children:(0,s.jsxs)("div",{className:"gpu absolute inset-0",style:{display:"none"},"data-ref":"app-health-daily-activity-item",ref:function(e){e&&!x.current.includes(e)&&x.current.push(e)},children:[(0,s.jsx)("div",{className:"sticky top-0 z-20 bg-primary-gray-102 py-2 pb-3 pt-10",children:(0,s.jsx)("div",{className:H()("relative px-6 py-2 xsmd:px-4 smd:px-4 xxs:px-4",Wd),children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center",children:[(0,s.jsx)("div",{className:"flex items-center ltr:mr-2 rtl:ml-2",children:(0,s.jsx)("button",{"data-ref":"app-health-body-composition-button-close",className:"rtl:-scale-x-100 rtl:transform",style:{width:30,height:40},ref:f,onClick:function(){A()},children:(0,s.jsx)(Yr,{})})}),(0,s.jsx)("div",{className:"text-xl",children:(0,s.jsx)("div",{className:H()("flex-no-wrap flex items-center justify-start text-[21px] font-semibold leading-none",Xd),children:(0,s.jsx)("div",{children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_TITLE"]})})})]}),(0,s.jsxs)("div",{className:H()("flex-no-wrap flex gap-1",Kd),children:[(0,s.jsx)(ie,{path:"/app/health/daily-activity/icon-share",page:"Health",children:(0,s.jsx)("button",{className:"flex items-center justify-center text-center",style:{width:30,height:30},children:(0,s.jsx)(Ur,{})})}),(0,s.jsx)(ie,{path:"/app/health/daily-activity/calendar",page:"Health",children:(0,s.jsx)("button",{className:"flex items-center justify-center text-center",style:{width:30,height:30},children:(0,s.jsx)(Rd,{})})}),(0,s.jsx)(ie,{path:"/app/health/daily-activity/icon-menu",page:"Health",children:(0,s.jsx)("button",{className:"flex items-center justify-center text-center",style:{width:30,height:30},children:(0,s.jsx)(Gr,{})})})]})]})})}),(0,s.jsxs)("div",{className:"absolute top-[108px] bottom-[68px] w-full overflow-y-auto",children:[(0,s.jsx)("div",{className:"sticky top-0 w-full overflow-hidden",children:(0,s.jsx)(Id,{})}),(0,s.jsxs)(fl,{className:"z-[15] mt-2 overflow-hidden bg-primary-gray-102",children:[(0,s.jsx)(Qd,{className:"grid gap-8",children:(0,s.jsx)(Dd,{})}),(0,s.jsx)(ht,{title:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_GRAPH-POPUP-TITLE"],text:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_GRAPH-POPUP-TEXT"],cta:{text:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_GRAPH-POPUP-CTA"]},children:(0,s.jsx)(ie,{path:"/app/health/daily-activity/steps-active-time-activity-calories",page:"Health",children:(0,s.jsx)(Qd,{children:(0,s.jsx)(Zd,{})})})}),(0,s.jsx)(ht,{title:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_MOVEMENTS-POPUP-TITLE"],text:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_MOVEMENTS-POPUP-TEXT"],cta:{text:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_MOVEMENTS-POPUP-CTA"]},children:(0,s.jsx)(ie,{path:"/app/health/daily-activity/movements",page:"Health",children:(0,s.jsx)(Qd,{children:(0,s.jsx)(kd,{})})})}),z.e.isHealthAppRelatedContentEnabled&&(0,s.jsxs)(Qd,{className:"p-0",children:[(0,s.jsx)(zd,{showIcon:!1,className:"px-4 pt-4",children:g.t["@PARADIGM_HEALTH_DAILY-ACTIVITY_RELATED-CONTENT-TITLE"]}),(0,s.jsx)(Bd,{})]})]})]})]})})})})]})},Jd={es:"es:whitespace-pre-line",th:"th:text-[10px]",gr:"gr:text-[10px] gr:px-2",lt:"lt:text-[10px]"},$d={th:"th:text-[10px]",gr:"gr:text-[10px]",lt:"lt:text-[10px]"},eu={th:"th:text-[10px]",gr:"gr:text-[10px]",lt:"lt:text-[10px]"},tu={th:"th:text-[10px]",gr:"gr:text-[10px]",lt:"lt:text-[10px]"},au={lt:"lt:px-0"},su={lt:"lt:px-1"},iu={lt:"lt:px-1"},nu={eslatam:"eslatam:xxs:text-[9px] eslatam:xxs:leading-[11px] eslatam:smd:text-[9px] eslatam:smd:leading-[11px]",vn:"vn:mobile-w-md:text-[2.8vw] vn:foldCover:!text-[2.5vw] vn:mobile-w-md:leading-[3.3vw] "},ru={hr:"hr:whitespace-nowrap hr:foldCover:text-[3.9vw]",th:"th:whitespace-nowrap th:foldCover:text-[3.9vw]",ae:"ae:whitespace-nowrap ae:foldCover:text-[3.9vw]"},lu={th:"th:whitespace-nowrap th:foldCover:text-[3.9vw]",ae:"ae:whitespace-nowrap ae:foldCover:text-[3.9vw]"},cu=H()(Object.values(Jd)),ou=H()(Object.values($d)),du=H()(Object.values(eu)),uu=H()(Object.values(tu)),pu=H()(Object.values(au)),xu=H()(Object.values(su)),fu=H()(Object.values(iu)),mu=H()(Object.values(nu)),hu=H()(Object.values(ru)),Au=H()(Object.values(lu)),Eu=function(e){var t=e.delayToStart,a=e.shouldRestartState,n=(0,i.useContext)(br),r=n.screen,l=n.setScreen,c=n.mindfulnessTutorial,o=n.setMindfulnessTutorial,d=n.togetherTutorial,u=n.setTogetherTutorial,p=n.setIndex,x=(0,P.qr)(),f=x.appName,m=x.setAppActiveData,h=(0,i.useState)(!1),A=h[0],E=h[1],v=(0,pt.O)(),C=v.pushOverlayStack,j=v.popOverlayStack,N=(0,i.useState)(!0),T=N[0],w=N[1],_=(0,i.useState)(!1),b=_[0],S=_[1],y=(0,i.useState)(!1),R=y[0],L=y[1],O=(0,i.useRef)(null),G=(0,i.useRef)(null),k=(0,i.useRef)(null),B=(0,i.useRef)(null),U=(0,i.useRef)(null),Z=(0,i.useRef)(null),Y=(0,i.useRef)(null),F=(0,i.useRef)([]),W=(0,i.useRef)(null),X=(0,i.useRef)(null),K="health"===f,Q=function(e){l(e),p(0)};(0,i.useEffect)((function(){var e=O.current,s=G.current,i=k.current,n=B.current,r=U.current,c=Y.current;K?(e&&i&&s&&n&&m({appContainer:e,appViewContent:i,appViewContainer:s,appViewIcon:"health"===f&&n}),T?(I.ZP.killTweensOf([r]),I.ZP.fromTo(r,{display:"block",opacity:1},{opacity:0,duration:.6,delay:t,ease:"power3.inOut",onComplete:function(){w(a||!1),I.ZP.set(r,{display:"none"}),A&&(C({data:{text:g.t["SAMSUNG-HEALTH_HOME-SCREEN_CHINESE-DISCLAIMER-2"],cta:{text:g.t["TRY-GALAXY_HOME-SCREEN-ONE_OK_CTA"]}},type:"alert"}),E(!1))}})):I.ZP.set(r,{display:"none"})):(l("Home"),I.ZP.set(c,{y:0}),L(!1),S(!1))}),[K]),(0,i.useEffect)((function(){var e=Z.current;e&&e.scrollTo({top:0}),"Home"!==r.current&&L(!0)}),[r]),(0,i.useEffect)((function(){"cn"===g.t.getLanguage()&&E(!0)}),[f]);var q=i.useCallback((function(){j(),Q("EnergyScore"),(0,V.Kq)("/app/health/home/more-menu/energy-link",M.dC.Health)}),[Q]);return(0,s.jsx)("div",{className:"absolute inset-0 hidden","data-component":"app-view","data-app-view-name":"health","data-app-view-is-header-transparent":"true","data-track-title":M.dC.Health,"data-track-path":"/app/health",ref:O,children:(0,s.jsxs)("div",{className:"gpu absolute inset-0 overflow-hidden text-primary-gray-400","data-ref":"app-view-container",style:{transformOrigin:"0% 0%",transform:"translate(0px, 0px)"},ref:G,children:[(0,s.jsxs)("div",{className:"absolute inset-0","data-ref":"app-view-content",style:{minWidth:"100vw",minHeight:"100vh",opacity:1,transformOrigin:"0px 0px",transform:"translate(0px, 0px)"},"data-component":"app-health",ref:k,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-102","data-ref":"app-view-background"}),(0,s.jsxs)("div",{className:"absolute inset-0","data-ref":"app-health-wrapper",ref:Y,children:[(0,s.jsx)("div",{className:"absolute left-0 right-0 top-0 bg-primary-gray-102",style:{height:35}}),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0",children:(0,s.jsxs)("div",{className:"relative h-full w-full overflow-x-hidden",children:[(0,s.jsx)("div",{className:"absolute left-0 right-0 overflow-hidden",style:{height:"calc(100% - 142px)"},children:(0,s.jsxs)("div",{className:"scrolling-touch pointer-events-auto absolute inset-0 overflow-y-auto","data-ref":"app-content",style:{borderRadius:"2rem",borderTopLeftRadius:0,borderTopRightRadius:0},ref:Z,children:["Home"===r.current&&(0,s.jsxs)("div",{className:"relative w-full","data-ref":"app-health-container",ref:function(e){e&&!F.current.includes(e)&&F.current.push(e)},children:[(0,s.jsx)("div",{className:"sticky top-0 z-20 bg-primary-gray-102 py-4 pt-[3.75rem]",children:(0,s.jsx)("div",{className:"relative px-6",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex w-full items-center justify-between",children:[(0,s.jsxs)("div",{className:"relative flex w-full items-baseline justify-between",children:[(0,s.jsx)("div",{className:"font-title text-xl font-bold",children:g.t["@PARADIGM_HEALTH_APP_HEADER_TITLE"]}),(0,s.jsxs)("div",{className:"flex-no-wrap flex",children:[(0,s.jsx)(ie,{path:"/app/health/home/star",page:M.dC.Health,children:(0,s.jsx)(ht,{className:"flex h-[30px] w-[30px] items-center justify-center text-center",title:g.t["@PARADIGM_HEALTH_HOME_STAR_POP_UP_MENU_TITLE"],text:g.t["@PARADIGM_HEALTH_HOME_STAR_POP_UP_MENU_TEXT"],cta:{text:g.t["@PARADIGM_HEALTH_HOME_STAR_POP_UP_MENU_CTA_BUTTON"]},children:(0,s.jsx)("img",{src:ko,alt:""})})}),(0,s.jsx)(ie,{path:"/app/health/home/more-menu",page:M.dC.Health,children:(0,s.jsx)(ht,{className:"flex h-[30px] w-[30px] items-center justify-center text-center",title:g.t["@PARADIGM_HEALTH_HOME_MORE_DOTS_POPUP_TITLE"],component:(0,s.jsx)(Td.P,{bodyText:g.t["@PARADIGM_HEALTH_HOME_MORE_DOTS_POPUP_TEXT"],linkText:g.t["@PARADIGM_HEALTH_HOME_MORE_DOTS_POPUP_LINK_TEXT"],onLinkClicked:q}),cta:{text:g.t["@PARADIGM_HEALTH_HOME_MORE_DOTS_POPUP_CTA"]},children:(0,s.jsx)(Gr,{})})})]})]}),(0,s.jsx)("div",{className:"flex-no-wrap flex gap-2"})]})})}),(0,s.jsxs)(fl,{className:"perspective-1000 transform-3d py-0",children:[(0,s.jsx)(Do,{onClick:function(){Q("Sleep")}}),(0,s.jsx)(Uo,{onClick:function(){Q("EnergyScore")}}),(0,s.jsx)(Ec,{introComplete:b,setIntroComplete:S,switchedView:!z.e.isHealthAppDailyActivityEnabled&&R,onClick:function(){Q("DailyActivity")}}),(0,s.jsx)(qc,{introComplete:b,switchedView:R}),(0,s.jsx)(wc,{}),(0,s.jsx)(Hc,{flipText:g.t["@PARADIGM_HEALTH_HOME_CARD_WORKOUT_FLIP_TEXT"],type:"workout",title:g.t["@PARADIGM_HEALTH_HOME_CARD_WORKOUT_TITLE"],subtitle:g.t["@PARADIGM_HEALTH_HOME_CARD_WORKOUT_SUBTITLE"],subtext:null,subtitleClassName:"whitespace-nowrap"}),(0,s.jsx)(Qc,{onClick:function(){Q("Sleep")}}),(0,s.jsx)(Zc,{}),(0,s.jsx)(Rc,{flipText:g.t["SAMSUNG-HEALTH_HOME-SCREEN_LUNCH-FLIP-SCREEN-TEXT"],type:"food",numerator:g.t["@PARADIGM_HEALTH_HOME_CARD_CALORIE_NUMERATOR"],denominator:g.t["@PARADIGM_HEALTH_HOME_CARD_CALORIE_DENOMINATOR"],unit:g.t["SAMSUNG-HEALTH_HOME-SCREEN_CAL-KCAL"],buttonCTA:g.t["SAMSUNG-HEALTH_HOME-SCREEN_RECORD-CTA"],component:(0,s.jsx)(_d,{label:g.t["@PARADIGM_HEALTH_HOME_CARD_CALORIE_GRAPH_LABEL"]}),denominatorClassName:hu}),(0,s.jsx)(hc,{onClick:function(){Q("BodyComposition")}}),(0,s.jsx)(Hc,{flipText:g.t["SAMSUNG-HEALTH_HOME-SCREEN_PERIOD-FLIP-SCREEN-TEXT"],type:"period",title:g.t["SAMSUNG-HEALTH_HOME-SCREEN_PERIOD-TITLE"],subtitle:null,subtext:g.t["SAMSUNG-HEALTH_HOME-SCREEN_PERIOD-SUBTEXT"],graphClass:"mb-1 self-end"}),(0,s.jsx)(Hc,{flipText:g.t["SAMSUNG-HEALTH_HOME-SCREEN_BEATS-FLIP-SCREEN-TEXT"],type:"heart-rate",title:g.t["SAMSUNG-HEALTH_HOME-SCREEN_BEATS-TITLE"],subtitle:g.t["SAMSUNG-HEALTH_HOME-SCREEN_BPM"],subtext:g.t["SAMSUNG-HEALTH_HOME-SCREEN_BEATS-SUBTEXT"]}),(0,s.jsx)(Hc,{flipText:g.t["@PARADIGM_HEALTH_HOME_CARD_STRESS_FLIP_TEXT"],type:"stress",title:g.t["@PARADIGM_HEALTH_HOME_CARD_STRESS_TITLE"],subtitle:null,subtext:g.t["@PARADIGM_HEALTH_HOME_CARD_STRESS_SUBTEXT"]}),(0,s.jsx)(Hc,{flipText:g.t["@PARADIGM_HEALTH_HOME_CARD_BLOOD_OXYGEN_FLIP_TEXT"],type:"blood-oxygen",title:g.t["@PARADIGM_HEALTH_HOME_CARD_BLOOD_OXYGEN_TITLE"],subtitle:g.t["@PARADIGM_HEALTH_HOME_CARD_BLOOD_OXYGEN_SUBTITLE"],subtext:g.t["@PARADIGM_HEALTH_HOME_CARD_BLOOD_OXYGEN_SUBTEXT"]}),(0,s.jsx)(Rc,{flipText:g.t["SAMSUNG-HEALTH_HOME-SCREEN_DEHYDRATED-FLIP-SCREEN-TEXT"],type:"water",numerator:g.t["SAMSUNG-HEALTH_HOME-SCREEN_DEHYDRATED-NUMERATOR"],denominator:g.t["SAMSUNG-HEALTH_HOME-SCREEN_DEHYDRATED-DENOMINATOR"],unit:null,buttonCTA:g.t["SAMSUNG-HEALTH_HOME-SCREEN_DEHYDRATED-BUTTON-CTA"],buttonIcon:!0,denominatorClassName:Au}),(0,s.jsx)(Rc,{flipText:g.t["@PARADIGM_HEALTH_HOME_CARD_BLOOD_PRESSURE_FLIP_TEXT"],type:"blood-pressure",numerator:g.t["@PARADIGM_HEALTH_HOME_CARD_BLOOD_PRESSURE_NUMERATOR"],denominator:"",unit:g.t["@PARADIGM_HEALTH_HOME_CARD_BLOOD_PRESSURE_UNIT"],buttonCTA:g.t["@PARADIGM_HEALTH_HOME_CARD_BLOOD_PRESSURE_CTA_BUTTON"],component:(0,s.jsx)(yd,{labelOne:g.t["@PARADIGM_HEALTH_HOME_CARD_BLOOD_PRESSURE_GRAPH_LABEL_ONE"],labelTwo:g.t["@PARADIGM_HEALTH_HOME_CARD_BLOOD_PRESSURE_GRAPH_LABEL_TWO"],valueOne:g.t["@PARADIGM_HEALTH_HOME_CARD_BLOOD_PRESSURE_GRAPH_VALUE_ONE"],valueTwo:g.t["@PARADIGM_HEALTH_HOME_CARD_BLOOD_PRESSURE_GRAPH_VALUE_TWO"]})}),(0,s.jsx)(Rc,{flipText:g.t["@PARADIGM_HEALTH_HOME_CARD_BLOOD_SUGAR_FLIP_TEXT"],type:"blood-sugar",numerator:g.t["@PARADIGM_HEALTH_HOME_CARD_BLOOD_SUGAR_NUMERATOR"],denominator:"",unit:g.t["@PARADIGM_HEALTH_HOME_CARD_BLOOD_SUGAR_UNIT"],buttonCTA:g.t["@PARADIGM_HEALTH_HOME_CARD_BLOOD_SUGAR_CTA_BUTTON"]}),(0,s.jsx)(Hc,{flipText:g.t["@PARADIGM_HEALTH_HOME_CARD_AGES_FLIP_TEXT"],type:"AGEs-index",title:g.t["@PARADIGM_HEALTH_HOME_CARD_AGES_TITLE"],subtitle:g.t["@PARADIGM_HEALTH_HOME_CARD_AGES_SUBTITLE"],subtitleBadge:!0,subtext:null,badgeClassName:mu}),(0,s.jsx)("div",{className:"flex justify-end pb-6",children:(0,s.jsx)("p",{className:"text-sm text-primary-gray-260",children:g.t["@PARADIGM_HEALTH_HOME_KNOX_FOOTER_TEXT"]})})]})]}),"Fitness"===r.current&&K&&(0,s.jsx)(Nd,{}),"Together"===r.current&&K&&(0,s.jsx)(Oo,{})]})}),r.current.includes("Together")&&K&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(bo,{trackPath:"/app/health/together/profile"})}),"ProfileMe"===r.current&&(0,s.jsx)(bo,{trackPath:"/app/health/my-page/profile"})]})}),(0,s.jsx)("div",{className:"absolute bottom-0 w-full bg-primary-gray-102",style:{paddingBottom:80},children:(0,s.jsxs)("div",{className:H()("flex-no-wrap flex px-4 py-0",pu),children:[(0,s.jsx)(ie,{path:"/app/health/home",className:"w-full",page:M.dC.Health,children:(0,s.jsx)("div",{className:"w-full","data-ref":"app-health-nav-home",onClick:function(){return l("Home")},children:(0,s.jsxs)("button",{className:"relative w-full",children:[(0,s.jsx)(yr,{}),(0,s.jsx)("div",{className:"pointer-events-none relative w-full",children:(0,s.jsx)("div",{className:"relative inline-block w-full",children:(0,s.jsxs)("div",{className:"flex justify-center py-2",children:[(0,s.jsx)("div",{className:"relative",children:(0,s.jsxs)("div",{className:"mt-0 text-xs",children:[(0,s.jsx)("div",{className:"Home"===r.current?"block":"hidden","data-ref":"button-dash-enabled",ref:W,children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,s.jsx)("div",{className:"c-app-dashboard-free__button-dash--icon gpu mb-2 foldCover:text-[9px]",children:(0,s.jsx)(Pr,{})}),(0,s.jsx)("div",{className:H()("c-app-dashboard-free__button-dash--text font-normal leading-none text-primary-blue-400 foldCover:text-[9px]",ou),children:g.t["TRY-GALAXY_TUTORIAL-SCREEN_NAV_HOME"]})]})}),(0,s.jsx)("div",{className:"Home"===r.current?"hidden":"block","data-ref":"button-dash-disabled",ref:X,children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,s.jsx)("div",{className:"c-app-dashboard-free__button-dash--disabled--icon gpu mb-2 foldCover:text-[9px]",children:(0,s.jsx)(Or,{})}),(0,s.jsx)("div",{className:H()("c-app-dashboard-free__button-dash--disabled--text font-normal leading-none foldCover:text-[9px]",ou),children:g.t["TRY-GALAXY_TUTORIAL-SCREEN_NAV_HOME"]})]})})]})}),(0,s.jsx)("div",{className:"hidden ltr:ml-1 rtl:mr-1","data-ref":"notification",children:(0,s.jsx)("div",{className:"flex items-center justify-center rounded-full bg-primary-blue-800 text-xs text-white",style:{width:20,height:20},"data-ref":"app-messages-list-item-label-number",children:"0"})})]})})})]})})}),(0,s.jsx)(ie,{path:"/app/health/together",className:"w-full",page:M.dC.Health,children:(0,s.jsx)("div",{className:"h-full w-full","data-ref":"app-health-nav-together",onClick:function(){l("Together"),"start"===d&&u("finish")},children:(0,s.jsxs)("div",{className:"relative h-full w-full",children:[(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsxs)("button",{className:"relative w-full",children:[(0,s.jsx)(yr,{}),(0,s.jsx)("div",{className:"pointer-events-none relative w-full",children:(0,s.jsx)("div",{className:"relative inline-block w-full",children:(0,s.jsxs)("div",{className:"flex justify-center py-2",children:[(0,s.jsx)("div",{className:"relative",children:(0,s.jsxs)("div",{className:"mt-0 text-xs",children:[(0,s.jsx)("div",{className:"Together"===r.current?"block":"hidden","data-ref":"button-dash-enabled",children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,s.jsx)("div",{className:"c-app-dashboard-free__button-dash--icon gpu mb-2 foldCover:text-[9px]",children:(0,s.jsx)(kr,{})}),(0,s.jsx)("div",{className:H()("c-app-dashboard-free__button-dash--text font-normal leading-none text-primary-blue-400 foldCover:text-[9px]",du),children:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_TOGETHER-TITLE"]})]})}),(0,s.jsx)("div",{className:"Together"===r.current?"hidden":"block","data-ref":"button-dash-disabled",children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,s.jsx)("div",{className:"c-app-dashboard-free__button-dash--disabled--icon gpu mb-2 foldCover:text-[9px]",children:(0,s.jsx)(Hr,{})}),(0,s.jsx)("div",{className:H()("c-app-dashboard-free__button-dash--disabled--text font-normal leading-none foldCover:text-[9px]",du),children:g.t["SAMSUNG-HEALTH_TOGETHER-LANDING_TOGETHER-TITLE"]})]})})]})}),(0,s.jsx)("div",{className:"hidden ltr:ml-1 rtl:mr-1","data-ref":"notification",children:(0,s.jsx)("div",{className:"flex items-center justify-center rounded-full bg-primary-blue-800 text-xs text-white",style:{width:20,height:20},"data-ref":"app-messages-list-item-label-number",children:"0"})})]})})})]})}),(0,s.jsx)(Rr,{type:"rounded",hidden:"start"!==d,height:"calc(100%)",className:H()(xu)})]})})}),(0,s.jsx)(ie,{path:"/app/health/fitness",className:"w-full",page:M.dC.Health,children:(0,s.jsx)("div",{className:"h-full w-full","data-ref":"app-health-nav-fitness",onClick:function(){l("Fitness"),"start"===c&&o("mindfulness")},children:(0,s.jsxs)("div",{className:"relative h-full w-full",children:[(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsxs)("button",{className:"relative w-full",children:[(0,s.jsx)(yr,{}),(0,s.jsx)("div",{className:"pointer-events-none relative w-full",children:(0,s.jsx)("div",{className:"relative inline-block w-full",children:(0,s.jsxs)("div",{className:"flex justify-center py-2",children:[(0,s.jsx)("div",{className:"relative",children:(0,s.jsxs)("div",{className:"mt-0 text-xs",children:[(0,s.jsx)("div",{className:"Fitness"===r.current?"block":"hidden","data-ref":"button-dash-enabled",children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,s.jsx)("div",{className:"c-app-dashboard-free__button-dash--icon gpu mb-2 foldCover:text-[9px]",children:(0,s.jsx)(Lr,{})}),(0,s.jsx)("div",{className:H()("c-app-dashboard-free__button-dash--text font-normal leading-none text-primary-blue-400 foldCover:text-[9px]",cu),children:g.t["SAMSUNG-HEALTH_FITNESS_H1"]})]})}),(0,s.jsx)("div",{className:"Fitness"===r.current?"hidden":"block","data-ref":"button-dash-disabled",children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,s.jsx)("div",{className:"c-app-dashboard-free__button-dash--disabled--icon gpu mb-2 foldCover:text-[9px]",children:(0,s.jsx)(Ir,{})}),(0,s.jsx)("div",{className:H()("c-app-dashboard-free__button-dash--disabled--text font-normal leading-none foldCover:text-[9px]",cu),children:g.t["SAMSUNG-HEALTH_FITNESS_H1"]})]})})]})}),(0,s.jsx)("div",{className:"hidden ltr:ml-1 rtl:mr-1","data-ref":"notification",children:(0,s.jsx)("div",{className:"flex items-center justify-center rounded-full bg-primary-blue-800 text-xs text-white",style:{width:20,height:20},"data-ref":"app-messages-list-item-label-number",children:"0"})})]})})})]})}),(0,s.jsx)(Rr,{type:"rounded",hidden:"start"!==c,height:"calc(100%)",className:H()(fu)})]})})}),(0,s.jsx)(ie,{path:"/app/health/my-page",className:"w-full",page:M.dC.Health,children:(0,s.jsxs)("button",{className:"relative w-full",onClick:function(){l("ProfileMe")},children:[(0,s.jsx)(yr,{}),(0,s.jsx)("div",{className:"pointer-events-none relative w-full",children:(0,s.jsx)("div",{className:"relative inline-block w-full",children:(0,s.jsxs)("div",{className:"flex justify-center py-2",children:[(0,s.jsx)("div",{className:"relative",children:(0,s.jsxs)("div",{className:"mt-0 text-xs",children:[(0,s.jsx)("div",{className:"ProfileMe"===r.current?"block":"hidden","data-ref":"button-dash-enabled",children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,s.jsx)("div",{className:"c-app-dashboard-free__button-dash--icon gpu mb-2 foldCover:text-[9px]",children:(0,s.jsx)(Mr,{})}),(0,s.jsx)("div",{className:H()("c-app-dashboard-free__button-dash--text font-normal leading-none text-primary-blue-400 foldCover:text-[9px]",uu),children:g.t["SAMSUNG-HEALTH_POP-UP-MY-PAGE_MY-PAGE_POP-UP-TITLE"]})]})}),(0,s.jsx)("div",{className:"ProfileMe"===r.current?"hidden":"block","data-ref":"button-dash-disabled",children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,s.jsx)("div",{className:"c-app-dashboard-free__button-dash--disabled--icon gpu mb-2 foldCover:text-[9px]",children:(0,s.jsx)(Dr,{})}),(0,s.jsx)("div",{className:H()("c-app-dashboard-free__button-dash--disabled--text font-normal leading-none foldCover:text-[9px]",uu),children:g.t["SAMSUNG-HEALTH_POP-UP-MY-PAGE_MY-PAGE_POP-UP-TITLE"]})]})})]})}),(0,s.jsx)("div",{className:"hidden ltr:ml-1 rtl:mr-1","data-ref":"notification",children:(0,s.jsx)("div",{className:"flex items-center justify-center rounded-full bg-primary-blue-800 text-xs text-white",style:{width:20,height:20},"data-ref":"app-messages-list-item-label-number",children:"0"})})]})})})]})})]})})]}),K&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(oc,{appHealthWrapperRef:Y}),(0,s.jsx)(_l,{appHealthWrapperRef:Y}),(0,s.jsx)($o,{appHealthWrapperRef:Y}),(0,s.jsx)(md,{appHealthWrapperRef:Y}),(0,s.jsx)(qd,{appHealthWrapperRef:Y})]}),(0,s.jsx)("div",{className:"gpu absolute inset-0 z-30 bg-primary-gray-50","data-ref":"app-health-foreground",style:{opacity:0,display:"none"},ref:U,children:(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-cover bg-center text-primary-gray-400",children:(0,s.jsx)("img",{"data-loader":"image","data-src":Go,className:"w-24",src:Go,alt:""})})})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0",children:(0,s.jsx)("button",{className:"gpu absolute left-0 top-0","data-ref":"app-view-icon",style:{opacity:0,transformOrigin:"0% 100%",transform:"translate(0px, 499px) scale(6.4, 6.4)"},ref:B,children:(0,s.jsx)("div",{className:"max-w-icon overflow-hidden rounded-3xl",children:(0,s.jsx)("img",{src:D("icons/app-health.png"),"data-component":"app-themes-changes",className:"",alt:""})})})})]})})},gu=function(e){return(0,s.jsx)(Sr,{children:(0,s.jsx)(Eu,(0,_.Z)({},e))})},vu=function(e){var t=e.className,a=e.children,n=e.hideCuepoints,r=e.showCuepoints,l=e.onClick,c=e.hideOnInit,o=(0,P.iH)().cuepoint,d=i.useRef(null);return(0,i.useLayoutEffect)((function(){if(d.current){var e=d.current,a="power3.out",s=(null===t||void 0===t?void 0:t.includes("pointer-events-none"))?"none":"auto";return""===o?c?I.ZP.set(e,{pointerEvents:s,visibility:"hidden",opacity:0}):I.ZP.set(e,{pointerEvents:s,visibility:"visible",opacity:1}):r.includes(o)?(I.ZP.set(e,{pointerEvents:s,visibility:"visible"}),I.ZP.to(e,{opacity:1,duration:.3,ease:a})):n.includes(o)&&(I.ZP.set(e,{pointerEvents:"none"}),I.ZP.to(e,{opacity:0,duration:0,ease:a,onComplete:function(){I.ZP.set(e,{visibility:"hidden"})}})),function(){I.ZP.killTweensOf(e)}}}),[o]),(0,s.jsx)("div",{ref:d,className:H()("",t),onClick:l||void 0,children:a})},Cu=function(e){var t=e.className;return(0,s.jsxs)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:H()("w-5",t),children:[(0,s.jsx)("rect",{width:"16",height:"16",rx:"8",fill:"#0381FE",fillOpacity:"0.2"}),(0,s.jsx)("path",{d:"M12.7811 6.10405L9.55691 4.59944C8.48472 4.09909 7.24602 4.09909 6.17383 4.59944L2.94967 6.10405C2.65391 6.24207 2.65976 6.66465 2.95923 6.79442L6.27494 8.23123C7.28964 8.67093 8.4411 8.67093 9.4558 8.23123L12.7715 6.79442C13.071 6.66465 13.0768 6.24207 12.7811 6.10405Z",stroke:"#0381FE",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M4.83716 7.5957L7.31185 8.56791C7.66772 8.70771 8.06331 8.70771 8.41918 8.56791L10.8939 7.5957V10.9146C10.8939 10.967 10.8712 11.0168 10.8316 11.0512C9.13026 12.5288 6.60077 12.5288 4.89945 11.0512C4.85988 11.0168 4.83716 10.967 4.83716 10.9146V7.5957Z",stroke:"#0381FE"}),(0,s.jsx)("path",{d:"M3.13354 6.83838V8.54183",stroke:"#0381FE"}),(0,s.jsx)("circle",{cx:"3.13386",cy:"8.92048",r:"0.5",stroke:"#0381FE",strokeWidth:"0.892725"})]})},ju=function(e){var t=e.children,a=i.useRef(null);return(0,i.useLayoutEffect)((function(){if(a.current){var e=a.current;return I.ZP.fromTo(e,{opacity:0},{opacity:1,duration:.2,ease:"power2.out"}),function(){I.ZP.killTweensOf(e)}}}),[]),(0,s.jsx)("div",{ref:a,className:"relative flex items-center justify-center pb-5",dir:z.e.direction,children:(0,s.jsxs)("div",{className:"flex items-center justify-center whitespace-nowrap rounded-full border border-[#E5F0FB] bg-white p-1",children:[(0,s.jsx)(Cu,{}),(0,s.jsx)("div",{className:"px-1.5 text-xs text-black ltr:font-sans rtl:font-sansAr",children:t})]})})},Nu=function(e){var t=e.cuepointId,a=e.children,n=(0,P.iH)(),r=n.cuepoint,l=n.resumeVideo,c=(0,i.useState)(!1),o=c[0],d=c[1];return(0,i.useLayoutEffect)((function(){if(""!==r){if(r.includes("show-highlight-"))r.split("[")[1].replace("]","")===t&&d(!0);else if(r.includes("hide-highlight-")){r.split("[")[1].replace("]","")===t&&d(!1)}return function(){}}d(!1)}),[r]),(0,i.useLayoutEffect)((function(){return d(!1),function(){}}),[l]),(0,s.jsx)(s.Fragment,{children:o&&(0,s.jsx)(ju,(0,L.Z)((0,_.Z)({},e),{children:a}))})},Tu=function(e){var t=e.fill,a=void 0===t?"#FCFCFC":t,i=e.isActive;return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsxs)("g",{opacity:"1",children:[(0,s.jsx)("path",{d:"M11.9949 3.93506C14.9849 3.93506 17.4149 6.36506 17.4149 9.35506C17.4149 9.44506 17.4149 9.53506 17.4149 9.62506V9.77506L17.4849 9.81506C19.2049 10.6951 20.3549 12.4351 20.4349 14.4051V14.6451C20.4349 17.6351 18.0149 20.0651 15.0249 20.0651C13.9949 20.0651 12.9949 19.7751 12.1449 19.2351L12.0049 19.1351L11.8649 19.2351C11.0949 19.7251 10.2049 20.0051 9.26494 20.0551H8.98494C5.99494 20.0551 3.56494 17.6351 3.56494 14.6451C3.56494 12.5751 4.73494 10.7251 6.53494 9.81506L6.61494 9.77506V9.62506L6.59494 9.35506C6.58494 6.36506 9.00494 3.93506 11.9949 3.93506ZM11.9949 4.43506C9.28494 4.43506 7.08494 6.63506 7.08494 9.35506C7.08494 9.59506 7.10494 9.84506 7.13494 10.0751C5.33494 10.8051 4.05494 12.5751 4.05494 14.6351C4.05494 17.3551 6.25494 19.5551 8.97494 19.5551C10.1149 19.5551 11.1649 19.1651 11.9949 18.5151C12.8249 19.1651 13.8749 19.5551 15.0149 19.5551C17.7349 19.5551 19.9349 17.3551 19.9349 14.6351C19.9349 12.5751 18.6649 10.8051 16.8649 10.0751C16.8949 9.83506 16.9149 9.59506 16.9149 9.35506C16.9149 6.63506 14.7149 4.43506 11.9949 4.43506Z",fill:"black"}),(0,s.jsx)("path",{opacity:"0.15",d:"M11.9949 4.43506C14.7149 4.43506 16.9149 6.63506 16.9149 9.35506C16.9149 9.60506 16.8949 9.84506 16.8649 10.0751C18.6649 10.8051 19.9349 12.5751 19.9349 14.6351C19.9349 17.3551 17.7349 19.5551 15.0149 19.5551C13.8749 19.5551 12.8249 19.1651 11.9949 18.5151C11.1649 19.1651 10.1149 19.5551 8.97493 19.5551C6.25493 19.5551 4.05493 17.3551 4.05493 14.6351C4.05493 12.5651 5.32493 10.8051 7.13493 10.0751C7.10493 9.84506 7.08493 9.59506 7.08493 9.35506C7.08493 6.63506 9.28493 4.43506 11.9949 4.43506Z",fill:"black"}),(0,s.jsx)("path",{opacity:"0.75",d:"M15.015 9.71509C17.735 9.71509 19.935 11.9151 19.935 14.6351C19.935 17.3551 17.735 19.5551 15.015 19.5551C12.295 19.5551 10.095 17.3551 10.095 14.6351C10.095 11.9151 12.295 9.71509 15.015 9.71509Z",fill:"url(#paint0_linear_4103_2226)"}),(0,s.jsx)("path",{d:"M11.995 4.43506C14.715 4.43506 16.915 6.63506 16.915 9.35506C16.915 12.0751 14.715 14.2751 11.995 14.2751C9.27495 14.2751 7.07495 12.0751 7.07495 9.35506C7.07495 6.63506 9.28495 4.43506 11.995 4.43506ZM11.995 5.60506C9.92495 5.60506 8.24495 7.28506 8.24495 9.35506C8.24495 11.4251 9.92495 13.1051 11.995 13.1051C14.065 13.1051 15.745 11.4251 15.745 9.35506C15.745 7.28506 14.065 5.60506 11.995 5.60506Z",fill:"url(#paint1_linear_4103_2226)"}),(0,s.jsx)("path",{d:"M8.97493 9.71509C11.6949 9.71509 13.8949 11.9151 13.8949 14.6351C13.8949 17.3551 11.6949 19.5551 8.97493 19.5551C6.25493 19.5551 4.05493 17.3551 4.05493 14.6351C4.05493 11.9151 6.25493 9.71509 8.97493 9.71509Z",fill:"white",fillOpacity:"0.23"}),(0,s.jsx)("path",{d:"M7.49496 14.0651C7.99754 14.0651 8.40496 13.6577 8.40496 13.1551C8.40496 12.6525 7.99754 12.2451 7.49496 12.2451C6.99238 12.2451 6.58496 12.6525 6.58496 13.1551C6.58496 13.6577 6.99238 14.0651 7.49496 14.0651Z",fill:a}),(0,s.jsx)("path",{d:"M7.49495 17.0451C8.00305 17.0451 8.41495 16.6332 8.41495 16.1251C8.41495 15.617 8.00305 15.2051 7.49495 15.2051C6.98685 15.2051 6.57495 15.617 6.57495 16.1251C6.57495 16.6332 6.98685 17.0451 7.49495 17.0451Z",fill:a}),(0,s.jsx)("path",{d:"M10.4649 14.0651C10.9675 14.0651 11.3749 13.6577 11.3749 13.1551C11.3749 12.6525 10.9675 12.2451 10.4649 12.2451C9.96235 12.2451 9.55493 12.6525 9.55493 13.1551C9.55493 13.6577 9.96235 14.0651 10.4649 14.0651Z",fill:a}),(0,s.jsx)("path",{opacity:"0.9",d:"M10.1749 11.2151C10.5229 11.2151 10.8049 10.933 10.8049 10.5851C10.8049 10.2371 10.5229 9.95508 10.1749 9.95508C9.82698 9.95508 9.54492 10.2371 9.54492 10.5851C9.54492 10.933 9.82698 11.2151 10.1749 11.2151Z",fill:a}),(0,s.jsx)("path",{opacity:"0.7",d:"M12.1649 11.845C12.3858 11.845 12.5649 11.666 12.5649 11.445C12.5649 11.2241 12.3858 11.045 12.1649 11.045C11.944 11.045 11.7649 11.2241 11.7649 11.445C11.7649 11.666 11.944 11.845 12.1649 11.845Z",fill:a}),(0,s.jsx)("path",{opacity:"0.8",d:"M13.0349 14.0651C13.3828 14.0651 13.6649 13.783 13.6649 13.4351C13.6649 13.0871 13.3828 12.8051 13.0349 12.8051C12.687 12.8051 12.4049 13.0871 12.4049 13.4351C12.4049 13.783 12.687 14.0651 13.0349 14.0651Z",fill:a}),(0,s.jsx)("path",{opacity:"0.8",d:"M13.0349 16.4651C13.3828 16.4651 13.6649 16.183 13.6649 15.8351C13.6649 15.4871 13.3828 15.2051 13.0349 15.2051C12.687 15.2051 12.4049 15.4871 12.4049 15.8351C12.4049 16.183 12.687 16.4651 13.0349 16.4651Z",fill:a}),(0,s.jsx)("path",{opacity:"0.6",d:"M12.1649 18.225C12.3858 18.225 12.5649 18.046 12.5649 17.825C12.5649 17.6041 12.3858 17.425 12.1649 17.425C11.944 17.425 11.7649 17.6041 11.7649 17.825C11.7649 18.046 11.944 18.225 12.1649 18.225Z",fill:a}),(0,s.jsx)("path",{d:"M4.92492 14.0651C5.27286 14.0651 5.55492 13.783 5.55492 13.4351C5.55492 13.0871 5.27286 12.8051 4.92492 12.8051C4.57698 12.8051 4.29492 13.0871 4.29492 13.4351C4.29492 13.783 4.57698 14.0651 4.92492 14.0651Z",fill:a}),(0,s.jsx)("path",{opacity:"0.9",d:"M5.78489 11.845C6.0058 11.845 6.18489 11.666 6.18489 11.445C6.18489 11.2241 6.0058 11.045 5.78489 11.045C5.56397 11.045 5.38489 11.2241 5.38489 11.445C5.38489 11.666 5.56397 11.845 5.78489 11.845Z",fill:a}),(0,s.jsx)("path",{d:"M4.92492 16.4651C5.27286 16.4651 5.55492 16.183 5.55492 15.8351C5.55492 15.4871 5.27286 15.2051 4.92492 15.2051C4.57698 15.2051 4.29492 15.4871 4.29492 15.8351C4.29492 16.183 4.57698 16.4651 4.92492 16.4651Z",fill:a}),(0,s.jsx)("path",{d:"M5.78489 18.225C6.0058 18.225 6.18489 18.046 6.18489 17.825C6.18489 17.6041 6.0058 17.425 5.78489 17.425C5.56397 17.425 5.38489 17.6041 5.38489 17.825C5.38489 18.046 5.56397 18.225 5.78489 18.225Z",fill:a}),(0,s.jsx)("path",{opacity:"0.9",d:"M7.7749 11.2151C8.12284 11.2151 8.4049 10.933 8.4049 10.5851C8.4049 10.2371 8.12284 9.95508 7.7749 9.95508C7.42696 9.95508 7.1449 10.2371 7.1449 10.5851C7.1449 10.933 7.42696 11.2151 7.7749 11.2151Z",fill:a}),(0,s.jsx)("path",{d:"M10.1749 19.3251C10.5229 19.3251 10.8049 19.043 10.8049 18.6951C10.8049 18.3471 10.5229 18.0651 10.1749 18.0651C9.82698 18.0651 9.54492 18.3471 9.54492 18.6951C9.54492 19.043 9.82698 19.3251 10.1749 19.3251Z",fill:a}),(0,s.jsx)("path",{d:"M7.7749 19.3251C8.12284 19.3251 8.4049 19.043 8.4049 18.6951C8.4049 18.3471 8.12284 18.0651 7.7749 18.0651C7.42696 18.0651 7.1449 18.3471 7.1449 18.6951C7.1449 19.043 7.42696 19.3251 7.7749 19.3251Z",fill:a}),(0,s.jsx)("path",{d:"M10.4649 17.0451C10.973 17.0451 11.3849 16.6332 11.3849 16.1251C11.3849 15.617 10.973 15.2051 10.4649 15.2051C9.95682 15.2051 9.54492 15.617 9.54492 16.1251C9.54492 16.6332 9.95682 17.0451 10.4649 17.0451Z",fill:a})]}),(0,s.jsxs)("defs",{children:[(0,s.jsxs)("linearGradient",{id:"paint0_linear_4103_2226",x1:"17.1614",y1:"16.2859",x2:"9.19097",y2:"8.41389",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{stopColor:i?"#FFCB0C":"white",stopOpacity:"0.9"}),(0,s.jsx)("stop",{offset:"1",stopColor:i?"#FFCB0C":"white",stopOpacity:"0.24"})]}),(0,s.jsxs)("linearGradient",{id:"paint1_linear_4103_2226",x1:"14.1414",y1:"11.0059",x2:"6.17095",y2:"3.13386",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{stopColor:i?"#FFCB0C":"#FEFEFE"}),(0,s.jsx)("stop",{offset:"1",stopColor:i?"#FFCB0C":"#FCFCFC",stopOpacity:"0.4"})]})]})]})},wu=function(){var e=(0,P.iH)().cuepoint,t=(0,i.useState)(!0),a=t[0],n=t[1];return(0,i.useEffect)((function(){switch(e){case"quick-settings-ui-[night-mode-on]":n(!0);break;case"":n(!1)}return function(){}}),[e]),(0,s.jsx)(Tu,{fill:a?"#FFCB0C":"#FCFCFC",isActive:a})},_u=function(){var e=(0,P.iH)().cuepoint,t=(0,i.useRef)(null),a=(0,i.useRef)(null);return(0,i.useEffect)((function(){var s=I.ZP.timeline({repeat:-1,repeatDelay:0});if(e.includes("show-highlight-")){var i=t.current,n=a.current;return s.fromTo(i,{scale:1,opacity:1,transformOrigin:"center center"},{scale:1.2,opacity:.6,transformOrigin:"center center",duration:1,ease:"sine.out"},0),s.to(i,{opacity:0,transformOrigin:"center center",duration:.4,delay:.8,ease:"sine.out"},0),s.fromTo(n,{scale:1.2,opacity:1,transformOrigin:"center center"},{scale:1.4,opacity:.6,transformOrigin:"center center",duration:1,ease:"sine.out"},0),s.to(n,{opacity:0,transformOrigin:"center center",delay:1,duration:.4,ease:"sine.out"},0),function(){s.kill()}}}),[e]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{ref:t,className:"absolute h-[17px] w-[17px] rounded-full bg-primary-blue-900"}),(0,s.jsx)("div",{ref:a,className:"absolute h-[17px] w-[17px] rounded-full bg-primary-blue-900/25"})]})},bu=function(e){var t=e.fill,a=void 0===t?"#FCFCFC":t;return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M14.6209 5.30887L14.6255 5.29812L13.2449 10.2319L15.7918 10.2327C16.5867 10.2327 17.0547 11.0993 16.6608 11.7555L16.5986 11.8477L15.249 13.6514L15.2049 13.7099L19.4833 17.9869C19.7672 18.2708 19.793 18.715 19.5607 19.028L19.4833 19.1177C19.1711 19.4299 18.6648 19.4299 18.3526 19.1177L14.2379 15.0029L11.2652 18.9799C10.608 19.8484 9.26043 19.2024 9.46399 18.197L9.49184 18.0879L10.8709 13.1529L8.32643 13.1534C7.53089 13.1534 7.06254 12.2861 7.45646 11.6299L7.51866 11.5378L8.86716 9.73354L8.9099 9.67487L4.63408 5.39913C4.35023 5.11528 4.32442 4.67109 4.55667 4.35809L4.63408 4.26841C4.94632 3.95617 5.45257 3.95617 5.76481 4.26841L9.8779 8.38187L12.8522 4.40614C13.5094 3.53767 14.857 4.18368 14.6501 5.20029L14.6209 5.30887Z",fill:"black",fillOpacity:"0.3"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.26766 10.0329L13.8807 14.6459L10.8664 18.6783C10.523 19.1322 9.80596 18.7663 9.97336 18.2227L11.5311 12.6534H8.32643C7.90535 12.6534 7.66633 12.1728 7.91915 11.8371L9.26766 10.0329ZM5.41125 4.62202L19.1298 18.3405C19.2468 18.4575 19.2468 18.6472 19.1298 18.7642C19.0128 18.8811 18.8231 18.8811 18.7062 18.7642L4.98764 5.04564C4.87066 4.92866 4.87066 4.739 4.98764 4.62202C5.10461 4.50504 5.29427 4.50504 5.41125 4.62202ZM14.144 5.16349L12.5863 10.7328H15.7918C16.212 10.7328 16.4511 11.2125 16.1982 11.5482L14.8487 13.3519L10.2357 8.73893L13.251 4.70789C13.5944 4.25402 14.3114 4.61988 14.144 5.16349Z",fill:a})]})},Su=function(e){var t=e.fill,a=void 0===t?"#FFCB0C":t;return(0,s.jsxs)("svg",{width:"27",height:"24",viewBox:"0 0 27 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M18.5 4C23.1944 4 27 7.80558 27 12.5C27 17.1944 23.1944 21 18.5 21H8.5C3.80558 21 0 17.1944 0 12.5C0 7.80558 3.80558 4 8.5 4H18.5ZM18.5 6.15H8.5C4.99299 6.15 2.15 8.99299 2.15 12.5C2.15 16.007 4.99299 18.85 8.5 18.85H18.5C22.007 18.85 24.85 16.007 24.85 12.5C24.85 8.99299 22.007 6.15 18.5 6.15ZM13.4303 9.06284C14.1117 9.06284 14.7119 9.19811 15.2241 9.47364C15.7488 9.75594 16.1558 10.1663 16.4346 10.694L16.481 10.79L16.4813 9.06284H19.037C19.8597 9.06284 20.532 9.27418 21.0329 9.70985C21.5475 10.1575 21.8074 10.7682 21.8074 11.503C21.8074 11.9987 21.6892 12.4347 21.4475 12.799C21.3105 13.0055 21.1416 13.1832 20.9429 13.3313L20.914 13.35L21.8676 15.2041L22.2425 15.9328H19.8357L19.7 15.6475L18.881 13.926H18.645L18.6454 15.9328H16.4813L16.481 14.208L16.4346 14.306C16.1907 14.7677 15.8486 15.1396 15.4153 15.4145L15.2241 15.5264C14.7119 15.8019 14.1117 15.9372 13.4303 15.9372H10.7767H8.66926L8.66909 15.4373L8.668 13.517H7.249L7.25026 15.437L7.25042 15.9372H5.077V9.06284H7.25043L7.25026 9.56301L7.249 11.416H8.668L8.66909 9.56267L8.66926 9.06284H10.8343H13.4303ZM12.949 13.844L13.3741 13.8443C13.8144 13.8443 14.1189 13.7338 14.3231 13.5228C14.5309 13.3082 14.642 12.9783 14.642 12.504C14.642 12.0242 14.5306 11.6915 14.3231 11.4772C14.1189 11.2662 13.8144 11.1557 13.3741 11.1557L12.949 11.155V13.844ZM18.645 11.878L18.971 11.8781C19.4896 11.8781 19.6268 11.7723 19.6268 11.4865C19.6268 11.3521 19.5958 11.2816 19.5303 11.2294C19.4424 11.1593 19.2585 11.1114 18.971 11.1114L18.645 11.111V11.878Z",fill:"black","fill-opacity":"0.3"}),(0,s.jsx)("path",{d:"M18.5 4.5C22.9183 4.5 26.5 8.08172 26.5 12.5C26.5 16.9183 22.9183 20.5 18.5 20.5H8.5C4.08172 20.5 0.5 16.9183 0.5 12.5C0.5 8.08172 4.08172 4.5 8.5 4.5H18.5ZM18.5 5.65H8.5C4.71685 5.65 1.65 8.71685 1.65 12.5C1.65 16.2832 4.71685 19.35 8.5 19.35H18.5C22.2831 19.35 25.35 16.2832 25.35 12.5C25.35 8.71685 22.2831 5.65 18.5 5.65ZM13.4303 9.56284C14.0323 9.56284 14.5516 9.67961 14.9872 9.91396C15.4245 10.1492 15.7601 10.4876 15.9925 10.9276C16.224 11.3658 16.3394 11.8916 16.3394 12.504C16.3394 13.1111 16.224 13.6342 15.9925 14.0724C15.7601 14.5124 15.4245 14.8508 14.9872 15.086C14.5516 15.3204 14.0323 15.4372 13.4303 15.4372H11.2767V9.56284H13.4303ZM6.75026 9.56284L6.74945 11.9166H9.16829L9.16909 9.56284H10.3343V15.4372H9.16909L9.16829 13.0175H6.74945L6.75026 15.4372H5.577V9.56284H6.75026ZM19.037 9.56284C19.747 9.56284 20.3029 9.73759 20.7047 10.0871C21.1065 10.4366 21.3074 10.9086 21.3074 11.503C21.3074 11.9048 21.2152 12.2447 21.0308 12.5226C20.8465 12.8006 20.5864 13.0111 20.2507 13.1542L21.423 15.4328H20.1516L19.1939 13.4184C19.1829 13.4239 19.1691 13.4266 19.1526 13.4266H18.1454V15.4328H16.9813V9.56284H19.037ZM13.3741 10.6557H12.4491V14.3443H13.3741C13.9429 14.3443 14.3773 14.1858 14.6824 13.8705C14.9881 13.5547 15.142 13.1006 15.142 12.504C15.142 11.902 14.988 11.4453 14.6824 11.1295C14.3773 10.8142 13.9429 10.6557 13.3741 10.6557ZM18.971 10.6114H18.1454V12.3781H18.971C19.7415 12.3781 20.1268 12.0809 20.1268 11.4865C20.1268 11.2058 20.0319 10.9897 19.842 10.8384C19.6521 10.687 19.3618 10.6114 18.971 10.6114Z",fill:a})]})},yu=function(e){var t=e.fill,a=void 0===t?"#FCFCFC":t;return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M12.9645 17.9135C12.4869 18.4167 11.7239 18.5112 11.1106 18.129L10.9816 18.0355C10.3928 17.5506 10.3086 16.6803 10.7934 16.0916L11.6539 15.045L11.1339 14.804L8.79095 19.1856C8.46915 19.7874 7.75421 20.0482 7.1281 19.8132L7.00421 19.7596C6.3507 19.4374 6.07407 18.6523 6.38122 17.9917L9.2789 11.754L9.16555 11.9965L9.0179 12.3103C8.86771 12.6292 8.4435 12.6967 8.2017 12.4402C8.04334 12.2722 7.84563 12.022 7.60968 11.6988C7.54942 11.6159 7.54942 11.6159 7.48974 11.5327C7.29277 11.2574 7.13968 11.0345 6.8824 10.6541C6.38249 9.91495 6.76202 8.88772 7.8016 8.71217L7.9609 8.691L4.63408 5.3649C4.35023 5.08105 4.32442 4.63686 4.55667 4.32386L4.63408 4.23418C4.94632 3.92194 5.45257 3.92194 5.76481 4.23418L10.5779 9.049L10.6079 9.00926C10.7645 8.8162 10.9665 8.66554 11.2064 8.56484L11.3548 8.51047L11.4705 8.48088C11.6249 8.44193 11.7856 8.43105 11.9457 8.44952L14.7479 8.772L15.3908 7.37261C15.6889 6.72289 16.412 6.39489 17.0878 6.58125L17.2222 6.62544L17.2804 6.64933C17.9616 6.94759 18.272 7.74156 17.9737 8.42272L16.8951 10.886C16.8781 10.9249 16.8592 10.963 16.8385 11.0002C16.6576 11.3255 16.3543 11.5561 16.0136 11.6438C15.8483 11.691 15.6747 11.7058 15.501 11.6861L12.9309 11.394L12.9279 11.397L19.4833 17.9527C19.7672 18.2366 19.793 18.6807 19.5607 18.9937L19.4833 19.0834C19.1711 19.3957 18.6648 19.3957 18.3526 19.0834L15.0169 15.748L12.9645 17.9135ZM12.2884 4.49268C13.3686 4.49268 14.2443 5.36835 14.2443 6.44854C14.2443 7.52874 13.3686 8.40441 12.2884 8.40441C11.2082 8.40441 10.3326 7.52874 10.3326 6.44854C10.3326 5.36835 11.2082 4.49268 12.2884 4.49268Z",fill:"black","fill-opacity":"0.3"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.2101 10.9397L14.6641 15.3947L12.6018 17.5693C12.2862 17.9019 11.7846 17.9602 11.4009 17.7219L11.2994 17.6495C10.9238 17.3402 10.8701 16.785 11.1794 16.4094L12.452 14.8637L10.916 14.1527L8.35003 18.9498C8.13395 19.3539 7.63631 19.5138 7.22531 19.3111C6.81549 19.1091 6.64201 18.6167 6.83465 18.2024L10.2101 10.9397ZM5.41125 4.58773L19.1298 18.3063C19.2468 18.4232 19.2468 18.6129 19.1298 18.7299C19.0128 18.8468 18.8231 18.8468 18.7062 18.7299L4.98764 5.01135C4.87066 4.89437 4.87066 4.70471 4.98764 4.58773C5.10461 4.47076 5.29427 4.47076 5.41125 4.58773ZM8.41236 9.14151L9.4586 10.1877C9.14337 10.8694 8.77174 11.6594 8.56554 12.0972C8.19477 11.7039 7.55453 10.7554 7.29657 10.374C7.03862 9.99258 7.14302 9.33038 7.86771 9.20778C8.06479 9.1815 8.24185 9.15956 8.41236 9.14151ZM17.0433 7.09233C17.0556 7.09705 17.0678 7.10206 17.0799 7.10735C17.5081 7.29484 17.7032 7.79397 17.5157 8.22217L16.4371 10.6854C16.4264 10.7099 16.4146 10.7338 16.4016 10.7571C16.2849 10.9669 16.0919 11.1074 15.8761 11.1631C15.7754 11.1918 15.6677 11.2018 15.5575 11.1893L12.675 10.8617L12.5761 11.0447L10.937 9.40513C11.0701 9.20312 11.2637 9.06328 11.4788 8.99487L11.5928 8.96569C11.6873 8.94186 11.7871 8.93454 11.8884 8.94624L15.052 9.31068L15.8453 7.58108C16.0533 7.12774 16.5776 6.91384 17.0433 7.09233ZM12.2884 4.99268C13.0925 4.99268 13.7443 5.64449 13.7443 6.44854C13.7443 7.25259 13.0925 7.9044 12.2884 7.9044C11.4844 7.9044 10.8326 7.25259 10.8326 6.44854C10.8326 5.64449 11.4844 4.99268 12.2884 4.99268Z",fill:a})]})},Ru=function(e){var t=e.fill,a=void 0===t?"#FCFCFC":t;return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{opacity:"0.3",fillRule:"evenodd",clipRule:"evenodd",d:"M4.13992 12.0451C4.13992 12.0451 4.09636 11.1276 4.27514 9.77911C4.46208 8.36797 4.96119 7.08933 5.84236 6.1519C5.99572 6.00761 6.17268 5.88873 6.34329 5.7644C6.28249 5.77166 6.22532 5.77802 6.16179 5.78618C4.97844 5.94318 4.36412 6.36244 3.57824 7.10113C2.83865 7.88701 2.4203 8.95965 2.2633 10.1439C2.11357 11.2755 2.14987 12.0451 2.14987 12.0451C2.14987 12.0451 2.11357 12.8155 2.2633 13.9472C2.4203 15.1305 2.83865 16.1042 3.57824 16.8901C4.36412 17.6288 4.97844 18.0479 6.16179 18.2049C6.22532 18.2131 6.28249 18.2194 6.34329 18.2267C6.17268 18.1024 5.99572 17.9835 5.84236 17.8392C4.96119 16.9018 4.46208 15.7222 4.27514 14.312C4.09636 12.9635 4.13992 12.0451 4.13992 12.0451Z",fill:a}),(0,s.jsx)("path",{opacity:"0.55",fillRule:"evenodd",clipRule:"evenodd",d:"M6.87667 14.4521C6.68701 13.0201 6.73329 12.0446 6.73329 12.0446C6.73329 12.0446 6.68701 11.0709 6.87667 9.63794C7.07541 8.13969 7.60538 6.7821 8.54099 5.78659C8.58546 5.74485 8.63537 5.71127 8.68165 5.67134C9.30691 5.12594 10.0656 4.73391 10.9023 4.46802C10.5547 4.48707 10.1354 4.52156 9.65901 4.58418C8.47928 4.74026 7.21874 5.13139 6.34574 5.7639C6.17513 5.88823 5.99817 6.00711 5.84481 6.1514C4.96364 7.08883 4.46453 8.36747 4.27759 9.7786C4.09881 11.1271 4.14237 12.0446 4.14237 12.0446C4.14237 12.0446 4.09881 12.963 4.27759 14.3115C4.46453 15.7217 4.96364 16.9013 5.84481 17.8387C5.99817 17.983 6.17513 18.1019 6.34574 18.2262C7.21783 18.8596 8.47928 19.3498 9.65901 19.5059C10.1354 19.5694 10.7416 19.6073 11.0891 19.6263C10.2524 19.3595 9.36937 18.9201 8.74412 18.3747C8.69783 18.3348 8.66127 18.2678 8.6168 18.226C7.68119 17.2305 7.07541 15.9504 6.87667 14.4521Z",fill:a}),(0,s.jsx)("path",{d:"M16.7262 4.13562C18.2838 4.34197 19.6163 4.90335 20.5889 5.81757L20.613 5.84164C21.5277 6.81484 22.0884 8.1461 22.2949 9.70439C22.4766 11.0752 22.4766 12.9248 22.2949 14.2956C22.0883 15.854 21.5272 17.1857 20.5882 18.1823C19.6164 19.0965 18.284 19.658 16.7259 19.8644C15.3553 20.0452 13.5061 20.0452 12.1361 19.8644C10.5785 19.658 9.24605 19.0966 8.24935 18.1584C7.33483 17.1854 6.77396 15.8535 6.56745 14.2956C6.38572 12.9248 6.38572 11.0752 6.56744 9.70444C6.77388 8.1461 7.33459 6.81484 8.27343 5.81757C9.24605 4.90335 10.5785 4.34197 12.1364 4.13559C13.5061 3.9548 15.3553 3.9548 16.7262 4.13562ZM12.3136 5.27427C10.9592 5.4537 9.85497 5.9305 9.11789 6.62081C8.36434 7.42126 7.88624 8.52189 7.70604 9.88222C7.53952 11.1383 7.53952 12.8617 7.70604 14.1178C7.8857 15.4731 8.36216 16.5767 9.05258 17.3139C9.85257 18.067 10.9544 18.5457 12.3133 18.7257C13.5689 18.8914 15.2925 18.8914 16.5482 18.7258C17.9033 18.5463 19.0073 18.0694 19.7441 17.3787C20.4975 16.5791 20.9759 15.4782 21.1563 14.1178C21.3228 12.8617 21.3228 11.1383 21.1563 9.88208C20.9767 8.52663 20.5005 7.42365 19.7885 6.66556C19.0073 5.93052 17.9031 5.4537 16.5491 5.27431C15.2925 5.10857 13.569 5.10857 12.3136 5.27427Z",fill:a}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.0547 11.8956L15.0027 13.8436L14.2837 14.3009C13.9107 14.5378 13.4163 14.4276 13.1794 14.0546C13.098 13.9264 13.0547 13.7776 13.0547 13.6256V11.8956ZM13.8547 9.5376C14.0066 9.5376 14.1554 9.58086 14.2837 9.66233L16.8716 11.3064C17.2446 11.5433 17.3548 12.0376 17.1179 12.4106C17.0549 12.5098 16.9708 12.5939 16.8716 12.6569L16.5587 12.8546L13.3903 9.6861C13.5212 9.59261 13.6815 9.5376 13.8547 9.5376Z",fill:a}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.42079 5.98961C8.53777 5.87263 8.72743 5.87263 8.84441 5.98961L20.4416 17.5868C20.5586 17.7038 20.5586 17.8934 20.4416 18.0104C20.3246 18.1274 20.135 18.1274 20.018 18.0104L8.42079 6.41322C8.30381 6.29625 8.30381 6.10659 8.42079 5.98961Z",fill:a})]})},Lu=function(e){var t=e.children,a=e.className,n=e.delay,r=(0,P.iH)().mode,l=(0,i.useRef)(null);return(0,i.useEffect)((function(){if(l.current){var e=l.current;return"more"===r?I.ZP.set(e,{opacity:0,pointerEvents:"none"}):I.ZP.to(e,{opacity:1,pointerEvents:"auto",duration:.6,ease:"power3.out",delay:n||.3}),function(){I.ZP.killTweensOf(e)}}}),[r]),(0,s.jsx)("div",{ref:l,className:H()("relative w-full",a),children:t})},Iu=function(e){var t=e.children,a=e.isActive,i=e.className;return(0,s.jsx)("button",{className:H()("relative flex h-full min-w-[30px] items-center justify-center",i,{"text-primary-yellow-500":a}),"data-camera-container":"app-camera-toast-button","data-camera-button-status":a,children:t})},Pu=function(e){var t=e.parent,a=e.activeOption,n=e.availableOptions,r=e.defaultIcon,l=e.onOptionChange,c=e.className,o=(0,P.iH)().setQuickSettingsToast,d=r,u=i.useRef(null),p=i.useRef(null);return(0,i.useLayoutEffect)((function(){if(p.current&&u.current){var e=u.current,a=p.current,s=document.querySelector('[data-camera-container="app-camera-quick-settings-toast"]'),i=null,r=Array.from(a.querySelectorAll('[data-camera-container="app-camera-toast-button"]')),c=function(e){return{activeButton:e.querySelector('[data-camera-button-status="true"]'),inactiveButtons:Array.from(e.querySelectorAll('[data-camera-button-status="false"]'))}},d=function(e){return e.children[0].getBoundingClientRect()},x=function(){return t.children[1].getBoundingClientRect()},f=function(e,t){var a=d(e),s=d(t);return a.x<=s.x?-1:1},m=function(){clearTimeout(i),I.ZP.set(r,{pointerEvents:"none"});var e=c(a),n=e.activeButton,l=e.inactiveButtons;I.ZP.set(t,{opacity:0});var u=I.ZP.timeline({onComplete:function(){I.ZP.delayedCall(.15,(function(){I.ZP.set(n,{opacity:0}),I.ZP.set(t,{opacity:1}),o(null)}))}});u.to(a,{x:-d(n).x+x().x,ease:"power1.inOut",duration:.4},.1).to(s,{opacity:1,duration:.2,ease:"power3.in"},.3),l.map((function(e){var t=f(e,n);u.to(e,{scale:1,x:t<0?100:-100,duration:.4,ease:"power1.inOut"},.1),u.to(e.children[0],{opacity:0,duration:.4,ease:"power3.out"},.1)}))},h=function(e){var t=e.currentTarget,a=t.children[0];if(a){var s=a.dataset.type;r.map((function(e){e.dataset.cameraButtonStatus="false"})),t.dataset.cameraButtonStatus="true",l(s),m()}};return r.map((function(e,t){e.addEventListener("click",h);var a=e.children[0];a&&(a.dataset.type=n[t])})),function(){var t=c(a),i=t.activeButton,n=t.inactiveButtons,r=I.ZP.timeline({});r.fromTo(e,{opacity:0},{opacity:1,duration:.2,ease:"power3.out"},.1).to(s,{opacity:0,duration:.2,ease:"power3.out"},.1).fromTo(a,{x:-d(i).x+x().x},{x:0,duration:.5,ease:"power3.out"},.1),n.map((function(e){var t=f(e,i);I.ZP.set(e.children[0],{opacity:0}),r.fromTo(e,{scale:.9,x:t<0?100:-100},{scale:1,x:0,duration:.5,ease:"power3.out"},.1),r.to(e.children[0],{opacity:1,duration:.4,ease:"power3.out"},.3)}))}(),i=setTimeout((function(){m()}),5e3),function(){clearTimeout(i),I.ZP.killTweensOf(e),r.map((function(e){e.removeEventListener("click",h)}))}}}),[]),(0,s.jsx)("div",{ref:u,className:"pointer-events-auto absolute inset-0 flex items-center justify-center",children:(0,s.jsx)("div",{className:"relative flex h-[30px] w-full flex-row items-center justify-center",children:(0,s.jsx)("div",{ref:p,className:"relative flex w-full flex-row items-center justify-center gap-10",children:n.map((function(e){return(0,s.jsx)(Iu,{isActive:a===e,children:(0,s.jsx)(d,{className:c,type:e})},e)}))})})})},Ou=function(e){var t=e.children,a=e.disabled,n=e.disabledTouchHighlight,r=e.onClick,l=e.state,c=i.useRef(null),o=i.useRef(null),d=function(){if(!a&&!n&&c.current){var e=c.current;I.ZP.killTweensOf(e),I.ZP.fromTo(e,{opacity:1},{opacity:0,duration:.6,delay:.1,ease:"power3.out"})}};return(0,i.useEffect)((function(){if(l)return d(),function(){}}),[l]),(0,s.jsxs)("div",{className:H()("relative",{"opacity-40":a}),onClick:function(e){r&&r(e),d()},children:[(0,s.jsx)("div",{ref:c}),(0,s.jsx)("div",{ref:o,children:t})]})},Mu=function(e){var t=e.className,a=e.type;return(0,s.jsx)("div",{className:t,children:(0,s.jsxs)("div",{className:"flex h-6 min-w-[24px] flex-col items-center justify-center font-sans text-[10px] font-semibold leading-[11px]",children:["8K30"===a&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{children:"8K"}),(0,s.jsx)("span",{children:"30"})]}),"UHD30"===a&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{children:"UHD"}),(0,s.jsx)("span",{children:"30"})]}),"FHD30"===a&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{children:"FHD"}),(0,s.jsx)("span",{children:"30"})]}),"HD30"===a&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{children:"HD"}),(0,s.jsx)("span",{children:"30"})]}),"8K60"===a&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{children:"8K"}),(0,s.jsx)("span",{children:"60"})]}),"UHD60"===a&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{children:"UHD"}),(0,s.jsx)("span",{children:"60"})]}),"FHD60"===a&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{children:"FHD"}),(0,s.jsx)("span",{children:"60"})]}),"HD60"===a&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{children:"HD"}),(0,s.jsx)("span",{children:"60"})]}),"50M"===a&&(0,s.jsx)("span",{children:"50M"}),"12M"===a&&(0,s.jsx)("span",{children:"12M"})]})})},Du=function(e){var t=e.initialIcon,a=e.useAsPlaceholderOnly,n=e.className,r=(0,P.iH)(),l=r.cuepoint,c=r.quickSettings,o=r.setQuickSettings,d=r.resetedQuickSettingsControls,u=r.setQuickSettingsToast,p=(0,i.useState)(!0),x=p[0],f=p[1],m=(0,i.useMemo)((function(){return t.toString().search("30")?P.fY.quickSettings.videoResolution.filter((function(e){return e.toString().search("30")>=0})):P.fY.quickSettings.videoResolution.filter((function(e){return e.toString().search("60")>=0}))}),[t]),h=(0,i.useMemo)((function(){return c.videoResolution}),[c]),A=function(e){o({videoResolution:e})};return(0,i.useEffect)((function(){return h||A(t),function(){}}),[h]),(0,i.useEffect)((function(){return A(t),function(){}}),[d]),(0,i.useEffect)((function(){switch(l){case"quick-settings-ui-[video-resolution-hide]":f(!1);break;case"":f(!0)}return function(){}}),[l]),x?(0,s.jsx)(Ou,{onClick:function(e){m.length<=1||a||u((0,s.jsx)(Pu,{parent:e.currentTarget,activeOption:h,availableOptions:m,className:n,onOptionChange:function(e){A(e)},defaultIcon:Mu}))},children:(0,s.jsx)(Mu,{className:H()(n,{}),type:t})}):null},Gu=function(e){var t=e.className,a=e.type;return(0,s.jsxs)(s.Fragment,{children:["auto"===a&&(0,s.jsx)("svg",{width:"15",height:"18",viewBox:"0 0 15 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7736 10.7725L15.0036 17.6125H13.7211L12.7948 15.5462H9.63606L8.70981 17.6125H7.42731L10.6573 10.7725H11.7736ZM8.06926 1.1811L6.08807 7.8577H9.67663C10.1461 7.8577 10.4146 8.41284 10.1316 8.79954L8.40445 11.1606L7.56407 12.3078L3.92528 17.2801C3.54083 17.8053 2.73811 17.3827 2.92551 16.7539L4.90573 10.0773H1.31911C0.847719 10.0773 0.580147 9.52112 0.863175 9.13342L2.47247 6.9348L3.31286 5.78765L7.06949 0.654868C7.45298 0.12963 8.2557 0.552212 8.06926 1.1811ZM11.2273 12.0075L10.0873 14.5725H12.3673L11.2273 12.0075Z",fill:"currentColor"})}),"on"===a&&(0,s.jsx)("svg",{width:"10",height:"18",viewBox:"0 0 10 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.81554 5.82036L6.57218 0.687582C6.95567 0.162344 7.75838 0.584927 7.57195 1.21382L5.59076 7.89042H9.17931C9.64877 7.89042 9.91731 8.44556 9.63428 8.83226L7.90714 11.1933L7.06675 12.3405L3.42797 17.3128C3.04351 17.838 2.2408 17.4155 2.42819 16.7866L4.40842 10.11H0.821795C0.350405 10.11 0.082833 9.55384 0.36586 9.16614L1.97516 6.96751L2.81554 5.82036Z",fill:"currentColor"})}),"off"===a&&(0,s.jsx)("svg",{width:"14",height:"18",viewBox:"0 0 14 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.81791 6.96841L9.07132 12.3414L5.31689 17.3138C4.92022 17.838 4.092 17.4154 4.28535 16.7875L6.3295 10.1099H2.6279C2.14153 10.1099 1.86545 9.55474 2.15748 9.16704L3.81791 6.96841ZM0.633083 2.42842C0.702849 2.42842 0.771619 2.45533 0.824442 2.50915L4.41342 6.17985L9.66782 11.5519L13.5588 15.5315C13.6614 15.6362 13.6604 15.8046 13.5548 15.9083C13.502 15.9591 13.4352 15.984 13.3684 15.984C13.2987 15.984 13.2299 15.9581 13.1771 15.9043L9.34291 11.9824L4.08851 6.61041L0.442721 2.8819C0.339068 2.77625 0.341061 2.60682 0.446707 2.50516C0.498534 2.45333 0.566307 2.42842 0.633083 2.42842ZM8.56083 0.687548C8.9575 0.163304 9.78572 0.585888 9.59237 1.21378L7.54822 7.89142H11.2508C11.7362 7.89142 12.0123 8.44556 11.7202 8.83326L9.93821 11.1934L4.68481 5.82135L8.56083 0.687548Z",fill:"currentColor"})})]})},ku=function(e){var t=e.initialIcon,a=e.useAsPlaceholderOnly,n=e.className,r=(0,P.iH)(),l=r.quickSettings,c=r.setQuickSettings,o=r.resetedQuickSettingsControls,d=r.setQuickSettingsToast,u=P.fY.quickSettings.flash,p=(0,i.useMemo)((function(){return l.flash}),[l]),x=function(e){c({flash:e})};return(0,i.useEffect)((function(){return p||x(t),function(){}}),[p]),(0,i.useEffect)((function(){return x(t),function(){}}),[o]),(0,s.jsx)(Ou,{onClick:function(e){a||u.length<=1||d((0,s.jsx)(Pu,{parent:e.currentTarget,activeOption:p,availableOptions:u,className:n,onOptionChange:function(e){x(e)},defaultIcon:Gu}))},children:(0,s.jsx)(Gu,{className:H()(n,{"text-primary-yellow-500":"on"===p}),type:p})})},Hu=function(e){var t=e.children,a=e.type,n=e.className,r=(0,P.iH)().recording,l=(0,i.useRef)(null);return(0,i.useLayoutEffect)((function(){if(l.current){var e=l.current;return""!==r?I.ZP.to(e,{opacity:"out"===a?0:1,duration:.3,ease:"power3.out",pointerEvents:"out"===a?"none":"auto"}):I.ZP.to(e,{opacity:"out"===a?1:0,duration:.3,ease:"power3.out",pointerEvents:"out"===a?"auto":"none"}),function(){}}}),[r]),(0,s.jsx)("div",{ref:l,className:H()(n,{"ponter-events-none opacity-0":"out"===a}),children:t})},Bu=function(e){var t=e.className;return(0,s.jsx)("svg",{viewBox:"0 0 14 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7727 0.5C13.0028 0.5 14 1.51394 14 2.76471V9.23529C14 10.4861 13.0028 11.5 11.7727 11.5H2.22727C0.997184 11.5 0 10.4861 0 9.23529V2.76471C0 1.51394 0.997184 0.5 2.22727 0.5H11.7727ZM7 3.08823C5.41846 3.08823 4.13636 4.39188 4.13636 6C4.13636 7.60812 5.41846 8.91177 7 8.91177C8.58154 8.91177 9.86364 7.60812 9.86364 6C9.86364 4.39188 8.58154 3.08823 7 3.08823ZM11.4545 1.79412C10.7516 1.79412 10.1818 2.37351 10.1818 3.08823C10.1818 3.80296 10.7516 4.38235 11.4545 4.38235C12.1575 4.38235 12.7273 3.80296 12.7273 3.08823C12.7273 2.37351 12.1575 1.79412 11.4545 1.79412Z",fill:"currentColor"})})},Uu=function(){var e=(0,P.iH)().recording,t=(0,i.useState)(0),a=t[0],n=t[1],r=(0,i.useRef)(null),l=(0,i.useRef)(null),c=(0,i.useRef)(null),o=(0,i.useRef)("");return(0,i.useLayoutEffect)((function(){if("start"===e){var t=setInterval((function(){n((function(e){return e+50}))}),50);return function(){clearInterval(t)}}}),[e]),(0,i.useLayoutEffect)((function(){return""===e&&n(0),function(){}}),[e]),(0,i.useLayoutEffect)((function(){if(l.current&&r.current&&c.current){var t=l.current,a=r.current,s=c.current,i="pause"===o.current,n=.3,d="power3.out";"start"===e?(I.ZP.to(t,{opacity:1,duration:n,ease:d,delay:i?0:.2}),I.ZP.to(a,{opacity:0,duration:n,ease:d})):"pause"===e&&(I.ZP.to(t,{opacity:0,duration:n,ease:d}),I.ZP.to(a,{opacity:1,duration:n,ease:d}));var u=I.ZP.timeline({yoyo:!0,repeat:1,repeatDelay:2});return"start"===e?u.fromTo(s,{opacity:1,x:"100%"},{opacity:1,x:"0%",duration:n,ease:d},.5):u.set(s,{opacity:0},0),o.current=e,function(){u.kill()}}}),[e]),(0,s.jsxs)(Hu,{type:"in",children:[(0,s.jsx)("div",{className:"flex items-end justify-center px-6",children:(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)("div",{className:"relative flex h-full w-full items-center justify-center",children:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{ref:r,className:"absolute inset-0 rounded-full opacity-0"}),(0,s.jsx)("div",{ref:l,className:"absolute inset-0 rounded-full bg-[#EF5A40] opacity-0"}),(0,s.jsx)("div",{className:"relative min-w-[100px] rounded-full px-4 py-2 text-center font-sans text-sm font-semibold uppercase",children:function(e){var t=Math.floor(e/1e3),a=Math.floor(t/3600),s=Math.floor((t-3600*a)/60),i=t-3600*a-60*s,n=a.toString().padStart(2,"0"),r=s.toString().padStart(2,"0"),l=i.toString().padStart(2,"0");return"".concat(n,":").concat(r,":").concat(l)}(a)})]})}),(0,s.jsx)("div",{className:"pointer-events-none invisible absolute inset-y-0 right-0 flex items-center",children:(0,s.jsx)(ku,{initialIcon:"off"})})]})}),(0,s.jsx)("div",{className:"invisible absolute right-7 top-1 overflow-hidden rounded-full xxs:right-1",children:(0,s.jsx)("div",{ref:c,className:"relative flex items-center justify-center rounded-full bg-primary-green-300 px-1.5 py-0.5",children:(0,s.jsx)("div",{children:(0,s.jsx)(Bu,{className:"w-2"})})})})]})},Zu=function(){var e=(0,P.iH)(),t=e.mode,a=e.recording,i=e.setResumeVideo,n=e.isFirstVisitCameraApp;return(0,s.jsx)(vu,{className:"pointer-events-none absolute inset-0 flex flex-col justify-between",hideCuepoints:["hide-camera-header-and-footer-ui"],showCuepoints:["show-camera-header-and-footer-ui","show-camera-header-ui"],children:(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"z-100 safe-area-top relative flex w-full items-center justify-center bg-black",children:(0,s.jsxs)(Lu,{children:["video"===t&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"flex items-center justify-end gap-[10px] p-6 pb-[6px]",children:(0,s.jsx)("div",{className:"overflow-hidden",children:(0,s.jsxs)("div",{className:"inline-flex w-auto translate-x-0 items-center justify-end gap-[10px] transition-all",style:a?{transform:"translate(calc(100% - 24px))"}:{},children:[(0,s.jsx)(ht,{title:g.t["CAMERA_CAMERA-APP-POP-UP-1_SETTINGS_POP-UP-TITLE"],text:g.t["CAMERA_CAMERA-APP-POP-UP-1_FIND-SETTINGS_POP-UP-TEXT"],cta:{text:g.t["CAMERA_CAMERA-APP-POP-UP-1_OK_POP-UP-OK"]},children:(0,s.jsx)(bu,{})}),(0,s.jsx)(yu,{}),(0,s.jsx)(ht,{title:g.t["CAMERA_VIDEO-POP-UP_POP-UP-TITLE"],text:g.t["CAMERA_VIDEO-POP-UP_POP-UP-TEXT"],cta:{text:g.t["CAMERA_VIDEO-POP-UP_POP-UP-OK"]},children:(0,s.jsx)(Du,{initialIcon:"FHD30",useAsPlaceholderOnly:!0})}),(0,s.jsx)("div",{className:"flex w-2 justify-center",children:(0,s.jsx)("span",{className:"h-[2.5px] w-[2.5px] rounded-full bg-white"})}),(0,s.jsx)(Su,{})]})})})}),"photo"===t&&(0,s.jsx)("div",{className:"flex items-center justify-end gap-[10px] p-6 pb-[6px]",children:(0,s.jsx)("div",{className:"overflow-hidden",children:(0,s.jsxs)("div",{className:"inline-flex w-auto translate-x-0 items-center justify-end gap-[10px] transition-all",style:a?{transform:"translate(calc(100% - 24px))"}:{},children:[(0,s.jsx)(ht,{title:g.t["CAMERA_CAMERA-APP-POP-UP-1_SETTINGS_POP-UP-TITLE"],text:g.t["CAMERA_CAMERA-APP-POP-UP-1_FIND-SETTINGS_POP-UP-TEXT"],cta:{text:g.t["CAMERA_CAMERA-APP-POP-UP-1_OK_POP-UP-OK"]},children:(0,s.jsx)(bu,{})}),(0,s.jsx)(Du,{initialIcon:n?"50M":"12M",useAsPlaceholderOnly:!0}),(0,s.jsx)(Ru,{}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)(vu,{showCuepoints:["show-highlight-[my-filter-mode]"],hideCuepoints:["hide-highlight-[my-filter-mode]"],className:"invisible absolute z-20 flex h-full w-full items-center justify-center",hideOnInit:!0,onClick:function(){i()},children:(0,s.jsx)(_u,{})}),(0,s.jsx)(wu,{})]})]})})})]})}),(0,s.jsxs)("div",{className:"relative mt-5",children:[(0,s.jsx)(Nu,{cuepointId:"my-filter-mode",children:g.t["@PARADIGM_CAMERA_PHOTO-MODE_TAP-TO-APPLY-MY-FILTER"]}),(0,s.jsx)(Uu,{})]})]})})},Yu="/_next/static/media/photo-my-filter-start-thumb.e30bae9b.jpg",Fu="/_next/static/media/photo-shoot-0.c891ae78.png",Vu="/_next/static/media/video-start-thumb.4b83ae68.jpg",Wu=function(e){var t=e.className;return(0,s.jsx)("svg",{width:"29",height:"28",viewBox:"0 0 29 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,s.jsx)("path",{d:"M14.416 28C22.148 28 28.416 21.732 28.416 14C28.416 6.26801 22.148 0 14.416 0C6.68403 0 0.416016 6.26801 0.416016 14C0.416016 21.732 6.68403 28 14.416 28Z",fill:"#FCFCFC",fillOpacity:"0.85"})})},Xu=function(e){var t=e.className,a=(0,P.iH)().recording,n=(0,i.useRef)(null);return(0,i.useLayoutEffect)((function(){if(n.current){var e=n.current;return""!==a?I.ZP.to(e,{opacity:1,duration:.3,ease:"power3.out"}):I.ZP.to(e,{opacity:0,duration:.3,ease:"power3.out"}),function(){}}}),[a]),(0,s.jsx)("div",{ref:n,className:"opacity-0",children:(0,s.jsx)(Wu,{className:t})})},Ku=[{mode:"photo",src:[Fu,"/_next/static/media/photo-shoot-1.c7a75c0b.png","/_next/static/media/photo-shoot-2.becb7b0c.png","/_next/static/media/photo-shoot-3.2db079eb.png","/_next/static/media/photo-shoot-4.edd7c66f.png"],defaultSrc:Fu,isFirstVisitCameraApp:!0},{mode:"photo",src:[Yu],isFirstVisitCameraApp:!1,defaultSrc:Yu},{mode:"video",src:Vu,defaultSrc:Vu,isFirstVisitCameraApp:!1}],Qu=function(e){var t=e.photoIndex,a=(0,P.iH)(),i=a.mode,n=a.isFirstVisitCameraApp,r=Ku.find((function(e){return"photo"===i?e.mode===i&&e.isFirstVisitCameraApp===n:e.mode===i})),l=r.src.length>=0?r.src[t]:r.src;return(0,s.jsx)("div",{className:H()("absolute inset-0 overflow-hidden rounded-full bg-cover bg-center",{hidden:r.mode!==i&&r.isFirstVisitCameraApp!==n}),style:{backgroundImage:"url(".concat(l||r.defaultSrc,")")}})},zu=function(e){var t=e.className,a=(0,P.iH)(),n=a.takePhoto,r=a.resetTakePhoto,l=i.useRef(null);return(0,i.useLayoutEffect)((function(){if(l.current&&-1!==n){var e=l.current,t=I.ZP.timeline();return t.fromTo(e,{x:"100%"},{x:"0%",duration:.3,ease:"power3.out"},.2),function(){t.kill()}}}),[n]),(0,i.useEffect)((function(){return function(){return r()}}),[]),(0,s.jsxs)("button",{className:H()("relative h-[48px] w-[48px] overflow-hidden rounded-full border-white/20 bg-[#5A5B5D]",t),children:[(0,s.jsx)("div",{className:"absolute inset-0",children:(0,s.jsxs)(Hu,{className:"absolute inset-0",type:"out",children:[(0,s.jsx)("div",{className:"absolute inset-0",children:(0,s.jsx)(Qu,{photoIndex:n})}),(0,s.jsx)("div",{ref:l,className:"absolute inset-0",children:(0,s.jsx)(Qu,{photoIndex:n+1})})]})}),(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,s.jsx)(Xu,{})})]})},qu=function(e){var t=e.className;return(0,s.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsx)("path",{d:"M7.60352 3.375C7.60352 1.51104 6.09248 0 4.22852 0C2.36455 0 0.853516 1.51104 0.853516 3.375V14.625C0.853516 16.489 2.36455 18 4.22852 18C6.09248 18 7.60352 16.489 7.60352 14.625V3.375Z",fill:"#FCFCFC"}),(0,s.jsx)("path",{d:"M17.9785 3.375C17.9785 1.51104 16.4675 0 14.6035 0C12.7396 0 11.2285 1.51104 11.2285 3.375V14.625C11.2285 16.489 12.7396 18 14.6035 18C16.4675 18 17.9785 16.489 17.9785 14.625V3.375Z",fill:"#FCFCFC"})]})},Ju=function(e){var t=e.className;return(0,s.jsx)("svg",{width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,s.jsx)("path",{d:"M14.916 0H3.91602C1.98302 0 0.416016 1.567 0.416016 3.5V14.5C0.416016 16.433 1.98302 18 3.91602 18H14.916C16.849 18 18.416 16.433 18.416 14.5V3.5C18.416 1.567 16.849 0 14.916 0Z",fill:"#FCFCFC"})})},$u=function(e){var t=e.className;return(0,s.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.83186 19.706C4.47147 19.706 0.125977 15.3605 0.125977 10.0001C0.125977 4.63969 4.47147 0.294189 9.83186 0.294189C15.1922 0.294189 19.5377 4.63969 19.5377 10.0001C19.5377 15.3605 15.1922 19.706 9.83186 19.706Z",fill:"#EF5A40"})})},ep=function(e){var t=e.children,a=e.className,n=(0,P.iH)(),r=n.recording,l=n.setRecording,c=n.cuepoint,o=i.useRef(null),d=i.useRef(null),u=i.useRef(null);return(0,i.useLayoutEffect)((function(){if("show-recording-ui"===c)l("start");return function(){}}),[c]),(0,i.useLayoutEffect)((function(){if(o.current&&d.current&&u.current){var e=o.current,t=d.current,a=u.current,s=.6,i="power3.out",n=I.ZP.timeline();return"start"===r||"pause"===r?n.to(e,{width:132,backgroundColor:"rgba(0, 0, 0, 0.2)",duration:s,ease:i},0).to(a,{opacity:1,scale:1,pointerEvents:"auto",duration:s,ease:i},0).to(t,{opacity:0,scale:0,duration:s,ease:i},0):n.to(e,{backgroundColor:"rgba(255, 255, 255, 1)",width:66,duration:s,ease:i},0).to(a,{opacity:0,scale:0,pointerEvents:"none",duration:s,ease:i},0).to(t,{opacity:1,scale:1,duration:s,ease:i},0),function(){n.kill()}}}),[r]),(0,s.jsxs)("div",{ref:o,className:H()("relative",a),children:[(0,s.jsx)("div",{ref:d,className:"relative",children:t}),(0,s.jsxs)("div",{ref:u,className:"pointer-events-none absolute inset-0 grid grid-cols-2 items-center justify-center opacity-0",children:[(0,s.jsx)("button",{className:"flex h-full items-center justify-center pl-2",onClick:function(){"pause"===r?(l("start"),(0,V.Kq)("/app/camera/video-mode/start",M.dC.Camera)):(l("pause"),(0,V.Kq)("/app/camera/video-mode/pause",M.dC.Camera))},children:"pause"===r?(0,s.jsx)($u,{}):(0,s.jsx)(qu,{})}),(0,s.jsx)("button",{className:"flex h-full items-center justify-center pr-2",onClick:function(){l(""),(0,V.Kq)("/app/camera/video-mode/stop",M.dC.Camera)},children:(0,s.jsx)(Ju,{})})]})]})},tp=function(e){var t=e.children,a=e.className,n=(0,P.iH)(),r=n.mode,l=n.setTakePhoto,c=n.cuepoint,o=i.useRef(null),d=i.useRef(null),u=(0,i.useMemo)((function(){return"video"===r||"more"===r}),[r]),p=function(){if(o.current){var e=o.current;d.current&&d.current.kill(),d.current=I.ZP.timeline(),d.current.fromTo(e,{scale:1},{scale:.75,duration:.2,ease:"power1.out",yoyo:!0,repeat:1,onComplete:function(){l()}},0)}};return(0,i.useEffect)((function(){c.includes("photo-shot")&&p()}),[c]),(0,s.jsxs)("div",{className:H()("relative",a),onClick:function(){u||(p(),(0,V.Kq)("/app/camera/".concat(r,"-mode/shutter"),M.dC.Camera))},children:[t,(0,s.jsxs)("div",{className:H()("absolute inset-0",{hidden:u}),children:[(0,s.jsx)("div",{className:"absolute inset-1 rounded-full bg-black"}),(0,s.jsx)("div",{ref:o,className:"absolute inset-0 rounded-full bg-white"})]})]})},ap=function(e){var t=e.speed,a=e.delay,n=e.className,r=(0,i.useRef)(null);return(0,i.useLayoutEffect)((function(){if(r.current){var e=r.current;return I.ZP.timeline({repeat:-1,delay:a||0}).fromTo(e,{scale:.9,opacity:0},{scale:1,opacity:1,duration:t/2,ease:"power3.in"}).to(e,{scale:1.2,opacity:0,duration:t,ease:"power3.out"}),function(){}}}),[]),(0,s.jsx)("div",{ref:r,className:H()("absolute inset-0 rounded-full border-primary-blue-900",n)})},sp=function(e){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ap,(0,_.Z)({speed:1.5,delay:0},e)),(0,s.jsx)(ap,(0,_.Z)({speed:1.5,delay:.75},e))]})},ip=function(e){var t=e.cuepointId,a=(0,P.iH)(),n=a.cuepoint,r=a.setResumeVideo,l=(0,i.useState)(!1),c=l[0],o=l[1],d=function(){r(),o(!1)};return(0,i.useLayoutEffect)((function(){if(""!==n){if(n.includes("show-highlight-"))n.split("[")[1].replace("]","")===t&&o(!0);else if(n.includes("hide-highlight-")){n.split("[")[1].replace("]","")===t&&o(!1)}return function(){}}o(!1)}),[n]),(0,i.useLayoutEffect)((function(){var e;return c&&(e=setInterval((function(){d()}),5e3)),function(){clearInterval(e)}}),[c]),(0,s.jsx)(s.Fragment,{children:c&&(0,s.jsx)("div",{className:"absolute inset-0",onClick:function(){d()},children:(0,s.jsx)(sp,(0,_.Z)({},e))})})},np=function(e){var t=e.className,a=(0,P.iH)(),n=a.mode,r=a.recording,l=a.setRecording,c=(0,i.useRef)(null);return(0,i.useLayoutEffect)((function(){if(c.current){var e=c.current,t="power3.out";if("video"===n)I.ZP.fromTo(e,{scale:0},{scale:1,duration:.3,ease:t});else I.ZP.to(e,{scale:0,duration:.3,ease:t});return function(){I.ZP.killTweensOf(e)}}}),[n]),(0,s.jsxs)(ep,{className:"w-[66px] rounded-[66px] bg-[#FAF9F5]",children:[(0,s.jsx)(tp,{children:(0,s.jsx)("button",{className:H()("relative flex h-[66px] w-full items-center justify-center",t),onClick:function(){"video"===n&&l(""===r?"start":"start"===r?"pause":"")},children:(0,s.jsx)("div",{ref:c,className:"h-[26px] w-[26px] scale-0 rounded-full bg-[#EF5A40]"})})}),(0,s.jsx)(ip,{className:"border-4",cuepointId:"photo-shot"})]})},rp=function(e){var t=e.children,a=(0,P.iH)().setAlertToast,n=(0,i.useRef)(null);return(0,i.useLayoutEffect)((function(){if(n.current){var e=n.current,t=I.ZP.timeline({onComplete:function(){a(null)}}).to(e,{opacity:0,duration:.2,ease:"power3.out"},1.25);return function(){t.kill()}}}),[]),(0,s.jsx)("div",{ref:n,className:"flex items-center justify-center",dir:z.e.direction,children:(0,s.jsx)("div",{className:"rounded-3xl bg-black/20 p-3 py-2 text-sm font-normal leading-none text-white ltr:font-sans rtl:font-sansAr",children:t})})},lp=function(){return(0,s.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M24.0036 34.8672C18.5788 34.8672 14.0816 30.8951 13.262 25.7006L13.2446 25.5782L12.7648 26.4237C12.5265 26.8441 11.9925 26.9917 11.5721 26.7534C11.1517 26.5151 11.0041 25.9811 11.2424 25.5607L12.9516 22.5668L13.3575 21.8819L13.4198 21.7877L13.4947 21.6854C13.4988 21.6804 13.5035 21.6753 13.5093 21.67L13.6053 21.6018L13.8434 21.4555L14.0591 21.4255C14.3729 21.3875 14.4802 21.4197 14.7142 21.6731L14.968 21.965L15.0228 22.2668L15.0269 22.337L15.0194 22.3939C15.0173 22.404 15.0149 22.4148 15.0122 22.427C14.9236 22.9401 14.8786 23.4631 14.8786 23.9922C14.8786 29.0318 18.964 33.1172 24.0036 33.1172C26.9125 33.1172 29.5921 31.7479 31.3061 29.4649C31.5962 29.0784 32.1447 29.0004 32.5311 29.2905C32.9176 29.5806 32.9957 30.1291 32.7056 30.5156C30.6645 33.2342 27.469 34.8672 24.0036 34.8672Z",fill:"white"}),(0,s.jsx)("path",{d:"M24.0023 13.125C29.4272 13.125 33.9243 17.0971 34.7439 22.2916L34.7609 22.413L35.2411 21.5685C35.4794 21.1481 36.0134 21.0005 36.4338 21.2388C36.8542 21.4771 37.0018 22.0111 36.7635 22.4315L34.9751 25.5617L34.6484 26.1103L34.5861 26.2045L34.5328 26.274L34.5113 26.3068C34.5071 26.3118 34.5024 26.3168 34.4966 26.3222L34.4444 26.3618L34.1626 26.5367L33.9469 26.5667C33.6331 26.6047 33.5258 26.5725 33.2918 26.3191L33.1335 26.1393C33.1037 26.1045 33.072 26.0672 33.038 26.0272L32.9905 25.775L32.9795 25.6868L32.9815 25.627L32.9937 25.5652C33.0824 25.0521 33.1273 24.5291 33.1273 24C33.1273 18.9604 29.0419 14.875 24.0023 14.875C21.0924 14.875 18.4118 16.2454 16.698 18.5298C16.408 18.9163 15.8596 18.9946 15.473 18.7046C15.0864 18.4146 15.0082 17.8661 15.2982 17.4796C17.339 14.7592 20.5357 13.125 24.0023 13.125Z",fill:"white"})]})},cp=function(e){var t=e.className,a=(0,P.iH)(),n=a.setAlertToast,r=a.cuepoint,l=(0,i.useRef)(null),c=(0,i.useState)(0),o=c[0],d=c[1];return(0,i.useLayoutEffect)((function(){if(l.current&&!(o<=0)){var e=l.current,t=I.ZP.timeline({});return t.fromTo(e,{rotation:0},{rotation:180,duration:1,ease:"power3.inOut"},0).fromTo(e,{scale:.9},{scale:1,duration:.8,ease:"power3.out"},0),function(){t.kill()}}}),[o]),(0,i.useLayoutEffect)((function(){return r.includes("switch-to-front-camera")&&d(o+1),function(){}}),[r]),(0,s.jsx)("button",{ref:l,className:H()("rounded-full bg-white/10",t),onClick:function(){n({position:"bottom",children:(0,s.jsx)(rp,{children:(0,s.jsx)("span",{children:g.t.CAMERA_SWITCH_CAMERA_DISABLED})})})},children:(0,s.jsx)(lp,{})})},op=function(){var e=(0,P.iH)().effects,t=(0,i.useRef)(null),a=(0,i.useRef)(null);return(0,i.useLayoutEffect)((function(){if(t.current&&a.current){var s=t.current,i=a.current,n=I.ZP.timeline(),r=.3,l="power3.out";return""!==e?n.to(s,{y:10,duration:r,ease:l},0).to(i,{scale:.9,transformOrigin:"center bottom",duration:r,ease:l},0):n.to(s,{y:0,duration:r,ease:l},0).to(i,{scale:1,transformOrigin:"center bottom",duration:r,ease:l},0),function(){n.kill()}}}),[e]),(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsxs)("div",{ref:t,className:"relative flex w-full items-center justify-around px-2",children:[(0,s.jsx)(ht,{className:"inline-flex",title:g.t["CAMERA_CAMERA-APP-POP-UP-3_GALLERY_POP-UP-TITLE"],text:g.t["CAMERA_CAMERA-APP-POP-UP-3_FAMILIAR-OPTIONS_POP-UP-TEXT"],cta:{text:g.t["CAMERA_CAMERA-APP-POP-UP-3_OK_POP-UP-OK"]},children:(0,s.jsx)(zu,{})}),(0,s.jsx)("div",{ref:a,children:(0,s.jsx)(np,{})}),(0,s.jsx)(cp,{})]})})},dp=function(e){var t=e.className;return(0,s.jsxs)("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsx)("rect",{width:"30",height:"30",rx:"15",fill:"black",fillOpacity:"0.25"}),(0,s.jsx)("rect",{x:"0.5",y:"0.5",width:"29",height:"29",rx:"14.5",stroke:"white",strokeOpacity:"0.25"}),(0,s.jsx)("rect",{x:"7",y:"7",width:"16",height:"16",rx:"8",fill:"url(#effect-blur-radial)"}),(0,s.jsx)("path",{d:"M15 21C18.3137 21 21 18.3137 21 15C21 11.6863 18.3137 9 15 9C11.6863 9 9 11.6863 9 15C9 18.3137 11.6863 21 15 21Z",fill:"url(#effect-blur)"}),(0,s.jsxs)("defs",{children:[(0,s.jsxs)("radialGradient",{id:"effect-blur-radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(15 15) rotate(90) scale(8)",children:[(0,s.jsx)("stop",{offset:"0.40359",stopColor:"white"}),(0,s.jsx)("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),(0,s.jsxs)("radialGradient",{id:"effect-blur",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(14.5 13.5) rotate(86.1859) scale(7.51665)",children:[(0,s.jsx)("stop",{offset:"0.015625",stopColor:"#FCFCFC"}),(0,s.jsx)("stop",{offset:"0.561386",stopColor:"#FCFCFC"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#ECECEC",stopOpacity:"0.65"})]})]})]})},up=function(e){var t=e.className;return(0,s.jsxs)("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsx)("rect",{width:"30",height:"30",rx:"15",fill:"black",fillOpacity:"0.25"}),(0,s.jsx)("rect",{x:"0.5",y:"0.5",width:"29",height:"29",rx:"14.5",stroke:"white",strokeOpacity:"0.25"}),(0,s.jsx)("rect",{x:"7",y:"7",width:"16",height:"16",rx:"8",fill:"url(#effect-studio-radial)"}),(0,s.jsx)("path",{d:"M15 21C18.3137 21 21 18.3137 21 15C21 11.6863 18.3137 9 15 9C11.6863 9 9 11.6863 9 15C9 18.3137 11.6863 21 15 21Z",fill:"url(#effect-studio)"}),(0,s.jsxs)("defs",{children:[(0,s.jsxs)("radialGradient",{id:"effect-studio-radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(15 15) rotate(90) scale(8)",children:[(0,s.jsx)("stop",{offset:"0.40359",stopColor:"white"}),(0,s.jsx)("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),(0,s.jsxs)("radialGradient",{id:"effect-studio",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(14.5 13.5) rotate(86.1859) scale(7.51665)",children:[(0,s.jsx)("stop",{offset:"0.015625",stopColor:"#FCFCFC"}),(0,s.jsx)("stop",{offset:"0.561386",stopColor:"#FCFCFC"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#ECECEC",stopOpacity:"0.65"})]})]})]})},pp=function(e){var t=e.className;return(0,s.jsxs)("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsx)("rect",{width:"30",height:"30",rx:"15",fill:"white",fillOpacity:"0.4"}),(0,s.jsx)("rect",{x:"0.5",y:"0.5",width:"29",height:"29",rx:"14.5",stroke:"white",strokeOpacity:"0.25"}),(0,s.jsx)("path",{d:"M15 21C18.3137 21 21 18.3137 21 15C21 11.6863 18.3137 9 15 9C11.6863 9 9 11.6863 9 15C9 18.3137 11.6863 21 15 21Z",fill:"url(#effect-high-key-mono)"}),(0,s.jsx)("defs",{children:(0,s.jsxs)("radialGradient",{id:"effect-high-key-mono",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(14.5 13.5) rotate(86.1859) scale(7.51665)",children:[(0,s.jsx)("stop",{offset:"0.015625",stopColor:"#FCFCFC"}),(0,s.jsx)("stop",{offset:"0.561386",stopColor:"#FCFCFC"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#ECECEC",stopOpacity:"0.65"})]})})]})},xp=function(e){var t=e.className;return(0,s.jsxs)("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsx)("rect",{width:"30",height:"30",rx:"15",fill:"black",fillOpacity:"0.25"}),(0,s.jsx)("rect",{x:"0.5",y:"0.5",width:"29",height:"29",rx:"14.5",stroke:"white",strokeOpacity:"0.25"}),(0,s.jsx)("path",{d:"M15 21C18.3137 21 21 18.3137 21 15C21 11.6863 18.3137 9 15 9C11.6863 9 9 11.6863 9 15C9 18.3137 11.6863 21 15 21Z",fill:"url(#effect-low-key-mono)"}),(0,s.jsx)("defs",{children:(0,s.jsxs)("radialGradient",{id:"effect-low-key-mono",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(14.5 13.5) rotate(86.1859) scale(7.51665)",children:[(0,s.jsx)("stop",{offset:"0.015625",stopColor:"#FCFCFC"}),(0,s.jsx)("stop",{offset:"0.561386",stopColor:"#FCFCFC"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#ECECEC",stopOpacity:"0.65"})]})})]})},fp=function(e){var t=e.className;return(0,s.jsxs)("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsx)("rect",{width:"30",height:"30",rx:"15",fill:"url(#paint0_linear_491_4949)"}),(0,s.jsx)("rect",{x:"0.5",y:"0.5",width:"29",height:"29",rx:"14.5",stroke:"white",strokeOpacity:"0.25"}),(0,s.jsx)("path",{d:"M15 21C18.3137 21 21 18.3137 21 15C21 11.6863 18.3137 9 15 9C11.6863 9 9 11.6863 9 15C9 18.3137 11.6863 21 15 21Z",fill:"url(#effect-backdrop)"}),(0,s.jsxs)("defs",{children:[(0,s.jsxs)("linearGradient",{id:"paint0_linear_491_4949",x1:"15",y1:"0",x2:"15",y2:"30",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{stopColor:"#D1BD8A"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#81AA82"})]}),(0,s.jsxs)("radialGradient",{id:"effect-backdrop",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(14.5 13.5) rotate(86.1859) scale(7.51665)",children:[(0,s.jsx)("stop",{offset:"0.015625",stopColor:"#FCFCFC"}),(0,s.jsx)("stop",{offset:"0.561386",stopColor:"#FCFCFC"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#ECECEC",stopOpacity:"0.65"})]})]})]})},mp=function(e){var t=e.className;return(0,s.jsxs)("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsx)("rect",{width:"30",height:"30",rx:"15",fill:"white",fillOpacity:"0.2"}),(0,s.jsx)("rect",{x:"0.5",y:"0.5",width:"29",height:"29",rx:"14.5",stroke:"white",strokeOpacity:"0.15"}),(0,s.jsx)("path",{d:"M15 21C18.3137 21 21 18.3137 21 15C21 11.6863 18.3137 9 15 9C11.6863 9 9 11.6863 9 15C9 18.3137 11.6863 21 15 21Z",fill:"url(#effect-high-key-mono)"}),(0,s.jsx)("defs",{children:(0,s.jsxs)("radialGradient",{id:"effect-high-key-mono",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(14.5 13.5) rotate(86.1859) scale(7.51665)",children:[(0,s.jsx)("stop",{offset:"0.015625",stopColor:"#FCFCFC"}),(0,s.jsx)("stop",{offset:"0.561386",stopColor:"#FCFCFC"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#ECECEC",stopOpacity:"0.65"})]})})]})},hp=function(e){var t=e.isActive,a=e.children,n=e.onClick,r=(0,i.useRef)(null);return(0,i.useLayoutEffect)((function(){if(r.current){var e=r.current;return I.ZP.to(e,{scale:t?1.2:1,ease:"power3.inOut",duration:.4}),function(){I.ZP.killTweensOf(e)}}}),[t]),(0,s.jsx)("div",{ref:r,className:"-translate-x-1/2 transform",onClick:function(){n&&n()},children:a})},Ap=function(){var e=(0,P.iH)().effects,t=(0,i.useState)(P.fY.effects.mode),a=t[0],n=t[1],r=(0,i.useRef)(null),l=(0,i.useRef)(null),c=(0,i.useRef)(!1),o=[{id:"blur",label:g.t["CAMERA_EFFECTS_BLUR-LABEL"],icon:(0,s.jsx)(dp,{})},{id:"studio",label:g.t["CAMERA_EFFECTS_STUDIO-LABEL"],icon:(0,s.jsx)(up,{})},{id:"high-key-mono",label:g.t["CAMERA_EFFECTS_HIGH-KEY-MONO-LABEL"],icon:(0,s.jsx)(pp,{})},{id:"low-key-mono",label:g.t["CAMERA_EFFECTS_LOW-KEY-MONO-LABEL"],icon:(0,s.jsx)(xp,{})},{id:"backdrop",label:g.t["CAMERA_EFFECTS_BACKDROP-LABEL"],icon:(0,s.jsx)(fp,{})},{id:"color-point",label:g.t["CAMERA_EFFECTS_COLOR-POINT-LABEL"],icon:(0,s.jsx)(mp,{})}];return(0,i.useLayoutEffect)((function(){return""===e&&(c.current=!1),function(){}}),[e]),(0,i.useLayoutEffect)((function(){if(l.current){var t=l.current,a=(t.getBoundingClientRect().width+24)/o.length,s=o.findIndex((function(t){return t.id===e}));if(-1!==s){var i=-s*a;return c.current?I.ZP.to(t,{x:Math.round(i),ease:"power3.inOut",duration:1}):I.ZP.set(t,{x:Math.round(i)}),n(o[s].label),c.current=!0,function(){I.ZP.killTweensOf(t)}}console.warn("Effect mode not found: ".concat(e,", please check the cuepoint effect name on the background video file."))}}),[e]),(0,i.useLayoutEffect)((function(){if(r.current){var e=r.current;return I.ZP.fromTo(e,{opacity:0,scale:.8,x:"50%"},{opacity:1,scale:1,x:"0%",duration:.6,ease:"power3.out"}),function(){I.ZP.killTweensOf(e)}}}),[]),(0,s.jsxs)("div",{className:"relative flex w-full flex-col space-y-5",children:[(0,s.jsx)("div",{className:"relative flex w-full items-center justify-center",dir:z.e.direction,children:(0,s.jsx)("div",{className:"rounded-lg bg-black/25 px-2.5 py-1.5 text-sm font-medium uppercase text-primary-yellow-500 ltr:font-sans rtl:font-sansAr",children:a})}),(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsxs)("div",{ref:r,className:"relative flex w-full",children:[(0,s.jsx)("div",{ref:l,className:"relative left-1/2 flex h-full flex-row items-center space-x-[24px]",children:o.map((function(t,a){return(0,s.jsx)(hp,{isActive:e===t.id,children:t.icon},a)}))}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:(0,s.jsx)("div",{className:"h-[40px] w-[40px] rounded-full border-2 border-primary-yellow-500"})})]})})]})},Ep=function(){var e=(0,P.iH)(),t=e.effects,a=e.setEffects,n=e.setStrength,r=e.cuepoint;return(0,i.useEffect)((function(){var e=function(e){return r.split("".concat(e,"-"))[1].replace("[","").replace("]","")};switch(r.split("-[")[0]){case"update-effects-ui-mode":a(e("update-effects-ui-mode"));break;case"update-effects-ui-strength":n(parseInt(e("update-effects-ui-strength")));break;case"show-effects-ui":a(P.fY.effects.mode);break;case"hide-effects-ui":a("")}return function(){}}),[r]),(0,s.jsx)(s.Fragment,{children:""!==t&&(0,s.jsx)(Ap,{})})},gp=function(e){var t=e.className,a=e.children,i=(0,P.iH)().effects;return(0,s.jsx)("div",{className:H()("",{invisible:""!==i},t),children:a})},vp=function(e){var t=e.fill,a=void 0===t?"#FCFCFC":t;return(0,s.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{width:"32",height:"32",rx:"16",fill:"black","fill-opacity":"0.28"}),(0,s.jsx)("path",{d:"M22.8002 21.836L19.1512 18.187C19.9106 17.2208 20.364 16.0034 20.364 14.6819C20.364 11.5488 17.8149 9 14.6819 9C13.1643 9 11.7372 9.59099 10.6642 10.6642C9.59111 11.7377 9.00012 13.1645 9.00012 14.6821C9.00012 17.8152 11.549 20.364 14.6821 20.364C16.0033 20.364 17.221 19.9107 18.1871 19.1513L21.8361 22.8003C21.9693 22.9334 22.1438 23 22.3182 23C22.4926 23 22.6671 22.9334 22.8002 22.8003C23.0665 22.5341 23.0665 22.1023 22.8002 21.836ZM14.6821 19.0006C12.301 19.0006 10.3638 17.0633 10.3638 14.6821C10.3638 13.5286 10.813 12.4441 11.6287 11.6285C12.4443 10.8129 13.5288 10.3637 14.6822 10.3637C17.0635 10.3637 19.0007 12.3009 19.0007 14.6821C19.0007 17.0633 17.0633 19.0006 14.6821 19.0006Z",fill:a}),(0,s.jsx)("path",{d:"M17.0105 14.0573H15.3069V12.3537C15.3069 12.0085 15.0272 11.7288 14.682 11.7288C14.3368 11.7288 14.057 12.0085 14.057 12.3537V14.0573H12.3534C12.0083 14.0573 11.7285 14.337 11.7285 14.6822C11.7285 15.0274 12.0083 15.3072 12.3534 15.3072H14.057V17.0108C14.057 17.3559 14.3368 17.6357 14.682 17.6357C15.0272 17.6357 15.3069 17.3559 15.3069 17.0108V15.3072H17.0105C17.3557 15.3072 17.6354 15.0274 17.6354 14.6822C17.6354 14.337 17.3557 14.0573 17.0105 14.0573Z",fill:a})]})},Cp=function(e){var t=e.className;return(0,s.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsx)("path",{d:"M16 32C24.8366 32 32 24.8366 32 16C32 7.16344 24.8366 0 16 0C7.16344 0 0 7.16344 0 16C0 24.8366 7.16344 32 16 32Z",fill:"black",fillOpacity:"0.28"}),(0,s.jsx)("path",{d:"M20.3681 8.5C22.0326 8.5 23.4025 9.8125 23.495 11.4547L23.5 11.6319V12.8736C23.5 13.2196 23.2196 13.5 22.8736 13.5C22.5591 13.5 22.2988 13.2682 22.254 12.9662L22.2472 12.8736V11.6319C22.2472 10.6489 21.479 9.83385 20.5142 9.75845L20.3681 9.75276H19.1264C18.7804 9.75276 18.5 9.47232 18.5 9.12638C18.5 8.81189 18.7318 8.55153 19.0338 8.50679L19.1264 8.5H20.3681Z",fill:"#FCFCFC"}),(0,s.jsx)("path",{d:"M8.5 11.6319C8.5 9.96737 9.8125 8.59747 11.4547 8.50498L11.6319 8.5H12.8736C13.2196 8.5 13.5 8.78044 13.5 9.12638C13.5 9.44087 13.2682 9.70123 12.9662 9.74596L12.8736 9.75276H11.6319C10.6489 9.75276 9.83385 10.521 9.75845 11.4858L9.75276 11.6319V12.8736C9.75276 13.2196 9.47232 13.5 9.12638 13.5C8.81189 13.5 8.55153 13.2682 8.50679 12.9662L8.5 12.8736V11.6319Z",fill:"#FCFCFC"}),(0,s.jsx)("path",{d:"M11.6319 23.5C9.96737 23.5 8.59747 22.1875 8.50498 20.5453L8.5 20.3681V19.1264C8.5 18.7804 8.78044 18.5 9.12638 18.5C9.44087 18.5 9.70123 18.7318 9.74596 19.0338L9.75276 19.1264V20.3681C9.75276 21.3511 10.521 22.1662 11.4858 22.2416L11.6319 22.2472H12.8736C13.2196 22.2472 13.5 22.5277 13.5 22.8736C13.5 23.1881 13.2682 23.4485 12.9662 23.4932L12.8736 23.5H11.6319Z",fill:"#FCFCFC"}),(0,s.jsx)("path",{d:"M23.5 20.3681C23.5 22.0326 22.1875 23.4025 20.5453 23.495L20.3681 23.5H19.1264C18.7804 23.5 18.5 23.2196 18.5 22.8736C18.5 22.5591 18.7318 22.2988 19.0338 22.254L19.1264 22.2472H20.3681C21.3511 22.2472 22.1662 21.479 22.2416 20.5142L22.2472 20.3681V19.1264C22.2472 18.7804 22.5277 18.5 22.8736 18.5C23.1881 18.5 23.4485 18.7318 23.4932 19.0338L23.5 19.1264V20.3681Z",fill:"#FCFCFC"}),(0,s.jsx)("path",{d:"M16 19C17.6569 19 19 17.6569 19 16C19 14.3431 17.6569 13 16 13C14.3431 13 13 14.3431 13 16C13 17.6569 14.3431 19 16 19Z",fill:"#FCFCFC"})]})},jp=function(){var e=(0,P.iH)(),t=e.mode,a=e.recording,i=e.setAlertToast;return(0,s.jsxs)(s.Fragment,{children:["video"===t&&""===a&&(0,s.jsx)("button",{onClick:function(){i({position:"bottom",children:(0,s.jsx)(rp,{children:(0,s.jsx)("span",{children:g.t.CAMERA_FRAMING_DISABLED})})})},children:(0,s.jsx)(Cp,{})}),"video"===t&&a&&(0,s.jsx)("button",{onClick:function(){i({position:"bottom",children:(0,s.jsx)(rp,{children:(0,s.jsx)("span",{children:g.t.CAMERA_FRAMING_DISABLED})})})},children:(0,s.jsx)(vp,{})})]})},Np=function(e){var t=e.className,a=e.type,n=e.currentState,r=e.isBackgroundActive,l=e.onClick,c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useMemo)((function(){return n===a}),[n,a]);return(0,i.useLayoutEffect)((function(){if(o.current&&c.current){var e=c.current,t=o.current,a=I.ZP.timeline({}),s="power3.out";return d?a.fromTo(t,{scale:0,opacity:1},{scale:1.05,opacity:1,duration:.4,ease:s},0).fromTo(e,{opacity:1},{opacity:1,duration:.4,ease:s},.1):(a.set(t,{opacity:1,scale:1},0),a.to(e,{opacity:1,duration:.4,ease:s},.15)),function(){a.kill()}}}),[d]),(0,s.jsx)("button",{className:H()("relative h-[30px] w-[30px]",t),onClick:function(){l(a)},"data-camera-button-type":a,"data-camera-button-status":d,children:(0,s.jsxs)("div",{className:"absolute inset-0 flex items-center justify-center",children:[(0,s.jsx)("div",{ref:o,className:H()("absolute inset-0 rounded-full",{"bg-black/25":!d&&r,"bg-black/50":d})}),(0,s.jsx)("div",{ref:c,className:"relative",children:(0,s.jsxs)("div",{className:"relative flex flex-row items-center justify-center",children:["single"===a&&(0,s.jsxs)("svg",{width:"34",height:"34",viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsx)("path",{d:"M19.8602 14.6342C19.8602 15.2147 19.6881 15.7821 19.3657 16.2647C19.0432 16.7473 18.5849 17.1235 18.0486 17.3457C17.5124 17.5679 16.9223 17.6261 16.353 17.5129C15.7837 17.3997 15.2607 17.1203 14.8502 16.7099C14.4397 16.2996 14.1601 15.7767 14.0468 15.2074C13.9334 14.6382 13.9914 14.0481 14.2134 13.5117C14.4354 12.9754 14.8114 12.517 15.2939 12.1943C15.7764 11.8717 16.3438 11.6994 16.9242 11.6992C17.3097 11.6991 17.6915 11.7749 18.0477 11.9223C18.4039 12.0698 18.7276 12.286 19.0002 12.5585C19.2729 12.8311 19.4892 13.1547 19.6367 13.5108C19.7843 13.867 19.8602 14.2487 19.8602 14.6342Z",stroke:"currentColor",strokeWidth:"1.4",strokeMiterlimit:"10",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M11.6992 23.4498C12.0879 22.3722 12.8132 21.4484 13.7677 20.8152C14.7223 20.182 15.8553 19.8729 16.9992 19.9338C18.1265 19.8632 19.2451 20.1706 20.1779 20.8075C21.1107 21.4443 21.8045 22.3742 22.1492 23.4498",stroke:"currentColor",strokeWidth:"1.4",strokeMiterlimit:"10",strokeLinecap:"round"})]}),"multiple"===a&&(0,s.jsxs)("svg",{width:"34",height:"34",viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsx)("path",{d:"M8.59961 23.4365C8.59961 23.4365 9.54461 19.0645 13.4436 19.0645C15.4756 19.0645 16.0616 19.7955 17.0736 20.7405C17.3475 21.0486 17.7135 21.2602 18.1172 21.3438C18.5209 21.4274 18.9409 21.3785 19.3146 21.2045C19.8473 20.944 20.4148 20.7621 20.9996 20.6645C21.8587 20.5834 22.7195 20.8007 23.4371 21.2799C24.1547 21.7591 24.6853 22.4709 24.9396 23.2955",stroke:"currentColor",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M15.8605 14.3736C15.8605 14.9223 15.6978 15.4586 15.393 15.9148C15.0882 16.3709 14.6549 16.7265 14.1481 16.9365C13.6412 17.1464 13.0834 17.2013 12.5453 17.0943C12.0072 16.9873 11.5129 16.7231 11.125 16.3351C10.737 15.9472 10.4728 15.4529 10.3658 14.9148C10.2588 14.3767 10.3137 13.8189 10.5237 13.312C10.7336 12.8052 11.0892 12.3719 11.5453 12.0671C12.0015 11.7623 12.5379 11.5996 13.0865 11.5996C13.8222 11.5996 14.5278 11.8919 15.048 12.4121C15.5682 12.9323 15.8605 13.6379 15.8605 14.3736Z",stroke:"currentColor",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M23.1865 16.892C23.1867 17.275 23.0733 17.6494 22.8607 17.9679C22.6481 18.2864 22.3458 18.5347 21.992 18.6814C21.6383 18.8281 21.249 18.8665 20.8734 18.792C20.4978 18.7174 20.1527 18.5331 19.8818 18.2623C19.611 17.9916 19.4265 17.6467 19.3517 17.2711C19.2769 16.8955 19.3152 16.5062 19.4617 16.1524C19.6082 15.7986 19.8564 15.4962 20.1748 15.2834C20.4932 15.0706 20.8675 14.957 21.2505 14.957C21.7637 14.957 22.256 15.1609 22.6191 15.5237C22.9821 15.8866 23.1862 16.3787 23.1865 16.892Z",stroke:"currentColor",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"})]})]})})]})})},Tp=function(e){var t=e.isInteractive,a=(0,P.iH)(),n=a.mode,r=a.cuepoint,l=a.selfie,c=P.fY.selfiePortrait,o=(0,i.useRef)(null),d=(0,i.useState)("single"),u=d[0],p=d[1];return(0,i.useLayoutEffect)((function(){return p("single"),function(){}}),[n]),(0,i.useLayoutEffect)((function(){if(l&&o.current){var e=o.current,t=Array.from(e.querySelectorAll("button")),a=I.ZP.timeline({delay:.1});return a.fromTo(t[0],{x:-40},{x:0,duration:.4,ease:"power2.inOut"},0).fromTo(t[1],{x:40},{x:0,duration:.4,ease:"power2.inOut"},0),function(){a.kill()}}}),[l]),(0,i.useLayoutEffect)((function(){if(r.includes("selfie-portrait-")){var e=r.split("[")[1].replace("]","");p(e)}else""===r&&p("single");return function(){}}),[r]),(0,s.jsx)("div",{className:H()("gpu relative flex w-full items-center justify-center",{hidden:!l}),children:(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{ref:o,className:"relative flex flex-row items-center justify-center space-x-[10px]",children:c.map((function(e){return(0,s.jsx)(Np,{type:e,isBackgroundActive:!0,onClick:function(e){t&&p(e)},currentState:u},e)}))})})})},wp=function(e){var t=e.className,a=e.type,n=e.currentState,r=e.isBackgroundActive,l=e.onClick,c=(0,P.iH)(),o=c.mode,d=c.setResumeVideo,u=(0,i.useRef)(null),p=(0,i.useRef)(null),x=(0,i.useMemo)((function(){return n===a}),[n,a]),f=(0,i.useRef)(!1);return(0,i.useLayoutEffect)((function(){if(p.current&&u.current){var e=u.current,t=p.current,a=I.ZP.timeline({}),s="power3.out";return x?(a.fromTo(t,{scale:0,opacity:1},{scale:1,opacity:1,duration:.4,ease:s},0).fromTo(e,{opacity:0},{opacity:1,duration:.4,ease:s},.1),f.current=!0):(f.current&&I.ZP.set(e,{opacity:0}),a.set(t,{opacity:1,scale:1},0),a.to(e,{opacity:1,duration:.4,ease:s},.15)),function(){a.kill()}}}),[x]),(0,s.jsx)("button",{className:H()("pointer-events-auto relative font-sans text-[11px] font-semibold",t),onClick:function(){l(a)},"data-camera-button-type":a,"data-camera-button-status":x,children:(0,s.jsxs)("div",{className:"relative inset-0 flex h-[28px] min-w-[28px] items-center justify-center",children:[(0,s.jsx)("div",{ref:p,className:H()("absolute inset-0 rounded-full",{"bg-black/25":!x&&r,"bg-white/35":x&&"photo"===o,"bg-black/50":x&&"video"===o})}),"0.6"===a&&"photo"===o&&(0,s.jsx)(vu,{showCuepoints:["show-highlight-[ultra-wide-mode]"],hideCuepoints:["hide-highlight-[ultra-wide-mode]"],className:"invisible absolute z-20 flex h-full w-full items-center justify-center",hideOnInit:!0,onClick:function(){d()},children:(0,s.jsx)(_u,{})}),(0,s.jsx)("div",{ref:u,className:"relative",children:(0,s.jsxs)("div",{className:"relative flex flex-row items-center justify-center",children:[(0,s.jsxs)("span",{children:["0.6"===a&&(0,s.jsxs)(s.Fragment,{children:[x&&(0,s.jsx)(s.Fragment,{children:"0"}),".6"]}),"1.0"===a&&(0,s.jsx)(s.Fragment,{children:"1"}),"2.0"===a&&(0,s.jsx)(s.Fragment,{children:"2"}),"3.0"===a&&(0,s.jsx)(s.Fragment,{children:"3"}),"5.0"===a&&(0,s.jsx)(s.Fragment,{children:"5"}),"10.0"===a&&(0,s.jsx)(s.Fragment,{children:"10"})]}),x&&(0,s.jsx)("span",{className:"pb-[1px] pl-[1px]",children:"x"})]})})]})})},_p=function(e){var t=e.isInteractive,a=(0,P.iH)(),n=a.quickSettings,r=a.mode,l=a.selfie,c=a.cuepoint,o=a.zoom,d=a.setZoom,u=a.resetedQuickSettingsControls,p=a.isFirstVisitCameraApp,x=p,f=P.fY.zoom,m=(0,i.useRef)(!1),h=(0,i.useRef)(!1),A=(0,i.useRef)(null),E=(0,i.useRef)(null),g=(0,i.useRef)(null),v=(0,i.useMemo)((function(){if("video"===r){if("on"===n.stabilization)return f.filter((function(e){return"2.0"!==e&&"3.0"!==e&&"5.0"!==e&&"10.0"!==e&&"30.0"!==e&&"100.0"!==e}))}else if("photo"===r&&x)return["0.6","1.0","5.0"];return f.filter((function(e){return"30.0"!==e&&"100.0"!==e}))}),[r,n,p]),C=(0,i.useMemo)((function(){return"video"!==r||"on"!==n.stabilization||(d("0.6"),!1)}),[r,n]);return(0,i.useLayoutEffect)((function(){if(E.current&&A.current){var e=A.current,t=E.current,a=g.current,s=Array.from(e.querySelectorAll("button")),i=e.querySelector('button[data-camera-button-status="true"]'),n=Array.from(e.querySelectorAll('button[data-camera-button-status="false"]'));I.ZP.set(a,{opacity:0,left:"50%",x:"-50%"}),I.ZP.set(s,{display:"none",opacity:0}),I.ZP.set(i,{opacity:1}),h.current===C&&I.ZP.set(n,{opacity:1});var r=I.ZP.timeline({});s.filter((function(e){var t,a=null!==(t=e.dataset.cameraButtonType)&&void 0!==t?t:"";return-1!==v.indexOf(a)})).map((function(e){var t={display:"block"};m.current?r.to(e,(0,L.Z)((0,_.Z)({},t),{duration:.3,ease:"power3.out"}),0):r.set(e,(0,_.Z)({},t),0)})),r.to(n,{opacity:1,duration:.3,stagger:.01,ease:"power3.out"},.2);var l="power3.out";return r.to(e,{duration:.4,ease:l},0).to(t,{duration:.4*1.5,ease:l},0).to(t,{opacity:C?1:0,duration:C?.2:.1,ease:"power3.inOut"},0),m.current=!0,h.current=C,function(){r.kill()}}}),[C,v]),(0,i.useLayoutEffect)((function(){return d("1.0"),function(){}}),[r,u]),(0,i.useEffect)((function(){if(!p){var e=g.current;I.ZP.set(e,{opacity:0})}}),[p]),(0,i.useLayoutEffect)((function(){if(c.includes("zoom-ui")){var e=c.split("[")[1].replace("]","");d(e)}if("zoom-ui-[0.6]"===c){var t=g.current;I.ZP.timeline({}).fromTo(t,{left:"50%",x:"-50%",opacity:1},{left:"100%",x:4,opacity:1,duration:.4})}}),[c]),(0,s.jsx)("div",{className:H()("gpu relative flex w-full items-center justify-center",{hidden:l}),children:(0,s.jsx)("div",{className:"relative",children:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{ref:E,className:F("absolute h-8 w-full min-w-[10px] rounded-full bg-black/[.28] px-2",{"bg-white/[0.17]":"photo"===r})}),(0,s.jsx)("div",{ref:A,className:F("relative flex h-8 items-center gap-2 px-[2px]",{"gap-[2px]":"photo"===r}),children:f.map((function(e){return(0,s.jsx)(wp,{type:e,isBackgroundActive:!C,onClick:function(e){t&&d(e)},currentState:o},e)}))}),(0,s.jsx)("div",{className:"absolute top-0 left-1/2 z-50 flex h-8 w-8 items-center justify-center rounded-full bg-white/[.17] opacity-0",ref:g,children:(0,s.jsx)("div",{className:H()("pointer-events-auto relative font-sans text-[11px] font-semibold"),children:(0,s.jsx)("div",{className:"relative inset-0 flex h-[28px] min-w-[28px] items-center justify-center",children:(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("div",{className:"relative flex flex-row items-center justify-center",children:(0,s.jsx)("span",{children:"10"})})})})})})]})})})},bp=function(){return(0,s.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{width:"32",height:"32",rx:"16",fill:"white",fillOpacity:"0.17"}),(0,s.jsx)("path",{d:"M13.1001 14.7C13.9838 14.7 14.7001 13.9837 14.7001 13.1C14.7001 12.2163 13.9838 11.5 13.1001 11.5C12.2165 11.5 11.5001 12.2163 11.5001 13.1C11.5001 13.9837 12.2165 14.7 13.1001 14.7Z",fill:"#FCFCFC"}),(0,s.jsx)("path",{d:"M13.1001 20.5C13.9838 20.5 14.7001 19.7837 14.7001 18.9C14.7001 18.0164 13.9838 17.3 13.1001 17.3C12.2165 17.3 11.5001 18.0164 11.5001 18.9C11.5001 19.7837 12.2165 20.5 13.1001 20.5Z",fill:"#FCFCFC"}),(0,s.jsx)("path",{d:"M18.8999 14.7C19.7836 14.7 20.4999 13.9837 20.4999 13.1C20.4999 12.2163 19.7836 11.5 18.8999 11.5C18.0163 11.5 17.2999 12.2163 17.2999 13.1C17.2999 13.9837 18.0163 14.7 18.8999 14.7Z",fill:"#FCFCFC"}),(0,s.jsx)("path",{d:"M18.8999 20.5C19.7836 20.5 20.4999 19.7837 20.4999 18.9C20.4999 18.0164 19.7836 17.3 18.8999 17.3C18.0163 17.3 17.2999 18.0164 17.2999 18.9C17.2999 19.7837 18.0163 20.5 18.8999 20.5Z",fill:"#FCFCFC"})]})},Sp=(a(25194),a(2261)),yp=function(){var e=(0,P.iH)(),t=e.effects,a=e.strength,n=(0,i.useState)(P.fY.effects.strength),r=n[0],l=n[1],c=[0,1,2,3,4,5,6,7],o=(0,i.useRef)(null),d=(0,i.useRef)(null),u=(0,i.useRef)(!1);return(0,i.useLayoutEffect)((function(){return""===t&&(u.current=!1),function(){}}),[t]),(0,i.useLayoutEffect)((function(){if(o.current){var e=o.current;return I.ZP.fromTo(e,{y:-10,opacity:0},{y:0,ease:"power3.out",duration:.3,opacity:1}),function(){I.ZP.killTweensOf(e)}}}),[]),(0,i.useLayoutEffect)((function(){if(d.current){var e=d.current,t=e.getBoundingClientRect().width/(c.length-1);if(u.current)I.ZP.to(e,{x:-a*t,ease:"power3.inOut",duration:.6,onUpdate:function(){var a=window.innerWidth/2-e.getBoundingClientRect().x,s=Math.round(a/t);l(s)}});else{I.ZP.set(e,{x:-a*t});var s=window.innerWidth/2-e.getBoundingClientRect().x,i=Math.round(s/t);l(i)}return u.current=!0,function(){I.ZP.killTweensOf(e)}}}),[a]),(0,s.jsx)("div",{className:"absolute left-0 right-0 top-0 h-[90px] overflow-hidden font-sans xxs:h-[65px]",dir:"ltr",children:(0,s.jsx)("div",{ref:o,className:"absolute inset-0 flex flex-col justify-center bg-black opacity-0",children:(0,s.jsxs)("div",{className:"relative flex h-[47px] xxs:h-[43px]",children:[(0,s.jsx)("div",{ref:d,className:"relative left-1/2 flex h-full flex-row items-end space-x-6",children:c.map((function(e,t){return(0,s.jsx)("div",{className:"flex h-[10px] w-[1px] transform bg-white"},t)}))}),(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-black via-transparent to-black"}),(0,s.jsxs)("div",{className:"absolute inset-0 flex items-end justify-center",children:[(0,s.jsx)("div",{className:"flex h-[20px] w-[2px] bg-primary-yellow-500"}),(0,s.jsx)("div",{className:"absolute top-0 text-xs font-semibold text-primary-yellow-500",children:r}),(0,s.jsx)("div",{className:"absolute left-0 right-0 top-0 px-8 text-xs font-medium rtl:font-sansAr",children:g.t["CAMERA_EFFECTS_STRENGTH-LABEL"]})]})]})})})},Rp=function(){var e=(0,P.iH)().effects;return(0,s.jsx)(s.Fragment,{children:""!==e&&(0,s.jsx)(yp,{})})},Lp=function(){var e=(0,P.iH)(),t=e.quickSettings,a=e.mode,n=(0,i.useMemo)((function(){return t.ratio}),[t]),r=i.useRef(null);return(0,i.useEffect)((function(){var e=r.current,t=document.querySelector('[data-camera-container="app-camera-body-ratio"]');if(t){var a=.4,s="power2.out",i=function(){var i=t.parentNode.getBoundingClientRect(),r=t.getBoundingClientRect();switch(n){case"9:16":case"full":I.ZP.to(e,{yPercent:100,y:0,duration:a,ease:s});break;case"1:1":I.ZP.to(e,{yPercent:0,y:r.y+r.height-(i.y+i.height),duration:a,ease:s});break;default:I.ZP.to(e,{yPercent:0,y:0,duration:a,ease:s})}};return window.addEventListener("resize",i),i(),function(){window.removeEventListener("resize",i)}}}),[n,a]),(0,s.jsx)("div",{ref:r,className:"absolute inset-0",children:(0,s.jsx)("div",{className:"absolute inset-0 translate-y-full"})})},Ip=function(){var e=(0,i.useMemo)((function(){return[{cameraMode:"photo",label:g.t["CAMERA_VIDEO-OVERLAY_PHOTO"]},{cameraMode:"video",label:g.t["CAMERA_VIDEO-OVERLAY_VIDEO"]},{cameraMode:"more",label:g.t["CAMERA_VIDEO-OVERLAY_MORE"]}]}),[]),t=(0,P.iH)(),a=t.mode,n=t.recording,r=t.setMode,l=t.resetTakePhoto,c=t.setIsFirstVisitCameraApp,o=(0,i.useState)(null),d=o[0],u=o[1],p=(0,pe.Z)(i.useState(0),2),x=p[0],f=p[1],m=[2],h=(0,i.useRef)(null);return(0,i.useEffect)((function(){var t=e.findIndex((function(e){return e.cameraMode===a}));t!==x&&(f(t),d&&d.slideTo(t))}),[a]),(0,i.useEffect)((function(){var e=h.current;"video"===a&&n?I.ZP.set(e,{opacity:"0"}):I.ZP.set(e,{opacity:"1"})}),[a,n]),(0,s.jsxs)("div",{className:"absolute bottom-0 w-full",children:[(0,s.jsx)(Nu,{cuepointId:"ultra-wide-mode",children:g.t["@PARADIGM_CAMERA_PHOTO-MODE_TAP-FOR-ULTRA-WIDE-MODE"]}),(0,s.jsx)(vu,{hideCuepoints:["hide-camera-header-and-footer-ui"],showCuepoints:["show-camera-header-and-footer-ui"],className:F("absolute bottom-0 hidden h-[71px] w-full bg-black xxs:h-[55px]",{block:"video"===a}),children:(0,s.jsx)(s.Fragment,{})}),(0,s.jsx)(vu,{hideCuepoints:["hide-camera-header-and-footer-ui"],showCuepoints:["show-camera-header-and-footer-ui"],className:F("pb-[71px] xxs:pb-[55px]",{"bg-black ":"photo"===a}),children:(0,s.jsx)("div",{className:F({"bg-black":"photo"===a}),children:(0,s.jsxs)("div",{className:"relative z-[2] flex w-full flex-col justify-between pt-[18px]",children:[(0,s.jsx)(Lp,{}),(0,s.jsx)("div",{className:"absolute inset-0",children:(0,s.jsx)("div",{className:"absolute inset-0 opacity-[0.15]"})}),(0,s.jsx)("div",{className:"px-[18px]",children:(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsxs)(gp,{children:[(0,s.jsx)(_p,{isInteractive:!1}),(0,s.jsx)(Tp,{isInteractive:!0})]}),(0,s.jsxs)("div",{className:"z-2 absolute inset-y-0 right-0 flex items-end justify-center",children:[(0,s.jsx)(jp,{}),(0,s.jsx)(vu,{hideCuepoints:["zoom-ui-[0.6]"],showCuepoints:[],children:"photo"===a&&(0,s.jsx)(bp,{})})]})]})}),(0,s.jsx)(Ep,{}),(0,s.jsxs)("div",{className:"pointer-events-auto z-50 w-full",children:[(0,s.jsx)("div",{className:"flex flex-1 flex-col justify-between",children:(0,s.jsx)("div",{children:(0,s.jsx)(Rp,{})})}),(0,s.jsx)("div",{className:"relative z-40 mb-5 mt-[25px] flex flex-1 items-center justify-center",children:(0,s.jsx)(op,{})}),(0,s.jsx)("div",{className:"bg-black",children:(0,s.jsx)("div",{className:"transition-all",ref:h,children:(0,s.jsx)(Sp.tq,{spaceBetween:32,slidesPerView:"auto",onSlideChange:function(t){var a,s=Math.round(t.progress*(t.slides.length-1));if(m.includes(s)){var i=function(t,a){var s=e.length;if("right"===a){for(var i=t+1;i<s;i++)if(!m.includes(i))return i}else for(var n=t-1;n>=0;n--)if(!m.includes(n))return n;return t}(x,s>x?"right":"left");t.slideTo(i),a=i}else a=s;a!==x&&(f(a),r(e[a].cameraMode)),c(!0),l()},onSwiper:function(e){return u(e)},className:"w-auto items-center",wrapperClass:"items-center",centeredSlides:!0,children:e.map((function(e,t){var a=e.label,i=e.cameraMode;return(0,s.jsx)(Sp.o5,{className:F("!flex min-h-[32px] !w-auto items-center text-center text-xs text-white/30 !transition-colors duration-500",{"text-[13px] font-bold text-white":t===x}),onClick:function(){!function(e){d&&d.slideTo(e)}(t)},children:a},i)}))})})})]})]})})})]})},Pp=a(1461),Op=a.n(Pp),Mp="/_next/static/media/background.926c92f1.jpg",Dp=function(e){var t=e.text,a=e.disclaimer;return(0,s.jsxs)("div",{className:"flex flex-1 flex-col justify-between",children:[(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)("p",{className:H()("whitespace-pre-line px-8 text-center text-[22px] font-semibold leading-tight text-white ltr:font-title rtl:font-titleAr foldCover:px-2 screen-w-sm:px-2 screen-w-md:px-4"),children:t.headline}),t.description&&(0,s.jsx)("p",{className:"whitespace-pre-line px-8 text-center text-base font-normal text-white foldCover:px-2 screen-w-sm:px-2 screen-w-md:px-4",children:t.description})]}),(0,s.jsx)("div",{className:"relative w-full px-8 text-start foldCover:px-2 screen-w-sm:px-2 screen-w-md:px-4",children:(0,s.jsx)("p",{className:"whitespace-pre-line text-[10px] font-normal leading-tight opacity-80 ltr:font-sans rtl:font-sansAr xxs:text-[9px] xxs:leading-tight",children:a.description})})]})},Gp=function(e){var t=[he.vf&&{id:"9:16",ratio:16/9},{id:"9:19.5",ratio:19.5/9},{id:"9:22",ratio:22/9}].map((function(e){return(0,L.Z)((0,_.Z)({},e),{distance:Math.abs(document.documentElement.clientWidth-document.documentElement.clientHeight/e.ratio)})})).sort((function(e,t){return e.distance-t.distance})),a=e.find((function(e){var a;return e.ratio===(null===(a=t[0])||void 0===a?void 0:a.id)}));if(!a)for(var s=function(s){if(a=e.find((function(e){var a;return e.ratio===(null===(a=t[s])||void 0===a?void 0:a.id)})))return"break"},i=1;i<t.length;i++){if("break"===s(i))break}return a},kp=a(41766),Hp=function(e){var t=e.children,a=e.isFullScreen,n=i.useRef(null);return(0,i.useLayoutEffect)((function(){if(n.current){var e=n.current;return I.ZP.fromTo(e,{opacity:0},{opacity:1,duration:.4,ease:"power2.out"}),function(){I.ZP.killTweensOf(e)}}}),[]),(0,s.jsx)("div",{ref:n,className:H()({"absolute inset-0":a}),children:t})},Bp=function(e){var t=e.cuepointId,a=e.children,n=(0,P.iH)().cuepoint,r=(0,i.useState)(!1),l=r[0],c=r[1];return(0,i.useLayoutEffect)((function(){if(""!==n){if(n.includes("show-overlay-text-"))n.split("[")[1].replace("]","")===t&&c(!0);else if(n.includes("hide-overlay-text-")){n.split("[")[1].replace("]","")===t&&c(!1)}return function(){}}c(!1)}),[n]),(0,s.jsx)(s.Fragment,{children:l&&(0,s.jsx)(Hp,(0,L.Z)((0,_.Z)({},e),{children:a}))})},Up=[{mode:"photo",src:"".concat(M.yb.path,"/camera_photo_ultra wide_video_EN_paradigmV4.mp4"),srcWithRatio:[{src:"".concat(M.yb.path,"/camera_photo_ultra-wide-video_en_810x1980_paradigmV4.mp4"),ratio:"9:22"},{src:"".concat(M.yb.path,"/camera_photo_ultra-wide-video_en_886x1920_paradigmV4.mp4"),ratio:"9:19.5"},{src:"".concat(M.yb.path,"/camera_photo_ultra-wide-video_en_1080x1920_paradigmV4.mp4"),ratio:"9:16"}],isOnlyShowInFirstVisit:!0,cuepoints:[{time:0,label:"zoom-ui-[1.0]"},{time:2.3,label:"photo-shot-1"},{time:3.5,label:"photo-shot-2"},{time:8.43,label:"show-highlight-[ultra-wide-mode]"},{time:11.2,label:"hide-highlight-[ultra-wide-mode]"},{time:12,label:"zoom-ui-[0.6]"},{time:13.6,label:"photo-shot-3"},{time:15,label:"photo-shot-4"},{time:15,label:"show-camera-header-and-footer-ui"},{time:17.65,label:"hide-camera-header-and-footer-ui"},{time:17.8,label:"show-overlay-text-[photo-text-1]"}]},{mode:"photo",src:"".concat(M.yb.path,"/camera_photo_portrait&filters_video_paradigmV3.mp4"),srcWithRatio:[{src:"".concat(M.yb.path,"/").concat(z.e.cameraPhotoPortraitFiltersVideoSrc["9x16"]),ratio:"9:16"},{src:"".concat(M.yb.path,"/").concat(z.e.cameraPhotoPortraitFiltersVideoSrc["9x195"]),ratio:"9:19.5"},{src:"".concat(M.yb.path,"/").concat(z.e.cameraPhotoPortraitFiltersVideoSrc["9x22"]),ratio:"9:22"}],isOnlyShowInFirstVisit:!1,cuepoints:[{time:3.8,label:"photo-shot-1"},{time:4,label:"hide-camera-header-and-footer-ui"},{time:4.1,label:"show-overlay-text-[photo-filter-text-1]"},{time:7,label:"hide-overlay-text-[photo-filter-text-1]"},{time:7.5,label:"show-camera-header-ui"},{time:8.4,label:"show-highlight-[my-filter-mode]"},{time:11.1,label:"hide-highlight-[my-filter-mode]"},{time:12.5,label:"quick-settings-ui-[night-mode-on]"},{time:13,label:"quick-settings-ui-[video-resolution-hide]"},{time:17,label:"photo-shot-2"},{time:17.3,label:"hide-camera-header-and-footer-ui"},{time:17.4,label:"show-overlay-text-[photo-filter-text-2]"}]},{mode:"video",src:"".concat(M.yb.path,"/camera_video_video_paradigmV2.mp4"),srcWithRatio:[{src:"".concat(M.yb.path,"/camera_video_video_en_810x1980_paradigmV3.mp4"),ratio:"9:22"},{src:"".concat(M.yb.path,"/camera_video_video_en_886x1920_paradigmV3.mp4"),ratio:"9:19.5"},{src:"".concat(M.yb.path,"/camera_video_video_paradigmV2.mp4"),ratio:"9:16"}],isOnlyShowInFirstVisit:!1,cuepoints:[{time:0,label:"quick-settings-ui-[stabilization-on]"},{time:1.3,label:"show-recording-ui"},{time:15.5,label:"hide-camera-header-and-footer-ui"},{time:16.5,label:"show-overlay-text-[video-text-1]"}]}],Zp=function(){var e=(0,P.iH)(),t=e.cuepoint,a=e.mode,n=e.recording,r=e.setMode,l=e.resumeVideo,c=e.setBuffering,o=e.setCuepoint,d=e.setResumeVideo,u=e.isFirstVisitCameraApp,p=e.setIsFirstVisitCameraApp,x=(0,P.qr)().appName,f=(0,i.useRef)(null),m=(0,i.useState)(!0),h=m[0],A=m[1],E=(0,i.useState)(""),v=(E[0],E[1]),C=(0,i.useState)(""),j=(C[0],C[1]),N=Up,T=Up.map((function(e){var t=e.srcWithRatio;return{file:t?Gp(t).src:e.src,label:e.mode,cuepoints:e.cuepoints}})),w=(0,i.useRef)(null),_=(0,i.useRef)(!1);return(0,i.useEffect)((function(){if(w.current){f.current||(f.current=[],N.map((function(e,t){f.current[t]=e.sound?new kp.Howl({src:e.sound,loop:!0,volume:0}):null}))),A(!0),v(""),j(""),_.current=!1;var e={request:null},t=w.current,s=N.findIndex((function(e){return"photo"===a?e.mode===a&&e.isOnlyShowInFirstVisit===u:e.mode===a})),i=(0,G.Z)(N[s].cuepoints),n=f.current[s],l=setInterval((function(){clearInterval(l),j(t.getState())}),100),d="camera"===x,m=function(){n&&(n.playing()||(n.play(),n.volume(1))),c(!1)},h=function(){var e=t.getPosition();if(v(function(e){var t=Math.floor(e/3600),a=Math.floor((e-3600*t)/60),s=Math.floor(e-3600*t-60*a),i=t.toString().padStart(2,"0"),n=a.toString().padStart(2,"0"),r=s.toString().padStart(2,"0");return"".concat(i,":").concat(n,":").concat(r)}(e)),!(i.length<=0&&"playing"===t.getState()||e<=0)){var a=i[0];a&&e>=a.time&&(i.shift(),o(a.label))}},E=function(){n&&n.pause(),c(!0)},g=function(){n&&(n.pause(),n.seek(0),n.volume(0)),function(){c(!0),t.stop();var e=(t.getPlaylistIndex()+1)%N.length;u&&p(!1),r(N[e].mode)}(),o("")},C=function(){A(!1)},T=function(){d&&(document.hidden?"playing"===t.getState()?(t.pause(),_.current=!1):_.current=!0:"playing"!==t.getState()&&(_.current||t.play()))},b=function(){h(),e.request=window.requestAnimationFrame(b)};return t.on("play",m),t.on("buffer",E),t.on("complete",g),t.on("playlistComplete",g),t.on("firstFrame",C),b(),d&&t.playlistItem(s),window.addEventListener("visibilitychange",T),function(){window.cancelAnimationFrame(e.request),t.off("play",m),t.off("buffer",E),t.off("complete",g),t.off("playlistComplete",g),t.off("firstFrame",C),t.stop(),window.removeEventListener("visibilitychange",T),n&&(n.pause(),n.seek(0),n.volume(0)),clearInterval(l)}}}),[x,a,u]),(0,i.useLayoutEffect)((function(){if("video"===a&&w.current){var e=w.current;switch(n){case"start":"playing"!==e.getState()&&e.play();break;case"":case"pause":"playing"===e.getState()&&e.pause()}return function(){}}}),[n,a]),(0,i.useLayoutEffect)((function(){if(w.current){var e=w.current;t.includes("pause")&&"playing"===e.getState()&&e.pause()}}),[t]),(0,i.useLayoutEffect)((function(){if(w.current&&"photo"===a){var e=w.current,s=null;return"show-highlight-[ultra-wide-mode]"===t&&"playing"===e.getState()&&(e.seek(11),e.pause(),s=setTimeout((function(){e.play(),d()}),5e3)),"show-highlight-[my-filter-mode]"===t&&"playing"===e.getState()&&(e.seek(11),e.pause(),s=setTimeout((function(){e.play(),d()}),5e3)),function(){clearTimeout(s)}}}),[t]),(0,i.useLayoutEffect)((function(){if(w.current){var e=w.current;"playing"!==e.getState()&&e.play()}}),[l]),(0,s.jsx)("div",{className:"absolute inset-0 bg-black",children:(0,s.jsxs)("figure",{className:"absolute inset-0",children:[(0,s.jsx)("div",{className:"video-auto-height pointer-events-none absolute left-0 top-0 bottom-0 h-auto w-full object-cover object-center",children:(0,s.jsx)(Op(),{library:z.e.jwPlayerSource,playlist:T,didMountCallback:function(e){var t=e.player;w.current=t},config:{key:M.B8,height:"100%",width:"100%",preload:"auto"},aspectratio:!1,stretching:"uniform"})}),false,(0,s.jsxs)("div",{className:"absolute inset-0",children:[(0,s.jsx)(Bp,{cuepointId:"photo-text-1",isFullScreen:!0,children:(0,s.jsx)("div",{className:H()("absolute inset-0 my-[120px] flex",{}),children:(0,s.jsx)(Dp,{text:{headline:g.t["@PARADIGM_CAMERA_PHOTO-MODE_ULTRA-WIDE-HEADLINE"]},disclaimer:{description:g.t["@PARADIGM_CAMERA_PHOTO-MODE_ULTRA-WIDE-DISCLAIMER"]}})})}),(0,s.jsx)(Bp,{cuepointId:"photo-filter-text-1",isFullScreen:!0,children:(0,s.jsx)("div",{className:H()("absolute inset-0 my-[120px] flex",{}),children:(0,s.jsx)(Dp,{text:{headline:g.t["@PARADIGM_CAMERA_PHOTO-MODE_MY-FILTER-HEADLINE-1"]},disclaimer:{description:g.t["@PARADIGM_CAMERA_PHOTO-MODE_MY-FILTER-DISCLAIMER-1"]}})})}),(0,s.jsx)(Bp,{cuepointId:"photo-filter-text-2",isFullScreen:!0,children:(0,s.jsx)("div",{className:H()("absolute inset-0 my-[120px] flex",{}),children:(0,s.jsx)(Dp,{text:{headline:g.t["@PARADIGM_CAMERA_PHOTO-MODE_MY-FILTER-HEADLINE-2"],description:g.t["@PARADIGM_CAMERA_PHOTO-MODE_MY-FILTER-DESCRIPTION-2"]},disclaimer:{description:g.t["@PARADIGM_CAMERA_PHOTO-MODE_MY-FILTER-DISCLAIMER-2"]}})})}),(0,s.jsx)(Bp,{cuepointId:"video-text-1",isFullScreen:!0,children:(0,s.jsx)("div",{className:H()("absolute inset-0 my-[120px] flex",{}),children:(0,s.jsx)(Dp,{text:{headline:g.t["@PARADIGM_CAMERA_VIDEO-MODE_NIGHTOGRAPHY-HEADLINE"]},disclaimer:{description:g.t["@PARADIGM_CAMERA_VIDEO-MODE_NIGHTOGRAPHY-DISCLAIMER"]}})})})]}),false,h&&(0,s.jsx)("div",{className:"absolute inset-0 bg-black"}),"more"===a&&(0,s.jsx)("div",{className:"absolute inset-0 bg-black",children:(0,s.jsx)("div",{className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:"url(".concat(Mp,")")}})})]})})},Yp=function(){var e=(0,P.iH)().cuepoint,t=(0,i.useState)(!1),a=t[0],n=t[1],r=["hide-camera-header-and-footer-ui","hide-highlight-[my-filter-mode]"],l=["show-camera-header-and-footer-ui","show-highlight-[my-filter-mode]"];return(0,i.useLayoutEffect)((function(){return""===e?n(!1):r.includes(e)?n(!0):l.includes(e)&&n(!1),function(){}}),[e]),(0,s.jsx)("div",{className:H()("pointer-events-auto absolute inset-1 z-[3]",{hidden:!a})})},Fp=function(){var e=(0,P.iH)().modal;return(0,s.jsx)(s.Fragment,{children:e&&(0,s.jsx)(s.Fragment,{children:e})})},Vp=function(e){var t=e.resetModeWhenClosed,a=e.resetQuickSettingsWhenClosed,n=(0,P.qr)(),r=n.appName,l=n.setAppActiveData,c=(0,P.iH)(),o=c.resetQuickSettingsControls,d=c.mode,u=c.setMode,p=c.isFirstVisitCameraApp,x=c.setIsFirstVisitCameraApp,f=(0,i.useRef)(null),m=(0,i.useRef)(null),h=(0,i.useRef)(null),A=(0,i.useRef)(null),E=(0,i.useRef)(d);return(0,i.useEffect)((function(){return"camera"===r&&("photo"===d?(0,V.Kq)("/app/camera/".concat(d,"-mode/").concat(p?"ultra-wide":"my-filter"),M.dC.Camera):(0,V.Kq)("/app/camera/".concat(d,"-mode"),M.dC.Camera)),function(){}}),[r,d]),(0,i.useEffect)((function(){if(f.current&&m.current&&h.current&&A.current){E.current||(E.current=d);var e=f.current,s=m.current,i=h.current,n=A.current;if("camera"===r)return l({appContainer:e,appViewContent:i,appViewContainer:s,appViewIcon:n}),function(){x(!1)};a&&o(),t&&u(E.current)}}),[r,a,t]),(0,i.useEffect)((function(){f.current&&(f.current.style.display="none")}),[]),(0,s.jsx)("div",{ref:f,className:"absolute inset-0","data-app-view-name":"camera",dir:"ltr",children:(0,s.jsxs)("div",{ref:m,className:"absolute inset-0 overflow-hidden text-white",children:[(0,s.jsx)("div",{ref:h,className:"gpu absolute inset-0",style:{minWidth:"100vw",minHeight:"100vh"},children:(0,s.jsxs)("div",{className:"absolute inset-0 flex flex-col justify-between bg-neutral-500",children:[(0,s.jsx)(Zp,{}),(0,s.jsx)(Zu,{}),(0,s.jsx)(Ip,{}),(0,s.jsx)(Fp,{}),(0,s.jsx)(Yp,{})]})}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0",children:(0,s.jsx)("button",{ref:A,className:"gpu absolute left-0 top-0",children:(0,s.jsx)("div",{className:"max-w-icon overflow-hidden rounded-3xl",children:(0,s.jsx)("img",{src:D("icons/app-camera.png"),className:"",alt:""})})})})]})})},Wp="/_next/static/media/icon-pictures.46bcbdbf.svg",Xp="/_next/static/media/icon-albums.2646ee07.svg",Kp="/_next/static/media/icon-stories.25fc9e97.svg",Qp="/_next/static/media/icon-search.3b7eb96c.svg",zp="/_next/static/media/gallery-search-bubble.efcdbe5e.svg",qp=function(e){var t=e.type,a=void 0===t?"default":t,n=e.backgroundClassname,r=(0,i.useRef)();return(0,i.useEffect)((function(){var e=r.current;I.ZP.set(e,{opacity:0})}),[]),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0","data-component":"button-background",onClick:function(){var e=r.current;I.ZP.fromTo(e,{scale:.8},{scale:1,duration:.6,ease:"power3.out"}),"dark"===a?I.ZP.fromTo(e,{opacity:.3},{opacity:0,duration:.6,delay:.3,ease:"power3.inOut"}):I.ZP.fromTo(e,{opacity:1},{opacity:0,duration:.6,delay:.3,ease:"power3.inOut"})},children:(0,s.jsx)("div",{className:"".concat(n,"__button--background absolute bottom-0 left-0 right-0 top-0 rounded-3xl bg-primary-gray-100"),"data-ref":"button-background-overlay",style:{opacity:0},ref:r})})},Jp=function(){return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.951 9.655C16.955 9.581 16.958 9.508 16.958 9.431C16.958 6.708 14.737 4.5 12.001 4.5C9.263 4.5 7.043 6.708 7.043 9.431C7.043 9.508 7.045 9.581 7.049 9.655C4.502 9.862 2.5 11.982 2.5 14.569C2.5 17.293 4.719 19.5 7.456 19.5H16.543C19.281 19.5 21.5 17.293 21.5 14.569C21.5 11.982 19.497 9.862 16.951 9.655Z",stroke:"#252525",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M4.42285 4.50366L20.6868 20.7667",stroke:"#252525",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})},$p=function(e){var t=e.width,a=void 0===t?26:t,i=e.height,n=void 0===i?26:i;return(0,s.jsx)("svg",{width:a,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("g",{children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.78763 10.4115C4.78763 7.30951 7.31063 4.78751 10.4126 4.78751C13.5146 4.78751 16.0376 7.30951 16.0376 10.4115C16.0376 13.5135 13.5146 16.0375 10.4126 16.0375C7.31063 16.0375 4.78763 13.5135 4.78763 10.4115M20.4926 19.4325L15.9506 14.8895C16.9416 13.6645 17.5376 12.1065 17.5376 10.4115C17.5376 6.48251 14.3416 3.28751 10.4126 3.28751C6.48363 3.28751 3.28763 6.48251 3.28763 10.4115C3.28763 14.3405 6.48363 17.5375 10.4126 17.5375C12.1066 17.5375 13.6656 16.9405 14.8896 15.9495L19.4326 20.4925C19.5786 20.6395 19.7706 20.7125 19.9626 20.7125C20.1546 20.7125 20.3466 20.6395 20.4926 20.4925C20.7856 20.1995 20.7856 19.7245 20.4926 19.4325",fill:"currentColor"})})})},ex="/_next/static/media/icon-ai-active.f4ccdbd6.svg",tx="/_next/static/media/object-eraser-bubble.dff8850a.svg",ax="/_next/static/media/remaster-bubble.eaccc7f4.svg",sx="/_next/static/media/sketch-to-image-bubble.1a1308d4.svg",ix=function(e){var t=e.imageState,a=e.index,n=e.onClick,r=e.tutorial,l=e.photosRef,c=e.remastered,o=e.edited,d=e.sketched,u=(0,i.useRef)(null);return(0,i.useEffect)((function(){var e=u.current;t.isEdited||t.isRemastered||t.isSketched?I.ZP.set(e,{display:"none"}):I.ZP.set(e,{display:"block"})}),[t]),(0,s.jsxs)("div",{className:"relative w-1/4 bg-cover bg-center pb-1/4",children:[(0,s.jsxs)("div",{className:"absolute inset-0 border bg-cover bg-center","data-loader":"image","data-index":a,"data-ref":"app-gallery-photo","data-type":"default",onClick:function(){(0,V.Kq)("/app/gallery/picture/".concat(a),M.dC.Gallery),n(a,e.remastered,e.edited)},ref:function(e){e&&!l.current.includes(e)&&l.current.push(e)},children:[t.editedThumb&&(0,s.jsx)("img",{src:"".concat(t.editedThumb,"?version=").concat(M.K0),className:"absolute",alt:"edited thumbnail of a photo"}),t.remasteredThumb&&(0,s.jsx)("img",{src:"".concat(t.remasteredThumb,"?version=").concat(M.K0),className:"absolute",alt:"remastered thumbnail of a photo"}),t.sketchedThumb&&(0,s.jsx)("img",{src:"".concat(t.sketchedThumb,"?version=").concat(M.K0),className:"absolute",alt:"Sketched thumbnail of a photo"}),(0,s.jsx)("img",{src:"".concat(t.thumb,"?version=").concat(M.K0),className:"absolute h-full w-full",ref:u,alt:"preview thumbnail of a photo"})]}),r&&(0,s.jsx)(Rr,{type:"photo",hidden:!r,width:"100%",height:"100%"}),r&&(0,s.jsxs)(s.Fragment,{children:[c&&(0,s.jsxs)("div",{className:"before:border-top-[#E5F0FB] absolute -bottom-10 left-1.5 flex min-w-max items-center gap-1 whitespace-nowrap rounded-3xl border-[1.5px] border-[#E5F0FB] bg-white py-1 px-2.5 before:absolute before:-top-[5px] before:left-[20px] before:h-[10px] before:w-[10px] before:-rotate-[135deg] before:rounded-[2px] before:border-[1.5px] before:border-white before:border-b-[#E5F0FB] before:border-r-[#E5F0FB] before:bg-white before:content-[''] rtl:right-0 rtl:mr-1 rtl:before:right-[20px] md:left-2.5 md:px-3 before:md:w-[10px]",children:[(0,s.jsx)("div",{children:(0,s.jsx)("img",{src:ax,alt:"","data-loader":"image","data-src":ax,className:"z-20 h-4 w-4 ltr:mr-1 rtl:ml-1"})}),(0,s.jsx)("span",{className:"text-[9px] font-medium leading-[2]",children:g.t["TRY-GALAXY_HOME-SCREEN-TWO_PHOTO-REMASTER-TUTORIAL"]})]}),o&&(0,s.jsxs)("div",{className:"absolute -top-10 flex min-w-max items-center whitespace-nowrap rounded-3xl border-[1.5px] border-[#E5F0FB] bg-white px-2.5 py-1 before:absolute before:-bottom-[5px] before:h-[10px] before:w-[10px] before:rotate-[45deg] before:rounded-[2px] before:border-[1.5px] before:border-white before:border-b-[#E5F0FB] before:border-r-[#E5F0FB] before:bg-white before:content-[''] ltr:left-0 ltr:before:left-[20px] rtl:right-0 rtl:before:right-[20px] md:px-2.5 before:md:w-[10px]",children:[(0,s.jsx)("div",{children:(0,s.jsx)("img",{src:tx,alt:"","data-loader":"image","data-src":tx,className:"z-20 h-4 w-4 ltr:mr-0.5 rtl:ml-0.5"})}),(0,s.jsx)("span",{className:"text-[9px] font-medium leading-[2]",children:g.t["TRY-GALAXY_HOME-SCREEN-TWO-OBJECT-ERASER-TUTORIAL"]})]}),d&&(0,s.jsxs)("div",{className:"before:border-top-[#E5F0FB] absolute -bottom-10 left-1.5 z-10 flex min-w-max items-center whitespace-nowrap rounded-3xl border-[1.5px] border-[#E5F0FB] bg-white py-1 px-2 before:absolute before:-top-[5px] before:left-[20px] before:h-[10px] before:w-[10px] before:-rotate-[135deg] before:rounded-[2px] before:border-[1.5px] before:border-white before:border-b-[#E5F0FB] before:border-r-[#E5F0FB] before:bg-white before:content-[''] md:left-2.5 md:px-2.5 before:md:w-[10px]",children:[(0,s.jsx)("div",{children:(0,s.jsx)("img",{src:sx,alt:"","data-loader":"image","data-src":sx,className:"z-20 h-4 w-4 ltr:mr-1 rtl:ml-1"})}),(0,s.jsx)("span",{className:"whitespace-pre text-[9px] font-medium leading-[2]",children:g.t["@PARADIGM_GALLERY_GALLERY_LIST_SKETCH_TO_IMAGE_TUTORIAL_TEXT"]})]})]})]})},nx=function(){var e=(0,i.useState)(!1),t=e[0],a=e[1];return(0,i.useEffect)((function(){!function(){var e=window.screen.height/window.screen.width===736/414,t=window.screen.height/window.screen.width===667/375,s=window.screen.height/window.screen.width===736/414;a(e||t||s)}()}),[]),t},rx=i.createContext(null),lx=function(e){var t=e.children,a=e.imageSrcs,n=(0,P.fv)(),r=n.navigationData,l=n.resetNavigationData,c=(0,i.useRef)([]),o=(0,i.useState)("start"),d=o[0],u=o[1],p=(0,i.useState)("start"),x=p[0],f=p[1],m=(0,i.useState)("start"),h=m[0],A=m[1],E=(0,i.useState)("start"),g=E[0],v=E[1],C=(0,i.useState)(0),j=C[0],N=C[1],T=(0,pe.Z)(wr("gallery"),2),w=T[0],b=T[1],S=(0,i.useState)([]),y=S[0],R=S[1],I=(0,i.useState)(!1),O=I[0],M=I[1],D=(0,i.useState)(!1),G=D[0],k=D[1],H=(0,i.useState)(!1),B=H[0],U=H[1];(0,i.useEffect)((function(){var e=a.map((function(e){return(0,L.Z)((0,_.Z)({},e),{isEdited:!1,isRemastered:!1,isSketched:!1})}));R(e)}),[a]);var Z={photosRef:c,editTutorial:d,setEditTutorial:u,remasterTutorial:x,setRemasterTutorial:f,photoIndex:j,setPhotoIndex:N,screen:w,setScreen:b,imageList:y,setImageList:R,finishedEditTutorial:O,setFinishedEditTutorial:M,sketchToImageTutorial:g,setSketchToImageTutorial:v,searchTutorial:h,setSearchTutorial:A,searchTutorialComplete:G,setSearchTutorialComplete:k,sketchTutorialComplete:B,setSketchTutorialComplete:U};return(0,i.useEffect)((function(){var e=r.appName,t=r.path,a=r.shouldResetScreen,s=r.shouldResetTutorial;if("gallery"===e){if(a){var i=t.split("/");i.length>1?setTimeout((function(){if("photo-remaster"===i[1]){var e=y.findIndex((function(e){return e.remastered}));b("image"),N(e)}else if("object-eraser"===i[1]){s&&u("start");var t=y.findIndex((function(e){return e.edited}));b("image"),N(t)}else if("sketch-to-image"===i[1]){b("sketch-to-image");var a=y.findIndex((function(e){return e.sketched}));N(a),s&&v("start")}else"search"===i[1]&&b("search")}),1e3):b("gallery")}l()}}),[r,l]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(rx.Provider,{value:Z,children:t})})},cx=function(){return(0,s.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4.375C6.8009 4.375 1.625 8.49826 1.625 12C1.625 15.5017 6.8009 19.625 12 19.625C17.1998 19.625 22.375 15.502 22.375 12C22.375 8.498 17.1998 4.375 12 4.375ZM12 5.875C16.4367 5.875 20.875 9.41091 20.875 12C20.875 14.5891 16.4367 18.125 12 18.125C7.56397 18.125 3.125 14.5888 3.125 12C3.125 9.4112 7.56397 5.875 12 5.875ZM12 8.125C9.86 8.125 8.125 9.861 8.125 12C8.125 14.14 9.86 15.875 12 15.875C14.14 15.875 15.875 14.14 15.875 12C15.875 9.861 14.14 8.125 12 8.125ZM12 13.25C11.31 13.25 10.75 12.69 10.75 12C10.75 11.311 11.31 10.75 12 10.75C12.69 10.75 13.25 11.311 13.25 12C13.25 12.69 12.69 13.25 12 13.25Z",fill:"#010101"})})},ox=function(){return(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6429 3.88035C14.2708 3.94361 12.9995 4.5402 12.0455 5.52216L12 5.56988L11.9533 5.5197C10.9454 4.48243 9.57917 3.87476 8.11301 3.87476C5.0664 3.87476 2.61401 6.47729 2.61401 9.66476C2.61401 10.7416 2.89457 11.7772 3.41729 12.6781L3.85058 13.3211C4.83785 14.7024 7.24396 16.9624 10.1638 19.4488C11.2219 20.3505 12.7782 20.3505 13.8365 19.4486L14.4756 18.9011C16.996 16.7274 19.0642 14.7638 20.033 13.4796L20.1838 13.2724L20.5589 12.7165C21.1055 11.7772 21.386 10.7416 21.386 9.66476C21.386 6.47676 18.9341 3.87476 15.886 3.87476L15.6429 3.88035ZM15.886 5.37476C18.0851 5.37476 19.886 7.28592 19.886 9.66476C19.886 10.4763 19.6758 11.2523 19.2853 11.9254L18.9571 12.4091L18.9286 12.4496C18.0432 13.6894 15.6719 15.9167 12.8639 18.3066C12.3659 18.731 11.6342 18.731 11.1365 18.3069L10.2491 17.544C7.93039 15.5307 6.02078 13.7078 5.17263 12.587L5.04376 12.41L4.69027 11.8861C4.32425 11.2523 4.11401 10.4763 4.11401 9.66476C4.11401 7.28645 5.91541 5.37476 8.11301 5.37476C9.39873 5.37476 10.5841 6.02978 11.3354 7.1258C11.6602 7.59181 12.3399 7.59181 12.6613 7.1306C13.4167 6.02994 14.6021 5.37476 15.886 5.37476Z",fill:"#010101"})})},dx=function(){return(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.9602 4.03052L5.45323 12.5375C5.41579 12.5751 5.38075 12.6142 5.34811 12.6545C5.31974 12.6758 5.29253 12.6993 5.26673 12.7251C4.91119 13.0807 4.3444 13.8894 4.26141 14.3074L3.24711 19.474L3.22972 19.5921C3.15631 20.3315 3.77023 20.9012 4.5261 20.7511L9.69232 19.7384L9.81581 19.7042C10.2552 19.5538 10.951 19.0561 11.2754 18.7318C11.2981 18.7091 11.319 18.6853 11.3382 18.6606C11.3817 18.6259 11.4236 18.5884 11.4639 18.5482L19.9709 10.0412C21.0448 8.96591 21.0448 7.22504 19.9705 6.15218L17.8495 4.03018C16.7747 2.95668 15.0341 2.95668 13.9602 4.03052ZM9.11672 18.3227L5.677 14.883L4.83637 19.1609L9.11672 18.3227ZM16.7896 5.09152L18.9101 7.21305C19.3983 7.70066 19.3983 8.49179 18.9099 8.98086L10.4029 17.4875L6.5148 13.5973L15.0209 5.09118C15.509 4.60301 16.3004 4.60301 16.7896 5.09152Z",fill:"#010101"})})},ux=function(){return(0,s.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("g",{children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.3036 15.325C15.6816 15.325 15.1136 15.554 14.6766 15.929L9.07764 12.621C9.12964 12.422 9.15864 12.215 9.15864 12C9.15864 11.786 9.12964 11.579 9.07864 11.38L14.6766 8.06999C15.1136 8.44599 15.6816 8.67499 16.3036 8.67499C17.6846 8.67499 18.8036 7.55499 18.8036 6.17699C18.8036 4.79499 17.6846 3.67499 16.3036 3.67499C14.9226 3.67499 13.8026 4.79499 13.8026 6.17699C13.8026 6.38999 13.8326 6.59699 13.8836 6.79699L8.28664 10.105C7.84864 9.72899 7.28164 9.50099 6.65964 9.50099C5.27964 9.50099 4.16064 10.621 4.16064 12C4.16064 13.38 5.27964 14.501 6.65964 14.501C7.28164 14.501 7.84864 14.271 8.28664 13.895L13.8846 17.204C13.8326 17.403 13.8036 17.61 13.8036 17.825C13.8036 19.207 14.9226 20.325 16.3036 20.325C17.6846 20.325 18.8036 19.207 18.8036 17.825C18.8036 16.445 17.6846 15.325 16.3036 15.325Z",fill:"currentColor"})})})},px=function(){return(0,s.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.859 5.42589C15.7437 5.75143 15.7001 6.10794 15.7452 6.47401C15.8975 7.7383 17.0473 8.6401 18.3123 8.48587C19.5777 8.33344 20.4792 7.18348 20.3252 5.91857C20.1725 4.65294 19.0223 3.75077 17.7569 3.90488C17.4062 3.94759 17.0834 4.06682 16.8033 4.24379C14.459 2.79278 11.564 2.45911 8.90437 3.4176C5.24841 4.73674 2.86243 8.20462 2.87462 12.0276C2.87594 12.4418 3.21279 12.7765 3.62701 12.7752C4.04122 12.7739 4.37593 12.437 4.37461 12.0228C4.36443 8.82896 6.35835 5.93091 9.41321 4.82866C11.5779 4.04853 13.9274 4.29225 15.859 5.42589ZM20.3731 11.2245C20.7873 11.2233 21.1241 11.5581 21.1253 11.9723C21.1364 15.796 18.7506 19.2629 15.0947 20.582C12.4411 21.539 9.55325 21.2088 7.2111 19.7656C6.92424 19.9488 6.59664 20.0683 6.24782 20.1105C4.98206 20.2646 3.8321 19.3631 3.67966 18.0976C3.52559 16.8325 4.42626 15.6836 5.69149 15.5295C6.95694 15.3754 8.10711 16.2775 8.25976 17.5432C8.30333 17.8988 8.26321 18.2524 8.14932 18.5794C10.0796 19.7087 12.4247 19.9503 14.5857 19.171C17.6408 18.0687 19.6346 15.1714 19.6253 11.9767C19.6241 11.5624 19.9589 11.2257 20.3731 11.2245ZM11.3612 7.99621C10.3894 7.54086 9.24206 8.2459 9.24206 9.34868V14.5997L9.24748 14.7301C9.33721 15.8002 10.5221 16.4427 11.4778 15.8913L15.6518 13.1667C16.4879 12.5684 16.4467 11.234 15.4984 10.6839L11.5133 8.07882L11.4769 8.05647L11.3612 7.99621ZM5.97402 17.0125L5.87282 17.0185L5.77291 17.037C5.38328 17.1345 5.11894 17.5081 5.16877 17.9173C5.22216 18.3605 5.62385 18.6754 6.06707 18.6214C6.27214 18.5966 6.45355 18.4974 6.58545 18.3424C6.70612 18.2008 6.77365 18.0236 6.77671 17.837L6.77072 17.7242L6.75231 17.6241C6.67274 17.3047 6.40787 17.0693 6.09062 17.0214L5.97402 17.0125ZM10.742 9.36701V14.58L14.74 11.97L14.7321 11.9708L14.7118 11.9605L10.742 9.36701ZM18.0394 5.3879L17.9382 5.39388L17.8383 5.41238C17.4487 5.50997 17.1839 5.88408 17.2342 6.29268C17.2876 6.73578 17.6891 7.05074 18.1319 6.99676C18.541 6.94748 18.8408 6.60142 18.8421 6.20033L18.8361 6.09904L18.8177 5.99906C18.7381 5.68002 18.4733 5.44465 18.156 5.39683L18.0394 5.3879Z",fill:"#010101"})})},xx=function(){return(0,s.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.4932 3.49763C15.429 2.86812 14.8958 2.37524 14.2496 2.37524H9.74963L9.62201 2.38171C8.9925 2.44584 8.49963 2.97911 8.49963 3.62524V5.62524H4.31403L4.21226 5.63209C3.84618 5.68175 3.56403 5.99555 3.56403 6.37524C3.56403 6.78946 3.89981 7.12524 4.31403 7.12524H5.03917L5.96717 19.0878L5.98568 19.258C6.17442 20.6069 7.32968 21.6247 8.70893 21.6247H15.2919L15.4631 21.6195C16.8221 21.5358 17.9271 20.4623 18.0327 19.0872L18.9617 7.12524H19.686L19.7878 7.1184C20.1539 7.06874 20.436 6.75494 20.436 6.37524C20.436 5.96103 20.1002 5.62524 19.686 5.62524H15.4996V3.62524L15.4932 3.49763ZM13.9996 5.62524L13.999 3.87499H9.99903L9.99955 5.62524H13.9996ZM6.54368 7.12524H17.4571L16.5372 18.9717L16.5207 19.0998C16.4144 19.6875 15.9012 20.1247 15.2919 20.1247H8.70893L8.57984 20.1182C7.98542 20.0572 7.50993 19.5796 7.46267 18.9716L6.54368 7.12524ZM14.6134 11.4376C14.5637 11.0715 14.2499 10.7893 13.8702 10.7893C13.456 10.7893 13.1202 11.1251 13.1202 11.5393V15.9893L13.1271 16.0911C13.1767 16.4572 13.4905 16.7393 13.8702 16.7393C14.2844 16.7393 14.6202 16.4036 14.6202 15.9893V11.5393L14.6134 11.4376ZM10.1304 10.7893C10.5101 10.7893 10.8239 11.0715 10.8736 11.4376L10.8804 11.5393V15.9893C10.8804 16.4036 10.5446 16.7393 10.1304 16.7393C9.75073 16.7393 9.43693 16.4572 9.38727 16.0911L9.38043 15.9893V11.5393C9.38043 11.1251 9.71621 10.7893 10.1304 10.7893Z",fill:"#010101"})})},fx="/_next/static/media/icon-remaster.1dd7bba5.svg",mx="/_next/static/media/icon-object-eraser.01cdeb21.svg",hx=function(e){var t=e.title,a=e.popupTitle,i=e.popupText,n=e.popupOk,r=e.icon,l=e.detailsEditingButtonsRef,c=e.detailsEditingIconsRef,o=e.trackPath;return(0,s.jsx)(ie,{path:o,page:"Gallery",children:(0,s.jsx)(ht,{title:g.t[a],text:g.t[i],cta:{text:g.t[n]},children:(0,s.jsxs)("div",{className:"relative flex items-center",children:[(0,s.jsxs)("div",{className:"flex w-[2.5rem] origin-left items-center whitespace-nowrap rounded-full bg-black/60 px-3 py-2 text-xs font-semibold text-white opacity-0",ref:function(e){e&&!(null===l||void 0===l?void 0:l.current.includes(e))&&(null===l||void 0===l||l.current.push(e))},children:[(0,s.jsx)("button",{className:"h-full w-full"}),(0,s.jsx)("div",{className:"opacity-0 ltr:ml-6 rtl:mr-6",children:g.t[t]})]}),(0,s.jsx)("img",{src:r.src,className:"absolute transform-none opacity-0 ltr:ml-2.5 rtl:mr-2.5",ref:function(e){e&&!(null===c||void 0===c?void 0:c.current.includes(e))&&(null===c||void 0===c||c.current.push(e))},alt:"".concat(g.t[t]," icon")})]})})})},Ax={vn:"vn:text-sm vn:smd:text-xs",gr:"gr:foldCover:w-1/6 gr:smd:w-1/6"},Ex={vn:"vn:px-5",cn:"cn:px-3"},gx=H()(Object.values(Ax)),vx=H()(Object.values(Ex)),Cx=g.t.getLanguage(),jx=function(){var e=new Date,t="kr"===Cx?{}:{weekday:"long"};return(0,g.RA)(e,(0,_.Z)({year:"numeric",month:"long",day:"numeric"},t))},Nx=[{title:"@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_BUTTON-LIVE-EFFECT",popupTitle:"@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_BUTTON-LIVE-EFFECT_POP-UP-TITLE",popupText:"@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_BUTTON-LIVE-EFFECT_POP-UP-TEXT",popupOk:"@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_BUTTON-LIVE-EFFECT_POP-UP-OK",icon:{src:"/_next/static/media/icon-live-effect.4d473699.svg",height:20,width:19},trackPath:"/app/gallery/live-effect"},{title:"@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_BUTTON-ERASE-SHADOW",popupTitle:"@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_BUTTON-ERASE-SHADOW_POP-UP-TITLE",popupText:"@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_BUTTON-ERASE-SHADOW_POP-UP-TEXT",popupOk:"@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_BUTTON-ERASE-SHADOW_POP-UP-OK",icon:{src:"/_next/static/media/icon_erase-shadow.c9982072.svg",height:24,width:25},trackPath:"/app/gallery/erase-shadow"},{title:"@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_BUTTON-BACKGROUND-BLUR",popupTitle:"@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_BUTTON-BACKGROUND-BLUR_POP-UP-TITLE",popupText:"@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_BUTTON-BACKGROUND-BLUR_POP-UP-TEXT",popupOk:"@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_BUTTON-BACKGROUND-BLUR_POP-UP-OK",icon:{src:"/_next/static/media/icon-background-blur.bfca63fd.svg",height:24,width:25},trackPath:"/app/gallery/background-blur"}];var Tx=function(e){var t=e.image,a=e.detailsContainerRef,n=e.detailsContentRef,r=e.detailsEditingButtonsRef,l=e.tutorialType,c=e.handleEditButtonClick,o=e.toggleDetailsView,d=e.remasterImage,u=e.detailsEditingIconsRef,p=e.photoIndex,x=e.interactionCounter,f=e.imageSourcesLargeRef,m=e.detailsViewRef,h=e.setIsDetailsViewOpen,A=e.bottomBarRef,E=(0,i.useContext)(rx),v=E.screen,C=E.editTutorial,j=E.remasterTutorial,N=(0,i.useState)(!1),T=N[0],w=N[1],b=(0,P.qr)().popBackButtonStack,S=(0,i.useRef)(0),y=(0,i.useRef)(null),R=(0,i.useRef)(null),O=(0,i.useRef)({initialTouchPosition:{x:0,y:0},currentTouchPosition:{x:0,y:0},endTouchPosition:{x:0,y:0},isMoving:!1,currentScrollViewportPosition:0,moveableScrollViewportPosition:0});y.current=o;var M=(0,i.useMemo)((function(){return function(){var e=p,t=m.current,s=f.current[e],i=a.current,l=n.current,c=A.current,o=r.current,d=u.current,x=o.map((function(e){return e.children[1]})),E=1===e||6===e,g=R.current;E&&(S.current<.05?(I.ZP.set(s,{opacity:0}),I.ZP.set(c,{opacity:0}),I.ZP.to(t,{translateY:0,duration:.3,ease:"power1.out"}),I.ZP.to(i,{top:"40%",opacity:1,duration:.3,ease:"power1.out"}),I.ZP.to(l,{opacity:1,duration:.3,ease:"power1.out",delay:.1}),I.ZP.to([o,d],{opacity:1,delay:.3,duration:.2,onComplete:function(){I.ZP.to(o,{width:"auto",duration:.3,delay:.3}),I.ZP.to(x,{opacity:1,delay:.4,duration:.2})}})):(I.ZP.set(t,{pointerEvents:"none"}),I.ZP.to(t,{translateY:g.y,duration:.3,ease:"power1.out"}),I.ZP.to(t,{opacity:0,delay:.6,duration:.3,ease:"power1.out"}),I.ZP.to(s,{opacity:1,duration:.02,delay:.28}),I.ZP.to(c,{opacity:1,duration:.02,delay:.28}),I.ZP.to(i,{top:"75%",duration:.1,ease:"power1.out",onComplete:function(){I.ZP.to(t,{display:"none"}),I.ZP.set(o,{width:"2.5rem",opacity:0}),I.ZP.set(d,{opacity:0}),I.ZP.set(x,{opacity:0}),R.current=null}}),I.ZP.set(i,{opacity:0,delay:.1,ease:"power1.out"}),h(!1),b())),S.current=0}}),[p,x]),D=(0,i.useCallback)((function(){var e=p,t=m.current,s=f.current[e],i=a.current,r=n.current,l=A.current;if(I.ZP.killTweensOf([t,s,i,r,l]),!R.current){var c=s.getBoundingClientRect();R.current=c}var o=O.current.currentTouchPosition,d=R.current,u=I.ZP.timeline({paused:!0});u.fromTo(l,{opacity:0},{opacity:1,duration:.3}),u.fromTo(t,{translateY:0},{translateY:d.y,duration:.4},0),u.fromTo(i,{top:"40%",opacity:1},{top:"70%",opacity:0,duration:.4,ease:"power1.out"},0),u.fromTo(r,{opacity:1},{opacity:0,duration:.4,ease:"power1.out",delay:.1},0);var x=o.y/(window.innerHeight/1.5);x=x<0?0:x,S.current=x,u.progress(x)}),[p,x]),G=(0,i.useCallback)((function(e){var t=e.touches[0]||e.changedTouches[0];O.current.initialTouchPosition={x:t.pageX,y:t.pageY},O.current.currentTouchPosition={x:t.pageX-O.current.initialTouchPosition.x,y:t.pageY-O.current.initialTouchPosition.y}}),[]),k=(0,i.useCallback)((function(e){if(!T){O.current.isMoving=!0;var t=e.touches[0]||e.changedTouches[0];O.current.endTouchPosition={x:t.pageX,y:t.pageY},O.current.currentTouchPosition={x:t.pageX-O.current.initialTouchPosition.x,y:t.pageY-O.current.initialTouchPosition.y},D()}}),[T]),B=function(e){var t=new Date;t.setMinutes(t.getMinutes()-e);var a=(0,g.RA)(t,{hour:"2-digit",minute:"2-digit",hour12:!1});return"ca"===Cx&&(a=(0,g.RA)(t,{hour:"2-digit",minute:"numeric"}).replace(" h ",":")),a}(1===p?30:60);return(0,i.useEffect)((function(){var e=m.current;return"image"===v.current&&(e.addEventListener("touchend",M),e.addEventListener("touchmove",k),e.addEventListener("touchstart",G)),function(){e.removeEventListener("touchend",M),e.removeEventListener("touchmove",k),e.removeEventListener("touchstart",G)}}),[p,x,v,k,G]),(0,s.jsxs)("div",{className:"top-0 h-screen",children:[(0,s.jsx)("img",{src:t,className:"w-screen",alt:"photo"}),(0,s.jsxs)("div",{className:"absolute top-1/2 h-full w-full bg-white",ref:a,children:[(0,s.jsxs)("div",{className:"absolute flex w-full -translate-y-11 gap-2 overflow-x-auto overflow-y-hidden px-4 pt-1",onTouchEnd:function(){w(!1)},onTouchStart:function(){w(!0)},children:[(0,s.jsxs)("div",{className:"relative flex items-center",children:[(0,s.jsxs)("div",{className:"flex w-[2.5rem] origin-left items-center whitespace-nowrap rounded-full bg-black/60 px-3 py-2 text-xs font-semibold text-white opacity-0 ".concat("start"!==j&&"remaster"===l?"hidden":""),ref:function(e){e&&!r.current.includes(e)&&r.current.push(e)},onClick:function(e){e.stopPropagation(),"remaster"===l&&"finish"!==j&&(o(),d())},children:[(0,s.jsx)(Rr,{type:"rounded-3xl",height:"100%",width:"100%",hidden:"start"!==j||"remaster"!==l}),(0,s.jsx)("div",{className:"opacity-0 ltr:ml-6 rtl:mr-6",children:g.t["GALLERY_PHOTO_META-VIEW_BUTTON-REMASTER"]})]}),(0,s.jsx)("img",{src:fx,className:"absolute transform-none opacity-0 ltr:ml-2.5 rtl:mr-2.5",ref:function(e){e&&!u.current.includes(e)&&u.current.push(e)},alt:"remaster icon"})]}),Nx.map((function(e,t){return(0,s.jsx)(hx,(0,L.Z)((0,_.Z)({},e),{detailsEditingButtonsRef:r,detailsEditingIconsRef:u}),t)})),"edit"===l&&"finish"!==C&&(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsxs)("div",{className:"flex w-[2.5rem] origin-left items-center whitespace-nowrap bg-black/60 px-3 py-2 text-xs font-semibold text-white opacity-0",ref:function(e){e&&!r.current.includes(e)&&r.current.push(e)},onClick:function(e){e.stopPropagation(),"edit"===l&&"finish"!==C&&c()},children:[(0,s.jsx)(Rr,{type:"rounded-3xl",height:"100%",width:"100%",hidden:"edit"!==l}),(0,s.jsx)("div",{className:"opacity-0 ltr:ml-6 rtl:mr-6",children:g.t["GALLERY_PHOTO_META-VIEW_BUTTON-OBJECT-ERASER"]})]}),(0,s.jsx)("img",{src:mx,className:"absolute transform-none opacity-0 ltr:ml-2.5 rtl:mr-2.5",alt:"object eraser icon",ref:function(e){e&&!u.current.includes(e)&&u.current.push(e)}})]})]}),(0,s.jsx)("div",{className:H()("mt-8 flex w-full gap-1 px-7 smd:px-2",vx),ref:n,children:(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsxs)("div",{className:"flex flex-row justify-between",children:[(0,s.jsxs)("div",{className:"mb-[6px] text-sm font-bold leading-[18px] text-black",children:[jx(),(0,s.jsxs)("span",{className:"mx-1 text-xs font-normal",children:[" "," \u2022 "]})," ",B]}),(0,s.jsx)("div",{className:H()("flex w-auto min-w-max justify-end text-base font-semibold text-[#507ED8]",gx),children:g.t["GALLERY_PHOTO_META-VIEW_DETAILS-EDIT-BUTTON"]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-[6px] text-[13px] font-normal text-black opacity-50",children:[(0,s.jsx)("div",{className:"leading-[18px]",children:g.t["@PARADIGM_GALLERY_PHOTO_META-VIEW_DETAILS-FILE-NAME"]}),(0,s.jsx)("div",{className:"leading-[18px]",children:g.t["@PARADIGM_GALLERY_PHOTO_META-VIEW_DETAILS-FOLDERS-PATH"]})]}),(0,s.jsx)("div",{className:"mt-6 flex items-center text-sm font-bold leading-6",children:g.t["@PARADIGM_GALLERY_PHOTO_META-VIEW_DETAILS-DEVICE-NAME"]}),(0,s.jsxs)("div",{className:"border-primary-gray-260 text-[13px] font-normal text-black opacity-50",children:[(0,s.jsx)("div",{className:"flex items-center leading-6",children:(0,s.jsx)("div",{className:"pr-2",children:g.t["@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_DETAILS-RESOLUTION"]})}),(0,s.jsxs)("div",{className:"flex items-center leading-6",children:[(0,s.jsx)("div",{className:"pr-2",children:g.t["@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_DETAILS-FILE-SIZE"]}),(0,s.jsx)("div",{className:"h-2.5 border-r-[1px] border-primary-gray-250"}),(0,s.jsx)("div",{className:"px-2",children:g.t["@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_DETAILS-ASPECT"]}),(0,s.jsx)("div",{className:"h-2.5 border-r-[1px] border-primary-gray-250"}),(0,s.jsx)("div",{className:"px-2",children:g.t["@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_DETAILS-FRAME-SPEED"]})]}),(0,s.jsxs)("div",{className:"flex items-center cn:text-xxs xsm:text-xxs",children:[(0,s.jsx)("div",{className:"pr-2",children:g.t["@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_DETAILS-DURATION"]}),(0,s.jsx)("div",{className:"h-2.5 border-r-[1px] border-primary-gray-250"}),(0,s.jsx)("div",{className:"px-2",children:g.t["@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_DETAILS-CODEC"]}),(0,s.jsx)("div",{className:"h-2.5 border-r-[1px] border-primary-gray-250"}),(0,s.jsx)("div",{className:"px-2",children:g.t["@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_DETAILS-AUDIO-CODEC"]}),(0,s.jsx)("div",{className:"h-2.5 border-r-[1px] border-primary-gray-250"}),(0,s.jsx)("div",{className:"px-2",children:g.t["@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_DETAILS-FRAME-RATE"]}),(0,s.jsx)("div",{className:"h-2.5 border-r-[1px] border-primary-gray-250"}),(0,s.jsx)("div",{className:"pl-2",children:g.t["@PARADIGM_GALLERY_GALLERY_PHOTO_META-VIEW_DETAILS-FRONT-WIDE"]})]})]}),(0,s.jsxs)("div",{className:"mt-6 flex w-fit items-center rounded-3xl border-[0.5px] border-primary-gray-260 px-3 py-0.5",children:[(0,s.jsx)("div",{className:"ltr:mr-1.5 rtl:ml-1.5",children:"#"}),(0,s.jsx)("div",{className:"text-[13px]",children:g.t["GALLERY_PHOTO_META-VIEW_DETAILS-ADD-TAG-BUTTON"]})]})]})})]})]})},wx="/_next/static/media/slider.9b040fc6.png",_x="/_next/static/media/info.51f4fa58.png",bx=function(e){var t=e.active,a=e.children,i=e.className,n=void 0===i?"":i,r=e.gradientClassName,l=void 0===r?"":r,c=e.isWhiteIcon,o=void 0!==c&&c?"/assets/lotties/gallery/stars-lottie.json":"/assets/lotties/guideFlow/widget.json";return(0,s.jsx)("div",{className:H()("relative flex items-center justify-center",n),children:(0,s.jsxs)("div",{className:H()("ai-gradient-wrapper pointer-events-none",l),children:[(0,s.jsx)("div",{className:H()("gradient gradient-2",{active:t})}),(0,s.jsx)("div",{className:H()("gradient gradient-3",{active:t})}),(0,s.jsx)(Re.Z,{className:H()("ai-animation",{active:t}),path:o,height:80,width:80,loop:!0}),a]})})},Sx=function(e){var t=e.preloaderRef;return(0,s.jsx)("div",{className:"absolute inset-0","data-ref":"gallery-photo-remaster-image-preloader",style:{display:"none"},ref:t,children:(0,s.jsx)("div",{className:"absolute inset-0",children:(0,s.jsx)(bx,{active:!0,className:"h-full w-full",gradientClassName:"h-full w-full",isWhiteIcon:!0,children:(0,s.jsx)("div",{className:"flex h-full w-full items-center justify-center pt-16 text-sm text-white",children:g.t["GALLERY_ANALYSING-REMASTERING-PICTURE_TEXT"]})})})})},yx={jp:"jp:text-[10px]"},Rx={tr:"tr:text-xs",cz:"cz:text-xs",ca:"ca:whitespace-pre-line",se:"se:foldCover:text-xs",jp:"jp:xxs:text-xs"},Lx=H()(Object.values(yx)),Ix=H()(Object.values(Rx)),Px=(0,i.memo)((function(e){var t=e.text,a=e.hidden,n=e.icon,r=e.type,l=void 0===r?"primary":r,c=e.transition,o=void 0===c||c,d=e.onClick,u=e.trackedPage,p=e.trackedPath,x=(0,i.useRef)(null);(0,i.useEffect)((function(){var e=x.current;if(a)return I.ZP.killTweensOf(e),void I.ZP.fromTo(e,{opacity:1},{opacity:0,duration:.3});o?(I.ZP.killTweensOf(e),I.ZP.fromTo(e,{opacity:0},{opacity:1,duration:.3,ease:"power2.out"})):(I.ZP.killTweensOf(e),I.ZP.set(e,{opacity:1}))}),[a,o]);var f=H()({"flex items-center justify-center":"secondary"===l,"relative w-full px-6 flex justify-center de:screen-w-md:px-11":"primary"===l}),m=H()({"bg-primary-gray-50 w-fit px-2":"primary"===l,"bg-[#373737] w-auto px-4":"secondary"===l},"tutorial-shadow relative flex flex-nowrap items-center justify-center rounded-3xl py-2"),h=H()((0,ue.Z)({"w-full text-sm":"primary"===l,"relative w-auto rounded-full text-xs text-white":"secondary"===l},"".concat(Lx),"secondary"===l),Ix);return(0,s.jsx)("div",{className:H()("absolute inset-0",{"pointer-events-none":void 0==d}),children:(0,s.jsx)("div",{className:"absolute bottom-12 left-0 right-0 xsm:bottom-20 xxsm:bottom-28","data-ref":"tutorial-content-1",style:{opacity:0},ref:x,children:(0,s.jsx)("div",{className:f,children:(0,s.jsxs)("div",{className:m,onClick:function(){u&&p&&(0,V.Kq)(p,V.Kq,"pageview"),null===d||void 0===d||d()},children:[n?(0,s.jsx)("div",{className:"ltr:mr-2 rtl:ml-2",children:(0,s.jsxs)("div",{className:"relative overflow-hidden rounded-full",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-blue-900 opacity-10"}),(0,s.jsx)("div",{className:"relative p-2",children:(0,s.jsx)("img",{"data-loader":"image","data-src":_x,className:"w-6",src:_x,alt:""})})]})}):null,(0,s.jsx)("div",{className:h,children:t})]})})})})})),Ox=H()(Object.values({kr:"kr:w-36 kr:right-[68px]",de:"de:w-40 de:right-[78px]",es:"es:w-40 es:right-[78px]",eslatam:"eslatam:w-44 eslatam:right-[86px]",jp:"jp:w-40 jp:right-[80px]",id:"id:w-44 id:right-[88px]",ru:"ru:w-40 ru:right-[78px]",br:"br:w-36 br:right-[70px]"})),Mx=function(e){var t=e.remastered,a=e.remasterBarRef,n=e.remasterAferImageRef,r=(0,i.useContext)(rx),l=r.photoIndex,c=r.imageList,o=r.screen,d=r.setRemasterTutorial,u=r.setScreen,p=(0,i.useState)(!1),x=p[0],f=p[1],m=(0,i.useRef)(null),h=(0,i.useRef)(null),A=(0,i.useRef)(null),E=(0,i.useRef)(null),v=(0,i.useRef)(null),C=(0,i.useRef)(null),j=(0,i.useRef)(null),N=(0,i.useRef)(null),T=(0,i.useRef)(null),w=(0,i.useRef)(null),_=(0,i.useRef)(null);n.current=v.current;var b=(0,i.useCallback)((function(e){var t=A.current,a=v.current,s=j.current;"ae"===g.t.getLanguage()?(I.ZP.set(t,{x:"".concat(-(window.innerWidth-e),"px")}),I.ZP.set(a,{x:"".concat(window.innerWidth-e,"px")}),I.ZP.set(s,{x:"".concat(e,"px")})):(I.ZP.set(t,{x:"".concat(e,"px")}),I.ZP.set(a,{x:"".concat(-e,"px")}),I.ZP.set(s,{x:"".concat(e,"px")}))}),[]),S=(0,i.useCallback)((function(e){var t=A.current,s=v.current,i=j.current,n=T.current,r=a.current,l=w.current,c=null===i||void 0===i?void 0:i.getBoundingClientRect(),o=r.getBoundingClientRect(),d=(null===c||void 0===c?void 0:c.bottom)-o.top;I.ZP.set(l,{bottom:d}),I.ZP.to(t,{x:"".concat(e,"px"),duration:.3,ease:"power3.inOut"}),I.ZP.to(s,{x:"".concat(-e,"px"),duration:.3,ease:"power3.inOut"}),I.ZP.to(i,{x:"".concat(e,"px"),duration:.3,ease:"power3.inOut",onComplete:function(){I.ZP.to(n,{opacity:.75,scale:1,duration:.4,ease:"power3.inOut"})}})}),[]),y=function(){var e=T.current;I.ZP.set(e,{display:"flex"}),I.ZP.to(e,{scale:1,opacity:.75,duration:.4,ease:"power3.inOut"})},R=(0,i.useCallback)((function(e){var t=e.touches[0]||e.changedTouches[0],a=_.current,s={x:t.pageX,y:t.pageY}.x;b(s=(s=s<0?0:s)>a?a:s)}),[b]),L=(0,i.useCallback)((function(){var e=T.current;I.ZP.set(e,{display:"none",scale:0,opacity:0}),d("touched")}),[d]),P=(0,i.useCallback)((function(){var e=m.current,t=h.current,a=N.current;I.ZP.set(t,{opacity:0}),I.ZP.set([a,e],{display:"none"}),I.ZP.timeline({paused:!0,duration:3,onComplete:function(){I.ZP.set(t,{opacity:1}),I.ZP.set(a,{display:"none"}),S(window.innerWidth/2)}}).play(0),I.ZP.set([a,e],{display:"block"}),I.ZP.set(t,{opacity:0})}),[u,b]),O=(0,i.useMemo)((function(){return P}),[P]),M=(0,i.useCallback)((function(){var e=m.current,t=h.current,a=N.current;I.ZP.set(t,{opacity:0}),I.ZP.set([a,e],{display:"none"})}),[]);return(0,i.useEffect)((function(){var e=m.current,t=h.current,a=N.current;c[l].isRemastered&&"remaster"===o.current&&(I.ZP.set(t,{opacity:0}),I.ZP.set(a,{display:"none"}),I.ZP.set(e,{display:"none"}),u("image"))}),[c,l,o,u]),(0,i.useEffect)((function(){var e="remasterLoading"===o.current&&"image"===o.prev,t=["edit","gallery","image"].includes(o.current);e&&!x?(O(),b(0),u("remaster"),f(!0)):t&&x&&(M(),f(!1))}),[o,x,f,O,M]),(0,i.useEffect)((function(){var e=C.current;return _.current=window.innerWidth,window.addEventListener("resize",(function(){_.current=window.innerWidth})),"remaster"===o.current?(e.addEventListener("touchmove",R),e.addEventListener("touchstart",L),e.addEventListener("touchend",y)):(null===e||void 0===e||e.removeEventListener("touchmove",R),null===e||void 0===e||e.removeEventListener("touchstart",L),null===e||void 0===e||e.removeEventListener("touchend",y)),function(){window.removeEventListener("resize",(function(){_.current=window.innerWidth}))}}),[o,R,L]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"absolute inset-0","data-component":"gallery-photo-remaster","data-index":6,style:{display:"none"},ref:m,children:[(0,s.jsxs)("div",{className:"absolute inset-0","data-ref":"gallery-photo-remaster-image-slider",style:{opacity:0},ref:h,children:[(0,s.jsx)("div",{className:"relative w-full overflow-hidden",children:(0,s.jsx)("div",{className:"relative w-full overflow-hidden","data-ref":"gallery-photo-remaster-image-container",ref:A,children:(0,s.jsx)("div",{className:"relative w-full","data-ref":"gallery-photo-remaster-image-remastered",ref:E,children:(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("img",{"data-ref":"gallery-image-remastered","data-loader":"image","data-src":t,className:"gpu w-full",style:{width:"100%",maxWidth:"initial",objectFit:"cover",transformOrigin:""},src:t,alt:"",ref:v})})})})}),(0,s.jsx)("div",{className:"pointer-events-none absolute left-0 right-0 top-0 -translate-y-full transform"}),(0,s.jsx)("div",{className:"absolute inset-0 overflow-x-hidden",ref:C,children:(0,s.jsxs)("div",{className:"absolute inset-0 my-0","data-ref":"gallery-photo-remaster-scrub",ref:j,children:[(0,s.jsxs)("div",{className:H()("relative top-5 right-[72px] flex w-[142px] scale-0 items-center gap-0.5 rounded-3xl bg-black/[.4] px-4 py-2 text-sm font-normal text-white opacity-0 rtl:mr-auto",Ox),ref:T,children:[(0,s.jsx)("div",{className:H()("flex-1 text-center"),children:g.t["GALLERY_ROTATION-LOCK-UP_BEFORE_POP-UP-TITLE"]}),(0,s.jsx)("div",{className:H()("flex-1 text-center"),children:g.t["GALLERY_ROTATION-LOCK-UP_AFTER_POP-UP-TITLE"]})]}),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 top-0 bg-white",style:{width:2}}),(0,s.jsxs)("div",{className:"absolute left-0 -translate-x-1/2 transform",ref:w,children:[(0,s.jsx)("img",{"data-loader":"image","data-src":wx,className:"relative object-contain pb-px drop-shadow",style:{width:"36px"},src:wx,alt:""}),(0,s.jsx)(Rr,{type:"circle",hidden:!0,width:"48px",height:"48px"})]})]})}),(0,s.jsx)("div",{className:"absolute bottom-14 w-full",children:(0,s.jsx)(Px,{hidden:!0,text:g.t["GALLERY_REMASTER-TUTORIAL-TEXT"],icon:"info"})}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0","data-guide":"tutorial","data-tutorial-type":"photo-remaster",style:{display:"none"},children:(0,s.jsx)("div",{className:"absolute bottom-16 left-0 right-0 xs:bottom-10","data-ref":"tutorial-content-2",children:(0,s.jsx)("div",{className:"relative w-full px-6",children:(0,s.jsxs)("div",{className:"tutorial-shadow relative flex w-full flex-nowrap items-center justify-center rounded-3xl bg-primary-gray-50 px-2 py-2",children:[(0,s.jsx)("div",{className:"mr-2",children:(0,s.jsxs)("div",{className:"relative overflow-hidden rounded-full",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-blue-900 opacity-10"}),(0,s.jsx)("div",{className:"relative p-2",children:(0,s.jsx)("img",{"data-loader":"image","data-src":_x,className:"w-6",src:_x,alt:""})})]})}),(0,s.jsx)("div",{className:"w-full text-sm",children:g.t["GALLERY_ROTATION-LOCK-UP_DRAG-HANDLE-SIDEWAYS_TEXT"]})]})})})})]}),(0,s.jsx)(Sx,{preloaderRef:N})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0","data-guide":"tutorial","data-tutorial-type":"photo-remaster",children:(0,s.jsx)("div",{className:"absolute bottom-12 left-0 right-0 xs:bottom-4","data-ref":"tutorial-content-1",style:{opacity:0},children:(0,s.jsx)("div",{className:"relative w-full px-6",children:(0,s.jsxs)("div",{className:"tutorial-shadow relative flex w-full flex-nowrap items-center justify-center rounded-3xl bg-primary-gray-50 px-2 py-2",children:[(0,s.jsx)("div",{className:"mr-2",children:(0,s.jsxs)("div",{className:"relative overflow-hidden rounded-full",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-blue-900 opacity-10"}),(0,s.jsx)("div",{className:"relative p-2",children:(0,s.jsx)("img",{"data-loader":"image","data-src":_x,className:"w-6",src:_x,alt:""})})]})}),(0,s.jsx)("div",{className:"w-full text-sm",children:g.t["GALLERY_REMASTER-TUTORIAL_LEARN-ABOUT-PHOTOS_TEXT"]})]})})})})]})},Dx=function(e){var t=e.isEdited,a=e.isRemastered,n=e.isSketched,r=e.edited,l=e.remastered,c=e.sketched,o=e.photo,d=e.imageBlocksRef,u=e.imageBlockContainersRef,p=e.imageSourcesLargeRef,x=e.showRemasterTutorial,f=e.showEditTutorial,m=e.remasterBarRef,h=e.remasterAferImageRef,A=e.cropped,E=e.editedCropped,v=e.remasteredCropped,C=e.sketchedCropped,j=e.photoIndex,N=void 0===j?0:j,T=(0,P.qr)().appName,w=(0,i.useState)(o),_=w[0],b=w[1],S=(0,i.useState)(l),y=S[0],R=S[1],L=(0,i.useContext)(rx),I=L.screen,O=L.finishedEditTutorial,M=nx();return(0,i.useEffect)((function(){"gallery"===T&&(b(M?t?E:a?v:n?C:A:t?r:a?l:n?c:o),M&&R(v))}),[t,r,a,l,n,c,o,A,v,E,R,b,_,y,M,T]),(0,s.jsx)("div",{className:"relative w-screen",style:{width:"100vw"},children:(0,s.jsx)("div",{className:"","data-ref":"gallery-image-block","data-type":"default",ref:function(e){e&&!d.current.includes(e)&&d.current.push(e)},children:(0,s.jsx)("div",{className:"items-center","data-ref":"gallery-image-viewport",children:(0,s.jsx)("div",{className:"relative inline-block",children:(0,s.jsxs)("div",{className:"relative w-screen","data-ref":"gallery-image-container",ref:function(e){e&&!u.current.includes(e)&&u.current.push(e)},children:[(0,s.jsx)("div",{className:"relative mb-4 overflow-hidden",children:(0,s.jsx)("img",{"data-ref":"gallery-image-large","data-loader":"image","data-src":_,className:"w-screen",src:_,alt:"",ref:function(e){e&&!p.current.includes(e)&&p.current.push(e)}})}),x&&(0,s.jsx)(Px,{hidden:!1,text:g.t["@PARADIGM_GALLERY_REMASTER-TUTORIAL_TAP-ICON-TO-EDIT-IMG_TEXT"],icon:"info",trackedPage:"/app/gallery/picture/".concat(N,"/more"),trackedPath:"Gallery"}),f&&!O&&(0,s.jsx)(Px,{hidden:!1,text:g.t["@UNPACKED_GALLERY-OBJECT_ERASER_LEARN_ABOUT_PHOTOS-TEXT"],icon:"info"}),"remasterLoading"!==I.current&&"remaster"!==I.current||!l?null:(0,s.jsx)(Mx,{remastered:y,remasterBarRef:m,remasterAferImageRef:h})]})})})})})},Gx=function(e){var t=e.color,a=void 0===t?"#FCFCFC":t;return(0,s.jsxs)("svg",{width:20,height:22,viewBox:"0 0 20 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M15.3953 4.94458V14.8124C15.3953 16.3265 14.1544 17.5534 12.623 17.5534H2.64258",stroke:a,strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M6.24805 21.1169V11.2491C6.24805 9.73495 7.48894 8.50806 9.02038 8.50806H19.0008",stroke:a,strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M9.08789 1.11682L10.901 2.90837C11.0063 3.01363 11.0063 3.18576 10.901 3.29212L9.09233 5.08695",stroke:a,strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M10.5368 3.09766H7.7767C4.03404 3.09766 1 6.09746 1 9.79787V10.2935",stroke:a,strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})]})},kx=function(e){var t=e.color,a=void 0===t?"#FCFCFC":t;return(0,s.jsx)("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.44073 7.18579C2.77177 7.18579 1.40625 5.82027 1.40625 4.1513C1.40625 2.48234 2.77177 1.11682 4.44073 1.11682C6.1097 1.11682 7.47522 2.48234 7.47522 4.1513C7.47522 5.82027 6.1097 7.18579 4.44073 7.18579ZM14.3718 7.18579C12.7028 7.18579 11.3373 5.82027 11.3373 4.1513C11.3373 2.48234 12.7028 1.11682 14.3718 1.11682C16.0407 1.11682 17.4062 2.48234 17.4062 4.1513C17.4062 5.82027 16.0407 7.18579 14.3718 7.18579ZM4.44073 17.1168C2.77177 17.1168 1.40625 15.7513 1.40625 14.0823C1.40625 12.4134 2.77177 11.0479 4.44073 11.0479C6.1097 11.0479 7.47522 12.4134 7.47522 14.0823C7.47522 15.7513 6.1097 17.1168 4.44073 17.1168ZM14.3718 17.1168C12.7028 17.1168 11.3373 15.7513 11.3373 14.0823C11.3373 12.4134 12.7028 11.0479 14.3718 11.0479C16.0407 11.0479 17.4062 12.4134 17.4062 14.0823C17.4062 15.7513 16.0407 17.1168 14.3718 17.1168Z",stroke:a,strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})})},Hx=function(){return(0,s.jsxs)("svg",{width:21,height:21,viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4267 13.2881C11.4267 10.374 9.0925 8.01184 6.21387 8.01184C3.33419 8.01184 1 10.374 1 13.2881C1 16.2011 3.33419 18.5632 6.21387 18.5632C9.0925 18.5632 11.4267 16.2011 11.4267 13.2881Z",stroke:"#FCFCFC",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M12.1465 18.3041C12.6565 18.4719 13.2009 18.5637 13.7662 18.5637C16.6449 18.5637 18.9791 16.2016 18.9791 13.2886C18.9791 10.823 17.3082 8.75222 15.0491 8.17383",stroke:"#FCFCFC",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M10.3831 17.3061C12.2846 18.932 15.1225 18.9876 17.0943 17.3133C18.9607 15.7285 19.4543 13.1021 18.44 10.9791",stroke:"#FCFCFC",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M13.6771 10.6247C14.62 9.66955 15.204 8.35128 15.204 6.89475C15.204 3.98064 12.8698 1.61853 9.99017 1.61853C7.11154 1.61853 4.77734 3.98064 4.77734 6.89475C4.77734 7.25889 4.81385 7.61352 4.88373 7.9576",stroke:"#FCFCFC",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M11.5469 11.9308C12.7508 11.5495 13.8224 10.7265 14.5025 9.53462C14.674 9.2339 14.8134 8.92413 14.92 8.60858",stroke:"#FCFCFC",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})]})},Bx=function(){return(0,s.jsxs)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.8238 7.07077C14.0258 4.28533 9.48457 4.28533 6.68657 7.07077C3.8881 9.85667 3.88856 14.3771 6.68657 17.1625C9.4855 19.9484 14.0254 19.9484 16.8238 17.1625C19.6218 14.3771 19.6228 9.85667 16.8238 7.07077Z",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M11.7539 8.01404V10.214",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M19.3559 4.54883L18.9336 4.96932",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M4.40085 19.4385L3.97852 19.8589",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M11.7539 1.41406V2.00866",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M4.15234 4.54883L4.57468 4.96927",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M19.1094 19.4385L19.5317 19.8589",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M1.00391 12.1168H1.60118",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M11.7539 22.2249V22.8194",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M21.8086 12.1168H22.4059",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round"})]})},Ux=function(){return(0,s.jsxs)("svg",{width:24,height:25,viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.3145 14.9561L20.0186 13.6601C19.65 13.2915 18.864 13.2641 18.4 13.7281L13.7607 18.3669L16.6073 21.2135L21.2465 16.5747C21.7105 16.1107 21.6831 15.3247 21.3145 14.9561Z",stroke:"#FAFAFF",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M12.492 22.4626L12.0137 22.941",stroke:"#FAFAFF",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M14.7564 17.3717L13.5547 18.5734C13.0508 19.0774 11.8395 21.5632 12.6255 22.3493C13.4116 23.1353 15.8973 21.924 16.4012 21.4201L17.5045 20.3167",stroke:"#FAFAFF",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M19.0341 13.1879C19.2367 12.4452 19.3448 11.6636 19.3448 10.8569C19.3448 5.96475 15.3717 2 10.4693 2C5.56789 2 1.59375 5.96475 1.59375 10.8569C1.59375 15.7479 5.56789 19.7137 10.4693 19.7137C11.2365 19.7137 12.0059 19.7052 12.7192 19.5338",stroke:"#FAFAFF",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M6.66406 12.4264C7.28744 13.9946 8.78061 15.0084 10.469 15.0084C12.1564 15.0084 13.6496 13.9946 14.273 12.4264",stroke:"#FAFAFF",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M7.34769 9.88811C7.94078 9.88811 8.42215 9.40776 8.42215 8.81695C8.42215 8.22302 7.94078 7.74475 7.34769 7.74475C6.75564 7.74475 6.27637 8.22302 6.27637 8.81695C6.27637 9.40776 6.75564 9.88811 7.34769 9.88811ZM13.5408 9.88811C14.1339 9.88811 14.6153 9.40776 14.6153 8.81695C14.6153 8.22302 14.1339 7.74475 13.5408 7.74475C12.9488 7.74475 12.4695 8.22302 12.4695 8.81695C12.4695 9.40776 12.9488 9.88811 13.5408 9.88811Z",fill:"#FAFAFF"})]})},Zx=function(){return(0,s.jsx)("svg",{width:23,height:24,viewBox:"0 0 23 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M11.5446 0.475141C16.1192 0.317158 20.2803 2.8445 22.283 6.86956C23.1962 8.70504 21.8599 10.863 19.8096 10.863H16.8015C16.1734 10.863 15.6646 11.3721 15.6637 11.9614L15.6698 12.1104C15.7251 12.6896 16.2143 13.1369 16.8015 13.1369H19.8096C21.8641 13.1369 23.1949 15.2993 22.2789 17.1387C20.343 21.0234 16.3742 23.5319 11.9562 23.5319C5.46388 23.5319 0.247097 18.1772 0.428416 11.6721C0.592138 5.77809 5.28451 0.888837 11.1625 0.49455L11.5446 0.475141ZM20.8289 7.59306C19.0595 4.03702 15.3335 1.84283 11.2711 2.11513C6.2295 2.45332 2.19249 6.65971 2.05201 11.7173C1.89619 17.3074 6.37799 21.9077 11.9562 21.9077C15.7522 21.9077 19.1614 19.7528 20.8251 16.4145C21.2043 15.6529 20.6555 14.7612 19.8096 14.7612H16.8015C15.375 14.7612 14.1877 13.6754 14.0502 12.2262L14.0404 12C14.0404 10.4752 15.2762 9.23882 16.8015 9.23882H19.8096C20.6538 9.23882 21.2049 8.34887 20.8289 7.59306ZM12.0164 17.3599C12.8247 17.3599 13.4782 18.0148 13.4782 18.8217C13.4782 19.6286 12.8247 20.2835 12.0164 20.2835C11.2095 20.2835 10.5547 19.6286 10.5547 18.8217C10.5547 18.0148 11.2095 17.3599 12.0164 17.3599ZM7.14379 15.5733C7.86105 15.5733 8.44317 16.1541 8.44317 16.8726C8.44317 17.5899 7.86105 18.172 7.14379 18.172C6.42654 18.172 5.84442 17.5899 5.84442 16.8726C5.84442 16.1541 6.42654 15.5733 7.14379 15.5733ZM4.86989 10.5382C5.6781 10.5382 6.33168 11.1931 6.33168 12C6.33168 12.8069 5.6781 13.4618 4.86989 13.4618C4.06297 13.4618 3.40809 12.8069 3.40809 12C3.40809 11.1931 4.06297 10.5382 4.86989 10.5382ZM7.14379 5.66554C7.952 5.66554 8.60559 6.32043 8.60559 7.12734C8.60559 7.93425 7.952 8.58913 7.14379 8.58913C6.33688 8.58913 5.68199 7.93425 5.68199 7.12734C5.68199 6.32043 6.33688 5.66554 7.14379 5.66554ZM12.0164 3.71648C12.8247 3.71648 13.4782 4.37136 13.4782 5.17828C13.4782 5.98519 12.8247 6.64007 12.0164 6.64007C11.2095 6.64007 10.5547 5.98519 10.5547 5.17828C10.5547 4.37136 11.2095 3.71648 12.0164 3.71648Z",fill:"white"})})},Yx=function(){return(0,s.jsxs)("svg",{width:"26",height:"25",viewBox:"0 0 26 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.38523 2.7268C8.00498 2.7268 7.65024 2.4892 7.52207 2.11266C7.3611 1.64048 7.61713 1.1289 8.09397 0.969497C8.7184 0.760774 9.36623 0.606187 10.0198 0.509645C10.5176 0.436562 10.9811 0.776413 11.0552 1.26935C11.1293 1.76228 10.7858 2.22123 10.288 2.29462C9.74132 2.37522 9.19919 2.50454 8.67649 2.67928C8.57991 2.71146 8.48181 2.7268 8.38523 2.7268ZM15.9383 3.09642C15.8129 3.09642 15.6853 3.07056 15.5635 3.01612C15.0603 2.79056 14.5336 2.6086 13.9985 2.47507C13.5104 2.35296 13.2146 1.86243 13.3379 1.37942C13.4609 0.896113 13.956 0.60348 14.444 0.725285C15.0837 0.884985 15.713 1.10243 16.3143 1.3719C16.7729 1.57732 16.9764 2.11176 16.769 2.56589C16.6168 2.89913 16.2855 3.09642 15.9383 3.09642ZM3.60597 6.05193C3.40673 6.05193 3.20658 5.98787 3.03863 5.85553C2.64532 5.54516 2.58032 4.97733 2.89376 4.58756C3.30438 4.07718 3.76329 3.59928 4.25774 3.1674C4.63526 2.83778 5.2111 2.87357 5.54397 3.2471C5.87654 3.62094 5.8407 4.19117 5.46319 4.52079C5.04831 4.8829 4.6635 5.2835 4.31909 5.71177C4.13929 5.93553 3.87385 6.05193 3.60597 6.05193ZM20.3653 6.87118C20.0664 6.87118 19.7739 6.72591 19.5996 6.45884C19.2995 5.9999 18.956 5.5635 18.5788 5.1626C18.2359 4.79809 18.2563 4.22726 18.6247 3.8874C18.9928 3.54785 19.5692 3.568 19.9124 3.93282C20.3622 4.41072 20.7716 4.93102 21.1294 5.47869C21.4028 5.89704 21.2819 6.45554 20.8594 6.72652C20.7063 6.82456 20.5347 6.87118 20.3653 6.87118ZM1.41223 11.4104C1.38247 11.4104 1.3524 11.4089 1.32233 11.4059C0.821509 11.3575 0.455228 10.916 0.50443 10.4201C0.568818 9.76894 0.691822 9.12051 0.870407 8.49284C1.00677 8.01314 1.51003 7.73374 1.99446 7.86908C2.47888 8.00412 2.76073 8.50246 2.62436 8.98216C2.47493 9.50728 2.37197 10.0504 2.31791 10.596C2.27175 11.0619 1.8754 11.4104 1.41223 11.4104ZM2.50196 17.092C2.17152 17.092 1.85262 16.9133 1.69104 16.6024C1.38854 16.0207 1.13707 15.4093 0.943602 14.7852C0.795997 14.3088 1.0663 13.8041 1.54739 13.658C2.02847 13.5118 2.53811 13.7792 2.68571 14.2556C2.84759 14.778 3.05807 15.2896 3.31106 15.7765C3.54158 16.2198 3.36543 16.7636 2.91805 16.9918C2.78472 17.0598 2.64228 17.092 2.50196 17.092ZM6.52983 21.2791C6.37524 21.2791 6.21853 21.24 6.07517 21.1579C5.5048 20.8318 4.95963 20.4529 4.45485 20.0321C4.06974 19.7112 4.02024 19.1422 4.3443 18.7609C4.66836 18.3795 5.2433 18.3308 5.6281 18.6517C6.05148 19.0045 6.50857 19.3221 6.98662 19.5954C7.42215 19.8448 7.57158 20.3964 7.3198 20.8279C7.15093 21.1173 6.84479 21.2791 6.52983 21.2791Z",fill:"#FCFCFC"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.8419 15.9335C9.99168 17.7657 9.87353 20.6193 11.5777 22.3071C13.2821 23.9949 16.1638 23.8779 18.0143 22.0457L18.5352 21.5299L12.3628 15.4177L11.8419 15.9335Z",stroke:"#FCFCFC",strokeWidth:"1.65"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.0065 13.6045L20.2875 9.92235C19.6321 9.27333 18.5238 9.31844 17.8122 10.0231L12.3633 15.4177L18.5357 21.5296L23.8981 16.2195C24.6574 15.4679 24.706 14.2968 24.0065 13.6045Z",fill:"#FCFCFC"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.0065 13.6045L20.2875 9.92235C19.6321 9.27333 18.5238 9.31844 17.8122 10.0231L12.3633 15.4177L18.5357 21.5296L23.8981 16.2195C24.6574 15.4679 24.706 14.2968 24.0065 13.6045Z",stroke:"#FCFCFC",strokeWidth:"1.65"})]})},Fx=function(){return(0,s.jsxs)("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.9167 1.83871C9.46489 1.83871 9.07643 1.50055 9.02653 1.04463C8.97334 0.556076 9.32893 0.117061 9.82137 0.0639637C10.4614 -0.00485481 11.1209 -0.0182032 11.767 0.0242151C12.2609 0.0568446 12.6347 0.480731 12.6018 0.97136C12.569 1.46169 12.1435 1.83129 11.648 1.80015C11.1057 1.76455 10.5517 1.77582 10.0144 1.83337C9.98154 1.83693 9.94897 1.83871 9.9167 1.83871ZM17.0957 3.77927C16.9089 3.77927 16.721 3.72173 16.5599 3.60248C16.124 3.27915 15.6566 2.99261 15.1713 2.75085C14.7291 2.53046 14.5504 1.99563 14.7724 1.55632C14.9944 1.1173 15.5332 0.93962 15.9757 1.16031C16.5549 1.44894 17.1124 1.79066 17.6327 2.17657C18.0295 2.47054 18.1108 3.0282 17.8147 3.42183C17.6387 3.65588 17.3688 3.77927 17.0957 3.77927ZM4.61693 4.03734C4.35636 4.03734 4.09819 3.92522 3.92099 3.70868C3.60843 3.3275 3.6667 2.76717 4.05068 2.45689C4.55478 2.05021 5.09742 1.68535 5.66397 1.3733C6.09695 1.1351 6.64259 1.28965 6.88284 1.71946C7.12308 2.14899 6.9671 2.69064 6.53412 2.92943C6.0596 3.19105 5.60451 3.49658 5.18199 3.83771C5.01585 3.97179 4.81564 4.03734 4.61693 4.03734ZM20.5461 8.34295C20.1822 8.34295 19.8403 8.12196 19.7058 7.76363C19.5161 7.25876 19.2794 6.76695 19.0024 6.30183C18.7505 5.87883 18.8916 5.33303 19.3177 5.08297C19.7438 4.83291 20.2936 4.97292 20.5458 5.39592C20.8766 5.95121 21.1593 6.53884 21.3858 7.14219C21.5588 7.60256 21.3227 8.11514 20.859 8.28689C20.7559 8.32486 20.6498 8.34295 20.5461 8.34295ZM1.36165 8.73747C1.26961 8.73747 1.17608 8.72323 1.08375 8.69357C0.61282 8.5411 0.355541 8.0389 0.509131 7.57171C0.709934 6.95976 0.967512 6.36145 1.27469 5.7934C1.50866 5.36032 2.05221 5.19747 2.48848 5.42973C2.92474 5.66229 3.08849 6.20157 2.85452 6.63465C2.59724 7.11045 2.3818 7.61116 2.21357 8.12315C2.09046 8.49868 1.73905 8.73747 1.36165 8.73747ZM1.1967 14.4393C0.79928 14.4393 0.435922 14.175 0.330141 13.7755C0.165495 13.1537 0.0555312 12.5124 0.00293992 11.869C-0.0368024 11.3793 0.331038 10.95 0.82438 10.9106C1.31742 10.8708 1.7504 11.236 1.79015 11.726C1.83407 12.2647 1.92611 12.8019 2.06416 13.3228C2.18996 13.798 1.904 14.2848 1.4253 14.4097C1.3488 14.4295 1.272 14.4393 1.1967 14.4393ZM4.17648 19.3165C3.96073 19.3165 3.74439 19.2397 3.57227 19.084C3.09298 18.65 2.64954 18.1709 2.2545 17.6607C1.9524 17.2713 2.02591 16.7127 2.41855 16.4131C2.8109 16.1132 3.37356 16.1862 3.67566 16.576C4.00705 17.0037 4.37907 17.4053 4.78098 17.7693C5.14673 18.1006 5.17242 18.6637 4.83895 19.0267C4.66205 19.219 4.41971 19.3165 4.17648 19.3165ZM9.34357 21.8133C9.29457 21.8133 9.24496 21.8094 9.19536 21.8011C8.5547 21.6952 7.91972 21.5321 7.30865 21.3155C6.8422 21.1506 6.59896 20.6413 6.7654 20.1786C6.93184 19.7155 7.44431 19.4741 7.91106 19.6393C8.42233 19.8202 8.95332 19.957 9.48969 20.0457C9.97795 20.1263 10.3078 20.5846 10.2266 21.0693C10.1537 21.5048 9.77386 21.8133 9.34357 21.8133Z",fill:"#FCFCFC"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.3006 19.9032C22.5022 20.5451 21.3285 20.4256 20.6797 19.6306C20.0316 18.8359 20.158 17.6713 20.9564 17.0294C21.7558 16.3869 22.9289 16.5062 23.5776 17.3012C24.2264 18.0967 24.1003 19.2604 23.3006 19.9032ZM15.2533 12.978C14.6045 12.1831 14.7306 11.0185 15.5294 10.3766C16.329 9.73378 17.5018 9.85332 18.1509 10.6489C18.5608 11.1514 18.6612 11.8016 18.4775 12.3741C18.3899 12.5521 18.3083 12.717 18.2306 12.8695C18.1338 13.0086 18.014 13.1373 17.8736 13.2504C17.0751 13.8923 15.9014 13.7727 15.2533 12.978ZM24.368 16.6658C23.7781 15.9426 22.9011 15.5842 22.0265 15.6207C21.9563 15.5991 21.8753 15.5937 21.785 15.6086L18.0182 16.2368L19.3273 12.9519C19.3593 12.8802 19.3883 12.8075 19.414 12.7339L19.4214 12.7111L19.4313 12.6847C19.7244 11.7972 19.5735 10.7883 18.9412 10.0132C17.948 8.79554 16.1407 8.61133 14.9019 9.60742C13.6639 10.6023 13.4693 12.3961 14.4626 13.6134C14.8836 14.1296 15.4514 14.46 16.0601 14.5935L15.5655 16.6465L9.00835 17.7416C8.38861 17.8449 8.45943 18.7475 9.08574 18.7321L15.0997 18.5829L13.7033 24.3927C13.5578 24.9979 14.4327 25.2541 14.6634 24.6739L17.1047 18.5331L19.2559 18.4803C19.2541 19.1091 19.4612 19.7412 19.8894 20.266C20.8826 21.4834 22.6904 21.6676 23.9281 20.6727C25.167 19.6766 25.3615 17.8834 24.368 16.6658Z",fill:"#FCFCFC"})]})},Vx=function(){return(0,s.jsxs)("svg",{width:"23",height:"22",viewBox:"0 0 23 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.3281 8.52649L13.0551 6.53605L14.8586 2.29709L17.8365 1L20.5863 2.29709L21.4982 4.76324L20.0615 7.80818L16.3962 9.38862L14.8586 11L14.0112 11.6164",fill:"#FCFCFC"}),(0,s.jsx)("path",{d:"M9 6.91077L15.5412 13.4076",stroke:"#FCFCFC",strokeWidth:"1.65",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M14.4025 12.0721C14.4025 12.0721 14.331 9.92332 16.4375 9.10425C16.4375 9.10425 18.8391 8.6602 20.2626 7.32064C20.2996 7.28521 20.335 7.25038 20.3695 7.21464C21.7288 5.81438 22.0022 3.65421 20.3999 2.06475L20.4239 2.08909C18.8207 0.500241 16.6422 0.771418 15.2283 2.11898C15.1935 2.15319 15.1584 2.18955 15.1223 2.22529C13.7708 3.63572 13.3228 6.01745 13.3228 6.01745C12.4952 8.10428 10.3281 8.0331 10.3281 8.0331",stroke:"#FCFCFC",strokeWidth:"1.65",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M10.9012 8.52649L3.74669 15.6227C3.73675 15.6322 3.72743 15.6418 3.71873 15.6517C3.53511 15.8563 3.3922 15.998 3.26637 16.1231C2.69067 16.6957 2.48344 16.9552 1.55791 19.078C1.44295 19.3418 1.50229 19.6478 1.70797 19.8503L2.66923 20.7969C2.80376 20.9297 2.98302 21 3.16509 21C3.26513 21 3.36641 20.9784 3.46086 20.935C5.49958 19.997 5.78976 19.7606 6.32974 19.2158C6.46022 19.0845 5.85594 19.7054 6.83118 18.7384C6.84112 18.7283 6.85169 18.7197 6.86132 18.7101L14.013 11.6164",stroke:"#FCFCFC",strokeWidth:"1.65",strokeLinecap:"round"})]})},Wx=function(e){var t=e.className;return(0,s.jsxs)("svg",{className:t,width:56,height:56,viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M28 56C43.464 56 56 43.464 56 28C56 12.536 43.464 0 28 0C12.536 0 0 12.536 0 28C0 43.464 12.536 56 28 56Z",fill:"#FAFAFA"}),(0,s.jsx)("mask",{id:"mask0_11672_1118",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:56,height:56,children:(0,s.jsx)("path",{d:"M28 56C43.464 56 56 43.464 56 28C56 12.536 43.464 0 28 0C12.536 0 0 12.536 0 28C0 43.464 12.536 56 28 56Z",fill:"white"})}),(0,s.jsxs)("g",{mask:"url(#mask0_11672_1118)",children:[(0,s.jsx)("path",{d:"M32.0483 20.3675L21.2887 22.6545C20.7485 22.7693 20.4036 23.3004 20.5185 23.8406L22.8055 34.6002C22.9203 35.1404 23.4513 35.4853 23.9915 35.3704L34.7512 33.0834C35.2914 32.9686 35.6362 32.4376 35.5214 31.8973L33.2344 21.1377C33.1196 20.5975 32.5885 20.2527 32.0483 20.3675Z",fill:"#FAFAFA"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.8036 22.5888L31.4599 20.5363C32.3486 20.3473 33.2225 20.9147 33.4114 21.8037L35.4637 31.4599C35.6527 32.3487 35.0853 33.2222 34.1965 33.4112L24.5403 35.4637C23.6515 35.6527 22.7777 35.0853 22.5888 34.1965L20.5362 24.5403C20.3475 23.6513 20.9149 22.7778 21.8036 22.5888Z",stroke:"#252525",strokeWidth:"1.65",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M18 28H38",stroke:"#252525",strokeWidth:"1.65",strokeLinecap:"round",strokeLinejoin:"round"})]})]})},Xx=function(e){var t=e.className;return(0,s.jsxs)("svg",{className:t,width:56,height:56,viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M28 56C43.464 56 56 43.464 56 28C56 12.536 43.464 0 28 0C12.536 0 0 12.536 0 28C0 43.464 12.536 56 28 56Z",fill:"#202023"}),(0,s.jsx)("mask",{id:"mask0_11672_1128",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:56,height:56,children:(0,s.jsx)("path",{d:"M28 56C43.464 56 56 43.464 56 28C56 12.536 43.464 0 28 0C12.536 0 0 12.536 0 28C0 43.464 12.536 56 28 56Z",fill:"white"})}),(0,s.jsxs)("g",{mask:"url(#mask0_11672_1128)",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.218 21.8153L33.1548 19.5523C33.6956 19.4404 34.2247 19.7881 34.3366 20.3289C34.3507 20.3967 34.3576 20.4657 34.3574 20.5349L34.3068 35.5686C34.3049 36.1209 33.8557 36.5671 33.3034 36.5652C33.2313 36.565 33.1594 36.5569 33.089 36.5412L22.3841 34.1528C21.9333 34.0523 21.6101 33.6561 21.602 33.1943L21.4208 22.812C21.4124 22.3313 21.7472 21.9127 22.218 21.8153Z",fill:"#202023"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.4506 22.2686L32.4506 20.0599C33.5128 19.8253 34.6197 20.3007 34.9231 21.1218C34.9741 21.2598 35 21.4028 35 21.5465V34.4539C35 35.3077 34.1047 36 33 36C32.8144 36 32.6294 35.9799 32.4506 35.9403L22.4506 33.7316C21.5919 33.542 21 32.9354 21 32.2452V23.7552C21 23.0648 21.5919 22.4582 22.4506 22.2686Z",stroke:"#FCFCFC",strokeWidth:"1.65",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M21.5 28H34.5",stroke:"#FCFCFC",strokeWidth:"1.65",strokeLinecap:"round",strokeLinejoin:"round"})]})]})},Kx=function(e){var t=e.className;return(0,s.jsxs)("svg",{className:t,width:56,height:56,viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M28 56C43.464 56 56 43.464 56 28C56 12.536 43.464 0 28 0C12.536 0 0 12.536 0 28C0 43.464 12.536 56 28 56Z",fill:"#202023"}),(0,s.jsx)("mask",{id:"mask0_11672_1138",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:56,height:56,children:(0,s.jsx)("path",{d:"M28 56C43.464 56 56 43.464 56 28C56 12.536 43.464 0 28 0C12.536 0 0 12.536 0 28C0 43.464 12.536 56 28 56Z",fill:"white"})}),(0,s.jsxs)("g",{mask:"url(#mask0_11672_1138)",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M34.2056 22.5518L36.2774 33.5264C36.3798 34.0691 36.0229 34.5921 35.4802 34.6945C35.4122 34.7073 35.3431 34.7131 35.2739 34.7116L20.2434 34.3987C19.6912 34.3872 19.2529 33.9302 19.2644 33.3781C19.2659 33.306 19.2752 33.2342 19.2922 33.1641L21.867 22.5025C21.9754 22.0536 22.3772 21.7373 22.8391 21.7373L33.223 21.7373C33.7037 21.7373 34.1164 22.0794 34.2056 22.5518Z",fill:"#202023"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M34.0896 22.4506L36.4364 32.4506C36.6856 33.5128 36.1805 34.6197 35.3081 34.9231C35.1615 34.9741 35.0095 35 34.8568 35H21.1427C20.2356 35 19.5 34.1047 19.5 33C19.5 32.8144 19.5213 32.6294 19.5634 32.4506L21.9101 22.4506C22.1116 21.5919 22.7561 21 23.4894 21H32.5101C33.2437 21 33.8882 21.5919 34.0896 22.4506Z",stroke:"#FCFCFC",strokeWidth:"1.65",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M28 21.5V34.5",stroke:"#FCFCFC",strokeWidth:"1.65",strokeLinecap:"round",strokeLinejoin:"round"})]})]})},Qx="/_next/static/media/dot.ab561ea8.svg",zx="/_next/static/media/image-options.f6c1af90.png",qx="/_next/static/media/preview-image.a066a156.png",Jx="/_next/static/media/preview-image-edited.80ead19b.png",$x="/_next/static/media/ruler.3774df61.png",ef="/_next/static/media/stars.423a6e67.png",tf=function(e){var t=e.className;return(0,s.jsxs)("svg",{width:36,height:36,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsx)("path",{d:"M36 18C36 8.05887 27.9411 0 18 0C8.05887 0 0 8.05887 0 18C0 27.9411 8.05887 36 18 36C27.9411 36 36 27.9411 36 18Z",fill:"#1A1A1A"}),(0,s.jsx)("path",{d:"M24.7095 23.9495C24.7095 22.2829 24.7095 20.6162 24.7095 18.9495C24.7095 17.845 23.814 16.9495 22.7095 16.9495H17.1601H12.2998",stroke:"#FCFCFC",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M15.9497 21.8995L11 16.9497L15.9497 12",stroke:"#FCFCFC",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})},af=function(e){var t=e.className;return(0,s.jsxs)("svg",{width:36,height:36,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsx)("path",{d:"M36 18C36 8.05887 27.9411 0 18 0C8.05887 0 0 8.05887 0 18C0 27.9411 8.05887 36 18 36C27.9411 36 36 27.9411 36 18Z",fill:"#1A1A1A"}),(0,s.jsx)("path",{d:"M11.2905 23.9495C11.2905 22.2829 11.2905 20.6162 11.2905 18.9495C11.2905 17.845 12.186 16.9495 13.2905 16.9495H18.8399H23.7002",stroke:"#FCFCFC",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M20.0503 21.8995L25 16.9497L20.0503 12",stroke:"#FCFCFC",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})},sf={de:"de:gap-1 de:pl-6",fr:"fr:gap-1 fr:pl-6"},nf={de:"de:h-7",fr:"fr:h-7"},rf={de:"de:h-7",fr:"fr:h-7"},lf={de:"de:text-sm",fr:"fr:text-xxs",gr:"gr:text-xs",nl:"nl:text-xs"},cf={de:"de:text-sm",fr:"fr:text-xxs",gr:"gr:text-xs",nl:"nl:text-xs"},of={de:"de:xs:text-[9px] de:sm:text-[9px] de:xxsm:text-[9px] de:xxs:text-[9px]",se:"se:text-[10px] se:foldCover:text-[8.5px] se:smd:text-[9px] se:xsm:text-[9px]",gr:"gr:foldCover:text-[10px] gr:xsm:text-[10px] gr:smd:text-[10px]",hu:"hu:text-[10px] hu:foldCover:text-[9.5px]",jp:"jp:text-[10px] jp:px-1 jp:foldCover:text-[9.5px]"},df=H()(Object.values(sf)),uf=H()(Object.values(nf)),pf=H()(Object.values(rf)),xf=H()(Object.values(lf)),ff=H()(Object.values(cf)),mf=H()(Object.values(of)),hf=function(e){var t=e.handleClickObjectEraser,a=(0,i.useContext)(rx),n=a.editTutorial,r=a.setEditTutorial,l=a.screen,c=a.setScreen,o=a.setFinishedEditTutorial,d=a.finishedEditTutorial,u=(0,i.useContext)(rx),p=u.photoIndex,x=u.imageList,f=u.setImageList,m=(0,pt.O)().pushOverlayStack,h=(0,P.qr)().appName,A=(0,P.qr)(),E=A.popBackButtonStack,v=A.pushBackButtonStack,j=A.backButtonStack,N=(0,i.useState)(!1),T=N[0],w=N[1],_=(0,i.useState)(!1),b=_[0],S=_[1],y=(0,i.useState)(!1),R=y[0],L=y[1],O=(0,i.useState)(!1),D=O[0],k=O[1],B=(0,i.useState)(!1),U=B[0],Z=B[1],Y=(0,i.useState)(!1),F=Y[0],W=Y[1],X=(0,i.useRef)(null),K=(0,i.useRef)(null),Q=(0,i.useRef)(null),z=(0,i.useRef)(null),q=(0,i.useRef)([]),J=(0,i.useRef)(null),$=(0,i.useRef)(null),ee=(0,i.useRef)(null),te=(0,i.useRef)(null),ae=(0,i.useRef)(null),se=(0,i.useRef)(null),ne=(0,i.useRef)(null),re=nx(),le=D?g.t["@UNPACKED_GALLERY-OBJECT_ERASER-ERASER-POPUP_MESSAGE-TITLE"]:g.t["@UNPACKED_GALLERY-OBJECT_ERASER-EDIT-POPUP_MESSAGE-TITLE"],ce=D?g.t["@UNPACKED_GALLERY-OBJECT_ERASER-ERASER-POPUP_MESSAGE-TEXT"]:g.t["@UNPACKED_GALLERY-OBJECT_ERASER-EDIT-POPUP_MESSAGE-TEXT"],oe=[{text:g.t["@UNPACKED_GALLERY-OBJECT_ERASER-CROP_OPTION_OBJECT_ERASER"],icon:(0,s.jsx)(Yx,{}),key:"icon-object-eraser",highlight:!0,onClick:function(){if(!U&&"save"!==n&&!d){t();var e=X.current,a=[e];I.ZP.to(e,{opacity:0,ease:"power1.inOut",duration:.3,onComplete:function(){I.ZP.set(e,{display:"none"}),I.ZP.set(a,{backgroundColor:"black",opacity:1}),k(!1)}})}}},{key:"icon-lasso",text:g.t["@UNPACKED_GALLERY-OBJECT_ERASER-CROP_OPTION_LASSO"],icon:(0,s.jsx)(Fx,{})},{key:"icon-spot-color",text:g.t["@UNPACKED_GALLERY-OBJECT_ERASER-CROP_OPTION_SPOT_COLOR"],icon:(0,s.jsx)(Vx,{})},{key:"icon-color-mix",text:g.t["@UNPACKED_GALLERY-OBJECT_ERASER-CROP_OPTION_COLOR_MIX"],icon:(0,s.jsx)(Zx,{})}];(0,i.useEffect)((function(){if("gallery"===h){var e=document.createDocumentFragment(),t=function(t){var a=new Image;a.src=t,e.appendChild(a)},a=!0,s=!1,i=void 0;try{for(var n,r=Object.entries(C)[Symbol.iterator]();!(a=(n=r.next()).done);a=!0){t((0,pe.Z)(n.value,2)[1])}}catch(l){s=!0,i=l}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}}}),[h]);var de=function(e){var t=q.current;I.ZP.set(t,{opacity:"0"}),I.ZP.set(t[e],{opacity:1})},ue=function(){var e=X.current,t=ae.current,a=se.current,s=ne.current,i=Q.current,r=z.current,l=$.current,c=te.current,o=K.current,u=Q.current;I.ZP.set(e,{display:"block"}),I.ZP.set(c,{display:"none"}),de(T?3:0),"edit"===n&&(0,V.Kq)("/app/gallery/picture/object-eraser/start",M.dC.Gallery),I.ZP.set([t,a,s],{opacity:"save"===n?1:.3,pointerEvents:"auto"}),d&&I.ZP.set(a,{opacity:1}),I.ZP.fromTo(o,{opacity:0},{opacity:1,ease:"power1.inOut",duration:.6}),I.ZP.fromTo(e,{opacity:0},{opacity:1,ease:"power3.out",duration:.3}),"save"!==n?I.ZP.fromTo(i,{scale:1,y:"20%"},{scale:.9,y:"0%",duration:.3,ease:"power3.out"}):I.ZP.set(i,{scale:1}),r&&I.ZP.fromTo(r,{opacity:0},{opacity:1,ease:"power2.inOut",duration:.8}),l&&I.ZP.fromTo(l,{opacity:0},{opacity:1,ease:"power1.inOut",duration:1.3}),I.ZP.set(u,{clearProps:"all"}),v(J)},xe=function(){var e=X.current;k(!1),Z(!1),W(!1);var t=[e];I.ZP.to(e,{opacity:0,ease:"power1.inOut",duration:.1,onComplete:function(){de(3),I.ZP.set(e,{display:"none"}),I.ZP.set(t,{backgroundColor:"black",opacity:1})}}),"gallery"!==l.current&&c("image"),!T&&b&&S(!1),"reverted"===n&&(w(!0),S(!0),r("finish")),j.length>1&&E()},fe=function(){var e=te.current,t=ae.current,a=se.current,s=ne.current,i=Q.current,l=ee.current,c=K.current,o=$.current,d=document.querySelector('*[data-ref="gallery-image-large"]').getBoundingClientRect(),u=i.getBoundingClientRect();b&&"save"===n&&r("finish");var p=d.y-u.y;I.ZP.set(e,{display:"none"}),I.ZP.set([t,a,s],{opacity:1}),I.ZP.set(l,{opacity:0}),I.ZP.set(c,{opacity:0}),I.ZP.set(o,{opacity:0}),re&&(Q.current.src=F?C.cropped:C.editedCropped),I.ZP.to(Q.current,{y:p,width:d.width,height:d.height,duration:.2,ease:"power1.out",onComplete:function(){xe()}}),W(!1)};(0,i.useEffect)((function(){J.current=xe}),[xe]),(0,i.useEffect)((function(){if(D){var e=ee.current,t=Q.current,a=z.current;I.ZP.fromTo(e,{opacity:0},{opacity:1,ease:"power1.inOut",duration:1.3}),I.ZP.fromTo(t,{scale:.9},{scale:1,duration:.3,ease:"power3.out"}),I.ZP.fromTo(a,{opacity:1},{opacity:0,ease:"power1.out",duration:.8})}}),[D]);var me="object-eraser"===l.current&&("image"===l.prev||"edit"===l.prev);(0,i.useEffect)((function(){me&&!R?(ue(),L(!0)):me||L(!1),"object-eraser"===l.prev&&"edit"!==l.current&&xe()}),[l,R,ue,xe]),(0,i.useEffect)((function(){"start"===n?(de(0),w(!1),S(!1)):"save"!==n||d||k(!0)}),[n]);var he=function(){if(U)return Q.current.src;if(D){var e=x[p];return F?e.photo:(null===e||void 0===e?void 0:e.edited)&&(null===e||void 0===e?void 0:e.edited)&&"save"===n||d?e.edited:e.photo}return F?qx:d?Jx:qx},Ae=function(e){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"flex justify-center py-3 xsl:py-3 xxsm:py-2 xxs:pb-1",children:e.icon}),(0,s.jsx)("p",{className:H()("flex items-center justify-center px-4 pb-4 text-center xsl:pb-3 xxsm:pb-2",mf),children:e.text}),(0,s.jsx)(Rr,{type:"rounded",hidden:!(null===e||void 0===e?void 0:e.highlight)||"save"===n||U||d,height:"calc(100% + 6px)",width:"calc(100% + 10px)"})]})};return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"absolute inset-0 z-30 bg-black text-white","data-component":"gallery-photo-eraser",style:{display:"none"},ref:X,children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{className:H()("flex items-center justify-center gap-2 pt-12 ltr:pl-6 rtl:pr-6 xsm:pt-6 xxs:pt-6",df),ref:ae,children:[(0,s.jsx)(tf,{className:H()("h-10 w-10 rtl:-scale-x-100 rtl:transform",pf)}),(0,s.jsx)(af,{className:H()("h-10 w-10 rtl:-scale-x-100 rtl:transform",uf)})]}),(0,s.jsxs)("div",{className:"flex items-center justify-center gap-6 pt-12 ltr:pr-6 rtl:pl-6 xsm:pt-6 xxs:pt-6",children:[(0,s.jsxs)("div",{className:H()("relative cursor-pointer",xf),onClick:function(){("save"===n||d)&&m({data:{text:g.t["@UNPACKED_GALLERY-OBJECT_ERASER_REVERT_POPUP_DESCRIPTION"],cta:{text:g.t["@UNPACKED_GALLERY-OBJECT_ERASER_REVERT_POPUP_CANCEL_TEXT"]},secondaryCta:{text:g.t["@UNPACKED_GALLERY-OBJECT_ERASER_REVERT_POPUP_REVERT_TEXT"],handleClick:function(){var e=se.current,t=ne.current;I.ZP.set(e,{opacity:.3,pointerEvents:"none"}),I.ZP.set(t,{opacity:1,pointerEvents:"auto"}),r("save"),W(!0)}}},type:"alert"})},ref:se,children:[g.t["@UNPACKED_GALLERY-OBJECT_ERASER_REVERT_TEXT"],(0,s.jsx)(Rr,{type:"circle",hidden:!d||"save"===n||U,height:"calc(100% + 10px)",width:"calc(100% + 24px)"})]}),(0,s.jsxs)("div",{className:H()("relative cursor-pointer",ff),onClick:function(){if("save"===n){var e=te.current,t=ae.current,a=se.current,s=ne.current;I.ZP.set(e,{display:"flex"}),I.ZP.fromTo([t,a,s],{opacity:1},{opacity:.5,ease:"power1.inOut",duration:.2}),F?(x[p].isEdited=!1,f((0,G.Z)(x)),o(!1),S(!1)):(x[p].isEdited=!0,f((0,G.Z)(x)),o(!0),S(!0)),Z(!0)}},ref:ne,children:[(0,s.jsx)("div",{children:g.t["@UNPACKED_GALLERY-OBJECT_ERASER_SAVE_TEXT"]}),(0,s.jsx)(Rr,{type:"circle",hidden:"save"!==n||U,height:"calc(100% + 10px)",width:"calc(100% + 28px)"})]}),(0,s.jsx)("img",{src:Qx,alt:"",height:16,width:6})]})]}),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"relative mt-3",children:["save"!==n&&(0,s.jsx)("div",{className:"absolute left-2/4 bottom-9 z-30 -translate-x-2/4",children:(0,s.jsx)("img",{src:zx,alt:"",className:"h-[34px] w-[120px]",ref:z,style:{opacity:0}})}),(0,s.jsxs)("div",{className:"relative flex items-center justify-center opacity-0",ref:function(e){e&&!q.current.includes(e)&&q.current.push(e)},children:[(0,s.jsx)("img",{src:he(),alt:"",ref:Q,className:"h-[calc(100vh_-_24rem)] foldCover:h-[calc(100vh_-_27rem)]"}),(0,s.jsxs)("div",{ref:te,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-black opacity-50"}),U&&me&&(0,s.jsx)("div",{className:"absolute left-2/4 top-2/4 z-[1000] -translate-x-2/4 -translate-y-2/4",children:(0,s.jsx)(Re.Z,{path:"/assets/lotties/gallery/loading-lottie.json",height:"100px",width:"100px",onComplete:fe})})]})]})]}),!D&&(0,s.jsxs)("div",{className:"opacity-0 foldCover:mt-10",ref:$,children:[(0,s.jsx)("div",{className:"mb-2 flex items-center justify-center xxsm:mb-3",children:g.t["@UNPACKED_GALLERY-OBJECT_ERASER-STRAIGHTEN"]}),(0,s.jsxs)("div",{className:"grid grid-cols-5 px-8",children:[(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)(ht,{title:le,text:ce,cta:{text:g.t["@UNPACKED_GALLERY-OBJECT_ERASER-POPUP_CTA-TEXT"]},children:(0,s.jsx)(ie,{path:"/app/gallery/picture/edit/icon-ai",page:"Gallery",children:(0,s.jsx)("img",{src:ef,alt:"",className:"h-12 w-12"})})})}),(0,s.jsx)("div",{}),(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)(ht,{title:le,text:ce,cta:{text:g.t["@UNPACKED_GALLERY-OBJECT_ERASER-POPUP_CTA-TEXT"]},children:(0,s.jsx)(ie,{path:"/app/gallery/picture/edit/icon-crop-cross",page:"Gallery",children:(0,s.jsx)(Wx,{className:"h-10 md:h-16 xsm:h-10 smd:h-12"})})})}),(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)(ht,{title:le,text:ce,cta:{text:g.t["@UNPACKED_GALLERY-OBJECT_ERASER-POPUP_CTA-TEXT"]},children:(0,s.jsx)(ie,{path:"/app/gallery/picture/edit/icon-crop-horizontal",page:"Gallery",children:(0,s.jsx)(Xx,{className:"h-10 md:h-16 xsm:h-10 smd:h-12"})})})}),(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)(ht,{title:le,text:ce,cta:{text:g.t["@UNPACKED_GALLERY-OBJECT_ERASER-POPUP_CTA-TEXT"]},children:(0,s.jsx)(ie,{path:"/app/gallery/picture/edit/icon-crop-vertical",page:"Gallery",children:(0,s.jsx)(Kx,{className:"h-10 md:h-16 xsm:h-10 smd:h-12"})})})})]}),(0,s.jsx)("div",{className:"relative mx-8",children:(0,s.jsxs)("div",{className:"mt-2 flex justify-center pl-6",children:[(0,s.jsx)("img",{src:$x,alt:"",className:"w-[233px]"}),(0,s.jsx)("div",{className:"mt-1 rounded bg-primary-black-300 p-[2px] text-[8px]",children:g.t["@UNPACKED_GALLERY-OBJECT_ERASER-AUTO"]})]})})]})]}),(0,s.jsx)(s.Fragment,{children:D&&(0,s.jsx)("div",{className:"opacity-0 foldCover:mt-10",ref:ee,children:(0,s.jsx)("div",{className:"mt-3 grid grid-cols-4 gap-2 px-2 text-xs",children:oe.map((function(e){return(0,s.jsx)("div",{className:"relative rounded-xl bg-[#1A1A1A]",onClick:function(){var t;return null===(t=e.onClick)||void 0===t?void 0:t.call(e)},children:(0,s.jsx)(ht,{ignoreClick:Boolean(null===e||void 0===e?void 0:e.onClick)||"save"===n,title:le,text:ce,cta:{text:g.t["@UNPACKED_GALLERY-OBJECT_ERASER-POPUP_CTA-TEXT"]},children:(0,s.jsx)(ie,{path:"/app/gallery/picture/edit/".concat(e.key),page:"Gallery",children:Ae(e)})})},e.key)}))})})}),me&&(0,s.jsxs)("div",{className:"relative mt-6 ml-0.5 flex items-center justify-center gap-10 pr-2 opacity-0 xxs:mt-5",ref:K,children:[(0,s.jsx)("div",{className:"h-4 w-4",children:(0,s.jsx)(ht,{title:le,text:ce,cta:{text:g.t["@UNPACKED_GALLERY-OBJECT_ERASER-POPUP_CTA-TEXT"]},ignoreClick:"save"===n,children:(0,s.jsx)(ie,{path:"/app/gallery/picture/edit/icon-crop",page:"Gallery",children:(0,s.jsx)(Gx,{color:D?"#FCFCFC":"#FFD90D"})})})}),(0,s.jsx)("div",{className:"h-4 w-4",children:(0,s.jsx)(ht,{title:le,text:ce,cta:{text:g.t["@UNPACKED_GALLERY-OBJECT_ERASER-POPUP_CTA-TEXT"]},ignoreClick:"save"===n,children:(0,s.jsx)(ie,{path:"/app/gallery/picture/edit/icon-tricolor",page:"Gallery",children:(0,s.jsx)(Hx,{})})})}),(0,s.jsx)("div",{className:"h-4 w-4",children:(0,s.jsx)(ht,{title:le,text:ce,cta:{text:g.t["@UNPACKED_GALLERY-OBJECT_ERASER-POPUP_CTA-TEXT"]},ignoreClick:"save"===n,children:(0,s.jsx)(ie,{path:"/app/gallery/picture/edit/icon-light-color",page:"Gallery",children:(0,s.jsx)(Bx,{})})})}),(0,s.jsx)("div",{className:"h-4 w-4",children:(0,s.jsx)(ht,{title:le,text:ce,cta:{text:g.t["@UNPACKED_GALLERY-OBJECT_ERASER-POPUP_CTA-TEXT"]},ignoreClick:"save"===n,children:(0,s.jsx)(ie,{path:"/app/gallery/picture/edit/icon-edit-image",page:"Gallery",children:(0,s.jsx)(Ux,{})})})}),(0,s.jsx)("div",{className:"relative cursor-pointer",onClick:function(){U||k(!0)},children:D?(0,s.jsx)(ht,{title:le,text:ce,cta:{text:g.t["@UNPACKED_GALLERY-OBJECT_ERASER-POPUP_CTA-TEXT"]},ignoreClick:"save"===n,children:(0,s.jsx)(ie,{path:"/app/gallery/picture/edit/icon-menu",page:"Gallery",children:(0,s.jsx)(kx,{color:"#FFD90D"})})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(kx,{color:"#FCFCFC"}),(0,s.jsx)("div",{className:"absolute left-[9px] top-[9px]",children:(0,s.jsx)(Rr,{type:"circle",hidden:!me,className:"h-[46px] w-[46px] xxs:h-[44px] xxs:w-[44px]"})})]})})]})]})})},Af=function(e){var t=e.width,a=e.height,n=e.hidden,r=(0,i.useRef)(null);return(0,i.useEffect)((function(){if(n){var e=r.current;I.ZP.to(e,{opacity:0,duration:.2,ease:"power3.inOut"})}else{var t=r.current;I.ZP.to(t,{opacity:1,duration:.2,ease:"power3.inOut"})}}),[n]),(0,s.jsx)("div",{className:"pointer-events-none absolute left-1/2 top-1/2 flex w-full -translate-x-1/2 -translate-y-1/2 transform items-center justify-center",style:{width:t,height:a},ref:r,children:(0,s.jsx)("div",{className:"relative h-full w-full flex-1",children:(0,s.jsx)("div",{className:"pointer-events-none absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 transform",children:(0,s.jsx)("div",{className:"absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 transform rounded-full border-2 border-primary-blue-150"})})})})},Ef="ae"===g.t.getLanguage()?-1:1;function gf(e){var t=e.isSliderTouch,a=e.setIsSliderTouch,n=e.isDetailsViewOpen,r=(0,P.qr)(),l=r.appName,c=r.isAppOpen,o=(0,i.useContext)(rx),d=o.screen,u=o.imageList,p=o.photoIndex,x=o.setPhotoIndex,f=o.remasterTutorial,m=(0,i.useRef)(null),h=(0,i.useRef)(null),A=(0,i.useRef)(0);return(0,i.useEffect)((function(){if("image"===d.current){if(!t){var e=h.current,a=e.children,s=function(t){if(a[0]){var s=32*(a.length-1)+42-function(e){var t=e.getBoundingClientRect(),a=getComputedStyle(e);return t.width+parseFloat(a.getPropertyValue("margin-left"))+parseFloat(a.getPropertyValue("margin-right"))}(e),i=-(32*(t-1)+42+s);i*=Ef,I.ZP.killTweensOf(e),I.ZP.set(e,{x:i}),A.current=i}};setTimeout((function(){s(p)}),1)}for(var i=h.current.children,n=0;n<i.length;n++){var r=i[n];n===p?I.ZP.set(r,{marginLeft:"".concat(3,"px"),marginRight:"".concat(3,"px"),transform:"scale(".concat(1.2,")")}):I.ZP.set(r,{marginLeft:"".concat(1,"px"),marginRight:"".concat(1,"px"),transform:"scale(".concat(1,")")})}}}),[p,t]),(0,i.useEffect)((function(){var e,t=m.current,s=h.current,i=s.children,n=t.querySelectorAll('[data-ref="gallery-tile-button"]'),r=!1,o={x:0,y:0},d={x:0,y:0},u=function(){},f=function(){},E=function(e){if(!r){a(!0);var t=e.currentTarget.dataset.galleryTileButtonIndex;Number(t)!==p&&x(Number(t)),a(!1)}};return u=function(){a(!1),window.removeEventListener("touchend",u),window.removeEventListener("touchmove",f)},f=function(e){var t=e.touches[0]||e.changedTouches[0];d={x:t.pageX-o.x,y:t.pageY-o.y},Math.abs(d.x)>20&&(r=!0);var a=-(32*(i.length-1)+10),n=A.current+d.x-10;n=(n=n*Ef>0?0:n)*Ef<a?a*Ef:n,I.ZP.to(s,{x:n,duration:.2});var l=(32*(i.length-1)+42)/i.length;n*=Ef;var c=Math.round(Math.abs(n)/l);c=(c=c<0?0:c)>i.length-1?i.length-1:c,x(Number(c))},e=function(e){a(!0),r=!1;var t=e.touches[0]||e.changedTouches[0];o={x:t.pageX,y:t.pageY},d={x:t.pageX-o.x,y:t.pageY-o.y},window.addEventListener("touchend",u),window.addEventListener("touchmove",f)},"gallery"===l&&(c?(t.addEventListener("touchstart",e),n.forEach((function(e){e.addEventListener("click",E)}))):(t.removeEventListener("touchstart",e),n.forEach((function(e){e.removeEventListener("click",E)})))),function(){t.removeEventListener("touchstart",e),n.forEach((function(e){e.removeEventListener("click",E)}))}}),[l,c,p]),(0,i.useEffect)((function(){var e=m.current;"remaster"===f?I.ZP.set(e,{opacity:0,pointerEvents:"none"}):"start"!==f&&"finish"!==f||I.ZP.set(e,{opacity:1,pointerEvents:"auto"}),n?I.ZP.set(e,{pointerEvents:"none"}):I.ZP.set(e,{pointerEvents:"auto"})}),[f,n]),(0,s.jsx)("div",{className:"relative h-[37px]",children:(0,s.jsx)("div",{className:"absolute",style:"ae"===g.t.getLanguage()?{right:"50%",backgroundColor:"rgba(255, 255, 255, 0)"}:{left:"50%",backgroundColor:"rgba(255, 255, 255, 0)"},ref:m,"data-component":"gallery-slider",children:(0,s.jsx)("div",{ref:h,className:"flex-no-wrap flex w-fit",children:u.map((function(e,t){var a=e.isEdited;return(0,s.jsx)("div",{"data-ref":"gallery-image-button-container",className:"-translate-x-1/2 transform",style:{paddingLeft:"".concat(1,"px"),paddingRight:"".concat(1,"px")},children:(0,s.jsx)("div",{className:"relative",style:{width:"".concat(28,"px"),height:"37px"},"data-ref":"gallery-tile-button","data-gallery-tile-button-index":t,children:(0,s.jsx)("div",{className:"absolute inset-0 overflow-hidden rounded-sm",children:(0,s.jsx)("img",{src:a?e.edited:e.photo,className:"h-full max-w-none",alt:""})})})},e.photo)}))})})})}var vf,Cf,jf="/_next/static/media/photo-2-remaster-zoom-1.5e18be30.png",Nf="/_next/static/media/photo-2-remaster-zoom-2.44044d50.png",Tf="/_next/static/media/photo-2-remaster-zoom-3.f6223c0d.png",wf="/_next/static/media/icon-ai.8d7658eb.svg",_f="/_next/static/media/icon-save.0deb257e.png",bf=H()(Object.entries({gr:"gr:text-[10px]"})),Sf="ae"===g.t.getLanguage()?-1:1,yf=function(e){var t=e.appContentRef,a=e.photosRef,n=(0,i.useContext)(rx),r=n.editTutorial,l=n.setEditTutorial,c=n.remasterTutorial,o=n.setRemasterTutorial,d=n.photoIndex,u=n.setPhotoIndex,p=n.screen,x=n.setScreen,f=n.imageList,m=n.setImageList,h=n.finishedEditTutorial,A=n.setFinishedEditTutorial,E=n.setSketchToImageTutorial,v=(0,i.useState)(0),C=v[0],j=v[1],N=(0,P.qr)(),T=N.popBackButtonStack,w=N.pushBackButtonStack,b=(0,pt.O)().pushOverlayStack,S=nx(),y=(0,i.useState)(!1),R=y[0],O=y[1],D=(0,i.useState)("none"),k=D[0],B=D[1],U=(0,i.useState)(!1),Z=U[0],Y=U[1],F=(0,i.useState)(!1),W=F[0],X=F[1],K=(0,i.useState)(!1),Q=K[0],z=K[1],q=(0,i.useState)(""),J=q[0],$=q[1],ee=(0,i.useState)(0),te=ee[0],ae=ee[1],se=(0,i.useRef)(null),ne=(0,i.useRef)(null),re=(0,i.useRef)(null),le=(0,i.useRef)(null),ce=(0,i.useRef)(null),oe=(0,i.useRef)(null),de=(0,i.useRef)([]),ue=(0,i.useRef)([]),pe=(0,i.useRef)([]),xe=(0,i.useRef)(null),fe=(0,i.useRef)([]),me=(0,i.useRef)(null),he=(0,i.useRef)(null),Ae=(0,i.useRef)(null),Ee=(0,i.useRef)(null),ge=(0,i.useRef)([]),ve=(0,i.useRef)([]),Ce=(0,i.useRef)(null),je=(0,i.useRef)(null),Ne=(0,i.useRef)(null),Te=(0,i.useRef)(null),we=(0,i.useRef)(0),_e=(0,i.useRef)(!1),be=(0,i.useRef)(!1),Se=(0,i.useRef)({initialTouchPosition:{x:0,y:0},currentTouchPosition:{x:0,y:0},endTouchPosition:{x:0,y:0},isMoving:!1,currentScrollViewportPosition:0,moveableScrollViewportPosition:0}),ye=(0,i.useRef)({delay:{value:0},animation:{value:0},isActive:!1}),Re="remaster"===c||"touched"===c,Le=(0,i.useMemo)((function(){return function(){var e=d,t=he.current,a=pe.current[e],s=le.current,i=Ae.current,n=Ee.current,r=ge.current,l=ve.current,c=r.map((function(e){return e.children[1]})),o=a.getBoundingClientRect(),u=6===e;I.ZP.killTweensOf([t,a,s,i,s,r,l,c]);var p=g.t.getLanguage(),x="fr"===p||"tr"===p||"ca"===p;Q?(I.ZP.set(t,{pointerEvents:"none"}),I.ZP.to(t,{y:o.y,duration:.3,ease:"power1.out"}),I.ZP.to(t,{opacity:0,delay:.3,duration:.3}),I.ZP.to(a,{opacity:1,duration:.02,delay:.28}),I.ZP.to(s,{opacity:1,duration:.3}),I.ZP.to(i,{top:"75%",duration:.1,ease:"power1.out",onComplete:function(){I.ZP.to(t,{display:"none"}),I.ZP.set(r,{width:"2.5rem",opacity:0}),I.ZP.set(l,{opacity:0}),I.ZP.set(c,{opacity:0})}}),I.ZP.set(i,{opacity:0,delay:.1,ease:"power1.out"}),z(!1),Se.current.isMoving=!1,T()):u&&(I.ZP.set([i,t],{opacity:1}),I.ZP.set(t,{display:"block",pointerEvents:"auto",onComplete:function(){I.ZP.set(a,{opacity:0}),I.ZP.fromTo(t,{y:o.y},{y:0,duration:.3,ease:"power1.out"}),I.ZP.to(s,{opacity:0,duration:.3}),I.ZP.fromTo(i,{top:"75%"},{top:"40%",duration:.3,ease:"power1.out"}),I.ZP.fromTo(n,{opacity:0},{opacity:1,duration:.3,ease:"power1.out",delay:.1}),I.ZP.fromTo([r,l],{opacity:0},{opacity:1,delay:.3,duration:.2,onComplete:function(){I.ZP.to(r,{width:"auto",duration:.3,delay:x?.1:.3}),I.ZP.to(c,{opacity:1,delay:.4,duration:.2})}})}}),z(!0),w(Te))}}),[Q,z,d]);Te.current=Le;var Ie=function(){1===d&&(x("object-eraser"),"finish"!==r&&l("edit"))},Pe=(0,i.useMemo)((function(){return function(){if(_e.current){var e=d,t=he.current,a=pe.current[e],s=Ae.current,i=Ee.current,n=le.current,r=ge.current,l=ve.current,c=a.getBoundingClientRect(),o=r.map((function(e){return e.children[1]}));we.current>.05?(I.ZP.set(t,{pointerEvents:"auto"}),I.ZP.set(a,{opacity:0}),I.ZP.to(n,{opacity:0,duration:.1}),I.ZP.to(t,{y:0,duration:.3,ease:"power1.out"}),I.ZP.to(s,{top:"40%",opacity:1,duration:.3,ease:"power1.out"}),I.ZP.to(i,{opacity:1,duration:.3,ease:"power1.out",delay:.1}),I.ZP.to([r,l],{opacity:1,delay:.3,duration:.2,onComplete:function(){I.ZP.to(r,{width:"auto",duration:.3,delay:.3}),I.ZP.to(o,{opacity:1,delay:.4,duration:.2})}}),z(!0),w(Te),_e.current=!1):(I.ZP.to(t,{y:c.y,duration:.3,ease:"power1.out"}),I.ZP.to(t,{opacity:0,delay:.3,duration:.3}),I.ZP.to(a,{opacity:1,duration:.02,delay:.28}),I.ZP.to(n,{opacity:1,duration:.02,delay:.28}),I.ZP.to(s,{top:"75%",duration:.1,ease:"power1.out",onComplete:function(){I.ZP.to(t,{display:"none"}),I.ZP.set(r,{width:"2.5rem",opacity:0}),I.ZP.set(l,{opacity:0}),I.ZP.set(o,{opacity:0})}}),I.ZP.set(s,{opacity:0,delay:.1,ease:"power1.out"}),z(!1),_e.current=!1)}else{var p=d,x=Se.current,f=de.current;if(x.isMoving){var m;Se.current.isMoving=!1;m=(m=(m=x.endTouchPosition.x<x.initialTouchPosition.x-10?p+Sf:x.endTouchPosition.x>x.initialTouchPosition.x+10?p-Sf:p)<0?0:m)>f.length-1?f.length-1:m,u(m),j(C+1),be.current=!1}}}}),[d,u,C,f]),Oe=(0,i.useCallback)((function(e){var t=d,a=(oe.current,6===t);Se.current.isMoving=!0;var s=e.touches[0]||e.changedTouches[0];Se.current.endTouchPosition={x:s.pageX,y:s.pageY},Se.current.currentTouchPosition={x:s.pageX-Se.current.initialTouchPosition.x,y:s.pageY-Se.current.initialTouchPosition.y};var i=Se.current.currentTouchPosition;Math.abs(i.x)>Math.abs(i.y)&&!_e.current?(be.current=!0,function(){var e=de.current,t=oe.current,a=Se.current.currentTouchPosition,s=Se.current.currentScrollViewportPosition,i=-e.length*window.innerWidth-window.innerWidth/4;Se.current.moveableScrollViewportPosition=(s+a.x)*Sf,Se.current.moveableScrollViewportPosition=Se.current.moveableScrollViewportPosition>0?0:Se.current.moveableScrollViewportPosition,Se.current.moveableScrollViewportPosition=Se.current.moveableScrollViewportPosition<i?i:Se.current.moveableScrollViewportPosition;var n=Se.current.moveableScrollViewportPosition*Sf;I.ZP.to(t,{x:n,duration:.1})}()):a&&!be.current&&(_e.current=!0,function(){var e=d,t=he.current,a=pe.current[e],s=le.current,i=Ae.current,n=Ee.current,r=a.getBoundingClientRect(),l=Se.current.currentTouchPosition,c=6===e;I.ZP.killTweensOf([t,a,i,n,s]);var o=I.ZP.timeline({paused:!0});if(o.fromTo(s,{opacity:1},{opacity:0,duration:1e-4}),o.fromTo(a,{opacity:1},{opacity:0,duration:.4,ease:"power1.out"}),o.fromTo(t,{y:r.y},{y:0,duration:.4,ease:"power1.out"}),o.fromTo(i,{top:"75%"},{top:"40%",duration:.4,ease:"power1.out"},0),o.fromTo(i,{opacity:0},{opacity:1,duration:.1,ease:"power1.out"},0),o.fromTo(n,{opacity:0},{opacity:1,duration:.4,ease:"power1.out",delay:.1},0),c){var u=-l.y/(window.innerHeight/1.5);(u=u<0?0:u)>0?(I.ZP.set([i,t],{opacity:1}),I.ZP.set(t,{display:"block"})):I.ZP.set(t,{display:"none"}),we.current=u,o.progress(u)}}())}),[d]),Me=(0,i.useCallback)((function(e){var t=e.touches[0]||e.changedTouches[0];Se.current.initialTouchPosition={x:t.pageX,y:t.pageY},Se.current.currentTouchPosition={x:t.pageX-Se.current.initialTouchPosition.x,y:t.pageY-Se.current.initialTouchPosition.y}}),[]),De=it((function(){(0,V.Kq)("/app/gallery/picture/remaster/start",M.dC.Gallery);var e=le.current;I.ZP.set(e,{display:"none"});var t=ye.current,a=ce.current;I.ZP.set(a,{display:"block"}),I.ZP.killTweensOf(t.delay),I.ZP.to(t.delay,{duration:4,onComplete:function(){I.ZP.set(a,{opacity:1})}}),x("remasterLoading"),o("remaster")}),[x,o]),Ge=function(){var e=je.current;I.ZP.to(e,{opacity:1,duration:.3,ease:"power3.inOut",onComplete:function(){I.ZP.to(e,{opacity:0,delay:.5,duration:.3,ease:"power3.inOut"})}})},ke=it((function(){(0,V.Kq)("/app/gallery/picture/remaster/revert",M.dC.Gallery);var e=fe.current[d];I.ZP.set(e,{display:"none"}),f[d].isRemastered=!1,m((0,G.Z)(f)),o("start"),Ge()}),[d,f,m]),He=function(e){var t=[{scale:1,origin:null},{scale:2,origin:"54% 50%",x:54},{scale:2.5,origin:"76% 50%",x:76}],a=pe.current[d],s=Ce.current,i=t[e].origin,n=t[e].scale;i?I.ZP.to([a,s],{scale:n,transformOrigin:i,duration:.4,ease:"power3.out",onUpdate:function(){var i=this.progress(),n=t[te].x>t[e].x?-1:1,r=6*n*i*10,l=t[te].x+r;l=1==i||1==n&&l>t[e].x||-1==n&&l<t[e].x?t[e].x:l,I.ZP.set([a,s],{transformOrigin:"".concat(l,"% 50%")})}}):I.ZP.to([a,s],{scale:n,duration:.4,ease:"power3.out"}),ae(e)},Be=function(){var e=d,s=se.current,i=ye.current.delay,n=ne.current,r=re.current,l=le.current,u=t.current,p=a.current[e],x=ue.current[e],f=de.current[e],m=me.current,h=oe.current;I.ZP.killTweensOf(i),I.ZP.set(n,{opacity:0}),I.ZP.set([r,l,m],{opacity:0,duration:.2,ease:"power1.out"});var A=p.getBoundingClientRect();A.y>window.innerHeight-200?(u.scrollTo({top:2e3}),A=p.getBoundingClientRect()):A.y<40&&(u.scrollTo({top:0}),A=p.getBoundingClientRect());var E=A.x<window.innerWidth/2?"0% 0%":"100% 0%";I.ZP.killTweensOf(x),I.ZP.set(x,{width:"100%"}),I.ZP.set(h,{opacity:0}),I.ZP.to(x,{height:A.height,duration:.2,ease:"power1.out",delay:0}),I.ZP.fromTo(f,{x:0,y:0,width:"100%",height:"100%",transformOrigin:E},{x:A.x,y:A.y,width:A.width,height:A.height,duration:.2,ease:"power1.out",delay:0,onComplete:function(){I.ZP.set(s,{display:"none",pointerEvents:"none"}),I.ZP.set(x,{height:"auto"}),I.ZP.set(f,{x:0,y:0,width:"100%",height:"100%",duration:.4,ease:"power3.out",delay:0})}}),Y(!1),"finish"!==c&&o("start"),T()},Ue=function(){var e=d,t=a.current[d],s=se.current,i=ne.current,n=re.current,r=le.current,l=ce.current,c=oe.current,o=pe.current[e],u=ue.current[e],p=ye.current.delay,x=me.current;xe.current=t;var m=t.getBoundingClientRect(),h=m.x<window.innerWidth/2?"0% 0%":"100% 0%";I.ZP.set(r,{display:"block"}),I.ZP.set(l,{display:"none"}),I.ZP.killTweensOf(p),Se.current.currentScrollViewportPosition=-window.innerWidth*e-16*e,I.ZP.set(c,{x:Se.current.currentScrollViewportPosition*Sf,opacity:1}),I.ZP.set(s,{display:"block",pointerEvents:"auto"}),I.ZP.set(u,{height:"auto"}),I.ZP.fromTo(o,{x:m.x,y:m.y,scale:0,transformOrigin:h},{x:0,y:0,scale:1,duration:.4,ease:"power3.out",delay:0}),I.ZP.set(i,{opacity:1}),I.ZP.fromTo([n,r,x],{opacity:0},{opacity:1,duration:.3,delay:.3,ease:"power3.out",onComplete:function(){Y(!0)}});var A=f[d];B(A.edited?"edit":A.remastered?"remaster":A.sketched?"sketch-to-image":"none"),Y(!1),w(Ne)};(0,i.useEffect)((function(){var e=oe.current,t=f[d],a=oe.current,s=le.current,i=ce.current,n=16/f.length*d,r=-e.clientWidth/f.length*d-n;Se.current.currentScrollViewportPosition=r*Sf;var l=Se.current.currentScrollViewportPosition;return!W&&R?(I.ZP.killTweensOf(e),I.ZP.to(e,{x:l,duration:.3,ease:"power1.out"})):I.ZP.set(e,{x:l}),(null===t||void 0===t?void 0:t.edited)?B("edit"):(null===t||void 0===t?void 0:t.remastered)?B("remaster"):(null===t||void 0===t?void 0:t.sketched)?B("sketch-to-image"):B("none"),"image"!==p.current||"gallery"!==p.prev||R?"gallery"===p.current&&R&&(Be(),O(!1),Q&&Le()):(Ue(),O(!0)),"remaster"===p.current?I.ZP.set(s,{opacity:1}):(I.ZP.set(i,{opacity:0}),ae(0)),Ne.current=function(){"object-eraser"===p.current||"edit"===p.current?x("image"):x("gallery")},"image"===p.current&&(a.addEventListener("touchend",Pe),a.addEventListener("touchmove",Oe),a.addEventListener("touchstart",Me)),function(){a.removeEventListener("touchend",Pe),a.removeEventListener("touchmove",Oe),a.removeEventListener("touchstart",Me)}}),[d,p,R,Ue,Be,O,Ne,x,Pe,Oe,Me]),(0,i.useEffect)((function(){var e=f[d];e&&(S?e.isEdited?$(e.editedCropped):e.isRemastered?$(e.remasteredCropped):e.isSketched?$(e.sketchedCropped):$(e.cropped):e.isEdited?$(e.edited):e.isRemastered?$(e.remastered):e.isSketched?$(e.sketched):$(e.photo))}),[d,f,S]);var Ze=function(){var e=f[d];l("start"),f[d].isEdited=!1,m((0,G.Z)(f)),$(e.photo),Ge(),"edit"===k&&A(!1)};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"absolute inset-0 z-30 text-black","data-component":"gallery-photo",style:{pointerEvents:"none",display:"none"},ref:se,children:(0,s.jsxs)("div",{className:"flex h-screen flex-col justify-start",children:[(0,s.jsx)("div",{className:"absolute z-[100]",ref:he,style:{display:"none"},children:(0,s.jsx)(Tx,{image:J,detailsContainerRef:Ae,detailsContentRef:Ee,detailsEditingButtonsRef:ge,tutorialType:k,handleEditButtonClick:Ie,toggleDetailsView:Le,remasterImage:De.current,detailsEditingIconsRef:ve,detailsViewRef:he,photoIndex:d,interactionCounter:C,imageSourcesLargeRef:pe,setIsDetailsViewOpen:function(e){z(e),e||(Se.current.isMoving=!1)},bottomBarRef:le})}),(0,s.jsx)("div",{className:"absolute inset-0 overflow-hidden bg-white","data-ref":"gallery-image-background",ref:ne}),(0,s.jsxs)("div",{className:"py-4 xxsm:pt-0","data-ref":"gallery-image-top-bar",ref:re,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-white opacity-75 xxs:bg-transparent"}),(0,s.jsxs)("div",{className:"relative z-[99] flex w-full justify-between bg-white px-4 pt-[35px] xs:pt-0 smd:pt-6",children:[(0,s.jsx)("button",{className:"flex items-center justify-center text-center ltr:mr-4 rtl:ml-4 rtl:-scale-x-100 rtl:transform",style:{width:30,height:30},"data-ref":"gallery-image-button-back",onClick:function(){Ne.current()},children:(0,s.jsx)(Yr,{})}),(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-center gap-2",children:[(0,s.jsx)(ie,{path:"/app/gallery/picture/".concat(d,"/smart-view"),page:"Gallery",children:(0,s.jsx)("div",{children:(0,s.jsx)(ht,{className:"flex h-[30px] w-[30px] items-center justify-center text-center ".concat(Re?"hidden":""),title:g.t["GALLERY_SMART-VIEW-POP-UP-TITLE"],text:g.t["GALLERY_SMART-VIEW-POP-UP_STREAM-STRAIGHT_POP-UP-TEXT"],cta:{text:g.t["GALLERY_SMART-VIEW-POP_POP-UP-OK"]},children:(0,s.jsx)(px,{})})})}),(0,s.jsx)(ie,{path:"/app/gallery/picture/".concat(d,"/bixby-vision"),page:"Gallery",children:(0,s.jsx)("div",{children:(0,s.jsx)(ht,{className:"flex h-[30px] w-[30px] items-center justify-center text-center ".concat(Re?"hidden":""),title:g.t["GALLERY_BIXBY-VISION_POP-UP-TITLE"],text:g.t["GALLERY_BIXBY-VISION_AI-ASSISTANT_POP-UP-TEXT"],cta:{text:g.t["GALLERY_SMART-VIEW-POP-UP_POP-UP-OK"]},children:(0,s.jsx)(cx,{})})})}),(0,s.jsx)("div",{className:Re?"hidden":"",onClick:function(){var e=f[d].isRemastered;b({data:{tutorialType:k,isRemastered:e,revertImageRef:ke,revertObjectEraser:Ze,finishedEditTutorial:h},type:"gallery"})},children:(0,s.jsx)(Gr,{})})]})]})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute flex h-screen flex-col justify-center",children:(0,s.jsx)("div",{className:"gpu pointer-events-auto flex items-center justify-between overflow-hidden xsmd:mb-14 xxs:mb-14",style:{width:"calc(".concat(100*f.length,"vw + ").concat(16*(f.length-1),"px)")},"data-ref":"gallery-image-scroll",ref:oe,children:f.map((function(e){return(0,s.jsx)(i.Fragment,{children:(0,s.jsx)(Dx,(0,L.Z)((0,_.Z)({},e),{imageBlocksRef:de,imageBlockContainersRef:ue,imageSourcesLargeRef:pe,imageCopiesLargeRef:fe,remasterBarRef:ce,remasterAferImageRef:Ce,showEditTutorial:Z&&e.edited&&"finish"!==r,showRemasterTutorial:Z&&e.remastered&&"start"===c,photoIndex:d}))},"".concat(e.date," ").concat(e.photo))}))})}),(0,s.jsxs)("div",{className:"absolute bottom-0 z-[99] w-screen bg-white py-2 pb-20","data-ref":"gallery-image-bottom-bar",ref:le,children:[(0,s.jsxs)("div",{ref:me,className:"mb-2 flex items-center justify-center py-3",children:["image"===p.current&&(0,s.jsx)(gf,{isSliderTouch:W,setIsSliderTouch:X,isDetailsViewOpen:Q}),(0,s.jsx)("div",{className:"pointer-events-none absolute mb-2 rounded-3xl bg-primary-gray-270/80 px-4 py-2.5 text-sm text-white opacity-0",ref:je,children:g.t["GALLERY-REVERTED-OVERLAY"]})]}),(0,s.jsx)("div",{className:"absolute bg-white opacity-100"}),(0,s.jsx)("div",{className:"gpu relative flex w-full justify-between px-4",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex w-full justify-around",children:[(0,s.jsx)("div",{children:(0,s.jsx)(ht,{className:"flex h-[30px] w-[30px] items-center justify-center text-center",title:g.t["GALLERY_HEART-POP-UP_FAVOURITE_POP-UP-TITLE"],text:g.t["GALLERY_HEART-POP-UP_FAVOURITE-FOLDER_POP-UP-TEXT"],cta:{text:g.t["GALLERY_HEART-POP-UP_POP-UP-OK"]},children:(0,s.jsx)(ie,{path:"/app/gallery/picture/".concat(d,"/favorites"),page:"Gallery",children:(0,s.jsx)(ox,{})})})}),(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"relative",children:1===d?(0,s.jsxs)("button",{className:"flex h-[30px] w-[30px] items-center justify-center text-center",onClick:Ie,children:[(0,s.jsx)(ie,{path:"/app/gallery/picture/".concat(d,"/edit"),page:"Gallery",children:(0,s.jsx)(dx,{})}),"edit"===k&&!h&&(0,s.jsx)(Rr,{type:"circle",hidden:!1,width:"48px",height:"48px"})]}):(0,s.jsx)(ht,{className:"flex h-[30px] w-[30px] items-center justify-center text-center",title:g.t["GALLERY_PENCIL-POP-UP_NO-MORE-PHOTOSHOP_POP-UP-TITLE"],text:g.t["GALLERY_PENCIL-POP-UP_NO-MORE-PHOTOSHOP_POP-UP-TEXT"],cta:{text:g.t["GALLERY_PENCIL-POP-UP_POP-UP-OK"]},children:(0,s.jsx)(ie,{path:"/app/gallery/picture/".concat(d,"/edit"),page:"Gallery",children:(0,s.jsx)(dx,{})})})})}),(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"relative",children:(0,s.jsxs)("button",{className:"relative flex items-center justify-center text-center",style:{width:30,height:30},"data-tracker":"galery-tracker","data-track-title":"Gallery","data-track-path":"/app/gallery/picture/{index}/more","data-ref":"app-gallery-button-menu",onClick:function(){x("sketch-to-image"),E("start"),(0,V.Kq)("/app/gallery/picture/".concat(d,"/ai"),M.dC.Gallery)},disabled:"sketch-to-image"!==k,children:[(0,s.jsx)("img",{src:wf,alt:"icon ai"}),(0,s.jsx)(Rr,{height:"48px",width:"48px",hidden:"sketch-to-image"!==k,type:"circle"})]})})}),(0,s.jsx)("div",{children:(0,s.jsx)(ux,{})}),(0,s.jsx)("div",{children:(0,s.jsx)(ht,{className:"flex h-[30px] w-[30px] items-center justify-center text-center",title:g.t["GALLERY_TRASH-POP-UP_DELETE_POP-UP-TITLE"],text:g.t["GALLERY_TRASH-POP-UP_DONT-LIKE-IT_POP-UP-TEXT"],cta:{text:g.t["GALLERY_TRASH-POP-UP_POP-UP-OK"]},children:(0,s.jsx)(ie,{path:"/app/gallery/picture/".concat(d,"/delete"),page:"Gallery",children:(0,s.jsx)(xx,{})})})})]})})]}),(0,s.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 hidden pb-2 opacity-0","data-ref":"gallery-image-bottom-remaster",ref:ce,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-white opacity-100"}),(0,s.jsx)("div",{className:"relative flex w-full justify-center py-4",children:(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("img",{src:Nf,className:"w-[50px]",onClick:function(){He(1),(0,V.Kq)("/app/gallery/picture/remaster/zoom-head","Gallery")},alt:""}),(0,s.jsx)(Af,{hidden:1!==te,height:"calc(100% + 10px)",width:"calc(100% + 10px)"})]}),(0,s.jsxs)("div",{className:"relative mx-4",children:[(0,s.jsx)("img",{src:jf,className:"w-[50px]",onClick:function(){He(0),(0,V.Kq)("/app/gallery/picture/remaster/zoom-default","Gallery")},alt:""}),(0,s.jsx)(Af,{hidden:0!==te,height:"calc(100% + 10px)",width:"calc(100% + 10px)"})]}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("img",{src:Tf,className:"w-[50px]",onClick:function(){He(2),(0,V.Kq)("/app/gallery/picture/remaster/zoom-tail","Gallery")},alt:""}),(0,s.jsx)(Af,{hidden:2!==te,height:"calc(100% + 10px)",width:"calc(100% + 10px)"})]})]})}),(0,s.jsx)("div",{className:"relative flex w-full justify-between px-0",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex w-full items-center justify-between pb-16",children:[(0,s.jsx)(ie,{className:"flex w-full items-center justify-center",path:"/app/gallery/picture/remaster/share",page:"Gallery",children:(0,s.jsx)(ht,{className:"flex w-full items-center justify-center",title:g.t["GALLERY_SHARE-POP-UP_POP-UP-TITLE"],text:g.t["GALLERY_SHARE-POP-UP_SHARE-ANY-PHOTO_POP-UP-TEXT"],cta:{text:g.t["GALLERY_SHARE-POP-UP_POP-UP-OK"]},children:(0,s.jsxs)("button",{className:"flex flex-col items-center justify-center text-center",children:[(0,s.jsx)("div",{className:"flex items-center justify-center",style:{width:30,height:30},children:(0,s.jsx)(ux,{})}),(0,s.jsx)("div",{className:H()("whitespace-nowrap text-xs text-black opacity-60",bf),children:g.t["GALLERY_SHARE-POP-UP_POP-UP-TITLE"]})]})})}),(0,s.jsx)("div",{className:"relative flex w-full items-center justify-center","data-ref":"app-gallery-button-save-remaster",onClick:function(){(0,V.Kq)("/app/gallery/picture/remaster/save",M.dC.Gallery),He(0);var e=d,t=ce.current,a=le.current,s=fe.current[e];I.ZP.set(s,{display:"block"}),I.ZP.set(t,{display:"none",opacity:0}),I.ZP.set(a,{display:"block"}),f[d].isRemastered=!0,m((0,G.Z)(f)),o("finish")},children:(0,s.jsxs)("button",{className:"relative flex h-20 w-20 flex-col items-center justify-center rounded-full text-center",children:[(0,s.jsx)("div",{className:"flex items-center justify-center",style:{width:30,height:30},children:(0,s.jsx)("div",{className:"flex items-center justify-center",style:{width:20},children:(0,s.jsx)("div",{children:(0,s.jsx)("img",{"data-loader":"image","data-src":_f,className:"",style:{width:18},src:_f,alt:""})})})}),(0,s.jsx)("div",{className:H()("whitespace-nowrap text-xs text-black opacity-60",bf),children:g.t["GALLERY_OBJECT-ERASER-POP-UP_SAVE_TEXT"]}),(0,s.jsx)(Rr,{type:"circle",height:"100%",hidden:"touched"!==c})]})}),(0,s.jsx)(ie,{className:"flex w-full items-center justify-center",path:"/app/gallery/picture/remaster/more-menu",page:"Gallery",children:(0,s.jsx)(ht,{className:"flex w-full items-center justify-center",title:g.t["GALLERY_MENU-POP-UP_MENU_POP-UP-TITLE"],text:g.t["GALLERY_MENU-POP-UP_MORE-OPTION-MENU_POP-UP-TITLE"],cta:{text:g.t["GALLERY_MENU-POP_POP-UP-OK"]},children:(0,s.jsxs)("button",{className:"flex flex-col items-center justify-center text-center",children:[(0,s.jsx)("div",{className:"flex items-center justify-center",style:{width:30,height:30},children:(0,s.jsx)(Gr,{})}),(0,s.jsx)("div",{className:H()("whitespace-nowrap text-xs text-black opacity-60",bf),children:g.t["GALLERY_MENU-POP_MORE-OPTIONS"]})]})})})]})})]})]})}),(0,s.jsx)(hf,{handleClickObjectEraser:function(){x("edit"),"finish"!==r&&l("edit"),Le()}})]})},Rf="/_next/static/media/arrow-left.c6d715a1.png",Lf="/_next/static/media/arrow-right.e0ec016a.png",If={title:g.t["GALLERY_OBJECT-ERASER_ERASE-REFLECTIONS-POP-UP-TITLE"],text:g.t["GALLERY_OBJECT-ERASER_ERASE-REFLECTIONS-POP-UP-TEXT"],cta:{text:g.t["GALLERY_OBJECT-ERASER_ERASE-REFLECTIONS-POP-UP-BUTTON"],handleClick:function(){}}},Pf={title:g.t["GALLERY_OBJECT-ERASER_ERASE-SHADOWS-POP-UP-TITLE"],text:g.t["GALLERY_OBJECT-ERASER_ERASE-SHADOWS-POP-UP-TEXT"],cta:{text:g.t["GALLERY_OBJECT-ERASER_ERASE-SHADOWS-POP-UP-BUTTON"],handleClick:function(){}}},Of={jp:"jp:whitespace-pre",cn:"cn:whitespace-pre"},Mf={gr:"gr:foldCover:text-[11px]"},Df={gr:"gr:px-7 gr:text-[11px]",ru:"ru:px-9 ru:text-[10px]",it:"it:text-[10px] it:px-3",es:"es:px-6",ae:"ae:px-8",lt:"lt:px-7",hr:"hr:px-6",nl:"nl:px-5",th:"th:px-11",jp:"jp:px-9",cn:"cn:px-9",tw:"tw:px-9",cz:"cz:px-8",id:"id:px-4",vn:"vn:px-8",tr:"tr:px-6",de:"de:px-5",fr:"fr:px-3",eslatam:"eslatam:px-4",se:"se:px-6",ca:"ca:px-3",kr:"kr:px-7",hu:"hu:px-[26px] hu:text-[11px]",br:"br:px-5"},Gf={gr:"gr:text-[11px] gr:px-0",it:"it:text-[10px] it:px-5",es:"es:px-4",ae:"ae:px-4",lt:"lt:px-3",hr:"hr:px-3",nl:"nl:px-2.5",th:"th:px-4",jp:"jp:px-5",cn:"cn:px-6",tw:"tw:px-6",cz:"cz:px-4",id:"id:px-2.5",vn:"vn:px-1.5",tr:"tr:px-0",de:"de:px-2.5",fr:"fr:px-1.5",eslatam:"eslatam:px-0",se:"se:px-2",ca:"ca:px-1",kr:"kr:px-4",ru:"ru:text-[10px]",hu:"hu:text-[10px]",br:"br:px-2.5"},kf={gr:"gr:left-[calc(50%+7px)] gr:w-[calc(100%+65px)]"},Hf=H()(Object.values(Of)),Bf=H()(Object.values(Mf)),Uf=H()(Object.values(Df)),Zf=H()(Object.values(Gf)),Yf=H()(Object.values(kf)),Ff=function(){var e=(0,i.useContext)(rx),t=e.editTutorial,a=e.setEditTutorial,n=e.screen,r=e.setScreen,l=e.photoIndex,c=e.imageList,o=e.setImageList,d=(0,P.qr)(),u=d.popBackButtonStack,p=d.pushBackButtonStack,x=d.backButtonStack,f=(0,pt.O)(),m=f.pushOverlayStack,h=f.popOverlayStack,A=(0,i.useState)(!1),E=A[0],v=A[1],j=(0,i.useState)(!1),N=j[0],T=j[1],w=(0,i.useState)(!1),b=w[0],S=w[1],y=(0,i.useState)(!1),R=y[0],O=y[1],D=(0,i.useState)(!1),k=D[0],B=D[1],U=(0,i.useState)([]),Z=U[0],Y=U[1],F=(0,i.useState)(),W=F[0],X=F[1],K=(0,i.useState)(!1),Q=K[0],z=K[1],q=(0,i.useState)(!1),J=q[0],$=q[1],ee=(0,i.useRef)(null),te=(0,i.useRef)(null),ae=(0,i.useRef)(null),se=(0,i.useRef)(null),ne=(0,i.useRef)(null),re=(0,i.useRef)(null),le=(0,i.useRef)(null),ce=(0,i.useRef)(null),oe=(0,i.useRef)(null),de=(0,i.useRef)(null),ue=(0,i.useRef)(null),pe=(0,i.useRef)(null),xe=(0,i.useRef)(null),fe=(0,i.useRef)([]),me=(0,i.useRef)(null),he=(0,i.useRef)(null),Ae=(0,i.useRef)([]),Ee=(0,i.useRef)(null),ge=(0,i.useRef)(null),ve=(0,i.useRef)(null),Ce=(0,i.useRef)(null),je=(0,i.useRef)(null),Ne=(0,i.useRef)(null),Te=(0,i.useRef)(null),we=(0,i.useRef)(null),_e=(0,i.useRef)(null),be=(0,i.useRef)(null),Se=(0,i.useRef)(null),ye=(0,i.useRef)(null),Le=(0,i.useRef)(null),Ie=(0,i.useRef)(null);(0,i.useEffect)((function(){if(Q&&!J){var e=Z.findIndex((function(e){return e===W})),t=ne.current,a=re.current;e===Z.length-2?(I.ZP.set(t,{opacity:.2}),I.ZP.set(a,{opacity:1})):0===e?(I.ZP.set(t,{opacity:.2}),I.ZP.set(a,{opacity:.2})):(I.ZP.set(t,{opacity:1}),I.ZP.set(a,{opacity:.2}))}}),[Z,Q,W,J]);var Pe=function(e){var t=fe.current;t.length<1||(I.ZP.set(t,{opacity:0}),t[e]&&I.ZP.set(t[e],{opacity:1}))},Oe=function(){$(!0),Ie.current.src=C.selected},Me=function(){var e=me.current,s=Ne.current;I.ZP.set(e,{display:"none"}),I.ZP.set(s,{display:"none"}),Ie.current.src=C.outline,a("editTouch"),function(){var e=oe.current,s=ue.current,i=te.current,n=ae.current,r=se.current,l=ge.current,c=ve.current,o=de.current,d=Ce.current,u=Te.current,p=we.current;O(!1),I.ZP.set(r,{opacity:1}),I.ZP.set(l,{opacity:1}),I.ZP.set(c,{opacity:1}),I.ZP.set(u,{display:"none"}),I.ZP.to(e,{scale:1,duration:.3,ease:"power3.out"}),I.ZP.to(s,{opacity:0,duration:.3,ease:"power3.out"}),I.ZP.to(d,{opacity:1,scale:1,duration:.3}),I.ZP.set(i,{opacity:0,pointerEvents:"none"}),I.ZP.set(n,{opacity:1}),I.ZP.set(p,{opacity:1}),"start"===t&&o&&I.ZP.fromTo(o,{opacity:0},{opacity:1,repeat:-1,yoyo:!0}),Pe(1),T(!1),"finish"!==t&&a("editTouch"),S(!0),Oe(),z(!0)}(),h()},De=function(){var e=me.current,a=Ne.current;I.ZP.set(e,{display:"none"}),I.ZP.set(a,{display:"none"}),"finish"!==t&&(Pe(3),Y(["original","erased"]),X("erased")),h()},Ge=function(e,t){var a=se.current,s=ne.current,i=re.current,n=me.current,r=Ne.current,l=Ae.current,c=Te.current;I.ZP.set([s,i],{opacity:.2}),I.ZP.set(a,{opacity:.2}),I.ZP.set(n,{display:"flex"}),I.ZP.set(r,{display:"flex"}),"open"===t&&(I.ZP.set(r,{display:"none"}),I.ZP.set(n,{display:"none"}),I.ZP.set(c,{display:"block"}),Ie.current.src=C.photo);var o=I.ZP.timeline({paused:!0,repeat:0,onComplete:e}),d=I.ZP.timeline({duration:1,repeat:0});"open"===t&&(d.to(_e.current,{opacity:.5,duration:.001,delay:.01}).to(be.current,{opacity:.5,duration:.001,delay:.03}).to(Se.current,{opacity:.5,duration:.001,delay:.05}).to(ye.current,{opacity:.5,duration:.001,delay:.07}).to(Le.current,{opacity:.5,duration:.001,delay:.09}).to(_e.current,{opacity:.5,duration:.001,delay:.02}).to(be.current,{opacity:.5,duration:.001,delay:.04}).to(Se.current,{opacity:.5,duration:.001,delay:.06}).to(ye.current,{opacity:.5,duration:.001,delay:.08}).to(Le.current,{opacity:.5,duration:.001,delay:.1}),o.add(d));var u={erase:.3,open:.3,save:.3}[t];[{index:3,position:"center right"},{index:8,position:"top left"},{index:4,position:"center center"},{index:2,position:"bottom left"},{index:7,position:"top center"},{index:1,position:"bottom center"},{index:6,position:"top right"},{index:0,position:"bottom right"},{index:5,position:"center left"}].map((function(e,t){o.fromTo(l[e.index],{scale:2,display:"block",opacity:0,transformOrigin:e.position},{scale:1,opacity:1,duration:1,ease:"power3.out"},u*t)}));[{index:7},{index:3},{index:4},{index:8},{index:6},{index:1},{index:2},{index:5},{index:0}].map((function(e,t){l[e.index]&&o.to(l[e.index],{scale:0,opacity:0,duration:1,ease:"power2.out"},u*t+3)})),o.play(0),m({type:"locker"})},ke=(0,i.useMemo)((function(){return function(){(0,V.Kq)("/app/gallery/picture/edit/start",M.dC.Gallery),Ge(Me.bind(undefined),"open")}}),[]),He=(0,i.useMemo)((function(){return function(){var e=ee.current,t=te.current,a=ae.current,s=oe.current,i=ge.current,n=ve.current,r=ce.current,l=le.current;Y(["original"]),X("original"),z(!1),$(!1),I.ZP.set(e,{display:"block"}),Pe(E?3:0),I.ZP.set(he.current,{opacity:1}),I.ZP.set(r,{opacity:1}),I.ZP.set(l,{opacity:1}),I.ZP.set(a,{opacity:.7}),I.ZP.set(i,{opacity:.8}),I.ZP.set(n,{opacity:.8}),I.ZP.set(s,{scale:.9}),I.ZP.set(t,{opacity:1,pointerEvents:"auto"}),I.ZP.fromTo(e,{opacity:0},{opacity:1,ease:"power3.out",duration:.3}),I.ZP.fromTo(s,{scale:1,y:"20%"},{scale:.9,y:"0%",duration:.3,ease:"power3.out"}),p(Ee),ke()}}),[E,p]),Be=(0,i.useMemo)((function(){return function(){var e=ee.current,s=pe.current,i=xe.current,l=Ce.current,c=te.current,o=ae.current,d=je.current,p=[e,c,o,d];I.ZP.to(e,{opacity:0,ease:"power1.inOut",duration:.3,onComplete:function(){Pe(3),I.ZP.set(e,{display:"none"}),s&&I.ZP.set(s,{display:"none"}),I.ZP.killTweensOf([s,i]),i&&I.ZP.set(i,{scale:.2,duration:.3,opacity:0}),I.ZP.set(l,{opacity:0,scale:.9}),I.ZP.set(p,{backgroundColor:"black",opacity:1})}}),"gallery"!==n.current&&"save"!==t&&r("object-eraser"),!E&&b&&S(!1),"reverted"===t&&(v(!0),S(!0),a("finish")),x.length>1&&u()}}),[u,r,x]),Ue=function(){var e=b&&"save"===t;e&&a("finish"),e?(c[l].isEdited=!0,o((0,G.Z)(c)),v(!0),r("object-eraser")):r("object-eraser"),h()},Ze=(0,i.useMemo)((function(){return function(){Ge(De,"erase")}}),[]),Ye=function(){S(!1),T(!1),Pe(0),Ue(),(0,V.Kq)("/app/gallery/picture/edit/cancel",M.dC.Gallery)};return(0,i.useEffect)((function(){Ee.current=Be}),[Be]),(0,i.useEffect)((function(){Q&&("original"===W?($(!0),Ie.current.src=C.outline,Oe()):"erased"===W&&($(!0),Ie.current.src=C.edited))}),[W]),(0,i.useEffect)((function(){if(!J)if("original"===W){var e=se.current,s=ge.current,i=ve.current;I.ZP.set(e,{opacity:1}),I.ZP.set([s,i],{opacity:.3}),Pe(2),T(!0),"finish"!==t&&a("editErase")}else if("erased"===W){var n=se.current,r=Ce.current,l=we.current;I.ZP.set(n,{opacity:.2}),I.ZP.set(r,{opacity:0}),I.ZP.set(l,{opacity:.4}),S(!0),O(!1),a("editDone")}}),[J,W]),(0,i.useEffect)((function(){var e="edit"===n.current&&"object-eraser"===n.prev;e&&!k?(He(),B(!0),O(!0)):e||B(!1),"edit"===n.prev&&Be()}),[n,k,He,Be]),(0,i.useEffect)((function(){"start"===t&&(Pe(0),v(!1),S(!1))}),[t]),(0,s.jsxs)("div",{className:"absolute inset-0 z-30 bg-black","data-component":"gallery-photo-editor",style:{display:"none"},ref:ee,children:[J&&(0,s.jsx)("div",{className:"absolute inset-0 z-50 bg-transparent"}),(0,s.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-between",children:[(0,s.jsx)("div",{className:"relative w-full bg-black opacity-0",style:{paddingTop:50},"data-ref":"gallery-photo-editor-header",ref:te}),(0,s.jsxs)("div",{className:"relative flex h-full w-full items-center justify-center","data-ref":"gallery-photo-editor-image",style:{transform:"scale(0.9, 0.9)"},ref:oe,children:[(0,s.jsxs)("div",{className:"relative flex h-full w-full items-center justify-center",children:[(0,s.jsx)("button",{ref:we,className:"absolute right-4 -top-3 ml-auto inline-flex h-auto items-center rounded-3xl bg-primary-gray-400 px-3 py-1.5 text-[10px] font-semibold leading-[13px] text-primary-yellow-300 opacity-0",children:g.t["@PARADIGM_OBJECTERASER_GALLERY-OBJECT_ERASER_MAGNETIC-LASSO"]}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("img",{src:C.outline,alt:"",className:"h-[calc(100vh_-_24rem)] foldCover:h-[calc(100vh_-_27rem)]",ref:Ie,onLoad:function(){$(!1)}}),(0,s.jsx)("div",{ref:Te,children:(0,s.jsx)("div",{className:"absolute top-0 left-0 h-full w-full",children:(0,s.jsx)(bx,{active:!0,className:"h-full w-full",gradientClassName:"h-full w-full",isWhiteIcon:!0,children:(0,s.jsx)("div",{className:"absolute top-1/2 z-50 flex w-full items-center justify-center px-1 pt-5 text-center text-sm text-white",children:(0,s.jsx)("p",{children:g.t["@PARADIGM_OBJECTERASER_GALLERY-OBJECT_ERASER_FINDING-SUGGESTIONS"]})})})})})]})]}),(0,s.jsx)("div",{className:"absolute z-50 flex h-full w-full items-center justify-center",ref:me,children:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)(Re.Z,{path:"/assets/lotties/gallery/stars-lottie.json",width:"75px",height:"75px",loop:!0}),R&&(0,s.jsx)("div",{className:"z-50 flex items-center justify-center text-sm text-white",children:g.t["@UNPACKED_GALLERY-OBJECT_ERASER_ERASING"]})]})}),(0,s.jsx)("div",{className:"absolute inset-0 -top-1/4 flex h-screen w-screen items-center justify-center bg-black opacity-50","data-ref":"gallery-photo-editor-fade-bg",ref:Ne}),(0,s.jsx)("div",{className:"absolute left-1/2 bottom-14 flex w-full -translate-x-1/2 justify-center",children:(0,s.jsx)("div",{className:H()({"opacity-0":"editTouch"!==t},"tutorial-shadow relative flex w-auto scale-[0.9] flex-nowrap items-center justify-center rounded-3xl bg-[rgba(0,0,0,.35)] px-4 py-2 text-center text-xs text-white opacity-0"),ref:Ce,children:(0,s.jsx)("div",{children:g.t["GALLERY_OBJECT-ERASER-POP-UP_DRAW-SHADOW_TEXT"]})})})]}),(0,s.jsx)("div",{className:"relative w-full bg-black pb-20 xs:pb-14 xsmd:pb-14 smd:pb-24",ref:je,children:(0,s.jsx)("div",{className:"","data-ref":"gallery-photo-editor-footer",ref:ae,children:(0,s.jsxs)("div",{className:"flex flex-col justify-evenly bg-black",children:[(0,s.jsx)("div",{className:"flex w-full justify-center",children:(0,s.jsxs)("div",{className:H()("grid grid-cols-2 py-2 text-xs text-white",Bf),children:[(0,s.jsx)(ie,{path:"/app/gallery/picture/edit/erase-shadows",page:"Gallery",children:(0,s.jsx)(ht,(0,L.Z)((0,_.Z)({},Pf),{children:(0,s.jsx)("button",{ref:ge,className:H()("flex justify-center rounded-full bg-primary-black-100 px-6 py-2.5 opacity-20",Uf),children:g.t["@UNPACKED_GALLERY-ERASE_SHADOW_ALERT-OPTION"]})}))}),(0,s.jsx)(ie,{path:"/app/gallery/picture/edit/erase-reflections",page:"Gallery",children:(0,s.jsx)(ht,(0,L.Z)((0,_.Z)({},If),{children:(0,s.jsx)("button",{ref:ve,className:H()("flex justify-center rounded-full bg-primary-black-100 py-2.5 px-2 opacity-20",Zf),children:(0,s.jsx)("div",{className:"px-2.5",children:g.t["@UNPACKED_GALLERY-ERASE_REFLECTION_ALERT-OPTION"]})})}))})]})}),(0,s.jsx)("div",{className:"relative flex w-full items-center justify-center",ref:he,children:(0,s.jsxs)("div",{className:"relative flex items-center justify-center rounded-full bg-primary-black-100 px-10 py-3",children:[(0,s.jsxs)("div",{className:"flex w-1/2 ltr:mr-10 rtl:ml-10",children:[(0,s.jsx)("div",{className:"ltr:mr-2 rtl:ml-2",children:(0,s.jsx)("button",{className:"text-base font-normal text-white opacity-20","data-ref":"gallery-photo-editor-prev-button",ref:ne,onClick:function(){N&&(0,V.Kq)("/app/gallery/picture/edit/revert",M.dC.Gallery);var e=Z.findIndex((function(e){return e===W}));0!==e&&($(!0),X(Z[e-1]))},children:(0,s.jsx)("img",{"data-loader":"image","data-src":Rf,style:{width:18},src:Rf,alt:"",className:"rtl:-scale-x-100 rtl:transform"})})}),(0,s.jsx)("div",{className:"ltr:ml-2 rtl:mr-2",children:(0,s.jsx)("button",{className:"text-base font-normal text-white opacity-20","data-ref":"gallery-photo-editor-next-button",onClick:function(){var e=Z.findIndex((function(e){return e===W}));e!==Z.length-1&&($(!0),X(Z[e+1]))},ref:re,children:(0,s.jsx)("img",{"data-loader":"image","data-src":Lf,style:{width:18},src:Lf,alt:"",className:"rtl:-scale-x-100 rtl:transform"})})})]}),(0,s.jsx)("div",{className:"absolute",children:(0,s.jsx)("div",{className:"h-[20px] w-[1px] bg-white opacity-30"})}),(0,s.jsx)("div",{className:"w-full",children:(0,s.jsxs)("div",{className:"relative ltr:ml-10 rtl:mr-10",children:[(0,s.jsx)("button",{className:H()("relative z-10 translate-x-2 text-base font-normal text-white opacity-20",Hf),"data-ref":"gallery-photo-editor-erase-button",ref:se,onClick:function(){if(N&&"editErase"===t){var e=Ce.current;I.ZP.set(e,{opacity:0}),$(!0),O(!0),Ze(),(0,V.Kq)("/app/gallery/picture/edit/erase",M.dC.Gallery)}},children:g.t["GALLERY_OBJECT-ERASER-POP-UP_ERASE_TEXT"]}),(0,s.jsx)(Rr,{type:"circle",hidden:"editErase"!==t||R,className:H()("absolute left-[calc(50%+2px)] h-[calc(100%+22px)] w-[calc(100%+76px)] -translate-x-1/2",Yf)})]})})]})}),(0,s.jsxs)("div",{className:"relative mt-2 flex w-full flex-nowrap justify-evenly",children:[(0,s.jsx)("div",{className:"relative my-4",children:(0,s.jsx)("button",{className:"relative text-lg font-medium text-white","data-ref":"gallery-photo-editor-cancel-button",ref:le,onClick:Ye,children:g.t["GALLERY_OBJECT-ERASER-POP-UP_CANCEL_TEXT"]})}),(0,s.jsxs)("div",{className:"relative my-4",children:[(0,s.jsx)("button",{className:"relative text-lg font-medium text-white","data-ref":"gallery-photo-editor-done-button",ref:ce,onClick:function(){b?((0,V.Kq)("/app/gallery/picture/edit/done",M.dC.Gallery),"finish"!==t&&a("save"),function(){var e=te.current,t=le.current,a=ce.current;I.ZP.set(ge.current,{opacity:0}),I.ZP.set(ve.current,{opacity:0}),I.ZP.set(Ce.current,{opacity:0}),I.ZP.set(he.current,{opacity:0}),I.ZP.set(t,{opacity:.6}),I.ZP.set(a,{opacity:.6}),I.ZP.set(e,{opacity:1,pointerEvents:"auto"}),Ge(Ue,"save")}()):Ye()},children:g.t["@UNPACKED_GALLERY-OBJECT_ERASER_POP_UP-DONE_TEXT"]}),(0,s.jsx)(Rr,{type:"circle",hidden:"editDone"!==t,width:"calc(100% + 60px)",height:"calc(100% + 20px)"})]})]})]})})})]})]})},Vf=function(e,t,a,s){var n=(0,P.qr)(),r=n.pushBackButtonStack,l=n.popBackButtonStack,c=(0,i.useRef)(null),o=(0,i.useCallback)((function(s){var i=t.current,n=a.current,l=e.current;I.ZP.killTweensOf([l,n,i]),I.ZP.fromTo(l,{y:0},{y:-50,duration:.4,ease:"power3.out"}),I.ZP.fromTo(n,{display:"block",y:100},{y:0,duration:.4,ease:"power3.out"}),I.ZP.fromTo(i,{display:"block",pointerEvents:"auto",opacity:0},{opacity:1,duration:.4,ease:"power3.out"}),s&&I.ZP.to(l,{duration:.4,ease:"power3.out",onComplete:function(){s()}}),r(c)}),[r,e]),d=(0,i.useCallback)((function(s){var i=t.current,n=a.current,l=e.current;I.ZP.killTweensOf([l,n,i]),I.ZP.set(l,{y:-50}),I.ZP.set(n,{display:"block",y:0}),I.ZP.set(i,{display:"block",pointerEvents:"auto",opacity:1}),s&&s(),r(c)}),[r,e]),u=(0,i.useCallback)((function(){s&&s();var i=t.current,n=a.current,r=e.current;I.ZP.killTweensOf([i,n,r]),I.ZP.to(r,{y:0,duration:.4,ease:"power3.inOut"}),I.ZP.to(n,{y:100,duration:.4,ease:"power3.inOut"}),I.ZP.to(i,{opacity:0,duration:.4,ease:"power3.inOut",onComplete:function(){I.ZP.set(n,{display:"none"}),I.ZP.set(i,{display:"none",pointerEvents:"none"})}}),l()}),[l,e,s]),p=(0,i.useCallback)((function(){s&&s();var i=t.current,n=a.current,r=e.current;I.ZP.killTweensOf([i,n,r]),I.ZP.set(r,{y:0}),I.ZP.set(n,{y:100,display:"none"}),I.ZP.set(i,{opacity:0,display:"none",pointerEvents:"none"}),l()}),[l,e,s]);return(0,i.useEffect)((function(){c.current=u}),[c,u]),{open:o,openWithoutTransition:d,close:u,closeWithoutTransition:p}},Wf=function(){return(0,s.jsx)("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5823 3.23829L17.093 0.748547C16.0578 -0.286609 14.0842 -0.252918 12.9524 0.879406L3.52855 10.3081L3.49534 10.3438C1.99046 12.0059 0.606672 15.8999 1.44945 17.8516L0.705305 18.5962L0.62425 18.6929C0.434797 18.9658 0.462141 19.3433 0.705305 19.5859C0.978742 19.8594 1.4221 19.8594 1.69554 19.5859L2.42405 18.8565C4.36448 19.7544 8.34202 18.3428 10.008 16.8159L10.0256 16.8047L19.4514 7.37843C20.5842 6.24659 20.6174 4.27296 19.5823 3.23829ZM2.89183 17.4395C2.05198 16.5996 3.34495 12.7144 4.56077 11.3408L8.98948 15.7681L8.97874 15.7793C7.59593 16.9922 3.72972 18.2769 2.89183 17.4395ZM9.968 14.687L10.0237 14.7422L10.0959 14.6699C10.0539 14.6768 10.011 14.6826 9.968 14.687Z",fill:"white"})})},Xf=function(){return(0,s.jsxs)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M13.7972 18.1119C8.44542 13.1346 5.76953 10.4557 5.76953 10.0752C5.76953 9.69475 8.01267 7.42282 12.4989 3.25944L14.4026 3L20.6195 9.50451V11.5917L13.7972 18.1119Z",fill:"#989898"}),(0,s.jsx)("path",{d:"M6 10.5L13.5 18",stroke:"white",strokeWidth:"1.5"}),(0,s.jsx)("path",{d:"M20.1334 8.90115C20.9143 9.68225 20.9143 10.9486 20.1332 11.7296L12.8333 19.0278C10.4813 21.3798 6.58467 21.241 4.41467 18.6148C2.52234 16.3247 2.86184 12.9122 4.96301 10.8122L12.089 3.68774C12.87 2.90686 14.1361 2.90681 14.9171 3.68763L20.1334 8.90115ZM20.1334 8.90115C20.1333 8.90105 20.1335 8.90125 20.1334 8.90115Z",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})},Kf=function(){return(0,s.jsxs)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M18.9848 18.4451C18.9848 16.6507 18.9848 14.8563 18.9848 13.0618C18.9848 11.8468 17.9998 10.8618 16.7848 10.8618L10.8063 10.8618H5.54102",stroke:"white",strokeWidth:"1.65",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M9.49504 16.2245L4.13281 10.8623L9.49504 5.50008",stroke:"white",strokeWidth:"1.65",strokeLinecap:"round",strokeLinejoin:"round"})]})},Qf=(a(18700),a(17963),a(94135)),zf=function(){return(0,s.jsxs)("svg",{width:"30",height:"31",viewBox:"0 0 30 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{y:"0.5",width:"30",height:"30",rx:"15",fill:"black",fillOpacity:"0.65"}),(0,s.jsx)("path",{d:"M20.2483 14.1643L14.998 19.4146L9.74778 14.1643",stroke:"white",strokeWidth:"1.386",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M9.72949 22.375H20.2712",stroke:"white",strokeWidth:"1.386",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M15 8.91357V18.9969",stroke:"white",strokeWidth:"1.386",strokeLinecap:"round"})]})},qf=H()(Object.values({ru:"ru:foldCover:text-sm"})),Jf=function(e){var t=e.active,a=e.setCarouselIndex;return(0,s.jsx)("div",{className:H()("w-screen",{hidden:!t}),children:(0,s.jsxs)(Sp.tq,{effect:"coverflow",slidesPerView:1.05,centeredSlides:!0,spaceBetween:0,pagination:{clickable:!1},modules:[Qf.tl,Qf.lI],className:"mySwiper",initialSlide:1,coverflowEffect:{rotate:0,stretch:0,depth:100,modifier:1,slideShadows:!1},onSlideChange:function(e){a(e.activeIndex)},children:[(0,s.jsxs)(Sp.o5,{children:[(0,s.jsx)("img",{src:c,className:"w-full rounded-[20px]",alt:""}),(0,s.jsx)("div",{className:"absolute left-7 bottom-14 h-1/2",children:(0,s.jsx)("svg",{height:"100%",viewBox:"0.00 0.00 191.00 320.00",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsxs)("g",{strokeLinecap:"round",transform:"translate(6.00, 4.00)",id:"\ub808\uc774\uc5b4_2",children:[(0,s.jsx)("path",{d:"M103.50,54.59 C103.50,54.59 102.56,55.06 102.56,55.06 C101.75,45.00 100.83,36.46 99.71,34.43 C99.30,33.73 92.51,29.85 90.37,29.74 C89.56,29.71 85.66,32.06 85.03,32.47 C82.89,33.96 81.38,35.49 81.18,36.67 C80.99,38.08 82.12,47.33 83.35,50.60 C84.27,53.00 89.20,60.74 89.43,61.04 C89.67,61.35 90.18,61.95 90.98,62.86",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M90.98,69.48 C90.98,69.48 90.26,69.02 90.26,69.02 C89.99,71.86 90.40,76.29 91.55,78.72 C91.94,79.54 93.55,82.57 93.50,83.30 C93.45,83.90 91.56,86.79 91.38,87.42 C91.06,88.53 91.46,91.84 92.00,92.98 C92.51,94.02 94.42,95.51 94.80,96.01 C95.85,97.43 95.96,99.70 95.11,102.19 C94.25,104.71 94.25,106.95 95.23,108.66 C95.48,109.09 97.67,111.75 98.78,113.19",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M98.07,114.14 C98.07,114.14 97.83,113.90 97.83,113.90 C98.21,115.64 98.32,116.84 98.16,118.21 C98.01,119.65 95.72,121.64 95.33,122.69 C94.74,124.33 95.80,126.37 97.50,127.96 C98.64,129.01 98.69,131.26 97.62,133.47 C97.11,134.54 95.59,137.99 95.98,139.38 C96.46,140.98 98.52,143.01 98.90,143.57 C100.35,145.73 100.77,152.60 100.87,157.28 C100.88,158.22 100.90,159.17 100.91,160.11 C100.91,161.25 100.91,162.39 100.91,163.53",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M95.71,169.20 C95.46,169.01 95.23,168.88 95.02,168.83 C91.67,168.26 87.30,166.68 82.05,164.20 C77.05,161.83 73.12,160.51 71.54,161.52 C70.79,162.01 67.79,164.21 66.81,164.52 C65.63,164.89 62.35,164.47 61.52,164.58 C59.49,164.89 52.94,170.08 49.95,171.40 C44.89,173.61 31.84,181.35 30.17,183.07 C29.09,184.23 27.17,190.16 27.86,192.22 C28.35,193.74 28.28,194.91 27.43,196.08 C26.81,196.93 23.78,200.07 23.07,201.33 C22.53,202.30 21.63,205.82 21.74,206.85 C22.04,209.00 23.94,211.97 24.50,212.67 C26.20,214.83 26.67,223.07 28.00,225.28 C29.78,228.22 31.08,232.80 31.32,233.96 C31.37,234.25 31.41,234.56 31.43,234.89",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M24.10,215.99 C23.29,216.13 22.73,216.61 21.51,218.40 C19.32,221.54 13.82,229.39 13.63,229.75 C12.70,231.68 12.29,233.91 12.41,236.39 C12.42,236.63 13.08,246.41 13.89,247.50 C14.79,248.59 15.50,249.20 16.02,249.33 C17.33,249.60 19.52,247.87 21.14,245.56 C24.69,240.38 26.89,237.68 27.93,236.78 C28.23,236.53 28.76,236.14 29.54,235.60",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M33.32,240.33 C33.40,239.96 33.48,239.59 33.56,239.22 C33.56,239.22 33.56,239.21 33.56,239.21 C32.56,244.20 32.36,248.32 34.50,251.42 C34.99,252.12 38.15,255.64 38.88,256.59 C40.31,258.46 40.88,263.97 41.18,267.62 C41.84,274.64 43.95,285.54 45.45,288.90 C46.09,290.24 48.48,292.64 49.43,292.47 C50.87,292.13 52.36,289.48 52.53,287.32 C52.61,286.08 53.15,275.38 52.88,271.46 C52.70,269.09 51.67,259.41 51.81,258.95 C51.96,258.50 52.49,257.49 53.41,255.93 C55.14,258.09 57.12,261.39 58.03,266.31 C58.42,268.52 60.56,284.41 60.75,285.12 C61.16,286.51 64.57,289.55 66.15,290.89 C67.56,290.00 68.17,289.44 68.81,288.30 C70.00,286.08 70.35,280.81 70.24,275.53 C70.15,273.08 69.28,257.85 69.35,257.53 C69.43,257.22 69.70,256.77 70.18,256.16",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M71.13,257.82 C71.67,256.31 72.05,255.43 72.26,255.18 C72.61,254.79 79.58,255.51 84.36,254.80 C89.32,254.04 105.01,251.14 105.18,251.13 C105.57,251.11 106.36,251.13 107.52,251.20",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M108.47,252.85 C108.47,252.85 108.31,252.02 108.31,252.02 C109.51,252.52 111.11,254.10 111.85,255.81 C112.10,256.42 115.20,276.27 115.59,276.96 C116.54,278.59 117.52,279.65 118.53,280.13 C119.87,280.72 122.23,279.17 122.71,277.75 C124.02,273.28 122.25,255.89 121.94,254.16 C121.90,253.94 121.82,253.70 121.70,253.45 C121.70,253.45 121.46,253.18 121.46,253.18 C122.74,254.39 123.36,255.40 123.86,257.37 C126.25,266.50 129.12,273.63 131.48,275.96 C132.86,277.25 135.92,278.18 137.07,277.48 C138.31,276.65 139.52,274.04 139.70,272.18 C140.03,267.75 140.00,260.80 139.76,257.61 C139.45,253.69 137.82,243.82 137.83,243.66 C137.84,243.36 137.98,242.88 138.24,242.22",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M104.45,56.72 C104.45,56.72 104.24,56.65 104.24,56.65 C105.94,55.64 107.11,55.03 109.38,53.98 C113.28,52.15 119.47,49.28 119.77,49.08 C120.00,48.94 120.17,48.72 120.28,48.44",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M123.83,47.97 C123.83,47.97 123.66,48.18 123.66,48.18 C123.66,48.18 123.37,48.19 123.37,48.19 C123.20,45.25 122.85,37.53 123.30,34.94 C123.94,31.47 128.12,24.32 129.29,23.13 C130.20,22.26 132.11,22.11 133.53,22.70 C134.98,23.37 136.65,25.12 137.33,26.72 C138.26,28.99 139.36,35.39 139.27,37.92 C139.17,40.21 138.09,46.80 138.00,47.52 C137.95,47.93 137.87,48.71 137.77,49.86",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M141.79,53.88 C141.79,53.88 141.32,53.41 141.32,53.41 C143.57,56.05 145.92,59.29 147.35,63.70 C147.92,65.49 154.36,89.08 156.21,92.71 C157.47,94.62 159.84,98.72 160.49,101.91 C160.73,103.14 161.22,106.11 161.40,107.29",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M112.25,94.53 C112.25,94.53 111.78,94.35 111.78,94.35 C113.65,96.63 118.78,102.94 120.06,104.59 C124.13,109.79 126.48,112.00 130.38,114.17 C133.94,116.09 143.03,120.13 143.92,120.35 C146.24,120.90 148.74,120.74 150.28,119.92 C153.26,118.27 157.42,114.83 158.25,112.62 C158.67,111.48 159.34,108.17 159.75,105.87",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M146.75,106.34 C146.75,106.34 145.92,106.34 145.92,106.34 C145.92,106.34 145.80,106.44 145.80,106.44 C147.61,106.39 150.40,105.94 151.61,105.13 C152.82,104.32 155.10,101.35 156.48,99.26 C156.48,99.26 156.11,99.74 156.11,99.74",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M153.37,104.69 C153.37,104.69 153.25,104.69 153.25,104.69 C153.25,104.69 153.01,104.87 153.01,104.87 C153.00,106.13 153.13,107.17 153.58,109.25 C153.96,110.99 154.59,113.88 154.85,115.04 C154.85,115.04 155.02,115.08 155.02,115.08",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M125.72,74.91 C125.72,74.91 124.77,74.99 124.77,74.99 C124.77,74.99 124.54,76.09 124.54,76.09",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M143.44,68.77 C143.36,68.60 143.29,68.50 143.24,68.45 C143.20,68.41 143.11,68.35 142.97,68.29 C142.97,68.29 143.60,67.49 143.60,67.49 C143.60,67.49 143.68,68.53 143.68,68.53",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M137.06,127.61 C136.69,125.03 136.71,124.11 137.17,123.21 C137.25,123.05 137.34,122.75 137.44,122.32 C136.16,125.11 135.64,126.57 135.37,128.41 C135.06,130.89 134.98,133.16 135.46,134.18 C136.18,135.66 139.43,138.69 140.22,139.45 C141.05,140.25 141.22,141.75 140.88,143.45 C140.54,145.04 139.51,148.97 139.41,149.74 C139.19,151.50 139.85,154.95 140.71,156.50 C141.32,157.58 143.82,161.19 144.08,162.39 C144.44,164.09 143.59,168.41 143.33,169.55 C142.88,171.54 143.09,175.01 143.80,176.93 C144.29,178.19 147.03,181.77 147.72,182.85 C148.70,184.38 149.69,187.69 149.67,189.35 C149.64,190.14 148.84,194.84 148.72,195.35 C148.59,195.89 148.25,197.18 147.70,199.21",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M146.51,203.47 C146.51,203.47 145.33,203.54 145.33,203.54 C145.76,204.84 148.25,212.81 148.04,215.24 C147.79,217.74 143.49,225.49 142.99,229.20 C142.83,230.40 142.54,234.77 142.18,235.88 C141.68,237.46 139.57,241.09 139.53,241.36 C139.48,241.81 139.60,242.80 139.90,244.35",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"})]})})})]}),(0,s.jsx)(Sp.o5,{children:(0,s.jsxs)("div",{className:"relative flex items-end justify-end",children:[(0,s.jsx)("img",{src:o,className:"w-full rounded-[20px]",alt:""}),(0,s.jsx)("div",{className:"absolute pb-2 ltr:pr-2 rtl:pl-2",children:(0,s.jsx)("div",{className:"rounded-full bg-black/30",children:(0,s.jsx)(zf,{})})})]})}),(0,s.jsx)(Sp.o5,{children:(0,s.jsxs)("div",{className:"relative flex h-full w-full items-center justify-center rounded-[20px] bg-white/20",children:[(0,s.jsx)("img",{src:c,className:"w-full opacity-0",alt:""}),(0,s.jsxs)("div",{className:"absolute flex flex-col items-center justify-center gap-4",children:[(0,s.jsx)("button",{className:H()("relative flex items-center justify-center overflow-hidden rounded-3xl bg-gradient-to-r from-[#8F74FF]/30 via-[#88E6E3]/30 via-[#3E85FB]/30 to-[#BDFAA5]/30 px-5 py-3 text-base text-white shadow-ai-generate-button",qf),children:g.t["@PARADIGM_GALLERY_SKETCH_TO_IMAGE_BUTTON_GENERATE_NEW_IMAGE"]}),(0,s.jsx)("div",{className:"text-[11px] font-light text-white",children:g.t["@PARADIGM_GALLERY_SKETCH_TO_IMAGE_BUTTON_GENERATE_ONE_MORE_IMAGE"]})]})]})})]})})},$f=function(e){var t=e.show,a=e.active,n=(0,i.useContext)(rx),r=n.setSketchToImageTutorial,l=n.photoIndex;return t||a?(0,s.jsx)("div",{className:"relative flex w-full justify-center",children:(0,s.jsx)("div",{className:"relative flex items-center justify-center",children:(0,s.jsxs)("button",{className:H()("gpu relative flex items-center justify-center overflow-hidden rounded-3xl bg-cover text-white",{"shadow-[0_0_10px_4px_#0381FE]":a},{"shadow-[0_0_8px_rgba(136,230,227,0.5)]":!a}),onClick:function(){r("generating-image"),(0,V.Kq)("/app/gallery/picture/".concat(l,"/ai-draw-generate"),M.dC.Gallery)},disabled:!a,children:[(0,s.jsx)("div",{className:"absolute h-screen w-screen bg-[#3E85FB]/10"}),(0,s.jsx)("div",{className:"bg-[#88E6E3]/15 absolute h-[96px] w-[154px] rounded-full blur-[50px]",style:{top:"12.74px",left:"-27.64px"}}),(0,s.jsx)("div",{className:"absolute h-[96px] w-[185px] rounded-full bg-[#88E6E3]/20 blur-[50px]",style:{top:"-47.26px",left:"105.68px"}}),(0,s.jsx)("div",{className:"bg-[#BDFAA5]/15 absolute h-[161px] w-[279px] rounded-full blur-[50px]",style:{top:"-35.24px",left:"131.2px"}}),(0,s.jsx)("div",{className:"bg-[#3E85FB]/15 absolute h-[118px] w-[216px] rounded-full blur-[50px]",style:{top:"-63.66px",left:"-35.98px"}}),(0,s.jsx)("div",{className:"absolute h-[52px] w-[239px] rounded-[26px] border-[3px] border-[#3E85FB]/50 bg-[#3E85FB]/50 blur-[50px]",style:{top:"-0.02px",left:"-0.24px"}}),(0,s.jsx)("div",{className:"absolute rounded-3xl py-3.5 px-16 text-[17px] font-semibold",children:g.t["@PARADIGM_SKETCH-TO-IMAGE_GENERATE-CTA"]}),(0,s.jsx)("div",{className:"opcity-0 rounded-3xl py-3.5 px-16 text-[17px] font-semibold",children:g.t["@PARADIGM_SKETCH-TO-IMAGE_GENERATE-CTA"]}),(0,s.jsx)(Rr,{type:"rounded-3xl",hidden:!a,width:"100%",height:"100%"})]})})}):null},em=H()(Object.values({vn:"vn:smd:text-sm",lt:"lt:xsm:text-[13px] lt:xsm:px-2 lt:xxs:text-sm lt:xxxsm:text-sm"})),tm=function(e){return e.active&&(0,s.jsxs)("div",{className:H()("absolute grid w-[150vw] grid-cols-3 overflow-x-hidden text-[17px] ltr:-translate-x-[25vw] rtl:translate-x-[25vw]",em),children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("button",{className:"absolute whitespace-nowrap rounded-3xl py-3 px-6 text-white opacity-75 ltr:right-0 rtl:left-0",children:g.t["@PARADIGM_SKETCH-TO-IMAGE_OPTION-LEFT"]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 from-black/25 via-black to-black ltr:bg-gradient-to-l rtl:bg-gradient-to-r"})]}),(0,s.jsx)("button",{className:"relative rounded-3xl bg-[#52525259] py-3 px-1 text-white",children:g.t["@PARADIGM_SKETCH-TO-IMAGE_OPTION-CENTER"]}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("button",{className:"absolute whitespace-nowrap rounded-3xl py-3 px-6 text-white opacity-75 ltr:left-0 rtl:right-0",children:g.t["@PARADIGM_SKETCH-TO-IMAGE_OPTION-RIGHT"]}),(0,s.jsx)("div",{className:"width-50 pointer-events-none absolute inset-0 from-black/25 via-black to-black ltr:bg-gradient-to-r rtl:bg-gradient-to-l"})]})]})},am=function(e){var t=e.texts,a=e.duration,n=void 0===a?1:a,r=e.onComplete,l=(0,i.useState)(0),c=l[0],o=l[1],d=(0,i.useRef)(null);return(0,i.useEffect)((function(){var e=I.p8.timeline({repeat:-1}),a=d.current;return e.fromTo(a,{opacity:0},{opacity:1,duration:.4}).to(a,{opacity:0,duration:.4,onComplete:function(){c<t.length?o((function(e){return e+1})):void 0!==r&&r()}},"+=0.3"),function(){e.kill()}}),[t,n,c]),(0,s.jsx)("div",{className:"text-center opacity-0",ref:d,children:(0,s.jsx)("div",{className:"text-[15px] text-white",children:t[c]})})},sm=[g.t["@PARADIGM_SKETCH-TO-IMAGE_ANIMATION-TEXT-ONE"],g.t["@PARADIGM_SKETCH-TO-IMAGE_ANIMATION-TEXT-TWO"],g.t["@PARADIGM_SKETCH-TO-IMAGE_ANIMATION-TEXT-THREE"]],im=function(e){var t=e.active,a=(0,i.useContext)(rx).setSketchToImageTutorial;return t&&(0,s.jsx)("div",{className:"absolute px-11 pt-[140px]",children:(0,s.jsx)(am,{texts:sm,onComplete:function(){a("generating-complete")}})})},nm=function(e){var t=e.active,a=(0,i.useContext)(rx),n=a.setSketchToImageTutorial,r=a.photoIndex;return t&&(0,s.jsxs)("div",{className:"absolute flex h-full w-full items-center justify-center",onClick:function(){n("drawing"),(0,V.Kq)("/app/gallery/picture/".concat(r,"/ai-draw"),M.dC.Gallery)},children:[(0,s.jsxs)("div",{className:"relative right-[17%] top-[-30px] flex justify-center rounded-3xl bg-white py-1.5 px-2 text-[10px]",children:[(0,s.jsx)("div",{className:"absolute bottom-[-14px] h-[8px] w-[8px] -translate-y-2.5 rotate-45 bg-white"}),g.t["@PARADIGM_SKETCH-TO-IMAGE_TAP-TO-DRAW-CTA"]]}),(0,s.jsx)(Rr,{className:"absolute left-[33%] top-[66%]",type:"circle",width:"166px",height:"166px",hidden:!1}),(0,s.jsx)("p",{className:"absolute bottom-[20px] rounded-xl bg-black bg-opacity-25 px-3 py-1 text-[12px] text-gray-50 backdrop-blur-sm",children:g.t["@PARADIGM_SKETCH-TO-IMAGE_TAP-TO-DRAW-INFO"]})]})},rm=function(e){var t=e.index,a=e.onSketchFlowComplete;switch(t){case 0:return(0,s.jsx)("button",{className:"w-2/3 rounded-3xl bg-white/35 py-3 text-white",children:g.t["@PARADIGM_GALLERY_SKETCH_TO_IMAGE_BUTTON_EDIT_DRAWING"]});case 1:return(0,s.jsxs)("button",{className:"relative w-2/3 rounded-3xl bg-white/35 py-3 text-white",onClick:a,children:[g.t["@PARADIGM_GALLERY_SKETCH_TO_IMAGE_BUTTON_DONE"],(0,s.jsx)(Rr,{type:"rounded-3xl",hidden:!1,height:"100%",width:"100%"})]});default:return(0,s.jsx)(s.Fragment,{})}},lm=function(e){var t=e.active,a=e.index,i=e.onSketchFlowComplete;return t&&(0,s.jsx)("div",{className:"flex h-full w-full items-end justify-center px-4",children:(0,s.jsx)(rm,{index:a,onSketchFlowComplete:i})})},cm=function(e){var t=e.trigger,a=(0,i.useRef)([]),n=(0,i.useContext)(rx),r=n.sketchToImageTutorial,l=n.setSketchToImageTutorial;return(0,i.useEffect)((function(){var e=I.p8.timeline();return"start"===r&&a.current.forEach((function(e){var t=e.getTotalLength();I.p8.set(e,{strokeDasharray:t,strokeDashoffset:t,opacity:0})})),t&&a.current.forEach((function(t,s){e.set(t,{opacity:1}),e.to(t,{strokeDashoffset:0,duration:.2,delay:.1,ease:"power1.inOut",onComplete:function(){0===s&&l("generate-cta"),s+1===a.current.length&&l("activate-cta")}})})),function(){e.kill()}}),[t,l]),(0,s.jsx)("svg",{height:"100%",viewBox:"0.00 0.00 191.00 320.00",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsxs)("g",{strokeLinecap:"round",transform:"translate(6.00, 4.00)",id:"\ub808\uc774\uc5b4_2",children:[(0,s.jsx)("path",{ref:function(e){return a.current[0]=e},d:"M103.50,54.59 C103.50,54.59 102.56,55.06 102.56,55.06 C101.75,45.00 100.83,36.46 99.71,34.43 C99.30,33.73 92.51,29.85 90.37,29.74 C89.56,29.71 85.66,32.06 85.03,32.47 C82.89,33.96 81.38,35.49 81.18,36.67 C80.99,38.08 82.12,47.33 83.35,50.60 C84.27,53.00 89.20,60.74 89.43,61.04 C89.67,61.35 90.18,61.95 90.98,62.86",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{ref:function(e){return a.current[1]=e},d:"M90.98,69.48 C90.98,69.48 90.26,69.02 90.26,69.02 C89.99,71.86 90.40,76.29 91.55,78.72 C91.94,79.54 93.55,82.57 93.50,83.30 C93.45,83.90 91.56,86.79 91.38,87.42 C91.06,88.53 91.46,91.84 92.00,92.98 C92.51,94.02 94.42,95.51 94.80,96.01 C95.85,97.43 95.96,99.70 95.11,102.19 C94.25,104.71 94.25,106.95 95.23,108.66 C95.48,109.09 97.67,111.75 98.78,113.19",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{ref:function(e){return a.current[2]=e},d:"M98.07,114.14 C98.07,114.14 97.83,113.90 97.83,113.90 C98.21,115.64 98.32,116.84 98.16,118.21 C98.01,119.65 95.72,121.64 95.33,122.69 C94.74,124.33 95.80,126.37 97.50,127.96 C98.64,129.01 98.69,131.26 97.62,133.47 C97.11,134.54 95.59,137.99 95.98,139.38 C96.46,140.98 98.52,143.01 98.90,143.57 C100.35,145.73 100.77,152.60 100.87,157.28 C100.88,158.22 100.90,159.17 100.91,160.11 C100.91,161.25 100.91,162.39 100.91,163.53",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{ref:function(e){return a.current[3]=e},d:"M95.71,169.20 C95.46,169.01 95.23,168.88 95.02,168.83 C91.67,168.26 87.30,166.68 82.05,164.20 C77.05,161.83 73.12,160.51 71.54,161.52 C70.79,162.01 67.79,164.21 66.81,164.52 C65.63,164.89 62.35,164.47 61.52,164.58 C59.49,164.89 52.94,170.08 49.95,171.40 C44.89,173.61 31.84,181.35 30.17,183.07 C29.09,184.23 27.17,190.16 27.86,192.22 C28.35,193.74 28.28,194.91 27.43,196.08 C26.81,196.93 23.78,200.07 23.07,201.33 C22.53,202.30 21.63,205.82 21.74,206.85 C22.04,209.00 23.94,211.97 24.50,212.67 C26.20,214.83 26.67,223.07 28.00,225.28 C29.78,228.22 31.08,232.80 31.32,233.96 C31.37,234.25 31.41,234.56 31.43,234.89",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{ref:function(e){return a.current[4]=e},d:"M24.10,215.99 C23.29,216.13 22.73,216.61 21.51,218.40 C19.32,221.54 13.82,229.39 13.63,229.75 C12.70,231.68 12.29,233.91 12.41,236.39 C12.42,236.63 13.08,246.41 13.89,247.50 C14.79,248.59 15.50,249.20 16.02,249.33 C17.33,249.60 19.52,247.87 21.14,245.56 C24.69,240.38 26.89,237.68 27.93,236.78 C28.23,236.53 28.76,236.14 29.54,235.60",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{ref:function(e){return a.current[5]=e},d:"M33.32,240.33 C33.40,239.96 33.48,239.59 33.56,239.22 C33.56,239.22 33.56,239.21 33.56,239.21 C32.56,244.20 32.36,248.32 34.50,251.42 C34.99,252.12 38.15,255.64 38.88,256.59 C40.31,258.46 40.88,263.97 41.18,267.62 C41.84,274.64 43.95,285.54 45.45,288.90 C46.09,290.24 48.48,292.64 49.43,292.47 C50.87,292.13 52.36,289.48 52.53,287.32 C52.61,286.08 53.15,275.38 52.88,271.46 C52.70,269.09 51.67,259.41 51.81,258.95 C51.96,258.50 52.49,257.49 53.41,255.93 C55.14,258.09 57.12,261.39 58.03,266.31 C58.42,268.52 60.56,284.41 60.75,285.12 C61.16,286.51 64.57,289.55 66.15,290.89 C67.56,290.00 68.17,289.44 68.81,288.30 C70.00,286.08 70.35,280.81 70.24,275.53 C70.15,273.08 69.28,257.85 69.35,257.53 C69.43,257.22 69.70,256.77 70.18,256.16",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{ref:function(e){return a.current[6]=e},d:"M71.13,257.82 C71.67,256.31 72.05,255.43 72.26,255.18 C72.61,254.79 79.58,255.51 84.36,254.80 C89.32,254.04 105.01,251.14 105.18,251.13 C105.57,251.11 106.36,251.13 107.52,251.20",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{ref:function(e){return a.current[7]=e},d:"M108.47,252.85 C108.47,252.85 108.31,252.02 108.31,252.02 C109.51,252.52 111.11,254.10 111.85,255.81 C112.10,256.42 115.20,276.27 115.59,276.96 C116.54,278.59 117.52,279.65 118.53,280.13 C119.87,280.72 122.23,279.17 122.71,277.75 C124.02,273.28 122.25,255.89 121.94,254.16 C121.90,253.94 121.82,253.70 121.70,253.45 C121.70,253.45 121.46,253.18 121.46,253.18 C122.74,254.39 123.36,255.40 123.86,257.37 C126.25,266.50 129.12,273.63 131.48,275.96 C132.86,277.25 135.92,278.18 137.07,277.48 C138.31,276.65 139.52,274.04 139.70,272.18 C140.03,267.75 140.00,260.80 139.76,257.61 C139.45,253.69 137.82,243.82 137.83,243.66 C137.84,243.36 137.98,242.88 138.24,242.22",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{ref:function(e){return a.current[8]=e},d:"M104.45,56.72 C104.45,56.72 104.24,56.65 104.24,56.65 C105.94,55.64 107.11,55.03 109.38,53.98 C113.28,52.15 119.47,49.28 119.77,49.08 C120.00,48.94 120.17,48.72 120.28,48.44",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{ref:function(e){return a.current[9]=e},d:"M123.83,47.97 C123.83,47.97 123.66,48.18 123.66,48.18 C123.66,48.18 123.37,48.19 123.37,48.19 C123.20,45.25 122.85,37.53 123.30,34.94 C123.94,31.47 128.12,24.32 129.29,23.13 C130.20,22.26 132.11,22.11 133.53,22.70 C134.98,23.37 136.65,25.12 137.33,26.72 C138.26,28.99 139.36,35.39 139.27,37.92 C139.17,40.21 138.09,46.80 138.00,47.52 C137.95,47.93 137.87,48.71 137.77,49.86",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{ref:function(e){return a.current[10]=e},d:"M141.79,53.88 C141.79,53.88 141.32,53.41 141.32,53.41 C143.57,56.05 145.92,59.29 147.35,63.70 C147.92,65.49 154.36,89.08 156.21,92.71 C157.47,94.62 159.84,98.72 160.49,101.91 C160.73,103.14 161.22,106.11 161.40,107.29",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{ref:function(e){return a.current[11]=e},d:"M112.25,94.53 C112.25,94.53 111.78,94.35 111.78,94.35 C113.65,96.63 118.78,102.94 120.06,104.59 C124.13,109.79 126.48,112.00 130.38,114.17 C133.94,116.09 143.03,120.13 143.92,120.35 C146.24,120.90 148.74,120.74 150.28,119.92 C153.26,118.27 157.42,114.83 158.25,112.62 C158.67,111.48 159.34,108.17 159.75,105.87",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{ref:function(e){return a.current[12]=e},d:"M146.75,106.34 C146.75,106.34 145.92,106.34 145.92,106.34 C145.92,106.34 145.80,106.44 145.80,106.44 C147.61,106.39 150.40,105.94 151.61,105.13 C152.82,104.32 155.10,101.35 156.48,99.26 C156.48,99.26 156.11,99.74 156.11,99.74",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{ref:function(e){return a.current[13]=e},d:"M153.37,104.69 C153.37,104.69 153.25,104.69 153.25,104.69 C153.25,104.69 153.01,104.87 153.01,104.87 C153.00,106.13 153.13,107.17 153.58,109.25 C153.96,110.99 154.59,113.88 154.85,115.04 C154.85,115.04 155.02,115.08 155.02,115.08",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{ref:function(e){return a.current[14]=e},d:"M125.72,74.91 C125.72,74.91 124.77,74.99 124.77,74.99 C124.77,74.99 124.54,76.09 124.54,76.09",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{ref:function(e){return a.current[15]=e},d:"M143.44,68.77 C143.36,68.60 143.29,68.50 143.24,68.45 C143.20,68.41 143.11,68.35 142.97,68.29 C142.97,68.29 143.60,67.49 143.60,67.49 C143.60,67.49 143.68,68.53 143.68,68.53",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{ref:function(e){return a.current[16]=e},d:"M137.06,127.61 C136.69,125.03 136.71,124.11 137.17,123.21 C137.25,123.05 137.34,122.75 137.44,122.32 C136.16,125.11 135.64,126.57 135.37,128.41 C135.06,130.89 134.98,133.16 135.46,134.18 C136.18,135.66 139.43,138.69 140.22,139.45 C141.05,140.25 141.22,141.75 140.88,143.45 C140.54,145.04 139.51,148.97 139.41,149.74 C139.19,151.50 139.85,154.95 140.71,156.50 C141.32,157.58 143.82,161.19 144.08,162.39 C144.44,164.09 143.59,168.41 143.33,169.55 C142.88,171.54 143.09,175.01 143.80,176.93 C144.29,178.19 147.03,181.77 147.72,182.85 C148.70,184.38 149.69,187.69 149.67,189.35 C149.64,190.14 148.84,194.84 148.72,195.35 C148.59,195.89 148.25,197.18 147.70,199.21",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"}),(0,s.jsx)("path",{ref:function(e){return a.current[17]=e},d:"M146.51,203.47 C146.51,203.47 145.33,203.54 145.33,203.54 C145.76,204.84 148.25,212.81 148.04,215.24 C147.79,217.74 143.49,225.49 142.99,229.20 C142.83,230.40 142.54,234.77 142.18,235.88 C141.68,237.46 139.57,241.09 139.53,241.36 C139.48,241.81 139.60,242.80 139.90,244.35",fill:"none",stroke:"rgb(255, 255, 255)",strokeWidth:"5.00",strokeOpacity:"1.00",strokeLinejoin:"round"})]})})},om=function(e){var t=e.wrapperRef,a=(0,P.qr)().appName,n=(0,i.useContext)(rx),r=n.screen,l=n.setScreen,o=n.sketchToImageTutorial,d=n.setSketchToImageTutorial,u=n.photoIndex,p=n.imageList,x=n.setImageList,f=n.setSketchTutorialComplete,m=(0,i.useState)(!1),h=m[0],A=m[1],E=(0,i.useState)(1),g=E[0],v=E[1],C=(0,i.useRef)(null),j=(0,i.useRef)(null),N=(0,i.useRef)(null),T=N.current,w=(0,i.useCallback)((function(){l("gallery"),"finish"!==o&&"carousel"!==o&&d("start")}),[o]),_=Vf(t,C,j,w),b=_.open,S=_.close,y=(0,i.useCallback)((function(){d("finish"),f(!0),p[u].isSketched=!0,x((0,G.Z)(p)),S()}),[o]),R=(0,i.useCallback)((function(){I.ZP.to(T,{scale:.895,translateY:-24,onComplete:function(){d("carousel")}})}),[T]);(0,i.useEffect)((function(){"sketch-to-image"!==r.current||"gallery"!==r.prev&&"image"!==r.prev||"gallery"!==a||b(),"sketch-to-image"===r.current&&"gallery"!==a&&S()}),[r,a]),(0,i.useEffect)((function(){"start"===o&&A(!1),"drawing"===o&&A(!0),"generating-complete"===o&&R()}),[o]);var L=["generate-cta"].includes(o),O=["activate-cta"].includes(o),M=["start"].includes(o),D=["generating-image"].includes(o),k=["start","drawing"].includes(o),B=["generating-image","generating-complete","carousel"].includes(o),U=["carousel","finish"].includes(o);return(0,s.jsx)("div",{className:"gpu c-app-sketch-to-image absolute z-9999",children:(0,s.jsx)("div",{className:"absolute inset-0 hidden h-screen w-screen overflow-hidden text-center",ref:C,children:(0,s.jsxs)("div",{className:"absolute inset-0",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-50","data-ref":"app-view-background"}),(0,s.jsx)("div",{className:"gpu absolute inset-0 hidden h-full w-full overflow-x-hidden overflow-y-hidden bg-black",style:{bottom:"80px"},ref:j,children:(0,s.jsxs)("div",{className:"absolute inset-0 grid h-full h-[calc(100vh-80px)] w-screen grid-rows-[1.5fr_auto_3fr] xxs:grid-rows-[30px_auto_116px]",children:[(0,s.jsx)("div",{})," ",(0,s.jsxs)("div",{className:"relative flex w-screen items-center justify-center overflow-hidden",children:[(0,s.jsx)(Jf,{active:U,setCarouselIndex:v}),!U&&(0,s.jsxs)("div",{className:"relative flex w-screen items-center justify-center",ref:N,children:[(0,s.jsxs)(bx,{active:D,isWhiteIcon:!0,children:[(0,s.jsx)("img",{src:c,className:"w-screen xxs:mt-[-40px]",alt:""}),(0,s.jsx)("div",{className:"absolute left-7 bottom-14 h-1/2",children:(0,s.jsx)(cm,{trigger:h})})]}),(0,s.jsx)(nm,{active:M}),(0,s.jsx)(im,{active:D})]})]}),(0,s.jsx)(lm,{active:U,index:g,onSketchFlowComplete:y}),(0,s.jsxs)("div",{className:H()("flex h-full w-screen flex-col justify-around xxs:justify-between",{hidden:B}),children:[(0,s.jsx)("div",{className:"flex justify-center pt-4 xxs:pt-2",children:(0,s.jsxs)("div",{className:"grid grid-cols-[1fr_1fr_auto_1fr_1fr] gap-x-2 rounded-[54px] bg-[#131313] py-[11px] px-[19px]",children:[(0,s.jsx)("button",{className:"relative flex items-center justify-center rounded-full bg-[#343434] p-1",children:(0,s.jsx)(Wf,{})}),(0,s.jsx)("button",{className:"flex items-center justify-center p-1",children:(0,s.jsx)(Xf,{})}),(0,s.jsx)("div",{className:"h-full w-[1px] bg-white"}),(0,s.jsx)("button",{className:"flex items-center justify-center p-1 rtl:-scale-x-100 rtl:transform",children:(0,s.jsx)(Kf,{})}),(0,s.jsx)("button",{className:"flex transform items-center justify-center p-1 ltr:scale-x-[-1] rtl:-scale-x-100 rtl:-scale-x-[-1] rtl:transform",children:(0,s.jsx)(Kf,{})})]})}),(0,s.jsxs)("div",{className:"relative flex h-[54px] items-center xxs:pt-4",children:[(0,s.jsx)(tm,{active:k}),(0,s.jsx)($f,{active:O,show:L})]})]})]})})]})})})},dm="/_next/static/media/icon-ai-microphone.e55437b1.svg",um="/_next/static/media/keyboard_toolbar.a1a57702.jpg",pm=function(e){var t=e.defaultText,a=e.animatedText,n=e.trigger,r=e.onComplete,l=e.reset,c=(0,i.useRef)(null),o=(0,i.useRef)(null);return(0,i.useEffect)((function(){o.current&&(o.current.kill(),o.current=null);var e=c.current;if(n){var s=new Intl.Segmenter(g.t.getLanguage(),{granularity:"grapheme"}).segment(a),i=Array.from(s).map((function(e){return" "===e.segment?" ":e.segment}));e.innerHTML="",i.forEach((function(t){var a=document.createElement("span");a.className="word opacity-0",a.innerHTML=t,e.appendChild(a),e.appendChild(document.createTextNode(" "))}));var l=e.querySelectorAll(".word"),d=I.ZP.timeline();return o.current=d,l.forEach((function(e){var t=I.ZP.utils.interpolate([.1,.2],I.ZP.parseEase("power2.in")(Math.random()));d.set(e,{opacity:1}),d.fromTo(e,{color:"rgb(255 255 255, 1)"},{color:"rgb(255 255 255, 0)",duration:t,ease:"power2.inOut"})})),d.to({value:0},{duration:.6,onComplete:function(){r()}}),function(){o.current.kill()}}e.innerHTML=t}),[t,a,n]),(0,i.useEffect)((function(){var e=c.current;l&&(o.current&&I.ZP.killTweensOf(o.current),e.innerHTML=t)}),[l]),(0,s.jsx)("div",{className:"c-app-gallery__search-input--gradient flex bg-clip-text text-base font-semibold text-transparent",ref:c})},xm=a(40645),fm=function(e){var t=e.name,a=e.img,i=e.section;return(0,s.jsxs)("div",{className:"w-fit",children:[a?(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("img",{className:"h-20 w-20 rounded-2xl",alt:t,src:a})}):(0,s.jsx)("div",{className:H()("h-20 w-20 rounded-2xl border-[1px] border-black/10",{"bg-[#FF00006E]":"location"==i})}),(0,s.jsx)("div",{className:"mt-1 text-[10px]",children:t})]})},mm=function(e){var t=e.name,a=e.img;return(0,s.jsxs)("div",{className:"w-fit",children:[a?(0,s.jsx)("img",{src:a,alt:t,className:"h-20 w-20 rounded-full"}):(0,s.jsx)("div",{className:"h-20 w-20 rounded-full bg-[#D8D8D8]"}),(0,s.jsx)("div",{className:"mt-1 text-[10px]",children:t})]})},hm="/_next/static/media/icon-selfie.8a186a8d.svg",Am=[{name:g.t["@PARADIGM_GALLERY_SEARCH_DASHBAORD_PEOPLE_ONE"],avatar:"/_next/static/media/gallery-search-haley.e13fbaf7.jpg"},{name:g.t["@PARADIGM_GALLERY_SEARCH_DASHBAORD_PEOPLE_TWO"],avatar:"/_next/static/media/gallery-search-freya.776a169e.jpg"},{name:g.t["@PARADIGM_GALLERY_SEARCH_DASHBAORD_PEOPLE_THREE"],avatar:"/_next/static/media/gallery-search-rami.b08bd0f7.jpg"},{name:g.t["@PARADIGM_GALLERY_SEARCH_DASHBAORD_PEOPLE_FOUR"],avatar:"/_next/static/media/gallery-search-mickey.e23ba059.jpg"}],Em=[{name:g.t["@PARADIGM_GALLERY_SEARCH_DASHBAORD_LOCATIONS_ONE"],img:"/_next/static/media/gallery-search-recent.5ff64895.png"},{name:g.t["@PARADIGM_GALLERY_SEARCH_DASHBAORD_LOCATIONS_TWO"],img:"/_next/static/media/gallery-search_melbourne.46886a45.jpg"},{name:g.t["@PARADIGM_GALLERY_SEARCH_DASHBAORD_LOCATIONS_THREE"],img:"/_next/static/media/gallery-search-seoul.290defcf.jpg"}],gm=function(e){var t=e.close;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"sticky top-0 flex w-full justify-start px-5 pb-3 pt-10 xxs:pt-4",children:(0,s.jsxs)("div",{className:"flex w-full items-center justify-between",children:[(0,s.jsx)("button",{"data-ref":"app-gallery-search-button-close",className:"rtl:-scale-x-100 rtl:transform",style:{width:"30px",height:"40px"},onClick:t,children:(0,s.jsx)(xm.Z,{})}),(0,s.jsx)("p",{className:"text-xl font-semibold ltr:mr-auto ltr:ml-4 rtl:ml-auto rtl:mr-4",children:g.t["@PARADIGM_GALLERY_SEARCH_DASHBOARD_ACTIVITY_TITLE"]}),(0,s.jsx)("div",{children:(0,s.jsx)(Gr,{})})]})}),(0,s.jsx)("div",{className:"w-full px-5 pt-8",children:(0,s.jsxs)("div",{className:"flex w-full items-center justify-between",children:[(0,s.jsxs)("div",{className:"align-text-bottom text-base font-semibold",children:[(0,s.jsx)("span",{children:g.t["@PARADIGM_GALLERY_SEARCH_DASHBAORD_PEOPLE_HEADER"]}),(0,s.jsx)("span",{className:"mx-2 text-[#D5D5D5]",children:"7"})]}),(0,s.jsx)("img",{src:Ll,className:"rtl:-scale-x-100 rtl:transform",alt:"arrow right icon"})]})}),(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"relative w-full overflow-x-auto pt-6 ltr:pl-5 rtl:pr-5",children:(0,s.jsx)("div",{className:"flex gap-x-2.5",children:Am.map((function(e,t){var a=e.name,i=e.avatar;return(0,s.jsx)(mm,{name:a,img:i},t+a)}))})})}),(0,s.jsx)("div",{className:"w-full px-5 pt-10",children:(0,s.jsxs)("div",{className:"flex w-full items-center justify-between",children:[(0,s.jsxs)("div",{className:"align-text-bottom text-base font-semibold",children:[(0,s.jsx)("span",{children:g.t["@PARADIGM_GALLERY_SEARCH_DASHBAORD_LOCATIONS_HEADER"]}),(0,s.jsx)("span",{className:"mx-2 text-[#D5D5D5]",children:"2"})]}),(0,s.jsx)("img",{src:Ll,className:"rtl:-scale-x-100 rtl:transform",alt:"arrow right icon"})]})}),(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"relative w-full overflow-x-auto px-5 pt-6",children:(0,s.jsx)("div",{className:"flex gap-x-2.5",children:Em.map((function(e,t){var a=e.name,i=e.img;return(0,s.jsx)(fm,{name:a,section:"location",img:i},t+a)}))})})}),(0,s.jsx)("div",{className:"w-full px-5 pt-10",children:(0,s.jsx)("div",{className:"flex w-full items-center justify-between",children:(0,s.jsx)("div",{className:"align-text-bottom text-base font-semibold",children:(0,s.jsx)("span",{children:g.t["@PARADIGM_GALLERY_SEARCH_DASHBAORD_ACTIVITY_HEADER"]})})})}),(0,s.jsx)("div",{className:"relative w-full whitespace-pre-line",children:(0,s.jsx)("div",{className:"relative w-full overflow-x-auto px-5 pt-3",children:(0,s.jsxs)("div",{className:"flex gap-x-2.5",children:[(0,s.jsxs)("div",{className:"flex flex-1 items-center gap-x-1",children:[(0,s.jsx)("img",{src:wf,alt:"icon ai"}),(0,s.jsx)("span",{className:"text-xs font-normal text-black",children:g.t["@PARADIGM_GALLERY_SEARCH_DASHBOARD_ACTIVITY_TEXT-AI-EDITED"]})]}),(0,s.jsxs)("div",{className:"flex flex-1 items-center gap-x-1",children:[(0,s.jsx)(dx,{}),(0,s.jsx)("span",{className:"text-xs font-normal text-black",children:g.t["@PARADIGM_GALLERY_SEARCH_DASHBOARD_ACTIVITY_TEXT-EDIT"]})]})]})})}),(0,s.jsx)("div",{className:"w-full px-5 pt-10",children:(0,s.jsx)("div",{className:"flex w-full items-center justify-between",children:(0,s.jsxs)("div",{className:"align-text-bottom text-base font-semibold",children:[(0,s.jsx)("span",{children:g.t["@PARADIGM_GALLERY_SEARCH_DASHBOARD_SHOT_TYPES_HEADER"]}),(0,s.jsx)("span",{className:"mx-2 text-[#D5D5D5]",children:"1"})]})})}),(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"relative w-full overflow-x-auto px-5 pt-3",children:(0,s.jsx)("div",{className:"flex gap-x-2.5",children:(0,s.jsxs)("div",{className:"flex flex-1 items-center gap-x-1",children:[(0,s.jsx)("img",{src:hm,alt:"icon ai"}),(0,s.jsxs)("span",{className:"text-xs font-normal text-black",children:[g.t["@PARADIGM_GALLERY_SEARCH_DASHBOARD_SHOT_TYPES_TEXT-SELFIE"],(0,s.jsx)("span",{className:"mx-1 text-[#D5D5D5]",children:"4"})]})]})})})})]})},vm={eslatam:"eslatam:text-[3.3vw]",de:"de:text-[3.3vw]",es:"es:text-[3.3vw]",fr:"fr:text-[3.3vw]",id:"id:text-[3.6vw]",ca:"ca:text-[3.5vw]",it:"it:text-[3.5vw]",nl:"nl:text-[3.5vw]",se:"se:text-[3.5vw]",tr:"tr:text-[3.5vw]",br:"br:text-[3.5vw]",vn:"vn:text-[3.5vw]",ru:"ru:text-[3.5vw]"},Cm={eslatam:"eslatam:text-[3.3vw]",de:"de:text-[3.3vw]",es:"es:text-[3.3vw]",fr:"fr:text-[3.3vw]",id:"id:text-[3.6vw]",ca:"ca:text-[3.5vw]",it:"it:text-[3.5vw]",nl:"nl:text-[3.5vw]",se:"se:text-[3.5vw]",tr:"tr:text-[3.5vw]",br:"br:text-[3.5vw]",vn:"vn:text-[3.5vw]",ru:"ru:text-[3.5vw]"},jm={eslatam:"eslatam:text-[3.3vw]",de:"de:text-[3.3vw]",es:"es:text-[3.3vw]",fr:"fr:text-[3.3vw]",id:"id:text-[3.6vw]",ca:"ca:text-[3.5vw]",it:"it:text-[3.5vw]",nl:"nl:text-[3.5vw]",se:"se:text-[3.5vw]",tr:"tr:text-[3.5vw]",br:"br:text-[3.5vw]",vn:"vn:text-[3.5vw]",ru:"ru:text-[3.5vw]"},Nm=H()(Object.values(vm)),Tm=H()(Object.values(Cm)),wm=H()(Object.values(jm)),_m=function(e){var t=e.close,a=(0,i.useRef)(null);return(0,i.useEffect)((function(){var e=a.current;I.ZP.to(e,{opacity:1,duration:.4})}),[]),(0,s.jsx)("div",{className:"flex h-[calc(100vh-140px)] flex-col justify-between opacity-0",ref:a,children:(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"sticky top-0 flex w-full justify-start px-5 pb-3 pt-10 text-start xxs:pt-4",children:(0,s.jsxs)("div",{className:"flex w-full items-center justify-between gap-x-2",children:[(0,s.jsx)("button",{"data-ref":"app-gallery-search-button-close",style:{width:"30px",height:"40px"},onClick:t,className:"rtl:-scale-x-100 rtl:transform",children:(0,s.jsx)(xm.Z,{})}),(0,s.jsx)("div",{className:"w-full text-xl font-semibold",children:g.t["@PARADIGM_GALLERY_SEARCH_RESULTS_HEADER"]}),(0,s.jsx)("div",{children:(0,s.jsx)(Gr,{})})]})}),(0,s.jsx)("div",{className:"w-full px-5 pt-8 text-start font-semibold xxs:pt-0",children:(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex w-full items-center justify-between py-1 text-primary-blue-900",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:H()("font-bold text-black",Nm),children:g.t["@PARADIGM_GALLERY_SEARCH_RESULTS_ALL_RESULTS"]}),(0,s.jsx)("span",{className:H()("mx-2 font-light font-bold text-black/50",Tm),children:"".concat(j.length," ").concat(g.t["@PARADIGM_GALLERY_SEARCH_RESULTS_ITEMS"])})]}),(0,s.jsx)("div",{className:H()("font-light",wm),children:g.t["@PARADIGM_GALLERY_SEARCH_RESULTS_GROUP_BY_DATE"]})]}),(0,s.jsx)("div",{className:"grid grid-cols-4 gap-1",children:j.map((function(e,t){return(0,s.jsx)("img",{src:e.thumb,alt:""},"".concat(e.thumb,"-").concat(t))}))})]})})]})})},bm=function(){return(0,s.jsx)("svg",{width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M6.39022 6.62964L12.1455 12.3706M12.1457 6.62964L6.39043 12.3706M17.2879 9.50024C17.2879 5.08124 13.697 1.50024 9.26798 1.50024C4.83897 1.50024 1.24805 5.08124 1.24805 9.50024C1.24805 13.9182 4.83897 17.5002 9.26798 17.5002C13.697 17.5002 17.2879 13.9182 17.2879 9.50024Z",stroke:"black",strokeOpacity:"0.35",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},Sm="/_next/static/media/gallery-search-input-background.1576a701.svg",ym=function(e){var t=e.wrapperRef,a=(0,P.qr)().appName,n=(0,i.useContext)(rx),r=n.screen,l=n.setScreen,c=n.searchTutorial,o=n.setSearchTutorial,d=n.setSearchTutorialComplete,u=n.searchTutorialComplete,p=(0,i.useState)(!1),x=p[0],f=p[1],m=(0,i.useState)(!1),h=m[0],A=m[1],E=(0,i.useRef)(null),v=(0,i.useRef)(null),C=(0,i.useRef)(null),j=(0,i.useRef)(null),N=(0,i.useRef)(null),T=(0,i.useRef)(null),w=(0,i.useRef)(null),_=(0,i.useRef)(null),b=I.ZP.timeline();_.current=b;var S=function(){var e=T.current,t=C.current,a=j.current,s=N.current,i=w.current;I.ZP.killTweensOf(_.current);var n=s.clientHeight;t.classList.remove("blur-sm"),I.ZP.set(e,{backgroundColor:"rgba(0, 0, 0, 0)"}),I.ZP.set([a,s],{opacity:0}),I.ZP.set(i,{translateY:n}),I.ZP.set(s,{y:n}),f(!1)},y=Vf(t,E,v,(function(){l("gallery"),S(),o("start"),A(!1)})),R=y.open,L=y.close;return(0,i.useEffect)((function(){"search"===r.current&&"gallery"===r.prev&&"gallery"===a&&(R(),S()),"search"===r.current&&"gallery"!==a&&L()}),[r,a]),(0,i.useEffect)((function(){var e=T.current,t=C.current,a=j.current,s=N.current,i=w.current,n=e.getBoundingClientRect().bottom;x?(t.classList.add("blur-sm"),b.to(a,{opacity:1,duration:.5},0),b.to(i,{y:0,duration:.5},0),b.to(e,{backgroundColor:"rgba(0, 0, 0, 0.35)",duration:.5},0),b.fromTo(s,{opacity:1,y:n},{y:0,duration:.5,onComplete:function(){b.to({value:0},{duration:1,onComplete:function(){A(!0),o("speechToText"),b.to(a,{opacity:0,duration:1})}})}},0)):S()}),[x]),(0,s.jsx)("div",{className:"gpu absolute",children:(0,s.jsx)("div",{className:"absolute inset-0 hidden h-screen w-screen overflow-hidden text-center",ref:E,children:(0,s.jsxs)("div",{className:"absolute inset-0",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-50","data-ref":"app-view-background"}),(0,s.jsxs)("div",{className:"gpu absolute inset-0 hidden h-full w-full overflow-x-hidden overflow-y-hidden",style:{bottom:"80px"},ref:v,children:[(0,s.jsx)("div",{ref:C,className:"h-[calc(100%-60px)] overflow-x-auto",children:"results"===c?(0,s.jsx)(_m,{close:L}):(0,s.jsx)(gm,{close:L})}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 flex h-[calc(100vh-70px)] items-end bg-black/30 xxs:h-[calc(100vh-50px)]",ref:T,children:(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)("div",{className:"px-5",ref:j,children:(0,s.jsxs)("div",{className:"flex w-full flex-col gap-y-2 text-xs ltr:pl-3 xxs:hidden",children:[(0,s.jsx)("div",{className:"w-fit rounded-3xl bg-white/80 px-4 py-3",children:g.t["@PARADIGM_GALLERY_SEARCH_RECENT_PILL_ONE"]}),(0,s.jsx)("div",{className:"w-fit rounded-3xl bg-white/80 px-4 py-3",children:g.t["@PARADIGM_GALLERY_SEARCH_RECENT_PILL_TWO"]}),(0,s.jsx)("div",{className:"w-fit rounded-3xl bg-white/80 px-4 py-3",children:g.t["@PARADIGM_GALLERY_SEARCH_RECENT_PILL_THREE"]})]})}),(0,s.jsx)("button",{className:"w-full px-5 pb-4 pt-2.5",ref:w,onClick:function(){"start"===c&&(f(!0),o("searchOpen"))},children:(0,s.jsx)(ie,{path:"/app/gallery/gallery-search/what-are-you-looking-for",page:"Gallery",children:(0,s.jsxs)("div",{className:"pointer-events-auto relative flex w-full items-center justify-between rounded-[60px] bg-primary-gray-50 bg-cover bg-no-repeat py-[18px] px-5 shadow-[0_2.5px_8px_0_rgba(0,0,0,.15)]",style:x?{backgroundImage:"url(".concat(Sm,")")}:{},children:["results"===c?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"text-base font-bold",children:g.t["@PARADIGM_GALLERY_SEARCH_INPUT_SEARCH"]}),(0,s.jsx)(bm,{})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(pm,{defaultText:g.t["@PARADIGM_GALLERY_SEARCH_INPUT_PLACEHOLDER"],animatedText:g.t["@PARADIGM_GALLERY_SEARCH_INPUT_SEARCH"],trigger:h,onComplete:function(){f(!1),o("results"),d(!0)},reset:"start"===c}),(0,s.jsx)("img",{src:dm,alt:"microphone icon"})]}),(0,s.jsx)(Rr,{type:"circle",hidden:"start"!==c||u,width:"100%",height:"100%"})]})})}),(0,s.jsxs)("div",{className:"pointer-events-none",ref:N,children:[(0,s.jsx)("img",{src:um,className:"w-screen",alt:"keyboard toolbar"}),(0,s.jsx)("img",{src:"/assets/images/gallery/keyboard_input.png?version=".concat(M.K0),className:"w-screen",alt:"virtual keyboard"})]})]})})]})]})})})},Rm=function(e){var t=(0,i.useState)(1),a=t[0],s=t[1];return(0,i.useEffect)((function(){if(e){var t,a={content:e.querySelector('*[data-ref="app-content"]'),headline:e.querySelector('*[data-ref="app-header-headline"]'),title:e.querySelector('*[data-ref="app-header-title"]'),cover:e.querySelector('*[data-ref="app-header-cover"]')};null===(t=a.content)||void 0===t||t.addEventListener("scroll",(function(){var t,i=e.getBoundingClientRect(),n=(((null===(t=a.headline)||void 0===t?void 0:t.getBoundingClientRect())||{x:0,y:0}).y-i.y)/(120-i.y);n=(n=n<0?0:n)>1?1:n,I.ZP.set(a.headline,{opacity:n}),a.cover&&I.ZP.set(a.cover,{opacity:n}),I.ZP.set(a.title,{opacity:1-(n>.9?1:n)}),s(n)}))}}),[e,s]),{percentageHeadlineY:a}},Lm=i.memo(yf),Im=function(){var e=(0,i.useContext)(rx),t=e.editTutorial,a=e.remasterTutorial,n=e.setScreen,r=e.setPhotoIndex,l=e.imageList,c=e.finishedEditTutorial,o=e.searchTutorialComplete,d=e.sketchTutorialComplete,u=(0,P.qr)(),p=u.appName,x=u.setAppActiveData,f=(0,i.useRef)(null),m=(0,i.useRef)(null),h=(0,i.useRef)(null),A=(0,i.useRef)(null),E=(0,i.useRef)(null),C=(0,i.useRef)([]),j=function(e){n("image"),r(e)};(0,i.useEffect)((function(){var e=f.current,t=m.current,a=h.current,s=A.current;"gallery"===p?x({appContainer:e,appViewContent:a,appViewContainer:t,appViewIcon:s}):n("gallery")}),[p]);var N=(0,i.useMemo)((function(){var e=l.reduce((function(e,t){var a,s=t.date;return e[s]=null!==(a=e[s])&&void 0!==a?a:[],e[s].push((0,_.Z)({},t)),e}),{}),t=0;return Object.keys(e).forEach((function(a){e[a].forEach((function(e){e.index=t,t++}))})),e}),[l]);return Rm(m.current),(0,s.jsx)("div",{className:"absolute inset-0","data-component":"app-view","data-app-view-name":"gallery","data-track-title":"Gallery","data-track-path":"/app/gallery",style:{display:"none"},ref:f,children:(0,s.jsxs)("div",{className:"absolute inset-0 overflow-hidden","data-ref":"app-view-container",style:{transformOrigin:"0% 0%",transform:"translate(0px, 0px)"},ref:m,children:[(0,s.jsxs)("div",{className:"gpu absolute inset-0","data-ref":"app-view-content",style:{minWidth:"100vw",minHeight:"100vh",opacity:1,transformOrigin:"0px 0px",transform:"translate(0px, 0px)"},"data-component":"app-gallery",ref:h,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-50","data-ref":"app-view-background"}),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 text-primary-gray-400",children:(0,s.jsxs)("div",{className:"relative h-full w-full overflow-x-hidden",children:[(0,s.jsx)("div",{className:"absolute left-0 right-0 overflow-hidden",style:{top:40,height:"calc(100% - 170px)"},"data-component":"app-header",children:(0,s.jsx)("div",{className:"scrolling-touch absolute inset-0 overflow-y-auto","data-scroll":"gallery","data-ref":"app-content",ref:E,children:(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)("div",{className:"relative px-6 py-20 text-center",children:(0,s.jsx)("div",{"data-ref":"app-header-headline",children:(0,s.jsxs)("div",{className:"text-4xl font-semibold leading-tight",children:[" ",g.t.GALLERY_PICTURES_H1," "]})})}),(0,s.jsx)("div",{className:"sticky top-0 z-30 bg-primary-gray-50 py-2",children:(0,s.jsx)("div",{className:"relative px-6",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-between",children:[(0,s.jsx)("div",{className:"text-xl opacity-0","data-ref":"app-header-title"}),(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-center gap-2",children:[(0,s.jsx)("div",{children:(0,s.jsx)(ie,{path:"/app/gallery/group",page:"Gallery",children:(0,s.jsx)(ht,{className:"flex h-[30px] w-[30px] items-center justify-center text-center",title:g.t["@PARADIGM_GALLERY_POP-UP-GROUPS_GROUPS_POP-UP-TITLE"],text:g.t["@PARADIGM_GALLERY_POP-UP-GROUPS_SIMILAR-IMAGES_POP-UP-TEXT"],cta:{text:g.t["GALLERY_POP-UP-GROUPS_POP-UP-OK"]},children:(0,s.jsx)(Jp,{})})})}),(0,s.jsx)("button",{className:"relative",onClick:function(){z.e.isGallerySearchEnabled&&n("search")},children:(0,s.jsxs)(ie,{path:"/app/gallery/gallery-search",page:"Gallery",children:[(0,s.jsx)(Rr,{type:"circle",hidden:o||!z.e.isGallerySearchEnabled,width:"35px",height:"35px"}),!o&&z.e.isGallerySearchEnabled&&(0,s.jsxs)("div",{className:"absolute -top-11 left-1/2 flex min-w-max -translate-x-1/2 transform items-center whitespace-nowrap rounded-3xl border-[1.5px] border-[#E5F0FB] bg-white px-2.5 py-1 before:absolute before:-bottom-[5px] before:left-1/2 before:h-[10px] before:w-[10px] before:-translate-x-1/2 before:rotate-[45deg] before:rounded-[2px] before:border-[1.5px] before:border-white before:border-b-[#E5F0FB] before:border-r-[#E5F0FB] before:bg-white before:content-[''] md:px-2.5 before:md:w-[10px]",children:[(0,s.jsx)("div",{children:(0,s.jsx)("img",{src:zp,alt:"","data-loader":"image","data-src":zp,className:"z-20 h-4 w-4 ltr:mr-1 rtl:ml-1"})}),(0,s.jsx)("span",{className:"text-[9px] font-medium leading-[2]",children:g.t["@PARADIGM_GALLERY_GALLERY_SEARCH_TUTORIAL_TEXT"]})]}),(0,s.jsx)($p,{width:25,height:25})]})}),(0,s.jsx)("div",{children:(0,s.jsx)(ie,{path:"/app/gallery/more-menu",page:"Gallery",children:(0,s.jsx)(ht,{className:"flex h-[30px] w-[30px] items-center justify-center text-center",title:g.t["GALLERY_MENU-POP-UP_MENU_POP-UP-TITLE"],text:function(e){return g.t.formatString(g.t["@PARADIGM_GALLERY_GALLERY_POP-UP-MENU_THREE-DOTS_POP-UP-TEXT"],(0,s.jsxs)("span",{className:"inline-flex min-w-max cursor-pointer text-primary-blue-900 underline",onClick:function(){e();var t=v.findIndex((function(e){return e.remastered}));(0,V.Kq)("/app/gallery/ai-icon",M.dC.Gallery),j(t)},children:[g.t["@PARADIGM_GALLERY_GALLERY_POP-UP-MENU_THREE-DOTS_POP-UP-PHOTO-ASSIST"],(0,s.jsx)("img",{src:ex,width:24,height:24,alt:""})]}))},cta:{text:g.t["GALLERY_MENU-POP_POP-UP-OK"]},children:(0,s.jsx)(Gr,{})})})})]})]})})}),(0,s.jsx)("div",{className:"relative w-full pt-3",children:(0,s.jsx)("div",{className:"relative w-full",children:Object.keys(N).map((function(e){return(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)("div",{className:"relative w-full px-4 text-sm font-bold",children:g.t[e]}),(0,s.jsx)("div",{className:"relative flex w-full flex-wrap px-3 py-4 pt-3",children:N[e].map((function(e){return(0,s.jsx)(ix,{imageState:e,index:e.index,tutorial:e.remastered&&"finish"!==a||e.edited&&!c||e.sketched&&!d,remastered:e.remastered&&"finish"!==a,edited:e.edited&&"finish"!==t,sketched:e.sketched&&!d,onClick:j,photosRef:C},e.index)}))})]},e)}))})})]})})}),(0,s.jsx)("div",{className:"absolute w-full",style:{bottom:80},children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-start",children:[(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsxs)("button",{className:"relative w-full",children:[(0,s.jsx)(qp,{}),(0,s.jsx)("div",{className:"pointer-events-none relative w-full",children:(0,s.jsx)("div",{className:"relative inline-block w-full",children:(0,s.jsxs)("div",{className:"flex justify-center",children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:"","data-ref":"button-dash-enabled",children:(0,s.jsxs)("div",{className:"c-app-gallery__button-dash--text text-xs font-semibold leading-none text-primary-blue-400",children:[(0,s.jsx)("img",{src:Wp,width:24,height:24,className:"mx-auto mb-[2px]",alt:""}),g.t.GALLERY_PICTURES_H1]})}),(0,s.jsx)("div",{className:"hidden","data-ref":"button-dash-disabled",children:(0,s.jsx)("div",{className:"c-app-gallery__button-dash--disabled--text text-base leading-none opacity-[35%]",children:g.t.GALLERY_PICTURES_H1})})]}),(0,s.jsx)("div",{className:"ml-1 hidden","data-ref":"notification",children:(0,s.jsx)("div",{className:"flex items-center justify-center rounded-full bg-primary-orange-300 text-xs text-white",style:{width:20,height:20},"data-ref":"app-messages-list-item-label-number",children:g.t.GENERIC_NUMBER_0})})]})})})]})}),(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)(ht,{title:g.t["GALLERY_POP-UP-ALBUMS_ALBUMS_POP-UP-TITLE"],text:g.t["GALLERY_POP-UP-ALBUMS_GROUP-PICTURES_POP-UP-TEXT"],cta:{text:g.t["GALLERY_POP-UP-ALBUMS_POP-UP-OK"]},children:(0,s.jsx)(ie,{path:"/app/gallery/albums",page:"Gallery",children:(0,s.jsxs)("button",{className:"relative w-full",children:[(0,s.jsx)(qp,{}),(0,s.jsx)("div",{className:"pointer-events-none relative w-full",children:(0,s.jsx)("div",{className:"relative inline-block w-full",children:(0,s.jsxs)("div",{className:"flex justify-center",children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)("div",{className:"hidden","data-ref":"button-dash-enabled",children:[(0,s.jsx)("div",{className:"c-app-gallery__button-dash--text text-base font-medium leading-none text-primary-blue-400",children:g.t["GALLERY_BOTTOM-NAV-BAR_ALBUMS_NAV"]}),(0,s.jsx)("div",{className:"c-app-gallery__button-dash--border relative top-[2px] w-full border border-solid border-primary-blue-400"})]}),(0,s.jsxs)("div",{className:"","data-ref":"button-dash-disabled",children:[(0,s.jsxs)("div",{className:"c-app-gallery__button-dash--disabled--text text-xs leading-none opacity-[35%]",children:[(0,s.jsx)("img",{src:Xp,width:24,height:24,className:"mx-auto mb-[2px] h-6",alt:""}),g.t["GALLERY_BOTTOM-NAV-BAR_ALBUMS_NAV"]]}),(0,s.jsx)("div",{className:"c-app-gallery__button-dash--border relative top-[2px] w-full border border-solid border-primary-blue-400 opacity-0"})]})]}),(0,s.jsx)("div",{className:"ml-1 hidden","data-ref":"notification",children:(0,s.jsx)("div",{className:"flex items-center justify-center rounded-full bg-primary-orange-300 text-xs text-white",style:{width:20,height:20},"data-ref":"app-messages-list-item-label-number",children:g.t.GENERIC_NUMBER_0})})]})})})]})})})}),(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)(ht,{title:g.t["GALLERY_POP-UP-STORIES_STORIES_POP-UP-TITLE"],text:g.t["GALLERY_POP-UP-STORIES_PICTURES-VIDEOS_POP-UP-TEXT"],cta:{text:g.t["GALLERY_POP-UP-STOREIS_POP-UP-OK"]},children:(0,s.jsx)(ie,{path:"/app/gallery/stories",page:"Gallery",children:(0,s.jsxs)("button",{className:"relative w-full",children:[(0,s.jsx)(qp,{}),(0,s.jsx)("div",{className:"pointer-events-none relative w-full",children:(0,s.jsx)("div",{className:"relative inline-block w-full",children:(0,s.jsxs)("div",{className:"flex justify-center",children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)("div",{className:"hidden","data-ref":"button-dash-enabled",children:[(0,s.jsx)("div",{className:"c-app-gallery__button-dash--text text-base font-medium leading-none text-primary-blue-400",children:g.t["GALLERY_POP-UP-STORIES_STORIES_POP-UP-TITLE"]}),(0,s.jsx)("div",{className:"c-app-gallery__button-dash--border relative top-[2px] w-full border border-solid border-primary-blue-400"})]}),(0,s.jsxs)("div",{className:"","data-ref":"button-dash-disabled",children:[(0,s.jsxs)("div",{className:"c-app-gallery__button-dash--disabled--text text-xs leading-none opacity-[35%]",children:[(0,s.jsx)("img",{src:Kp,width:24,height:24,className:"mx-auto mb-[2px] h-6",alt:""}),g.t["GALLERY_POP-UP-STORIES_STORIES_POP-UP-TITLE"]]}),(0,s.jsx)("div",{className:"c-app-gallery__button-dash--border relative top-[2px] w-full border border-solid border-primary-blue-400 opacity-0"})]})]}),(0,s.jsx)("div",{className:"ml-1 hidden","data-ref":"notification",children:(0,s.jsx)("div",{className:"flex items-center justify-center rounded-full bg-primary-orange-300 text-xs text-white",style:{width:20,height:20},"data-ref":"app-messages-list-item-label-number",children:g.t.GENERIC_NUMBER_0})})]})})})]})})})}),(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)(ht,{className:"flex flex-1 items-center justify-center opacity-100",title:g.t["GALLERY_POP-UP-MORE_MORE_POP-UP-TITLE"],text:g.t["GALLERY_POP-UP-MORE_SHORT-CUTS_POP-UP-TEXT"],cta:{text:g.t["GALLERY_POP-UP-MORE_POP-UP-OK"]},children:(0,s.jsx)(ie,{path:"/app/gallery/more",page:"Gallery",children:(0,s.jsxs)("div",{className:"text-xs leading-none opacity-[35%]",children:[(0,s.jsx)("img",{src:Qp,width:24,height:24,className:"mx-auto mb-[2px]",alt:""}),g.t["@PARADIGM_GALLERY_GALLERY_BOTTOM-NAV-BAR_MENU_NAV"]]})})})})]})})]})}),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(Lm,{appContentRef:E,photosRef:C}),(0,s.jsx)(Ff,{}),(0,s.jsx)(om,{wrapperRef:E}),(0,s.jsx)(ym,{wrapperRef:E})]})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0",children:(0,s.jsx)("button",{className:"gpu absolute left-0 top-0","data-ref":"app-view-icon",style:{opacity:0,transformOrigin:"0% 100%",transform:"translate(0px, 499px) scale(6.4, 6.4)"},ref:A,children:(0,s.jsx)("div",{className:"max-w-icon overflow-hidden rounded-3xl",children:(0,s.jsx)("img",{src:D("icons/app-gallery.png"),"data-component":"app-themes-changes",className:"",alt:""})})})})]})})},Pm=function(){return(0,s.jsx)(lx,{imageSrcs:v,children:(0,s.jsx)(Im,{})})},Om="/_next/static/media/more_opitions_divider.6bd8405d.png",Mm=function(e){var t=e.data,a=e.index,n=t.tutorialType,r=t.isRemastered,l=t.revertImageRef,c=t.revertObjectEraser,o=t.finishedEditTutorial,d=(0,i.useRef)(null),u=(0,i.useRef)(null),p=(0,i.useRef)(null),x=(0,i.useRef)(null),f=(0,i.useRef)(null),m=(0,pt.O)().popOverlayStack,h=(0,i.useState)(!1),A=h[0],E=h[1],v=(0,i.useState)(!1),C=v[0],j=v[1],N=(0,i.useCallback)((function(){if(!A&&!C){var e=d.current,t=p.current,a=f.current;I.ZP.set(a,{display:"none"}),("edit"===n&&o||"remaster"===n&&r)&&I.ZP.set(a,{display:"block"}),I.ZP.set(e,{display:"block"}),I.ZP.fromTo(t,{scale:.7,opacity:0,transformOrigin:"ae"===g.t.getLanguage()?"top left":"top right"},{scale:1,opacity:1,transformOrigin:"ae"===g.t.getLanguage()?"top left":"top right",duration:.6,ease:"power3.out",onComplete:function(){E(!1)}}),E(!0),j(!0)}}),[A,n,r,C]),T=function(){var e=p.current;I.ZP.to(e,{scale:.7,opacity:0,transformOrigin:"ae"===g.t.getLanguage()?"bottom left":"bottom right",duration:.2,ease:"power1.in",onComplete:function(){E(!1),m()}}),E(!0)},w=function(){T()};return(0,i.useEffect)((function(){N()}),[N]),(0,s.jsxs)("div",{className:"pointer-events-auto absolute inset-0 hidden z-".concat(a),ref:d,children:[(0,s.jsx)("div",{className:"gpu absolute inset-0",ref:u,onClick:function(){T()}}),(0,s.jsx)("div",{className:"absolute top-10 ltr:-right-2 rtl:left-2",children:(0,s.jsx)("div",{className:"w-56 pb-2.5 pt-2 ltr:pl-5 ltr:pr-3 rtl:pl-3 rtl:pr-5",children:(0,s.jsx)("div",{className:"gpu relative","data-ref":"gallery-photo-menu-content",style:{transformOrigin:"100% 100%",opacity:0,transform:"translate(-6px, 0px)"},ref:p,children:(0,s.jsx)("div",{className:"h-full flex-1 rounded-3xl border border-gray-300 border-opacity-20 bg-gray-50 bg-opacity-100 shadow",children:(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)("div",{className:"relative"}),(0,s.jsxs)("div",{className:"relative mt-2",ref:f,style:{display:"none"},children:[(0,s.jsx)("button",{className:"w-full px-6 py-3 text-sm text-black opacity-100 ltr:text-left rtl:text-right","data-ref":"gallery-photo-menu-revert-button",onClick:function(){"remaster"===n?(0,l.current)():"edit"===n&&c();T()},children:g.t["GALLERY_OBJECT-ERASER-POP-UP_REVERT_TEXT"]}),(0,s.jsx)("div",{className:"px-4 py-2",children:(0,s.jsx)("div",{className:"relative w-full",style:{height:2,backgroundSize:"4px 2px",backgroundImage:'url("'.concat(Om,'")')},"data-loader":"image","data-src":Om})})]}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("button",{className:"w-full px-6 py-3 text-sm text-black opacity-20 ltr:text-left rtl:text-right","data-ref":"gallery-photo-menu-default-button",ref:x,onClick:w,children:g.t["GALLERY_THREE-DOTS-POP-UP_COPY-TO-CLIPBOARD_TEXT"]})}),(0,s.jsx)("div",{className:"px-4 py-2",children:(0,s.jsx)("div",{className:"relative w-full",style:{height:2,backgroundSize:"4px 2px",backgroundImage:'url("'.concat(Om,'")')},"data-loader":"image","data-src":Om})}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("button",{className:"w-full px-6 py-3 text-sm text-black opacity-20 ltr:text-left rtl:text-right","data-ref":"gallery-photo-menu-default-button",ref:x,onClick:w,children:g.t["GALLERY_THREE-DOTS-POP-UP_SET-TO-WALLPAPER_TEXT"]})}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("button",{className:"w-full px-6 py-3 text-sm text-black opacity-20 ltr:text-left rtl:text-right","data-ref":"gallery-photo-menu-default-button",ref:x,onClick:w,children:g.t["GALLERY_THREE-DOTS-POP-UP_SECURE-FOLDER_TEXT"]})}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("button",{className:"w-full px-6 py-3 text-sm text-black opacity-20 ltr:text-left rtl:text-right","data-ref":"gallery-photo-menu-default-button",ref:x,onClick:w,children:g.t["GALLERY_THREE-DOTS-POP-UP_PRINT_TEXT"]})})]})})})})})]})},Dm=function(){var e=(0,i.useRef)(null);return(0,i.useEffect)((function(){!function(){var t=e.current;I.ZP.set(t,{display:"block"})}()}),[]),(0,s.jsx)("div",{className:"pointer-events-auto absolute bottom-0 left-0 right-0 top-0 hidden bg-transparent opacity-0","data-component":"app-locker",ref:e})},Gm=function(e){var t=e.data,a=e.index,n=(0,i.useRef)(null),r=(0,i.useRef)(null),l=(0,i.useRef)(null),c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)([]),u=(0,i.useRef)(null),p=(0,i.useRef)([]),x=(0,pt.O)().popOverlayStack,f=(0,xt.p)().isDeviceFold,m=(0,i.useState)(!1),h=m[0],A=m[1],E="ae"===g.t.getLanguage(),v=(0,i.useCallback)((function(){var e=n.current,t=r.current,a=l.current;h||(A(!0),I.ZP.killTweensOf([t]),I.ZP.set(e,{display:"block"}),I.ZP.fromTo(t,{opacity:1},{opacity:1,duration:.6,ease:"power3.out",onComplete:function(){A(!1)}}),I.ZP.fromTo(a,{opacity:0,y:30},{opacity:1,y:0,duration:.6,ease:"power3.out"}))}),[h]),C=(0,i.useCallback)((function(){if(!h){A(!0);var e=n.current,t=r.current,a=l.current;I.ZP.killTweensOf([t]),I.ZP.to(a,{y:30,opacity:0,duration:.4,ease:"power3.inOut"}),I.ZP.to(t,{opacity:0,duration:.3,ease:"power3.out",delay:.3,onComplete:function(){I.ZP.set(e,{display:"none"}),A(!1),x()}})}}),[h]),j=(0,i.useCallback)((function(){t.closeOnBackgroundClick&&C()}),[C]);return(0,i.useEffect)((function(){v(),(0,V.Kq)(t.tracking.path,t.tracking.page)}),[]),(0,s.jsxs)("div",{className:"pointer-events-auto absolute inset-0 hidden z-".concat(a),ref:n,children:[(0,s.jsx)("div",{className:"gpu absolute inset-0",ref:r,children:(0,s.jsx)("div",{className:"absolute inset-0 bg-black opacity-75"})}),(0,s.jsxs)("div",{className:"gpu inset-0 m-4 flex h-full items-end justify-center",ref:l,children:[(0,s.jsx)("div",{className:"absolute inset-0",onClick:j}),(0,s.jsx)("div",{className:"relative h-5/6 min-h-[500px] min-w-full overflow-hidden rounded-3xl bg-primary-gray-50 text-black shadow-md md:h-3/4 xxs:h-5/6 xxs:min-h-0",style:{bottom:80},children:(0,s.jsx)(ot,{sliderContainerRef:c,sliderListRef:o,sliderListItemsRef:d,sliderPaginationRef:u,sliderPaginationItemsRef:p,addPixelOffset:f,trackPath:t.tracking.path,children:(0,s.jsx)("div",{className:"absolute inset-0 h-full","data-component":"slider","data-slider-type":"horizontal","data-slider-position":"internal","data-slider-location":t.tracking.page,ref:c,children:(0,s.jsxs)("div",{className:"absolute left-0 right-0 h-full overflow-hidden",children:[(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center text-center font-title text-black","data-ref":"app-content",children:(0,s.jsx)("div",{className:"gpu absolute inset-0 flex","data-ref":"slider-list",style:{width:"500vw",transform:"translate(0px, 0px)"},ref:o,children:t.pages.map((function(e,t){return(0,s.jsx)("div",{className:"gpu relative mr-8 flex h-full w-full justify-center","data-ref":"slider-list-item",style:{transformOrigin:"50% 50%",opacity:1,transform:"translate(0px, 0px)"},ref:function(e){e&&!d.current.includes(e)&&d.current.push(e)},children:e},t)}))})}),(0,s.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 pb-0",children:[(0,s.jsx)("div",{className:"flex-no-wrap align-center relative flex w-full justify-center pb-1 pt-4","data-ref":"slider-pagination",ref:u,children:t.pages.map((function(e,a){return t.pages.length>1&&(0,s.jsxs)("div",{className:"relative overflow-hidden rounded-full border",style:(0,_.Z)({width:8,height:8},E?{marginLeft:a!==t.pages.length-1?10:0}:{marginRight:a!==t.pages.length-1?10:0}),children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-full bg-primary-gray-214"}),(0,s.jsx)("div",{className:"absolute inset-0 rounded-full bg-primary-gray-400","data-ref":"slider-pagination-item",ref:function(e){e&&!p.current.includes(e)&&p.current.push(e)}})]},a)}))}),(0,s.jsx)("div",{className:"flex w-full justify-center py-4 text-lg font-semibold xxs:py-2 xxs:pt-2",children:(0,s.jsx)("button",{onClick:C,children:g.t["OVERLAY-SLIDER_CTA-OK"]})})]})]})})})})]})]})},km=function(){var e=(0,pt.O)().overlayStack;return(0,s.jsx)(s.Fragment,{children:e.map((function(e,t){switch(e.type){case"alert":return(0,s.jsx)(i.Fragment,{children:(0,s.jsx)(Td.Z,{data:e.data,index:t})},"".concat(t));case"gallery":return(0,s.jsx)(i.Fragment,{children:(0,s.jsx)(Mm,{data:e.data,index:t})},"".concat(t));case"locker":return(0,s.jsx)(i.Fragment,{children:(0,s.jsx)(Dm,{})},"".concat(t));case"slider":return(0,s.jsx)(i.Fragment,{children:(0,s.jsx)(Gm,{data:e.data,index:t})},"".concat(t));default:return null}}))})},Hm=a(36036),Bm=a(73935),Um=H()(Object.values({eslatam:"eslatam:smd:ml-4 eslatam:xxs:ml-4 eslatam:flip:ml-4",gr:"gr:foldCover:ml-2 gr:smFlip:ml-2 gr:flip:ml-2",ru:"ru:ml-1"})),Zm=function(e){var t=e.highlightsRef;return(0,s.jsx)("div",{className:H()("absolute top-[15%] left-0 ml-10",Um),children:(0,s.jsxs)("div",{className:"relative w-full text-center",children:[(0,s.jsx)("div",{className:"relative mb-6 flex w-full items-center justify-end",children:(0,s.jsx)("div",{className:"opacity-0 ltr:flex-1 rtl:flex-none",ref:function(e){t&&(t.current=(0,L.Z)((0,_.Z)({},t.current),{swipeNotificationPanel:e}))}})}),(0,s.jsxs)("p",{ref:function(e){t&&(t.current=(0,L.Z)((0,_.Z)({},t.current),{swipeNotificationPanelText:e}))},className:"relative whitespace-pre-line text-center text-sm font-semibold text-white opacity-0",children:[g.t["@PARADIGM_TUTORIAL_NOTIFICATION-PANEL_TITLE-1"],(0,s.jsx)("br",{}),g.t["@PARADIGM_TUTORIAL_NOTIFICATION-PANEL_TITLE-2"]]})]})})},Ym=H()(Object.values({eslatam:"eslatam:smd:mr-4 eslatam:xxs:mr-4 eslatam:flip:mr-4",ru:"ru:mr-1"})),Fm=function(e){var t=e.highlightsRef;return(0,s.jsx)("div",{className:H()("absolute top-[15%] right-0 mr-10",Ym),children:(0,s.jsxs)("div",{className:"relative w-full text-center",children:[(0,s.jsx)("div",{className:"relative mb-6 flex w-full items-center ltr:justify-end rtl:justify-start",children:(0,s.jsx)("div",{className:"opacity-0",ref:function(e){t&&(t.current=(0,L.Z)((0,_.Z)({},t.current),{swipeQuickPanel:e}))}})}),(0,s.jsxs)("p",{ref:function(e){t&&(t.current=(0,L.Z)((0,_.Z)({},t.current),{swipeQuickPanelText:e}))},className:"relative ml-auto whitespace-pre-line text-center text-sm font-semibold text-white opacity-0",children:[g.t["@PARADIGM_TUTORIAL_QUICK-PANEL_TITLE-1"],(0,s.jsx)("br",{}),g.t["@PARADIGM_TUTORIAL_QUICK-PANEL_TITLE-2"],(0,s.jsx)("br",{}),g.t["@PARADIGM_TUTORIAL_QUICK-PANEL_TITLE-3"]]})]})})},Vm=function(e){var t=e.highlightsRef;return(0,s.jsx)("div",{className:"absolute top-[40%] ltr:right-0 ltr:mr-10 rtl:left-0 rtl:ml-10",children:(0,s.jsxs)("div",{className:"relative w-full text-center",children:[(0,s.jsx)("div",{className:"relative mb-6 flex w-full items-center justify-end",children:(0,s.jsx)("div",{className:"opacity-0 rtl:-scale-x-100 rtl:transform",ref:function(e){t&&(t.current=(0,L.Z)((0,_.Z)({},t.current),{swipeLeft:e}))}})}),(0,s.jsxs)("p",{ref:function(e){t&&(t.current=(0,L.Z)((0,_.Z)({},t.current),{swipeLeftText:e}))},className:"relative ml-auto whitespace-pre-line text-center text-sm font-semibold text-white opacity-0",children:[g.t["@PARADIGM_TUTORIAL_SCREEN_SWIPE-LEFT_TITLE-1"],(0,s.jsx)("br",{}),g.t["@PARADIGM_TUTORIAL_SCREEN_SWIPE-LEFT_TITLE-2"]]})]})})},Wm={ca:"ca:px-1",fr:"fr:px-2",ru:"ru:foldCover:px-1"},Xm={eslatam:"eslatam:whitespace-pre-line"},Km=H()(Object.values(Wm)),Qm=H()(Object.values(Xm)),zm=function(e){var t=e.highlightsRef;return(0,s.jsxs)("div",{className:"relative mb-12 flex w-full items-center justify-center xsmd:mb-[0.5rem] xxs:mb-[0.5rem]",children:[(0,s.jsx)("div",{}),(0,s.jsxs)("div",{ref:function(e){t&&(t.current=(0,L.Z)((0,_.Z)({},t.current),{swipeUp:e}))},className:"relative whitespace-pre-line text-center text-sm font-semibold text-white opacity-0",children:[(0,s.jsx)("div",{className:"contents",ref:function(e){t&&(t.current=(0,L.Z)((0,_.Z)({},t.current),{swipeUpAnimation:e}))}}),(0,s.jsxs)("div",{className:H()("opacity-1 relative flex flex-col items-center justify-center gap-y-3",Km),children:[(0,s.jsx)(vt.Z,{children:(0,s.jsx)("div",{className:H()("mx-1",Qm),children:g.t["TRY-GALAXY_TUTORIAL-SCREEN_SWIPE-UP_TITLE"]})}),(0,s.jsx)(Ct.Z,{children:(0,s.jsx)("div",{className:"whitespace-pre-line",children:g.t["TRY-GALAXY_TUTORIAL-SCREEN_WORK-SWIPE-UP_TITLE"]})})]})]})]})},qm=H()(Object.values({vn:"vn:mr-3 vn:min-w-fit"})),Jm=function(e){var t=e.highlightsRef;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"relative flex w-full items-center justify-evenly px-4 text-sm font-semibold text-white",dir:"ltr",children:[(0,s.jsx)("div",{ref:function(e){if(t){var a=t.current;e&&!a.navText.includes(e)&&(t.current=(0,L.Z)((0,_.Z)({},a),{navText:(0,G.Z)(a.navText).concat([e])}))}},className:H()("w-full text-center opacity-0",qm),children:g.t["TRY-GALAXY_TUTORIAL-SCREEN_NAV_NAVIGATION"]}),(0,s.jsx)("div",{ref:function(e){if(t){var a=t.current;e&&!a.navText.includes(e)&&(t.current=(0,L.Z)((0,_.Z)({},a),{navText:(0,G.Z)(a.navText).concat([e])}))}},className:"w-full text-center opacity-0",children:g.t["TRY-GALAXY_TUTORIAL-SCREEN_NAV_GO-HOME"]}),(0,s.jsx)("div",{ref:function(e){if(t){var a=t.current;e&&!a.navText.includes(e)&&(t.current=(0,L.Z)((0,_.Z)({},a),{navText:(0,G.Z)(a.navText).concat([e])}))}},className:"w-full text-center opacity-0",children:g.t["TRY-GALAXY_TUTORIAL-SCREEN_NAV_GO-BACK"]})]}),(0,s.jsx)("div",{ref:function(e){t&&(t.current=(0,L.Z)((0,_.Z)({},t.current),{nav:e}))},className:"relative w-full text-white opacity-0",dir:"ltr",children:(0,s.jsxs)("div",{className:"flex-no-wrap relative flex w-full justify-around px-4 pb-6 xxs:pb-2",children:[(0,s.jsx)("div",{className:"w-full text-center",children:(0,s.jsx)("button",{className:"relative flex w-full items-center justify-center",children:(0,s.jsxs)("div",{className:"relative w-full text-center",children:[(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 opacity-0",children:(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 rounded-3xl bg-white opacity-25"})}),(0,s.jsx)("div",{className:"gpu relative flex justify-center py-4",children:(0,s.jsx)(ha,{})})]})})}),(0,s.jsx)("div",{className:"w-full text-center",children:(0,s.jsx)("button",{className:"relative flex w-full items-center justify-center",children:(0,s.jsxs)("div",{className:"relative w-full text-center",children:[(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 opacity-0",children:(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 rounded-3xl bg-white opacity-25"})}),(0,s.jsx)("div",{className:"gpu relative flex justify-center py-4",children:(0,s.jsx)(ma,{})})]})})}),(0,s.jsx)("div",{className:"w-full text-center",children:(0,s.jsx)("button",{className:"relative flex w-full items-center justify-center",children:(0,s.jsxs)("div",{className:"relative w-full text-center",children:[(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 opacity-0",children:(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 rounded-3xl bg-white opacity-25"})}),(0,s.jsx)("div",{className:"gpu relative flex justify-center py-4 rtl:-scale-x-100 rtl:transform",children:(0,s.jsx)(Aa,{})})]})})})]})})]})},$m={se:"se:px-1"},eh={eslatam:"w-[90%] mx-auto",cn:"cn:mb-0"},th=H()(Object.values($m)),ah=H()(Object.values(eh)),sh=function(e){var t=e.highlightsRef;return(0,s.jsxs)("div",{className:H()("absolute bottom-[350px] w-full opacity-0 md:bottom-[370px]",th),ref:function(e){t.current=(0,L.Z)((0,_.Z)({},t.current),{welcomeText:e})},children:[(0,s.jsx)("div",{className:H()("mb-4 whitespace-pre-line text-center text-sm font-semibold text-white",ah),children:g.t["TRY-GALAXY_TUTORIAL-SCREEN_WELCOME"]}),(0,s.jsx)("div",{className:"flex w-full justify-center",children:(0,s.jsx)("div",{className:"w-[80%] whitespace-pre-line text-center text-sm font-semibold text-white",children:g.t["TRY-GALAXY_TUTORIAL-SCREEN_DISCLAIMER"]})})]})},ih=function(e){var t=e.highlightsRef;return(0,s.jsx)("div",{className:"absolute bottom-32 z-[75] flex w-full flex-col items-center justify-center",children:(0,s.jsxs)("button",{ref:function(e){t.current=(0,L.Z)((0,_.Z)({},t.current),{button:e})},className:"relative opacity-0",children:[(0,s.jsx)("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transform rounded-full bg-white opacity-40",style:{width:"calc(100% + 12px)",height:"calc(100% + 12px)"}}),(0,s.jsx)("div",{className:"relative rounded-full bg-white p-4 text-black",children:(0,s.jsx)("div",{className:"relative px-8 text-xs font-bold",children:g.t["TRY-GALAXY_TUTORIAL-SCREEN_GOT-IT_CTA"]})})]})})},nh=function(e){var t=e.onComplete,a=(0,P.q0)(),n=a.setStart,r=a.setIsGuideFlowFirstPlay,l=(0,i.useRef)(!1),c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)({notification:null,notificationText:null,swipeLeft:null,swipeLeftText:null,swipeNotificationPanel:null,swipeNotificationPanelText:null,swipeQuickPanel:null,swipeQuickPanelText:null,nav:null,navText:[],swipeUp:null,swipeUpAnimation:null,camera:null,cameraText:null,cameraAnimation:null,widget:null,widgetText:null,learnMoreOrSpecialOffer:null,learnMoreOrSpecialOfferText:null,welcomeText:null,button:null,watch:null,ring:null,buds:null,fold:null,wearablesText:null});return(0,i.useLayoutEffect)((function(){var e=d.current,a=e.swipeLeft,i=e.swipeLeftText,u=e.swipeNotificationPanel,p=e.swipeNotificationPanelText,x=e.swipeQuickPanel,f=e.swipeQuickPanelText,m=e.nav,h=e.navText,A=e.swipeUp,E=e.swipeUpAnimation,v=e.camera,C=e.cameraText,j=e.cameraAnimation,N=e.welcomeText,T=e.button,w=c.current,_=o.current,b=[a,i,u,p,x,f,A,E,v,C,j,N,T],S={onTransition:!1},y=function(){S.onTransition||(l.current||(l.current=!0,n(!0),I.ZP.timeline().to([T,N],{opacity:0,duration:.8,ease:"power1.in"}).to(_,{opacity:0,duration:.6,ease:"power3.in",onComplete:function(){t(),pa("right"),r(!0)}},"-=0.2")))};return function(){var e=I.ZP.timeline();S.onTransition=!0,I.ZP.killTweensOf(e),(0,V.Kq)("/tutorial","Tutorial"),e.set(w,{opacity:1}).set(b,{opacity:0}).fromTo(_,{opacity:0},{opacity:1,duration:.6,ease:"power3.out"}).fromTo([m,h],{opacity:0},{opacity:1,y:0,duration:.6,ease:"power3.out"},"+=0.2").to([m,h],{opacity:0,duration:.5,ease:"power3.in"},"+=0.55").to([i,a],{opacity:1,duration:.6,ease:"power3.out",onComplete:function(){"ae"===g.t.getLanguage()?pa("right"):pa("left")},onStart:function(){Bm.render((0,s.jsx)(Re.Z,{path:"/assets/lotties/introTutorial/Tutorial_ScreenSwipe_LR.json",height:100,width:100,loop:!1,autoplay:!0}),a)}},"+=0.5").to([i,a],{opacity:0,duration:.3,ease:"power3.in",onComplete:function(){"ae"===g.t.getLanguage()?pa("left"):pa("right")}},"+=1.2").to([p,u],{opacity:1,duration:.6,ease:"power3.out",onComplete:function(){pa("down")},onStart:function(){Bm.render((0,s.jsx)(Re.Z,{path:"/assets/lotties/introTutorial/Tutorial_ScreenSwipe_UD.json",height:100,width:100,loop:!0,autoplay:!0}),u)}},"+=2").call((function(){pa("up")}),null,"+=1.4").to([p,u],{opacity:0,duration:.5,ease:"power3.in"},"+=0.4").to([f,x],{opacity:1,duration:.6,ease:"power3.out",onComplete:function(){pa("down-top-right")},onStart:function(){Bm.render((0,s.jsx)(Re.Z,{path:"/assets/lotties/introTutorial/Tutorial_ScreenSwipe_UD.json",height:100,width:100,loop:!0,autoplay:!0}),x)}},"+=1.2").call((function(){pa("up",2)}),null,"+=1.4").to([f,x],{opacity:0,duration:.5,ease:"power3.in"},"+=0.4").to([A,E],{opacity:1,duration:.6,ease:"power3.out",onComplete:function(){pa("up",30)},onStart:function(){Bm.render((0,s.jsx)(Re.Z,{className:"scale-y-[-1] transform",path:"/assets/lotties/introTutorial/Tutorial_ScreenSwipe_UD.json",height:100,width:100,loop:!0,autoplay:!0}),E)}},"+=1.2").to([A,E],{opacity:0,duration:.6,ease:"power3.in",onComplete:function(){pa("down",50)}},"+=1.2").to([v,C,j],{opacity:1,duration:.4,ease:"power1.in",onStart:function(){Bm.render((0,s.jsx)(Re.Z,{className:"absolute top-[-70px]",path:"/assets/lotties/introTutorial/Tutorial_ScreenTap.json",height:80,width:80,loop:!0,autoplay:!0}),j)}},"+=0.8").to([v,C,j],{opacity:0,duration:.3,ease:"power3.in"},"+=5").to([N,T],{opacity:1,y:0,duration:.6,ease:"power3.out",onComplete:function(){S.onTransition=!1}},"+=0.8")}(),T.addEventListener("click",y),function(){T.removeEventListener("click",y)}}),[d]),(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{ref:c,className:"pointer-events-auto absolute inset-0",children:[(0,s.jsx)("div",{ref:o,className:"absolute inset-0 opacity-0",children:(0,s.jsx)("div",{className:"absolute inset-0 bg-black opacity-60"})}),(0,s.jsx)(fa,{isTutorialOverlay:!0,highlightsRef:d}),(0,s.jsx)(Zm,{highlightsRef:d}),(0,s.jsx)(Fm,{highlightsRef:d}),(0,s.jsx)(Vm,{highlightsRef:d}),(0,s.jsx)(sh,{highlightsRef:d}),(0,s.jsx)(ih,{highlightsRef:d}),(0,s.jsxs)("div",{className:"absolute bottom-0 w-full",children:[(0,s.jsx)(zm,{highlightsRef:d}),(0,s.jsx)(Jm,{highlightsRef:d})]})]})})},rh=function(e){var t=e.onComplete,a=(0,P.q0)(),n=a.setStart,r=a.setIsGuideFlowFirstPlay,l=(0,i.useRef)(!1),c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)({notification:null,notificationText:null,swipeLeft:null,swipeLeftText:null,swipeNotificationPanel:null,swipeNotificationPanelText:null,swipeQuickPanel:null,swipeQuickPanelText:null,nav:null,navText:[],swipeUp:null,swipeUpAnimation:null,camera:null,cameraText:null,cameraAnimation:null,widget:null,widgetText:null,learnMoreOrSpecialOffer:null,learnMoreOrSpecialOfferText:null,welcomeText:null,button:null,watch:null,ring:null,buds:null,fold:null,wearablesText:null,workTab:null,workTabText:null,workTabBackground:null});return(0,i.useLayoutEffect)((function(){var e=d.current,a=e.swipeLeft,i=e.swipeLeftText,u=e.swipeNotificationPanel,p=e.swipeNotificationPanelText,x=e.swipeQuickPanel,f=e.swipeQuickPanelText,m=e.nav,h=e.navText,A=e.swipeUp,E=e.swipeUpAnimation,g=e.camera,v=e.cameraText,C=e.cameraAnimation,j=e.welcomeText,N=e.button,T=e.workTab,w=e.workTabBackground,_=e.workTabText,b=c.current,S=o.current,y=[a,i,u,p,x,f,A,E,g,v,C,j,N],R={onTransition:!1},L=function(){R.onTransition||(l.current||(l.current=!0,n(!0),I.ZP.timeline().to([N,j],{opacity:0,duration:.8,ease:"power1.in"}).to(S,{opacity:0,duration:.6,ease:"power3.in",onComplete:function(){t(),pa("right"),r(!0)}},"-=0.2")))};return function(){var e=I.ZP.timeline();R.onTransition=!0,I.ZP.killTweensOf(e),(0,V.Kq)("/instructions-work","Tutorial"),e.set(b,{opacity:1}).set(y,{opacity:0}).fromTo(S,{opacity:0},{opacity:1,duration:.6,ease:"power3.out"}).fromTo([m,h],{opacity:0},{opacity:1,y:0,duration:.6,ease:"power3.out"},"+=0.2").to([m,h],{opacity:0,duration:.5,ease:"power3.in"},"+=0.55").to([i,a],{opacity:1,duration:.6,ease:"power3.out",onComplete:function(){pa("left")},onStart:function(){Bm.render((0,s.jsx)(Re.Z,{path:"/assets/lotties/introTutorial/Tutorial_ScreenSwipe_LR.json",height:100,width:100,loop:!1,autoplay:!0}),a)}},"+=0.5").to([i,a],{opacity:0,duration:.3,ease:"power3.in",onComplete:function(){pa("right")}},"+=1.2").to([p,u],{opacity:1,duration:.6,ease:"power3.out",onComplete:function(){pa("down")},onStart:function(){Bm.render((0,s.jsx)(Re.Z,{path:"/assets/lotties/introTutorial/Tutorial_ScreenSwipe_UD.json",height:100,width:100,loop:!0,autoplay:!0}),u)}},"+=2").call((function(){pa("up")}),null,"+=1.4").to([p,u],{opacity:0,duration:.5,ease:"power3.in"},"+=0.4").to([f,x],{opacity:1,duration:.6,ease:"power3.out",onComplete:function(){pa("down-top-right")},onStart:function(){Bm.render((0,s.jsx)(Re.Z,{path:"/assets/lotties/introTutorial/Tutorial_ScreenSwipe_UD.json",height:100,width:100,loop:!0,autoplay:!0}),x)}},"+=1.2").call((function(){pa("up",2)}),null,"+=1.4").to([f,x],{opacity:0,duration:.5,ease:"power3.in"},"+=0.4").to([A,E],{opacity:1,duration:.6,ease:"power3.out",onComplete:function(){pa("up",30)},onStart:function(){Bm.render((0,s.jsx)(Re.Z,{className:"transform",path:"/assets/lotties/introTutorial/Tutorial_ScreenSwipe_Up.json",height:100,width:100,loop:!1,autoplay:!0}),E)}},"+=1.2").to([A,E],{opacity:0,duration:.6,ease:"power3.in"},"+=1.2").to([T,_],{opacity:1,duration:.6,ease:"power3.out"},"+=0.2").to(w,{opacity:.4,duration:.6,ease:"power3.out"},"-=0.6").to(_,{y:0,duration:.6,ease:"power3.out"},"-=0.6").to([T,w,_],{opacity:0,duration:.3,ease:"power3.out",onComplete:function(){pa("down",50)}},"+=1.6").to([g,v,C],{opacity:1,duration:.4,ease:"power1.in",onStart:function(){Bm.render((0,s.jsx)(Re.Z,{className:"absolute top-[-70px]",path:"/assets/lotties/introTutorial/Tutorial_ScreenTap.json",height:80,width:80,loop:!0,autoplay:!0}),C)}},"+=0.8").to([g,v,C],{opacity:0,duration:.3,ease:"power3.in"},"+=5").to([j,N],{opacity:1,y:0,duration:.6,ease:"power3.out",onComplete:function(){R.onTransition=!1}},"+=0.8")}(),N.addEventListener("click",L),function(){N.removeEventListener("click",L)}}),[d]),(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{ref:c,className:"pointer-events-auto absolute inset-0",children:[(0,s.jsx)("div",{ref:o,className:"absolute inset-0 opacity-0",children:(0,s.jsx)("div",{className:"absolute inset-0 bg-black opacity-60"})}),(0,s.jsx)(fa,{isTutorialOverlay:!0,highlightsRef:d}),(0,s.jsx)(rs,{isTutorialOverlay:!0,highlightsRef:d}),(0,s.jsx)(Zm,{highlightsRef:d}),(0,s.jsx)(Fm,{highlightsRef:d}),(0,s.jsx)(Vm,{highlightsRef:d}),(0,s.jsx)(sh,{highlightsRef:d}),(0,s.jsx)(ih,{highlightsRef:d}),(0,s.jsxs)("div",{className:"absolute bottom-0 w-full",children:[(0,s.jsx)(zm,{highlightsRef:d}),(0,s.jsx)(Jm,{highlightsRef:d})]})]})})},lh=function(){var e=(0,i.useState)("initial"),t=e[0],a=e[1],n=zs(),r=n.shouldShowTutorial,l=n.updateTutorialVersionToLatest,c=(0,P.q0)(),o=c.setStart,d=c.setIsGuideFlowFirstPlay;return(0,i.useLayoutEffect)((function(){return(0,N.KQ)()||(0,N.Ff)()||(0,N._7)()?a("tutorial"):(!(0,N.L1)()||(0,N.NV)())&&r()?(a("tutorial"),d(null)):(o(!0),d(!1)),he.XP&&(0,ka.TB)(),function(){}}),[]),(0,s.jsxs)(s.Fragment,{children:["tutorial"===t&&(0,s.jsx)(Hm.Z,{onComplete:function(){a("instructions")}}),"instructions"===t&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(Ct.Z,{children:(0,s.jsx)(rh,{onComplete:function(){(0,V.Kq)("/dashboard","Dashboard"),a("complete"),l()}})}),(0,s.jsx)(vt.Z,{children:(0,s.jsx)(nh,{onComplete:function(){(0,V.Kq)("/dashboard","Dashboard"),a("complete"),l()}})})]})]})},ch=i.createContext(null),oh=function(e){var t=(0,P.fv)(),a=t.navigationData,n=t.resetNavigationData,r=(0,P.qr)(),l=r.appName,c=r.isAppOpen,o="cn"===g.t.getLanguage(),d=(0,pe.Z)(wr("Home"),2),u=d[0],p=d[1],x=(0,i.useState)(""),f=x[0],m=x[1],h=(0,i.useState)(!1),A=h[0],E=h[1],v=(0,i.useState)(!1),C=v[0],j=v[1],N=(0,i.useState)(!1),T=N[0],w=N[1],_=(0,i.useState)("start"),b=_[0],S=_[1],y=(0,i.useState)(!1),R=y[0],L=y[1],I=(0,i.useState)(!1),O=I[0],M=I[1],D=(0,i.useState)(!1),G=D[0],k=D[1],H=(0,i.useState)(!1),B=H[0],U=H[1],Z=(0,i.useState)(!1),Y=Z[0],F=Z[1],V=(0,i.useState)(!1),W=V[0],X=V[1],K=(0,i.useState)(!1),Q=K[0],z=K[1],q=(0,i.useState)(!1),J=q[0],$=q[1],ee=(0,i.useState)(!1),te=ee[0],ae=ee[1],se={screen:u,setScreen:p,screenTo:f,setScreenTo:m,scanningCompleted:A,setScanningCompleted:E,permisionManagerClicked:C,setPermisionManagerClicked:j,deviceProtectionTutorial:b,setDeviceProtectionTutorial:S,protectionTurnedOn:T,setProtectionTurnedOn:w,hasOpenedGalaxyAi:R&&O&&G&&B&&Y&&(o||W),processData:Q,setProcessData:z,autoBlockerChecked:J,setAutoBlockerChecked:$,autoBlockerOpened:te,setAutoBlockerOpened:ae,hasOpenedGalaxyAiCallAssist:R,setHasOpenedGalaxyAiCallAssist:L,hasOpenedHealthAssist:O,setHasOpenedHealthAssist:M,hasOpenedGalaxyAiPhotoAssist:G,setHasOpenedGalaxyAiPhotoAssist:k,hasOpenedGalaxyAiAudioEraser:B,setHasOpenedGalaxyAiAudioEraser:U,hasOpenedGalaxyAiNowBrief:Y,setHasOpenedGalaxyAiNowBrief:F,hasOpenedGalaxyAiDrawingAssist:W,setHasOpenedGalaxyAiDrawingAssist:X};return(0,i.useEffect)((function(){var e=a.appName,t=a.path,s=a.shouldResetScreen;a.shouldResetTutorial;if("settings"===e){if(s){var i=t.split("/");i.length>1&&("colour-palette"===i[1]?"wallpaper-and-style"!==u.current&&m("wallpaper-and-style"):"privacy"===i[1]?"privacy"!==u.current&&m("privacy"):"security"===i[1]?m("security"):"galaxy-ai"===i[1]&&m("galaxy-ai"))}n()}}),[a]),(0,i.useEffect)((function(){f&&(p(f),m(""))}),[f]),(0,i.useEffect)((function(){"settings"===l||c||p("Home")}),[l,c]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(ch.Provider,{value:se,children:e.children})})},dh=i.createContext(null),uh=function(e){var t=(0,pe.Z)(wr("Home"),2),a=t[0],n=t[1],l=(0,i.useState)(r[0]),c=l[0],o=l[1],d=(0,i.useState)("start"),u={screen:a,setScreen:n,theme:c,setTheme:o,colorPaletteTutorial:d[0],setColorPaletteTutorial:d[1]};return(0,s.jsx)(dh.Provider,{value:u,children:e.children})},ph={src:"/_next/static/media/color-1-thumb.72044b0b.jpg",height:291,width:196,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/sBCgoKCgoKCwwMCw8QDhAPFhQTExQWIhgaGBoYIjMgJSAgJSAzLTcsKSw3LVFAODhAUV5PSk9ecWVlcY+Ij7u7+//CABEIAAgABQMBIgACEQEDEQH/xAAnAAEBAAAAAAAAAAAAAAAAAAAABAEBAAAAAAAAAAAAAAAAAAAABf/aAAwDAQACEAMQAAAAoBjn/8QAGBAAAgMAAAAAAAAAAAAAAAAAAAMVYpL/2gAIAQEAAT8AmF2wf//EABcRAQADAAAAAAAAAAAAAAAAAAEAElH/2gAIAQIBAT8Au4T/xAAXEQADAQAAAAAAAAAAAAAAAAAAAhJR/9oACAEDAQE/ALbT/9k=",blurWidth:5,blurHeight:8},xh={src:"/_next/static/media/color-2-thumb.764996e6.jpg",height:291,width:197,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/sBCgoKCgoKCwwMCw8QDhAPFhQTExQWIhgaGBoYIjMgJSAgJSAzLTcsKSw3LVFAODhAUV5PSk9ecWVlcY+Ij7u7+//CABEIAAgABQMBIgACEQEDEQH/xAAoAAEBAAAAAAAAAAAAAAAAAAAAAwEBAQAAAAAAAAAAAAAAAAAABAX/2gAMAwEAAhADEAAAALCG/wD/xAAYEAACAwAAAAAAAAAAAAAAAAAAAgVhkv/aAAgBAQABPwBZZLyf/8QAGBEAAgMAAAAAAAAAAAAAAAAAAQMAETL/2gAIAQIBAT8ACFVgT//EABcRAAMBAAAAAAAAAAAAAAAAAAADE1H/2gAIAQMBAT8AszT/2Q==",blurWidth:5,blurHeight:8},fh={src:"/_next/static/media/color-3-thumb.24eb915c.jpg",height:291,width:197,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/sBCgoKCgoKCwwMCw8QDhAPFhQTExQWIhgaGBoYIjMgJSAgJSAzLTcsKSw3LVFAODhAUV5PSk9ecWVlcY+Ij7u7+//CABEIAAgABQMBIgACEQEDEQH/xAAoAAEBAAAAAAAAAAAAAAAAAAAAAwEBAQAAAAAAAAAAAAAAAAAAAwX/2gAMAwEAAhADEAAAAKCE3//EABkQAAEFAAAAAAAAAAAAAAAAAAACAwVikv/aAAgBAQABPwBMq1bJ/8QAGREAAQUAAAAAAAAAAAAAAAAAAAEDBBEy/9oACAECAQE/AEjM1k//xAAWEQADAAAAAAAAAAAAAAAAAAAAAhL/2gAIAQMBAT8Atj//2Q==",blurWidth:5,blurHeight:8},mh={src:"/_next/static/media/color-4-thumb.1da27312.jpg",height:291,width:197,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/sBCgoKCgoKCwwMCw8QDhAPFhQTExQWIhgaGBoYIjMgJSAgJSAzLTcsKSw3LVFAODhAUV5PSk9ecWVlcY+Ij7u7+//CABEIAAgABQMBIgACEQEDEQH/xAAnAAEBAAAAAAAAAAAAAAAAAAAAAwEBAAAAAAAAAAAAAAAAAAAABf/aAAwDAQACEAMQAAAAiDBv/8QAGhAAAAcAAAAAAAAAAAAAAAAAAAIDBSEykv/aAAgBAQABPwArklNsj//EABcRAAMBAAAAAAAAAAAAAAAAAAADFFL/2gAIAQIBAT8AlTk//8QAGBEAAgMAAAAAAAAAAAAAAAAAAQIAETL/2gAIAQMBAT8ACJWRP//Z",blurWidth:5,blurHeight:8},hh={src:"/_next/static/media/color-5-thumb.d873a3c7.jpg",height:291,width:197,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/sBCgoKCgoKCwwMCw8QDhAPFhQTExQWIhgaGBoYIjMgJSAgJSAzLTcsKSw3LVFAODhAUV5PSk9ecWVlcY+Ij7u7+//CABEIAAgABQMBIgACEQEDEQH/xAAoAAEBAAAAAAAAAAAAAAAAAAAAAwEBAQAAAAAAAAAAAAAAAAAABAX/2gAMAwEAAhADEAAAAJBcD//EABoQAAAHAAAAAAAAAAAAAAAAAAACAwUhMpL/2gAIAQEAAT8AK4pTbI//xAAXEQADAQAAAAAAAAAAAAAAAAAAARFR/9oACAECAQE/AK9P/8QAGREAAQUAAAAAAAAAAAAAAAAAAQADBBEy/9oACAEDAQE/ABGZrAX/2Q==",blurWidth:5,blurHeight:8},Ah={src:"/_next/static/media/color-6-thumb.0c0cfc9c.jpg",height:291,width:196,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/sBCgoKCgoKCwwMCw8QDhAPFhQTExQWIhgaGBoYIjMgJSAgJSAzLTcsKSw3LVFAODhAUV5PSk9ecWVlcY+Ij7u7+//CABEIAAgABQMBIgACEQEDEQH/xAAoAAEBAAAAAAAAAAAAAAAAAAAAAwEBAQAAAAAAAAAAAAAAAAAABQb/2gAMAwEAAhADEAAAAKChM//EABgQAAIDAAAAAAAAAAAAAAAAAAADFWGS/9oACAEBAAE/AJdd5P/EABcRAQADAAAAAAAAAAAAAAAAAAEAE1H/2gAIAQIBAT8ArNZ//8QAFxEAAwEAAAAAAAAAAAAAAAAAAAESUf/aAAgBAwEBPwCVh//Z",blurWidth:5,blurHeight:8},Eh={src:"/_next/static/media/color-7-thumb.5894e7b7.jpg",height:291,width:196,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/sBCgoKCgoKCwwMCw8QDhAPFhQTExQWIhgaGBoYIjMgJSAgJSAzLTcsKSw3LVFAODhAUV5PSk9ecWVlcY+Ij7u7+//CABEIAAgABQMBIgACEQEDEQH/xAAnAAEBAAAAAAAAAAAAAAAAAAAABAEBAAAAAAAAAAAAAAAAAAAABf/aAAwDAQACEAMQAAAApDrH/8QAGBAAAgMAAAAAAAAAAAAAAAAAAAMVYZL/2gAIAQEAAT8AmV3g/8QAFxEAAwEAAAAAAAAAAAAAAAAAAAESYf/aAAgBAgEBPwCdZ//EABcRAAMBAAAAAAAAAAAAAAAAAAACE2H/2gAIAQMBAT8Aiun/2Q==",blurWidth:5,blurHeight:8},gh={src:"/_next/static/media/color-8-thumb.553c0d97.jpg",height:291,width:196,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/sBCgoKCgoKCwwMCw8QDhAPFhQTExQWIhgaGBoYIjMgJSAgJSAzLTcsKSw3LVFAODhAUV5PSk9ecWVlcY+Ij7u7+//CABEIAAgABQMBIgACEQEDEQH/xAAoAAEBAAAAAAAAAAAAAAAAAAAABAEBAQAAAAAAAAAAAAAAAAAABAb/2gAMAwEAAhADEAAAAKQml//EABgQAAIDAAAAAAAAAAAAAAAAAAADFWKS/9oACAEBAAE/AJpdsH//xAAVEQEBAAAAAAAAAAAAAAAAAAAAEf/aAAgBAgEBPwCv/8QAFxEBAAMAAAAAAAAAAAAAAAAAAQASUf/aAAgBAwEBPwChrP/Z",blurWidth:5,blurHeight:8},vh={src:"/_next/static/media/color-default-thumb.12731830.jpg",height:160,width:89,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/sBCgoKCgoKCwwMCw8QDhAPFhQTExQWIhgaGBoYIjMgJSAgJSAzLTcsKSw3LVFAODhAUV5PSk9ecWVlcY+Ij7u7+//CABEIAAgABAMBIgACEQEDEQH/xAAnAAEBAAAAAAAAAAAAAAAAAAAAAwEBAAAAAAAAAAAAAAAAAAAABP/aAAwDAQACEAMQAAAAuFH/AP/EABoQAAAHAAAAAAAAAAAAAAAAAAADBAYVU5P/2gAIAQEAAT8AlWPYvzMH/8QAGREAAQUAAAAAAAAAAAAAAAAAAAMEFFSS/9oACAECAQE/AJzywpo//8QAGREAAQUAAAAAAAAAAAAAAAAAAAMEFFOS/9oACAEDAQE/AIrahPJ//9k=",blurWidth:4,blurHeight:8},Ch={src:"/_next/static/media/palette-1.bfb301eb.png",height:870,width:1284,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAnElEQVR42g2Muw6CMBhG+966MOgj8AbsOBsGw0IMygB4SVBCS2npf4HJsNVO35eckyNQyZ1VKp+VOizMCTqXIkBEABm6ORambbK+vHr9fFRB2MBaH2ARvidEJca2Psl76Yf368Lraon5xwBnssaHbYWsbpluaj/134qJNgQXCq7ASftZDkpMn27vxjFnXo5sbULGpMQckXOZ7rr4D7zhiuqbGTZ6AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5},jh={src:"/_next/static/media/palette-2.b7a20202.png",height:870,width:1284,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAnElEQVR42g3Kuw6CMBQA0P63Lgz6CfwBO86mg2GQ6EBIMAHRCpTS170XXAxb5cyHWfXZTWrItBoOC1HinEvB+wjAc+9szPqm4HV5DX1bFTPSaq0JW8iJKCCAZO+mPD2rWxCv+jIvX4NIPwJ7BjsGAvNgdXXnWwqyFwUhrOBdQG9yr7ugpZBs6Nq9nmRGNB/RqgTMmCJhtCXeiTb+A6R5ipmCcftcAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5},Nh={src:"/_next/static/media/palette-3.ec924b15.png",height:870,width:1284,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAmklEQVR42g3KPQ6CMBgA0N5bFwc9Ajdgx9kwGBJDXIhBjAKCFij0+6OTYavM7ylj2s0w6MQMeu9EQgCIEHFHhDGADVRdZfE9v/imzjPHslg7eUJMRcQzUaeq8nZ8FFf/rp/n2bmJWX5M4wmh9cx9oVaM1+S1bjJmWhDBE5kUbOlH8+rU91NtR9MlIvMBYQit7SMR2jGZWOsq+AOUh4psilZ7fQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:5},Th={src:"/_next/static/media/palette-4.e9dc620c.png",height:870,width:1284,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAnklEQVR42g3Kuw6CMBQA0P63Lg76CfwBO86GwZAYNDGEEIIGSoW29nHbCyyGrTKfQz6K7fh3zIQcjzNibMAmAHAAB6mxJiJlX6T3+hYaWhWLx1UbHTbMETE45zip2vL8bB7hTV/XeVo0evxZZy4SeDBe1WTDtOrKwMa+cN6tFmwwTueDZYEpygkd2r1QPJtwOkmQsbQi8d4ftpR2gkZ/dS2KDsBF/nIAAAAASUVORK5CYII=",blurWidth:8,blurHeight:5},wh={src:"/_next/static/media/palette-5.7cfd34ad.png",height:870,width:1284,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAm0lEQVR42g3Muw6CMBhA4b63Lg76CLwBO86GwZAY4kJIQE3aSqBAaf8LTIatdj5fjujsfBjmqTDTdF6ZUgeQAcAJEHPnfSIqrfJH24RGq4qZ9sW5EEHJzAERjailvD7fr/DR+r6t28JEP494M+CDJWxFjHmtZPiaoUKi3QOEBbHs4klba4Ts+6OxtliZLyP4dPQuI+ZTRLkyY/IHmteKkTjKjocAAAAASUVORK5CYII=",blurWidth:8,blurHeight:5},_h={src:"/_next/static/media/palette-6.098fa968.png",height:870,width:1284,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAnUlEQVR42g3LsQ6CMBCA4b63Lg76CLwBO86mg2HBaEICIRpEhZYW2t4duBi2k+0f/k90NmyUGdPeDPuZMHYekhBgFwDl2pEon0ZeyhffG51/EZbRBV6HjIgYALUoanW8Vi0/mu48z9NIiL9VnwaP7JEqcataWdSa38rkiLT4AOwBs94hKwtaNK3Z9talE9Fh8BRbhwkR7jyQ/Cgf/QHJzYsssZnWwAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:5},bh={src:"/_next/static/media/palette-7.b225cabb.png",height:870,width:1284,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAl0lEQVR42hXMMQ6CQBAF0L23NhZ6BG5Aj7WhMDQkRimUqJGIugizO/NnqQzdqvVLnnEWs8H6giwtR5WUPTJhLIQ1Z4fEPGuXX3c2vs59FZQnTxJ/WKqGCFFr2tOwbvZ9bC/dNoyBoPIBY8OkEay1uR3e+ePoYnenCtBJ+D+g9D2is2KNbWhOHRequhIKKRMyAAuw5kPrky8Cy4vO9xPONQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:5},Sh={src:"/_next/static/media/palette-8.551da7dc.png",height:870,width:1284,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAmElEQVR42h3Kuw6CMBQA0P63Lgz6CfwBO86mg2HBREMi8RFMSmgpLb2POhm2SpzPEaj9xuupmo3dRaYCA5QIkBGgxBly4dpe9udnsg/VrGEBH9KKdWROjGTE2KqDvnRpeKkTf6Inpi8DHsn9410M107am0qTMg0TLRgwUcAa7ZzAOCOmt96G0VUceR89FuSgJKKMA8rQj/kP5GWLdDl06SQAAAAASUVORK5CYII=",blurWidth:8,blurHeight:5},yh={src:"/_next/static/media/palette-default.b4a6c9bf.png",height:870,width:1284,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAn0lEQVR42hWMvQ6CMBRG+966OOgj8AbsOJsOhoUJBjCR2tIQGn6MKYXSXpyudfim851DtNaHYRjSaRzP3rp4XtZkWe0pjBqzRoRzTvM8RymaIhx2bQwGmFnr0NqtI23bXquyxLpmd4DvuFnnA7wFG/mreRClFBVCoJSysNu/sCDAnnkALJ9VRxhjx77vU+/85T3reNKfBPx+ch5oN6voB2Z+jPCOf96bAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5},Rh={src:"/_next/static/media/ae-palette-1.74cdcf9c.png",height:850,width:1311,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAiUlEQVR42hXNywrCMBBG4b7/U+lStwoipGirJp3LP9OC9gLamC7O7oNTQS1IxwtYjqZQIdHUtIfUPJYuproyOArKplar4Ff6xnsTniFkJvbKiMlSyg67KnxWtdn74fL+jHmcJt6A4/XMEuMN8FUFq1lfuw+51G+LE0RdiPfWUauJWtiwK8gBP/8BTE2S31Vl6/wAAAAASUVORK5CYII=",blurWidth:8,blurHeight:5},Lh={src:"/_next/static/media/ae-palette-2.9bbf8658.png",height:850,width:1311,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAiElEQVR42hXNvQ6CQBBFYd7/qbTUVhNjAiKrss7OvTNQ8JcoKxan+5JTEFaKpAVJjwYiieIZwmFriW2sCqOTYDZYBeUX4OfRNOX9VmYR8YKpFUjIRlxBnwGbvesvwzDmcZrSBqJrrHOKr5r0FYrVrKvc+7zV/RcnAq5J95QY9B0Drd9tyEk//wA+S5K6fJXmEgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:5},Ih={src:"/_next/static/media/ae-palette-3.9a3364bd.png",height:850,width:1311,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAiUlEQVR42g3KwQ6CMBBF0f7/V+lSt5oYE5DQxsLMvJkpCwQSpXKTuztB1Roi3sByNSiIBSnGS0pxy3log6rrUVVYC9GfQL+x75vu1VQi8gB+k1BfTfGE+grYWsr0mOdPXZaFAyT7OLzqOKRO1XcR7GaldZ/qcQlmdgPEmeXMlCONOZpNpwO5qt//OB+SoNK9Oz4AAAAASUVORK5CYII=",blurWidth:8,blurHeight:5},Ph={src:"/_next/static/media/ae-palette-4.2a3a14cf.png",height:850,width:1311,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAi0lEQVR42g3Kuw7CMAwF0Pz/V8EIK0gIKaU0oaGxfe10oA8JGjqc7TiB+iHTysRnFchALM8YTl0Ma0rvxgEGASqgDRg/FnyfofO+9TXnbC5xnyN1lVXuEFtEdCllvE2fqc7zTC5JsjY/ahxeLWAbsWyqpTEb6644qF5I2DLxsecUekrBdDzsyQC7/gEpH5JxtemoDAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:5},Oh={src:"/_next/static/media/ae-palette-5.0a6684e2.png",height:850,width:1311,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAiUlEQVR42hXNuw6CQBBGYd7/qbTUVhNjAq6wQJjLP7MUCCTKCsXpvuQUCi8HklVYr6bQgVXfsb3UsVv7fqgKwCHwDFgFwU/UvqGJZRlCJmIvOlGqmTPDn4AvqrakND4+05TneeYD+IspR9EAtY0Fm1mq3Me8l47FjWFOaueWpWlJGrd02pEDfv8DPbOSt1cCfo0AAAAASUVORK5CYII=",blurWidth:8,blurHeight:5},Mh={src:"/_next/static/media/ae-palette-6.31af01b7.png",height:850,width:1311,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAiElEQVR42g3KQQ6CQAwF0Ln/qXSpW02MCYhAGGba/rYmKpAoA4u3e0FgVcpYmOSsAkkEeXbp1PZpiTHXAXDsqUCsBuPPor+mjVX16EvOZCGR5iFrEfgd0FlEZ3e/fT/vMk0ThcRm/YgyjGgAW5l1VfXa7FV2HqB+YTHLpMeRvItJO1M77MkAu25O/pLu0ym7vwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:5},Dh={src:"/_next/static/media/ae-palette-7.c222fe2e.png",height:850,width:1311,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAh0lEQVR42hXNyQrCMBRG4bz/U+lStwoitNSWDsmd/itoB9DGuDi7D05Q8YoiNiE9m6hQgvQPPg0tb9PIdTB1LSiboBbWrzA+fZOqthpzSowgyRJH5ALvoraK2Ar323t+5XlZKAgBNFimQRtV7My2m3kNPHPJ/4uLMsDJjhy9o8k6MxwKgiquP2j9ky4iYapkAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5},Gh={src:"/_next/static/media/ae-palette-8.506c896e.png",height:850,width:1311,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAhElEQVR42g3DSQrCQBQE0L7/qXSpWwUREtSYoYeq+h3QDKBpffAcYVXyWBlxFIgUgOHeHYZHv/re1040ClYE1Uj8IunT39rqWd1LDNGcPIN6FjFfQS2AFsvj5TW9yzTP0SnI2KaCLt5I25C4Sbk2G8t/dmI+MckQsJdngwENlXdSNtLOP1zakxOUdO7LAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5},kh={src:"/_next/static/media/ae-palette-default.9cd4ffcd.png",height:850,width:1311,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAhElEQVR42hWNzQrCQBCD+/5PpUe9KojQIvSm3dnZ+cnaFu12eggJ5Avp3L0vIouJXKGauHBKpBdmXxLJ0AGggJqbDab6F5VfzqWnzI2IuXO39wHU+n2a2Rx5Dn8A3tZ1/QQALlpalvSKYhPVDcAQilEtx8VNXQPi88Q0TpzGinoCwADuO2calhPu9z40AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5},Hh=a(14670),Bh=a.n(Hh),Uh=function(e){var t=e.hidden,a=e.transition,n=void 0===a||a,r=(0,i.useRef)(null);return(0,i.useEffect)((function(){var e=r.current;if(t)return I.ZP.killTweensOf(e),void I.ZP.fromTo(e,{opacity:1},{opacity:0,duration:.3});n?(I.ZP.killTweensOf(e),I.ZP.fromTo(e,{opacity:0},{opacity:1,duration:.3,ease:"power2.out"})):(I.ZP.killTweensOf(e),I.ZP.set(e,{opacity:1}))}),[t,n]),(0,s.jsxs)("div",{className:"pointer-events-none absolute left-1/2 top-1/2 h-[96%] w-[100%] -translate-x-1/2 -translate-y-1/2 transform","data-component":"tutorial-button",ref:r,children:[(0,s.jsx)("div",{className:"gpu will-change absolute inset-0 opacity-20","data-ref":"tutorial-button-background",children:(0,s.jsx)("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transform border-4 border-primary-blue-100",style:{width:"calc(100% + 6px)",height:"calc(100% + 6px)",borderRadius:"1.6rem"}})}),(0,s.jsx)("div",{className:"absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 transform border-2 border-primary-blue-100",style:{borderRadius:"1.5rem"}})]})},Zh=function(e){var t=e.active,a=(0,i.useRef)(null),n=(0,i.useRef)(null);return(0,i.useLayoutEffect)((function(){t?(I.ZP.fromTo(n.current,{cx:"".concat(10),stroke:"#999"},{stroke:"currentColor",cx:"".concat(25),duration:.1}),I.ZP.fromTo(a.current,{fill:"#999"},{fill:"currentColor",duration:.1})):(I.ZP.fromTo(a.current,{fill:"currentColor"},{fill:"#999",duration:.1}),I.ZP.fromTo(n.current,{cx:"".concat(25),stroke:"currentColor"},{stroke:"#999",cx:"".concat(10),duration:.1}))}),[t]),(0,s.jsx)("div",{className:"c-app-colour-palette__settings__icon",children:(0,s.jsxs)("svg",{className:"toggleSlider rtl:-scale-x-100 rtl:transform",width:"35",height:"20",viewBox:"0 0 35 20",y:"0.5",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{className:"toggleSliderPath",width:"35",height:"20",rx:"11",fill:"#858585",ref:a}),(0,s.jsx)("circle",{className:"toggleSliderCircle",cx:"10",cy:"10",r:"9",fill:"#FCFCFF",stroke:"#858585",strokeWidth:"2",ref:n})]})})},Yh=[[{color:"#E9948A",id:1},{color:"#D99F31",id:2},{color:"#D4CA26",id:3},{color:"#46C422",id:4}],[{color:"#20C0B5",id:5},{color:"#7DAFE7",id:6},{color:"#CB97EC",id:7},{color:"#EEA2D3",id:8}]],Fh=function(e){var t=(0,P.qr)(),a=t.colourPaletteIndex,n=t.setColourPaletteIndex,r=t.appName,l=e.wrapperRef,c=(0,i.useState)(a),o=c[0],d=c[1],u=(0,i.useState)(!1),p=u[0],x=u[1],f=(0,i.useContext)(ch),m=f.screen,h=f.setScreen,A=f.screenTo,E=(0,i.useContext)(dh),v=E.colorPaletteTutorial,C=E.setColorPaletteTutorial,j=(0,i.useRef)(null),N=(0,i.useRef)(null),T=(0,i.useRef)(null),w=Vf(l,j,N,(function(){h("Home")})),b=w.open,S=w.close,y=w.closeWithoutTransition,R={title:g.t["SETTINGS_WALLPAPER_AND_STYLES_WALLPAPER-COLORS-POP-UP-TITLE"],text:g.t["SETTINGS_WALLPAPER_AND_STYLES_WALLPAPER-COLORS-POP-UP-TEXT"],cta:{text:g.t["SETTINGS_WALLPAPER_AND_STYLES_WALLPAPER-COLORS-POP-UP-BUTTON"],handleClick:function(){}}};(0,i.useEffect)((function(){"colour-palette"===m.current&&((0,V.Kq)("/app/settings/wallpaper-and-style/colour-palette",M.dC.Settings),b())}),[b,m]),(0,i.useEffect)((function(){"wallpaper-and-style"!==A&&"privacy"!==A||y()}),[A]),(0,i.useEffect)((function(){"colour-palette"===m.current&&0!=o&&x(!0)}),[o,x,m]),(0,i.useEffect)((function(){"colour-palette"===m.current&&d(a)}),[r,m]);var I=function(e){var t=e.index,a=void 0===t?0:t,i=e.color;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("button",{className:"relative h-9 w-9","data-component":"app-settings-colour-palette-item","data-active":"false","data-index":a,onClick:function(){"finish"!==v&&C("selectPalette"),d(1==p?a:0)},children:(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center rounded-full",style:{backgroundColor:"".concat(i)},"data-ref":"app-settings-colour-palette-item-highlight",children:(0,s.jsx)("div",{className:"text-colour-palette-".concat(a,"-base"),children:1==p&&o===a&&(0,s.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("circle",{cx:"11",cy:"11",r:"11",fill:"white"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.0258 9.19194L11.0916 14.1258C10.8468 14.371 10.5097 14.5242 10.1419 14.5242C9.77389 14.5242 9.4371 14.371 9.19194 14.1258L5.97419 10.9387C5.6371 10.6016 5.6371 10.0806 5.97419 9.74385C6.3116 9.40645 6.83226 9.40645 7.16936 9.74385L10.1113 12.6858L14.8 7.99677C15.1371 7.65968 15.6581 7.65968 15.9945 7.99677C16.3323 8.33387 16.3629 8.85484 16.0258 9.19194M11 1.5C5.75968 1.5 1.5 5.75968 1.5 11C1.5 16.2403 5.75968 20.5 11 20.5C16.24 20.5 20.5 16.2403 20.5 11C20.5 5.75968 16.24 1.5 11 1.5",fill:"currentColor"})]})})})})})},O=g.t.getLanguage(),D=("ae"===O?[kh,Rh,Lh,Ih,Ph,Oh,Mh,Dh,Gh]:[yh,Ch,jh,Nh,Th,wh,_h,bh,Sh])[o],G="ae"===O?kh:yh;return(0,s.jsx)("div",{className:"gpu absolute inset-0 z-30 hidden overflow-hidden text-center","data-component":"app-settings-colour-palette",ref:j,children:(0,s.jsx)("div",{className:"c-app-colour-palette absolute inset-0","data-component":"app-themes-changes","data-theme":"default","data-colour":p?o:0,children:(0,s.jsxs)("div",{className:"c-app-colour-palette__settings absolute inset-0",children:[(0,s.jsx)("div",{className:"absolute inset-0 ".concat(0==p?"bg-colour-palette-0-background":"c-app-colour-palette__settings__background")}),(0,s.jsxs)("div",{className:"gpu absolute inset-0 hidden overflow-y-auto overflow-x-hidden",style:{bottom:"80px"},"data-ref":"app-settings-colour-palette-item",ref:N,children:[(0,s.jsx)("div",{className:"sticky top-0 z-20 py-2 pb-3 pt-10 ".concat(0==p?"bg-colour-palette-0-background":"c-app-colour-palette__settings__background"),children:(0,s.jsx)("div",{className:"relative px-6 py-2",children:(0,s.jsx)("div",{className:"flex-no-wrap flex items-center",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center",children:[(0,s.jsx)("button",{"data-ref":"app-settings-colour-palette-button-close",className:"c-app-colour-palette__settings__text ltr:mr-2 rtl:ml-2 rtl:-scale-x-100 rtl:transform",style:{width:"30px",height:"40px"},onClick:S,children:(0,s.jsx)(xm.Z,{})}),(0,s.jsx)("div",{style:{fontSize:"1.375rem"},children:(0,s.jsx)("div",{className:"c-app-colour-palette__settings__text flex-no-wrap flex items-center justify-start text-start font-bold leading-none",children:g.t["@PARADIGM_SETTINGS_COLOR_PALETTE_H1"]})})]})})})}),(0,s.jsx)("div",{className:"c-app-colour-palette__settings__text relative w-full",children:(0,s.jsxs)("div",{className:"relative mb-20 w-full px-list-container xxs:mb-14",children:[(0,s.jsx)("div",{className:"relative w-full pb-2",children:(0,s.jsx)("div",{className:"scrolling-touch relative w-full overflow-x-auto overflow-y-hidden","data-ref":"app-settings-colour-palette-item-banner",children:(0,s.jsx)("div",{className:"relative overflow-hidden px-6",style:{width:"500px",height:"300px"},children:(0,s.jsx)("img",{"data-loader":"image",src:0==p?G.src:D.src,className:"w-full",alt:""})})})}),(0,s.jsxs)("div",{className:H()(" relative mb-5",{"c-app-colour-palette__colour-pallete__section":1==p}),style:{borderRadius:"2rem"},children:[(0,s.jsx)(Uh,{hidden:"finish"===v||1==p}),(0,s.jsxs)("button",{className:"relative flex w-full items-center justify-between px-6",onClick:function(){"finish"!==v&&C("colorPaletteToggle"),x(!p)},children:[(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"relative w-full ltr:text-left rtl:text-right",children:(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)("div",{className:"py-4 font-semibold text-black",children:(0,s.jsx)("div",{className:H()("text-xl",{"text-black":!1===p&&"finish"===v,"text-primary-blue-100":!1===p&&"finish"!==v,"c-app-colour-palette__settings__text":!0===p}),children:g.t["SETTINGS_WALLPAPER-AND-STYLE_COLOR-PALETTE"]})})})})}),(0,s.jsx)(Zh,{active:p})]})]}),(0,s.jsx)("div",{className:"relative mb-5 bg-white opacity-60 ".concat(0==p&&"c-app-colour-palette__settings__disabled"),style:{borderRadius:"2rem"},children:(0,s.jsxs)("div",{className:"relative flex items-center justify-between px-6",children:[(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"relative w-full ltr:text-left rtl:text-right",children:(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)("div",{className:"py-4 text-black",children:(0,s.jsx)("div",{className:"text-lg",children:g.t["SETTINGS_COLOR-PALETTE_TOGGLE-TEXT"]})})})})}),(0,s.jsx)(Zh,{active:!0})]})}),(0,s.jsxs)("div",{className:"relative mb-5 bg-white px-6 pb-4 pt-5 ".concat(0==p&&"c-app-colour-palette__settings__disabled"),style:{borderRadius:"2rem"},children:[(0,s.jsxs)("div",{className:"mb-6 grid grid-cols-2 text-sm font-light",children:[(0,s.jsx)("div",{className:"flex items-center justify-center px-5 py-2 text-black",children:0==p?(0,s.jsxs)(s.Fragment,{children:[" ",g.t["SETTINGS_COLOR-PALETTE_WALLPAPER-COLORS"]]}):(0,s.jsx)("div",{className:"c-app-colour-palette__settings__text",children:(0,s.jsx)(ie,{path:"/app/settings/wallpaper-and-style/wallpaper-colors",page:M.dC.Settings,children:(0,s.jsx)(ht,(0,L.Z)((0,_.Z)({},R),{children:(0,s.jsx)("button",{ref:T,children:g.t["SETTINGS_COLOR-PALETTE_WALLPAPER-COLORS"]})}))})})}),(0,s.jsx)("div",{className:"flex items-center justify-center rounded-full px-5 py-2 font-semibold ".concat(0==p?"bg-primary-gray-104 text-black":"c-app-colour-palette__settings__text c-app-colour-palette__colour-pallete__button"),children:g.t["SETTINGS_COLOR-PALETTE_BASIC-COLORS-TAB"]})]}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("div",{className:"relative flex w-full flex-col gap-5",children:Yh.map((function(e){return(0,s.jsx)("div",{className:"mx-auto flex flex-row gap-10",children:e.map((function(e){return(0,s.jsx)(I,{index:e.id,color:e.color},e.id)}))},Bh().generate())}))})}),(0,s.jsx)("div",{className:"w-full pt-4 text-center",children:(0,s.jsxs)("svg",{width:"25",height:"7",viewBox:"0 0 25 7",fill:"none",className:"inline",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("circle",{opacity:"0.35",cx:"21.5",cy:"3.5",r:"3.5",fill:"#909090"}),(0,s.jsx)("circle",{cx:"3.5",cy:"3.5",r:"3.5",fill:"#909090"})]})}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center px-0.5","data-guide":"tutorial","data-tutorial-type":"colour-palette",children:(0,s.jsx)("div",{className:"relative h-full w-full flex-1",children:"selectPalette"!=v&&(0,s.jsx)(Uh,{hidden:"finish"===v||0==p||0!=o})})})]})]})})]}),(0,s.jsx)("div",{className:H()("c-app-colour-palette__settings__text c-app-colour-palette__settings__background fixed left-0 bottom-0 right-0 pb-20 before:pointer-events-none before:absolute before:-top-[60px] before:left-0 before:h-[60px] before:w-[30px] before:rounded-bl-[30px] before:bg-transparent before:shadow-[0_30px_0_0] after:pointer-events-none after:absolute after:-top-[60px] after:right-0 after:h-[60px] after:w-[30px] after:rounded-br-[30px] after:bg-transparent after:shadow-[0_30px_0_0] xxs:pb-12",{"bg-colour-palette-0-background":0==p,"before:text-colour-palette-0-background after:text-colour-palette-0-background":0==o,"before:text-colour-palette-1-background after:text-colour-palette-1-background":0!==o}),children:(0,s.jsx)("div",{className:"relative w-full py-4",children:(0,s.jsxs)("div",{className:"relative w-full ".concat(0==p&&0==a&&"c-app-colour-palette__settings__disabled"),children:[(0,s.jsx)("button",{className:"w-2/3 rounded-full py-2.5 text-lg font-semibold text-white ".concat(0==p?"bg-colour-palette-0-base":"c-app-colour-palette__settings__apply"),"data-ref":"app-settings-colour-palette-button-apply",onClick:function(){C("finish"),(0,V.Kq)("/app/settings/wallpaper-and-style/colour-palette/palette-".concat(o,"/apply"),M.dC.Settings),n(1==p?o:0),S()},children:g.t["SETTINGS_COLOR-PALETTE_APPLY-CTA"]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 items-center justify-center","data-guide":"tutorial","data-tutorial-type":"colour-palette",children:(0,s.jsx)("div",{className:"relative mx-auto my-auto h-12 w-2/3",children:"finish"!=v&&(0,s.jsx)(Uh,{hidden:0===o})})})]})})})]})})})},Vh=H()(Object.values({tw:"tw:xxs:text-lg"})),Wh=function(e){var t=(0,P.qr)().colourPaletteIndex,a=(0,pt.O)().pushOverlayStack,n=(0,P.q0)(),r=n.theme,l=n.setTheme,c=D("preview/icon-theme-4.jpg"),o=["themes/default/preview/icon-theme-palette-default.jpg?version=".concat(M.K0),"themes/default/preview/icon-theme-palette-1.jpg?version=".concat(M.K0),"themes/default/preview/icon-theme-palette-2.jpg?version=".concat(M.K0),"themes/default/preview/icon-theme-palette-3.jpg?version=".concat(M.K0),"themes/default/preview/icon-theme-palette-4.jpg?version=".concat(M.K0),"themes/default/preview/icon-theme-palette-5.jpg?version=".concat(M.K0),"themes/default/preview/icon-theme-palette-6.jpg?version=".concat(M.K0),"themes/default/preview/icon-theme-palette-7.jpg?version=".concat(M.K0),"themes/default/preview/icon-theme-palette-8.jpg?version=".concat(M.K0)][t],d=e.wrapperRef,u=(0,i.useContext)(ch),p=u.screen,x=u.setScreen,f=(0,i.useContext)(dh),m=f.colorPaletteTutorial,h=f.setColorPaletteTutorial,A=(0,i.useRef)(null),E=(0,i.useRef)(null),v=(0,i.useRef)(null),C=Vf(d,E,v,(function(){x("Home")})),j=C.open,N=C.openWithoutTransition,T=C.close;(0,i.useEffect)((function(){"wallpaper-and-style"===p.current&&"wallpaper-and-style"!==p.prev&&("Home"===p.prev?((0,V.Kq)("/app/settings/wallpaper-and-style",M.dC.Settings),j()):N())}),[j,p]);var w=[vh,ph,xh,fh,mh,hh,Ah,Eh,gh][t];return(0,s.jsxs)("div",{className:"gpu pointer-events-none absolute inset-0 z-30 hidden overflow-hidden text-center","data-component":"app-settings-wallpaper-and-style",ref:E,children:[(0,s.jsx)("div",{className:"c-app-colour-palette absolute inset-0","data-component":"app-themes-changes","data-theme":r,"data-colour":t,children:(0,s.jsx)("div",{className:"absolute inset-0","data-ref":"app-settings-wallpaper-and-style-wrapper",ref:A,children:(0,s.jsxs)("div",{className:"c-app-wallpaper-and-style absolute inset-0","data-component":"app-themes-changes","data-theme":r,children:[(0,s.jsx)("div",{className:"c-app-colour-palette__settings__background absolute inset-0"}),(0,s.jsxs)("div",{className:"gpu absolute inset-0 hidden overflow-y-auto overflow-x-hidden",style:{bottom:"80px"},"data-ref":"app-settings-wallpaper-and-style-item",ref:v,children:[(0,s.jsx)("div",{className:"c-app-colour-palette__settings__background sticky top-0 z-20 py-2 pb-3 pt-10",children:(0,s.jsx)("div",{className:"relative px-4 py-2",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center",children:[(0,s.jsx)("div",{className:"flex ltr:mr-1 rtl:ml-1",children:(0,s.jsx)("button",{"data-ref":"app-settings-wallpaper-and-style-button-close",className:"c-app-colour-palette__settings__text rtl:-scale-x-100 rtl:transform",style:{width:"30px",height:"40px"},onClick:T,children:(0,s.jsx)(Yr,{})})}),(0,s.jsx)("div",{style:{fontSize:"1.375rem"},children:(0,s.jsx)("div",{className:"c-app-colour-palette__settings__text flex-no-wrap flex items-center justify-start text-start font-bold leading-none",children:g.t["SETTINGS_WALLPAPER-AND-STYLE_H1"]})})]}),(0,s.jsx)("div",{className:"flex-no-wrap flex gap-2",children:(0,s.jsx)("button",{className:"c-app-colour-palette__settings__text flex items-center justify-center text-center",style:{width:"30px",height:"30px"},children:(0,s.jsx)($p,{})})})]})})}),(0,s.jsxs)("div",{className:"relative mt-2 w-full",children:[(0,s.jsx)("div",{className:"relative w-full px-6",children:(0,s.jsxs)("div",{className:"flex flex-nowrap justify-around space-x-6 px-6 pb-5",children:[(0,s.jsx)("div",{className:"w-full",children:(0,s.jsxs)("div",{className:"wallpaper-shadow relative h-full w-full overflow-hidden rounded-xl bg-white",children:[(0,s.jsx)("div",{className:"c-app-colour-palette__preview-image absolute inset-0 bg-cover bg-center",style:{backgroundImage:"url(".concat(c,")")},"data-component":"app-themes-changes","data-theme":r}),(0,s.jsx)("div",{className:"c-app-colour-palette__preview-date-time absolute inset-0 flex items-center px-2",children:(0,s.jsxs)("div",{className:"c-app-colour-palette__text mb-32 flex flex-col items-center justify-center",children:[(0,s.jsx)("div",{className:H()("c-app-colour-palette__text-preview-time w-full text-2xl font-semibold tracking-normal",Vh),children:g.t["SETTINGS_WALLPAPER-AND-STYLE_VIDEO-TIME"]}),(0,s.jsx)("div",{className:"c-app-colour-palette__text-preview-date w-full text-[6px] tracking-normal",children:g.t["SETTINGS_WALLPAPER-AND-STYLE_VIDEO-DATE"]})]})})]})}),(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)("div",{className:"wallpaper-shadow relative w-full overflow-hidden rounded-xl bg-white",children:"default"===r?(0,s.jsx)(yl,{width:147,height:315,"data-loader":"image",src:o,className:"relative w-full opacity-100","data-component":"app-themes-changes",alt:""}):(0,s.jsx)(yl,{width:147,height:315,"data-loader":"image",src:"themes/".concat(r,"/preview/icon-theme-1.jpg?version=").concat(M.K0),className:"relative w-full opacity-100","data-component":"app-themes-changes",alt:""})})})]})}),(0,s.jsxs)("div",{className:"relative w-full p-list-container",children:[(0,s.jsx)("div",{className:"relative mb-5 bg-white opacity-60",style:{borderRadius:"2rem"},children:(0,s.jsx)("div",{className:"relative px-6",children:(0,s.jsx)("div",{className:"relative w-full ltr:text-left rtl:text-right",children:(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)("div",{className:"py-4 text-black",children:(0,s.jsx)("div",{className:"text-lg",children:g.t["SETTINGS_WALLPAPER-AND-STYLE_CHANGE-WALLPAPERS"]})})})})})}),(0,s.jsxs)("div",{className:"relative mb-5 bg-white",style:{borderRadius:"2rem"},children:[(0,s.jsxs)("div",{className:"relative flex items-center justify-between px-6","data-ref":"app-settings-wallpaper-and-style-button-colour-palette",onClick:function(){"finish"!==m&&h("colorPalette"),"default"!==r?a({data:{title:g.t["SETTINGS_WALLPAPER-AND-STYLE_THEME-TITLE"],text:g.t["SETTINGS_WALLPAPER-AND-STYLE_THEME-TEXT"],cta:{text:g.t["SETTINGS_WALLPAPER-AND-STYLE_THEME-CANCEL-TEXT"]},secondaryCta:{text:g.t["SETTINGS_COLOR-PALETTE_APPLY-CTA"],handleClick:function(){l("default"),x("colour-palette")}}},type:"alert"}):x("colour-palette")},children:[(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"relative w-full ltr:text-left rtl:text-right",children:(0,s.jsx)("div",{className:"w-full",children:(0,s.jsxs)("div",{className:"py-4 text-black",children:[(0,s.jsx)("div",{className:"text-lg",children:g.t["SETTINGS_COLOR-PALETTE_H2"]}),(0,s.jsx)("div",{className:"w-[70%] font-light leading-4 text-primary-gray-350 ltr:mr-4 rtl:ml-4",style:{fontSize:"0.8125rem"},children:g.t["SETTINGS_COLOR-PALETTE_CHOOSE-A-PALETTE"]})]})})})}),(0,s.jsx)("div",{children:(0,s.jsx)("img",{width:33,height:60,"data-loader":"image",src:w.src,className:"w-full rounded-xl border-primary-gray-125",style:{borderWidth:"0.5px",width:"38px",height:"60px"},"data-ref":"app-settings-colour-palette-item-thumb",alt:""})})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center px-0.5","data-guide":"tutorial","data-tutorial-type":"colour-palette",children:(0,s.jsx)("div",{className:"relative h-full w-full flex-1",children:(0,s.jsx)(Uh,{hidden:"finish"===m})})})]}),(0,s.jsx)("div",{className:"relative mb-5 bg-white",style:{borderRadius:"2rem"},children:(0,s.jsxs)("div",{className:"relative flex items-center justify-between px-6 opacity-60",children:[(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"relative w-full ltr:text-left rtl:text-right",children:(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)("div",{className:"py-4 pr-4 text-black",children:(0,s.jsx)("div",{className:"text-lg",children:g.t["SETTINGS_WALLPAPER-AND-STYLE_TOGGLE-TEXT"]})})})})}),(0,s.jsx)("div",{children:(0,s.jsx)(Zh,{active:!0})})]})})]})]})]})]})})}),("wallpaper-and-style"===p.current||"colour-palette"===p.current)&&(0,s.jsx)(Fh,{wrapperRef:A,tutorial:"finish"!==m})]})},Xh="/_next/static/media/accounts.e85301ab.svg",Kh="/_next/static/media/app-security.1a0605d1.svg",Qh="/_next/static/media/find-my-mobile.9628dc82.svg",zh="/_next/static/media/lock-screen.2e9af0b9.svg",qh="/_next/static/media/updates.b018499b.svg",Jh=null,$h=null,eA=null,tA=null,aA=null,sA=null,iA=null,nA=null,rA=null,lA=function(){Jh=document.querySelector(".progress-bar"),$h=document.querySelector(".progress-line"),eA=document.querySelector(".count"),tA=document.querySelector("#scanning"),aA=document.querySelector("#no-threats-detected"),iA=document.querySelectorAll(".item"),(nA=I.p8.utils.toArray(iA)).reverse(),sA=document.querySelector(".c-app-device-protection"),I.p8.set($h,{left:10}),I.p8.set(nA,{display:"none",opacity:0})},cA=function(){lA(),null===rA||void 0===rA||rA.kill(),null===Cf||void 0===Cf||Cf.kill(),null===vf||void 0===vf||vf.kill(),I.p8.set($h,{left:10,opacity:1}),I.p8.set(Jh,{width:"0px"}),I.p8.set(tA,{display:"block"}),I.p8.set(aA,{display:"none",opacity:0}),I.p8.set(sA,{display:"block",opacity:1})},oA="/_next/static/media/mc-afee.539155cb.svg",dA="/_next/static/media/protection-warning-shield.def8b81f.svg",uA=function(e){var t=e.title,a=e.src,i=e.isWorkApp;return(0,s.jsxs)("div",{className:"item flex flex-row items-center py-2.5",children:[(0,s.jsxs)("div",{className:"ltr:mr-3.5 rtl:ml-3.5",children:[(0,s.jsx)("img",{className:"w-[40px]",src:"".concat(a,"?version=").concat(M.K0),alt:""}),i&&(0,s.jsx)("img",{src:Wa,className:"absolute left-[50px] max-w-[24px] -translate-y-5",alt:""})]}),(0,s.jsx)("div",{className:"text-xl",children:t})]})},pA=function(e){var t=e.color,a=void 0===t?"#26C257":t;return(0,s.jsxs)("svg",{width:24,height:26,viewBox:"0 0 21 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7307 25.083C11.8485 24.6282 13.7907 23.6479 15.6083 22.1037C18.7179 19.4602 20.296 16.2741 20.296 12.629V5.0088C20.296 3.96755 19.5282 3.09488 18.4997 2.93763C15.7599 2.51971 13.4776 1.72071 11.082 0.593047C10.5225 0.330964 9.87222 0.330964 9.31263 0.593047C6.91705 1.7193 4.6348 2.51971 1.89355 2.93763C0.865049 3.09488 0.0986328 3.96755 0.0986328 5.0088V12.629C0.0986328 16.2741 1.6768 19.4602 4.78638 22.1037C6.60538 23.6479 8.54622 24.6282 9.66397 25.083C10.0068 25.2232 10.3879 25.2232 10.7307 25.083Z",fill:a}),(0,s.jsx)("path",{d:"M15.5098 9.73242L9.58405 15.6764C9.34666 15.9137 8.96112 15.9137 8.72434 15.6764L4.88477 11.8252",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})},xA="cn"!==g.t.getLanguage(),fA="messages"===z.e.defaultMessageApp,mA=fA?"/assets/images/themes/default/icons/app-messages.png":"/assets/images/themes/default/icons/app-android-messages.png",hA=H()(Object.values({vn:"vn:text-[23px]",jp:"jp:text-[25px]"})),AA=function(e){var t=e.wrapperRef,a=(0,P.qr)().colourPaletteIndex,n=(0,re.ON)(),r=n.isAppActive,l=n.offerPair,c=r(),o=(0,i.useRef)(null),d=(0,i.useRef)(null),u=(0,i.useRef)(null),p=(0,i.useRef)(null),x=(0,i.useRef)(null),f=p.current,m=x.current,h=(0,i.useContext)(ch),A=h.screen,E=h.setScreen,v=h.scanningCompleted,C=h.setScanningCompleted,j=h.deviceProtectionTutorial,N=h.setDeviceProtectionTutorial,T=h.protectionTurnedOn,w=h.setProtectionTurnedOn,b=[{src:"/assets/images/themes/default/icons/app-health.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_HEALTH"]},{src:"/assets/images/themes/default/icons/app-kids.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_SAMSUNG-KIDS"]},{src:mA,title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_MESSAGES"]},{src:"/assets/images/themes/default/icons/app-quick-share.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_QUICK-SHARE"]},{src:"/assets/images/themes/default/icons/app-call.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_PHONE"]}].concat((0,G.Z)(xA?[{src:"/assets/images/themes/default/icons/app-smart-things.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_SMART-THINGS"]}]:[]),[{src:"/assets/images/themes/default/icons/app-galaxy-themes.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_THEMES"]},{src:"/assets/images/themes/default/icons/app-settings.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_SETTINGS"]},{src:"/assets/images/themes/default/icons/app-gallery.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_GALLERY"]},{src:"/assets/images/themes/default/icons/app-smart-switch.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_SMART-SWITCH"]},{src:"/assets/images/themes/default/icons/app-camera.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_CAMERA"]}],(0,G.Z)(he.tP?[{src:"/assets/images/themes/default/icons/app-learn-more.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_SAMSUNG-KNOX"]},{src:"/assets/images/themes/default/icons/app-contacts.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_CONTACTS"],isWorkApp:!0},{src:"/assets/images/themes/default/icons/app-calendar.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_CALENDAR"],isWorkApp:!0},{src:"/assets/images/themes/default/icons/app-samsung-internet.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_SAMSUNG-INTERNET"],isWorkApp:!0},{src:"/assets/images/themes/default/icons/app-settings.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_SETTINGS"],isWorkApp:!0}]:c?[{src:"/assets/images/themes/default/icons/app-special-offer.png",title:(null===l||void 0===l?void 0:l.appTitle)?[l.appTitle.lineOne,l.appTitle.lineTwo].join(" "):g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_SPECIAL-OFFER"]}]:[{src:"/assets/images/themes/default/icons/app-learn-more.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_SAMSUNG-COM"]}]),[{src:"/assets/images/themes/default/icons/app-user-survey.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_USER-SURVEY"]},{src:"/assets/images/themes/default/icons/app-samsung-wallet.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_SAMSUNG-WALLET"]},{src:"/assets/images/themes/default/icons/app-fold-experience.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_FOLD-EXPERIENCE"]},{src:"/assets/images/themes/default/icons/app-galaxy-ecosystem.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_GALAXY-ECOSYSTEM"]},{src:"/assets/images/themes/default/icons/app-galaxy-buds.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_WEARABLES-BUDS"]},{src:"/assets/images/themes/default/icons/app-galaxy-ring.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_WEARABLES-RING"]},{src:"/assets/images/themes/default/icons/app-galaxy-watch.png",title:g.t["SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_WEARABLES-WATCH"]},{src:"/assets/images/themes/default/icons/app-ultra-film.png",title:g.t["@PARADIGM_SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_GALAXY-S25-ULTRA"]},{src:"/assets/images/themes/default/icons/app-base-film.png",title:g.t["@PARADIGM_SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_GALAXY-S25-PLUS"]},{src:"/assets/images/themes/default/icons/app-foldable-film.png",title:g.t["@PARADIGM_SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_GALAXY-Z-SERIES"]},{src:"/assets/images/themes/default/icons/app-wearable.png",title:g.t["@PARADIGM_SETTINGS_DEVICE_SETTINGS-SCANNER_APP-TITLE_GALAXY-WEARABLES"]}]),S=Vf(t,d,u,(function(){v||E("Home"),R&&"finish"!=j&&N("appSecurity")})),y=S.open,R=S.close,L=function(){C(!0),w(!0),N("finish"),I.ZP.to(m,{opacity:1}),I.ZP.set(f,{position:"absolute",top:"999px",opacity:0}),cA(),lA()};return(0,i.useEffect)((function(){"device-protection"===A.current&&((0,V.Kq)("/app/settings/security/app-protection",M.dC.Settings),y())}),[y,A]),(0,s.jsxs)("div",{className:"gpu absolute inset-0 z-30 hidden overflow-hidden text-center","data-component":"app-settings-device-protection",ref:d,children:[(0,s.jsx)("div",{className:"c-app-colour-palette absolute inset-0","data-colour":a,"data-component":"app-themes-changes","data-theme":"default",children:(0,s.jsx)("div",{className:"absolute inset-0","data-ref":"app-settings-privacy-wrapper",ref:o,children:(0,s.jsxs)("div",{className:"c-app-wallpaper-and-style absolute inset-0","data-component":"app-themes-changes","data-theme":"default",children:[(0,s.jsx)("div",{className:"c-app-colour-palette__settings__background absolute inset-0"}),(0,s.jsx)("div",{className:"gpu absolute inset-0 hidden overflow-y-auto overflow-x-hidden",style:{bottom:"80px"},"data-ref":"app-settings-privacy-item",ref:u,children:(0,s.jsxs)("div",{className:"device-protection",ref:x,children:[(0,s.jsx)("div",{className:"c-app-colour-palette__settings__background sticky top-0 z-20 py-2 pb-3 pt-10",children:(0,s.jsx)("div",{className:"relative px-6 py-2",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center",children:[(0,s.jsx)("div",{className:"flex items-center justify-center ltr:mr-2 rtl:ml-2",children:(0,s.jsx)("button",{"data-ref":"app-settings-privacy-button-close",className:"c-app-colour-palette__settings__text rtl:-scale-x-100 rtl:transform",style:{width:"30px",height:"40px"},onClick:function(){E("device-care")},children:(0,s.jsx)(Yr,{})})}),(0,s.jsx)("div",{className:"text-2xl",children:(0,s.jsx)("div",{className:"c-app-colour-palette__settings__text flex-no-wrap flex items-center justify-start text-start font-semibold leading-none",style:{fontSize:"1.3125rem"},children:(0,s.jsx)("div",{children:g.t["SETTINGS_DEVICE-PROTECTION_H2"]})})})]}),(0,s.jsx)("div",{className:"flex-no-wrap flex gap-2",children:(0,s.jsx)("button",{className:"c-app-colour-palette__settings__text flex items-center justify-center text-center",style:{width:"30px",height:"30px"},children:(0,s.jsx)(Gr,{})})})]})})}),0==T?(0,s.jsxs)("div",{className:"relative w-full pb-6 ltr:pl-6 ltr:pr-8 ltr:text-left rtl:pr-6 rtl:pl-8 rtl:text-right",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between pb-5",children:[(0,s.jsx)("div",{className:"c-app-colour-palette__settings__text text-3xl font-bold text-black",children:g.t["@PARADIGM_SETTINGS_DEVICE-PROTECTION_SCAN-NEEDED"]}),(0,s.jsx)("img",{"data-loader":"image","data-src":dA,src:dA,alt:""})]}),(0,s.jsx)("div",{className:"text-sm text-primary-gray-270",children:g.t["SETTINGS_DEVICE-PROTECTION_LAST-SCANNED"]}),(0,s.jsxs)("div",{className:"pt-2.5 text-sm",children:[g.t["@PARADIGM_SETTINGS_DEVICE-PROTECTION_TURN-ON-PROTECTION"],(0,s.jsx)("div",{className:"block",style:{lineHeight:"1.125rem"},children:(0,s.jsxs)("div",{className:"mt-5 flex items-center justify-end",children:[(0,s.jsxs)(sa.Z,{languages:["cn"],children:[(0,s.jsx)("span",{className:"text-[13px] font-normal not-italic leading-[normal] text-primary-gray-360 ltr:mr-1 rtl:ml-1",children:g.t["SETTINGS_DEVICE-PROTECTION_POWERED-BY"]}),(0,s.jsx)("img",{"data-loader":"image","data-src":oA,src:oA,alt:"",width:60,height:12})]}),(0,s.jsx)(aa.Z,{languages:["cn"],children:(0,s.jsx)("div",{children:g.t["SETTINGS_DEVICE-PROTECTION_TENCENT"]})})]})})]})]}):(0,s.jsxs)("div",{className:"relative w-full pb-8 ltr:pl-6 ltr:pr-8 ltr:text-left rtl:pr-6 rtl:pl-8 rtl:text-right",children:[(0,s.jsxs)("div",{className:H()("c-app-colour-palette__settings__text flex items-center justify-between pb-5 text-3xl font-bold text-black",hA),children:[(0,s.jsx)("div",{children:g.t["SETTINGS_DEVICE-PROTECTION_NO-THREATS"]}),(0,s.jsx)(pA,{})]}),(0,s.jsx)("div",{className:"text-sm text-primary-gray-270",children:g.t["SETTINGS_DEVICE-PROTECTION_LAST-SCANNED"]}),(0,s.jsx)("div",{className:"pt-2.5 text-sm",children:g.t["SETTINGS_DEVICE-PROTECTION_MCAFEE-SAMSUNG"]}),(0,s.jsxs)("div",{className:"mt-5 flex items-center justify-end",children:[(0,s.jsxs)(sa.Z,{languages:["cn"],children:[(0,s.jsx)("span",{className:"text-[13px] font-normal not-italic leading-[normal] text-primary-gray-360 ltr:mr-1 rtl:ml-1",children:g.t["SETTINGS_DEVICE-PROTECTION_POWERED-BY"]}),(0,s.jsx)("img",{"data-loader":"image","data-src":oA,src:oA,alt:"",width:60,height:12})]}),(0,s.jsx)(aa.Z,{languages:["cn"],children:(0,s.jsx)("div",{children:g.t["SETTINGS_DEVICE-PROTECTION_TENCENT"]})})]})]}),(0,s.jsx)("div",{className:"relative w-full ltr:pl-6 ltr:pr-8 rtl:pr-6 rtl:pl-8",children:(0,s.jsxs)("div",{className:"relative mx-auto mb-11 w-[215px]",children:[(0,s.jsx)("div",{className:"c-app-colour-palette__settings__apply-darker mx-auto rounded-[40px] py-3.5 text-base font-semibold text-white",onClick:function(){lA(),function(e,t){eA.innerHTML="0",rA=I.p8.timeline({delay:2}),vf=I.p8.timeline({delay:2}),Cf=I.p8.timeline({repeat:10,yoyo:!0,yoyoEase:"power0.none"}),I.p8.registerEffect({name:"counter",extendTimeline:!0,effect:function(e,t){return rA.to(e,{duration:t.duration,innerText:t.end,modifiers:{innerText:function(e){return I.p8.utils.snap(t.increment,e).toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}},ease:t.ease},0),rA}});var a,s=.6*t.numApps,i=window.innerWidth-78;Cf.add((a=i,(Cf=I.p8.timeline({repeat:1,yoyo:!0,yoyoEase:"power0.none"})).to($h,{left:a,duration:1}),Cf)),rA.to($h,{opacity:0,delay:s,duration:0}).to(tA,{display:"none"}).to(aA,{display:"block",opacity:1,ease:"power3.inOut"}).to(Jh,{width:400,duration:4,ease:"power3.inOut",delay:.8}).to(sA,{display:"none",opacity:0,onComplete:e}).counter(eA,{end:100,increment:5,duration:s+2}),vf.to(nA,{duration:1,display:"flex",opacity:1,stagger:.6,delay:0,ease:"power3.out"})}(L,{numApps:b.length}),I.ZP.to(f,{position:"relative",top:"0",duration:.5,ease:"power3.out",opacity:1}),I.ZP.to(m,{opacity:0}),(0,V.Kq)("/app/settings/security/app-protection/scan-phone",M.dC.Settings),"finish"!=j&&N("scanPhone")},children:g.t["SETTINGS_DEVICE-PROTECTION_SCAN-PHONE"]}),(0,s.jsx)(Uh,{hidden:"finish"===j})]})}),(0,s.jsx)("div",{className:"relative flex w-full flex-col gap-4 ltr:pl-6 ltr:pr-10 ltr:text-left rtl:pr-6 rtl:pl-10 rtl:text-right",children:(0,s.jsxs)(sa.Z,{languages:["cn"],children:[(0,s.jsx)("div",{className:"text-lg font-medium",children:g.t["SETTINGS_DEVICE-PROTECTION_TIP"]}),(0,s.jsx)("div",{className:"text-sm",children:g.t["SETTINGS_DEVICE-PROTECTION_PROTECT-DEVICES"]}),(0,s.jsx)("div",{className:"c-app-colour-palette__settings__link text-sm font-semibold underline",children:g.t["SETTINGS_DEVICE-PROTECTION_CHECK-OFFERS"]})]})})]})})]})})}),(0,s.jsxs)("div",{className:"device-scanning-animation",ref:p,style:{position:"absolute",top:"999px",opacity:0,height:"calc(100% - 80px)",overflow:"hidden"},children:[(0,s.jsx)("div",{className:"c-app-colour-palette__settings__background sticky z-30 py-2 pb-3 pt-10",children:(0,s.jsx)("div",{className:"relative px-6 py-2",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center",children:[(0,s.jsx)("div",{className:"flex items-center justify-center ltr:mr-2 rtl:ml-2",children:(0,s.jsx)("button",{"data-ref":"app-settings-privacy-button-close",className:"c-app-colour-palette__settings__text rtl:-scale-x-100 rtl:transform",style:{width:"30px",height:"40px"},onClick:function(){cA(),I.ZP.to(m,{opacity:1}),I.ZP.set(f,{position:"absolute",top:"999px",opacity:0})},children:(0,s.jsx)(Yr,{})})}),(0,s.jsx)("div",{className:"text-2xl",children:(0,s.jsx)("div",{className:"c-app-colour-palette__settings__text flex-no-wrap flex items-center justify-start text-start font-semibold leading-none",style:{fontSize:"1.375rem"},children:(0,s.jsx)("div",{children:g.t["SETTINGS_DEVICE-PROTECTION_H2"]})})})]}),(0,s.jsx)("div",{className:"flex-no-wrap flex gap-2",children:(0,s.jsx)("button",{className:"c-app-colour-palette__settings__text flex items-center justify-center text-center",style:{width:"30px",height:"30px"},children:(0,s.jsx)(Gr,{})})})]})})}),(0,s.jsxs)("div",{className:"relative mb-4 w-full px-6 ltr:text-left rtl:text-right",children:[(0,s.jsxs)("div",{className:"min-h-[36px] px-2 text-3xl text-black",children:[(0,s.jsx)("span",{id:"scanning",className:"c-app-colour-palette__settings__text font-semibold",children:g.t["SETTINGS_DEVICE-PROTECTION_SCANNING"]}),(0,s.jsx)("span",{id:"no-threats-detected",className:"c-app-colour-palette__settings__text hidden font-bold opacity-0",children:g.t["SETTINGS_DEVICE-PROTECTION_NO-THREATS-DETECTED"]}),(0,s.jsxs)("div",{className:"text-left text-sm font-normal leading-4",children:[(0,s.jsx)("span",{className:"count",children:g.t["SETTINGS_DEVICE-PROTECTION_SCANNING-ZERO"]}),g.t["SETTINGS_DEVICE-PROTECTION_PERCENT-SYMBOL"]]})]}),(0,s.jsx)("div",{className:"relative flex w-full items-center justify-between px-2 pb-2.5 pt-2",children:(0,s.jsxs)("div",{className:"relative h-8 w-full overflow-hidden rounded-[40px] bg-[#EDEDED]",children:[(0,s.jsx)("div",{className:"progress-bar absolute bottom-0 left-0 top-0 overflow-hidden rounded-[40px] bg-[#7A84FF]"}),(0,s.jsx)("div",{className:"progress-line absolute top-1 h-6 w-2 rounded-2xl bg-[#387AFF] text-center"})]})}),(0,s.jsx)("div",{className:"c-app-device-protection mt-4",children:b.map((function(e,t){return(0,s.jsx)(uA,(0,_.Z)({},e),t)}))})]})]})]})},EA=a(11248),gA=a.n(EA),vA="/_next/static/media/battery.c02bc1ff.png",CA="/_next/static/media/storage.8f08b6d9.png",jA="/_next/static/media/device-protection.e3931f98.png",NA="/_next/static/media/memory.60a6c2c0.png",TA=function(){return(0,s.jsxs)("svg",{width:"17",height:"19",viewBox:"0 0 17 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M14.1892 5.35132L14.1892 18.1081",stroke:"currentColor",strokeWidth:"1.2973",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M9.64843 6.86487L9.64842 18.1081",stroke:"currentColor",strokeWidth:"1.2973",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M5.32446 13.3514L5.32445 18.1081",stroke:"currentColor",strokeWidth:"1.2973",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M0.999993 10.3243L0.999988 18.1081",stroke:"currentColor",strokeWidth:"1.2973",strokeLinecap:"round"}),(0,s.jsx)("circle",{cx:"14.189",cy:"3.6216",r:"2.81081",fill:"#E65B17"})]})},wA={id:"id:text-lg"},_A={br:"br:text-lg br:text-left",ru:"ru:text-left"},bA=(H()(Object.values(wA)),H()(Object.values(_A)),function(e){var t=e.wrapperRef,a=(0,P.qr)(),n=a.colourPaletteIndex,r=a.backButtonStack,l=(0,i.useRef)(null),c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)(null),u=(0,i.useContext)(ch),p=u.screen,x=u.setScreen,f=Vf(t,c,o,(function(){x("Home");var e=r.length;r[e-2].current()})),m=f.open,h=f.close,A=function(){return(0,s.jsx)("div",{className:"w-full bg-primary-gray-150",style:{height:"1px"}})},E=[{title:g.t["SETTINGS_DEVICE-CARE_SOFTWARE-UPDATE_TITLE"],text:g.t["SETTINGS_DEVICE-CARE_SOFTWARE-UPDATE_TEXT"],bar:!0},{title:g.t["SETTINGS_DEVICE-CARE_DIAGNOSTICS_TITLE"],text:g.t["SETTINGS_DEVICE-CARE_DIAGNOSTICS_TEXT"],bar:!0},{title:g.t["SETTINGS_DEVICE-CARE_MAINTENANCE-MODE_TITLE"],text:g.t["SETTINGS_DEVICE-CARE_MAINTENANCE-MODE_TEXT"],bar:!1}],v=[{title:g.t["SETTINGS_DEVICE-CARE_PERFORMANCE-PROFILE"],text:g.t["SETTINGS_DEVICE-CARE_STANDARD"],highlightText:!0,bar:!0},{title:g.t["SETTINGS_DEVICE-CARE_AUTO-OPTIMISATION_TITLE"],text:"",bar:!1}],C=function(e){return(0,s.jsx)("div",{className:"align-center relative flex justify-center px-6",children:(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("div",{className:H()({"pt-3 pb-3":!e.text,"pt-5 pb-6":e.text},"flex items-center justify-between"),children:(0,s.jsx)("div",{className:"text-xl",children:(0,s.jsxs)("div",{className:"flex flex-col justify-between",children:[(0,s.jsx)("div",{className:"text-lg",children:e.title}),e.text&&(0,s.jsx)("div",{className:e.highlightText?"text-sm leading-4 text-primary-blue-50":"text-sm leading-4 text-primary-gray-350",children:e.text})]})})}),e.bar&&(0,s.jsx)(A,{})]})})};return(0,i.useEffect)((function(){var e=gA().loadAnimation({container:d.current,renderer:"svg",autoplay:!1,path:"assets/lotties/deviceCare/blueFaceLottie-".concat(n,".json"),loop:!1});return"device-care"===p.current&&((0,V.Kq)("/app/settings/security/device-care",M.dC.Settings),m(),e.play()),e.addEventListener("complete",(function(){})),function(){e.removeEventListener("complete",(function(){})),e.destroy()}}),[m,p]),(0,s.jsx)("div",{className:"gpu absolute inset-0 z-30 hidden overflow-hidden text-center","data-component":"app-settings-privacy",ref:c,children:(0,s.jsx)("div",{className:"c-app-colour-palette absolute inset-0","data-colour":n,"data-component":"app-themes-changes","data-theme":"default",children:(0,s.jsx)("div",{className:"absolute inset-0","data-ref":"app-settings-privacy-wrapper",ref:l,children:(0,s.jsxs)("div",{className:"c-app-wallpaper-and-style absolute inset-0","data-component":"app-themes-changes","data-theme":"default",children:[(0,s.jsx)("div",{className:"c-app-colour-palette__settings__background absolute inset-0"}),(0,s.jsxs)("div",{className:"gpu absolute inset-0 hidden overflow-y-auto overflow-x-hidden",style:{bottom:"80px"},"data-ref":"app-settings-privacy-item",ref:o,children:[(0,s.jsx)("div",{className:"c-app-colour-palette__settings__background sticky top-0 z-20 py-2 pb-3 pt-10",children:(0,s.jsx)("div",{className:"relative px-6 py-2",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center",children:[(0,s.jsx)("div",{className:"flex items-center justify-center ltr:mr-2 rtl:ml-2",children:(0,s.jsx)("button",{"data-ref":"app-settings-device-care-close",className:"c-app-colour-palette__settings__text h-[40px] w-[30px] rtl:-scale-x-100 rtl:transform",onClick:h,children:(0,s.jsx)(Yr,{})})}),(0,s.jsx)("div",{className:"text-2xl",children:(0,s.jsx)("div",{className:"c-app-colour-palette__settings__text flex-no-wrap flex items-center justify-start text-start font-semibold leading-none",style:{fontSize:"1.375rem"},children:(0,s.jsx)("div",{children:g.t["SETTINGS_DEVICE-CARE_H2"]})})})]}),(0,s.jsxs)("div",{className:"c-app-colour-palette__settings__text flex-no-wrap flex gap-2",children:[(0,s.jsx)("div",{className:"flex-no-wrap flex gap-2",children:(0,s.jsx)("button",{className:"flex h-[30px] w-[30px] items-center justify-center text-center",children:(0,s.jsx)($p,{})})}),(0,s.jsx)("button",{className:"flex h-[30px] w-[30px] items-center justify-center text-center",children:(0,s.jsx)(TA,{})}),(0,s.jsx)("button",{className:"flex h-[30px] w-[30px] items-center justify-center text-center",children:(0,s.jsx)(Gr,{})})]})]})})}),(0,s.jsxs)("div",{className:"relative mb-8 mt-1 w-full px-6",children:[(0,s.jsx)("div",{className:"flex justify-center text-center",children:(0,s.jsx)("div",{style:{height:"110px",width:"110px"},ref:d})}),(0,s.jsx)("div",{className:"c-app-colour-palette__settings__text mt-3 px-2 text-3xl font-bold text-primary-black-350",children:g.t["SETTINGS_DEVICE-CARE_GOOD"]}),(0,s.jsx)("div",{className:"mb-6 text-sm font-normal text-[#4D4D52]",children:g.t["SETTINGS_DEVICE-CARE_NO-ISSUES"]}),(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)("div",{className:"c-app-colour-palette__settings__apply-darker mx-auto mb-5 rounded-full py-2.5 px-4 text-lg font-semibold text-white",children:g.t["SETTINGS_DEVICE-CARE_OPTIMIZE-NOW-CTA"]})})]}),(0,s.jsxs)("div",{className:"relative mx-3 mb-2 rounded-[20px] bg-primary-white-150 ltr:text-left rtl:text-right",children:[(0,s.jsx)(ie,{path:"/app/settings/security/device-care/battery",page:M.dC.Settings,children:(0,s.jsx)(ht,{title:g.t["DEVICE-CARE_SCAN_PHONE_BATTERY-POP-UP-TITLE"],text:g.t["DEVICE-CARE_SCAN_PHONE_BATTERY-POP-UP-TEXT"],cta:{text:g.t["DEVICE-CARE_SCAN_PHONE_BATTERY-POP-UP-BUTTON"]},children:(0,s.jsxs)("div",{className:"align-center relative flex flex-col justify-center px-6",children:[(0,s.jsxs)("div",{className:"flex flex-row items-center justify-between py-6",children:[(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsxs)("div",{className:"flex flex-row",children:[(0,s.jsx)("div",{className:"my-auto ltr:mr-2 rtl:ml-2",children:(0,s.jsx)("img",{"data-loader":"image","data-src":vA,src:vA,className:"h-3.5 object-contain pl-1.5",alt:""})}),(0,s.jsx)("div",{className:"text-sm font-normal not-italic leading-[normal] text-primary-black-350",children:g.t["SETTINGS_DEVICE-CARE_BATTERY"]})]}),(0,s.jsxs)("div",{className:"mt-2 not-italic leading-[normal] text-primary-black-350",children:[(0,s.jsx)("span",{className:"text-xl font-bold",children:g.t["@PARADIGM_SETTINGS-DEVICE_CARE-BATTERY-TIME-LEFT"]}),(0,s.jsx)("span",{className:"text-sm font-normal text-primary-black-350 ltr:ml-1 rtl:mr-1",children:g.t["@PARADIGM_SETTINGS-DEVICE_CARE_BATTERY-UNTIL-FULL"]})]})]}),(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("div",{className:"relative mb-1.5 ml-auto h-3.5 w-20 overflow-hidden rounded-full bg-primary-gray-102",children:(0,s.jsx)("div",{className:"absolute bottom-0 top-0 w-[45%] overflow-hidden rounded-full bg-[#3AD756] ltr:left-0 rtl:right-0"})}),(0,s.jsx)("span",{className:"text-xs font-semibold not-italic leading-[normal] text-primary-black-350",children:g.t["@PARADIGM_SETTINGS-DEVICE_CARE_BATTERY-CHARGE"]})]})]}),(0,s.jsx)(A,{})]})})}),(0,s.jsx)(ie,{path:"/app/settings/security/device-care/storage",page:M.dC.Settings,children:(0,s.jsx)(ht,{title:g.t["DEVICE-CARE_SCAN_PHONE_STORAGE-POP-UP-TITLE"],text:g.t["DEVICE-CARE_SCAN_PHONE_STORAGE-POP-UP-TEXT"],cta:{text:g.t["DEVICE-CARE_SCAN_PHONE_STORAGE-POP-UP-BUTTON"]},children:(0,s.jsxs)("div",{className:"align-center relative flex flex-col justify-center px-6",children:[(0,s.jsxs)("div",{className:"flex flex-row items-center justify-between py-6",children:[(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsxs)("div",{className:"flex flex-row",children:[(0,s.jsx)("div",{className:"my-auto ltr:mr-2 rtl:ml-2",children:(0,s.jsx)("img",{"data-loader":"image","data-src":CA,src:CA,className:"h-3.5 object-contain pl-1.5",alt:""})}),(0,s.jsx)("div",{className:"text-sm font-normal not-italic leading-[normal] text-primary-black-350",children:g.t["SETTINGS_DEVICE-CARE_STORAGE"]})]}),(0,s.jsxs)("div",{className:"mt-2 not-italic leading-[normal] text-primary-black-350",children:[(0,s.jsx)("span",{className:"text-xl font-bold",children:g.t["@PARADIGM_SETTINGS-DEVICE_CARE_STORAGE-GB-AVAILABLE"]}),(0,s.jsx)("span",{className:"text-sm font-normal text-primary-black-350 ltr:ml-1 rtl:mr-1",children:g.t["SETTINGS_DEVICE-CARE_STORAGE-AVAILABLE"]})]})]}),(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("div",{className:"relative mb-1.5 ml-auto h-3.5 w-20 overflow-hidden rounded-full bg-primary-gray-102",children:(0,s.jsx)("div",{className:"absolute bottom-0 top-0 w-[18%] overflow-hidden rounded-full bg-[#0AC4E3] ltr:left-0 rtl:right-0"})}),(0,s.jsxs)("div",{className:"text-xs font-normal not-italic leading-[normal] [direction:ltr]",children:[(0,s.jsx)("span",{className:"text-xs font-semibold text-primary-black-350",children:g.t["@PARADIGM_SETTINGS-DEVICE_CARE_STORAGE-USED"]}),(0,s.jsx)("span",{className:"text-xs font-normal text-primary-gray-260",children:g.t["@PARADIGM_SETTINGS-DEVICE_CARE_STORAGED-TOTAL"]})]})]})]}),(0,s.jsx)(A,{})]})})}),(0,s.jsx)(ie,{path:"/app/settings/security/device-care/memory",page:M.dC.Settings,children:(0,s.jsx)(ht,{title:g.t["DEVICE-CARE_SCAN_PHONE_MEMORY-POP-UP-TITLE"],text:g.t["DEVICE-CARE_SCAN_PHONE_MEMORY-POP-UP-TEXT"],cta:{text:g.t["DEVICE-CARE_SCAN_PHONE_MEMORY-POP-UP-BUTTON"]},children:(0,s.jsxs)("div",{className:"align-center relative flex flex-col justify-center px-6",children:[(0,s.jsxs)("div",{className:"flex flex-row items-center justify-between py-6",children:[(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsxs)("div",{className:"flex flex-row",children:[(0,s.jsx)("div",{className:"my-auto ltr:mr-2 rtl:ml-2",children:(0,s.jsx)("img",{"data-loader":"image","data-src":NA,src:NA,className:"h-3.5 object-contain pl-1.5",alt:""})}),(0,s.jsx)("div",{className:"text-sm font-normal not-italic leading-[normal] text-primary-black-350",children:g.t["SETTINGS_DEVICE-CARE_MEMORY"]})]}),(0,s.jsxs)("div",{className:"mt-2 not-italic leading-[normal] text-primary-black-350",children:[(0,s.jsx)("span",{className:"text-xl font-bold",children:g.t["@PARADIGM_SETTINGS-DEVICE_CARE_MEMORY-GB-AVAILABLE"]}),(0,s.jsx)("span",{className:"text-sm font-normal text-primary-black-350 ltr:ml-1 rtl:mr-1",children:g.t["@PARADIGM_SETTINGS-DEVICE_CARE_MEMORY-LEFT"]})]})]}),(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("div",{className:"bbg-primary-gray-102 relative mb-1.5 ml-auto h-3.5 w-20 overflow-hidden rounded-full",children:(0,s.jsx)("div",{className:"absolute bottom-0 top-0 w-[51%] overflow-hidden rounded-full bg-[#4384FF] ltr:left-0 rtl:right-0"})}),(0,s.jsxs)("div",{className:"text-xs font-normal not-italic leading-[normal] [direction:ltr]",children:[(0,s.jsx)("span",{className:"text-xs font-semibold text-primary-black-350",children:g.t["@PARADIGM_SETTINGS-DEVICE_CARE_MEMORY-USED"]}),(0,s.jsx)("span",{className:"text-xs font-normal text-primary-gray-260",children:g.t["@PARADIGM_SETTINGS-DEVICE_CARE_MEMORY-TOTAL"]})]})]})]}),(0,s.jsx)(A,{})]})})}),(0,s.jsx)(ie,{path:"/app/settings/security/device-care/device-protection",page:M.dC.Settings,children:(0,s.jsx)(ht,{title:g.t["@PARADIGM_SETTINGS-DEVICE-CARE_APP-PROTECTION"],text:g.t["DEVICE-CARE_SCAN_PHONE_DEVICE-PROTECTION-POP-UP-TEXT"],cta:{text:g.t["DEVICE-CARE_SCAN_PHONE_DEVICE-PROTECTION-POP-UP-BUTTON"]},children:(0,s.jsx)("div",{className:"align-center relative flex flex-col justify-center px-6",children:(0,s.jsxs)("div",{className:"flex flex-row items-center justify-between py-6",children:[(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsxs)("div",{className:"flex flex-row",children:[(0,s.jsx)("div",{className:"my-auto ltr:mr-2 rtl:ml-2",children:(0,s.jsx)("img",{"data-loader":"image","data-src":jA,src:jA,className:"h-3.5 object-contain pl-1.5",alt:""})}),(0,s.jsx)("div",{className:"text-sm font-normal not-italic leading-[normal] text-primary-black-350",children:g.t["@PARADIGM_SETTINGS-DEVICE-CARE_APP-PROTECTION"]})]}),(0,s.jsx)("div",{className:"mt-2 text-xl font-bold not-italic leading-[normal] text-primary-black-350",children:g.t["SETTINGS_DEVICE-CARE_NO-THREATS"]})]}),(0,s.jsx)("div",{className:"flex flex-col",children:(0,s.jsx)(pA,{})})]})})})})]}),(0,s.jsx)("div",{className:"rtl:-pr-8 px-6 pb-2 text-sm font-semibold text-primary-gray-360 opacity-60 ltr:pl-8 ltr:text-left rtl:text-right",children:g.t["SETTINGS_DEVICE-CARE_PERFORMANCE"]}),(0,s.jsx)("div",{className:"relative mx-3 mb-2 rounded-[20px] bg-white ltr:text-left rtl:text-right",children:(0,s.jsx)("div",{className:"c-app-colour-palette relative",children:v.map((function(e){return(0,s.jsx)("div",{children:(0,s.jsx)(C,{title:e.title,text:e.text,bar:e.bar,highlightText:e.highlightText})},Bh().generate())}))})}),(0,s.jsx)("div",{className:"px-6 pb-2 text-sm font-semibold text-primary-gray-360 opacity-60 ltr:pl-8 ltr:text-left rtl:pr-8 rtl:text-right",children:g.t["SETTINGS_DEVICE-CARE_ADDITIONAL-CARE"]}),(0,s.jsx)("div",{className:"relative mx-3 mb-5 rounded-[20px] bg-white ltr:text-left rtl:text-right",children:(0,s.jsx)("div",{className:"c-app-colour-palette relative",children:E.map((function(e){return(0,s.jsx)("div",{children:(0,s.jsx)(C,{title:e.title,text:e.text,bar:e.bar})},Bh().generate())}))})})]})]})})})})}),SA=function(e){var t=e.showSuggestion,a=e.scanningOptions,n=(0,i.useRef)(null);(0,i.useEffect)((function(){var e=n.current;t||"complete"===a?I.ZP.set(e,{opacity:1}):I.ZP.set(e,{opacity:0})}),[t,a]);return(0,s.jsx)("div",{className:"relative mb-5 overflow-hidden px-6 opacity-0",ref:n,children:(0,s.jsx)("div",{className:"mt-1 text-center text-sm font-normal !leading-5",children:"complete"===a?g.t["@PARADIGM_SETTINGS_SECURITY_NO-SECURITY-ISSUES"]:"suggestion"===a?g.t["@PARADIGM_SETTINGS_SECURITY_PROTECT-FROM-MALWARE"]:""})})},yA="/_next/static/media/check-completed-icon.ba38b9b1.svg",RA=function(){var e=(0,i.useState)(),t=e[0],a=e[1],n=(0,i.useMemo)((function(){if(t)return gA().loadAnimation({container:t,renderer:"svg",autoplay:!0,path:"assets/lotties/scanningLottie.json",loop:!0})}),[t]);(0,i.useEffect)((function(){return n&&n.setSpeed(.075),function(){n&&n.destroy()}}),[n]);var r=(0,i.useCallback)((function(e){e&&a(e)}),[a]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{ref:r,style:{height:"110px",width:"110px"}}),(0,s.jsx)("h1",{className:"font-semibold text-black",style:{fontSize:"1.75rem"},children:g.t.SETTINGS_SECURITY_SCANNING_H1})]})},LA=function(e){var t=e.scanningOptions,a=e.protectionTurnedOn;switch(t){case"suggestion":return(0,s.jsxs)(s.Fragment,{children:[a?(0,s.jsx)("div",{className:"flex h-[100px] w-[100px] items-center justify-center ",children:(0,s.jsx)(Re.Z,{path:"assets/lotties/scanning-success.json",width:110,height:110})}):(0,s.jsx)(Re.Z,{path:"assets/lotties/scanning-fail.json",width:110,height:110}),(0,s.jsx)("h1",{className:"font-semibold text-black",style:{fontSize:"1.75rem"},children:a?g.t["SETTINGS_SECURITY_LOOKS-GOOD"]:g.t.SETTINGS_SECURITY_SUGGESTION_H1})]});case"scanning":return(0,s.jsx)(RA,{});case"complete":return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("img",{"data-loader":"image","data-src":yA,src:yA,className:"w-[90px] object-contain",alt:""}),(0,s.jsx)("h1",{className:"font-semibold text-black",style:{fontSize:"1.75rem"},children:g.t["SETTINGS_SECURITY_LOOKS-GOOD"]})]});default:return null}},IA=function(e){var t=e.count,a=e.setCount,n=e.scanningState,r=e.position,l=(0,i.useState)(),c=l[0],o=l[1],d=(0,i.useMemo)((function(){if(c)return gA().loadAnimation({container:c,renderer:"svg",autoplay:!0,path:"assets/lotties/sub_section_dots_loading.json",loop:!1})}),[c]);(0,i.useEffect)((function(){return t===r&&"scanning"===n&&d&&d.play(),d&&d.addEventListener("complete",(function(){a(t+1)})),function(){d&&(d.removeEventListener("complete",(function(){})),d.destroy())}}),[t,n,d,a]);var u=(0,i.useCallback)((function(e){e&&o(e)}),[o]);return(0,s.jsx)("div",{ref:u,style:{height:"17px",width:"17px"}})},PA=function(e){var t=e.count,a=e.setCount,i=e.position,n=e.scanningState,r=e.icon;return t===i?(0,s.jsx)(IA,{count:t,setCount:a,position:i,scanningState:n}):t>i?r:null},OA=function(e){return(0,s.jsx)("div",{className:"align-center relative flex justify-center px-6",children:(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("div",{className:"flex items-center justify-between py-3.5",children:(0,s.jsx)("div",{className:"text-xl",children:(0,s.jsxs)("div",{className:"flex flex-col justify-between",children:[(0,s.jsx)("div",{className:"text-lg",children:e.title}),e.text&&(0,s.jsx)("div",{className:"text-[13px] leading-4 text-primary-gray-350",children:e.text})]})})}),e.bar&&(0,s.jsx)(oE,{})]})})},MA=a(61608),DA=a.n(MA),GA="/_next/static/media/app-icon-camera.735972f0.png",kA="/_next/static/media/app-android-messages.4f0066e4.svg",HA=g.t.getLanguage(),BA=H()(Object.values({ru:"ru:text-xs"})),UA=function(){return(0,s.jsx)("div",{className:"mt-1 h-10 w-px self-start bg-primary-gray-155"})},ZA=(z.e.defaultMessageApp,kA),YA=[{icon:{src:"/_next/static/media/camera.b4c7ae03.svg",height:16,width:20},text:g.t.SETTINGS_PRIVACY_CAMERA,appIcons:[GA,ZA,"cn"!==HA&&"/_next/static/media/smart-things-icon.ce55e84e.svg","/_next/static/media/app-icon-plus1.df2255c3.svg"],appsUsedText:g.t["SETTINGS_CAMERA-PERMISSIONS-LANDING_CAMERA-USED-BY"]},{icon:{src:"/_next/static/media/microphone.a03ffa1f.svg",height:17,width:12},text:g.t.SETTINGS_PRIVACY_MICROPHONE,appIcons:[ZA,GA],appsUsedText:g.t["SETTINGS_MICROPHONE-PERMISSIONS_USED-BY-1"]},{icon:{src:"/_next/static/media/location.1f61b4ac.svg",height:18,width:19},text:g.t.SETTINGS_PRIVACY_LOCATION,appIcons:["cn"!==HA&&"/_next/static/media/google-app-icon.b1b4ba05.png","/_next/static/media/app-icon-browser.03548f36.svg"],appsUsedText:g.t["SETTINGS_LOCATION-PERMISSIONS_USED-BY-1"]}],FA=[{id:"option-1",title:g.t["@PARADIGM_SETTINGS_PRIVACY_PERMISSION-ALLOW-ALL-THE-TIME"],text:g.t["@PARADIGM_SETTINGS_PRIVACY_PERMISSION-ALLOW-APPS"],bar:!0},{id:"option-2",title:g.t["@PARADIGM_SETTINGS_PRIVACY_PRIVACY-PROTECTION"],text:g.t["@PARADIGM_SETTINGS_PRIVACY_TRACKERS-BLOCKED"],bar:!0},{id:"option-3",title:g.t["SETTINGS_PRIVACY_ADDITIONAL-PRIVACY-CONTROLS"],text:g.t["SETTINGS_PRIVACY_CONTROL-ACCESS-TO-CAMERA-MIC-AND-CLIPBOARD"],bar:!0},{id:"option-4",title:g.t["SETTINGS_PRIVACY_MORE-PRIVACY-SETTINGS"],bar:!1}],VA=function(){var e=(0,pt.O)().pushOverlayStack;return(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"px-6 pb-3.5 text-left text-sm text-primary-gray-360 opacity-60 ltr:text-left rtl:text-right",children:g.t.SETTINGS_PRIVACY_H1}),(0,s.jsxs)("div",{className:"relative mx-3 mb-5 rounded-3xl bg-white py-5 pb-1 ltr:text-left rtl:text-right",children:[(0,s.jsxs)("div",{className:"c-app-colour-palette relative px-6",children:[(0,s.jsxs)("div",{className:"mb-4 flex items-center justify-between",onClick:function(){e({data:{title:g.t["@PARADIGM_SETTINGS_PRIVACY_PERMISSION_PERMISSION-USED-POPUP_HEADER"],text:g.t["@PARADIGM_SETTINGS_PRIVACY_PERMISSION_PERMISSION-USED-POPUP_BODY"],cta:{text:g.t["@PARADIGM_SETTINGS_PRIVACY_PERMISSION_PERMISSION-USED-POPUP_CTA-OK"]}},type:"alert"})},children:[(0,s.jsx)("div",{className:"text-base font-semibold",children:(0,s.jsx)("div",{children:g.t["SETTINGS_PRIVACY_PERMISSIONS-USED"]})}),(0,s.jsx)("div",{className:"statusIcon",children:(0,s.jsx)(lo,{})})]}),(0,s.jsx)("div",{className:"mx-3 flex items-center justify-between py-4 xsm:mx-0",children:YA.map((function(e,t){return(0,s.jsxs)(i.Fragment,{children:[(0,s.jsxs)("div",{className:"flex flex-col items-center",children:[(0,s.jsx)(DA(),{"data-loader":"image",src:e.icon,width:24,height:24,alt:"",className:"h-6"}),(0,s.jsx)("div",{className:H()("text-sm",BA),children:e.text}),(0,s.jsx)("div",{className:"mt-3 flex flex-row gap-[2px] ltr:ml-2 rtl:mr-2",children:e.appIcons.filter((function(e){return e})).map((function(e){return(0,s.jsx)(DA(),{"data-loader":"image",src:e,width:22,height:22,alt:"",className:"-ml-2"},t+e)}))})]}),t!==YA.length-1&&(0,s.jsx)(UA,{})]},e.text+t)}))}),(0,s.jsx)(oE,{})]}),(0,s.jsx)("div",{className:"c-app-colour-palette relative",children:FA.map((function(e){return(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("div",{children:(0,s.jsx)(OA,{title:e.title,text:e.text,bar:e.bar})})},e.id)}))})]})]})},WA="/_next/static/media/app-protection.cf371c6b.svg",XA="/_next/static/media/google-play-protect.41a4c85f.svg",KA=function(){return(0,s.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("g",{id:"Icons",children:(0,s.jsxs)("g",{id:"Group 427",children:[(0,s.jsx)("path",{id:"Fill-7",fillRule:"evenodd",clipRule:"evenodd",d:"M19.7705 12.0009C19.7705 7.86478 16.2673 4.5 11.9589 4.5C9.29872 4.5 6.94949 5.78552 5.53671 7.74054C4.66137 8.95186 4.14551 10.4186 4.14551 12.0009C4.14551 14.1595 5.10533 16.1007 6.62955 17.4708C8.02794 18.727 9.89726 19.5017 11.9589 19.5017C16.2673 19.5017 19.7705 16.1369 19.7705 12.0009Z",fill:"#71BD67"}),(0,s.jsx)("path",{id:"Path",d:"M12.3655 14.5186C12.0797 14.793 11.7005 14.9449 11.2961 14.9449C10.8934 14.9449 10.5142 14.793 10.2302 14.5186L8.95042 13.2883L7.79287 12.1737C7.3543 11.7526 7.3561 11.0693 7.79467 10.6483C7.85399 10.5914 7.92229 10.543 7.99059 10.5016C8.42557 10.2376 9.00614 10.2859 9.38359 10.65L11.2961 12.4929L14.5332 9.37658C14.97 8.95383 15.6836 8.95383 16.1221 9.37313C16.5607 9.79416 16.5625 10.4775 16.1239 10.8985L12.3655 14.5186Z",fill:"white"})]})})})},QA=function(){return(0,s.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("g",{id:"Icons",children:(0,s.jsx)("g",{id:"Group 426",children:(0,s.jsxs)("g",{id:"Vector",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 11.5009C20 7.36478 16.6369 4 12.5009 4C9.94708 4 7.69182 5.28552 6.33556 7.24054C5.49523 8.45186 5 9.91856 5 11.5009C5 13.6595 5.92143 15.6007 7.38468 16.9708C8.72714 18.227 10.5217 19.0017 12.5009 19.0017C16.6369 19.0017 20 15.6369 20 11.5009Z",fill:"#FCA329"}),(0,s.jsx)("path",{d:"M12.5 12.3333C11.8464 12.3333 11.25 11.9914 11.25 11.4034V7.26328C11.25 6.67525 11.8464 6.33333 12.5 6.33333C13.1542 6.33333 13.75 6.67518 13.75 7.26328V11.4034C13.75 11.9915 13.1542 12.3333 12.5 12.3333ZM12.6883 13.7943C13.4284 13.8869 14 14.5182 14 15.2836C14 16.112 13.3289 16.7826 12.5 16.7826C11.6711 16.7826 11 16.112 11 15.2836C11 14.4544 11.6709 13.7826 12.5 13.7826L12.6883 13.7943Z",fill:"white"})]})})})})},zA=g.t["SETTINGS_DEVICE-APPS_SCANNED"],qA={year:"numeric",month:"short",day:"numeric"},JA=function(e){var t=e.scanningState,a=e.position,i=e.count,n=e.setCount,r=e.icon,l=e.isExclamation;return"scanning"===t?(0,s.jsx)(PA,{count:i,position:a,scanningState:t,setCount:n,isExclamation:l}):r},$A=function(e){var t=e.wrapperRef,a=(0,P.qr)().colourPaletteIndex,n=(0,i.useContext)(ch),r=n.screen,l=n.setScreen,c=n.protectionTurnedOn,o=n.scanningCompleted,d=(0,i.useState)("suggestion"),u=d[0],p=d[1],x=(0,i.useState)(0),f=x[0],m=x[1],h=(0,i.useRef)(null),A=(0,i.useRef)(null),E=(0,i.useRef)(null),v=Vf(t,A,E,(function(){})),C=v.open,j=v.openWithoutTransition,N=v.close;(0,i.useEffect)((function(){o&&p("complete")}),[o]),(0,i.useEffect)((function(){"app-security"===r.current&&("Home"===r.prev?((0,V.Kq)("/app/settings/app-security",M.dC.Settings),C()):j())}),[C,r]);return(0,s.jsx)("div",{className:"gpu absolute inset-0 z-30 hidden overflow-hidden text-center","data-component":"app-settings-privacy",ref:A,children:(0,s.jsx)("div",{className:"c-app-colour-palette absolute inset-0","data-component":"app-themes-changes","data-theme":"default","data-colour":a,children:(0,s.jsx)("div",{className:"absolute inset-0","data-ref":"app-settings-privacy-wrapper",ref:h,children:(0,s.jsxs)("div",{className:"c-app-wallpaper-and-style absolute inset-0","data-component":"app-themes-changes","data-theme":"default",children:[(0,s.jsx)("div",{className:"c-app-colour-palette__settings__background absolute inset-0"}),(0,s.jsxs)("div",{className:"gpu absolute inset-0 bottom-20 hidden overflow-y-auto overflow-x-hidden","data-ref":"app-settings-privacy-item",ref:E,children:[(0,s.jsx)("div",{className:"c-app-colour-palette__settings__background sticky top-0 z-20 py-2 pb-3 pt-10",children:(0,s.jsx)("div",{className:"relative px-6 py-2",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-between",children:[(0,s.jsx)("div",{className:"flex-no-wrap flex items-center",children:(0,s.jsx)("div",{className:"flex ltr:mr-2 rtl:ml-2",children:(0,s.jsx)("button",{"data-ref":"app-settings-privacy-button-close w-6 h-6",className:"c-app-colour-palette__settings__text h-[40px] w-[30px] rtl:-scale-x-100 rtl:transform",onClick:N,children:(0,s.jsx)(Yr,{})})})}),(0,s.jsx)("div",{className:"c-app-colour-palette__settings__text flex-no-wrap flex w-full items-center justify-between text-start text-2xl",children:(0,s.jsx)("div",{className:"flex-no-wrap flex items-center text-xl font-semibold not-italic leading-[normal]",children:(0,s.jsx)("div",{children:g.t["SECURITY-AND-PRIVACY_APP_SECURITY_H3"]})})}),(0,s.jsx)("div",{className:"flex-no-wrap flex gap-2",children:(0,s.jsx)("button",{className:"c-app-colour-palette__settings__text flex h-[30px] w-[30px] items-center justify-center text-center",children:(0,s.jsx)($p,{})})})]})})}),(0,s.jsx)("div",{className:"px-5 pb-4 pt-0 text-sm font-normal not-italic leading-5 text-[#252528] ltr:text-left rtl:text-right",children:g.t["SETTINGS_DEVICE-PROTECTION_DESCRIPTION"]}),(0,s.jsxs)("div",{className:"mx-3 rounded-[24px] bg-white ltr:text-left rtl:text-right",children:[(0,s.jsxs)("div",{className:"flex flex-row items-center justify-between px-6 py-4",onClick:function(){return l("device-protection")},children:[(0,s.jsxs)("div",{className:"flex flex-row items-center justify-center",children:[(0,s.jsx)("img",{width:24,height:24,src:WA,alt:"",className:""}),(0,s.jsx)("div",{className:"text-lg",children:(0,s.jsxs)("div",{className:"flex flex-col justify-between ltr:ml-6 rtl:mr-6",children:[(0,s.jsx)("div",{className:"text-[17px] font-normal not-italic leading-[normal] text-[#010102]",children:g.t["SETTINGS_DEVICE-PROTECTION_H2"]}),(0,s.jsx)("div",{className:"text-[13px] font-normal not-italic leading-[normal] ".concat(c?"text-primary-gray-260":"text-primary-orange-300"),children:c?"".concat(zA,": ").concat((0,g.RA)(new Date,qA)):g.t["SETTINGS_DEVICE-PROTECTION-IS-OFF"]})]})})]}),(0,s.jsx)("div",{className:"statusIcon ltr:pr-2 rtl:pl-2",children:(0,s.jsx)(JA,{count:f,position:3,scanningState:u,setCount:m,icon:c?(0,s.jsx)(KA,{}):(0,s.jsx)(QA,{})})})]}),(0,s.jsxs)(sa.Z,{languages:["cn"],children:[(0,s.jsx)("div",{className:"px-6 ltr:ml-10 rtl:mr-10",children:(0,s.jsx)(oE,{})}),(0,s.jsxs)("div",{className:"flex flex-row items-center justify-between px-6 py-4",children:[(0,s.jsxs)("div",{className:"flex flex-row items-center justify-center",children:[(0,s.jsx)("img",{width:24,height:24,src:XA,alt:"",className:""}),(0,s.jsx)("div",{className:"text-lg",children:(0,s.jsxs)("div",{className:"flex flex-col justify-between ltr:ml-6 rtl:mr-6",children:[(0,s.jsx)("div",{className:"text-[17px] font-normal not-italic leading-[normal] text-[#010102]",children:g.t["SECURITY-AND-PRIVACY_GOOGLE_PLAY_PROTECT"]}),(0,s.jsx)("div",{className:"text-[13px] font-normal not-italic leading-[normal] text-primary-gray-260",children:"".concat(zA,": ").concat((0,g.RA)(new Date,qA))})]})})]}),(0,s.jsx)("div",{className:"statusIcon ltr:pr-2 rtl:pl-2",children:(0,s.jsx)(JA,{count:f,position:3,scanningState:u,setCount:m,icon:(0,s.jsx)(KA,{}),isExclamation:!0})})]})]})]})]})]})})})})},eE=function(){return(0,s.jsxs)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{x:4,y:4,width:16,height:16,rx:8,fill:"#26C255"}),(0,s.jsx)("path",{d:"M12.3912 14.5167C12.1168 14.7911 11.7527 14.9429 11.3645 14.9429C10.978 14.9429 10.6139 14.7911 10.3412 14.5167L9.11267 13.2864L8.00143 12.1717C7.5804 11.7507 7.58213 11.0674 8.00316 10.6463C8.0601 10.5894 8.12567 10.5411 8.19124 10.4997C8.60882 10.2357 9.16616 10.284 9.52852 10.6481L11.3645 12.4909L14.4722 9.37463C14.8915 8.95187 15.5765 8.95187 15.9975 9.37118C16.4186 9.7922 16.4203 10.4755 15.9992 10.8965L12.3912 14.5167Z",fill:"white"})]})},tE=function(e){var t=e.handleToggle,a=void 0===t?function(){}:t,i=e.checked,n=void 0!==i&&i,r=e.className,l=void 0===r?"":r;return(0,s.jsxs)("label",{className:"relative block h-[24px] w-[42px] shrink-0 rtl:-scale-x-100 rtl:transform ".concat(l),children:[(0,s.jsx)("input",{type:"checkbox",className:"h-0 w-0 opacity-0",onChange:a,checked:n,onClick:function(e){e.stopPropagation()}}),(0,s.jsx)("span",{className:"absolute inset-0 block rounded-3xl transition before:absolute \n before:bottom-0.5 before:left-0.5 before:h-[20px] before:w-[20px] \n before:rounded-3xl before:bg-white before:transition before:content-[''] ".concat(n?"c-app-colour-palette__settings__apply-darker before:translate-x-[18px]":"bg-gray-400")})]})},aE=function(){return(0,s.jsxs)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{x:4,y:4,width:16,height:16,rx:8,fill:"#FCA329"}),(0,s.jsx)("path",{d:"M12 12.7754C11.3464 12.7754 10.75 12.4335 10.75 11.8454V7.70534C10.75 7.1173 11.3464 6.77539 12 6.77539C12.6542 6.77539 13.25 7.11724 13.25 7.70534V11.8454C13.25 12.4335 12.6542 12.7754 12 12.7754ZM12.1883 14.2363C12.9284 14.3289 13.5 14.9603 13.5 15.7257C13.5 16.554 12.8289 17.2247 12 17.2247C11.1711 17.2247 10.5 16.554 10.5 15.7257C10.5 14.8965 11.1709 14.2247 12 14.2247L12.1883 14.2363Z",fill:"white"})]})},sE=function(){var e=(0,pt.O)().pushOverlayStack,t=(0,i.useContext)(ch),a=t.setAutoBlockerChecked,s=t.autoBlockerChecked;return{handleToggleAutoBlocker:function(){s?e({data:{title:g.t["SETTINGS_AUTO-BLOCKER_POP-UP_TITLE"],text:g.t["SETTINGS_AUTO-BLOCKER_POP-UP_TEXT"],cta:{text:g.t["SETTINGS_AUTO-BLOCKER_POP-UP_CTA"]},secondaryCta:{text:g.t["SETTINGS_AUTO-BLOCKER_POP-UP_SECONDARY-CTA"],handleClick:function(){a(!1)}}},type:"alert"}):a(!0)},autoBlockerChecked:s}},iE={jp:"jp:text-lg jp:smd:text-base"},nE={th:"th:truncate th:w-[70vw]"},rE=H()(Object.values(iE)),lE=H()(Object.values(nE)),cE=[[{id:"option-1-1",title:g.t["SETTINGS_SETTINGS-SCREEN_BIOMETRICS"],text:"",bar:!0},{id:"option-1-2",title:g.t["SETTINGS_SECURITY_AUTO-BLOCKER"],text:g.t["SETTINGS_SECURITY_KEEP-YOUR-PHONE-SAFE"],bar:!0},{id:"option-1-3",title:g.t["@PARADIGM_SETTINGS_SECURITY_STATUS-OF-YOUR-DEVICE"],text:g.t["@PARADIGM_SETTINGS_SECURITY_PROTECTED-BY"],bar:!0},{id:"option-1-4",title:g.t["SETTINGS_SECURITY_MORE-SECURITY-SETTINGS"],text:g.t["SETTINGS_SECURITY_SECURE-WIFI"],bar:!1}]],oE=function(){return(0,s.jsx)("div",{className:"w-full bg-primary-gray-155",style:{height:"1px"}})},dE=function(e){var t=e.scanningState,a=e.position,i=e.count,n=e.setCount,r=e.icon,l=e.isExclamation;return"scanning"===t?(0,s.jsx)(PA,{count:i,position:a,scanningState:t,setCount:n,isExclamation:l,icon:r}):r},uE=function(e){var t=e.wrapperRef,a=(0,P.qr)().colourPaletteIndex,n=(0,i.useState)(!1),r=n[0],l=n[1],c=(0,i.useState)("suggestion"),o=c[0],d=c[1],u=(0,i.useState)(0),p=u[0],x=u[1],f=sE().handleToggleAutoBlocker,m=(0,i.useContext)(ch),h=m.screen,A=m.setScreen,E=m.scanningCompleted,v=m.deviceProtectionTutorial,C=m.setDeviceProtectionTutorial,j=m.protectionTurnedOn,N=m.autoBlockerOpened,T=m.setAutoBlockerOpened,w=m.autoBlockerChecked,_=(0,i.useRef)(null),b=(0,i.useRef)(null),S=(0,i.useRef)(null),y=(0,i.useRef)(null),R=Vf(t,b,S,(function(){A("Home")})),L=R.open,O=R.openWithoutTransition,D=R.close;return(0,i.useEffect)((function(){"security"===h.current&&("Home"===h.prev?(l(!1),d("scanning"),(0,V.Kq)("/app/settings/security",M.dC.Settings),L()):O())}),[L,h]),(0,i.useEffect)((function(){E&&d("complete")}),[E]),(0,i.useEffect)((function(){var e=y.current;"scanning"===o&&I.ZP.to(e,{top:"0rem",duration:.45}),4===p&&I.ZP.to(e,{top:"0rem",duration:.45,onComplete:function(){d("suggestion"),x(0)}})}),[o,x,d,p]),(0,s.jsxs)("div",{className:"gpu absolute inset-0 z-30 hidden overflow-hidden text-center","data-component":"app-settings-privacy",ref:b,children:[(0,s.jsx)("div",{className:"c-app-colour-palette absolute inset-0","data-colour":a,"data-component":"app-themes-changes","data-theme":"default",children:(0,s.jsx)("div",{className:"absolute inset-0","data-ref":"app-settings-privacy-wrapper",ref:_,children:(0,s.jsxs)("div",{className:"c-app-wallpaper-and-style absolute inset-0","data-component":"app-themes-changes","data-theme":"default",children:[(0,s.jsx)("div",{className:"c-app-colour-palette__settings__background absolute inset-0"}),(0,s.jsxs)("div",{className:"gpu absolute inset-0 hidden overflow-y-auto overflow-x-hidden",style:{bottom:"80px"},"data-ref":"app-settings-privacy-item",ref:S,children:[(0,s.jsx)("div",{className:"c-app-colour-palette__settings__background sticky top-0 z-20 py-2 pb-1 pt-10",children:(0,s.jsx)("div",{className:"relative px-6 py-2",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center",children:[(0,s.jsx)("div",{className:"flex ltr:mr-2 rtl:ml-2",children:(0,s.jsx)("button",{"data-ref":"app-settings-privacy-button-close",className:"c-app-colour-palette__settings__text rtl:-scale-x-100 rtl:transform",style:{width:"30px",height:"40px"},onClick:D,children:(0,s.jsx)(Yr,{})})}),(0,s.jsx)("div",{className:"text-2xl",children:(0,s.jsx)("div",{className:H()("flex-no-wrap c-app-colour-palette__settings__text flex items-center justify-start text-start text-[1.375rem] font-semibold leading-none",rE),children:(0,s.jsx)("div",{className:lE,children:g.t["SETTINGS_SECURITY_SECURITY-AND-PRIVACTY"]})})})]}),(0,s.jsx)("div",{className:"flex-no-wrap flex gap-2",children:(0,s.jsx)("button",{className:"c-app-colour-palette__settings__text flex items-center justify-center text-center",style:{width:"30px",height:"30px"},children:(0,s.jsx)($p,{})})})]})})}),(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsxs)("div",{className:"center relative flex h-full w-full flex-col items-center",children:[(0,s.jsx)("div",{className:"center relative flex w-full flex-col items-center",ref:y,children:(0,s.jsx)(LA,{scanningOptions:o,protectionTurnedOn:j})}),(0,s.jsx)(SA,{setScreen:A,showSuggestion:!j&&"scanning"!==o,scanningOptions:o})]}),(0,s.jsxs)("div",{className:"relative mx-3 mb-5 bg-white ltr:text-left rtl:text-right",style:{borderRadius:"2rem"},children:[(0,s.jsx)("div",{className:"align-center relative flex flex-col justify-center px-6",children:(0,s.jsx)(ie,{path:"/app/settings/security/lock-screen",page:M.dC.Settings,children:(0,s.jsx)(ht,{title:g.t["SECURITY-AND-PRIVACY_LOCK_SCREEN_POP-UP-TITLE"],text:g.t["SECURITY-AND-PRIVACY_LOCK_SCREEN_POP-UP-TEXT"],cta:{text:g.t["SECURITY-AND-PRIVACY_LOCK_SCREEN_POP-UP-BUTTON"]},children:(0,s.jsxs)("div",{className:"flex flex-row items-center justify-center",children:[(0,s.jsx)("img",{src:zh,alt:""}),(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between py-3.5",children:[(0,s.jsx)("div",{className:"text-lg",children:(0,s.jsxs)("div",{className:"flex flex-col justify-between ltr:ml-6 rtl:mr-6",children:[(0,s.jsx)("div",{className:"font-normal text-[#010102]",children:g.t["SECURITY-AND-PRIVACY_LOCK_SCREEN_H3"]}),(0,s.jsx)("div",{className:"text-sm leading-4 text-primary-gray-360",children:"scanning"===o&&p<1?g.t["SECURITY-AND-PRIVACY_LOCK_SCREEN_SUBTITLE-SCANNING"]:g.t["SECURITY-AND-PRIVACY_LOCK_SCREEN_SUBTITLE"]})]})}),(0,s.jsx)("div",{className:"statusIcon",children:(0,s.jsx)(dE,{count:p,position:0,scanningState:o,setCount:x,icon:(0,s.jsx)(eE,{})})})]}),(0,s.jsx)(oE,{})]})]})})})}),(0,s.jsx)("div",{className:"align-center relative flex flex-col justify-center px-6",children:(0,s.jsx)(ie,{path:"/app/settings/security/accounts",page:M.dC.Settings,children:(0,s.jsx)(ht,{title:g.t["SECURITY-AND-PRIVACY_ACCOUNTS_POP-UP-TITLE"],text:g.t["SECURITY-AND-PRIVACY_ACCOUNTS_POP-UP-TEXT"],cta:{text:g.t["SECURITY-AND-PRIVACY_ACCOUNTS_POP-UP-BUTTON"]},children:(0,s.jsxs)("div",{className:"flex flex-row items-center justify-center",children:[(0,s.jsx)("img",{src:Xh,alt:""}),(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between py-3.5",children:[(0,s.jsx)("div",{className:"text-lg",children:(0,s.jsxs)("div",{className:"flex flex-col justify-between ltr:ml-6 rtl:mr-6",children:[(0,s.jsx)("div",{children:g.t["SECURITY-AND-PRIVACY_ACCOUNTS_POP-UP-TITLE"]}),(0,s.jsx)("div",{className:"text-[13px] leading-4 text-primary-gray-360",children:"scanning"===o&&p<2?g.t["SECURITY-AND-PRIVACY_ACCOUNTS_POP-UP-TITLE_SUBTITLE-SCANNING"]:g.t["SECURITY-AND-PRIVACY_ACCOUNTS_POP-UP-TITLE_SUBTITLE"]})]})}),(0,s.jsx)("div",{className:"statusIcon",children:(0,s.jsx)(dE,{count:p,position:1,scanningState:o,setCount:x,icon:(0,s.jsx)(eE,{})})})]}),(0,s.jsx)(oE,{})]})]})})})}),(0,s.jsx)("div",{className:"align-center relative flex flex-col justify-center px-6",children:(0,s.jsx)(ie,{path:"/app/settings/security/find-my-mobile",page:M.dC.Settings,children:(0,s.jsx)(ht,{title:g.t["SECURITY-AND-PRIVACY_FIND_MY_PHONE_POP-UP-TITLE"],text:g.t["SECURITY-AND-PRIVACY_FIND_MY_PHONE_POP-UP-TEXT"],cta:{text:g.t["SECURITY-AND-PRIVACY_FIND_MY_PHONE_POP-UP-BUTTON"]},children:(0,s.jsxs)("div",{className:"flex flex-row items-center justify-center",children:[(0,s.jsx)("img",{src:Qh,alt:""}),(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between py-3.5",children:[(0,s.jsx)("div",{className:"text-lg",children:(0,s.jsxs)("div",{className:"flex flex-col justify-between ltr:ml-6 rtl:mr-6",children:[(0,s.jsx)("div",{children:g.t["SECURITY-AND-PRIVACY_FIND_MY_MOBILE_H3"]}),(0,s.jsx)("div",{className:"text-[13px] leading-4 text-primary-gray-360",children:"scanning"===o&&p<3?g.t["SECURITY-AND-PRIVACY_FIND_MY_MOBILE_H3_SUBTITLE-SCANNING"]:g.t["@PARADIGM_SETTINGS_SECURITY-AND-PRIVACY_FIND_MY_MOBILE_H3_SUBTITLE"]})]})}),(0,s.jsx)("div",{className:"statusIcon",children:(0,s.jsx)(dE,{count:p,position:2,scanningState:o,setCount:x,icon:(0,s.jsx)(eE,{})})})]}),(0,s.jsx)(oE,{})]})]})})})}),(0,s.jsxs)("div",{className:"align-center relative flex flex-col justify-center",children:[(0,s.jsx)("div",{className:"flex flex-row justify-center",children:(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between px-6 py-3.5",onClick:function(){l(!r),A("app-security"),(0,V.Kq)("/app/settings/security/app-security",M.dC.Settings),"finish"!==v&&C("appSecurity")},children:[(0,s.jsxs)("div",{className:"flex flex-row items-center justify-center",children:[(0,s.jsx)("img",{src:Kh,alt:""}),(0,s.jsx)("div",{className:"text-lg",children:(0,s.jsxs)("div",{className:"flex flex-col justify-between ltr:ml-6 rtl:mr-6",children:[(0,s.jsx)("div",{children:g.t["SECURITY-AND-PRIVACY_APP_SECURITY_H3"]}),(0,s.jsx)("div",{className:"text-[13px] leading-4 text-primary-gray-360",children:"scanning"===o&&p<4?g.t["SECURITY-AND-PRIVACY_APP_SECURITY_H3_SUBTITLE-SCANNING"]:j?g.t["SECURITY-AND-PRIVACY_APP_SECURITY_H3_SUBTITLE"]:(0,s.jsx)("span",{className:"text-primary-orange-300",children:g.t["SECURITY-AND-PRIVACY_APP_SECURITY_H3_SUBTITLE-FAILED"]})})]})})]}),(0,s.jsx)("div",{className:"statusIcon",children:(0,s.jsx)(dE,{count:p,position:3,scanningState:o,setCount:x,icon:j?(0,s.jsx)(eE,{}):(0,s.jsx)(aE,{}),isExclamation:!j})})]}),(0,s.jsx)("div",{className:"ltr:pl-10 ltr:pr-6 rtl:pr-10 rtl:pl-6",children:(0,s.jsx)(oE,{})})]})}),"finish"!=v&&(0,s.jsx)(Uh,{hidden:"appSecurity"===v&&1==r})]}),(0,s.jsx)("div",{className:"align-center relative flex flex-col justify-center px-6",children:(0,s.jsx)(ie,{path:"/app/settings/security/updates",page:M.dC.Settings,children:(0,s.jsx)(ht,{title:g.t["SECURITY-AND-PRIVACY_UPDATES_POP-UP-TITLE"],text:g.t["SECURITY-AND-PRIVACY_UPDATES_POP-UP-TEXT"],cta:{text:g.t["SECURITY-AND-PRIVACY_UPDATES_POP-UP-BUTTON"]},children:(0,s.jsxs)("div",{className:"flex flex-row items-center justify-center",children:[(0,s.jsx)("img",{src:qh,alt:""}),(0,s.jsx)("div",{className:"w-full",children:(0,s.jsxs)("div",{className:"flex items-center justify-between py-3.5",children:[(0,s.jsx)("div",{className:"text-lg",children:(0,s.jsxs)("div",{className:"flex flex-col justify-between ltr:ml-6 rtl:mr-6",children:[(0,s.jsx)("div",{children:g.t["SECURITY-AND-PRIVACY_UPDATES_H3"]}),(0,s.jsx)("div",{className:"text-[13px] leading-4 text-primary-gray-360",children:"scanning"===o&&p<5?(0,s.jsx)("span",{children:g.t["SECURITY-AND-PRIVACY_UPDATES_H3_SUBTITLE-SCANNING"]}):(0,s.jsx)("span",{children:g.t["SECURITY-AND-PRIVACY_UPDATES_H3_SUBTITLE"]})})]})}),(0,s.jsx)("div",{className:"statusIcon",children:(0,s.jsx)(dE,{count:p,position:4,scanningState:o,setCount:x,icon:(0,s.jsx)(eE,{})})})]})})]})})})})]}),cE.map((function(e,t){return(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"px-6 pb-3.5 text-sm text-primary-gray-360 opacity-60 ltr:text-left rtl:text-right",children:g.t.SETTINGS_SECURITY_SECURITY}),(0,s.jsx)("div",{className:"relative mx-3 mb-5 bg-white ltr:text-left rtl:text-right",style:{borderRadius:"2rem"},children:(0,s.jsx)("div",{className:"c-app-colour-palette relative",children:e.map((function(e,t){return(0,s.jsx)("div",{className:"relative",children:1===t?(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"relative flex items-center justify-center",children:[(0,s.jsxs)(ie,{path:"/app/settings/security/".concat(Ye()(e.title).toLowerCase()),page:M.dC.Settings,children:[(0,s.jsx)("div",{onClick:function(){T(!0),A("auto-blocker")},className:"flex",children:(0,s.jsx)(OA,{title:e.title,text:e.text,bar:!1})}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center px-0.5",children:(0,s.jsx)("div",{className:"relative h-full w-full flex-1",hidden:N,children:(0,s.jsx)(Uh,{})})})]}),(0,s.jsx)("div",{className:"mt-1 h-8 w-px bg-primary-gray-155 ltr:mr-5 rtl:ml-5"}),(0,s.jsx)("div",{className:"ltr:pr-6 rtl:pl-6",children:(0,s.jsx)(ie,{path:"/app/settings/security/auto-blocker/check",page:M.dC.Settings,children:(0,s.jsx)(tE,{checked:w,handleToggle:f})})})]}),(0,s.jsx)("div",{className:"align-center relative flex justify-center px-6",children:(0,s.jsx)(oE,{})})]}):(0,s.jsx)(OA,{title:e.title,text:e.text,bar:e.bar})},e.id)}))})})]},t)})),(0,s.jsx)(VA,{})]})})]})]})})}),(0,s.jsx)($A,{wrapperRef:_}),(0,s.jsx)(AA,{wrapperRef:_}),(0,s.jsx)(bA,{wrapperRef:_})]})},pE=g.t.getLanguage(),xE=[[{id:"option-1-1",title:"@PARADIGM_SETTINGS_SETTINGS-SCREEN_H2",text:["@PARADIGM_SETTINGS_SETTINGS-SCREEN_GET_THE_MOST"],icon:"user",bar:!1,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""}],[{id:"option-2-1",title:"SETTINGS_SETTINGS-SCREEN_CONNECTIONS",text:["SETTINGS_SETTINGS-SCREEN_WIFI-H3","SETTINGS_SETTINGS-SCREEN_BLUETOOTH","@PARADIGM_SETTINGS_SETTINGS-SCREEN_AIRPLANE_MODE"],icon:"/_next/static/media/connections.29ded7e2.svg",bar:!0,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""},{id:"option-2-2",title:"SETTINGS_SETTINGS-SCREEN_CONNECTED_DEVICES-H3",text:["SETTINGS_SETTINGS-SCREEN_QUICK_SHARE","SETTINGS_SETTINGS-SCREEN_SAMSUNG_DEX","SETTINGS_SETTINGS-SCREEN_ANDROID_AUTO"],icon:"/_next/static/media/connected_devices.8730988f.svg",bar:!1,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""}],[{id:"option-3-1",title:"SETTINGS_SETTINGS-SCREEN_GALAXY_AI",text:["SETTINGS_SETTINGS-SCREEN_CALL-ASSIST","SETTINGS_SETTINGS-SCREEN_NOTE-ASSIST","@PARADIGM_SETTINGS_SETTINGS-SCREEN_PHOTO-ASSIST"],icon:"/_next/static/media/galaxy-ai.0de716af.svg",bar:!0,renderAsDetails:"galaxy-ai",renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:"galaxy-ai"},{id:"option-3-2",title:"SETTINGS_SETTINGS-SCREEN_MODES_AND_ROUTINES-H3",text:["SETTINGS_SETTINGS-SCREEN_MODES","SETTINGS_SETTINGS-SCREEN_ROUTINES"],icon:"/_next/static/media/modes.2c2ee7f6.svg",bar:!0,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""},{id:"option-3-3",title:"SETTINGS_SETTINGS-SCREEN_SOUNDS-AND-VIBRATION",text:["SETTINGS_SETTINGS-SCREEN_SOUNDS-MODE-H3","SETTINGS_SETTINGS-SCREEN_RINGTONE"],icon:"/_next/static/media/sound.60fe5dca.svg",bar:!0,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""},{id:"option-3-4",title:"SETTINGS_SETTINGS-SCREEN_NOTIFICATIONS-H3",text:["SETTINGS_SETTINGS-SCREEN_STATUS-BAR","SETTINGS_SETTINGS-SCREEN_DO-NOT-DISTURB"],icon:"/_next/static/media/notifications.a7f0b888.svg",bar:!1,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""}],[{id:"option-4-1",title:"SETTINGS_SETTINGS-SCREEN_DISPLAY-H3",text:["SETTINGS_SETTINGS-SCREEN_BRIGHTNESS","SETTINGS_SETTINGS-SCREEN_EYE-COMFORT-SHIELD","SETTINGS_SETTINGS-SCREEN_NAVIGATION-BAR"],icon:"/_next/static/media/display.8a035cea.svg",bar:!0,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""},{id:"option-4-2",title:"SETTINGS_SETTINGS-SCREEN_BATTERY-H3",text:["SETTINGS_SETTINGS-SCREEN_POWER-SAVING","@PARADIGM_SETTINGS_SETTINGS-SCREEN_PROTECT-BATTERY"],icon:"/_next/static/media/battery.577ce3c8.svg",bar:!1,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""}],[{id:"option-5-1",title:"SETTINGS_SETTINGS-SCREEN_WALLPAPER-STYLE-H3",text:["SETTINGS_SETTINGS-SCREEN_WALLPAPERS","SETTINGS_SETTINGS-SCREEN_COLOR-PALETTE"],icon:"/_next/static/media/wallpaper.2e632048.svg",bar:!0,renderAsDetails:"wallpaper-and-style",renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:"colour-palette"},{id:"option-5-2",title:"SETTINGS_SETTINGS-SCREEN_THEMES-H3",text:["SETTINGS_SETTINGS-SCREEN_THEMES","SETTINGS_SETTINGS-SCREEN_THEMES_WALLPAPERS","SETTINGS_SETTINGS-SCREEN_ICONS"],icon:"/_next/static/media/themes.b779d8a5.svg",bar:!0,renderAsDetails:"themes",renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""},{id:"option-5-3",title:"SETTINGS_SETTINGS-SCREEN_HOME-SCREEN-H3",text:["SETTINGS_SETTINGS-SCREEN_LAYOUT","SETTINGS_SETTINGS-SCREEN_APP-ICON-BADGES"],icon:"/_next/static/media/home.550e96f1.svg",bar:!0,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""},{id:"option-5-4",title:"SETTINGS_SETTINGS-SCREEN_LOCK-SCREEN-H3",text:["SETTINGS_SETTINGS-SCREEN_SCREEN-LOCK-ID","SETTINGS_SETTINGS-SCREEN_ALWAYS-ON-DISPLAY"],icon:"/_next/static/media/lock.c8e0367c.svg",bar:!1,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""}],[{id:"option-6-1",title:"SETTINGS_SETTINGS-SCREEN_SECURITY-AND-PRIVACY-H3",text:["@PARADIGM_SETTINGS_SETTINGS-SCREEN_AUTO-BLOCKER","@PARADIGM_SETTINGS_SETTINGS-SCREEN_PERMISSION-USAGE"],icon:"/_next/static/media/biometrics.8cf225fb.svg",bar:!0,renderAsDetails:"security",renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:"security"},{id:"option-6-2",title:"SETTINGS_SETTINGS-SCREEN_LOCATION-H3",text:["SETTINGS_SETTINGS-SCREEN_LOCATION-REQUESTS"],icon:"/_next/static/media/location.d8b980d9.svg",bar:!0,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""},{id:"option-6-3",title:"SETTINGS_SETTINGS-SCREEN_SAFETY-AND-EMERGENCY-H3",text:["SETTINGS_SETTINGS-SCREEN_MEDICAL-INFO","SETTINGS_SETTINGS-SCREEN_WIRELESS-EMERGENCY"],icon:"/_next/static/media/safety.87dd21c4.svg",bar:!1,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""}],[{id:"option-7-1",title:"SETTINGS_SETTINGS-SCREEN_ACCOUNTS-AND-BACKUP-H3",text:["SETTINGS_SETTINGS-SCREEN_MANAGE-ACCOUNTS","SETTINGS_SETTINGS-SCREEN_SMART-SWITCH"],icon:"/_next/static/media/accounts.fbf41325.svg",bar:!0,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""},{id:"option-7-2",title:"SETTINGS_SETTINGS-SCREEN_GOOGLE-H3",text:["SETTINGS_SETTINGS-SCREEN_GOOGLE-SERVICES"],icon:"/_next/static/media/google.13f16694.svg",bar:!1,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""}],[{id:"option-8-1",title:"SETTINGS_SETTINGS-SCREEN_ADVANCED-FEATURES-H3",text:["@PARADIGM_SETTINGS_SETTINGS-SCREEN_ADVANCED-INTELLIGENCE","@PARADIGM_SETTINGS_SETTINGS-SCREEN_LABS","SETTINGS_SETTINGS-SCREEN_S_PEN"],icon:"/_next/static/media/advanced.0eab9d9c.svg",bar:!1,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""}],[{id:"option-9-1",title:"SETTINGS_SETTINGS-SCREEN_DIGITAL-WELLBEING-H3",text:["SETTINGS_SETTINGS-SCREEN_SCREEN-TIME","SETTINGS_SETTINGS-SCREEN_APP-TIMERS"],icon:"/_next/static/media/wellbeing.b4cf0910.svg",bar:!0,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""},{id:"option-9-2",title:"SETTINGS_SETTINGS-SCREEN_BATTERY-AND-DEVICE-H3",text:["SETTINGS_SETTINGS-SCREEN_STORAGE","SETTINGS_SETTINGS-SCREEN_MEMORY","SETTINGS_SETTINGS-SCREEN_DEVICE-PROTECTION"],icon:"/_next/static/media/device.f7286ba9.svg",bar:!0,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""},{id:"option-9-3",title:"SETTINGS_SETTINGS-SCREEN_APP-H3",text:["SETTINGS_SETTINGS-SCREEN_DEFAULT-APPS","SETTINGS_SETTINGS-SCREEN_APP-SETTINGS"],icon:"/_next/static/media/apps.4cb1b6a4.svg",bar:!1,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""}],[{id:"option-10-1",title:"SETTINGS_SETTINGS-SCREEN_GENERAL-MANAGEMENT-H3",text:["SETTINGS_SETTINGS-SCREEN_LANGUAGE-AND-KEYBOARD","SETTINGS_SETTINGS-SCREEN_DATE-AND-TIME"],icon:"/_next/static/media/general.d7d64d66.svg",bar:!0,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""},{id:"option-10-2",title:"SETTINGS_SETTINGS-SCREEN_ACCESSIBILITY-H3",text:["SETTINGS_SETTINGS-SCREEN_TALKBACK","SETTINGS_SETTINGS-SCREEN_MONO-AUDIO","SETTINGS_SETTINGS-SCREEN_ASSISSTANT-MENU"],icon:"/_next/static/media/accessibility.a7f01274.svg",bar:!1,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""}],[{id:"option-11-1",title:"SETTINGS_SETTINGS-SCREEN_SOFTWARE-UPDATE-H3",text:["SETTINGS_SETTINGS-SCREEN_DOWNLOAD-AND-INSTALL"],icon:"/_next/static/media/updates.cde41611.svg",bar:!0,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""},{id:"option-11-2",title:"SETTINGS_SETTINGS-SCREEN_USER-MANUAL-H3",text:["SETTINGS_SETTINGS-SCREEN_TIPS","SETTINGS_SETTINGS-SCREEN_NEW_FEATURES"],icon:"/_next/static/media/tips.8fc9de85.svg",bar:!0,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""},{id:"option-11-3",title:"SETTINGS_SETTINGS-SCREEN_ABOUT-PHONE-H3",text:["SETTINGS_SETTINGS-SCREEN_STATUS","SETTINGS_SETTINGS-SCREEN_LEAGAL-INFORMATION","SETTINGS_SETTINGS-SCREEN_PHONE-NAME"],icon:"/_next/static/media/about.bac116ff.svg",bar:!1,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""}]].map((function(e){return e.filter((function(e){return"cn"!==pE||"SETTINGS_SETTINGS-SCREEN_GOOGLE-H3"!==e.title&&"SETTINGS_SETTINGS-SCREEN_BATTERY-AND-DEVICE-H3"!==e.title&&"SETTINGS_SETTINGS-SCREEN_CONNECTED_DEVICES-H3"!==e.title}))})),fE=[[{id:"option-1-1",title:"SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_CALL-ASSIST_TITLE",text:["SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_CALL-ASSIST_DESC"],icon:"/_next/static/media/call-assist.41b257d1.png",bar:!0,renderAsDetails:"live-translate-video",renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:"call-assist"},{id:"option-1-2",title:"SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_CHAT-ASSIST_TITLE",text:["SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_CHAT-ASSIST_DESC"],icon:"/_next/static/media/chat-assist.e84b1cfb.png",bar:!0,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""},{id:"option-1-3",title:"SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_INTERPRETER_TITLE",text:["SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_INTERPRETER_DESC"],icon:"/_next/static/media/interpreter.10217cf9.png",bar:!1,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""}],[{id:"option-2-1",title:"SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_NOTE-ASSIST_TITLE",text:["SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_NOTE-ASSIST_DESC"],icon:"/_next/static/media/note-assist.44264a7c.png",bar:!0,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""},{id:"option-2-2",title:"SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_TRANSCRIPT-ASSIST_TITLE",text:["SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_TRANSCRIPT-ASSIST_DESC"],icon:"/_next/static/media/transcript-assist.37d5d0e5.png",bar:!0,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""},{id:"option-2-3",title:"SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_BROWSING-ASSIST_TITLE",text:["SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_BROWSING-ASSIST_DESC"],icon:"/_next/static/media/browsing-assist.ecdaa35b.png",bar:!1,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""}],[{id:"option-3-1",title:"SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_PHOTO-ASSIST_TITLE",text:["SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_PHOTO-ASSIST_DESC"],icon:"/_next/static/media/photo-assist.d5bed3c5.png",bar:!0,renderAsDetails:"photo-remaster",renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:"photo-assist"},{id:"option-3-2",title:"SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_DRAWING-ASSIST_TITLE",text:["SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_DRAWING-ASSIST_DESC"],icon:"/_next/static/media/drawing-assist.cb336611.png",bar:!0,renderAsDetails:"cn"!==pE&&"sketch-to-image",renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:"cn"===pE?"":"drawing-assist"},{id:"option-3-3",title:"@PARADIGM_SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_AUDIO-ERASER_TITLE",text:["@PARADIGM_SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_AUDIO-ERASER_DESC"],icon:"/_next/static/media/audio-eraser.243230ba.png",bar:!0,renderAsDetails:"audio-eraser",renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:"audio-eraser"},{id:"option-3-4",title:"SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_PHOTO-AMBIENT_TITLE",text:["SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_PHOTO-AMBIENT_DESC"],icon:"/_next/static/media/photo-ambient.abf1ddec.png",bar:!1,renderAsDetails:!1,renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:""}],[{id:"option-4-1",title:"@PARADIGM_SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_NOW-BRIEF_TITLE",text:["@PARADIGM_SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_NOW-BRIEF_DESC"],icon:"/_next/static/media/now-brief.b5eaf52e.png",bar:!0,renderAsDetails:"now-brief",renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:"now-brief"},{id:"option-4-2",title:"SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_HEALTH-ASSIST_TITLE",text:["SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_HEALTH-ASSIST_DESC"],icon:"/_next/static/media/health-assist.4a49925e.png",bar:!1,renderAsDetails:"health",renderAsLinkSwitch:!1,linkSwitchName:"",tutorial:"health-assist"}],[{id:"option-5-1",title:"SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_PROCESS-DATA_TITLE",text:["SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_PROCESS-DATA_DESC"],type:"toggle-process-data"}],[{id:"option-6-1",title:"SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_ABOUT-AI_TITLE",bar:!0},{id:"option-6-2",title:"SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_ABOUT-T-AND-C_TITLE"}]],mE="/_next/static/media/icon-rating.7b22e0c0.png",hE="/_next/static/media/add-favorite.04882ae1.svg",AE=function(e){var t=e.theme,a=e.close,n=(0,P.qr)().setIsAppOpen,r=(0,i.useContext)(dh).setScreen,l=((0,i.useContext)(ch)||{}).setScreen,c=(0,i.useState)(0),o=c[0],d=c[1],u=(0,i.useRef)(null);return(0,i.useEffect)((function(){I.ZP.delayedCall(1,(function(){I.ZP.to(u.current,{duration:.3,width:"".concat(100,"%"),onComplete:function(){d(100),I.ZP.delayedCall(1,(function(){n(!1),I.ZP.delayedCall(1,(function(){r("Home"),l&&l("Home"),a()}))}))}})}))}),[]),(0,s.jsx)("div",{className:"pointer-events-auto absolute inset-0 ","data-component":"app-theme-loader",children:(0,s.jsx)("div",{className:"absolute inset-0",children:(0,s.jsxs)("div",{className:"absolute inset-0 bg-white",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-cover bg-center",style:{backgroundPosition:"top center",height:"50%",backgroundImage:"url(assets/images/themes/".concat(t.id,"/dashboard/background.jpg?version=").concat(M.K0,")")},"data-ref":"app-theme-image",children:(0,s.jsxs)("div",{className:"text-shadow absolute bottom-0 left-0 right-0 font-body text-2xl text-white",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-black opacity-50"}),(0,s.jsx)("div",{className:"relative w-full px-6 py-4","data-ref":"app-theme-title",children:g.t[t.title]})]})}),(0,s.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 top-1/2",children:[(0,s.jsx)("div",{className:"relative mt-10 px-6 font-normal",children:g.t["GALAXY-STORE_THEMES_APPLYING-THEME"]}),(0,s.jsx)("div",{className:"relative mt-7 px-6 font-light",children:(0,s.jsxs)("div",{className:"relative w-full",style:{height:"2px"},children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-blue-900 opacity-25"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-blue-900",style:{width:"".concat(o,"%")},"data-ref":"app-theme-progress",ref:u})]})}),(0,s.jsxs)("div",{className:"relative mt-6 px-6 text-right font-normal","data-ref":"app-theme-percent",children:[o,(0,s.jsx)(aa.Z,{languages:["tr"],children:"\xa0"}),"%"]})]})]})})})},EE=function(){return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 32 32",fill:"none",children:(0,s.jsx)("path",{d:"M21.4114 13.1632L15.8056 18.8487C15.7595 18.8962 15.704 18.9035 15.6754 18.9035C15.6469 18.9035 15.5921 18.8962 15.5461 18.8487L9.93876 13.1632C9.72605 12.9476 9.37884 12.9454 9.1632 13.1581C8.94756 13.3708 8.94537 13.718 9.15808 13.9336L14.7647 19.6184C15.0066 19.8648 15.3312 20 15.6754 20C16.0212 20 16.3443 19.8648 16.5862 19.6184L22.1921 13.9336C22.4048 13.718 22.4019 13.3701 22.187 13.1581C21.9713 12.9454 21.6241 12.9476 21.4114 13.1632Z",fill:"#252525"})})},gE=function(e){var t=e.wrapperRef,a=e.close,n=(0,P.qr)(),r=n.setColourPaletteIndex,l=n.appName,c=(0,P.q0)().setTheme,o=(0,i.useContext)(dh),d=o.screen,u=o.setScreen,p=o.theme,x=(0,i.useRef)(null),f=(0,i.useRef)(null),m=Vf(t,x,f,(function(){u("Home")})),h=m.open,A=m.close;(0,i.useEffect)((function(){"details"===d.current&&"Home"===d.prev&&((0,V.Kq)("/app/galaxy-themes/theme/".concat(Ye()(g.t[p.title]).toLowerCase()),M.dC.GalaxyThemes),h())}),[h,d]);(0,i.useEffect)((function(){""===l&&(a?a():A())}),[l]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"gpu absolute bottom-0 left-0 right-0 top-0 z-50 hidden bg-primary-gray-25","data-component":"app-theme","data-app-theme-id":"{{themeDetailsProps.id}}",ref:x,children:(0,s.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 top-0 overflow-hidden rounded-3xl",children:[(0,s.jsx)("div",{className:"fixed bottom-0 left-0 right-0 top-0 overflow-hidden rounded-3xl"}),(0,s.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 top-0",style:{minWidth:"100vw",minHeight:"100vh"},ref:f,children:[(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0",children:(0,s.jsx)("div",{className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsx)("div",{className:"absolute left-0 right-0 overflow-hidden bg-primary-gray-25",style:{top:"0px",height:"calc(100% - 150px)",borderRadius:"2rem",borderTopLeftRadius:0,borderTopRightRadius:0},children:(0,s.jsx)("div",{className:"scrolling-touch absolute bottom-0 left-0 right-0 top-0 overflow-y-auto",children:(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsxs)("div",{className:"sticky top-0 z-20 bg-primary-gray-25 pb-3",children:[(0,s.jsx)("div",{className:"pointer-events-none absolute w-full",style:{top:"calc(100% - 20px)",height:"50px"},children:(0,s.jsx)("div",{className:"absolute top-0 w-full"})}),(0,s.jsxs)("div",{className:"relative px-6",children:[(0,s.jsx)("div",{className:"relative w-full",style:{height:"35px"}}),(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center",children:[(0,s.jsx)("div",{className:"",children:(0,s.jsx)("button",{className:"rtl:-scale-x-100 rtl:transform",style:{width:"30px",height:"40px"},"data-ref":"app-theme-button-close",onClick:"settings"===l?function(){a&&a(),u("Home")}:A,children:(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("g",{children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5641 4.15216C15.8591 3.86116 15.8631 3.38616 15.5721 3.09116C15.2811 2.79716 14.8061 2.79416 14.5111 3.08516L6.73311 10.7552C6.39711 11.0862 6.21211 11.5292 6.21211 12.0012C6.21211 12.4722 6.39711 12.9162 6.73311 13.2472L14.5111 20.9162C14.6571 21.0592 14.8471 21.1312 15.0381 21.1312C15.2311 21.1312 15.4251 21.0562 15.5721 20.9082C15.8631 20.6132 15.8591 20.1382 15.5641 19.8472L7.78711 12.1782C7.72111 12.1152 7.71211 12.0402 7.71211 12.0012C7.71211 11.9622 7.72111 11.8862 7.78711 11.8232L15.5641 4.15216Z",fill:"#252525"})})})})}),(0,s.jsx)("div",{className:"text-xl leading-none"})]}),(0,s.jsxs)("div",{className:"flex-no-wrap flex gap-3",children:[(0,s.jsx)("button",{className:"flex items-center justify-center text-center",children:(0,s.jsx)("img",{src:hE,width:24,height:24,alt:""})}),(0,s.jsx)("button",{className:"flex items-center justify-center text-center",children:(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("g",{children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.3036 15.325C15.6816 15.325 15.1136 15.554 14.6766 15.929L9.07764 12.621C9.12964 12.422 9.15864 12.215 9.15864 12C9.15864 11.786 9.12964 11.579 9.07864 11.38L14.6766 8.06999C15.1136 8.44599 15.6816 8.67499 16.3036 8.67499C17.6846 8.67499 18.8036 7.55499 18.8036 6.17699C18.8036 4.79499 17.6846 3.67499 16.3036 3.67499C14.9226 3.67499 13.8026 4.79499 13.8026 6.17699C13.8026 6.38999 13.8326 6.59699 13.8836 6.79699L8.28664 10.105C7.84864 9.72899 7.28164 9.50099 6.65964 9.50099C5.27964 9.50099 4.16064 10.621 4.16064 12C4.16064 13.38 5.27964 14.501 6.65964 14.501C7.28164 14.501 7.84864 14.271 8.28664 13.895L13.8846 17.204C13.8326 17.403 13.8036 17.61 13.8036 17.825C13.8036 19.207 14.9226 20.325 16.3036 20.325C17.6846 20.325 18.8036 19.207 18.8036 17.825C18.8036 16.445 17.6846 15.325 16.3036 15.325Z",fill:"currentColor"})})})})]})]})]})]}),(0,s.jsxs)("div",{className:"relative z-10 h-full",style:{borderRadius:"2rem"},children:[(0,s.jsxs)("div",{className:"relative w-full px-6",children:[(0,s.jsxs)("div",{className:"flex-no-wrap relative flex w-full items-center justify-between",children:[(0,s.jsx)("div",{className:"text-base font-semibold","data-ref":"app-themes-text-title",children:g.t[p.title]}),(0,s.jsxs)("div",{className:"flex items-center justify-center text-sm font-semibold text-primary-gray-300",children:[(0,s.jsx)("div",{children:(0,s.jsx)("img",{"data-loader":"image",src:mE,className:"ltr:mr-1 rtl:ml-1",style:{width:"13px"},alt:""})}),(0,s.jsx)("div",{style:{marginTop:"3px"},children:g.t[p.rating]})]})]}),(0,s.jsx)("div",{className:"relative mb-4 w-full text-[13px] text-primary-gray-395",children:g.t[p.bySamsung]})]}),(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"scrolling-touch relative flex w-full overflow-x-auto pb-4","data-ref":"app-themes-image-container",children:(0,s.jsx)("div",{className:"flex-no-wrap relative flex items-start justify-center gap-2 px-6","data-ref":"app-themes-image-list",children:(0,G.Z)(Array(3)).map((function(e,t){return(0,s.jsx)("div",{"data-ref":"app-themes-image-template",children:(0,s.jsxs)("div",{className:"relative h-[263px] w-36",children:[(0,s.jsx)(vt.Z,{children:(0,s.jsx)(yl,{"data-loader":"image",className:"h-full w-full rounded-[10px] border border-primary-gray-150",src:"themes/".concat(p.id,"/preview/icon-theme-").concat(t+1,".jpg?version=").concat(M.K0),alt:""})}),(0,s.jsx)(Ct.Z,{children:(0,s.jsx)(yl,{"data-loader":"image",className:"h-full w-full rounded-[10px] border border-primary-gray-150",src:"themes/work/".concat(p.id,"/preview/icon-theme-").concat(t+1,".jpg?version=").concat(M.K0),alt:""})})]})},t)}))})})}),(0,s.jsx)("div",{className:"relative w-full px-6 pb-2",children:(0,s.jsx)("div",{className:"relative flex w-full items-center justify-between",children:(0,s.jsxs)("div",{className:"relative flex w-full items-center justify-start gap-x-2",children:[(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"h-[5px] w-[5px] rounded-full bg-primary-gray-400"})}),(0,s.jsx)("div",{className:"text-xs font-semibold text-primary-gray-400",children:g.t[p.multipack]})]})})}),(0,s.jsx)("div",{className:"relative w-full px-6",children:(0,s.jsxs)("div",{className:"relative mb-0 mt-2 w-full",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("div",{className:"text-lg font-semibold",children:g.t[p.beforeYouBuy]}),(0,s.jsx)("div",{children:(0,s.jsx)(EE,{})})]}),(0,s.jsx)("div",{className:"mb-5 mt-3 text-[13px] font-normal not-italic leading-5 text-primary-gray-228",children:g.t[p.upgradeText]})]})}),(0,s.jsx)("div",{className:"relative mt-2 w-full px-6",children:(0,s.jsxs)("div",{className:"relative mb-6 mt-2 w-full",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("div",{className:"text-lg font-semibold not-italic leading-[normal]",children:g.t[p.description]}),(0,s.jsx)("div",{children:(0,s.jsx)(EE,{})})]}),(0,s.jsx)("div",{className:"mt-4 text-[13px] font-normal not-italic leading-5 text-primary-gray-228","data-ref":"app-themes-text-description",children:g.t[p.descriptionText]})]})})]})]})})})})}),(0,s.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 w-full text-center",children:[(0,s.jsx)("div",{className:"relative w-full px-6 pb-6",children:(0,s.jsx)("button",{className:"w-full rounded-full bg-primary-blue-900 py-2.5 text-lg font-semibold text-white","data-ref":"app-theme-button-apply",onClick:function(){(0,V.Kq)("/app/galaxy-themes/theme/".concat(Ye()(g.t[p.title]).toLowerCase(),"/apply"),M.dC.GalaxyThemes),c(p.id),r(0),u("applying")},children:g.t[p.buttonText]})}),(0,s.jsx)("div",{className:"relative w-full",style:{height:"65px"}})]})]})]})}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 z-50",children:"applying"===d.current&&(0,s.jsx)(AE,{theme:p,close:a||A})})]})},vE=function(){return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.84445 4.44533H5.11201C4.74401 4.44533 4.44534 4.74399 4.44534 5.11199V6.84444C4.44534 7.21244 4.74401 7.51111 5.11201 7.51111H6.84445C7.21245 7.51111 7.51112 7.21244 7.51112 6.84444V5.11199C7.51112 4.74399 7.21245 4.44533 6.84445 4.44533Z",fill:"#252525"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8596 4.44533H9.128C8.75912 4.44533 8.46045 4.74399 8.46045 5.11199V6.84444C8.46045 7.21244 8.75912 7.51111 9.128 7.51111H10.8596C11.2276 7.51111 11.5262 7.21244 11.5262 6.84444V5.11199C11.5262 4.74399 11.2276 4.44533 10.8596 4.44533Z",fill:"#252525"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.8738 4.44533H13.1422C12.7742 4.44533 12.4756 4.74399 12.4756 5.11199V6.84444C12.4756 7.21244 12.7742 7.51111 13.1422 7.51111H14.8738C15.2418 7.51111 15.5404 7.21244 15.5404 6.84444V5.11199C15.5404 4.74399 15.2418 4.44533 14.8738 4.44533Z",fill:"#252525"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8596 8.46043H9.128C8.75912 8.46043 8.46045 8.7591 8.46045 9.1271V10.8533C8.46045 11.2222 8.75912 11.52 9.128 11.52H10.8596C11.2276 11.52 11.5262 11.2213 11.5262 10.8533V9.12799C11.5262 8.7591 11.2276 8.46043 10.8596 8.46043Z",fill:"#252525"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.8738 8.46043H13.1422C12.7742 8.46043 12.4756 8.7591 12.4756 9.1271V10.8533C12.4756 11.2222 12.7742 11.52 13.1422 11.52H14.8738C15.2418 11.52 15.5404 11.2213 15.5404 10.8533V9.12799C15.5404 8.7591 15.2418 8.46043 14.8738 8.46043Z",fill:"#252525"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8596 12.4756H9.128C8.75912 12.4756 8.46045 12.7742 8.46045 13.1422V14.8729C8.46045 15.2427 8.75912 15.5396 9.128 15.5396H10.8596C11.2276 15.5396 11.5262 15.2427 11.5262 14.8729V13.1422C11.5262 12.7742 11.2276 12.4756 10.8596 12.4756Z",fill:"#252525"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.8738 12.4756H13.1422C12.7742 12.4756 12.4756 12.7742 12.4756 13.1422V14.8729C12.4756 15.2427 12.7742 15.5396 13.1422 15.5396H14.8738C15.2418 15.5396 15.5404 15.2427 15.5404 14.8729V13.1422C15.5404 12.7742 15.2418 12.4756 14.8738 12.4756Z",fill:"#252525"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.888 4.44533H17.1556C16.7876 4.44533 16.4889 4.74399 16.4889 5.11199V6.84444C16.4889 7.21244 16.7876 7.51111 17.1556 7.51111H18.888C19.256 7.51111 19.5547 7.21244 19.5547 6.84444V5.11199C19.5547 4.74399 19.256 4.44533 18.888 4.44533Z",fill:"#252525"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.84445 8.46043H5.11201C4.74401 8.46043 4.44534 8.7591 4.44534 9.1271V10.8533C4.44534 11.2222 4.74401 11.52 5.11201 11.52H6.84445C7.21245 11.52 7.51112 11.2213 7.51112 10.8533V9.12799C7.51112 8.7591 7.21245 8.46043 6.84445 8.46043Z",fill:"#252525"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.84445 12.4756H5.11201C4.74401 12.4756 4.44534 12.7742 4.44534 13.1422V14.8729C4.44534 15.2427 4.74401 15.5396 5.11201 15.5396H6.84445C7.21245 15.5396 7.51112 15.2427 7.51112 14.8729V13.1422C7.51112 12.7742 7.21245 12.4756 6.84445 12.4756Z",fill:"#252525"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.888 8.46043H17.1556C16.7876 8.46043 16.4889 8.7591 16.4889 9.1271V10.8533C16.4889 11.2222 16.7876 11.52 17.1556 11.52H18.888C19.256 11.52 19.5547 11.2213 19.5547 10.8533V9.12799C19.5547 8.7591 19.256 8.46043 18.888 8.46043Z",fill:"#252525"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.888 12.4756H17.1556C16.7876 12.4756 16.4889 12.7742 16.4889 13.1422V14.8729C16.4889 15.2427 16.7876 15.5396 17.1556 15.5396H18.888C19.256 15.5396 19.5547 15.2427 19.5547 14.8729V13.1422C19.5547 12.7742 19.256 12.4756 18.888 12.4756Z",fill:"#252525"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.84445 16.4898H5.11201C4.74401 16.4898 4.44534 16.7867 4.44534 17.1564V18.8871C4.44534 19.2551 4.74401 19.5538 5.11201 19.5538H6.84445C7.21245 19.5538 7.51112 19.2551 7.51112 18.8871V17.1564C7.51112 16.7867 7.21245 16.4898 6.84445 16.4898Z",fill:"#252525"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8596 16.4898H9.128C8.75912 16.4898 8.46045 16.7867 8.46045 17.1564V18.8871C8.46045 19.2551 8.75912 19.5538 9.128 19.5538H10.8596C11.2276 19.5538 11.5262 19.2551 11.5262 18.8871V17.1564C11.5262 16.7867 11.2276 16.4898 10.8596 16.4898Z",fill:"#252525"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.8738 16.4898H13.1422C12.7742 16.4898 12.4756 16.7867 12.4756 17.1564V18.8871C12.4756 19.2551 12.7742 19.5538 13.1422 19.5538H14.8738C15.2418 19.5538 15.5404 19.2551 15.5404 18.8871V17.1564C15.5404 16.7867 15.2418 16.4898 14.8738 16.4898Z",fill:"#252525"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.888 16.4898H17.1556C16.7876 16.4898 16.4889 16.7867 16.4889 17.1564V18.8871C16.4889 19.2551 16.7876 19.5538 17.1556 19.5538H18.888C19.256 19.5538 19.5547 19.2551 19.5547 18.8871V17.1564C19.5547 16.7867 19.256 16.4898 18.888 16.4898Z",fill:"#252525"})]})},CE=H()(Object.values({eslatam:"eslatam:xsm:text-[13px]",hu:"hu:foldCover:text-[13px]"})),jE=function(e){var t=e.text,a=e.isActive,i=void 0!==a&&a,n=e.secondaryColor;return(0,s.jsx)("button",{className:"w-full",children:(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)(qp,{}),(0,s.jsx)("div",{className:"pointer-events-none relative w-full rounded-3xl bg-primary-gray-100 py-1.5 text-base font-medium ".concat(!1===i?"hidden":""),"data-ref":"button-rounded-enabled",children:(0,s.jsx)("div",{className:"font-bold opacity-100",children:t})}),(0,s.jsx)("div",{className:"pointer-events-none relative w-full rounded-3xl py-1.5 text-base ".concat(n," ").concat(!0===i?"hidden":""),"data-ref":"button-rounded-disabled",children:(0,s.jsx)("div",{className:"font-normal opacity-50",children:t})})]})})},NE=function(){var e=(0,i.useContext)(dh),t=e.setScreen,a=e.setTheme;return(0,s.jsx)("div",{className:"scrolling-touch absolute inset-0 overflow-y-auto overflow-x-hidden","data-ref":"app-content",style:{borderRadius:"2rem",borderTopLeftRadius:0,borderTopRightRadius:0},children:(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsxs)("div",{className:"sticky top-0 z-20 bg-primary-gray-50 py-2 pb-3 pt-10 md:pt-[56px]",children:[(0,s.jsx)("div",{className:"relative px-6",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-between",children:[(0,s.jsx)("div",{className:"font-title text-xl font-semibold",children:g.t["GALAXY-THEMES_GALAXY-THEMES_H1"]}),(0,s.jsxs)("div",{className:"flex-no-wrap flex gap-2 text-black",children:[(0,s.jsxs)("button",{className:"relative flex items-center justify-center text-center",style:{width:"30px",height:"30px"},children:[(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M15.049 4.24969L12 6.29869L8.95099 4.24969",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M4.87521 12.2048V17.2048C4.87521 18.5798 6.00021 19.7048 7.37521 19.7048H16.6252C18.0002 19.7048 19.1252 18.5798 19.1252 17.2048V12.2048",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.2502 6.7048H6.75021C5.37521 6.7048 4.25021 7.8298 4.25021 9.2048V11.2048C4.25021 11.4808 4.47421 11.7048 4.75021 11.7048H19.2502C19.5262 11.7048 19.7502 11.4808 19.7502 11.2048V9.2048C19.7502 7.8298 18.6252 6.7048 17.2502 6.7048Z",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M12.0002 6.29849V19.7065",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,s.jsx)("div",{className:"absolute right-0 top-0",children:(0,s.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{width:"16",height:"16",rx:"8",fill:"#F56A0D"}),(0,s.jsx)("path",{d:"M11.0937 3.67969V11.5H9.7456L6.23828 5.89795V11.5H4.89013V3.67969H6.23828L9.75634 9.29248V3.67969H11.0937Z",fill:"#FAFAFA"})]})})]}),(0,s.jsx)("button",{className:"flex items-center justify-center text-center",style:{width:"30px",height:"30px"},"data-ref":"app-messages-button-search",children:(0,s.jsx)($p,{})})]})]})}),(0,s.jsx)("div",{className:"relative w-full px-4 pb-2",children:(0,s.jsx)("div",{className:"mt-6 flex flex-nowrap items-center",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex w-full gap-2 text-center",children:[(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)(ie,{path:"/app/galaxy-themes/featured",page:M.dC.GalaxyThemes,children:(0,s.jsx)(ht,{title:g.t["GALAXY-THEMES_BOTTOM-NAV_THEMES_POP-UP-TITLE"],text:g.t["GALAXY-THEMES_BOTTOM-NAV_THEMES_POP-UP-TEXT"],cta:{text:g.t["GALAXY-THEMES_BOTTOM-NAV_THEMES_POP-UP-OK"]},children:(0,s.jsx)(jE,{text:g.t["GALAXY-THEMES_GALAXY-THEMES_FEATURED_H3"],secondaryColor:"border-primary-gray-50"})})})}),(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)(jE,{text:g.t["GALAXY-THEMES_GALAXY-THEMES_TOP_CTA"],isActive:!0,secondaryColor:"border-primary-gray-50"})})]})})})]}),(0,s.jsx)("div",{className:"relative h-[65vh] w-full overflow-x-hidden","data-ref":"app-galaxy-themes-container-featured",children:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:"relative flex w-full items-center justify-between px-8 pb-2 pt-0",children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"flex items-center justify-start gap-x-2 text-base font-semibold",children:[(0,s.jsx)("div",{children:g.t["GALAXY-THEMES_GALAXY-THEMES_ALL_TEXT"]}),(0,s.jsx)("div",{children:(0,s.jsx)("svg",{width:"10",height:"7",viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.9894 0C1.16731 0 0.696408 0.936826 1.18685 1.59659L4.54744 6.11734C4.94818 6.65642 5.75587 6.65497 6.15467 6.11446L9.49014 1.59371C9.97724 0.933515 9.5059 0 8.68546 0H1.9894Z",fill:"#252525"})})})]}),(0,s.jsx)("div",{children:(0,s.jsx)(vE,{})})]})}),(0,s.jsx)("div",{className:"pb-4",children:(0,s.jsx)("div",{className:"grid grid-cols-3 gap-1.5 px-6",children:r.map((function(e){return(0,s.jsxs)("div",{className:"flex-shrink-0","data-ref":"theme-button","data-theme-button-index":e.title,onClick:function(){return function(e){a(e),t("details")}(e)},children:[(0,s.jsx)("div",{className:"text-lg font-bold",children:(0,s.jsx)(yl,{"data-loader":"image",className:"w-full rounded-xl border border-primary-gray-100",src:"themes/".concat(e.id,"/preview/icon-theme-1.jpg?version=").concat(M.K0),alt:""})}),(0,s.jsx)("div",{className:"mt-2 w-full",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:H()("text-sm font-normal leading-tight text-primary-gray-300",CE),children:g.t[e.title]}),(0,s.jsx)("div",{className:"text-primary-gray-300",style:{fontSize:"10px"},children:g.t[e.price]})]})})]},e.title)}))})})]})})]})})},TE=function(){return(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 20.5H7.5C6.12 20.5 5 19.381 5 18V6.5C5 5.12 6.12 4 7.5 4H17C18.381 4 19.5 5.12 19.5 6.5V18C19.5 19.381 18.381 20.5 17 20.5Z",stroke:"#858585",strokeWidth:"1.5"}),(0,s.jsx)("path",{d:"M12.75 8.4707C12.75 8.05649 12.4142 7.7207 12 7.7207C11.5858 7.7207 11.25 8.05649 11.25 8.4707H12.75ZM15.25 13.4707C15.6642 13.4707 16 13.1349 16 12.7207C16 12.3065 15.6642 11.9707 15.25 11.9707V13.4707ZM11.25 8.4707V12.2207H12.75V8.4707H11.25ZM11.25 12.2207C11.25 12.9089 11.8088 13.4707 12.5 13.4707V11.9707C12.6392 11.9707 12.75 12.0825 12.75 12.2207H11.25ZM12.5 13.4707H15.25V11.9707H12.5V13.4707Z",fill:"#858585"})]})},wE=function(){return(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 20.5H7.5C6.12 20.5 5 19.381 5 18V6.5C5 5.12 6.12 4 7.5 4H17C18.381 4 19.5 5.12 19.5 6.5V18C19.5 19.381 18.381 20.5 17 20.5Z",stroke:"#858585",strokeWidth:"1.5"}),(0,s.jsx)("path",{d:"M12.75 8.4707C12.75 8.05649 12.4142 7.7207 12 7.7207C11.5858 7.7207 11.25 8.05649 11.25 8.4707H12.75ZM15.25 13.4707C15.6642 13.4707 16 13.1349 16 12.7207C16 12.3065 15.6642 11.9707 15.25 11.9707V13.4707ZM11.25 8.4707V12.2207H12.75V8.4707H11.25ZM11.25 12.2207C11.25 12.9089 11.8088 13.4707 12.5 13.4707V11.9707C12.6392 11.9707 12.75 12.0825 12.75 12.2207H11.25ZM12.5 13.4707H15.25V11.9707H12.5V13.4707Z",fill:"#858585"})]})},_E=function(){return(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.4998 17.0841C20.4998 18.9709 18.9509 20.5 17.0397 20.5C15.1286 20.5 13.5781 18.9709 13.5781 17.0841C13.5781 15.1959 15.1286 13.6667 17.0397 13.6667C18.9509 13.6667 20.4998 15.1959 20.4998 17.0841Z",stroke:"#858585",strokeWidth:"1.5"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.38367 20.3101H5.15387C4.51682 20.3101 4 19.7999 4 19.1725V14.9968C4 14.3678 4.51682 13.8561 5.15387 13.8561H9.38367C10.0207 13.8561 10.5375 14.3678 10.5375 14.9968V19.1725C10.5375 19.7999 10.0207 20.3101 9.38367 20.3101Z",stroke:"#858585",strokeWidth:"1.5"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4858 4.3792L8.37711 9.69258C8.082 10.1997 8.45205 10.8333 9.04382 10.8333H15.2597C15.8515 10.8333 16.2215 10.1997 15.9264 9.69258L12.8177 4.3792C12.5226 3.8736 11.7809 3.8736 11.4858 4.3792Z",stroke:"#858585",strokeWidth:"1.5"})]})},bE=function(){return(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.4998 17.0841C20.4998 18.9709 18.9509 20.5 17.0397 20.5C15.1286 20.5 13.5781 18.9709 13.5781 17.0841C13.5781 15.1959 15.1286 13.6667 17.0397 13.6667C18.9509 13.6667 20.4998 15.1959 20.4998 17.0841Z",stroke:"#858585",strokeWidth:"1.5"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.38367 20.3101H5.15387C4.51682 20.3101 4 19.7999 4 19.1725V14.9968C4 14.3678 4.51682 13.8561 5.15387 13.8561H9.38367C10.0207 13.8561 10.5375 14.3678 10.5375 14.9968V19.1725C10.5375 19.7999 10.0207 20.3101 9.38367 20.3101Z",stroke:"#858585",strokeWidth:"1.5"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4858 4.3792L8.37711 9.69258C8.082 10.1997 8.45205 10.8333 9.04382 10.8333H15.2597C15.8515 10.8333 16.2215 10.1997 15.9264 9.69258L12.8177 4.3792C12.5226 3.8736 11.7809 3.8736 11.4858 4.3792Z",stroke:"#858585",strokeWidth:"1.5"})]})},SE=function(){return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 5.85C4 6.32033 4.336 6.7 4.75 6.7H18.75C19.164 6.7 19.5 6.32033 19.5 5.85C19.5 5.3808 19.164 5 18.75 5H4.75C4.336 5 4 5.3808 4 5.85ZM4.75 13.2H18.75C19.164 13.2 19.5 12.8203 19.5 12.35C19.5 11.8808 19.164 11.5 18.75 11.5H4.75C4.336 11.5 4 11.8808 4 12.35C4 12.8203 4.336 13.2 4.75 13.2ZM18.75 19.7H4.75C4.336 19.7 4 19.3203 4 18.85C4 18.3808 4.336 18 4.75 18H18.75C19.164 18 19.5 18.3808 19.5 18.85C19.5 19.3203 19.164 19.7 18.75 19.7Z",fill:"#858585"})})},yE=function(){return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 5.85C4 6.32033 4.336 6.7 4.75 6.7H18.75C19.164 6.7 19.5 6.32033 19.5 5.85C19.5 5.3808 19.164 5 18.75 5H4.75C4.336 5 4 5.3808 4 5.85ZM4.75 13.2H18.75C19.164 13.2 19.5 12.8203 19.5 12.35C19.5 11.8808 19.164 11.5 18.75 11.5H4.75C4.336 11.5 4 11.8808 4 12.35C4 12.8203 4.336 13.2 4.75 13.2ZM18.75 19.7H4.75C4.336 19.7 4 19.3203 4 18.85C4 18.3808 4.336 18 4.75 18H18.75C19.164 18 19.5 18.3808 19.5 18.85C19.5 19.3203 19.164 19.7 18.75 19.7Z",fill:"#858585"})})},RE=function(){return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0004 3.96179C16.5454 2.30958 18.6486 3.09273 19.4998 4.03339V8.7433H4.5V4.4178C4.5 4.01136 4.91952 3.7415 5.29144 3.90892C6.45813 4.42992 8.84574 5.10953 12.0004 3.96179ZM6.36205 14.3007C5.91154 14.2027 4.50022 13.7455 4.50022 12.5956V10.396H19.5V12.5956C19.5 13.7455 18.0887 14.2027 17.6404 14.3007C16.021 14.6565 14.3473 15.0244 14.0518 15.9375C13.8315 16.6155 13.9177 16.9054 14.0794 17.4489C14.1191 17.5827 14.1635 17.7318 14.209 17.9058C14.1846 17.8111 14.5687 19.1152 14.5687 19.699C14.5687 21.0164 13.2127 22 12.0007 22C10.7897 22 9.43373 21.0164 9.43373 19.699C9.43373 19.1152 9.81562 17.8111 9.79016 17.9058C9.83568 17.7332 9.87998 17.5852 9.91973 17.4523C10.083 16.9066 10.1696 16.6169 9.95066 15.9375C9.65403 15.0244 7.98056 14.6565 6.36234 14.3007L6.36205 14.3007Z",fill:"black"})})},LE=function(){return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0004 3.96179C16.5454 2.30958 18.6486 3.09273 19.4998 4.03339V8.7433H4.5V4.4178C4.5 4.01136 4.91952 3.7415 5.29144 3.90892C6.45813 4.42992 8.84574 5.10953 12.0004 3.96179ZM6.36205 14.3007C5.91154 14.2027 4.50022 13.7455 4.50022 12.5956V10.396H19.5V12.5956C19.5 13.7455 18.0887 14.2027 17.6404 14.3007C16.021 14.6565 14.3473 15.0244 14.0518 15.9375C13.8315 16.6155 13.9177 16.9054 14.0794 17.4489C14.1191 17.5827 14.1635 17.7318 14.209 17.9058C14.1846 17.8111 14.5687 19.1152 14.5687 19.699C14.5687 21.0164 13.2127 22 12.0007 22C10.7897 22 9.43373 21.0164 9.43373 19.699C9.43373 19.1152 9.81562 17.8111 9.79016 17.9058C9.83568 17.7332 9.87998 17.5852 9.91973 17.4523C10.083 16.9066 10.1696 16.6169 9.95066 15.9375C9.65403 15.0244 7.98056 14.6565 6.36234 14.3007L6.36205 14.3007Z",fill:"black"})})},IE=function(){return(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.5 20H6.5C5.119 20 4 18.881 4 17.5V6.5C4 5.119 5.119 4 6.5 4H17.5C18.881 4 20 5.119 20 6.5V17.5C20 18.881 18.881 20 17.5 20Z",stroke:"#858585",strokeWidth:"1.5",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M4.10742 17.916L8.46142 13.81C8.85242 13.442 9.46342 13.448 9.84742 13.823L11.2174 15.164C11.4144 15.356 11.7354 15.356 11.9314 15.164L15.2954 11.867C15.6904 11.48 16.3244 11.487 16.7114 11.882L19.8924 15.137",stroke:"#858585",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.74219 10.5845C9.70719 10.5845 10.4922 9.7995 10.4922 8.8345C10.4922 7.8695 9.70719 7.0845 8.74219 7.0845C7.77719 7.0845 6.99219 7.8695 6.99219 8.8345C6.99219 9.7995 7.77719 10.5845 8.74219 10.5845Z",stroke:"#858585",strokeWidth:"1.5",strokeLinecap:"round"})]})},PE=function(){return(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.5 20H6.5C5.119 20 4 18.881 4 17.5V6.5C4 5.119 5.119 4 6.5 4H17.5C18.881 4 20 5.119 20 6.5V17.5C20 18.881 18.881 20 17.5 20Z",stroke:"#858585",strokeWidth:"1.5",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M4.10742 17.916L8.46142 13.81C8.85242 13.442 9.46342 13.448 9.84742 13.823L11.2174 15.164C11.4144 15.356 11.7354 15.356 11.9314 15.164L15.2954 11.867C15.6904 11.48 16.3244 11.487 16.7114 11.882L19.8924 15.137",stroke:"#858585",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.74219 10.5845C9.70719 10.5845 10.4922 9.7995 10.4922 8.8345C10.4922 7.8695 9.70719 7.0845 8.74219 7.0845C7.77719 7.0845 6.99219 7.8695 6.99219 8.8345C6.99219 9.7995 7.77719 10.5845 8.74219 10.5845Z",stroke:"#858585",strokeWidth:"1.5",strokeLinecap:"round"})]})},OE={nl:"nl:text-[9px]"},ME={lt:"lt:text-xs"},DE=H()(Object.values(OE)),GE=H()(Object.values(ME)),kE=function(e){var t=e.text,a=e.isEnabled,i=void 0!==a&&a,n=e.IconFill,r=e.IconStroke,l=e.className,c=void 0===l?"":l;return(0,s.jsxs)("button",{className:"relative w-full",children:[(0,s.jsx)(yr,{backgroundClassname:"c-app-dashboard-free"}),(0,s.jsx)("div",{className:"pointer-events-none relative h-full w-full",children:(0,s.jsx)("div",{className:"relative inline-block h-full w-full",children:(0,s.jsx)("div",{className:"flex justify-center py-2",children:(0,s.jsx)("div",{className:"relative",children:(0,s.jsxs)("div",{className:H()("mt-0 text-[0.8rem]",GE),children:[(0,s.jsx)("div",{className:"".concat(!1===i?"hidden":""),"data-ref":"button-dash-enabled",children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,s.jsx)("div",{className:"".concat(c,"__button-dash--icon gpu mb-2"),children:(0,s.jsx)(n,{})}),(0,s.jsx)("div",{className:"font-medium leading-none text-primary-blue-400 ".concat(c,"__button-dash--text"),children:t})]})}),(0,s.jsx)("div",{className:"".concat(!0===i?"hidden":""),"data-ref":"button-dash-disabled",children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,s.jsx)("div",{className:"".concat(c,"__button-dash--disabled--icon gpu mb-2"),children:(0,s.jsx)(r,{})}),(0,s.jsx)("div",{className:"font-medium leading-none ".concat(c,"__button-dash--disabled--text ").concat(DE),children:t})]})})]})})})})})]})},HE=function(){return(0,s.jsx)("div",{className:"absolute bottom-0 w-full bg-primary-gray-50",style:{paddingBottom:"80px"},children:(0,s.jsxs)("div",{className:"flex h-[60px] justify-between gap-1 px-4 py-0",children:[(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)(kE,{text:g.t["GALAXY-THEMES_BOTTOM-NAV_THEMES_TEXT"],className:"c-app-dashboard-free font-normal text-black",IconFill:RE,IconStroke:LE})}),(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)(ie,{path:"/app/galaxy-themes/wallpapers",page:M.dC.GalaxyThemes,children:(0,s.jsx)(ht,{title:g.t["GALAXY-THEMES_BOTTOM-NAV_THEMES_POP-UP-TITLE"],text:g.t["GALAXY-THEMES_BOTTOM-NAV_THEMES_POP-UP-TEXT"],cta:{text:g.t["GALAXY-THEMES_BOTTOM-NAV_THEMES_POP-UP-OK"]},children:(0,s.jsx)(kE,{text:g.t["GALAXY-THEMES_BOTTOM-NAV_WALLPAPERS_TEXT"],className:"c-app-dashboard-free",IconFill:IE,IconStroke:PE})})})}),(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)(ie,{path:"/app/galaxy-themes/icons",page:M.dC.GalaxyThemes,children:(0,s.jsx)(ht,{title:g.t["GALAXY-THEMES_BOTTOM-NAV_THEMES_POP-UP-TITLE"],text:g.t["GALAXY-THEMES_BOTTOM-NAV_THEMES_POP-UP-TEXT"],cta:{text:g.t["GALAXY-THEMES_BOTTOM-NAV_THEMES_POP-UP-OK"]},children:(0,s.jsx)(kE,{text:g.t["GALAXY-THEMES_BOTTOM-NAV_ICONS_TEXT"],className:"c-app-dashboard-free",IconFill:_E,IconStroke:bE})})})}),(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)(ie,{path:"/app/galaxy-themes/aods",page:M.dC.GalaxyThemes,children:(0,s.jsx)(ht,{title:g.t["GALAXY-THEMES_BOTTOM-NAV_THEMES_POP-UP-TITLE"],text:g.t["GALAXY-THEMES_BOTTOM-NAV_THEMES_POP-UP-TEXT"],cta:{text:g.t["GALAXY-THEMES_BOTTOM-NAV_THEMES_POP-UP-OK"]},children:(0,s.jsx)(kE,{text:g.t["GALAXY-THEMES_BOTTOM-NAV_AODS_TEXT"],className:"c-app-dashboard-free",IconFill:TE,IconStroke:wE})})})}),(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)(ie,{path:"/app/galaxy-themes/menu",page:M.dC.GalaxyThemes,children:(0,s.jsx)(ht,{title:g.t["GALAXY-THEMES_BOTTOM-NAV_THEMES_POP-UP-TITLE"],text:g.t["GALAXY-THEMES_BOTTOM-NAV_THEMES_POP-UP-TEXT"],cta:{text:g.t["GALAXY-THEMES_BOTTOM-NAV_THEMES_POP-UP-OK"]},children:(0,s.jsx)(kE,{text:g.t["GALAXY-THEMES_BOTTOM-NAV_MENU_TEXT"],className:"c-app-dashboard-free",IconFill:SE,IconStroke:yE})})})})]})})},BE=function(e){var t=(0,P.qr)().appName,a=e.wrapperRef,n=(0,i.useContext)(ch),r=n.screen,l=n.setScreen,c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)(null),u=Vf(a,o,d,(function(){l(r.prev)})),p=u.open,x=u.close;return(0,i.useEffect)((function(){"themes"===r.current&&"Home"===r.prev&&p()}),[p,r]),(0,i.useEffect)((function(){"settings"!==t&&"themes"===r.current&&x()}),[t,r]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"gpu absolute inset-0 z-30 hidden overflow-hidden","data-component":"app-settings-themes",ref:o,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-50"}),(0,s.jsx)("div",{className:"gpu absolute inset-0","data-ref":"app-theme-wrapper-settings",ref:c,children:(0,s.jsxs)("div",{className:"absolute inset-0 hidden overflow-hidden","data-ref":"app-settings-themes-item",ref:d,children:[(0,s.jsx)(NE,{}),(0,s.jsx)(HE,{})]})})]}),(0,s.jsx)(gE,{wrapperRef:c,close:x})]})},UE="/_next/static/media/shield.6804737b.svg",ZE={th:"th:whitespace-pre-line"},YE={th:"th:whitespace-pre-line"},FE=(H()(Object.values(ZE)),H()(Object.values(YE)),[{title:"@PARADIGM_SETTINGS_AUTO-BLOCKER_TEXT-UNAUTHORIZED_RESOURCE-TITLE",description:"@PARADIGM_SETTINGS_AUTO-BLOCKER_TEXT-UNAUTHORIZED_RESOURCE-DESC"},{title:"SETTINGS_AUTO-BLOCKER_BLOCK-COMMANDS",description:"SETTINGS_AUTO-BLOCKER_BLOCK-COMMANDS_TEXT"},{title:"@PARADIGM_SETTINGS_AUTO-BLOCKER_TEXT-MESSAGING_APP-TITLE",description:"@PARADIGM_SETTINGS_AUTO-BLOCKER_TEXT-MESSAGING_APP-DESC"},{title:"SETTINGS_AUTO-BLOCKER_ADVANCED_BLOCK-USB",description:"@PARADIGM_SETTINGS_AUTO-BLOCKER_TEXT-BLOCK_SOFTWARE_VIA_USB_CABLE-DESC"}]),VE=function(e){var t=e.wrapperRef,a=(0,P.qr)().colourPaletteIndex,n=(0,i.useContext)(ch),r=n.screen,l=n.autoBlockerChecked,c=sE().handleToggleAutoBlocker,o=(0,i.useRef)(null),d=(0,i.useRef)(null),u=(0,i.useRef)(null),p=Vf(t,d,u,(function(){})),x=p.open,f=p.openWithoutTransition,m=p.close;(0,i.useEffect)((function(){"auto-blocker"===r.current&&("Home"===r.prev?((0,V.Kq)("/app/settings/security/auto-blocker",M.dC.Settings),x()):f())}),[x,r]);var h=Z();return(0,s.jsx)("div",{className:"gpu absolute inset-0 z-30 hidden overflow-hidden text-center","data-component":"app-settings-privacy",ref:d,children:(0,s.jsx)("div",{className:"c-app-colour-palette absolute inset-0","data-component":"app-themes-changes","data-theme":"default","data-colour":a,children:(0,s.jsx)("div",{className:"absolute inset-0","data-ref":"app-settings-auto-blocker-wrapper",ref:o,children:(0,s.jsxs)("div",{className:"c-app-wallpaper-and-style absolute inset-0","data-component":"app-themes-changes","data-theme":"default",children:[(0,s.jsx)("div",{className:"c-app-colour-palette__settings__background absolute inset-0"}),(0,s.jsxs)("div",{className:"gpu absolute inset-0 hidden overflow-y-auto overflow-x-hidden",style:{bottom:"80px"},"data-ref":"app-settings-auto-blocker-item",ref:u,children:[(0,s.jsx)("div",{className:"c-app-colour-palette__settings__background sticky top-0 z-20 py-2 pb-3 pt-10",style:{paddingTop:h||"40px"},children:(0,s.jsx)("div",{className:"relative px-6 py-2",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center",children:[(0,s.jsx)("div",{className:"flex ltr:mr-2 rtl:ml-2",children:(0,s.jsx)("button",{"data-ref":"app-settings-auto-blocker-button-close",className:"c-app-colour-palette__settings__text rtl:-scale-x-100 rtl:transform",style:{width:"30px",height:"40px"},onClick:m,children:(0,s.jsx)(Yr,{})})}),(0,s.jsx)("div",{className:"text-2xl",children:(0,s.jsx)("div",{className:"c-app-colour-palette__settings__text flex-no-wrap flex items-center justify-start text-start font-semibold leading-none",style:{fontSize:"1.375rem"},children:(0,s.jsx)("div",{children:g.t["SETTINGS_AUTO-BLOCKER_H1"]})})})]}),(0,s.jsx)("button",{className:"c-app-colour-palette__settings__text flex h-[24px] w-[24px] items-center justify-center text-center",children:(0,s.jsx)(Gr,{})})]})})}),(0,s.jsxs)("div",{className:"relative w-full py-2",children:[(0,s.jsx)("div",{className:"".concat(l?"c-app-colour-palette__settings__bar":"bg-white"," relative mx-3 mb-5 rounded-[2rem]"),children:(0,s.jsx)(ie,{path:"/app/settings/security/auto-blocker/check",page:M.dC.Settings,children:(0,s.jsxs)("div",{className:"relative flex items-center justify-between px-6",children:[(0,s.jsx)("div",{className:"relative w-full py-3.5 ltr:text-left rtl:text-right ".concat(l?"c-app-colour-palette__settings__text-switch-on":"text-black"),children:(0,s.jsx)("div",{className:"text-xl font-semibold",children:l?g.t["SETTINGS_AUTO-BLOCKER_ON"]:g.t["SETTINGS_AUTO-BLOCKER_OFF"]})}),(0,s.jsx)(tE,{checked:l,handleToggle:c})]})})}),(0,s.jsxs)("div",{className:"mb-4 px-8 text-sm ltr:text-left rtl:text-right",children:[(0,s.jsx)("div",{className:"flex flex-col items-start font-normal",children:(0,s.jsxs)("div",{className:"gap-2",children:[(0,s.jsx)("img",{src:UE,width:20,height:20,alt:"",className:"inline-block pb-0.5 ltr:mr-1 rtl:ml-1"}),(0,s.jsx)("span",{className:"text-primary-black-350",children:g.t["@PARADIGM_SETTINGS_AUTO-BLOCKER_TEXT-SAFE_FROM_SECURITY_THREAT"]})]})}),FE.map((function(e,t){return(0,s.jsxs)("div",{className:"flex flex-col items-start",children:[(0,s.jsx)("span",{className:"mt-6 text-left text-[15px] font-semibold text-[#010102]",children:g.t[e.title]}),(0,s.jsx)("span",{className:"mt-1 text-primary-black-350",children:g.t[e.description]})]},e.title+t)}))]}),(0,s.jsx)("div",{className:l?"":"opacity-40",children:(0,s.jsx)("div",{className:"relative mx-3 mb-5 rounded-[24px] bg-white",children:(0,s.jsx)("div",{className:"relative flex items-center justify-between px-4",children:(0,s.jsxs)("div",{className:"relative w-full py-3.5 text-black ltr:text-left rtl:text-right",children:[(0,s.jsx)("div",{className:"text-[17px] font-normal leading-[22px]",children:g.t["@PARADIGM_SETTINGS_AUTO-BLOCKER_TEXT-MAXIMUM_RESTRICTIONS-TITLE"]}),(0,s.jsx)("div",{className:"text-[13px] leading-5 text-[#848487]",children:g.t["@PARADIGM_SETTINGS_AUTO-BLOCKER_TEXT-MAXIMUM_RESTRICTIONS-DESC"]})]})})})})]})]})]})})})})},WE="/_next/static/media/user-profile.80d1f5d0.png",XE=H()(Object.values({jp:"jp:text-lg jp:foldCover:text-base"})),KE=function(e){var t=(0,i.useContext)(dh).colorPaletteTutorial,a=(0,i.useContext)(ch),n=a.deviceProtectionTutorial,r=a.hasOpenedGalaxyAi;return(0,s.jsx)(s.Fragment,{children:""!==e.tutorial&&(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center px-0.5","data-guide":"tutorial","data-tutorial-type":"{{settingsProps.tutorial}}",children:(0,s.jsxs)("div",{className:"relative h-full w-full flex-1",children:["colour-palette"==e.tutorial&&"finish"!=t&&(0,s.jsx)(Uh,{}),"security"==e.tutorial&&"finish"!=n&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(Uh,{})}),"galaxy-ai"===e.tutorial&&!r&&(0,s.jsx)(Uh,{})]})})})},QE=i.memo((function(e){var t,a=e.settingsProps;return t=!1===a.renderAsDetails?!0===a.renderAsLinkSwitch?{"data-tracker":"c-tracker","data-track-title":M.dC.Settings,"data-track-path":"/app/settings/".concat(a.title),"data-component":"app-link-switch","data-app-link-switch-name":"".concat(a.linkSwitchName)}:{"data-ref":"app-settings-item"}:{"data-ref":"app-settings-button","data-panel":a.renderAsDetails},(0,s.jsx)(s.Fragment,{children:"user"!=a.icon?(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)("div",{className:"relative w-full ltr:pl-6 ltr:pr-5 rtl:pr-6 rtl:pl-5",children:(0,s.jsxs)("div",(0,L.Z)((0,_.Z)({className:"flex-no-wrap flex items-center","data-name":"{{ settingsProps.title }}"},t),{children:[(0,s.jsx)("div",{className:"mb-0.5 ltr:mr-4 rtl:ml-4",children:(0,s.jsx)("img",{width:120,height:120,"data-loader":"image","data-src":a.icon,src:a.icon,className:"w-settings-item",alt:""})}),(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsxs)("div",{className:"py-3.5",children:[(0,s.jsx)("div",{className:H()("text-lg",XE),children:g.t[a.title]}),(0,s.jsx)("div",{className:"text-sm text-primary-gray-350 ",children:a.text.map((function(e,t){return t<a.text.length-1?(0,s.jsxs)(i.Fragment,{children:[g.t[e],(0,s.jsx)(aa.Z,{languages:["jp"],children:"\u3001"}),(0,s.jsxs)(sa.Z,{languages:["jp"],children:[" ",(0,s.jsx)("span",{className:"mx-1 my-1 inline-block h-[2px] w-[2px] rounded-full bg-primary-gray-350 ltr:mr-1.5 rtl:ml-1.5 smd:mx-0.5 ltr:smd:mr-1.5 rtl:smd:ml-1.5"})]})]},t):(0,s.jsx)(i.Fragment,{children:g.t[e]},t)}))})]}),a.bar&&(0,s.jsx)("div",{className:"w-full bg-primary-gray-150",style:{height:"1px"}})]})]}))}),(0,s.jsx)(KE,{tutorial:a.tutorial,title:a.title,id:a.id})]}):(0,s.jsx)("div",{className:"relative w-full px-6",children:(0,s.jsx)("div",(0,L.Z)((0,_.Z)({className:"flex-no-wrap flex items-center","data-name":"user-profile"},t),{children:(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsxs)("div",{className:"relative flex w-full items-center justify-between py-3",children:[(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("div",{className:"text-xl font-semibold",children:g.t[a.title]}),(0,s.jsx)("div",{className:"flex flex-row",children:a.text.map((function(e,t){return t<a.text.length-1?(0,s.jsx)("div",{className:"flex flex-row",children:(0,s.jsxs)("p",{className:"whitespace-nowrap text-sm font-light text-primary-gray-350",children:[g.t[e]," ",(0,s.jsx)("span",{className:"mx-1 mb-0.5 inline-block h-[2.5px] w-[2.5px] rounded-full bg-primary-gray-350 ltr:mr-1.5 rtl:ml-1.5"})]})},t):(0,s.jsx)("p",{className:"text-sm font-normal leading-4 text-[#376fde]",children:g.t[e]},t)}))})]}),(0,s.jsx)("div",{children:(0,s.jsx)("img",{"data-loader":"image","data-src":WE,src:WE,className:"h-16 w-16",alt:""})})]}),a.bar&&(0,s.jsx)("div",{className:"w-full bg-primary-gray-150",style:{height:"1px"}})]})}))})})})),zE=QE,qE=a(73084),JE=function(e){var t=e.scale,a=e.canResize,n=(0,i.useRef)(null),r=(0,i.useRef)(null);(0,i.useEffect)((function(){var e=n.current,a=r.current,s=I.ZP.timeline({repeat:-1,repeatDelay:0});return s.fromTo(e,{scale:t,transformOrigin:"center center"},{scale:1.2*t,transformOrigin:"center center",duration:.6,ease:"sine.inOut",repeat:3,yoyo:!0},0),s.fromTo(a,{scale:t,opacity:0,transformOrigin:"center center"},{scale:1.2*t,opacity:.6,transformOrigin:"center center",duration:.6,ease:"sine.out"},0),s.to(a,{scale:1.4*t,opacity:0,transformOrigin:"center center",duration:.4,ease:"sine.in"},.6),function(){s.kill()}}),[t]);var l=function(){n&&n.current&&(n.current.style.width="".concat(document.documentElement.clientHeight/20,"px"),n.current.style.height="".concat(document.documentElement.clientHeight/20,"px"))};return(0,i.useEffect)((function(){if(a)return window.addEventListener("resize",l),l(),function(){window.removeEventListener("resize",l)}}),[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{ref:n,className:"gpu relative inset-0 flex h-11 w-11 items-center justify-center",children:[(0,s.jsx)("div",{ref:r,className:"gpu absolute inset-0 rounded-full border-4 border-primary-blue-100 opacity-90"}),(0,s.jsx)("div",{className:"gpu absolute inset-0 rounded-full border-4 border-primary-blue-100 opacity-90"})]})})},$E=function(e){var t=e.videoPhase,a=e.progress,i=e.index,n=e.isComplete,r=e.onClick,l=a<4?0:a;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"relative w-full",onClick:function(){r(i)},children:(0,s.jsxs)("div",{className:"h-1",children:[n&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"progress-section h-full overflow-hidden rounded-full bg-white"})}),!n&&(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"progress-section relative h-full overflow-hidden rounded-full",children:[(0,s.jsx)("div",{className:"absolute h-full w-full bg-white opacity-30"}),(0,s.jsx)("div",{className:"absolute h-full ".concat(t>=i&&"bg-white"),style:{width:"".concat(t===i?l:0,"px"),transitionDuration:"0.1s"}})]})})]})})})},eg=function(e){var t=e.currentTime,a=e.pauseTimes,n=e.videoPhase,r=e.videoDuration,l=e.setPhase,c=e.isClickable,o=(0,i.useState)(0),d=o[0],u=o[1],p=a.length,x=p+1,f=(window.innerWidth-16-8)/x;(0,i.useEffect)((function(){var e,s=(n===p?r:a[n])-t;e=n===p?r-a[n-1]:n-1<0?a[n]:a[n]-a[n-1],u((1-s/e)*f)}),[t]),(0,i.useEffect)((function(){u(0)}),[n]);for(var m=[],h=0;h<x;h++)m.push((0,s.jsx)($E,{videoPhase:n,progress:d,index:h,isComplete:n>h,onClick:function(e){c&&l(e)}},h));return(0,s.jsx)("div",{className:"progress-bar absolute mt-11 grid h-3 w-full gap-1 self-center px-2 md:mt-[3.7rem] xs:mt-11",style:{gridTemplateColumns:"repeat(".concat(x,", 1fr)")},children:m})},tg=i.createContext(null),ag=function(e){var t=(0,P.fv)(),a=t.navigationData,n=t.resetNavigationData,r=(0,pe.Z)(wr("Home"),2),l=r[0],c=r[1],o={screen:l,setScreen:c};return(0,i.useEffect)((function(){var e=a.appName,t=a.path;if("phone"===e){var s=t.split("/");s.length>1&&setTimeout((function(){"live-translate-video"===s[1]&&c("live-translate-video")}),500),n()}if("audio-eraser"===e){var i=t.split("/");i.length>1&&setTimeout((function(){"audio-eraser-video"===i[1]&&c("audio-eraser-video")}),1e3),n()}}),[a,n]),(0,s.jsx)(tg.Provider,{value:o,children:e.children})},sg=function(e){var t=e.text,a=e.touchDownStarted,n=(0,i.useRef)(null),r=(0,i.useRef)(null),l=(0,i.useRef)(null),c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)(null),u=(0,i.useRef)(null),p=(0,i.useState)(!1),x=p[0],f=p[1];return(0,i.useEffect)((function(){return o.current=I.ZP.to(c.current,{y:15,opacity:0,paused:!0,ease:"power3.inOut",duration:.7}),function(){o.current&&o.current.kill()}}),[]),(0,i.useEffect)((function(){var e=I.ZP.timeline({repeat:-1,repeatDelay:1});return x?(e.repeat(0),e.set(n.current,{scale:1,opacity:0,transformOrigin:"center center",backgroundColor:"inherit"})):e.fromTo(n.current,{scale:1,opacity:0,transformOrigin:"center center",backgroundColor:"inherit"},{scale:1.2,opacity:.6,transformOrigin:"center center",duration:.6,ease:"sine.out"}).to(n.current,{scale:1.4,opacity:0,transformOrigin:"center center",duration:.4,ease:"sine.in"},.6),function(){e.kill()}}),[x]),(0,i.useEffect)((function(){return function(){d.current&&d.current.kill(),u.current&&u.current.kill()}}),[]),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{ref:c,className:"gpu hotspot-text-top fixed left-[50%] min-w-[300px] text-center",children:[(0,s.jsx)("p",{className:"inline-block whitespace-pre-line rounded-2xl bg-white px-2 py-1 text-center text-[10px] font-medium text-black shadow-[0_0_5px_0_rgba(0,0,0,.1)]",children:(0,s.jsx)("span",{className:"relative z-10 text-sm",children:t})}),(0,s.jsx)("span",{className:"absolute left-1/2 top-[calc(100%-1px)] h-[8px] w-[8px] -translate-y-1/2 -translate-x-1/2 rotate-45 bg-white shadow-[0_0_5px_0_rgba(0,0,0,.1)]"}),(0,s.jsx)("span",{className:"absolute left-1/2 top-[calc(100%-4px)] h-[10px] w-[10px] -translate-y-1/2 -translate-x-1/2 rotate-45 bg-white"})]}),(0,s.jsxs)("div",{onTouchStart:function(){a(),f(!0),d.current=I.ZP.timeline({}).fromTo(r.current,{scale:1,transformOrigin:"center center",borderWidth:4,backgroundColor:"transparent"},{scale:.9,transformOrigin:"center center",borderWidth:0,backgroundColor:"rgba(3, 129, 254, 0.8)"}).fromTo(r.current,{scale:.9,opacity:1,transformOrigin:"center center"},{scale:3,opacity:1,transformOrigin:"center center"}).duration(.7),u.current=I.ZP.timeline({}).fromTo(l.current,{scale:1,transformOrigin:"center center"},{scale:.9,transformOrigin:"center center"}).fromTo(l.current,{scale:1,opacity:0,transformOrigin:"center center"},{scale:3,opacity:1,transformOrigin:"center center"}).duration(.7),o.current.restart()},onTouchEnd:function(){f(!1),d.current.reverse(),u.current.reverse(),o.current.reverse()},className:"gpu relative inset-0 flex h-11 w-11 items-center justify-center",children:[(0,s.jsx)("div",{ref:n,className:"gpu absolute inset-0 rounded-full border-4 border-primary-blue-100 opacity-90"}),(0,s.jsx)("div",{ref:r,className:"gpu opacity-1 absolute inset-0 rounded-full border-4 border-primary-blue-900"}),(0,s.jsx)("div",{ref:l,className:"gpu bg-primary-green-900 absolute inset-0 rounded-full border-[10px] border-primary-blue-25 opacity-0"})]})]})},ig=["phone","circle-search","interpreter","settings","audio-eraser","galaxy-z-series","ai-brief","cross-app-action","morning-brief","portrait-and-filters"],ng={lt:"lt:text-[10px] lt:md:text-xs lt:flip:px-2 lt:flip:text-[10px]",hr:"hr:text-sm",nl:"nl:text-sm",de:"de:left-1/2 de:foldCover:left-[-5%] de:text-[2.5vw]",ru:"ru:left-[30%] ru:text-xs ru:md:text-sm ru:flip:px-2 ru:flip:text-xs",hu:"hu:xsm:left-[-10%] hu:text-sm",id:"id:flip:text-xs id:smFlip:text-xs",tr:"tr:flip:text-xs tr:smFlip:text-xs",gr:"gr:flip:text-xs gr:smFlip:text-xs"},rg={gr:"foldCover:gr:top-[60px]",nl:"foldCover:nl:top-[60px]",hr:"foldCover:hr:top-[60px]",th:"foldCover:th:top-[60px]"},lg=H()(Object.values(ng)),cg=H()(Object.values(rg)),og=function(e){var t=e.hotspot,a=e.touchDownStarted,i=e.canResize;return t?"PRESS"===t.type?(0,s.jsxs)(s.Fragment,{children:[(null===t||void 0===t?void 0:t.textTop)&&(0,s.jsx)("p",{className:H()("hotspot-text-top absolute left-1/2 inline-flex min-w-max items-center gap-1 whitespace-pre-line rounded-3xl border border-primary-blue-100 bg-white px-4 py-1.5 text-center text-[15px] font-light text-black",lg),children:t.textTop}),(0,s.jsx)(JE,{scale:(null===t||void 0===t?void 0:t.scale)?t.scale:1,canResize:i}),(null===t||void 0===t?void 0:t.textBottom)&&(0,s.jsx)("p",{className:"fixed left-[50%] min-w-[220px] -translate-x-1/2 translate-y-[8px] whitespace-pre-line text-center font-medium text-white ltr:font-title rtl:font-titleAr xxs:translate-y-[5px] xxs:text-sm",children:null===t||void 0===t?void 0:t.textBottom})]}):"LONG_PRESS"===t.type?(0,s.jsx)(sg,{text:t.textTop,touchDownStarted:a}):void 0:null},dg=function(e){var t=e.title,a=e.video,n=e.pauseTimes,r=e.hotspotPositions,l=e.soundPath,c=e.hideProgressBar,o=void 0!==c&&c,d=e.hideFooterNav,u=void 0!==d&&d,p=e.isProgressBarClickable,x=void 0!==p&&p,f=e.canResizeHotspot,m=void 0!==f&&f,h=e.wrapperRef,A=e.overlay,E=e.onCloseCallBack,g=e.pauseOnLastFrame,v=(0,P.qr)(),C=v.appName,j=v.isAppOpen,N=v.isAppOpenTransitioning,T=v.backButtonStack,w=(0,P.q0)().setNavAvailable,b=(0,i.useContext)(tg),S=b.screen,y=b.setScreen,R=(0,i.useRef)(null),O=(0,i.useState)(0),D=O[0],G=O[1],k=(0,i.useState)(0),B=k[0],U=k[1],Y=(0,i.useState)(0),F=Y[0],V=Y[1],W=(0,i.useState)(!1),X=W[0],K=W[1],Q=(0,i.useRef)(null),q=(0,i.useRef)(null),J=(0,i.useRef)(null),$=(0,i.useRef)(null),ee=(0,i.useRef)(null),te=(0,i.useRef)(null),ae=(0,i.useRef)(null),se=(0,i.useRef)(null),ie=(0,i.useRef)(),ne=(0,i.useCallback)((function(){y("Home"),E&&E()}),[E,y]),re=Vf(h,Q,q,ne),le=re.openWithoutTransition,ce=re.close,oe=function(e){e<n.length+1&&U(e+=1)},de=function(){clearTimeout(ie.current);var e=se.current;"paused"!==e.getState()?e.pause():(e.play(),$.current.classList.add("invisible"))},ue=(0,i.useCallback)((function(e){var t=se.current,a=t.getDuration();a&&g&&e.position>=a&&(t.pause(),setTimeout((function(){ce()}),3e3))}),[g]),pe=function(){clearTimeout(ie.current);var e=5e3;r[B-1]&&"LONG_PRESS"===r[B-1].type&&(e+=700),ie.current=setTimeout(de,e)},xe=Js(de,{delay:700}),fe=r[B-1]&&"LONG_PRESS"===r[B-1].type?(0,_.Z)({},xe):{onClick:de};return(0,i.useEffect)((function(){var e,a=se.current;if(ig.includes(C)&&j&&S.current===t){if(e=setInterval((function(){a&&G(a.getPosition())}),100),D>n[B]){a.pause(),$.current.classList.remove("invisible"),pe();var s=Q.current.getElementsByClassName("jw-video");if(s.length){var i=Z(),l=document.documentElement.clientHeight+i,c=document.documentElement.clientWidth,o=s[0];o.style.height="100vh",o.style.width="auto";var d=o.clientHeight;if($.current.style){var p=r[B];if($.current.style.left="".concat(p.left,"%"),$.current.style.top="".concat(p.top,"%"),d<l){var x=l/d,f=(c*x-c)/2,m=p.left*c/100*x-f;$.current.style.left="".concat(m,"px")}}}oe(B)}}else G(0);return u&&S.current===t?w(!1):w(!0),function(){return clearInterval(e)}}),[D,C,j,G,S,t]),(0,i.useLayoutEffect)((function(){!R.current&&l&&(R.current=new kp.Howl({src:"/assets/audio/".concat(l,"/loop.mp3"),loop:!0})),ig.includes(C)&&j&&S.current===t&&le();var e=ee.current,a=te.current,s=ae.current,i=R.current,n=se.current,r=!1,c=!1,o=function(){clearTimeout(ie.current),i&&(i.pause(),i.seek(0),i.volume(0)),U(0),$.current.classList.add("invisible")},d=function(){n&&n.stop(),I.ZP.killTweensOf(e),I.ZP.set(e,{opacity:1,pointerEvents:"none"}),o()},u=function(){r||(r=!0,I.ZP.killTweensOf(s),I.ZP.to(s,{opacity:1,duration:.3,ease:"power3.out"}))},p=function(){r&&(r=!1,I.ZP.killTweensOf(s),I.ZP.to(s,{opacity:0,duration:.3,ease:"power3.out"}))},x=function(){I.ZP.killTweensOf(s),I.ZP.to(s,{opacity:0,duration:.3,ease:"power3.out"}),c||(I.ZP.killTweensOf([a]),I.ZP.set(a,{opacity:0}),I.ZP.killTweensOf([e]),I.ZP.to(e,{opacity:1,pointerEvents:"auto",duration:.6,ease:"power3.out"}),i&&(i.volume(1),i.play())),c=!0,0===F&&V(n.getDuration())},f=function(){},m=function(){g||(i&&i.fade(1,0,600),I.ZP.killTweensOf([a]),I.ZP.fromTo(a,{opacity:0},{opacity:1,duration:.6,ease:"power3.out"}),I.ZP.killTweensOf([e]),I.ZP.to(e,{pointerEvents:"none",duration:.6,ease:"power3.out",onComplete:function(){o(),ce()}}))},h=function(){document.hidden&&(i&&i.pause(),n.stop(),d(),ce())};return ig.includes(C)&&j?S.current===t?(n&&(n.on("complete",m),n.on("play",x),n.on("play",p),n.on("pause",f),n.on("buffer",u),n.on("seeking",u),n.on("time",ue)),document.addEventListener("visibilitychange",h),n&&!N&&n.play()):(i&&i.pause(),d(),n&&(n.off("complete",m),n.off("play",x),n.off("play",p),n.off("pause",f),n.off("buffer",u),n.off("seeking",u)),document.removeEventListener("visibilitychange",h)):(i&&i.pause(),d(),ig.includes(C)||S.current!==t||ce()),function(){n&&(n.off("complete",m),n.off("play",x),n.off("play",p),n.off("pause",f),n.off("buffer",u),n.off("seeking",u),n.off("time",ue)),document.removeEventListener("visibilitychange",h)}}),[C,j,S]),(0,i.useEffect)((function(){var e=Q.current,t=ee.current;e.style.display="none",I.ZP.set(t,{opacity:1,pointerEvents:"none"})}),[]),(0,i.useEffect)((function(){var e=se.current;X&&e&&V(e.getDuration())}),[X,V,F]),(0,s.jsxs)("div",{className:"absolute inset-0","data-component":"app-view","data-app-view-name":t,"data-app-view-is-header-transparent":"true","data-track-title":"Experience Galaxy Z Fold4","data-track-path":"/app/".concat(t),ref:Q,children:[(0,s.jsxs)("div",{className:"gpu absolute inset-0 overflow-hidden text-primary-gray-400","data-ref":"app-view-container",ref:q,children:[(0,s.jsxs)("div",{className:"absolute inset-0","data-ref":"app-view-content",style:{minWidth:"100vw",minHeight:"100vh"},"data-component":"app-experience-video",ref:J,children:[(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 z-10 h-full w-full bg-black",ref:te}),(0,s.jsx)("div",{className:"gpu pointer-events-none absolute inset-0 z-10 flex items-center justify-center","data-ref":"app-camera-preloader",ref:ae,children:(0,s.jsx)("div",{className:"loader mb-4 h-12 w-12 rounded-full border-4 border-t-4 border-gray-200 ease-linear"})}),(0,s.jsxs)("div",{className:"relative h-full w-full overflow-x-hidden",children:[(0,s.jsxs)("div",{className:"h-full w-full bg-black","data-ref":"app-experience-video-player",ref:ee,children:[(0,s.jsx)("div",{className:"pointer-events-none absolute left-0 top-0 flex h-full w-full",children:(0,s.jsx)(Op(),{library:z.e.jwPlayerSource,didMountCallback:function(e){var t=e.player;se.current=t,K(!0)},file:a,config:{key:M.B8},stretching:"fill"})}),(0,s.jsx)("div",{className:"absolute inset-0",children:(0,s.jsx)("div",{className:"relative h-full w-full",children:(0,s.jsx)("div",(0,L.Z)((0,_.Z)({className:"invisible absolute -translate-y-1/2 -translate-x-1/2 rounded-full","data-ref":"app-experience-video-button-play",ref:$},fe),{children:(0,s.jsx)(og,{hotspot:r[B-1],touchDownStarted:pe,canResize:m})}))})})]}),(0,s.jsx)("div",{className:"absolute left-0 right-0 top-0",children:!o&&D>0&&(0,s.jsx)(eg,{pauseTimes:n,currentTime:D,videoPhase:B,videoDuration:F,setPhase:function(e){var t=$.current,a=se.current,s=0;0!==e&&(s=n[e-1]),a.seek(s),t.classList.add("invisible"),oe(e-1)},isClickable:x})})]})]}),A&&(0,s.jsx)(s.Fragment,{children:A})]}),u&&(0,s.jsx)("div",{className:H()("absolute top-14 right-5 xsl:top-[80px] smd:top-[76px]",cg),children:(0,s.jsx)("button",{className:"rounded-full bg-white bg-opacity-50 p-2",onClick:function(){T[T.length-1].current()},children:(0,s.jsx)(qE.Z,{})})})]})},ug=a(58853),pg=function(e){var t=(0,ug.m)().locationAppConfig;return(0,i.useMemo)((function(){var a=function(e,t){return{galaxyZFold:[{src:"".concat(M.yb.path,"/").concat(e.zFoldVideoSrc["9x16"]),ratio:"9:16",hotspots:[{top:50,left:50,scale:1,type:"PRESS"},{top:43,left:50,scale:1,type:"PRESS"},{top:50,left:50,scale:1,type:"PRESS"}]},{src:"".concat(M.yb.path,"/").concat(e.zFoldVideoSrc["9x195"]),ratio:"9:19.5",hotspots:[{top:50,left:50,scale:1,type:"PRESS"},{top:43,left:50,scale:1,type:"PRESS"},{top:50,left:50,scale:1,type:"PRESS"}]}],galaxyZFlip:[{src:"".concat(M.yb.path,"/").concat(e.zFlipVideoSrc["9x16"]),ratio:"9:16",hotspots:[{top:50,left:50,scale:1,type:"PRESS"},{top:50,left:50,scale:1,type:"PRESS"},{top:50,left:50,scale:1,type:"PRESS"}]},{src:"".concat(M.yb.path,"/").concat(e.zFlipVideoSrc["9x195"]),ratio:"9:19.5",hotspots:[{top:50,left:50,scale:1,type:"PRESS"},{top:50,left:50,scale:1,type:"PRESS"},{top:50,left:50,scale:1,type:"PRESS"}]}],liveTranslate:[{src:"".concat(M.yb.path,"/").concat(e.liveTranslateVideoSrc["9x16"]),ratio:"9:16",hotspots:[{top:"de"===g.t.getLanguage()||"gr"===g.t.getLanguage()||"hu"===g.t.getLanguage()?37.8:38.8,left:50,scale:1,textBottom:g.t["EXPERIENCE-VIDEO_LIVE-TRANSLATE_TAP-HERE"],type:"PRESS"}]},{src:"".concat(M.yb.path,"/").concat(e.liveTranslateVideoSrc["9x195"]),ratio:"9:19.5",hotspots:[{top:"de"===g.t.getLanguage()||"gr"===g.t.getLanguage()||"hu"===g.t.getLanguage()?37.8:38.8,left:50,scale:1,textBottom:g.t["EXPERIENCE-VIDEO_LIVE-TRANSLATE_TAP-HERE"],type:"PRESS"}]}],circleSearch:[{src:"".concat(M.yb.path,"/").concat(e.circleToSearchVideoSrc["9x16"]),ratio:"9:16",hotspots:[{top:"cn"===g.t.getLanguage()?70.38:100,left:50,scale:1,textTop:g.t["@PARADIGM_CIRCLE-TO-SEARCH_EXPERIENCE-VIDEO_CIRCLE-SEARCH_PRESS-HOME"],type:"LONG_PRESS"},{top:"cn"===g.t.getLanguage()?50:45,left:"cn"===g.t.getLanguage()?75:50,scale:1,textTop:g.t["EXPERIENCE-VIDEO_CIRCLE-SEARCH_TAP-SEARCH"],type:"PRESS"}]},{src:"".concat(M.yb.path,"/").concat(e.circleToSearchVideoSrc["9x195"]),ratio:"9:19.5",hotspots:[{top:"cn"===g.t.getLanguage()?70.4:100,left:50,scale:1,textTop:g.t["@PARADIGM_CIRCLE-TO-SEARCH_EXPERIENCE-VIDEO_CIRCLE-SEARCH_PRESS-HOME"],type:"LONG_PRESS"},{top:"cn"===g.t.getLanguage()?50:45,left:"cn"===g.t.getLanguage()?75:50,scale:1,textTop:g.t["EXPERIENCE-VIDEO_CIRCLE-SEARCH_TAP-SEARCH"],type:"PRESS"}]},{src:"".concat(M.yb.path,"/").concat(e.circleToSearchVideoSrc["9x22"]),ratio:"9:22",hotspots:[{top:"cn"===g.t.getLanguage()?70.38:100,left:50,scale:1,textTop:g.t["@PARADIGM_CIRCLE-TO-SEARCH_EXPERIENCE-VIDEO_CIRCLE-SEARCH_PRESS-HOME"],type:"LONG_PRESS"},{top:"cn"===g.t.getLanguage()?50:45,left:"cn"===g.t.getLanguage()?75:50,scale:1,textTop:g.t["EXPERIENCE-VIDEO_CIRCLE-SEARCH_TAP-SEARCH"],type:"PRESS"}]},{src:"".concat(M.yb.path,"/").concat(e.circleToSearchVideoSrc.notch),type:"notch",hotspots:[{top:"cn"===g.t.getLanguage()?70.4:100,left:50,scale:1,textTop:g.t["@PARADIGM_CIRCLE-TO-SEARCH_EXPERIENCE-VIDEO_CIRCLE-SEARCH_PRESS-HOME"],type:"LONG_PRESS"},{top:"cn"===g.t.getLanguage()?50:45,left:"cn"===g.t.getLanguage()?75:50,scale:1,textTop:g.t["EXPERIENCE-VIDEO_CIRCLE-SEARCH_TAP-SEARCH"],type:"PRESS"}]}],interpreter:[{src:"".concat(M.yb.path,"/").concat(e.interpreterVideoSrc["9x16"]),ratio:"9:16",hotspots:[{top:72.2,left:"ae"===g.t.getLanguage()?29:71,scale:1,textTop:g.t["@UNPACKED_WIDGET_CARD_STYLE-INTERPRETER_HOTSPOT_TAP_TO_SPEAK"],type:"PRESS"},{top:72.2,left:"ae"===g.t.getLanguage()?29:71,scale:1,textTop:g.t["@UNPACKED_WIDGET_CARD_STYLE-INTERPRETER_HOTSPOT_TAP_TO_SPEAK"],type:"PRESS"}]},{src:"".concat(M.yb.path,"/").concat(e.interpreterVideoSrc["9x195"]),ratio:"9:19.5",hotspots:[{top:68.2,left:"ae"===g.t.getLanguage()?28.8:71.2,scale:1,textTop:g.t["@UNPACKED_WIDGET_CARD_STYLE-INTERPRETER_HOTSPOT_TAP_TO_SPEAK"],type:"PRESS"},{top:68.2,left:"ae"===g.t.getLanguage()?28.8:71.2,scale:1,textTop:g.t["@UNPACKED_WIDGET_CARD_STYLE-INTERPRETER_HOTSPOT_TAP_TO_SPEAK"],type:"PRESS"}]}],ultraFilm:[{src:"".concat(M.yb.path,"/").concat(e.s25UltraVideoSrc["9x16"]),ratio:"9:16",hotspots:[{top:49,left:50,scale:1,type:"PRESS"},{top:64,left:(g.t.getLanguage(),55),scale:1,type:"PRESS"},{top:50,left:50,scale:1,type:"PRESS"}]},{src:"".concat(M.yb.path,"/").concat(e.s25UltraVideoSrc["9x195"]),ratio:"9:19.5",hotspots:[{top:49,left:(g.t.getLanguage(),50),scale:1,type:"PRESS"},{top:64,left:(g.t.getLanguage(),55),scale:1,type:"PRESS"},{top:50,left:(g.t.getLanguage(),50),scale:1,type:"PRESS"}]}],baseFilm:[{src:"".concat(M.yb.path,"/").concat(e.s25PlusVideoSrc["9x16"]),ratio:"9:16",hotspots:[{top:72,left:(g.t.getLanguage(),50),scale:1,type:"PRESS"},{top:64.2,left:(g.t.getLanguage(),50),scale:1,type:"PRESS"}]},{src:"".concat(M.yb.path,"/").concat(e.s25PlusVideoSrc["9x195"]),ratio:"9:19.5",hotspots:[{top:59,left:(g.t.getLanguage(),50),scale:1,type:"PRESS"},{top:63.7,left:(g.t.getLanguage(),50),scale:1,type:"PRESS"}]}],audioEraser:[{src:"".concat(M.yb.path,"/").concat(e.audioEraserVideoSrc["9x16"]),ratio:"9:16",hotspots:[{top:84,left:50,scale:1,type:"PRESS",textTop:g.t["@PARADIGM_AUDIO_ERASER_FINE_TUNE"]},{top:77.5,left:(g.t.getLanguage(),64),scale:1,type:"PRESS",textTop:g.t["@PARADIGM_AUDIO_ERASER_REDUCE_NOISE"]}]},{src:"".concat(M.yb.path,"/").concat(e.audioEraserVideoSrc["9x195"]),ratio:"9:19.5",hotspots:[{top:90,left:50,scale:1,type:"PRESS",textTop:g.t["@PARADIGM_AUDIO_ERASER_FINE_TUNE"]},{top:78.5,left:(g.t.getLanguage(),68),scale:1,type:"PRESS",textTop:g.t["@PARADIGM_AUDIO_ERASER_REDUCE_NOISE"]}]},{src:"".concat(M.yb.path,"/").concat(e.audioEraserVideoSrc["9x22"]),ratio:"9:22",hotspots:[{top:85.5,left:50,scale:1,type:"PRESS",textTop:g.t["@PARADIGM_AUDIO_ERASER_FINE_TUNE"]},{top:75,left:(g.t.getLanguage(),68),scale:1,type:"PRESS",textTop:g.t["@PARADIGM_AUDIO_ERASER_REDUCE_NOISE"]}]}],portraitAndFilters:[{src:"".concat(M.yb.path,"/").concat(e.portraitAndFiltersVideoSrc["9x16"]),ratio:"9:16"},{src:"".concat(M.yb.path,"/").concat(e.portraitAndFiltersVideoSrc["9x195"]),ratio:"9:19.5"},{src:"".concat(M.yb.path,"/").concat(e.portraitAndFiltersVideoSrc["9x22"]),ratio:"9:22"}],nowBrief:[{src:"".concat(M.yb.path,"/widget_now-brief_cn_1080x1920_paradigmV2.mp4"),ratio:"9:16"},{src:"".concat(M.yb.path,"/widget_now-brief_cn_886x1920_paradigmV2.mp4"),ratio:"9:19.5"},{src:"".concat(M.yb.path,"/widget_now-brief_cn_810x1980_paradigmV2.mp4"),ratio:"9:22"}],crossAppAction:[{src:"".concat(M.yb.path,"/widget_cross_app_action_cn_1080x1920_paradigmV1.mp4"),ratio:"9:16"},{src:"".concat(M.yb.path,"/widget_cross_app_action_cn_886x1920_paradigmV1.mp4"),ratio:"9:19.5"},{src:"".concat(M.yb.path,"/widget_cross_app_action_cn_810x1980_paradigmV1.mp4"),ratio:"9:22"}]}[t]}(t,e),s=Z(),i="iOS"===n.Z.instance.getOS(),r=s&&i&&he.vf&&a.find((function(e){return"notch"===e.type}));if(r&&"cn"!==g.t.getLanguage())return r;var l=a.filter((function(e){return"notch"!==e.type}));return Gp(l)}),[t,e])},xg=function(e){var t=e.wrapperRef,a=e.onCloseCallBack,i=pg("liveTranslate");return(0,s.jsx)(dg,{title:"live-translate-video",video:i.src,pauseTimes:[4.5],hotspotPositions:i.hotspots,canResizeHotspot:!0,hideProgressBar:!0,wrapperRef:t,onCloseCallBack:a})},fg=function(e){var t=e.wrapperRef,a=e.onCloseCallBack,i=pg("audioEraser"),n=g.t.getLanguage(),r="cn"===n?[]:[0,13],l="cn"===n?[]:null===i||void 0===i?void 0:i.hotspots;return(0,s.jsx)(dg,{title:"audio-eraser-video",video:i.src,pauseTimes:r,hotspotPositions:l,canResizeHotspot:!0,hideProgressBar:!0,wrapperRef:t,onCloseCallBack:a,hideFooterNav:!0,pauseOnLastFrame:!0})},mg=function(e){var t=e.wrapperRef,a=e.cleanupFunction,n=(0,i.useContext)(ch),r=n.screen,l=n.setScreen,c=n.processData,o=n.setProcessData,d=n.hasOpenedGalaxyAiCallAssist,u=n.setHasOpenedGalaxyAiCallAssist,p=n.hasOpenedHealthAssist,x=n.setHasOpenedHealthAssist,f=n.hasOpenedGalaxyAiPhotoAssist,m=n.setHasOpenedGalaxyAiPhotoAssist,h=n.hasOpenedGalaxyAiAudioEraser,A=n.setHasOpenedGalaxyAiAudioEraser,E=n.hasOpenedGalaxyAiNowBrief,v=n.setHasOpenedGalaxyAiNowBrief,C=n.hasOpenedGalaxyAiDrawingAssist,j=n.setHasOpenedGalaxyAiDrawingAssist,N=(0,P.fv)().navigateTo,T=(0,i.useContext)(tg).setScreen,w=(0,i.useRef)(null),_=(0,i.useRef)(null),b=(0,i.useRef)(null),S=(0,i.useRef)(null),y=(0,i.useRef)(null),R=(0,i.useRef)(null),L=Vf(t,_,b,(function(){l("Home")})),I=L.open,O=L.openWithoutTransition,D=L.close;(0,i.useEffect)((function(){"galaxy-ai"===r.current&&"galaxy-ai"!==r.prev&&("Home"===r.prev?((0,V.Kq)("/app/settings/galaxy-ai",M.dC.Settings),I()):O())}),[I,r,b]);return(0,s.jsxs)("div",{className:"gpu pointer-events-none absolute inset-0 z-30 hidden overflow-hidden text-center","data-component":"app-settings-galaxy-ai",ref:_,children:[(0,s.jsx)("div",{className:"c-app-colour-palette absolute inset-0",children:(0,s.jsx)("div",{className:"absolute inset-0","data-ref":"app-settings-galaxy-ai-wrapper",ref:w,children:(0,s.jsxs)("div",{className:"c-app-wallpaper-and-style absolute inset-0","data-component":"app-header",ref:y,children:[(0,s.jsx)("div",{className:"c-app-colour-palette__settings__background absolute inset-0"}),(0,s.jsxs)("div",{className:"gpu absolute inset-0 bottom-20 overflow-y-auto overflow-x-hidden","data-ref":"app-content",ref:b,children:[(0,s.jsx)("div",{className:"c-app-colour-palette__settings__background sticky top-0 z-20 pt-10",children:(0,s.jsx)("div",{className:"relative px-4 py-2",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center",children:[(0,s.jsx)("div",{className:"flex ltr:mr-1 rtl:ml-1",children:(0,s.jsx)("button",{"data-ref":"app-settings-galaxy-ai-button-close",className:"c-app-colour-palette__settings__text h-10 w-[30px] rtl:-scale-x-100 rtl:transform",onClick:D,children:(0,s.jsx)(Yr,{})})}),(0,s.jsx)("div",{className:"opacity-1 text-[21px]","data-ref":"app-header-title",ref:R,children:(0,s.jsx)("div",{className:"flex-no-wrap c-app-colour-palette__settings__text flex items-center justify-start text-start font-semibold leading-none",children:g.t["SETTINGS_SETTINGS-SCREEN_GALAXY_AI"]})})]}),(0,s.jsx)("div",{className:"flex-no-wrap flex gap-2",children:(0,s.jsx)("button",{className:"c-app-colour-palette__settings__text flex h-[30px] w-[30px] items-center justify-center text-center",children:(0,s.jsx)($p,{})})})]})})}),(0,s.jsx)("div",{className:"relative px-5 pb-6 pt-2 text-sm ltr:text-left rtl:text-right",ref:S,children:g.t["SETTINGS_SETTINGS-SCREEN_GALAXY-AI-DETAIL_SUB-HEADER"]}),fE.map((function(e,t){return(0,s.jsx)("div",{className:"relative mx-2.5 mb-5 flex flex-col gap-2 rounded-[2rem] bg-white text-left",children:e.map((function(e){return(0,s.jsxs)("div",{className:"relative flex items-center gap-5 px-6",onClick:function(){return function(e){switch(e.renderAsDetails){case"live-translate-video":u(!0),T("live-translate-video");break;case"audio-eraser":A(!0),T("audio-eraser-video");break;case"health":x(!0),N.current({appName:"health",path:"/app/health",shouldResetScreen:!1,shouldResetTutorial:!0}),a();break;case"photo-remaster":m(!0),N.current({appName:"gallery",path:"gallery/photo-remaster",shouldResetScreen:!0,shouldResetTutorial:!0}),a();break;case"sketch-to-image":j(!0),N.current({appName:"gallery",path:"gallery/sketch-to-image",shouldResetScreen:!0,shouldResetTutorial:!0}),a();break;case"now-brief":v(!0),N.current({appName:"morning-brief",path:"morning-brief",shouldResetScreen:!0,shouldResetTutorial:!0}),a()}(0,V.Kq)("/app/settings/galaxy-ai/".concat(e.tutorial),M.dC.Settings)}(e)},children:[e.icon&&(0,s.jsx)("div",{children:(0,s.jsx)("img",{src:e.icon,alt:"",className:"w-[35px]"})}),(0,s.jsx)("div",{className:"w-full",children:(0,s.jsxs)("div",{className:"relative flex items-center py-3.5 text-[17px]",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-[#010102] rtl:text-right",children:g.t[e.title]}),e.text&&(0,s.jsx)("div",{className:"text-[13px] leading-4 text-primary-gray-260 rtl:text-right",children:g.t[e.text[0]]})]}),"toggle-process-data"===e.type&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"mt-1 h-8 w-px bg-primary-gray-155 ltr:ml-2 ltr:mr-3 rtl:mr-2 rtl:ml-3"}),(0,s.jsx)(tE,{handleToggle:function(){o(!c)},checked:c,className:"ml-1"})]}),e.bar&&(0,s.jsx)("div",{className:"absolute right-0 -bottom-1 h-[1px] w-full bg-primary-gray-155"})]})}),"call-assist"==e.tutorial&&!d&&(0,s.jsx)(Uh,{}),"health-assist"===e.tutorial&&!p&&(0,s.jsx)(Uh,{}),"photo-assist"==e.tutorial&&!f&&(0,s.jsx)(Uh,{}),"audio-eraser"==e.tutorial&&!h&&(0,s.jsx)(Uh,{}),"now-brief"==e.tutorial&&!E&&(0,s.jsx)(Uh,{}),"drawing-assist"==e.tutorial&&!C&&(0,s.jsx)(Uh,{})]},e.id)}))},t)}))]})]})})}),(0,s.jsx)(xg,{wrapperRef:t,onCloseCallBack:function(){N.current({appName:"phone",path:"phone",shouldResetScreen:!0,shouldResetTutorial:!0}),a()}}),(0,s.jsx)(fg,{wrapperRef:t,onCloseCallBack:function(){N.current({appName:"audio-eraser",path:"audio-eraser",shouldResetScreen:!0,shouldResetTutorial:!0}),a()}})]})},hg=H()(Object.values({jp:"jp:font-bold"})),Ag=i.memo((function(e){var t=e.settingsProps,a=(0,i.useContext)(ch).setScreen,n=(0,i.useState)(0),r=n[0],l=n[1];return(0,i.useEffect)((function(){return function(){l(0)}}),[]),t.renderAsDetails?(0,s.jsx)("div",{onClick:function(){return"SETTINGS_SETTINGS-SCREEN_SECURITY-AND-PRIVACY-H3"===t.title||"SETTINGS_SETTINGS-SCREEN_THEMES-H3"===t.title&&(0,V.Kq)("/app/galaxy-themes",M.dC.GalaxyThemes),void a(t.renderAsDetails)},children:(0,s.jsx)(zE,{settingsProps:t})},t.title):(0,s.jsx)(ht,(0,L.Z)((0,_.Z)({},[{title:g.t["SETTINGS_CONNECTIONS_POP-UP-TITLE"],text:g.t["SETTINGS_CONNECTIONS_POP-UP-TEXT"],cta:{text:g.t["SETTINGS_CONNECTIONS_POP-UP-OK"],handleClick:function(){l(r+1)}}},{title:g.t["SETTINGS_SOUNDS_POP-UP-TITLE"],text:g.t["SETTINGS_SOUNDS_POP-UP-TEXT"],cta:{text:g.t["SETTINGS_SOUNDS_POP-UP-OK"],handleClick:function(){l(0)}}}][r]),{children:(0,s.jsx)(ie,{path:"/app/settings/".concat(Ye()(g.t[t.title]||"").toLowerCase()),page:M.dC.Settings,children:(0,s.jsx)(zE,{settingsProps:t})})}),t.title)})),Eg=function(){var e=(0,i.useContext)(ch).screen,t=(0,P.qr)(),a=t.appName,n=t.setAppActiveData,r=t.setBackButtonStack,l=t.colourPaletteIndex,c=(0,P.q0)().theme,o=(0,i.useState)([])[0],d=(0,i.useRef)(null),u=(0,i.useRef)(null),p=(0,i.useRef)(null),x=(0,i.useRef)(null),f=(0,i.useRef)(null),m=f.current;m&&I.ZP.set(m,{y:0}),(0,i.useEffect)((function(){var e=d.current,t=u.current,s=p.current,i=x.current;"settings"===a&&(n({appContainer:e,appViewContent:s,appViewContainer:t,appViewIcon:i}),r(o))}),[a]);var h=(0,i.useCallback)((function(){Y(d.current)}),[]);Rm(u.current);var A=function(){if("colour-palette"!==e.current)return l};return(0,s.jsx)("div",{className:"absolute inset-0 hidden","data-component":"app-view","data-app-view-name":"settings","data-app-view-is-header-transparent":"true","data-track-title":M.dC.Settings,"data-track-path":"/app/settings",ref:d,children:(0,s.jsx)("div",{className:"c-app-colour-palette absolute inset-0","data-component":"app-themes-changes","data-theme":"default","data-colour":A()?A():0,children:(0,s.jsxs)("div",{className:"absolute inset-0 overflow-hidden text-primary-gray-400","data-ref":"app-view-container",ref:u,children:[(0,s.jsxs)("div",{className:"gpu absolute inset-0","data-ref":"app-view-content",style:{minWidth:"100vw",minHeight:"100vh"},"data-component":"app-settings",ref:p,children:[(0,s.jsx)("div",{className:"c-app-colour-palette__settings__background absolute inset-0","data-ref":"app-view-background"}),(0,s.jsxs)("div",{className:"gpu absolute bottom-0 left-0 right-0 top-0",children:[(0,s.jsx)("div",{className:"relative h-full w-full overflow-x-hidden","data-ref":"app-settings-wrapper",ref:f,children:(0,s.jsx)("div",{className:"absolute left-0 right-0 overflow-hidden",style:{top:"0px",height:"calc(100% - 115px)"},"data-component":"app-header",children:(0,s.jsx)("div",{className:"scrolling-touch gpu absolute inset-0 overflow-y-auto overflow-x-hidden","data-ref":"app-content",style:{borderRadius:"2rem",borderTopLeftRadius:0,borderTopRightRadius:0},children:(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)("div",{className:"mt-[40px]",children:(0,s.jsx)("div",{className:"relative flex h-[12.5rem] flex-col justify-center text-center align-middle",children:(0,s.jsx)("div",{"data-ref":"app-header-headline",className:"m-auto",children:(0,s.jsx)("div",{className:H()("c-app-colour-palette__settings__text text-4xl font-semibold",hg),children:g.t["SETTINGS_SETTINGS-SCREEN_H1"]})})})}),(0,s.jsxs)("div",{className:"c-app-colour-palette__settings__background sticky top-[0px] z-20 mb-3 py-2 pt-[45px]",children:[(0,s.jsx)("div",{className:"pointer-events-none absolute w-full",style:{top:"calc(100% - 20px)",height:"50px"},children:(0,s.jsx)("div",{className:"c-app-colour-palette__settings__shadow absolute top-0 w-full",style:{top:"20px",borderRadius:"2rem",height:"200%"}})}),(0,s.jsx)("div",{className:"relative px-6",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-between",children:[(0,s.jsx)("div",{className:"c-app-colour-palette__settings__text text-2xl font-semibold opacity-0","data-ref":"app-header-title",style:{fontSize:"1.375rem"},children:g.t["SETTINGS_SOUNDS_POP-UP-TITLE"]}),(0,s.jsx)("div",{className:"flex-no-wrap flex gap-2 text-black",children:(0,s.jsx)("button",{className:"c-app-colour-palette__settings__text flex items-center justify-center text-center",style:{width:"30px",height:"30px"},"data-ref":"app-messages-button-search",children:(0,s.jsx)($p,{})})})]})})]}),(0,s.jsx)("div",{className:"relative px-[10px] pt-2",children:xE.map((function(e,t){return(0,s.jsx)("div",{className:"relative mb-5 bg-primary-white-150",style:{borderRadius:"2rem"},children:(0,s.jsx)("div",{className:"c-app-colour-palette relative","data-theme":c,"data-colour":l,children:"settings"===a&&e.map((function(e){return(0,s.jsx)(Ag,{settingsProps:e},e.id)}))})},t)}))})]})})})}),"settings"===a&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(Wh,{wrapperRef:f}),(0,s.jsx)(uE,{wrapperRef:f}),"themes"===e.current&&(0,s.jsx)(BE,{wrapperRef:f}),(0,s.jsx)(VE,{wrapperRef:f}),(0,s.jsx)(ag,{children:(0,s.jsx)(mg,{wrapperRef:f,cleanupFunction:h})})]})]})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0",children:(0,s.jsx)("button",{className:"gpu absolute left-0 top-0","data-ref":"app-view-icon",ref:x,children:(0,s.jsx)("div",{className:"max-w-icon overflow-hidden rounded-3xl",children:(0,s.jsx)("img",{src:D("icons/app-settings.png"),"data-component":"app-themes-changes",className:"",alt:""})})})})]})})})},gg=function(){return(0,s.jsx)(oh,{children:(0,s.jsx)(uh,{children:(0,s.jsx)(Eg,{})})})},vg=function(e){var t=e.data,a=e.onClick,i=e.icon;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)("button",{className:"relative w-full",onClick:function(){a(t.id)},children:(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"relative inline-block w-full",children:(0,s.jsx)("div",{className:"flex justify-center py-2 xs:py-1",children:(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("div",{className:"mt-2",children:(0,s.jsxs)("div",{className:H()({"c-app-colour-palette__phone__call-palette__secondary font-semibold":t.isEnabled},{"opacity-50":!t.isEnabled},"flex flex-col items-center"),"data-ref":"button-dash-enabled",children:[i,(0,s.jsx)("div",{className:"text-[15px] leading-6 xs:text-[0.92rem]",children:g.t[t.text]})]})})})})})})})})})},Cg=function(){return(0,s.jsxs)("svg",{viewBox:"0 0 49 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{x:"0.333374",width:"48",height:"48",rx:"24",fill:"currentColor"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.3334 14.4C27.2839 14.4 29.9234 14.7238 31.6843 16.3187C33.0879 17.59 33.9334 19.6685 33.9334 23.0341C33.9334 26.3997 33.0878 28.4783 31.6841 29.7496C29.9231 31.3443 27.2837 31.6682 24.3334 31.6682C23.4341 31.6682 22.5637 31.6381 21.7383 31.5511C20.5591 32.6694 19.3495 33.3447 18.1102 33.5773C17.7179 33.651 17.5207 33.5469 17.7463 33.2431C17.9578 32.9584 18.2748 32.4952 18.3869 31.8299C18.4642 31.3716 18.4273 30.9715 18.2763 30.6296C17.8045 30.3928 17.3721 30.1023 16.9826 29.7496C15.579 28.4783 14.7334 26.3997 14.7334 23.0341C14.7334 19.6685 15.5789 17.5898 16.9823 16.3187C18.7433 14.7238 21.3827 14.4 24.3334 14.4Z",fill:"#FCFCFF"})]})},jg=function(){return(0,s.jsxs)("svg",{viewBox:"0 0 70 69",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{x:"0.5",width:"69",height:"69",rx:"34.5",fill:"currentColor"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.6532 18.9179L32.1387 24.6864C32.505 25.2926 32.5045 26.0282 32.1374 26.5762L30.099 29.0542C29.7033 29.6451 29.7367 30.4488 30.1822 31.0716C31.1135 32.3679 32.3773 33.8482 33.9736 35.5125C35.6411 37.1071 37.1234 38.3688 38.4214 39.2987C39.0451 39.7435 39.85 39.7768 40.4418 39.3817L42.9234 37.3464C43.4722 36.9798 44.209 36.9793 44.816 37.345L50.4733 40.7527C51.4019 41.3131 51.9135 42.3678 51.7787 43.444C51.6512 44.4559 51.212 45.4217 50.4609 46.3413C48.618 48.5977 44.7378 49.0233 41.7964 47.6094C40.4552 46.9174 39.5631 46.4379 39.12 46.1709C36.227 44.4277 32.9185 41.7821 30.2786 39.1268C27.6455 36.5046 25.0292 33.2357 23.2998 30.3741C23.0324 29.9316 22.5522 29.0408 21.8593 27.7016C20.4432 24.7645 20.7459 21.1689 23.1292 19.0498C24.0385 18.2414 24.9612 17.7667 25.8975 17.6258C26.993 17.461 28.0794 17.9703 28.6532 18.9179Z",fill:"#FCFCFF"})]})},Ng=function(){return(0,s.jsxs)("svg",{viewBox:"0 0 45 44",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{x:"0.75",width:"44",height:"44",rx:"22",fill:"currentColor"}),(0,s.jsx)("path",{d:"M13.5 22.001C13.5 16.8918 17.6417 12.75 22.75 12.75C27.8593 12.75 32 16.8919 32 22.001C32 27.1093 27.8592 31.25 22.75 31.25C17.6419 31.25 13.5 27.1093 13.5 22.001Z",fill:"white"}),(0,s.jsx)("path",{d:"M23.8047 17.75C23.8047 18.302 23.3567 18.75 22.8047 18.75C22.2527 18.75 21.8047 18.302 21.8047 17.75C21.8047 17.198 22.2527 16.75 22.8047 16.75C23.3567 16.75 23.8047 17.198 23.8047 17.75Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M20.332 20.6714C20.332 20.2572 20.6678 19.9214 21.082 19.9214H23C23.4142 19.9214 23.75 20.2572 23.75 20.6714V26.7934C23.75 27.2076 23.4142 27.5434 23 27.5434C22.5858 27.5434 22.25 27.2076 22.25 26.7934V21.4214H21.082C20.6678 21.4214 20.332 21.0856 20.332 20.6714Z",fill:"currentColor"})]})},Tg="/_next/static/media/contact-background-6.e857ed94.jpg",wg=["/_next/static/media/contact-background-1.eff49bd0.jpg","/_next/static/media/contact-background-2.16ea52e1.jpg","/_next/static/media/contact-background-3.ccdd5d46.jpg","/_next/static/media/contact-background-4.49c641ae.jpg","/_next/static/media/contact-background-5.2638af89.jpg",Tg,"/_next/static/media/contact-background-7.91750bdf.jpg","/_next/static/media/contact-background-8.4da36fbe.jpg"],_g=i.forwardRef((function(e,t){var a=e.name,i=e.size,n=void 0===i?"sm":i,r=e.avatarColor;if(!a)return null;var l=wg[(a.charCodeAt(0)+4)%wg.length];return(0,s.jsx)("div",{ref:t,className:H()("gpu relative flex items-center justify-center rounded-full bg-cover bg-center",{"h-6 w-6":"xs"===n,"h-8 w-8":"sm"===n,"h-9 w-9":"lg"===n}),style:r?{backgroundColor:r}:{backgroundImage:"url(".concat(l,")")},children:(0,s.jsx)("div",{className:H()("gpu font-normal text-white",{"text-xl":"xs"!=n,"text-xs":"xs"==n}),children:g.t[a].substring(0,1)})})})),bg=function(){return(0,s.jsxs)("svg",{viewBox:"0 0 49 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{x:"0.666626",width:"48",height:"48",rx:"24",fill:"currentColor"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.1309 17.3333C29.3091 17.3333 30.2642 18.2884 30.2642 19.4666L30.2638 20.9233L33.6444 18.3214C34.1704 17.9162 34.9325 18.2912 34.9325 18.9552V29.0574C34.9325 29.7213 34.1704 30.0963 33.6444 29.6912L30.2638 27.0873L30.2642 28.5333C30.2642 29.6603 29.3903 30.5832 28.2832 30.6613L28.1309 30.6666H16.5341C15.3559 30.6666 14.4008 29.7115 14.4008 28.5333V19.4666C14.4008 18.2884 15.3559 17.3333 16.5341 17.3333H28.1309Z",fill:"#FCFCFF"})]})},Sg=function(e){var t=e.contact,a=e.active,n=e.onSelectContact,r=(0,i.useRef)(null);return(0,i.useLayoutEffect)((function(){var e=r.current;return a?((0,V.Kq)("/app/phone/contacts/".concat(t.id),"Phone"),I.ZP.fromTo(e,{maxHeight:0},{maxHeight:e.scrollHeight,duration:.3,ease:"power3.out"})):I.ZP.to(e,{maxHeight:0,duration:.3,ease:"power3.out"}),function(){}}),[a]),(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{"data-ref":"app-call-users-messages-contact-item-details-template",className:"c-app-call-users-messages-contact-item-details-template ".concat(a?"full-width-divider":""),"data-name":"",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center","data-ref":"app-messages-contact-item-details-hit",onClick:n,children:[(0,s.jsx)("div",{className:"ltr:mr-5 rtl:ml-5",children:(0,s.jsx)(_g,{name:t.name,size:"lg"})}),(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)("div",{className:"text-[17px] text-black","data-ref":"app-messages-contact-item-details-name",children:g.t[t.name]})})]}),(0,s.jsx)("div",{ref:r,className:"relative w-full overflow-hidden","data-ref":"app-messages-contact-item-details-container-options",children:(0,s.jsxs)("div",{className:"relative w-full pb-4 text-black",children:[(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"flex-no-wrap flex items-center pb-4",children:(0,s.jsx)("div",{className:"my-2 w-full ltr:pl-[60px] rtl:pr-[60px]",children:(0,s.jsxs)("span",{className:"text-[13px] font-bold",onClick:n,children:[g.t["CONTACTS_CONTACTS_MOBILE-TEXT"]," *************"]})})})}),(0,s.jsxs)("div",{className:"relative flex w-full flex-row justify-evenly",children:[(0,s.jsx)("div",{className:"c-app-colour-palette__phone__call-palette w-10 rounded-full",children:(0,s.jsx)(jg,{})}),(0,s.jsx)("div",{className:"c-app-colour-palette__phone__message w-10 rounded-full",children:(0,s.jsx)(Cg,{})}),(0,s.jsx)("div",{className:"c-app-colour-palette__phone__call-palette w-10 rounded-full",children:(0,s.jsx)(bg,{})}),(0,s.jsx)("div",{className:"c-app-colour-palette__phone__info w-10 rounded-full",children:(0,s.jsx)(Ng,{})})]})]})}),(0,s.jsx)("div",{className:"c-app-messages__line mt-2 hidden border-b opacity-100","data-ref":"app-messages-contact-item-details-linebreak"})]})})},yg=function(){return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"57.7",height:"57.7",viewBox:"0 0 57.7 57.7",children:(0,s.jsxs)("g",{transform:"translate(-279 -635)",children:[(0,s.jsx)("circle",{cx:"28.85",cy:"28.85",r:"28.85",transform:"translate(279 635)",fill:"#35b9e2"}),(0,s.jsx)("image",{width:"27",height:"27",transform:"translate(294 650)",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAQAAABecRxxAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAJcEhZcwAADdcAAA3XAUIom3gAAAAHdElNRQfiCwgRCzmEKZFTAAAahElEQVR42u3deZhcZZXH8d/pBAgGZCekgzCMCUY2kV2QLWoQlKQzsigwKCKKO8oioMOmPIiAKCoKo4MMyAAi6QaJCEKIKEsQCCBBIIgC6cRAICQQsp/5o7Onu7qquuqee+/7/eTxsZdb9Z5D1/ur9966dUsCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKB4LLqAbPha2kKty/8N1oDoioC6vaGp6lz+v1fM67+r0geAv1tj1Kbdyt8pEjVXd6pDv7WX67lxaaeFm/ZUm8Zo2+hKgAws0X3qUIc9W9vNShkAPlAn60QNjq4DyNxf9R3dWP1OQekCwPvpeJ2rLaLrAMI8rNPtD9VtWrIA8EN1od4dXQUQ7k59wx7tfbMSBYDvou9r/+gqgJxwXa9TrLPyRqUJAP+UrtDa0VUAuTJNbTax0gYt0RU2grf4hbqK6Q+sZrAm+DGVNijBCsDX07UaHV0FkFvf0xm2pPtfFT4A/B26Ve+JrgLItdt0lM3u7hcFDwDfXndpUHQVQO79VfvarDV/XOgA8E30kLaJrgIohDt0iC1e/YcFPgjoa+kmpj9QpZG6dM0fFjgAdJkOiC4BKJAv+4mr/6iwuwD+eV0eXQNQMIt0kN298g8KGgB+oO5Q/+gqgMJ5VXvalBXfFjIAfKCm8HYfoC7jbcSKb4p5DOAUpj9QpwP9Iyu+KeAKwAdpitaLrgIorCf1nmUvCBZxBXAW0x/og+113LIvC7cC8GGazOE/oE86NczmSkVcAVzA9Af6qFUnd31RsBWA76KHo2sASmCOBtubxVsBfDy6AKAU1tdBUvECYFR0AUBJjJEKtgvg79LfomsASmKWNreFxVoBcN0foFE21AFF2wUgAIDGGVOoXQDfXNMKFlhAnnVqyyJNqEOY/kADtWrnIk2pYdEFACWzTZECoDW6AKBkWosUAHzaL9BYBACQsEIFALsAQGMVJwB8bW0SXQNQMsUJAG1RpHMWgEIoUABsFF0AUDobFScAeP4HGq44AQCg4QgAIGEEAJAwAgBIGAEAJIwAABJGAAAJIwCAhBEAQMIIACBhBACQMAIASBgBACSMAAASRgAACSMAgIQRAEDCCAAgYQQAkDACAEgYAQAkjAAAEkYAAAkjAICEEQBAwggAIGEEAJAwAgBIGAEAJIwAABJGAAAJIwCAhBEAQMIIACBhBACQMAIASBgBACSMAAASRgAACSMAgIQRAEDCCAAgYQQAkDACAEgYAQAkjAAAEkYAAAkjAICEEQBAwggAIGEEAJAwAgBIGAEAJIwAABJGAAAJIwCAhBEAQMIIACBhBACQMAIASBgBACSMAAASRgAACSMAgIQRAEDCCAAgYQQAkDACAEgYAQAkjAAAEkYAAAkjAICEEQBAwggAIGEEAJAwAgBIGAEAJIwAaK65el6zoovI3AK9oBny6DIyNkfPa3Z0EbXqH11A6UzTOE1Rp6aqU532uiT5umpVq4aoVVtppN4dXWITvK7fafKyrjXTXPK1NFitSzvfV+8r4ZPNP/Q7Pa/Orn82R5J84PK/9db6sIZGl9gbiy6gWr6zHo2uoRfPaKza9aD18szn22qM2rRncf7bVzRNt2isxtuCXroepFEaoxFaJ7rghnhc7Rprk3rbzLfXGLVp1+hye1aYB2GuA+AFXaGx9lRN/QzWaB2v3aJL74PXdaVu7j3wVul6fR2iozQquvQ+eFpXqt3+XstNfCuN1gnaMbr0QvOdPZ9e9VN9QJ09mR/hU6IbqMt8v9Q3qftv+T6/N7qBukzzE73OnWZv8U/6C9ENrCmLudsQuQyAeX6xb9THvtbyL/uM6EZqssSv8236/Pcc7ZOjG6nJHD/bB/ax5wF+mr8W3ciqGjlHmyqHAXCNb92g3t7u3/G50e1U6W5v0B6t9/PP+rTodqqyyH/igxrU9cZ+ic+PbmgFjgHU5y0dZzc0tL9d1KEto9vqrUido2/Xss/f6x0OUrv2im6rF7N0pN3RyDv09+tmbRbdVpfyvTSThanat7HTX7JHtLseiG6sork63M5r5PSX7F86QNdGN1bRM9qrsdNfsj9pdz0e3VgXAqB2E7W7Pdz4u7XpOkDXRDfXoxe1j/2mCV3Pt//Umbk9aehO7WlPN6Hrf2pvjY1uTiIAavcr7W/TmnPXNt+O1Te0JLrFbtyn3Xt/1bvuvi/QGL0R3WI3LtPBNqtJPb+pj+n86AYLJCcHAX+aQaefjG5yDfd400/f8b38reg2V3N2Bn/rr0Y3yQqgFnfry80fxK7WRdGNruJ5HWbzm971Azo+utFV3GjnNn8Q+6H+O7ZNAqB6z+lwW5TJSKfrtuhml5ujUfZKFgPZdbogutnlHtanMhrpi/pjZKMEQLVm61B7NZuhbImO0uTohiVJS3S0/TWz0b6pW6IbliRNV5u9lc1QtlAf0/NxrRIA1VmiT9R2rn/f2GwdqpnRTUs6027NsGvX0XoiumXNV5u9lGHXr2hU3CFQAqA637Zx2Q5of9cx0U2rwy7MuOs31KaMnnt7dJI9mHHXf9UJUc0SANXo1PeyH9Ru1+2hXS/UKQFd/10/CO36yYjDcna97o9plwCoxtk2N2Tc2HMCrrQpIeN+Vy8Hdn26LQ4Z97SYdgmA3k3WVTED2+OBZwbO0XlBXc+OGlnSBPttUNd/UkfEuARA76KeEyTpvzQvaOSLbEZY11fo2aCRg56HJUlnKOBxRgD05o9ZHgdfnb2oy0IGnqbvB3a9UGeEDHyjTQzs+in9ImDUuIZrE/Z24BE2PrTvjTQt4Dp6J1tgAEiSP6adMh90ews9+8K31D+zfkpmBVDZDE2ILcBe0x8Chr0ptuuQCibHTn/JXsr+DeEEQGUdFv/evJszH/EReyG6abUnMGIOaiAAKst+8q3plswPDuXgner2hJ5Lr+vsayAAKnldd0eXINkrujfjIdujew6o4iX7S3TDkk3Rk9mOSABUcltvH3eRkWzXIVMyfPtPJdk+G7ZHtxvSNQFQUR52AKRUp8L9+leCXWdcBwFQySPRBXSxl5TlSTl56XqJHkuva03K9vRvAqCSzugCQipJseu37LXoZrvY4kzDngCoYGbzL4RVtaklHSsvleQn9DL+708A9CxPDwpWAGUZKWe1EAA9S/NB8XrQW59ju07zby0CoJI0HxR0HY0AyIk0HxR0HY0AyIk8vVMyu1roOlqmtRAAPRsSXUBILXQdLdNaCICetUYXEFILXUfLtBYCoGdpPijW9/Wimw3oOs2/tQiASlJdFuanb3YBmo4A6NmGvm50Cctl+ayQn2fD7CoZHN1qSNciACpLcSqk2fU6vkl0s118LW2W5XgEQCV7RRfQxbfRphkOt2d0v0u77q9d0+tau/MyYH6MiS5gqUMzHW10dLtL7aeNMhytLbrdmDoIgEo+nJOjAKMyHW0r3yW6YUlZT4VRno+5kG3XBEBFAzUyugTJN9B+GQ/ZFt1zQBWD8rDD59tpWLYjEgCV5WEn4MNaK+MR26JblnwXvSO9rrOvgQCo7FDvH11CxjsAkrSjvzO66YDpmP2IOaiBAKhsY30wtgBfVwcHDHt4cNcWUMEw3zm46220W9ZjEgC9OTd4/JMyPRa+zMn+9tCuj9LwgFHjPpa8y7nZvyuRAOjNHn5E3OC+ib4RMvCmOj2w63V0fsjAh3rWh1tX7npnHZ39qARA7873rA/CrXCmNgga+SSPOz/+K9o6aOTvhfUsXRgxGwmA3g3V52IG9q31xbCu143a+fGNdWZY13v6YUFdfzDmJWcCoBpn+foh456ndQK7/pRvHzLut7RhYNcXRKz33KLWHgRANTbTWdkP6rvrmNCu++n7nvlBKd8ucNUjSUP1lYBRP633xrRLAFTnFD8y2wF9kG4O/+uMzPpgnG+sDq0d3PV3fUTGXe+hH0c1G/0QK46rPMPXaH1tjdWW0S1LOsMzPDLt/XWThka3rP66yTOswrdUuwZENUsAVGtddXh270//md4X3fBSP/fs3ij7Ix0Y3a4kaSPd6hm9+uJvU0fk5UgIgOq1qiObdwf6STouutnlBqjdM1mL+Jd0YnSzyw3Xjd4vg55NVyv0vZcEQC120y+b/7Dwg3VxdKOr2EK3NP+8QD9YP4hudBUj9cMMRvmOgl52XIYAqM0RGucbNnMAP0EdyuC5pybv1QPNfXtQLrv+ol/fzBWfr+U/DzzjYSkCoFYj9aBv25y79n7+Q12Z+Zt/q/FuTWzWsfEcd32k7m3W+ZC+me7S8dENEgD12FYPehPO2vINdFvIa9DV2Vi/9y8k1/Wuesj3aELXO2qi9o1uTiIA6rOhxnmDH7Q+VA/ooOjGKuqvn/jljb0+QgG6HqwJjX4p1EfrPv1bdGNdaj7Ty9dRI/eL3rBFVY67sx7N6L9Jte7UqfZYI+7I36av6zTFnG5cqyd0mt2eXNc363R7tiFdb63zdVR+Poy0qkJ8G7XpPRqsVrVq44aOf6DdU92GOQwAaYmu0X/Zi325C2/RcTovR9fir8YfdKpNSqzrhbpC59nLfep6Q52pr4S+v6Pmknf0s32SN88BVVeycxOr6Iu3/IL6Txrxg/2J6Abqstiv9rqv2VfYrl/3M+t9XcDX9q/5zOgG1lRhBeDb6UJ9tN4/cpWKvQJY5hVdpbF6wLz6m/hgjdLR+TgQVKd5ukY3625bUEPXW2h0wbueqv9Ruz1Sy018R7XpOG0TXXp3eggAH6xz9ekMXpktRwB0ma4Otfc+IXy42tSmPfKzH9gns/U7jdU4m9NL18PUpjHaqyRdv6B2jdW9trhizy16n8aoTfGXWO1Rt38OP1aXa2Am45cpALrM1p2aok5NVac6Nc0WeIs2X3r8pFVDtL+adBZBqAW6W5OXd91pcyXfdGnPrRqifRVzbYHmmqk79HxXx+rUNFvk/bTF0o5btbVGavPoEnuzRgB4iy7QaZmNX74AWK1szdL6ir+0eNZma0D423qz5pqlDYr2wvpqD01fX9c1fb8/JRZyTd94sdcUjlHIv/UqAeDraULUlUkAZG+lBYubrmH6AylZeY/l/Fx8OBKAzCwPAD9aZ0QXAyBbSwPAN9Pl0aUAyNqyFcBZSR63BRLXIkke9tk3ACJ1rQAuyOX1WAA0WYvk74y+MCGAGC2SRkcXASAGAQAkrMU30T7RRQCI0aKP5O567AAy0qIdoksAEKUlF59BCyBEi5r0yScA8o8AABJGAAAJa9GA6BIARCnYJQwBNBIBACSMAAASRgAACSMAgIQRAEDCCAAgYQQAkDACAEgYAQAkjAAAEkYAAAkjAICEEQBAwggAIGEEAJAwAgBIGAEAJIwAABJGAAAJIwCAhBEAQMIIACBhBACQMAIASBgBACSMAAASRgAACSMAgIQRAEDCCAAgYQQAkDACAEgYAQAkjAAAEkYAAAkjAICEEQBAwggAIGEEAJAwAgBIGAEAJIwAABJGAAAJIwCAhBEAQMIIACBhxQmARdEFAKWzODoAqh//X8GVAuUzPToA1qt6y1e0ILhWoGw6owNg/Wo3NNf04FqBsplamACQ1BlcK1A2xVkBiAAAGo0VAJCw8BXARrUUG1wrUDbhATC0hm0fD64VKJclejQ6AN5Vw7Z36Y3gaoEyuc9ejg6ArX1AtZvaPN0eXC1QJh3xpwK3aFgNW48NrhYokxwEgDS8hm1v08LocoGSmGzP5iEAdqx+U3td46PLBUqiQ8pDAOxf09bt0eUCJdEhSeYeXMYCbWRzq93YN9ffNTC4YqD4HtWu5nlYAaytfarf2GbokuiCgRI43VzKQwBII2ra+iKuDAD00V12R9cXeQiAA2vZ2N7QOdEFA4Xm+sayL+OPAUiL9Q6bVkP1/fVETS8eAljZDfbxZV/mYQXQT0fVsrkt0unRJQOFtVDfXPFNHgJAOra2za1DE6JLBgrqMntuxTd52AWQpPdYTe/181Y9pNboooHCmaAP2Urn0+ZjBVD7GqBTo/VWdNFAwfxDh9kqp9PnZQUwXVtZjef5+xG6IbpsoEDe1N6rr7TzsgLYotY1gGQ36tzosoHCcB275o52XlYA0hQNt8U1dmS6QYdHFw4UwjnWzRNmXlYA0lAdWetNzPVJLhICVOESndfdj/OzApCe1I5WczXeogt1SnTpQI4t0Ofsl93/Kj8rAGl7jan9RrbETtWxmhddPJBTMzSip+mfrxWA9Jx2sLqmsu+hsZwXAKzhMY2yF3r+dZ5WANI7dUZ9N7SJ2k0PRpcP5MxvtE+l6Z+3FYA0Xzvas/Xd1PvrBJ2tQdEtALkwWafZbb1tlK8VgLSOflLvTW2R/VRDdQ6fHoDkTdfntFPv0z9/KwBJOsr+ry8390E6S59V/+g2gBBzdbEusiqfBvMYALO0iz3ft7vwYTpJozUkuhUgU5PVrp9YDZ+imccAkB7S+21BX+/ETbtqtEbXcuFxoJCW6H51qL3242f5DADpB/a1Rt2V/7tGaz8N0RANUr/oxoCGmaepmqqXNF632Iz67iKvASC1WUej79L7aZBa1apWVf2JhCgo08m53AX8Xz3a5/t4o2vi26t9Lye/ATBL+9jk6CJQXD5M9+Tw5LBP2PXRJawsby8DrrChfu/viC4CxWXP6kDVcLHZNOU3AKQtdbtvHF0EisueIQJ6k+cAkLbTrb5udBEoLntaIzQ9uoo8y3cASHvrJueAHepmf9MIPkuqZ3kPAOkQ3ekbRheB4rKnNEJ1vkhWfvkPAOn9utfz+IIOCsIma4Rejq4in4oQANIOus/5MDDUzZ7UB/RKdBV5VIwAkLbSn3xkdBEoLntCH9DM6CrypygBIG2i2/1851Re1MkeJwLWVJwAkExnajxHA1Ave0wfVANOny2TIgWAJO2rSf7R6CJQVDZJH9Jr0VXkSdECQNpUt/qvWQegPvaIPqRZ0VXkR/ECQJIO09/86841f1AHe5gIWKGYASCtp0v0sO8fXQaKyP6ikXo9uop8KGoASNJOuscn+EHRZaB47CEdpNnRVeRBkQNAkvbT7f4XH+MWXQiKxR4kAqTiB4Ak7aqbNdlP9fxd/AE5Zg/ow5oTXUW0MgSAJA3X9/Si/96P9rdFl4KisPt1cOqfIlGWAOjqZaSu1XT/tX/e3xVdDIrA/px6BOT3moB91anxGq9Jerraj0hAmnw/jdPAzIbL2TUByxsAK0zV0/qbntFMzVn+b3F0UYU110p36Mz31zhltetIAKDQrrATo0toPD9Qv80oAnIWAGU6BgDUycbrUL0VXUUEAgCQZHenGQEEACBJsrs0WvOiq8gaAQAsZXemFwEEALCc3aExmh9dRZYIAGAldrv+I6UIIACAVdg4fUwLoqvICgEArMZu02GpRAABAKzBbtXhWhhdRRYIAKAbdouOSCECCACgW9auI7UouopmIwCAHthYfbzsEUAAAD2y3+iockcAAQBUYL/W0WV+8zgBAFRkN+qY8kYAAQD0wq7XsWWNAAIA6JVdp09pSXQVzUAAAFWwa8sZAQQAUBW7Rp8uXwQQAECV7Gp9RiW7hiYBAFTNrtIJ5YoAAgCogf1Cny1TBBAAQE3s5zqxPBFAAAA1siv1hbojIGfXHCQAgJrZz/SlOm86Nbr2VREAQB3scn25rhu+EF35qggAoC72Y3215hs9Y/+KrntVBABQJ7tMJ9V4k/bomldHAAB1sx/q6zVs/oZ+Fl3x6ggAoA/sUp1S9cYn2/PR9a6OAAD6xC7RaVVt+Du7MrrWNREAQB/ZRTq117cJvarjo+vsDgEA9JldrA/oxQob/Fl727ToKrvTktLnoAHNYvdoJ93Y7a/e1Fe0nz0dXWH3WvRqdAkolFJfI7cvbJYdqY/rnpV2BuZpoi7XDvYjy+11BPrrVQ2OLgIFMiO6gDyzG3SDb6HtNUSuSXrKch+X/VkBoCad0QXknU3X9OgaqteimdEloFAIgFJp0UvRJaBQCIBSadFd0SWgQJbon9EloJFadDfHdVG1++216BLQSC02Ww9EF4HCGBtdABqrRdLvo4tAYbRHF4DGapH06/J93AGa4gl7LroENFaLZE/ruugyUAi5ezc7+sokyYfqKfWPLgU596y2y/+ZbahNiyTZFF0dXQhy73Smf/lY1//5VpqsgdHFIMfus32iS0DjLb0egL2gz0SXghybV+dFsJFzyy8IYtfr0uhikFuftUeiS0Az2Iovvb/+oP2jC0IOXWTVXfUOhWMrf+Ob6y7tEF0ScmacDs3vBS3QN6tcE9BmaG/9Nrok5MpNOpzpX16rXRTU5mi0Lo4uCjnhOltH2NzoMtA81t0P/Rhdqk2jS0OwN3Ws3RxdBJqr28uC27V6py7QW9HFIdCN2onpX37W8698iL6tY7RWdInI3B91qk2MLgJZsMq/9g10iEbrYL09ulBkYpbG6Vc2LroMZMWq2cjX1n4ariFq1RC16m1V33t/DYluEFWZoxc1Xu2aYAujS0GWqgqAevlwPdXk+hfrW/pHk8coM9dMvaSpNie6EMQo9puAF+uT9qvoIoDiKvKHgzL9gT4qbgAw/YE+K2oAMP2BBihmADD9gYYoYgAw/YEGKV4AMP2BhilaADD9gQYqVgAw/YGGKlIAMP2BBitOADD9gYYrSgAw/YEmKEYAMP2BpihCADD9gSbJfwAw/YGmyXsAMP2BJsp3ADD9gabKcwAw/YEmy28AMP2BpstrADD9gQzkMwCY/kDx+XCvxyI/OrpyAH1WVwAw/YFyqCMAmP5AWdQcAEx/oDxqDACmP1AmNQUA0x8olxoCgOkPlE3VAcD0B8rHt2X6A8nydXw+0x9Ilj/A9AeS5Zcy/YFk+WB/hekPJMsPZ/oDCfOzfNEa0/81/1h0XQAy4Xv5s6tM/zt8y+iaAEiWzTA+QHtqL+2u1/SQJtqk6LYBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQVP8Pom950LVBHzoAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTgtMTEtMDhUMTc6MTE6NTcrMDE6MDD5Z1nBAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE4LTExLTA4VDE3OjExOjU3KzAxOjAwiDrhfQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAASUVORK5CYII="})]})})},Rg=a(84542),Lg=function(){return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"11.461",viewBox:"0 0 15 11.461",children:(0,s.jsxs)("g",{transform:"translate(-1472 -3556)",children:[(0,s.jsx)("path",{d:"M767.8,760.341l-5.8,5.8,5.8,5.8",transform:"translate(2245.542 2798.248) rotate(90)",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"}),(0,s.jsx)("line",{y2:"15",transform:"translate(1487 3557) rotate(90)",fill:"none",stroke:"currentColor",strokeWidth:"2"})]})})},Ig=function(){return(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.7432 3.52323C12.6935 3.15715 12.3797 2.875 12 2.875C11.5858 2.875 11.25 3.21079 11.25 3.625V11.25H3.625L3.52323 11.2568C3.15715 11.3065 2.875 11.6203 2.875 12C2.875 12.4142 3.21079 12.75 3.625 12.75H11.25V20.375L11.2568 20.4768C11.3065 20.8428 11.6203 21.125 12 21.125C12.4142 21.125 12.75 20.7892 12.75 20.375V12.75H20.375L20.4768 12.7432C20.8428 12.6935 21.125 12.3797 21.125 12C21.125 11.5858 20.7892 11.25 20.375 11.25H12.75V3.625L12.7432 3.52323Z",fill:"currentColor"})})},Pg="/_next/static/media/background-favorites.864b930e.jpg",Og="/_next/static/media/background-groups.f4b0590a.jpg",Mg="/_next/static/media/background-profile.db593223.jpg",Dg=function(e){var t=(0,i.useRef)(null),a=(0,i.useRef)(null),n=(0,i.useRef)(null);(0,i.useEffect)((function(){var e=t.current,s=a.current,i=n.current,r=function(){var t=e.getBoundingClientRect(),a=s.getBoundingClientRect(),n=i.getBoundingClientRect(),r=(a.y-t.y)/(120-t.y);r=(r=r<0?0:r)>1?1:r;var l=(n.y-t.y)/(250-t.y);l=(l=l<0?0:l)>1?1:l,I.ZP.set(s,{opacity:r}),I.ZP.set(i,{opacity:Math.abs(l-1)})};return e.addEventListener("scroll",r),function(){e.removeEventListener("scroll",r)}}),[]);var r=e.headline,l=e.children;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"absolute inset-0","data-ref":"app-call-contact-container",children:(0,s.jsx)("div",{className:"absolute inset-0 top-[45px]",style:{height:"calc(100% - 180px)"},children:(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0",children:(0,s.jsx)("div",{className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsxs)("div",{className:"absolute inset-0 overflow-hidden","data-component":"app-header",children:[(0,s.jsx)("div",{ref:t,className:"scrolling-touch absolute inset-0 overflow-y-auto","data-ref":"app-content",style:{borderRadius:"2rem",borderTopLeftRadius:"0",borderTopRightRadius:"0"},children:(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)("div",{className:"relative px-6 py-20 text-center",children:(0,s.jsxs)("div",{ref:a,"data-ref":"app-header-headline",children:[(0,s.jsx)("div",{className:"c-app-colour-palette__phone__call-palette__secondary text-[34px] font-semibold leading-tight","data-ref":"app-call-users-messages-headline",children:g.t["PHONE_PHONE-SCREEN_CALL-SCREEN_PHONE"]}),(0,s.jsx)("div",{"data-ref":"app-message-title-contact-container",children:(0,s.jsx)("div",{className:"relative inline-block overflow-y-hidden rounded-xl px-3 py-1 text-[15px] leading-snug text-gray-500 ltr:font-sans rtl:font-sansAr","data-ref":"app-call-users-messages-contact-title",children:r})})]})}),(0,s.jsxs)("div",{className:"c-app-call__scroll c-app-colour-palette__settings__background sticky top-0 z-20 py-2 pb-4",children:[(0,s.jsx)("div",{className:"pointer-events-none absolute w-full",style:{top:"calc(100% - 20px)",height:"50px"},children:(0,s.jsx)("div",{className:"c-app-call__scroll-box c-app-colour-palette__settings__shadow absolute top-[20px] w-full",style:{borderRadius:"2rem",height:"200%"}})}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsxs)("div",{className:"flex-no-wrap c-app-colour-palette__phone__call-palette__secondary flex items-center justify-between px-6",children:[(0,s.jsx)("div",{ref:n,className:"text-2xl font-semibold opacity-0","data-ref":"app-header-title",children:g.t["PHONE_PHONE-SCREEN_CALL-SCREEN_PHONE"]}),(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-center gap-2",children:[(0,s.jsx)("div",{children:(0,s.jsx)(Ig,{})}),(0,s.jsx)("div",{children:(0,s.jsx)(ie,{path:"/app/phone/contacts/search",page:M.dC.Phone,children:(0,s.jsx)(ht,{title:g.t["PHONE_PHONE-SCREEN_SEARCH_POP-UP-TITLE"],text:g.t["PHONE_PHONE-SCREEN_SEARCH_POP-UP-TEXT"],cta:{text:g.t["PHONE_PHONE-SCREEN_SEARCH_POP-UP-OK"]},children:(0,s.jsx)("button",{className:"flex h-[30px] w-[30px] items-center justify-center text-center",children:(0,s.jsx)($p,{width:25,height:25})})})})}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{className:"flex items-center justify-center text-center",children:(0,s.jsx)("svg",{viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-[20px]",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.25 14.5C30.596 14.5 32.5 12.596 32.5 10.25C32.5 7.904 30.596 6 28.25 6C25.904 6 24 7.904 24 10.25C24 12.596 25.904 14.5 28.25 14.5ZM28.25 23.7085C25.904 23.7085 24 25.6125 24 27.9585C24 30.3045 25.904 32.2085 28.25 32.2085C30.596 32.2085 32.5 30.3045 32.5 27.9585C32.5 25.6125 30.596 23.7085 28.25 23.7085ZM24 45.6665C24 43.3205 25.904 41.4165 28.25 41.4165C30.596 41.4165 32.5 43.3205 32.5 45.6665C32.5 48.0125 30.596 49.9165 28.25 49.9165C25.904 49.9165 24 48.0125 24 45.6665Z",fill:"currentColor"})})})})]})]})})]}),(0,s.jsxs)("div",{className:"relative px-2.5","data-ref":"app-call-users-messages-contact-container",children:[(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsxs)("div",{className:"flex flex-col gap-y-5",children:[(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"c-app-messages__messages z-10 rounded-3xl px-4 py-3.5",children:(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center",children:[(0,s.jsx)("div",{className:"ltr:mr-5 rtl:ml-5",children:(0,s.jsx)("div",{className:"flex h-[38px] w-[38px] items-center justify-center overflow-hidden rounded-full bg-primary-gray-300 bg-cover bg-center",style:{backgroundImage:"url(".concat(Mg,")")},children:(0,s.jsx)("div",{className:"text-xl font-normal text-white"})})}),(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)("div",{className:"text-lg text-black",children:g.t["PHONE_PHONE-SCREEN_CALL-SCREEN_NO-PROFILE-INFO"]})})]}),(0,s.jsx)("div",{className:"c-app-messages__line mt-2 hidden border-b opacity-100"})]})})}),(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"c-app-messages__messages z-10 rounded-3xl px-4 py-3.5",children:(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center",children:[(0,s.jsx)("div",{className:"ltr:mr-5 rtl:ml-5",children:(0,s.jsx)("div",{className:"flex h-[38px] w-[38px] items-center justify-center overflow-hidden rounded-full bg-primary-gray-300 bg-cover bg-center",style:{backgroundImage:"url(".concat(Pg,")")},children:(0,s.jsx)("div",{className:"text-xl font-normal text-white"})})}),(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)("div",{className:"text-lg text-black",children:g.t["PHONE_PHONE-SCREEN_CALL-SCREEN_ADD-FAVORITE-CONTACTS"]})})]}),(0,s.jsx)("div",{className:"c-app-messages__line mt-2 hidden border-b opacity-100"})]})})}),(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"c-app-messages__messages z-10 rounded-3xl px-4 py-3.5",children:(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center",children:[(0,s.jsx)("div",{className:"ltr:mr-5 rtl:ml-5",children:(0,s.jsx)("div",{className:"flex h-[38px] w-[38px] items-center justify-center overflow-hidden rounded-full bg-primary-gray-300 bg-cover bg-center",style:{backgroundImage:"url(".concat(Og,")")},children:(0,s.jsx)("div",{className:"text-xl font-normal text-white"})})}),(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)("div",{className:"text-lg text-black",children:g.t["PHONE_PHONE-SCREEN_CALL-SCREEN_GROUPS"]})})]}),(0,s.jsx)("div",{className:"c-app-messages__line mt-2 hidden border-b opacity-100"})]})})})]})}),(0,s.jsx)("div",{className:"","data-ref":"app-call-users-messages-contacts",children:l})]})]})}),(0,s.jsx)("div",{className:"pointer-events-none absolute bottom-[15px] left-1/2 z-50 hidden -translate-x-1/2 transform",children:(0,s.jsx)("div",{className:"flex h-[40px] w-[40px] items-center justify-center rounded-full border-2 border-[rgba(0,0,0,0.25)] bg-primary-gray-100 text-primary-gray-375",children:(0,s.jsx)(Lg,{})})}),(0,s.jsx)("div",{className:"pointer-events-none absolute bottom-0 left-0 right-0 z-50 hidden",style:{height:"calc(100% - 127px)"},children:(0,s.jsx)("div",{className:"absolute bottom-0 right-[5px] top-0 w-[18px]",children:(0,s.jsx)("div",{className:"absolute left-0 right-0 top-0 flex h-[45px] items-center justify-center rounded-lg bg-primary-blue-300 text-white",children:(0,s.jsx)("div",{style:{transform:"scale(0.5)"},children:(0,s.jsx)(Rg.Z,{})})})})}),(0,s.jsx)("div",{className:"absolute bottom-[15px] right-[15px] z-50 hidden",children:(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)(yg,{})})})]})})})})})})},Gg=function(){var e=_e(),t=e.getContactList,a=e.getContactCount,n=(0,i.useState)(null),r=n[0],l=n[1],c=t(),o=a();return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(Dg,{headline:g.t.formatString(g.t["PHONE_PHONE-SCREEN_CALL-SCREEN_6-CONTACTS"],o).toString(),children:Object.entries(Object.keys(c).sort().reduce((function(e,t){return e[t]=c[t],e}),{})).map((function(e){var t=(0,pe.Z)(e,2),a=t[0],i=t[1];return(0,s.jsxs)("div",{"data-ref":"app-call-users-messages-contact-item-template",children:[(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsxs)("div",{className:"relative flex w-full items-center",children:[(0,s.jsx)("div",{className:"px-6 pb-1 font-semibold text-primary-gray-200","data-ref":"app-messages-contact-item-letter",children:a}),(0,s.jsx)("div",{className:"w-full"})]})}),(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"c-app-messages__messages z-10 rounded-3xl px-5 py-3.5","data-ref":"app-messages-contact-item-list",children:i.map((function(e){return(0,s.jsx)(Sg,{contact:e,active:r===e.id,onSelectContact:function(){return t=e.id,void l(r===t?null:t);var t}},e.id)}))})})]},a)}))})})},kg=function(e){var t=e.color,a=void 0===t?"black":t;return(0,s.jsx)("svg",{width:"19",height:"26",viewBox:"0 0 19 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"m.3 12.1 7.1.1L1.9 1.9 4.1.8l5.4 10.3L14.9.8l2.2 1.1-5.6 10.2 7.1-.1v2.4l-7.1-.1 5.6 10.2-2.2 1.1-5.4-10.2-5.4 10.3-2.2-1.1 5.6-10.2-7.1.1v-2.4z",fill:a})})},Hg=function(e){var t=e.text,a=e.children,n=e.setNumber,r=(0,P.q0)().theme,l=(0,i.useRef)(null),c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)(null);return(0,i.useEffect)((function(){var e=l.current,a=c.current,s=o.current,i=d.current,r=null,u=function(){clearInterval(r),document.removeEventListener("touchend",u)},p=function(){document.addEventListener("touchend",u),I.ZP.killTweensOf(a),I.ZP.fromTo(a,{scale:.5},{scale:1.1,duration:.4,delay:0,ease:"power3.out"}),I.ZP.fromTo(a,{opacity:1},{opacity:0,duration:.2,delay:.2,ease:"power3.out"}),I.ZP.killTweensOf([s,i]),I.ZP.fromTo([s,i],{scale:.6},{scale:1,duration:.4,ease:"power3.out"}),n(t),clearInterval(r)};return e.addEventListener("touchstart",p),function(){e.removeEventListener("touchstart",p),document.addEventListener("touchend",u)}}),[]),(0,s.jsxs)("button",{ref:l,className:"relative w-phone-button leading-none","data-value":"1","data-ref":"app-call-button",children:[(0,s.jsx)("div",{ref:c,className:"absolute bottom-0 left-1/2 right-0 top-1/2 h-[90px] w-[90px] overflow-hidden rounded-full opacity-0",style:{transform:"translate(-50%, -50%)"},"data-ref":"app-call-button-background",children:(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0",children:(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 bg-black opacity-10"})})}),(0,s.jsxs)("div",{className:"relative flex flex-col items-center",children:[(0,s.jsx)("div",{ref:o,className:"text-[35px] font-normal leading-7 xs:text-[2rem]","data-ref":"app-call-button-number",children:"*"!==t?t:(0,s.jsx)(kg,{color:"black-onix"==r||"black-minimalist"==r?"white":"black"})}),(0,s.jsxs)("div",{ref:d,className:"c-app-call__keypad-sub-label pt-1 text-xs xs:text-[0.7rem]","data-ref":"app-call-button-letter",children:[("*"===t||"#"===t)&&(0,s.jsx)(s.Fragment,{children:"\xa0"}),"*"!==t&&"#"!==t&&(0,s.jsx)(s.Fragment,{children:a})]})]})]})},Bg=function(){var e=(0,i.useRef)(null);return(0,i.useLayoutEffect)((function(){var t=e.current,a={visible:!0,interval:null},s=function(){I.ZP.set(t,{opacity:a.visible?0:1}),a.visible=!a.visible,a.interval=setTimeout(s,500)};return s(),function(){clearTimeout(a.interval)}}),[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{ref:e,className:"absolute bottom-0 left-0 top-0 w-[2px] bg-primary-green-300","data-component":"cursor"})})},Ug="/_next/static/media/icon-voice-mail.6d4053cb.svg",Zg=function(){return(0,s.jsxs)("svg",{width:"34",height:"25",viewBox:"0 0 34 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M21.3374 23.2157H7.1223C3.98041 23.2157 1.43341 20.6687 1.43341 17.5269L1.43341 7.80774",stroke:"currentColor",strokeWidth:"2.13333",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.829 18.4207H9.07784C7.5069 18.4207 6.2334 17.1472 6.2334 15.5763V4.10519C6.2334 2.53424 7.5069 1.26074 9.07784 1.26074H23.829C25.3999 1.26074 26.6734 2.53424 26.6734 4.10519V7.37948L32.6334 2.78276V16.9148L26.6734 12.3181V15.5763C26.6734 17.1472 25.3999 18.4207 23.829 18.4207Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"2.13333",strokeLinecap:"round",strokeLinejoin:"round"})]})},Yg=function(){return(0,s.jsx)("svg",{width:"31",height:"21",viewBox:"0 0 31 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.6869 0.262329C29.8651 0.262329 30.8203 1.21745 30.8203 2.39566V18.0847C30.8203 19.2629 29.8651 20.2181 28.6869 20.2181H10.5742C10.0083 20.2181 9.46563 19.9933 9.06554 19.5931L1.22092 11.7473L1.10221 11.6186C0.389953 10.7803 0.429622 9.52171 1.22114 8.7303L9.06558 0.887053C9.46565 0.487046 10.0082 0.262329 10.574 0.262329H28.6869ZM22.4267 5.44323C22.0727 5.08915 21.4986 5.08915 21.1445 5.44323L18.0072 8.57933L14.8712 5.44323C14.5466 5.11866 14.0372 5.09161 13.6818 5.36209L13.589 5.44323C13.2349 5.7973 13.2349 6.37137 13.589 6.72545L16.7252 9.86133L13.589 12.9988C13.2644 13.3234 13.2374 13.8328 13.5078 14.1882L13.589 14.281C13.943 14.6351 14.5171 14.6351 14.8712 14.281L18.0072 11.1443L21.1445 14.281C21.4691 14.6056 21.9785 14.6326 22.3339 14.3621L22.4267 14.281C22.7808 13.9269 22.7808 13.3529 22.4267 12.9988L19.2902 9.86133L22.4267 6.72545C22.7513 6.40088 22.7784 5.89145 22.5079 5.53607L22.4267 5.44323Z",fill:"#6D6D6D"})})},Fg=function(e){var t=(0,pt.O)().popOverlayStack,a=e.onDialChange,n=(0,i.useState)(""),r=n[0],l=n[1],c=(0,i.useRef)(""),o=(0,i.useRef)(!1),d=(0,i.useRef)(null),u=(0,i.useRef)([]),p=(0,i.useContext)(tg).setScreen,x=function(e){var t=d.current,s=u.current,i=e;switch(i){case"clear":c.current="";break;case"video":case"call":break;case"back":c.current=c.current.substring(0,c.current.length-1);break;default:c.current+=String(i)}c.current=c.current.substring(0,12),c.current.length?o.current||(I.ZP.to(t,{opacity:1,duration:.3,pointerEvents:"auto",ease:"power3.out"}),I.ZP.to(s,{opacity:1,duration:.3,pointerEvents:"auto",ease:"power3.out"}),o.current=!0,a(!1)):o.current&&(I.ZP.to(s,{opacity:0,duration:.3,pointerEvents:"none",ease:"power3.out"}),I.ZP.to(t,{opacity:0,duration:.3,pointerEvents:"none",ease:"power3.out"}),o.current=!1,a(!0));var n=c.current.length,r=c.current;n<12&&(11===n?r="".concat(r.slice(0,3),"-")+"".concat(r.slice(3,7),"-")+"".concat(r.slice(7)):10===n?r="".concat(r.slice(0,3),"-")+"".concat(r.slice(3,6),"-")+"".concat(r.slice(6)):n>7?r="".concat(r.slice(0,3),"-")+"".concat(r.slice(3,7),"-")+"".concat(r.slice(7)):n>3&&(r="".concat(r.slice(0,3),"-")+"".concat(r.slice(3)))),l(r)},f=function(){p("live-translate-video"),x("clear")};return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"flex-no-wrap absolute left-0 right-0 top-[45px] flex flex-col",style:{height:"calc(100% - 150px)"},children:[(0,s.jsx)("div",{className:"relative px-6 py-2",children:(0,s.jsx)("div",{className:"flex-no-wrap flex items-center justify-between",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex w-full justify-end gap-2",children:[(0,s.jsx)("div",{children:(0,s.jsx)("button",{ref:d,className:"c-app-colour-palette__phone__call-palette__secondary flex h-[30px] w-[30px] items-center justify-center text-center opacity-0","data-ref":"app-calls-button-add",children:(0,s.jsx)(Ig,{})})}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{className:"c-app-colour-palette__phone__call-palette__secondary flex h-[30px] w-[30px] items-center justify-center text-center","data-ref":"app-calls-button-search",children:(0,s.jsx)($p,{width:25,height:25})})}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{className:"c-app-colour-palette__phone__call-palette__secondary flex h-[30px] w-[30px] items-center justify-center text-center",children:(0,s.jsx)(ie,{path:"/app/phone/more",page:M.dC.Phone,children:(0,s.jsx)(ht,{className:"flex h-[30px] w-[30px] items-center justify-center text-center",title:g.t["@PARADIGM_PHONE_MORE_DOTS_POPUP_TITLE"],component:(0,s.jsx)(Td.P,{bodyText:g.t["@PARADIGM_PHONE_MORE_DOTS_POPUP_TEXT"],linkText:g.t["@PARADIGM_PHONE_MORE_DOTS_POPUP_LINK_TEXT"],onLinkClicked:function(){t(),(0,V.Kq)("/app/phone/more/live-translate",M.dC.Phone),f()}}),cta:{text:g.t["@PARADIGM_PHONE_HOME_MORE_DOTS_POPUP_CTA"]},children:(0,s.jsx)(Gr,{})})})})})]})})}),(0,s.jsx)("div",{className:"flex h-full items-end justify-center border-[#0000ff]",children:(0,s.jsxs)("div",{className:"mb-1 w-full px-6 text-center",children:[(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"pointer-events-none relative mb-4 w-full overflow-hidden text-center font-sans font-normal leading-none xs:text-[36px] xxs:text-[36px]\n ".concat(r.length>10?"text-[36px] xxs:text-[30px]":"text-5xl"),children:[(0,s.jsx)("span",{className:"relative","data-ref":"app-call-number",children:r}),(0,s.jsx)("span",{className:"relative",children:(0,s.jsx)(Bg,{})})]})})}),(0,s.jsxs)("div",{className:"inline-block w-full max-w-[270px] xs:max-w-[250px]",children:[(0,s.jsxs)("div",{className:"my-8 flex w-full justify-between xs:my-6 xxs:my-2",children:[(0,s.jsx)("div",{children:(0,s.jsx)(Hg,{setNumber:x,text:g.t["PHONE_PHONE-SCREEN_1_NUMBER"],children:(0,s.jsx)("img",{src:Ug,className:"w-[22px]",alt:"voice mail icon"})})}),(0,s.jsx)("div",{children:(0,s.jsxs)(Hg,{setNumber:x,text:g.t["PHONE_PHONE-SCREEN_2_NUMBER"],children:[g.t["PHONE_PHONE-SCREEN_ABC_TEXT"],(0,s.jsx)(aa.Z,{languages:["kr"],children:(0,s.jsx)("div",{children:"ABC"})})]})}),(0,s.jsx)("div",{children:(0,s.jsxs)(Hg,{setNumber:x,text:g.t["PHONE_PHONE-SCREEN_3_NUMBER"],children:[g.t["PHONE_PHONE-SCREEN_DEF_TEXT"],(0,s.jsx)(aa.Z,{languages:["kr"],children:(0,s.jsx)("div",{children:"DEF"})})]})})]}),(0,s.jsxs)("div",{className:"my-8 flex w-full justify-between xs:my-6 xxs:my-2",children:[(0,s.jsx)("div",{children:(0,s.jsxs)(Hg,{setNumber:x,text:g.t["PHONE_PHONE-SCREEN_4_NUMBER"],children:[g.t["PHONE_PHONE-SCREEN_GHI_TEXT"],(0,s.jsx)(aa.Z,{languages:["kr"],children:(0,s.jsx)("div",{children:"GHI"})})]})}),(0,s.jsx)("div",{children:(0,s.jsxs)(Hg,{setNumber:x,text:g.t["PHONE_PHONE-SCREEN_5_NUMBER"],children:[g.t["PHONE_PHONE-SCREEN_JKL_TEXT"],(0,s.jsx)(aa.Z,{languages:["kr"],children:(0,s.jsx)("div",{children:"JKL"})})]})}),(0,s.jsx)("div",{children:(0,s.jsxs)(Hg,{setNumber:x,text:g.t["PHONE_PHONE-SCREEN_6_NUMBER"],children:[g.t["PHONE_PHONE-SCREEN_MNO_TEXT"],(0,s.jsx)(aa.Z,{languages:["kr"],children:(0,s.jsx)("div",{children:"MNO"})})]})})]}),(0,s.jsxs)("div",{className:"my-8 flex w-full justify-between xs:my-6 xxs:my-2",children:[(0,s.jsx)("div",{children:(0,s.jsxs)(Hg,{setNumber:x,text:g.t["PHONE_PHONE-SCREEN_7_NUMBER"],children:[g.t["PHONE_PHONE-SCREEN_PQRS_TEXT"],(0,s.jsx)(aa.Z,{languages:["kr"],children:(0,s.jsx)("div",{children:"PQRS"})})]})}),(0,s.jsx)("div",{children:(0,s.jsxs)(Hg,{setNumber:x,text:g.t["PHONE_PHONE-SCREEN_8_NUMBER"],children:[g.t["PHONE_PHONE-SCREEN_TUV_TEXT"],(0,s.jsx)(aa.Z,{languages:["kr"],children:(0,s.jsx)("div",{children:"TUV"})})]})}),(0,s.jsx)("div",{children:(0,s.jsxs)(Hg,{setNumber:x,text:g.t["PHONE_PHONE-SCREEN_9_NUMBER"],children:[g.t["PHONE_PHONE-SCREEN_WXYZ_TEXT"],(0,s.jsx)(aa.Z,{languages:["kr"],children:(0,s.jsx)("div",{children:"WXYZ"})})]})})]}),(0,s.jsxs)("div",{className:"my-8 flex w-full items-start justify-between xs:my-6 xxs:my-2",children:[(0,s.jsx)("div",{children:(0,s.jsx)(Hg,{setNumber:x,text:g.t["PHONE_PHONE-SCREEN_*_TEXT"]})}),(0,s.jsx)("div",{children:(0,s.jsx)(Hg,{setNumber:x,text:g.t["PHONE_PHONE-SCREEN_0_NUMBER"],children:(0,s.jsxs)("div",{className:"font-normal text-primary-gray-250 ",style:{fontSize:"1rem"},children:[g.t["PHONE_PHONE-SCREEN_+_TEXT"],(0,s.jsx)(aa.Z,{languages:["kr"],children:(0,s.jsx)("div",{children:"+"})})]})})}),(0,s.jsx)("div",{children:(0,s.jsx)(Hg,{setNumber:x,text:g.t["PHONE_PHONE-SCREEN_#_TEXT"]})})]}),(0,s.jsxs)("div",{className:"my-8 flex w-full items-center justify-between xs:my-6 xxs:my-2",children:[(0,s.jsx)("div",{ref:function(e){u.current[0]=e},className:"pointer-events-none opacity-0","data-ref":"app-call-button-extra",children:(0,s.jsx)("button",{className:"c-app-colour-palette__phone__call-palette pointer-events-none relative flex h-auto w-auto min-w-[47px] justify-end leading-none","data-value":"video","data-ref":"app-call-button",children:(0,s.jsx)(Zg,{})})}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{className:"relative h-auto w-auto leading-none","data-value":"call","data-ref":"app-call-button-start-current-call",onClick:f,children:(0,s.jsxs)("div",{className:"relative flex flex-col items-center",children:[(0,s.jsx)("div",{className:"text-4.2xl leading-7",children:(0,s.jsx)("div",{className:"c-app-colour-palette__phone__call-palette w-16",onClick:function(){(0,V.Kq)("/app/phone/more/live-translate",M.dC.Phone)},children:(0,s.jsx)(jg,{})})}),(0,s.jsx)("div",{className:"c-app-call__keypad-sub-label pt-1 text-xs font-light",children:"\xa0"})]})})}),(0,s.jsx)("div",{ref:function(e){u.current[1]=e},className:"min-w-[53px] opacity-0",children:(0,s.jsx)("button",{className:"relative h-auto w-auto leading-none","data-value":"back","data-ref":"app-call-button",onClick:function(){x("back")},children:(0,s.jsx)(Yg,{})})})]})]})]})})]})})},Vg=function(){return(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M11.9323 5.16349C12.7565 5.16349 13.4246 4.49538 13.4246 3.67122C13.4246 2.84707 12.7565 2.17896 11.9323 2.17896C11.1082 2.17896 10.4401 2.84707 10.4401 3.67122C10.4401 4.49538 11.1082 5.16349 11.9323 5.16349ZM6.41127 5.16349C7.23543 5.16349 7.90354 4.49538 7.90354 3.67122C7.90354 2.84707 7.23543 2.17896 6.41127 2.17896C5.58712 2.17896 4.919 2.84707 4.919 3.67122C4.919 4.49538 5.58712 5.16349 6.41127 5.16349ZM17.4513 5.16349C18.2784 5.16349 18.9489 4.49538 18.9489 3.67122C18.9489 2.84707 18.2784 2.17896 17.4513 2.17896C16.6242 2.17896 15.9537 2.84707 15.9537 3.67122C15.9537 4.49538 16.6242 5.16349 17.4513 5.16349ZM11.9323 10.6622C12.7606 10.6622 13.4321 9.99404 13.4321 9.16989C13.4321 8.34573 12.7606 7.67762 11.9323 7.67762C11.1041 7.67762 10.4326 8.34573 10.4326 9.16989C10.4326 9.99404 11.1041 10.6622 11.9323 10.6622ZM6.41127 10.6622C7.23543 10.6622 7.90354 9.99404 7.90354 9.16989C7.90354 8.34573 7.23543 7.67762 6.41127 7.67762C5.58712 7.67762 4.919 8.34573 4.919 9.16989C4.919 9.99404 5.58712 10.6622 6.41127 10.6622ZM17.4513 10.6622C18.2754 10.6622 18.9435 9.99404 18.9435 9.16989C18.9435 8.34573 18.2754 7.67762 17.4513 7.67762C16.6271 7.67762 15.959 8.34573 15.959 9.16989C15.959 9.99404 16.6271 10.6622 17.4513 10.6622ZM11.9323 13.4046C11.1057 13.4046 10.4326 14.0744 10.4326 14.8979C10.4326 15.7203 11.1057 16.387 11.9323 16.387C12.7569 16.387 13.4299 15.7171 13.4299 14.8979C13.4321 14.0744 12.7569 13.4046 11.9323 13.4046ZM11.9323 18.9054C11.1057 18.9054 10.4326 19.5752 10.4326 20.3987C10.4326 21.2211 11.1057 21.8878 11.9323 21.8878C12.7569 21.8878 13.4278 21.219 13.4278 20.3987C13.4299 19.5742 12.7569 18.9054 11.9323 18.9054ZM6.41127 16.3902C7.23602 16.3902 7.9046 15.7216 7.9046 14.8968C7.9046 14.0721 7.23602 13.4035 6.41127 13.4035C5.58653 13.4035 4.91794 14.0721 4.91794 14.8968C4.91794 15.7216 5.58653 16.3902 6.41127 16.3902ZM17.4513 16.3902C18.276 16.3902 18.9446 15.7216 18.9446 14.8968C18.9446 14.0721 18.276 13.4035 17.4513 13.4035C16.6265 13.4035 15.9579 14.0721 15.9579 14.8968C15.9579 15.7216 16.6265 16.3902 17.4513 16.3902Z",fill:"currentColor"})})},Wg=function(){return(0,s.jsx)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M8.26935 4.13054C8.39435 4.27113 8.5062 4.42288 8.60349 4.5839L10.1988 7.22413C10.5616 7.82454 10.561 8.57219 10.1311 9.20704L9.03371 10.535C9.00173 10.5828 9.00541 10.6719 9.06536 10.7557C9.56388 11.4496 10.2497 12.2529 11.0971 13.1375C12.0078 14.0084 12.8122 14.6932 13.5057 15.19C13.5918 15.2513 13.6826 15.2551 13.6682 15.2694L15.1244 14.08C15.6963 13.698 16.4436 13.6975 17.044 14.0592L19.6043 15.6017C21.0972 16.5011 21.5783 18.4405 20.6789 19.9334C20.6014 20.062 20.5149 20.1849 20.4199 20.3011C19.1572 21.8471 16.5965 22.1928 14.5692 21.2179C13.8007 20.8215 13.2892 20.5466 13.0205 20.3847C11.3483 19.377 9.43885 17.8542 7.90524 16.3117C6.37238 14.7851 4.86657 12.8985 3.86714 11.2447C3.70496 10.9763 3.42965 10.4656 3.02247 9.67802C2.11564 7.79711 2.31415 5.61233 3.60676 4.18983L3.76072 4.0291L3.92447 3.87558C5.19468 2.74618 7.13995 2.86033 8.26935 4.13054ZM4.98763 5.07128C3.98565 5.96218 3.77987 7.56477 4.4536 8.96293C4.83464 9.69929 5.09848 10.1888 5.23651 10.4172C6.16619 11.9555 7.59082 13.7404 9.03709 15.1808C10.4837 16.6358 12.2904 18.0767 13.8463 19.0142C14.0751 19.1521 14.5653 19.4155 15.2826 19.786C16.6677 20.4518 18.4247 20.2146 19.1807 19.289C19.2275 19.2317 19.2702 19.1711 19.3084 19.1077C19.7518 18.3717 19.5146 17.4156 18.7786 16.9722L16.2184 15.4297C16.1372 15.3809 16.0573 15.3809 16.076 15.3638L14.6197 16.5533C14.004 16.9643 13.1911 16.9308 12.5754 16.4916C11.8127 15.9453 10.9527 15.2133 9.96681 14.2695C9.04638 13.3098 8.31317 12.451 7.76498 11.688C7.32563 11.0737 7.29201 10.2605 7.75114 9.58172L8.84867 8.25359C8.87777 8.21014 8.87782 8.13178 8.82937 8.05159L7.23407 5.41135C7.18736 5.33405 7.13366 5.26119 7.07364 5.19369C6.53141 4.58385 5.59747 4.52905 4.98763 5.07128ZM22.7902 5.13333L22.8161 5.13387C22.8325 5.13455 22.8489 5.13588 22.8652 5.13786L22.7902 5.13333C22.8343 5.13333 22.8774 5.13795 22.9189 5.14673C22.9311 5.14936 22.9438 5.15246 22.9564 5.15596C23.0188 5.17326 23.0774 5.20022 23.1302 5.23507C23.1433 5.24364 23.1559 5.25263 23.1682 5.26214C23.1843 5.27465 23.2 5.28805 23.215 5.3022C23.2194 5.30639 23.2236 5.31043 23.2277 5.31453L23.2381 5.32517C23.2555 5.34347 23.2719 5.36285 23.287 5.38318L23.2277 5.31453C23.2565 5.34337 23.2819 5.37436 23.3039 5.40697C23.3172 5.42685 23.3296 5.44781 23.3408 5.46951C23.3507 5.48875 23.3594 5.50812 23.367 5.52781C23.3736 5.54472 23.3795 5.56227 23.3847 5.58015C23.3886 5.59373 23.3921 5.60774 23.3951 5.62184C23.3997 5.64329 23.4032 5.66512 23.4055 5.68729C23.4064 5.6955 23.4071 5.70389 23.4076 5.71229C23.4084 5.72545 23.4089 5.73867 23.4089 5.75198V8.95198C23.4089 9.29365 23.1319 9.57062 22.7902 9.57062C22.4486 9.57062 22.1716 9.29365 22.1716 8.95198L22.1717 7.245L17.5568 11.8603C17.3152 12.1019 16.9235 12.1019 16.6819 11.8603C16.4403 11.6188 16.4403 11.227 16.6819 10.9854L21.2977 6.369L19.5902 6.37062C19.2827 6.37062 19.0276 6.14627 18.9797 5.85233L18.9716 5.75198C18.9716 5.41031 19.2486 5.13333 19.5902 5.13333H22.7902ZM17.8943 3.1812C18.1359 3.42279 18.1359 3.8145 17.8943 4.05609L13.2787 8.671L14.986 8.67092C15.2935 8.67092 15.5486 8.89527 15.5965 9.18922L15.6046 9.28956C15.6046 9.63123 15.3276 9.90821 14.986 9.90821H11.786L11.7473 9.90701C11.7386 9.90646 11.7298 9.90573 11.7211 9.90482L11.786 9.90821C11.7396 9.90821 11.6943 9.9031 11.6508 9.89341C11.6405 9.89105 11.6302 9.88846 11.6199 9.88561C11.597 9.8793 11.5745 9.87159 11.5526 9.86267C11.5391 9.8572 11.5254 9.85106 11.512 9.84441C11.4871 9.83204 11.4634 9.81825 11.4407 9.80299C11.4323 9.79741 11.4238 9.79137 11.4155 9.7851C11.3975 9.77153 11.3805 9.75732 11.3643 9.74225C11.3592 9.73751 11.3538 9.73232 11.3485 9.72701L11.3333 9.71123C11.3182 9.69506 11.304 9.67808 11.2907 9.66037L11.3485 9.72701C11.3197 9.69817 11.2943 9.66719 11.2723 9.63458C11.2545 9.60807 11.2385 9.57985 11.2248 9.55037C11.2196 9.53893 11.216 9.5308 11.2127 9.52261C11.204 9.50112 11.1963 9.47865 11.1899 9.45565C11.1864 9.44308 11.1833 9.43043 11.1807 9.41771C11.177 9.40081 11.1741 9.38312 11.1719 9.36518C11.1699 9.34821 11.1685 9.33184 11.1679 9.31545C11.1675 9.30727 11.1673 9.29844 11.1673 9.28956V6.08957C11.1673 5.7479 11.4443 5.47092 11.786 5.47092C12.1276 5.47092 12.4046 5.7479 12.4046 6.08957L12.4027 7.797L17.0194 3.1812C17.261 2.9396 17.6527 2.9396 17.8943 3.1812Z",fill:"#848487"})})},Xg=function(e){var t=e.active,a=void 0!==t&&t;return(0,s.jsx)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a?(0,s.jsx)("path",{d:"M16.2459 6.9136C16.2459 4.75147 14.4933 3 12.3323 3C10.1723 3 8.41973 4.75147 8.41973 6.9136C8.41973 9.07467 10.1723 10.8261 12.3323 10.8261C14.4933 10.8261 16.2459 9.07467 16.2459 6.9136ZM5 18.1865V19.0824C5 19.6262 5.44083 20.067 5.98462 20.067H18.6821C19.2258 20.067 19.6667 19.6262 19.6667 19.0824V18.1865C19.6667 15.2371 16.3824 12.5011 12.3323 12.5011C8.2832 12.5011 5 15.2371 5 18.1865Z",fill:"currentColor"}):(0,s.jsx)("path",{d:"M12.216 3C14.5377 3 16.4211 4.88295 16.4211 7.20513C16.4211 9.5273 14.5377 11.4103 12.216 11.4103C9.89347 11.4103 8.01084 9.52764 8.01084 7.20513C8.01084 4.88262 9.89347 3 12.216 3ZM12.216 4.47692C10.7091 4.47692 9.48777 5.6983 9.48777 7.20513C9.48777 8.71195 10.7091 9.93333 12.216 9.93333C13.7221 9.93333 14.9442 8.71155 14.9442 7.20513C14.9442 5.69871 13.7221 4.47692 12.216 4.47692ZM12.2154 12.3118C16.4862 12.3118 20.1539 15.2367 20.1539 18.662V19.5323C20.1539 20.4839 19.3825 21.2554 18.4308 21.2554H6.00005C5.04843 21.2554 4.27698 20.4839 4.27698 19.5323V18.662C4.27698 15.237 7.94543 12.3118 12.2154 12.3118ZM12.2154 13.7887C8.69699 13.7887 5.7539 16.1355 5.7539 18.662V19.5323C5.7539 19.6682 5.86411 19.7785 6.00005 19.7785H18.4308C18.5668 19.7785 18.677 19.6682 18.677 19.5323V18.662C18.677 16.1352 15.7346 13.7887 12.2154 13.7887Z",fill:"currentColor"})})},Kg=function(){var e=(0,P.qr)(),t=e.appName,a=e.setAppActiveData,n=e.isAppOpen,r=e.colourPaletteIndex,l=(0,P.q0)().theme,c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)(null),u=(0,i.useRef)(null),p=(0,i.useRef)(null),x=(0,i.useState)("keypad"),f=x[0],m=x[1],h=(0,i.useState)([{text:"PHONE_PHONE-SCREEN_KEYPAD_TEXT",id:"keypad",isEnabled:!0,icon:(0,s.jsx)(Vg,{})},{text:"PHONE_PHONE-SCREEN_RECENTS_TEXT",id:"recents",isEnabled:!1,icon:(0,s.jsx)(Wg,{})},{text:"PHONE_PHONE-SCREEN_CONTACTS_TEXT",id:"contacts",isEnabled:!1,get icon(){return(0,s.jsx)(Xg,{active:this.isEnabled})}}]),A=h[0],E=h[1];return(0,i.useEffect)((function(){var e=c.current,s=o.current,i=d.current,r=u.current;"phone"===t&&n&&a({appContainer:e,appViewContent:i,appViewContainer:s,appViewIcon:r})}),[t,n]),(0,i.useEffect)((function(){c.current.style.display="none"}),[]),(0,s.jsx)("div",{className:"absolute inset-0","data-component":"app-view","data-app-view-name":"phone","data-app-view-is-header-transparent":"true","data-track-title":M.dC.Phone,"data-track-path":"/app/phone",ref:c,children:(0,s.jsx)("div",{className:"c-app-colour-palette absolute inset-0","data-component":"app-themes-changes","data-theme":l,"data-colour":r,children:(0,s.jsx)("div",{className:"c-app-call absolute inset-0","data-component":"app-themes-changes","data-theme":l,children:(0,s.jsx)("div",{className:"absolute inset-0","data-component":"app-call",children:(0,s.jsxs)("div",{className:"c-app-call__content absolute inset-0 overflow-hidden","data-ref":"app-view-container",ref:o,children:[(0,s.jsxs)("div",{className:"gpu absolute inset-0","data-ref":"app-view-content",style:{minWidth:"100vw",minHeight:"100vh"},"data-component":"app-phone",ref:d,children:[(0,s.jsx)("div",{className:"c-app-call__background absolute inset-0 ".concat("keypad"===f?"":"c-app-colour-palette__settings__background"),"data-ref":"app-view-background"}),(0,s.jsx)("div",{className:"absolute inset-0",children:(0,s.jsxs)("div",{className:"relative h-full w-full overflow-x-hidden",children:["keypad"===f&&(0,s.jsx)(Fg,{onDialChange:function(e){var t=p.current;e?(I.ZP.set(t,{pointerEvents:"auto"}),I.ZP.to(t,{opacity:1,duration:.3,ease:"power3.out"})):(I.ZP.set(t,{pointerEvents:"none"}),I.ZP.to(t,{opacity:0,duration:.3,ease:"power3.out"}))}}),"contacts"===f&&(0,s.jsx)(Gg,{}),(0,s.jsx)("div",{ref:p,className:"absolute bottom-[65px] w-full","data-ref":"app-call-bottom-options",children:(0,s.jsx)("div",{className:"flex-no-wrap flex px-4",children:A.map((function(e,t){return(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)(vg,{data:e,onClick:function(e){if("keypad"===e||"contacts"===e){var t=(0,G.Z)(A);t.map((function(t){t.isEnabled=t.id===e})),E(t),m(e),(0,V.Kq)("/app/phone/".concat(e),M.dC.Phone)}},icon:e.icon})},t)}))})})]})})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0",children:(0,s.jsx)("button",{className:"gpu absolute left-0 top-0","data-ref":"app-view-icon",ref:u,children:(0,s.jsx)("div",{className:"max-w-icon overflow-hidden rounded-3xl",children:(0,s.jsx)("img",{src:D("icons/app-call.png"),"data-component":"app-themes-changes",className:"",alt:""})})})}),"phone"===t&&(0,s.jsx)(xg,{wrapperRef:d})]})})})})})},Qg=function(){return(0,s.jsx)(ag,{children:(0,s.jsx)(Kg,{})})},zg=i.createContext(null),qg=function(e){var t=e.children,a=(0,P.qr)().resetBackButtonStack,n=(0,P.fv)(),r=n.navigationData,l=n.resetNavigationData,c=_r("kids").setLocalBackButtonStack,o=(0,pe.Z)(wr("Home"),2),d=o[0],u=o[1],p={screen:d,setScreen:u,pinPanelAutoCloseApp:!0};return(0,i.useEffect)((function(){var e=r.appName,t=r.path,a=r.shouldResetScreen;if("kids"===e){if(a)t.split("/").length>1||(u("Home"),c([]));l()}}),[r,u,a]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(zg.Provider,{value:p,children:t})})},Jg=function(e){var t=e.wrapperRef,a=e.componentRef,n=e.itemRef,r=e.screenName,l=e.children,c=(0,P.UN)().setHomeButtonEventRef,o=(0,i.useContext)(zg),d=o.screen,u=o.setScreen,p=Vf(t,a,n,(function(){u("Home")})),x=p.open,f=p.close,m=it((function(){f()}),[f]);return(0,i.useEffect)((function(){d.current===r&&"Home"===d.prev&&((0,V.Kq)("/app/kids/".concat(Ye()(r).toLowerCase()),M.dC.Kids),x(),c(m))}),[d]),(0,s.jsx)(s.Fragment,{children:l})},$g="/_next/static/media/details-background.6754c505.jpg",ev="/_next/static/media/details-footer.33057184.png",tv="/_next/static/media/message-1.c3724653.png",av="/_next/static/media/message-2.9286c1b7.png",sv=function(e){var t=e.wrapperRef,a=e.componentRef,n=(0,i.useContext)(zg).screen,r=(0,i.useRef)(null),l=(0,i.useRef)(null),c=(0,i.useRef)(null),o=(0,i.useRef)(null);return(0,i.useEffect)((function(){"Croco"===n.current&&"Home"===n.prev&&function(){var e=l.current,t=c.current,a=o.current;I.ZP.killTweensOf([e,t,a]),I.ZP.fromTo(e,{scale:0,rotation:-45,transformOrigin:"right bottom"},{scale:1,rotation:0,duration:2,ease:"elastic.out",delay:.6}),I.ZP.fromTo(t,{scale:0,rotation:-45,transformOrigin:"right bottom"},{scale:1,rotation:0,duration:2,ease:"elastic.out",delay:.8}),I.ZP.fromTo(a,{scale:0},{scale:1,rotation:0,duration:2,ease:"bounce.out",delay:.9})}()}),[n]),(0,s.jsx)(Jg,{itemRef:r,screenName:"Croco",wrapperRef:t,componentRef:a,children:(0,s.jsx)("div",{className:"gpu absolute inset-0 hidden bg-primary-gray-100",ref:r,children:(0,s.jsxs)("div",{className:"absolute inset-0 flex h-[calc(100%-80px)] items-center justify-center bg-cover bg-center",style:{backgroundImage:"url(".concat($g,")")},children:[(0,s.jsx)("div",{className:"absolute bottom-0 left-0 left-[16%] top-[13%]",children:(0,s.jsxs)("div",{className:"relative","data-ref":"app-kids-details-item-text-1",ref:l,children:[(0,s.jsx)("img",{src:tv,className:"w-[180px]",alt:""}),(0,s.jsx)("p",{className:"absolute left-0 top-0 flex h-full w-full items-center justify-center whitespace-pre-line pb-6 pr-8 pl-4 font-sans text-base text-[#4968A9]",children:g.t["SAMSUNG-KIDS-CROCOS-FRIENDS-VILLAGE_TEXT-1"]})]})}),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 left-[11%] top-[53%]",children:(0,s.jsxs)("div",{className:"relative","data-ref":"app-kids-details-item-text-2",ref:c,children:[(0,s.jsx)("img",{src:av,className:"w-[180px]",alt:""}),(0,s.jsx)("p",{className:"absolute left-0 top-0 flex h-full w-full items-center justify-center whitespace-pre-line pb-6 pr-8 pl-4 font-sans text-sm text-[#89500A]",children:g.t["SAMSUNG-KIDS-CROCOS-FRIENDS-VILLAGE_TEXT-2"]})]})}),(0,s.jsx)("div",{className:"absolute bottom-0 bottom-[10px] left-0 left-[10px]",children:(0,s.jsx)("img",{src:ev,className:"w-[70px]","data-ref":"app-kids-details-item-footer",alt:"",ref:o})})]})})})},iv="/_next/static/media/details-background.2bf8024e.jpg",nv=H()(Object.values({kr:"kr:font-medium"})),rv=function(e){var t=e.wrapperRef,a=e.componentRef,n=(0,i.useRef)(null);return(0,s.jsx)(Jg,{itemRef:n,screenName:"Bobby",wrapperRef:t,componentRef:a,children:(0,s.jsx)("div",{className:"gpu absolute inset-0 hidden bg-primary-gray-100",ref:n,children:(0,s.jsx)("div",{className:"absolute inset-0 flex h-[calc(100%-80px)] items-center justify-center bg-cover bg-center",style:{backgroundImage:"url(".concat(iv,")")},children:(0,s.jsx)("div",{className:"absolute left-0 right-0 top-[12%]",children:(0,s.jsx)("div",{className:"mb-6 px-6 text-lg text-primary-gray-360",children:(0,s.jsx)("p",{className:H()("text-center text-primary-pink-200 ltr:font-sans rtl:font-sansAr",nv),children:g.t["SAMSUNG-KIDS_BOBBYS-CANVAS-LANDING-PAGE_ART-ACTIVITIES_TEXT"]})})})})})})},lv="/_next/static/media/background.976b6e07.jpg",cv=H()(Object.values({br:"br:px-1 br:whitespace-pre-line",eslatam:"eslatam:px-1",es:"es:px-1",de:"de:px-1",cz:"cz:px-1",hr:"hr:px-1 hr:whitespace-pre-line",gr:"gr:px-1 gr:whitespace-pre-line",ru:"ru:px-1",ca:"ca:px-1 ca:foldCover:text-base"})),ov=function(e){var t=e.wrapperRef,a=e.componentRef,n=(0,i.useRef)(null);return(0,s.jsx)(Jg,{itemRef:n,screenName:"CrocrosAdventure",wrapperRef:t,componentRef:a,children:(0,s.jsxs)("div",{className:"gpu absolute inset-0 hidden bg-primary-gray-100","data-ref":"app-kids-details-item",ref:n,children:[(0,s.jsx)("img",{src:lv,className:"absolute inset-0 flex h-full w-full items-center justify-center bg-cover bg-center",alt:""}),(0,s.jsxs)("div",{className:H()("absolute inset-x-0 top-1/3 mx-auto text-center text-lg font-normal not-italic leading-[30px] tracking-[-0.65px] text-white ltr:font-sans rtl:font-sansAr",cv),style:{textShadow:"0px 5px 5px rgba(0, 0, 0, 0.15)"},children:[g.t["SAMSUNG-KIDS_CROCROS-ADVENTURE_TEXT-1"],(0,s.jsx)(sa.Z,{languages:["hr"],children:(0,s.jsx)("br",{})}),g.t["SAMSUNG-KIDS_CROCROS-ADVENTURE_TEXT-2"]]})]})})},dv="/_next/static/media/details-background.ae3e549d.jpg",uv=H()(Object.values({kr:"kr:font-medium"})),pv=function(e){var t=e.wrapperRef,a=e.componentRef,n=(0,i.useRef)(null);return(0,s.jsx)(Jg,{itemRef:n,screenName:"Lisa",wrapperRef:t,componentRef:a,children:(0,s.jsx)("div",{className:"gpu absolute inset-0 hidden bg-primary-gray-100",ref:n,children:(0,s.jsx)("div",{className:"absolute inset-0 flex h-[calc(100%-80px)] items-center justify-center bg-cover bg-center",style:{backgroundImage:"url(".concat(dv,")")},children:(0,s.jsx)("div",{className:"absolute left-0 right-0 top-3/4 flex h-1/4 items-center justify-center",children:(0,s.jsx)("div",{className:"mb-6 px-6 text-lg text-primary-gray-360",children:(0,s.jsx)("p",{className:H()("text-primary-turquise-200 ltr:font-sans rtl:font-sansAr",uv),children:g.t["SAMSUNG-KIDS_LISAS-MUSIC-BAND-LANDING-PAGE_EXPLORE-INSTRUMENTS_TEXT"]})})})})})})},xv="/_next/static/media/details-background.db5a06b4.jpg",fv=H()(Object.values({kr:"kr:font-medium",jp:"jp:text-sm jp:tracking-[.06em]",th:"th:whitespace-pre-line"})),mv=function(e){var t=e.wrapperRef,a=e.componentRef,n=(0,i.useRef)(null);return(0,s.jsx)(Jg,{itemRef:n,screenName:"MagicVoice",wrapperRef:t,componentRef:a,children:(0,s.jsx)("div",{className:"gpu absolute inset-0 hidden bg-primary-gray-100","data-ref":"app-kids-details-item",ref:n,children:(0,s.jsx)("div",{className:"absolute inset-0 flex h-[calc(100%-80px)] items-center justify-center bg-cover bg-center","data-loader":"image",style:{backgroundImage:'url("'.concat(xv,'")')},children:(0,s.jsx)("div",{className:"absolute left-0 right-0 top-1/2 flex h-1/2 items-center justify-center",children:(0,s.jsx)("div",{className:"mb-6 px-6 text-lg text-primary-gray-360",children:(0,s.jsx)("p",{className:H()("text-primary-yellow-200 ltr:font-sans rtl:font-sansAr",fv),children:g.t["SAMSUNG-KIDS_MY-MAGIC-VOICE-LANDING-PAGE_SING-ALONG_TEXT"]})})})})})})},hv="/_next/static/media/details-footer.68d6b267.jpg",Av="/_next/static/media/ae-details-footer.43e505b2.jpg",Ev="/_next/static/media/my-browser-background.d3da2f1a.png",gv="/_next/static/media/dogo-news.a040a11d.png",vv="/_next/static/media/dogo-movies.0858088b.png",Cv="/_next/static/media/dogo-books.7f652a22.png",jv="/_next/static/media/new-website.700be1bb.png",Nv={de:"de:xxs:px-1",vn:"vn:xxs:px-4"},Tv={jp:"jp:text-sm jp:tracking-[.06em]",kr:"kr:font-medium"},wv={gr:"gr:font-greekFonts"},_v=H()(Object.values(Nv)),bv=H()(Object.values(Tv)),Sv=H()(Object.values(wv)),yv=function(e){var t=e.wrapperRef,a=e.componentRef,n=(0,i.useRef)(null),r=[{id:"dogo-news",title:g.t["SAMSUNG-KIDS_MY-BROWSER-LANDING-PAGE_DOGO-NEWS"],icon:gv},{id:"dogo-movies",title:g.t["SAMSUNG-KIDS_MY-BROWSER-LANDING-PAGE_DOGO-MOVIES"],icon:vv},{id:"dogo-books",title:g.t["SAMSUNG-KIDS_MY-BROWSER-LANDING-PAGE_DOGO-BOOKS"],icon:Cv},{id:"new-websites",title:g.t["SAMSUNG-KIDS_MY-BROWSER-LANDING-PAGE_NEW-WEBSITE"],icon:jv}];return(0,s.jsx)(Jg,{itemRef:n,screenName:"Browser",wrapperRef:t,componentRef:a,children:(0,s.jsx)("div",{className:"gpu absolute inset-0 hidden bg-primary-gray-100 ltr:font-sans rtl:font-sansAr","data-ref":"app-kids-details-item",ref:n,children:(0,s.jsxs)("div",{className:H()("absolute inset-0 flex h-[calc(100%-80px)] justify-center bg-cover bg-center",Sv),"data-loader":"image",style:{backgroundImage:'url("'.concat(Ev,'")'),backgroundPositionY:"top"},children:[(0,s.jsxs)("div",{className:"relative top-[20%] flex w-full max-w-[330px] flex-col gap-7 px-3",children:[(0,s.jsx)("div",{className:"grid grid-cols-3 gap-6",children:r.map((function(e){return(0,s.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,s.jsx)("img",{src:e.icon,alt:e.title,className:"max-w-[58px]"}),(0,s.jsx)("p",{className:"text-[11px] text-white",children:e.title})]},e.id)}))}),(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)("div",{className:H()("my-10",_v),children:(0,s.jsxs)("p",{className:H()("text-center text-[17px] font-normal not-italic leading-6 text-white",bv),children:[g.t["SAMSUNG-KIDS_MY-BROWSER-LANDING-PAGE_APPROVE-SITES_TEXT-1"],(0,s.jsx)("br",{}),g.t["SAMSUNG-KIDS_MY-BROWSER-LANDING-PAGE_APPROVE-SITES_TEXT-2"]]})})})]}),(0,s.jsxs)("div",{className:"absolute bottom-0 left-0 right-0",children:[(0,s.jsx)(sa.Z,{languages:["ae"],children:(0,s.jsx)("img",{"data-loader":"image","data-src":hv,className:"w-full",src:hv,alt:""})}),(0,s.jsx)(aa.Z,{languages:["ae"],children:(0,s.jsx)("img",{"data-loader":"image","data-src":Av,className:"w-full",src:Av,alt:""})})]})]})})})},Rv="/_next/static/media/details-background.25f7ebff.jpg",Lv="/_next/static/media/details-item-1.e1936b95.png",Iv="/_next/static/media/details-item-2.63603d08.png",Pv=H()(Object.values({kr:"kr:font-medium"})),Ov=function(e){var t=e.wrapperRef,a=e.componentRef,n=(0,i.useRef)(null);return(0,s.jsx)(Jg,{itemRef:n,screenName:"ArtStudio",wrapperRef:t,componentRef:a,children:(0,s.jsx)("div",{className:"gpu absolute inset-0 hidden bg-primary-gray-100","data-ref":"app-kids-details-item",ref:n,children:(0,s.jsxs)("div",{className:"absolute inset-0 flex h-[calc(100%-80px)] items-center justify-center bg-cover bg-center","data-loader":"image","data-src":Rv,style:{backgroundImage:'url("'.concat(Rv,'")')},children:[(0,s.jsx)("div",{className:"absolute inset-0 items-center",children:(0,s.jsxs)("div",{className:"relative w-full px-8 text-center font-body text-sm text-white",children:[(0,s.jsx)("div",{className:"relative w-full",style:{height:60}}),(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("img",{"data-loader":"image","data-src":Lv,className:"inline-block max-w-65 xs:max-w-75",src:Lv,alt:""})}),(0,s.jsx)("div",{className:"text-shadow relative mt-2 w-full",children:g.t["SAMSUNG-KIDS_MY-ART-STUDIO_DRAWER-MAKER_TEXT"]}),(0,s.jsx)("div",{className:"relative mt-2 w-full",children:(0,s.jsx)("img",{"data-loader":"image","data-src":Iv,className:"inline-block max-w-65 xs:max-w-75",src:Iv,alt:""})}),(0,s.jsx)("div",{className:"text-shadow relative mt-2 w-full",children:g.t["SAMSUNG-KIDS_MY-ART-STUDIO_STICKER-MAKER_TEXT"]})]})}),(0,s.jsx)("div",{className:"absolute top-3/4 flex h-1/4 items-center justify-center xs:top-1/2 xs:h-1/2",children:(0,s.jsx)("div",{className:"mb-6 px-6 text-lg text-primary-gray-360",children:(0,s.jsxs)("p",{className:H()("text-primary-turquise-100",Pv),children:[g.t["SAMSUNG-KIDS_MY-ART-STUDIO_DRAW_MASTERPIECES_TEXT-1"],(0,s.jsx)("br",{}),g.t["SAMSUNG-KIDS_MY-ART-STUDIO_DRAW_MASTERPIECES_TEXT-2"]]})})})]})})})},Mv="/_next/static/media/details-icon.c66650e5.png",Dv="/_next/static/media/details-phone.4448fc43.png",Gv=H()(Object.values({kr:"kr:whitespace-pre-line kr:font-medium"})),kv=function(e){var t=e.wrapperRef,a=e.componentRef,n=(0,i.useRef)(null);return(0,s.jsx)(Jg,{itemRef:n,screenName:"Phone",wrapperRef:t,componentRef:a,children:(0,s.jsxs)("div",{className:"gpu absolute inset-0 hidden bg-primary-gray-104","data-ref":"app-kids-details-item",ref:n,children:[(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",style:{height:"85%"},children:(0,s.jsxs)("div",{className:"relative px-6",children:[(0,s.jsx)("div",{className:"mb-6 text-sm",children:(0,s.jsx)("img",{"data-loader":"image","data-src":Mv,className:"inline-block w-1/2",src:Mv,alt:""})}),(0,s.jsx)("div",{className:H()("mb-6 text-lg text-primary-gray-360 ltr:font-sans rtl:font-sansAr",Gv),children:(0,s.jsx)("p",{children:g.t["SAMSUNG-KIDS_MY-PHONE-LANDING-PAGE_APPROVED-NUMBERS_TEXT-1"]})})]})}),(0,s.jsx)("div",{className:"absolute left-0 right-0",style:{bottom:100},children:(0,s.jsx)("img",{"data-loader":"image","data-src":Dv,className:"inline-block h-auto",style:{width:75},src:Dv,alt:""})})]})})},Hv="/_next/static/media/details-icon.0290ab1f.jpg",Bv=H()(Object.values({kr:"kr:font-medium"})),Uv=function(e){var t=e.wrapperRef,a=e.componentRef,n=(0,i.useRef)(null);return(0,s.jsx)(Jg,{itemRef:n,screenName:"Camera",wrapperRef:t,componentRef:a,children:(0,s.jsx)("div",{className:"gpu absolute inset-0 hidden bg-primary-gray-100","data-ref":"app-kids-details-item",ref:n,children:(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",style:{height:"85%"},children:(0,s.jsxs)("div",{className:"relative px-6",children:[(0,s.jsx)("div",{className:"mb-6 text-sm",children:(0,s.jsx)("img",{"data-loader":"image","data-src":Hv,className:"inline-block w-1/2 border-4 border-white",src:Hv,alt:""})}),(0,s.jsx)("div",{className:H()("mb-6 text-lg text-primary-gray-360 ltr:font-sans rtl:font-sansAr",Bv),children:(0,s.jsx)("p",{children:g.t["SAMSUNG-KIDS_MY-CAMERA-LANDING-PAGE_SIMPLE-CAMERA_TEXT-1"]})})]})})})})},Zv="/_next/static/media/details-icon.d9c0e5a4.png",Yv="/_next/static/media/details-header.2c112a55.jpg",Fv="/_next/static/media/ae-details-header.f9587260.jpg",Vv=H()(Object.values({kr:"kr:font-medium"})),Wv=function(e){var t=e.wrapperRef,a=e.componentRef,n=(0,i.useRef)(null);return(0,s.jsx)(Jg,{itemRef:n,screenName:"Gallery",wrapperRef:t,componentRef:a,children:(0,s.jsxs)("div",{className:"gpu absolute inset-0 hidden bg-primary-gray-100","data-ref":"app-kids-details-item",ref:n,children:[(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",style:{height:"85%"},children:(0,s.jsxs)("div",{className:"relative px-6",children:[(0,s.jsx)("div",{className:"mb-6 text-sm",children:(0,s.jsx)("img",{"data-loader":"image","data-src":Zv,className:"inline-block w-1/2",src:Zv,alt:""})}),(0,s.jsx)("div",{className:H()("mb-6 text-lg text-primary-gray-360 ltr:font-sans rtl:font-sansAr",Vv),children:(0,s.jsx)("p",{children:g.t["SAMSUNG-KIDS_MY-GALLERY-LANDING-PAGE_SEE-THEIR-PHOTOS_TEXT-1"]})})]})}),(0,s.jsxs)("div",{className:"absolute left-0 right-0",style:{top:40},children:[(0,s.jsx)(sa.Z,{languages:["ae"],children:(0,s.jsx)("img",{"data-loader":"image","data-src":Yv,className:"inline-block w-full",src:Yv,alt:""})}),(0,s.jsx)(aa.Z,{languages:["ae"],children:(0,s.jsx)("img",{"data-loader":"image","data-src":Fv,className:"inline-block w-full",src:Fv,alt:""})})]}),(0,s.jsx)("div",{className:"absolute left-0 right-0",style:{bottom:100},children:(0,s.jsxs)("div",{className:"flex-column flex justify-around",children:[(0,s.jsxs)("div",{className:"text-[15px] font-semibold leading-[17px] text-[#252525] ltr:font-sans rtl:font-sansAr",children:[g.t["SAMSUNG-KIDS_MY-GALLERY-LANDING-PAGE_PICTURES"],(0,s.jsx)("div",{className:"mt-0.5 rounded-xl border-b-[3px] border-solid border-black"})]}),(0,s.jsx)("div",{className:"text-[15px] leading-[17px] text-[#858585] ltr:font-sans rtl:font-sansAr",children:g.t["SAMSUNG-KIDS_MY-GALLERY-LANDING-PAGE_ALBUMS"]})]})})]})})},Xv=function(e){var t=e.wrapperRef,a=(0,i.useRef)(null);return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"gpu absolute inset-0 z-30 hidden overflow-hidden text-center ltr:font-title rtl:font-titleAr","data-component":"app-kids-details",ref:a,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-100"}),(0,s.jsx)(sv,{wrapperRef:t,componentRef:a}),(0,s.jsx)(rv,{wrapperRef:t,componentRef:a}),(0,s.jsx)(pv,{wrapperRef:t,componentRef:a}),(0,s.jsx)(ov,{wrapperRef:t,componentRef:a}),(0,s.jsx)(mv,{wrapperRef:t,componentRef:a}),(0,s.jsx)(yv,{wrapperRef:t,componentRef:a}),(0,s.jsx)(Ov,{wrapperRef:t,componentRef:a}),(0,s.jsx)(kv,{wrapperRef:t,componentRef:a}),(0,s.jsx)(Uv,{wrapperRef:t,componentRef:a}),(0,s.jsx)(Wv,{wrapperRef:t,componentRef:a})]})})},Kv="/_next/static/media/icon-padlock.366bcf8a.png",Qv="/_next/static/media/icon-back.ce8bee4e.png",zv=function(e){var t=e.children,a=e.className;return(0,s.jsx)("div",{className:a,children:(0,s.jsxs)("button",{className:"relative",children:[(0,s.jsx)("div",{className:H()("absolute bottom-0 top-1/2 h-[60px] w-[60px] -translate-y-1/2 overflow-hidden rounded-full","ltr:left-1/2 ltr:right-0 ltr:-translate-x-1/2","rtl:right-1/2 rtl:left-0 rtl:translate-x-1/2"),"data-ref":"app-call-button-background",children:(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0",children:(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 bg-black opacity-10"})})}),(0,s.jsx)("div",{className:"relative flex flex-col items-center",children:(0,s.jsx)("div",{className:"text-2xl leading-7",children:t})})]})})},qv={kr:"kr:font-medium",nl:"nl:whitespace-pre"},Jv={nl:"nl:whitespace-normal"},$v=H()(Object.values(qv)),eC=H()(Object.values(Jv)),tC=function(){var e=(0,P.UN)().setHomeButtonEventRef,t=(0,P.qr)(),a=t.setIsAppOpen,n=t.setBackButtonStack,r=t.appName,l=(0,i.useContext)(zg),c=l.screen,o=l.pinPanelAutoCloseApp,d=(0,i.useState)(""),u=d[0],p=d[1],x=(0,i.useRef)({animation:{value:0},value:0,max:4}),f=(0,i.useRef)(null),m=(0,i.useRef)(null),h=(0,i.useRef)(null),A=(0,i.useRef)(null),E=function(){var e=x.current,t="",a=Math.round(e.value);if(0!==a)for(var s=0;s<a;s++)t+="\xb7";else t="\xa0";p(t)};return(0,i.useEffect)((function(){"Pin"===c.current&&(!function(){var e=f.current,t=m.current,s=h.current,i=A.current,n=x.current;n.value=0,E(),I.ZP.killTweensOf([e,t,s,i,n,n.animation]),I.ZP.set(e,{display:"block",y:0,opacity:1}),I.ZP.set(t,{pointerEvents:"auto"}),I.ZP.fromTo(s,{opacity:0},{opacity:1,duration:.4,ease:"power2.out"}),I.ZP.fromTo(t,{y:150,opacity:1},{y:0,duration:.4,ease:"power2.out"}),I.ZP.fromTo(n,{value:0},{value:n.max,duration:1,ease:"steps (".concat(n.max,")"),delay:.6,onUpdate:E}),I.ZP.fromTo(i,{opacity:0},{opacity:1,duration:.4,ease:"power2.out",delay:1}),o&&I.ZP.fromTo(n.animation,{value:0},{value:1,duration:8,onComplete:function(){"kids"===r&&"kids"===r&&a(!1)}})}(),e(null),n([]))}),[c,r]),(0,i.useEffect)((function(){"Home"===c.current&&"Pin"===c.prev&&function(){var e=f.current,t=m.current,a=h.current,s=A.current,i=x.current;I.ZP.killTweensOf([e,t,a,t,s,i,i.animation]),I.ZP.set(t,{pointerEvents:"none"}),I.ZP.to(a,{opacity:0,duration:.4,ease:"power3.inOut"}),I.ZP.to(t,{y:150,opacity:0,duration:.4,ease:"power3.inOut",onComplete:function(){I.ZP.set(e,{display:"none"})}})}()}),[c]),(0,s.jsxs)("div",{className:"gpu absolute inset-0 z-30 hidden","data-ref":"app-kids-pin-panel",ref:f,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-black","data-ref":"app-kids-pin-panel-background",ref:h}),(0,s.jsx)("div",{className:"gpu absolute inset-0 flex items-end justify-center bg-primary-gray-100","data-ref":"app-kids-pin-panel-container",ref:m,children:(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsxs)("div",{className:"relative w-full px-6 py-8 text-center",children:[(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("img",{src:Kv,className:"inline-block h-[12vh] max-h-[103px]","data-ref":"app-kids-crocos-hand",alt:""})}),(0,s.jsx)("div",{className:"pt-4 text-xl leading-normal",children:g.t["SAMSUNG-KIDS_LEAVE-KIDS-SCREEN_ENTER-YOUR-PIN_TEXT"]}),(0,s.jsx)("div",{className:"mb-1 h-6 text-black",children:(0,s.jsx)("div",{className:"w-full text-7xl leading-7","data-ref":"app-kids-pin-panel-field","data-app-kids-pin-panel-field-text":"\xb7",children:u})}),(0,s.jsx)("div",{className:"relative w-full pt-2","data-ref":"app-kids-pin-panel-button-confirm",children:(0,s.jsxs)("div",{className:"relative mx-auto max-w-[200px] font-mono",children:[(0,s.jsxs)("div",{className:"mx-auto flex w-full flex-nowrap items-center justify-between py-5",children:[(0,s.jsx)(zv,{children:g.t.GENERIC_NUMBER_1}),(0,s.jsx)(zv,{children:g.t.GENERIC_NUMBER_2}),(0,s.jsx)(zv,{children:g.t.GENERIC_NUMBER_3})]}),(0,s.jsxs)("div",{className:"mx-auto flex w-full flex-nowrap items-center justify-between py-5",children:[(0,s.jsx)(zv,{children:g.t.GENERIC_NUMBER_4}),(0,s.jsx)(zv,{children:g.t.GENERIC_NUMBER_5}),(0,s.jsx)(zv,{children:g.t.GENERIC_NUMBER_6})]}),(0,s.jsxs)("div",{className:"mx-auto flex w-full flex-nowrap items-center justify-between py-5",children:[(0,s.jsx)(zv,{children:g.t.GENERIC_NUMBER_7}),(0,s.jsx)(zv,{children:g.t.GENERIC_NUMBER_8}),(0,s.jsx)(zv,{children:g.t.GENERIC_NUMBER_9})]}),(0,s.jsxs)("div",{className:"mx-auto flex w-full flex-nowrap items-center justify-between py-5",children:[(0,s.jsx)("div",{className:"relative flex w-full items-center justify-center",children:(0,s.jsx)("img",{src:Qv,className:"absolute h-auto w-[28px] transform ltr:-left-1/2 ltr:ml-1 ltr:translate-x-1/2 rtl:-right-1/2 rtl:mr-1 rtl:-translate-x-1/2",alt:""})}),(0,s.jsx)(zv,{className:"w-full",children:g.t.GENERIC_NUMBER_0}),(0,s.jsx)("div",{className:"flex w-full items-center justify-center"})]})]})}),(0,s.jsx)("div",{className:"relative w-full pt-2 text-sm ltr:font-title rtl:font-titleAr xs:text-base",children:(0,s.jsxs)("div",{className:H()("inline-block max-w-[300px] pb-14 ltr:font-sans rtl:font-sansAr",$v),"data-ref":"app-kids-pin-panel-status",ref:A,children:[(0,s.jsxs)(aa.Z,{languages:["jp"],children:[g.t["SAMSUNG-KIDS_LEAVE-KIDS-SCREEN_PASSCODE_DONT-WORRY-TEXT"],g.t["SAMSUNG-KIDS_LEAVE-KIDS-SCREEN_PASSCODE_TEXT"]]}),(0,s.jsxs)(sa.Z,{languages:["jp"],children:[g.t["SAMSUNG-KIDS_LEAVE-KIDS-SCREEN_PASSCODE_DONT-WORRY-TEXT"],(0,s.jsx)("p",{className:H()(eC),children:g.t["SAMSUNG-KIDS_LEAVE-KIDS-SCREEN_PASSCODE_TEXT"]})]})]})}),(0,s.jsx)("div",{className:"relative hidden w-full",children:(0,s.jsxs)("div",{className:"flex-no-wrap relative mt-6 flex w-full",children:[(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("button",{className:"relative w-full py-6 text-xl font-medium leading-none text-primary-blue-400","data-ref":"app-kids-pin-panel-button-cancel",children:g.t["SAMSUNG-KIDS_LEAVE-KIDS-SCREEN_ENTER-YOUR-PIN_CANCEL"]})}),(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("button",{className:"relative w-full py-6 text-xl font-medium leading-none text-primary-blue-400","data-ref":"app-kids-pin-panel-button-confirm",children:g.t["SAMSUNG-KIDS_LEAVE-KIDS-SCREEN_ENTER-YOUR-PIN_CONTINUE"]})})]})})]})})})]})},aC="/_next/static/media/icon-pagination-extra.ee8cc80d.png",sC="/_next/static/media/page_indicator.3c3093fd.png",iC="/_next/static/media/app-call.470b4af0.png",nC="/_next/static/media/app-camera.bb034c01.png",rC="/_next/static/media/app-gallery.7edf40e7.png",lC=[{id:"Croco",imageSrc:"/_next/static/media/app-crocros-friends-village.ca690476.png",text:"SAMSUNG-KIDS_SAMSUNG-KIDS-LANDING-PAGE_CROCOS-FRIENDS-VILLAGE_APP-TITLE"},{id:"Bobby",imageSrc:"/_next/static/media/app-bobbys-canvas.b2d9b0fc.png",text:"SAMSUNG-KIDS_SAMSUNG-KIDS-LANDING-PAGE_BOBBYS-CANVAS_APP-TITLE"},{id:"Lisa",imageSrc:"/_next/static/media/app-lisas-music-band.6722e534.png",text:"SAMSUNG-KIDS_SAMSUNG-KIDS-LANDING-PAGE_LISAS-MUSIC-BAND_APP-TITLE"},{id:"MagicVoice",imageSrc:"/_next/static/media/app-my-magic-voice.25aeff11.png",text:"SAMSUNG-KIDS_SAMSUNG-KIDS-LANDING-PAGE_MY-MAGIC-VOICE_APP-TITLE"},{id:"CrocrosAdventure",imageSrc:"/_next/static/media/app-crocros-adventure.69d0fde0.png",text:"SAMSUNG-KIDS_SAMSUNG-KIDS-LANDING-PAGE_CROCROS-ADVENTURE_APP-TITLE"},{id:"Browser",imageSrc:"/_next/static/media/app-my-browser.4b326006.png",text:"SAMSUNG-KIDS_SAMSUNG-KIDS-LANDING-PAGE_MY-BROWSER_APP-TITLE"}],cC={jp:"jp:whitespace-pre jp:text-xs",kr:"kr:whitespace-pre-line",vn:"vn:max-w-icon-kids-xs",ca:"ca:text-xs",fr:"fr:xmd:text-xs fr:xsm:text-xs",gr:"gr:text-xs",lt:"lt:text-xs"},oC={kr:"kr:font-medium"},dC=H()(Object.values(cC)),uC=H()(Object.values(oC)),pC=function(e){var t=e.wrapperRef,a=(0,P.UN)().setHomeButtonEventRef,n=(0,P.qr)(),r=n.backButtonStack,l=n.setBackButtonStack,c=(0,P.qr)(),o=c.appName,d=c.isAppOpen,u=(0,i.useState)(!0)[0],p=(0,i.useRef)(null),x=(0,i.useRef)(null),f=(0,i.useContext)(zg),m=f.screen,h=f.setScreen,A=it((function(){h("Pin")}),[h]);(0,i.useEffect)((function(){if("kids"===o){var e=p.current,t=x.current;return I.ZP.set([e,t],{opacity:0}),I.ZP.to(e,{opacity:1,duration:.6,ease:"power3.out",delay:.6}),I.ZP.to(e,{opacity:0,duration:.6,ease:"power3.out",delay:5,onComplete:function(){I.ZP.fromTo(t,{opacity:0},{opacity:1,duration:.6,ease:"power3.out",delay:0}),I.ZP.to(t,{opacity:0,duration:.6,ease:"power3.out",delay:4})}}),function(){I.ZP.killTweensOf([e,t])}}}),[o,d]),(0,i.useEffect)((function(){d&&"kids"===o&&"Home"===m.current&&0===r.length&&l([A])}),[d,o,m,r]),(0,i.useEffect)((function(){d&&"kids"===o&&"Home"===m.current&&a(A)}),[d,o,m]);var E=function(e){return e.map((function(e,t){return(0,s.jsx)("div",{className:H()("text-shadow mt-0 text-sm leading-tight",dC),children:g.t[e]},t)}))};return(0,s.jsx)("div",{className:"gpu absolute inset-0","data-ref":"app-kids-wrapper",ref:t,children:(0,s.jsx)("div",{className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsx)("div",{className:"absolute left-0 right-0 top-[55px] h-[calc(100%-140px)] overflow-hidden",children:(0,s.jsx)("div",{className:"scrolling-touch absolute inset-0 overflow-y-auto","data-ref":"app-content",children:(0,s.jsxs)("div",{className:"relative flex h-full w-full flex-col items-end justify-between overflow-hidden text-white",children:[(0,s.jsxs)("div",{className:"relative flex h-full w-full flex-col items-end justify-end",children:[(0,s.jsx)("div",{className:"relative flex h-full w-full flex-col",children:(0,s.jsxs)("div",{className:"flex h-full flex-col justify-between px-6 smd:px-2",children:[(0,s.jsx)("div",{className:"grid grid-cols-3 grid-rows-[repeat(auto-fit,minmax(130px,1fr))] gap-6 smd:gap-2",children:lC.map((function(e,t){return(0,s.jsx)("div",{className:"flex items-start justify-center",children:(0,s.jsxs)("button",{className:"text-center",onClick:function(){h(e.id)},children:[(0,s.jsx)("div",{className:"inline-block max-w-icon-kids-xs overflow-hidden xs:max-w-icon-kids",children:(0,s.jsx)("img",{src:e.imageSrc,className:"h-auto w-full","data-ref":"app-link-icon",alt:""})}),u&&E([e.text])]})},"".concat(e.id).concat(t))}))}),(0,s.jsxs)("div",{className:H()("text-shadow pointer-events-none relative w-full flex-1 text-center text-base leading-normal ltr:font-title rtl:font-titleAr xs:text-lg",uC),children:[(0,s.jsx)("div",{className:"absolute top-1/2 flex w-full -translate-y-1/2 items-center justify-center",ref:p,children:(0,s.jsx)("p",{className:"ltr:font-sans rtl:font-sansAr",children:g.t["SAMSUNG-KIDS_SAMSUNG-KIDS-APP-TITLE_KIDS-WILL-LOVE-THIS_TEXT"]})}),(0,s.jsx)("div",{className:"absolute top-1/2 flex w-full -translate-y-1/2 items-center justify-center",ref:x,children:(0,s.jsx)("p",{className:"px-2 ltr:font-sans rtl:font-sansAr",children:g.t["SAMSUNG-KIDS_SAMSUNG-KIDS-LANDING-PAGE-FRAME-2_WONT-CALL-EUROPE-TEXT"]})})]})]})}),(0,s.jsx)("div",{className:"flex-no-wrap relative flex w-full justify-center",children:(0,s.jsxs)("div",{className:"flex-no-wrap align-center relative flex w-full justify-center pb-8 pt-4",children:[(0,s.jsx)("div",{className:"relative mr-[10px] h-[18px] w-[8px] overflow-hidden opacity-50",children:(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center",children:(0,s.jsx)("img",{src:aC,className:"relative w-full","data-ref":"app-link-icon",alt:""})})}),(0,s.jsx)("div",{className:"relative mr-[10px] h-[18px] w-[18px] overflow-hidden",children:(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center",children:(0,s.jsx)("img",{src:sC,className:"relative w-full","data-ref":"app-link-icon",alt:""})})})]})})]}),(0,s.jsxs)("div",{className:"flex-no-wrap relative mb-0 flex w-full justify-between px-8 text-center",children:[(0,s.jsx)("div",{children:(0,s.jsxs)("button",{className:"text-center",onClick:function(){return h("Phone")},children:[(0,s.jsx)("div",{className:"inline-block max-w-icon-kids-xs overflow-hidden xs:max-w-icon-kids",children:(0,s.jsx)("img",{src:iC,className:"relative w-full","data-ref":"app-link-icon",alt:""})}),u&&E(["SAMSUNG-KIDS_SAMSUNG-KIDS-LANDING-PAGE_MY-PHONE_APP-TITLE"])]})}),(0,s.jsx)("div",{children:(0,s.jsxs)("button",{className:"text-center",onClick:function(){return h("Camera")},children:[(0,s.jsx)("div",{className:"inline-block max-w-icon-kids-xs overflow-hidden xs:max-w-icon-kids",children:(0,s.jsx)("img",{src:nC,className:"relative w-full","data-ref":"app-link-icon",alt:""})}),u&&E(["SAMSUNG-KIDS_SAMSUNG-KIDS-LANDING-PAGE_MY-CAMERA_APP-TITLE"])]})}),(0,s.jsx)("div",{children:(0,s.jsxs)("button",{className:"text-center",onClick:function(){return h("Gallery")},children:[(0,s.jsx)("div",{className:"inline-block max-w-icon-kids-xs overflow-hidden xs:max-w-icon-kids",children:(0,s.jsx)("img",{src:rC,className:"relative w-full","data-ref":"app-link-icon",alt:""})}),u&&E(["SAMSUNG-KIDS_SAMSUNG-KIDS-LANDING-PAGE_MY-GALLERY_APP-TITLE"])]})})]})]})})})})})},xC="/_next/static/media/background.cec5c22e.jpg",fC=function(){var e=(0,P.qr)(),t=e.appName,a=e.isAppOpen,n=e.setAppActiveData,r=(0,i.useContext)(zg).setScreen,l=(0,i.useRef)(null),c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)(null),u=(0,i.useRef)(null);return(0,i.useEffect)((function(){var e=l.current,s=c.current,i=o.current,u=d.current;"kids"===t&&a&&e&&i&&s&&u&&n({appContainer:e,appViewContent:i,appViewContainer:s,appViewIcon:u}),a||r("Home")}),[t,a]),(0,i.useEffect)((function(){Y(l.current)}),[]),(0,s.jsx)("div",{className:"absolute inset-0","data-component":"app-view","data-app-view-name":"kids","data-app-view-is-header-transparent":"true","data-track-title":M.dC.Kids,"data-track-path":"/app/kids",ref:l,children:(0,s.jsxs)("div",{className:"absolute inset-0 overflow-hidden text-primary-gray-400","data-ref":"app-view-container",ref:c,children:[(0,s.jsxs)("div",{className:"gpu absolute inset-0","data-ref":"app-view-content",style:{minWidth:"100vw",minHeight:"100vh"},"data-component":"app-kids",ref:o,children:[(0,s.jsx)("div",{"data-ref":"app-kids-background",className:"gpu absolute inset-0 bg-cover bg-center",style:{backgroundImage:"url(".concat(xC,")")}}),(0,s.jsxs)("div",{className:"gpu absolute inset-0",children:[(0,s.jsx)("div",{className:"gpu absolute inset-0","data-ref":"app-kids-overlay",children:(0,s.jsx)(pC,{wrapperRef:u})}),"kids"===t&&(0,s.jsx)(Xv,{wrapperRef:u})]}),(0,s.jsx)(tC,{})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0",children:(0,s.jsx)("button",{className:"gpu absolute left-0 top-0","data-ref":"app-view-icon",ref:d,children:(0,s.jsx)("div",{className:"max-w-icon overflow-hidden rounded-3xl",children:(0,s.jsx)("img",{src:D("icons/app-kids.png"),"data-component":"app-themes-changes",className:"",alt:""})})})})]})})},mC=function(){return(0,s.jsx)(qg,{children:(0,s.jsx)(fC,{})})},hC="/_next/static/media/icon-dialer-end.862516d8.png",AC=function(e,t){return e>t?e-t:t-e},EC=function(e){var t=D("app-call/icon-start-call.png"),a=D("app-call/icon-end-call.png"),n=e.type,r=e.fadeButton,l=(0,i.useRef)(null),c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)(null),u=(0,i.useRef)(null),p=(0,i.useRef)(null);return(0,i.useLayoutEffect)((function(){var e=l.current,t=c.current,a=o.current,s=d.current,i=u.current,x=p.current,f={currentScale:0,initialTouchPosition:{x:0,y:0},currentTouchPosition:{x:0,y:0},data:{id:n,next:r.current}},m=function(e){e.preventDefault();var t=e.touches[0]||e.changedTouches[0];f.currentTouchPosition={x:t.pageX-f.initialTouchPosition.x,y:t.pageY-f.initialTouchPosition.y};var a=function(e,t,a,s){var i=AC(e,a),n=AC(t,s);return Math.sqrt(Math.pow(i,2)+Math.pow(n,2))}(0,0,f.currentTouchPosition.x,f.currentTouchPosition.y);f.currentScale=a/200,f.currentScale=f.currentScale<0?0:f.currentScale,f.currentScale=f.currentScale>1?1:f.currentScale;var i=.8*f.currentScale;i=(i=i>.8?.8:i)<0?0:i;var n=-1*(.8-f.currentScale);n=n<0?0:n,n*=5,I.ZP.to(r.current,{opacity:1-n,duration:.2,ease:"none"}),I.ZP.to(s,{scale:.2+i,duration:.2,ease:"none"})},h=function(i){i.preventDefault(),I.ZP.set(t,{opacity:1}),I.ZP.killTweensOf(a),f.currentScale=1,I.ZP.killTweensOf([s,a,e,r.current]),I.ZP.to(s,{scale:f.currentScale?1:.2,duration:.2,ease:"power3.out"}),I.ZP.to(a,{scale:f.currentScale?1:.2,duration:.3,ease:"power3.out"}),f.currentScale?(I.ZP.set([e,r.current],{pointerEvents:"none"}),I.ZP.to(r.current,{opacity:0,duration:.3,ease:"power3.out"}),I.ZP.to(e,{opacity:0,duration:.3,ease:"power3.out"})):(I.ZP.to(r.current,{opacity:1,duration:.3,ease:"power3.out"}),I.ZP.to(e,{opacity:1,duration:.3,ease:"power3.out"})),document.removeEventListener("touchend",h),document.removeEventListener("touchmove",m)},A=function(e){e.preventDefault(),f.currentScale=0;var s=e.touches[0]||e.changedTouches[0];f.initialTouchPosition={x:s.pageX,y:s.pageY},f.currentTouchPosition={x:s.pageX-f.initialTouchPosition.x,y:s.pageY-f.initialTouchPosition.y},I.ZP.set(t,{opacity:0}),I.ZP.killTweensOf(a),I.ZP.to(a,{scale:1,duration:.6,ease:"power3.out"}),document.addEventListener("touchend",h),document.addEventListener("touchmove",m)};return x.addEventListener("touchstart",A),I.ZP.killTweensOf([i]),I.ZP.timeline({repeat:-1}).fromTo(i,{scale:.7},{scale:1,duration:2,ease:"power3.out"},0).fromTo(i,{opacity:.1},{opacity:0,duration:.8,delay:1.2,ease:"none"},0),I.ZP.set(a,{scale:.2}),I.ZP.set(s,{scale:0}),I.ZP.set(e,{opacity:1}),function(){I.ZP.killTweensOf([i]),x.removeEventListener("touchstart",A),document.removeEventListener("touchend",h),document.removeEventListener("touchmove",m)}}),[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("button",{ref:l,className:"relative h-[80px] w-[80px] leading-none","data-component":"button-call","data-button-call-id":n,"data-button-call-extra":'data-ref="app-call-button-deny"',"data-ref":"app-call-button-start",children:[(0,s.jsxs)("div",{className:"pointer-events-none absolute inset-0",children:[(0,s.jsx)("div",{className:"absolute left-1/2 top-1/2 h-[85px] w-[85px] -translate-x-1/2 -translate-y-1/2 transform rounded-full bg-black opacity-10"}),(0,s.jsx)("div",{ref:c,className:"absolute inset-0","data-ref":"button-call-pulse-container",children:(0,s.jsx)("div",{ref:u,className:"absolute left-1/2 top-1/2 h-[120px] w-[120px] -translate-x-1/2 -translate-y-1/2 transform rounded-full bg-white opacity-10","data-ref":"button-call-pulse"})}),(0,s.jsx)("div",{ref:o,className:"absolute left-1/2 top-1/2 h-[300px] w-[300px] -translate-x-1/2 -translate-y-1/2 transform rounded-full bg-white opacity-10","data-ref":"button-call-background"}),(0,s.jsx)("div",{ref:d,className:"c-app-call-inoutgoing__background-call absolute left-1/2 top-1/2 h-[300px] w-[300px] -translate-x-1/2 -translate-y-1/2 transform rounded-full","data-ref":"button-call-overlay"})]}),(0,s.jsx)("div",{ref:p,className:"relative flex flex-col items-center","data-ref":"button-call-hit",children:(0,s.jsxs)("div",{className:"c-app-call-inoutgoing__button-call overflow-hidden rounded-full",children:["start"===n&&(0,s.jsx)("img",{src:t,alt:"","data-component":"app-themes-changes",className:"h-[80px] w-[80px]"}),"end"===n&&(0,s.jsx)("img",{src:a,alt:"","data-component":"app-themes-changes",className:"h-[80px] w-[80px]"})]})})]})})},gC=function(e){var t=D("app-call/background.jpg"),a=D("app-call/icon-dialer.png"),n=D("app-call/icon-add-call.png"),r=D("app-call/icon-hold-call.png"),l=D("app-call/icon-call-bluetooth.png"),c=D("app-call/icon-speaker.png"),o=D("app-call/icon-mute.png"),d=D("app-call/icon-keypad.png"),u=D("app-call/icon-block.png"),p=D("app-call/icon-add-contact.png"),x=D("app-call/icon-call-start.png"),f=D("app-call/icon-message-start.png"),m=D("app-call/icon-duo.png"),h=D("app-call/icon-phone-white.png"),A=D("app-call/icon-end.png"),E=e.audioRingtone,v=e.audioOut,C=e.audioIn,j=(0,P.$V)(),N=j.call,T=j.setCall,w=j.setStatus,_=(0,P.q0)().theme,b=(0,P.qr)(),S=b.popBackButtonStack,y=b.setBackButtonStack,R=(0,i.useRef)(null),L=(0,i.useRef)(null),O=(0,i.useRef)(null),G=(0,i.useRef)(null),k=(0,i.useRef)(null),H=(0,i.useRef)(null),B=(0,i.useRef)(null),U=(0,i.useRef)(null),Z=(0,i.useRef)(null),Y=(0,i.useRef)(null),F=(0,i.useRef)(null),W=(0,i.useRef)(null),X=(0,i.useRef)(null),K=(0,i.useRef)(null),Q=(0,i.useRef)(null),z=(0,i.useRef)(null),q=(0,i.useRef)(null),J=(0,i.useRef)(null),$=(0,i.useRef)(null),ee=(0,i.useRef)(null),te=(0,i.useRef)(null),ae=(0,i.useRef)(null),se=(0,i.useRef)(null),ie=(0,i.useRef)(null),ne=(0,i.useRef)(null),re=(0,i.useRef)({currentColor:{},onTransition:!1,delayToAnswerCallInSeconds:1,state:{callType:"",isCallAnswered:!1},animation:{value:0},timer:null,counter:0});return(0,i.useLayoutEffect)((function(){var e=R.current,t=L.current,a=O.current,s=G.current,i=k.current,n=H.current,r=U.current,l=Z.current,c=Y.current,o=F.current,d=W.current,u=X.current,p=K.current,x=z.current,f=q.current,m=J.current,h=$.current,A=ee.current,g=te.current,j=ae.current,_=se.current,b=ie.current,P=function(){I.ZP.set(e,{display:"none"}),re.current.onTransition=!1,T(null),w("")},D=function(e){var t=e.toString(16);return 1==t.length?"0"+t:t},B=function(){I.ZP.set([c,o,d,u],{display:"none"})},Q=function(){I.ZP.set([h,A,g,_,j],{display:"none"})},le=function(){I.ZP.to(e,{opacity:0,delay:1,duration:.3,ease:"power3.out",onStart:function(){},onComplete:function(){P()}}),S()},ce=function(){I.ZP.to(undefined,{duration:1,onComplete:le})},oe=function(){if(!re.current.onTransition){if("outgoing"===N.type)(0,V.Kq)("/app/phone/outgoing/audio/end",M.dC.Phone);re.current.onTransition=!0,I.ZP.set(m,{opacity:0}),v.paused||(v.pause(),v.currentTime=0),C.paused||(C.pause(),C.currentTime=0),Q(),re.current.state.isCallAnswered||I.ZP.set(j,{opacity:0}),I.ZP.set([j,A],{display:"block"}),clearInterval(re.current.timer),B(),I.ZP.set([d],{display:"block"}),0==re.current.counter?p.innerHTML="":function(){var e=Math.floor(re.current.counter/60),t=re.current.counter%60,a="".concat(Da(e),":").concat(Da(t));p.innerHTML=a}(),re.current.state.isCallAnswered=!1,I.ZP.fromTo(x,{opacity:0},{opacity:1,duration:.2,ease:"power3.out"}),I.ZP.to(r,{opacity:0,duration:.2,ease:"power3.out"});var t=function(e){var t=[];return e.replace(/[\d+\.]+/g,(function(e){t.push(parseFloat(e))})),{hex:"#"+t.slice(0,3).map(D).join(""),opacity:4==t.length?t[3]:1}}(window.getComputedStyle(f).getPropertyValue("background-color"));parseInt(t.hex.replace("#","0x"))>=16e6&&I.ZP.to(e,{color:"#000",duration:.2,ease:"power3.out"}),I.ZP.to(n,{opacity:0,duration:.2,ease:"power3.out"}),I.ZP.fromTo(p,{opacity:0},{opacity:1,duration:.4,yoyo:!0,ease:"none",repeat:4,onComplete:ce}),w("end")}},de=function(){re.current.onTransition||(re.current.state.isCallAnswered?oe():((0,V.Kq)("/app/phone/incoming/deny",M.dC.Phone),E.pause(),E.currentTime=0,re.current.onTransition=!0,re.current.state.isCallAnswered=!1,I.ZP.fromTo(e,{opacity:1},{opacity:0,duration:.6,scale:.6,ease:"power3.inOut",onComplete:function(){P()}})))},ue=function(){},pe=function(){de()};return ne.current=le,y([ne]),r.addEventListener("click",oe),I.ZP.set(b,{display:"none"}),v.addEventListener("ended",oe),E.addEventListener("timeupdate",ue),E.addEventListener("ended",de),C.addEventListener("ended",pe),l.addEventListener("touchend",de),function(l,o,d){if(!re.current.onTransition){if(I.ZP.set(t,{opacity:0}),B(),Q(),re.current.onTransition=!1,re.current.counter=0,re.current.state.callType=o,I.ZP.set(e,{display:"block"}),I.ZP.killTweensOf(e),I.ZP.set(e,{color:"#fff"}),I.ZP.set(x,{opacity:0}),I.ZP.set(r,{opacity:1}),I.ZP.set(j,{opacity:1}),"outgoing"===N.type)(0,V.Kq)("/app/phone/outgoing/audio/start",M.dC.Phone),I.ZP.set(b,{display:"none"}),i.innerHTML=d.phone,n.innerHTML=d.country,I.ZP.set([j,h,c],{display:"block"}),v.currentTime=0,v.play(),I.ZP.set(m,{opacity:1});I.ZP.fromTo(e,{opacity:0,scale:1},{opacity:1,scale:1,delay:1,duration:.3,ease:"power3.out"}),I.ZP.killTweensOf([a,s]),I.ZP.set([a,s],{scale:0}),I.ZP.set(n,{opacity:1}),I.ZP.killTweensOf(t),I.ZP.set(t,{opacity:1})}}(0,N.type,N),function(){v.removeEventListener("ended",oe),E.removeEventListener("timeupdate",ue),E.removeEventListener("ended",de),C.removeEventListener("ended",pe),r.removeEventListener("click",oe),l.removeEventListener("touchend",de)}}),[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{ref:R,className:"pointer-events-auto absolute inset-0 overflow-hidden bg-cover bg-center","data-component":"app-call-inoutgoing",children:(0,s.jsxs)("div",{className:"c-app-call-inoutgoing absolute inset-0","data-component":"app-themes-changes","data-theme":_,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:"url(".concat(t,")")},"data-component":"app-themes-changes"}),(0,s.jsx)("div",{ref:L,className:"absolute inset-0 bg-cover bg-center","data-ref":"app-call-inoutgoing-background",children:(0,s.jsxs)("div",{className:"absolute left-1/2 top-1/4",children:[(0,s.jsx)("div",{ref:O,className:"c-app-call-inoutgoing__background-circle absolute h-[1000px] w-[1000px] rounded-full opacity-75",style:{transform:"translate(-50%, -50%)"},"data-ref":"app-call-inoutgoing-background-circle-1"}),(0,s.jsx)("div",{ref:G,className:"c-app-call-inoutgoing__background-circle absolute h-[900px] w-[900px] rounded-full opacity-100",style:{transform:"translate(-50%, -50%)"},"data-ref":"app-call-inoutgoing-background-circle-2"})]})}),(0,s.jsx)("div",{ref:z,className:"absolute inset-0","data-ref":"app-call-inoutgoing-overlay",children:(0,s.jsx)("div",{ref:q,className:"c-app-call-inoutgoing__background absolute inset-0","data-ref":"app-call-inoutgoing-overlay-color"})}),(0,s.jsx)("div",{className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsx)("div",{className:"flex-no-wrap absolute left-0 right-0 top-[45px] flex flex-col",style:{height:"calc(100% - 140px)"},children:(0,s.jsxs)("div",{className:"absolute inset-0 flex flex-col justify-between",children:[(0,s.jsx)("div",{className:"relative w-full px-4 text-lg",children:(0,s.jsx)("div",{className:"flex-no-wrap flex w-full items-center",children:(0,s.jsxs)("div",{className:"w-full text-center",children:[(0,s.jsx)("div",{ref:X,"data-ref":"app-call-inoutgoing-status-incoming",children:(0,s.jsx)("div",{className:"c-app-call-inoutgoing__text w-full text-center",children:g.t["INCOMING-CALL_TITLE"]})}),(0,s.jsx)("div",{ref:Y,"data-ref":"app-call-inoutgoing-status-calling",children:(0,s.jsx)("div",{className:"c-app-call-inoutgoing__text w-full text-center text-lg md:mt-2.5",children:g.t["PHONE_PHONE-SCREEN_CALL-SCREEN_CALLING"]})}),(0,s.jsx)("div",{ref:F,"data-ref":"app-call-inoutgoing-status-answer",children:(0,s.jsxs)("div",{className:"flex-no-wrap c-app-call-inoutgoing__text flex w-full items-center justify-center text-center",children:[(0,s.jsx)("div",{className:"mr-2",children:(0,s.jsx)("img",{src:a,alt:"",className:"w-[15px]","data-component":"app-themes-changes"})}),(0,s.jsx)("div",{ref:K,"data-ref":"app-call-inoutgoing-time",children:g.t["PHONE_PHONE-SCREEN_CALL-SCREEN_CALL-TIME"]})]})}),(0,s.jsx)("div",{ref:W,"data-ref":"app-call-inoutgoing-status-end",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex w-full items-center justify-center text-center text-primary-red-500 md:mt-4",children:[(0,s.jsx)("div",{className:"mr-2",children:(0,s.jsx)("img",{src:hC,alt:"",className:"w-[18px]"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{"data-ref":"app-call-inoutgoing-time",children:g.t["PHONE_PHONE-SCREEN_CALL-SCREEN_CALL-TIME"]})," ",g.t["PHONE_PHONE-SCREEN_CALL-SCREEN_CALL-ENDED"]]})]})})]})})}),(0,s.jsx)("div",{className:"c-app-call-inoutgoing__text relative mt-10 flex flex-1 justify-start xs:items-start",children:(0,s.jsxs)("div",{className:"w-full px-6 text-center",children:[(0,s.jsx)("div",{ref:k,className:"w-full text-[2.5rem] font-semibold","data-ref":"app-call-inoutgoing-number",children:"0274823700"}),(0,s.jsx)("div",{ref:H,className:"w-full","data-ref":"app-call-inoutgoing-country",children:"0800 726 786"})]})}),(0,s.jsxs)("div",{className:"relative flex w-full flex-col justify-between px-6",children:[(0,s.jsx)("div",{ref:J,className:"absolute inset-0 flex items-center justify-center px-6","data-ref":"app-call-inoutgoing-options-background",children:(0,s.jsx)("div",{className:"relative h-full w-full rounded-3xl bg-white opacity-50"})}),(0,s.jsxs)("div",{ref:$,className:"relative min-h-phone-options w-full xs:min-h-phone-options-xs","data-ref":"app-call-inoutgoing-options-calling",children:[(0,s.jsxs)("div",{className:"flex-no-wrap relative flex w-full justify-between px-6 py-8 text-center",children:[(0,s.jsx)("div",{className:"flex w-full justify-center",children:(0,s.jsxs)("button",{className:"w-full text-center opacity-25",children:[(0,s.jsx)("div",{className:"relative w-full text-center",children:(0,s.jsx)("img",{src:n,alt:"",className:"inline-block","data-component":"app-themes-changes",width:24,height:24})}),(0,s.jsx)("div",{className:"text-shadow whitespace-no-wrap c-app-call-inoutgoing__button mt-2 w-full text-xs font-light",children:g.t["INCOMING-CALL_ADD-CALL"]})]})}),(0,s.jsx)("div",{className:"flex w-full justify-center",children:(0,s.jsxs)("button",{className:"w-full text-center opacity-25",children:[(0,s.jsx)("div",{className:"relative w-full text-center",children:(0,s.jsx)("img",{src:r,alt:"",className:"inline-block","data-component":"app-themes-changes",width:26,height:18})}),(0,s.jsx)("div",{className:"text-shadow c-app-call-inoutgoing__button mt-2 text-xs",children:g.t["INCOMING-CALL_VIDEO-CALL"]})]})}),(0,s.jsx)("div",{className:"flex w-full justify-center",children:(0,s.jsxs)("button",{className:"w-full text-center opacity-100",children:[(0,s.jsx)("div",{className:"relative w-full text-center",children:(0,s.jsx)("img",{src:l,alt:"",className:"inline-block","data-component":"app-themes-changes",width:20,height:26})}),(0,s.jsx)("div",{className:"text-shadow whitespace-no-wrap c-app-call-inoutgoing__button mt-2 w-full text-xs font-light",children:g.t["INCOMING-CALL_BLUETOOTH"]})]})})]}),(0,s.jsxs)("div",{className:"flex-no-wrap relative flex w-full justify-between px-6 py-4 text-center",children:[(0,s.jsx)("div",{className:"flex w-full justify-center",children:(0,s.jsxs)("button",{className:"w-full text-center opacity-100",children:[(0,s.jsx)("div",{className:"relative w-full text-center",children:(0,s.jsx)("img",{src:c,alt:"",className:"inline-block","data-component":"app-themes-changes",width:26,height:22})}),(0,s.jsx)("div",{className:"text-shadow whitespace-no-wrap c-app-call-inoutgoing__button mt-2 w-full text-xs font-light",children:g.t["INCOMING-CALL_SPEAKER"]})]})}),(0,s.jsx)("div",{className:"flex w-full justify-center",children:(0,s.jsxs)("button",{className:"w-full text-center opacity-25",children:[(0,s.jsx)("div",{className:"relative w-full text-center",children:(0,s.jsx)("img",{src:o,alt:"",className:"inline-block","data-component":"app-themes-changes",width:24,height:25})}),(0,s.jsx)("div",{className:"text-shadow whitespace-no-wrap c-app-call-inoutgoing__button mt-2 w-full text-xs font-light",children:g.t["INCOMING-CALL_MUTE"]})]})}),(0,s.jsx)("div",{className:"flex w-full justify-center",children:(0,s.jsxs)("button",{className:"w-full text-center opacity-100",children:[(0,s.jsx)("div",{className:"relative w-full text-center",children:(0,s.jsx)("img",{src:d,alt:"",className:"inline-block","data-component":"app-themes-changes",width:18,height:25})}),(0,s.jsx)("div",{className:"text-shadow whitespace-no-wrap c-app-call-inoutgoing__button mt-2 w-full text-xs font-light",children:g.t["INCOMING-CALL_KEYPAD"]})]})})]})]}),(0,s.jsx)("div",{ref:ee,className:"absolute bottom-1/4 left-0 right-0 flex h-full min-h-phone-options flex-1 items-end justify-center text-primary-gray-300 xs:min-h-phone-options-xs xsmd:mb-0 xxs:mb-8","data-ref":"app-call-inoutgoing-options-end-call",children:(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex-no-wrap relative mb-6 flex w-full justify-around px-6 py-4 text-center",children:[(0,s.jsx)("div",{className:"flex w-full justify-center",children:(0,s.jsxs)("button",{className:"text-center",children:[(0,s.jsx)("div",{className:"relative w-full text-center",children:(0,s.jsx)("img",{src:u,alt:"","data-component":"app-themes-changes",className:"inline-block w-call-icon xs:w-call-icon-xs",style:{width:"36px"}})}),(0,s.jsx)("div",{className:"mt-2 text-xs",children:g.t["PHONE_PHONE-SCREEN_CALL-SCREEN_CALL-BLOCK"]})]})}),(0,s.jsx)("div",{className:"flex w-full justify-center",children:(0,s.jsxs)("button",{className:"text-center",children:[(0,s.jsx)("div",{className:"relative w-full text-center",children:(0,s.jsx)("img",{src:p,alt:"","data-component":"app-themes-changes",className:"inline-block w-call-icon xs:w-call-icon-xs",style:{width:"36px"}})}),(0,s.jsx)("div",{className:"mt-2 text-xs",children:g.t["PHONE_PHONE-SCREEN_CALL-SCREEN_CALL-ADD-TO-CONTACTS"]})]})})]}),(0,s.jsxs)("div",{className:"flex-no-wrap relative flex w-full justify-between px-16 py-4 text-center",children:[(0,s.jsx)("div",{className:"flex w-full justify-start",children:(0,s.jsxs)("button",{className:"text-center",children:[(0,s.jsx)("div",{className:"relative w-full text-center",children:(0,s.jsx)("img",{src:x,alt:"","data-component":"app-themes-changes",className:"inline-block w-call-icon-big xs:w-call-icon-big-xs"})}),(0,s.jsx)("div",{className:"text-md mt-2",children:"\xa0"})]})}),(0,s.jsx)("div",{className:"flex w-full justify-center",children:(0,s.jsxs)("button",{className:"text-center",children:[(0,s.jsx)("div",{className:"relative w-full text-center",children:(0,s.jsx)("img",{src:f,alt:"","data-component":"app-themes-changes",className:"inline-block w-call-icon-big xs:w-call-icon-big-xs"})}),(0,s.jsx)("div",{className:"text-md mt-2",children:"\xa0"})]})}),(0,s.jsx)("div",{className:"flex w-full justify-end",children:(0,s.jsxs)("button",{className:"text-center",children:[(0,s.jsx)("div",{className:"relative w-full text-center",children:(0,s.jsx)("img",{src:m,alt:"","data-component":"app-themes-changes",className:"inline-block w-call-icon-big xs:w-call-icon-big-xs"})}),(0,s.jsx)("div",{className:"text-md mt-2",children:"\xa0"})]})})]})]})}),(0,s.jsx)("div",{ref:te,className:"c-app-call-inoutgoing__text relative z-40 h-full min-h-phone-options items-center justify-center text-primary-gray-25 xs:min-h-phone-options-xs","data-ref":"app-call-inoutgoing-options-recent-call",children:(0,s.jsxs)("div",{className:"absolute top-1/2 w-full -translate-y-1/2 transform text-center leading-none",children:[(0,s.jsx)("div",{className:"mb-1 text-sm",children:(0,s.jsx)("img",{src:h,alt:"","data-component":"app-themes-changes",className:"inline-block",style:{width:"15px"}})}),(0,s.jsx)("div",{className:"text-md mb-0.5",children:g.t["INCOMING-CALL_MOST-RECENT-CALL"]}),(0,s.jsx)("div",{ref:Q,className:"mb-8 text-sm","data-ref":"app-call-inoutgoing-options-recent-call-time",children:"9:16"})]})}),(0,s.jsx)("div",{ref:ae,className:"relative","data-ref":"app-call-inoutgoing-options-out",children:(0,s.jsx)("div",{className:"flex-no-wrap relative flex w-full justify-center py-6 pb-7 pt-6 text-center",children:(0,s.jsx)("div",{children:(0,s.jsx)("button",{ref:U,className:"relative h-auto w-auto leading-none","data-ref":"app-call-button-end",children:(0,s.jsx)("div",{className:"relative flex flex-col items-center",children:(0,s.jsx)("div",{className:"overflow-hidden rounded-full",children:(0,s.jsx)("img",{src:A,alt:"","data-component":"app-themes-changes",className:"h-[68px] w-[68px]"})})})})})})}),(0,s.jsx)("div",{ref:se,className:"relative","data-ref":"app-call-inoutgoing-options-in",children:(0,s.jsxs)("div",{className:"flex-no-wrap relative flex w-full justify-between px-6 py-4 text-center",children:[(0,s.jsx)("div",{children:(0,s.jsx)("div",{ref:B,children:(0,s.jsx)(EC,{type:"start",fadeButton:Z})})}),(0,s.jsx)("div",{children:(0,s.jsx)("div",{ref:Z,children:(0,s.jsx)(EC,{type:"end",fadeButton:B})})})]})})]})]})})}),(0,s.jsx)("div",{ref:ie,className:"absolute bottom-0 left-0 right-0","data-ref":"app-call-inoutgoing-send-message",children:(0,s.jsx)("div",{className:"relative flex w-full items-center justify-center pb-5",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"relative mb-2 h-[3px] w-[93px] rounded-full bg-white"}),(0,s.jsx)("div",{className:"relative text-sm font-medium",children:g.t["PHONE_PHONE-SCREEN_INCOMING-CALL_SEND-MESSAGE"]})]})})})]})})})},vC=function(){var e=(0,P.$V)().call,t=(0,P.q0)().start,a=(0,i.useRef)(null),n=(0,i.useRef)(null),r=(0,i.useRef)(null),l=(0,P.qr)().appName,c=(0,P.q0)().isDashboardNotificationsOpen,o=(0,i.useRef)(""),d=(0,i.useRef)(e),u=(0,i.useRef)(c);return(0,i.useEffect)((function(){return u.current=c,function(){}}),[c]),(0,i.useEffect)((function(){return o.current=l,function(){}}),[l]),(0,i.useEffect)((function(){return d.current=e,function(){}}),[e]),(0,i.useEffect)((function(){var e=a.current,s=n.current,i=r.current,l=function(){[e,s,i].map((function(e){e.volume=0,e.play(),e.pause(),e.volume=1,e.muted=!1})),window.removeEventListener("click",l)};return((0,N.L1)()||t)&&window.addEventListener("click",l),function(){window.removeEventListener("click",l)}}),[t]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"pointer-events-none absolute left-0 top-0 h-[1px] w-[1px] opacity-0",children:[(0,s.jsx)("audio",{ref:n,src:"/assets/audio/outgoing.mp3",preload:"metadata","data-ref":"app-call-inoutgoing-audio-out","data-component":"audio",muted:!0}),(0,s.jsx)(sa.Z,{languages:["cn"],children:(0,s.jsx)("audio",{ref:r,src:"/assets/audio/default/incoming.mp3",preload:"metadata","data-ref":"app-call-inoutgoing-audio-in","data-component":"audio",muted:!0})}),(0,s.jsx)(aa.Z,{languages:["cn"],children:(0,s.jsx)("audio",{ref:r,src:"/assets/localisation/audio/default/cn-incoming.mp3",preload:"metadata","data-ref":"app-call-inoutgoing-audio-in","data-component":"audio",muted:!0})}),(0,s.jsx)("audio",{ref:a,src:"/assets/audio/ringtone.mp3",preload:"metadata","data-ref":"app-call-inoutgoing-audio-ringtone","data-component":"audio",muted:!0})]}),e&&(0,s.jsx)("div",{className:"absolute inset-0",children:(0,s.jsx)(gC,{audioRingtone:a.current,audioIn:r.current,audioOut:n.current})})]})},CC="/_next/static/media/message-new-conversation.3fdfb364.png",jC="/_next/static/media/message-conversations.e9c77654.png",NC="/_next/static/media/message-conversations-active.b195459f.png",TC="/_next/static/media/message-contacts.b75f59cb.png",wC="/_next/static/media/message-contacts-active.d14b00a9.png",_C=function(e,t,a,s,i,n){switch(n){case 0:var r=I.ZP.timeline({repeat:-1,repeatDelay:0,paused:!0});return r.set([e,t,a],{transformStyle:"preserve-3d"},0),r.set(s,{scale:.75,backfaceVisibility:"hidden",transformOrigin:"center center"},0),r.set(i,{scale:.75,rotationY:180,backfaceVisibility:"hidden",transformOrigin:"center center"},0),r.fromTo(e,{rotationY:0},{rotationY:-180,duration:.7,ease:"back.out"},.2),r.set(s,{opacity:0},.1+.2),r.fromTo(i,{rotationZ:0},{rotationZ:30,duration:.05,ease:"power1.in"},.1+.2),r.to(i,{rotationZ:0,duration:1.2,ease:"elastic.out"},.1+.05+.2),r.set(s,{opacity:1},1.2),r.fromTo(e,{rotationY:180},{rotationY:0,duration:.7,ease:"back.out"},1.2),[r];case 1:var l=I.ZP.timeline({repeat:-1,repeatDelay:0,paused:!0});return l.set([e,t,a],{transformStyle:"preserve-3d"},0),l.set(s,{scale:.75,transformOrigin:"center center"},0),l.set(i,{scale:.75,transformOrigin:"center center",opacity:0},0),l.fromTo(e,{x:-5},{x:5,duration:.08,yoyo:!0,repeat:-1,ease:"power1.inOut"},0),l.fromTo(e,{y:5},{y:-5,duration:.16,yoyo:!0,repeat:-1,ease:"power1.inOut"},0),l.fromTo(s,{rotationZ:0},{rotationZ:-15,duration:.5,ease:"power2.out"},0),l.to(s,{rotationZ:-10,duration:.5,ease:"power2.out"},.5),l.to(s,{rotationZ:-20,duration:.2,ease:"power2.out"},1),l.to(s,{opacity:0,duration:.01,ease:"power2.out"},1.2),l.to(s,{rotationZ:20,scaleY:.5,duration:.2,ease:"power2.out"},1.2),l.to(s,{rotationZ:0,scaleY:.75,duration:.2,ease:"power2.out"},1.4),l.to(s,{opacity:1,duration:.01,ease:"power2.out"},1.6),l.fromTo(i,{rotationZ:0},{rotationZ:-15,duration:.5,ease:"power2.out"},0),l.to(i,{rotationZ:-10,duration:.5,ease:"power2.out"},.5),l.to(i,{rotationZ:-20,duration:.2,ease:"power2.out"},1),l.to(i,{opacity:1,duration:.01,ease:"power2.out"},1.2),l.to(i,{rotationZ:20,scaleY:.5,duration:.2,ease:"power2.out"},1.2),l.to(i,{rotationZ:0,scaleY:.75,duration:.2,ease:"power2.out"},1.4),l.to(i,{opacity:0,duration:.01,ease:"power2.out"},1.6),[l];case 2:var c=I.ZP.timeline({repeat:-1,repeatDelay:0,paused:!0});c.set([e,t,a],{transformStyle:"preserve-3d"},0),c.set(s,{scale:.5,x:"-27.5%",y:"20%"},0),c.set(i,{scale:.5,x:"27.5%",y:"20%"},0),c.fromTo(s,{y:"20%"},{y:"-20%",scaleX:.42,duration:.2,ease:"power2.out"},0),c.to(s,{y:"20%",duration:.2,ease:"power2.in"},.2),c.to(s,{scaleX:.5,duration:.6,ease:"elastic.out"},.4),c.to(s,{scaleY:.6,duration:.1,ease:"power1.out"},.3),c.to(s,{scaleY:.5,duration:.3,ease:"elastic.out"},.4);var o=I.ZP.timeline({repeat:-1,delay:.5,repeatDelay:0,paused:!0});return o.fromTo(i,{y:"20%"},{y:"-20%",scaleX:.42,duration:.2,ease:"power2.out"},0),o.to(i,{y:"20%",duration:.2,ease:"power2.in"},.2),o.to(i,{scaleX:.5,duration:.6,ease:"elastic.out"},.4),o.to(i,{scaleY:.6,duration:.1,ease:"power1.out"},.3),o.to(i,{scaleY:.5,duration:.3,ease:"elastic.out"},.4),[c,o];case 3:var d=I.ZP.timeline({repeat:-1,repeatDelay:0,paused:!0});return d.set(s,{scale:.75}),d.set(i,{scale:.75,opacity:0}),d.fromTo(e,{rotationZ:0,x:"-20%"},{rotationZ:45,x:"0%",duration:2,ease:"elastic.out"},0),d.fromTo(s,{opacity:1},{opacity:0,duration:.01,ease:"elastic.out"},.25),d.fromTo(i,{opacity:0},{opacity:1,duration:.01,ease:"elastic.out"},.25),[d];case 4:var u=I.ZP.timeline({repeat:-1,repeatDelay:0,paused:!0});return u.set(s,{scale:1,clipPath:"circle(300% at 50% 50%)",transformOrigin:"left center"}),u.set(i,{x:"20%",clipPath:"circle(0% at 90% 40%)",scale:.8,transformOrigin:"right center"}),u.to(s,{scale:.7,clipPath:"circle(500% at -500% 50%)",duration:2,ease:"elastic.out(.8, 0.8)"},.5),u.to(i,{x:0,scale:1,clipPath:"circle(100% at 90% 40%)",duration:2,ease:"elastic.out(.8, 0.8)"},"-=1.9"),u.timeScale(2),[u];case 5:var p=I.ZP.timeline({repeat:-1,repeatDelay:0,paused:!0});return I.ZP.set(s,{scale:.5,y:"-10%",opacity:0}),p.to(i,{scale:.7,x:"-35%",duration:1,ease:"power1.in"},.5),p.to(i,{scale:.5,y:"-10%",x:0,duration:1,zIndex:0,ease:"power1.out"},"-=0.2"),p.to(s,{scale:.7,y:0,opacity:1,x:"50%",duration:1,ease:"power1.in"},.5),p.to(s,{scale:1,x:0,duration:2,zIndex:2,ease:"power4.out"},"-=1"),p.timeScale(2),[p];case 6:var x=I.ZP.timeline({repeat:-1,repeatDelay:0,paused:!0}),f=I.ZP.timeline({repeat:-1,repeatDelay:-.1,paused:!0});return I.ZP.set(s,{scale:1,x:"0%",y:"0%",opacity:0,zIndex:0}),I.ZP.set(i,{rotationZ:-2.5,scaleY:1.05,transformOrigin:"center 90%",zIndex:1}),I.ZP.to(i,{scaleY:.9,scaleX:1.1,duration:.25,repeat:-1,yoyo:!0,ease:"power2.in"}),x.to(i,{rotationZ:2.5,duration:.5,ease:"power1.out"}),x.to(i,{rotationZ:-2.5,duration:.5,ease:"power1.out"}),f.to(s,{scale:.85,x:"25%",y:"-25%",duration:.5,opacity:1,ease:"power1.out"}),f.to(s,{scale:.65,delay:.5,x:"37.5%",y:"-37.5%",opacity:.5,duration:.5,ease:"power1.out"}),f.to(s,{scale:.5,delay:.5,x:"50%",y:"-50%",opacity:0,duration:.5,ease:"power1.out"}),f.timeScale(2),[x,f];case 7:var m=document.createElement("div");if(m.className="cloned-emojis",e){var h;if(e.contains(m))null===(h=e.querySelector(".cloned-emojis"))||void 0===h||h.remove();e.appendChild(m)}for(var A,E=[],g=0;g<5;g++){var v=document.createElement("img");v.className="w-10/12 mt-4 ml-2.5",m.appendChild(v),E.push(v)}I.ZP.set(e,{css:{overflow:"hidden"}}),I.ZP.set(i,{autoAlpha:0}),I.ZP.set(E,{attr:{src:function(){return null!==(A=null===i||void 0===i?void 0:i.src)&&void 0!==A?A:""}},css:{position:"absolute",scale:.28,opacity:0}}),I.ZP.set(E[0],{css:{left:"36%",top:"-25%"}}),I.ZP.set(E[1],{css:{left:"30%",top:"15%"}}),I.ZP.set(E[2],{css:{left:"-30%",top:"23%"}}),I.ZP.set(E[3],{css:{left:"-35%",top:"-28%"}}),I.ZP.set(E[4],{css:{left:0,top:"-37%"}}),E.sort((function(){return Math.random()-.5})).forEach((function(e,t){var a=I.ZP.timeline({repeat:-1,paused:!0});a.to(e,{opacity:0,scale:.1,duration:.3}),a.to(e,{opacity:1,scale:.28,duration:.3,ease:"back.out(2)"}),setTimeout((function(){a.play()}),100*t)}));var C=I.ZP.timeline({repeat:-1,defaults:{duration:.18}});return C.set(s,{scaleY:.95,scaleX:1.1}),C.to(s,{scaleY:1.05,scaleX:.95}),C.to(s,{scaleY:.95,scaleX:1.1}),[C];case 8:var j=document.createElement("div");if(j.className="cloned-emojis",e){var N;if(e.contains(j))null===(N=document.querySelector(".cloned-emojis"))||void 0===N||N.remove();e.appendChild(j)}for(var T=[],w=0;w<4;w++){var _=document.createElement("img");j.appendChild(_),T.push(_)}var b,S,y=I.ZP.timeline();y.set(s,{transformOrigin:"bottom"},0),y.set(i,{autoAlpha:0},0),y.set(T,{attr:{src:function(){return null!==(b=null===i||void 0===i?void 0:i.src)&&void 0!==b?b:""}},css:{position:"absolute",top:10,left:"40%",width:"23%"}},0);var R=null!==(S=null===e||void 0===e?void 0:e.offsetWidth)&&void 0!==S?S:0;y.set(j,{transformStyle:"preserve-3d",perspectiveOrigin:"50% 50%",perspective:200},0);return I.ZP.ticker.add((function(e){var t=7*Math.cos(7*e);s&&(s.style.transform="rotateZ(".concat(t,"deg) scale(0.9)")),T.forEach((function(t,a){var s=1.5*a+2.7*e,i=I.ZP.utils.mapRange(130,300,30,50,R),n=-Math.cos(s)*i,r=5*Math.sin(3*s),l=50*Math.sin(s),c=I.ZP.utils.mapRange(-50,20,0,1,l);c=Math.max(.2,c),t&&(t.style.transform="translate3d(".concat(n,"px, ").concat(r,"px, ").concat(l,"px)"),t.style.opacity=c.toString())}))})),[y]}return[]},bC=function(e){var t=e.emojiImage1,a=e.emojiImage2,n=e.animationType,r=(0,i.useRef)(null),l=(0,i.useRef)(null),c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)(null);return(0,i.useLayoutEffect)((function(){var e=r.current,t=l.current,a=c.current,s=o.current,i=d.current,u=_C(e,t,a,s,i,n);return u.map((function(e){e.play()})),function(){I.ZP.killTweensOf([e,t,a,s,i]),u.map((function(e){e.kill()}))}}),[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"relative flex w-full flex-1 items-center justify-center","data-ref":"app-emoji-preview-item",children:(0,s.jsx)("div",{className:"relative",style:{width:"220px",height:"220px"},"data-component":"app-emoji-preview-main-animation","data-index":"0",children:(0,s.jsxs)("div",{ref:r,className:"absolute inset-0","data-ref":"app-emoji-preview-wrapper",children:[(0,s.jsx)("div",{ref:l,className:"absolute inset-0 flex items-center justify-center px-5","data-ref":"app-emoji-preview-container-1",children:(0,s.jsx)("img",{ref:o,src:t,alt:"",className:"w-full","data-ref":"app-emoji-preview-image-1"})}),(0,s.jsx)("div",{ref:c,className:"absolute inset-0 flex items-center justify-center px-5","data-ref":"app-emoji-preview-container-2",children:(0,s.jsx)("img",{ref:d,src:a,alt:"",className:"w-full","data-ref":"app-emoji-preview-image-2"})})]})})})})},SC=function(e){var t=e.emojiImage1,a=e.emojiImage2,n=e.animationType,r=e.index,l=e.currentIndex,c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)(null),u=(0,i.useRef)(null),p=(0,i.useRef)(null),x=(0,i.useRef)([]);return(0,i.useLayoutEffect)((function(){var e=c.current,t=o.current,a=d.current,s=u.current,i=p.current,r=_C(e,t,a,s,i,n);return x.current=r,function(){I.ZP.killTweensOf([e,t,a,s,i]),r.map((function(e){e.kill()}))}}),[]),(0,i.useLayoutEffect)((function(){var e=x.current;e.map((function(e){r>=l-3&&r<=l+3?e.play():e.pause()}))}),[l]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"relative rounded-3xl bg-primary-gray-125",style:{width:"140px",height:"140px",marginLeft:"8px",marginRight:"8px"},"data-component":"app-emoji-preview-secondary-animation","data-index":"1",children:(0,s.jsxs)("div",{ref:c,className:"absolute inset-0","data-ref":"app-emoji-preview-wrapper",children:[(0,s.jsx)("div",{ref:o,className:"absolute inset-0 flex items-center justify-center px-7","data-ref":"app-emoji-preview-container-1",children:(0,s.jsx)("img",{ref:u,src:t,alt:"",className:"w-full","data-ref":"app-emoji-preview-image-1"})}),(0,s.jsx)("div",{ref:d,className:"absolute inset-0 flex items-center justify-center px-5","data-ref":"app-emoji-preview-container-2",children:(0,s.jsx)("img",{ref:p,src:a,alt:"",className:"w-full","data-ref":"app-emoji-preview-image-2"})})]})})})},yC=i.memo(SC),RC="ae"===g.t.getLanguage()?1:-1,LC=function(e){var t=e.emoji1,a=e.emoji2,n=e.onChange,r=(0,i.useState)(0),l=r[0],c=r[1],o=Array(9).fill({}),d=(0,i.useRef)(null),u=(0,i.useRef)(null),p=(0,i.useRef)([]),x=(0,i.useRef)({initialTouchPosition:{x:0,y:0},currentTouchPosition:{x:0,y:0},oldTouchPosition:0,isMoving:0,currentIndex:0}),f=function(e){var t,a=e.currentTarget,s=d.current,i=null!==(t=null===s||void 0===s?void 0:s.clientWidth)&&void 0!==t?t:0,r=x.current;r.isMoving<=3&&(r.currentIndex=parseInt(a.dataset.index),r.oldTouchPosition=i/o.length*r.currentIndex*RC,I.ZP.killTweensOf([s]),I.ZP.to(s,{x:r.oldTouchPosition,duration:.2,ease:"power3.out"}),n(r.currentIndex))},m=(0,i.useCallback)((function(){var e,t=d.current,a=null!==(e=null===t||void 0===t?void 0:t.clientWidth)&&void 0!==e?e:0,s=x.current;s.isMoving>3?(s.currentIndex=Math.round(Math.abs(s.currentTouchPosition.x)/a*o.length),s.oldTouchPosition=a/o.length*s.currentIndex*RC,I.ZP.killTweensOf([t]),I.ZP.to(t,{x:s.oldTouchPosition,duration:.2,ease:"power3.out"}),n(s.currentIndex)):(I.ZP.killTweensOf([t]),I.ZP.to(t,{x:s.oldTouchPosition,duration:.2,ease:"power3.out"})),c(s.currentIndex)}),[]),h=(0,i.useCallback)((function(e){var t,a,s=d.current,i=null!==(t=null===s||void 0===s?void 0:s.clientWidth)&&void 0!==t?t:0,n=x.current;n.isMoving+=1,a="touchstart"==e.type||"touchmove"==e.type||"touchend"==e.type||"touchcancel"==e.type?e.touches[0]||e.changedTouches[0]:{pageX:e.clientX,pageY:e.clientY};var r=i/o.length*(o.length-1);"ae"===g.t.getLanguage()?n.currentTouchPosition={x:Math.min(Math.max(a.pageX-n.initialTouchPosition.x+n.oldTouchPosition,0),r*RC),y:a.pageY-n.initialTouchPosition.y}:n.currentTouchPosition={x:Math.max(Math.min(a.pageX-n.initialTouchPosition.x+n.oldTouchPosition,0),r*RC),y:a.pageY-n.initialTouchPosition.y},I.ZP.set(s,{x:n.currentTouchPosition.x})}),[]),A=(0,i.useCallback)((function(e){var t,a=d.current,s=x.current;s.isMoving=0,I.ZP.killTweensOf(a),t="touchstart"==e.type||"touchmove"==e.type||"touchend"==e.type||"touchcancel"==e.type?e.touches[0]||e.changedTouches[0]:{pageX:e.clientX,pageY:e.clientY},s.initialTouchPosition={x:t.pageX,y:t.pageY},s.currentTouchPosition={x:t.pageX-s.initialTouchPosition.x,y:t.pageY-s.initialTouchPosition.y}}),[m,h]);return(0,i.useEffect)((function(){return d.current&&(d.current.addEventListener("touchstart",A),d.current.addEventListener("touchend",m),d.current.addEventListener("touchmove",h)),function(){d.current&&(d.current.removeEventListener("touchstart",A),d.current.removeEventListener("touchend",m),d.current.removeEventListener("touchmove",h))}}),[A]),(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{ref:u,className:"relative h-[200px] w-full overflow-hidden","data-ref":"app-emoji-preview-gallery",children:[(0,s.jsx)("div",{ref:d,className:"gpu absolute bottom-0 top-0 flex flex-nowrap ltr:left-1/2 rtl:right-1/2","data-ref":"app-emoji-preview-gallery-container",children:o.map((function(e,i){return(0,s.jsx)("div",{ref:function(e){e&&(p.current[i]=e)},className:"relative flex w-full transform items-center justify-center ltr:-translate-x-1/2 rtl:translate-x-1/2","data-ref":"app-emoji-preview-gallery-item","data-index":i,onClick:f,children:(0,s.jsx)(yC,{emojiImage1:t,emojiImage2:a,animationType:i,index:i,currentIndex:l})},i)}))}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 flex flex-nowrap gap-x-5 ltr:left-1/2 rtl:right-1/2",children:(0,s.jsx)("div",{className:"relative flex w-full transform items-center justify-center ltr:-translate-x-1/2 rtl:translate-x-1/2",children:(0,s.jsx)("div",{className:"relative h-[140px] w-[140px] rounded-3xl border-2 border-primary-turquise-200"})})})]})})},IC=function(e){var t=e.onBack,a=e.onComplete,n=e.emoji1,r=e.emoji2,l=(0,i.useState)(0),c=l[0],o=l[1],d=_e().addUserResponse;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"gpu absolute inset-0","data-ref":"app-emoji-pairs-step-animation",children:(0,s.jsx)("div",{className:"absolute inset-0 flex flex-col bg-white",children:(0,s.jsxs)("div",{className:"relative flex w-full flex-1 flex-col",children:[(0,s.jsx)("div",{className:"relative border-b border-b-primary-gray-125 py-2",children:(0,s.jsxs)("div",{className:"relative flex w-full flex-nowrap items-center justify-between px-4",children:[(0,s.jsx)("div",{children:(0,s.jsx)("button",{className:"h-[40px] w-[30px] rtl:-scale-x-100 rtl:transform","data-ref":"app-emoji-pairs-button-back","data-type":"close-animation",onClick:function(){t()},children:(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("g",{children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5641 4.15216C15.8591 3.86116 15.8631 3.38616 15.5721 3.09116C15.2811 2.79716 14.8061 2.79416 14.5111 3.08516L6.73311 10.7552C6.39711 11.0862 6.21211 11.5292 6.21211 12.0012C6.21211 12.4722 6.39711 12.9162 6.73311 13.2472L14.5111 20.9162C14.6571 21.0592 14.8471 21.1312 15.0381 21.1312C15.2311 21.1312 15.4251 21.0562 15.5721 20.9082C15.8631 20.6132 15.8591 20.1382 15.5641 19.8472L7.78711 12.1782C7.72111 12.1152 7.71211 12.0402 7.71211 12.0012C7.71211 11.9622 7.72111 11.8862 7.78711 11.8232L15.5641 4.15216Z",fill:"#252525"})})})})}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("button",{className:"relative text-base font-semibold text-black","data-ref":"app-emoji-pairs-button-done",onClick:function(){d({direction:"to",type:"emoji",timestamp:Date.now(),readReceipt:!0,emojiImage1:n,emojiImage2:r,animation:c,append:"none"}),a()},children:g.t["MESSAGES_EMOJI-PAIRS-MESSAGES_DONE_CTA"]}),(0,s.jsx)("div",{className:"pointer-events-none absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 transform items-center justify-center","data-ref":"tutorial-highlight-1","data-guide":"tutorial","data-tutorial-type":"emoji-pairs",style:{width:"calc(100% + 25px)",height:"calc(100% + 5px)"},children:(0,s.jsx)("div",{className:"relative h-full w-full flex-1",children:(0,s.jsxs)("div",{className:"pointer-events-none absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 transform","data-component":"tutorial-button",children:[(0,s.jsx)("div",{className:"absolute inset-0 opacity-20","data-ref":"tutorial-button-background",children:(0,s.jsx)("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transform border-4 border-primary-blue-100",style:{width:"calc(100% + 6px)",height:"calc(100% + 6px)",borderRadius:"16px"}})}),(0,s.jsx)("div",{className:"absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 transform border-2 border-primary-blue-100",style:{borderRadius:"14px"}})]})})})]})]})}),(0,s.jsx)("div",{className:"relative flex w-full flex-1 items-center justify-center border-b border-b-primary-gray-125",children:(0,s.jsx)(bC,{emojiImage1:n,emojiImage2:r,animationType:c},c)}),(0,s.jsx)(LC,{emoji1:n,emoji2:r,onChange:function(e){o(e)}})]})})})})},PC="/_next/static/media/emoji-1.d94c31df.png",OC="/_next/static/media/emoji-2.18946ce3.png",MC="/_next/static/media/emoji-3.8618f0ae.png",DC="/_next/static/media/emoji-4.a74a0c50.png",GC="/_next/static/media/emoji-5.3f09d6c0.png",kC="/_next/static/media/emoji-6.1353f111.png",HC="/_next/static/media/emoji-7.9f62cf10.png",BC="/_next/static/media/emoji-8.cdb15ed9.png",UC="/_next/static/media/emoji-9.e3f1dd06.png",ZC="/_next/static/media/emoji-10.67d22279.png",YC="/_next/static/media/emoji-11.53278f86.png",FC="/_next/static/media/emoji-12.d3a31315.png",VC="/_next/static/media/emoji-13.feb1bba3.png",WC="/_next/static/media/emoji-14.64dfc97f.png",XC="/_next/static/media/emoji-15.ec3df96f.png",KC="/_next/static/media/emoji-16.521ad87b.png",QC="/_next/static/media/emoji-17.62c2d443.png",zC="/_next/static/media/emoji-18.995bebf9.png",qC="/_next/static/media/emoji-19.adce0069.png",JC="/_next/static/media/emoji-20.0ae4bd03.png",$C="/_next/static/media/emoji-21.65f1e6f5.png",ej="/_next/static/media/emoji-22.f3cbdde7.png",tj="/_next/static/media/emoji-23.fde67efc.png",aj="/_next/static/media/emoji-24.f4cb01e8.png",sj=function(e){var t=e.emoji1,a=e.emoji2,i=e.onSetFeatureEmoji,n=[PC,OC,MC,DC,GC,kC,HC,BC,UC,ZC,YC,FC,VC,WC,XC,KC,QC,zC,qC,JC,$C,ej,tj,aj],r=n[t-1],l=n[a-1];return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"flex items-center justify-center",style:{width:"25%"},onClick:function(){i(l,r)},children:(0,s.jsxs)("div",{className:"relative",style:{width:"50px",height:"50px"},"data-ref":"app-emoji-pairs-group-item",children:[(0,s.jsx)("img",{src:r,alt:"",className:"absolute left-2 top-2 w-full"}),(0,s.jsx)("img",{src:l,alt:"",className:"absolute -left-2 -top-2 w-full"})]})})})},ij=function(e){var t=e.index,a=e.onClick,i=[PC,OC,MC,DC,GC,kC,HC,BC,UC,ZC,YC,FC,VC,WC,XC,KC,QC,zC,qC,JC,$C,ej,tj,aj];return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"flex w-[12.5%] items-center justify-center",style:{width:"12.5%"},onClick:function(){a(i[t])},children:(0,s.jsx)("img",{src:i[t],alt:"","data-ref":"app-emoji-pairs-item",className:"w-full max-w-[25px]"})})})},nj="/_next/static/media/emoji-plus.11deaf44.png",rj="/_next/static/media/emoji-minus.a1c25bc0.png",lj=function(e){var t=e.className,a=e.emojiImage,n=e.resetEmojiPreview,r=(0,i.useRef)(null),l=(0,i.useRef)(null),c=(0,i.useRef)(null),o=(0,i.useRef)(null);return(0,i.useLayoutEffect)((function(){var e=o.current;return I.ZP.fromTo(e,{scale:1},{scale:1.05,duration:2,yoyo:!0,repeat:-1,ease:"none"}),I.ZP.fromTo(e,{rotation:-5},{rotation:5,duration:4,yoyo:!0,repeat:-1,ease:"none"}),I.ZP.set(e,{display:"none"}),function(){}}),[]),(0,i.useLayoutEffect)((function(){var e=r.current,t=c.current,s=o.current;return a?(I.ZP.set(t,{display:"none"}),I.ZP.set(s,{display:"block"}),I.ZP.killTweensOf(e),I.ZP.fromTo(e,{opacity:0,scale:.8},{opacity:1,scale:1,duration:.4,delay:.1,ease:"back.out"})):(I.ZP.killTweensOf(e),I.ZP.set(t,{display:"block"}),I.ZP.set(s,{display:"none"}),I.ZP.fromTo(e,{opacity:0,scale:1},{opacity:1,scale:1,duration:.2,delay:.1,ease:"power3.out"})),function(){}}),[a]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:H()(t),children:(0,s.jsxs)("div",{ref:r,className:"absolute inset-0","data-ref":"app-emoji-preview-container",onClick:function(){n()},children:[(0,s.jsx)("img",{ref:c,src:nj,alt:"",className:"absolute inset-0","data-ref":"app-emoji-preview-background"}),(0,s.jsxs)("div",{ref:o,className:"absolute inset-0","data-ref":"app-emoji-preview-icon",children:[(0,s.jsx)("img",{ref:l,src:a,alt:"",className:"absolute inset-0 scale-110 transform","data-ref":"app-emoji-preview-image"}),(0,s.jsx)("div",{className:"absolute right-0 top-0",children:(0,s.jsx)("img",{src:rj,alt:"",className:"relative w-[30px]"})})]})]})})})},cj="/_next/static/media/emoji-bar.dcd0e1c6.png",oj="/_next/static/media/ae-emoji-bar.471a4edf.png",dj={kr:"kr:xxs:pb-[60px]"},uj={kr:"kr:py-4"},pj=H()(Object.values(dj)),xj=H()(Object.values(uj)),fj=function(e){var t=e.onComplete,a=_e().activeContactId,n=(0,i.useState)("selection"),r=n[0],l=n[1],c=(0,P.qr)(),o=c.pushBackButtonStack,d=c.popBackButtonStack,u=c.isAppOpen,p=c.appName,x=(0,i.useRef)(null),f=(0,i.useRef)(null),m=(0,i.useRef)(null),h=(0,i.useRef)(null),A=(0,i.useRef)(null),E=Array(24).fill(!0),v=(0,i.useRef)(!1),C=(0,i.useState)(OC),j=C[0],N=C[1],T=(0,i.useState)(""),w=T[0],_=T[1],b=function(){var e=x.current,a=f.current;I.ZP.to(e,{y:"100%",duration:.6,ease:"power3.out"}),I.ZP.to(a,{opacity:0,duration:.2,delay:.4,ease:"power3.out",onComplete:function(){t()}}),d()};return(0,i.useEffect)((function(){A.current=function(){b()}}),[A,b]),(0,i.useLayoutEffect)((function(){return function(){var e=x.current,t=f.current;I.ZP.fromTo(e,{y:"100%"},{y:"0%",duration:.4,ease:"power3.out"}),I.ZP.fromTo(t,{opacity:0},{opacity:1,duration:.2,delay:0,ease:"power3.out"}),o(A)}(),function(){}}),[]),(0,i.useEffect)((function(){u||b()}),[u]),(0,i.useEffect)((function(){var e=m.current,t=h.current;return""!==j&&""!==w?(I.ZP.set(e,{opacity:1,pointerEvents:"auto"}),I.ZP.set(t,{opacity:1})):(I.ZP.set(e,{opacity:.4,pointerEvents:"none"}),I.ZP.set(t,{opacity:0})),function(){}}),[j,w]),(0,i.useEffect)((function(){return v.current||a&&""!==p&&((0,V.Kq)("/app/".concat(p,"/conversation/").concat(a,"/emoji-pair/open"),M.dC.AndroidMessages),v.current=!0),function(){}}),[a,p]),(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"absolute inset-0 z-50","data-component":"app-emoji-pairs",children:[(0,s.jsx)("div",{ref:f,className:"absolute inset-0","data-ref":"app-emoji-pairs-background",children:(0,s.jsx)("div",{className:"absolute inset-0 bg-black opacity-60"})}),(0,s.jsxs)("div",{ref:x,className:H()("gpu absolute bottom-0 left-0 right-0 bg-white pb-[80px]",pj),"data-ref":"app-emoji-pairs-content",children:[(0,s.jsx)("div",{className:"relative w-full bg-primary-gray-125",children:(0,s.jsx)("img",{src:"ae"===g.t.getLanguage()?oj:cj,alt:"",className:"w-full"})}),(0,s.jsxs)("div",{className:"relative min-h-[74vh] w-full",children:[(0,s.jsx)("div",{className:"relative w-full","data-ref":"app-emoji-pairs-step-selection",children:(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsxs)("div",{className:"relative flex w-full flex-nowrap items-center justify-between px-4 py-2",children:[(0,s.jsx)("div",{children:(0,s.jsx)("button",{className:"h-[40px] w-[30px] rtl:-scale-x-100 rtl:transform","data-ref":"app-emoji-pairs-button-back","data-type":"close-selection",onClick:function(){b()},children:(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("g",{children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5641 4.15216C15.8591 3.86116 15.8631 3.38616 15.5721 3.09116C15.2811 2.79716 14.8061 2.79416 14.5111 3.08516L6.73311 10.7552C6.39711 11.0862 6.21211 11.5292 6.21211 12.0012C6.21211 12.4722 6.39711 12.9162 6.73311 13.2472L14.5111 20.9162C14.6571 21.0592 14.8471 21.1312 15.0381 21.1312C15.2311 21.1312 15.4251 21.0562 15.5721 20.9082C15.8631 20.6132 15.8591 20.1382 15.5641 19.8472L7.78711 12.1782C7.72111 12.1152 7.71211 12.0402 7.71211 12.0012C7.71211 11.9622 7.72111 11.8862 7.78711 11.8232L15.5641 4.15216Z",fill:"#252525"})})})})}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("button",{ref:m,className:"pointer-events-none relative text-base font-semibold text-black","data-ref":"app-emoji-pairs-button-animate",onClick:function(){l("animate")},children:g.t["MESSAGES_EMOJI-PAIRS-MESSAGES_ANIMATE_CTA"]}),(0,s.jsx)("div",{ref:h,className:"pointer-events-none absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 transform items-center justify-center opacity-0","data-ref":"tutorial-highlight-1","data-guide":"tutorial","data-tutorial-type":"emoji-pairs",style:{width:"calc(100% + 25px)",height:"calc(100% + 5px)"},children:(0,s.jsx)("div",{className:"relative h-full w-full flex-1",children:(0,s.jsxs)("div",{className:"pointer-events-none absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 transform","data-component":"tutorial-button",children:[(0,s.jsx)("div",{className:"absolute inset-0 opacity-20","data-ref":"tutorial-button-background",children:(0,s.jsx)("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transform border-4 border-primary-blue-100",style:{width:"calc(100% + 6px)",height:"calc(100% + 6px)",borderRadius:"16px"}})}),(0,s.jsx)("div",{className:"absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 transform border-2 border-primary-blue-100",style:{borderRadius:"14px"}})]})})})]})]}),(0,s.jsx)("div",{className:H()("relative flex w-full items-center justify-center px-4 py-10 xxs:py-5",xj),children:(0,s.jsxs)("div",{className:"relative h-[125px] w-[125px] xs:h-[80px] xs:w-[80px] xxs:h-[80px] xxs:w-[80px]",children:[(0,s.jsx)(lj,{emojiImage:w,resetEmojiPreview:function(){_("")},className:"absolute -right-10 top-5 h-full w-full xsmd:-right-2 smd:-right-8 xxs:-right-6"}),(0,s.jsx)(lj,{emojiImage:j,resetEmojiPreview:function(){N("")},className:"absolute -left-10 -top-5 h-full w-full xsmd:-right-2 smd:-left-8 xxs:-left-6"})]})}),(0,s.jsx)("div",{className:"px-4",children:(0,s.jsx)("div",{className:"flex flex-wrap items-center justify-between py-8 xxs:py-6",children:[{emoji1:17,emoji2:18},{emoji1:11,emoji2:8},{emoji1:4,emoji2:4},{emoji1:22,emoji2:19}].map((function(e,t){return(0,s.jsx)(sj,{emoji1:e.emoji1,emoji2:e.emoji2,onSetFeatureEmoji:function(e,t){N(e),_(t)}},t)}))})}),(0,s.jsx)("div",{className:"px-4",children:(0,s.jsx)("div",{className:"flex flex-wrap items-center justify-between gap-y-3",children:E.map((function(e,t){return(0,s.jsx)(ij,{index:t,onClick:function(e){j?_(e):N(e)}},t)}))})}),(0,s.jsx)("div",{className:"relative w-full items-center justify-center pb-2 pt-6 text-primary-gray-400 sm:flex xxs:pt-0",children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center gap-y-6",children:[(0,s.jsxs)("button",{className:"relative overflow-hidden rounded-full font-medium",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-black opacity-5"}),(0,s.jsx)("div",{className:"relative px-8 py-2 xs:hidden smd:block xxs:hidden",children:g.t["MESSAGES_EMOJI-PAIRS-MESSAGES_GET-MORE-STICKERS_TEXT"]})]}),(0,s.jsx)("div",{className:"gpu relative w-full","data-guide":"tutorial","data-tutorial-type":"emoji-pairs-text",children:(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"relative w-full px-6",children:(0,s.jsxs)("div",{className:"tutorial-shadow relative flex w-full flex-nowrap items-center justify-center rounded-3xl bg-primary-gray-50 px-2 py-2",children:[(0,s.jsx)("div",{className:"ltr:mr-2 rtl:ml-2",children:(0,s.jsxs)("div",{className:"relative overflow-hidden rounded-full",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-blue-900 opacity-10"}),(0,s.jsx)("div",{className:"relative p-2",children:(0,s.jsx)("img",{"data-loader":"image","data-src":_x,className:"w-6",src:_x,alt:""})})]})}),(0,s.jsx)("div",{className:"w-full text-sm",children:g.t["MESSAGES_EMOJI-PAIRS-MESSAGES_CHOOSE-TWO-EMOJI_TEXT"]})]})})})})]})})]})}),"animate"===r&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(IC,{emoji1:j,emoji2:w,onComplete:function(){b(),(0,V.Kq)("/app/".concat(p,"/conversation/").concat(a,"/emoji-pair/send"),M.dC.AndroidMessages)},onBack:function(){l("selection")}})})]})]})]})})},mj=function(e){var t=e.onComplete,a=e.chatNameSlug,n=(0,P.qr)(),r=n.pushBackButtonStack,l=n.popBackButtonStack,c=_e().getActiveContact,o=g.t.getLanguage(),d=(0,i.useRef)(null),u=(0,i.useRef)(null),p=(0,i.useRef)(null),x=(0,i.useRef)(null),f=(0,i.useRef)(null),m=(0,i.useRef)(null),h=(0,i.useRef)(null),A=(0,i.useRef)(null),E=(0,i.useRef)(null),v=(0,i.useRef)(null),C=(0,i.useRef)(null),j=(0,i.useRef)(!1),N=function(){var e=u.current,a=x.current,s=f.current,i=m.current,n=h.current,r=A.current,l=E.current,c=v.current,o=C.current;j.current&&(j.current=!1,I.ZP.killTweensOf([e]),I.ZP.to(c,{opacity:0,duration:.1,ease:"power3.out"}),I.ZP.to(o,{opacity:0,duration:.1,ease:"power3.out"}),I.ZP.to(a,{paddingBottom:0,duration:.4,ease:"power3.out"}),I.ZP.to(s,{x:0,y:0,scale:1,duration:.4,ease:"power3.out"}),I.ZP.to(i,{x:0,y:0,scale:1,duration:.4,ease:"power3.out"}),I.ZP.to(n,{scale:1,duration:.4,ease:"power3.out"}),I.ZP.to(r,{rotation:0,duration:.4,ease:"power3.out"}),I.ZP.to(l,{opacity:0,duration:.4,ease:"power3.out"}),I.ZP.to(e,{opacity:0,duration:.4,ease:"power3.out",onComplete:function(){t()}}))},T=(0,i.useCallback)((function(){l(),N()}),[l,N]);(0,i.useEffect)((function(){d.current=function(){T()}}),[d,T]),(0,i.useLayoutEffect)((function(){r(d),function(){var e=u.current,t=p.current,a=x.current,s=f.current,i=m.current,n=h.current,r=A.current,l=E.current,c=v.current,d=C.current;j.current||(j.current=!0,I.ZP.killTweensOf([e]),I.ZP.set(t,{display:"block"}),I.ZP.fromTo(a,{paddingBottom:0},{paddingBottom:150,duration:.4,ease:"power3.out"}),I.ZP.fromTo(s,{x:0,y:0},{x:0,y:60,duration:.4,ease:"power3.out"}),I.ZP.fromTo(i,{x:0,y:0,scale:1},{x:"ae"===o?15:-15,y:60,scale:2,duration:.4,ease:"power3.out"}),I.ZP.fromTo(n,{scale:1},{scale:.75,duration:.4,ease:"power3.out"}),I.ZP.fromTo(r,{rotation:0},{rotation:90,duration:.4,ease:"power3.out"}),I.ZP.fromTo(e,{opacity:0},{opacity:1,duration:.4,ease:"power3.out"}),I.ZP.fromTo(l,{opacity:0},{opacity:1,duration:.4,ease:"power3.out"}),I.ZP.fromTo(c,{opacity:0},{opacity:1,duration:.2,delay:.2,ease:"power3.out"}),I.ZP.fromTo(d,{opacity:0},{opacity:1,duration:.2,delay:.2,ease:"power3.out"}))}()}),[]);var w=c();return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{ref:p,className:"absolute inset-0 bottom-[80px] top-[45px] z-50","data-ref":"app-messages-contact-details-container",children:[(0,s.jsx)("div",{ref:u,className:"absolute inset-0","data-ref":"app-messages-contact-details-background",onClick:T,children:(0,s.jsx)("div",{className:"absolute inset-0 bg-black opacity-50"})}),(0,s.jsxs)("div",{ref:x,className:"c-app-messages__conversation-background relative px-6 smd:px-4 xxs:px-4","data-ref":"app-messages-contact-details-bar",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center",children:[(0,s.jsx)("div",{className:"ltr:mr-2 rtl:ml-2",children:(0,s.jsx)("button",{ref:A,onClick:T,className:"h-[40px] w-[30px]","data-ref":"app-messages-contact-details-arrow-back",children:(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("g",{children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5641 4.15216C15.8591 3.86116 15.8631 3.38616 15.5721 3.09116C15.2811 2.79716 14.8061 2.79416 14.5111 3.08516L6.73311 10.7552C6.39711 11.0862 6.21211 11.5292 6.21211 12.0012C6.21211 12.4722 6.39711 12.9162 6.73311 13.2472L14.5111 20.9162C14.6571 21.0592 14.8471 21.1312 15.0381 21.1312C15.2311 21.1312 15.4251 21.0562 15.5721 20.9082C15.8631 20.6132 15.8591 20.1382 15.5641 19.8472L7.78711 12.1782C7.72111 12.1152 7.71211 12.0402 7.71211 12.0012C7.71211 11.9622 7.72111 11.8862 7.78711 11.8232L15.5641 4.15216Z",fill:"currentColor"})})})})}),(0,s.jsx)("div",{className:"text-xl font-medium leading-none",children:(0,s.jsxs)("div",{className:"flex items-center justify-start",children:[(0,s.jsx)("div",{className:"ltr:mr-3 rtl:ml-3",children:(0,s.jsx)(_g,{name:w.name,size:"sm",ref:m})}),(0,s.jsxs)("div",{ref:f,className:"relative w-[1px] ltr:mr-3 rtl:ml-3","data-block":"app-messages-contact-details-user-icon-name",children:[(0,s.jsx)("span",{"data-ref":"app-chat-field-name",className:"relative whitespace-nowrap font-semibold",children:g.t[w.name]}),(0,s.jsx)("div",{className:"absolute left-0 right-0 top-full whitespace-nowrap text-sm font-normal text-black",ref:C,"data-ref":"app-messages-contact-details-phone-number",children:(0,s.jsx)("span",{"data-group":"app-messages-contact-non-group-options",children:"*************"})})]}),(0,s.jsx)("div",{})]})})]}),(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-center gap-2.5",ref:E,"data-ref":"app-messages-contact-details-buttons",children:[(0,s.jsx)("div",{"data-group":"app-messages-contact-non-group-options",children:(0,s.jsx)("button",{className:"flex h-[30px] w-[30px] items-center justify-center text-center",children:(0,s.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M16.3136 12.8412L15.0389 11.5584C14.5486 11.065 14.1564 10.8677 13.7642 10.8677C13.372 10.8677 13.0778 10.9664 12.5875 11.4598L12.0973 11.9531C11.607 12.4465 11.3128 12.5452 10.9206 12.5452C10.6264 12.5452 10.2342 12.3478 10.1362 12.2492C7.29259 10.5717 5.91982 8.20341 5.62566 7.71003C5.62566 7.71003 5.42955 7.414 5.42955 7.11797C5.42955 6.72326 5.5276 6.42723 6.01787 5.93384L6.50815 5.44046C6.99842 4.94708 7.09648 4.65105 7.09648 4.25634C7.09648 3.86163 6.90037 3.46692 6.41009 2.97354L5.13538 1.69074C4.64511 1.19735 4.25289 1 3.86067 1C3.46845 1 3.17429 1.09868 2.68401 1.59206V1.59206V1.59206C1.21319 3.07221 0.91903 4.45369 1.01708 5.83517C1.01708 6.72326 1.31125 7.71003 1.99763 8.6968C1.99763 8.6968 4.35094 12.5452 8.86146 15.7029C8.95952 15.7029 8.95952 15.8015 9.05757 15.8015C9.15562 15.9002 9.35173 15.9989 9.35173 15.9989C10.4303 16.6896 11.3128 16.887 12.1953 16.9857C13.6661 17.0843 15.0389 16.6896 16.4117 15.3081V15.3081V15.3081C16.9019 14.8148 17 14.5187 17 14.124C16.9019 13.7293 16.8039 13.3346 16.3136 12.8412Z",stroke:"currentColor",strokeWidth:"1.5"})})})}),(0,s.jsx)(sa.Z,{languages:["cn","jp"],children:(0,s.jsx)("div",{children:(0,s.jsx)(ie,{path:"/app/messages/conversation/".concat(a,"/google-meet"),page:M.dC.Messages,children:(0,s.jsx)(ht,{title:g.t["MESSAGES_ICONS-POP-UP_GOOGLE-MEET_POP-UP-TITLE"],text:g.t["MESSAGES_ICONS-POP-UP_QUALITY-VIDEO-CALLING_POP-UP-TEXT"],cta:{text:g.t["MESSAGES_ICONS-POP-UP_OK_POP-UP-OK"]},children:(0,s.jsx)("button",{className:"flex h-[30px] w-[30px] items-center justify-center rounded-xl border-[1px] border-primary-gray-150 text-center",children:(0,s.jsx)(DA(),{src:"assets/images/themes/default/app-call/icon-video.png?version=".concat(M.K0),height:32,width:32,alt:"google meet icon",className:"h-[27px] w-[27px]"})})})})})}),(0,s.jsx)(aa.Z,{languages:["cn","jp"],children:(0,s.jsx)("div",{"data-group":"app-messages-contact-non-group-options",children:(0,s.jsx)("button",{className:"flex h-[30px] w-[30px] items-center justify-center text-center",children:(0,s.jsxs)("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M18.5749 8.20064C18.7253 8.09702 18.8936 8.00013 19.04 7.89172C19.5932 7.48302 20.1514 6.98415 20.7214 6.59848C20.8105 6.53804 21.0767 6.37015 21.1618 6.35096C21.4647 6.28189 21.8803 6.55435 21.9931 6.82873L22.0001 15.1446C21.8368 15.5753 21.4033 15.8142 20.951 15.5945C20.764 15.5034 20.5423 15.2655 20.3741 15.1417C19.8347 14.7455 19.2894 14.356 18.7481 13.9626C18.6966 13.9252 18.6551 13.8629 18.6036 13.8216L18.568 14.1238C18.5046 14.4126 18.4947 14.6572 18.374 14.9479C18.0138 15.8133 17.2201 16.3755 16.2848 16.5222H7.51953C6.36758 16.3198 5.51054 15.5427 5.28589 14.4145V7.66435C5.48184 6.48815 6.38044 5.6794 7.57693 5.5L16.3333 5.50863C17.2448 5.66117 18.0207 6.2272 18.373 7.07337C18.5007 7.38133 18.5175 7.68449 18.5759 8.00109C18.5868 8.05961 18.566 8.1354 18.5739 8.19968L18.5749 8.20064ZM20.6057 8.42513L19.2706 9.40849C18.9688 9.6301 18.6491 9.93134 18.3433 10.1405C18.2691 10.1913 17.9217 10.34 17.8495 10.34C17.7871 10.34 17.7584 10.293 17.7268 10.2863C17.6713 10.2748 17.613 10.2882 17.5645 10.2748C17.5526 10.2719 17.3725 10.1558 17.3547 10.1414C17.2943 10.0906 17.1439 9.81622 17.131 9.74043C17.0301 9.16289 17.2042 8.36853 17.127 7.77659C17.0924 7.51181 16.8054 7.14724 16.5669 7.02636C16.3561 6.91987 16.1512 6.92179 15.9375 6.84888C13.1546 6.88725 10.34 6.7798 7.57792 6.90548C7.23451 6.99087 6.85943 7.28252 6.74562 7.61638C6.72088 7.68929 6.73869 7.8025 6.67931 7.88884V14.1324C6.74661 14.3109 6.76442 14.5037 6.88417 14.6649C6.98116 14.7963 7.31368 15.0745 7.47103 15.1081C7.5987 15.1359 7.73725 15.087 7.86986 15.1714H15.9969C16.1077 15.0966 16.2393 15.135 16.3373 15.1072C16.4185 15.0841 16.7104 14.9172 16.7787 14.8606C16.9133 14.7503 17.1072 14.4097 17.128 14.2437C17.2062 13.6432 17.0607 12.8977 17.131 12.2799C17.319 11.8108 17.7416 11.5815 18.2295 11.8242L20.6076 13.5961V8.42513H20.6057Z",fill:"black"}),(0,s.jsx)("path",{d:"M15.2635 19.0454L14.834 19.22H6.47443C4.4031 18.9715 2.77908 17.4355 2.5 15.4256V9.74423C2.68309 9.02662 3.64997 9.00071 3.88947 9.6953L3.89244 15.2011C4.06167 16.2843 4.72473 17.2254 5.7886 17.636C6.18941 17.7905 6.53282 17.8001 6.93858 17.8711L15.0003 17.874C15.3357 18.0169 15.5119 18.3863 15.4357 18.7355C15.412 18.842 15.2586 18.9302 15.2625 19.0463L15.2635 19.0454Z",fill:"black"})]})})})}),(0,s.jsx)("div",{"data-group":"app-messages-contact-non-group-options",children:(0,s.jsx)("button",{className:"flex h-[30px] w-[30px] items-center justify-center text-center",children:(0,s.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("circle",{cx:"9",cy:"9",r:"8.25",stroke:"currentColor",strokeWidth:"1.5"}),(0,s.jsx)("path",{d:"M7 8H8.5C8.77614 8 9 8.22386 9 8.5V14",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,s.jsx)("circle",{cx:"9",cy:"5",r:"1",fill:"currentColor"})]})})})]})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute bottom-0 left-0 right-0 pb-5",ref:v,"data-ref":"app-messages-contact-details-button-add",children:(0,s.jsx)("div",{className:"relative flex w-full items-center justify-center",children:(0,s.jsx)(ie,{path:"/app/messages/conversation/".concat(a,"/recipients"),page:M.dC.Messages,children:(0,s.jsx)(ht,{title:g.t["MESSAGES_DETAIL-VIEW_RECIPIENTS_POP-UP-TITLE"],text:g.t["MESSAGES_DETAIL-VIEW_RECIPIENTS_POP-UP-TEXT"],cta:{text:g.t["MESSAGES_DETAIL-VIEW_RECIPIENTS_POP-UP-OK"]},children:(0,s.jsx)("button",{className:"pointer-events-auto rounded-full border border-primary-gray-200 px-7 py-1.5 text-sm font-semibold",children:g.t["MESSAGES_DETAIL-VIEW_ADD-REMOVE_TEXT"]})})})})})]})]})})};function hj(){var e=new Date,t=(0,g.RA)(e,{weekday:"long",month:"long",day:"numeric"});return(0,s.jsx)("div",{className:"w-full px-6 pb-4 text-center","data-ref":"app-chat-message-date",children:(0,s.jsx)("div",{className:"py-3",children:(0,s.jsx)("div",{className:"whitespace-no-wrap rounded-3xl text-xs text-primary-gray-375 ltr:pl-2 rtl:pr-2","data-ref":"app-chat-item-time",children:t})})})}var Aj=function(){var e=(0,dt.useRouter)();return(0,g.rB)(e.query.lang)},Ej=function(e){var t=e.emojiImage1,a=e.emojiImage2,n=e.time,r=e.animationType,l=e.direction,c=e.containerClassName,o=e.showTime,d=void 0===o||o,u=(0,i.useRef)(null),p=(0,i.useRef)(null),x=(0,i.useRef)(null),f=(0,i.useRef)(null),m=(0,i.useRef)(null);return(0,i.useLayoutEffect)((function(){var e=u.current,t=p.current,a=x.current,s=f.current,i=m.current,n=_C(e,t,a,s,i,r);return n.map((function(e){e.play()})),function(){I.ZP.killTweensOf([e,t,a,s,i]),n.map((function(e){e.kill()}))}}),[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:H()("w-full px-6 pb-6",c),"data-ref":"app-chat-message-emoji-".concat(l),children:(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)("div",{className:"from"===l?"":"relative flex w-full items-center justify-end",children:(0,s.jsx)("div",{className:"relative",style:{width:"150px",height:"150px"},"data-component":"app-emoji-preview-animation","data-index":"0",children:(0,s.jsxs)("div",{ref:u,className:"absolute inset-0","data-ref":"app-emoji-preview-wrapper",children:[(0,s.jsx)("div",{ref:p,className:"absolute inset-0 flex items-center justify-center px-5","data-ref":"app-emoji-preview-container-1",children:(0,s.jsx)("img",{ref:f,src:t,alt:"",className:"w-full","data-ref":"app-emoji-preview-image-1"})}),(0,s.jsx)("div",{ref:x,className:"absolute inset-0 flex items-center justify-center px-5","data-ref":"app-emoji-preview-container-2",children:(0,s.jsx)("img",{ref:m,src:a,alt:"",className:"w-full","data-ref":"app-emoji-preview-image-2"})})]})})}),d&&(0,s.jsx)("div",{className:"from"===l?"w-auto self-end":"flex w-full items-center justify-end",children:(0,s.jsxs)("div",{className:"whitespace-no-wrap rounded-3xl text-xs text-primary-gray-375 ltr:pl-2 rtl:pr-2",children:[g.t["MESSAGES_EMOJI-PAIRS_MMS"]," ",(0,s.jsx)("span",{"data-ref":"app-chat-item-time",children:n})]})})]})})})};function gj(e){var t=e.direction,a=e.image1,i=e.image2,n=e.type,r=e.time,l=e.append,c=e.isLastMsg,o=void 0===c||c;return"to"!==t?null:(0,s.jsx)(Ej,{direction:t,emojiImage1:a,emojiImage2:i,animationType:n,time:r,showTime:o,containerClassName:H()({"!pb-1":"top"==l||"middle"==l})})}function vj(e){var t=e.image,a=e.pastMinutes,i=e.append,n=e.isLastMsg,r=void 0===n||n;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:H()("c-app-android-messages__group__group-item w-full px-6 smd:px-4 xxs:px-4",{"pb-4":"top"!==i&&"middle"!==i,"pb-1":"top"===i||"middle"===i}),"data-ref":"app-chat-message-image-from",children:(0,s.jsxs)("div",{className:"relative w-full items-end gap-x-2",children:[(0,s.jsx)("div",{className:"flex-no-wrap flex items-start justify-start ltr:text-left rtl:text-right",children:(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("div",{className:H()("h-[250px] max-w-[170px] overflow-hidden rounded-xl",{"rounded-bl-sm":"top"===i,"rounded-tl-sm":"bottom"===i,"rounded-bl-sm rounded-tl-sm":"middle"===i,"h-[170px]":t.includes("emoji")}),"data-ref":"app-chat-item-image",children:(0,s.jsx)("img",{src:t,className:"h-full w-full rounded-xl object-cover",alt:""})}),(0,s.jsx)("div",{className:"w-auto self-end"})]})}),r&&(0,s.jsx)("div",{className:"mt-1 text-xs font-normal not-italic leading-[normal] ltr:pl-2 rtl:pr-2",children:a})]})})})}var Cj={path:"/app/android-messages/conversation/sam/push-notifications",pageTitle:M.dC.AndroidMessages},jj=function(){var e=(0,pt.O)().pushOverlayStack,t=(0,i.useState)(!1),a=t[0],s=t[1],n=function(){e({data:{title:g.t.PUSH_NOTIFICATION_SUBSCRIPTION_DENIED_TITLE,text:g.t.PUSH_NOTIFICATION_SUBSCRIPTION_DENIED_TEXT,cta:{text:g.t.PUSH_NOTIFICATION_SUBSCRIPTION_DENIED_CTA}},type:"alert"}),(0,V.Kq)("".concat(Cj.path,"/permission-denied-pop-up"),Cj.pageTitle)},r=function(){e({data:{text:g.t.PUSH_NOTIFICATION_SUBSCRIPTION_OPT_IN_TEXT,cta:{text:g.t.PUSH_NOTIFICATION_SUBSCRIPTION_OPT_IN_CTA,handleClick:function(){(0,Ae.qN)((function(e){(0,V.Kq)("".concat(Cj.path,"/").concat(e),Cj.pageTitle),"default"===e&&s(!1),"denied"===e&&he.vf&&setTimeout(n,800)}),(function(){s(!1)})),s(!0),(0,V.Kq)("".concat(Cj.path,"/opt-in-ok"),Cj.pageTitle)}},secondaryCta:{text:g.t.PUSH_NOTIFICATION_SUBSCRIPTION_OPT_IN_NOT_NOW,handleClick:function(){(0,V.Kq)("".concat(Cj.path,"/opt-in-not-now"),Cj.pageTitle)}}},type:"alert"})};return{handleSubscriptionMessageClick:function(){(0,Ae.Ph)()&&!a?r():(0,Ae.qO)().then((function(t){!function(){switch(t){case"granted":return e({data:{title:g.t.PUSH_NOTIFICATION_SUBSCRIPTION_ALREADY_ENABLED_TITLE,text:g.t.PUSH_NOTIFICATION_SUBSCRIPTION_ALREADY_ENABLED_TEXT,cta:{text:g.t.PUSH_NOTIFICATION_SUBSCRIPTION_ALREADY_ENABLED_CTA}},type:"alert"}),void(0,V.Kq)("".concat(Cj.path,"/permission-granted-pop-up"),Cj.pageTitle);case"denied":return n();default:;}}()})),(0,V.Kq)(Cj.path,Cj.pageTitle)}}},Nj=function(e){var t=e.text,a=e.link,i=e.linkLabel,n=e.messageClickHandler,r=(0,P.vy)(),l=r.hasBeenClicked,c=r.setHasBeenClicked,o="learn-more"===a,d=ae();return o?(0,s.jsx)(s.Fragment,{children:g.t.formatString(g.t[t],(0,s.jsx)("a",{className:"".concat(a?"font-medium text-primary-blue-100 underline":""),target:"_blank",rel:"noopener noreferrer",href:d,onClick:function(){c((0,L.Z)((0,_.Z)({},l),{learnMore:!0}))},children:g.t[i]}))}):(0,s.jsx)(s.Fragment,{children:g.t.formatString(g.t[t],(0,s.jsx)("span",{className:"".concat(a?"font-medium text-primary-blue-100 underline":""),onClick:n,children:g.t[i]}))})};function Tj(e){var t=e.text,a=e.link,i=e.linkLabel,n=e.formattedDateTime,r=e.pastMinutes,l=e.emojiToggleRef,c=e.append,o=e.isLastMsg,d=void 0===o||o,u=(0,P.fv)().navigateTo,p=jj().handleSubscriptionMessageClick;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:H()("c-app-android-messages__group__group-item w-full px-6 smd:px-4 xxs:px-4",{"pb-4":"top"!==c&&"middle"!==c,"pb-1":"top"===c||"middle"===c}),"data-ref":"app-chat-message-text-from",children:(0,s.jsxs)("div",{className:"relative w-full items-end gap-x-2",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex flex-nowrap items-start justify-start ltr:text-left rtl:text-right",children:[(0,s.jsx)("div",{className:"",children:(0,s.jsx)("div",{className:H()("text-md max-w-[300px] rounded-3xl bg-primary-gray-100 px-4 py-2 font-normal not-italic text-[#1F1F1F]",{"ltr:rounded-bl-sm rtl:rounded-br-sm":"top"===c,"ltr:rounded-tl-sm rtl:rounded-tr-sm":"bottom"===c,"ltr:rounded-bl-sm ltr:rounded-tl-sm rtl:rounded-br-sm rtl:rounded-tr-sm":"middle"===c}),"data-ref":"app-chat-item-text",children:(0,s.jsx)("div",{children:(0,s.jsx)(Nj,{text:t,link:a,linkLabel:i,messageClickHandler:function(){var e=a.split("/")[0];"emoji-pairs"===a?l.current():"push-notifications"===a?p():u.current({appName:e,path:a,shouldResetScreen:!0,shouldResetTutorial:!0})}})})})}),(0,s.jsx)("div",{className:"w-auto self-end",children:(0,s.jsx)("div",{className:"whitespace-no-wrap hidden rounded-xl text-xs text-primary-gray-375 ltr:pl-2 rtl:pr-2","data-ref":"app-chat-item-time",children:n})})]}),d&&(0,s.jsx)("div",{className:"whitespace-no-wrap mt-1 text-xs font-normal not-italic leading-[normal] ltr:ml-2 rtl:mr-2",children:r})]})})})}var wj=function(e){var t=e.className;return(0,s.jsxs)("svg",{width:19,height:12,viewBox:"0 0 19 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_4219_432)",children:[(0,s.jsx)("path",{d:"M6.36 7.43998L5.23 8.56998C5 8.79998 4.62 8.79998 4.38 8.56998L2.82 7.01998C2.59 6.78998 2.59 6.40998 2.82 6.17998C3.05 5.94998 3.43 5.94998 3.66 6.17998L4.8 7.31998L6.2 5.91998C6.23 3.79998 7.22 1.91998 8.77 0.689977C7.94 0.259977 7 0.00997652 6 0.00997652C2.69 -2.34786e-05 0 2.68998 0 5.99998C0 9.30998 2.69 12 6 12C7 12 7.94 11.75 8.77 11.32C7.56 10.36 6.69 8.99998 6.35 7.44998L6.36 7.43998Z",fill:"#0B57D0"}),(0,s.jsx)("path",{d:"M13 0C12.7 0 12.41 0.03 12.13 0.07C12.08 0.07 12.03 0.08 11.97 0.09C11.68 0.14 11.4 0.21 11.13 0.3C8.73 1.09 7 3.34 7 6C7 8.96 9.15 11.42 11.98 11.91C12.03 11.91 12.07 11.92 12.12 11.93C12.41 11.97 12.7 12 13 12C16.31 12 19 9.31 19 6C19 2.69 16.31 0 13 0ZM11.97 8.72C11.85 8.76 11.71 8.76 11.59 8.72C11.53 8.7 11.48 8.66 11.43 8.62C11.41 8.61 11.39 8.6 11.38 8.59L10.23 7.44L9.82 7.03C9.82 7.03 9.79 6.98 9.77 6.95C9.74 6.91 9.71 6.88 9.69 6.83C9.66 6.76 9.65 6.68 9.65 6.61C9.65 6.58 9.66 6.54 9.67 6.51C9.67 6.47 9.67 6.43 9.7 6.39C9.72 6.35 9.75 6.31 9.78 6.27C9.8 6.25 9.81 6.22 9.83 6.2C9.89 6.14 9.95 6.1 10.01 6.07C10.04 6.06 10.07 6.06 10.1 6.05C10.19 6.03 10.28 6.03 10.37 6.05C10.4 6.05 10.43 6.05 10.45 6.07C10.52 6.1 10.59 6.14 10.65 6.2L11.79 7.34L15.33 3.8C15.33 3.8 15.4 3.75 15.43 3.73C15.54 3.66 15.65 3.62 15.77 3.63C15.84 3.63 15.9 3.64 15.97 3.67C15.98 3.67 15.99 3.69 16 3.69C16.06 3.72 16.11 3.75 16.16 3.8C16.18 3.82 16.18 3.84 16.2 3.85C16.24 3.9 16.28 3.94 16.3 3.99C16.31 4.02 16.31 4.06 16.32 4.09C16.34 4.19 16.34 4.29 16.32 4.38C16.32 4.4 16.32 4.42 16.31 4.44C16.28 4.51 16.24 4.58 16.18 4.64L12.23 8.59C12.17 8.65 12.1 8.69 12.03 8.72C12.01 8.72 11.99 8.72 11.97 8.73V8.72Z",fill:"#0B57D0"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_4219_432",children:(0,s.jsx)("rect",{width:19,height:12,fill:"white"})})})]})},_j=a(25935);function bj(e){var t=e.direction,a=e.text,i=e.formattedDateTime,n=e.formattedTime,r=e.pastMinutes,l=e.append;return(0,s.jsxs)(s.Fragment,{children:["from"===t&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:H()("c-app-android-messages__group__group-item w-full px-6 smd:px-4 xxs:px-4",{"pb-4":"top"!==l&&"middle"!==l,"pb-1":"top"===l||"middle"===l}),"data-ref":"app-chat-message-text-from",children:(0,s.jsxs)("div",{className:"relative w-full items-end gap-x-2",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex flex-nowrap items-start justify-start ltr:text-left rtl:text-right",children:[(0,s.jsx)("div",{className:"",children:(0,s.jsx)("div",{className:H()("text-md max-w-[300px] rounded-3xl bg-primary-gray-100 px-4 py-2 font-normal not-italic text-[#1F1F1F]",{"ltr:rounded-bl-sm rtl:rounded-br-sm":"top"===l,"ltr:rounded-tl-sm rtl:rounded-tr-sm":"bottom"===l,"ltr:rounded-bl-sm ltr:rounded-tl-sm rtl:rounded-br-sm rtl:rounded-tr-sm":"middle"===l}),"data-ref":"app-chat-item-text",children:(0,s.jsx)("div",{children:(0,_j.ZP)(g.t[a]||a)})})}),(0,s.jsx)("div",{className:"w-auto self-end",children:(0,s.jsx)("div",{className:"whitespace-no-wrap hidden rounded-xl text-xs text-primary-gray-375 ltr:pl-2 rtl:pr-2","data-ref":"app-chat-item-time",children:i})})]}),(0,s.jsx)("div",{className:H()("whitespace-no-wrap mt-1 text-xs font-normal not-italic leading-[normal] ltr:ml-2 rtl:mr-2",{hidden:"middle"===l||"top"===l}),children:r})]})})}),"to"===t&&(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"w-full px-6 pb-4","data-ref":"app-chat-message-text-to",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-end justify-end ltr:text-right rtl:text-left",children:[(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"whitespace-no-wrap hidden rounded-xl text-xs text-primary-gray-375 ltr:pr-2 rtl:pl-2","data-ref":"app-chat-item-time",children:i})}),(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"c-app-messages__conversation-message text-md max-w-[224px] break-words rounded-3xl bg-[#3B7CF3] px-4 py-2 text-left text-white","data-ref":"app-chat-item-text",children:(0,_j.ZP)(g.t[a]||a)})})]}),(0,s.jsxs)("div",{className:"whitespace-no-wrap mt-1 flex items-center justify-end gap-x-0.5 rounded-xl text-xs font-normal not-italic leading-[normal] ltr:pr-2 rtl:pl-2","data-ref":"app-chat-item-time",children:[(0,s.jsx)("span",{children:n}),(0,s.jsx)(wj,{})]})]})})]})}function Sj(e){var t=e.message,a=e.emojiToggleRef,i=Aj(),n=new Date(t.timestamp),r=n.toLocaleDateString(i,{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"}),l=n.toLocaleTimeString(i,{hour:"numeric",minute:"2-digit"}),c=n.toLocaleTimeString(i,{hour:"numeric",minute:"2-digit"}).toUpperCase();switch(t.type){case"text":return(0,s.jsx)(bj,{direction:t.direction,text:t.text,formattedDateTime:r,formattedTime:l,pastMinutes:c,append:t.append});case"link":return(0,s.jsx)(Tj,{text:t.text,link:t.link,linkLabel:t.linkLabel,formattedDateTime:r,pastMinutes:c,emojiToggleRef:a,append:t.append});case"image":return(0,s.jsx)(vj,{image:t.image,pastMinutes:c,append:t.append});case"emoji":return(0,s.jsx)(gj,{direction:t.direction,image1:t.emojiImage1,image2:t.emojiImage2,type:t.animation,time:l})}}function yj(e){var t,a=e.onContactsClick,n=e.emojiToggleRef,r=(0,i.useRef)(null),l=_e(),c=l.clearActiveContactId,o=l.getActiveContact,d=l.markMessagesAsReadForContact,u=(0,i.useRef)(null),p=(0,P.qr)(),x=p.setBackButtonStack,f=p.popBackButtonStack,m=o(),h=(0,i.useCallback)((function(){f(),c()}),[f]);return(0,i.useEffect)((function(){u.current=function(){h()}}),[u,h]),(0,i.useLayoutEffect)((function(){m&&x([u]);var e=r.current;return e.scrollTop=e.scrollHeight,function(){}}),[m,null===(t=r.current)||void 0===t?void 0:t.scrollHeight]),(0,i.useEffect)((function(){return function(){d(m.id)}}),[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0",children:(0,s.jsx)("div",{className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsx)("div",{className:"absolute left-0 right-0 top-[45px] overflow-hidden",style:{height:"calc(100% - 180px)",borderRadius:"2rem",borderTopLeftRadius:"0",borderTopRightRadius:"0"},children:(0,s.jsx)("div",{ref:r,className:"scrolling-touch absolute bottom-0 left-0 right-0 top-0 overflow-y-auto overflow-x-hidden","data-ref":"app-chat-content",children:(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsxs)("div",{className:"c-app-messages__conversation-background sticky top-0 z-20 pb-3",children:[(0,s.jsx)("div",{className:"pointer-events-none absolute h-[50px] w-full",style:{top:"calc(100% - 20px)"},children:(0,s.jsx)("div",{className:"absolute top-0 w-full"})}),(0,s.jsx)("div",{className:"relative px-6 smd:px-4 xxs:px-4",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center",children:[(0,s.jsx)("div",{className:"ltr:mr-2 rtl:ml-2",children:(0,s.jsx)("button",{"data-ref":"app-chat-button-close",className:"h-[40px] w-[30px] rtl:-scale-x-100 rtl:transform",onClick:function(){h()},children:(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("g",{children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5641 4.15216C15.8591 3.86116 15.8631 3.38616 15.5721 3.09116C15.2811 2.79716 14.8061 2.79416 14.5111 3.08516L6.73311 10.7552C6.39711 11.0862 6.21211 11.5292 6.21211 12.0012C6.21211 12.4722 6.39711 12.9162 6.73311 13.2472L14.5111 20.9162C14.6571 21.0592 14.8471 21.1312 15.0381 21.1312C15.2311 21.1312 15.4251 21.0562 15.5721 20.9082C15.8631 20.6132 15.8591 20.1382 15.5641 19.8472L7.78711 12.1782C7.72111 12.1152 7.71211 12.0402 7.71211 12.0012C7.71211 11.9622 7.72111 11.8862 7.78711 11.8232L15.5641 4.15216Z",fill:"currentColor"})})})})}),(0,s.jsx)("div",{className:"text-xl font-medium leading-none","data-ref":"app-messages-contact-details-button",onClick:a,children:(0,s.jsxs)("div",{className:"flex items-center justify-start",children:[(0,s.jsx)("div",{className:"ltr:mr-3 rtl:ml-3",children:(0,s.jsx)(_g,{name:m.name,size:"sm"})}),(0,s.jsx)("div",{className:"relative ltr:mr-3 rtl:ml-3",children:(0,s.jsx)("span",{"data-ref":"app-chat-field-name",className:"relative whitespace-nowrap",children:g.t[m.name]})}),(0,s.jsx)("div",{children:(0,s.jsx)("svg",{viewBox:"0 0 15 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-[12px]",children:(0,s.jsx)("path",{d:"M2.20711 0.792893C1.81658 0.402369 1.18342 0.402369 0.792893 0.792893C0.402369 1.18342 0.402369 1.81658 0.792893 2.20711L2.20711 0.792893ZM14.2071 2.20711C14.5976 1.81658 14.5976 1.18342 14.2071 0.792893C13.8166 0.402369 13.1834 0.402369 12.7929 0.792893L14.2071 2.20711ZM0.792893 2.20711L6.08579 7.5L7.5 6.08579L2.20711 0.792893L0.792893 2.20711ZM12.7929 0.792893L7.5 6.08579L8.91421 7.5L14.2071 2.20711L12.7929 0.792893ZM6.08579 7.5C6.86684 8.28105 8.13316 8.28105 8.91421 7.5L7.5 6.08579L6.08579 7.5Z",fill:"#9E9E9E"})})})]})})]}),(0,s.jsx)("div",{className:"flex-no-wrap flex gap-2",children:(0,s.jsx)("button",{className:"flex h-[30px] w-[30px] items-center justify-center text-center",children:(0,s.jsx)("svg",{viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-[20px]",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.25 14.5C30.596 14.5 32.5 12.596 32.5 10.25C32.5 7.904 30.596 6 28.25 6C25.904 6 24 7.904 24 10.25C24 12.596 25.904 14.5 28.25 14.5ZM28.25 23.7085C25.904 23.7085 24 25.6125 24 27.9585C24 30.3045 25.904 32.2085 28.25 32.2085C30.596 32.2085 32.5 30.3045 32.5 27.9585C32.5 25.6125 30.596 23.7085 28.25 23.7085ZM24 45.6665C24 43.3205 25.904 41.4165 28.25 41.4165C30.596 41.4165 32.5 43.3205 32.5 45.6665C32.5 48.0125 30.596 49.9165 28.25 49.9165C25.904 49.9165 24 48.0125 24 45.6665Z",fill:"currentColor"})})})})]})})]}),(0,s.jsx)("div",{className:"c-app-messages__conversation-background relative z-10 h-full",style:{borderRadius:"2rem"},children:(0,s.jsxs)("div",{className:"w-full","data-ref":"app-chat-list",children:[(0,s.jsx)(hj,{}),m.messages.map((function(e,t){return(0,s.jsx)(Sj,{emojiToggleRef:n,message:e},t)}))]})})]})})})})})})}var Rj="/_next/static/media/audio-message.caa27c84.svg",Lj=function(e){var t=e.color,a=void 0===t?"currentColor":t;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(aa.Z,{languages:["jp"],children:(0,s.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99 0C4.47 0 0 4.48 0 10C0 15.52 4.47 20 9.99 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 9.99 0ZM10 18C5.58 18 2 14.42 2 10C2 5.58 5.58 2 10 2C14.42 2 18 5.58 18 10C18 14.42 14.42 18 10 18ZM15 7.5C15 8.33 14.33 9 13.5 9C12.67 9 12 8.33 12 7.5C12 6.67 12.67 6 13.5 6C14.33 6 15 6.67 15 7.5ZM6.5 9C7.33 9 8 8.33 8 7.5C8 6.67 7.33 6 6.5 6C5.67 6 5 6.67 5 7.5C5 8.33 5.67 9 6.5 9ZM15.1099 12C14.3099 14.04 12.3299 15.5 9.99989 15.5C7.66989 15.5 5.68989 14.04 4.88989 12H15.1099Z",fill:a})})}),(0,s.jsx)(sa.Z,{languages:["jp"],children:(0,s.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 10C0 4.48 4.47 0 9.99 0C15.52 0 20 4.48 20 10C20 15.52 15.52 20 9.99 20C4.47 20 0 15.52 0 10ZM2 10C2 14.42 5.58 18 10 18C14.42 18 18 14.42 18 10C18 5.58 14.42 2 10 2C5.58 2 2 5.58 2 10ZM13.25 9C13.9417 9 14.5 8.44167 14.5 7.75C14.5 7.05833 13.9417 6.5 13.25 6.5C12.5583 6.5 12 7.05833 12 7.75C12 8.44167 12.5583 9 13.25 9ZM8 7.75C8 8.44167 7.44167 9 6.75 9C6.05833 9 5.5 8.44167 5.5 7.75C5.5 7.05833 6.05833 6.5 6.75 6.5C7.44167 6.5 8 7.05833 8 7.75Z",fill:"#444746"}),(0,s.jsx)("path",{d:"M14.5613 13.0602C13.5751 14.5322 11.8985 15.5 9.995 15.5C8.09236 15.5 6.41643 14.5331 5.43005 13.0622C5.10845 12.5826 5.49835 12 6.07579 12C6.3665 12 6.63053 12.1578 6.80513 12.3903C7.53629 13.3636 8.68315 14 9.995 14C11.3054 14 12.4591 13.365 13.1852 12.3934C13.36 12.1595 13.6247 12 13.9167 12C14.4929 12 14.882 12.5814 14.5613 13.0602Z",fill:"#444746"})]})})]})},Ij=a(78526);function Pj(e){var t=e.onEmojiClick,a=e.emojiToggleRef,n=D("app-messages/icon-send.png"),r=(0,i.useState)(!1),l=r[0],c=r[1],o=(0,i.useRef)(null),d=(0,i.useRef)(null),u=(0,i.useRef)(null),p=(0,P.q0)().setNavAvailable,x=_e(),f=x.activeContactId,m=x.addUserResponse,h=(0,P.qr)(),A=h.isAppOpen,E=h.pushBackButtonStack,v=h.popBackButtonStack,C=(0,i.useRef)(null),j=(0,i.useRef)(null),N=(0,i.useRef)(null),T=(0,i.useRef)(null),w=(0,i.useRef)(null),_=(0,i.useRef)(null),b=(0,i.useRef)(null),S=function(){var e=C.current,t=j.current;I.ZP.set(t,{display:"flex"}),I.ZP.set(e,{display:"none"})},y=function(){var e=N.current,t=Ga(e.value);""!=t&&0!==t.trim().length?(m({type:"text",text:t,append:"none",timestamp:Date.now(),readReceipt:!0,direction:"to"}),e.value="",S()):e.value="";var a=_.current,s=b.current;I.ZP.set(a,{opacity:0}),I.ZP.set(s,{opacity:1})},R=function(e){e&&(e.preventDefault(),e.stopPropagation());var t=o.current,a=N.current;I.ZP.killTweensOf(t),c(!1),I.ZP.set(a,{pointerEvents:"auto"}),I.ZP.to(t,{maxHeight:0,duration:.3,ease:"power3.out"})},L=function(){l||(!function(){var e=d.current,t=o.current,a=N.current;I.ZP.killTweensOf(t),c(!0),I.ZP.set(e,{opacity:0}),I.ZP.set(a,{pointerEvents:"none"}),I.ZP.fromTo(t,{maxHeight:0},{maxHeight:t.scrollHeight,duration:.3,ease:"power3.out"})}(),E(w))};a.current=L;var O=(0,i.useCallback)((function(){v(),R()}),[v,R]);return(0,i.useEffect)((function(){w.current=function(){O()}}),[w,O]),(0,i.useEffect)((function(){A||O()}),[A]),(0,i.useEffect)((function(){l?T.current.addEventListener("click",R):T.current.removeEventListener("click",R);return function(){T.current&&T.current.removeEventListener("click",R)}}),[l]),(0,i.useEffect)((function(){var e;f||(R(),null===(e=u.current)||void 0===e||e.pause())}),[f]),(0,i.useEffect)((function(){var e=_.current,t=b.current,a=function(){N.current.value.length>0?(I.ZP.set(e,{opacity:1}),I.ZP.set(t,{opacity:0})):(I.ZP.set(e,{opacity:0}),I.ZP.set(t,{opacity:1}))};return N.current.addEventListener("input",a),function(){N.current&&N.current.removeEventListener("input",a)}}),[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"absolute bottom-[80px] z-50 w-full",children:(0,s.jsxs)("div",{className:"c-app-messages__conversation-background relative w-full",children:[(0,s.jsx)("div",{ref:T,className:"relative px-6 py-2 smd:px-4 xxs:px-4","data-ref":"app-chat-field-bar",children:(0,s.jsx)("form",{action:"/",method:"POST","data-ref":"app-chat-form",onSubmit:function(e){e.preventDefault(),y()},children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-center",children:[(0,s.jsxs)("div",{className:"ltr:mr-4 rtl:ml-4",children:[(0,s.jsxs)("div",{ref:j,className:"flex items-center justify-center gap-x-5","data-ref":"app-chat-field-options-open",children:[(0,s.jsx)("div",{children:(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("g",{children:(0,s.jsxs)("g",{children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.5352 20.0391H6.53516C5.15416 20.0391 4.03516 18.9201 4.03516 17.5391V6.53906C4.03516 5.15806 5.15416 4.03906 6.53516 4.03906H17.5352C18.9162 4.03906 20.0352 5.15806 20.0352 6.53906V17.5391C20.0352 18.9201 18.9162 20.0391 17.5352 20.0391Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M4.14258 17.9552L8.49658 13.8492C8.88758 13.4812 9.49858 13.4872 9.88258 13.8622L11.2526 15.2032C11.4496 15.3952 11.7706 15.3952 11.9666 15.2032L15.3306 11.9062C15.7256 11.5192 16.3596 11.5262 16.7466 11.9212L19.9276 15.1762",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.77734 10.6235C9.74234 10.6235 10.5273 9.83854 10.5273 8.87354C10.5273 7.90854 9.74234 7.12354 8.77734 7.12354C7.81234 7.12354 7.02734 7.90854 7.02734 8.87354C7.02734 9.83854 7.81234 10.6235 8.77734 10.6235Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})})})}),(0,s.jsx)("div",{children:(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("g",{children:(0,s.jsx)("g",{children:(0,s.jsxs)("g",{children:[(0,s.jsx)("path",{d:"M17.5958 9.42139C16.9738 9.42139 16.4708 8.91739 16.4708 8.29639C16.4708 7.67539 16.9738 7.17139 17.5958 7.17139C18.2168 7.17139 18.7208 7.67539 18.7208 8.29639C18.7208 8.91739 18.2168 9.42139 17.5958 9.42139Z",fill:"currentColor"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.4957 5.25H6.2497C4.8697 5.25 3.7497 6.369 3.7497 7.75V16.666C3.7497 18.047 4.8697 19.166 6.2497 19.166H18.4957C19.8767 19.166 20.9957 18.047 20.9957 16.666V7.75C20.9957 6.369 19.8767 5.25 18.4957 5.25Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.2475 15.208C10.5915 15.208 9.2475 13.865 9.2475 12.208C9.2475 10.551 10.5915 9.20801 12.2475 9.20801C13.9045 9.20801 15.2475 10.551 15.2475 12.208C15.2475 13.865 13.9045 15.208 12.2475 15.208Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})})})})}),(0,s.jsx)("div",{children:(0,s.jsx)(ie,{path:"/app/messages/conversation/".concat(f,"/more"),page:M.dC.Messages,children:(0,s.jsx)(ht,{title:g.t["MESSAGES_PLUS-SCREEN_POP-UP-TITLE"],text:g.t["MESSAGES_PLUS-SCREEN_POP-UP-TEXT"],cta:{text:g.t["MESSAGES_PLUS-SCREEN_POP-UP-OK"]},children:(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-ref":"app-chat-more-button",className:"c-app-messages__button-more",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.8269 11.1728V4.1391C12.8269 3.68295 12.4567 3.31274 12.0006 3.31274C11.5444 3.31274 11.1742 3.68295 11.1742 4.1391V11.1728H4.12524C3.66909 11.1728 3.29889 11.543 3.29889 11.9992C3.29889 12.4553 3.66909 12.8255 4.12524 12.8255H11.1742V19.861C11.1742 20.3171 11.5444 20.6874 12.0006 20.6874C12.4567 20.6874 12.8269 20.3171 12.8269 19.861V12.8255H19.8748C20.3309 12.8255 20.7011 12.4553 20.7011 11.9992C20.7011 11.543 20.3309 11.1728 19.8748 11.1728H12.8269Z",fill:"currentColor"})})})})})]}),(0,s.jsx)("div",{ref:C,className:"hidden items-center justify-center gap-x-5","data-ref":"app-chat-field-options-close",onClick:S,children:(0,s.jsx)("div",{children:(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M8.76971 18.8691L15.1788 12.5499C15.5059 12.2268 15.5059 11.6987 15.1788 11.3765L8.76971 5.0564",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})})]}),(0,s.jsxs)("div",{className:"flex w-full items-center justify-center",children:[(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)("div",{className:"relative h-[40px] w-full rounded-3xl bg-primary-gray-125",children:(0,s.jsx)("div",{className:"flex-no-wrap relative flex h-full w-full items-center ltr:pl-3 ltr:pr-2 rtl:pr-3 rtl:pl-2",children:(0,s.jsxs)("div",{className:"flex w-full flex-nowrap",children:[(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)("input",{ref:N,type:"text",className:"c-app-messages__field relative w-full bg-transparent ltr:pl-1 ltr:pr-3 rtl:pr-1 rtl:pl-3","data-ref":"app-chat-field-text",onFocus:function(){var e=C.current,t=j.current;I.ZP.set(t,{display:"none"}),I.ZP.set(e,{display:"flex"}),p(!1),he.vf||(0,ka.jL)()},onBlur:function(){""!=Ga(N.current.value)&&y(),p(!0),he.vf||(0,ka.Am)()},placeholder:g.t["MESSAGE-TEXT_MESSAGE-PLACEHOLDER"]})}),(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("div",{className:"relative",children:(0,s.jsxs)("div",{className:"relative flex items-end justify-end text-black","data-ref":"app-emoji-button",onClick:function(){L()},children:[(0,s.jsx)("div",{className:"gpu relative",children:(0,s.jsx)(Lj,{})}),(0,s.jsx)("div",{ref:d,className:"pointer-events-none absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 transform items-center justify-center","data-ref":"tutorial-highlight-1","data-guide":"tutorial","data-tutorial-type":"emoji-pairs",style:{width:"calc(100% + 7px)",height:"calc(100% + 7px)"},children:(0,s.jsx)("div",{className:"relative h-full w-full flex-1",children:(0,s.jsxs)("div",{className:"pointer-events-none absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 transform","data-component":"tutorial-button",children:[(0,s.jsx)("div",{className:"absolute inset-0 opacity-20","data-ref":"tutorial-button-background",children:(0,s.jsx)("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transform border-4 border-primary-blue-100",style:{width:"calc(100% + 6px)",height:"calc(100% + 6px)",borderRadius:"16px"}})}),(0,s.jsx)("div",{className:"absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 transform border-2 border-primary-blue-100",style:{borderRadius:"14px"}})]})})})]})})})})]})})})}),(0,s.jsx)("div",{className:"ltr:ml-2 rtl:mr-2",children:(0,s.jsxs)("button",{type:"submit","data-ref":"app-chat-button-submit",className:"flex h-[40px] w-[40px] items-center justify-center",children:[(0,s.jsx)("img",{alt:"",src:Rj,className:"absolute h-[22px] w-[22px]","data-component":"app-themes-changes",ref:b}),(0,s.jsx)("img",{alt:"",src:n,className:"absolute h-[40px] w-[40px] opacity-0","data-component":"app-themes-changes",ref:_})]})})]})]})})}),(0,s.jsxs)("div",{ref:o,className:"relative w-full overflow-hidden",style:{maxHeight:0},"data-ref":"app-chat-emoji-container",children:[(0,s.jsxs)("div",{className:"relative w-full bg-primary-gray-125",children:[(0,s.jsx)(sa.Z,{languages:["ae"],children:(0,s.jsx)("img",{src:cj,alt:"",className:"w-full"})}),(0,s.jsx)(aa.Z,{languages:["ae"],children:(0,s.jsx)("img",{src:oj,alt:"",className:"w-full"})})]}),(0,s.jsx)("div",{className:"relative mt-4 w-full",children:(0,s.jsx)("video",{onClick:function(){v(),R(),t()},"data-ref":"app-chat-video-emoji",playsInline:!0,muted:!0,autoPlay:!0,className:"w-full",ref:u,children:(0,s.jsx)("source",{src:"".concat(Ij.Cj,"/videos/emoji-pairs.mp4?version=").concat(M.K0),type:"video/mp4"})})})]})]})})})}var Oj=function(){var e=_e().activeContactId,t=(0,i.useState)(""),a=t[0],n=t[1],r=(0,P.qr)().appName,l=(0,i.useRef)(null),c=(0,i.useRef)(null);return(0,i.useEffect)((function(){if(e&&"messages"===r){(0,V.Kq)("/app/messages/conversation/".concat(e),M.dC.Messages);var t=l.current;I.ZP.set(t,{display:"block"})}else{var a=l.current;I.ZP.set(a,{display:"none"}),n("")}}),[e,r]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 z-50 hidden","data-component":"app-chat",ref:l,children:(0,s.jsxs)("div",{className:"c-app-messages__conversation absolute bottom-0 left-0 right-0 top-0 overflow-hidden",children:[(0,s.jsx)("div",{className:"c-app-messages__conversation-background fixed bottom-0 left-0 right-0 top-0 overflow-hidden"}),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 min-h-[100vh] min-w-[100vw]",children:e&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(yj,{onContactsClick:function(){n("contact")},emojiToggleRef:c}),(0,s.jsx)(Pj,{onEmojiClick:function(){n("emoji")},emojiToggleRef:c})]})})]})}),"contact"===a&&"messages"===r&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(mj,{chatNameSlug:e,onComplete:function(){n("")}})}),"emoji"===a&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(fj,{onComplete:function(){n("")}})})]})},Mj=function(){return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(Oj,{})})},Dj=function(){return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13.986",height:"36.301",viewBox:"0 0 13.986 36.301",children:(0,s.jsxs)("g",{transform:"translate(-1458.544 -3567.828)",children:[(0,s.jsx)("path",{d:"M5.579,0,0,5.579l5.579,5.579",transform:"translate(1471.116 3569.243) rotate(90)",fill:"none",stroke:"#fff",strokeLinecap:"round",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M5.579,0,0,5.579l5.579,5.579",transform:"translate(1459.958 3602.715) rotate(-90)",fill:"none",stroke:"#fff",strokeLinecap:"round",strokeWidth:"2"})]})})},Gj=function(e){var t=e.backgroundClassname,a=(0,i.useRef)(null);return(0,i.useEffect)((function(){var e=a.current;e&&I.ZP.set(e,{opacity:0})}),[]),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0","data-component":"button-background",onClick:function(){var e=a.current;e&&(I.ZP.fromTo(e,{scale:.8},{scale:1,duration:.6,ease:"power3.out"}),I.ZP.fromTo(e,{opacity:1},{opacity:0,duration:.6,delay:.3,ease:"power3.inOut"}))},children:(0,s.jsx)("div",{ref:a,className:"absolute bottom-0 left-0 right-0 top-0 rounded-3xl bg-primary-gray-150 ".concat(t,"__button--background"),"data-ref":"button-background-overlay"})})},kj=function(e){var t=e.text,a=e.onClick,i=e.active;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("button",{className:"w-full",onClick:a,children:(0,s.jsxs)("div",{className:"relative w-full px-4",children:[(0,s.jsx)(Gj,{}),i&&(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"c-app-messages__button-rounded--deactive pointer-events-none relative w-full rounded-3xl py-2 text-lg font-medium leading-normal","data-ref":"button-rounded-enabled",children:[(0,s.jsxs)("div",{className:"font-semibold opacity-100",children:["+"===t&&(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-[15px]",children:[(0,s.jsx)("path",{d:"M14.125 7.28125H8.40625V1.5625C8.40625 1.252 8.15425 1 7.84375 1C7.53325 1 7.28125 1.252 7.28125 1.5625V7.28125H1.5625C1.252 7.28125 1 7.53325 1 7.84375C1 8.15425 1.252 8.40625 1.5625 8.40625H7.28125V14.125C7.28125 14.4355 7.53325 14.6875 7.84375 14.6875C8.15425 14.6875 8.40625 14.4355 8.40625 14.125V8.40625H14.125C14.4355 8.40625 14.6875 8.15425 14.6875 7.84375C14.6875 7.53325 14.4355 7.28125 14.125 7.28125Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M14.125 7.28125H8.40625V1.5625C8.40625 1.252 8.15425 1 7.84375 1C7.53325 1 7.28125 1.252 7.28125 1.5625V7.28125H1.5625C1.252 7.28125 1 7.53325 1 7.84375C1 8.15425 1.252 8.40625 1.5625 8.40625H7.28125V14.125C7.28125 14.4355 7.53325 14.6875 7.84375 14.6875C8.15425 14.6875 8.40625 14.4355 8.40625 14.125V8.40625H14.125C14.4355 8.40625 14.6875 8.15425 14.6875 7.84375C14.6875 7.53325 14.4355 7.28125 14.125 7.28125",stroke:"currentColor",strokeWidth:"0.5"})]})}),"+"!==t&&(0,s.jsx)(s.Fragment,{children:g.t[t]})]}),"+"!==t&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"absolute bottom-2 left-0 right-0 flex items-center justify-center",children:(0,s.jsx)("div",{className:"c-app-messages__button-rounded--deactive--bar relative h-[2px] w-full"})})})]})}),!i&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"c-app-messages__button-rounded--active pointer-events-none relative w-full rounded-3xl border-primary-gray-100 py-2 \n text-lg font-medium leading-normal ".concat("+"!==t?"ltr:mr-0.5":""),"data-ref":"button-rounded-disabled",children:(0,s.jsxs)("div",{children:["+"===t&&(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-[15px]",children:[(0,s.jsx)("path",{d:"M14.125 7.28125H8.40625V1.5625C8.40625 1.252 8.15425 1 7.84375 1C7.53325 1 7.28125 1.252 7.28125 1.5625V7.28125H1.5625C1.252 7.28125 1 7.53325 1 7.84375C1 8.15425 1.252 8.40625 1.5625 8.40625H7.28125V14.125C7.28125 14.4355 7.53325 14.6875 7.84375 14.6875C8.15425 14.6875 8.40625 14.4355 8.40625 14.125V8.40625H14.125C14.4355 8.40625 14.6875 8.15425 14.6875 7.84375C14.6875 7.53325 14.4355 7.28125 14.125 7.28125Z",fill:"#858585"}),(0,s.jsx)("path",{d:"M14.125 7.28125H8.40625V1.5625C8.40625 1.252 8.15425 1 7.84375 1C7.53325 1 7.28125 1.252 7.28125 1.5625V7.28125H1.5625C1.252 7.28125 1 7.53325 1 7.84375C1 8.15425 1.252 8.40625 1.5625 8.40625H7.28125V14.125C7.28125 14.4355 7.53325 14.6875 7.84375 14.6875C8.15425 14.6875 8.40625 14.4355 8.40625 14.125V8.40625H14.125C14.4355 8.40625 14.6875 8.15425 14.6875 7.84375C14.6875 7.53325 14.4355 7.28125 14.125 7.28125",stroke:"#858585",strokeWidth:"0.5"})]})}),"+"!==t&&(0,s.jsx)(s.Fragment,{children:g.t[t]})]})})})]})})})},Hj=function(e){var t=(0,i.useRef)(null),a=(0,i.useRef)(null),n=(0,i.useRef)(null),r=(0,i.useRef)(null),l=(0,i.useState)("all"),c=l[0],o=l[1];(0,i.useEffect)((function(){var e=t.current,s=a.current,i=r.current,l=n.current,c=function(){if(e&&s&&l){var t=e.getBoundingClientRect(),a=s.getBoundingClientRect(),n=l.getBoundingClientRect(),r=(a.y-t.y)/(120-t.y);r=(r=r<0?0:r)>1?1:r;var c=(n.y-t.y)/(240-t.y);c=(c=c<0?0:c)>1?1:c,I.ZP.set(s,{opacity:r}),I.ZP.set(i,{display:1===r?"block":"none"}),I.ZP.set(l,{opacity:Math.abs(c-1)})}};return e&&e.addEventListener("scroll",c),function(){e&&e.removeEventListener("scroll",c)}}),[]);var d=e.headline,u=e.type,p=e.children;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0",children:(0,s.jsx)("div",{className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsxs)("div",{className:"absolute left-0 right-0 top-[40px] overflow-hidden",style:{height:"calc(100% - 166px)"},"data-component":"app-header",children:[(0,s.jsxs)("div",{ref:t,className:"scrolling-touch absolute inset-0 overflow-y-auto","data-ref":"app-content",style:{borderRadius:"2rem",borderTopLeftRadius:"0",borderTopRightRadius:"0"},children:[(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)("div",{className:"relative flex h-[14.5rem] flex-col justify-center text-center align-middle",children:(0,s.jsxs)("div",{ref:a,"data-ref":"app-header-headline",className:"m-auto",children:[(0,s.jsx)("div",{className:"text-4xl font-semibold","data-ref":"app-messages-headline",children:g.t.MESSAGES_CONVERSATIONS_MESSAGES_H1}),""!==d&&(0,s.jsx)("div",{"data-ref":"app-message-title-contact-container",children:(0,s.jsx)("div",{className:"text-md relative mt-2 flex justify-center overflow-y-hidden rounded-xl font-body leading-snug text-gray-500","data-ref":"app-messages-contact-title",children:d})})]})}),(0,s.jsxs)("div",{className:"c-app-messages__scroll sticky top-0 z-20 py-2 pb-3",children:[(0,s.jsx)("div",{className:"pointer-events-none absolute h-[50px] w-full",style:{top:"calc(100% - 20px)"},children:(0,s.jsx)("div",{className:"c-app-messages__scroll-box absolute top-[20px] h-[200%] w-full",style:{borderRadius:"2rem"}})}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)("div",{className:"flex-no-wrap mb-6 flex items-center justify-between px-6",children:[(0,s.jsx)("div",{ref:n,className:F("text-2xl font-semibold opacity-0",{}),"data-ref":"app-header-title",children:g.t.MESSAGES_CONVERSATIONS_MESSAGES_H1}),(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-center gap-2",children:[(0,s.jsx)("div",{children:(0,s.jsx)(ie,{path:"/app/messages/search",page:M.dC.Messages,children:(0,s.jsx)(ht,{title:g.t["MESSAGES_SEARCH_POP-UP-TITLE"],text:g.t["MESSAGES_SEARCH_POP-UP-TEXT"],cta:{text:g.t["MESSAGES_SEARCH_POP-UP-OK"]},children:(0,s.jsx)("button",{className:"flex h-[30px] w-[30px] items-center justify-center text-center",children:(0,s.jsx)($p,{width:25,height:25})})})})}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{className:"flex items-center justify-center text-center",children:(0,s.jsx)("svg",{viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-[20px]",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.25 14.5C30.596 14.5 32.5 12.596 32.5 10.25C32.5 7.904 30.596 6 28.25 6C25.904 6 24 7.904 24 10.25C24 12.596 25.904 14.5 28.25 14.5ZM28.25 23.7085C25.904 23.7085 24 25.6125 24 27.9585C24 30.3045 25.904 32.2085 28.25 32.2085C30.596 32.2085 32.5 30.3045 32.5 27.9585C32.5 25.6125 30.596 23.7085 28.25 23.7085ZM24 45.6665C24 43.3205 25.904 41.4165 28.25 41.4165C30.596 41.4165 32.5 43.3205 32.5 45.6665C32.5 48.0125 30.596 49.9165 28.25 49.9165C25.904 49.9165 24 48.0125 24 45.6665Z",fill:"currentColor"})})})})]})]}),"conversations"===u&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{"data-ref":"app-messages-filter-container",ref:r,children:(0,s.jsxs)("div",{className:"flex-no-wrap mt-6 flex items-center justify-start gap-x-0 text-center",children:[(0,s.jsx)("div",{className:"flex items-center justify-center ltr:ml-4 rtl:mr-4","data-ref":"app-message-button-all",children:(0,s.jsx)(kj,{text:"MESSAGES_CONVERSATIONS_INBOX_TEXT",active:"all"===c,onClick:function(){o("all")}})}),(0,s.jsx)("div",{className:"flex items-center justify-center","data-ref":"app-message-button-add",children:(0,s.jsx)(kj,{text:"+",active:"add"===c,onClick:function(){o("add")}})})]})})})]})]}),"add"===c&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"relative","data-ref":"app-messages-category-container",children:(0,s.jsx)("div",{className:"flex min-h-[250px] items-center",children:(0,s.jsx)("div",{className:"px-6 text-center text-sm",children:(0,s.jsx)("div",{children:g.t["MESSAGES_PLUS-SCREEN_ORGANIZE-YOUR-WORK"]})})})})}),"all"===c&&(0,s.jsxs)(s.Fragment,{children:["contacts"===u&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"relative","data-ref":"app-messages-contact-container",children:(0,s.jsx)("div",{className:"","data-ref":"app-messages-contacts",children:p})})}),"conversations"===u&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"c-app-messages__messages relative z-10","data-ref":"app-messages-chat-container",style:{borderRadius:"2rem"},children:(0,s.jsx)("div",{className:"px-6","data-ref":"app-messages-list",children:p})})})]})]}),(0,s.jsx)("div",{className:"relative flex h-[calc(100%_-_25rem)] bg-transparent"})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute bottom-[15px] left-1/2 z-50 hidden -translate-x-1/2 transform",children:(0,s.jsx)("div",{className:"flex h-[40px] w-[40px] items-center justify-center rounded-full border-2 bg-primary-gray-100 text-primary-gray-375",style:{borderColor:"rgba(0,0,0,0.25)"},children:(0,s.jsx)(Lg,{})})}),(0,s.jsx)("div",{className:"pointer-events-none absolute bottom-0 left-0 right-0 z-50 hidden",style:{height:"calc(100% - 127px)"},children:(0,s.jsx)("div",{className:"absolute bottom-0 right-[5px] top-0 w-[18px]",children:(0,s.jsx)("div",{className:"absolute left-0 right-0 top-0 flex h-[45px] items-center justify-center rounded-lg bg-primary-blue-300 text-white",children:(0,s.jsx)("div",{style:{transform:"scale(0.5)"},children:(0,s.jsx)(Dj,{})})})})}),(0,s.jsx)("div",{className:"absolute bottom-[15px] right-[15px] z-50 hidden",children:(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)(yg,{})})})]})})})})},Bj="/_next/static/media/background-dash.83ab49d7.png",Uj=function(e){var t=e.contact;return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{"data-ref":"app-messages-contact-item-details-template",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center pt-2",children:[(0,s.jsx)("div",{className:"ltr:mr-6 rtl:ml-6",children:(0,s.jsx)(_g,{name:t.name,size:"sm"})}),(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)("div",{className:"text-[17px]","data-ref":"app-messages-contact-item-details-name",children:g.t[t.name]})})]}),(0,s.jsx)("div",{className:"c-app-messages__line mt-2 hidden border-b opacity-100","data-ref":"app-messages-contact-item-details-linebreak"})]})})},Zj=function(){var e=_e(),t=e.getContactList,a=e.getContactCount,i=t(),n=a();return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(Hj,{headline:g.t.formatString(g.t["MESSAGES_CONTACTS-HEADER-SUBTITLE"],n).toString(),type:"contacts",children:Object.entries(i).map((function(e){var t=(0,pe.Z)(e,2),a=t[0],i=t[1];return(0,s.jsxs)("div",{"data-ref":"app-messages-contact-item-template",children:[(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsxs)("div",{className:"relative flex w-full items-center",children:[(0,s.jsx)("div",{className:"px-6 font-medium text-primary-gray-200","data-ref":"app-messages-contact-item-letter",children:a}),(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)("div",{className:"relative h-[1.5px] w-full",style:{width:" calc(100% - 30px)",backgroundSize:"auto 100%",backgroundImage:"url(".concat(Bj,")")}})})]})}),(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"c-app-messages__messages z-10 px-6",style:{borderRadius:"2rem"},"data-ref":"app-messages-contact-item-list",children:i.map((function(e){return(0,s.jsx)(Uj,{contact:e},e.id)}))})})]},a)}))})})};function Yj(e){var t=e.contact,a=_e(),i=a.getLatestMessageForContact,n=a.getUnreadMessagesForContact,r=a.setActiveContactId,l=n(t.id),c=i(t.id);return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center pt-8","data-ref":"app-messages-list-item-template","data-index":"0",onClick:function(){r(t.id)},children:[(0,s.jsx)("div",{className:"ltr:mr-6 rtl:ml-6",children:(0,s.jsx)(_g,{name:t.name,size:"lg"})}),(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("div",{className:"text-lg font-semibold","data-ref":"app-messages-list-item-name",children:g.t[t.name]}),(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)("div",{className:"text-sm text-primary-gray-350","data-ref":"app-messages-list-item-timestamp",children:function(e){var t=new Date(e.timestamp);return"".concat(Da(t.getHours()),":").concat(Da(t.getMinutes()))}(c)})})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("div",{className:"text-overflow-anywhere text-sm text-primary-gray-350 ltr:mr-2 rtl:ml-2","data-ref":"app-messages-list-item-text",style:{overflowWrap:"anywhere"},children:function(e){var t;if("link"===e.type)t=g.t.formatString(g.t[e.text],g.t[e.linkLabel]);else if("text"===e.type){var a;t=null!==(a=g.t[e.text])&&void 0!==a?a:e.text}else t="";return t.length>70&&(t="".concat(t.substring(0,69),"\u2026")),t}(c)}),(0,s.jsx)("div",{className:"flex-no-wrap flex items-center",children:l>0&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{"data-ref":"app-messages-list-item-label",children:(0,s.jsx)("div",{className:"flex h-[20px] w-[20px] items-center justify-center rounded-full bg-primary-orange-300 text-xs text-white","data-ref":"app-messages-list-item-label-number",children:l})})})})]})]})]})})}var Fj=function(){var e=(0,_e().getActiveContacts)();return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(Hj,{headline:"",type:"conversations",children:e.map((function(e){return(0,s.jsx)(Yj,{contact:e},e.id)}))})})},Vj=function(){var e=(0,P.qr)(),t=e.appName,a=e.setAppActiveData,n=e.isAppOpen,r=(0,P.q0)().theme,l=_e(),c=l.activeContactId,o=l.clearActiveContactId,d=(0,i.useState)("conversations"),u=d[0],p=d[1],x=(0,i.useRef)(null),f=(0,i.useRef)(null),m=(0,i.useRef)(null),h=(0,i.useRef)(null);(0,i.useEffect)((function(){var e=x.current,s=f.current,i=m.current,r=h.current;"messages"===t&&n?e&&i&&s&&r&&a({appContainer:e,appViewContent:i,appViewContainer:s,appViewIcon:r}):Y(e),"messages"==t||n||(o(),Y(e))}),[t,n]),(0,i.useEffect)((function(){Y(x.current)}),[]);var A="conversations"===u,E="contacts"===u;return(0,s.jsx)("div",{className:"gpu absolute inset-0","data-component":"app-view","data-app-view-name":"messages","data-app-view-is-header-transparent":"true","data-track-title":M.dC.Messages,"data-track-path":"/app/messages",ref:x,children:(0,s.jsx)("div",{className:"c-app-messages absolute inset-0","data-component":"app-themes-changes","data-theme":r,children:(0,s.jsxs)("div",{className:"c-app-messages__content gpu absolute inset-0 overflow-hidden","data-ref":"app-view-container",ref:f,children:[(0,s.jsxs)("div",{className:"absolute inset-0","data-ref":"app-view-content","data-component":"app-messages",style:{minWidth:"100vw",minHeight:"100vh"},ref:m,children:[(0,s.jsx)("div",{className:"c-app-messages__background absolute inset-0","data-ref":"app-view-background"}),A&&(0,s.jsx)(Fj,{}),E&&(0,s.jsx)(Zj,{}),(0,s.jsx)("div",{className:"pointer-events-none absolute bottom-[128px] z-30 ltr:right-2 rtl:left-2",children:(0,s.jsx)("div",{children:(0,s.jsx)("img",{src:CC,alt:"",className:"pointer-events-auto w-[85px]"})})}),(0,s.jsx)(Mj,{})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0",children:(0,s.jsx)("button",{className:"gpu absolute left-0 top-0","data-ref":"app-view-icon",ref:h,children:(0,s.jsx)("div",{className:"max-w-icon overflow-hidden rounded-3xl",children:(0,s.jsx)("img",{src:D("icons/app-messages.png"),"data-component":"app-themes-changes",className:"",alt:""})})})}),(0,s.jsxs)("div",{className:"align-center absolute bottom-[70px] left-0 right-0 flex h-14 ".concat(null!==c?"hidden":""),children:[(0,s.jsx)("div",{className:"grid w-1/2 place-content-center",children:(0,s.jsxs)("button",{className:F("flex flex-col items-center justify-center gap-1 text-xs",{"font-semibold":A,"text-[#99999E]":!A}),onClick:function(){p("conversations")},children:[(0,s.jsx)("div",{className:"flex h-[18px] items-center",children:(0,s.jsx)("img",{src:A?NC:jC,alt:"",className:"pointer-events-auto w-[18px]"})}),(0,s.jsx)("div",{children:g.t["MESSAGES_TABS-MENU_CONVERSATIONS"]})]})}),(0,s.jsx)("div",{className:"grid w-1/2 place-content-center",children:(0,s.jsxs)("button",{className:F("flex flex-col items-center justify-center gap-1 text-xs",{"font-semibold":E,"text-[#99999E]":!E}),onClick:function(){(0,V.Kq)("/app/messages/contacts",M.dC.Messages),p("contacts")},children:[(0,s.jsx)("div",{className:"flex h-[18px] items-center",children:(0,s.jsx)("img",{src:E?wC:TC,alt:"",className:"pointer-events-auto w-[16px]"})}),(0,s.jsx)("div",{children:g.t["MESSAGES_TABS-MENU_CONTACTS"]})]})})]})]})})})},Wj=function(){var e=(0,pt.O)().pushOverlayStack,t=(0,P.qr)().appName,a=(0,i.useState)(!0),n=a[0],r=a[1];return(0,i.useEffect)((function(){"galaxy-themes"===t&&n&&(e({data:{text:g.t["GALAXY-THEMES_LANDING-SCREEN_CHINESE-DISCLAIMER-4"],cta:{text:g.t["TRY-GALAXY_HOME-SCREEN-ONE_OK_CTA"]}},type:"alert"}),r(!1))}),[t]),(0,s.jsx)(s.Fragment,{})},Xj=function(){var e=(0,P.qr)(),t=e.appName,a=e.setAppActiveData,n=e.setBackButtonStack,r=(0,i.useState)([])[0],l=(0,i.useContext)(dh).setScreen,c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)(null),u=(0,i.useRef)(null),p=(0,i.useRef)(null);return(0,i.useEffect)((function(){var e=c.current,s=o.current,i=d.current,x=u.current,f=p.current;"galaxy-themes"===t?(e&&i&&s&&x&&a({appContainer:e,appViewContent:i,appViewContainer:s,appViewIcon:x}),n(r)):(l("Home"),I.ZP.set(f,{y:0}))}),[t]),(0,s.jsx)("div",{className:"absolute inset-0","data-component":"app-view","data-app-view-name":"galaxy-themes","data-app-view-is-header-transparent":"true","data-track-title":M.dC.GalaxyThemes,"data-track-path":"/app/galaxy-themes",style:{display:"none"},ref:c,children:(0,s.jsxs)("div",{className:"absolute inset-0 overflow-hidden text-primary-gray-400","data-ref":"app-view-container",ref:o,children:[(0,s.jsxs)("div",{className:"gpu absolute inset-0","data-ref":"app-view-content",style:{minWidth:"100vw",minHeight:"100vh"},"data-component":"app-galaxy-themes",ref:d,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-50","data-ref":"app-view-background"}),(0,s.jsxs)("div",{className:"absolute inset-0",children:[(0,s.jsxs)("div",{className:"absolute inset-0","data-ref":"app-theme-wrapper-themes",ref:p,children:[(0,s.jsx)("div",{className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsx)("div",{className:"absolute left-0 right-0 overflow-hidden",style:{top:"0px",height:"calc(100% - 140px)"},children:(0,s.jsx)(NE,{})})}),(0,s.jsx)(HE,{})]}),"galaxy-themes"===t&&(0,s.jsx)(gE,{wrapperRef:p}),(0,s.jsx)(aa.Z,{languages:["cn"],children:(0,s.jsx)(Wj,{})})]})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0",children:(0,s.jsx)("button",{className:"gpu absolute left-0 top-0","data-ref":"app-view-icon",ref:u,children:(0,s.jsx)("div",{className:"max-w-icon overflow-hidden rounded-3xl",children:(0,s.jsx)("img",{src:D("icons/app-galaxy-themes.png"),"data-component":"app-themes-changes",className:"",alt:""})})})})]})})},Kj=function(){return(0,s.jsx)(uh,{children:(0,s.jsx)(Xj,{})})},Qj=(0,fe.ZP)((function(e){return{notification:null,setNotification:function(t){e((function(e){return(0,L.Z)((0,_.Z)({},e),{notification:t})}))},clearNotification:function(){e((function(e){return(0,L.Z)((0,_.Z)({},e),{notification:null})}))}}})),zj=a(37610),qj=function(){var e=_e(),t=e.getNextQueuedMessage,a=e.sendNextQueuedMessage,n=e.dequeueMessage,r=Qj().setNotification,l=(0,P.q0)(),c=l.isDashboardNotificationsOpen,o=l.isQuickPanelOpen,d=(0,zj.b)((function(e){return e})),u=(0,P.qr)().appName,p=i.useRef(0),x=i.useRef(),f=i.useRef(!1);return i.useEffect((function(){f.current=!!(u||c||o)}),[u,c,o]),i.useEffect((function(){return x.current=setInterval((function(){p.current=p.current+2e3;var e=t();if(e){if(!f.current&&e.delay<=p.current){if(e.condition&&!e.condition())return void n();if(e.flag&&!d[e.flag])return void n();a(),(null===e||void 0===e?void 0:e.enableToast)&&r(e),p.current=0}}else clearInterval(x.current)}),2e3),function(){x.current&&clearInterval(x.current)}}),[]),(0,s.jsx)(s.Fragment,{})},Jj=function(e){var t=D("app-android-messages/messages-notification.png"),a=D("app-android-messages/duo-notification.png"),n=e.onComplete,r=Qj().notification,l=_e(),c=l.getContactName,o=l.setActiveContactId,d=(0,P.fv)().navigateTo,u=(0,P.qr)().appName,p=(0,i.useRef)(null),x=(0,i.useRef)(null),f=(0,i.useRef)(null),m=(0,i.useRef)(null),h=(0,i.useRef)(null),A=(0,i.useRef)(null),E={messages:t,duo:a};(0,i.useEffect)((function(){return p.current=u,function(){}}),[u]),(0,i.useLayoutEffect)((function(){var e=x.current,t=f.current,a=m.current,s=h.current,i=A.current,l={value:0},c=function(){I.ZP.killTweensOf(l),I.ZP.to([s,i],{opacity:0,duration:.6,ease:"power2.out",delay:0}),I.ZP.to(e,{width:37,duration:.6,ease:"power3.inOut",delay:0}),I.ZP.to(e,{duration:.2,ease:"power3.inOut",delay:.3}),I.ZP.to(t,{duration:.2,ease:"power3.inOut",delay:.3,background:"rgb(255 255 255 /0)",backdropFilter:"blur(0px)"}),I.ZP.to(a,{scale:1,duration:.6,ease:"power3.inOut",delay:0}),I.ZP.to(e,{y:-80,duration:.6,ease:"back.in",delay:.5}),I.ZP.to(e,{opacity:0,scale:1,duration:.3,delay:.75,onComplete:function(){n()}})};!function(){var n=e.getBoundingClientRect();I.ZP.timeline().set(e,{width:37,scale:1},0).set(t,{background:"rgb(255 255 255 /0)",backdropFilter:"blur(0px)"},0).fromTo(e,{opacity:0,scale:.9},{opacity:1,scale:1,duration:.3,ease:"linear"},0).fromTo(e,{y:-80},{y:0,duration:.6,ease:"back.out"},0).to(t,{background:"\n linear-gradient(0deg, rgba(242, 242, 242, 0.5), rgba(242, 242, 242, 0.5)),\n linear-gradient(0deg, rgba(205, 205, 205, 0.3), rgba(205, 205, 205, 0.3))\n ",backdropFilter:"blur(18px)",delay:.6,duration:.3},0).to(e,{width:n.width+5,ease:"power3.inOut"},.55),I.ZP.fromTo(a,{scale:1},{scale:.7,delay:.55,ease:"power3.inOut"}),I.ZP.fromTo([s,i],{opacity:0,x:0,y:0,z:0},{opacity:1,duration:.6,ease:"power2.out",delay:.7}),I.ZP.fromTo(l,{},{duration:.6,delay:.7,onComplete:function(){I.ZP.to(l,{duration:3,delay:0,onComplete:c})}})}();var u=function(){e.removeEventListener("click",u),(0,V.Kq)("/app/messages/notification/".concat(r.contactId),"Messages - Notification"),o(r.contactId),""===p.current&&d.current({appName:z.e.defaultMessageApp,path:"",shouldResetScreen:!0,shouldResetTutorial:!0}),c()};return e.addEventListener("click",u),function(){e.removeEventListener("click",u)}}),[]);var v="link"===r.type?g.t.formatString(g.t[r.text],g.t[r.linkLabel]).toString().substring(0,18):g.t[r.text].substring(0,18);return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"notification-shadow pointer-events-none absolute left-0 right-0 top-0","data-component":"app-messages-notification","data-app-view-name":"messages",children:(0,s.jsx)("div",{className:"gpu relative top-[50px] w-full text-center md:top-0 md:mt-16",children:(0,s.jsxs)("div",{ref:x,className:"pointer-events-auto relative inline-block w-auto overflow-hidden truncate rounded-3xl text-left text-base",style:{maxWidth:"calc(100% - 40px)",lineHeight:"37px"},"data-ref":"app-messages-notification-container",children:[(0,s.jsx)("div",{ref:f,className:"absolute inset-0"}),(0,s.jsx)("div",{children:(0,s.jsx)("img",{ref:m,src:E.messages,alt:"","data-ref":"app-messages-notification-icon","data-component":"app-themes-changes",className:"gpu absolute z-10 rounded-full",style:{width:"37px",height:"37px"}})}),(0,s.jsx)("div",{className:"gpu relative",children:(0,s.jsxs)("div",{className:"flex flex-nowrap items-center justify-center",children:[(0,s.jsxs)("div",{className:"flex overflow-hidden",children:[(0,s.jsx)("span",{className:"gpu font-bold ltr:pl-10 ltr:pr-[6px] rtl:pl-[6px] rtl:pr-10",ref:h,"data-ref":"app-messages-notification-contact-name",children:g.t[c(r.contactId)]}),(0,s.jsxs)("span",{ref:A,className:"truncate","data-ref":"app-messages-notification-contact-message",children:[v,"\u2026"]})]}),(0,s.jsx)("div",{className:"ltr:ml-4 ltr:mr-3 rtl:ml-3 rtl:mr-4",children:(0,s.jsx)("svg",{viewBox:"0 0 15 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{width:"12px"},children:(0,s.jsx)("path",{d:"M2.20711 0.792893C1.81658 0.402369 1.18342 0.402369 0.792893 0.792893C0.402369 1.18342 0.402369 1.81658 0.792893 2.20711L2.20711 0.792893ZM14.2071 2.20711C14.5976 1.81658 14.5976 1.18342 14.2071 0.792893C13.8166 0.402369 13.1834 0.402369 12.7929 0.792893L14.2071 2.20711ZM0.792893 2.20711L6.08579 7.5L7.5 6.08579L2.20711 0.792893L0.792893 2.20711ZM12.7929 0.792893L7.5 6.08579L8.91421 7.5L14.2071 2.20711L12.7929 0.792893ZM6.08579 7.5C6.86684 8.28105 8.13316 8.28105 8.91421 7.5L7.5 6.08579L6.08579 7.5Z",fill:"#636363"})})})]})})]})})})})},$j=function(){var e=Qj(),t=e.notification,a=e.clearNotification,n=(0,P.qr)(),r=n.appName,l=n.isAppOpen,c=n.isAppOpenTransitioning,o=(0,i.useState)(!1),d=o[0],u=o[1],p=(0,P.q0)().start;return(0,i.useEffect)((function(){var e=(0,N.KQ)()||(0,N.Ff)()||(0,N._7)(),t=function(){window.removeEventListener("click",t),u(!0)};return!(0,N.L1)()||e||(0,N.NV)()?p&&window.addEventListener("click",t):window.addEventListener("click",t),function(){window.removeEventListener("click",t)}}),[p]),(0,i.useEffect)((function(){(l||c||""!==r)&&a()}),[r,l,c]),(0,s.jsx)(s.Fragment,{children:d&&(0,s.jsxs)(s.Fragment,{children:[!(0,N.p$)()&&(0,s.jsx)(qj,{}),(0,s.jsx)(sa.Z,{languages:["jp"],children:t&&(0,s.jsx)(s.Fragment,{children:!l&&!c&&(0,s.jsx)(Jj,{onComplete:function(){a()}})})})]})})},eN="/_next/static/media/logo-google.7a95e7b5.svg",tN="/_next/static/media/search.bdba032f.png",aN=function(e){var t=e.className;return(0,s.jsxs)("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsx)("circle",{cx:16,cy:16,r:16,fill:"#AF5CF7"}),(0,s.jsx)("path",{d:"M15.9265 14.4C18.1398 14.4 19.9265 12.6134 19.9265 10.4C19.9265 8.18669 18.1398 6.40002 15.9265 6.40002C13.7132 6.40002 11.9265 8.18669 11.9265 10.4C11.9265 12.6134 13.7132 14.4 15.9265 14.4Z",fill:"white"}),(0,s.jsx)("path",{d:"M15.9266 16.7633C11.0383 16.7633 7.19995 19.1266 7.19995 21.3083C9.04828 24.1516 12.285 26.035 15.9266 26.035C19.5683 26.035 22.805 24.1516 24.6533 21.3083C24.6533 19.1266 20.815 16.7633 15.9266 16.7633Z",fill:"white"})]})},sN=H()(Object.values({vn:"vn:w-auto",tw:"tw:w-auto"})),iN=function(e){var t=(0,i.useRef)(null),a=e.children;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0",children:(0,s.jsx)("div",{className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsxs)("div",{className:"absolute left-0 right-0 top-0 overflow-hidden",style:{height:"calc(100% - 75px)"},"data-component":"app-header",ref:t,children:[(0,s.jsx)("div",{className:"scrolling-touch absolute inset-0 overflow-y-auto","data-ref":"app-content",style:{borderRadius:"2rem",borderTopLeftRadius:"0",borderTopRightRadius:"0"},children:(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsxs)("div",{className:"c-app-android-messages__scroll sticky top-0 z-20 pb-1 pt-10",children:[(0,s.jsx)("div",{className:"pointer-events-none absolute h-[50px] w-full",style:{top:"calc(100% - 10px)"}}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsxs)("div",{className:"flex items-center justify-between px-4",children:[(0,s.jsxs)("div",{className:"flex items-center text-xl font-normal ltr:font-googleSans rtl:font-sansAr","data-ref":"app-header-title",children:[(0,s.jsx)("div",{className:"flex h-9 w-9 items-center justify-center ltr:mr-4 rtl:ml-4",children:(0,s.jsx)("img",{src:eN,width:24,height:24,className:"",alt:""})}),g.t.MESSAGES_CONVERSATIONS_MESSAGES_H1]}),(0,s.jsx)("div",{className:H()("relative flex max-h-[48px] items-center justify-end gap-x-2.5 py-3",sN),children:(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)("button",{className:"flex h-[30px] w-[30px] items-center justify-center text-center ltr:mr-4 rtl:ml-4","data-ref":"app-messages-button-search",children:(0,s.jsx)("img",{src:tN,width:24,height:24,alt:""})}),(0,s.jsx)(aN,{})]})})]})})]}),(0,s.jsx)("div",{className:"c-app-android-messages__messages relative z-10","data-ref":"app-messages-chat-container",children:(0,s.jsx)("div",{className:"px-4 pt-6","data-ref":"app-messages-list",children:a})})]})}),(0,s.jsx)("div",{className:"pointer-events-none absolute bottom-[15px] left-1/2 z-50 hidden -translate-x-1/2 transform",children:(0,s.jsx)("div",{className:"flex h-[40px] w-[40px] items-center justify-center rounded-full border-2 bg-primary-gray-100 text-primary-gray-375",style:{borderColor:"rgba(0,0,0,0.25)"},children:(0,s.jsx)(Lg,{})})}),(0,s.jsx)("div",{className:"pointer-events-none absolute bottom-0 left-0 right-0 z-50 hidden",style:{height:"calc(100% - 127px)"},children:(0,s.jsx)("div",{className:"absolute bottom-0 right-[5px] top-0 w-[18px]",children:(0,s.jsx)("div",{className:"absolute left-0 right-0 top-0 flex h-[45px] items-center justify-center rounded-lg bg-primary-blue-300 text-white",children:(0,s.jsx)("div",{style:{transform:"scale(0.5)"},children:(0,s.jsx)(Dj,{})})})})}),(0,s.jsx)("div",{className:"absolute bottom-[15px] right-[15px] z-50 hidden",children:(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)(yg,{})})})]})})})})},nN=[g.t.GENERIC_DAY_SUNDAY,g.t.GENERIC_DAY_MONDAY,g.t.GENERIC_DAY_TUESDAY,g.t.GENERIC_DAY_WEDNESDAY,g.t.GENERIC_DAY_THURSDAY,g.t.GENERIC_DAY_FRIDAY,g.t.GENERIC_DAY_SATURDAY],rN=[g.t.GENERIC_MONTH_JANUARY,g.t.GENERIC_MONTH_FEBRUARY,g.t.GENERIC_MONTH_MARCH,g.t.GENERIC_MONTH_APRIL,g.t.GENERIC_MONTH_MAY,g.t.GENERIC_MONTH_JUNE,g.t.GENERIC_MONTH_JULY,g.t.GENERIC_MONTH_AUGUST,g.t.GENERIC_MONTH_SEPTEMBER,g.t.GENERIC_MONTH_OCTOBER,g.t.GENERIC_MONTH_NOVEMBER,g.t.GENERIC_MONTH_DECEMBER];function lN(e){var t=e.contact,a=_e(),i=a.getLatestMessageForContact,n=a.getUnreadMessagesForContact,r=a.setActiveContactId,l=n(t.id),c=i(t.id),o=Date.now()-c.timestamp<=6e4;return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center pt-8","data-ref":"app-messages-list-item-template","data-index":"0",onClick:function(){return r(t.id)},children:[(0,s.jsx)("div",{className:"ltr:mr-4 rtl:ml-4",children:(0,s.jsx)(_g,{name:t.name,size:"lg",avatarColor:t.avatarColor})}),(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between pb-1",children:[(0,s.jsx)("div",{className:H()("text-base",{"font-semibold":0!==l}),"data-ref":"app-messages-list-item-name",children:g.t[t.name]}),(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)("div",{className:"flex flex-row items-center justify-center gap-x-3",children:(0,s.jsx)("div",{className:H()("text-xs not-italic leading-[normal] ",{"font-medium":o}),"data-ref":"app-messages-list-item-timestamp",children:o?(0,s.jsx)(s.Fragment,{children:g.t["MESSAGES_CONVERSATIONS_JUST-NOW"]}):(0,s.jsx)(s.Fragment,{children:function(e){var t=new Date,a=new Date(e.timestamp),s=rN[a.getMonth()].toString().substring(0,3);return a.getMonth()===t.getMonth()&&t.getDate()-a.getDate()<=7?nN[a.getDay()].substring(0,3):"".concat(a.getDate()," ").concat(s)}(c)})})})})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{className:H()("item-center flex text-sm ltr:mr-2 rtl:ml-2",{"font-semibold":0!==l}),"data-ref":"app-messages-list-item-text",children:["to"===c.direction?"".concat(g.t["MESSAGES_CHAT-YOU"],": "):" ","image"==c.type||"emoji"==c.type?g.t["@PARADIGM_ANDROID-MESSAGES_PLACEHOLDER-IMAGE-TEXT"]:function(e){var t;if("link"===e.type)t=g.t.formatString(g.t[e.text],g.t[e.linkLabel]);else if("text"===e.type){var a;t=null!==(a=g.t[e.text])&&void 0!==a?a:e.text}else t="";return t.length>30&&(t="".concat(t.substring(0,29),"\u2026")),t}(c)]}),l>0&&(0,s.jsx)("div",{className:"inline-flex min-w-[16px] items-center justify-center rounded-lg bg-android-messages-blue px-[2px] text-xs font-medium text-white","data-ref":"app-messages-list-item-label-number",children:"1"})]})]})]})})}var cN=function(){var e=(0,_e().getActiveContacts)();return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(iN,{type:"conversations",children:e.map((function(e){return(0,s.jsx)(lN,{contact:e},e.id)}))})})};function oN(){var e=new Date,t=(0,g.RA)(e,{weekday:"long",month:"short",day:"numeric"});return(0,s.jsx)("div",{className:"w-full px-6 text-center",children:(0,s.jsx)("div",{className:"pb-6",children:(0,s.jsx)("div",{className:"whitespace-no-wrap text-xs font-normal not-italic leading-[normal] ltr:pl-2 rtl:pr-2","data-ref":"app-chat-item-time",children:t})})})}function dN(e){var t=e.direction,a=e.text,i=e.formattedDateTime,n=e.formattedTime,r=e.pastMinutes,l=e.append,c=e.isLastMsg;return(0,s.jsxs)(s.Fragment,{children:["from"===t&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:H()("c-app-android-messages__group__group-item w-full px-6 smd:px-4 xxs:px-4",{"pb-4":"top"!==l&&"middle"!==l,"pb-1":"top"===l||"middle"===l}),"data-ref":"app-chat-message-text-from",children:(0,s.jsxs)("div",{className:"relative w-full items-end gap-x-2",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex flex-nowrap items-start justify-start ltr:text-left rtl:text-right",children:[(0,s.jsx)("div",{className:"",children:(0,s.jsx)("div",{className:H()("text-md max-w-[300px] rounded-3xl bg-primary-gray-100 px-4 py-2 font-normal not-italic text-[#1F1F1F]",{"ltr:rounded-bl-sm rtl:rounded-br-sm":"top"===l,"ltr:rounded-tl-sm rtl:rounded-tr-sm":"bottom"===l,"ltr:rounded-bl-sm ltr:rounded-tl-sm rtl:rounded-tr-sm rtl:rounded-br-sm":"middle"===l}),"data-ref":"app-chat-item-text",children:(0,s.jsx)("div",{children:(0,_j.ZP)(g.t[a]||a)})})}),(0,s.jsx)("div",{className:"w-auto self-end",children:(0,s.jsx)("div",{className:"whitespace-no-wrap hidden rounded-xl text-xs text-primary-gray-375 ltr:pl-2 rtl:pr-2","data-ref":"app-chat-item-time",children:i})})]}),c&&(0,s.jsx)("div",{className:"whitespace-no-wrap mt-1 text-xs font-normal not-italic leading-[normal] ltr:ml-2 rtl:mr-2",children:r})]})})}),"to"===t&&(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:H()("w-full px-6",{"pb-1":"top"===l||"middle"===l,"pb-4":!("top"===l||"middle"===l)}),"data-ref":"app-chat-message-text-to",children:[(0,s.jsxs)("div",{className:"flex-no-wrap flex items-end justify-end ltr:text-right rtl:text-left",children:[(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"whitespace-no-wrap hidden rounded-xl text-xs text-primary-gray-375 ltr:pr-2 rtl:pl-2","data-ref":"app-chat-item-time",children:i})}),(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:H()("c-app-android-messages__conversation-message text-md max-w-[224px] break-words rounded-3xl px-4 py-2 text-left text-[#1F1F1F]",{"rounded-br-sm":"top"===l,"rounded-tr-sm":"bottom"===l,"rounded-tr-sm rounded-br-sm":"middle"===l}),"data-ref":"app-chat-item-text",children:(0,_j.ZP)(g.t[a]||a)})})]}),c&&(0,s.jsx)("div",{className:"whitespace-no-wrap mt-1 flex items-center justify-end gap-x-0.5 rounded-xl text-xs font-normal not-italic leading-[normal] ltr:pr-2 rtl:pl-2","data-ref":"app-chat-item-time",children:(0,s.jsx)("span",{children:n})})]})})]})}function uN(e){var t=e.message,a=e.emojiToggleRef,n=e.index,r=void 0===n?0:n,l=Aj(),c=(0,_e().getActiveContact)().messages,o=new Date(t.timestamp),d=o.toLocaleDateString(l,{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"}),u=o.toLocaleTimeString(l,{hour:"numeric",minute:"2-digit"}),p=o.toLocaleTimeString(l,{hour:"numeric",minute:"2-digit"}).toUpperCase(),x=r==c.length-1,f=(0,i.useMemo)((function(){return function(e,t){var a,s,i=e[t].direction,n=null===(a=e[t-1])||void 0===a?void 0:a.direction,r=null===(s=e[t+1])||void 0===s?void 0:s.direction;return n===i&&r===i?"middle":n!==i&&r===i?"top":n===i?"bottom":"none"}(c,r)}),[c,r]);switch(t.type){case"text":return(0,s.jsx)(dN,{direction:t.direction,text:t.text,formattedDateTime:d,formattedTime:u,pastMinutes:p,append:f,isLastMsg:x});case"link":return(0,s.jsx)(Tj,{text:t.text,link:t.link,linkLabel:t.linkLabel,formattedDateTime:d,pastMinutes:p,emojiToggleRef:a,append:f,isLastMsg:x});case"image":return(0,s.jsx)(vj,{image:t.image,pastMinutes:p,append:f,isLastMsg:x});case"emoji":return(0,s.jsx)(gj,{direction:t.direction,image1:t.emojiImage1,image2:t.emojiImage2,type:t.animation,time:u,isLastMsg:x,append:f})}}var pN=function(e){var t=e.className;return(0,s.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,s.jsx)("path",{d:"M16 7H3.83L9.42 1.41L8 0L0 8L8 16L9.41 14.59L3.83 9H16V7Z",fill:"currentColor"})})},xN=function(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(aa.Z,{languages:["jp"],children:(0,s.jsx)("svg",{width:"20",height:"16",viewBox:"0 0 20 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M19.9965 2.02906L15.918 6.12946V2.99428C15.918 1.34214 14.583 0 12.9397 0H4.85985L0 4.88243V13.0057C0 14.6579 1.33497 16 2.97828 16H12.9432C14.5865 16 15.9215 14.6579 15.9215 13.0057V9.43021L20 13.5306V2.02906H19.9965ZM14.1661 13.0092C14.1661 13.6891 13.616 14.2422 12.9397 14.2422H2.97828C2.30203 14.2422 1.75193 13.6891 1.75193 13.0092V5.61162L5.58514 1.75782H12.9397C13.616 1.75782 14.1661 2.31088 14.1661 2.99075V13.0092Z",fill:"#currentColor"})})}),(0,s.jsx)(sa.Z,{languages:["jp"],children:(0,s.jsx)("svg",{width:21,height:14,viewBox:"0 0 21 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M19 1.5C18.8142 1.50723 18.6342 1.5661 18.48 1.67L15 3.89V2C15 0.89543 14.1046 0 13 0H2C0.89543 0 0 0.89543 0 2V12C0 13.1046 0.89543 14 2 14H13C14.1046 14 15 13.1046 15 12V10.11L18.5 12.34C18.6542 12.4439 18.8342 12.5028 19.02 12.51C19.5723 12.51 20.02 12.0623 20.02 11.51V2.51C20.0228 2.23955 19.9159 1.97952 19.7237 1.78922C19.5315 1.59892 19.2704 1.49458 19 1.5ZM13 12H2V2H13V12ZM18 9.68L15 7.74V6.26L18 4.32V9.68Z",fill:"currentColor"})})})]})},fN=function(e){var t=e.className;return(0,s.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,s.jsx)("path",{d:"M13.7676 12.6746L16.1963 13.2815V16.1124C14.5631 15.9312 12.9983 15.5226 11.5482 14.894L13.7676 12.6746ZM4.67067 1.8037L5.27762 4.23328L3.09064 6.41936C2.46836 4.9773 2.05171 3.42703 1.87224 1.8037H4.67067ZM17.9991 16.2333H18V12.9298C18 12.3084 17.5788 11.7682 16.9755 11.6176L13.9552 10.8619C13.4953 10.7464 13.0047 10.8853 12.6728 11.219L9.86803 14.0237C7.4159 12.5997 5.37772 10.557 3.95821 8.10311L6.7332 5.32812C7.06599 4.99444 7.20397 4.50293 7.08943 4.04389L6.33459 1.0254C6.18398 0.422065 5.64377 0 5.0224 0H1.76582H0.864873C0.431084 0 0.0856756 0.312942 0 0.721479C0.371562 10.1052 7.89839 17.6302 17.2812 18C17.6889 17.9134 18 17.5689 18 17.1351V16.2333H17.9991Z",fill:"currentColor"})})},mN=function(e){var t=e.className;return(0,s.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.76 10.27L17.49 16L16 17.49L10.27 11.76C9.2 12.53 7.91 13 6.5 13C2.91 13 0 10.09 0 6.5C0 2.91 2.91 0 6.5 0C10.09 0 13 2.91 13 6.5C13 7.91 12.53 9.2 11.76 10.27ZM6.5 2C4.01 2 2 4.01 2 6.5C2 8.99 4.01 11 6.5 11C8.99 11 11 8.99 11 6.5C11 4.01 8.99 2 6.5 2Z",fill:"currentColor"})})},hN=function(e){var t=e.className;return(0,s.jsx)("svg",{width:"4",height:"16",viewBox:"0 0 4 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4C3.1 4 4 3.1 4 2C4 0.9 3.1 0 2 0C0.9 0 0 0.9 0 2C0 3.1 0.9 4 2 4ZM2 6C0.9 6 0 6.9 0 8C0 9.1 0.9 10 2 10C3.1 10 4 9.1 4 8C4 6.9 3.1 6 2 6ZM0 14C0 12.9 0.9 12 2 12C3.1 12 4 12.9 4 14C4 15.1 3.1 16 2 16C0.9 16 0 15.1 0 14Z",fill:"currentColor"})})};function AN(e){var t,a=e.emojiToggleRef,n=(0,i.useRef)(null),r=(0,i.useRef)(null),l=_e(),c=l.clearActiveContactId,o=l.getActiveContact,d=l.markMessagesAsReadForContact,u=o(),p=(0,i.useRef)(null),x=(0,P.qr)(),f=x.setBackButtonStack,m=x.popBackButtonStack,h=(0,i.useCallback)((function(){m(),c()}),[m]);return(0,i.useEffect)((function(){p.current=function(){h()}}),[p,h]),(0,i.useLayoutEffect)((function(){u&&f([p]);var e=n.current;return e&&(e.scrollTop=e.scrollHeight),function(){}}),[u]),(0,i.useEffect)((function(){(null===r||void 0===r?void 0:r.current)&&(r.current.scrollTop=r.current.scrollHeight)}),[null===(t=r.current)||void 0===t?void 0:t.scrollHeight]),(0,i.useEffect)((function(){return function(){d(u.id)}}),[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0",children:(0,s.jsx)("div",{className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsx)("div",{className:"absolute left-0 right-0 top-[45px] overflow-hidden",style:{height:"calc(100% - 180px)",borderRadius:"2rem",borderTopLeftRadius:"0",borderTopRightRadius:"0"},children:(0,s.jsx)("div",{ref:n,className:"scrolling-touch absolute bottom-0 left-0 right-0 top-0 overflow-y-auto overflow-x-hidden","data-ref":"app-chat-content",children:(0,s.jsxs)("div",{className:"relative h-[calc(100%_-_70px)] w-full",children:[(0,s.jsxs)("div",{className:"c-app-android-messages__conversation-background sticky top-0 z-20 pb-3",children:[(0,s.jsx)("div",{className:"pointer-events-none absolute h-[50px] w-full",style:{top:"calc(100% - 20px)"},children:(0,s.jsx)("div",{className:"absolute top-0 w-full"})}),(0,s.jsx)("div",{className:"relative px-6 smd:px-4 xxs:px-4",children:(0,s.jsxs)("div",{className:"grid grid-cols-5 gap-1",children:[(0,s.jsxs)("div",{className:"col-span-3 flex w-full items-center gap-x-3 text-xl font-normal leading-none","data-ref":"app-messages-contact-details-button",children:[(0,s.jsx)("button",{"data-ref":"app-chat-button-close",className:"h-6 w-6 rtl:-scale-x-100 rtl:transform",onClick:function(){h()},children:(0,s.jsx)(pN,{})}),(0,s.jsx)("div",{"data-ref":"app-messages-list-item-container-title",children:(0,s.jsx)(_g,{name:u.name,size:"lg",avatarColor:u.avatarColor})}),(0,s.jsx)("div",{className:"truncate iframe:foldCover:ml-5",children:(0,s.jsx)("span",{className:"relative whitespace-nowrap text-lg font-normal not-italic ltr:font-googleSans rtl:font-sansAr",children:g.t[u.name]})})]}),(0,s.jsxs)("div",{className:"flex-no-wrap col-span-2 flex items-center justify-between",children:[(0,s.jsx)("div",{children:(0,s.jsx)(ie,{path:"/app/android-messages/conversation/".concat(u.id,"/google-meet"),page:M.dC.AndroidMessages,children:(0,s.jsx)(ht,{title:g.t["MESSAGES_ICONS-POP-UP_GOOGLE-MEET_POP-UP-TITLE"],text:g.t["MESSAGES_ICONS-POP-UP_QUALITY-VIDEO-CALLING_POP-UP-TEXT"],cta:{text:g.t["MESSAGES_ICONS-POP-UP_OK_POP-UP-OK"]},children:(0,s.jsx)(xN,{})})})}),(0,s.jsx)("div",{children:(0,s.jsx)(fN,{})}),(0,s.jsx)("div",{children:(0,s.jsx)(ie,{path:"/app/android-messages/conversation/".concat(u.id,"/search"),page:M.dC.AndroidMessages,children:(0,s.jsx)(ht,{title:g.t["MESSAGES_SEARCH_POP-UP-TITLE"],text:g.t["MESSAGES_SEARCH_POP-UP-TEXT"],cta:{text:g.t["MESSAGES_ICONS-POP-UP_OK_POP-UP-OK"]},children:(0,s.jsx)(mN,{})})})}),(0,s.jsx)("div",{children:(0,s.jsx)(hN,{})})]})]})})]}),(0,s.jsx)("div",{className:"grid h-full w-full grid-cols-1 content-end",children:(0,s.jsxs)("div",{className:"overflow-y-scroll",ref:r,children:[(0,s.jsx)(oN,{}),u.messages.map((function(e,t){return(0,s.jsx)(uN,{emojiToggleRef:a,message:e,index:t},t)}))]})})]})})})})})})}var EN="/_next/static/media/emoji-bar.dcd0e1c6.png",gN="/_next/static/media/ae-emoji-bar.471a4edf.png",vN=function(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(aa.Z,{languages:["jp"],children:(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 14C13.66 14 15 12.66 15 11V5C15 3.34 13.66 2 12 2C10.34 2 9 3.34 9 5V11C9 12.66 10.34 14 12 14ZM11 5C11 4.45 11.45 4 12 4C12.55 4 13 4.45 13 5V11C13 11.55 12.55 12 12 12C11.45 12 11 11.55 11 11V5ZM12 16C14.76 16 17 13.76 17 11H19C19 14.53 16.39 17.43 13 17.92V21H11V17.92C7.61 17.43 5 14.53 5 11H7C7 13.76 9.24 16 12 16Z",fill:"#444746"})})}),(0,s.jsx)(sa.Z,{languages:["jp"],children:(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M6 6C6 5.44772 6.44772 5 7 5C7.55228 5 8 5.44772 8 6V18C8 18.5523 7.55228 19 7 19C6.44772 19 6 18.5523 6 18V6Z",fill:"#444746"}),(0,s.jsx)("path",{d:"M3 11C3 10.4477 3.44772 10 4 10C4.55228 10 5 10.4477 5 11V13C5 13.5523 4.55228 14 4 14C3.44772 14 3 13.5523 3 13V11Z",fill:"#444746"}),(0,s.jsx)("path",{d:"M18 11C18 10.4477 18.4477 10 19 10C19.5523 10 20 10.4477 20 11V13C20 13.5523 19.5523 14 19 14C18.4477 14 18 13.5523 18 13V11Z",fill:"#444746"}),(0,s.jsx)("path",{d:"M9 8C9 7.44772 9.44772 7 10 7C10.5523 7 11 7.44772 11 8V16C11 16.5523 10.5523 17 10 17C9.44772 17 9 16.5523 9 16V8Z",fill:"#444746"}),(0,s.jsx)("path",{d:"M15 8C15 7.44772 15.4477 7 16 7C16.5523 7 17 7.44772 17 8V16C17 16.5523 16.5523 17 16 17C15.4477 17 15 16.5523 15 16V8Z",fill:"#444746"}),(0,s.jsx)("path",{d:"M12 3C12 2.44772 12.4477 2 13 2C13.5523 2 14 2.44772 14 3V21C14 21.5523 13.5523 22 13 22C12.4477 22 12 21.5523 12 21V3Z",fill:"#444746"})]})})]})},CN="/_next/static/media/icon-textbox-chat.d25f789a.svg",jN="/_next/static/media/icon-textbox-image.8006442d.svg",NN="/_next/static/media/icon-textbox-add.5bfb1a3c.svg",TN=H()(Object.values({es:"es:foldCover:text-sm",br:"br:foldCover:text-xs br:xsm:text-sm",it:"it:text-sm it:mobile-w-md:text-[3.5vw]",gr:"gr:foldCover:text-[13px]"}));function wN(e){var t=e.onEmojiClick,a=e.emojiToggleRef,n=(0,i.useState)(!1),r=n[0],l=n[1],c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)(null),u=g.t.getLanguage(),p=(0,P.q0)().setNavAvailable,x=_e(),f=x.activeContactId,m=x.addUserResponse,h=(0,P.qr)(),A=h.isAppOpen,E=h.pushBackButtonStack,v=h.popBackButtonStack,C=h.appName,j=(0,i.useRef)(null),N=(0,i.useRef)(null),T=(0,i.useRef)(null),w=(0,i.useState)(!1),_=w[0],b=w[1],S=function(){var e=j.current,t=Ga(e.value);""!=t&&0!==t.trim().length?(m({type:"text",text:t,append:"none",timestamp:Date.now(),readReceipt:!0,direction:"to"}),e.value=""):e.value=""},y=function(e){e&&(e.preventDefault(),e.stopPropagation());var t=c.current,a=j.current;I.ZP.killTweensOf(t),l(!1),I.ZP.set(a,{pointerEvents:"auto"}),I.ZP.to(t,{maxHeight:0,duration:.3,ease:"power3.out"})},R=function(){r||((0,V.Kq)("/app/".concat(C,"/conversation/").concat(f,"/emoji-pair/send"),M.dC.AndroidMessages),function(){var e;null===(e=d.current)||void 0===e||e.play();var t=o.current,a=c.current,s=j.current;I.ZP.killTweensOf(a),l(!0),I.ZP.set(t,{opacity:0}),I.ZP.set(s,{pointerEvents:"none"}),I.ZP.fromTo(a,{maxHeight:0},{maxHeight:a.scrollHeight,duration:.3,ease:"power3.out"})}(),E(T))};a.current=R;var L=(0,i.useCallback)((function(){v(),y()}),[v,y]);return(0,i.useEffect)((function(){T.current=function(){L()}}),[T,L]),(0,i.useEffect)((function(){A||L()}),[A]),(0,i.useEffect)((function(){r?N.current.addEventListener("click",y):N.current.removeEventListener("click",y);return function(){var e=N.current;null===e||void 0===e||e.removeEventListener("click",y)}}),[r]),(0,i.useEffect)((function(){var e;f||(y(),null===(e=d.current)||void 0===e||e.pause())}),[f]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"absolute bottom-[80px] z-50 w-full",children:(0,s.jsxs)("div",{className:"c-app-android-messages__conversation-background relative w-full",children:[(0,s.jsx)("div",{ref:N,className:"c-app-android-messages__nav relative px-6 py-2 smd:px-4 xxs:px-4 mobile-w-md:px-2","data-ref":"app-chat-field-bar",children:(0,s.jsx)("form",{action:"/",method:"POST","data-ref":"app-chat-form",onSubmit:function(e){e.preventDefault(),S()},children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-center",children:[(0,s.jsx)("div",{className:"flex w-full items-center justify-center",children:(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)("div",{className:"relative h-[48px] w-full rounded-3xl bg-primary-gray-100",children:(0,s.jsx)("div",{className:"flex-no-wrap relative flex h-full w-full items-center px-3",children:(0,s.jsxs)("div",{className:"flex w-full flex-nowrap",children:[(0,s.jsx)("div",{className:"flex items-center justify-center ltr:pr-3 rtl:pl-3",children:(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("div",{className:"relative",children:(0,s.jsxs)("div",{className:"relative flex items-end justify-end text-black","data-ref":"app-emoji-button",onClick:function(){R()},children:[(0,s.jsx)("div",{className:"gpu relative",children:(0,s.jsx)(Lj,{})}),(0,s.jsx)("div",{ref:o,className:"pointer-events-none absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 transform items-center justify-center","data-ref":"tutorial-highlight-1","data-guide":"tutorial","data-tutorial-type":"emoji-pairs",style:{width:"calc(100% + 7px)",height:"calc(100% + 7px)"},children:(0,s.jsx)("div",{className:"relative h-full w-full flex-1",children:(0,s.jsxs)("div",{className:"pointer-events-none absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 transform","data-component":"tutorial-button",children:[(0,s.jsx)("div",{className:"absolute inset-0 opacity-20","data-ref":"tutorial-button-background",children:(0,s.jsx)("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transform border-4 border-primary-blue-100",style:{width:"calc(100% + 6px)",height:"calc(100% + 6px)",borderRadius:"16px"}})}),(0,s.jsx)("div",{className:"absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 transform border-2 border-primary-blue-100",style:{borderRadius:"14px"}})]})})})]})})})}),(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)("input",{ref:j,type:"text",className:H()("relative w-full bg-transparent ltr:pl-1 ltr:pr-3 rtl:pr-1 rtl:pl-3 mobile-w-md:text-[3.9vw]",TN,{"c-app-android-messages__field--opacity-100":"jp"!=u,"c-app-android-messages__field":"jp"==u}),"data-ref":"app-chat-field-text",onFocus:function(){p(!1),b(!0),he.vf||(0,ka.jL)()},onBlur:function(){""!=Ga(j.current.value)&&S(),b(!1),p(!0),he.vf||(0,ka.Am)()},placeholder:"jp"==u?g.t["MESSAGES_MESSAGES_CHAT-MESSAGE"]:g.t["@PARADIGM_MESSAGES_MESSAGES_CHAT-MESSAGE-PLACEHOLDER"]})}),(0,s.jsxs)("div",{className:"flex items-center justify-center gap-3 ltr:pr-6 rtl:pl-6 foldCover:gap-1.5",children:[(0,s.jsx)("img",{alt:"",src:CN,className:"w-6"}),(0,s.jsx)("img",{alt:"",src:jN,className:"w-6"}),(0,s.jsx)("img",{alt:"",src:NN,className:"w-6"})]})]})})})})}),(0,s.jsx)("div",{className:"relative flex h-[48px] items-center justify-center rounded-3xl bg-primary-gray-100 px-3 ltr:ml-2 rtl:mr-2",children:_?(0,s.jsx)("button",{type:"submit","data-ref":"app-chat-button-submit",children:(0,s.jsx)("svg",{width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-[24px] rtl:-scale-x-100 rtl:transform",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 9L0 18V0L20 9ZM11 9L2 11V14.91L15.13 9L2 3.09V7L11 9Z",fill:"#0B57D0"})})}):(0,s.jsx)("div",{children:(0,s.jsx)(vN,{})})})]})})}),(0,s.jsxs)("div",{ref:c,className:"relative w-full overflow-hidden bg-primary-gray-50",style:{maxHeight:0},"data-ref":"app-chat-emoji-container",children:[(0,s.jsx)("div",{className:"relative mb-4 w-full bg-primary-gray-125",children:(0,s.jsx)("img",{src:"ae"===g.t.getLanguage()?gN:EN,alt:"",className:"w-full"})}),(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("video",{ref:d,onClick:function(){v(),y(),t()},"data-ref":"app-chat-video-emoji",playsInline:!0,muted:!0,loop:!0,autoPlay:!0,className:"w-full",children:(0,s.jsx)("source",{src:"".concat(Ij.Cj,"/videos/emoji-pairs.mp4?version=").concat(M.K0),type:"video/mp4"})})})]})]})})})}var _N=function(){var e=_e().activeContactId,t=(0,i.useState)(""),a=t[0],n=t[1],r=(0,P.qr)().appName,l=(0,i.useRef)(null),c=(0,i.useRef)(null);return(0,i.useEffect)((function(){if(e&&"android-messages"===r){(0,V.Kq)("/app/android-messages/conversation/".concat(e),M.dC.AndroidMessages);var t=l.current;I.ZP.set(t,{display:"block"})}else{var a=l.current;I.ZP.set(a,{display:"none"})}}),[e,r]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 z-50","data-component":"app-chat",ref:l,children:(0,s.jsxs)("div",{className:"c-app-android-messages__conversation absolute bottom-0 left-0 right-0 top-0 overflow-hidden",children:[(0,s.jsx)("div",{className:"c-app-android-messages__conversation-background fixed bottom-0 left-0 right-0 top-0 overflow-hidden"}),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 h-[100vh] min-h-[100vh] min-w-[100vw]",children:e&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(AN,{emojiToggleRef:c}),(0,s.jsx)(wN,{onEmojiClick:function(){n("emoji")},emojiToggleRef:c})]})})]})}),"emoji"===a&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(fj,{onComplete:function(){n("")}})})]})},bN=function(){return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(_N,{})})},SN=function(e){var t=e.className;return(0,s.jsx)("svg",{width:20,height:19,viewBox:"0 0 20 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.36362 10.2533L7.71375 14.8746V11.6562H13.325C15.8061 11.6562 17.9583 9.59063 17.9991 6.91633L17.9992 6.91189C18.0238 5.50733 17.4781 4.25177 16.5975 3.35148C15.7543 2.50243 14.6445 2 13.4278 2H6.57106C4.11319 2 2 4.08341 2 6.82812C2 7.29138 2.06442 7.75038 2.188 8.19794C2.41324 8.98261 2.81404 9.6905 3.35082 10.2402L3.36362 10.2533ZM0.262843 8.74C0.0914235 8.1225 0 7.48125 0 6.82812C0 3.05187 2.93698 0 6.57106 0H13.4278C15.222 0 16.8334 0.748125 18.0219 1.9475C19.2675 3.21812 20.0332 4.9875 19.9989 6.94688C19.9418 10.6875 16.9248 13.6562 13.325 13.6562H9.71375V18.4775C9.71375 18.8575 9.41662 19 9.14235 19C8.85665 19 8.70809 18.8575 8.57095 18.7031L1.91989 11.6375C1.13137 10.83 0.571397 9.82063 0.262843 8.74Z",fill:"#0842A0"})})},yN=function(){var e=(0,P.qr)(),t=e.appName,a=e.setAppActiveData,n=e.isAppOpen,r=(0,P.q0)().theme,l=_e().clearActiveContactId,c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)(null),u=(0,i.useRef)(null);return(0,i.useEffect)((function(){var e=c.current,s=o.current,i=d.current,r=u.current;"android-messages"===t&&n?e&&s&&i&&r&&a({appContainer:e,appViewContent:i,appViewContainer:s,appViewIcon:r}):Y(e),"android-messages"==t||n||l()}),[t,n]),(0,i.useEffect)((function(){Y(c.current)}),[]),(0,s.jsx)("div",{className:"gpu absolute inset-0 hidden ltr:font-googleSansText rtl:font-sansAr","data-component":"app-view","data-app-view-name":"android-messages","data-app-view-is-header-transparent":"true","data-track-title":M.dC.AndroidMessages,"data-track-path":"/app/android-messages",ref:c,children:(0,s.jsx)("div",{className:"c-app-android-messages absolute inset-0","data-component":"app-themes-changes","data-theme":r,children:(0,s.jsxs)("div",{className:"c-app-android-messages__content gpu absolute inset-0 overflow-hidden","data-ref":"app-view-container",ref:o,children:[(0,s.jsxs)("div",{className:"absolute inset-0","data-ref":"app-view-content","data-component":"app-messages",style:{minWidth:"100vw",minHeight:"100vh"},ref:d,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-black"}),(0,s.jsx)("div",{className:"c-app-android-messages__background absolute inset-0","data-ref":"app-view-background"}),(0,s.jsx)(cN,{}),(0,s.jsx)("div",{className:"absolute bottom-20 z-30 rounded-2xl bg-[#D3E3FD] text-[#0842A0] shadow-[0px_4px_8px_3px_#00000026] ltr:right-6 rtl:left-6",children:(0,s.jsxs)("div",{className:"flex shrink-0 items-center justify-center gap-x-3 rounded-2xl py-4 px-4 pr-5 shadow-[0px_1px_3px_0px_#0000004D]",children:[(0,s.jsx)(SN,{}),(0,s.jsx)("span",{className:"text-sm font-medium",children:g.t["@PARADIGM_ANDROID-MESSAGES_BUTTON-START-CHAT-TEXT"]})]})}),(0,s.jsx)(bN,{})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0",children:(0,s.jsx)("button",{className:"gpu absolute left-0 top-0","data-ref":"app-view-icon",ref:u,children:(0,s.jsx)("div",{className:"max-w-icon overflow-hidden rounded-3xl",children:(0,s.jsx)("img",{src:D("icons/app-android-messages.png"),"data-component":"app-themes-changes",className:"",alt:""})})})})]})})})},RN=function(){var e=(0,P.q0)(),t=e.setTheme,a=e.setNavAvailable,i=(0,P.qr)().setColourPaletteIndex,n=(0,P.vy)(),r=n.hasBeenClicked,l=n.setHasBeenClicked;return(0,s.jsxs)("div",{className:"fixed",style:{zIndex:"100"},children:[(0,s.jsx)("button",{id:"puppetSwipeLeftBtn",onClick:function(){pa("left")}}),(0,s.jsx)("button",{id:"puppetSwipeRightBtn",onClick:function(){pa("right")}}),(0,s.jsx)("button",{id:"puppetHideLearMoreAppNotificationBtn",onClick:function(){l((0,L.Z)((0,_.Z)({},r),{learnMore:!0}))}}),(0,s.jsx)("button",{id:"puppetHideNavBtn",onClick:function(){a(!1)}}),(0,s.jsx)("button",{id:"puppetSetThemeBtn",onClick:function(e){(0,P.uR)(e.currentTarget.dataset.theme)&&t(e.currentTarget.dataset.theme)},"data-theme":"default"}),(0,s.jsx)("button",{id:"puppetSetColorPaletteBtn",onClick:function(e){var t=Number(e.currentTarget.dataset.palette);i(t)},"data-palette":"0"})]})},LN=function(e){var t=e.appTitle,a=e.tracking,n=e.iconSrc,r=e.children,l=(0,P.qr)(),c=l.appName,o=l.setAppActiveData,d=l.isAppOpen,u=(0,i.useRef)(null),p=(0,i.useRef)(null),x=(0,i.useRef)(null),f=(0,i.useRef)(null);(0,i.useLayoutEffect)((function(){var e=u.current,a=p.current,s=x.current,i=f.current;Y(e),c===t&&e&&s&&a&&i&&o({appContainer:e,appViewContent:s,appViewContainer:a,appViewIcon:i})}),[c,d]);var m,h,A=D(null!==n&&void 0!==n?n:"");return(0,s.jsxs)("div",{className:"absolute inset-0","data-component":"app-view","data-app-view-name":t,"data-app-view-is-header-transparent":"true","data-track-title":null!==(m=null===a||void 0===a?void 0:a.page)&&void 0!==m?m:"","data-track-path":null!==(h=null===a||void 0===a?void 0:a.path)&&void 0!==h?h:"",ref:u,children:[(0,s.jsx)("div",{className:"gpu absolute inset-0 overflow-hidden text-primary-gray-400",style:{transformOrigin:"0% 0%",transform:"translate(0px, 0px)"},"data-ref":"app-view-container",ref:p,children:(0,s.jsx)("div",{className:"gpu absolute inset-0","data-ref":"app-view-content",style:{minWidth:"100vw",minHeight:"100vh",opacity:1,transformOrigin:"0px 0px",transform:"translate(0px, 0px)"},"data-component":"app-wrapper",ref:x,children:r})}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0",children:n?(0,s.jsx)("button",{className:"gpu absolute left-0 top-0","data-ref":"app-view-icon",style:{opacity:0,transformOrigin:"0% 100%",transform:"translate(0px, 499px) scale(6.4, 6.4)"},ref:f,children:(0,s.jsx)("div",{className:"max-w-icon overflow-hidden rounded-3xl",children:(0,s.jsx)("img",{src:A,"data-component":"app-themes-changes",className:"",alt:""})})}):(0,s.jsx)("button",{className:"gpu absolute left-0 top-0","data-ref":"app-view-icon",ref:f,children:(0,s.jsx)("div",{className:"max-w-icon overflow-hidden rounded-3xl"})})})]})},IN=a(47927),PN=i.forwardRef((function(e,t){var a=e.onClick,i=e.icon,n=e.children,r=e.className;return(0,s.jsxs)("button",{ref:t,className:H()("flex items-center rounded-full border-4 border-[#E7E7E7] px-4 py-2 text-xs font-semibold",r),onClick:a,children:[i&&(0,s.jsx)("img",{"data-loader":"icon","data-src":i,className:"pr-2",src:i,alt:""}),n]})})),ON=Object.assign((function(e){var t=e.children,a=e.className;return(0,s.jsx)("div",{className:"absolute inset-0",children:(0,s.jsx)("div",{className:"absolute left-0 right-0 h-[calc(100%-120px)] overflow-hidden xxs:h-[calc(100%-90px)]",style:{top:35},children:(0,s.jsx)("div",{className:"relative flex h-full ltr:font-sans rtl:font-sansAr",children:(0,s.jsx)("div",{className:H()("flex h-full w-full flex-col gap-4 xxs:gap-2.5",a),style:{paddingTop:"env(safe-area-inset-top)"},children:t})})})})}),{Title:function(e){var t=e.children,a=e.className,i=e.subtitle,n=e.headerClassName;return(0,s.jsxs)("div",{className:H()("relative mx-auto flex flex-col px-6 ltr:font-title rtl:font-titleAr",a),children:[(0,s.jsx)("div",{className:H()("flex text-xl font-semibold leading-6 text-black",n),children:(0,s.jsx)("div",{className:"whitespace-pre-line text-center",children:t})}),i&&i]})},Description:function(e){var t=e.children,a=e.className;return(0,s.jsx)("div",{className:H()("relative flex justify-center px-8 text-sm xxs:px-4",a),children:(0,s.jsx)("div",{className:"w-full whitespace-pre-line text-center font-normal text-black",children:t})})},Disclaimer:function(e){var t=e.children,a=e.className,n=e.opacity,r=void 0===n?30:n,l=i.useRef(null),c=i.useRef(null),o=(0,pe.Z)(i.useState(!1),2),d=o[0],u=o[1],p=(0,P.qr)().isAppOpenTransitioning;return i.useEffect((function(){var e=l.current,t=c.current;if(t&&!p){requestAnimationFrame((function(){e.clientHeight<t.clientHeight?u(!1):u(!0)}))}}),[p]),(0,s.jsx)("div",{ref:l,className:H()("mx-4 mt-auto flex flex-col justify-between gap-y-2 overflow-auto px-4 text-center text-[9px] smd:px-1 xxs:mx-4 xxs:px-4",a),children:t&&(0,s.jsx)(IN.Z,{isGray:!0,hidden:d,children:(0,s.jsx)("div",{ref:c,className:H()("w-full whitespace-pre-line text-black opacity-".concat(r),{"pr-2":!d}),children:t})})})},Image:function(e){var t=e.className,a=e.imgSrc,i=e.alt,n=void 0===i?"":i,r=window.innerWidth<=360&&window.innerHeight<=720?"max-w-[80%]":"w-full";return(0,s.jsx)("div",{className:H()("relative flex items-center justify-center",t),children:(0,s.jsx)("img",{"data-loader":"image","data-src":a,className:H()("relative w-full xs:max-w-[80%] xxs:max-w-[80%]",r),src:a,alt:n})})},Video:function(e){var t=e.className,a=e.isActive,n=e.videoSrc,r=e.isActiveSlide,l=i.useRef(null);i.useEffect((function(){var e=l.current;e&&(a?(e.play().catch((function(e){})),!1===r&&(e.pause(),e.currentTime=0)):(e.pause(),e.currentTime=0))}),[a,r]);var c=window.innerWidth<=360&&window.innerHeight<=720?"max-w-[80%]":"w-full";return(0,s.jsx)("div",{className:H()("relative flex items-center justify-center",t),children:(0,s.jsx)("video",{className:H()("video-card-style relative m-auto max-h-full xs:max-w-[80%] xxs:max-w-[80%]",c),src:n,playsInline:!0,loop:!0,ref:l})})},ButtonTitle:function(e){var t=e.children,a=e.className;return(0,s.jsx)("div",{className:H()("mb-2 w-full whitespace-pre-line text-center text-[12px] text-[#010101] opacity-40",a),children:t})},ButtonContainer:function(e){var t=e.children,a=e.className;return(0,s.jsx)("div",{className:H()("relative mt-auto flex justify-center px-8 xxs:px-4",a),children:t})},Button:PN}),MN=ON,DN="/_next/static/media/icon-google.2319df15.svg",GN="/_next/static/media/icon-mic.5b2c3a06.svg",kN="/_next/static/media/icon-music-note.2fe25ba1.svg",HN="/_next/static/media/icon-translate.aa3b4f42.svg",BN="/_next/static/media/icon-menu.ee659d2c.svg",UN="/_next/static/media/icon-home.17627916.svg",ZN="/_next/static/media/icon-back.89bbcd11.svg",YN="/_next/static/media/icon-close.8a42f0c9.svg",FN="/_next/static/media/icon-three-dots.27980a29.svg",VN="/_next/static/media/google-title.19308825.svg",WN=a(62748),XN=a(82778),KN="/_next/static/media/final-screen-bg.cad866e9.jpg",QN="/_next/static/media/search-result.5d60d77d.jpg",zN="/_next/static/media/icon-ai.04e9c9ff.svg",qN="/_next/static/media/icon-whimsy.737ec835.svg",JN="/_next/static/media/icon-dots.94eccf09.svg",$N="/_next/static/media/icon-copy-link.1748f50e.svg",eT=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5e3,a=(0,P.qr)(),s=a.backButtonStack,n=a.setIsAppOpen;(0,i.useEffect)((function(){if(e){var a=setTimeout((function(){s.length?s[s.length-1].current():n(!1)}),t),i=function(){clearTimeout(a)};window.addEventListener("click",i,{once:!0}),window.addEventListener("touchstart",i,{once:!0})}}),[e])},tT=function(){var e=(0,i.useState)(!1),t=e[0],a=e[1],n=(0,i.useState)(!1),r=n[0],l=n[1];return eT(t),(0,i.useEffect)((function(){r&&setTimeout((function(){a(!0)}),300)}),[r]),(0,s.jsxs)("div",{className:"flex h-full flex-col overflow-hidden",children:[(0,s.jsx)("div",{children:(0,s.jsx)("img",{src:KN,alt:"",className:"absolute top-0 left-0 h-full w-full",onLoad:function(){l(!0)}})}),(0,s.jsxs)("div",{className:H()("absolute bottom-0 left-0 w-full translate-y-10 rounded-t-2xl bg-white px-3 pb-16 pt-8 transition duration-200 ease-linear",{"!translate-y-0":t}),style:{paddingBottom:"calc(env(safe-area-inset-bottom) + 64px)"},children:[(0,s.jsx)("div",{className:"absolute top-0 left-0 h-12 w-full rounded-t-2xl shadow-[0_-2px_10px_0_rgba(0,0,0,.2)]"}),(0,s.jsx)("div",{className:"absolute top-0 left-0 h-14 w-full rounded-t-2xl bg-white"}),(0,s.jsx)("div",{className:"absolute top-3 left-1/2 h-1 w-7 translate-y-full -translate-x-1/2 rounded-xl bg-[#747878] opacity-40"}),(0,s.jsx)("div",{className:"w-full overflow-hidden",children:(0,s.jsxs)("div",{className:"flex items-center gap-2 rounded-[50px] bg-[#F3F5F6] p-2 backdrop-blur-sm",children:[(0,s.jsx)("img",{src:DN,alt:"",className:"w-7"}),(0,s.jsx)("img",{src:QN,alt:"",className:"w-[42px] overflow-hidden rounded-xl"}),(0,s.jsx)("p",{className:"text-sm text-[#5E5E5E]",children:g.t["@PARADIGM_CIRCLE-TO-SEARCH_EXPERIENCE-VIDEO_FINAL-POPUP_INPUT-PLACEHOLDER"]}),(0,s.jsx)("img",{src:GN,alt:"",className:"ltr:ml-auto rtl:mr-auto"})]})}),(0,s.jsxs)("div",{className:"flex items-center justify-between py-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)("img",{src:zN,alt:"",className:"ml-auto"}),(0,s.jsx)("p",{className:"text-xs font-semibold",children:g.t["@PARADIGM_CIRCLE-TO-SEARCH_EXPERIENCE-VIDEO_FINAL-POPUP_AI-OVERVIEW"]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("img",{src:qN,alt:"",className:"ml-auto"}),(0,s.jsx)("p",{className:"text-[10px] font-semibold",children:g.t["@PARADIGM_CIRCLE-TO-SEARCH_EXPERIENCE-VIDEO_FINAL-POPUP_AI-NUMBER"]}),(0,s.jsx)("img",{src:JN,alt:"",className:"ml-auto"})]})]}),(0,s.jsx)("p",{className:"relative mb-2 inline text-base",children:g.t.formatString(g.t["@PARADIGM_CIRCLE-TO-SEARCH_EXPERIENCE-VIDEO_FINAL-POPUP_DESCRIPTION"],(0,s.jsxs)("div",{className:"inline items-center gap-1",children:[(0,s.jsx)("span",{className:"overflow-hidden rounded-md bg-[#D3E3FD] px-1",children:g.t["@PARADIGM_CIRCLE-TO-SEARCH_EXPERIENCE-VIDEO_FINAL-POPUP_DESCRIPTION-HIGH-LIGHT"]}),(0,s.jsx)("img",{src:$N,alt:"",className:"ml-1 mb-0.5 inline"})]}))}),(0,s.jsx)("h2",{className:"mb-2 font-semibold",children:g.t["@PARADIGM_CIRCLE-TO-SEARCH_EXPERIENCE-VIDEO_FINAL-POPUP_TITLE"]}),(0,s.jsxs)("ul",{className:"flex flex-col gap-2 text-sm",children:[(0,s.jsxs)("li",{children:[(0,s.jsx)("p",{className:"mb-1 font-semibold",children:g.t["@PARADIGM_CIRCLE-TO-SEARCH_EXPERIENCE-VIDEO_FINAL-POPUP_DETAIL-TITLE-1"]}),(0,s.jsxs)("p",{children:[g.t["@PARADIGM_CIRCLE-TO-SEARCH_EXPERIENCE-VIDEO_FINAL-POPUP_DETAIL-TEXT-1"],(0,s.jsx)("img",{src:$N,alt:"",className:"ml-1 mb-0.5 inline"})]})]}),(0,s.jsxs)("li",{children:[(0,s.jsx)("p",{className:"mb-1 font-semibold",children:g.t["@PARADIGM_CIRCLE-TO-SEARCH_EXPERIENCE-VIDEO_FINAL-POPUP_DETAIL-TITLE-2"]}),(0,s.jsx)("p",{children:g.t["@PARADIGM_CIRCLE-TO-SEARCH_EXPERIENCE-VIDEO_FINAL-POPUP_DETAIL-TEXT-2"]})]})]})]})]})},aT={src:"/_next/static/media/draw_glow.bae9d614.svg",height:105,width:103},sT="/_next/static/media/icon-hat.eed1059a.svg",iT=a(18409),nT=H()(Object.values({lt:"lt:text-sm",hr:"hr:text-sm",nl:"nl:text-sm",hu:"hu:text-sm"})),rT=function(e){var t=e.hotspot,a=e.touchDownStarted,n=e.lottieSize,r=(0,i.useState)(!1),l=r[0],c=r[1],o=(0,i.useContext)(WN.K),d=o.state,u=o.dispatch,p=(0,i.useRef)(null),x=(0,i.useRef)(null),f=(0,i.useRef)(null),m=(0,i.useRef)(null),h=(0,i.useRef)(null),A=(0,i.useState)(!1),E=A[0],g=A[1],v=function(){return window.innerWidth,131},C=(0,i.useState)(null),j=C[0],N=C[1];(0,i.useEffect)((function(){var e=new Image;e.src=aT.src,N(e),e.onload=function(){return N(e)}}),[aT]),(0,i.useEffect)((function(){if("PRESS"===(null===t||void 0===t?void 0:t.type)){var e=setTimeout((function(){g(!0)}),1e3);return function(){return clearTimeout(e)}}}),[null===t||void 0===t?void 0:t.type]);return t?"LONG_PRESS"===t.type?(0,s.jsx)(sg,{text:t.textTop,touchDownStarted:a}):"PRESS"===(null===t||void 0===t?void 0:t.type)&&E?(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"relative top-[env(safe-area-inset-top)/2] flex h-full",children:(0,s.jsxs)("div",{className:"relative h-full w-full",onClick:function(){u({type:"SET_DRAW_CANVAS",payload:!0})},children:[(null===t||void 0===t?void 0:t.textTop)&&(0,s.jsxs)("div",{className:H()("hotspot-text-top absolute left-1/2 inline-flex min-w-max items-center gap-1 whitespace-pre-line rounded-2xl border bg-white px-2 py-1 text-center text-[10px] font-medium text-black",nT),ref:x,children:[(0,s.jsx)("span",{className:"absolute left-1/2 top-[calc(100%-1px)] h-0 w-0 -translate-x-1/2 border-l-[6px] border-r-[6px] border-t-[6px] border-l-transparent border-r-transparent border-t-white"}),(0,s.jsx)("span",{className:"inline-flex h-4 w-4 rounded-full bg-primary-blue-5",children:(0,s.jsx)("img",{src:sT,alt:""})}),t.textTop]}),(0,s.jsx)("div",{className:"absolute top-0 left-0 mx-auto h-full w-full max-w-[266px] overflow-visible",ref:p,children:(0,s.jsx)("img",{width:"100vw",style:{width:"100%",height:"auto"},src:iT.Z.src,alt:"more"})}),(0,s.jsx)("div",{className:"relative top-0 left-0 mx-0 w-full max-w-[266px]",ref:f,children:(0,s.jsx)(Re.Z,{path:"/fold/assets/animations/circleTS/CTS_guide.json",width:n,height:n,loop:!0})}),d.drawCanvas?(0,s.jsxs)("div",{className:"fixed inset-0",children:[(0,s.jsx)("canvas",{ref:m,style:{position:"absolute",top:0,right:0,zIndex:20,width:"100%",height:"100%",pointerEvents:"none"},width:266,height:266}),(0,s.jsx)("canvas",{ref:h,onTouchStart:function(e){var t,a,s=null===(t=m.current)||void 0===t?void 0:t.getBoundingClientRect(),i=p.current,n=x.current,r=f.current;I.ZP.to(i,{opacity:0,duration:0}),I.ZP.to(n,{opacity:0,duration:0}),I.ZP.to(r,{opacity:0,duration:0});var l=s.width-133,o=e.touches[0].clientX-((null===s||void 0===s?void 0:s.left)||0),d=e.touches[0].clientY-((null===s||void 0===s?void 0:s.top)||0),u=o-l,h=d-133;if(!(Math.sqrt(u*u+h*h)>v())){c(!0);var A=null===(a=m.current)||void 0===a?void 0:a.getContext("2d");A&&(A.clearRect(0,0,A.canvas.width,A.canvas.height),A.beginPath(),A.shadowColor="rgba(255, 255, 255, 0.2)",A.shadowBlur=1.5,A.moveTo(o,d))}},onTouchMove:function(e){var t,a;if(l){var s=null===(t=m.current)||void 0===t?void 0:t.getContext("2d"),i=null===(a=h.current)||void 0===a?void 0:a.getContext("2d");if(s&&i){var n,r=null===(n=m.current)||void 0===n?void 0:n.getBoundingClientRect(),c=r.width-133,o=e.touches[0].clientX-(r.left||0),d=e.touches[0].clientY-(r.top||0),u=o-c,p=d-133,x=Math.sqrt(u*u+p*p),f=v();if(x>f){var A=Math.atan2(p,u);o=c+f*Math.cos(A),d=133+f*Math.sin(A)}s.lineTo(o,d),s.strokeStyle="white",s.lineWidth=1,s.lineCap="round",s.stroke(),i.clearRect(0,0,i.canvas.width,i.canvas.height),i.drawImage(j,o-j.width/2,d-j.height/2)}}},onTouchEnd:function(){if(l){var e;c(!1);var t=null===(e=m.current)||void 0===e?void 0:e.getContext("2d");t&&t.closePath(),setTimeout((function(){u({type:"SHOW_CROPPED_IMG_SEARCH_RESULTS",payload:!0})}),1e3)}},style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",zIndex:21},width:266,height:266})]}):null,(null===t||void 0===t?void 0:t.textBottom)&&(0,s.jsx)("p",{className:"fixed left-[50%] min-w-[220px] -translate-x-1/2 translate-y-[8px] whitespace-pre-line text-center font-medium text-white ltr:font-title rtl:font-titleAr xxs:translate-y-[5px] xxs:text-sm",children:null===t||void 0===t?void 0:t.textBottom})]})})}):null:null},lT=["phone","live-translate","circle-search","interpreter","settings"],cT=function(e){var t=e.title,a=e.video,n=e.pauseTimes,r=e.hotspotPositions,l=e.soundPath,c=e.hideProgressBar,o=void 0!==c&&c,d=e.hideFooterNav,u=void 0!==d&&d,p=e.isProgressBarClickable,x=void 0!==p&&p,f=e.canResizeHotspot,m=void 0!==f&&f,h=e.wrapperRef,A=e.overlay,E=(0,P.qr)(),g=E.appName,v=E.isAppOpen,C=E.isAppOpenTransitioning,j=E.backButtonStack,N=(0,P.q0)().setNavAvailable,T=(0,i.useContext)(tg),w=T.screen,b=T.setScreen,S=(0,i.useRef)(null),y=(0,i.useState)(0),R=y[0],O=y[1],D=(0,i.useState)(0),G=D[0],k=D[1],H=(0,i.useState)(0),B=H[0],U=H[1],Z=(0,i.useState)(!1),Y=Z[0],F=Z[1],V=(0,i.useRef)(null),W=(0,i.useRef)(null),X=(0,i.useRef)(null),K=(0,i.useRef)(null),Q=(0,i.useRef)(null),q=(0,i.useRef)(null),J=(0,i.useRef)(null),$=(0,i.useRef)(null),ee=(0,i.useRef)(null),te=(0,i.useRef)(null),ae=(0,i.useRef)(null),se=(0,i.useMemo)((function(){return 2*window.innerWidth}),[]),ie=(0,i.useMemo)((function(){return window.innerHeight}),[]),ne=(0,i.useState)(!1),re=ne[0],le=ne[1],ce=(0,i.useRef)(null),oe=(0,i.useRef)(),de=(0,i.useContext)(WN.K),ue=de.state,pe=de.dispatch;(0,i.useEffect)((function(){pe({type:"SET_LONG_PRESS_STATUS",payload:!0}),pe({type:"SET_DRAW_CANVAS",payload:!0})}),[]);var xe=Vf(h,V,W,(function(){b("Home")})),fe=xe.openWithoutTransition,me=xe.close,he=function(e){e<n.length+1&&k(e+=1)},Ae=function(){clearTimeout(oe.current);var e=ce.current;"paused"!==e.getState()?e.pause():e.play()},Ee=function(){clearTimeout(oe.current);var e=5e3;r[G-1]&&"LONG_PRESS"===r[G-1].type&&(e+=700),oe.current=setTimeout(Ae,e)},ge=Js(Ae,{delay:700}),ve=r[G-1]&&"LONG_PRESS"===r[G-1].type?(0,_.Z)({},ge):{onClick:Ae},Ce=r[G-1];(0,i.useEffect)((function(){if("PRESS"===(null===Ce||void 0===Ce?void 0:Ce.type)){le(!0);var e=Q.current,t=ae.current,a=J.current,s=te.current;null===e||void 0===e||e.classList.remove("invisible"),I.ZP.fromTo(e,{height:"0px",width:"0%"},{height:"76px",width:"100%",duration:.3,delay:1}),I.ZP.fromTo(a,{opacity:0},{opacity:1,duration:.3,delay:1}),I.ZP.fromTo(t,{opacity:0},{opacity:1,duration:.3,delay:1}),I.ZP.set(s,{background:"#fff",delay:1}),K.current.style.transform="translate(-50%,-55%)",K.current.style.top="50%"}}),[Ce]),(0,i.useEffect)((function(){var e,a=ce.current;if(lT.includes(g)&&v&&w.current===t){if(e=setInterval((function(){a&&O(a.getPosition())}),100),R>n[G]){var s;a.pause(),null===(s=K.current)||void 0===s||s.classList.remove("invisible"),Ee();var i=V.current.getElementsByClassName("jw-video");if(i.length){var r=i[0];r.style.objectFit="contain",r.style.position="relative",r.style.width="auto",r.style.height="100%",r.style.width="100%",r.style.height="auto",r.style.objectFit="cover",r.style.position="absolute",r.style.width="100%",r.style.height="100%"}he(G)}}else O(0);return u&&"circle-search-video"===w.current?N(!1):N(!0),function(){return clearInterval(e)}}),[R,g,v,O,w]),(0,i.useLayoutEffect)((function(){var e;(!S.current&&l&&(S.current=new kp.Howl({src:"/assets/audio/".concat(l,"/loop.mp3"),loop:!0})),lT.includes(g)&&v&&w.current===t&&fe(),"circle-search-video"===w.current)&&(null===(e=K.current)||void 0===e||e.removeAttribute("style"));var a=q.current,s=J.current,i=te.current,n=ae.current,r=$.current,c=S.current,o=ce.current,d=!1,u=!1,p=function(){var e;o&&o.stop(),pe({type:"SHOW_CROPPED_IMG_SEARCH_RESULTS",payload:!1}),le(!1),null===(e=Q.current)||void 0===e||e.classList.add("invisible"),I.ZP.killTweensOf(a),I.ZP.set(a,{opacity:1,pointerEvents:"none"}),I.ZP.set(i,{display:"none"}),I.ZP.set(n,{opacity:0}),function(){var e;clearTimeout(oe.current),c&&(c.pause(),c.seek(0),c.volume(0)),k(0),null===(e=K.current)||void 0===e||e.classList.add("invisible")}()},x=function(){d||(d=!0,I.ZP.killTweensOf(r),I.ZP.to(r,{opacity:1,duration:.3,ease:"power3.out"}))},f=function(){d&&(d=!1,I.ZP.killTweensOf(r),I.ZP.to(r,{opacity:0,duration:.3,ease:"power3.out"}))},m=function(){I.ZP.killTweensOf(r),I.ZP.to(r,{opacity:0,duration:.3,ease:"power3.out"}),u||(I.ZP.killTweensOf([s]),I.ZP.set(s,{opacity:0}),I.ZP.killTweensOf([a]),I.ZP.to(a,{opacity:1,pointerEvents:"auto",duration:.6,ease:"power3.out"}),c&&(c.volume(1),c.play())),u=!0,0===B&&U(o.getDuration())},h=function(){},A=function(){document.hidden&&(c&&c.pause(),o.stop(),p(),me())};return lT.includes(g)&&v?w.current===t?(o&&(o.on("play",m),o.on("play",f),o.on("pause",h),o.on("buffer",x),o.on("seeking",x)),document.addEventListener("visibilitychange",A),o&&!C&&o.play()):(c&&c.pause(),p(),o&&(o.off("play",m),o.off("play",f),o.off("pause",h),o.off("buffer",x),o.off("seeking",x)),document.removeEventListener("visibilitychange",A)):(c&&c.pause(),p(),lT.includes(g)||w.current!==t||me()),function(){o&&(o.off("play",m),o.off("play",f),o.off("pause",h),o.off("buffer",x),o.off("seeking",x)),document.removeEventListener("visibilitychange",A)}}),[g,v,w]),(0,i.useEffect)((function(){var e=V.current,t=q.current;e.style.display="none",I.ZP.set(t,{opacity:1,pointerEvents:"none"})}),[]),(0,i.useEffect)((function(){var e=ce.current;Y&&e&&U(e.getDuration())}),[Y,U,B]);return(0,i.useEffect)((function(){var e=te.current;ue.croppedImgSearchResults?I.ZP.set(e,{display:"flex"}):I.ZP.set(e,{display:"hidden"})}),[ue.croppedImgSearchResults]),(0,s.jsxs)("div",{className:"absolute inset-0 bg-white","data-component":"app-view","data-app-view-name":t,"data-app-view-is-header-transparent":"true","data-track-title":"Experience Galaxy Z Fold4","data-track-path":"/app/".concat(t),ref:V,children:[(0,s.jsxs)("div",{className:"gpu absolute inset-0 overflow-hidden text-primary-gray-400","data-ref":"app-view-container",ref:W,children:[(0,s.jsxs)("div",{className:"absolute inset-0 flex items-center","data-ref":"app-view-content",style:{minWidth:"100vw",minHeight:"100vh",paddingBottom:"env(safe-area-inset-bottom)"},"data-component":"app-experience-video",ref:X,children:[(0,s.jsx)("div",{className:"gpu pointer-events-none absolute inset-0 z-10 flex items-center justify-center","data-ref":"app-camera-preloader",ref:$,children:(0,s.jsx)("div",{className:"loader mb-4 h-12 w-12 rounded-full border-4 border-t-4 border-gray-200 ease-linear"})}),(0,s.jsxs)("div",{className:"video-auto-width relative h-full w-full overflow-hidden",children:[(0,s.jsxs)("div",{className:"h-full w-full","data-ref":"app-experience-video-player",ref:q,children:[(0,s.jsx)("div",{className:"pointer-events-none absolute left-0 bottom-0 flex h-full w-full",children:(0,s.jsx)(Op(),{library:z.e.jwPlayerSource,didMountCallback:function(e){var t=e.player;ce.current=t,F(!0)},file:a,config:{key:M.B8},stretching:"uniform"})}),(0,s.jsx)("div",{className:"absolute inset-0",children:ue.croppedImgSearchResults?(0,s.jsx)(tT,{}):(0,s.jsxs)("div",{className:"relative h-full w-full",children:[(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 z-10 h-full w-full bg-[rgba(0,0,0,.1)]",ref:J}),(0,s.jsx)("div",(0,L.Z)((0,_.Z)({className:"invisible absolute top-full left-[50%] z-10 -translate-y-[calc(100%+3px)] -translate-x-[46%] rounded-full opacity-90","data-ref":"app-experience-video-button-play",ref:K},ve),{children:(0,s.jsx)(rT,{hotspot:r[G-1],lottieSize:"266px",touchDownStarted:Ee,canResize:m})})),(0,s.jsx)("div",{className:"pointer-events-none invisible absolute bottom-20 left-1/2 z-10 w-full -translate-x-1/2 rounded-full px-5 opacity-90",ref:Q,children:(0,s.jsx)("div",{className:"w-full overflow-hidden",children:(0,s.jsxs)("div",{className:"flex items-center gap-1 rounded-[50px] bg-[rgba(255,255,255,.5)] p-3 backdrop-blur-sm",children:[(0,s.jsxs)("div",{className:"flex h-[52px] flex-1 items-center justify-between rounded-[50px] bg-white p-2",children:[(0,s.jsx)("img",{src:DN,alt:""}),(0,s.jsx)("img",{src:GN,alt:""})]}),(0,s.jsx)("div",{className:"flex h-[52px] w-[52px] items-center justify-center rounded-full bg-white",children:(0,s.jsx)("img",{src:kN,alt:""})}),(0,s.jsx)("div",{className:"flex h-[52px] w-[52px] items-center justify-center rounded-full bg-white",children:(0,s.jsx)("img",{src:HN,alt:""})})]})})}),re&&(0,s.jsx)("div",{ref:ee,style:{opacity:"1",transition:"0.5s all",position:"absolute",bottom:"0px",zIndex:"9",left:"-50%",pointerEvents:"none"},children:(0,s.jsx)(XN.Z,{path:"/fold/assets/animations/circleTS/CTS_shader.json",width:se>ie?se:ie,height:"100%",onComplete:function(e){e.goToAndStop(e.totalFrames-3,!0),ee.current.style.opacity="0.3"}})})]})})]}),(0,s.jsx)("div",{className:"absolute left-0 right-0 top-0",children:!o&&R>0&&(0,s.jsx)(eg,{pauseTimes:n,currentTime:R,videoPhase:G,videoDuration:B,setPhase:function(e){var t=K.current,a=Q.current,s=ce.current,i=0;0!==e&&(i=n[e-1]),s.seek(i),null===t||void 0===t||t.classList.add("invisible"),null===a||void 0===a||a.classList.add("invisible"),I.ZP.to(a,{height:"0px",width:"0%"}),he(e-1)},isClickable:x})})]})]}),A&&(0,s.jsx)(s.Fragment,{children:A})]}),(0,s.jsxs)("div",{className:"absolute top-0 left-0 flex w-full items-center justify-between bg-gradient-to-b from-black/30 via-black/30 to-transparent py-12 px-4",ref:ae,children:[(0,s.jsx)("button",{className:"flex h-9 w-9 items-center justify-center rounded-full bg-[rgba(0,0,0,.3)]",onClick:function(){j[j.length-1].current()},children:(0,s.jsx)("img",{src:YN,alt:""})}),(0,s.jsx)("div",{children:(0,s.jsx)("img",{src:VN,alt:"Google"})}),(0,s.jsx)("div",{className:"flex h-9 w-9 items-center justify-center rounded-full bg-[rgba(0,0,0,.3)]",children:(0,s.jsx)("img",{src:FN,alt:""})})]}),(0,s.jsxs)("div",{className:"pointer-events-none absolute left-0 bottom-0 z-10 hidden w-full items-center justify-between px-16 pb-1",ref:te,style:{bottom:"env(safe-area-inset-bottom)"},dir:"ltr",children:[(0,s.jsx)("div",{className:"flex w-10 items-center justify-center",children:(0,s.jsx)("img",{src:BN,alt:""})}),(0,s.jsx)("div",{children:(0,s.jsx)("img",{src:UN,alt:""})}),(0,s.jsx)("div",{className:"pointer-events-auto flex w-10 items-center justify-center",onClick:function(){j[j.length-1].current()},children:(0,s.jsx)("img",{src:ZN,alt:"",className:"rtl:-scale-x-100 rtl:transform"})})]})]})},oT=function(e){var t=e.wrapperRef,a="circle-search-video",i=([he.vf&&{id:"9:16",ratio:16/9},{id:"9:19.5",ratio:19.5/9},{id:"9:22",ratio:22/9}].map((function(e){return(0,L.Z)((0,_.Z)({},e),{distance:Math.abs(window.screen.width-window.screen.height/e.ratio)})})).sort((function(e,t){return e.distance-t.distance}))[0].id,[2.3,3]),n="cn"===g.t.getLanguage()?[3,4.9]:i,r=pg("circleSearch");return(0,s.jsxs)(WN.b,{children:[(0,s.jsx)(aa.Z,{languages:["cn"],children:(0,s.jsx)(dg,{title:a,video:r.src,pauseTimes:[],hotspotPositions:[],hideProgressBar:!0,hideFooterNav:!0,wrapperRef:t,pauseOnLastFrame:!0})}),(0,s.jsx)(sa.Z,{languages:["cn"],children:(0,s.jsx)(cT,{title:a,video:r.src,pauseTimes:n,hotspotPositions:r.hotspots,hideProgressBar:!0,hideFooterNav:!0,wrapperRef:t})})]})},dT="/_next/static/media/google-icon.1230268e.svg",uT="/_next/static/media/no-google-icon.370f30a0.svg",pT="".concat(M.yb.path,"/").concat(z.e.circleToSearchCardVideoSrc),xT={es:"es:xxs:text-xs es:xsm:text-xs",de:"de:text-xs",eslatam:"eslatam:xxs:text-xs eslatam:xsm:text-xs",fr:"fr:text-xs",ca:"ca:xxs:text-xs ca:xsm:text-xs",it:"it:xxs:text-xs it:xsm:text-xs",se:"se:xxs:text-xs se:xsm:text-xs",br:"br:xxs:text-xs br:xsm:text-xs",ru:"ru:xxs:text-xs ru:xsm:text-xs",nl:"nl:xxs:text-xs nl:xsm:text-xs nl:md:text-xs",gr:"gr:font-greekFonts"},fT={es:"es:xxs:my-auto es:xsmd:my-auto es:mt-auto",fr:"fr:xxs:my-auto fr:xsmd:my-auto fr:my-0 fr:mt-auto",de:"de:xxs:my-auto de:xsmd:my-auto de:my-0 de:mt-auto",eslatam:"eslatam:xxs:my-auto eslatam:xsmd:my-auto",ca:"ca:xxs:my-auto ca:xsmd:my-auto ca:px-1",it:"it:xxs:my-auto it:xsmd:my-auto",se:"se:xxs:my-auto se:xsmd:my-auto",br:"br:xxs:my-auto br:xsmd:my-auto",nl:"nl:mt-auto",gr:"gr:font-greekFonts gr:smd:text-[8px]",cn:"cn:text-left",th:"th:whitespace-pre-line"},mT={gr:"gr:font-greekFonts"},hT=H()(Object.values(xT)),AT=H()(Object.values(fT)),ET=H()(Object.values(mT)),gT=function(){return(0,s.jsxs)("div",{className:"-mt-[2px] flex justify-end",children:[(0,s.jsx)(aa.Z,{languages:["br"],children:(0,s.jsx)("img",{src:uT,alt:"",className:"h-3"})}),(0,s.jsx)(sa.Z,{languages:["br","cn"],children:(0,s.jsx)("img",{src:dT,alt:"",className:"h-3"})})]})},vT=function(){var e="circle-search",t=(0,i.useRef)(null),a=(0,i.useContext)(tg),n=a.setScreen,r=a.screen,l=(0,P.qr)().appName;(0,i.useEffect)((function(){l!==e&&"Home"!==r.current&&n("Home")}),[l,n]);var c=l===e;return(0,s.jsxs)(LN,{appTitle:e,tracking:null,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-white","data-ref":"app-view-background"}),(0,s.jsx)("div",{ref:t,className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsxs)(MN,{children:[(0,s.jsx)(MN.Title,{className:ET,subtitle:(0,s.jsx)(gT,{}),children:g.t["@UNPACKED_WIDGET_CARD_STYLE-CIRCLE_TO_SEARCH_TITLE"]}),(0,s.jsx)(MN.Video,{isActive:c,videoSrc:pT}),(0,s.jsx)(MN.Description,{className:hT,children:g.t["@PARADIGM_WIDGETS_CARD_STYLE-CIRCLE_TO_SEARCH_DETAILS"]}),(0,s.jsx)(MN.ButtonContainer,{children:(0,s.jsx)(MN.Button,{onClick:function(){(0,V.Kq)("/app/dashboard/widget/circle-search/circle-search-video","Dashboard Widget"),n("circle-search-video")},children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-CIRCLE_TO_SEARCH_BUTTON"]})}),(0,s.jsx)(MN.Disclaimer,{className:AT,children:g.t["@PARADIGM_WIDGETS_CARD_STYLE-CIRCLE_TO_SEARCH_DISCLAIMER"]})]})}),l===e&&(0,s.jsx)(oT,{wrapperRef:t})]})},CT=function(){return(0,s.jsx)(ag,{children:(0,s.jsx)(vT,{})})},jT={gr:"gr:font-greekFonts"},NT={gr:"gr:font-greekFonts"},TT={gr:"gr:font-greekFonts",cn:"cn:text-left"},wT=H()(Object.values(jT)),_T=H()(Object.values(NT)),bT=H()(Object.values(TT)),ST="".concat(M.yb.path).concat(z.e.noteAssistVideoSrc),yT=function(){var e="note-assist",t=(0,i.useRef)(null),a=(0,i.useContext)(tg),n=a.setScreen,r=a.screen,l=(0,P.qr)().appName;(0,i.useEffect)((function(){l!==e&&"Home"!==r.current&&n("Home")}),[l,n]);var c=l===e;return(0,s.jsxs)(LN,{appTitle:e,tracking:null,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-white","data-ref":"app-view-background"}),(0,s.jsx)("div",{ref:t,className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsxs)(MN,{children:[(0,s.jsx)(MN.Title,{className:wT,children:g.t["@UNPACKED_WIDGET_CARD_STYLE-NOTE_ASSIST_TITLE"]}),(0,s.jsx)(MN.Video,{isActive:c,videoSrc:ST}),(0,s.jsx)(MN.Description,{className:_T,children:g.t["@UNPACKED_WIDGET_CARD_STYLE-NOTE_ASSIST_DETAILS"]}),(0,s.jsx)(MN.Disclaimer,{className:bT,children:g.t["@UNPACKED_WIDGET_CARD_STYLE-NOTE_ASSIST_DISCLAIMER"]})]})})]})},RT=function(){return(0,s.jsx)(ag,{children:(0,s.jsx)(yT,{})})},LT={gr:"gr:font-greekFonts"},IT={gr:"gr:font-greekFonts"},PT={gr:"gr:font-greekFonts",cn:"cn:text-left"},OT=H()(Object.values(LT)),MT=H()(Object.values(IT)),DT=H()(Object.values(PT)),GT="".concat(M.yb.path,"/").concat(z.e.sketchToImageVideoSrc),kT=function(){var e="connected-ai",t=(0,i.useRef)(null),a=(0,i.useContext)(tg),n=a.setScreen,r=a.screen,l=(0,P.qr)().appName,c=(0,P.fv)().navigateTo;(0,i.useEffect)((function(){l!==e&&"Home"!==r.current&&n("Home")}),[l,n]);var o=e===l;return(0,s.jsxs)(LN,{appTitle:e,tracking:null,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-white","data-ref":"app-view-background"}),(0,s.jsx)("div",{ref:t,className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsxs)(MN,{children:[(0,s.jsx)(MN.Title,{className:OT,children:g.t["@UNPACKED_WIDGET_CARD_STYLE-SKETCH_TO_IMAGE_TITLE"]}),(0,s.jsx)(MN.Video,{isActive:o,videoSrc:GT}),(0,s.jsx)(MN.Description,{className:MT,children:g.t["@PARADIGM_WIDGETS_CARD_STYLE-SKETCH_TO_IMAGE_DETAILS"]}),(0,s.jsx)(MN.ButtonContainer,{children:(0,s.jsx)(MN.Button,{onClick:function(){(0,V.Kq)("/app/sketch-to-image/sketch-to-image-video","Sketch to Image"),c.current({appName:"gallery",path:"gallery/sketch-to-image",shouldResetScreen:!0,shouldResetTutorial:!0})},children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-SKETCH_TO_IMAGE_BUTTON"]})}),(0,s.jsx)(MN.Disclaimer,{className:DT,children:g.t["@PARADIGM_WIDGETS_CARD_STYLE-SKETCH_TO_IMAGE_DISCLAIMER"]})]})})]})},HT=function(){return(0,s.jsx)(ag,{children:(0,s.jsx)(kT,{})})},BT={gr:"gr:font-greekFonts"},UT={gr:"gr:font-greekFonts"},ZT={gr:"gr:font-greekFonts",cn:"cn:text-left"},YT=H()(Object.values(BT)),FT=H()(Object.values(UT)),VT=H()(Object.values(ZT)),WT="".concat(M.yb.path,"/en_flexcam.mp4"),XT=function(){var e="flex-zoom",t=(0,i.useRef)(null),a=(0,i.useContext)(tg),n=a.setScreen,r=a.screen,l=(0,P.qr)().appName;(0,i.useEffect)((function(){l!==e&&"Home"!==r.current&&n("Home")}),[l,n]);var c=e===l;return(0,s.jsxs)(LN,{appTitle:e,tracking:null,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-white","data-ref":"app-view-background"}),(0,s.jsx)("div",{ref:t,className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsxs)(MN,{children:[(0,s.jsx)(MN.Title,{className:YT,children:g.t["@UNPACKED_WIDGET_CARD_STYLE-FLEXCAM_TITLE"]}),(0,s.jsx)(MN.Video,{isActive:c,videoSrc:WT}),(0,s.jsx)(MN.Description,{className:FT,children:g.t["@UNPACKED_WIDGET_CARD_STYLE-FLEXCAM_DETAILS"]}),(0,s.jsx)(MN.Disclaimer,{className:VT,children:g.t["@UNPACKED_WIDGET_CARD_STYLE-FLEXCAM_DISCLAIMER"]})]})})]})},KT=function(){return(0,s.jsx)(ag,{children:(0,s.jsx)(XT,{})})},QT="/_next/static/media/samsung-wallet-icon.41b3e63f.png",zT={gr:"gr:font-greekFonts"},qT={gr:"gr:font-greekFonts"},JT=H()(Object.values(zT)),$T=H()(Object.values(qT)),ew=[{id:"page-1",asset:"/_next/static/media/samsung-wallet-1.f040e3ee.jpeg",caption:g.t["WALLET_PAGE-ONE_CAPTION"],disclaimer:g.t["WALLET_PAGE-ONE_DISCLAIMER"]},{id:"page-2",asset:"/_next/static/media/samsung-wallet-2.330c1dd4.jpeg",caption:g.t["WALLET_PAGE-TWO_CAPTION"],disclaimer:g.t["WALLET_PAGE-TWO_DISCLAIMER"]},{id:"page-3",asset:"/_next/static/media/samsung-wallet-3.58f7ec4a.jpg",caption:g.t["@PARADIGM_WALLET_PAGE-THREE_CAPTION"],disclaimer:g.t["@PARADIGM_WALLET_PAGE-THREE_DISCLAIMER"]},{id:"page-4",asset:"/_next/static/media/samsung-wallet-4.bee74576.jpg",caption:g.t["@PARADIGM_WALLET_PAGE-FOUR_CAPTION"],disclaimer:g.t["@PARADIGM_WALLET_PAGE-FOUR_DISCLAIMER"]}],tw=function(){var e=(0,i.useRef)(null),t=(0,i.useRef)(null),a=(0,i.useRef)(null),n=(0,i.useRef)([]),r=(0,i.useRef)(null),l=(0,i.useRef)([]);return(0,s.jsxs)(LN,{appTitle:"samsung-wallet",tracking:{path:"/app/samsung-wallet",page:M.dC.SamsungWallet},children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-white","data-ref":"app-view-background"}),(0,s.jsx)("div",{ref:e,className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsx)(ot,{sliderContainerRef:t,sliderListRef:a,sliderListItemsRef:n,sliderPaginationRef:r,sliderPaginationItemsRef:l,trackPath:"/app/samsung-wallet/page",resetPageOnLeave:!0,children:(0,s.jsx)("div",{className:"absolute inset-0","data-component":"slider","data-slider-type":"horizontal","data-slider-position":"internal","data-slider-location":M.dC.SamsungWallet,ref:t,children:(0,s.jsxs)("div",{className:"absolute left-0 right-0 h-[calc(100%-90px)] overflow-hidden xxs:h-[calc(100%-60px)]",children:[(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center text-center font-title text-black","data-ref":"app-content",children:(0,s.jsx)("div",{className:"gpu absolute inset-0 flex","data-ref":"slider-list",style:{width:"500vw",transform:"translate(0px, 0px)"},ref:a,children:ew.map((function(e){return(0,s.jsx)("div",{className:"gpu relative flex h-full w-full items-center justify-center","data-ref":"slider-list-item",style:{transformOrigin:"50% 50%",opacity:1,transform:"translate(0px, 0px)"},ref:function(e){e&&!n.current.includes(e)&&n.current.push(e)},children:(0,s.jsx)("div",{className:"absolute inset-0",children:(0,s.jsx)("div",{className:"absolute left-0 right-0 h-[calc(100%-60px)] overflow-hidden",style:{top:35},children:(0,s.jsx)("div",{className:"relative flex h-full ltr:font-sans rtl:font-sansAr",children:(0,s.jsxs)("div",{className:"flex h-full w-full flex-col gap-4 xxs:gap-2.5",style:{paddingTop:"env(safe-area-inset-top)"},children:[(0,s.jsx)(MN.Title,{children:(0,s.jsxs)("div",{className:"flex h-full items-center gap-x-2.5",children:[(0,s.jsx)("img",{src:QT,className:"h-6 w-6",alt:""}),(0,s.jsx)("div",{className:"mt-1 text-lg font-[666]",children:g.t["@UNPACKED_WIDGET_CARD_STYLE-WALLET_TITLE"]})]})}),(0,s.jsx)(MN.Image,{imgSrc:e.asset}),(0,s.jsx)(MN.Description,{className:JT,children:e.caption}),(0,s.jsx)(MN.Disclaimer,{className:$T,children:e.disclaimer})]})})})})},e.id)}))})}),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0",children:(0,s.jsx)("div",{className:"flex-no-wrap align-center relative flex w-full justify-center gap-x-2.5 pt-4","data-ref":"slider-pagination",ref:r,children:ew.map((function(e,t){return(0,s.jsxs)("div",{className:"relative h-[8px] w-[8px] overflow-hidden rounded-full border",children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-full bg-primary-gray-214"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-400","data-ref":"slider-pagination-item",ref:function(e){e&&!l.current.includes(e)&&l.current.push(e)}})]},t)}))})})]})})})})]})},aw=function(){return(0,s.jsx)(tw,{})},sw="".concat(M.yb.path,"/").concat(z.e.quickShareVideoSrc),iw={gr:"gr:font-greekFonts"},nw={gr:"gr:font-greekFonts"},rw=H()(Object.values(iw)),lw=H()(Object.values(nw)),cw=[{id:"page-1",asset:"/_next/static/media/quick-share-1.899b2f4e.png",caption:g.t["QUICK-SHARE_PAGE-ONE_CAPTION"]},{id:"page-2",videoSrc:sw,caption:g.t["QUICK-SHARE_PAGE-TWO_CAPTION"],disclaimer:g.t["QUICK-SHARE_PAGE-TWO_DISCLAIMER"]}],ow=function(){var e=(0,i.useState)(0),t=e[0],a=e[1],n="quick-share",r=(0,P.qr)().appName,l=(0,i.useRef)(null),c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)([]),u=(0,i.useRef)(null),p=(0,i.useRef)([]),x=n===r;return(0,s.jsxs)(LN,{appTitle:n,tracking:{path:"/app/quick-share",page:M.dC.QuickShare},children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-white","data-ref":"app-view-background"}),(0,s.jsx)("div",{ref:l,className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsx)(ot,{sliderContainerRef:c,sliderListRef:o,sliderListItemsRef:d,sliderPaginationRef:u,sliderPaginationItemsRef:p,trackPath:"/app/quick-share/page",setCurrentSlide:a,resetPageOnLeave:!0,children:(0,s.jsx)("div",{className:"absolute inset-0","data-component":"slider","data-slider-type":"horizontal","data-slider-position":"internal","data-slider-location":M.dC.QuickShare,ref:c,children:(0,s.jsxs)("div",{className:"absolute left-0 right-0 h-[calc(100%-90px)] overflow-hidden xxs:h-[calc(100%-60px)]",children:[(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center text-center font-title text-black","data-ref":"app-content",children:(0,s.jsx)("div",{className:"gpu absolute inset-0 flex","data-ref":"slider-list",style:{width:"500vw",transform:"translate(0px, 0px)"},ref:o,children:cw.map((function(e,a){return(0,s.jsx)("div",{className:"gpu relative flex h-full w-full items-center justify-center","data-ref":"slider-list-item",style:{transformOrigin:"50% 50%",opacity:1,transform:"translate(0px, 0px)"},ref:function(e){e&&!d.current.includes(e)&&d.current.push(e)},children:(0,s.jsx)("div",{className:"absolute inset-0",children:(0,s.jsx)("div",{className:"absolute left-0 right-0 h-[calc(100%-60px)] overflow-hidden ",style:{top:35},children:(0,s.jsx)("div",{className:"relative flex h-full ltr:font-sans rtl:font-sansAr",children:(0,s.jsxs)("div",{className:"flex h-full w-full flex-col gap-4 xxs:gap-2.5",style:{paddingTop:"env(safe-area-inset-top)"},children:[(0,s.jsx)(MN.Title,{children:(0,s.jsx)("div",{className:"flex h-full items-center gap-x-2.5",children:(0,s.jsx)("div",{className:"mt-1 text-lg font-bold",children:g.t["QUICK-SHARE_PAGE-TITLE"]})})}),e.videoSrc?(0,s.jsx)(MN.Video,{isActive:x,isActiveSlide:t===a,videoSrc:sw}):(0,s.jsx)(MN.Image,{imgSrc:e.asset}),(0,s.jsx)(MN.Description,{className:rw,children:e.caption}),(0,s.jsx)(MN.Disclaimer,{className:lw,children:e.disclaimer})]})})})})},e.id)}))})}),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0",children:(0,s.jsx)("div",{className:"flex-no-wrap align-center relative flex w-full justify-center gap-x-2.5 pt-4","data-ref":"slider-pagination",ref:u,children:cw.map((function(e,t){return(0,s.jsxs)("div",{className:"relative h-[8px] w-[8px] overflow-hidden rounded-full border",children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-full bg-primary-gray-214"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-400","data-ref":"slider-pagination-item",ref:function(e){e&&!p.current.includes(e)&&p.current.push(e)}})]},t)}))})})]})})})})]})},dw="/_next/static/media/with-google-gemini.d1df4fa5.png",uw=function(e){var t=e.wrapperRef,a=pg("crossAppAction");return(0,s.jsx)(dg,{title:"cross-app-action-video",video:a.src,pauseTimes:[],hotspotPositions:[],canResizeHotspot:!0,hideProgressBar:!0,wrapperRef:t,hideFooterNav:!0,pauseOnLastFrame:!0})},pw=function(e){var t=e.appButtonLocation,a={path:"/app/gemini-messages",pageTitle:M.dC.GeminiMessages};return(0,s.jsx)(K,{appButtonLocation:t,linkId:"gemini-messages",tracking:a,className:"hidden",children:(0,s.jsx)(K.Icon,{path:"icons/app-android-messages.png"})})},xw=function(){return(0,s.jsx)("div",{className:"mt-1 flex justify-end",children:(0,s.jsx)(sa.Z,{languages:["cn"],children:(0,s.jsx)("img",{src:dw,alt:"",className:"h-3 rtl:ml-auto"})})})},fw=H()(Object.values({cn:"cn:text-left",gr:"gr:md:text-[7px]"})),mw=function(){var e=(0,P.fv)().navigateTo,t="cross-app-action",a=(0,i.useRef)(null),n=(0,i.useContext)(tg),r=n.setScreen,l=n.screen,c=(0,P.qr)().appName;return(0,i.useEffect)((function(){c!==t&&"Home"!==l.current&&r("Home")}),[c,r]),(0,s.jsxs)(LN,{appTitle:t,tracking:null,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-white","data-ref":"app-view-background"}),(0,s.jsxs)("div",{ref:a,className:"relative h-full w-full overflow-x-hidden",children:[(0,s.jsxs)(MN,{children:[(0,s.jsx)(MN.Title,{subtitle:(0,s.jsx)(xw,{}),headerClassName:"gr:text-lg",children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-CROSS-APP-ACTION_TITLE"]}),(0,s.jsx)(MN.Video,{videoSrc:"".concat(M.yb.path,"/").concat(z.e.crossAppActionCardVideoSrc),isActive:!0,isActiveSlide:t==c}),(0,s.jsx)(MN.Description,{children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-CROSS-APP-ACTION_DETAILS"]}),(0,s.jsxs)(MN.ButtonContainer,{children:[(0,s.jsx)(sa.Z,{languages:["cn"],children:(0,s.jsx)(MN.Button,{onClick:function(){e.current({appName:"gemini-messages",path:"",shouldResetScreen:!0,shouldResetTutorial:!0})},children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-CROSS-APP-ACTION_BUTTON"]})}),(0,s.jsx)(aa.Z,{languages:["cn"],children:(0,s.jsx)(MN.Button,{onClick:function(){r("cross-app-action-video"),(0,V.Kq)("/app/cross-app-action/cross-app-action-video","Cross-app Action")},children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-CROSS-APP-ACTION_BUTTON"]})})]}),(0,s.jsx)(MN.Disclaimer,{className:fw,children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-CROSS-APP-ACTION_DISCLAIMER"]})]}),(0,s.jsx)(pw,{appButtonLocation:"dashboard"})]}),(0,s.jsx)(aa.Z,{languages:["cn"],children:c===t&&(0,s.jsx)(uw,{wrapperRef:a})})]})},hw=function(){return(0,s.jsx)(ag,{children:(0,s.jsx)(mw,{})})},Aw=function(e){var t=e.wrapperRef,a=pg("nowBrief");return(0,s.jsx)(dg,{title:"morning-brief",video:a.src,pauseTimes:[],hotspotPositions:[],canResizeHotspot:!0,hideProgressBar:!0,wrapperRef:t,hideFooterNav:!0,pauseOnLastFrame:!0})},Ew=H()(Object.values({cn:"cn:text-left"})),gw="Morning Brief",vw=function(){var e="ai-brief",t=(0,P.qr)().appName,a=(0,P.fv)().navigateTo,n=(0,i.useRef)(null),r=(0,i.useRef)(null),l=(0,i.useContext)(tg).setScreen;return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(LN,{appTitle:e,tracking:null,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-white","data-ref":"app-view-background"}),(0,s.jsx)("div",{ref:r,className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsxs)(MN,{children:[(0,s.jsx)(MN.Title,{children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-AI-BRIEF_TITLE"]}),(0,s.jsx)(MN.Video,{videoSrc:"".concat(M.yb.path,"/").concat(z.e.nowBriefCardVideoSrc),isActive:!0,isActiveSlide:e==t}),(0,s.jsx)(MN.Description,{children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-AI-BRIEF_DETAILS"]}),(0,s.jsxs)(MN.ButtonContainer,{children:[(0,s.jsx)(sa.Z,{languages:["cn"],children:(0,s.jsx)(MN.Button,{onClick:function(){var e="morning-brief";(0,V.Kq)("/app/now-brief/".concat(e),gw),a.current({appName:e,path:"/app/".concat(e),shouldResetScreen:!1,shouldResetTutorial:!1})},ref:n,children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-AI-BRIEF_BUTTON"]})}),(0,s.jsx)(aa.Z,{languages:["cn"],children:(0,s.jsx)(MN.Button,{onClick:function(){(0,V.Kq)("/app/now-brief/ai-brief-video",gw),l("morning-brief")},ref:n,children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-AI-BRIEF_BUTTON"]})})]}),(0,s.jsx)(MN.Disclaimer,{className:Ew,children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-AI-BRIEF_DISCLAIMER"]})]})}),(0,s.jsx)(aa.Z,{languages:["cn"],children:t===e&&(0,s.jsx)(Aw,{wrapperRef:r})})]})})},Cw=function(){return(0,s.jsx)(ag,{children:(0,s.jsx)(vw,{})})},jw=H()(Object.values({cn:"cn:text-left"})),Nw=function(){var e="audio-eraser",t=(0,i.useRef)(null),a=(0,i.useContext)(tg),n=a.setScreen,r=a.screen,l=(0,P.qr)().appName;return(0,i.useEffect)((function(){l!==e&&"Home"!==r.current&&n("Home")}),[l,n]),(0,s.jsxs)(LN,{appTitle:e,tracking:null,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-white","data-ref":"app-view-background"}),(0,s.jsx)("div",{ref:t,className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsxs)(MN,{children:[(0,s.jsx)(MN.Title,{children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-AUDIO-ERASER_TITLE"]}),(0,s.jsx)(MN.Video,{videoSrc:"".concat(M.yb.path,"/").concat(z.e.audioEraserCardVideoSrc),isActive:!0,isActiveSlide:e==l&&"Home"===r.current}),(0,s.jsx)(MN.Description,{children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-AUDIO-ERASER_DETAILS"]}),(0,s.jsx)(MN.ButtonContainer,{children:(0,s.jsx)(MN.Button,{onClick:function(){n("audio-eraser-video"),(0,V.Kq)("/app/audio-eraser/audio-eraser-video","Audio Eraser")},children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-AUDIO-ERASER_BUTTON"]})}),(0,s.jsx)(MN.Disclaimer,{className:jw,children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-AUDIO-ERASER_DISCLAIMER"]})]})}),l===e&&(0,s.jsx)(fg,{wrapperRef:t})]})},Tw=function(){return(0,s.jsx)(ag,{children:(0,s.jsx)(Nw,{})})},ww="/_next/static/media/galaxy-watch.5be4869f.jpg",_w="/_next/static/media/galaxy-buds.39fdf886.jpg",bw="/_next/static/media/galaxy-ring.ca5b89d9.jpg",Sw=function(){var e=(0,te.o$)().countryCode,t=(0,pt.O)().pushOverlayStack,a=(0,P.qr)().setIsOpenExternalRoute,s=z.e.isGalaxyWatchPopUpShown,i=function(e,t,s){var i=window.location.search;a(!0),ut().replace("".concat(e).concat(i)),(0,V.Kq)(t,s,"pageview",M.dC.Wearable)};return[{image:ww,title:"@PARADIGM_WEARABLE_GALAXY-WATCH_TITLE",description:"@PARADIGM_WEARABLE_GALAXY-WATCH_DESCRIPTION",imageSize:"w-[110px] h-[112px]",onClick:function(){s?t({data:{title:g.t.GALAXY_WATCH_APP_BUTTON_POPUP_TITLE,text:g.t.GALAXY_WATCH_APP_BUTTON_POPUP_BODY,cta:{text:g.t.GALAXY_WATCH_APP_BUTTON_POPUP_CTA_BUTTON,handleClick:function(){i("/wearables/watch","/app/galaxy-watch",M.dC.GalaxyWatch)}},closeOnBackgroundClick:!0},type:"alert"}):i("/wearables/watch","/app/galaxy-watch",M.dC.GalaxyWatch)}},{image:bw,title:"@PARADIGM_WEARABLE_GALAXY-RING_TITLE",description:"@PARADIGM_WEARABLE_GALAXY-RING_DESCRIPTION",imageSize:"w-[110px]",onClick:function(){ya.includes(e)?i("/wearables/ring","/app/galaxy-ring",M.dC.GalaxyRing):t({data:{title:g.t["GALAXY-RING_COMING-SOON-POP-UP_TITLE"],text:g.t["GALAXY-RING_COMING-SOON-POP-UP_TEXT"],cta:{text:g.t["GALAXY-RING_COMING-SOON-POP-UP_OK"]},closeOnBackgroundClick:!0},type:"alert"})}},{image:_w,title:"@PARADIGM_WEARABLE_GALAXY-BUDS_TITLE",description:"@PARADIGM_WEARABLE_GALAXY-BUDS_DESCRIPTION",imageSize:" h-[101px] w-[110px]",onClick:function(){i("/wearables/buds","/app/galaxy-buds",M.dC.GalaxyBuds)}}]},yw={fr:"fr:foldCover:px-2",ca:"ca:foldCover:px-2"},Rw={de:"de:whitespace-pre-line"},Lw=H()(Object.values(yw)),Iw=H()(Object.values(Rw)),Pw=function(){var e=(0,i.useRef)(null),t=Sw();return(0,s.jsxs)(LN,{appTitle:"wearable",tracking:{path:"/app/wearable",page:M.dC.Wearable},children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-[#F2F2F2]","data-ref":"app-view-background"}),(0,s.jsx)("div",{ref:e,className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsxs)(MN,{children:[(0,s.jsx)(MN.Title,{className:"ml-[unset]",children:(0,s.jsx)("span",{className:"text-lg",children:g.t["@PARADIGM_WEARABLE_TITLE"]})}),(0,s.jsx)("div",{className:"relative -mt-1 flex h-full w-full flex-col items-center justify-center gap-4 px-6",children:t.map((function(e,t){return(0,s.jsx)("div",{className:"flex h-1/3 w-full rounded-lg bg-white",children:(0,s.jsxs)("div",{className:"flex h-full w-full items-center gap-3 p-4 md:p-8 xsm:pt-4 xxs:p-4",children:[(0,s.jsx)("img",{src:e.image,className:e.imageSize,alt:""}),(0,s.jsxs)("div",{className:"flex w-full flex-col justify-center",children:[(0,s.jsx)("span",{className:"font-title text-base font-bold text-black",children:g.t[e.title]}),(0,s.jsx)("div",{className:H()("text-xs font-normal text-black ltr:font-sans rtl:font-sansAr",Iw),children:g.t[e.description]}),(0,s.jsx)("div",{className:"mt-6 flex justify-end",children:(0,s.jsx)("div",{className:H()("flex h-[36px] cursor-pointer items-center justify-center rounded-[40px] bg-[#3E89F7] px-4 py-3.5 text-xs font-semibold text-white ltr:font-sans rtl:font-sansAr",Lw),onClick:e.onClick,children:g.t["@PARADIGM_WEARABLE_TRY-NOW-BUTTON"]})})]})]})},t)}))})]})})]})},Ow=a(44388),Mw="/_next/static/media/morning-brief-background.788c336f.png",Dw="/_next/static/media/triangle.fd3211e2.svg",Gw="/_next/static/media/morning-weather.b799aeac.png",kw="/_next/static/media/running.4e9ab06f.png",Hw="/_next/static/media/lunch.9a25de16.png",Bw={src:"/_next/static/media/icon-location.4fef8ce3.svg",height:25,width:24},Uw="/_next/static/media/sport-news.61cc0b74.png",Zw=function(){var e=(0,P.qr)(),t=e.appName,a=e.isAppOpenTransitioning,n=(0,i.useState)(!1),r=n[0],l=n[1];eT("morning-brief"===t&&!a),(0,i.useEffect)((function(){return l(!0),function(){return l(!1)}}),[]);var c=new Date;return(0,s.jsxs)("div",{className:H()("absolute top-0 left-0 h-screen min-h-full w-full bg-white",r?"opacity-100":"opacity-0"),style:{paddingTop:"env(safe-area-inset-top)"},children:[(0,s.jsx)("img",{src:Mw,className:"absolute top-0 left-0 -z-0 h-full w-full object-cover",alt:""}),(0,s.jsx)("div",{className:"relative top-10 overflow-y-auto overflow-x-hidden text-[#010102]",style:{height:"calc(100% - 100px)"},children:(0,s.jsxs)("div",{className:"relative px-6 pt-10 pb-20",children:[(0,s.jsx)("h2",{className:"text-[35px] font-semibold text-[#010102E5]",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-TITLE"]}),(0,s.jsx)("p",{className:"mb-6 text-xl font-normal",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-TEXT"]}),(0,s.jsx)("div",{className:"relative flex w-full items-center justify-between rounded-3xl bg-[rgba(255,255,255,.75)] px-5 py-4",children:(0,s.jsx)("div",{className:"flex w-full flex-col gap-y-3",children:(0,s.jsxs)("div",{className:"flex w-full max-w-[calc(100%_-_70px)] justify-between",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-y-3",children:[(0,s.jsx)("div",{className:"text-base font-semibold text-[#A6A6A6]",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-SAVE_ENERGY_SCORE_TITLE"]}),(0,s.jsx)("div",{className:"text-[21px] font-semibold text-[#4E4E4E]",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-SAVE_ENERGY_SCORE_STATUS"]}),(0,s.jsxs)("div",{className:"flex flex-col items-start",children:[(0,s.jsxs)("div",{className:"flex items-center justify-center gap-x-1.5",children:[(0,s.jsx)("div",{className:"text-3xl font-semibold text-primary-black-350",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-SAVE_ENERGY_SCORE_VALUE1"]}),(0,s.jsxs)("div",{className:"flex gap-1 pt-2",children:[(0,s.jsx)("img",{src:Dw,className:"w-[6px] pt-1.5",alt:"triangle icon"}),(0,s.jsx)("div",{className:"pt-0.5 text-xs font-normal text-black",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-SAVE_ENERGY_SCORE_VALUE2"]})]})]}),(0,s.jsx)("div",{className:"text-xs font-semibold text-[#4B9EFF]",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-SAVE_ENERGY_EXCELLENT"]})]})]}),(0,s.jsx)("div",{className:"absolute flex w-full -translate-y-[16px] justify-end ltr:-translate-x-5 rtl:translate-x-5",children:(0,s.jsx)(Re.Z,{path:"/assets/lotties/health/cloud.json",height:115,width:115,loop:!0})})]})})}),(0,s.jsxs)("div",{className:"my-4 flex flex-col gap-10 text-lg",children:[(0,s.jsx)("p",{className:"whitespace-pre-line text-[17px] font-normal text-[#010102]",children:g.t.formatString(g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-ACTIVITY"],(0,s.jsx)("span",{className:"text-[#407DE1]",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-ACTIVITY-SCORE"]}))}),(0,s.jsx)("p",{children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-BEDTIME-SUGGESTION"]})]}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)("div",{className:"absolute left-[18px] right-[18px] top-[20px] flex justify-between text-[16px] text-primary-white-150 ru:text-[12px]",children:[(0,s.jsxs)("p",{className:"font-semibold",children:[(0,s.jsx)(sa.Z,{languages:["ca","fr"],children:(0,g.RA)(c,{weekday:"short",month:"short",day:"numeric"})}),(0,s.jsx)(aa.Z,{languages:["ca","fr"],children:(0,g.RA)(c,{month:"short",day:"numeric"})})]}),(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)(DA(),{className:"mr-1","data-loader":"image",src:Bw,width:20,height:20,alt:""}),g.t["TRY-GALAXY_HOME-SCREEN-ONE_CURRENT-LOCATION"]]})]}),(0,s.jsx)("img",{src:Gw,className:"object-cover",alt:""})]}),(0,s.jsx)("div",{className:"relative mt-12",children:(0,s.jsx)("div",{className:"text-[17px] font-normal",children:g.t.formatString(g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-EVENT-SCHEDULES"],(0,s.jsx)("span",{className:"text-[#407DE1]",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-EVENT-SCHEDULES-TEXT1"]}))})}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsxs)("div",{className:"mt-4 flex flex-col gap-2.5 rounded-3xl bg-white px-4 py-3",children:[(0,s.jsxs)("div",{className:"flex justify-between",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("div",{className:"h-[16px] w-[4px] rounded-[2px] bg-[#8AB94C]"}),(0,s.jsx)("div",{className:"text-xs font-semibold text-primary-black-350",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-EVENT-SCHEDULES-RUNNING_TIME"]}),(0,s.jsx)("div",{className:"text-sm font-normal text-primary-black-350",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-EVENT-SCHEDULES-RUNNING"]})]}),(0,s.jsx)("div",{children:(0,s.jsx)("img",{src:kw,className:"w-6",alt:"running icon"})})]}),(0,s.jsx)("div",{className:"h-[1px] w-full bg-[#0000001A]"}),(0,s.jsxs)("div",{className:"flex justify-between",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("div",{className:"h-[16px] w-[4px] rounded-[2px] bg-[#81AAE7]"}),(0,s.jsx)("div",{className:"text-xs font-semibold text-primary-black-350",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-EVENT-SCHEDULES-LUNCH_TIME"]}),(0,s.jsx)("div",{className:"text-sm font-normal text-primary-black-350",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-EVENT-SCHEDULES-LUNCH"]})]}),(0,s.jsx)("div",{children:(0,s.jsx)("img",{src:Hw,className:"w-6",alt:"lunch icon"})})]})]})}),(0,s.jsx)("div",{className:"relative mt-12",children:(0,s.jsx)("div",{className:"text-[17px] font-normal",children:g.t.formatString(g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-EPISODE"],(0,s.jsx)("span",{className:"text-[#407DE1]",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-YOUR-FAVORITE-NEWS"]}))})}),(0,s.jsx)("div",{className:"relative mt-4",children:(0,s.jsxs)("div",{className:"flex items-center gap-4",children:[(0,s.jsx)("img",{src:Uw,className:"w-20",alt:""}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-[16px] font-semibold",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-SPORT-NEWS-TITLE"]}),(0,s.jsx)("div",{className:"text-xs font-normal",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_MORNING-SPORT-NEWS-DESC"]})]})]})})]})})]})},Yw=function(){return(0,s.jsx)(LN,{appTitle:"morning-brief",tracking:null,children:(0,s.jsx)(Zw,{})})},Fw="/_next/static/media/evening-brief-background.1fa06b16.png",Vw="/_next/static/media/evening-brief-image.fae94bd1.png",Ww=function(){var e=(0,P.qr)(),t=e.appName,a=e.isAppOpenTransitioning,n=(0,i.useState)(!1),r=n[0],l=n[1];return eT("evening-brief"===t&&!a),(0,i.useEffect)((function(){return l(!0),function(){return l(!1)}}),[]),(0,s.jsxs)("div",{className:H()("absolute top-0 left-0 h-screen min-h-full w-full bg-white",r?"opacity-100":"opacity-0"),style:{paddingTop:"env(safe-area-inset-top)"},children:[(0,s.jsx)("img",{src:Fw,className:"absolute top-0 left-0 h-full w-full object-cover",alt:""}),(0,s.jsxs)("div",{className:"relative top-10 overflow-y-auto overflow-x-hidden text-[#010102]",style:{height:"calc(100% - 100px)"},children:[(0,s.jsx)("span",{className:"via-50% pointer-events-none fixed -top-10 z-10 block h-40 w-full bg-gradient-to-b from-[#D8D3FB] via-[#D8D3FB]"}),(0,s.jsx)("span",{className:"via-50% pointer-events-none fixed bottom-0 z-10 block h-40 w-full bg-gradient-to-t from-[#EEE8F2] via-[#F2E8F0]"}),(0,s.jsxs)("div",{className:"relative px-6 pt-10 pb-20",children:[(0,s.jsx)("h2",{className:"text-4.2xl font-semibold",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_EVENING-UPDATE-TITLE"]}),(0,s.jsx)("p",{className:"mb-6 text-xl",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_EVENING-UPDATE-TEXT"]}),(0,s.jsx)("div",{children:(0,s.jsx)("img",{src:Vw,alt:""})}),(0,s.jsx)("div",{className:"my-4 flex flex-col gap-6 text-lg",children:(0,s.jsx)("p",{children:g.t.formatString(g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_EVENING-MOMENTS"],(0,s.jsx)("span",{className:"bg-gradient-to-r from-[#3E85FB] to-[#60B4FD] bg-clip-text text-transparent",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_EVENING-MOMENTS-TEXT"]}))})}),(0,s.jsx)("div",{className:"mt-10 mb-4 flex flex-col gap-6 text-lg",children:(0,s.jsx)("p",{children:g.t.formatString(g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_EVENING-DAILY_GOAL"],(0,s.jsx)("span",{className:"bg-gradient-to-r from-[#3E85FB] to-[#60B4FD] bg-clip-text text-transparent",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_EVENING-DAILY_GOAL_TEXT"]}))})}),(0,s.jsxs)("div",{className:"flex items-center justify-between rounded-3xl bg-[rgba(255,255,255,.75)] p-4 text-primary-gray-400",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("img",{src:Lt,width:"26",height:"26",alt:"steps icon"}),(0,s.jsxs)("span",{className:"flex items-end gap-1 text-xl font-semibold",children:[(0,g.H3)(Zt),(0,s.jsx)("span",{className:"text-base font-normal text-primary-gray-220",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_EVENING-STEPS"]})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("img",{src:It,width:"26",height:"26",alt:"time icon"}),(0,s.jsxs)("span",{className:"flex items-end gap-1 text-xl font-semibold",children:[(0,g.H3)(Yt),(0,s.jsx)("span",{className:"text-base font-normal text-primary-gray-220",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_EVENING-TIME"]})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("img",{src:Pt,width:"26",height:"26",alt:"flame icon"}),(0,s.jsxs)("span",{className:"flex items-end gap-1 text-xl font-semibold",children:[(0,g.H3)(Ft),(0,s.jsx)("span",{className:"text-base font-normal text-primary-gray-220",children:g.t["@PARADIGM_AI-BRIEF_WIDGET_CARD_STYLE-AI-BRIEF_EVENING-CALORIES"]})]})]})]}),(0,s.jsx)("img",{src:Ot,className:"w-[96px]",alt:""})]})]})]})]})},Xw=function(){return(0,s.jsx)(LN,{appTitle:"evening-brief",tracking:null,children:(0,s.jsx)(Ww,{})})},Kw="/_next/static/media/icon-seen.01a49724.svg",Qw="/_next/static/media/icon-lock.7705345f.svg",zw="/_next/static/media/icon-back.80f3c126.svg";function qw(){return(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M21 6.5C20.8142 6.50723 20.6342 6.5661 20.48 6.67L17 8.89V7C17 5.89543 16.1046 5 15 5H4C2.89543 5 2 5.89543 2 7V17C2 18.1046 2.89543 19 4 19H15C16.1046 19 17 18.1046 17 17V15.11L20.5 17.34C20.6542 17.4439 20.8342 17.5028 21.02 17.51C21.5723 17.51 22.02 17.0623 22.02 16.51V7.51C22.0228 7.23955 21.9159 6.97952 21.7237 6.78922C21.5315 6.59892 21.2704 6.49458 21 6.5ZM15 17H4V7H15V17ZM20 14.68L17 12.74V11.26L20 9.32V14.68Z",fill:"#444746"})})}function Jw(){return(0,s.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M13.7676 12.6746L16.1963 13.2815V16.1124C14.5631 15.9312 12.9983 15.5226 11.5482 14.894L13.7676 12.6746ZM4.67067 1.8037L5.27762 4.23328L3.09064 6.41936C2.46836 4.9773 2.05171 3.42703 1.87224 1.8037H4.67067ZM17.9991 16.2333H18V12.9298C18 12.3084 17.5788 11.7682 16.9755 11.6176L13.9552 10.8619C13.4953 10.7464 13.0047 10.8853 12.6728 11.219L9.86803 14.0237C7.4159 12.5997 5.37772 10.557 3.95821 8.10311L6.7332 5.32812C7.06599 4.99444 7.20397 4.50293 7.08943 4.04389L6.33459 1.0254C6.18398 0.422065 5.64377 0 5.0224 0H1.76582H0.864873C0.431084 0 0.0856756 0.312942 0 0.721479C0.371562 10.1052 7.89839 17.6302 17.2812 18C17.6889 17.9134 18 17.5689 18 17.1351V16.2333H17.9991Z",fill:"#181C1F"})})}function $w(){return(0,s.jsx)("svg",{width:"4",height:"16",viewBox:"0 0 4 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4C3.1 4 4 3.1 4 2C4 0.9 3.1 0 2 0C0.9 0 0 0.9 0 2C0 3.1 0.9 4 2 4ZM2 6C0.9 6 0 6.9 0 8C0 9.1 0.9 10 2 10C3.1 10 4 9.1 4 8C4 6.9 3.1 6 2 6ZM0 14C0 12.9 0.9 12 2 12C3.1 12 4 12.9 4 14C4 15.1 3.1 16 2 16C0.9 16 0 15.1 0 14Z",fill:"currentColor"})})}function e_(){return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("g",{clipPath:"url(#clip0_3469_2389)",children:(0,s.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20ZM15.5 11C16.33 11 17 10.33 17 9.5C17 8.67 16.33 8 15.5 8C14.67 8 14 8.67 14 9.5C14 10.33 14.67 11 15.5 11ZM8.5 11C9.33 11 10 10.33 10 9.5C10 8.67 9.33 8 8.5 8C7.67 8 7 8.67 7 9.5C7 10.33 7.67 11 8.5 11ZM12 17.5C14.33 17.5 16.31 16.04 17.11 14H6.89C7.69 16.04 9.67 17.5 12 17.5Z",fill:"#171717"})}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_3469_2389",children:(0,s.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]})}function t_(){return(0,s.jsx)("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M19.5855 10.5005C19.5855 9.90647 19.1039 9.42492 18.5099 9.42492H10.9809V1.89589C10.9809 1.30186 10.4993 0.820312 9.90528 0.820312C9.31126 0.820312 8.82971 1.30186 8.82971 1.89589V9.42492H1.30067C0.706649 9.42492 0.225098 9.90647 0.225098 10.5005C0.225098 11.0945 0.70665 11.5761 1.30067 11.5761H8.82971V19.1051C8.82971 19.6991 9.31126 20.1807 9.90528 20.1807C10.4993 20.1807 10.9809 19.6991 10.9809 19.1051V11.5761H18.5099C19.1039 11.5761 19.5855 11.0945 19.5855 10.5005Z",fill:"#444746"})})}function a_(){return(0,s.jsx)("svg",{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M8.12528 12.6219C7.23793 12.6219 6.48204 12.3179 5.85761 11.7099C5.24961 11.0855 4.94561 10.3296 4.94561 9.44221V3.57584C4.94561 2.68849 5.24961 1.94082 5.85761 1.33282C6.48204 0.708384 7.23793 0.396168 8.12528 0.396168C9.01263 0.396168 9.76031 0.708384 10.3683 1.33282C10.9927 1.94082 11.305 2.68849 11.305 3.57584V9.44221C11.305 10.3296 10.9927 11.0855 10.3683 11.7099C9.76031 12.3179 9.01263 12.6219 8.12528 12.6219ZM7.06539 18.4636V16.541C5.50431 16.3274 4.16507 15.6701 3.04767 14.5691C1.94669 13.4517 1.27297 12.1125 1.02648 10.5514C0.993614 10.2392 1.07578 9.97627 1.27297 9.76264C1.47015 9.54902 1.71664 9.44221 2.01242 9.44221C2.30821 9.44221 2.56291 9.54902 2.77653 9.76264C2.99015 9.95983 3.12983 10.2145 3.19556 10.5268C3.44204 11.6935 4.02539 12.6465 4.94561 13.386C5.88226 14.1254 6.94215 14.4952 8.12528 14.4952C9.32485 14.4952 10.3847 14.1254 11.305 13.386C12.2252 12.6301 12.8085 11.677 13.055 10.5268C13.1207 10.2145 13.2604 9.95983 13.474 9.76264C13.6877 9.54902 13.9424 9.44221 14.2381 9.44221C14.5339 9.44221 14.7804 9.54902 14.9776 9.76264C15.1748 9.97627 15.2569 10.2392 15.2241 10.5514C14.9776 12.096 14.3039 13.4271 13.2029 14.5445C12.1019 15.6619 10.7627 16.3274 9.18517 16.541V18.4636C9.18517 18.7758 9.07836 19.0387 8.86474 19.2524C8.66755 19.4496 8.42106 19.5481 8.12528 19.5481C7.8295 19.5481 7.5748 19.4496 7.36117 19.2524C7.16398 19.0387 7.06539 18.7758 7.06539 18.4636Z",fill:"#444746"})})}function s_(){return(0,s.jsxs)("svg",{width:"19",height:"26",viewBox:"0 0 19 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M0.0698242 12.8569C0.0698242 12.1408 0.650325 11.5603 1.36641 11.5603C2.08249 11.5603 2.66299 12.1408 2.66299 12.8569V20.6364C2.66299 21.3525 2.08249 21.933 1.36641 21.933C0.650325 21.933 0.0698242 21.3525 0.0698242 20.6364V12.8569Z",fill:"#444746"}),(0,s.jsx)("path",{d:"M6.29343 9.74512C6.29343 9.02903 6.87393 8.44853 7.59001 8.44853C8.3061 8.44853 8.8866 9.02903 8.8866 9.74512V23.7482C8.8866 24.4643 8.3061 25.0448 7.59001 25.0448C6.87393 25.0448 6.29343 24.4643 6.29343 23.7482V9.74512Z",fill:"#444746"}),(0,s.jsx)("path",{d:"M13.8136 10.5231C13.8136 9.80562 13.9498 9.1314 14.222 8.50039C14.4943 7.86939 14.8639 7.3205 15.3306 6.85373C15.7974 6.38696 16.3463 6.01744 16.9773 5.74515C17.6083 5.47287 18.2825 5.33673 19 5.33673C18.2825 5.33673 17.6083 5.20059 16.9773 4.9283C16.3463 4.65602 15.7974 4.2865 15.3306 3.81973C14.8639 3.35295 14.4943 2.80407 14.222 2.17306C13.9498 1.54206 13.8136 0.867834 13.8136 0.150391C13.8136 0.867834 13.6775 1.54206 13.4052 2.17306C13.1329 2.80407 12.7634 3.35295 12.2966 3.81973C11.8298 4.2865 11.281 4.65602 10.65 4.9283C10.019 5.20059 9.34473 5.33673 8.62728 5.33673C9.34473 5.33673 10.019 5.47287 10.65 5.74515C11.281 6.01744 11.8298 6.38696 12.2966 6.85373C12.7634 7.3205 13.1329 7.86939 13.4052 8.50039C13.6775 9.1314 13.8136 9.80562 13.8136 10.5231Z",fill:"#444746"}),(0,s.jsx)("path",{d:"M12.517 14.9315C12.517 14.2154 13.0975 13.6349 13.8136 13.6349C14.5297 13.6349 15.1102 14.2154 15.1102 14.9315V18.5619C15.1102 19.278 14.5297 19.8585 13.8136 19.8585C13.0975 19.8585 12.517 19.278 12.517 18.5619V14.9315Z",fill:"#444746"})]})}function i_(){return(0,s.jsxs)("svg",{width:"46",height:"46",viewBox:"0 0 46 46",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{x:"0.485352",y:"0.482422",width:"45.0105",height:"45.0105",rx:"22.5053",fill:"#F0F4F9"}),(0,s.jsx)("path",{d:"M15.958 20.4089C15.958 19.7616 16.4828 19.2368 17.1302 19.2368C17.7775 19.2368 18.3023 19.7616 18.3023 20.4089V27.4418C18.3023 28.0892 17.7775 28.614 17.1302 28.614C16.4828 28.614 15.958 28.0892 15.958 27.4418V20.4089Z",fill:"#1F1F1F"}),(0,s.jsx)("path",{d:"M21.5843 17.5958C21.5843 16.9484 22.1091 16.4236 22.7565 16.4236C23.4038 16.4236 23.9286 16.9484 23.9286 17.5958V30.255C23.9286 30.9023 23.4038 31.4271 22.7565 31.4271C22.1091 31.4271 21.5843 30.9023 21.5843 30.255V17.5958Z",fill:"#1F1F1F"}),(0,s.jsx)("path",{d:"M28.3828 18.2991C28.3828 17.6505 28.5059 17.041 28.752 16.4705C28.9982 15.9001 29.3322 15.4039 29.7542 14.9819C30.1762 14.5599 30.6724 14.2258 31.2428 13.9797C31.8133 13.7335 32.4228 13.6105 33.0714 13.6105C32.4228 13.6105 31.8133 13.4874 31.2428 13.2412C30.6724 12.9951 30.1762 12.661 29.7542 12.2391C29.3322 11.8171 28.9982 11.3209 28.752 10.7504C28.5059 10.18 28.3828 9.57046 28.3828 8.92188C28.3828 9.57046 28.2597 10.18 28.0136 10.7504C27.7674 11.3209 27.4333 11.8171 27.0114 12.2391C26.5894 12.661 26.0932 12.9951 25.5227 13.2412C24.9523 13.4874 24.3428 13.6105 23.6942 13.6105C24.3428 13.6105 24.9523 13.7335 25.5227 13.9797C26.0932 14.2258 26.5894 14.5599 27.0114 14.9819C27.4333 15.4039 27.7674 15.9001 28.0136 16.4705C28.2597 17.041 28.3828 17.6505 28.3828 18.2991Z",fill:"#1F1F1F"}),(0,s.jsx)("path",{d:"M27.2106 22.2844C27.2106 21.637 27.7354 21.1122 28.3828 21.1122C29.0301 21.1122 29.5549 21.637 29.5549 22.2844V25.5664C29.5549 26.2138 29.0301 26.7385 28.3828 26.7385C27.7354 26.7385 27.2106 26.2138 27.2106 25.5664V22.2844Z",fill:"#1F1F1F"})]})}function n_(){return(0,s.jsxs)("svg",{width:"26",height:"25",viewBox:"0 0 26 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M24.9918 12.3932C23.3316 12.3932 21.7977 12.0789 20.3383 11.4591C18.8779 10.819 17.5897 9.94657 16.5097 8.86644C15.4296 7.78632 14.5572 6.4982 13.9172 5.03798C13.2971 3.57803 12.9829 2.04403 12.9829 0.383631C12.9829 0.357267 12.9616 0.335938 12.9352 0.335938C12.9088 0.335938 12.8875 0.357267 12.8875 0.383631C12.8875 2.04376 12.5631 3.5775 11.923 5.03798C11.3029 6.4982 10.4408 7.78632 9.36072 8.86644C8.28086 9.94657 6.9926 10.8188 5.53252 11.4588C4.07244 12.0789 2.53817 12.3934 0.877772 12.3934C0.851408 12.3934 0.830078 12.4147 0.830078 12.4411C0.830078 12.4674 0.851408 12.4888 0.877772 12.4888C2.53777 12.4888 4.07204 12.8132 5.53252 13.4534C6.99287 14.0738 8.28099 14.9358 9.36072 16.0156C10.4408 17.0959 11.303 18.3839 11.9232 19.8445C12.5631 21.3042 12.8875 22.8374 12.8875 24.4976C12.8875 24.5239 12.9088 24.5453 12.9352 24.5453C12.9616 24.5453 12.9829 24.5239 12.9829 24.4976C12.9829 22.8371 13.2971 21.3038 13.917 19.8445C14.5572 18.3839 15.4294 17.0957 16.5097 16.0156C17.5894 14.9356 18.8774 14.0735 20.3383 13.4532C21.7982 12.8133 23.3319 12.4888 24.9918 12.4888C25.0182 12.4888 25.0395 12.4674 25.0395 12.4411C25.0395 12.4147 25.0182 12.3932 24.9918 12.3932Z",fill:"black"}),(0,s.jsx)("path",{d:"M24.9918 12.3932C23.3316 12.3932 21.7977 12.0789 20.3383 11.4591C18.8779 10.819 17.5897 9.94657 16.5097 8.86644C15.4296 7.78632 14.5572 6.4982 13.9172 5.03798C13.2971 3.57803 12.9829 2.04403 12.9829 0.383631C12.9829 0.357267 12.9616 0.335938 12.9352 0.335938C12.9088 0.335938 12.8875 0.357267 12.8875 0.383631C12.8875 2.04376 12.5631 3.5775 11.923 5.03798C11.3029 6.4982 10.4408 7.78632 9.36072 8.86644C8.28086 9.94657 6.9926 10.8188 5.53252 11.4588C4.07244 12.0789 2.53817 12.3934 0.877772 12.3934C0.851408 12.3934 0.830078 12.4147 0.830078 12.4411C0.830078 12.4674 0.851408 12.4888 0.877772 12.4888C2.53777 12.4888 4.07204 12.8132 5.53252 13.4534C6.99287 14.0738 8.28099 14.9358 9.36072 16.0156C10.4408 17.0959 11.303 18.3839 11.9232 19.8445C12.5631 21.3042 12.8875 22.8374 12.8875 24.4976C12.8875 24.5239 12.9088 24.5453 12.9352 24.5453C12.9616 24.5453 12.9829 24.5239 12.9829 24.4976C12.9829 22.8371 13.2971 21.3038 13.917 19.8445C14.5572 18.3839 15.4294 17.0957 16.5097 16.0156C17.5894 14.9356 18.8774 14.0735 20.3383 13.4532C21.7982 12.8133 23.3319 12.4888 24.9918 12.4888C25.0182 12.4888 25.0395 12.4674 25.0395 12.4411C25.0395 12.4147 25.0182 12.3932 24.9918 12.3932Z",fill:"url(#paint0_linear_4323_2357)"}),(0,s.jsx)("defs",{children:(0,s.jsxs)("linearGradient",{id:"paint0_linear_4323_2357",x1:"8.36463",y1:"15.9845",x2:"19.3161",y2:"6.75125",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{stopColor:"#217BFE"}),(0,s.jsx)("stop",{offset:"0.27",stopColor:"#078EFB"}),(0,s.jsx)("stop",{offset:"0.776981",stopColor:"#A190FF"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#BD99FE"})]})})]})}function r_(){return(0,s.jsxs)("svg",{width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0381 5.47405L12.038 5.50061C12.038 5.5118 12.0378 5.52298 12.0377 5.53417C12.038 5.54723 12.0381 5.56042 12.0381 5.57367C12.0381 7.65886 10.4135 9.50455 9.32646 10.7397C9.01102 11.0981 8.74084 11.4051 8.56871 11.6516C7.95646 12.5284 7.63334 13.4783 7.54827 13.8436C7.54827 14.1187 7.3199 14.3418 7.03809 14.3418C6.75627 14.3418 6.5279 14.1187 6.5279 13.8436C6.44284 13.4783 6.11971 12.5284 5.50746 11.6516C5.33534 11.4051 5.06515 11.0981 4.74971 10.7397C3.66265 9.50455 2.03809 7.65886 2.03809 5.57367C2.03809 5.56042 2.03821 5.54723 2.03846 5.53417C2.03821 5.51417 2.03809 5.49411 2.03809 5.47405C2.03809 2.77765 4.27665 0.591797 7.03809 0.591797C9.79952 0.591797 12.0381 2.77765 12.0381 5.47405ZM7.03809 7.26755C8.10884 7.26755 8.97684 6.41992 8.97684 5.37442C8.97684 4.32886 8.10884 3.48129 7.03809 3.48129C5.96734 3.48129 5.09934 4.32886 5.09934 5.37442C5.09934 6.41992 5.96734 7.26755 7.03809 7.26755Z",fill:"#34A851"}),(0,s.jsx)("path",{d:"M11.4792 3.22901C10.8669 2.07707 9.79837 1.19352 8.50731 0.806641L5.63574 4.06835C5.9888 3.70711 6.48668 3.48207 7.03843 3.48207C8.10918 3.48207 8.97718 4.32966 8.97718 5.37516C8.97718 5.80172 8.83274 6.19528 8.58899 6.51185L11.4792 3.22901Z",fill:"#4285F5"}),(0,s.jsx)("path",{d:"M4.80765 10.8067C4.78846 10.7849 4.76915 10.7629 4.74965 10.7408C4.03309 9.92663 3.08297 8.84719 2.51855 7.60869L5.50315 4.21875C5.2499 4.53863 5.09921 4.93988 5.09921 5.3755C5.09921 6.421 5.96727 7.26863 7.03802 7.26863C7.5804 7.26863 8.07077 7.05113 8.42265 6.70056L4.80765 10.8067Z",fill:"#F9BB0E"}),(0,s.jsx)("path",{d:"M3.22114 2.32031C2.48313 3.17108 2.03809 4.27186 2.03809 5.47411C2.03809 5.49417 2.03821 5.51424 2.03846 5.53424C2.03821 5.5473 2.03809 5.56049 2.03809 5.57374C2.03809 6.28442 2.22681 6.96736 2.51864 7.60768L5.49821 4.22343L3.22114 2.32031Z",fill:"#E74335"}),(0,s.jsx)("path",{d:"M8.50653 0.805884C8.04209 0.666722 7.54884 0.591797 7.03765 0.591797C5.50747 0.591797 4.13784 1.26297 3.2207 2.32025L5.49778 4.22336L5.50272 4.21773C5.54415 4.16542 5.58828 4.11523 5.63497 4.06748L8.50653 0.805884Z",fill:"#1A73E6"})]})}function l_(e){var t=e.color,a=void 0===t?"#5E5E5E":t;return(0,s.jsxs)("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("g",{clipPath:"url(#clip0_4323_2490)",children:(0,s.jsx)("path",{d:"M6.66699 19.4414C6.25033 19.4414 5.89616 19.2956 5.60449 19.0039C5.31283 18.7122 5.16699 18.3581 5.16699 17.9414V6.94141C5.16699 6.52474 5.31283 6.17057 5.60449 5.87891C5.89616 5.58724 6.25033 5.44141 6.66699 5.44141H12.167V6.94141H6.66699V17.9414H17.667V12.4414H19.167V17.9414C19.167 18.3581 19.0212 18.7122 18.7295 19.0039C18.4378 19.2956 18.0837 19.4414 17.667 19.4414H6.66699ZM10.2295 15.4414L9.16699 14.3789L16.6045 6.94141H14.167V5.44141H19.167V10.4414H17.667V8.00391L10.2295 15.4414Z",fill:a})}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_4323_2490",children:(0,s.jsx)("rect",{width:"24",height:"24",fill:"white",transform:"translate(0.166992 0.441406)"})})})]})}function c_(){return(0,s.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M8.50107 0.443517C8.40783 0.440577 8.31816 0.479006 8.256 0.548515L4.19609 4.29337H1.1511C0.764491 4.29337 0.451172 4.60669 0.451172 4.99329V9.89312C0.451172 10.2797 0.764491 10.593 1.1511 10.593H4.19609L8.256 14.3379C8.31816 14.4074 8.40783 14.4458 8.50107 14.4429C8.69427 14.4429 8.85114 14.2862 8.85114 14.0928V0.79358C8.85114 0.600384 8.69448 0.443517 8.50107 0.443517Z",fill:"#5E5E5E"}),(0,s.jsx)("path",{d:"M10.9511 13.7444C10.7321 13.7392 10.5267 13.6365 10.391 13.4645C10.159 13.1552 10.2218 12.7165 10.5311 12.4844C13.3147 10.3969 13.8787 6.4481 11.7911 3.6646C11.4329 3.18707 11.0087 2.76288 10.5311 2.40463C10.2218 2.17258 10.1592 1.7339 10.391 1.42458C10.6231 1.11525 11.0618 1.05267 11.3711 1.28451C13.293 2.7528 14.4295 5.02601 14.4512 7.44432C14.4295 9.86284 13.293 12.1358 11.3711 13.6041C11.2544 13.703 11.104 13.7532 10.9511 13.7442V13.7444Z",fill:"#5E5E5E"}),(0,s.jsx)("path",{d:"M10.251 4.468V10.4178C10.251 10.5144 10.3522 10.5927 10.4769 10.5927C10.5481 10.5927 10.6151 10.5669 10.6577 10.5228C12.5328 8.72629 12.5328 6.15951 10.6577 4.363C10.5828 4.28572 10.4412 4.26997 10.3413 4.32793C10.2844 4.3609 10.251 4.41277 10.251 4.468Z",fill:"#5E5E5E"})]})}function o_(){return(0,s.jsxs)("svg",{width:"13",height:"14",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{y:"0.908203",width:"13",height:"13",rx:"6.5",fill:"#F0F4F9"}),(0,s.jsx)("path",{d:"M4.55927 9.54036L3 10.734V4.42498C3 4.23663 3.15666 4.08398 3.34997 4.08398H9.65003C9.84334 4.08398 10 4.23663 10 4.42498V9.19937C10 9.38772 9.84334 9.54036 9.65003 9.54036H4.55927ZM4.75005 6.47113V7.15321H5.45009V6.47113H4.75005ZM6.15003 6.47113V7.15321H6.85007V6.47113H6.15003ZM7.55001 6.47113V7.15321H8.25005V6.47113H7.55001Z",fill:"#5E5E5E"})]})}function d_(){return(0,s.jsxs)("svg",{width:"43",height:"43",viewBox:"0 0 43 43",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{x:"0.735352",y:"0.726562",width:"41.4316",height:"41.4316",rx:"20.7158",fill:"#F0F4F9"}),(0,s.jsx)("path",{d:"M19.859 17.052C19.859 15.6178 18.8685 14.4551 17.6468 14.4551C16.425 14.4551 15.4346 15.6178 15.4346 17.052V25.7084C15.4346 27.1426 16.425 28.3053 17.6468 28.3053C18.8685 28.3053 19.859 27.1426 19.859 25.7084V17.052Z",fill:"#1F1F1F"}),(0,s.jsx)("path",{d:"M27.4674 17.177C27.4674 15.7428 26.4769 14.5801 25.2552 14.5801C24.0334 14.5801 23.043 15.7428 23.043 17.177V25.8334C23.043 27.2676 24.0334 28.4303 25.2552 28.4303C26.4769 28.4303 27.4674 27.2676 27.4674 25.8334V17.177Z",fill:"#1F1F1F"})]})}function u_(){return(0,s.jsxs)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:[(0,s.jsx)("g",{clipPath:"url(#clip0_4323_2502)",children:(0,s.jsx)("rect",{width:"16",height:"16",transform:"translate(0 0.369141)",fill:"url(#pattern0_4323_2502)"})}),(0,s.jsxs)("defs",{children:[(0,s.jsx)("pattern",{id:"pattern0_4323_2502",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,s.jsx)("use",{xlinkHref:"#image0_4323_2502",transform:"scale(0.00102459)"})}),(0,s.jsx)("clipPath",{id:"clip0_4323_2502",children:(0,s.jsx)("rect",{width:"16",height:"16",fill:"white",transform:"translate(0 0.369141)"})}),(0,s.jsx)("image",{id:"image0_4323_2502",width:"976",height:"976",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA9AAAAPQCAYAAADerpPoAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAGMtSURBVHgB7P1/rGTneR94Ppe/WmqKZLfJbpoiKVaLHFEmaYstR9bKCqLbBjKxhMmKxGoy+WvZxGAX8GB3RSIBggWCYbexQLBAApFeYPPHrsHmBBg4MwrUgoLEgAGxGIztYTwjthJSFjOiWTQlU+6WxEtSbIkUiTvve6uq+/bt+6N+nFN13nM+H+D0qVv3UhZk9q361vO8z7MSAMC21tfXD6TbgdGXvdHj8debH9+x6R/b/Pz4n9vOTs9ParDNc2uja6efe2WbnxtseW5tZWVlLQCAy6wEAHRACsO90cNeXBqG79j0/IEtV5eNA/Vg09evbHn+wmOhG4AuEKABKNooGOew24uLIfiOTc+N79Rvc7DO91e2PpeC9iAAoFACNACNtamF+v5N9xs2fd0LSjSIi6H626P7mVDNBqDhBGgAlmpTBTmH4vz4jhCQu25zoM4BezC6zgjXACyTAA1A7UaV5F5cHpLz466fNWY645bwfOVwPQ7awjUAtROgAajMlqCcr81BGeo2iIvBOt9zuBasAaiMAA3ATFJYHodkQZmmG7eE52Ddj+E56zMBAFMSoAHY1aiqPA7Kn9j0GEqXQ/QgXc+EajUAExCgAbhgm7C8GqrKdItQDcCOBGiAjhKWYWKXhOoUqPsBQCcJ0AAdMVoXtRrDwPy50IYN8+jHxTPVOVQPAoDWE6ABWioF5tW4GJbzY+uioD6DGFaqVakBWkyABmiBTe3Y47CcHwvMsDzjyd85UPfDWWqAVhCgAQq0KTA/EBfPLwPN1o9h2/fpEKgBiiRAAxRgmwrzagCl68eoQq3lG6AMAjRAQ6XQnAPzarq+GFqyoQv66fp6DAP1mQCgcQRogIYYVZlzS/bnRneBGbprEJdWqAcBwNIJ0ABLNJqUPQ7N1koBOxkPJDut3RtgeQRogAVSZQYqkIeP9eNiu/cgAFgIARqgZqMqs+FfQF364ew0wEII0AA12NSa/VCoMgOLM4hhoH5KqzdA9QRogAqMWrNXYzgxW2s20AS51TvvnB5Xp+2dBpiTAA0wo03nmXOV2ZopoOnGYfq0MA0wGwEaYAqj0Hw8hpXm1QAoUz9dT4UhZABTEaAB9iA0Ay3XD2EaYCICNMA2trRnrwZAN2jzBtiFAA0wMgrN+Szzl2MYmp1pBrrsVLq+noL06QBggwANdJ6VUwC7GoTVWAAbBGigk1Jo7sUwMD8SQjPApAYxbPF+3HlpoIsEaKAzDAMDqFQ/DB8DOkaABlpv1KLtXDNAfU6FFm+gAwRooJVG1eYcmrVoAyzOILR4Ay0mQAOtMQrNq3Gx2gzA8vRjWJU+FQAtIUADxUvBOa+eyueaVZsBmmcQwzB9UlUaKJ0ADRRJtRmgSP1QlQYKJkADRXG2GaAVBqEqDRRIgAaKMJqk/VioNgO0zekYVqVPB0DDCdBAY22qNh9PVy8AaLNBuk6GvdJAgwnQQOOMqs0PpOuh0KYN0EWnQns30EACNNAY2rQB2KKfrie0dwNNIUADSzVq0z4ew2rz/QEAlxvEsCJ9KgCWSIAGlsI0bQBmMIjh0LEntHcDyyBAAws1atM+nq4vhuAMwOxOhXPSwIIJ0MBCON8MQE1OxXANVj8AaiZAA7USnAFYkH4Mg/SpAKiJAA3UIgXn4zE842wwGACLNAgDx4CaCNBAZQwGA6BBBiFIAxUToIG5Cc4ANNggXSfT1TdwDJiXAA3MTHAGoCCDuDhwbBAAMxCggakJzgAUbBCCNDAjARqYmOAMQIsMQpAGpiRAA3sSnAFosUEI0sCEBGhgR4IzAB0ySNepFKJPBsAOBGjgMoIzAB02COuvgB0I0MAlUnjOwflECM4AdNsgBGlgCwEa2JCC8wPp9pV09QIAGBuEIA2MCNDQcSk4r6bbY+laDQBgJ4N0PZqC9OkAOkuAho4SnAFgJv10PWxiN3TTFQF0SgrOvXR9LT18OoRnAJjWarpeTq+lT+bX1AA6RQUaOsJkbQCoxakYnpEeBNB6AjS0nOAMALUbpOuJFKIfD6DVBGhosdE55yfDZG0AWIRBmNgNrSZAQwsZEAYAS9UPg8aglQwRgxbJ7drpOhUGhAHAMq2GQWPQSirQ0ALOOQNAYw3SdSpVo08GUDwBGgrnnDMAFGEQzkdD8QRoKNSoJSwH59UAAEpxKqy9gmIJ0FAY7doA0AonYrj6ai2AYgjQUJAUnh9It6+Edm0AaINBaOuGogjQUADt2gDQaqdCWzcUQYCGBtOuDQCdcsK0bmg2ARoaynRtAOikQWjrhsYSoKFhRlXnHJwfCACgq06Ftm5onCsCaIwUnnO79sshPANA1x1P19PpvcHxABpDBRoawJAwAGAXg3QdU42G5VOBhiVL4fmxGFadVwMA4HK9dL08es8ALJEKNCyJIWEAwAwGoRoNS6MCDQuWh4Sl6yvp4dMhPAMA0+nFsBr9ldHgUWCBVKBhgVSdAYAKDdL1cKpG9wNYCBVoWABVZwCgBr0YTup+cjSQFKiZCjTUTNUZAFiAQQz3Rp8KoDYq0FATVWcAYIF66XpSNRrqpQINNVB1BgCWaBDORkMtVKChQqrOAEAD9GJ4NtqkbqiYCjRURNUZAGigQdgbDZVRgYYKqDoDAA3Vi+He6McCmJsKNMxhNKTjdLo+EQAAzTYI1WiYiwo0zCiF5y+n23MhPAMAZejFsBr9SAAzUYGGKY2qzvms82oAAJQpd9A9qhoN0xGgYQqjQWFfS5eJlgBA6QbpOplC9KkAJqKFGyawZT2V8AwAtEEvXU+O3uMAE1CBhj2MWrZN2AYA2mwQBozBnlSgYRebBoX1AgCgvXphwBjsSQUatpFbtmM4KOyBAADollMxPBs9COASAjRsMRoUlsNzLwAAumkQWrrhMlq4YZNRy7bzzgBA1/Vi2NL9WAAXqEBDXGjZzuupVgMAgM3sjIYRAZrO07INALCnQboeTCH6TECHaeGm07RsAwBMpJeu57R003Uq0HSSKdsAADM7FcOW7rWAjhGg6ZwUnu+P4XnnXgAAMItBmNJNB2nhplO0bAMAVKIXw5buRwI6RAWazki/4L+Sbn7JAwBU6/FUiX40oAMEaFovBedeDNcvfCIAAKhDns79oJZu2k4LN602WlGVW7aFZwCA+uQZM0+PZs1AawnQtJbzzgAAC9ULq65oOS3ctM5oRVX+xe28MwDAcjgXTSsJ0LSK884AAI0xCKuuaBkt3LTG6MyN884AAM3QC+eiaRkBmlZw3hkAoJF6YV80LaKFm+LZ7wwAUIQTKysrJwMKJkBTrNGwsK+lazUAAChBnlXzcArSawEFEqAp0mhYmJZtAIDyDMJwMQrlDDTF2TQsrBcAAJSmF4aLUSgBmqKMhoU9F8IzAEDJemG4GAUSoClG+gX7WLo9HgAAtMVXRu/xoAjOQNN4o2FhedL28QAAoI0eX1lZeTSg4QRoGm00LCxPa/xEAADQZmfS9aDhYjSZAE1jmbQNANA5gzChmwZzBppGMmkbAKCTemFCNw0mQNM46RfmQyE8AwB0VS+GIfqhgIYRoGmU0RTGU+k6EAAAdFV+L3jKhG6axhloGmP0C/JEAADARSdWVlZOBjSAAE0jpPD8ZFhTBQDA9qy5ohEEaJZqtOP5a+laDQAA2Fk/hmuu1gKWRIBmaex4BgBgSoOw5oolEqBZCjueAQCY0SCEaJZEgGbhhGcAAOY0CCGaJRCgWagUnu+PYXi2pgoAgHnks9A5RJ8JWBB7oFmYFJ5XQ3gGAKAa+T3l0+k95gMBCyJAsxDpF9tDITwDAFCtjY0uo/eaUDsBmtqlX2hfTrdTAQAA9TiV3nM+ElAzAZpapV9kj6Xb4wEAAPX6yui9J9TGEDFqM/oFdiIAAGBxTqysrJwMqIEATS2EZwAAlkiIphYCNJUTngEAaAAhmsoJ0FRKeAYAoEGEaColQFOZFJ6fTLfjAQAAzXEqheiHAyogQFMJ4RkAgAYToqmEAM3chGcAAAogRDM3AZq5CM8AABREiGYuAjQzE54BACiQEM3MBGhmIjwDAFAwIZqZCNBMTXgGAKAFhGimJkAzFeEZAIAWEaKZigDNxIRnAABaSIhmYgI0ExGeAQBoMSGaiVwRsIcUnh8L4RkAgPY6PnrPC7tSgWZXo18kJwIAANrvRKpEnwzYgQDNjoRnAAA6SIhmRwI02xKeAQDoMCGabQnQXEZ4BgAAIZrLCdBcIoXnL6fb4wEAADyaQrT3xlwgQHNBCs8PpdupAAAAxo6nEP1UQAjQjKTw/EC6fS0AAICtjqUQ3Q86T4Amh+f70+3pdB0IAABgq7UYhugzQacJ0B2XwnMvhuG5FwAAwE5yiD6aQvQg6Kwrgs4SngEAYGK5W/Pp0XtoOkoFuqOEZwAAmMkghu3cg6BzBOgOSuE5f3r2XAjPAAAwi3wWOofotaBTtHB3U5623QsAAGAWeQivDTYdJEB3TKo+fyXdVgMAAJjHanpv/WTQKQJ0h6S/4I+l2yMBAABU4fjoPTYd4Qx0R4z+Yp8IAACgaidWVlZOBq0nQHdACs8PpdupAAAA6nI8heinglYToFsuhec84CCvqzoQAABAXfJE7jyZ+0zQWgJ0i9n1DAAACzUIO6JbTYBuKeEZAACWYhBCdGsJ0C2VAnRuHflEAAAAi5bfi+cQvRa0ijVWLTTa9Sw8AwDAcuQ5RF8JWkeAbhm7ngEAoBHsiG4hLdwtkv6CfjndHg8AAKApHl1ZWfEevSUE6JYYrat6LgAAgKY5ar1VO2jhboHRxO2vBQAA0ERfG71np3Aq0IVLfxEPxLDy3AsAAKCpBjGsRJvMXTAV6PI9GcIzAAA0XS90jRZPgC7YaKrfAwEAAJRgdbRylkJp4S6UidsAAFAsk7kLJUAXyMRtAAAoWj4Hfcxk7vJo4S6MidsAAFC8PAjYZO4CqUAXJv0lezkMDQMAgDbIFehjJnOXQwW6IKOBA70AAADaIB/NfCwohgBdiNHE7UcCAABok0fSe33v8wuhhbsAhoYBAEDr5VbuftBoKtANZ2gYAAB0wpOGijWfCnTDpb9EebDAJwIAAGi7M6kKfTRoLBXoBhsNDROeAQCgG+4fZQAaSoBuqPQX58thaBgAAHSNoWINpoW7gUZnH/LQsAMBAAB0Td4LnYeKnQkaRYBumBSec2jO4bkXAABAVw3SdTSF6LWgMbRwN8/jITwDAEDX9dL1ZNAoAnSDpOrzY+n2UAAAAEQ84Dx0s2jhboj0F+P+GLZuAwAAbJbPQ/eDpROgG2A0NOzp0LoNAABcbhDOQzeCFu5myLveegEAAHC5Xrq+FiydAL1ko3PPDwQAAMDOVp2HXj4t3Es0at1+OQAAACbjPPQSqUAvyaZzzwAAAJN6MmWJA8FSCNDLcyKcewYAAKbTC/uhl0aAXoL0idGXw75nAABgNvZDL4kz0Avm3DMAAFCBvNIqr7YaBAujAr14zj0DAADzyuegn3YeerEE6AVK/3Lb9wwAAFSll67HgoXRwr0gKTwfD4f9AQCA6llttSAC9AJsWlnVCwAAgGo5D70gWrgXQ+s2AABQl3wOWrfrAgjQNRutrHogAAAA6rNqtVX9tHDXyMoqAABggbRy10wFul5WVgEAAIuSW7m/FtRGgK5Jqj7ncfK9AAAAWJz7R+tzqYEW7hpo3QYAAJbMaqsaCNAVS+E5t008F6rPAADA8gxieB56LaiMFu7qad0GAACWrRfDbEKFVKArlKrPq2FwGAAA0BxauSskQFdkdO45h+deAAAANMMgtHJXRoCuSArQp9LtoQDYxS/eS9f7EeffifjZO6Ov3xt+vfH99y8+lx+Pjb8P7Gz/vp0fX31Vuq4c3dP1wfTcNfl+zfBrgJZ7PAXoR4O5CdAVSOH5eLo9GUDn5aD7Xgq+b7ydHv98+PXmC2imHLIvuT4wDNk37BewgdbQyl0BAXpOWrehm3IYfvPt4T2H5Y3A/O6wcgy0Sw7Q4yCd7zdcOwzY1+8PgJIMQiv33AToOWndhvbLIfnHb14Mym+cF5SBSwP1TdcL1UARtHLPSYCeg6nb0D45GOew/KM3hWVgeuNQnQP1jTdoAQcaSSv3HAToGaXwfCDdngut21C0zYH5R28MAzNAlTYC9Q2jUH29QA0s3SC0cs9MgJ5RCtBfSbdHAihKDsxvppD82k8EZmA5cpDObd+//EvDxwBLoJV7RgL0DEaDw14OoAg5NL96bhiatWQDTZKr0TlE33Jw2PK9ef0WQM20cs9AgJ5BCtA5PPcCaKw8+OvVs6PW7DcDoAgbYfqXhtVpYRqo2SC0ck9NgJ5SCs+PpduJABpnHJrHlWaAkuWz0x85LEwDtTqZAvSJYGIC9BS0bkPz5Hbsv3hNpRlotxym77xFmzdQiyMpRA+CiQjQU9C6Dc2w+Uyz0Ax0TW7z/sihiNsPB0AV+ilAHwsmIkBPKIXn4+n2ZABLk9dN5dD8l+cMAgPIlegcpu/8cMT1+wNgHo+mEP14sCcBegKj1u2nQ/UZFk61GWBv4xZvVWlgRnmQ2BEDxfYmQE8gBehT6fZQAAuTh4DlgWCqzQCTG1el777dWWlgaqdTgH4w2JUAvQet27BYuU37u6+qNgPMa3xOOgdqgAnZDb0HAXoPBodB/XKF+Yevp2rzWcEZoGq5Ev3x27R3AxMZhN3QuxKgd2HnM9RrvILqpR9q0waomyANTMhu6F0I0Duw8xnqIzgDLM84SP/yL0VcfVUAbJWrz0ftht6eAL0Dg8OgeoIzQHPkIP2RVI2++7YA2Mpu6B0I0NswOAyqJTgDNJfWbmAHD6YQfTq4hAC9RQrPB9LtuTA4DOYmOAOUQ5AGthiEgWKXEaC3MDgMqvHqueE6qvPvBAAFEaSBTQwU20KA3sTgMJifPc4A7ZD3Rx+9axiogc4yUGwLAXoTg8NgdrnS/Pwg4rWfBAAt8pFDEXffLkhDhxkotokAPWJwGMzGOWeA9svrru68xcRu6LBjKUT3AwF6LAXo3LrdC2BiuV37W99zzhmgK3IV+ld7wx3SQKcMwkCxDVcE48FhvQAmkgPzH78Q8T+9IDwDdEn+nf/sixHP+fAUuqaXrkcCFejR4LCnQ4CGieR27e9+X7s2QNeZ1g2dk6vPR7pehRagDQ6DieRKQ644mK4NwGamdUOnnEoB+uHosE4HaGurYDIvvjqsOgPATj5+uyFj0BGdHijW9QCdW7dXA9hWrjr/++9GvHE+AGBPuQr92XtVo6HlOr3WqrMB2toq2J2zzgDMIq+8ymejP3pLAO3V2Sp0lwO0tVWwDWedAajCLb8UcV9PNRpaahAdXWvVyTVWKTx/OYRnuMwPfxLR/w/CMwDze+0nw5WHr54NoH160dG1Vp2rQFtbBZfLbdovfj/ipdcCACp35y3DajTQKp1ca9XFCvSJEJ7hgtyynavOwjMAdcmvMX/0reFrDtAaB6KDVehOVaCtrYJLGRQGwCLlAWO/ekfE7YcDaIdcfc5noQfREV2rQJ8IYCMwPz+I+I8D4RmAxcmvOd96aXhsCGiFXIX+SnRIZyrQqs8wZLczAE1ww/6I3/i4Kd3QEp1Za9WlAJ0Hh60GdNiP30yf/H/PGTQAmiGH5xyic5gGitZPAfpYdEAnAnQKzw+k29cCOiyfd84t2wDQNL/ai/joLQGUrRNV6K4E6Ny63QvoqHze2ZRtAJrs47dH3H1bAOXqRBW69UPEUng+HsIzHZWHtfzxC8IzAM333Vcj/v2LEe8ZbgmlWh11/rZa6yvQqs90VT7nnMOz884AlCSfi/7svYaLQaEGqQp9JFqs1RVo1We6Kk/YFp4BKJEPgKFovZTBHokWa3UFWvWZLvrhT4Y7Nu13BqBkV18V8ck7I375lwIoy1q6jqRK9Fq0UGsr0KrPdFGetP3si8IzAOXLr2X5Ne0vzPGA0hxIV2ur0K2tQKs+0zUvvhrx3e8HALSOCd1QnNZWoVtZgU7h+bEQnukQ4RmANssTul/0OgclaW0VunUV6BSee+n2dAjQdIQdzwB0hUo0FKWVVeg2VqAfCuGZjnjuJeEZgO7Ilej8wTFQhFZWoVtVgVZ9pktyeP7LswEAnfORQxFH7wqg+VpXhW5bBVr1mU4QngHosr88l14LvxdA87WuCt2aCrTqM10hPAPAkEo0FKFVVeg2VaBVn2k94RkALlKJhiK0qgrdigq06jNdIDwDwPZUoqHxWlOFbksFWvWZVst7noVnANherkTbEw2N1poqdPEV6FR9zv/PeC4EaFoqh+fvelMAAHuyJxoarRVV6DZUoB8I4ZmWEp4BYHJ5T7RKNDRWK6rQbahAvxwCNC30F69F/MdBAABT+tVexEdvCaB5iq9CF12BTuH5eAjPtNAPfyI8A8Cs8muo2SHQSMVXoYuuQKs+00ZvnI/44xcifvFeAAAzuvqqiM/eG3HD/gCaZS1VoA9GoYqtQKs+00bn34n4998VngFgXvm1NL+m5tdWoFEOjLJckYqtQKs+0zb5BT5Xnr3QA0B19u+LOPZrEVddFUBznElV6KNRoCIr0KrPtNFz3xOeAaBq+bX12RcDaJb7U6ZbjQKV2sL9UECL5HVVP3ozAIAa5NfY5wcBNMtjUaDiAvTok4rVgJaw6xkA6vfSa8MVkUBjrJZYhS6xAn08oCXyxG3hGQAWI6+30vEFjVJcFbqoIWLpE4peur0c0AKGhgHA4uX1Vqu/NhwuBjTCsZWVlX4UorQK9ImAlhCeAWDxxuut3rMyEpqiqPlWxVSgVZ9pkzzI5CXnsABgae68JeK+XgDLt5auI6kKvRYFKKkC/eWAFsgDTIRnAFguQ8WgMQ6k65EoREkB+oGAwuWWbUPDAKAZ8mtyHugJLN2X19fXD0QBigjQ6X/M4+nWCyhYPnOVzz3/wpkrAGgE56GhMXJ4Ph4FKKUCXeSSbdjsxe8bGgYATaM7DBqjiGFijQ/QqfqcW7d7AQV79ZxzzwDQVM5DQyPcn7LfajRcCRVow8Mo2sYn268GANBg39UpBk3Q+M7jRgfo0eqq1YCCPfc9L8gA0HT5PHR+zQaWarXpVeimV6BPBBTsxVR5/tGbAQAUIL9mv+g8NCxbo7cvrURDjarPLwcUKled/+hbAa3y9jvvp+u9OPvmuxvX2++mr3+evn7r3U3fv3iNnX1TGwbs5fD1+zY9vuaSx9dec2Vcuy9dH7hq4/HGc/uu3Phn8p1qrX4i4ob9ASzHWrqOrKysrEUDXRXNtRpQsLyyCkqTg24Ovi+f+9nG4xyMx2FZCIZ6bf47Nu3ftxykx6H6yE0fvPD1kUP7BewZ5NVWx34tvVFu8jtlaK+80uqRaGg3cpMr0Ln63AsoUG7dthKDJstvzjdCcgrIL587fyEwb64aA+0wrlRvBOoUrnOoHodrdnbnLRH39QJYjkGqQB+JBmpkgB6trvpaQIG0btM0ORg///2fDoPyj362cReUgY1qdQrRG6H68P4L4ZqLPntvxE3XB7Acx1KI7kfDNDVAn063LwYUKIdnU7dZlhyMn//+WxuXsAxMa3Oovu+26zauLreA53PQ+Tw0sBT9FKCPRcM0LkAbHkbJ/uK1iP84CFiYzYH5+R8Mq8wAVdoI1Ic+GJ/+6IEL7d9d8vHbI+6+LYDlONi0YWJNDNCn0u2hgMLkqnP/Pwz3SEJdhgO+zsezL60JzMBS5BB9360fik/feWCjQt12V1+VqtC/FrF/XwCLdzIF6BPRIE0M0IaHUaTnXor4y7MBlcuh+Zt//uON0KwlG2iS3N6dQ/RGmL71utZWp/M56HweGli4xq20alSATuH5eLo9GVCYV89FfOt7AZXJg7+++ec/udCeDVCCXJ3+rXtu3KhQt20g2SfvjLj9cACL92AK0KejIZoWoJ8O+58pkMFhVGEcmseVZoCS5Wp0PjedA3UbwnRu5f7Pj9oNDUvQqGFijQnQhodRKjufmUdux/7GmbMqzUCr5TD9d4/evBGoS27zthsaluZoCtFnogGaFKBPheFhFMbOZ2ax+Uyz0Ax0TT4znavSOUyXuCLrb3/SQDFYgsYME2tSgDY8jOIYHMY0cljOoTmHZ4PAAGIjSP/Wr9xY1DRvA8VgKRozTKwRAdrwMEr0xvmI/rcDdqXaDLC33Nb99/8PHy5mkncO0DlIAwvViGFiTQnQhodRHIPD2E0eAvbN7/xYtRlgSrkq/fc//eFGB+ncwp1buYGFasQwsaUHaMPDKJG1VewkV5n/4NnXVJsB5jQ+K51bvJvoV3sRH70lgMU6uOw27iYE6MfT7csBBVF9ZrNcYR6fbRacAao1bu9uWpC21gqWYunDxJoQoA0Poyiqz4yNV1B947m/1qYNULMcpH/rnps2gnRT2rs/fnvE3bcFsDhrKUAfjCVaaoBO4Xk13Z4OKMQv3ovo/wfV564TnAGWJ6+++vSdBxpxTloVGpbiWArR/ViSZQfoU2H3MwV58dWI734/6CjBGaBZmjBwTBUaFu50CtAPxpIsLUAbHkZpctX5j19Qfe4iwRmg2ZYZpFWhYeGWuhN6mX/VVwMK8upZ4blrBGeAMuS1gXmIYz4j/XfvP7zR5r0o+XjXSz9UhYYFOpCu4+l6PJZgmRVou58phupz9+Q3Y3/w7F/F2TffDQDKsYyp3arQsHBL2wm9lACtfZvSOPvcHfY4A7TDooO0s9CwcLmNexALtqwAbfczxVB97oZcaf79f/fqxj5nANojT+z+r//W7bWfj1aFhoVbyk7oZQVou58phr3P7eacM0A3LGLQmCo0LNRSdkIvPEDb/Uxp/uhbqs9tldu0f++PBs45A3RE3W3dqtCwcAvfCb2MAH0q7H6mEKrP7ZQDcw7OzjkDdNORQx+M/+d/cVct1WhVaFioJ1KAfiQWaBkBWvs2xVB9bp/crv0H//NfadcGYKMa/fc/fUtUSRUaFmrhO6EXGqBTeH4g3b4WUIAf/iTi2ReDllB1BmA7uQr9//jbvbjvtuuiKr/ai/hotbkc2NlC27iviMV6IKAQL70WtEReS/V/ffI/Cs8AXCZ/wPqP/9V/2tjEUFV30ms/CWBxFrrdaWEV6FR9PpBurwcUILdt5/ZtypbfFP2Tf/29ePnczwIA9lJlNfqz90bcdH0A9VtoG/ciK9CqzxTjxe8HhctnnR/9778jPAMwsc3V6Hm9OP9/BDCZXKhdWNYUoGGLX7yv9apkF978PPOqQWEAzOQbz53dOPozz5rDH70Z8d57ASzGwrY8LaSFe319vZduLwcUwOqqcj370trGoDDBGYCqzDOp20orWKiDi2jjXlQFejWgEN/VclWcHJh//999P/7Jv35JeAagUnn1Ye5smqUabSApLNTxWIBFBeiFldRhHrndyt7nsuQ3NPms8zee++sAgDrkLQ7/+F+9OPU2h1+8N3xvASzEF2MBam/h1r5NSZ57KeIvzwaFyIPCcmVA1RmARZm2pTtP4s4TuYGFqL2NexEV6NWAAhgeVo5xy7ZBYQAs2rQt3YaJwUIdj5otIkBr36YIP/zJsNWKZhtO2X5RyzYASzNu6Z40RL/0wwAWo/Y27lpbuNfX1/NOrtcDCvDHLzin1HT5DUuesj3PWhEAqNJ//bduj7979PCuP7N/X8Tf/mQAi1FrG3fdFWi7nylCHhwmPDdbPu886xRUAKjL7/+7V+MPnt193Lb3GbBQtWZQARqSH3tRa7TxeWcAaKJJzkX/0JwVWJRajxDX1sKtfZuS9P9DxBtvBw2TB4Tl3c7Trg0BgGU4fP018f/6P929cd/q6qsivvCpAOqX27eP1NXGXWcFejWgALmtSnhunvF+Z+EZgFKMB12+fO78Zd+zExoWJhdyV6MmdQZo7dsU4S9eCxrm5XM/m2q6KQA0xfAD4D+Pbzx39rLvvXo2gMWobRp3nQG69hHiUAWfBjfLsy+tCc8AFG+74WKvvW4nNCxIbcXcWgL0+vr6agxL59Bo2rebJU/azmee89lnAChdHi62OUTnNu618wHU78Aok1aurgr08YACmIjZHPkNhknbALRNDtG/90eDC1977wELU0sVuq4A/bmAArzmRawRcnjObzAAoI2++Z0fX+iw+stzASxGLeusKg/QqVR+f7r1Ahout287/7x8ecez8AxA2w1nfPynWHv7fe8/YDFqaeOuowK9GlCAH3vxWrrf+6NX4hvP/XUAQBfk9VY5RH/7FYMyYUFWo2J1BGjTtymC9u3lyuH5m9/5UQBAl+QQ/d/8/iDO+SAfFqHyo8WVBuhUIu+FCjSF0D61PMIzAF32n374Vvyjf/GuEA31W00ZtdLtUFVXoFcDCpDD8y/sYVwK4RkAIs4MXo/f/ZchREP9Kp3GXXWArm1hNVTJConlEJ4BYOjsWz/dCM//9PRwsClQm0rbuKsO0NZXUQTt24snPAPARWffemvj/sq5iJP/UoiGGjWzAj0aEV5pfznU4RfvR7zxdrBAec+z8AwAF/3i/fcvC9FALSpdZ1VlBVr7NkX48RvBAuXwbM8zAFxu7e3zFx7nEP3P/zCAelSWVasM0Nq3KcJrrwcLIjwDwM5+sHbpp/rPvBDx1NMBVK+yrFpJgB6tr7o/oADatxfjG2fOCs8AsIvXz5+/7Ll/+62Ir/5pANW6v6p1VlVVoFcDCuD882I8+9Ja/P4zrwYAsLN8Dvr18z+77Pmv/skwSAOVqqSNW4CmU5x/rt/L534Wv/dHgwAA9nbuze1Xg+RW7tzSDVSmkjbuqgK0888Uwfqqep198934J//6e/H2O+8HALC3tW0q0GM5RA/OBlCNZlSg19fX89nnXkABtG/XJ4fnf/yvXty4AwCTOfvTt3b8Xt4N/c++nqvUAczvwCi7zqWKCvRqQCHeOB/UJLdtC88AMJ2333l34yz0TnJ4/qenh2EamNtqzKmKAP3FgALk6vMv3gtqkNdVPf/9twIAmN7ZN3d/Dc07oq23gkrMnV1VoOmMN1Wfa2HXMwDM5+139i4v54Fi1lvB3OZeZzVXgE7/x1cDCuH8c/XyxG3hGQDmc/atn070c3m9lcncMJccnuc6Bz1vBXo1oBACdLXGE7cBgPms/WzyNrncym2oGMxlNeYwb4C2vopiGCBWLRO3AaAaew0S2ywPE/vdf2moGMxhrgw7c4Ae9Y6vBhTAALFq/f6/+77wDAAVev385J/05wq0oWIws9V5zkHPU4Gee4cWLMrPfEpbmW+cORvfeO6vAwCoztrb07XK5bPQ//ZbAcxm5iw7T4B+IKAQzj9XI1edDQ0DgOq9/e70nV25Cj04G8D0Zs6y8wToTwQUwvnn+b39zvsb557zHQCoVj4HPYt/9nXnoWEGM2fZmQK088+UxgvL/PK+Z+eeAaAe00zi3iyfh/7//mEA05n5HPSsFWjnnymKAD2fb37nx849A0CNppnEvdX/8j3noWEGM2XaWQP0akAhfvG+Cdzz2Dj3/KxzzwBQt5++M3un1//4J/ZDw5RWYwazBmj7nymGAWLz+b0/GmjdBoAFWDs/+5uW3G33T08HMLmZMq0WblrPCqvZ5XPPz3//rQAA6veL9+Yb1PnKuYiv/mkAk1lMC/f6+vpqus28eBoW7fzPgxlYWQUAizXLKqutvvonVlvBhA6Msu1UZqlAqz5TFCusZpNXVgEAi/P2O9UcmbLaCiY2dbadJUCvBhTEALHpWVkFAIv39rvVpN48TOzfmMoNk1iNKc0SoGdeOg3LcF4OnIrWbQBYjqoq0JlWbpjI1IPEpgrQ6+vrvXTrBRTEGejpaN0GgOWYdQ/0Tv75HwawuwOjjDuxaSvQzj9TlF9U+zrUet84c1brNgAs0fkKq9B5Kve/1coNe1md5oenDdCrAQVRfZ6c1m0AWL53Kq5C/49/MjwTDexoqiLxtAHa+WeKogI9uRye337H/2AAsEzn36l2fHaexq2VG3Y11TloFWha7WdWOEzkm9/5cXzzz38cAMByvft+9etDvvPq8AK2df/6+vqBSX944gA9y5JpWDYrrCbzB89q3QaAJqhyEvdmuQptNzTsaOI27mkq0AaIURwBem92PgNA+9kNDbuqJUCvBhTGGejdGRwGAM1y/p36PtT+N/+rgWKwg4lnfU0ToO8IKIwK9O6EZwDoDgPFYEerk/7gRAF6dKhaCzfFcdZnZy+fO29wGAA0zE/frffNi4FisK3epIPEJq1AC8/QMv/kX78UAED3fPVPA7jcRJlXgIYOymurDA4DgOY5/279r8+5Av3MCwFcqtIAvRpQoPMy4rasrQKAbvvqnzjqBltMNEhs0gBtgBi0hOozAGCtFVxmdZIf2jNAGyAG7fH2O++rPgMAG/JaK1VouGCiQWKTVKCFZ4p1/ufBJt84c1b1GQAa7O13Fvc6ncOzKjRcYs/sK0BDR+Tg/M3v/CgAAMZUoeESlQTo1QCKl3c+qz4DAJupQsMl9hwkNkmANkAMCqf6DADsRBUaLtDCDag+AwA7U4WGC+YL0Ovr68IzFE71GQDYiyo0DO2VgfeqQPcCKNrz339L9RkA2JUqNFwwV4BeDaBo9j4DAJNQhYYNcwXoPaeQAc31ze84+wwATCaH5z/7XkDX9Xb75l4B2hloKJjqMwAwjWdeCOi6XYvIOwbo9fX1A+l2IKBg+z8QnfXsS2uqzwBQmGv3XRPL9J1Xhxd0WG+Uhbe1WwVa9RkK9o0zZwMAYFpf/dOAruvt9A0BGlooV57z9G0AgGnlCvTgXECX7ZiFdwvQvYDCXX1ldNIf/M/OPgNAifZfs9wW7rFnng/ospkCtAncFK+LAfrtd96PZ/9iLQAAZpWHiVlpRYf1dvqGCjStdvVV0Tl5eFgO0QAAs8rhWRWaDtuxmLxtgB5NHesFFK6LFWirqwCgXB+6Zl80xZ+9FNBVO07i3qkCbYAYFCgPDrO6CgDKdfVVzfn030orOq633ZM7BWj7n2mF/c35EHchvvmdHwcAUK6rr2xW+9yffS+gq7YtKqtA02pdOgNteBgAlO+ahgVow8TosN52TwrQtFqXArThYQBQvia1cGc5PP/Z/xbQRXds9+QV0/wwlOaDHWrh/uafa98GgNJdu695b16e+U5AF03Vwt0LaIGunIHOg8PyADEAoGxXX9m89rk8SEwbNx3U2+7JywL0aFy3IWJQEOEZANrhQ/uuiSb6N98K6JoDKRv3tj65XQXa+WdaoysV6G+cORsAQPmaNoV7zDorOuqywvJ2AboX0CL7PxCtltu3Xz53PgCAsl3b0OpzlgP0uTcDuuay4rIATevtb+5rUSW+8dxfBwBQvv3XNPtNS15pBR3T2/qEFm5ar+1t3M//4KcBAJTvmgYOENtMGzcddNl2qu0C9A0BLdLmAK19GwDa48D+D0aTaeOmgyZq4VaBplXafAb62ZdeDwCgHZp8BnpMGzcds/sQMSusaKPr90drPfsXbwQA0A7X7mt+25w2bjqmN8rIF2ytQPcCWubqZh8nmllu37b/GQDa4+D+5n/qnwP0+XcCumTXAK36TOvkM9BtDNHCMwC0R97/3NQd0Fs983xAl1xyxPmK3b4JbdHGQWLPvrQWAEA7lHD+eeyF7wd0iQo03XNDC89BP/8DFWgAaItrrynn037noOkYFWi654Zro1Vy+/bb77wfAEA7NH2F1Wb5DLQQTYdcsub5it2+CW3RthZu7dsA0C4lDBDb7M++F9AVu1agewEtdH3bKtA/+GkAAO2xv4AVVpu9ci6gK6yxonvaNIk7t26/fO58AADtkKdvHyyohTuzzooO6W3+4kKAXl9f7wW0WFsGiVlfBQDtUtL5581ecA6ajticlTdXoHsBLdaWQWLOPwNAu5R2/nnMIDE65EIb9xXbPQlt1JYA/fKPfhYAQHsI0NB4vfEDFWg648bro3jOPwNA+9xQaIDOg8Scg6YjeuMHKtB0RhsGiTn/DADtUuIAsc0GZwO6YNsW7l5Ay5U+SEyABoB2KXWA2Jh90HTEHeMHV2z3JLRV6eegnX8GgHYp9fzzmH3QdMTB8QMt3HTKTYWfg3b+GQDa5fB110XJtHDTEdtWoHsBLXfjDVGsl8/9bGOIGADQHoevLztA5yFi594MaDtrrOimq68st41b9RkA2iWff85DxEr3nb8MaLve+MFGgF5fXxee6YxS27gFaABol9LPP48NnIOmA1Jm7uX7uALdC+iIYgO0AWIA0Cq3HmhHDcsgMbpkHKBVoOmMUs9Bq0ADQLuUfv55zCAxOqKX/xCg6Zx8Drq0KrQBYgDQLm05/5wZJEZH9PIfWrjppNIGiZ19850AANqj9PVVW6lC0wEbRWcVaDrpl38piqJ9GwDa5daD7Xr7/aM3AtpOgKa7cgv31VdFMXILNwDQDrl1u3UVaIPEaL878h9auOmsks5Bn33r3QAA2qFt4TnTwk1XjAN0oXOJYXZFBWhnoAGgNW5rWft2ZogYHdDLf1wR0FG3H44i5OnbJnADQHscamEF2iRuOuCSM9C9gI4pZZ2VAWIA0B6HrvtQXLvvmmijtzXM0W6GiEEJAfrsm84/A0Bb3HagvW+7X/nrgDYToKGENm7nnwGgPW49eDDaSgs3LTcM0Ovr68IznbV/X/Or0FZYAUA7HNj/wda2b2cCNG2Xs3OuQAvQdFrTA/Tb7xogBgBt0Mb1VZsJ0HSAAA1Nb+M++4Yz0ADQBh+7+eZos3NvBLSeAE3nNb2N++xbzkADQOna3r6dqUDTAT17oCG55Zeikex/BoB2uLvl1eex8z73p902Wrh7AR3X1DZuK6wAoB0Otfz885hd0LTcARVoSK6+splt3G+/814AAGU7dN2HWt++PeYcNG3nDDSMfPSWaBwVaAAo30dvuim6QoCm5UzhhrGbbkiV6KuiUVSgAaBsV195Zdx6sDtvt52BpuW0cMNYbuP+yKFoFEPEAKBst6XwnEN0VzgDTdsZIgab/HLDpnEL0ABQtt5NN0aXWGVFy92hAg2b5EFiTRomJkADQLny4LDDHZm+DV0hQMMWTdoJffYtQ8QAoFT3ffjD0TVauGm7HKDvCOCCvBO6acPEAICydG142JghYrTcQRVo2CIPE7vzlwMAYGZdGx42Zo0VLXeDAA3b+GhDOq7OvqGFGwBKdG8H27ehCwRo2EauQjdpmBgAUI5D131oY4AY0D45QHfvcAZM4O7bAwBganfffHN0lSFitFxPgIYdNGGl1dm3vAoBQEly5bmLw8PGDBGj7bRwwy5UoQGAaXRxdRV0iQANu8gV6P37AgBgT7n63LvpxgDaS4CGPdx5SwAA7En1GdpPgIY93H444uqrAgBgR7n6fOi66wJotxygewHsKK+0uvOXAwBgR70bb7S6CtqvpwINE/joh1WhAYDt5eB85KabAmg/ARomoAoNAOxE9Rm6Q4CGCalCAwBbqT5DtwjQMCFVaABgK9Vn6BYBGqZw9+2L3Qt9+DpLqAGgqXJwvvvmm4OL9nvrQssJ0DClHKIBAPLe56uvujK46FoBmpYToGFKHzkUcdP1AQB0WK4+9266MYBuEaBhBouqQl/7AZ9qA0AT5eozl9PCTdsJ0DCDXIFeRBX62n0CNAA0jerzzq79QECrCdAwo/uORO2uvUaABoCm+exddwbQTQI0zOiG/RF33hK1UoEGgGY5kirPB/fvD7Z3yJwYWk6Ahjnks9BXXxUAQEfc6+zzrpyBpu0EaJjD1alAfPdtUZvD118TAEAz3PvhWzbOP7Mza6xoOwEa5pTbuOsaKKaFGwCaIQfn+25Vfd6LAE3bCdBQgbrWWl27T384ADSBtVWTuemGgFbLAXoQwFxyBbqOgWIq0ACwfHlwmLVVk1GBpuUGKtBQkToGih2+3qsQACzT1VddaXDYFPbbA03LCdBQkTxQ7GjFayFVoAFgue4zOGwqh62xouUEaKjQLb9U7UAxU7gBYHlycP7YzTcHk8krrKyxou0EaKjY0buqbeU+fJ1XIgBYhmN33x1M7pDqMx0gQEPF8ievVe6GPnyDKjQALJqdz9O71vln2m/NFG6oQZW7oQ9f58UbABbJzufZ3HEooO3WVKChJlW1cjsHDQCLpXV7NlZY0QUCNNQkt3JXMZXbKisAWByt27O743BA6+UA/UYAtchTuXM79zyOHNofAED9Dl33Ia3bczh0Q0Dr5QC9FkBt7r59vpUOdkEDQP1y1fnTR44Es7MDmg4YaOGGml195fA89KzyGWghGgDqdd+HP6x1ew55hZUd0HSBAA0LkCdy39eLmTkHDQD1+djNh6N3043B7LRv0xXWWMGCzLPa6shNHwwAoHobK6s+7NzzvKywoiNeUYGGBcqt3LO0Nx05JEADQNWuvurKjZVV+c58nH+mKwwRgwXaWG01w3loLdwAUL37rKyqjBVWdMSaAA0LNst56Ptuuy4AgOrkc88fu/nmoBo9AZpuWNPCDUuQz0N/ZIoXmjyF2yRuAKhGrjof/cjtQTXy+WcTuOkKFWhYklyFnubF5r5bVaEBYF45POdzz1THBG46ZCBAw5Lk/dCfvTcPMJns5/M+aABgPp+96y7nnit2720BnWGNFSxRrkD/xoQfgjsHDQDzuffDt8TB/TZbVM0AMTrEGWhYtkmHignQADC7HJ7vu9W+5zoYIEaHmMINTZCHiuVrN3mI2OHrTOgAgGkduu5DwnNNDBCjY9auWFlZEaChAXIVOlejd/2Z2z4UAMDk8nnnTx85EtRD9Zkuydl53MItREMD/MbHd/8U98gh57YAYFLjiduGhtXnHtvA6I6NzCxAQ4OMJ3PvFKLvu22PEjUAsOHqq640cXsBDBCjQwRoaKIcnndab5Ur0PksNACwu0/3eiZu1+xQ+ly/dyigKwb5DwEaGmi3EH3fraZxA8Bujn7ktrj14IGgXqrPdNE4QL8SQKPcsH/79VYGiQHAzvK6qo/dfHNQv0/dFdAlb+Q/7IGGBvvIofQp+pYXp0/feTAAgMvZ9bxYKtB0zCD/ccXmL4DmySH67k0TLg9ff41z0ACwhfC8WM4/00GGiEEpPn7bpSH6t37lxgAAhno33Sg8L5j1VXSQAA0l2Ryi77vNIDEAyHJ4/vSRXrBYf8P5Z7pnkP+4avMXQLPlEJ29/Y4ADQDC8/LcqwJN92wUnQVoKMwwRF+5UYV+/vtvBQB0kfC8PLl9O6/chI65pIUbKEgO0Q/9LeegAegm4Xm5PnVnQBcN8h8bAXplZWUQQFEeWr0x7r31lgCALhGel+9XPhLQOSkzX1aBHgRQjLw+4tjHPyxEA9AZH7v5sPC8ZNZX0VEXhm5ftd2TQBnyBMxzbw7Xdrzwg9cCANrKnudmMH2bjhqMH2yuQL8SQFE+NXoRu+/DH47fONILAGgj4bk5PiVA000Xis1XbPckUIaNKZgfGD4+ctON8Tf/szvj6iuvDABoi6MfuU14bojcvn2P9VV002D8wBloKNzn7rn4+NYDB+LYxz8W1+67JgCgZFdfdWX8zbvujI/dfHPQDMIzHXahW1sFGgq3tZXq4P79cezuu4VoAIqVX8Pya9mtBw8EzfG5ewO6atsW7kEAxdncxj02fuNxIIVpACjJ+DXs4P4PBs2hfZuOG4wfCNDQApvbuMfyG5Df+vjHNvZlAkAJDl33ofg799yji6qBTN+m4wwRgzbZaSJmHiiW92XaFQ1A0+Udz7/18bs3zj7TPF/49YAuG4wfXNgDvbKyMlhfXw+gPOM27vM/3/77ec3VNVdeFc//4K/iF++/HwDQJHnStmFhzZXfZ+QWbuiqnJXHj6/Y8r1BAEX6wtHdv58/2f8792qLA6A5Ns47f/xjwnPDGR5Gxw02f7E1QGvjhkJ97r69f8ZwMQCaIg8Jy69Jh6+7Lmg2w8PouMHmL7YG6G8HUKRJp2PmEP137v0V56IBWJrcFWXlYhly9Vn7Nh33xuYvVKChRT41xYTMfC76N470NgaNAcAi5AFh+bzz0Y/cblhYIbRvQ5zZ/MUVu30TKEt+kdu6E3o3R2660bloABZiowPqnnucdy6I3c+w4ZIiswo0tMj+fdvvhN5NfkPzX/zar8bHfvlwAEAdNgZZ2u9cnC/9ZgAq0NBu07Rxb3b09ts3Wrq9uQGgKrlN+2/edaeW7UKpPsMGFWhos/xiN+sLXm7pNhEVgCocuu5DG1XnWw8eCMpjeBhcMNj8xSUBemVlZS3sgobiff6TMbPxTk5TugGYxXhQ2G993JTtkmnfhg1ro4x8wVXb/VAARctt3HmY2Pmfx8zylO4jN94UT7/4Yrz9zrsBAHvJu50/e9ddgnPhcieb6jNsuOyI8xXb/JBd0NACXzgacxsPGFONBmAv+bXiP7fZoRXm6WSDlnlj6xPbBehBAMX7wq9Pt9JqN7kanYO0N0UAbJXPOufXiPxaQfly5XnWgaTQQhNVoAcBFG+WlVa7GVejNyapXmmSKkDXOevcTs4+wyUGW5/YLkBbZQUtkavQVdvY5XnvPdG76cYAoJvGE7Y/dvPNQXvk6nOevg1cMNj6hCFi0GL5hTAPAvnOq1GpXGn49JHexrqrF/7qrwwZA+iI/Pv/N470rDtsKdVnuMxlxeWV7X5qfX399XSztA9aIIfn3/0folbPpxD9wg9eCwDaKbdr5w6kuw/fvPGY9skfuv9//i8BXJRXWB3c+uRVO/zwIF33B1C8XIGuowq92XjlVQ7Sgx/9OABoj1sPHoijt9/unHPLfe6+AC412O7JK3b4YausoEW+9Jmo3bit++9YYQLQCvmc87GPfyz+5l13+r3ecs4+w7Ze2e7J3SrQQEssogo9dmD/Bzemdb+cKtHORwOUJ4fl3FlkWGR35OpzDtHAJbYdri1AQ0fkKvTvLiBAjx1Jb7zyJUgDlME5525SfYYdTRWgrbKClllkFXqzHKLztNaXf/yjjfPRgjRAswjO3ZYnb6s+w7a23U610xTuPIH79QBaZRETuXeTw7MgDdAMgjMmb8OuDq6srFwWoretQOcfTCF6kB72AmiNZVWhx8bn6vLEbkEaYDkEZ8bsfYYdDbYLz9nKTv9ECtCn0+2LAbTKuTcj/u//v2iEHJ7PvvWWM9IACyA4s5nqM+yqnwL0se2+cdUu/9AggNYZDwt55oVYulyRPrLPsDGAOuV1VB+96aa49cABwZkLVJ9hVzuudd4tQBskBi31UPo87c9eijj/82iM8dTuH6ytxYs/PBvnUmUagNnl4HzfrR/eGOQIm/2NO03ehj0MdvqGAA0dtH9fxBeORnz1T6NxcoUkX7kS/XyqSOdA/Yv33g8A9pYrzEduvHFjh/PB/fsDtvPQbwWwux2z8G5noE3ihhY7/07EP/rvhmeim8w5aYC95WrzbQcPboRnbdrsJleef+e3A9jdwamHiGUpRL8cJnFDa+Vz0P/8D6MYOUjns9Kq0gAXq823HjygTZuJ5Dko/+1/Ze8z7GEtheeDO31ztxbuLB+e7gXQSuNhYstaazWt/AYxXzk8fz+F6BymnZUGuka1mVnlwWHCM+xp16PMewXoQQCt9qXPRPxuIQF6bKPqMho6ltu6f7ARpn8Ua+d/FgBtlEPz4euvs4KKmY23cAB7+vZu39wrQBskBi13z+0Rn/9kxL/9VhQpr8LKe03zlcP0f/rrv94I1M5LA6U7sP+DG+3ZudJ87b59AfPIrdvARPq7fXOvM9D3p9tzAbRaHij2f/v/N2ut1bxUpoESjSvNQjNVMjgMpnJ0ZWVl+incYylErwfQen/2vYh/9vVopfEk73xuOp+ZNoAMaIrcjn3ggx90ppnaGBwG00nhedeMvFcLd5bT9/0BtNqn7hq2c5cyUGwauc37yL7hmeksh+kfvL62cVedBhYtt2bngYi5PfvgB/cLzdTK4DCYyp5HmCcJ0PkQtQANHZDbu/7Rv2hXK/d2xtO8s1yNPvvTVJ1OgXrt/HmBGqjcODDn1uzDH7pOYGZhcuu2wWEwlVf2+oFJK9APBdB6+RPq//IzEU89HZ2R38jeeuDAxpWNA/XZN9+K11OYXvvZeS3fwMTGLdkH9+8XmFmq/Jqeq8/AVPp7/cCkARroiDyRO5+HbmMr9yS2Burs9VFlOleohWpgbHNYPnBtCswf+pDBXzSG1m2YyZ7Zd5IhYvld5OsBdMa5N7vRyj2PHKrPv/tuvP52CtU/+1mcf+edeDt9LVhD++SgfO0118SBFJRzWM5zFXJwFpZpKlO3YWYHV1ZW1nb7gT0DdJZC9Mvp1gugM/Je6C61clclB+jXU4U6h+m3f/7ORrjOz7397jspZNtNDU21P4Xia6/ZtxGOc1i+9gP7NkLyNVdeKShTFFO3YWZnUng+utcPTdLCnT0TAjR0StdbuWeVK1XjAWXbyWH6pylM/+L99y9UrN99772Nr9/Nz20K2Tl0jwnfsLccgsdy8L36yqs2/k7mx1kOxtdcddWFivLG16OfgbbQug0z23OAWDZpgDZIDDqoK1O5Fym/UT941f4AgKrlD79N3YaZ9Sf5oStiMgaJQQeNp3IDAM228Zpt6jbMY6LMK0ADu/JpNgA0Xz73vN9xfZhHdQF6NIlsEEAnPXTMeSoAaCrnnmFuZ/aavj02aQU6eyaATsqfaP+DBwIAaJjcJfYlx61gXhMNEMumCdDauKHDeoeGlWgAoBly1flLzj1DFfqT/qAADUwsn4f+G3cFANAA9j1DZSbOugI0MJX/5re9WAPAsj206vUYqrKystKf9GcnDtCjQ9VCNHTc+Dz0/g8EALAEuSPs878eQDX60/zwNBXozCAxYHgeejUAgAXLVWczSaBS357mh6cN0CrQwIY89TN/Ag4ALEYOz/ncM1Cp/jQ/PG2A7gfASP4E/J7bAwBYgHyEyrlnqNxUReKpAvTKysog3SZaMA10wz/8ohdzAKhbPjqVj1ABlRqMMu7Epq1AZ85BAxfkoWK5ncxQMQCoR971bGgY1GKq88/ZLAG6HwCb5Ar0P/w/BgBQsTxz5EufCaAe/ZjSLAHaIDHgMvkstKmgAFCdOw5F/M5vB1CfqbPtSsxgfX399XQ7EABbfPVP0vWnAQDMYTxx25wRqM3aysrKwZjSLBXoTBUa2FY+p5XbzQCA2QjPsBAzZdpZA7RBYsCOcruZ9VYAML3xcE7hGWo3U6adNUD3A2AXeb3VHYcDAJiQ8AwL1Y8ZaOEGapHfBNgRDQCTyx1cdj3DwiyuhXtlZWUtVKGBPTjDBQCTyeH5U3cFsBj9Uaad2qwV6GzqpdNA9wjRALC7h1YN4IQFmznLzhOgTwfABIRoANhe3l7x+V8PYLFmzrIz7YHO1tfX8x7o1wNgQufejPjdfzm8A0DX5fD8pc8EsHgHF97C7Rw0MC2VaAAYEp5haWY+/5zN08Kd2QcNTEWIBqDr8pln4RmWZq4MO2+A7gfAlIRoALoqT9t25hmWqh9zmPkMdDY6B/1yug4EwJTyWeh/9C8izv88AKD1cng2bRuWayWJOcxVgR71js+0gBpgoxL99yL2fyAAoLX27xu+3gnPsHT9mNO8LdzZ1wNgRr1DQjQA7TU+tnTP7QEs39zZtYoA3Q+AOQjRALTRODzn1zmgEfoxp7n6v8fW19fzPmjnoIG5DM5F/O7/4Ew0AOUzMBMaZ7CysnIk5lRFBTrTxg3MTSUagDa457aI//f/WXiGhulHBaoK0P0AqIAQDUDJPv/JYeU5Dw4DGmWu/c9jVbVw5/bt1wOgItq5ASjNl34zXZ8JoJmOrKysDGJOlQToLIXo59Lt/gCoiBANQAlytTnveP7UXQE005kUno9GBapq4c4qKYkDjGnnBqDp8jnnfN5ZeIZGqyyrVhmgTwdAxYRoAJrKsDAoRmVZtbIW7sw6K6Au2rkBaJI8LOyhYwE039rKysrBqEiVFejMOiugFirRADTB+Lyz8AzFqPSocdUBuh8ANRGiAVimOw4NW7Y/d28A5aj0qHHVLdzWWQG1084NwKLllu3/8jftd4YCVbK+aqzSAJ2lEP10uq0GQI2EaAAWIQfm3K6t6gxF6qfwXOmBi6pbuDPrrIDa5Xbuh1YDAGoznrItPEOxKp/RVUcFejXdng6ABXjmhYh//ocBAJX60mfS9ZsBlO1oqkCfiQpVHqAz66yARRKiAahK3umcp2zfc3sAZRuk8HwkKnZV1OOpdH05ABZg3FonRAMwD4PCoFX6UYO6KtCroY0bWDCVaABmoeoMrXQsVaD7UbFaAnSmjRtYBiEagGmoOkMrraXwfDBqUFcLd5Ynnj0UAAuknRuASdxxaLieStUZWul01KTOAJ3/SwvQwMIJ0QDsJFeav/BJE7ah5SpfXzVWZwt3bt9+ObRxA0uinRuAzfJe59/5/PDMM9BqB1dWVtaiBrVVoPN/4RSi886t1QBYApVoADJDwqBTvl5XeM7qbOHO8jqr1QBYEiEaoLvG7dpf+HVDwqBDajv/nNXWwp2N2rhfD4Al084N0C35A9R8zlm7NnTOwWIr0KM27n6oQgNLphIN0A35nHMOztq1oZP6dYbnrO4W7ixPQFsNgCUTogHaS3AGYniEuFa1tnBn2riBptHODdAeuUU7B+fxh6RApx1JFehB1Kj2CrQ2bqBp8pusc29EfPVPA4BCCc7AFv26w3O2iBbuTBs30Cj5TVcmRAOURXAGdlB7+3ZWewt3po0baKqv/okQDVACwRnYw5HWVKC1cQNNpRIN0GyGgwET+PoiwnO2qBbuLJfUVwOgYYRogOYRnIEpnI4FWUgLdzZq4345XQcCoIG0cwMs1/59wxbtL/z6sGUbYEIH697/PLawCvSojfuZ9PCLAdBAKtEAy3HHoYjV+4bhOYdogCmcWlR4zhbZwp09HgI00GBCNMBi5KCc27RztVmbNjCHr8cCLayFO9PGDZRCOzdAPXJo/tR/ptoMVGKQqs9HYoEWWoEetXHnYWJfDoAGU4kGqM74bPOn7lJtBirVjwVbaAU6SwF6Nd2eDoACqEQDzCaH5hyYc3AWmoGaHEtF2n4s0MIDdJZC9OuhjRsohBANMJnNobl3WIs2UKuFt29nix4iNvZEuh4LgAJo5wbY2eb2bKEZWKCFDg8bW1YFuhfDYWIAxVCJBhjKg8ByW/b4AliCI6kCPYgFW0qAzlKIzuegVwOgIEI00EWHrr8YlnOlWZUZWLJ+Cs/HYgmW1cKd5ZL7agAURDs30AWbA3O+8tcADfJULMkyK9B2QgPFUokG2iJXk8eBOZ9hFpiBAiylfTtbWgV6tBP6mfTwiwFQGJVooETjsJyDcr5+JYXlw9dryQaKcmpZ4TlbWgU6sxMaKJ1KNNBEm4Nyvh+6QWUZaI2F737ebKkBOrMTGiidEA0swzgYb9w3P75BUAZaaym7nzdb5hCxMTuhgaJp5wZmkavE1+7b8vUHLj4/vo+fG4fj8fcAOmgpu583a0IFOlefXw+AwqlE0yR/8A8CANrmyDLPP2dXxJLlYWLp1g+AwuVK9Jc+EwAAVK+/7PCcLT1AjzwRAC0gRAMA1GJpu583a0qA7qdrLQBaQIgGAKhUHh52KhqgEQF61MatCg20hhANAFCZfjREUyrQ2ekAaBEhmmWxwgiAljkZDdGYAJ2q0GfCMDGgZYRoAIC5NGJ42FiTKtCZNm6gdYRoAICZNWJ42FjTAnQ/DBMDWkiIBgCYWmOGh401KkAbJga0WQ7Rn7s3AACYTD8apmkV6OzxAGip3/ltIRoAYEKNGR421rgAPapC9wOgpYRoAIA9fb1Jw8PGmliBzhr3SQNAlYRoAIBdnYoGamSATp809NNtEAAtJkQDAGwrDw87HQ3U1Ap01qhx5QB1EKIBAC7T2I7kJgfoPEzMSiug9YRoqnbohgCAkvWjoRoboEfDxFShgU4QogEANpxq4vCwsSZXoLNG9r0D1EGIBgBo9kDpRgfo0TCxfgB0hBANAHRYv8nV56zpFejMSiugU4RoAKCjnoiGa3yAHlWhzwRAhwjRAEDHNHZ11WYlVKAzw8SAzhGiAYAOKaLzuJQAfSqstAI6SIgGADogV59PRQGKCNCjlVaN74cHqIMQDQC0XDHbl0qpQGePhyo00FE5RN9zewAAtFExxdJiAvSoCv31AOiof/jFiDsOB+xp/74AgFKcavrqqs1KqkBnpwKgo3IoeuzvCdHs7VoBGoByFLW2uKgAPVpp1Q+AjhKiAYAWKar6nJVWgc6K+oQCoGpCNADQEsWtKy4uQKtCAwjRAEDx+qNsV5QSK9CZKjTQeUI0AFCw4qrPWZEBevRJxZkA6DghGgAo0CBlulNRoFIr0Fkxu8IA6iREAwCFKbajuNgAPfrEYi0AEKIBgFIUW33OSq5AZ6rQACNCNABQgKLnWZUeoB8PVWiAC4RosvzvAQA0UNHV56zoAJ3+x8/hWRUaYBMhmmsFaACaqfhtSqVXoDNVaIAthGgAoGEG6TodhSs+QKtCA2xPiAYAGuSpUXYrWhsq0JkqNMA2hGgAoAEG6ToVLdCKAK0KDbCzHKL/4RcjDl0fAADLkKvPg2iBtlSgM1VogB3k8Pzf/ldCNACwcINoSfU5a02AVoUG2J0QDQAsQWuqz1mbKtCZKjTALoRoAGCBBtGi6nPWqgCtCg2wNyEaAFiQVlWfs7ZVoDNVaIA9CNHtdu2+AIBlG0TLqs9Z6wK0KjTAZITo9tovQAOwfK2rPmdtrEBnqtAAExCiAYAaDFJ4PhEt1MoArQoNMDkhGgCo2MloqbZWoDNVaIAJCdEAQEVy9flUtFRrA/SoCt3aTz4AqiZEAwAVaHUGa3MFOofoXIUeBAATEaIBgDm0uvqctTpAjzwaAExMiAYAZtT6DuDWB+j0CcjpdOsHABMTogGAKbW++px1oQKdOQsNMCUhGgCYQic6fzsRoNMnIf1QhQaYmhBdpv0fCABYpP6o87f1ulKBzlShAWYgRJfn2n0BAIv0cHREZwL0qArdiU9FAKomRAMAOziVstYgOqJLFegs9+WvBQBTE6IBgG10qtO3UwF69MnIEwHATIRoAGCTTlWfs65VoLPHQxUaYGZCNACQDKKDc6Y6F6DTJyQ5PKtCA8xBiAaAznuia9XnrIsV6ByiT8TwExMAZiREA0BnDVKmejw6qJMBeqQzo9YB6iJEA0AndXZFcGcD9GitVT8AmIsQDQCd0k9Z6lR0VJcr0FlnPzkBqJIQDQCd0elO3k4H6FEV+qkAYG5CdHMcuiEAoA6dW1u1Vdcr0NkjYa0VQCWEaABorUHo4BWgrbUCqJYQDQCt9FTXq8+ZCvRQHsE+CAAqIUQDQKsMRquAO0+AjgtVaGutACqUw/M/eCBi/wcCACib4csjAvSItVYA1esdSpXovydEA0DBTnV5bdVWAvSlchXaQDGACgnRAFA01edNBOhNRofiDRQDqJgQDQBFOmlw2KUE6MsZKAZQAyEaAIoyiGE2YhMBeovRQLFHA4DKCdEAUIyTo2zEJgL0NtK/KKfDQDGAWgjR9bM+DIA5GRy2AwF6ZwaKAdREiAaARjM4bAcC9A4MFAOolxANAI1kcNguBOjdGSgGUCMhGgAaZZDC84lgRwL0LkaH5h8OAGojRANAY2jd3oMAvYcUovvpdjoAqI0QDQBLZ3DYBAToyRgoBlAzIRoAlmYQqs8TEaAnMGrl9i8UQM2EaABYCoPDJiRATyj9C5UHivUDgFoJ0QCwUAOt25MToKdjoBjAAuQQ/dBqAAD1OxZMTICewqitQSs3wAJ87t6I3/ntYEqHrg8AmJTW7SkJ0FMa7UUbBAC1E6IBoDZ2Ps9AgJ6NVm6ABRGiAaAWWrdnIEDPYLQb+okAYCGEaACo1BNat2cjQM/uRGjlBlgYIRoAKjGIYZZhBgL0jEa7obVyAyyQEA0Ac3t4lGWYgQA9B63cAIsnRAPAzE6NMgwzEqDndyK0cgMslBANAFMbhJW8cxOg56SVG2A5hGgAmIqdzxUQoCuglRtgOYRoAJhIbt0+FcxNgK7OidDKDbBwQvSlDt0QALDZILRuV0aArohWboDlEaIBYEcPa92ujgBdIa3cAMsjRAPAZZ4wdbtaAnT1ToRWboClEKIB4IJBDLMJFRKgK6aVG2C5coh+6FgAQNcdG2UTKiRA10ArN8Byff6TEV/6TABAV1lZVRMBuibpX9hH0u1MALAUX/pNIRqAThqkLHIiqIUAXa8H06VtAmBJhGgAOshBphoJ0DUatU3YuQawREI0AB3yqNbtegnQNUv/Aj+ebv0AYGmEaAA64PQoe1AjAXox8lRurdwAS9SVEL1/XwDQPYN0PRrUToBegFEbxYMBwFJ1IURfK0ADdJGp2wsiQC+I1VYAzaCdG4CWeSJljVPBQgjQi3Uihu0VACyREA1ASwxG63NZEAF6gdK/3PkcdB4r7zw0wJIJ0QC0gJVVCyZAL5jVVgDNIUQDUDArq5ZAgF6C0Xj50wHA0gnRABTolJVVyyFAL09ebTUIAJZOiAagIIPQ0bo0AvSSjM5DPxwANIIQDUAhjmndXh4BeolGq60sPAdoCCEagIaz73nJBOglG51d6AcAjVB6iN6/LwBop9MpO5wIlkqAboYHw3logMYoOURfK0ADtNEgdK42ggDdAM5DAzSPdm4AGuRBrdvNIEA3hPPQAM0jRAPQAPnc85mgEQToBrEfGqB5hGgAluiUc8/NIkA3j/3QAA0jRAOwBIPQodo4AnTDjM5D56FiawFAYwjRACxQzgLHRtmABhGgG2h0xuFkANAoQjQAC2Lfc0MJ0A01Og/9RADQKEI0ADV7YpQFaCABusHSX5xH0s3EPYCGEaIBqMm3RxmAhhKgmy+fhx4EAI3S1BB97b4AoEyDdD0QNJoA3XCjsw8PBwCN08QQvV+ABijVg849N58AXYD0F6kfRtgDNJJ2bgAqcHI0SJiGE6ALYagYQHMJ0QDMIQ8NOxEUQYAuy4kwVAygkXKI/vwnAwCmMTA0rCwCdEFGi9QNFQNoqIeORXzu3liqQzcEAGUYpOtYUBQBujCjwQI5RK8FAI3zO7+93BDdOxwAlMHQsAIJ0AUaDRg4GQA00rJC9KHrTeEGKMSjhoaVSYAulKFiAM22jBD9N+4KAJrv5Oi9PAUSoAs2GjjQDwAaadEh+gu/HgA022kTt8smQJfPUDGABltUiM7/N3ILNwCNNUjXw0HRBOjCjSZz5+l9gwCgkeoO0Tk45zVaADTWIF3HRu/dKZgA3QKbJnMD0FB1huj8n636DNBoJm63hADdEqMpfo8GAI1VR4jO/5n33B4ANJeJ2y2yErTK+vr6iXR7LABorK/+Sbr+NOaS11Xl8Pwpk7cBmuykoWHtIkC3UArRp9LtoQCgsZ55YRikz70ZU7vnthSeP69tG6DhnhhtzaFFBOgWSgH6QLo9na77A4BGy0H63/yvEa+c2/3ncsW5d2g4LEzLNkDjfTuFZ+/FW0iAbqkUonsxDNG9AKDxciV6cDYF6XS9/U7E+XeGofnwDRF3pODcOzz8GoDGG8Rw4vYgaB0BusWEaAAAWKhBCM+tJkC3XArRuXUkh+gDAQAA1CXveD5m4na7WWPVctZbAQDAQlhX1QECdAekv8in0u1kAAAAdTg5es9Ny2nh7hA7ogEAoHJ2PXeIAN0xdkQDAEBl7HruGAG6g1KIzkPFVgMAAJhVP4XnY0GnCNAdlAJ0nsidQ7Tl7gAAML1Buo6mAL0WdIohYh00+ov+YAz/4gMAAJMbxHBdlfDcQSrQHZYq0b0YVqJ7AQAA7GUQw/A8CDpJgO64UYh+Ll0HAgAA2MkghOfO08LdcaNfAHn4gRYUAADY3sYRSOEZAZocos/E8Ew0AABwuYdH75npOAGaDekXQj/dHg4AAGCzHJ5PB4QAzSbpF8OpdHs0AACA7NHRe2TYIEBzifQL4vF0OxkAANBtJ0fvjeECU7jZ1vr6+ol0eywAAKB7cng+EbCFAM2OhGgAADpIeGZHAjS7EqIBAOgQ4ZldCdDsSYgGAKADhGf2JEAzkRSiT6XbQwEAAO3zVArPxwP2IEAzMSEaAIAWEp6ZmADNVIRoAICgPYRnpiJAMzUhGgCAFhCemZoAzUyEaAAACiY8MxMBmpkJ0QAAFEh4ZmYCNHMRogEAKIjwzFwEaOYmRAMAUADhmbkJ0FRCiAYAoMGEZyohQFMZIRoAgAYSnqnMFQEVGf1iOhkAANAMJ4VnqqQCTeVSJfpEuj0WAACwPDk8nwiokABNLYRoAACWSHimFgI0tRGiAQBYAuGZ2gjQ1EqIBgBggYRnaiVAU7sUoh9Jt68EAADU59EUnh8PqJEAzUKkEH083Z4MAACo3sMpPJ8KqJkAzcKkEP1ADEP0gQAAgPmtpevBFJ77AQsgQLNQKUTfn25fS1cvAABgdjk8H0vh+UzAggjQLFwK0b10ezqEaAAAZjOIYXgeBCyQAM1SCNEAAMxoEMIzS3JFwBKMfuEdi+EvQAAAmMS3Q3hmiQRolmb0i+9ouvoBAAC766drVXhmmQRolir9AlxLV65EPxEAALC9p/J7xvzeMWCJBGgaIf0yfCTdTgYAAFzqZHqveDygAQwRo1HW19dPpNtjAQAAw/B8IqAhBGgaJ4Xo4+n2lXQdCAAAuii3aj+awvOpgAYRoGmkFKLvT7evhTVXAABdM0jXgyk8nwloGAGaxrIrGgCgcwZhTRUNZogYjbVpV7RPHwEA2s+OZxpPgKbR8i/QdOVd0dZcAQC011NhxzMFEKApgjVXAACttbGmyo5nSuAMNEVZX1/PQforAQBAGzxs0jYlEaApjgndAADFG4RJ2xRIgKZIJnQDABRrEIaFUShnoCnS6BduHi52OgAAKEU/XUeFZ0olQFOsPGgiXQ+G4WIAACV4Ir13O2ZYGCXTwk0rGC4GANBYOTDnSduPBxROgKY1DBcDAGicQRgWRosI0LSK4WIAAI3x7XQ94LwzbeIMNK2Sf0Gn60h6+EQAALAs+b3YqvBM26hA01qpGn0i3R4LAAAW6VHnnWkrAZpWcy4aAGBhBul6OIXnfkBLCdC03uhcdA7R9wcAAHVw3plOcAaa1hudiz4azkUDANQh73e+X3imCwRoOiP9Us+7oh+N4S5CAADmk99TPTp6jwWdoIWbzrHqCgBgboOw35kOUoGmc0btRbml+6kAAGBap9N1VHimiwRoOin9wl9L1/H08GQAADCp3LKdK8+OxNFJWrjpPKuuAAD2NAgrqkAFGkbtR8di2I4EAMCl+jFs2e4HdJwADXFh1dWDoaUbAGCz3LJ9TMs2DGnhhi1M6QYA0LIN21GBhi1GU7pzS7cp3QBAF42nbPcDuIQADdsYtXQfTw8fDQCAbsht2qZswy60cMMetHQDAB0wSNexUScesAMVaNjDqBp9JD18IgAA2ie/xzkqPMPeVKBhCqkafTzdHgvVaACgfLlN+0FnnWFyAjRMadTS/ZV0PRAAAGXqx3DK9iCAiWnhhilt2hltwBgAUJrxoDDnnWEGKtAwBwPGAICCfDtdDwjOMDsVaJjDpgFjJwMAoLmeSO9Z7heeYT4q0FAR1WgAoIEGMTzr3A9gbirQUJHRJ7pHw7orAKAZxuup+gFUQgUaapCq0avp9mSoRgMAizcIVWeohQo01GD0gnUsXU8FAMDiqDpDjVSgoWapGn083R4L1WgAoD6DUHWG2qlAQ83SC9mpUI0GAOqj6gwLogINC+RsNABQoUGoOsNCqUDDAo1e4EzqBgDmpeoMS6ACDUtibzQAMINBqDrD0qhAw5LkvdHpOpIengwAgL2dzO8dhGdYHhVoaADVaABgF/0YVp0HASyVCjQ0wKZq9MMxbM0CAFhL16PpPcIx4RmaQQUaGmZUjT6RrocCAOiq0zGsOq8F0BgCNDRUCtLH0+2x0NYNAF0yCEPCoLEEaGi4FKRPxDBIAwDtlSvNeTXV46rO0FwCNBRAWzcAtFo/DAmDIhgiBgUYDRk7HoaMAUCbDNL1oCFhUA4VaChMqkYfSLdHQls3AJRKuzYUSoCGQmnrBoAi9UO7NhRLgIbCmdYNAEUYhOnaUDwBGlpiNK07V6N7AQA0hXZtaBEBGlpEWzcANMqpdD0qOEN7CNDQQqMg/WS6VgMAWLR+uk5q14b2EaChxZyPBoCFGoRzztBqAjR0QArSee3Vl0OQBoA6OOcMHSFAQ0c4Hw0AlROcoWMEaOgYQRoAKnE6hgPCBgF0hgANHWXQGADMpB8GhEFnXRFAJ+VPzNN1LD18MIZDTwCAnfXTdSy/dgrP0F0q0MAGE7sBYFuDGLZqnw6g81SggQ3pjcGpdB1JDx8OFWkAyEPBcnA+IjwDYyrQwLZUpAHoKJO1gR0J0MCuUpA+EcOJ3b0AgPYSnIE9CdDAnkYTu4+HIA1A+wjOwMQEaGBigjQALSI4A1MToIGpCdIAFExwBmYmQAMzE6QBKIjgDMxNgAbmloL0gXR7IEztBqB5BGegMgI0UCnrrwBoCMEZqJwADdRCkAZgSc6k64kUmk8FQMUEaKBWoyCdz0ivBgDUp5+ukyk49wOgJgI0sBApSK/GxYFjAFCVfgjOwIII0MBCjSZ3nwhBGoDZ5TPNp9P1lOAMLJIADSzFKEg/kq4vhnPSAEzGYDBgqQRoYOkMHANgD3kw2FPpOiU4A8skQAONkYJ03iX95TBwDIChfjjfDDSIAA00jnPSAJ2WK8y52nxacAaaRoAGGmsUpFdDezdAFwxiGJydbwYaS4AGijBq784V6QcCgDbphzZtoBACNFCUTe3dnwtVaYBSmaYNFEmABoo1mt6dq9KrAUAJ+jEMzn3BGSiRAA0UT1UaoNHG1eY8FOxMABRMgAZaRVUaoDH6odoMtIwADbTSqCr9SLq+GKrSAIvibDPQagI00HopTK+m2/GwVxqgDjko99P1hEnaQNsJ0EBnbNorrcUbYH79dH09XadUm4GuEKCBTtLiDTCTcYt2Ds2DAOgYARrovE0t3qZ4A1wuh+anYjhFux8AHSZAA2ySwvQD6ZYv56WBLrtwrjldZ7RoAwwJ0ADbSEH6QAyD9BdHd4Au6MfFarPQDLCFAA2wB8PHgJbrh2FgABMRoAGmIEwDLdEPoRlgagI0wIy0eQMFySH5TGjPBpiLAA1QgVGYXo2LgfpAACxXDsmnY1hp7gvNAPMToAFqYDUWsCRWTgHUSIAGqFkK0/fHsDr9xXBuGqheP13PxLDK3A8AaiNAAyzQpiFk4zCt1RuY1rg1O4dm55kBFkiABliiUat3PjedW73vD4Dt5QFg48DcDwCWQoAGaIhN1el8OTsN3abKDNBAAjRAQzk7DZ0yXjM1nph9JgBoHAEaoBCjdu98fS4EamiDfoyGf6XrjCozQPMJ0AAFGu2dzhXqfH76EyFQQwn66fp2DFuzBWaAAgnQAC2wKVCvxsWBZCZ8w/KMW7JVmAFaRIAGaKlRy3cO0uNA3QugLjkc92MYmM+YlA3QTgI0QEeMpnyPq9TavmE+4+pyvuehX4MAoPUEaIAO21Kl7oVd1LCdQVw8v5wDs3ZsgI4SoAG4YNNZaqGarhqEsAzADgRoAHYlVNNiZ0aXsAzARARoAGaSgvV4MNlqDM9Um/xNUw1iGJBfiYtB+UwAwJQEaAAqs6Va3YthsO6FCeAsxiC2BOX8nKoyAFURoAGo3aZgPb5vDtaq1kwjh+FBXAzK48eCMgC1E6ABWKpN4boXF6vWmwM33TOIYVDeGpLXrIsCYJkEaAAaaxSue3FpoB4H7F5oDS/VIC4G5DdG9/HXayrJADSVAA1A0VLI7sXFkD2+37HNc9RvEBdbrPP9lU1fbzynggxAyQRoADphSzV76+M74mLI3vx8l61tuQaj51/Z8tzG84IxAF0gQAP/e7t2kAEADANRtDdp7n+q9iZVEiI6lGz/o8qQ7IcAELx053eZ/zmbaczKGlXGbfSsjzyKbtiPvBZkTqgBABAOAVT70t1v2PMAAAAASUVORK5CYII="})]})]})}function p_(){return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 3H8.57107C4.93698 3 2 6.05187 2 9.82812C2 10.4812 2.09142 11.1225 2.26284 11.74C2.5714 12.8206 3.13137 13.83 3.91989 14.6375L10.571 21.7031C10.7081 21.8575 10.8567 22 11.1424 22C11.4166 22 11.7137 21.8575 11.7137 21.4775V16.6562H15.325C18.9077 16.6562 21.9132 13.7156 21.9979 10H19.9972C19.9132 12.6336 17.7802 14.6562 15.325 14.6562H9.71375V17.8746L5.36362 13.2533L5.35082 13.2402C4.81405 12.6905 4.41325 11.9826 4.18801 11.198C4.06442 10.7504 4 10.2914 4 9.82812C4 7.08341 6.11319 5 8.57107 5H14V3Z",fill:"#444746"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 5C16.7614 5 19 2.76142 19 0C19 2.76142 21.2386 5 24 5C21.2386 5 19 7.23858 19 10C19 7.23858 16.7614 5 14 5Z",fill:"#444746"})]})}function x_(){return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M10.6092 7.48456L8.40749 10.2147C8.20159 10.47 7.80977 10.4613 7.61546 10.197L6.39885 8.54244C6.20022 8.27229 5.79721 8.27038 5.59603 8.53863L3.6 11.2C3.35279 11.5296 3.58798 12 4 12H13.9597C14.3789 12 14.612 11.515 14.3501 11.1877L11.3889 7.48609C11.1892 7.23651 10.8099 7.23577 10.6092 7.48456Z",fill:"#444746"}),(0,s.jsx)("circle",{cx:"5",cy:"5",r:"1",fill:"#444746"}),(0,s.jsx)("path",{d:"M17.5001 18.937C17.5001 20.0416 16.6046 20.937 15.5001 20.937C14.3955 20.937 13.5001 20.0416 13.5001 18.937C13.5001 17.8324 14.3955 16.937 15.5001 16.937C16.6046 16.937 17.5001 17.8324 17.5001 18.937Z",fill:"#444746"}),(0,s.jsx)("path",{d:"M13 0H5C2.23858 0 0 2.23858 0 5V13C0 15.7614 2.23858 18 5 18H7V16H5C3.34315 16 2 14.6569 2 13V5C2 3.34315 3.34315 2 5 2H13C14.6569 2 16 3.34315 16 5V12H18V5C18 2.23858 15.7614 0 13 0Z",fill:"#444746"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 13H18V14H21C22.1046 14 23 14.8954 23 16V22C23 23.1046 22.1046 24 21 24H10C8.89543 24 8 23.1046 8 22V16C8 14.8954 8.89543 14 10 14H13V13ZM21 16H10V22H21V16Z",fill:"#444746"})]})}function f_(){return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("g",{clipPath:"url(#clip0_4920_366)",children:(0,s.jsx)("path",{d:"M11 17H13V13H17V11H13V7H11V11H7V13H11V17ZM12 22C10.6167 22 9.31667 21.7417 8.1 21.225C6.88333 20.6917 5.825 19.975 4.925 19.075C4.025 18.175 3.30833 17.1167 2.775 15.9C2.25833 14.6833 2 13.3833 2 12C2 10.6167 2.25833 9.31667 2.775 8.1C3.30833 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.31667 8.1 2.8C9.31667 2.26667 10.6167 2 12 2C13.3833 2 14.6833 2.26667 15.9 2.8C17.1167 3.31667 18.175 4.025 19.075 4.925C19.975 5.825 20.6833 6.88333 21.2 8.1C21.7333 9.31667 22 10.6167 22 12C22 13.3833 21.7333 14.6833 21.2 15.9C20.6833 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6917 15.9 21.225C14.6833 21.7417 13.3833 22 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:"#444746"})}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_4920_366",children:(0,s.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]})}function m_(){return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M6 6C6 5.44772 6.44772 5 7 5C7.55228 5 8 5.44772 8 6V18C8 18.5523 7.55228 19 7 19C6.44772 19 6 18.5523 6 18V6Z",fill:"#444746"}),(0,s.jsx)("path",{d:"M3 11C3 10.4477 3.44772 10 4 10C4.55228 10 5 10.4477 5 11V13C5 13.5523 4.55228 14 4 14C3.44772 14 3 13.5523 3 13V11Z",fill:"#444746"}),(0,s.jsx)("path",{d:"M18 11C18 10.4477 18.4477 10 19 10C19.5523 10 20 10.4477 20 11V13C20 13.5523 19.5523 14 19 14C18.4477 14 18 13.5523 18 13V11Z",fill:"#444746"}),(0,s.jsx)("path",{d:"M9 8C9 7.44772 9.44772 7 10 7C10.5523 7 11 7.44772 11 8V16C11 16.5523 10.5523 17 10 17C9.44772 17 9 16.5523 9 16V8Z",fill:"#444746"}),(0,s.jsx)("path",{d:"M15 8C15 7.44772 15.4477 7 16 7C16.5523 7 17 7.44772 17 8V16C17 16.5523 16.5523 17 16 17C15.4477 17 15 16.5523 15 16V8Z",fill:"#444746"}),(0,s.jsx)("path",{d:"M12 3C12 2.44772 12.4477 2 13 2C13.5523 2 14 2.44772 14 3V21C14 21.5523 13.5523 22 13 22C12.4477 22 12 21.5523 12 21V3Z",fill:"#444746"})]})}function h_(){return(0,s.jsx)("svg",{width:"12",height:"7",viewBox:"0 0 12 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M1.11084 1.22852L5.58501 5.76568C5.81309 5.99727 6.18701 5.99727 6.41567 5.76568L10.8893 1.22852",stroke:"black",strokeWidth:"1.375",strokeLinecap:"round",strokeLinejoin:"round"})})}var A_=["a_initial","a_a_first_message-sent","a_b_second-message-sent","a_c_third-message-sent","a_d_fourth-message-sent","a_e_fifth-message-sent","a_f_sixth-message-sent","a_g_seventh-message-sent","a_h_eighth-message-sent","a_i_ninth-message-sent","b_voice-recognition-awaiting-interaction","c_voice-recognition-active","d_input-thinking","e_input-maps-connecting","f_input-messages-connecting","g_message-confirmation-pending","h_message-confirmed-and-sending","i_message-sent"],E_=(0,fe.ZP)((function(e,t){return{state:"a_initial",transitionTo:function(t){e({state:t})},transitionToNextState:function(){var a=t().state,s=A_.findIndex((function(e){return e===a})),i=A_[s+1];i&&e({state:i})},reset:function(){e({state:"a_initial"})},isBackgroundActive:function(){var e=t().state;return"b_voice-recognition-awaiting-interaction"===e||"c_voice-recognition-active"===e||"d_input-thinking"===e||"e_input-maps-connecting"===e||"f_input-messages-connecting"===e||"g_message-confirmation-pending"===e||"h_message-confirmed-and-sending"===e},isInputActive:function(){var e=t().state;return"b_voice-recognition-awaiting-interaction"===e||"c_voice-recognition-active"===e||"d_input-thinking"===e||"e_input-maps-connecting"===e||"f_input-messages-connecting"===e},isTooltipActive:function(){var e=t().state;return"b_voice-recognition-awaiting-interaction"===e||"c_voice-recognition-active"===e},isInputTutorialActive:function(){return"b_voice-recognition-awaiting-interaction"===t().state},isInputInteractive:function(){var e=t().state;return"b_voice-recognition-awaiting-interaction"===e||"c_voice-recognition-active"===e},isInputProcessing:function(){var e=t().state;return"d_input-thinking"===e||"e_input-maps-connecting"===e||"f_input-messages-connecting"===e},isMessagePromptActive:function(){var e=t().state;return"g_message-confirmation-pending"===e||"h_message-confirmed-and-sending"===e},isMessagePromptSending:function(){return"h_message-confirmed-and-sending"===t().state},shouldShowMessage:function(e){var a=t().state;return A_.findIndex((function(e){return e===a}))>=e},hasSentOneMessage:function(){return"a_initial"!==t().state},isResponseMessageActive:function(){return"i_message-sent"===t().state},isShimmerActive:function(){var e=t().state;return"b_voice-recognition-awaiting-interaction"===e||"c_voice-recognition-active"===e}}})),g_=H()(Object.values({th:"th:pt-[3px] th:pr-[2px]"}));function v_(e){var t=e.name.substring(0,1);return(0,s.jsx)("div",{className:"gpu flex h-8 w-8 items-center justify-center overflow-hidden rounded-full bg-cover bg-center",style:{backgroundImage:"url(".concat(Tg,")")},children:(0,s.jsx)("div",{className:H()("gpu text-1xl font-normal text-white",g_),children:t})})}var C_="/_next/static/media/emoji-message-dog.f765cc12.png",j_="/_next/static/media/emoji-message-crazy.e1f1c3d8.png",N_=H()(Object.values({id:"id:max-w-[310px]"})),T_=function(){var e=i.useCallback((function(e){null===e||void 0===e||e.scrollIntoView({behavior:"smooth",block:"nearest"})}),[]);return(0,s.jsx)("div",{ref:e})},w_=function(){return(0,s.jsx)("div",{className:"w-full px-6 pb-2 text-center",children:(0,s.jsx)("div",{className:"py-3",children:(0,s.jsx)("div",{className:"whitespace-no-wrap rounded-xl text-xs font-normal text-primary-black-400 ltr:pl-2 rtl:pr-2",children:g.t["@PARADIGM_GEMINI_MESSAGES_TODAY"]})})})},__=function(e){var t=e.text,a=e.messageIndex;return(0,E_().shouldShowMessage)(a)?(0,s.jsx)("div",{className:"w-full px-6 pb-1 smd:px-4 xxs:px-4",children:(0,s.jsx)("div",{className:"relative w-full items-end gap-x-2",children:(0,s.jsx)("div",{className:"flex-no-wrap flex flex-nowrap items-start justify-start ltr:text-left rtl:text-right",children:(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:H()("max-w-[300px] rounded-2xl bg-[#EDEDED] px-4 py-2 font-normal not-italic text-[#171717]",N_),children:(0,s.jsx)("div",{children:t})})})})})}):null};function b_(){return(0,s.jsxs)(s.Fragment,{children:[g.t["@PARADIGM_GEMINI_MESSAGES_FRIEND_MESSAGE_FOUR"]," ",(0,s.jsx)("img",{src:C_,className:"mx-0.5 -mt-[2px] inline-block h-6 w-6",alt:""})]})}function S_(){return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("img",{src:j_,className:"inline-block h-6 w-6",alt:""})})}var y_=function(){var e=new Date,t=(0,g.RA)(e,{hour:"numeric",minute:"2-digit"});return(0,s.jsx)("div",{className:"w-full px-6 pb-1 smd:px-4 xxs:px-4",children:(0,s.jsx)("div",{className:"relative w-full items-end gap-x-2",children:(0,s.jsx)("div",{className:"flex-no-wrap flex flex-nowrap items-start justify-start text-xs font-normal ltr:text-left rtl:text-right",children:(0,s.jsxs)("div",{className:"flex gap-1",children:[(0,s.jsx)("div",{className:"text-primary-black-400",children:t}),(0,s.jsx)("img",{alt:"",src:Kw,className:"w-4"}),(0,s.jsx)("img",{alt:"",src:Qw,className:"w-3.5"})]})})})})},R_=function(){return(0,s.jsx)("div",{className:"w-full px-6 pb-1",children:(0,s.jsx)("div",{className:"flex-no-wrap flex items-end justify-end ltr:text-right rtl:text-left",children:(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"text-primary-black-600 max-w-[300px] break-words rounded-3xl bg-[#D2E5F4] px-4 py-2 ltr:text-left rtl:text-right",children:(0,s.jsx)("div",{className:"whitespace-pre-wrap",children:g.t["@PARADIGM_GEMINI_MESSAGES_GENERATED_MESSAGE_PARAGRAPH_ONE"]})})})})})},L_=function(){var e=new Date,t=(0,g.RA)(e,{hour:"numeric",minute:"2-digit"}),a=(0,g.RA)(e,{month:"short",day:"numeric"});return(0,s.jsx)("div",{className:"w-full px-6 pb-1 smd:px-4 xxs:px-4",children:(0,s.jsx)("div",{className:"relative w-full items-end gap-x-2",children:(0,s.jsx)("div",{className:"flex-no-wrap flex flex-nowrap items-end justify-end text-xs font-normal ltr:text-right rtl:text-left",children:(0,s.jsx)("div",{className:"flex gap-1",children:(0,s.jsxs)("div",{className:"text-primary-black-400",children:[a,", ",t," \xb7 SMS"]})})})})})};function I_(){var e=E_(),t=e.isResponseMessageActive,a=e.hasSentOneMessage,n=e.state,r=i.useReducer((function(){return{}}),{})[1],l=(0,P.fv)().navigateTo,c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)(null);(0,i.useEffect)((function(){var e=document.createDocumentFragment(),t=function(t){var a=new Image;a.src=t,e.appendChild(a)};t(j_),t(C_)}),[]);var u=(0,P.qr)(),p=u.setBackButtonStack,x=u.appName;(0,i.useLayoutEffect)((function(){"gemini-messages"===x&&(d.current=function(){l.current({appName:"cross-app-action",path:"",shouldResetScreen:!0,shouldResetTutorial:!0})},setTimeout((function(){p([d])}),0),setTimeout((function(){r()}),10));var e=c.current;return e&&(e.scrollTop=e.scrollHeight),function(){}}),[x]);var f=a(),m=t();return(0,s.jsx)("div",{className:"absolute left-0 right-0 top-[45px] overflow-hidden",style:{height:"calc(100% - 180px)",borderRadius:"2rem",borderTopLeftRadius:"0",borderTopRightRadius:"0"},children:(0,s.jsx)("div",{ref:c,className:"scrolling-touch absolute bottom-0 left-0 right-0 top-0 overflow-y-auto overflow-x-hidden","data-ref":"app-chat-content",children:(0,s.jsxs)("div",{className:"relative h-[calc(100%_-_70px)] w-full",children:[(0,s.jsxs)("div",{className:"sticky top-0 z-20 pb-3",children:[(0,s.jsx)("div",{className:"pointer-events-none absolute h-[50px] w-full",style:{top:"calc(100% - 20px)"},children:(0,s.jsx)("div",{className:"absolute top-0 w-full"})}),(0,s.jsx)("div",{className:"relative px-6 smd:px-4 xxs:px-4",children:(0,s.jsxs)("div",{className:"grid grid-cols-5 gap-1",children:[(0,s.jsxs)("div",{className:"col-span-3 grid w-full grid-cols-6 items-center text-xl font-normal leading-none","data-ref":"app-messages-contact-details-button",children:[(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)("button",{"data-ref":"app-chat-button-close",className:"h-[40px] w-[30px] rtl:-scale-x-100 rtl:transform",onClick:function(){l.current({appName:"cross-app-action",path:"",shouldResetScreen:!0})},children:(0,s.jsx)("img",{alt:"",src:zw})})}),(0,s.jsx)("div",{className:"col-span-1","data-ref":"app-messages-list-item-container-title",children:(0,s.jsx)(v_,{name:g.t["@PARADIGM_GEMINI_FRIEND_NAME"]})}),(0,s.jsx)("div",{className:"col-span-4 truncate ltr:ml-3 rtl:mr-3 iframe:foldCover:ml-5",children:(0,s.jsx)("span",{className:"relative whitespace-nowrap text-lg font-normal not-italic text-primary-gray-600",children:g.t["@PARADIGM_GEMINI_FRIEND_NAME"]})})]}),(0,s.jsxs)("div",{className:"flex-no-wrap col-span-2 flex items-center justify-end gap-6",children:[(0,s.jsx)("div",{children:(0,s.jsx)(qw,{})}),(0,s.jsx)("div",{children:(0,s.jsx)(Jw,{})}),(0,s.jsx)("div",{children:(0,s.jsx)($w,{})})]})]})})]}),(0,s.jsx)("div",{className:"grid h-full w-full grid-cols-1 content-end",children:(0,s.jsxs)("div",{className:"overflow-y-scroll",ref:o,children:[f?(0,s.jsx)(w_,{}):null,(0,s.jsx)(__,{text:g.t["@PARADIGM_GEMINI_MESSAGES_FRIEND_MESSAGE_ONE"],messageIndex:1}),(0,s.jsx)(__,{text:g.t["@PARADIGM_GEMINI_MESSAGES_FRIEND_MESSAGE_TWO"],messageIndex:2}),(0,s.jsx)(__,{text:g.t["@PARADIGM_GEMINI_MESSAGES_FRIEND_MESSAGE_THREE"],messageIndex:3}),(0,s.jsx)(__,{text:(0,s.jsx)(b_,{}),messageIndex:4}),(0,s.jsx)(__,{text:g.t["@PARADIGM_GEMINI_MESSAGES_FRIEND_MESSAGE_FIVE"],messageIndex:5}),(0,s.jsx)(__,{text:g.t["@PARADIGM_GEMINI_MESSAGES_FRIEND_MESSAGE_SIX"],messageIndex:6}),(0,s.jsx)(__,{text:(0,s.jsx)(S_,{}),messageIndex:7}),(0,s.jsx)(__,{text:g.t["@PARADIGM_GEMINI_MESSAGES_FRIEND_MESSAGE_EIGHT"],messageIndex:8}),(0,s.jsx)(__,{text:g.t["@PARADIGM_GEMINI_MESSAGES_FRIEND_MESSAGE_NINE"],messageIndex:9}),f?(0,s.jsx)(y_,{}):null,m?(0,s.jsx)(R_,{}):null,m?(0,s.jsx)(L_,{}):null,(0,s.jsx)(T_,{},n)]})})]})})})}var P_={eslatam:"eslatam:text-sm eslatam:foldCover:text-xs",es:"es:smFlip:placeholder:text-xs es:flip:placeholder:text-xs",it:"it:smFlip:placeholder:text-xs it:flip:placeholder:text-xs",se:"se:smFlip:placeholder:text-xs se:flip:placeholder:text-xs",br:"br:smFlip:text-[11px] br:flip:text-[11px] br:foldCover:!text-[10px]",ru:"ru:foldCover:!text-[9px] ru:mobile-w-md:text-[3vw] ru:text-[3.5vw]",vn:"vn:smFlip:text-[11px] vn:flip:text-[11px] vn:foldCover:!text-[10px]",cz:"cz:smFlip:text-[11px] cz:flip:text-[11px] cz:foldCover:!text-[10px]",hu:"hu:smFlip:text-[11px] hu:flip:text-[11px] hu:foldCover:!text-[10px]"},O_={it:"it:foldCover:px-1.5"},M_=H()(Object.values(P_)),D_=H()(Object.values(O_));function G_(){var e=g.t.getLanguage();return(0,s.jsx)("div",{className:"absolute bottom-[80px] z-20 w-full",children:(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("div",{className:"relative px-6 py-2 smd:px-4 xxs:px-4",children:(0,s.jsxs)("div",{className:"flex-no-wrap flex items-center justify-center gap-2",children:[(0,s.jsx)("div",{className:"flex w-full items-center justify-center",children:(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)("div",{className:"relative h-[50px] w-full rounded-3xl bg-primary-gray-125",children:(0,s.jsx)("div",{className:H()("flex-no-wrap relative flex h-full w-full items-center px-3",D_),children:(0,s.jsxs)("div",{className:"flex w-full flex-nowrap gap-1.5",children:[(0,s.jsx)("div",{className:"relative flex items-center justify-center",children:(0,s.jsx)(e_,{})}),(0,s.jsx)("div",{className:"flex w-full items-center justify-center",children:(0,s.jsx)("input",{type:"text",className:H()("relative w-full bg-transparent mobile-w-md:text-[3.9vw]",M_,{"c-app-android-messages__field--opacity-100":"jp"!=e,"c-app-android-messages__field":"jp"==e}),placeholder:g.t["@PARADIGM_GEMINI_CHAT_WINDOW_TEXT_INPUT_PLACEHOLDER"],disabled:!0})}),(0,s.jsxs)("div",{className:"flex items-center justify-center gap-2 foldCover:gap-1.5",children:[(0,s.jsx)(p_,{}),(0,s.jsx)(x_,{}),(0,s.jsx)(f_,{})]})]})})})})}),(0,s.jsx)("div",{className:"flex h-[50px] w-[50px] shrink-0 items-center justify-center rounded-full bg-primary-gray-125",children:(0,s.jsx)(m_,{})})]})})})})}var k_="th"===z.e.languageCode?5600:1600,H_=H()(Object.values({eslatam:"eslatam:foldCover:text-xs"}));function B_(){var e=E_().state,t=function(e){if(["jp","th"].includes(z.e.languageCode)){var t=new Intl.Segmenter(z.e.languageCode,{granularity:"word"}).segment(e);return Array.from(t).map((function(e){return e.segment}))}return e.match(/\S+|\s/g)||[]}(g.t.formatString(g.t["@PARADIGM_GEMINI_INPUT_VOICE_RECOGNITION_INPUT_TEXT"],g.t["@PARADIGM_GEMINI_FRIEND_NAME"])),a="c_voice-recognition-active"===e,s=(0,pe.Z)(i.useState(Array(t.length).fill(.5)),2),n=s[0],r=s[1];i.useEffect((function(){if(a){var e=0,s=setInterval((function(){r((function(t){var a=(0,G.Z)(t);return e<a.length?(a[e]=1,e++):clearInterval(s),a}))}),300);return function(){return clearInterval(s)}}r(Array(t.length).fill(.5))}),[a]);var l=i.useMemo((function(){var e=n[n.length-1];return!!e&&1===e}),[n]);return{animating:a,animationComplete:l,words:t.map((function(e,t){return{text:e,opacity:n[t]}}))}}function U_(){var e=i.useRef(null),t=E_(),a=t.transitionToNextState,n=t.isInputInteractive,r=t.isInputTutorialActive,l=t.state,c=B_(),o=c.animating,d=c.animationComplete,u=c.words,p=n(),x=r();i.useEffect((function(){if(d){var e=setTimeout((function(){a()}),k_);return function(){clearTimeout(e)}}}),[d]),i.useEffect((function(){null!==e.current&&o&&I.ZP.fromTo(e.current,{opacity:0},{width:0,duration:.4})}),[o]);var f=function(e){var t=(0,pe.Z)(i.useState(e.initial),2),a=t[0],s=t[1],n=(0,pe.Z)(i.useState(e.initial),2),r=n[0],l=n[1];return i.useEffect((function(){s(e.initial)}),[e.initial]),i.useEffect((function(){var t=setTimeout((function(){return l(a)}),e.delay);return function(){return clearTimeout(t)}}),[a]),r}({initial:o,delay:300}),m=i.useCallback((function(){"b_voice-recognition-awaiting-interaction"===l&&a()}),[l]);return(0,s.jsxs)("div",{className:H()("flex min-h-[94px] w-full flex-nowrap items-center gap-2 px-4 py-1",{hidden:!p}),children:[(0,s.jsx)(t_,{}),f?(0,s.jsx)("div",{className:H()("flex-1 px-2 text-sm font-medium leading-5 text-primary-black-400",H_),children:u.map((function(e,t){var a=e.text,i=e.opacity;return(0,s.jsxs)("span",{style:{opacity:i,transition:"opacity 0.5s",display:"inline-block"},children:[" "===a?"\xa0":a,t<u.length-1&&" "," "]},t)}))}):(0,s.jsx)("div",{className:"mt-[2px] flex-1 px-2 font-medium text-primary-black-400 ltr:font-googleSans rtl:font-sansAr xsm:px-0 xsm:text-sm",children:g.t["@PARADIGM_GEMINI_INPUT_PLACEHOLDER_TEXT"]}),(0,s.jsx)("div",{className:"w-8",children:(0,s.jsxs)("div",{className:"relative flex items-center justify-center",onClick:m,children:[(0,s.jsx)(Rr,{type:"circle",hidden:!x,width:"40px",height:"40px"}),(0,s.jsx)(a_,{})]})}),(0,s.jsx)("div",{className:"w-8",ref:e,children:(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)(s_,{})})},"".concat(x))]})}var Z_=a(60357),Y_=a.n(Z_);function F_(e){var t=e.color,a=void 0===t?"#0B57D0":t,i=e.backgroundColor,n=void 0===i?"#e0e0e0":i,r=e.icon,l=2*Math.PI*15,c="ai"===r?n_:"maps"===r?r_:o_;return(0,s.jsxs)("div",{style:{width:32,height:32,position:"relative"},className:Y_().dynamic([["dee771a5809e7483",[l,-l]]]),children:[(0,s.jsx)("div",{className:Y_().dynamic([["dee771a5809e7483",[l,-l]]])+" absolute inset-0 left-1/2 top-1/2 flex h-4 w-4 -translate-x-1/2 -translate-y-1/2 transform items-center justify-center text-center",children:(0,s.jsx)(c,{className:Y_().dynamic([["dee771a5809e7483",[l,-l]]])})}),(0,s.jsxs)("svg",{width:32,height:32,viewBox:"0 0 ".concat(32," ",32),style:{transform:"rotate(-90deg)"},className:Y_().dynamic([["dee771a5809e7483",[l,-l]]]),children:[(0,s.jsx)("circle",{cx:16,cy:16,r:15,fill:"none",stroke:n,strokeWidth:2,className:Y_().dynamic([["dee771a5809e7483",[l,-l]]])}),(0,s.jsx)("circle",{cx:16,cy:16,r:15,fill:"none",stroke:a,strokeWidth:2,strokeLinecap:"round",strokeDasharray:l,strokeDashoffset:l,style:{animation:"spinner-animation 2s linear infinite"},className:Y_().dynamic([["dee771a5809e7483",[l,-l]]])})]}),(0,s.jsx)(Y_(),{id:"dee771a5809e7483",dynamic:[l,-l],children:"@-webkit-keyframes spinner-animation{0%{stroke-dashoffset:".concat(l,"}50%{stroke-dashoffset:0}100%{stroke-dashoffset:").concat(-l,"}}@-moz-keyframes spinner-animation{0%{stroke-dashoffset:").concat(l,"}50%{stroke-dashoffset:0}100%{stroke-dashoffset:").concat(-l,"}}@-o-keyframes spinner-animation{0%{stroke-dashoffset:").concat(l,"}50%{stroke-dashoffset:0}100%{stroke-dashoffset:").concat(-l,"}}@keyframes spinner-animation{0%{stroke-dashoffset:").concat(l,"}50%{stroke-dashoffset:0}100%{stroke-dashoffset:").concat(-l,"}}")})]})}function V_(){var e=i.useRef(null),t=i.useRef(null),a=i.useRef(null),n=E_(),r=n.state,l=(0,n.isInputProcessing)(),c="d_input-thinking"===r?"ai":"e_input-maps-connecting"===r?"maps":"messages",o="d_input-thinking"===r,d="e_input-maps-connecting"===r,u="f_input-messages-connecting"===r;return i.useEffect((function(){null!==e.current&&o&&I.ZP.fromTo(e.current,{opacity:0},{opacity:1,duration:.2})}),[o]),i.useEffect((function(){null!==t.current&&d&&I.ZP.fromTo(t.current,{opacity:0},{opacity:1,duration:.2})}),[d]),i.useEffect((function(){null!==a.current&&u&&I.ZP.fromTo(a.current,{opacity:0},{opacity:1,duration:.2})}),[u]),(0,s.jsxs)("div",{className:H()("flex min-h-[94px] w-full flex-nowrap items-center gap-4 px-4 py-1 pb-6 ltr:font-googleSans rtl:font-sansAr",{hidden:!l}),children:[(0,s.jsx)(F_,{icon:c}),o&&(0,s.jsx)("div",{ref:e,className:"flex-1",children:(0,s.jsx)("p",{className:"text-sm leading-5 text-primary-gray-260",children:g.t["@PARADIGM_GEMINI_INPUT_AI_THINKING_TEXT"]})}),d&&(0,s.jsxs)("div",{ref:t,className:"flex flex-1 flex-col",children:[(0,s.jsx)("p",{className:"text-sm leading-5 text-black",children:g.t["@PARADIGM_GEMINI_INPUT_GOOGLE_MAPS_TITLE_TEXT"]}),(0,s.jsx)("p",{className:"text-sm leading-5 text-primary-gray-260",children:g.t["@PARADIGM_GEMINI_INPUT_GOOGLE_MAPS_CONNECTING_TEXT"]})]}),u&&(0,s.jsxs)("div",{ref:a,className:"flex flex-1 flex-col",children:[(0,s.jsx)("p",{className:"text-sm leading-5 text-black",children:g.t["@PARADIGM_GEMINI_INPUT_GOOGLE_MESSAGES_TITLE_TEXT"]}),(0,s.jsx)("p",{className:"text-sm leading-5 text-primary-gray-260",children:g.t["@PARADIGM_GEMINI_INPUT_GOOGLE_MESSAGES_CONNECTING_TEXT"]})]})]})}var W_="/_next/static/media/icon-book.8cd61b7f.png";function X_(){var e=i.useRef(null),t=(0,E_().isTooltipActive)();return i.useEffect((function(){null!==e.current&&(t?I.ZP.to(e.current,{opacity:1,display:"flex"}):I.ZP.fromTo(e.current,{opacity:1},{opacity:0}).then((function(){I.ZP.to(e.current,{display:"none"})})))}),[t]),(0,s.jsx)("div",{ref:e,className:"relative flex w-full justify-center",children:(0,s.jsxs)("div",{className:"absolute bottom-7 mx-auto text-black",children:[(0,s.jsxs)("div",{className:"flex max-w-[18rem] items-center gap-2 rounded-full bg-white p-2 px-4",children:[(0,s.jsx)("div",{className:"relative inline-block w-[42px] min-w-[42px]",children:(0,s.jsx)("img",{src:W_,alt:""})}),(0,s.jsx)("p",{children:g.t["@PARADIGM_GEMINI_INPUT_TOOLTIP_TEXT"]})]}),(0,s.jsx)("div",{className:"absolute left-1/2 -bottom-1 -translate-x-1/2 rotate-45 rounded-sm border-[5px] border-solid border-white"})]})})}function K_(){var e=i.useRef(null),t=(0,E_().isShimmerActive)();return i.useEffect((function(){e.current&&(t?I.ZP.fromTo(e.current,{opacity:0},{opacity:1,delay:.3}):I.ZP.fromTo(e.current,{opacity:1},{opacity:0}))}),[t]),(0,s.jsx)("div",{ref:e,className:"gpu absolute inset-0 -z-[10]",children:(0,s.jsxs)("div",{className:"gpu absolute -inset-2 -z-[10] rounded-[32px] opacity-90 blur-sm",children:[(0,s.jsxs)("div",{className:"absolute inset-0 z-10 overflow-hidden",children:[(0,s.jsx)("div",{className:"absolute top-0 left-0 h-full w-4 rounded-l-full bg-gradient-to-b from-blue-400 to-blue-300"}),(0,s.jsx)("div",{className:"absolute top-0 left-0 h-4 w-[60%] rounded-tl-full bg-gradient-to-r from-blue-400 via-blue-600 to-indigo-600"}),(0,s.jsx)("div",{className:"absolute top-0 left-[60%] h-4 w-[5%] bg-gradient-to-r from-indigo-600 via-fuchsia-600 to-red-600"}),(0,s.jsx)("div",{className:"absolute top-0 left-[65%] h-4 w-[35%] rounded-tr-full bg-gradient-to-r from-red-600 via-red-500 to-orange-600"}),(0,s.jsx)("div",{className:"absolute top-0 right-0 h-full w-4 rounded-r-full bg-gradient-to-b from-orange-600 via-orange-400 to-yellow-600"}),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 h-4 w-[40%] rounded-bl-full bg-gradient-to-r from-blue-300 via-blue-600 to-green-700"}),(0,s.jsx)("div",{className:"absolute bottom-0 left-[40%] h-4 w-[20%] bg-gradient-to-r from-green-700 to-green-400"}),(0,s.jsx)("div",{className:"absolute bottom-0 left-[60%] h-4 w-[40%] rounded-br-full bg-gradient-to-r from-green-400 via-yellow-400 to-yellow-600"})]}),(0,s.jsx)("div",{className:"absolute inset-0 z-10",style:{background:"radial-gradient(ellipse at center, rgba(255,255,255,0) 30%, rgba(255,255,255,0.5) 100%)"}})]})})}function Q_(){var e=i.useRef(null),t=(0,E_().isInputActive)();return i.useEffect((function(){e.current&&(t?I.ZP.fromTo(e.current,{opacity:0,y:30},{opacity:1,y:0,duration:.3}):I.ZP.to(e.current,{opacity:0,y:30}))}),[t]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:H()("absolute inset-0 z-9999 h-full",{hidden:!t}),children:(0,s.jsx)("div",{ref:e,className:"z-2 absolute inset-0 flex justify-center",children:(0,s.jsxs)("div",{className:"absolute bottom-[104px] mx-auto w-full rounded-lg rounded-r-2xl px-4 text-black",children:[(0,s.jsx)(X_,{}),(0,s.jsxs)("div",{className:"relative rounded-3xl bg-white",children:[(0,s.jsx)(K_,{}),(0,s.jsx)(U_,{}),(0,s.jsx)(V_,{})]})]})})})})}var z_={vn:"vn:foldCover:text-sm"},q_={vn:"vn:foldCover:text-sm"},J_=H()(Object.values(z_)),$_=H()(Object.values(q_));function eb(){var e=(0,E_().isMessagePromptSending)();return(0,s.jsx)("div",{className:"flex flex-col gap-1 pb-4",children:e?(0,s.jsx)("p",{children:g.t["@PARADIGM_GEMINI_MESSAGES_GENERATED_MESSAGE_INFO_SENDING_TEXT"]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{children:g.t.formatString(g.t["@PARADIGM_GEMINI_MESSAGES_GENERATED_MESSAGE_INFO_PARAGRAPH_ONE"],g.t["@PARADIGM_GEMINI_FRIEND_NAME"])}),(0,s.jsx)("p",{children:g.t["@PARADIGM_GEMINI_MESSAGES_GENERATED_MESSAGE_INFO_PARAGRAPH_TWO"]})]})})}function tb(){var e=E_(),t=e.transitionToNextState,a=(0,e.isMessagePromptSending)();return(0,s.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,s.jsxs)("div",{className:"flex flex-row items-center gap-4 rounded-t-2xl bg-[#EFF4F8] px-4",children:[(0,s.jsx)(u_,{}),(0,s.jsx)("div",{className:"py-4 text-base font-semibold text-black",children:g.t["@PARADIGM_GEMINI_MESSAGES_GENERATED_MESSAGE_CARD_TITLE"]})]}),(0,s.jsxs)("div",{className:"rounded-b-2xl bg-[#EFF4F8] px-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-4 py-4",children:[(0,s.jsx)(v_,{name:g.t["@PARADIGM_GEMINI_FRIEND_NAME"]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-sm font-semibold leading-5 text-black",children:g.t["@PARADIGM_GEMINI_FRIEND_NAME"]}),(0,s.jsx)("div",{className:"text-sm leading-5 text-primary-gray-260",children:g.t["@PARADIGM_GEMINI_FRIEND_NUMBER"]})]})]}),(0,s.jsx)("div",{className:"whitespace-pre-wrap",children:g.t["@PARADIGM_GEMINI_MESSAGES_GENERATED_MESSAGE_PARAGRAPH_ONE"]}),(0,s.jsxs)("div",{className:"relative flex flex-row items-center justify-between gap-2 py-4",children:[(0,s.jsx)("button",{className:H()("w-full rounded-full border-2 border-[#747775] bg-transparent py-2 text-lg text-[#0B57D0]",J_),disabled:a,children:(0,s.jsxs)("div",{className:"flex items-center justify-center gap-1 ltr:mr-3 rtl:ml-3",children:[(0,s.jsx)(l_,{color:"#0B57D0"}),g.t["@PARADIGM_GEMINI_MESSAGES_GENERATED_MESSAGE_MODIFY_BUTTON_TEXT"]]})}),(0,s.jsxs)("button",{className:H()("relative w-full rounded-full bg-[#0B57D0] py-2 text-lg text-white",$_),onClick:function(){t()},disabled:a,children:[(0,s.jsx)(Rr,{hidden:a,type:"rounded-3xl",height:"118%",width:"106%"}),a?g.t["@PARADIGM_GEMINI_MESSAGES_GENERATED_MESSAGE_SEND_BUTTON_SENDING_TEXT"]:g.t["@PARADIGM_GEMINI_MESSAGES_GENERATED_MESSAGE_SEND_BUTTON_TEXT"]]})]})]})]})}function ab(){var e=i.useRef(null),t=i.useRef(null),a=(0,E_().isMessagePromptSending)();return i.useEffect((function(){null!==e.current&&a&&I.ZP.fromTo(e.current,{opacity:0},{opacity:1,duration:.3})}),[a]),i.useEffect((function(){null!==t.current&&a&&I.ZP.fromTo(t.current,{opacity:0},{opacity:1,duration:.3})}),[a]),(0,s.jsx)("div",{className:"flex min-h-[80px] flex-row items-center gap-5 p-4",children:a?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(F_,{icon:"messages"}),(0,s.jsxs)("div",{ref:e,children:[(0,s.jsx)("div",{className:"text-base font-semibold text-black",children:g.t["@PARADIGM_GEMINI_MESSAGES_MESSAGE_TITLE_TEXT"]}),(0,s.jsx)("div",{className:"text-sm leading-5 text-primary-gray-260",children:g.t["@PARADIGM_GEMINI_MESSAGES_MESSAGE_CONNECTING_TEXT"]})]}),(0,s.jsx)("div",{className:"flex-grow"}),(0,s.jsx)(d_,{}),(0,s.jsx)(l_,{})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n_,{}),(0,s.jsx)("div",{ref:t,children:(0,s.jsxs)("div",{className:"flex flex-row items-center gap-2 text-base font-semibold text-black",children:[g.t["@PARADIGM_GEMINI_MESSAGES_MESSAGE_AND_1_MORE_TITLE_TEXT"]," ",(0,s.jsx)(h_,{})]})}),(0,s.jsx)("div",{className:"flex-grow"}),(0,s.jsx)(c_,{}),(0,s.jsx)(l_,{})]})})}function sb(){var e=i.useRef(null),t=i.useRef(null),a=i.useRef(null),n=(0,E_().isMessagePromptActive)();return i.useEffect((function(){null!==t.current&&null!==a.current&&n&&(I.ZP.fromTo(t.current,{height:"70px"},{height:"70%",duration:.4}),I.ZP.fromTo(a.current,{opacity:0},{opacity:1,duration:.4}))}),[n]),i.useEffect((function(){null!==e&&(n?I.ZP.to(e.current,{display:"block",opacity:1}):I.ZP.fromTo(e.current,{opacity:1},{opacity:0,duration:.2}).then((function(){I.ZP.to(e.current,{display:"none"})})))}),[n]),(0,s.jsx)("div",{ref:e,className:"absolute inset-0 z-9999 h-full",children:(0,s.jsx)("div",{className:"z-2 absolute inset-0 flex justify-center",children:(0,s.jsx)("div",{ref:t,className:"absolute bottom-[104px] mx-auto flex h-[70%] w-full flex-col rounded-lg rounded-r-2xl px-4 text-black",children:(0,s.jsxs)("div",{className:"flex h-full flex-1 flex-col gap-2 rounded-3xl bg-white",children:[(0,s.jsx)(ab,{}),(0,s.jsxs)("div",{ref:a,className:"overflow-auto px-4",children:[(0,s.jsx)(eb,{}),(0,s.jsx)(tb,{})]},"".concat(n)),(0,s.jsx)("div",{className:"mt-auto px-4 pb-2",children:(0,s.jsx)("div",{className:"w-full rounded-3xl border bg-white",children:(0,s.jsx)("div",{className:"flex min-h-[70px] w-full flex-nowrap items-center gap-2 px-4 py-1 xsm:gap-1 xsm:px-2",children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t_,{}),(0,s.jsx)("div",{className:"mt-[2px] flex-1 px-2 font-medium text-primary-black-400 ltr:font-googleSans rtl:font-sansAr mini:text-sm xsm:whitespace-nowrap xsm:p-0 xsm:text-sm xxs:text-sm",children:g.t["@PARADIGM_GEMINI_INPUT_PLACEHOLDER_TEXT"]}),(0,s.jsx)("div",{className:"flex w-8 items-center justify-center",children:(0,s.jsx)(a_,{})}),(0,s.jsx)("div",{className:"flex w-8 items-center justify-center",children:(0,s.jsx)(i_,{})})]})})})})]})})})})}function ib(){var e=(0,E_().isBackgroundActive)(),t=i.useRef(null);return i.useEffect((function(){null!==t.current&&(e?I.ZP.fromTo(t.current,{opacity:0},{opacity:.2,duration:.6,ease:"power3.out"}):I.ZP.fromTo(t.current,{opacity:.2},{opacity:0,duration:.2,ease:"power3.out"}))}),[e]),(0,s.jsx)("div",{className:H()("absolute inset-0 z-30",{hidden:!e}),children:(0,s.jsx)("div",{ref:t,className:H()("absolute inset-0 bg-black")})})}var nb={a_initial:1500,"a_a_first_message-sent":668,"a_b_second-message-sent":615,"a_c_third-message-sent":585,"a_d_fourth-message-sent":570,"a_e_fifth-message-sent":525,"a_f_sixth-message-sent":540,"a_g_seventh-message-sent":570,"a_h_eighth-message-sent":548,"a_i_ninth-message-sent":533,"b_voice-recognition-awaiting-interaction":-1,"c_voice-recognition-active":-1,"d_input-thinking":4800,"e_input-maps-connecting":3500,"f_input-messages-connecting":2900,"g_message-confirmation-pending":-1,"h_message-confirmed-and-sending":4200,"i_message-sent":-1};function rb(){var e=(0,P.qr)().appName,t=E_(),a=t.state,n=t.reset;return function(){var e=(0,P.qr)().appName,t=E_(),a=t.state,s=t.transitionToNextState,n=(0,pe.Z)(i.useState(!1),2),r=n[0],l=n[1],c=i.useRef();i.useEffect((function(){if(c.current&&clearTimeout(c.current),r){var e=nb[a];if(-1!==e)return c.current=setTimeout((function(){s()}),e),function(){c.current&&clearTimeout(c.current)}}}),[a,r]),i.useLayoutEffect((function(){l("gemini-messages"===e)}),[e])}(),eT("i_message-sent"===a),i.useEffect((function(){"gemini-messages"!==e&&"a_initial"!==a&&n()}),[e]),(0,s.jsxs)(LN,{appTitle:"gemini-messages",tracking:null,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-white","data-ref":"app-view-background"}),(0,s.jsx)(I_,{}),(0,s.jsx)(G_,{}),(0,s.jsx)(ib,{}),(0,s.jsx)(Q_,{}),(0,s.jsx)(sb,{})]})}var lb=function(e){var t,a=e.wrapperRef,i=pg("galaxyZFlip"),n=i.src,r=null!==(t=i.hotspots)&&void 0!==t?t:[];return(0,s.jsx)(dg,{title:"galaxy-z-flip-0",video:n,pauseTimes:[7,15,27],hotspotPositions:r,soundPath:"experience",wrapperRef:a})},cb=function(e){var t,a=e.wrapperRef,i=pg("galaxyZFold"),n=i.src,r=null!==(t=i.hotspots)&&void 0!==t?t:[];return(0,s.jsx)(dg,{title:"galaxy-z-fold-0",video:n,pauseTimes:[4.5,15.5,29],hotspotPositions:r,soundPath:"experience",wrapperRef:a})},ob=H()(Object.values({de:"de:whitespace-pre-line de:text-xs de:mobile-w-md:text-[3.1vw]",hr:"hr:whitespace-pre-line smd:text-xs flip:text-xs smFlip:text-xs"})),db=function(){var e=(0,P.qr)(),t=e.appName,a=e.setAppActiveData,n=(0,i.useContext)(tg).setScreen,r=(0,i.useRef)(null),l=(0,i.useRef)(null),c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)(null);(0,i.useEffect)((function(){var e=r.current,s=l.current,i=c.current,d=o.current;"galaxy-z-series"===t?e&&i&&s&&d&&a({appContainer:e,appViewContent:i,appViewContainer:s,appViewIcon:d}):n("Home")}),[t]),(0,i.useEffect)((function(){Y(r.current)}),[]);var u=function(e,t){(0,V.Kq)("/app/galaxy-z-series/".concat(e),t,"pageview"),n(e)};return(0,s.jsx)("div",{className:"absolute inset-0","data-component":"app-view","data-app-view-name":"galaxy-z-series","data-app-view-is-header-transparent":"true","data-track-title":M.dC.GalaxyZSeries,"data-track-path":"/app/galaxy-z-series",style:{display:"block"},ref:r,children:(0,s.jsxs)("div",{className:"absolute inset-0 overflow-hidden text-primary-gray-400","data-ref":"app-view-container",style:{transformOrigin:"0% 0%",transform:"translate(0px, 0px)"},ref:l,children:[(0,s.jsxs)("div",{className:"gpu absolute inset-0","data-ref":"app-view-content",style:{minWidth:"100vw",minHeight:"100vh",opacity:1,transformOrigin:"0px 0px",transform:"translate(0px, 0px)"},"data-component":"app-galaxy-z-series",ref:c,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-white","data-ref":"app-view-background"}),(0,s.jsx)("div",{className:"absolute inset-0",ref:d,children:(0,s.jsxs)("div",{className:"relative top-1/2 m-auto max-w-[82%] -translate-y-1/2 text-center",children:[(0,s.jsx)("h5",{className:"mb-4 text-2xl font-bold text-dark",children:g.t["@PARADIGM_GALAXY-Z-SERIES_TEXT-TITLE"]}),(0,s.jsx)("p",{className:H()("mb-12 text-sm font-semibold",ob),children:g.t["@PARADIGM_GALAXY-Z-SERIES_TEXT-DESCRIPTION"]}),(0,s.jsxs)("div",{className:"flex justify-end gap-x-4",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center gap-y-3",children:[(0,s.jsx)(yl,{"data-loader":"image",className:"h-auto w-full",src:"galaxy-z/galaxy-z-fold6.jpg",alt:""}),(0,s.jsx)("p",{className:"text-sm font-bold",children:g.t["@PARADIGM_GALAXY-Z-SERIES_TEXT-Z-FOLD6-OPTION"]}),(0,s.jsx)("button",{"data-component":"app-link","data-app-link-id":"galaxy-z-fold-0","data-app-link-location":"app",className:"rounded-full bg-[#E9E9EC] px-5 py-1.5 text-xs font-normal",onClick:function(){return u("galaxy-z-fold-0","Galaxy Z Fold 6")},children:g.t["@PARADIGM_GALAXY-Z-SERIES_BUTTON-EXPLORE"]})]}),(0,s.jsxs)("div",{className:"flex flex-col items-center justify-end gap-y-3",children:[(0,s.jsx)(yl,{"data-loader":"image",className:"mb-2.5 w-full",src:"galaxy-z/galaxy-z-flip6.jpg",alt:""}),(0,s.jsx)("p",{className:"text-sm font-bold",children:g.t["@PARADIGM_GALAXY-Z-SERIES_TEXT-Z-FLIP6-OPTION"]}),(0,s.jsx)("button",{"data-component":"app-link","data-app-link-id":"galaxy-z-flip-0","data-app-link-location":"app",className:"rounded-full bg-[#E9E9EC] px-5 py-1.5 text-xs font-normal",onClick:function(){return u("galaxy-z-flip-0","Galaxy Z Flip 6")},children:g.t["@PARADIGM_GALAXY-Z-SERIES_BUTTON-EXPLORE"]})]})]})]})}),(0,s.jsx)(lb,{wrapperRef:d}),(0,s.jsx)(cb,{wrapperRef:d})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0",children:(0,s.jsx)("button",{className:"gpu absolute left-0 top-0","data-ref":"app-view-icon",style:{opacity:0,transformOrigin:"0% 100%",transform:"translate(0px, 499px) scale(6.4, 6.4)"},ref:o,children:(0,s.jsx)("div",{className:"max-w-icon overflow-hidden rounded-3xl",children:(0,s.jsx)("img",{src:D("icons/app-foldable-film.png"),"data-component":"app-themes-changes",className:"",alt:""})})})})]})})},ub=function(){return(0,s.jsx)(ag,{children:(0,s.jsx)(db,{})})},pb={gr:"gr:font-greekFonts"},xb={gr:"gr:font-greekFonts"},fb={gr:"gr:font-greekFonts",cn:"cn:text-left"},mb=H()(Object.values(pb)),hb=H()(Object.values(xb)),Ab=H()(Object.values(fb)),Eb="".concat(M.yb.path,"/").concat(z.e.instantSlowMoVideoSrc),gb=function(){var e="instant-slow-mo",t=(0,i.useRef)(null),a=(0,i.useContext)(tg),n=a.setScreen,r=a.screen,l=(0,P.qr)().appName;(0,i.useEffect)((function(){l!==e&&"Home"!==r.current&&n("Home")}),[l,n]);var c=e===l;return(0,s.jsxs)(LN,{appTitle:e,tracking:null,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-white","data-ref":"app-view-background"}),(0,s.jsx)("div",{ref:t,className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsxs)(MN,{children:[(0,s.jsx)(MN.Title,{className:mb,children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-INSTANT-SLOW-MO_TITLE"]}),(0,s.jsx)(MN.Video,{isActive:c,videoSrc:Eb}),(0,s.jsx)(MN.Description,{className:hb,children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-INSTANT-SLOW-MO_DETAILS"]}),(0,s.jsx)(MN.Disclaimer,{className:Ab,children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-INSTANT-SLOW-MO_DISCLAIMER"]})]})})]})},vb=function(){return(0,s.jsx)(ag,{children:(0,s.jsx)(gb,{})})},Cb=function(){document.querySelectorAll('*[data-component="slider"][data-slider-location="dashboard"]').forEach((function(e){!function(e){if(e){var t=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});e.dispatchEvent(t)}else console.error("Target element is required for simulateClick.")}(e)}))},jb=function(e){var t,a=e.title,n=e.video,r=e.pauseTimes,l=e.hotspotPositions,c=e.soundPath,o=e.isProgressBarClickable,d=void 0!==o&&o,u=e.dashboardFooterRef,p=e.isShowProgress,x=void 0===p||p,f=(0,P.qr)(),m=f.appName,h=f.setAppActiveData,A=f.isAppOpen,E=f.setIsAppOpen,g=f.isAppOpenTransitioning,v=(0,i.useRef)(null),C=(0,i.useState)(0),j=C[0],N=C[1],T=(0,i.useState)(0),w=T[0],_=T[1],b=(0,i.useState)(0),S=b[0],y=b[1],R=(0,i.useState)(!1),L=R[0],O=R[1],D=(0,i.useRef)(null),G=(0,i.useRef)(null),k=(0,i.useRef)(null),B=(0,i.useRef)(null),U=(0,i.useRef)(null),Z=(0,i.useRef)(null),Y=(0,i.useRef)(null),F=(0,i.useRef)(null),V=(0,i.useRef)(null),W=(0,i.useRef)(),X=function(e){e<r.length+1&&_(e+=1)},K=function(){clearTimeout(W.current);var e=V.current;"paused"!==e.getState()?e.pause():(e.play(),U.current.classList.add("invisible"))},Q=function(){K()};return(0,i.useEffect)((function(){var e,t=V.current;return m===a&&A?(e=setInterval((function(){t&&N(t.getPosition())}),100),j>r[w]&&(t.pause(),U.current.classList.remove("invisible"),clearTimeout(W.current),W.current=setTimeout(Q,5e3),U.current.style.top="".concat(l[w].top,"%"),U.current.style.left="".concat(l[w].left,"%"),X(w))):N(0),function(){return clearInterval(e)}}),[j,m,A,N]),(0,i.useLayoutEffect)((function(){v.current||(v.current=new kp.Howl({src:"/assets/audio/".concat(c,"/loop.mp3"),loop:!0}));var e=D.current,t=G.current,s=k.current;m===a&&h({appContainer:e,appViewContent:s,appViewContainer:t});var i=B.current,n=Z.current,r=Y.current,l=F.current,o=v.current,d=u?u.current:null,p=V.current,x=!1,f=!1,C=!0,j=function(){I.ZP.set(i,{display:"none"})},N=function(){clearTimeout(W.current),o&&(o.pause(),o.seek(0),o.volume(0)),_(0),U.current.classList.add("invisible")},T=function(){I.ZP.killTweensOf([i]),I.ZP.set(i,{display:"block"}),p.stop(),I.ZP.killTweensOf(n),I.ZP.set(n,{opacity:1,pointerEvents:"none"}),N()},w=function(){x||(x=!0,I.ZP.killTweensOf(l),I.ZP.to(l,{opacity:1,duration:.3,ease:"power3.out"}))},b=function(){x&&(x=!1,I.ZP.killTweensOf(l),I.ZP.to(l,{opacity:0,duration:.3,ease:"power3.out"}))},R=function(){I.ZP.killTweensOf(l),I.ZP.to(l,{opacity:0,duration:.3,ease:"power3.out"}),f||(I.ZP.killTweensOf([r]),I.ZP.set(r,{opacity:0}),I.ZP.killTweensOf([n]),I.ZP.to(n,{opacity:1,pointerEvents:"auto",duration:.6,ease:"power3.out"}),o&&(o.volume(1),o.play())),f=!0,0===S&&y(p.getDuration())},L=function(){},P=function(){Cb(),o&&o.fade(1,0,600),I.ZP.killTweensOf([r]),I.ZP.fromTo(r,{opacity:0},{opacity:1,duration:.6,ease:"power3.out"}),I.ZP.killTweensOf([n]),I.ZP.to(n,{pointerEvents:"none",duration:.6,ease:"power3.out",onComplete:function(){N(),E(!1)}}),d&&I.ZP.set(d,{opacity:1})},O=function(){document.hidden&&(console.log("hide visibility"),o&&o.pause(),p.stop(),T(),E(!1))};return m===a&&(A?(p&&(p.on("complete",P),p.on("play",R),p.on("play",b),p.on("pause",L),p.on("buffer",w),p.on("seeking",w)),document.addEventListener("visibilitychange",O),C?(I.ZP.killTweensOf([i]),I.ZP.fromTo(i,{display:"block",opacity:1},{opacity:0,duration:.6,delay:.8,ease:"power3.inOut",onComplete:j})):j(),p&&!g&&p.play()):(o&&o.pause(),T(),p&&(p.off("complete",P),p.off("play",R),p.off("play",b),p.off("pause",L),p.off("buffer",w),p.off("seeking",w)),document.removeEventListener("visibilitychange",O))),function(){p&&(p.off("complete",P),p.off("play",R),p.off("play",b),p.off("pause",L),p.off("buffer",w),p.off("seeking",w)),document.removeEventListener("visibilitychange",O)}}),[m,A]),(0,i.useEffect)((function(){var e=D.current,t=Z.current;e.style.display="none",I.ZP.set(t,{opacity:1,pointerEvents:"none"})}),[]),(0,i.useEffect)((function(){var e=V.current;L&&e&&y(e.getDuration())}),[L,y,S]),(0,i.useEffect)((function(){var e=u?u.current:null;"nightography-video"===m&&e&&(j>19&&j<26&&I.ZP.set(e,{opacity:0}),j>26&&I.ZP.set(e,{opacity:1}))}),[m,j,u]),(0,s.jsx)("div",{className:"absolute inset-0","data-component":"app-view","data-app-view-name":a,"data-app-view-is-header-transparent":"true","data-track-title":"Experience Galaxy Z Fold4","data-track-path":"/app/".concat(a),ref:D,children:(0,s.jsx)("div",{className:"gpu absolute inset-0 overflow-hidden text-primary-gray-400","data-ref":"app-view-container",ref:G,children:(0,s.jsxs)("div",{className:"absolute inset-0","data-ref":"app-view-content",style:{minWidth:"100vw",minHeight:"100vh"},"data-component":"app-experience-video",ref:k,children:[(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 z-10 h-full w-full bg-black",ref:Y}),(0,s.jsx)("div",{className:"gpu pointer-events-none absolute inset-0 z-10 flex items-center justify-center","data-ref":"app-camera-preloader",ref:F,children:(0,s.jsx)("div",{className:"loader mb-4 h-12 w-12 rounded-full border-4 border-t-4 border-gray-200 ease-linear"})}),(0,s.jsxs)("div",{className:"relative h-full w-full overflow-x-hidden",children:[(0,s.jsxs)("div",{className:"h-full w-full bg-black","data-ref":"app-experience-video-player",ref:Z,children:[(0,s.jsx)("div",{className:H()("pointer-events-none absolute left-0 top-0 flex",{"android-fullscreen-video-transform h-screen w-[47vh]":he.XP},{"h-full w-full":!he.XP}),children:(0,s.jsx)(Op(),{library:z.e.jwPlayerSource,didMountCallback:function(e){var t=e.player;V.current=t,O(!0)},file:n,config:{key:M.B8},stretching:"fill"})}),(0,s.jsx)("div",{className:"absolute inset-0",children:(0,s.jsxs)("div",{className:"relative h-full w-full",children:[(0,s.jsx)("div",{className:"invisible absolute -translate-y-1/2 -translate-x-1/2 rounded-full opacity-90","data-ref":"app-experience-video-button-play",ref:U,onClick:K,children:(0,s.jsx)(JE,{scale:(null===(t=l[w-1])||void 0===t?void 0:t.scale)?l[w-1].scale:1})}),(0,s.jsx)("div",{className:"absolute bottom-0 hidden w-full bg-black opacity-70",style:{height:"70px"}})]})})]}),(0,s.jsx)("div",{className:"absolute left-0 right-0 top-0",children:j>0&&x&&(0,s.jsx)(eg,{pauseTimes:r,currentTime:j,videoPhase:w,videoDuration:S,setPhase:function(e){var t=U.current,a=V.current,s=0;0!==e&&(s=r[e-1]),a.seek(s),t.classList.add("invisible"),X(e-1)},isClickable:d})})]})]})})})},Nb=function(){var e,t=pg("ultraFilm"),a=t.src,i=null!==(e=t.hotspots)&&void 0!==e?e:[];return(0,s.jsx)(jb,{title:"ultra-film",video:a,pauseTimes:[7,19,29],hotspotPositions:i,soundPath:"experience"})},Tb=function(){var e,t=pg("baseFilm"),a=t.src,i=null!==(e=t.hotspots)&&void 0!==e?e:[];return(0,s.jsx)(jb,{title:"base-film",video:a,pauseTimes:[5,17],hotspotPositions:i,soundPath:"experience"})},wb=function(e){var t=e.wrapperRef,a=pg("portraitAndFilters"),i=a.src,n=a.hotspots||[];return(0,s.jsx)(dg,{title:"portrait-and-filters-video",video:i,pauseTimes:[],hotspotPositions:n,soundPath:"",wrapperRef:t,hideProgressBar:!0,pauseOnLastFrame:!0})},_b=H()(Object.values({cn:"cn:text-left"})),bb=function(){var e="portrait-and-filters",t=(0,i.useRef)(null),a=(0,i.useContext)(tg),n=a.setScreen,r=a.screen,l=(0,P.qr)().appName;return(0,i.useEffect)((function(){l!==e&&n("Home")}),[l]),(0,s.jsxs)(LN,{appTitle:e,tracking:{path:"/gallery-search-widget",page:"Gallery Search Widget"},children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-white","data-ref":"app-view-background"}),(0,s.jsx)("div",{ref:t,className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsxs)(MN,{children:[(0,s.jsx)(MN.Title,{children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-GALLERY-SEARCH_TITLE"]}),(0,s.jsx)(MN.Video,{videoSrc:"".concat(M.yb.path,"/").concat(z.e.portraitFiltersCardVideoSrc),isActive:!0,isActiveSlide:e==l&&"Home"===r.current}),(0,s.jsx)(MN.Description,{children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-GALLERY-SEARCH_DETAILS"]}),(0,s.jsx)(MN.ButtonContainer,{children:(0,s.jsx)(MN.Button,{onClick:function(){(0,V.Kq)("/app/portrait-and-filters/portrait-and-filters-video","Portrait & Filters"),n("portrait-and-filters-video")},children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-GALLERY-SEARCH_BUTTON"]})}),(0,s.jsx)(MN.Disclaimer,{className:_b,children:g.t["@PARADIGM_WIDGETS_WIDGET_CARD_STYLE-GALLERY-SEARCH_DISCLAIMER"]})]})}),(0,s.jsx)(wb,{wrapperRef:t})]})},Sb=function(){return(0,s.jsx)(ag,{children:(0,s.jsx)(bb,{})})},yb="/_next/static/media/special-offer-asset.ed316b1e.png",Rb="/_next/static/media/trade-in-asset.e28e5cc1.png",Lb=H()(Object.values({de:"de:rounded-xl"})),Ib=function(e){var t=e.children,a=e.className,n=void 0===a?"":a,r=(0,i.useRef)(null),l=(0,i.useRef)(null),c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useState)(20),u=d[0],p=d[1],x=(0,i.useState)(!0),f=x[0],m=x[1],h=(0,i.useCallback)((function(){if(r.current&&l.current){var e=r.current,t=e.clientHeight,a=e.scrollHeight,s=l.current.clientHeight,i=a>t;m(i),i&&p(Math.max(t/a*s,20))}}),[]),A=(0,i.useCallback)((function(){if(r.current&&l.current&&c.current){var e=r.current,t=e.scrollTop,a=e.scrollHeight,s=e.clientHeight,i=l.current.clientHeight,n=t/(a-s)*(i-u);n=Math.min(n,i-u),c.current.style.top="".concat(n,"px")}}),[u]);return(0,i.useEffect)((function(){if(r.current&&l.current){var e=r.current;return o.current=new ResizeObserver(h),o.current.observe(e),e.addEventListener("scroll",A),function(){var t;null===(t=o.current)||void 0===t||t.disconnect(),e.removeEventListener("scroll",A)}}}),[A]),(0,i.useLayoutEffect)((function(){r.current&&l.current&&h()}),[]),(0,s.jsxs)("div",{className:"flex flex-1 overflow-y-auto",children:[(0,s.jsx)("div",{className:H()("flex-1 overflow-y-auto",n),ref:r,children:t}),(0,s.jsx)("div",{className:H()("mr-0.5",{"pointer-events-none opacity-0":!f}),children:(0,s.jsxs)("div",{className:"relative h-full w-1",children:[(0,s.jsx)("div",{className:"absolute top-0 bottom-0 w-1 rounded bg-white",ref:l}),(0,s.jsx)("div",{className:"absolute w-1 rounded bg-[#B5B5B5]",ref:c,style:{height:"".concat(u,"px")}})]})})]})};var Pb=function(e){var t=e.offer,a=e.onlyChild,i=e.type,n=!a||"trade-in"===i,r=function(e,t){if((0,re.rY)()){var a=t||("special-offer"===e?"special-offer-asset.png":"trade-in-asset.png");return"".concat(M.Pf.path,"/").concat(a)}return t||("special-offer"===e?yb:Rb)}(i,t.image);return(0,s.jsxs)("div",{className:H()("flex min-h-0 flex-1 flex-col justify-between gap-10 rounded-lg bg-white p-6 xxs:gap-4 xxs:p-3",Lb),children:[(0,s.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col gap-4 xxs:gap-3",children:[n&&(0,s.jsx)("div",{className:"text-lg font-bold",children:t.titleText}),a&&(0,s.jsx)("div",{className:"relative flex min-h-0 items-center justify-center",children:(0,s.jsx)("img",{"data-loader":"image","data-src":r,className:"relative h-full w-full object-contain",src:r,alt:"Special Offer"})}),(0,s.jsx)("div",{className:"relative flex justify-center text-sm",children:(0,s.jsx)("div",{className:"w-full whitespace-pre-line font-normal text-black",children:t.bodyText})})]}),(0,s.jsx)("div",{className:"flex justify-end",children:(0,s.jsx)(ie,{path:"/app/".concat(i,"-link"),page:"Special Offer",children:(0,s.jsx)("a",{href:t.linkHref,target:"_blank",className:"relative flex min-w-[150px] justify-center rounded-full bg-primary-orange-325 p-3 text-xs font-bold text-white",children:(0,s.jsxs)("span",{className:"relative whitespace-pre-line",children:[" ",t.linkText]})})})})]})},Ob=function(){var e=(0,re.ON)(),t=e.isSpecialOfferActive,a=e.isTradeInActive,n=e.offerPair,r=(0,i.useRef)(null),l=t(),c=a(),o=!(l&&c);return n&&(l||c)?(0,s.jsxs)(LN,{appTitle:"special-offer",tracking:{path:"/app/special-offer",page:"Special Offer"},children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-100","data-ref":"app-view-background"}),(0,s.jsx)("div",{ref:r,className:"relative h-full w-full overflow-x-hidden",children:(0,s.jsxs)(MN,{children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 px-5",children:[(0,s.jsx)("div",{className:"w-[26px]",children:(0,s.jsx)("img",{"data-ref":"app-special-icon",src:"/assets/images/special-offer/special-offer-icon.png?version=".concat(M.K0),alt:""})}),(0,s.jsx)("p",{className:"text-xl font-semibold",children:n.title})]}),(0,s.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col gap-4 px-5",children:[l&&(0,s.jsx)(Pb,{offer:n.specialOffer,onlyChild:o,type:"special-offer"}),c&&(0,s.jsx)(Pb,{offer:n.tradeIn,onlyChild:o,type:"trade-in"})]}),(0,s.jsx)("div",{className:"mt-auto flex h-12 flex-col justify-between gap-y-2 px-5 text-[9px]",children:(0,s.jsx)(Ib,{children:o?(0,s.jsxs)(s.Fragment,{children:[l&&(0,s.jsx)("div",{className:"w-full whitespace-pre-line text-black opacity-30",children:n.specialOffer.disclaimerText}),c&&(0,s.jsx)("div",{className:"w-full whitespace-pre-line text-black opacity-30",children:n.tradeIn.disclaimerText})]}):(0,s.jsxs)("ol",{className:"w-full max-w-fit list-decimal space-y-2 whitespace-pre-line text-black opacity-30 ltr:ml-3 rtl:mr-3",children:[(0,s.jsx)("li",{children:n.specialOffer.disclaimerText}),(0,s.jsx)("li",{children:n.tradeIn.disclaimerText})]})})})]})})]}):null},Mb=function(){var e=pg("nowBrief");return(0,s.jsx)(jb,{title:"morning-brief",video:e.src,pauseTimes:[],hotspotPositions:[],soundPath:"",isShowProgress:!1})},Db=[{title:g.t["@UNPACKED_GALAXY-ECOSYSTEM_SLIDE-ONE_TITLE"],details:g.t["@UNPACKED_GALAXY-ECOSYSTEM_SLIDE-ONE_DETAILS"],imgSrc:"/_next/static/media/slide-one.c10dce7b.jpg"},{title:g.t["@PARADIGM_GALAXY-ECOSYSTEM_SLIDE-TWO_TITLE"],details:g.t["@PARADIGM_GALAXY-ECOSYSTEM_SLIDE-TWO_DETAILS"],imgSrc:"/_next/static/media/slide-two.21384089.jpg",disclaimer:g.t["@PARADIGM_GALAXY-ECOSYSTEM_SLIDE-TWO_DISCLAIMER"]},{title:g.t["@UNPACKED_GALAXY-ECOSYSTEM_SLIDE-THREE_TITLE"],details:g.t["@PARADIGM_GALAXY-ECOSYSTEM_SLIDE-THREE_DETAILS"],imgSrc:"/_next/static/media/slide-three.4f686154.jpg",disclaimer:g.t["@PARADIGM_GALAXY-ECOSYSTEM_SLIDE-THREE_DISCLAIMER"]}],Gb={ae:"ae:mr-0 ae:ml-[10px] mr-[10px]"},kb={ae:"ae:ml-0 mr-0"},Hb={fr:"fr:xxs:px-2"},Bb={de:"de:text-[4.5vw]",vn:"vn:text-[4.5vw]",tr:"tr:text-[4.5vw]",es:"es:text-[4vw]",it:"it:text-[4vw]",eslatam:"eslatam:text-[4vw]",ca:"ca:text-[3.75vw]",ru:"ru:text-base ru:foldCover:text-sm ru:xxs:text-sm ru:flip:text-sm ru:smFlip:text-sm",jp:"jp:text-[4vw]"},Ub=H()(Object.values(Gb)),Zb=H()(Object.values(kb)),Yb=H()(Object.values(Hb)),Fb=H()(Object.values(Bb)),Vb=function(){var e=(0,P.qr)(),t=e.appName,a=e.setAppActiveData,n=(0,i.useRef)(null),r=(0,i.useRef)(null),l=(0,i.useRef)(null),c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)(null),u=(0,i.useRef)([]),p=(0,i.useRef)(null),x=(0,i.useRef)([]);return(0,i.useEffect)((function(){var e=n.current,s=r.current,i=l.current,o=c.current;"galaxy-ecosystem"===t&&e&&i&&s&&o&&a({appContainer:e,appViewContent:i,appViewContainer:s,appViewIcon:o})}),[t]),(0,i.useEffect)((function(){Y(n.current)}),[]),(0,s.jsx)("div",{className:"absolute inset-0","data-component":"app-view","data-app-view-name":"galaxy-ecosystem","data-app-view-is-header-transparent":"true","data-track-title":M.dC.GalaxyEcosystem,"data-track-path":"/app/galaxy-ecosystem",style:{display:"none"},ref:n,children:(0,s.jsxs)("div",{className:"absolute inset-0 overflow-hidden text-primary-gray-400","data-ref":"app-view-container",style:{transformOrigin:"0% 0%",transform:"translate(0px, 0px)"},ref:r,children:[(0,s.jsxs)("div",{className:"gpu absolute inset-0","data-ref":"app-view-content",style:{minWidth:"100vw",minHeight:"100vh",opacity:1,transformOrigin:"0px 0px",transform:"translate(0px, 0px)"},"data-component":"app-galaxy-ecosystem",ref:l,children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-white","data-ref":"app-view-background"}),(0,s.jsx)(ot,{sliderContainerRef:o,sliderListRef:d,sliderListItemsRef:u,sliderPaginationRef:p,sliderPaginationItemsRef:x,trackPath:"/app/galaxy-ecosystem/page",resetPageOnLeave:!0,children:(0,s.jsx)("div",{className:"absolute inset-0","data-component":"slider","data-slider-type":"horizontal","data-slider-position":"internal","data-slider-location":M.dC.GalaxyEcosystem,ref:o,children:(0,s.jsxs)("div",{className:"absolute left-0 right-0 h-[calc(100%-120px)] overflow-hidden xs:h-[calc(100%-110px)] xxs:h-[calc(100%-90px)]",style:{top:35},children:[(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center overflow-hidden text-center text-black ltr:font-title rtl:font-titleAr","data-ref":"app-content",children:(0,s.jsx)("div",{className:"gpu absolute inset-0 flex","data-ref":"slider-list",style:{width:"700vw",transform:"translate(0px, 0px)"},ref:d,children:Db.map((function(e,t){return(0,s.jsx)("div",{className:"gpu relative flex h-full w-full items-center justify-center","data-ref":"slider-list-item",style:{transformOrigin:"50% 50%",opacity:1,transform:"translate(0px, 0px)"},ref:function(e){e&&!u.current.includes(e)&&u.current.push(e)},children:(0,s.jsxs)(MN,{children:[(0,s.jsx)(MN.Title,{className:"min-h-[50px] ru:min-h-[60px] xxs:px-4 foldCover:px-4 smFlip:px-4",children:(0,s.jsx)("span",{className:H()("text-[5vw]",Fb),children:e.title})}),(0,s.jsx)(MN.Image,{imgSrc:e.imgSrc}),(0,s.jsx)(MN.Description,{className:H()(Yb,"xs:text-[3.25vw] xxs:text-[3.25vw]"),children:e.details}),(0,s.jsx)(MN.Disclaimer,{opacity:100,className:"xxs:gap-y-0",children:e.disclaimer})]})},t)}))})}),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0",children:(0,s.jsx)("div",{className:"flex-no-wrap align-center relative flex w-full justify-center pt-4","data-ref":"slider-pagination",ref:p,children:Db.map((function(e,t){return(0,s.jsxs)("div",{className:H()("relative h-2 w-2 overflow-hidden rounded-full border",t!==Db.length-1?Ub:Zb),children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-full bg-primary-gray-214"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-primary-gray-400","data-ref":"slider-pagination-item",ref:function(e){e&&!x.current.includes(e)&&x.current.push(e)}})]},t)}))})})]})})})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 opacity-0",children:(0,s.jsx)("button",{className:"gpu absolute left-0 top-0","data-ref":"app-view-icon",style:{opacity:0,transformOrigin:"0% 100%",transform:"translate(0px, 499px) scale(6.4, 6.4)"},ref:c})})]})})},Wb="android-messages"===z.e.defaultMessageApp?yN:Vj,Xb=function(){var e=(0,i.useRef)(null),t=(0,i.useRef)(null),a=(0,xt.p)().isDeviceFold,n=(0,P.q0)().hideNav;return(0,i.useEffect)((function(){var e=function(){"visible"===document.visibilityState&&(0,ka.TB)()};return he.XP&&!a&&document.addEventListener("visibilitychange",e),function(){he.XP&&!a&&document.removeEventListener("visibilitychange",e)}}),[]),(0,s.jsxs)("div",{className:"absolute inset-0",children:[(0,s.jsxs)("div",{className:"gpu absolute inset-0 overflow-hidden",ref:t,children:[(0,s.jsx)(fa,{}),(0,s.jsx)(ja,{})]}),(0,s.jsx)(rs,{}),(0,s.jsx)(pi,{}),(0,s.jsx)(hn,{useSplashScreen:!0,shouldRestartState:!0}),(0,s.jsx)(Nr,{}),(0,s.jsx)(Vp,{dashboardFooterRef:e,resetModeWhenClosed:!0,resetQuickSettingsWhenClosed:!0}),(0,s.jsx)(gg,{}),(0,s.jsx)(Qg,{}),(0,s.jsx)(mC,{}),(0,s.jsx)(Wb,{}),(0,s.jsx)(gu,{delayToStart:.6,shouldRestartState:!0}),(0,s.jsx)(Pm,{}),(0,s.jsx)(Kj,{}),(0,s.jsx)(Vb,{}),(0,s.jsx)(CT,{}),(0,s.jsx)(RT,{}),(0,s.jsx)(aw,{}),(0,s.jsx)(ow,{}),(0,s.jsx)(HT,{}),(0,s.jsx)(KT,{}),(0,s.jsx)(hw,{}),(0,s.jsx)(Cw,{}),(0,s.jsx)(Tw,{}),(0,s.jsx)(Pw,{}),(0,s.jsx)(Xw,{}),(0,s.jsx)(rb,{}),(0,s.jsx)(ub,{}),(0,s.jsx)(Nb,{}),(0,s.jsx)(sa.Z,{languages:["cn"],children:(0,s.jsx)(Yw,{})}),(0,s.jsx)(aa.Z,{languages:["cn"],children:(0,s.jsx)(Mb,{})}),(0,s.jsx)(Tb,{}),(0,s.jsx)(Sb,{}),(0,s.jsx)(vb,{}),(0,s.jsx)(Ob,{}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0",children:(0,s.jsx)(vC,{})}),!n&&(0,s.jsx)("div",{className:"fixed bottom-0 left-0 right-0","data-ref":"footer",children:(0,s.jsx)("div",{children:(0,s.jsx)(Ca,{dashboardFooterRef:e})})}),(0,s.jsxs)("div",{className:"pointer-events-none absolute inset-0",children:[(0,s.jsx)(ni,{dashboardContainerRef:t}),(0,s.jsx)($j,{}),(0,s.jsx)(km,{})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 z-9999",children:(0,s.jsx)(lh,{})}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 z-9999",children:(0,s.jsx)(Ow.Z,{})}),(0,N.p$)()&&(0,s.jsx)(RN,{})]})},Kb=function(){var e=(0,i.useRef)(null),t=(0,i.useState)(!1),a=t[0],n=t[1];return(0,i.useEffect)((function(){var t;e.current&&!a&&I.ZP.set(e.current,{maxWidth:"".concat(Math.round(window.innerHeight*(9/19.5)),"px")});var s=null===(t=e.current)||void 0===t?void 0:t.contentDocument;s&&!a&&s.addEventListener("click",(function(){if(s){var e=s.querySelectorAll("input");e.forEach((function(e){e.addEventListener("focus",ka.Am)})),e.forEach((function(e){e.addEventListener("blur",ka.jL)}))}n(!0)}),{once:!0})}),[e,a]),(0,s.jsx)("div",{className:"flex w-full justify-center bg-black",children:(0,s.jsx)("iframe",{src:"/?debug=foldable&redirect=false",className:"h-screen w-full",ref:e})})},Qb=a(32048),zb=a(68906);var qb=function(e){var t=e.fallback,a=e.setFallback,r=e.isDeviceFold;return(0,i.useEffect)((function(){var e="";return e=n.Z.instance.isUnsupportedBrowser()?"android-alt-browser":n.Z.instance.isUnsupportedAndroid()?"unsupported-android":n.Z.instance.isInstalledAndroidApp()?r?"iframe-app":"app":n.Z.instance.isSamsungBrowser()?"install-samsung-updated":n.Z.instance.isWeChat()&&"cn"==g.t.getLanguage()?"android-wechat":"install-android-updated",(0,N.NV)()?e=function(){try{return window.self!==window.top}catch(e){return!0}}()?"app":"iframe-app":(0,N.L1)()&&(e="app"),a(e),function(){}}),[r]),(0,s.jsxs)(s.Fragment,{children:["app"===t&&(0,s.jsx)(Xb,{}),"install-android-updated"===t&&(0,s.jsx)(Qb.Z,{overlay:"chrome"}),"install-samsung-updated"===t&&(0,s.jsx)(Qb.Z,{overlay:"samsung"}),"unsupported-android"===t&&(0,s.jsx)(T.Z,{}),"android-alt-browser"===t&&(0,s.jsx)(w.Z,{tracking:t}),"iframe-app"===t&&(0,s.jsx)(Kb,{}),"android-wechat"===t&&(0,s.jsx)(zb.Z,{})]})},Jb=a(95216),$b=a.n(Jb),eS=a(21651),tS="/_next/static/media/try-galaxy-background-top-left.59f2cd5c.png",aS="/_next/static/media/try-galaxy-background-top-right.997bb44f.png",sS=a(50318),iS="/_next/static/media/welcome-samsung.e18fb263.png",nS=a(32936),rS=a(1653),lS=a(50886),cS=function(e){var t=lS.do,a=new RegExp("^((".concat(t.join("|"),")\\.)?((android\\.)|((android-)?(develop|preview|prod)\\.))?((work\\.)?)((unpacked\\.)?)trygalaxy.com$"));return e&&a.test(e)?e:"trygalaxy.com"},oS=a(68437),dS=a(90323),uS=a(9147),pS=a(87554),xS=a(10020),fS={de:"de:mb-1 de:xs:mb-4",cz:"cz:mb-4",ru:"ru:mb-4"},mS={de:"de:pb-0"},hS={de:"de:mt-3"},AS=(H()(Object.values(fS)),H()(Object.values(hS)),H()(Object.values(mS)),function(){var e=(0,g.Vw)(),t=function(){var e=window.location.search;return"cn"!==g.kA||e?e:"?utm_source=chinapctest&utm_medium=qr&utm_campaign=trygalaxy"}(),a=window.location.hostname,n=(0,i.useRef)(null),r=(0,i.useRef)(null),l=cS(a);(0,i.useEffect)((function(){return(0,V.Kq)("/fallback-desktop","Fallback - Desktop"),function(){}}),[]);var c=(0,uS.i)().width<=768,o=(0,pS.e)("welcomeDesktopVideoSrc.default");return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"pointer-events-auto absolute inset-0 z-9999 overflow-y-scroll bg-white text-black","data-ref":"app-fallback-desktop","data-track-title":"Fallback - Desktop","data-track-path":"/fallback-desktop",ref:n,children:[(0,s.jsx)("div",{className:"fixed inset-0 overflow-hidden",children:(0,s.jsx)("div",{className:"absolute left-0 block h-full w-[100%] bg-white bg-contain bg-top bg-no-repeat desktop-md:hidden",style:{backgroundImage:"url(".concat(sS.Z.src,")")}})}),(0,s.jsx)("div",{className:"fixed inset-0 overflow-hidden",children:(0,s.jsx)("div",{className:"absolute left-0 hidden h-full w-[50%] bg-white bg-contain bg-top bg-no-repeat desktop-md:block desktop-md:w-[380px]",style:{backgroundImage:"url(".concat(tS,")")}})}),(0,s.jsx)("div",{className:"fixed inset-0 overflow-hidden",children:(0,s.jsx)("div",{className:"absolute right-0 hidden h-full w-[45%] bg-white bg-contain bg-bottom bg-no-repeat desktop-md:block desktop-md:w-[380px]",style:{backgroundImage:"url(".concat(aS,")")}})}),(0,s.jsxs)("div",{className:"px-[60px] pt-[100px] pb-[115px] desktop-md:m-auto desktop-md:max-w-[880px] desktop-md:pb-0 desktop-md:pt-[164px] desktop-lg:max-w-[1200px]",children:[(0,s.jsxs)("div",{className:"pointer-events-auto relative inset-0 grid w-full grid-cols-1 gap-x-[56px] desktop-md:mb-[58px] desktop-md:grid-cols-[6.5fr_4fr] desktop-lg:grid-cols-2",children:[(0,s.jsx)("div",{className:"mx-auto mb-[60px] flex h-full w-full justify-center desktop-md:col-span-1 desktop-md:mb-0",children:(0,s.jsx)("div",{className:"ltr:welcome-page-font container text-center ltr:font-title rtl:font-titleAr",children:(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,s.jsx)("div",{className:"px-12 desktop-md:px-0",children:(0,s.jsx)("div",{className:"relative mb-4 flex w-full flex-col items-center justify-center text-center",children:(0,s.jsxs)("div",{className:"ltr:welcome-page-font relative mt-4 flex w-full flex-col items-center justify-center text-6xl font-bold leading-tight ltr:font-title rtl:font-titleAr",children:[(0,s.jsx)(aa.Z,{languages:["de"],children:(0,s.jsx)("img",{src:iS,alt:"",className:"h-auto w-[200px]"})}),(0,s.jsxs)("div",{className:"text-center",children:[e["DESKTOP_WELCOME-SCREEN_H1"],(0,s.jsx)("br",{}),(0,s.jsx)(Ct.Z,{children:(0,s.jsx)("h2",{className:"mt-0.5 text-6xl font-bold text-primary-blue-875",children:e["TRY-GALAXY_WELCOME-JOURNEY-WORK_H2"]})}),(0,s.jsx)(sa.Z,{languages:["de"],children:(0,s.jsx)(vt.Z,{children:(0,s.jsx)("span",{className:"whitespace-pre-line text-6xl leading-none",children:e["DESKTOP_WELCOME-SCREEN_H2"]})})})]})]})})}),(0,s.jsx)(dS.r,{className:"ltr:welcome-page-font text-base font-bold ltr:font-title rtl:font-titleAr"}),(0,s.jsx)("p",{className:"ltr:welcome-page-font mb-4 whitespace-pre-line px-12 text-base font-bold ltr:font-title rtl:font-titleAr desktop-md:px-0",children:e["DESKTOP_WELCOME-SCREEN_QR-CODE_H3"]}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("div",{className:"rounded-2xl border-4 border-primary-gray-100 bg-white p-4",children:(0,s.jsx)(rS.Z,{size:160,style:{height:"auto",maxWidth:"160px",width:"100%"},value:"https://".concat(l,"/").concat(t),viewBox:"0 0 160 160"})})}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("div",{className:"relative mt-3",children:(0,s.jsx)(nS.Z,{})})})]})})})}),(0,s.jsx)("div",{className:"relative mb-[60px] flex items-center overflow-hidden rounded-[24px] desktop-md:col-span-1 desktop-md:mb-0",children:(0,s.jsx)("video",{className:"h-full object-cover","data-video-id":"",id:"",playsInline:!0,muted:!0,autoPlay:!0,crossOrigin:"anonymous",loop:!0,children:(0,s.jsx)("source",{src:o,type:"video/mp4"})})})]}),(0,s.jsxs)("div",{className:"ltr:welcome-page-font relative mb-10",children:[(0,s.jsx)("p",{className:"text-center text-[10px] leading-[14px] text-primary-gray-210",children:e["@PARADIGM_WELCOME_PAGE_DESKTOP_WELCOME-SCREEN_NETWORK-COMPATIBILITY-TEXT"]}),(0,s.jsx)("p",{className:"text-center text-[10px] leading-[14px] text-primary-gray-210",children:e["@PARADIGM_WELCOME_PAGE_DESKTOP_WELCOME-SCREEN_DISCLAIMER-TEXT"]}),(0,s.jsx)("p",{className:"text-center text-[10px] leading-[14px] text-primary-gray-210",children:e["@PARADIGM_WELCOME_PAGE_DESKTOP_WELCOME-SCREEN_NETWORK-CONNECTION-TEXT"]}),(0,s.jsx)("p",{className:"text-center text-[10px] leading-[14px] text-primary-gray-210",children:e["@PARADIGM_WELCOME_PAGE_DESKTOP_WELCOME-SCREEN_NETWORK-SIMULATION-TEXT"]}),(0,s.jsx)("br",{}),(0,s.jsx)("p",{className:"text-center text-[10px] leading-[14px] text-primary-gray-210",children:e.formatString(e["@PARADIGM_WELCOME_PAGE_DESKTOP_WELCOME-SCREEN_HELP-TEXT"],(0,s.jsx)("a",{href:e["DESKTOP_WELCOME-SCREEN_HELP-LINK"],className:"text-primary-blue-900",children:e["@PARADIGM_WELCOME_PAGE_DESKTOP_WELCOME-SCREEN_HELP-LINK-LABEL"]}))}),(0,s.jsx)(xS.s,{})]})]}),(0,s.jsx)(oS.Z,{scrollContainerRef:n,scrollDownElementRef:r,isVisible:!c})]})})}),ES=a(15030),gS=a(93496),vS=a(80458),CS=function(e){var t=e.fallback,a=e.setFallback,r=(0,i.useState)(""),l=r[0],c=r[1];return(0,i.useEffect)((function(){var e=new($b())(window.navigator.userAgent||window.navigator.vendor);c(e.browser)}),[]),(0,i.useEffect)((function(){"app"===t&&(document.documentElement.classList.add("full-screen"),document.body.classList.add("full-screen"))}),[t]),(0,i.useEffect)((function(){var e=window.navigator.standalone,t=window.navigator.userAgent.toLowerCase(),s=/\sedg/.test(t)||/\sbingsapphire/.test(t),i=/\sopt/.test(t)||/\sopr/.test(t)||/opera/.test(t),r=/safari/.test(t)&&!s,c=/iphone|ipod/.test(t),o=/kakaotalk/.test(t),d="line"===l,u=n.Z.instance.isMobileSafari(),p=n.Z.instance.getIPhoneModel()<=5?"old-iphone":c?e?"app":n.Z.instance.isSupportedIosChrome()?"install-ios-chrome":!n.Z.instance.isSupportedIosChrome()&&n.Z.instance.isIosChrome()?"unsupported-ios-chrome":n.Z.instance.isWeChat()&&"cn"==g.t.getLanguage()?"wechat":s||i||r&&!u||u&&d?"browser":o?"social-beta":r&&u?"install-updated":"social-beta":"desktop";return(0,N.L1)()&&(p="app"),a(p),function(){}}),[l]),(0,s.jsxs)(s.Fragment,{children:["app"===t&&(0,s.jsx)(Xb,{}),"install-updated"===t&&(0,s.jsx)(Qb.Z,{overlay:"safari"}),"install-ios-chrome"===t&&(0,s.jsx)(Qb.Z,{overlay:"ios-chrome"}),"unsupported-ios-chrome"===t&&(0,s.jsx)(Qb.Z,{overlay:"ios-chrome-unsupported"}),"browser"===t&&(0,s.jsx)(eS.Z,{}),"social-beta"===t&&(0,s.jsx)(gS.Z,{}),"desktop"===t&&(0,s.jsx)(AS,{}),"old-iphone"===t&&(0,s.jsx)(ES.Z,{}),"wechat"===t&&(0,s.jsx)(vS.Z,{})]})},jS=["SM-F900F","SM-F9000","SM-F900W","SM-F900U","SM-F900N","SM-F900U1","SM-F900B","SM-F907F","SM-F9007","SM-F907W","SM-F907U","SM-F907B","SM-F907N","SM-F916B","SM-F916N","SM-F916U","SM-F916U1","SM-F916W","SM-F9160","SCG05","SM-F926B","SM-F926N","SM-F926U","SM-F926U1","SM-F926W","SM-F926B/DS","SM-F9260","SM-F936B","SM-F936B/DS","SM-F936U","SM-F936U1","SM-F936N","SM-F936W","SM-F9360","SM-F946B","SM-F946B/DS","SM-F946U","SM-F946U1","SM-F946N","SM-F946W","SM-F9460","SM-F956B","SM-F956B/DS","SM-F956U","SM-F956U1","SM-F956N","SM-F956W","SM-F9560","SM-F956D","SM-F956J","SM-F956Q"],NS=function(){var e=(0,xt.p)(),t=e.setIsDeviceFold,a=e.isDeviceFold,l=(0,re.ON)().offersHaveLoaded,c=(0,i.useState)(""),o=c[0],d=c[1],u=(0,P.qr)(),p=u.isAndroid,x=u.setIsAndroid,f=(0,i.useState)(void 0),m=f[0],h=f[1],A=(0,Qs.ZP)().setupCookies;return(0,i.useEffect)((function(){A()}),[]),(0,i.useEffect)((function(){if(navigator.userAgentData&&navigator.userAgentData.getHighEntropyValues(["model"]).then((function(e){e.model.length&&h(e.model)})),"Android"===n.Z.instance.getOS()&&x(!0),"app"===o){var e=document.createDocumentFragment(),a=function(t){var a=new Image;a.src=t,e.appendChild(a)};r.forEach((function(e){a("/assets/images/themes/".concat(e.id,"/app-android-messages/messages-notification.png"))})),v.forEach((function(e){a(e.thumb),e.editedThumb&&a(e.editedThumb),e.remasteredThumb&&a(e.remasteredThumb)}))}var s;s=m,jS.includes(s)&&t(!0)}),[o,h,t,m]),l?(0,s.jsx)("div",{className:"app absolute inset-0 overflow-hidden",children:(0,s.jsx)("div",{className:"pointer-events-auto absolute inset-0",children:p?(0,s.jsx)(qb,{fallback:o,setFallback:d,isDeviceFold:a}):(0,s.jsx)(CS,{fallback:o,setFallback:d})})}):null}},66022:function(e,t,a){var s=a(85893),i=a(67294),n=a(10990),r=a(11248),l=a.n(r),c=function(e){var t=e.path,a=e.width,r=e.height,c=e.autoplay,o=void 0!==c&&c,d=e.loop,u=void 0!==d&&d,p=e.delay,x=void 0===p?0:p,f=e.onComplete,m=e.playSpeed,h=e.trigger,A=e.className,E=e.animationRef,g=(0,i.useState)(),v=g[0],C=g[1],j=(0,i.useMemo)((function(){if(v)return l().loadAnimation({container:v,renderer:"svg",autoplay:o,path:t,loop:u})}),[v,t]);(0,i.useEffect)((function(){return j&&(m&&j.setSpeed(m),n.ZP.to(j,{duration:x,onComplete:function(){j.play()}}),f&&j.addEventListener("complete",f),h&&h.addEventListener("click",(function(){j.goToAndPlay(0)})),E&&(E.current=j)),function(){j&&(f&&j.removeEventListener("complete",f),h&&h.removeEventListener("click",(function(){j.goToAndPlay(0)})),j.destroy())}}),[j]);var N=(0,i.useCallback)((function(e){e&&C(e)}),[C]);return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:A,ref:N,style:{height:r,width:a}})})};t.Z=(0,i.memo)(c)},62748:function(e,t,a){a.d(t,{K:function(){return o},b:function(){return d}});var s=a(26042),i=a(69396),n=a(85893),r=a(67294),l={galerryImageIsClicked:!1,isLongPressActivated:!1,isLongPressModalActive:!1,drawCanvas:!1,drawedCropper:!1,croppedImgSearchResults:!1,isEndOfScenario:!1,topnavHeigth:0},c=function(e,t){switch(t.type){case"SET_GO_BACK":return(0,i.Z)((0,s.Z)({},e),{galerryImageIsClicked:!0,isLongPressActivated:!1,isLongPressModalActive:!1,drawCanvas:!1,drawedCropper:!1,croppedImgSearchResults:!1,isEndOfScenario:!1});case"SET_GALLERY_IMAGE_CLICK":return(0,i.Z)((0,s.Z)({},e),{galerryImageIsClicked:t.payload});case"SET_LONG_PRESS_STATUS":return(0,i.Z)((0,s.Z)({},e),{isLongPressActivated:t.payload});case"SET_LONG_PRESS_MODAL_ACTIVE":return(0,i.Z)((0,s.Z)({},e),{isLongPressModalActive:t.payload});case"SET_DRAW_CANVAS":return(0,i.Z)((0,s.Z)({},e),{drawCanvas:t.payload});case"DRAW_A_CROPPER":return(0,i.Z)((0,s.Z)({},e),{drawedCropper:t.payload});case"SHOW_CROPPED_IMG_SEARCH_RESULTS":return(0,i.Z)((0,s.Z)({},e),{croppedImgSearchResults:t.payload});case"SET_TOPNAV_HEIGTH":return(0,i.Z)((0,s.Z)({},e),{topnavHeigth:t.payload});case"END_SCENARIO":return(0,i.Z)((0,s.Z)({},e),{isEndOfScenario:t.payload});case"RESET_SCENARIO_STEPS":return(0,i.Z)((0,s.Z)({},e),{galerryImageIsClicked:!1,isLongPressActivated:!1,isLongPressModalActive:!1,drawCanvas:!1,drawedCropper:!1,croppedImgSearchResults:!1,isEndOfScenario:!1});default:return e}},o=(0,r.createContext)(void 0),d=function(e){var t=e.children,a=(0,r.useReducer)(c,l),s=a[0],i=a[1];return(0,n.jsx)(o.Provider,{value:{state:s,dispatch:i},children:t})}},82778:function(e,t,a){var s=a(85893),i=a(67294),n=a(10990),r=a(11248),l=a.n(r),c=function(e){var t=e.path,a=e.width,r=e.height,c=e.autoplay,o=void 0!==c&&c,d=e.loop,u=void 0!==d&&d,p=e.delay,x=void 0===p?0:p,f=e.onComplete,m=e.playSpeed,h=e.trigger,A=e.className,E=(0,i.useState)(),g=E[0],v=E[1],C=(0,i.useMemo)((function(){if(g)return l().loadAnimation({container:g,renderer:"svg",autoplay:o,path:t,loop:u})}),[g]),j=function(){f&&f(C)};(0,i.useEffect)((function(){return C&&(m&&C.setSpeed(m),n.ZP.to(C,{duration:x,onComplete:function(){C.play()}}),f&&C.addEventListener("complete",j),h&&h.addEventListener("click",(function(){C.goToAndPlay(0)}))),function(){C&&(f&&C.removeEventListener("complete",j),h&&h.removeEventListener("click",(function(){C.goToAndPlay(0)})),C.destroy())}}),[C]);var N=(0,i.useCallback)((function(e){e&&v(e)}),[v]);return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:A,ref:N,style:{height:r,width:a}})})};t.Z=(0,i.memo)(c)},9147:function(e,t,a){a.d(t,{b:function(){return i},i:function(){return n}});var s=a(67294);function i(){return{width:window.innerWidth,height:window.innerHeight}}function n(){var e=(0,s.useState)({width:null,height:null}),t=e[0],a=e[1];return(0,s.useEffect)((function(){var e=function(){requestAnimationFrame((function(){a({width:window.innerWidth,height:window.innerHeight})}))};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),t}},20945:function(e,t,a){a.d(t,{D:function(){return r}});var s=a(78526),i=a(77351),n=function(e,t,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],n=i.t.getLanguage(),r="".concat(t,"/").concat(e),l=r;if("yz"===n)return{src:r,fallback:l};if("en"!==n&&!s.includes(n)){var c=e.lastIndexOf("/"),o=e.substring(0,c),d=e.substring(c+1);r="".concat(a,"/").concat(o,"/").concat(n,"-").concat(d)}return{src:r,fallback:l}},r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=a?"/fold/assets/images":"".concat(s.Cj,"/images"),r=a?"/fold/assets/localisation/images":"".concat(s.Cj,"/localisation/images");return n(e,i,r,t)}},15953:function(e,t,a){a.d(t,{Am:function(){return s},TB:function(){return n},jL:function(){return i}});var s=function(){var e=document.querySelector('meta[name="viewport"]'),t=e.getAttribute("content"),a="".concat(t,",interactive-widget=resizes-content");e.setAttribute("content",a)},i=function(){var e=document.querySelector('meta[name="viewport"]'),t=e.getAttribute("content").split(",").filter((function(e){return"interactive-widget=resizes-content"!==e.trim()})).join(",");e.setAttribute("content",t)},n=function(){i(),setTimeout((function(){s()}),200)}}}]);