1"use strict";(self.webpackChunksemi_wallet=self.webpackChunksemi_wallet||[]).push([[412],{4412:((H,g,t)=>{t.r(g),t.d(g,{default:()=>w});var e=t(2540),r=t(3696);const Q={mainBg:"var(--main-bg)",GameContainerBg:"var(--game-container-bg)",GameFilterBtnContainer:"var(--game-filter-btn-container)",GameFilterShadow:"var(--game-filter-shadow)",GameButtonCommonShadow:"var(--game-button-common-shadow)",AppGameUserInfoBackground:"var(--app-game-user-info-background)",AppGamePwInfoBackground:"var(--app-game-pw-info-background)",AppGameUserInfoTextColor:"var(--app-game-user-info-text-color)",AppGamePwInfoTextColor:"var(--app-game-pw-info-text-color)",FontSize16:"var(--fontSize16)",FontSize20:"var(--fontSize20)",MainTxt:"var(--main-txt)",AppGamePlayGameBackground:"var(--app-game-play-game-button-background)",MainBorder:"var(--main-border)",AppGamePlayGameBtnBorder:"var(--app-game-play-game-button-border)",AppGameWarningColor:"var(--app-game-warning-color)",AppGameAlertBackground:"var(--app-game-alert-background)",AppGamePlayGameText:"var(--app-game-play-game-text)",SubTxt:"var(--sub-txt)",BtnDisabledTxt:"var(--btn-disabled-txt)",BtnChangePassTxt:"var(--btn-change-pass-txt)",GameFilterSelected:"var(--game-filter-selected)",GameSearchIconBg:"var(--game-search-icon-bg)",GameSearchIconShadow:"var(--game-search-icon-shadow)",GameSearchIconBorder:"var(--game-search-icon-border)",SideMenuResponsiveWidth:"1281px",GreenTimer:"var(--timer-green)",YellowTimer:"var(--timer-yellow)",RedTimer:"var(--timer-red)"};var N=t(6644);const V={mainBg:"var(--main-bg)",GameContainerBg:"var(--game-container-bg)",GameFilterBtnContainer:"var(--game-filter-btn-container)",GameFilterShadow:"var(--game-filter-shadow)",GameButtonCommonShadow:"var(--game-button-common-shadow)",AppGameUserInfoBackground:"var(--app-game-user-info-background)",AppGamePwInfoBackground:"var(--app-game-pw-info-background)",AppGameUserInfoTextColor:"var(--app-game-user-info-text-color)",AppGamePwInfoTextColor:"var(--app-game-pw-info-text-color)",FontSize16:"var(--fontSize16)",FontSize20:"var(--fontSize20)",MainTxt:"var(--main-txt)",AppGamePlayGameBackground:"var(--app-game-play-game-button-background)",MainBorder:"var(--main-border)",AppGamePlayGameBtnBorder:"var(--app-game-play-game-button-border)",AppGameWarningColor:"var(--app-game-warning-color)",AppGameAlertBackground:"var(--app-game-alert-background)",AppGamePlayGameText:"var(--app-game-play-game-text)",SubTxt:"var(--sub-txt)",BtnDisabledTxt:"var(--btn-disabled-txt)",BtnChangePassTxt:"var(--btn-change-pass-txt)",GameFilterSelected:"var(--game-filter-selected)",GameSearchIconBg:"var(--game-search-icon-bg)",GameSearchIconShadow:"var(--game-search-icon-shadow)",GameSearchIconBorder:"var(--game-search-icon-border)",SideMenuResponsiveWidth:"1281px",GreenTimer:"var(--timer-green)",YellowTimer:"var(--timer-yellow)",RedTimer:"var(--timer-red)"};var x=t(2469),G=t(8680),S=t(3258),y=t(7243),B=t(9139),A=t(6859),h=t(2602),T=t(1630),C=t(8219);function I(){const P="movieList",{t:i,i18n:d}=(0,G.B)(),[m,u]=(0,r.useState)("all"),[k,j]=(0,r.useState)([]),[M,X]=(0,r.useState)(""),[Z,F]=(0,r.useState)([]),[D,p]=(0,r.useState)(!1),[a,z]=(0,r.useState)({}),[L,O]=(0,r.useState)(""),U=(0,S.sC)(),R=(0,x.useNav)(),W=[{title:i("movie.recent"),type:m==="recent",onClick:()=>{u("recent")}}];(0,r.useEffect)(()=>{const o=b(null,m,!0);let s;if(m=="recent"){const n=new Date;s=Math.floor(n.setDate(n.getDate()-6)/1e3)}K(s)},[m]);function b(o,s,n=!1){let l=o;const v=P+s,c=JSON.parse(localStorage.getItem(v));if(!(c&&(0,y.isEqual)(c,l)&&!n)){if(n)if(c)l=c;else return j([]),!0;(0,x.setItemInLocalStorage)(v,JSON.stringify(l)),F(l.data),j(l.data)}}function K(o){C.Ay.MovieLists({type:"movie",dateFrom:o,success:s=>{b(s,m)}})}function E({item:o}){const s=d.language,{cover:n,[`title_${s}`]:l,releaseDate:v,duration:c,[`tags_${s}`]:J,imdb:Y}=o,f=v.indexOf(",")>-1?v.split(",")[1].trim():"";return(0,e.jsxs)("div",{className:"movie-render-container",children:[(0,e.jsx)("img",{className:"movie-poster",src:n}),(0,e.jsxs)("div",{className:"movie-content",onClick:()=>{z(o),O(f),setTimeout(()=>{p(!0)},200)},children:[(0,e.jsx)("div",{className:"movie-title",children:l}),(0,e.jsx)("div",{className:"movie-date",children:`${f} . ${J} . ${c}`}),(0,e.jsxs)("div",{className:"movie-imdb",children:[(0,e.jsx)("div",{className:"movie-imdb-title",children:`${i("movie.imdb")}:`}),(0,e.jsx)("div",{className:"movie-imdb-rate",children:`${Y}/10.0`})]})]})]})}return(0,e.jsxs)("div",{children:[(0,e.jsx)(B.A,{isOpen:D,handleClose:()=>p(!1),children:(0,e.jsxs)("div",{className:"movie-popup-container",children:[(0,e.jsxs)("div",{className:"movie-popup-style",children:[(0,e.jsxs)("div",{className:"movie-top",children:[(0,e.jsx)("img",{className:"movie-poster",src:a.cover}),(0,e.jsxs)("div",{className:"movie-popup-desc",children:[(0,e.jsx)("div",{className:"movie-popup-title",children:a[`title_${d.language}`]}),(0,e.jsx)("div",{className:"movie-popup-date",children:`${L} . ${a[`tags_${d.language}`]} . ${a.duration}`}),(0,e.jsxs)("div",{className:"movie-popup-imdb",children:[(0,e.jsx)("div",{className:"movie-popup-imdb-title",children:`${i("movie.imdb")}:`}),(0,e.jsx)("div",{className:"movie-popup-imdb-rate",children:`${a.imdb}/10.0`})]}),(0,e.jsx)("div",{className:"movie-btn-container",children:(0,e.jsx)(A.A,{title:i("movie.play"),btnStyle:"movie-btn-style",btnBg:"movie-btn-bg",textStyle:"movie-btn-txt",onClick:()=>
1{R("/play",{state:{title:a[`title_${d.language}`],url:a.contentUrl}})}})})]})]}),(0,e.jsx)("div",{className:"movie-btm",children:(0,e.jsxs)("div",{className:"movie-btm-container",children:[(0,e.jsxs)("div",{className:"movie-1st-row",children:[(0,e.jsxs)("div",{className:"movie-popup-rate-imdb",children:[(0,e.jsx)("div",{children:`${a.imdb}/10`}),(0,e.jsx)("div",{className:"movie-popup-rate-title",children:i("movie.imdb")})]}),(0,e.jsxs)("div",{className:"movie-popup-rate-rot",children:[(0,e.jsx)("div",{children:a.rottenTomatoes}),(0,e.jsx)("div",{className:"movie-popup-rate-title",children:i("movie.rottenTomatoes")})]}),(0,e.jsxs)("div",{className:"movie-popup-rate-meta",children:[(0,e.jsx)("div",{children:a.metacritic}),(0,e.jsx)("div",{className:"movie-popup-rate-title",children:i("movie.metacritic")})]})]}),a.google?(0,e.jsxs)("div",{className:"movie-2nd-row",children:[(0,e.jsx)("div",{className:"movie-google-rate",children:`${a.google} ${i("movie.likeThis")}`}),(0,e.jsx)("div",{className:"movie-google-users",children:i("movie.googleUsers")})]}):null,(0,e.jsxs)("div",{className:"movie-3rd-row",children:[(0,e.jsx)("div",{className:"movie-details-desc",children:a[`description_${d.language}`]}),(0,e.jsxs)("div",{className:"movie-details",children:[(0,e.jsx)("div",{className:"movie-details-title",children:`${i("movie.releaseDate")}`}),(0,e.jsx)("div",{children:a.releaseDate||"N/A"})]}),(0,e.jsxs)("div",{className:"movie-details",children:[(0,e.jsx)("div",{className:"movie-details-title",children:`${i("movie.directors")}`}),(0,e.jsx)("div",{children:a.directors||"N/A"})]}),(0,e.jsxs)("div",{className:"movie-details",children:[(0,e.jsx)("div",{className:"movie-details-title",children:`${i("movie.boxOffice")}`}),(0,e.jsx)("div",{children:a.boxOffice||"N/A"})]}),(0,e.jsxs)("div",{className:"movie-details",children:[(0,e.jsx)("div",{className:"movie-details-title",children:`${i("movie.budget")}`}),(0,e.jsx)("div",{children:a.budget||"N/A"})]}),(0,e.jsxs)("div",{className:"movie-details",children:[(0,e.jsx)("div",{className:"movie-details-title",children:`${i("movie.awards")}`}),(0,e.jsx)("div",{children:a.awards||"N/A"})]})]})]})})]}),(0,e.jsx)("div",{className:"movie-close-container",onClick:()=>p(!1),children:(0,e.jsx)("img",{className:"movie-close",src:U.remove})})]})}),(0,e.jsx)("div",{className:"movie-sticky-header",children:(0,e.jsx)(h.A,{calender:!1,data:W,firstTabType:m==="all",firstTabOnClick:()=>{u("all")},renderItem:(o,s)=>(0,e.jsx)(h.o,{title:o.title,type:o.type,onClick:o.onClick},s)})}),(0,e.jsx)(T.A,{data:k,containerStyle:"movie-flatlist",getStatus:M,renderItem:(o,s)=>(0,e.jsx)(E,{item:o,index:s},s)})]})}const $=I;function w({}){return(0,e.jsx)("div",{className:"movie-container container-padding",children:(0,e.jsxs)("div",{className:"movie-style",children:[(0,e.jsx)(N.A,{}),(0,e.jsx)($,{})]})})}})}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.